You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/2413.db284685.async.js

1397 lines
3.2 MiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(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.defaultValue<ee.minimum||ee.defaultValue>ee.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())),re<z/2&&le.setSpots(re/z,0,(z-re)/z,1),le}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new Nn("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;isNaN(ae)?ae=10:ae<-z?ae=-z:ae>z&&(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<z/2&&le.setSpots(re/z,0,(z-re)/z,1),le}}),go.Shape.setFigureParameter("Trapezoid1",0,new Nn("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;isNaN(ae)?ae=.2:ae<.5?ae=-.5:ae>.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())),re<z/2&&le.setSpots(re/z,0,(z-re)/z,1),le}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new Nn("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;isNaN(ae)?ae=20:ae<-z?ae=-z/2:ae>z&&(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())),re<z/2&&le.setSpots(re/z,0,(z-re)/z,1),le}}),go.Shape.setFigureParameter("ManualOperation",0,new Nn("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;isNaN(ae)?ae=10:ae<-z?ae=-z/2:ae>z&&(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())),re<z/2&&le.setSpots(re/z,0,(z-re)/z,1),le}});var Ee=[];function Ae(){var fe=Ee.pop();return fe===void 0?[]:fe}function ye(fe){fe.length=0,Ee.push(fe)}function De(fe){for(var z=Ae(),ee=.5,ae=.5,re=Math.PI*1.5,le=0,ue=0;ue<fe;ue++)le=2*Math.PI/fe*ue+re,z[ue]=new go.Point(ae+ee*Math.cos(le),ae+ee*Math.sin(le));return z.push(z[0]),z}function me(fe){var z=xe(fe),ee=Ae();ee[0]=z[0];for(var ae=1,re=1;ae<z.length;ae+=2,re+=3)ee[re]=z[ae],ee[re+1]=z[ae],ee[re+2]=z[ae+1];return ye(z),ee}function xe(fe){for(var z=De(fe),ee=Ae(),ae=Math.floor(z.length/2),re=z.length-1,le=fe%2===0?2:1,ue=0;ue<re;ue++){var pe=z[ue],Pe=z[ue+1],be=z[(ae+ue-1)%re],Ie=z[(ae+ue+le)%re];ee[ue*2]=pe,ee[ue*2+1]=oe(pe.x,pe.y,be.x,be.y,Pe.x,Pe.y,Ie.x,Ie.y,new go.Point)}return ee[ee.length]=ee[0],ye(z),ee}go.Shape.defineFigureGenerator("Pentagon",function(fe,z,ee){var ae=De(5),re=new go.Geometry,le=new go.PathFigure(ae[0].x*z,ae[0].y*ee,!0);re.add(le);for(var ue=1;ue<5;ue++)le.add(new go.PathSegment(go.PathSegment.Line,ae[ue].x*z,ae[ue].y*ee));return le.add(new go.PathSegment(go.PathSegment.Line,ae[0].x*z,ae[0].y*ee).close()),ye(ae),re.spot1=new go.Spot(.2,.22),re.spot2=new go.Spot(.8,.9),re}),go.Shape.defineFigureGenerator("Hexagon",function(fe,z,ee){var ae=De(6),re=new go.Geometry,le=new go.PathFigure(ae[0].x*z,ae[0].y*ee,!0);re.add(le);for(var ue=1;ue<6;ue++)le.add(new go.PathSegment(go.PathSegment.Line,ae[ue].x*z,ae[ue].y*ee));return le.add(new go.PathSegment(go.PathSegment.Line,ae[0].x*z,ae[0].y*ee).close()),ye(ae),re.spot1=new go.Spot(.07,.25),re.spot2=new go.Spot(.93,.75),re}),go.Shape.defineFigureGenerator("Heptagon",function(fe,z,ee){var ae=De(7),re=new go.Geometry,le=new go.PathFigure(ae[0].x*z,ae[0].y*ee,!0);re.add(le);for(var ue=1;ue<7;ue++)le.add(new go.PathSegment(go.PathSegment.Line,ae[ue].x*z,ae[ue].y*ee));return le.add(new go.PathSegment(go.PathSegment.Line,ae[0].x*z,ae[0].y*ee).close()),ye(ae),re.spot1=new go.Spot(.2,.15),re.spot2=new go.Spot(.8,.85),re}),go.Shape.defineFigureGenerator("Octagon",function(fe,z,ee){var ae=De(8),re=new go.Geometry,le=new go.PathFigure(ae[0].x*z,ae[0].y*ee,!0);re.add(le);for(var ue=1;ue<8;ue++)le.add(new go.PathSegment(go.PathSegment.Line,ae[ue].x*z,ae[ue].y*ee));return le.add(new go.PathSegment(go.PathSegment.Line,ae[0].x*z,ae[0].y*ee).close()),ye(ae),re.spot1=new go.Spot(.15,.15),re.spot2=new go.Spot(.85,.85),re}),go.Shape.defineFigureGenerator("Nonagon",function(fe,z,ee){var ae=De(9),re=new go.Geometry,le=new go.PathFigure(ae[0].x*z,ae[0].y*ee,!0);re.add(le);for(var ue=1;ue<9;ue++)le.add(new go.PathSegment(go.PathSegment.Line,ae[ue].x*z,ae[ue].y*ee));return le.add(new go.PathSegment(go.PathSegment.Line,ae[0].x*z,ae[0].y*ee).close()),ye(ae),re.spot1=new go.Spot(.17,.13),re.spot2=new go.Spot(.82,.82),re}),go.Shape.defineFigureGenerator("Decagon",function(fe,z,ee){var ae=De(10),re=new go.Geometry,le=new go.PathFigure(ae[0].x*z,ae[0].y*ee,!0);re.add(le);for(var ue=1;ue<10;ue++)le.add(new go.PathSegment(go.PathSegment.Line,ae[ue].x*z,ae[ue].y*ee));return le.add(new go.PathSegment(go.PathSegment.Line,ae[0].x*z,ae[0].y*ee).close()),ye(ae),re.spot1=new go.Spot(.16,.16),re.spot2=new go.Spot(.84,.84),re}),go.Shape.defineFigureGenerator("Dodecagon",function(fe,z,ee){var ae=De(12),re=new go.Geometry,le=new go.PathFigure(ae[0].x*z,ae[0].y*ee,!0);re.add(le);for(var ue=1;ue<12;ue++)le.add(new go.PathSegment(go.PathSegment.Line,ae[ue].x*z,ae[ue].y*ee));return le.add(new go.PathSegment(go.PathSegment.Line,ae[0].x*z,ae[0].y*ee).close()),ye(ae),re.spot1=new go.Spot(.16,.16),re.spot2=new go.Spot(.84,.84),re}),go.Shape.defineFigureGenerator("FivePointedStar",function(fe,z,ee){var ae=xe(5),re=new go.Geometry,le=new go.PathFigure(ae[0].x*z,ae[0].y*ee,!0);re.add(le);for(var ue=1;ue<10;ue++)le.add(new go.PathSegment(go.PathSegment.Line,ae[ue].x*z,ae[ue].y*ee));return le.add(new go.PathSegment(go.PathSegment.Line,ae[0].x*z,ae[0].y*ee).close()),ye(ae),re.spot1=new go.Spot(.266,.333),re.spot2=new go.Spot(.733,.733),re}),go.Shape.defineFigureGenerator("SixPointedStar",function(fe,z,ee){var ae=xe(6),re=new go.Geometry,le=new go.PathFigure(ae[0].x*z,ae[0].y*ee,!0);re.add(le);for(var ue=1;ue<12;ue++)le.add(new go.PathSegment(go.PathSegment.Line,ae[ue].x*z,ae[ue].y*ee));return le.add(new go.PathSegment(go.PathSegment.Line,ae[0].x*z,ae[0].y*ee).close()),ye(ae),re.spot1=new go.Spot(.17,.25),re.spot2=new go.Spot(.83,.75),re}),go.Shape.defineFigureGenerator("SevenPointedStar",function(fe,z,ee){var ae=xe(7),re=new go.Geometry,le=new go.PathFigure(ae[0].x*z,ae[0].y*ee,!0);re.add(le);for(var ue=1;ue<14;ue++)le.add(new go.PathSegment(go.PathSegment.Line,ae[ue].x*z,ae[ue].y*ee));return le.add(new go.PathSegment(go.PathSegment.Line,ae[0].x*z,ae[0].y*ee).close()),ye(ae),re.spot1=new go.Spot(.222,.277),re.spot2=new go.Spot(.777,.666),re}),go.Shape.defineFigureGenerator("EightPointedStar",function(fe,z,ee){var ae=xe(8),re=new go.Geometry,le=new go.PathFigure(ae[0].x*z,ae[0].y*ee,!0);re.add(le);for(var ue=1;ue<16;ue++)le.add(new go.PathSegment(go.PathSegment.Line,ae[ue].x*z,ae[ue].y*ee));return le.add(new go.PathSegment(go.PathSegment.Line,ae[0].x*z,ae[0].y*ee).close()),ye(ae),re.spot1=new go.Spot(.25,.25),re.spot2=new go.Spot(.75,.75),re}),go.Shape.defineFigureGenerator("NinePointedStar",function(fe,z,ee){var ae=xe(9),re=new go.Geometry,le=new go.PathFigure(ae[0].x*z,ae[0].y*ee,!0);re.add(le);for(var ue=1;ue<18;ue++)le.add(new go.PathSegment(go.PathSegment.Line,ae[ue].x*z,ae[ue].y*ee));return le.add(new go.PathSegment(go.PathSegment.Line,ae[0].x*z,ae[0].y*ee).close()),ye(ae),re.spot1=new go.Spot(.222,.277),re.spot2=new go.Spot(.777,.666),re}),go.Shape.defineFigureGenerator("TenPointedStar",function(fe,z,ee){var ae=xe(10),re=new go.Geometry,le=new go.PathFigure(ae[0].x*z,ae[0].y*ee,!0);re.add(le);for(var ue=1;ue<20;ue++)le.add(new go.PathSegment(go.PathSegment.Line,ae[ue].x*z,ae[ue].y*ee));return le.add(new go.PathSegment(go.PathSegment.Line,ae[0].x*z,ae[0].y*ee).close()),ye(ae),re.spot1=new go.Spot(.281,.261),re.spot2=new go.Spot(.723,.748),re}),go.Shape.defineFigureGenerator("FivePointedBurst",function(fe,z,ee){var ae=me(5),re=new go.Geometry,le=new go.PathFigure(ae[0].x*z,ae[0].y*ee,!0);re.add(le);for(var ue=1;ue<ae.length;ue+=3)le.add(new go.PathSegment(go.PathSegment.Bezier,ae[ue+2].x*z,ae[ue+2].y*ee,ae[ue].x*z,ae[ue].y*ee,ae[ue+1].x*z,ae[ue+1].y*ee));return le.segments.last().close(),ye(ae),re.spot1=new go.Spot(.222,.277),re.spot2=new go.Spot(.777,.777),re}),go.Shape.defineFigureGenerator("SixPointedBurst",function(fe,z,ee){var ae=me(6),re=new go.Geometry,le=new go.PathFigure(ae[0].x*z,ae[0].y*ee,!0);re.add(le);for(var ue=1;ue<ae.length;ue+=3)le.add(new go.PathSegment(go.PathSegment.Bezier,ae[ue+2].x*z,ae[ue+2].y*ee,ae[ue].x*z,ae[ue].y*ee,ae[ue+1].x*z,ae[ue+1].y*ee));return le.segments.last().close(),ye(ae),re.spot1=new go.Spot(.17,.222),re.spot2=new go.Spot(.833,.777),re}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(fe,z,ee){var ae=me(7),re=new go.Geometry,le=new go.PathFigure(ae[0].x*z,ae[0].y*ee,!0);re.add(le);for(var ue=1;ue<ae.length;ue+=3)le.add(new go.PathSegment(go.PathSegment.Bezier,ae[ue+2].x*z,ae[ue+2].y*ee,ae[ue].x*z,ae[ue].y*ee,ae[ue+1].x*z,ae[ue+1].y*ee));return le.segments.last().close(),ye(ae),re.spot1=new go.Spot(.222,.222),re.spot2=new go.Spot(.777,.777),re}),go.Shape.defineFigureGenerator("EightPointedBurst",function(fe,z,ee){var ae=me(8),re=new go.Geometry,le=new go.PathFigure(ae[0].x*z,ae[0].y*ee,!0);re.add(le);for(var ue=1;ue<ae.length;ue+=3)le.add(new go.PathSegment(go.PathSegment.Bezier,ae[ue+2].x*z,ae[ue+2].y*ee,ae[ue].x*z,ae[ue].y*ee,ae[ue+1].x*z,ae[ue+1].y*ee));return le.segments.last().close(),ye(ae),re.spot1=new go.Spot(.222,.222),re.spot2=new go.Spot(.777,.777),re}),go.Shape.defineFigureGenerator("NinePointedBurst",function(fe,z,ee){var ae=me(9),re=new go.Geometry,le=new go.PathFigure(ae[0].x*z,ae[0].y*ee,!0);re.add(le);for(var ue=1;ue<ae.length;ue+=3)le.add(new go.PathSegment(go.PathSegment.Bezier,ae[ue+2].x*z,ae[ue+2].y*ee,ae[ue].x*z,ae[ue].y*ee,ae[ue+1].x*z,ae[ue+1].y*ee));return le.segments.last().close(),ye(ae),re.spot1=new go.Spot(.222,.222),re.spot2=new go.Spot(.777,.777),re}),go.Shape.defineFigureGenerator("TenPointedBurst",function(fe,z,ee){var ae=me(10),re=new go.Geometry,le=new go.PathFigure(ae[0].x*z,ae[0].y*ee,!0);re.add(le);for(var ue=1;ue<ae.length;ue+=3)le.add(new go.PathSegment(go.PathSegment.Bezier,ae[ue+2].x*z,ae[ue+2].y*ee,ae[ue].x*z,ae[ue].y*ee,ae[ue+1].x*z,ae[ue+1].y*ee));return le.segments.last().close(),ye(ae),re.spot1=new go.Spot(.222,.222),re.spot2=new go.Spot(.777,.777),re}),go.Shape.setFigureParameter("FramedRectangle",0,new Nn("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new Nn("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(fe,z,ee){var ae=fe?fe.parameter1:NaN,re=fe?fe.parameter2:NaN;isNaN(ae)&&(ae=8),isNaN(re)&&(re=8);var le=new go.Geometry,ue=new go.PathFigure(0,0,!0);return le.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()),ae<z/2&&re<ee/2&&(ue.add(new go.PathSegment(go.PathSegment.Move,ae,re)),ue.add(new go.PathSegment(go.PathSegment.Line,ae,ee-re)),ue.add(new go.PathSegment(go.PathSegment.Line,z-ae,ee-re)),ue.add(new go.PathSegment(go.PathSegment.Line,z-ae,re).close())),le.setSpots(0,0,1,1,ae,re,-ae,-re),le}),go.Shape.setFigureParameter("Ring",0,new Nn("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;(isNaN(ae)||ae<0)&&(ae=8);var re=z/2,le=new go.Geometry,ue=new go.PathFigure(z,z/2,!0);le.add(ue),ue.add(new go.PathSegment(go.PathSegment.Arc,0,360,re,re,re,re).close());var pe=Math.max(re-ae,0);return pe>0&&(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;Ee<arguments.length;Ee++){var Ae=arguments[Ee];if(Ae!==null)switch(typeof Ae){case"number":fn=Ae.toFixed(1);break;case"string":Ae.match(new RegExp("^[0-9]\\.[0-9]+$"))?fn=Ae:Ze=Ae;break;case"object":typeof Ae.is3D!="undefined"?He=Ae:We=Ae;break;case"boolean":gt=Ae,oe=!0;break}}He===null&&(He={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},We.material_id!==void 0&&!oe&&(gt=!0)),Ze!==null&&We.id===void 0&&(We.id=Ze);var ye="",De="",me=!1,xe=null,fe=null,z=null,ee=!1,ae=null,re=null,le=null,ue=null,pe=null;We.height!==void 0&&(We.height=Math.round(We.height)),We.width!==void 0&&(We.width=Math.round(We.width));var Pe=function(ft){return parseFloat(ft)>4?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<arguments.length;Gt++){var wt=arguments[Gt];typeof wt=="string"?(wt=wt.toLowerCase(),wt.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?pt=wt:yt=arguments[Gt]):typeof wt=="boolean"?At=wt:wt instanceof HTMLElement&&(Tt=wt)}bt();function bt(){if(!Ne){setTimeout(bt,200);return}pt=vt(pt);var it=Tt||document.getElementById(yt);if(!it){console.log("possibly bug on ajax loading? ");return}if(Nn.removeExistingApplet(it,!1),We.width===void 0&&it.clientWidth&&(We.width=it.clientWidth),We.height===void 0&&it.clientHeight&&(We.height=it.clientHeight),!(We.width&&We.height)&&pt==="html5"&&(delete We.width,delete We.height),xe=pt,pt==="screenshot")Ue(it,We);else{var _e=!1;We.hasOwnProperty("playButton")&&We.playButton||We.hasOwnProperty("clickToLoad")&&We.clickToLoad?_e=!0:We.hasOwnProperty("playButtonAutoDecide")&&We.playButtonAutoDecide&&(_e=(!be()||ft())&&Ie()),_e?(xe="screenshot",et(it,We,At,pt)):$e(it,We,At)}}};function be(){try{return window.self!==window.top}catch(ft){return!0}}function Ie(){return We.hasOwnProperty("screenshotGenerator")&&We.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Nn.getViews=function(){return He},Nn.isJavaInstalled=function(){return!1};var Me=function(ft){var pt=function(Gt){var wt=JSON.parse(Gt),bt=function(we){return we.type=="G"||we.type=="E"},it=wt.elements?wt.elements.filter(bt)[0]:wt;if(!it||!it.url){yt();return}We.fileName=it.url,Oe(it.settings||{}),He.is3D=!0;var _e="https://www.geogebra.org/images/";Nn.setPreviewImage(ae||it.previewUrl,_e+"GeoGebra_loading.png",_e+"applet_play.png"),ft()},yt=function(){We.onError&&We.onError(),St("Error: Fetching material (id "+We.material_id+") failed.",We)},Tt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",At="/materials/"+We.material_id+"?scope=basic";Te("https://"+Tt+"/api/proxy.php?path="+encodeURIComponent(At),pt,yt)};function Oe(ft){var pt=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(yt){ft[yt]=!!ft[yt]}),pt.forEach(function(yt){We[yt]===void 0&&ft[yt]!==void 0&&(We[yt]=ft[yt])}),We.showToolBarHelp===void 0&&(We.showToolBarHelp=We.showToolBar)}function Te(ft,pt,yt){var Tt=new XMLHttpRequest;Tt.open("GET",ft),Tt.onload=function(){pt(Tt.responseText)},Tt.onerror=yt,Tt.send()}Nn.isHTML5Installed=function(){return!0},Nn.getLoadedAppletType=function(){return xe},Nn.setPreviewImage=function(ft,pt,yt){ae=ft,re=pt,le=yt},Nn.removeExistingApplet=function(ft,pt){var yt;typeof ft=="string"&&(ft=document.getElementById(ft)),xe=null;var Tt=null;for(yt=0;yt<ft.childNodes.length;yt++){var At=ft.childNodes[yt],Gt=At.className;Gt==="applet_screenshot"?pt?(At.style.display="block",xe="screenshot"):At.style.display="none":Gt!=="applet_scaler prerender"&&(ft.removeChild(At),Tt=Gt&&Gt.indexOf("appletParameters")!=-1?At.id:null,yt--)}var wt=We.id!==void 0?We.id:Tt,bt=window[wt];bt&&typeof bt.getBase64=="function"&&(bt.remove(),window[wt]=null)},Nn.refreshHitPoints=function(){if(Pe(ggbHTML5LoadedCodebaseVersion)>=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<bt&&(pt.width=bt,Gt=bt)}At.style.border="none",At.style.display="inline-block";for(var it in pt)pt.hasOwnProperty(it)&&it!=="appletOnLoad"&&At.setAttribute("data-param-"+it,pt[it]);ue&&At.setAttribute("data-param-fontscssurl",ue),Nn.resize=function(){GGBAppletUtils.responsiveResize(ft,pt)},window.addEventListener("resize",function(mt){Nn.resize()});var _e=typeof pt.appletOnLoad=="function"?pt.appletOnLoad:function(){};if(!yt&&pt.width!==void 0){pt.hasOwnProperty("showSplash")||At.setAttribute("data-param-showSplash","false");var we=ft.querySelector(".applet_scaler.prerender"),Ce=we!==null;if(Ce)var Ye=we.querySelector(".ggb_preview");else{var Ye=ut(Gt,wt,pt.borderColor,!1);we=document.createElement("div"),we.className="applet_scaler",we.style.position="relative",we.style.display="block",we.style.width=Gt+"px",we.style.height=wt+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(we,"66%"),Pe(fe)>=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;Ke<At.childNodes.length;Ke++){var Xe=At.childNodes[Ke].tagName;Xe==="TABLE"&&(At.removeChild(At.childNodes[Ke]),Ke--)}if(ggbHTML5LoadedScript!==null){var Qe=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Qe!=null&&Qe.parentNode.removeChild(Qe)}var ht=document.createElement("script"),Et=function(){Ge(At,pt)};ht.src=De+z,ggbHTML5LoadedCodebaseIsWebSimple=ee,ggbHTML5LoadedCodebaseVersion=fe,ggbHTML5LoadedScript=ht.src,St("GeoGebra HTML5 codebase loaded: '"+De+"'.",pt),!ce&&(!ge||ge=="5.0")?(ee?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Et()):De.requirejs?__webpack_require__.e(4184).then(function(){var mt=[__webpack_require__(74620)];Et.apply(null,mt)}.bind(this)).catch(__webpack_require__.oe):(ht.onload=Et,ft.appendChild(ht))}else Ge(At,pt);pt.height=wt,pt.width=Gt},Ue=function(ft,pt,yt){var Tt=ut(pt.width,pt.height,pt.borderColor,yt),At=document.createElement("div");At.style.position="relative",At.style.display="block",At.style.width=pt.width+"px",At.style.height=pt.height+"px",At.className="applet_screenshot applet_scaler"+(yt?" applet_screenshot_play":""),At.appendChild(Tt);var Gt=GGBAppletUtils.getScale(pt,ft,yt);yt?(ft.appendChild(lt()),window.GGBT_wsf_view||(ft.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(At,"66%"),ft.appendChild(At),Gt!==1&&!isNaN(Gt)&&(GGBAppletUtils.scaleElement(At,Gt),At.style.width=pt.width+"px",At.style.height=pt.height+"px",At.parentNode.style.width=pt.width*Gt+"px",At.parentNode.style.height=pt.height*Gt+"px"),Nn.resize=function(){qe(ft,Tt,At,yt)},window.addEventListener("resize",function(wt){Nn.resize()}),Nn.resize()};function qe(ft,pt,yt,Tt){if(ft.contains(pt)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ft.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(ft)}var At=GGBAppletUtils.getScale(We,ft,Tt);yt.parentNode!==null&&(!isNaN(At)&&At!==1?(GGBAppletUtils.scaleElement(yt,At),yt.parentNode.style.width=We.width*At+"px",yt.parentNode.style.height=We.height*At+"px"):(GGBAppletUtils.scaleElement(yt,1),yt.parentNode.style.width=We.width+"px",yt.parentNode.style.height=We.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(ft),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Nn.onExitFullscreen=function(ft,pt){pt.appendChild(ft)};var et=function(ft,pt,yt,Tt){Ue(ft,pt,!0);for(var At=function(){var bt=[];for(wt=0;wt<ft.childNodes.length;wt++)bt.push(ft.childNodes[wt]);if(window.GGBT_wsf_view){var it=window.GGBT_wsf_view.renderFullScreen(ft,pt.id),_e=document.getElementById("fullscreencontainer"),we=jQuery(ft).find(".fullscreencontent");we.length>0?(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;wt<bt.length;wt++)ft.removeChild(bt[wt])},Gt=ft.getElementsByClassName("ggb_preview_play"),wt=0;wt<Gt.length;wt++)Gt[wt].addEventListener("click",At,!1),Gt[wt].addEventListener("ontouchstart",At,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(ft),Ie()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},lt=function(){var ft=document.createElement("div");if(ft.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var pt='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',yt=document.createElement("style");yt.styleSheet?yt.styleSheet.cssText=pt:yt.appendChild(document.createTextNode(pt)),document.getElementsByTagName("head")[0].appendChild(yt)}return ft},ut=function(ft,pt,yt,Tt){var At=document.createElement("div");At.className="ggb_preview",At.style.position="absolute",At.style.zIndex="90",At.style.width=ft-2+"px",At.style.height=pt-2+"px",At.style.top="0px",At.style.left="0px",At.style.overflow="hidden",At.style.backgroundColor="white";var Gt="lightgrey";yt!==void 0&&(yt==="none"?Gt="transparent":Gt=yt),At.style.border="1px solid "+Gt;var wt=document.createElement("img");if(wt.style.position="relative",wt.style.zIndex="1000",wt.style.top="-1px",wt.style.left="-1px",ae!==null&&wt.setAttribute("src",ae),wt.style.opacity=.7,re!==null){var bt,it,_e;if(!Tt){bt=document.createElement("img"),bt.style.position="absolute",bt.style.zIndex="1001",bt.style.opacity=1,wt.style.opacity=.3,it=360,it>ft/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+ee<xe?xe=ge:xe-=ee,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ce===void 0||!ce)&&(fe-=le)),{width:xe,height:fe}}function He(Ne,ge,ce,Ee,Ae){if(Ne.isScreenshoGenerator)return 1;var ye=Ee!==void 0&&Ee,De=Ne.noScaleMargin!=null&&Ne.noScaleMargin,me=function(pe){return pe&&pe!=="false"},xe=me(Ne.autoHeight),fe=We(ge,Ne.width,ce,xe,ye&&window.GGBT_wsf_view||De,Ae),z=parseInt(fe.width),ee=Ne.width,ae=Ne.height;if(ee===void 0){var re=ge.querySelector(".appletParameters");re&&(ee=re.offsetWidth,ae=re.offsetHeight)}var le=z/ee,ue=ye?1:fe.height/ae;return ce!==void 0&&!ce&&(le=Math.min(1,le),ue=Math.min(1,ue)),Math.min(le,ue)}function gt(Ne,ge,ce){var Ee=1,Ae,ye=!1;if(Ne.hasOwnProperty("allowUpscale")&&(ye=Ne.allowUpscale),Ne.hasOwnProperty("scale")&&(Ee=parseFloat(Ne.scale),(isNaN(Ee)||Ee===null||Ee===0)&&(Ee=1),Ee>1&&(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<Ne.childNodes.length;ye++)if(Ne.childNodes[ye].className!==void 0&&Ne.childNodes[ye].className.match(/^applet_scaler/)){Ae=Ne.childNodes[ye];break}if(Ae!==null&&Ae.querySelector(".noscale")!==null)return;var De=ge.id!==void 0?ge.id:"ggbApplet",me=window[De];(me==null||!me.recalculateEnvironments)&&Ae!==null&&!Ae.className.match(/fullscreen/)&&(Ae.parentNode.style.transform="",!isNaN(Ee)&&Ee!==1?(Ae.parentNode.style.width=ge.width*Ee+"px",Ae.parentNode.style.height=ge.height*Ee+"px",fn(Ae,Ee)):(fn(Ae,1),Ae.parentNode.style.width=ge.width+"px",Ae.parentNode.style.height=ge.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&oe(Ne),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ce).parents(".content-added-content"))}}return{responsiveResize:Ze,isFlexibleWorksheetEditor:Nn,positionCenter:oe,getScale:gt,scaleElement:fn}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var Nn=n.location.search;return Nn.indexOf(J)!=-1||Nn.indexOf(K)!=-1}function q(Nn,fn){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(Nn){var fn=s[L].bindings;s[L].bindings=function(){for(var We=fn?fn():{},He=Nn[webModule.__softPermutationId],gt=O;gt<He.length;gt++){var oe=He[gt];We[oe[O]]=oe[P]}return We}};var t;function u(){return v(),t}function v(){if(!t){var Nn=o.createElement(Q);if(Nn.id=L,Nn.style.cssText=R+S,Nn.tabIndex=-1,o.body.appendChild(Nn),t=Nn.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var fn=document.compatMode==U?V:W;t.write(fn+X),t.close()}}}function w(Nn){function fn(He){function gt(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var oe=gt();if(oe){He();return}function Ze(){if(!oe){if(!gt())return;oe=!0,He(),o.removeEventListener&&o.removeEventListener(Z,Ze,!1),Ne&&clearInterval(Ne)}}o.addEventListener&&o.addEventListener(Z,Ze,!1);var Ne=setInterval(function(){Ze()},$)}function We(He){var gt=u(),oe=gt.body,Ze=gt.createElement(_);Ze.language=ab,Ze.crossOrigin=W,Ze.src=He,webModule.__errFn&&(Ze.onerror=function(){webModule.__errFn(L,new Error(bb+He))}),oe.appendChild(Ze)}fn(function(){We(Nn)})}webModule.__startLoadingFragment=function(Nn){return C(Nn)},webModule.__installRunAsyncCode=function(Nn){var fn=u(),We=fn.body,He=fn.createElement(_);He.language=ab,He.text=Nn,We.appendChild(He),We.removeChild(He)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=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;ge<Ne.length;++ge)if(Ne[ge].src.indexOf(xb)!=-1)return Nn(Ne[ge].src);return W}function gt(){var Ne=o.getElementsByTagName(yb);return Ne.length>O?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<Ee.length;ye++)if(Ee[ye].compile_success==0||!Ee[ye].compile_success){Ae=!1;break}}else Ae=!1;return Ae}function oe(Ee,Ae=""){let ye=[];for(let De=0;De<Ee.length;De++){let me=Ee[De],xe=Ae?`${Ae}/${me.name}`:`${me.name}`;ye.push({title:me.name,type:me.type,isLeaf:me.type!=="tree",key:xe})}return ye}function Ze(Ee,Ae,ye){for(let De=0;De<Ee.length;De++){let me=Ee[De];if(me.key===Ae){me.children=ye;break}me.children&&Ze(me.children,Ae,ye)}return Ee}function Ne(Ee,Ae,ye){let De;return function(){let me=this,xe=arguments,fe=function(){De=null,ye||Ee.apply(me,xe)},z=ye&&!De;clearTimeout(De),De=setTimeout(fe,Ae),z&&Ee.apply(me,xe)}}const ge=!0,ce=He.Z.API_SERVER},60302:function(Nn,fn,We){"use strict";var He=We(59301),gt=We(89070),oe=We(92832),Ze=We(78241),Ne=We(8591),ge=We(43418),ce=We(1710),Ee=We(99064),Ae=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,me=(ee,ae)=>{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&&lt.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&&gt.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=/<pre[^>]*>/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,`<span class="edu-program-fill-wrap ${ht===pe?"":"show"}" style="width:${ht===pe?"400px":"100%"}" title=${mt||""}><span>${Ft.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function it(ht){return ht=ht.replace(/!\[.*?\]\(.*?\)/g,""),ht=ht.replace(/\[.*?\]\(.*?\)/g,""),ht=ht.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),ht=ht.replace(/<embed.*?>/g,""),ht=ht.replace(/<img.*?>/g,""),ht=ht.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),ht=ht.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),ht=ht.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),ht=ht.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),ht}const _e=ht=>ht.replace(/<style.*?>([\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}`)}),`<style>${Kt.join("}")}</style>`}),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("<","&lt;").replaceAll(">","&gt;").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("<","&lt;").replaceAll(">","&gt;"))}),`<pre style="background:#fff;padding:4px">${_e(St||"")}</pre>`}let ht=_e(St);ht=(0,oe.ZP)(ht);const Et=(0,oe.ez)();St.match(/\[TOC\]/)&&(ht=ht.replace("<p>[TOC]</p>",(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"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Kt=document.createElement("span");Kt.innerHTML=mt.textContent.replace(new RegExp(Et,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),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=>/<style[\s\S]*?>/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;an<Pt.length-1;an++){var gn=Pt[an],Xt=gn.actualBounds.y+gn.actualBounds.height+Qt,Dt=Pt[an+1];Dt.move(new go.Point(gn.actualBounds.x,Xt))}Zt.commitTransaction("align Column")},bt.prototype.alignRow=function(Qt){Qt===void 0&&(Qt=0),Qt=parseFloat(Qt);var Zt=this.diagram;Zt.startTransaction("align Row");var Pt=new Array;Zt.selection.each(function(cn){cn instanceof go.Link||Pt.push(cn)});for(var an=0;an<Pt.length-1;an++){var gn=Pt[an],Xt=gn.actualBounds.x+gn.actualBounds.width+Qt,Dt=Pt[an+1];Dt.move(new go.Point(Xt,gn.actualBounds.y))}Zt.commitTransaction("align Row")},bt.prototype.canRotate=function(Qt){var Zt=this.diagram;return!(Zt===null||Zt.isReadOnly||Zt.isModelReadOnly||Zt.selection.count<1)},bt.prototype.rotate=function(Qt){Qt===void 0&&(Qt=90);var Zt=this.diagram;Zt.startTransaction("rotate "+Qt.toString());var Zt=this.diagram;Zt.selection.each(function(Pt){Pt instanceof go.Link||Pt instanceof go.Group||(Pt.angle+=Qt)}),Zt.commitTransaction("rotate "+Qt.toString())},bt.prototype.pullToFront=function(){var Qt=this.diagram;Qt.startTransaction("pullToFront");var Zt=new go.Map;Qt.selection.each(function(Pt){Zt.set(Pt.layer,0)}),Zt.iteratorKeys.each(function(Pt){var an=0;Pt.parts.each(function(gn){if(!gn.isSelected){var Xt=gn.zOrder;isNaN(Xt)?gn.zOrder=0:an=Math.max(an,Xt)}}),Zt.set(Pt,an)}),Qt.selection.each(function(Pt){bt._assignZOrder(Pt,Zt.get(Pt.layer)+1)}),Qt.commitTransaction("pullToFront")},bt.prototype.pushToBack=function(){var Qt=this.diagram;Qt.startTransaction("pushToBack");var Zt=new go.Map;Qt.selection.each(function(Pt){Zt.set(Pt.layer,0)}),Zt.iteratorKeys.each(function(Pt){var an=0;Pt.parts.each(function(gn){if(!gn.isSelected){var Xt=gn.zOrder;isNaN(Xt)?gn.zOrder=0:an=Math.min(an,Xt)}}),Zt.set(Pt,an)}),Qt.selection.each(function(Pt){bt._assignZOrder(Pt,Zt.get(Pt.layer)-1-bt._findGroupDepth(Pt))}),Qt.commitTransaction("pushToBack")},bt._assignZOrder=function(Qt,Zt,Pt){Pt===void 0&&(Pt=Qt),Qt.layer===Pt.layer&&(Qt.zOrder=Zt),Qt instanceof go.Group&&Qt.memberParts.each(function(an){bt._assignZOrder(an,Zt+1,Pt)})},bt._findGroupDepth=function(Qt){if(Qt instanceof go.Group){var Zt=0;return Qt.memberParts.each(function(Pt){Zt=Math.max(Zt,bt._findGroupDepth(Pt))}),Zt+1}else return 0},bt.prototype.doKeyDown=function(){var Qt=this.diagram;if(Qt!==null){var Zt=Qt.lastInput;if(Zt.key==="Up"||Zt.key==="Down"||Zt.key==="Left"||Zt.key==="Right"){var Pt=this.arrowKeyBehavior;if(Pt==="none")return;if(Pt==="select"){this._arrowKeySelect();return}else if(Pt==="move"){this._arrowKeyMove();return}else if(Pt==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},bt.prototype._getAllParts=function(){var Qt=new Array;return this.diagram.nodes.each(function(Zt){Qt.push(Zt)}),this.diagram.parts.each(function(Zt){Qt.push(Zt)}),Qt},bt.prototype._arrowKeyMove=function(){var Qt=this.diagram,Zt=Qt.lastInput,Pt=0,an=0;if(Zt.control||Zt.meta)Pt=1,an=1;else if(Qt.grid!==null){var gn=Qt.grid.gridCellSize;an=gn.width,Pt=gn.height}Qt.startTransaction("arrowKeyMove"),Qt.selection.each(function(Xt){Zt.key==="Up"?Xt.move(new go.Point(Xt.actualBounds.x,Xt.actualBounds.y-Pt)):Zt.key==="Down"?Xt.move(new go.Point(Xt.actualBounds.x,Xt.actualBounds.y+Pt)):Zt.key==="Left"?Xt.move(new go.Point(Xt.actualBounds.x-an,Xt.actualBounds.y)):Zt.key==="Right"&&Xt.move(new go.Point(Xt.actualBounds.x+an,Xt.actualBounds.y))}),Qt.commitTransaction("arrowKeyMove")},bt.prototype._arrowKeySelect=function(){var Qt=this.diagram,Zt=Qt.lastInput,Pt=null;Zt.key==="Up"?Pt=this._findNearestPartTowards(270):Zt.key==="Down"?Pt=this._findNearestPartTowards(90):Zt.key==="Left"?Pt=this._findNearestPartTowards(180):Zt.key==="Right"&&(Pt=this._findNearestPartTowards(0)),Pt!==null&&(Zt.shift?Pt.isSelected=!0:Zt.control||Zt.meta?Pt.isSelected=!Pt.isSelected:Qt.select(Pt))},bt.prototype._findNearestPartTowards=function(Qt){var Zt=this.diagram.selection.first();if(Zt===null)return null;for(var Pt=Zt.actualBounds.center,an=this._getAllParts(),gn=1/0,Xt=Zt,Dt=0;Dt<an.length;Dt++){var cn=an[Dt];if(cn!==Zt&&cn.canSelect()){var bn=cn.actualBounds.center,kn=Pt.directionPoint(bn),Gn=this._angleCloseness(kn,Qt);if(Gn<=45){var Ht=Pt.distanceSquaredPoint(bn);Ht*=1+Math.sin(Gn*Math.PI/180),Ht<gn&&(gn=Ht,Xt=cn)}}}return Xt},bt.prototype._angleCloseness=function(Qt,Zt){return Math.min(Math.abs(Zt-Qt),Math.min(Math.abs(Zt+360-Qt),Math.abs(Zt-360-Qt)))},bt.prototype._arrowKeyTree=function(){var Qt=this.diagram,Zt=Qt.selection.first();if(Zt instanceof go.Node){var Pt=Qt.lastInput;if(Pt.key==="Right"){if(!Zt.isTreeLeaf)if(!Zt.isTreeExpanded)Qt.commandHandler.canExpandTree(Zt)&&Qt.commandHandler.expandTree(Zt);else{var an=this._sortTreeChildrenByY(Zt).first();an!==null&&Qt.select(an)}}else if(Pt.key==="Left")if(!Zt.isTreeLeaf&&Zt.isTreeExpanded)Qt.commandHandler.canCollapseTree(Zt)&&Qt.commandHandler.collapseTree(Zt);else{var gn=Zt.findTreeParentNode();gn!==null&&Qt.select(gn)}else if(Pt.key==="Up"){var gn=Zt.findTreeParentNode();if(gn!==null){var Xt=this._sortTreeChildrenByY(gn),Dt=Xt.indexOf(Zt);if(Dt>0){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(Dt<Xt.length-1){Qt.select(Xt.elt(Dt+1));break}else Zt=gn}var kn=Qt.selection.first();kn!==null&&Qt.scrollToRect(kn.actualBounds)}},bt.prototype._sortTreeChildrenByY=function(Qt){var Zt=new go.List().addAll(Qt.findTreeChildrenNodes());return Zt.sort(function(Pt,an){var gn=Pt.location,Xt=an.location;return gn.y<Xt.y?-1:gn.y>Xt.y?1:gn.x<Xt.x?-1:gn.x>Xt.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(`<img width="100%" src="/api/attachments/${la.id}?type=${la.content_type})" alt="" />`):((Mn=Oo==null?void 0:Oo.type)==null?void 0:Mn.indexOf("video"))>-1?Xr.replaceSelection(`<video width="100%" controls src="/api/attachments/${la.id}"></video>`):((ha=Oo==null?void 0:Oo.type)==null?void 0:ha.indexOf("pdf"))>-1?Xr.replaceSelection(`<a href="/api/attachments/${la.id}?type=${Oo.type}&disposition=inline" target="_blank">${Oo.name}</a>`):gi.includes(oa)?Xr.replaceSelection(`<a href="/api/attachments/${la.id}?type=office&disposition=inline" target="_blank">${Oo.name}</a>`):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(`<br/>
`),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<Do.length;oa++)Oo[oa]=Do.charCodeAt(oa);var la=new Blob([Oo],{type:"image/png"});(0,ft.I)(la,Ci=>{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(`<p style="text-align:${_i.align||"initial"}"><img width="${_i.width?_i.width+"%":"initial"}" src="${xs}" alt="${bo||""}" /></p>`):pn.replaceSelection(`<img width="100%" src="${xs}" alt="${bo||""}" />`):((lo=_i==null?void 0:_i.type)==null?void 0:lo.indexOf("video"))>-1?pn.replaceSelection(`<video width="100%" controls src="${xs}"></video>`):((Qi=_i==null?void 0:_i.type)==null?void 0:Qi.indexOf("pdf"))>-1?pn.replaceSelection(`<a href="${xs}?type=${_i.type}&disposition=inline" target="_blank">${_i.name}</a>`):gi.includes(da)?pn.replaceSelection(`<a href="${xs}?type=office&disposition=inline" target="_blank">${_i.name}</a>`):pn.replaceSelection(`[${_i.name}](${xs})`),pn.focus();case ur:const{row:Ao,col:eo,align:Bo}=Vr;let ws=`
`;for(let Ci=0;Ci<Ao;Ci++){let ho=[],oo=[];for(let Or=0;Or<eo;Or++)Ci===1&&oo.push(Mr[Bo]),ho.push(" ");Ci===1&&(ws+=`| ${oo.join(" | ")} |
`),ws+=`| ${ho.join(eo===1?"":" | ")} |
`}return pn.replaceSelection(ws+`
`),pn.focus();default:throw new Error}},[pn,fr]),Li=(0,He.useMemo)(()=>{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&&qn<Vr||Xr<20&&li>Xr||Xr>qi-20&&li<Xr?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return He.createElement(He.Fragment,null,He.createElement("div",{className:"markdown-editor-wrapper",ref:Oi},He.createElement("div",{className:`markdown-editor-container ${vn} ${wn?"on-preview":""} ${gn?"mini":""} ${dr?"full-screen":""}`,style:wo},He.createElement(Me,{insertTemp:cn,watch:wn,fullScreen:dr,showNullButton:An,showNullProgramButton:Kn,onActionCallback:pr,hidetoolBar:ir,extraUse:gr}),He.createElement("div",{className:"markdown-editor-body"},He.createElement("div",{className:"codemirror-container"},He.createElement("textarea",{ref:Xi,placeholder:jn})),wn?He.createElement("div",{ref:zr,className:"preview-container"},bn==="stex"&&He.createElement(me,{value:Ur}),bn!=="stex"&&He.createElement(De.Z,{disabledFill:Fn,showProgramFill:Kn,value:Ur})):null))),Gn?He.createElement("a",{ref:Rr,className:"editor-resize"}):null,fr===zn&&He.createElement(Gt,{callback:Lt,onCancel:ao}),fr===xn&&He.createElement(Xe,{callback:Lt,onCancel:ao}),He.createElement(Oe.Z,null,Un[fr]&&fr!==zn&&fr!==xn?He.createElement(pt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:On,top:Ri},title:He.createElement("div",{style:{cursor:"move"},onMouseDown:so},Un[fr]),open:!0,onCancel:ao,footer:null,destroyOnClose:!0,width:fr===xn?"1200px":null,height:fr===xn?"80vh":null,className:"markdown-popup-form"},Li):null))}},28451:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return be},I:function(){return Me}});var He=We(78241),gt=We(8591),oe=We(92832),Ze=We(81327),Ne=We(5871),ge=We(5112),ce=We(3113),Ee=We(77903),Ae=We(59301),ye=We(59301),De=Object.defineProperty,me=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,ae=(Oe,Te,je)=>Te 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 <iostream>",content:["#include <iostream>"].join(`
`)},{label:"include <vector>",content:["#include <vector>"].join(`
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
`)},{label:"include <map>",content:["#include <map>"].join(`
`)},{label:"include <string>",content:["#include <string>"].join(`
`)},{label:"include <cmath>",content:["#include <cmath>"].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<Ke.length;Qe++){let ht=Ce[Ke[Qe]];if(ht)return ht}return Xe[0]}return Ce[Xe]||Xe}let Je=null;var Le=Ke=>{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<ht?ht:sn)}else Kn(ht)};function cn(sn){var Cn=document.createEvent("MouseEvents");Cn.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),sn.dispatchEvent(Cn)}const bn=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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a9a0mfZcZLkTz3MrJronVxoQ+ziPEWsL3GXDZ60NjIr/6sjynk8EsHEPRxDBK8E1ztw+k+njhHFTqJCTMl4Qm21eDd/KR7+NePLt35fPnO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/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:"bottom____k2sh"},St="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu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CWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+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)=>Pt<Qt.length-1?He.createElement(He.Fragment,{key:Pt},Zt.path||Zt.onClick?He.createElement("span",{className:er.hover,onClick:Zt!=null&&Zt.onClick?Zt.onClick:()=>Tt.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+uvKTVlqHSSTtLpeQS6G20QFRA8DTgdBccDCC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PZQ+xrZC/65j2ggTTYBxBn62pBesQxqjqMEq7eMTD8EEmSm9VHcaIikobJsOQ0oKUUoWYLaBokZMhVhxouiFg6gyBlbqaqAi4QI6CyjJM8OckksmXDMwodMsC0qGTCr0mkmTm0TAj44B7Vr54Ga8XgEHe0JSai+v/+DD44cHf5G4CMf+fgfrzh72b3rPv2pCxYvXxIsV+ooFXnuEs3BAZ4rdt0xwc5VWF51iSbcHGJRT/Kw6iBXn9VpgUPAIvmqFqxCgPD1XDOi13GZz9hNRIlQH9acCX2tJXStk1O1hoTZh4wqUvos85pSQAABuhESKu0AnuGoZT1CncngCoQN1ycTMncMWzfO9+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,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAiIGhlaWdodD0iMjAiPjxwYXRoIGQ9Ik0xMjggMGg3NjhjNzAuNCAwIDEyOCA1Ny42IDEyOCAxMjh2NzY4YzAgNzAuNC01Ny42IDEyOC0xMjggMTI4SDEyOEExMjguMzU4IDEyOC4zNTggMCAwIDEgMCA4OTZWMTI4QzAgNTcuNiA1Ny42IDAgMTI4IDB6IiBmaWxsPSIjMTY1REZGIiBmaWxsLW9wYWNpdHk9Ii4xNCIvPjxwYXRoIGQ9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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;lt<qe.length;lt++)et=(lt==0&&qe[lt]==0||lt>0&&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=["<ul>"];const Ae=new(gt()).Renderer,ye=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function De(){ce.length=0,Ee=["<ul>"]}const me={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function xe(Oe,Te,je,ze){if(Te>=Oe.length||Oe[Te].level<=je)return Te;var $e=Oe[Te];ze.push("<li><a href='#"+Ne+$e.anchor+"'>"+$e.text+"</a>"),Te++;var Ue=[];return Te=xe(Oe,Te,$e.level,Ue),Ue.length>0&&(ze.push("<ul>"),Ue.forEach(function(qe){ze.push(qe)}),ze.push("</ul>")),ze.push("</li>"),Te=xe(Oe,Te,je,ze),Te}function fe(){return xe(ce,0,0,Ee),Ee.push("</ul>"),Ee.join("")}const z={heading(Oe){const Te=ye.exec(Oe);if(Ne+=1,Te)return{type:"heading",raw:Te[0],depth:Te[1].length,text:Te[2]}},fences(Oe){const Te=this.rules.block.fences.exec(Oe);if(Te){const je=Te[0];let ze=ge(je,Te[3]||"");const $e=Te[2]?Te[2].trim():Te[2];if(["latex","katex","math"].indexOf($e)>=0){const Ue=re(),qe=ze;ze=Ue,le[Ue]={type:"block",expression:qe}}return{type:"code",raw:je,lang:$e,text:ze}}}},ee=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let ae=0;const re=()=>`__special_katext_id_${ae++}__`;let le={};function ue(){return le}function pe(){ae=0,le={}}function Pe(Oe){return Oe=Oe.replace(ee,(Te,je)=>{const ze=re();return le[ze]={type:"inline",expression:je},ze}),Oe}const be=Ae.listitem;Ae.listitem=function(Oe){return be(Pe(Oe))};const Ie=Ae.paragraph;Ae.paragraph=function(Oe){return Ie(Pe(Oe))};const Me=Ae.tablecell;Ae.tablecell=function(Oe,Te){return Me(Pe(Oe),Te)},Ae.code=function(Oe,Te,je){const ze=(Te||"").match(/\S*/)[0];return ze?["latex","katex","math"].indexOf(ze)>=0?`<p class='editormd-tex'>${Oe}</p>`:`<pre class="prettyprint linenums"><code class="language-${Te}">${je?Oe:(0,oe.escape)(Oe,!0)}</code></pre>
`:'<pre class="prettyprint linenums"><code>'+(je?Oe:(0,oe.escape)(Oe,!0))+"</code></pre>"},Ae.heading=function(Oe,Te,je){let ze=this.options.headerPrefix+je.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return ce.push({anchor:ze,level:Te,text:Oe}),"<h"+Te+' id="'+Ne+ze+'">'+Oe+"</h"+Te+">"},gt().setOptions({silent:!0,gfm:!0,pedantic:!1}),gt().use({tokenizer:z,renderer:Ae}),fn.ZP=gt()},46474:function(Nn,fn,We){"use strict";We.d(fn,{rX:function(){return Pe},pW:function(){return be},gy:function(){return Ie},xY:function(){return pe},O5:function(){return ue},hs:function(){return ee},tJ:function(){return fe},o1:function(){return z},Rd:function(){return le}});var He=We(89070),gt=We(43418),oe=We(28103),Ze=We(8591),Ne=We(24065),ge=We(955),ce=We(87169),Ee=We(25510),Ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAI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UazC7JUeLEzhbK8K2IR3FN3bEhTVCrOhmTi4cVGFbjwaCIywAIAOBBQBkILAAgAwEFgCQgcACADIQWABARh7VGkxytjyAyQ1ZcdvYtjoEVgyAoDLbhbPrNF7LxHiTbCvI4WydjIHgCAsAyEBgAQAZCCwAIAOBBQBkILAAgAwEFgCQkcewBioPvlsxAMK2u/gunHPB5OJWjJ+wbeSKs1u3YnHqRT5whAUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIMFutYefOnRUVFVa3ctWqVStXrjT4ZtsqK+RE5Ql7K1BpvAtHmdhWI8S2QhcWDWswG1gVFRVVVVVWtCxbOBy2ehMA4H44JQQAMhBYAEAGAgsAyEBgAQAZCCwAIMOSSShM3tFsaWkp+J1HZx+RN75O23pkRWEGk5wdEWJFN0023mTdEWfH9xjvZl5whAUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIsGRYg7NIP99vRd+tKDlg2zutYLxJzk7/Ydv+dOEcKwPBERYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgowiHNYzk4QJWPEzvwm7mZEVlBZP1Epwd65CTbSMYLBq5giMsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQIYlwxpaWlrMLG5yBgrbSvfbVnKASsED25j8iE2u0/jiJsc6uLBWhLPrZBYFVsHnvAEAYDglBABCEFgAQAYCCwDIQGABABlmL7qvWrUqHA5b3cotW7bYszsAwM24FXeIbUPl0XPbahsY76ZtU3W48+64ma0bZ9tnZFtdB9tKoQwEp4QAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjDyGNQAAOAtHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",ye=We.p+"static/newqrcode.a8740efb.png",De=We(32637),me=We(59301),xe=(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 fe=(Me,Oe=!1,Te=!1,je="",ze=!1)=>!!(z(Me)&&ae(Me,Oe,Te,je,ze)),z=Me=>(0,Ne.bg)()?!0:(Me({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),ee=Me=>{var Oe,Te,je;const{user:ze}=(0,He.getDvaApp)()._store.getState();(0,Ne.bg)()&&!((Te=(Oe=ze==null?void 0:ze.userInfo)==null?void 0:Oe.course)!=null&&Te.course_public)&&!((je=ze==null?void 0:ze.userInfo)!=null&&je.profile_completed)&&Me({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:"/account/profile/edit",isCurrentPage:!0}})},ae=(Me,Oe=!1,Te=!0,je="",ze=!1)=>{var $e;const{user:Ue}=(0,He.getDvaApp)()._store.getState();return($e=Ue.userInfo)!=null&&$e.profile_completed?!0:(Te?Me({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:je,isCurrentPage:ze}}):gt.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,ge.xg)("/account/profile/edit"),re()}}),!1)},re=()=>{gt.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},le=()=>{gt.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:me.createElement("div",{style:{textAlign:"center"}},me.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),me.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:De}),me.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},ue=()=>{var Me;const{user:Oe}=(0,He.getDvaApp)()._store.getState();return(Me=Oe.userInfo)!=null&&Me.professional_certification?!0:(gt.default.confirm({title:"\u63D0\u793A",centered:!0,content:me.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,ge.xg)("/account/certification")}}),!1)},pe=()=>(0,Ne.V9)()?!0:(gt.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:me.createElement("div",{className:"tc",style:{marginLeft:-38}},me.createElement("p",null,"\u626B\u7801\u52A0\u5934\u6B4C\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),me.createElement("img",{src:ye,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),Pe=(Me,Oe)=>Me?!0:(gt.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:me.createElement("div",null,me.createElement("p",null,Oe||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),me.createElement("div",{style:{marginLeft:"110px"}},me.createElement("img",{src:Ae,width:200}),me.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,ge.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),be=Me=>{gt.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:me.createElement("div",null,me.createElement("div",null,me.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),me.createElement(oe.Z,null),me.createElement("p",{style:{color:"#666666",fontSize:12}}," ",me.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",me.createElement("a",null,Me),"\u5929\u3002"),me.createElement("p",{style:{color:"#666666",fontSize:12}}," ",me.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),me.createElement("div",{style:{textAlign:"center",marginTop:30}},me.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Ee,alt:"\u4E8C\u7EF4\u7801",width:160})))})},Ie=(Me,Oe="")=>{const{shixunsDetail:{detail:Te}}=(0,He.getDvaApp)()._store.getState();if((Te==null?void 0:Te.public)===2||(Te==null?void 0:Te.public)===1||(Te==null?void 0:Te.shixun_status)===3){let je="";return(Te==null?void 0:Te.public)===2&&(je="\u5DF2\u516C\u5F00"),(Te==null?void 0:Te.public)===1&&(je="\u5F85\u5BA1\u6838"),(Te==null?void 0:Te.shixun_status)===3&&(je="\u5DF2\u5173\u95ED"),gt.default.info({centered:!0,icon:me.createElement(ce.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:me.createElement("div",{className:"tc",style:{marginLeft:-38}},me.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},me.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",je,"\uFF0C",Oe,"\u3002"),me.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),me.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Ee,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Te==null?void 0:Te.shixun_status)===2?(gt.default.confirm({centered:!0,icon:me.createElement(ce.Z,null),title:"\u63D0\u793A",content:me.createElement("div",null,me.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",Oe,"\u3002"),me.createElement("br",null),me.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{gt.default.confirm({width:440,centered:!0,icon:me.createElement(ce.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>xe(void 0,null,function*(){(yield Me({type:"shixunsDetail/cancelRelease",payload:{id:Te==null?void 0:Te.identifier}})).status!==401&&(Ze.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),Me({type:"shixunsDetail/getShixunsDetail",payload:{id:Te==null?void 0:Te.identifier}}),Me({type:"practiceSetting/getCommonData",payload:{id:Te==null?void 0:Te.identifier}}))})})}}),!0):!1}},47257:function(Nn){(function(fn){(function(We){if(1)Nn.exports=We();else var He})(function(){var We,He,gt;return function(){function oe(Ze,Ne,ge){function ce(ye,De){if(!Ne[ye]){if(!Ze[ye]){var me=void 0;if(!De&&me)return require(ye,!0);if(Ee)return Ee(ye,!0);var xe=new Error("Cannot find module '"+ye+"'");throw xe.code="MODULE_NOT_FOUND",xe}var fe=Ne[ye]={exports:{}};Ze[ye][0].call(fe.exports,function(z){var ee=Ze[ye][1][z];return ce(ee||z)},fe,fe.exports,oe,Ze,Ne,ge)}return Ne[ye].exports}for(var Ee=void 0,Ae=0;Ae<ge.length;Ae++)ce(ge[Ae]);return ce}return oe}()({1:[function(oe,Ze,Ne){"use strict";var ge=oe("./browser/client");ge.Buffer=oe("buffer").Buffer,ge.urllib=oe("../shims/xhr"),ge.version=oe("./browser/version").version,Ze.exports=ge},{"../shims/xhr":475,"./browser/client":3,"./browser/version":6,buffer:90}],2:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator")),Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator"));oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/web.dom-collections.for-each.js"),oe("core-js/modules/es.object.keys.js"),oe("core-js/modules/es.array.slice.js");var Ae=oe("assert"),ye=oe("../common/utils/checkBucketName"),De=ye.checkBucketName,me=Ne;function xe(z){return Array.isArray?Array.isArray(z):Object.prototype.toString.call(z)==="[object Array]"}function fe(z){return z?xe(z)?z:[z]:[]}me.useBucket=function(ee){return De(ee),this.options.bucket=ee,this},me.setBucket=function(ee){return De(ee),this.options.bucket=ee,this},me.getBucket=function(){return this.options.bucket},me.deleteBucket=function(){var z=(0,Ee.default)(ce.default.mark(function ae(re,le){var ue,pe;return ce.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return ue=this._bucketRequestParams("DELETE",re,"",le),be.next=3,this.request(ue);case 3:if(pe=be.sent,!(pe.status===200||pe.status===204)){be.next=6;break}return be.abrupt("return",{res:pe.res});case 6:return be.next=8,this.requestError(pe);case 8:throw be.sent;case 9:case"end":return be.stop()}},ae,this)}));function ee(ae,re){return z.apply(this,arguments)}return ee}(),me.putBucketACL=function(){var z=(0,Ee.default)(ce.default.mark(function ae(re,le,ue){var pe,Pe;return ce.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return pe=this._bucketRequestParams("PUT",re,"acl",ue),pe.headers={"x-oss-acl":le},pe.successStatuses=[200],Ie.next=5,this.request(pe);case 5:return Pe=Ie.sent,Ie.abrupt("return",{bucket:Pe.headers.location&&Pe.headers.location.substring(1)||null,res:Pe.res});case 7:case"end":return Ie.stop()}},ae,this)}));function ee(ae,re,le){return z.apply(this,arguments)}return ee}(),me.getBucketACL=function(){var z=(0,Ee.default)(ce.default.mark(function ae(re,le){var ue,pe;return ce.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return ue=this._bucketRequestParams("GET",re,"acl",le),ue.successStatuses=[200],ue.xmlResponse=!0,be.next=5,this.request(ue);case 5:return pe=be.sent,be.abrupt("return",{acl:pe.data.AccessControlList.Grant,owner:{id:pe.data.Owner.ID,displayName:pe.data.Owner.DisplayName},res:pe.res});case 7:case"end":return be.stop()}},ae,this)}));function ee(ae,re){return z.apply(this,arguments)}return ee}(),me.putBucketLogging=function(){var z=(0,Ee.default)(ce.default.mark(function ae(re,le,ue){var pe,Pe,be;return ce.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return pe=this._bucketRequestParams("PUT",re,"logging",ue),Pe=`<?xml version="1.0" encoding="UTF-8"?>
<BucketLoggingStatus>
<LoggingEnabled>
<TargetBucket>`.concat(re,`</TargetBucket>
`),le&&(Pe+="<TargetPrefix>".concat(le,`</TargetPrefix>
`)),Pe+=`</LoggingEnabled>
</BucketLoggingStatus>`,pe.content=Pe,pe.mime="xml",pe.successStatuses=[200],Me.next=9,this.request(pe);case 9:return be=Me.sent,Me.abrupt("return",{res:be.res});case 11:case"end":return Me.stop()}},ae,this)}));function ee(ae,re,le){return z.apply(this,arguments)}return ee}(),me.getBucketLogging=function(){var z=(0,Ee.default)(ce.default.mark(function ae(re,le){var ue,pe,Pe;return ce.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return ue=this._bucketRequestParams("GET",re,"logging",le),ue.successStatuses=[200],ue.xmlResponse=!0,Ie.next=5,this.request(ue);case 5:return pe=Ie.sent,Pe=pe.data.LoggingEnabled,Ie.abrupt("return",{enable:!!Pe,prefix:Pe&&Pe.TargetPrefix||null,res:pe.res});case 8:case"end":return Ie.stop()}},ae,this)}));function ee(ae,re){return z.apply(this,arguments)}return ee}(),me.deleteBucketLogging=function(){var z=(0,Ee.default)(ce.default.mark(function ae(re,le){var ue,pe;return ce.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return ue=this._bucketRequestParams("DELETE",re,"logging",le),ue.successStatuses=[204,200],be.next=4,this.request(ue);case 4:return pe=be.sent,be.abrupt("return",{res:pe.res});case 6:case"end":return be.stop()}},ae,this)}));function ee(ae,re){return z.apply(this,arguments)}return ee}(),me.putBucketCORS=function(){var z=(0,Ee.default)(ce.default.mark(function ae(re,le,ue){var pe,Pe,be,Ie,Me,Oe,Te,je,ze,$e;return ce.default.wrap(function(qe){for(;;)switch(qe.prev=qe.next){case 0:for(le=le||[],Ae(le.length,"rules is required"),le.forEach(function(et){Ae(et.allowedOrigin,"allowedOrigin is required"),Ae(et.allowedMethod,"allowedMethod is required")}),pe=this._bucketRequestParams("PUT",re,"cors",ue),Pe=`<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration>`,be=function(lt){Pe+="<AllowedOrigin>".concat(lt,"</AllowedOrigin>")},Ie=function(lt){Pe+="<AllowedMethod>".concat(lt,"</AllowedMethod>")},Me=function(lt){Pe+="<AllowedHeader>".concat(lt,"</AllowedHeader>")},Oe=function(lt){Pe+="<ExposeHeader>".concat(lt,"</ExposeHeader>")},Te=0,je=le.length;Te<je;Te++)ze=le[Te],Pe+="<CORSRule>",fe(ze.allowedOrigin).forEach(be),fe(ze.allowedMethod).forEach(Ie),fe(ze.allowedHeader).forEach(Me),fe(ze.exposeHeader).forEach(Oe),ze.maxAgeSeconds&&(Pe+="<MaxAgeSeconds>".concat(ze.maxAgeSeconds,"</MaxAgeSeconds>")),Pe+="</CORSRule>";return Pe+="</CORSConfiguration>",pe.content=Pe,pe.mime="xml",pe.successStatuses=[200],qe.next=16,this.request(pe);case 16:return $e=qe.sent,qe.abrupt("return",{res:$e.res});case 18:case"end":return qe.stop()}},ae,this)}));function ee(ae,re,le){return z.apply(this,arguments)}return ee}(),me.getBucketCORS=function(){var z=(0,Ee.default)(ce.default.mark(function ae(re,le){var ue,pe,Pe,be;return ce.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return ue=this._bucketRequestParams("GET",re,"cors",le),ue.successStatuses=[200],ue.xmlResponse=!0,Me.next=5,this.request(ue);case 5:return pe=Me.sent,Pe=[],pe.data&&pe.data.CORSRule&&(be=pe.data.CORSRule,xe(be)||(be=[be]),be.forEach(function(Oe){var Te={};Object.keys(Oe).forEach(function(je){Te[je.slice(0,1).toLowerCase()+je.slice(1,je.length)]=Oe[je]}),Pe.push(Te)})),Me.abrupt("return",{rules:Pe,res:pe.res});case 9:case"end":return Me.stop()}},ae,this)}));function ee(ae,re){return z.apply(this,arguments)}return ee}(),me.deleteBucketCORS=function(){var z=(0,Ee.default)(ce.default.mark(function ae(re,le){var ue,pe;return ce.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return ue=this._bucketRequestParams("DELETE",re,"cors",le),ue.successStatuses=[204],be.next=4,this.request(ue);case 4:return pe=be.sent,be.abrupt("return",{res:pe.res});case 6:case"end":return be.stop()}},ae,this)}));function ee(ae,re){return z.apply(this,arguments)}return ee}(),me.putBucketReferer=function(){var z=(0,Ee.default)(ce.default.mark(function ae(re,le,ue,pe){var Pe,be,Ie,Me;return ce.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:if(Pe=this._bucketRequestParams("PUT",re,"referer",pe),be=`<?xml version="1.0" encoding="UTF-8"?>
<RefererConfiguration>
`,be+=" <AllowEmptyReferer>".concat(le?"true":"false",`</AllowEmptyReferer>
`),ue&&ue.length>0){for(be+=` <RefererList>
`,Ie=0;Ie<ue.length;Ie++)be+=" <Referer>".concat(ue[Ie],`</Referer>
`);be+=` </RefererList>
`}else be+=` <RefererList />
`;return be+="</RefererConfiguration>",Pe.content=be,Pe.mime="xml",Pe.successStatuses=[200],Te.next=10,this.request(Pe);case 10:return Me=Te.sent,Te.abrupt("return",{res:Me.res});case 12:case"end":return Te.stop()}},ae,this)}));function ee(ae,re,le,ue){return z.apply(this,arguments)}return ee}(),me.getBucketReferer=function(){var z=(0,Ee.default)(ce.default.mark(function ae(re,le){var ue,pe,Pe;return ce.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return ue=this._bucketRequestParams("GET",re,"referer",le),ue.successStatuses=[200],ue.xmlResponse=!0,Ie.next=5,this.request(ue);case 5:return pe=Ie.sent,Pe=pe.data.RefererList.Referer||null,Pe&&(xe(Pe)||(Pe=[Pe])),Ie.abrupt("return",{allowEmpty:pe.data.AllowEmptyReferer==="true",referers:Pe,res:pe.res});case 9:case"end":return Ie.stop()}},ae,this)}));function ee(ae,re){return z.apply(this,arguments)}return ee}(),me.deleteBucketReferer=function(){var z=(0,Ee.default)(ce.default.mark(function ae(re,le){return ce.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return pe.next=2,this.putBucketReferer(re,!0,null,le);case 2:return pe.abrupt("return",pe.sent);case 3:case"end":return pe.stop()}},ae,this)}));function ee(ae,re){return z.apply(this,arguments)}return ee}(),me._bucketRequestParams=function(ee,ae,re,le){return{method:ee,bucket:ae,subres:re,timeout:le&&le.timeout,ctx:le&&le.ctx}}},{"../common/utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,assert:82,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],3:[function(oe,Ze,Ne){(function(ge,ce){(function(){"use strict";var Ee=oe("@babel/runtime/helpers/interopRequireDefault"),Ae=Ee(oe("@babel/runtime/regenerator")),ye=Ee(oe("@babel/runtime/helpers/asyncToGenerator"));oe("core-js/modules/es.function.name.js"),oe("core-js/modules/es.regexp.exec.js"),oe("core-js/modules/es.string.split.js"),oe("core-js/modules/es.object.assign.js"),oe("core-js/modules/es.array.includes.js"),oe("core-js/modules/es.string.replace.js"),oe("core-js/modules/es.array.concat.js"),oe("core-js/modules/es.symbol.js"),oe("core-js/modules/es.symbol.description.js"),oe("core-js/modules/es.array.slice.js"),oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/es.promise.js"),oe("core-js/modules/es.regexp.to-string.js");var De=oe("debug")("ali-oss"),me=oe("xml2js"),xe=oe("agentkeepalive"),fe=oe("merge-descriptors"),z=oe("platform"),ee=oe("utility"),ae=oe("urllib"),re=oe("./version"),le=oe("bowser"),ue=oe("../common/signUtils"),pe=oe("../common/client/initOptions"),Pe=oe("../common/utils/createRequest"),be=Pe.createRequest,Ie=oe("../common/utils/encoder"),Me=Ie.encoder,Oe=oe("../common/client/getReqUrl"),Te=Oe.getReqUrl,je=oe("../common/utils/setSTSToken"),ze=je.setSTSToken,$e=oe("../common/utils/retry"),Ue=$e.retry,qe=oe("../common/utils/isFunction"),et=qe.isFunction,lt=new xe;function ut(){var xt=z.name,ft=z.version;xt&&xt.toLowerCase&&xt.toLowerCase()==="ie"&&ft.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function vt(){return location&&location.protocol==="https:"}function tt(xt,ft){if(ut(),!(this instanceof tt))return new tt(xt,ft);xt&&xt.inited?this.options=xt:this.options=tt.initOptions(xt),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=ae,this.agent=this.options.agent||lt),this.ctx=ft,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}Ze.exports=tt,tt.initOptions=function(ft){ft.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var pt=Object.assign({secure:vt(),useFetch:!1},ft);return pe(pt)};var at=tt.prototype;at.debug=De,fe(at,oe("./object")),fe(at,oe("./bucket")),fe(at,oe("../common/bucket/getBucketWebsite")),fe(at,oe("../common/bucket/putBucketWebsite")),fe(at,oe("../common/bucket/deleteBucketWebsite")),fe(at,oe("../common/bucket/getBucketLifecycle")),fe(at,oe("../common/bucket/putBucketLifecycle")),fe(at,oe("../common/bucket/deleteBucketLifecycle")),fe(at,oe("../common/bucket/putBucketVersioning")),fe(at,oe("../common/bucket/getBucketVersioning")),fe(at,oe("../common/bucket/getBucketInventory")),fe(at,oe("../common/bucket/deleteBucketInventory")),fe(at,oe("../common/bucket/listBucketInventory")),fe(at,oe("../common/bucket/putBucketInventory")),fe(at,oe("../common/bucket/abortBucketWorm")),fe(at,oe("../common/bucket/completeBucketWorm")),fe(at,oe("../common/bucket/extendBucketWorm")),fe(at,oe("../common/bucket/getBucketWorm")),fe(at,oe("../common/bucket/initiateBucketWorm")),fe(at,oe("./managed-upload")),fe(at,oe("../common/multipart-copy")),fe(at,oe("../common/multipart")),fe(at,oe("../common/parallel")),at.signature=function(ft){return this.debug("authorization stringToSign: %s",ft,"info"),ue.computeSignature(this.options.accessKeySecret,ft,this.options.headerEncoding)},at._getReqUrl=Te,at.authorization=function(ft,pt,yt,Tt){var At=ue.buildCanonicalString(ft.toUpperCase(),pt,{headers:Tt,parameters:yt});return ue.authorization(this.options.accessKeyId,this.options.accessKeySecret,At,this.options.headerEncoding)},at.request=function(){var xt=(0,ye.default)(Ae.default.mark(function ft(pt){var yt=this;return Ae.default.wrap(function(At){for(;;)switch(At.prev=At.next){case 0:if(!this.options.retryMax){At.next=6;break}return At.next=3,Ue(dt.bind(this),this.options.retryMax,{errorHandler:function(wt){var bt=function(_e){if(pt.stream)return!1;var we=[-1,-2].includes(_e.status),Ce=yt.options.requestErrorRetryHandle||function(){return!0};return we&&Ce(_e)};return!!bt(wt)}})(pt);case 3:return At.abrupt("return",At.sent);case 6:return At.abrupt("return",dt.call(this,pt));case 7:case"end":return At.stop()}},ft,this)}));return function(ft){return xt.apply(this,arguments)}}();function dt(xt){return St.apply(this,arguments)}function St(){return St=(0,ye.default)(Ae.default.mark(function xt(ft){var pt,yt,Tt,At,Gt,wt;return Ae.default.wrap(function(it){for(;;)switch(it.prev=it.next){case 0:if(!(this.options.stsToken&&et(this.options.refreshSTSToken))){it.next=3;break}return it.next=3,ze.call(this);case 3:return pt=be.call(this,ft),this.options.useFetch||(pt.params.mode="disable-fetch"),At=!!ft.stream,it.prev=6,it.next=9,this.urllib.request(pt.url,pt.params);case 9:yt=it.sent,this.debug("response %s %s, got %s, headers: %j",ft.method,pt.url,yt.status,yt.headers,"info"),it.next=16;break;case 13:it.prev=13,it.t0=it.catch(6),Tt=it.t0;case 16:if(!(yt&&ft.successStatuses&&ft.successStatuses.indexOf(yt.status)===-1)){it.next=28;break}return it.next=19,this.requestError(yt);case 19:if(Gt=it.sent,!(Gt.code==="RequestTimeTooSkewed"&&!At)){it.next=25;break}return this.options.amendTimeSkewed=+new Date(Gt.serverTime)-new Date,it.next=24,this.request(ft);case 24:return it.abrupt("return",it.sent);case 25:Gt.params=ft,it.next=32;break;case 28:if(!Tt){it.next=32;break}return it.next=31,this.requestError(Tt);case 31:Gt=it.sent;case 32:if(!Gt){it.next=34;break}throw Gt;case 34:if(!ft.xmlResponse){it.next=39;break}return it.next=37,this.parseXML(yt.data);case 37:wt=it.sent,yt.data=wt;case 39:return it.abrupt("return",yt);case 40:case"end":return it.stop()}},xt,this,[[6,13]])})),St.apply(this,arguments)}at._getResource=function(ft){var pt="/";return ft.bucket&&(pt+="".concat(ft.bucket,"/")),ft.object&&(pt+=Me(ft.object,this.options.headerEncoding)),pt},at._escape=function(ft){return ee.encodeURIComponent(ft).replace(/%2F/g,"/")},at._getUserAgent=function(){var ft=ce&&ce.browser?"js":"nodejs",pt="aliyun-sdk-".concat(ft,"/").concat(re.version),yt=z.description;return!yt&&ce&&(yt="Node.js ".concat(ce.version.slice(1)," on ").concat(ce.platform," ").concat(ce.arch)),this._checkUserAgent("".concat(pt," ").concat(yt))},at._checkUserAgent=function(ft){var pt=ft.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return pt},at.checkBrowserAndVersion=function(ft,pt){return le.name===ft&&le.version.split(".")[0]===pt},at.parseXML=function(ft){return new Promise(function(pt,yt){ge.isBuffer(ft)&&(ft=ft.toString()),me.parseString(ft,{explicitRoot:!1,explicitArray:!1},function(Tt,At){Tt?yt(Tt):pt(At)})})},at.requestError=function(){var xt=(0,ye.default)(Ae.default.mark(function pt(yt){var Tt,At,Gt,wt;return Ae.default.wrap(function(it){for(;;)switch(it.prev=it.next){case 0:if(Tt=null,!(!yt.data||!yt.data.length)){it.next=5;break}yt.status===-1||yt.status===-2?(Tt=new Error(yt.message),Tt.name=yt.name,Tt.status=yt.status,Tt.code=yt.name):(yt.status===404?(Tt=new Error("Object not exists"),Tt.name="NoSuchKeyError",Tt.status=404,Tt.code="NoSuchKey"):yt.status===412?(Tt=new Error("Pre condition failed"),Tt.name="PreconditionFailedError",Tt.status=412,Tt.code="PreconditionFailed"):(Tt=new Error("Unknow error, status: ".concat(yt.status)),Tt.name="UnknownError",Tt.status=yt.status),Tt.requestId=yt.headers["x-oss-request-id"],Tt.host=""),it.next=32;break;case 5:return At=String(yt.data),this.debug("request response error data: %s",At,"error"),it.prev=7,it.next=10,this.parseXML(At);case 10:if(it.t0=it.sent,it.t0){it.next=13;break}it.t0={};case 13:Gt=it.t0,it.next=23;break;case 16:return it.prev=16,it.t1=it.catch(7),this.debug(At,"error"),it.t1.message+=`
raw xml: `.concat(At),it.t1.status=yt.status,it.t1.requestId=yt.headers["x-oss-request-id"],it.abrupt("return",it.t1);case 23:wt=Gt.Message||"unknow request error, status: ".concat(yt.status),Gt.Condition&&(wt+=" (condition: ".concat(Gt.Condition,")")),Tt=new Error(wt),Tt.name=Gt.Code?"".concat(Gt.Code,"Error"):"UnknownError",Tt.status=yt.status,Tt.code=Gt.Code,Tt.requestId=Gt.RequestId,Tt.hostId=Gt.HostId,Tt.serverTime=Gt.ServerTime;case 32:return this.debug("generate error %j",Tt,"error"),it.abrupt("return",Tt);case 34:case"end":return it.stop()}},pt,this,[[7,16]])}));function ft(pt){return xt.apply(this,arguments)}return ft}()}).call(this)}).call(this,{isBuffer:oe("../../node_modules/is-buffer/index.js")},oe("_process"))},{"../../node_modules/is-buffer/index.js":366,"../common/bucket/abortBucketWorm":7,"../common/bucket/completeBucketWorm":8,"../common/bucket/deleteBucketInventory":9,"../common/bucket/deleteBucketLifecycle":10,"../common/bucket/deleteBucketWebsite":11,"../common/bucket/extendBucketWorm":12,"../common/bucket/getBucketInventory":13,"../common/bucket/getBucketLifecycle":14,"../common/bucket/getBucketVersioning":15,"../common/bucket/getBucketWebsite":16,"../common/bucket/getBucketWorm":17,"../common/bucket/initiateBucketWorm":18,"../common/bucket/listBucketInventory":19,"../common/bucket/putBucketInventory":20,"../common/bucket/putBucketLifecycle":21,"../common/bucket/putBucketVersioning":22,"../common/bucket/putBucketWebsite":23,"../common/client/getReqUrl":25,"../common/client/initOptions":26,"../common/multipart":30,"../common/multipart-copy":29,"../common/parallel":49,"../common/signUtils":50,"../common/utils/createRequest":56,"../common/utils/encoder":59,"../common/utils/isFunction":68,"../common/utils/retry":74,"../common/utils/setSTSToken":76,"./bucket":2,"./managed-upload":4,"./object":5,"./version":6,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,agentkeepalive:81,bowser:88,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.split.js":307,"core-js/modules/es.symbol.description.js":310,"core-js/modules/es.symbol.js":313,debug:465,"merge-descriptors":372,platform:379,urllib:475,utility:474,xml2js:426}],4:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";var ce=oe("@babel/runtime/helpers/interopRequireDefault"),Ee=ce(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.function.name.js"),oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/es.promise.js"),oe("core-js/modules/es.array.from.js"),oe("core-js/modules/es.string.iterator.js"),oe("core-js/modules/es.array.map.js"),oe("core-js/modules/es.array.filter.js"),oe("core-js/modules/es.array.find.js"),oe("core-js/modules/es.array.concat.js"),oe("core-js/modules/es.regexp.to-string.js"),oe("core-js/modules/es.array.slice.js"),oe("core-js/modules/es.array.iterator.js"),oe("core-js/modules/es.array-buffer.slice.js"),oe("core-js/modules/es.typed-array.uint8-array.js"),oe("core-js/modules/es.typed-array.copy-within.js"),oe("core-js/modules/es.typed-array.every.js"),oe("core-js/modules/es.typed-array.fill.js"),oe("core-js/modules/es.typed-array.filter.js"),oe("core-js/modules/es.typed-array.find.js"),oe("core-js/modules/es.typed-array.find-index.js"),oe("core-js/modules/es.typed-array.for-each.js"),oe("core-js/modules/es.typed-array.includes.js"),oe("core-js/modules/es.typed-array.index-of.js"),oe("core-js/modules/es.typed-array.iterator.js"),oe("core-js/modules/es.typed-array.join.js"),oe("core-js/modules/es.typed-array.last-index-of.js"),oe("core-js/modules/es.typed-array.map.js"),oe("core-js/modules/es.typed-array.reduce.js"),oe("core-js/modules/es.typed-array.reduce-right.js"),oe("core-js/modules/es.typed-array.reverse.js"),oe("core-js/modules/es.typed-array.set.js"),oe("core-js/modules/es.typed-array.slice.js"),oe("core-js/modules/es.typed-array.some.js"),oe("core-js/modules/es.typed-array.sort.js"),oe("core-js/modules/es.typed-array.subarray.js"),oe("core-js/modules/es.typed-array.to-locale-string.js"),oe("core-js/modules/es.typed-array.to-string.js");var Ae=ce(oe("@babel/runtime/helpers/asyncToGenerator")),ye=oe("util"),De=oe("path"),me=oe("mime"),xe=oe("copy-to"),fe=oe("../common/utils/isBlob"),z=fe.isBlob,ee=oe("../common/utils/isFile"),ae=ee.isFile,re=oe("../common/utils/isBuffer"),le=re.isBuffer,ue=Ne;ue.multipartUpload=function(){var Me=(0,Ae.default)(Ee.default.mark(function Te(je,ze){var $e,Ue,qe,et,lt,ut,vt,tt,at,dt=arguments;return Ee.default.wrap(function(xt){for(;;)switch(xt.prev=xt.next){case 0:if($e=dt.length>2&&dt[2]!==void 0?dt[2]:{},this.resetCancelFlag(),$e.disabledMD5=$e.disabledMD5===void 0?!0:!!$e.disabledMD5,!($e.checkpoint&&$e.checkpoint.uploadId)){xt.next=8;break}return ze&&ae(ze)&&($e.checkpoint.file=ze),xt.next=7,this._resumeMultipart($e.checkpoint,$e);case 7:return xt.abrupt("return",xt.sent);case 8:return Ue=102400,$e.mime||(ae(ze)?$e.mime=me.getType(De.extname(ze.name)):z(ze)?$e.mime=ze.type:le(ze)?$e.mime="":$e.mime=me.getType(De.extname(ze))),$e.headers=$e.headers||{},this._convertMetaToHeaders($e.meta,$e.headers),xt.next=14,this._getFileSize(ze);case 14:if(qe=xt.sent,!(qe<Ue)){xt.next=26;break}return $e.contentLength=qe,xt.next=19,this.put(je,ze,$e);case 19:if(et=xt.sent,!($e&&$e.progress)){xt.next=23;break}return xt.next=23,$e.progress(1);case 23:return lt={res:et.res,bucket:this.options.bucket,name:je,etag:et.res.headers.etag},($e.headers&&$e.headers["x-oss-callback"]||$e.callback)&&(lt.data=et.data),xt.abrupt("return",lt);case 26:if(!($e.partSize&&parseInt($e.partSize,10)!==$e.partSize)){xt.next=28;break}throw new Error("partSize must be int number");case 28:if(!($e.partSize&&$e.partSize<Ue)){xt.next=30;break}throw new Error("partSize must not be smaller than ".concat(Ue));case 30:return xt.next=32,this.initMultipartUpload(je,$e);case 32:if(ut=xt.sent,vt=ut.uploadId,tt=this._getPartSize(qe,$e.partSize),at={file:ze,name:je,fileSize:qe,partSize:tt,uploadId:vt,doneParts:[]},!($e&&$e.progress)){xt.next=39;break}return xt.next=39,$e.progress(0,at,ut.res);case 39:return xt.next=41,this._resumeMultipart(at,$e);case 41:return xt.abrupt("return",xt.sent);case 42:case"end":return xt.stop()}},Te,this)}));function Oe(Te,je){return Me.apply(this,arguments)}return Oe}(),ue._resumeMultipart=function(){var Me=(0,Ae.default)(Ee.default.mark(function Te(je,ze){var $e,Ue,qe,et,lt,ut,vt,tt,at,dt,St,xt,ft,pt,yt,Tt,At,Gt,wt;return Ee.default.wrap(function(it){for(;;)switch(it.prev=it.next){case 0:if($e=this,!this.isCancel()){it.next=3;break}throw this._makeCancelEvent();case 3:return Ue=je.file,qe=je.fileSize,et=je.partSize,lt=je.uploadId,ut=je.doneParts,vt=je.name,tt=[],ut.length>0&&xe(ut).to(tt),at=this._divideParts(qe,et),dt=at.length,St=!1,xt=function(we,Ce){return new Promise(function(){var Ye=(0,Ae.default)(Ee.default.mark(function Je(Le,Ge){var Ke,Xe,Qe,ht,Et;return Ee.default.wrap(function(Ft){for(;;)switch(Ft.prev=Ft.next){case 0:if(Ft.prev=0,we.isCancel()){Ft.next=29;break}return Ke=at[Ce-1],Ft.next=5,we._createBuffer(Ue,Ke.start,Ke.end);case 5:return Xe=Ft.sent,Qe={content:Xe,size:Ke.end-Ke.start},Ft.prev=7,Ft.next=10,we._uploadPart(vt,lt,Ce,Qe,ze);case 10:ht=Ft.sent,Ft.next=18;break;case 13:if(Ft.prev=13,Ft.t0=Ft.catch(7),Ft.t0.status!==404){Ft.next=17;break}throw we._makeAbortEvent();case 17:throw Ft.t0;case 18:if(!(!we.isCancel()&&!St)){Ft.next=26;break}if(je.doneParts.push({number:Ce,etag:ht.res.headers.etag}),!ze.progress){Ft.next=23;break}return Ft.next=23,ze.progress(ut.length/(dt+1),je,ht.res);case 23:Le({number:Ce,etag:ht.res.headers.etag}),Ft.next=27;break;case 26:Le();case 27:Ft.next=30;break;case 29:Le();case 30:Ft.next=41;break;case 32:Ft.prev=32,Ft.t1=Ft.catch(0),Et=new Error,Et.name=Ft.t1.name,Et.message=Ft.t1.message,Et.stack=Ft.t1.stack,Et.partNum=Ce,xe(Ft.t1).to(Et),Ge(Et);case 41:case"end":return Ft.stop()}},Je,null,[[0,32],[7,13]])}));return function(Je,Le){return Ye.apply(this,arguments)}}())},ft=Array.from(new Array(dt),function(_e,we){return we+1}),pt=tt.map(function(_e){return _e.number}),yt=ft.filter(function(_e){return pt.indexOf(_e)<0}),Tt=5,At=ze.parallel||Tt,it.next=17,this._parallel(yt,At,function(_e){return new Promise(function(we,Ce){xt($e,_e).then(function(Ye){Ye&&tt.push(Ye),we()}).catch(function(Ye){Ce(Ye)})})});case 17:if(Gt=it.sent,St=!0,wt=Gt.find(function(_e){return _e.name==="abort"}),!wt){it.next=22;break}throw wt;case 22:if(!this.isCancel()){it.next=25;break}throw xt=null,this._makeCancelEvent();case 25:if(!(Gt&&Gt.length>0)){it.next=28;break}throw Gt[0].message="Failed to upload some parts with error: ".concat(Gt[0].toString()," part_num: ").concat(Gt[0].partNum),Gt[0];case 28:return it.next=30,this.completeMultipartUpload(vt,lt,tt,ze);case 30:return it.abrupt("return",it.sent);case 31:case"end":return it.stop()}},Te,this)}));function Oe(Te,je){return Me.apply(this,arguments)}return Oe}(),ue._getFileSize=function(){var Me=(0,Ae.default)(Ee.default.mark(function Te(je){return Ee.default.wrap(function($e){for(;;)switch($e.prev=$e.next){case 0:if(!le(je)){$e.next=4;break}return $e.abrupt("return",je.length);case 4:if(!(z(je)||ae(je))){$e.next=6;break}return $e.abrupt("return",je.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return $e.stop()}},Te)}));function Oe(Te){return Me.apply(this,arguments)}return Oe}();var pe=oe("stream"),Pe=pe.Readable;function be(Me,Oe){if(!(this instanceof be))return new be(Me,Oe);Pe.call(this,Oe),this.file=Me,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}ye.inherits(be,Pe),be.prototype.readFileAndPush=function(Oe){if(this.fileBuffer)for(var Te=!0;Te&&this.fileBuffer&&this.start<this.fileBuffer.length;){var je=this.start,ze=je+Oe;ze=ze>this.fileBuffer.length?this.fileBuffer.length:ze,this.start=ze,Te=this.push(this.fileBuffer.slice(je,ze))}},be.prototype._read=function(Oe){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var Te=16*1024;Oe=Oe||Te;var je=this;this.reader.onload=function($e){je.fileBuffer=ge.from(new Uint8Array($e.target.result)),je.file=null,je.readFileAndPush(Oe)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(Oe)};function Ie(Me){return Me.arrayBuffer?Me.arrayBuffer():new Promise(function(Oe,Te){var je=new FileReader;je.onload=function(ze){Oe(ze.target.result)},je.onerror=function(ze){Te(ze)},je.readAsArrayBuffer(Me)})}ue._createBuffer=function(){var Me=(0,Ae.default)(Ee.default.mark(function Te(je,ze,$e){var Ue,qe;return Ee.default.wrap(function(lt){for(;;)switch(lt.prev=lt.next){case 0:if(!(z(je)||ae(je))){lt.next=8;break}return Ue=je.slice(ze,$e),lt.next=4,Ie(Ue);case 4:return qe=lt.sent,lt.abrupt("return",ge.from(qe));case 8:if(!le(je)){lt.next=12;break}return lt.abrupt("return",je.subarray(ze,$e));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return lt.stop()}},Te)}));function Oe(Te,je,ze){return Me.apply(this,arguments)}return Oe}(),ue._getPartSize=function(Oe,Te){var je=1e4,ze=1*1024*1024;Te||(Te=ze);var $e=Math.ceil(Oe/je);return Te<$e&&(Te=$e,console.warn("partSize has been set to ".concat(Te,", because the partSize you provided causes partNumber to be greater than 10,000"))),Te},ue._divideParts=function(Oe,Te){for(var je=Math.ceil(Oe/Te),ze=[],$e=0;$e<je;$e++){var Ue=Te*$e,qe=Math.min(Ue+Te,Oe);ze.push({start:Ue,end:qe})}return ze}}).call(this)}).call(this,oe("buffer").Buffer)},{"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,buffer:90,"copy-to":94,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.iterator.js":303,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,mime:374,path:378,stream:398,util:419}],5:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault");oe("core-js/modules/es.function.name.js"),oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/es.regexp.to-string.js"),oe("core-js/modules/es.array.map.js"),oe("core-js/modules/es.number.constructor.js"),oe("core-js/modules/es.object.assign.js"),oe("core-js/modules/es.regexp.exec.js"),oe("core-js/modules/es.string.replace.js"),oe("core-js/modules/web.dom-collections.for-each.js"),oe("core-js/modules/es.object.keys.js"),oe("core-js/modules/es.promise.js");var ce=ge(oe("@babel/runtime/regenerator")),Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=oe("fs"),ye=oe("copy-to"),De=oe("path"),me=oe("mime"),xe=oe("../common/callback"),fe=oe("merge-descriptors"),z=oe("../common/utils/isBlob"),ee=z.isBlob,ae=oe("../common/utils/isFile"),re=ae.isFile,le=oe("../common/utils/isBuffer"),ue=le.isBuffer,pe=oe("../common/utils/obj2xml"),Pe=pe.obj2xml,be=Ne;be.append=function(){var Ie=(0,Ee.default)(ce.default.mark(function Oe(Te,je,ze){var $e;return ce.default.wrap(function(qe){for(;;)switch(qe.prev=qe.next){case 0:return ze=ze||{},ze.position===void 0&&(ze.position="0"),ze.subres={append:"",position:ze.position},ze.method="POST",qe.next=6,this.put(Te,je,ze);case 6:return $e=qe.sent,$e.nextAppendPosition=$e.res.headers["x-oss-next-append-position"],qe.abrupt("return",$e);case 9:case"end":return qe.stop()}},Oe,this)}));function Me(Oe,Te,je){return Ie.apply(this,arguments)}return Me}(),be.put=function(){var Ie=(0,Ee.default)(ce.default.mark(function Oe(Te,je,ze){var $e,Ue,qe,et,lt;return ce.default.wrap(function(vt){for(;;)switch(vt.prev=vt.next){case 0:if(ze=ze||{},ze.disabledMD5=ze.disabledMD5===void 0?!0:!!ze.disabledMD5,ze.headers=ze.headers||{},Te=this._objectName(Te),!ue(je)){vt.next=8;break}$e=je,vt.next=19;break;case 8:if(!(ee(je)||re(je))){vt.next=18;break}return ze.mime||(re(je)?ze.mime=me.getType(De.extname(je.name)):ze.mime=je.type),vt.next=12,this._createBuffer(je,0,je.size);case 12:return $e=vt.sent,vt.next=15,this._getFileSize(je);case 15:ze.contentLength=vt.sent,vt.next=19;break;case 18:throw new TypeError("Must provide Buffer/Blob/File for put.");case 19:return this._convertMetaToHeaders(ze.meta,ze.headers),Ue=ze.method||"PUT",qe=this._objectRequestParams(Ue,Te,ze),xe.encodeCallback(qe,ze),qe.mime=ze.mime,qe.disabledMD5=ze.disabledMD5,qe.content=$e,qe.successStatuses=[200],vt.next=29,this.request(qe);case 29:return et=vt.sent,lt={name:Te,url:this._objectUrl(Te),res:et.res},qe.headers&&qe.headers["x-oss-callback"]&&(lt.data=JSON.parse(et.data.toString())),vt.abrupt("return",lt);case 33:case"end":return vt.stop()}},Oe,this)}));function Me(Oe,Te,je){return Ie.apply(this,arguments)}return Me}(),be.putStream=function(){var Ie=(0,Ee.default)(ce.default.mark(function Oe(Te,je,ze){var $e,Ue,qe,et;return ce.default.wrap(function(ut){for(;;)switch(ut.prev=ut.next){case 0:return ze=ze||{},ze.headers=ze.headers||{},Te=this._objectName(Te),ze.contentLength?ze.headers["Content-Length"]=ze.contentLength:ze.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(ze.meta,ze.headers),$e=ze.method||"PUT",Ue=this._objectRequestParams($e,Te,ze),xe.encodeCallback(Ue,ze),Ue.mime=ze.mime,Ue.stream=je,Ue.successStatuses=[200],ut.next=13,this.request(Ue);case 13:return qe=ut.sent,et={name:Te,url:this._objectUrl(Te),res:qe.res},Ue.headers&&Ue.headers["x-oss-callback"]&&(et.data=JSON.parse(qe.data.toString())),ut.abrupt("return",et);case 17:case"end":return ut.stop()}},Oe,this)}));function Me(Oe,Te,je){return Ie.apply(this,arguments)}return Me}(),fe(be,oe("../common/object/copyObject")),fe(be,oe("../common/object/getObjectTagging")),fe(be,oe("../common/object/putObjectTagging")),fe(be,oe("../common/object/deleteObjectTagging")),fe(be,oe("../common/image")),fe(be,oe("../common/object/getBucketVersions")),fe(be,oe("../common/object/getACL")),fe(be,oe("../common/object/putACL")),fe(be,oe("../common/object/head")),fe(be,oe("../common/object/delete")),fe(be,oe("../common/object/get")),fe(be,oe("../common/object/putSymlink")),fe(be,oe("../common/object/getSymlink")),fe(be,oe("../common/object/deleteMulti")),fe(be,oe("../common/object/getObjectMeta")),fe(be,oe("../common/object/getObjectUrl")),fe(be,oe("../common/object/generateObjectUrl")),fe(be,oe("../common/object/signatureUrl")),fe(be,oe("../common/object/asyncSignatureUrl")),be.putMeta=function(){var Ie=(0,Ee.default)(ce.default.mark(function Oe(Te,je,ze){var $e;return ce.default.wrap(function(qe){for(;;)switch(qe.prev=qe.next){case 0:return qe.next=2,this.copy(Te,Te,{meta:je||{},timeout:ze&&ze.timeout,ctx:ze&&ze.ctx});case 2:return $e=qe.sent,qe.abrupt("return",$e);case 4:case"end":return qe.stop()}},Oe,this)}));function Me(Oe,Te,je){return Ie.apply(this,arguments)}return Me}(),be.list=function(){var Ie=(0,Ee.default)(ce.default.mark(function Oe(Te,je){var ze,$e,Ue,qe,et;return ce.default.wrap(function(ut){for(;;)switch(ut.prev=ut.next){case 0:return ze=this._objectRequestParams("GET","",je),ze.query=Te,ze.xmlResponse=!0,ze.successStatuses=[200],ut.next=6,this.request(ze);case 6:return $e=ut.sent,Ue=$e.data.Contents||[],qe=this,Ue&&(Array.isArray(Ue)||(Ue=[Ue]),Ue=Ue.map(function(vt){return{name:vt.Key,url:qe._objectUrl(vt.Key),lastModified:vt.LastModified,etag:vt.ETag,type:vt.Type,size:Number(vt.Size),storageClass:vt.StorageClass,owner:{id:vt.Owner.ID,displayName:vt.Owner.DisplayName}}})),et=$e.data.CommonPrefixes||null,et&&(Array.isArray(et)||(et=[et]),et=et.map(function(vt){return vt.Prefix})),ut.abrupt("return",{res:$e.res,objects:Ue,prefixes:et,nextMarker:$e.data.NextMarker||null,isTruncated:$e.data.IsTruncated==="true"});case 13:case"end":return ut.stop()}},Oe,this)}));function Me(Oe,Te){return Ie.apply(this,arguments)}return Me}(),be.listV2=function(){var Ie=(0,Ee.default)(ce.default.mark(function Oe(Te){var je,ze,$e,Ue,qe,et,lt,ut=arguments;return ce.default.wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:return je=ut.length>1&&ut[1]!==void 0?ut[1]:{},ze=Te["continuation-token"]||Te.continuationToken,ze&&(je.subres=Object.assign({"continuation-token":ze},je.subres)),$e=this._objectRequestParams("GET","",je),$e.query=Object.assign({"list-type":2},Te),delete $e.query["continuation-token"],delete $e.query.continuationToken,$e.xmlResponse=!0,$e.successStatuses=[200],tt.next=11,this.request($e);case 11:return Ue=tt.sent,qe=Ue.data.Contents||[],et=this,qe&&(Array.isArray(qe)||(qe=[qe]),qe=qe.map(function(at){var dt=null;return at.Owner&&(dt={id:at.Owner.ID,displayName:at.Owner.DisplayName}),{name:at.Key,url:et._objectUrl(at.Key),lastModified:at.LastModified,etag:at.ETag,type:at.Type,size:Number(at.Size),storageClass:at.StorageClass,owner:dt}})),lt=Ue.data.CommonPrefixes||null,lt&&(Array.isArray(lt)||(lt=[lt]),lt=lt.map(function(at){return at.Prefix})),tt.abrupt("return",{res:Ue.res,objects:qe,prefixes:lt,isTruncated:Ue.data.IsTruncated==="true",keyCount:+Ue.data.KeyCount,continuationToken:Ue.data.ContinuationToken||null,nextContinuationToken:Ue.data.NextContinuationToken||null});case 18:case"end":return tt.stop()}},Oe,this)}));function Me(Oe){return Ie.apply(this,arguments)}return Me}(),be.restore=function(){var Ie=(0,Ee.default)(ce.default.mark(function Oe(Te){var je,ze,$e,Ue,qe=arguments;return ce.default.wrap(function(lt){for(;;)switch(lt.prev=lt.next){case 0:return je=qe.length>1&&qe[1]!==void 0?qe[1]:{type:"Archive"},je=je||{},je.subres=Object.assign({restore:""},je.subres),je.versionId&&(je.subres.versionId=je.versionId),ze=this._objectRequestParams("POST",Te,je),je.type==="ColdArchive"&&($e={RestoreRequest:{Days:je.Days?je.Days:2,JobParameters:{Tier:je.JobParameters?je.JobParameters:"Standard"}}},ze.content=Pe($e,{headers:!0}),ze.mime="xml"),ze.successStatuses=[202],lt.next=9,this.request(ze);case 9:return Ue=lt.sent,lt.abrupt("return",{res:Ue.res});case 11:case"end":return lt.stop()}},Oe,this)}));function Me(Oe){return Ie.apply(this,arguments)}return Me}(),be._objectUrl=function(Me){return this._getReqUrl({bucket:this.options.bucket,object:Me})},be._objectRequestParams=function(Me,Oe,Te){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");Te=Te||{},Oe=this._objectName(Oe);var je={object:Oe,bucket:this.options.bucket,method:Me,subres:Te&&Te.subres,timeout:Te&&Te.timeout,ctx:Te&&Te.ctx};return Te.headers&&(je.headers={},ye(Te.headers).to(je.headers)),je},be._objectName=function(Me){return Me.replace(/^\/+/,"")},be._convertMetaToHeaders=function(Me,Oe){Me&&Object.keys(Me).forEach(function(Te){Oe["x-oss-meta-".concat(Te)]=Me[Te]})},be._deleteFileSafe=function(Me){var Oe=this;return new Promise(function(Te){Ae.exists(Me,function(je){je?Ae.unlink(Me,function(ze){ze&&Oe.debug("unlink %j error: %s",Me,ze,"error"),Te()}):Te()})})}},{"../common/callback":24,"../common/image":27,"../common/object/asyncSignatureUrl":31,"../common/object/copyObject":32,"../common/object/delete":33,"../common/object/deleteMulti":34,"../common/object/deleteObjectTagging":35,"../common/object/generateObjectUrl":36,"../common/object/get":37,"../common/object/getACL":38,"../common/object/getBucketVersions":39,"../common/object/getObjectMeta":40,"../common/object/getObjectTagging":41,"../common/object/getObjectUrl":42,"../common/object/getSymlink":43,"../common/object/head":44,"../common/object/putACL":45,"../common/object/putObjectTagging":46,"../common/object/putSymlink":47,"../common/object/signatureUrl":48,"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"../common/utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,fs:89,"merge-descriptors":372,mime:374,path:378}],6:[function(oe,Ze,Ne){"use strict";Ne.version="6.18.1"},{}],7:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator")),Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.abortBucketWorm=void 0;var Ae=oe("../utils/checkBucketName");function ye(me,xe){return De.apply(this,arguments)}function De(){return De=(0,Ee.default)(ce.default.mark(function me(xe,fe){var z,ee;return ce.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return Ae.checkBucketName(xe),z=this._bucketRequestParams("DELETE",xe,"worm",fe),re.next=4,this.request(z);case 4:return ee=re.sent,re.abrupt("return",{res:ee.res,status:ee.status});case 6:case"end":return re.stop()}},me,this)})),De.apply(this,arguments)}Ne.abortBucketWorm=ye},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator")),Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.completeBucketWorm=void 0;var Ae=oe("../utils/checkBucketName");function ye(me,xe,fe){return De.apply(this,arguments)}function De(){return De=(0,Ee.default)(ce.default.mark(function me(xe,fe,z){var ee,ae;return ce.default.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return Ae.checkBucketName(xe),ee=this._bucketRequestParams("POST",xe,{wormId:fe},z),le.next=4,this.request(ee);case 4:return ae=le.sent,le.abrupt("return",{res:ae.res,status:ae.status});case 6:case"end":return le.stop()}},me,this)})),De.apply(this,arguments)}Ne.completeBucketWorm=ye},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.object.assign.js");var Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.deleteBucketInventory=void 0;var Ae=oe("../utils/checkBucketName");function ye(me,xe){return De.apply(this,arguments)}function De(){return De=(0,Ee.default)(ce.default.mark(function me(xe,fe){var z,ee,ae,re,le=arguments;return ce.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return z=le.length>2&&le[2]!==void 0?le[2]:{},ee=Object.assign({inventory:"",inventoryId:fe},z.subres),Ae.checkBucketName(xe),ae=this._bucketRequestParams("DELETE",xe,ee,z),ae.successStatuses=[204],pe.next=7,this.request(ae);case 7:return re=pe.sent,pe.abrupt("return",{status:re.status,res:re.res});case 9:case"end":return pe.stop()}},me,this)})),De.apply(this,arguments)}Ne.deleteBucketInventory=ye},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],10:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator")),Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=oe("../utils/checkBucketName"),ye=Ae.checkBucketName,De=Ne;De.deleteBucketLifecycle=function(){var me=(0,Ee.default)(ce.default.mark(function fe(z,ee){var ae,re;return ce.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ye(z),ae=this._bucketRequestParams("DELETE",z,"lifecycle",ee),ae.successStatuses=[204],ue.next=5,this.request(ae);case 5:return re=ue.sent,ue.abrupt("return",{res:re.res});case 7:case"end":return ue.stop()}},fe,this)}));function xe(fe,z){return me.apply(this,arguments)}return xe}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],11:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator")),Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=oe("../utils/checkBucketName"),ye=Ae.checkBucketName,De=Ne;De.deleteBucketWebsite=function(){var me=(0,Ee.default)(ce.default.mark(function fe(z,ee){var ae,re;return ce.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ye(z),ae=this._bucketRequestParams("DELETE",z,"website",ee),ae.successStatuses=[204],ue.next=5,this.request(ae);case 5:return re=ue.sent,ue.abrupt("return",{res:re.res});case 7:case"end":return ue.stop()}},fe,this)}));function xe(fe,z){return me.apply(this,arguments)}return xe}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],12:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator")),Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.extendBucketWorm=void 0;var Ae=oe("../utils/checkBucketName"),ye=oe("../utils/obj2xml");function De(xe,fe,z,ee){return me.apply(this,arguments)}function me(){return me=(0,Ee.default)(ce.default.mark(function xe(fe,z,ee,ae){var re,le,ue;return ce.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return Ae.checkBucketName(fe),re=this._bucketRequestParams("POST",fe,{wormExtend:"",wormId:z},ae),le={ExtendWormConfiguration:{RetentionPeriodInDays:ee}},re.mime="xml",re.content=ye.obj2xml(le,{headers:!0}),re.successStatuses=[200],Pe.next=8,this.request(re);case 8:return ue=Pe.sent,Pe.abrupt("return",{res:ue.res,status:ue.status});case 10:case"end":return Pe.stop()}},xe,this)})),me.apply(this,arguments)}Ne.extendBucketWorm=De},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],13:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.object.assign.js");var Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.getBucketInventory=void 0;var Ae=oe("../utils/checkBucketName"),ye=oe("../utils/formatInventoryConfig");function De(xe,fe){return me.apply(this,arguments)}function me(){return me=(0,Ee.default)(ce.default.mark(function xe(fe,z){var ee,ae,re,le,ue=arguments;return ce.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return ee=ue.length>2&&ue[2]!==void 0?ue[2]:{},ae=Object.assign({inventory:"",inventoryId:z},ee.subres),Ae.checkBucketName(fe),re=this._bucketRequestParams("GET",fe,ae,ee),re.successStatuses=[200],re.xmlResponse=!0,Pe.next=8,this.request(re);case 8:return le=Pe.sent,Pe.abrupt("return",{status:le.status,res:le.res,inventory:ye.formatInventoryConfig(le.data)});case 10:case"end":return Pe.stop()}},xe,this)})),me.apply(this,arguments)}Ne.getBucketInventory=De},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],14:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.array.map.js");var Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=oe("../utils/checkBucketName"),ye=Ae.checkBucketName,De=oe("../utils/isArray"),me=De.isArray,xe=oe("../utils/formatObjKey"),fe=xe.formatObjKey,z=Ne;z.getBucketLifecycle=function(){var ee=(0,Ee.default)(ce.default.mark(function re(le,ue){var pe,Pe,be;return ce.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return ye(le),pe=this._bucketRequestParams("GET",le,"lifecycle",ue),pe.successStatuses=[200],pe.xmlResponse=!0,Me.next=6,this.request(pe);case 6:return Pe=Me.sent,be=Pe.data.Rule||null,be&&(me(be)||(be=[be]),be=be.map(function(Oe){return Oe.ID&&(Oe.id=Oe.ID,delete Oe.ID),Oe.Tag&&!me(Oe.Tag)&&(Oe.Tag=[Oe.Tag]),fe(Oe,"firstLowerCase")})),Me.abrupt("return",{rules:be,res:Pe.res});case 10:case"end":return Me.stop()}},re,this)}));function ae(re,le){return ee.apply(this,arguments)}return ae}()},{"../utils/checkBucketName":51,"../utils/formatObjKey":61,"../utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280}],15:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator")),Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=oe("../utils/checkBucketName"),ye=Ae.checkBucketName,De=Ne;De.getBucketVersioning=function(){var me=(0,Ee.default)(ce.default.mark(function fe(z,ee){var ae,re,le;return ce.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return ye(z),ae=this._bucketRequestParams("GET",z,"versioning",ee),ae.xmlResponse=!0,ae.successStatuses=[200],pe.next=6,this.request(ae);case 6:return re=pe.sent,le=re.data.Status,pe.abrupt("return",{status:re.status,versionStatus:le,res:re.res});case 9:case"end":return pe.stop()}},fe,this)}));function xe(fe,z){return me.apply(this,arguments)}return xe}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],16:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator")),Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=oe("../utils/checkBucketName"),ye=Ae.checkBucketName,De=oe("../utils/isObject"),me=De.isObject,xe=Ne;xe.getBucketWebsite=function(){var fe=(0,Ee.default)(ce.default.mark(function ee(ae,re){var le,ue,pe;return ce.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return ye(ae),le=this._bucketRequestParams("GET",ae,"website",re),le.successStatuses=[200],le.xmlResponse=!0,be.next=6,this.request(le);case 6:return ue=be.sent,pe=[],ue.data.RoutingRules&&ue.data.RoutingRules.RoutingRule&&(me(ue.data.RoutingRules.RoutingRule)?pe=[ue.data.RoutingRules.RoutingRule]:pe=ue.data.RoutingRules.RoutingRule),be.abrupt("return",{index:ue.data.IndexDocument&&ue.data.IndexDocument.Suffix||"",supportSubDir:ue.data.IndexDocument&&ue.data.IndexDocument.SupportSubDir||"false",type:ue.data.IndexDocument&&ue.data.IndexDocument.Type,routingRules:pe,error:ue.data.ErrorDocument&&ue.data.ErrorDocument.Key||null,res:ue.res});case 10:case"end":return be.stop()}},ee,this)}));function z(ee,ae){return fe.apply(this,arguments)}return z}()},{"../utils/checkBucketName":51,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],17:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.object.assign.js");var Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.getBucketWorm=void 0;var Ae=oe("../utils/checkBucketName"),ye=oe("../utils/dataFix");function De(xe,fe){return me.apply(this,arguments)}function me(){return me=(0,Ee.default)(ce.default.mark(function xe(fe,z){var ee,ae;return ce.default.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return Ae.checkBucketName(fe),ee=this._bucketRequestParams("GET",fe,"worm",z),ee.successStatuses=[200],ee.xmlResponse=!0,le.next=6,this.request(ee);case 6:return ae=le.sent,ye.dataFix(ae.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),le.abrupt("return",Object.assign(Object.assign({},ae.data),{res:ae.res,status:ae.status}));case 9:case"end":return le.stop()}},xe,this)})),me.apply(this,arguments)}Ne.getBucketWorm=De},{"../utils/checkBucketName":51,"../utils/dataFix":57,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],18:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator")),Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.initiateBucketWorm=void 0;var Ae=oe("../utils/obj2xml"),ye=oe("../utils/checkBucketName");function De(xe,fe,z){return me.apply(this,arguments)}function me(){return me=(0,Ee.default)(ce.default.mark(function xe(fe,z,ee){var ae,re,le;return ce.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return ye.checkBucketName(fe),ae=this._bucketRequestParams("POST",fe,"worm",ee),re={InitiateWormConfiguration:{RetentionPeriodInDays:z}},ae.mime="xml",ae.content=Ae.obj2xml(re,{headers:!0}),ae.successStatuses=[200],pe.next=8,this.request(ae);case 8:return le=pe.sent,pe.abrupt("return",{res:le.res,wormId:le.res.headers["x-oss-worm-id"],status:le.status});case 10:case"end":return pe.stop()}},xe,this)})),me.apply(this,arguments)}Ne.initiateBucketWorm=De},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],19:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.object.assign.js");var Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.listBucketInventory=void 0;var Ae=oe("../utils/checkBucketName"),ye=oe("../utils/formatInventoryConfig");function De(xe){return me.apply(this,arguments)}function me(){return me=(0,Ee.default)(ce.default.mark(function xe(fe){var z,ee,ae,re,le,ue,pe,Pe,be=arguments;return ce.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return z=be.length>1&&be[1]!==void 0?be[1]:{},ee=z.continuationToken,ae=Object.assign({inventory:""},ee&&{"continuation-token":ee},z.subres),Ae.checkBucketName(fe),re=this._bucketRequestParams("GET",fe,ae,z),re.successStatuses=[200],re.xmlResponse=!0,Me.next=9,this.request(re);case 9:return le=Me.sent,ue=le.data,pe=le.res,Pe=le.status,Me.abrupt("return",{isTruncated:ue.IsTruncated==="true",nextContinuationToken:ue.NextContinuationToken,inventoryList:ye.formatInventoryConfig(ue.InventoryConfiguration,!0),status:Pe,res:pe});case 12:case"end":return Me.stop()}},xe,this)})),me.apply(this,arguments)}Ne.listBucketInventory=De},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],20:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.object.assign.js"),oe("core-js/modules/es.array.concat.js");var Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.putBucketInventory=void 0;var Ae=oe("../utils/checkBucketName"),ye=oe("../utils/obj2xml");function De(xe,fe){return me.apply(this,arguments)}function me(){return me=(0,Ee.default)(ce.default.mark(function xe(fe,z){var ee,ae,re,le,ue,pe,Pe,be,Ie,Me,Oe,Te=arguments;return ce.default.wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:return ee=Te.length>2&&Te[2]!==void 0?Te[2]:{},ae=Object.assign({inventory:"",inventoryId:z.id},ee.subres),Ae.checkBucketName(fe),re=z.OSSBucketDestination,le=z.optionalFields,ue=z.includedObjectVersions,pe="acs:oss:::",Pe="acs:ram::".concat(re.accountId,":role/"),be={InventoryConfiguration:{Id:z.id,IsEnabled:z.isEnabled,Filter:{Prefix:z.prefix||""},Destination:{OSSBucketDestination:{Format:re.format,AccountId:re.accountId,RoleArn:"".concat(Pe).concat(re.rolename),Bucket:"".concat(pe).concat(re.bucket),Prefix:re.prefix||"",Encryption:re.encryption||""}},Schedule:{Frequency:z.frequency},IncludedObjectVersions:ue,OptionalFields:{Field:(le==null?void 0:le.field)||[]}}},Ie=ye.obj2xml(be,{headers:!0,firstUpperCase:!0}),Me=this._bucketRequestParams("PUT",fe,ae,ee),Me.successStatuses=[200],Me.mime="xml",Me.content=Ie,ze.next=14,this.request(Me);case 14:return Oe=ze.sent,ze.abrupt("return",{status:Oe.status,res:Oe.res});case 16:case"end":return ze.stop()}},xe,this)})),me.apply(this,arguments)}Ne.putBucketInventory=De},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287}],21:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/web.dom-collections.for-each.js"),oe("core-js/modules/es.regexp.exec.js"),oe("core-js/modules/es.array.includes.js");var Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=oe("../utils/checkBucketName"),ye=Ae.checkBucketName,De=oe("../utils/isArray"),me=De.isArray,xe=oe("../utils/deepCopy"),fe=xe.deepCopy,z=oe("../utils/isObject"),ee=z.isObject,ae=oe("../utils/obj2xml"),re=ae.obj2xml,le=oe("../utils/checkObjectTag"),ue=le.checkObjectTag,pe=oe("../utils/getStrBytesCount"),Pe=pe.getStrBytesCount,be=Ne;be.putBucketLifecycle=function(){var je=(0,Ee.default)(ce.default.mark(function $e(Ue,qe,et){var lt,ut,vt,tt,at;return ce.default.wrap(function(St){for(;;)switch(St.prev=St.next){case 0:if(ye(Ue),me(qe)){St.next=3;break}throw new Error("rules must be Array");case 3:return lt=this._bucketRequestParams("PUT",Ue,"lifecycle",et),ut=[],vt={LifecycleConfiguration:{Rule:ut}},qe.forEach(function(xt){Ie(xt),Te(xt),xt.id&&(xt.ID=xt.id,delete xt.id),ut.push(xt)}),tt=re(vt,{headers:!0,firstUpperCase:!0}),lt.content=tt,lt.mime="xml",lt.successStatuses=[200],St.next=13,this.request(lt);case 13:return at=St.sent,St.abrupt("return",{res:at.res});case 15:case"end":return St.stop()}},$e,this)}));function ze($e,Ue,qe){return je.apply(this,arguments)}return ze}();function Ie(je){je.days&&(je.expiration={days:je.days}),je.date&&(je.expiration={createdBeforeDate:je.date})}function Me(je,ze){var $e=je.days,Ue=je.createdBeforeDate;if(!$e&&!Ue)throw new Error("".concat(ze," must includes days or createdBeforeDate"));if($e&&!/^[1-9][0-9]*$/.test($e))throw new Error("days must be a positive integer");if(Ue&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(Ue))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function Oe(je){if(!me(je)&&!ee(je))throw new Error("tag must be Object or Array");je=ee(je)?[je]:je;var ze={},$e=fe(je);$e.forEach(function(Ue){ze[Ue.key]=Ue.value}),ue(ze)}function Te(je){if(je.id&&Pe(je.id)>255)throw new Error("ID is composed of 255 bytes at most");if(je.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(je.status))throw new Error("Status must be Enabled or Disabled");if(je.transition){if(!["IA","Archive"].includes(je.transition.storageClass))throw new Error("StorageClass must be IA or Archive");Me(je.transition,"Transition")}if(je.expiration){if(!je.expiration.expiredObjectDeleteMarker)Me(je.expiration,"Expiration");else if(je.expiration.days||je.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(je.abortMultipartUpload&&Me(je.abortMultipartUpload,"AbortMultipartUpload"),!je.expiration&&!je.abortMultipartUpload&&!je.transition&&!je.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(je.tag){if(je.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");Oe(je.tag)}}},{"../utils/checkBucketName":51,"../utils/checkObjectTag":54,"../utils/deepCopy":58,"../utils/getStrBytesCount":62,"../utils/isArray":63,"../utils/isObject":70,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],22:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.array.includes.js");var Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=oe("../utils/checkBucketName"),ye=Ae.checkBucketName,De=oe("../utils/obj2xml"),me=De.obj2xml,xe=Ne;xe.putBucketVersioning=function(){var fe=(0,Ee.default)(ce.default.mark(function ee(ae,re){var le,ue,pe,Pe,be=arguments;return ce.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:if(le=be.length>2&&be[2]!==void 0?be[2]:{},ye(ae),["Enabled","Suspended"].includes(re)){Me.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return ue=this._bucketRequestParams("PUT",ae,"versioning",le),pe={VersioningConfiguration:{Status:re}},ue.mime="xml",ue.content=me(pe,{headers:!0}),Me.next=10,this.request(ue);case 10:return Pe=Me.sent,Me.abrupt("return",{res:Pe.res,status:Pe.status});case 12:case"end":return Me.stop()}},ee,this)}));function z(ee,ae){return fe.apply(this,arguments)}return z}()},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277}],23:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator")),Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=oe("../utils/checkBucketName"),ye=Ae.checkBucketName,De=oe("../utils/obj2xml"),me=De.obj2xml,xe=oe("../utils/isArray"),fe=xe.isArray,z=Ne;z.putBucketWebsite=function(){var ee=(0,Ee.default)(ce.default.mark(function re(le){var ue,pe,Pe,be,Ie,Me,Oe,Te=arguments;return ce.default.wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:if(ue=Te.length>1&&Te[1]!==void 0?Te[1]:{},pe=Te.length>2?Te[2]:void 0,ye(le),Pe=this._bucketRequestParams("PUT",le,"website",pe),be={Suffix:ue.index||"index.html"},Ie={IndexDocument:be},Me={WebsiteConfiguration:Ie},ue.supportSubDir&&(be.SupportSubDir=ue.supportSubDir),ue.type&&(be.Type=ue.type),ue.error&&(Ie.ErrorDocument={Key:ue.error}),ue.routingRules===void 0){ze.next=14;break}if(fe(ue.routingRules)){ze.next=13;break}throw new Error("RoutingRules must be Array");case 13:Ie.RoutingRules={RoutingRule:ue.routingRules};case 14:return Me=me(Me),Pe.content=Me,Pe.mime="xml",Pe.successStatuses=[200],ze.next=20,this.request(Pe);case 20:return Oe=ze.sent,ze.abrupt("return",{res:Oe.res});case 22:case"end":return ze.stop()}},re,this)}));function ae(re){return ee.apply(this,arguments)}return ae}()},{"../utils/checkBucketName":51,"../utils/isArray":63,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],24:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/es.regexp.to-string.js"),oe("core-js/modules/web.dom-collections.for-each.js"),oe("core-js/modules/es.object.keys.js"),Ne.encodeCallback=function(Ee,Ae){if(Ee.headers=Ee.headers||{},!Object.prototype.hasOwnProperty.call(Ee.headers,"x-oss-callback")&&Ae.callback){var ye={callbackUrl:encodeURI(Ae.callback.url),callbackBody:Ae.callback.body};Ae.callback.host&&(ye.callbackHost=Ae.callback.host),Ae.callback.contentType&&(ye.callbackBodyType=Ae.callback.contentType);var De=ge.from(JSON.stringify(ye)).toString("base64");if(Ee.headers["x-oss-callback"]=De,Ae.callback.customValue){var me={};Object.keys(Ae.callback.customValue).forEach(function(xe){me["x:".concat(xe)]=Ae.callback.customValue[xe].toString()}),Ee.headers["x-oss-callback-var"]=ge.from(JSON.stringify(me)).toString("base64")}}}}).call(this)}).call(this,oe("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/web.dom-collections.for-each.js":339}],25:[function(oe,Ze,Ne){"use strict";oe("core-js/modules/es.array.concat.js"),oe("core-js/modules/es.regexp.exec.js"),oe("core-js/modules/es.string.replace.js"),oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/web.dom-collections.for-each.js");var ge=function(fe){return fe&&fe.__esModule?fe:{default:fe}};Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.getReqUrl=void 0;var ce=ge(oe("copy-to")),Ee=ge(oe("url")),Ae=ge(oe("merge-descriptors")),ye=ge(oe("is-type-of")),De=oe("../utils/isIP"),me=oe("../utils/checkConfigValid");function xe(fe){var z={},ee=this.options.cname;me.checkConfigValid(this.options.endpoint,"endpoint"),ce.default(this.options.endpoint,!1).to(z),fe.bucket&&!ee&&!De.isIP(z.hostname)&&!this.options.sldEnable&&(z.host="".concat(fe.bucket,".").concat(z.host));var ae="/";fe.bucket&&this.options.sldEnable&&(ae+="".concat(fe.bucket,"/")),fe.object&&(ae+=this._escape(fe.object).replace(/\+/g,"%2B")),z.pathname=ae;var re={};if(fe.query&&Ae.default(re,fe.query),fe.subres){var le={};ye.default.string(fe.subres)?le[fe.subres]="":ye.default.array(fe.subres)?fe.subres.forEach(function(ue){le[ue]=""}):le=fe.subres,Ae.default(re,le)}return z.query=re,Ee.default.format(z)}Ne.getReqUrl=xe},{"../utils/checkConfigValid":52,"../utils/isIP":69,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466,"merge-descriptors":372,url:472}],26:[function(oe,Ze,Ne){"use strict";oe("core-js/modules/es.array.concat.js"),oe("core-js/modules/es.object.assign.js"),oe("core-js/modules/es.string.trim.js");var ge=oe("humanize-ms"),ce=oe("url"),Ee=oe("../utils/checkBucketName"),Ae=Ee.checkBucketName,ye=oe("../utils/setRegion"),De=ye.setRegion,me=oe("../utils/checkConfigValid"),xe=me.checkConfigValid;function fe(z,ee){xe(z,"endpoint");var ae=ce.parse(z);if(ae.protocol||(ae=ce.parse("http".concat(ee?"s":"","://").concat(z))),ae.protocol!=="http:"&&ae.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return ae}Ze.exports=function(z){if(!z||!z.accessKeyId||!z.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");z.stsToken&&!z.refreshSTSToken&&!z.refreshSTSTokenInterval&&console.warn("It's recommended to set 'refreshSTSToken' and 'refreshSTSTokenInterval' to refresh stsToken\u3001accessKeyId\u3001accessKeySecret automatically when sts token has expired"),z.bucket&&Ae(z.bucket);var ee=Object.assign({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1,headerEncoding:"utf-8",refreshSTSToken:null,refreshSTSTokenInterval:6e4*5,retryMax:0},z);if(ee.accessKeyId=ee.accessKeyId.trim(),ee.accessKeySecret=ee.accessKeySecret.trim(),ee.timeout&&(ee.timeout=ge(ee.timeout)),ee.endpoint)ee.endpoint=fe(ee.endpoint,ee.secure);else if(ee.region)ee.endpoint=De(ee.region,ee.internal,ee.secure);else throw new Error("require options.endpoint or options.region");return ee.inited=!0,ee}},{"../utils/checkBucketName":51,"../utils/checkConfigValid":52,"../utils/setRegion":75,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.trim.js":308,"humanize-ms":356,url:472}],27:[function(oe,Ze,Ne){"use strict";var ge=oe("merge-descriptors"),ce=Ne;ge(ce,oe("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.array.concat.js");var Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=oe("../utils/checkBucketName"),ye=Ae.checkBucketName,De=oe("querystring"),me=oe("js-base64"),xe=me.Base64.encode,fe=Ne;fe.processObjectSave=function(){var ee=(0,Ee.default)(ce.default.mark(function re(le,ue,pe,Pe){var be,Ie,Me,Oe;return ce.default.wrap(function(je){for(;;)switch(je.prev=je.next){case 0:return z(le,"sourceObject"),z(ue,"targetObject"),z(pe,"process"),ue=this._objectName(ue),Pe&&ye(Pe),be=this._objectRequestParams("POST",le,{subres:"x-oss-process"}),Ie=Pe?",b_".concat(xe(Pe)):"",ue=xe(ue),Me={"x-oss-process":"".concat(pe,"|sys/saveas,o_").concat(ue).concat(Ie)},be.content=De.stringify(Me),je.next=12,this.request(be);case 12:return Oe=je.sent,je.abrupt("return",{res:Oe.res,status:Oe.res.status});case 14:case"end":return je.stop()}},re,this)}));function ae(re,le,ue,pe){return ee.apply(this,arguments)}return ae}();function z(ee,ae){if(!ee)throw new Error("".concat(ae," is required"));if(typeof ee!="string")throw new Error("".concat(ae," must be String"))}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"js-base64":371,querystring:385}],29:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.array.concat.js"),oe("core-js/modules/es.function.name.js"),oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/es.promise.js"),oe("core-js/modules/es.array.from.js"),oe("core-js/modules/es.string.iterator.js"),oe("core-js/modules/es.array.map.js"),oe("core-js/modules/es.array.filter.js"),oe("core-js/modules/es.array.find.js"),oe("core-js/modules/es.regexp.to-string.js");var Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=oe("debug")("ali-oss:multipart-copy"),ye=oe("copy-to"),De=Ne;De.uploadPartCopy=function(){var me=(0,Ee.default)(ce.default.mark(function fe(z,ee,ae,re,le){var ue,pe,Pe,be,Ie,Me=arguments;return ce.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:return ue=Me.length>5&&Me[5]!==void 0?Me[5]:{},ue.headers=ue.headers||{},pe=ue.versionId||ue.subres&&ue.subres.versionId||null,pe?Pe="/".concat(le.sourceBucketName,"/").concat(encodeURIComponent(le.sourceKey),"?versionId=").concat(pe):Pe="/".concat(le.sourceBucketName,"/").concat(encodeURIComponent(le.sourceKey)),ue.headers["x-oss-copy-source"]=Pe,re&&(ue.headers["x-oss-copy-source-range"]="bytes=".concat(re)),ue.subres={partNumber:ae,uploadId:ee},be=this._objectRequestParams("PUT",z,ue),be.mime=ue.mime,be.successStatuses=[200],Te.next=12,this.request(be);case 12:return Ie=Te.sent,Te.abrupt("return",{name:z,etag:Ie.res.headers.etag,res:Ie.res});case 14:case"end":return Te.stop()}},fe,this)}));function xe(fe,z,ee,ae,re){return me.apply(this,arguments)}return xe}(),De.multipartUploadCopy=function(){var me=(0,Ee.default)(ce.default.mark(function fe(z,ee){var ae,re,le,ue,pe,Pe,be,Ie,Me,Oe,Te,je,ze=arguments;return ce.default.wrap(function(Ue){for(;;)switch(Ue.prev=Ue.next){case 0:return ae=ze.length>2&&ze[2]!==void 0?ze[2]:{},this.resetCancelFlag(),re=ae.versionId,le=re===void 0?null:re,ue={versionId:le},Ue.next=6,this._getObjectMeta(ee.sourceBucketName,ee.sourceKey,ue);case 6:if(pe=Ue.sent,Pe=pe.res.headers["content-length"],ee.startOffset=ee.startOffset||0,ee.endOffset=ee.endOffset||Pe,!(ae.checkpoint&&ae.checkpoint.uploadId)){Ue.next=14;break}return Ue.next=13,this._resumeMultipartCopy(ae.checkpoint,ee,ae);case 13:return Ue.abrupt("return",Ue.sent);case 14:if(be=102400,Ie=ee.endOffset-ee.startOffset,!(Ie<be)){Ue.next=18;break}throw new Error("copySize must not be smaller than ".concat(be));case 18:if(!(ae.partSize&&ae.partSize<be)){Ue.next=20;break}throw new Error("partSize must not be smaller than ".concat(be));case 20:return Ue.next=22,this.initMultipartUpload(z,ae);case 22:if(Me=Ue.sent,Oe=Me.uploadId,Te=this._getPartSize(Ie,ae.partSize),je={name:z,copySize:Ie,partSize:Te,uploadId:Oe,doneParts:[]},!(ae&&ae.progress)){Ue.next=29;break}return Ue.next=29,ae.progress(0,je,Me.res);case 29:return Ue.next=31,this._resumeMultipartCopy(je,ee,ae);case 31:return Ue.abrupt("return",Ue.sent);case 32:case"end":return Ue.stop()}},fe,this)}));function xe(fe,z){return me.apply(this,arguments)}return xe}(),De._resumeMultipartCopy=function(){var me=(0,Ee.default)(ce.default.mark(function fe(z,ee,ae){var re,le,ue,pe,Pe,be,Ie,Me,Oe,Te,je,ze,$e,Ue,qe,et,lt,ut,vt,tt,at;return ce.default.wrap(function(St){for(;;)switch(St.prev=St.next){case 0:if(!this.isCancel()){St.next=2;break}throw this._makeCancelEvent();case 2:if(re=ae.versionId,le=re===void 0?null:re,ue={versionId:le},pe=z.copySize,Pe=z.partSize,be=z.uploadId,Ie=z.doneParts,Me=z.name,Oe=this._divideMultipartCopyParts(pe,Pe,ee.startOffset),Te=Oe.length,je={headers:{}},ae.copyheaders&&ye(ae.copyheaders).to(je.headers),le&&ye(ue).to(je),ze=function(ft,pt,yt){return new Promise(function(){var Tt=(0,Ee.default)(ce.default.mark(function At(Gt,wt){var bt,it,_e;return ce.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:if(Ce.prev=0,ft.isCancel()){Ce.next=22;break}return bt=Oe[pt-1],it="".concat(bt.start,"-").concat(bt.end-1),Ce.prev=4,Ce.next=7,ft.uploadPartCopy(Me,be,pt,it,yt,je);case 7:_e=Ce.sent,Ce.next=15;break;case 10:if(Ce.prev=10,Ce.t0=Ce.catch(4),Ce.t0.status!==404){Ce.next=14;break}throw ft._makeAbortEvent();case 14:throw Ce.t0;case 15:if(ft.isCancel()){Ce.next=22;break}if(Ae("content-range ".concat(_e.res.headers["content-range"])),Ie.push({number:pt,etag:_e.res.headers.etag}),z.doneParts=Ie,!(ae&&ae.progress)){Ce.next=22;break}return Ce.next=22,ae.progress(Ie.length/Te,z,_e.res);case 22:Gt(),Ce.next=29;break;case 25:Ce.prev=25,Ce.t1=Ce.catch(0),Ce.t1.partNum=pt,wt(Ce.t1);case 29:case"end":return Ce.stop()}},At,null,[[0,25],[4,10]])}));return function(At,Gt){return Tt.apply(this,arguments)}}())},$e=Array.from(new Array(Te),function(xt,ft){return ft+1}),Ue=Ie.map(function(xt){return xt.number}),qe=$e.filter(function(xt){return Ue.indexOf(xt)<0}),et=5,lt=ae.parallel||et,!(this.checkBrowserAndVersion("Internet Explorer","10")||lt===1)){St.next=28;break}ut=0;case 18:if(!(ut<qe.length)){St.next=26;break}if(!this.isCancel()){St.next=21;break}throw this._makeCancelEvent();case 21:return St.next=23,ze(this,qe[ut],ee);case 23:ut++,St.next=18;break;case 26:St.next=40;break;case 28:return St.next=30,this._parallelNode(qe,lt,ze,ee);case 30:if(vt=St.sent,tt=vt.find(function(xt){return xt.name==="abort"}),!tt){St.next=34;break}throw tt;case 34:if(!this.isCancel()){St.next=36;break}throw this._makeCancelEvent();case 36:if(!(vt&&vt.length>0)){St.next=40;break}throw at=vt[0],at.message="Failed to copy some parts with error: ".concat(at.toString()," part_num: ").concat(at.partNum),at;case 40:return St.next=42,this.completeMultipartUpload(Me,be,Ie,ae);case 42:return St.abrupt("return",St.sent);case 43:case"end":return St.stop()}},fe,this)}));function xe(fe,z,ee){return me.apply(this,arguments)}return xe}(),De._divideMultipartCopyParts=function(xe,fe,z){for(var ee=Math.ceil(xe/fe),ae=[],re=0;re<ee;re++){var le=fe*re+z,ue=Math.min(le+fe,xe+z);ae.push({start:le,end:ue})}return ae},De._getObjectMeta=function(){var me=(0,Ee.default)(ce.default.mark(function fe(z,ee,ae){var re,le;return ce.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return re=this.getBucket(),this.setBucket(z),pe.next=4,this.head(ee,ae);case 4:return le=pe.sent,this.setBucket(re),pe.abrupt("return",le);case 7:case"end":return pe.stop()}},fe,this)}));function xe(fe,z,ee){return me.apply(this,arguments)}return xe}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.iterator.js":303,debug:465}],30:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";var ce=oe("@babel/runtime/helpers/interopRequireDefault"),Ee=ce(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.array.map.js"),oe("core-js/modules/es.array.filter.js"),oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/es.array.sort.js"),oe("core-js/modules/es.array.concat.js"),oe("core-js/modules/es.regexp.to-string.js");var Ae=ce(oe("@babel/runtime/helpers/asyncToGenerator")),ye=oe("copy-to"),De=oe("./callback"),me=oe("./utils/deepCopy"),xe=me.deepCopyWith,fe=oe("./utils/isBuffer"),z=fe.isBuffer,ee=oe("./utils/omit"),ae=ee.omit,re=Ne;re.listUploads=function(){var le=(0,Ae.default)(Ee.default.mark(function pe(Pe,be){var Ie,Me,Oe,Te;return Ee.default.wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:return be=be||{},Ie={},ye(be).to(Ie),Ie.subres="uploads",Me=this._objectRequestParams("GET","",Ie),Me.query=Pe,Me.xmlResponse=!0,Me.successStatuses=[200],ze.next=10,this.request(Me);case 10:return Oe=ze.sent,Te=Oe.data.Upload||[],Array.isArray(Te)||(Te=[Te]),Te=Te.map(function($e){return{name:$e.Key,uploadId:$e.UploadId,initiated:$e.Initiated}}),ze.abrupt("return",{res:Oe.res,uploads:Te,bucket:Oe.data.Bucket,nextKeyMarker:Oe.data.NextKeyMarker,nextUploadIdMarker:Oe.data.NextUploadIdMarker,isTruncated:Oe.data.IsTruncated==="true"});case 15:case"end":return ze.stop()}},pe,this)}));function ue(pe,Pe){return le.apply(this,arguments)}return ue}(),re.listParts=function(){var le=(0,Ae.default)(Ee.default.mark(function pe(Pe,be,Ie,Me){var Oe,Te,je;return Ee.default.wrap(function($e){for(;;)switch($e.prev=$e.next){case 0:return Me=Me||{},Oe={},ye(Me).to(Oe),Oe.subres={uploadId:be},Te=this._objectRequestParams("GET",Pe,Oe),Te.query=Ie,Te.xmlResponse=!0,Te.successStatuses=[200],$e.next=10,this.request(Te);case 10:return je=$e.sent,$e.abrupt("return",{res:je.res,uploadId:je.data.UploadId,bucket:je.data.Bucket,name:je.data.Key,partNumberMarker:je.data.PartNumberMarker,nextPartNumberMarker:je.data.NextPartNumberMarker,maxParts:je.data.MaxParts,isTruncated:je.data.IsTruncated,parts:je.data.Part||[]});case 12:case"end":return $e.stop()}},pe,this)}));function ue(pe,Pe,be,Ie){return le.apply(this,arguments)}return ue}(),re.abortMultipartUpload=function(){var le=(0,Ae.default)(Ee.default.mark(function pe(Pe,be,Ie){var Me,Oe,Te;return Ee.default.wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:return this._stop(),Ie=Ie||{},Me={},ye(Ie).to(Me),Me.subres={uploadId:be},Oe=this._objectRequestParams("DELETE",Pe,Me),Oe.successStatuses=[204],ze.next=9,this.request(Oe);case 9:return Te=ze.sent,ze.abrupt("return",{res:Te.res});case 11:case"end":return ze.stop()}},pe,this)}));function ue(pe,Pe,be){return le.apply(this,arguments)}return ue}(),re.initMultipartUpload=function(){var le=(0,Ae.default)(Ee.default.mark(function pe(Pe,be){var Ie,Me,Oe;return Ee.default.wrap(function(je){for(;;)switch(je.prev=je.next){case 0:return be=be||{},Ie={},ye(be).to(Ie),Ie.headers=Ie.headers||{},this._convertMetaToHeaders(be.meta,Ie.headers),Ie.subres="uploads",Me=this._objectRequestParams("POST",Pe,Ie),Me.mime=be.mime,Me.xmlResponse=!0,Me.successStatuses=[200],je.next=12,this.request(Me);case 12:return Oe=je.sent,je.abrupt("return",{res:Oe.res,bucket:Oe.data.Bucket,name:Oe.data.Key,uploadId:Oe.data.UploadId});case 14:case"end":return je.stop()}},pe,this)}));function ue(pe,Pe){return le.apply(this,arguments)}return ue}(),re.uploadPart=function(){var le=(0,Ae.default)(Ee.default.mark(function pe(Pe,be,Ie,Me,Oe,Te,je){var ze,$e;return Ee.default.wrap(function(qe){for(;;)switch(qe.prev=qe.next){case 0:if(ze={size:Te-Oe},$e=ge&&ge.browser,!$e){qe.next=8;break}return qe.next=5,this._createBuffer(Me,Oe,Te);case 5:ze.content=qe.sent,qe.next=11;break;case 8:return qe.next=10,this._createStream(Me,Oe,Te);case 10:ze.stream=qe.sent;case 11:return qe.next=13,this._uploadPart(Pe,be,Ie,ze,je);case 13:return qe.abrupt("return",qe.sent);case 14:case"end":return qe.stop()}},pe,this)}));function ue(pe,Pe,be,Ie,Me,Oe,Te){return le.apply(this,arguments)}return ue}(),re.completeMultipartUpload=function(){var le=(0,Ae.default)(Ee.default.mark(function pe(Pe,be,Ie,Me){var Oe,Te,je,ze,$e,Ue,qe,et;return Ee.default.wrap(function(ut){for(;;)switch(ut.prev=ut.next){case 0:for(Oe=Ie.concat().sort(function(vt,tt){return vt.number-tt.number}).filter(function(vt,tt,at){return!tt||vt.number!==at[tt-1].number}),Te=`<?xml version="1.0" encoding="UTF-8"?>
<CompleteMultipartUpload>
`,je=0;je<Oe.length;je++)ze=Oe[je],Te+=`<Part>
`,Te+="<PartNumber>".concat(ze.number,`</PartNumber>
`),Te+="<ETag>".concat(ze.etag,`</ETag>
`),Te+=`</Part>
`;return Te+="</CompleteMultipartUpload>",Me=Me||{},$e={},$e=xe(Me,function(vt){if(z(vt))return null}),$e.subres={uploadId:be},$e.headers=ae($e.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),Ue=this._objectRequestParams("POST",Pe,$e),De.encodeCallback(Ue,$e),Ue.mime="xml",Ue.content=Te,Ue.headers&&Ue.headers["x-oss-callback"]||(Ue.xmlResponse=!0),Ue.successStatuses=[200],ut.next=17,this.request(Ue);case 17:if(qe=ut.sent,!Me.progress){ut.next=21;break}return ut.next=21,Me.progress(1,null,qe.res);case 21:return et={res:qe.res,bucket:Ue.bucket,name:Pe,etag:qe.res.headers.etag},Ue.headers&&Ue.headers["x-oss-callback"]&&(et.data=JSON.parse(qe.data.toString())),ut.abrupt("return",et);case 24:case"end":return ut.stop()}},pe,this)}));function ue(pe,Pe,be,Ie){return le.apply(this,arguments)}return ue}(),re._uploadPart=function(){var le=(0,Ae.default)(Ee.default.mark(function pe(Pe,be,Ie,Me,Oe){var Te,je,ze,$e;return Ee.default.wrap(function(qe){for(;;)switch(qe.prev=qe.next){case 0:return Oe=Oe||{},Te={},ye(Oe).to(Te),Te.headers=Te.headers||{},Te.headers["Content-Length"]=Me.size,Te.headers=ae(Te.headers,["x-oss-server-side-encryption"]),Te.subres={partNumber:Ie,uploadId:be},je=this._objectRequestParams("PUT",Pe,Te),je.mime=Te.mime,ze=ge&&ge.browser,ze?je.content=Me.content:je.stream=Me.stream,je.successStatuses=[200],je.disabledMD5=Oe.disabledMD5,qe.next=15,this.request(je);case 15:if($e=qe.sent,$e.res.headers.etag){qe.next=18;break}throw new Error(`Please set the etag of expose-headers in OSS
https://help.aliyun.com/document_detail/32069.html`);case 18:return Me.stream&&(Me.stream=null,je.stream=null),qe.abrupt("return",{name:Pe,etag:$e.res.headers.etag,res:$e.res});case 20:case"end":return qe.stop()}},pe,this)}));function ue(pe,Pe,be,Ie,Me){return le.apply(this,arguments)}return ue}()}).call(this)}).call(this,oe("_process"))},{"./callback":24,"./utils/deepCopy":58,"./utils/isBuffer":65,"./utils/omit":73,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],31:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator")),Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=oe("url"),ye=oe("utility"),De=oe("copy-to"),me=oe("../../common/signUtils"),xe=oe("../utils/isIP"),fe=xe.isIP,z=oe("../utils/setSTSToken"),ee=z.setSTSToken,ae=oe("../utils/isFunction"),re=ae.isFunction,le=Ne;le.asyncSignatureUrl=function(){var ue=(0,Ee.default)(ce.default.mark(function Pe(be,Ie){var Me,Oe,Te,je,ze;return ce.default.wrap(function(Ue){for(;;)switch(Ue.prev=Ue.next){case 0:if(!fe(this.options.endpoint.hostname)){Ue.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(Ie=Ie||{},be=this._objectName(be),Ie.method=Ie.method||"GET",Me=ye.timestamp()+(Ie.expires||1800),Oe={bucket:this.options.bucket,object:be},Te=this._getResource(Oe),!(this.options.stsToken&&re(this.options.refreshSTSToken))){Ue.next=11;break}return Ue.next=11,ee.call(this);case 11:return this.options.stsToken&&(Ie["security-token"]=this.options.stsToken),je=me._signatureForURL(this.options.accessKeySecret,Ie,Te,Me),ze=Ae.parse(this._getReqUrl(Oe)),ze.query={OSSAccessKeyId:this.options.accessKeyId,Expires:Me,Signature:je.Signature},De(je.subResource).to(ze.query),Ue.abrupt("return",ze.format());case 17:case"end":return Ue.stop()}},Pe,this)}));function pe(Pe,be){return ue.apply(this,arguments)}return pe}()},{"../../common/signUtils":50,"../utils/isFunction":68,"../utils/isIP":69,"../utils/setSTSToken":76,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,url:472,utility:474}],32:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/web.dom-collections.for-each.js"),oe("core-js/modules/es.object.keys.js"),oe("core-js/modules/es.array.find.js"),oe("core-js/modules/es.array.includes.js"),oe("core-js/modules/es.array.concat.js"),oe("core-js/modules/es.regexp.exec.js"),oe("core-js/modules/es.string.replace.js");var Ee=ge(oe("@babel/runtime/helpers/typeof")),Ae=ge(oe("@babel/runtime/helpers/asyncToGenerator")),ye=oe("../utils/checkBucketName"),De=ye.checkBucketName,me=Ne,xe=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];me.copy=function(){var fe=(0,Ae.default)(ce.default.mark(function ee(ae,re,le,ue){var pe,Pe,be;return ce.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return(0,Ee.default)(le)==="object"&&(ue=le),ue=ue||{},ue.headers=ue.headers||{},Object.keys(ue.headers).forEach(function(Oe){ue.headers["x-oss-copy-source-".concat(Oe.toLowerCase())]=ue.headers[Oe]}),(ue.meta||Object.keys(ue.headers).find(function(Oe){return xe.includes(Oe.toLowerCase())}))&&(ue.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(ue.meta,ue.headers),re=this._getSourceName(re,le),ue.versionId&&(re="".concat(re,"?versionId=").concat(ue.versionId)),ue.headers["x-oss-copy-source"]=re,pe=this._objectRequestParams("PUT",ae,ue),pe.xmlResponse=!0,pe.successStatuses=[200,304],Me.next=14,this.request(pe);case 14:return Pe=Me.sent,be=Pe.data,be&&(be={etag:be.ETag,lastModified:be.LastModified}),Me.abrupt("return",{data:be,res:Pe.res});case 18:case"end":return Me.stop()}},ee,this)}));function z(ee,ae,re,le){return fe.apply(this,arguments)}return z}(),me._getSourceName=function(z,ee){return typeof ee=="string"?z=this._objectName(z):z[0]!=="/"?ee=this.options.bucket:(ee=z.replace(/\/(.+?)(\/.*)/,"$1"),z=z.replace(/(\/.+?\/)(.*)/,"$2")),De(ee),z=encodeURIComponent(z),z="/".concat(ee,"/").concat(z),z}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],33:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.object.assign.js");var Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=Ne;Ae.delete=function(){var ye=(0,Ee.default)(ce.default.mark(function me(xe){var fe,z,ee,ae=arguments;return ce.default.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return fe=ae.length>1&&ae[1]!==void 0?ae[1]:{},fe.subres=Object.assign({},fe.subres),fe.versionId&&(fe.subres.versionId=fe.versionId),z=this._objectRequestParams("DELETE",xe,fe),z.successStatuses=[204],le.next=7,this.request(z);case 7:return ee=le.sent,le.abrupt("return",{res:ee.res});case 9:case"end":return le.stop()}},me,this)}));function De(me){return ye.apply(this,arguments)}return De}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],34:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.object.assign.js");var Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=oe("utility"),ye=oe("../utils/obj2xml"),De=ye.obj2xml,me=Ne;me.deleteMulti=function(){var xe=(0,Ee.default)(ce.default.mark(function z(ee){var ae,re,le,ue,pe,Pe,be,Ie,Me,Oe,Te,je,ze,$e=arguments;return ce.default.wrap(function(qe){for(;;)switch(qe.prev=qe.next){case 0:if(ae=$e.length>1&&$e[1]!==void 0?$e[1]:{},re=[],!(!ee||!ee.length)){qe.next=4;break}throw new Error("names is required");case 4:for(le=0;le<ee.length;le++)ue={},typeof ee[le]=="string"?ue.Key=Ae.escape(this._objectName(ee[le])):(pe=ee[le],Pe=pe.key,be=pe.versionId,ue.Key=Ae.escape(this._objectName(Pe)),ue.VersionId=be),re.push(ue);return Ie={Delete:{Quiet:!!ae.quiet,Object:re}},Me=De(Ie,{headers:!0}),ae.subres=Object.assign({delete:""},ae.subres),ae.versionId&&(ae.subres.versionId=ae.versionId),Oe=this._objectRequestParams("POST","",ae),Oe.mime="xml",Oe.content=Me,Oe.xmlResponse=!0,Oe.successStatuses=[200],qe.next=16,this.request(Oe);case 16:return Te=qe.sent,je=Te.data,ze=je&&je.Deleted||null,ze&&(Array.isArray(ze)||(ze=[ze])),qe.abrupt("return",{res:Te.res,deleted:ze||[]});case 21:case"end":return qe.stop()}},z,this)}));function fe(z){return xe.apply(this,arguments)}return fe}()},{"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,utility:474}],35:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.object.assign.js");var Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=Ne;Ae.deleteObjectTagging=function(){var ye=(0,Ee.default)(ce.default.mark(function me(xe){var fe,z,ee,ae=arguments;return ce.default.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return fe=ae.length>1&&ae[1]!==void 0?ae[1]:{},fe.subres=Object.assign({tagging:""},fe.subres),fe.versionId&&(fe.subres.versionId=fe.versionId),xe=this._objectName(xe),z=this._objectRequestParams("DELETE",xe,fe),z.successStatuses=[204],le.next=8,this.request(z);case 8:return ee=le.sent,le.abrupt("return",{status:ee.status,res:ee.res});case 10:case"end":return le.stop()}},me,this)}));function De(me){return ye.apply(this,arguments)}return De}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],36:[function(oe,Ze,Ne){"use strict";oe("core-js/modules/es.array.concat.js");var ge=oe("url"),ce=oe("../utils/isIP"),Ee=ce.isIP,Ae=Ne;Ae.generateObjectUrl=function(De,me){if(Ee(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(me)me[me.length-1]!=="/"&&(me+="/");else{me=this.options.endpoint.format();var xe=ge.parse(me),fe=this.options.bucket;xe.hostname="".concat(fe,".").concat(xe.hostname),xe.host="".concat(fe,".").concat(xe.host),me=xe.format()}return me+this._escape(this._objectName(De))}},{"../utils/isIP":69,"core-js/modules/es.array.concat.js":272,url:472}],37:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";var ce=oe("@babel/runtime/helpers/interopRequireDefault"),Ee=ce(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.object.assign.js");var Ae=ce(oe("@babel/runtime/helpers/asyncToGenerator")),ye=oe("fs"),De=oe("is-type-of"),me=Ne;me.get=function(){var xe=(0,Ae.default)(Ee.default.mark(function z(ee,ae){var re,le,ue,pe,Pe,be,Ie,Me,Oe=arguments;return Ee.default.wrap(function(je){for(;;)switch(je.prev=je.next){case 0:return re=Oe.length>2&&Oe[2]!==void 0?Oe[2]:{},le=null,ue=!1,De.writableStream(ae)?le=ae:De.string(ae)?(le=ye.createWriteStream(ae),ue=!0):re=ae,re=re||{},pe=ge&&ge.browser,Pe=re.responseCacheControl===null?"":"no-cache",be=pe&&Pe?{"response-cache-control":Pe}:{},re.subres=Object.assign(be,re.subres),re.versionId&&(re.subres.versionId=re.versionId),re.process&&(re.subres["x-oss-process"]=re.process),je.prev=11,Me=this._objectRequestParams("GET",ee,re),Me.writeStream=le,Me.successStatuses=[200,206,304],je.next=17,this.request(Me);case 17:Ie=je.sent,ue&&le.destroy(),je.next=28;break;case 21:if(je.prev=21,je.t0=je.catch(11),!ue){je.next=27;break}return le.destroy(),je.next=27,this._deleteFileSafe(ae);case 27:throw je.t0;case 28:return je.abrupt("return",{res:Ie.res,content:Ie.data});case 29:case"end":return je.stop()}},z,this,[[11,21]])}));function fe(z,ee){return xe.apply(this,arguments)}return fe}()}).call(this)}).call(this,oe("_process"))},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"core-js/modules/es.object.assign.js":287,fs:89,"is-type-of":466}],38:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.object.assign.js");var Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=Ne;Ae.getACL=function(){var ye=(0,Ee.default)(ce.default.mark(function me(xe){var fe,z,ee,ae=arguments;return ce.default.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return fe=ae.length>1&&ae[1]!==void 0?ae[1]:{},fe.subres=Object.assign({acl:""},fe.subres),fe.versionId&&(fe.subres.versionId=fe.versionId),xe=this._objectName(xe),z=this._objectRequestParams("GET",xe,fe),z.successStatuses=[200],z.xmlResponse=!0,le.next=9,this.request(z);case 9:return ee=le.sent,le.abrupt("return",{acl:ee.data.AccessControlList.Grant,owner:{id:ee.data.Owner.ID,displayName:ee.data.Owner.DisplayName},res:ee.res});case 11:case"end":return le.stop()}},me,this)}));function De(me){return ye.apply(this,arguments)}return De}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],39:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.regexp.exec.js"),oe("core-js/modules/es.string.replace.js"),oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/web.dom-collections.for-each.js"),oe("core-js/modules/es.object.keys.js"),oe("core-js/modules/es.object.assign.js"),oe("core-js/modules/es.array.map.js"),oe("core-js/modules/es.number.constructor.js");var Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=Ne,ye=oe("../utils/isObject"),De=ye.isObject,me=oe("../utils/isArray"),xe=me.isArray;Ae.getBucketVersions=fe,Ae.listObjectVersions=fe;function fe(){return z.apply(this,arguments)}function z(){return z=(0,Ee.default)(ce.default.mark(function re(){var le,ue,pe,Pe,be,Ie,Me,Oe,Te=arguments;return ce.default.wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:if(le=Te.length>0&&Te[0]!==void 0?Te[0]:{},ue=Te.length>1&&Te[1]!==void 0?Te[1]:{},!(le.versionIdMarker&&le.keyMarker===void 0)){ze.next=4;break}throw new Error("A version-id marker cannot be specified without a key marker");case 4:return ue.subres=Object.assign({versions:""},ue.subres),ue.versionId&&(ue.subres.versionId=ue.versionId),pe=this._objectRequestParams("GET","",ue),pe.xmlResponse=!0,pe.successStatuses=[200],pe.query=ae(le),ze.next=12,this.request(pe);case 12:return Pe=ze.sent,be=Pe.data.Version||[],Ie=Pe.data.DeleteMarker||[],Me=this,be&&(Array.isArray(be)||(be=[be]),be=be.map(function($e){return{name:$e.Key,url:Me._objectUrl($e.Key),lastModified:$e.LastModified,isLatest:$e.IsLatest==="true",versionId:$e.VersionId,etag:$e.ETag,type:$e.Type,size:Number($e.Size),storageClass:$e.StorageClass,owner:{id:$e.Owner.ID,displayName:$e.Owner.DisplayName}}})),Ie&&(xe(Ie)||(Ie=[Ie]),Ie=Ie.map(function($e){return{name:$e.Key,lastModified:$e.LastModified,versionId:$e.VersionId,owner:{id:$e.Owner.ID,displayName:$e.Owner.DisplayName}}})),Oe=Pe.data.CommonPrefixes||null,Oe&&(xe(Oe)||(Oe=[Oe]),Oe=Oe.map(function($e){return $e.Prefix})),ze.abrupt("return",{res:Pe.res,objects:be,deleteMarker:Ie,prefixes:Oe,nextMarker:Pe.data.NextKeyMarker||null,NextVersionIdMarker:Pe.data.NextVersionIdMarker||null,nextKeyMarker:Pe.data.NextKeyMarker||null,nextVersionIdMarker:Pe.data.NextVersionIdMarker||null,isTruncated:Pe.data.IsTruncated==="true"});case 21:case"end":return ze.stop()}},re,this)})),z.apply(this,arguments)}function ee(re){return re.replace(/([A-Z])/g,"-$1").toLowerCase()}function ae(){var re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},le={};return De(re)&&Object.keys(re).forEach(function(ue){le[ee(ue)]=re[ue]}),le}},{"../utils/isArray":63,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],40:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.object.assign.js");var Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=Ne;Ae.getObjectMeta=function(){var ye=(0,Ee.default)(ce.default.mark(function me(xe,fe){var z,ee;return ce.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return fe=fe||{},xe=this._objectName(xe),fe.subres=Object.assign({objectMeta:""},fe.subres),fe.versionId&&(fe.subres.versionId=fe.versionId),z=this._objectRequestParams("HEAD",xe,fe),z.successStatuses=[200],re.next=8,this.request(z);case 8:return ee=re.sent,re.abrupt("return",{status:ee.status,res:ee.res});case 10:case"end":return re.stop()}},me,this)}));function De(me,xe){return ye.apply(this,arguments)}return De}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],41:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.object.assign.js"),oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/web.dom-collections.for-each.js");var Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=Ne,ye=oe("../utils/isObject"),De=ye.isObject;Ae.getObjectTagging=function(){var me=(0,Ee.default)(ce.default.mark(function fe(z){var ee,ae,re,le,ue,pe,Pe=arguments;return ce.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return ee=Pe.length>1&&Pe[1]!==void 0?Pe[1]:{},ee.subres=Object.assign({tagging:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),z=this._objectName(z),ae=this._objectRequestParams("GET",z,ee),ae.successStatuses=[200],Ie.next=8,this.request(ae);case 8:return re=Ie.sent,Ie.next=11,this.parseXML(re.data);case 11:return le=Ie.sent,ue=le.TagSet.Tag,ue=ue&&De(ue)?[ue]:ue||[],pe={},ue.forEach(function(Me){pe[Me.Key]=Me.Value}),Ie.abrupt("return",{status:re.status,res:re.res,tag:pe});case 17:case"end":return Ie.stop()}},fe,this)}));function xe(fe){return me.apply(this,arguments)}return xe}()},{"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],42:[function(oe,Ze,Ne){"use strict";var ge=oe("../utils/isIP"),ce=ge.isIP,Ee=Ne;Ee.getObjectUrl=function(ye,De){if(ce(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return De?De[De.length-1]!=="/"&&(De+="/"):De=this.options.endpoint.format(),De+this._escape(this._objectName(ye))}},{"../utils/isIP":69}],43:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.object.assign.js");var Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=Ne;Ae.getSymlink=function(){var ye=(0,Ee.default)(ce.default.mark(function me(xe){var fe,z,ee,ae,re=arguments;return ce.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return fe=re.length>1&&re[1]!==void 0?re[1]:{},fe.subres=Object.assign({symlink:""},fe.subres),fe.versionId&&(fe.subres.versionId=fe.versionId),xe=this._objectName(xe),z=this._objectRequestParams("GET",xe,fe),z.successStatuses=[200],ue.next=8,this.request(z);case 8:return ee=ue.sent,ae=ee.res.headers["x-oss-symlink-target"],ue.abrupt("return",{targetName:decodeURIComponent(ae),res:ee.res});case 11:case"end":return ue.stop()}},me,this)}));function De(me){return ye.apply(this,arguments)}return De}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],44:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.object.assign.js"),oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/web.dom-collections.for-each.js"),oe("core-js/modules/es.object.keys.js");var Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=oe("../utils/checkEnv"),ye=Ae.checkEnv,De=Ne;De.head=function(){var me=(0,Ee.default)(ce.default.mark(function fe(z){var ee,ae,re,le,ue=arguments;return ce.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return ee=ue.length>1&&ue[1]!==void 0?ue[1]:{},ye("Because HeadObject has gzip enabled, head cannot get the file size correctly. If you need to get the file size, please use getObjectMeta"),ee.subres=Object.assign({},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),ae=this._objectRequestParams("HEAD",z,ee),ae.successStatuses=[200,304],Pe.next=8,this.request(ae);case 8:return re=Pe.sent,le={meta:null,res:re.res,status:re.status},re.status===200&&Object.keys(re.headers).forEach(function(be){be.indexOf("x-oss-meta-")===0&&(le.meta||(le.meta={}),le.meta[be.substring(11)]=re.headers[be])}),Pe.abrupt("return",le);case 12:case"end":return Pe.stop()}},fe,this)}));function xe(fe){return me.apply(this,arguments)}return xe}()},{"../utils/checkEnv":53,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],45:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.object.assign.js");var Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=Ne;Ae.putACL=function(){var ye=(0,Ee.default)(ce.default.mark(function me(xe,fe,z){var ee,ae;return ce.default.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return z=z||{},z.subres=Object.assign({acl:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),z.headers=z.headers||{},z.headers["x-oss-object-acl"]=fe,xe=this._objectName(xe),ee=this._objectRequestParams("PUT",xe,z),ee.successStatuses=[200],le.next=10,this.request(ee);case 10:return ae=le.sent,le.abrupt("return",{res:ae.res});case 12:case"end":return le.stop()}},me,this)}));function De(me,xe,fe){return ye.apply(this,arguments)}return De}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],46:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.object.assign.js"),oe("core-js/modules/es.array.map.js"),oe("core-js/modules/es.object.keys.js");var Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=oe("../utils/obj2xml"),ye=Ae.obj2xml,De=oe("../utils/checkObjectTag"),me=De.checkObjectTag,xe=Ne;xe.putObjectTagging=function(){var fe=(0,Ee.default)(ce.default.mark(function ee(ae,re){var le,ue,pe,Pe,be=arguments;return ce.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return le=be.length>2&&be[2]!==void 0?be[2]:{},me(re),le.subres=Object.assign({tagging:""},le.subres),le.versionId&&(le.subres.versionId=le.versionId),ae=this._objectName(ae),ue=this._objectRequestParams("PUT",ae,le),ue.successStatuses=[200],re=Object.keys(re).map(function(Oe){return{Key:Oe,Value:re[Oe]}}),pe={Tagging:{TagSet:{Tag:re}}},ue.mime="xml",ue.content=ye(pe),Me.next=13,this.request(ue);case 13:return Pe=Me.sent,Me.abrupt("return",{res:Pe.res,status:Pe.status});case 15:case"end":return Me.stop()}},ee,this)}));function z(ee,ae){return fe.apply(this,arguments)}return z}()},{"../utils/checkObjectTag":54,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290}],47:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.object.assign.js");var Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=Ne;Ae.putSymlink=function(){var ye=(0,Ee.default)(ce.default.mark(function me(xe,fe,z){var ee,ae;return ce.default.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return z=z||{},z.headers=z.headers||{},fe=this._escape(this._objectName(fe)),this._convertMetaToHeaders(z.meta,z.headers),z.headers["x-oss-symlink-target"]=fe,z.subres=Object.assign({symlink:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),z.storageClass&&(z.headers["x-oss-storage-class"]=z.storageClass),xe=this._objectName(xe),ee=this._objectRequestParams("PUT",xe,z),ee.successStatuses=[200],le.next=13,this.request(ee);case 13:return ae=le.sent,le.abrupt("return",{res:ae.res});case 15:case"end":return le.stop()}},me,this)}));function De(me,xe,fe){return ye.apply(this,arguments)}return De}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],48:[function(oe,Ze,Ne){"use strict";var ge=oe("url"),ce=oe("utility"),Ee=oe("copy-to"),Ae=oe("../../common/signUtils"),ye=oe("../utils/isIP"),De=ye.isIP,me=Ne;me.signatureUrl=function(fe,z){if(De(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");z=z||{},fe=this._objectName(fe),z.method=z.method||"GET";var ee=ce.timestamp()+(z.expires||1800),ae={bucket:this.options.bucket,object:fe},re=this._getResource(ae);this.options.stsToken&&(z["security-token"]=this.options.stsToken);var le=Ae._signatureForURL(this.options.accessKeySecret,z,re,ee),ue=ge.parse(this._getReqUrl(ae));return ue.query={OSSAccessKeyId:this.options.accessKeyId,Expires:ee,Signature:le.Signature},Ee(le.subResource).to(ue.query),ue.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.array.iterator.js"),oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/es.promise.js"),oe("core-js/modules/es.string.iterator.js"),oe("core-js/modules/web.dom-collections.iterator.js"),oe("core-js/modules/web.dom-collections.for-each.js"),oe("core-js/modules/es.function.name.js");var Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator")),Ae=oe("./utils/isArray"),ye=Ae.isArray,De=Ne;De._parallelNode=function(){var me=(0,Ee.default)(ce.default.mark(function fe(z,ee,ae,re){var le,ue,pe,Pe,be,Ie,Me,Oe;return ce.default.wrap(function(je){for(;;)switch(je.prev=je.next){case 0:le=this,ue=[],pe=[],Pe=z.length/ee,be=z.length%ee,Ie=be===0?Pe:(z.length-be)/ee+1,Me=1,Oe=0;case 8:if(!(Oe<z.length)){je.next=26;break}if(!le.isCancel()){je.next=11;break}return je.abrupt("break",26);case 11:if(re?pe.push(ae(le,z[Oe],re)):pe.push(ae(le,z[Oe])),!(pe.length===ee||Me===Ie&&Oe===z.length-1)){je.next=23;break}return je.prev=13,Me+=1,je.next=17,Promise.all(pe);case 17:je.next=22;break;case 19:je.prev=19,je.t0=je.catch(13),ue.push(je.t0);case 22:pe=[];case 23:Oe++,je.next=8;break;case 26:return je.abrupt("return",ue);case 27:case"end":return je.stop()}},fe,this,[[13,19]])}));function xe(fe,z,ee,ae){return me.apply(this,arguments)}return xe}(),De._parallel=function(xe,fe,z){var ee=this;return new Promise(function(ae){var re=[];if(fe<=0||!xe){ae(re);return}function le(je){return function(){if(je===null)throw new Error("Callback was already called.");var ze=je;je=null;for(var $e=arguments.length,Ue=new Array($e),qe=0;qe<$e;qe++)Ue[qe]=arguments[qe];ze.apply(this,Ue)}}function ue(je){var ze=-1,$e=je.length;return function(){return++ze<$e&&!ee.isCancel()?{value:je[ze],key:ze}:null}}var pe=ue(xe),Pe=!1,be=0,Ie=!1;function Me(je){be-=1,je?(Pe=!0,re.push(je),ae(re)):Pe&&be<=0?(Pe=!0,ae(re)):Ie||(ee.isCancel()?ae(re):Te())}function Oe(je,ze){z(je).then(function($e){ze(null,$e)}).catch(function($e){ze($e)})}function Te(){for(Ie=!0;be<fe&&!Pe&&!ee.isCancel();){var je=pe();if(je===null||re.length>0){Pe=!0,be<=0&&ae(re);return}be+=1,Oe(je.value,le(Me))}Ie=!1}Te()})},De.cancel=function(xe){this.options.cancelFlag=!0,ye(this.multipartUploadStreams)&&this.multipartUploadStreams.forEach(function(fe){if(fe.destroyed===!1){var z={name:"cancel",message:"cancel"};fe.destroy(z)}}),this.multipartUploadStreams=[],xe&&this.abortMultipartUpload(xe.name,xe.uploadId,xe.options)},De.isCancel=function(){return this.options.cancelFlag},De.resetCancelFlag=function(){this.options.cancelFlag=!1},De._stop=function(){this.options.cancelFlag=!0},De._makeCancelEvent=function(){var xe={status:0,name:"cancel"};return xe},De._makeAbortEvent=function(){var xe={status:0,name:"abort",message:"upload task has been abort"};return xe}},{"./utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.string.iterator.js":303,"core-js/modules/web.dom-collections.for-each.js":339,"core-js/modules/web.dom-collections.iterator.js":340}],50:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";oe("core-js/modules/es.string.trim.js"),oe("core-js/modules/es.array.sort.js"),oe("core-js/modules/es.array.join.js"),oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/web.dom-collections.for-each.js"),oe("core-js/modules/es.object.keys.js"),oe("core-js/modules/es.array.concat.js"),oe("core-js/modules/es.regexp.to-string.js");var ce=oe("./../../shims/crypto/crypto.js"),Ee=oe("is-type-of"),Ae=oe("./utils/lowercaseKeyHeader"),ye=Ae.lowercaseKeyHeader;Ne.buildCanonicalizedResource=function(me,xe){var fe="".concat(me),z="?";if(Ee.string(xe)&&xe.trim()!=="")fe+=z+xe;else if(Ee.array(xe))xe.sort(),fe+=z+xe.join("&");else if(xe){var ee=function(le,ue){return le[0]>ue[0]?1:le[0]<ue[0]?-1:0},ae=function(le){fe+=z+le,(xe[le]||xe[le]===0)&&(fe+="=".concat(xe[le])),z="&"};Object.keys(xe).sort(ee).forEach(ae)}return fe},Ne.buildCanonicalString=function(me,xe,fe,z){fe=fe||{};var ee=ye(fe.headers),ae="x-oss-",re=[],le={},ue=[me.toUpperCase(),ee["content-md5"]||"",ee["content-type"],z||ee["x-oss-date"]];return Object.keys(ee).forEach(function(pe){var Pe=pe.toLowerCase();Pe.indexOf(ae)===0&&(le[Pe]=String(ee[pe]).trim())}),Object.keys(le).sort().forEach(function(pe){re.push("".concat(pe,":").concat(le[pe]))}),ue=ue.concat(re),ue.push(this.buildCanonicalizedResource(xe,fe.parameters)),ue.join(`
`)},Ne.computeSignature=function(me,xe){var fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"utf-8",z=ce.createHmac("sha1",me);return z.update(ge.from(xe,fe)).digest("base64")},Ne.authorization=function(me,xe,fe,z){return"OSS ".concat(me,":").concat(this.computeSignature(xe,fe,z))},Ne._signatureForURL=function(me){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},fe=arguments.length>2?arguments[2]:void 0,z=arguments.length>3?arguments[3]:void 0,ee=arguments.length>4?arguments[4]:void 0,ae={},re=xe.subResource,le=re===void 0?{}:re;if(xe.process){var ue="x-oss-process";le[ue]=xe.process}if(xe.trafficLimit){var pe="x-oss-traffic-limit";le[pe]=xe.trafficLimit}if(xe.response&&Object.keys(xe.response).forEach(function(Me){var Oe="response-".concat(Me.toLowerCase());le[Oe]=xe.response[Me]}),Object.keys(xe).forEach(function(Me){var Oe=Me.toLowerCase(),Te=xe[Me];Oe.indexOf("x-oss-")===0?ae[Oe]=Te:(Oe.indexOf("content-md5")===0||Oe.indexOf("content-type")===0)&&(ae[Me]=Te)}),Object.prototype.hasOwnProperty.call(xe,"security-token")&&(le["security-token"]=xe["security-token"]),Object.prototype.hasOwnProperty.call(xe,"callback")){var Pe={callbackUrl:encodeURI(xe.callback.url),callbackBody:xe.callback.body};if(xe.callback.host&&(Pe.callbackHost=xe.callback.host),xe.callback.contentType&&(Pe.callbackBodyType=xe.callback.contentType),le.callback=ge.from(JSON.stringify(Pe)).toString("base64"),xe.callback.customValue){var be={};Object.keys(xe.callback.customValue).forEach(function(Me){be["x:".concat(Me)]=xe.callback.customValue[Me]}),le["callback-var"]=ge.from(JSON.stringify(be)).toString("base64")}}var Ie=this.buildCanonicalString(xe.method,fe,{headers:ae,parameters:le},z.toString());return{Signature:this.computeSignature(me,Ie,ee),subResource:le}}}).call(this)}).call(this,oe("buffer").Buffer)},{"./../../shims/crypto/crypto.js":461,"./utils/lowercaseKeyHeader":71,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.trim.js":308,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466}],51:[function(oe,Ze,Ne){"use strict";oe("core-js/modules/es.regexp.exec.js"),Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.checkBucketName=void 0,Ne.checkBucketName=function(ge){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ee=ce?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!Ee.test(ge))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":300}],52:[function(oe,Ze,Ne){"use strict";oe("core-js/modules/es.regexp.exec.js"),Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.checkConfigValid=void 0;var ge={endpoint:ce,region:/^[a-zA-Z0-9\-_]+$/};function ce(Ee){return typeof Ee=="string"?/^[a-zA-Z0-9._:/-]+$/.test(Ee):Ee.host?/^[a-zA-Z0-9._:/-]+$/.test(Ee.host):!1}Ne.checkConfigValid=function(Ee,Ae){if(ge[Ae]){var ye=!0;if(ge[Ae]instanceof Function?ye=ge[Ae](Ee):ye=ge[Ae].test(Ee),!ye)throw new Error("The ".concat(Ae," must be conform to the specifications"))}}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.checkEnv=void 0;function ce(Ee){ge.browser&&console.warn(Ee)}Ne.checkEnv=ce}).call(this)}).call(this,oe("_process"))},{_process:467}],54:[function(oe,Ze,Ne){"use strict";oe("core-js/modules/es.array.concat.js"),oe("core-js/modules/es.object.entries.js"),oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/web.dom-collections.for-each.js"),Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.checkObjectTag=void 0;var ge=oe("./checkValid"),ce=ge.checkValid,Ee=oe("./isObject"),Ae=Ee.isObject,ye=[{validator:function(fe){if(typeof fe!="string")throw new Error("the key and value of the tag must be String")}},{pattern:/^[a-zA-Z0-9 +-=._:/]+$/,msg:"tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"}],De={key:[].concat(ye,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(ye,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function me(xe){if(!Ae(xe))throw new Error("tag must be Object");var fe=Object.entries(xe);if(fe.length>10)throw new Error("maximum of 10 tags for a object");var z=["key","value"];fe.forEach(function(ee){ee.forEach(function(ae,re){ce(ae,De[z[re]])})})}Ne.checkObjectTag=me},{"./checkValid":55,"./isObject":70,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],55:[function(oe,Ze,Ne){"use strict";oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/web.dom-collections.for-each.js"),oe("core-js/modules/es.regexp.exec.js"),Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.checkValid=void 0;function ge(ce,Ee){Ee.forEach(function(Ae){if(Ae.validator)Ae.validator(ce);else if(Ae.pattern&&!Ae.pattern.test(ce))throw new Error(Ae.msg)})}Ne.checkValid=ge},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],56:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";oe("core-js/modules/es.array.includes.js"),oe("core-js/modules/es.string.includes.js"),oe("core-js/modules/es.object.assign.js"),oe("core-js/modules/es.array.concat.js"),Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.createRequest=void 0;var ce=oe("./../../../shims/crypto/crypto.js"),Ee=oe("debug")("ali-oss"),Ae=oe("mime"),ye=oe("dateformat"),De=oe("copy-to"),me=oe("path"),xe=oe("./encoder"),fe=xe.encoder,z=oe("./isIP"),ee=z.isIP,ae=oe("./setRegion"),re=ae.setRegion,le=oe("../client/getReqUrl"),ue=le.getReqUrl,pe=oe("./isDingTalk"),Pe=pe.isDingTalk;function be(Oe,Te){return Oe[Te]||Oe[Te.toLowerCase()]}function Ie(Oe,Te){delete Oe[Te],delete Oe[Te.toLowerCase()]}function Me(Oe){var Te=new Date;this.options.amendTimeSkewed&&(Te=+new Date+this.options.amendTimeSkewed);var je={"x-oss-date":ye(Te,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(je["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(je["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(je,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(je["x-oss-security-token"]=this.options.stsToken),De(Oe.headers).to(je),be(je,"Content-Type")||(Oe.mime&&Oe.mime.indexOf("/")>0?je["Content-Type"]=Oe.mime:Pe()?je["Content-Type"]="application/octet-stream":je["Content-Type"]=Ae.getType(Oe.mime||me.extname(Oe.object||""))),be(je,"Content-Type")||Ie(je,"Content-Type"),Oe.content&&(Oe.disabledMD5||(!Oe.headers||!Oe.headers["Content-MD5"]?je["Content-MD5"]=ce.createHash("md5").update(ge.from(Oe.content,"utf8")).digest("base64"):je["Content-MD5"]=Oe.headers["Content-MD5"]),je["Content-Length"]||(je["Content-Length"]=Oe.content.length));var ze=Object.prototype.hasOwnProperty;for(var $e in je)je[$e]&&ze.call(je,$e)&&(je[$e]=fe(String(je[$e]),this.options.headerEncoding));var Ue=this._getResource(Oe);if(je.authorization=this.authorization(Oe.method,Ue,Oe.subres,je,this.options.headerEncoding),ee(this.options.endpoint.hostname)){var qe=this.options,et=qe.region,lt=qe.internal,ut=qe.secure,vt=re(et,lt,ut);je.host="".concat(Oe.bucket,".").concat(vt.host)}var tt=ue.bind(this)(Oe);Ee("request %s %s, with headers %j, !!stream: %s",Oe.method,tt,je,!!Oe.stream);var at=Oe.timeout||this.options.timeout,dt={method:Oe.method,content:Oe.content,stream:Oe.stream,headers:je,timeout:at,writeStream:Oe.writeStream,customResponse:Oe.customResponse,ctx:Oe.ctx||this.ctx};return this.agent&&(dt.agent=this.agent),this.httpsAgent&&(dt.httpsAgent=this.httpsAgent),dt.enableProxy=!!this.options.enableProxy,dt.proxy=this.options.proxy?this.options.proxy:null,{url:tt,params:dt}}Ne.createRequest=Me}).call(this)}).call(this,oe("buffer").Buffer)},{"../client/getReqUrl":25,"./../../../shims/crypto/crypto.js":461,"./encoder":59,"./isDingTalk":66,"./isIP":69,"./setRegion":75,buffer:90,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.includes.js":302,dateformat:342,debug:465,mime:374,path:378}],57:[function(oe,Ze,Ne){"use strict";oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/web.dom-collections.for-each.js"),oe("core-js/modules/es.object.entries.js"),oe("core-js/modules/es.regexp.exec.js"),oe("core-js/modules/es.string.replace.js"),oe("core-js/modules/es.array.includes.js"),oe("core-js/modules/es.object.keys.js"),Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.dataFix=void 0;var ge=oe("./isObject"),ce=["true","TRUE","1",1],Ee=["false","FALSE","0",0];function Ae(me,xe,fe){if(ge.isObject(me)){var z=xe.remove,ee=z===void 0?[]:z,ae=xe.rename,re=ae===void 0?{}:ae,le=xe.camel,ue=le===void 0?[]:le,pe=xe.bool,Pe=pe===void 0?[]:pe,be=xe.lowerFirst,Ie=be===void 0?!1:be;return ee.forEach(function(Me){return delete me[Me]}),Object.entries(re).forEach(function(Me){me[Me[0]]&&(me[Me[1]]||(me[Me[1]]=me[Me[0]],delete me[Me[0]]))}),ue.forEach(function(Me){if(me[Me]){var Oe=Me.replace(/^(.)/,function(Te){return Te.toLowerCase()}).replace(/-(\w)/g,function(Te,je){return je.toUpperCase()});me[Oe]||(me[Oe]=me[Me])}}),Pe.forEach(function(Me){me[Me]=ye(me[Me])}),typeof fe=="function"&&fe(me),De(me,Ie),Ae}}Ne.dataFix=Ae;function ye(me){return me?ce.includes(me)?!0:Ee.includes(me)?!1:me:!1}function De(me,xe){xe&&Object.keys(me).forEach(function(fe){var z=fe.replace(/^\w/,function(ee){return ee.toLowerCase()});typeof me[z]=="undefined"&&(me[z]=me[fe],delete me[fe])})}},{"./isObject":70,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],58:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault");oe("core-js/modules/es.array.slice.js"),oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/web.dom-collections.for-each.js"),oe("core-js/modules/es.object.keys.js");var ce=ge(oe("@babel/runtime/helpers/typeof"));Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.deepCopyWith=Ne.deepCopy=void 0;var Ee=oe("./isBuffer");Ne.deepCopy=function(Ae){if(Ae===null||(0,ce.default)(Ae)!=="object")return Ae;if(Ee.isBuffer(Ae))return Ae.slice();var ye=Array.isArray(Ae)?[]:{};return Object.keys(Ae).forEach(function(De){ye[De]=Ne.deepCopy(Ae[De])}),ye},Ne.deepCopyWith=function(Ae,ye){function De(me,xe,fe){var z=ye(me,xe,fe);if(z!==void 0)return z;if(me===null||(0,ce.default)(me)!=="object")return me;if(Ee.isBuffer(me))return me.slice();var ee=Array.isArray(me)?[]:{};return Object.keys(me).forEach(function(ae){ee[ae]=De(me[ae],ae,me)}),ee}return ye?De(Ae,"",null):Ne.deepCopy(Ae)}},{"./isBuffer":65,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],59:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.encoder=void 0;function ce(Ee){var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"utf-8";return Ae==="utf-8"?Ee:ge.from(Ee).toString("latin1")}Ne.encoder=ce}).call(this)}).call(this,oe("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],60:[function(oe,Ze,Ne){"use strict";oe("core-js/modules/es.array.map.js"),oe("core-js/modules/es.regexp.exec.js"),oe("core-js/modules/es.string.replace.js"),Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.formatInventoryConfig=void 0;var ge=oe("../utils/dataFix"),ce=oe("../utils/isObject"),Ee=oe("../utils/isArray"),Ae=oe("../utils/formatObjKey");function ye(me){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return xe&&ce.isObject(me)&&(me=[me]),Ee.isArray(me)?me=me.map(De):me=De(me),me}Ne.formatInventoryConfig=ye;function De(me){return ge.dataFix(me,{bool:["IsEnabled"]},function(xe){var fe,z;xe.prefix=xe.Filter.Prefix,delete xe.Filter,xe.OSSBucketDestination=xe.Destination.OSSBucketDestination,xe.OSSBucketDestination.rolename=xe.OSSBucketDestination.RoleArn.replace(/.*\//,""),delete xe.OSSBucketDestination.RoleArn,xe.OSSBucketDestination.bucket=xe.OSSBucketDestination.Bucket.replace(/.*:::/,""),delete xe.OSSBucketDestination.Bucket,delete xe.Destination,xe.frequency=xe.Schedule.Frequency,delete xe.Schedule.Frequency,!((fe=xe==null?void 0:xe.OptionalFields)===null||fe===void 0)&&fe.Field&&!Ee.isArray((z=xe.OptionalFields)===null||z===void 0?void 0:z.Field)&&(xe.OptionalFields.Field=[xe.OptionalFields.Field])}),me=Ae.formatObjKey(me,"firstLowerCase",{exclude:["OSSBucketDestination","SSE-OSS","SSE-KMS"]}),me}},{"../utils/dataFix":57,"../utils/formatObjKey":61,"../utils/isArray":63,"../utils/isObject":70,"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305}],61:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault");oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/web.dom-collections.for-each.js"),oe("core-js/modules/es.object.keys.js"),oe("core-js/modules/es.array.includes.js"),oe("core-js/modules/es.string.includes.js"),oe("core-js/modules/es.regexp.exec.js"),oe("core-js/modules/es.string.replace.js");var ce=ge(oe("@babel/runtime/helpers/typeof"));Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.formatObjKey=void 0;function Ee(ye,De,me){if(ye===null||(0,ce.default)(ye)!=="object")return ye;var xe;if(Array.isArray(ye)){xe=[];for(var fe=0;fe<ye.length;fe++)xe.push(Ee(ye[fe],De,me))}else xe={},Object.keys(ye).forEach(function(z){xe[Ae(z,De,me)]=Ee(ye[z],De,me)});return xe}Ne.formatObjKey=Ee;function Ae(ye,De,me){return me&&me.exclude&&me.exclude.includes(ye)||(De==="firstUpperCase"?ye=ye.replace(/^./,function(xe){return xe.toUpperCase()}):De==="firstLowerCase"&&(ye=ye.replace(/^./,function(xe){return xe.toLowerCase()}))),ye}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.includes.js":302,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],62:[function(oe,Ze,Ne){"use strict";oe("core-js/modules/es.regexp.exec.js"),Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.getStrBytesCount=void 0;function ge(ce){for(var Ee=0,Ae=0;Ae<ce.length;Ae++){var ye=ce.charAt(Ae);/^[\u00-\uff]$/.test(ye)?Ee+=1:Ee+=2}return Ee}Ne.getStrBytesCount=ge},{"core-js/modules/es.regexp.exec.js":300}],63:[function(oe,Ze,Ne){"use strict";oe("core-js/modules/es.object.to-string.js"),Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.isArray=void 0,Ne.isArray=function(ge){return Object.prototype.toString.call(ge)==="[object Array]"}},{"core-js/modules/es.object.to-string.js":291}],64:[function(oe,Ze,Ne){"use strict";Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.isBlob=void 0;function ge(ce){return typeof Blob!="undefined"&&ce instanceof Blob}Ne.isBlob=ge},{}],65:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.isBuffer=void 0;function ce(Ee){return ge.isBuffer(Ee)}Ne.isBuffer=ce}).call(this)}).call(this,{isBuffer:oe("../../../node_modules/is-buffer/index.js")})},{"../../../node_modules/is-buffer/index.js":366}],66:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";oe("core-js/modules/es.array.includes.js"),oe("core-js/modules/es.string.includes.js"),Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.isDingTalk=void 0;function ce(){return!!(ge.browser&&window.navigator.userAgent.toLowerCase().includes("aliapp(dingtalk"))}Ne.isDingTalk=ce}).call(this)}).call(this,oe("_process"))},{_process:467,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.string.includes.js":302}],67:[function(oe,Ze,Ne){"use strict";Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.isFile=void 0,Ne.isFile=function(ge){return typeof File!="undefined"&&ge instanceof File}},{}],68:[function(oe,Ze,Ne){"use strict";Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.isFunction=void 0,Ne.isFunction=function(ge){return typeof ge=="function"}},{}],69:[function(oe,Ze,Ne){"use strict";oe("core-js/modules/es.regexp.exec.js"),Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.isIP=void 0,Ne.isIP=function(ge){var ce=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,Ee=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/;return ce.test(ge)||Ee.test(ge)}},{"core-js/modules/es.regexp.exec.js":300}],70:[function(oe,Ze,Ne){"use strict";oe("core-js/modules/es.object.to-string.js"),Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.isObject=void 0,Ne.isObject=function(ge){return Object.prototype.toString.call(ge)==="[object Object]"}},{"core-js/modules/es.object.to-string.js":291}],71:[function(oe,Ze,Ne){"use strict";oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/web.dom-collections.for-each.js"),oe("core-js/modules/es.object.keys.js"),Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.lowercaseKeyHeader=void 0;var ge=oe("./isObject");function ce(Ee){var Ae={};return ge.isObject(Ee)&&Object.keys(Ee).forEach(function(ye){Ae[ye.toLowerCase()]=Ee[ye]}),Ae}Ne.lowercaseKeyHeader=ce},{"./isObject":70,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],72:[function(oe,Ze,Ne){"use strict";oe("core-js/modules/es.regexp.exec.js"),oe("core-js/modules/es.string.replace.js"),oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/web.dom-collections.for-each.js"),oe("core-js/modules/es.object.keys.js"),oe("core-js/modules/es.array.concat.js"),oe("core-js/modules/es.array.join.js"),oe("core-js/modules/es.array.map.js"),oe("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.obj2xml=void 0;var ge=oe("./formatObjKey");function ce(Ae){return Object.prototype.toString.call(Ae).replace(/(.*? |])/g,"").toLowerCase()}function Ee(Ae,ye){var De="";return ye&&ye.headers&&(De=`<?xml version="1.0" encoding="UTF-8"?>
`),ye&&ye.firstUpperCase&&(Ae=ge.formatObjKey(Ae,"firstUpperCase")),ce(Ae)==="object"?Object.keys(Ae).forEach(function(me){ce(Ae[me])!=="undefined"&&ce(Ae[me])!=="null"&&(ce(Ae[me])==="string"||ce(Ae[me])==="number"?De+="<".concat(me,">").concat(Ae[me],"</").concat(me,">"):ce(Ae[me])==="object"?De+="<".concat(me,">").concat(Ee(Ae[me]),"</").concat(me,">"):ce(Ae[me])==="array"?De+=Ae[me].map(function(xe){return"<".concat(me,">").concat(Ee(xe),"</").concat(me,">")}).join(""):De+="<".concat(me,">").concat(Ae[me].toString(),"</").concat(me,">"))}):De+=Ae.toString(),De}Ne.obj2xml=Ee},{"./formatObjKey":61,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],73:[function(oe,Ze,Ne){"use strict";oe("core-js/modules/es.array.slice.js"),oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/es.function.name.js"),oe("core-js/modules/es.array.from.js"),oe("core-js/modules/es.string.iterator.js"),oe("core-js/modules/es.regexp.exec.js"),oe("core-js/modules/es.symbol.js"),oe("core-js/modules/es.symbol.description.js"),oe("core-js/modules/es.symbol.iterator.js"),oe("core-js/modules/es.array.iterator.js"),oe("core-js/modules/web.dom-collections.iterator.js"),oe("core-js/modules/es.object.assign.js");function ge(ye,De){var me=typeof Symbol!="undefined"&&ye[Symbol.iterator]||ye["@@iterator"];if(!me){if(Array.isArray(ye)||(me=ce(ye))||De&&ye&&typeof ye.length=="number"){me&&(ye=me);var xe=0,fe=function(){};return{s:fe,n:function(){return xe>=ye.length?{done:!0}:{done:!1,value:ye[xe++]}},e:function(le){throw le},f:fe}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var z=!0,ee=!1,ae;return{s:function(){me=me.call(ye)},n:function(){var le=me.next();return z=le.done,le},e:function(le){ee=!0,ae=le},f:function(){try{!z&&me.return!=null&&me.return()}finally{if(ee)throw ae}}}}function ce(ye,De){if(ye){if(typeof ye=="string")return Ee(ye,De);var me=Object.prototype.toString.call(ye).slice(8,-1);if(me==="Object"&&ye.constructor&&(me=ye.constructor.name),me==="Map"||me==="Set")return Array.from(ye);if(me==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(me))return Ee(ye,De)}}function Ee(ye,De){(De==null||De>ye.length)&&(De=ye.length);for(var me=0,xe=new Array(De);me<De;me++)xe[me]=ye[me];return xe}Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.omit=void 0;function Ae(ye,De){var me=Object.assign({},ye),xe=ge(De),fe;try{for(xe.s();!(fe=xe.n()).done;){var z=fe.value;delete me[z]}}catch(ee){xe.e(ee)}finally{xe.f()}return me}Ne.omit=Ae},{"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.iterator.js":303,"core-js/modules/es.symbol.description.js":310,"core-js/modules/es.symbol.iterator.js":312,"core-js/modules/es.symbol.js":313,"core-js/modules/web.dom-collections.iterator.js":340}],74:[function(oe,Ze,Ne){"use strict";oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/es.promise.js"),Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.retry=void 0;function ge(ce,Ee){var Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ye=0,De=Ae.retryDelay,me=De===void 0?500:De,xe=Ae.errorHandler,fe=xe===void 0?function(){return!0}:xe,z=function ee(){for(var ae=arguments.length,re=new Array(ae),le=0;le<ae;le++)re[le]=arguments[le];return new Promise(function(ue,pe){ce.apply(void 0,re).then(function(Pe){ye=0,ue(Pe)}).catch(function(Pe){ye<Ee&&fe(Pe)?(ye++,setTimeout(function(){ue(ee.apply(void 0,re))},me)):(ye=0,pe(Pe))})})};return z}Ne.retry=ge},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],75:[function(oe,Ze,Ne){"use strict";var ge=function(ye){return ye&&ye.__esModule?ye:{default:ye}};Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.setRegion=void 0;var ce=ge(oe("url")),Ee=oe("./checkConfigValid");function Ae(ye){var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Ee.checkConfigValid(ye,"region");var xe=me?"https://":"http://",fe=De?"-internal.aliyuncs.com":".aliyuncs.com",z="vpc100-oss-cn-";return ye.substr(0,z.length)===z&&(fe=".aliyuncs.com"),ce.default.parse(xe+ye+fe)}Ne.setRegion=Ae},{"./checkConfigValid":52,url:472}],76:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.object.keys.js"),oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/es.array.find.js"),oe("core-js/modules/es.object.assign.js");var Ee=ge(oe("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.checkCredentials=Ne.setSTSToken=void 0;var Ae=oe("./formatObjKey");function ye(){return De.apply(this,arguments)}function De(){return De=(0,Ee.default)(ce.default.mark(function xe(){var fe,z;return ce.default.wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:if(this.options||(this.options={}),fe=new Date,!this.stsTokenFreshTime){ae.next=14;break}if(!(+fe-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){ae.next=12;break}return this.stsTokenFreshTime=fe,ae.next=7,this.options.refreshSTSToken();case 7:z=ae.sent,z=Ae.formatObjKey(z,"firstLowerCase"),z.securityToken&&(z.stsToken=z.securityToken),me(z),Object.assign(this.options,z);case 12:ae.next=15;break;case 14:this.stsTokenFreshTime=fe;case 15:return ae.abrupt("return",null);case 16:case"end":return ae.stop()}},xe,this)})),De.apply(this,arguments)}Ne.setSTSToken=ye;function me(xe){var fe=["accessKeySecret","accessKeyId","stsToken"],z=Object.keys(xe);fe.forEach(function(ee){if(!z.find(function(ae){return ae===ee}))throw Error("refreshSTSToken must return contains ".concat(ee))})}Ne.checkCredentials=me},{"./formatObjKey":61,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.find.js":275,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291}],77:[function(oe,Ze,Ne){function ge(Ee,Ae,ye,De,me,xe,fe){try{var z=Ee[xe](fe),ee=z.value}catch(ae){ye(ae);return}z.done?Ae(ee):Promise.resolve(ee).then(De,me)}function ce(Ee){return function(){var Ae=this,ye=arguments;return new Promise(function(De,me){var xe=Ee.apply(Ae,ye);function fe(ee){ge(xe,De,me,fe,z,"next",ee)}function z(ee){ge(xe,De,me,fe,z,"throw",ee)}fe(void 0)})}}Ze.exports=ce,Ze.exports.__esModule=!0,Ze.exports.default=Ze.exports},{}],78:[function(oe,Ze,Ne){function ge(ce){return ce&&ce.__esModule?ce:{default:ce}}Ze.exports=ge,Ze.exports.__esModule=!0,Ze.exports.default=Ze.exports},{}],79:[function(oe,Ze,Ne){function ge(ce){"@babel/helpers - typeof";return Ze.exports=ge=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ee){return typeof Ee}:function(Ee){return Ee&&typeof Symbol=="function"&&Ee.constructor===Symbol&&Ee!==Symbol.prototype?"symbol":typeof Ee},Ze.exports.__esModule=!0,Ze.exports.default=Ze.exports,ge(ce)}Ze.exports=ge,Ze.exports.__esModule=!0,Ze.exports.default=Ze.exports},{}],80:[function(oe,Ze,Ne){Ze.exports=oe("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(oe,Ze,Ne){Ze.exports=ge,Ze.exports.HttpsAgent=ge;function ge(){}},{}],82:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";var ce=oe("object-assign");function Ee(et,lt){if(et===lt)return 0;for(var ut=et.length,vt=lt.length,tt=0,at=Math.min(ut,vt);tt<at;++tt)if(et[tt]!==lt[tt]){ut=et[tt],vt=lt[tt];break}return ut<vt?-1:vt<ut?1:0}function Ae(et){return ge.Buffer&&typeof ge.Buffer.isBuffer=="function"?ge.Buffer.isBuffer(et):!!(et!=null&&et._isBuffer)}var ye=oe("util/"),De=Object.prototype.hasOwnProperty,me=Array.prototype.slice,xe=function(){return function(){}.name==="foo"}();function fe(et){return Object.prototype.toString.call(et)}function z(et){return Ae(et)||typeof ge.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(et):et?!!(et instanceof DataView||et.buffer&&et.buffer instanceof ArrayBuffer):!1}var ee=Ze.exports=be,ae=/\s*function\s+([^\(\s]*)\s*/;function re(et){if(ye.isFunction(et)){if(xe)return et.name;var lt=et.toString(),ut=lt.match(ae);return ut&&ut[1]}}ee.AssertionError=function(lt){this.name="AssertionError",this.actual=lt.actual,this.expected=lt.expected,this.operator=lt.operator,lt.message?(this.message=lt.message,this.generatedMessage=!1):(this.message=pe(this),this.generatedMessage=!0);var ut=lt.stackStartFunction||Pe;if(Error.captureStackTrace)Error.captureStackTrace(this,ut);else{var vt=new Error;if(vt.stack){var tt=vt.stack,at=re(ut),dt=tt.indexOf(`
`+at);if(dt>=0){var St=tt.indexOf(`
`,dt+1);tt=tt.substring(St+1)}this.stack=tt}}},ye.inherits(ee.AssertionError,Error);function le(et,lt){return typeof et=="string"?et.length<lt?et:et.slice(0,lt):et}function ue(et){if(xe||!ye.isFunction(et))return ye.inspect(et);var lt=re(et),ut=lt?": "+lt:"";return"[Function"+ut+"]"}function pe(et){return le(ue(et.actual),128)+" "+et.operator+" "+le(ue(et.expected),128)}function Pe(et,lt,ut,vt,tt){throw new ee.AssertionError({message:ut,actual:et,expected:lt,operator:vt,stackStartFunction:tt})}ee.fail=Pe;function be(et,lt){et||Pe(et,!0,lt,"==",ee.ok)}ee.ok=be,ee.equal=function(lt,ut,vt){lt!=ut&&Pe(lt,ut,vt,"==",ee.equal)},ee.notEqual=function(lt,ut,vt){lt==ut&&Pe(lt,ut,vt,"!=",ee.notEqual)},ee.deepEqual=function(lt,ut,vt){Ie(lt,ut,!1)||Pe(lt,ut,vt,"deepEqual",ee.deepEqual)},ee.deepStrictEqual=function(lt,ut,vt){Ie(lt,ut,!0)||Pe(lt,ut,vt,"deepStrictEqual",ee.deepStrictEqual)};function Ie(et,lt,ut,vt){if(et===lt)return!0;if(Ae(et)&&Ae(lt))return Ee(et,lt)===0;if(ye.isDate(et)&&ye.isDate(lt))return et.getTime()===lt.getTime();if(ye.isRegExp(et)&&ye.isRegExp(lt))return et.source===lt.source&&et.global===lt.global&&et.multiline===lt.multiline&&et.lastIndex===lt.lastIndex&&et.ignoreCase===lt.ignoreCase;if((et===null||typeof et!="object")&&(lt===null||typeof lt!="object"))return ut?et===lt:et==lt;if(z(et)&&z(lt)&&fe(et)===fe(lt)&&!(et instanceof Float32Array||et instanceof Float64Array))return Ee(new Uint8Array(et.buffer),new Uint8Array(lt.buffer))===0;if(Ae(et)!==Ae(lt))return!1;vt=vt||{actual:[],expected:[]};var tt=vt.actual.indexOf(et);return tt!==-1&&tt===vt.expected.indexOf(lt)?!0:(vt.actual.push(et),vt.expected.push(lt),Oe(et,lt,ut,vt))}function Me(et){return Object.prototype.toString.call(et)=="[object Arguments]"}function Oe(et,lt,ut,vt){if(et==null||lt===null||lt===void 0)return!1;if(ye.isPrimitive(et)||ye.isPrimitive(lt))return et===lt;if(ut&&Object.getPrototypeOf(et)!==Object.getPrototypeOf(lt))return!1;var tt=Me(et),at=Me(lt);if(tt&&!at||!tt&&at)return!1;if(tt)return et=me.call(et),lt=me.call(lt),Ie(et,lt,ut);var dt=qe(et),St=qe(lt),xt,ft;if(dt.length!==St.length)return!1;for(dt.sort(),St.sort(),ft=dt.length-1;ft>=0;ft--)if(dt[ft]!==St[ft])return!1;for(ft=dt.length-1;ft>=0;ft--)if(xt=dt[ft],!Ie(et[xt],lt[xt],ut,vt))return!1;return!0}ee.notDeepEqual=function(lt,ut,vt){Ie(lt,ut,!1)&&Pe(lt,ut,vt,"notDeepEqual",ee.notDeepEqual)},ee.notDeepStrictEqual=Te;function Te(et,lt,ut){Ie(et,lt,!0)&&Pe(et,lt,ut,"notDeepStrictEqual",Te)}ee.strictEqual=function(lt,ut,vt){lt!==ut&&Pe(lt,ut,vt,"===",ee.strictEqual)},ee.notStrictEqual=function(lt,ut,vt){lt===ut&&Pe(lt,ut,vt,"!==",ee.notStrictEqual)};function je(et,lt){if(!et||!lt)return!1;if(Object.prototype.toString.call(lt)=="[object RegExp]")return lt.test(et);try{if(et instanceof lt)return!0}catch(ut){}return Error.isPrototypeOf(lt)?!1:lt.call({},et)===!0}function ze(et){var lt;try{et()}catch(ut){lt=ut}return lt}function $e(et,lt,ut,vt){var tt;if(typeof lt!="function")throw new TypeError('"block" argument must be a function');typeof ut=="string"&&(vt=ut,ut=null),tt=ze(lt),vt=(ut&&ut.name?" ("+ut.name+").":".")+(vt?" "+vt:"."),et&&!tt&&Pe(tt,ut,"Missing expected exception"+vt);var at=typeof vt=="string",dt=!et&&ye.isError(tt),St=!et&&tt&&!ut;if((dt&&at&&je(tt,ut)||St)&&Pe(tt,ut,"Got unwanted exception"+vt),et&&tt&&ut&&!je(tt,ut)||!et&&tt)throw tt}ee.throws=function(et,lt,ut){$e(!0,et,lt,ut)},ee.doesNotThrow=function(et,lt,ut){$e(!1,et,lt,ut)},ee.ifError=function(et){if(et)throw et};function Ue(et,lt){et||Pe(et,!0,lt,"==",Ue)}ee.strict=ce(Ue,ee,{equal:ee.strictEqual,deepEqual:ee.deepStrictEqual,notEqual:ee.notStrictEqual,notDeepEqual:ee.notDeepStrictEqual}),ee.strict.strict=ee.strict;var qe=Object.keys||function(et){var lt=[];for(var ut in et)De.call(et,ut)&&lt.push(ut);return lt}}).call(this)}).call(this,typeof fn!="undefined"?fn:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(oe,Ze,Ne){typeof Object.create=="function"?Ze.exports=function(ce,Ee){ce.super_=Ee,ce.prototype=Object.create(Ee.prototype,{constructor:{value:ce,enumerable:!1,writable:!0,configurable:!0}})}:Ze.exports=function(ce,Ee){ce.super_=Ee;var Ae=function(){};Ae.prototype=Ee.prototype,ce.prototype=new Ae,ce.prototype.constructor=ce}},{}],84:[function(oe,Ze,Ne){Ze.exports=function(ce){return ce&&typeof ce=="object"&&typeof ce.copy=="function"&&typeof ce.fill=="function"&&typeof ce.readUInt8=="function"}},{}],85:[function(oe,Ze,Ne){(function(ge,ce){(function(){var Ee=/%[sdj%]/g;Ne.format=function(St){if(!Oe(St)){for(var xt=[],ft=0;ft<arguments.length;ft++)xt.push(De(arguments[ft]));return xt.join(" ")}for(var ft=1,pt=arguments,yt=pt.length,Tt=String(St).replace(Ee,function(Gt){if(Gt==="%%")return"%";if(ft>=yt)return Gt;switch(Gt){case"%s":return String(pt[ft++]);case"%d":return Number(pt[ft++]);case"%j":try{return JSON.stringify(pt[ft++])}catch(wt){return"[Circular]"}default:return Gt}}),At=pt[ft];ft<yt;At=pt[++ft])be(At)||!$e(At)?Tt+=" "+At:Tt+=" "+De(At);return Tt},Ne.deprecate=function(St,xt){if(je(ce.process))return function(){return Ne.deprecate(St,xt).apply(this,arguments)};if(ge.noDeprecation===!0)return St;var ft=!1;function pt(){if(!ft){if(ge.throwDeprecation)throw new Error(xt);ge.traceDeprecation?console.trace(xt):console.error(xt),ft=!0}return St.apply(this,arguments)}return pt};var Ae={},ye;Ne.debuglog=function(St){if(je(ye)&&(ye=ge.env.NODE_DEBUG||""),St=St.toUpperCase(),!Ae[St])if(new RegExp("\\b"+St+"\\b","i").test(ye)){var xt=ge.pid;Ae[St]=function(){var ft=Ne.format.apply(Ne,arguments);console.error("%s %d: %s",St,xt,ft)}}else Ae[St]=function(){};return Ae[St]};function De(St,xt){var ft={seen:[],stylize:xe};return arguments.length>=3&&(ft.depth=arguments[2]),arguments.length>=4&&(ft.colors=arguments[3]),Pe(xt)?ft.showHidden=xt:xt&&Ne._extend(ft,xt),je(ft.showHidden)&&(ft.showHidden=!1),je(ft.depth)&&(ft.depth=2),je(ft.colors)&&(ft.colors=!1),je(ft.customInspect)&&(ft.customInspect=!0),ft.colors&&(ft.stylize=me),z(ft,St,ft.depth)}Ne.inspect=De,De.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},De.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function me(St,xt){var ft=De.styles[xt];return ft?"\x1B["+De.colors[ft][0]+"m"+St+"\x1B["+De.colors[ft][1]+"m":St}function xe(St,xt){return St}function fe(St){var xt={};return St.forEach(function(ft,pt){xt[ft]=!0}),xt}function z(St,xt,ft){if(St.customInspect&&xt&&et(xt.inspect)&&xt.inspect!==Ne.inspect&&!(xt.constructor&&xt.constructor.prototype===xt)){var pt=xt.inspect(ft,St);return Oe(pt)||(pt=z(St,pt,ft)),pt}var yt=ee(St,xt);if(yt)return yt;var Tt=Object.keys(xt),At=fe(Tt);if(St.showHidden&&(Tt=Object.getOwnPropertyNames(xt)),qe(xt)&&(Tt.indexOf("message")>=0||Tt.indexOf("description")>=0))return ae(xt);if(Tt.length===0){if(et(xt)){var Gt=xt.name?": "+xt.name:"";return St.stylize("[Function"+Gt+"]","special")}if(ze(xt))return St.stylize(RegExp.prototype.toString.call(xt),"regexp");if(Ue(xt))return St.stylize(Date.prototype.toString.call(xt),"date");if(qe(xt))return ae(xt)}var wt="",bt=!1,it=["{","}"];if(pe(xt)&&(bt=!0,it=["[","]"]),et(xt)){var _e=xt.name?": "+xt.name:"";wt=" [Function"+_e+"]"}if(ze(xt)&&(wt=" "+RegExp.prototype.toString.call(xt)),Ue(xt)&&(wt=" "+Date.prototype.toUTCString.call(xt)),qe(xt)&&(wt=" "+ae(xt)),Tt.length===0&&(!bt||xt.length==0))return it[0]+wt+it[1];if(ft<0)return ze(xt)?St.stylize(RegExp.prototype.toString.call(xt),"regexp"):St.stylize("[Object]","special");St.seen.push(xt);var we;return bt?we=re(St,xt,ft,At,Tt):we=Tt.map(function(Ce){return le(St,xt,ft,At,Ce,bt)}),St.seen.pop(),ue(we,wt,it)}function ee(St,xt){if(je(xt))return St.stylize("undefined","undefined");if(Oe(xt)){var ft="'"+JSON.stringify(xt).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return St.stylize(ft,"string")}if(Me(xt))return St.stylize(""+xt,"number");if(Pe(xt))return St.stylize(""+xt,"boolean");if(be(xt))return St.stylize("null","null")}function ae(St){return"["+Error.prototype.toString.call(St)+"]"}function re(St,xt,ft,pt,yt){for(var Tt=[],At=0,Gt=xt.length;At<Gt;++At)dt(xt,String(At))?Tt.push(le(St,xt,ft,pt,String(At),!0)):Tt.push("");return yt.forEach(function(wt){wt.match(/^\d+$/)||Tt.push(le(St,xt,ft,pt,wt,!0))}),Tt}function le(St,xt,ft,pt,yt,Tt){var At,Gt,wt;if(wt=Object.getOwnPropertyDescriptor(xt,yt)||{value:xt[yt]},wt.get?wt.set?Gt=St.stylize("[Getter/Setter]","special"):Gt=St.stylize("[Getter]","special"):wt.set&&(Gt=St.stylize("[Setter]","special")),dt(pt,yt)||(At="["+yt+"]"),Gt||(St.seen.indexOf(wt.value)<0?(be(ft)?Gt=z(St,wt.value,null):Gt=z(St,wt.value,ft-1),Gt.indexOf(`
`)>-1&&(Tt?Gt=Gt.split(`
`).map(function(bt){return" "+bt}).join(`
`).substr(2):Gt=`
`+Gt.split(`
`).map(function(bt){return" "+bt}).join(`
`))):Gt=St.stylize("[Circular]","special")),je(At)){if(Tt&&yt.match(/^\d+$/))return Gt;At=JSON.stringify(""+yt),At.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(At=At.substr(1,At.length-2),At=St.stylize(At,"name")):(At=At.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),At=St.stylize(At,"string"))}return At+": "+Gt}function ue(St,xt,ft){var pt=0,yt=St.reduce(function(Tt,At){return pt++,At.indexOf(`
`)>=0&&pt++,Tt+At.replace(/\u001b\[\d\d?m/g,"").length+1},0);return yt>60?ft[0]+(xt===""?"":xt+`
`)+" "+St.join(`,
`)+" "+ft[1]:ft[0]+xt+" "+St.join(", ")+" "+ft[1]}function pe(St){return Array.isArray(St)}Ne.isArray=pe;function Pe(St){return typeof St=="boolean"}Ne.isBoolean=Pe;function be(St){return St===null}Ne.isNull=be;function Ie(St){return St==null}Ne.isNullOrUndefined=Ie;function Me(St){return typeof St=="number"}Ne.isNumber=Me;function Oe(St){return typeof St=="string"}Ne.isString=Oe;function Te(St){return typeof St=="symbol"}Ne.isSymbol=Te;function je(St){return St===void 0}Ne.isUndefined=je;function ze(St){return $e(St)&&ut(St)==="[object RegExp]"}Ne.isRegExp=ze;function $e(St){return typeof St=="object"&&St!==null}Ne.isObject=$e;function Ue(St){return $e(St)&&ut(St)==="[object Date]"}Ne.isDate=Ue;function qe(St){return $e(St)&&(ut(St)==="[object Error]"||St instanceof Error)}Ne.isError=qe;function et(St){return typeof St=="function"}Ne.isFunction=et;function lt(St){return St===null||typeof St=="boolean"||typeof St=="number"||typeof St=="string"||typeof St=="symbol"||typeof St=="undefined"}Ne.isPrimitive=lt,Ne.isBuffer=oe("./support/isBuffer");function ut(St){return Object.prototype.toString.call(St)}function vt(St){return St<10?"0"+St.toString(10):St.toString(10)}var tt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function at(){var St=new Date,xt=[vt(St.getHours()),vt(St.getMinutes()),vt(St.getSeconds())].join(":");return[St.getDate(),tt[St.getMonth()],xt].join(" ")}Ne.log=function(){console.log("%s - %s",at(),Ne.format.apply(Ne,arguments))},Ne.inherits=oe("inherits"),Ne._extend=function(St,xt){if(!xt||!$e(xt))return St;for(var ft=Object.keys(xt),pt=ft.length;pt--;)St[ft[pt]]=xt[ft[pt]];return St};function dt(St,xt){return Object.prototype.hasOwnProperty.call(St,xt)}}).call(this)}).call(this,oe("_process"),typeof fn!="undefined"?fn:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";var ce=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],Ee=typeof globalThis=="undefined"?ge:globalThis;Ze.exports=function(){for(var ye=[],De=0;De<ce.length;De++)typeof Ee[ce[De]]=="function"&&(ye[ye.length]=ce[De]);return ye}}).call(this)}).call(this,typeof fn!="undefined"?fn:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],87:[function(oe,Ze,Ne){"use strict";Ne.byteLength=xe,Ne.toByteArray=z,Ne.fromByteArray=re;for(var ge=[],ce=[],Ee=typeof Uint8Array!="undefined"?Uint8Array:Array,Ae="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ye=0,De=Ae.length;ye<De;++ye)ge[ye]=Ae[ye],ce[Ae.charCodeAt(ye)]=ye;ce[45]=62,ce[95]=63;function me(le){var ue=le.length;if(ue%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var pe=le.indexOf("=");pe===-1&&(pe=ue);var Pe=pe===ue?0:4-pe%4;return[pe,Pe]}function xe(le){var ue=me(le),pe=ue[0],Pe=ue[1];return(pe+Pe)*3/4-Pe}function fe(le,ue,pe){return(ue+pe)*3/4-pe}function z(le){var ue,pe=me(le),Pe=pe[0],be=pe[1],Ie=new Ee(fe(le,Pe,be)),Me=0,Oe=be>0?Pe-4:Pe,Te;for(Te=0;Te<Oe;Te+=4)ue=ce[le.charCodeAt(Te)]<<18|ce[le.charCodeAt(Te+1)]<<12|ce[le.charCodeAt(Te+2)]<<6|ce[le.charCodeAt(Te+3)],Ie[Me++]=ue>>16&255,Ie[Me++]=ue>>8&255,Ie[Me++]=ue&255;return be===2&&(ue=ce[le.charCodeAt(Te)]<<2|ce[le.charCodeAt(Te+1)]>>4,Ie[Me++]=ue&255),be===1&&(ue=ce[le.charCodeAt(Te)]<<10|ce[le.charCodeAt(Te+1)]<<4|ce[le.charCodeAt(Te+2)]>>2,Ie[Me++]=ue>>8&255,Ie[Me++]=ue&255),Ie}function ee(le){return ge[le>>18&63]+ge[le>>12&63]+ge[le>>6&63]+ge[le&63]}function ae(le,ue,pe){for(var Pe,be=[],Ie=ue;Ie<pe;Ie+=3)Pe=(le[Ie]<<16&16711680)+(le[Ie+1]<<8&65280)+(le[Ie+2]&255),be.push(ee(Pe));return be.join("")}function re(le){for(var ue,pe=le.length,Pe=pe%3,be=[],Ie=16383,Me=0,Oe=pe-Pe;Me<Oe;Me+=Ie)be.push(ae(le,Me,Me+Ie>Oe?Oe:Me+Ie));return Pe===1?(ue=le[pe-1],be.push(ge[ue>>2]+ge[ue<<4&63]+"==")):Pe===2&&(ue=(le[pe-2]<<8)+le[pe-1],be.push(ge[ue>>10]+ge[ue>>4&63]+ge[ue<<2&63]+"=")),be.join("")}},{}],88:[function(oe,Ze,Ne){(function(ge,ce,Ee){typeof Ze!="undefined"&&Ze.exports?Ze.exports=Ee():typeof We=="function"&&We.amd?We(ce,Ee):ge[ce]=Ee()})(this,"bowser",function(){var ge=!0;function ce(fe){function z(xt){var ft=fe.match(xt);return ft&&ft.length>1&&ft[1]||""}function ee(xt){var ft=fe.match(xt);return ft&&ft.length>1&&ft[2]||""}var ae=z(/(ipod|iphone|ipad)/i).toLowerCase(),re=/like android/i.test(fe),le=!re&&/android/i.test(fe),ue=/nexus\s*[0-6]\s*/i.test(fe),pe=!ue&&/nexus\s*[0-9]+/i.test(fe),Pe=/CrOS/.test(fe),be=/silk/i.test(fe),Ie=/sailfish/i.test(fe),Me=/tizen/i.test(fe),Oe=/(web|hpw)(o|0)s/i.test(fe),Te=/windows phone/i.test(fe),je=/SamsungBrowser/i.test(fe),ze=!Te&&/windows/i.test(fe),$e=!ae&&!be&&/macintosh/i.test(fe),Ue=!le&&!Ie&&!Me&&!Oe&&/linux/i.test(fe),qe=ee(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),et=z(/version\/(\d+(\.\d+)?)/i),lt=/tablet/i.test(fe)&&!/tablet pc/i.test(fe),ut=!lt&&/[^-]mobi/i.test(fe),vt=/xbox/i.test(fe),tt;/opera/i.test(fe)?tt={name:"Opera",opera:ge,version:et||z(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(fe)?tt={name:"Opera",opera:ge,version:z(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||et}:/SamsungBrowser/i.test(fe)?tt={name:"Samsung Internet for Android",samsungBrowser:ge,version:et||z(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(fe)?tt={name:"NAVER Whale browser",whale:ge,version:z(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(fe)?tt={name:"MZ Browser",mzbrowser:ge,version:z(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(fe)?tt={name:"Opera Coast",coast:ge,version:et||z(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(fe)?tt={name:"Focus",focus:ge,version:z(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(fe)?tt={name:"Yandex Browser",yandexbrowser:ge,version:et||z(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(fe)?tt={name:"UC Browser",ucbrowser:ge,version:z(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(fe)?tt={name:"Maxthon",maxthon:ge,version:z(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(fe)?tt={name:"Epiphany",epiphany:ge,version:z(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(fe)?tt={name:"Puffin",puffin:ge,version:z(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(fe)?tt={name:"Sleipnir",sleipnir:ge,version:z(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(fe)?tt={name:"K-Meleon",kMeleon:ge,version:z(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:Te?(tt={name:"Windows Phone",osname:"Windows Phone",windowsphone:ge},qe?(tt.msedge=ge,tt.version=qe):(tt.msie=ge,tt.version=z(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(fe)?tt={name:"Internet Explorer",msie:ge,version:z(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:Pe?tt={name:"Chrome",osname:"Chrome OS",chromeos:ge,chromeBook:ge,chrome:ge,version:z(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(fe)?tt={name:"Microsoft Edge",msedge:ge,version:qe}:/vivaldi/i.test(fe)?tt={name:"Vivaldi",vivaldi:ge,version:z(/vivaldi\/(\d+(\.\d+)?)/i)||et}:Ie?tt={name:"Sailfish",osname:"Sailfish OS",sailfish:ge,version:z(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(fe)?tt={name:"SeaMonkey",seamonkey:ge,version:z(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(fe)?(tt={name:"Firefox",firefox:ge,version:z(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(fe)&&(tt.firefoxos=ge,tt.osname="Firefox OS")):be?tt={name:"Amazon Silk",silk:ge,version:z(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(fe)?tt={name:"PhantomJS",phantom:ge,version:z(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(fe)?tt={name:"SlimerJS",slimer:ge,version:z(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(fe)||/rim\stablet/i.test(fe)?tt={name:"BlackBerry",osname:"BlackBerry OS",blackberry:ge,version:et||z(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:Oe?(tt={name:"WebOS",osname:"WebOS",webos:ge,version:et||z(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(fe)&&(tt.touchpad=ge)):/bada/i.test(fe)?tt={name:"Bada",osname:"Bada",bada:ge,version:z(/dolfin\/(\d+(\.\d+)?)/i)}:Me?tt={name:"Tizen",osname:"Tizen",tizen:ge,version:z(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||et}:/qupzilla/i.test(fe)?tt={name:"QupZilla",qupzilla:ge,version:z(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||et}:/chromium/i.test(fe)?tt={name:"Chromium",chromium:ge,version:z(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||et}:/chrome|crios|crmo/i.test(fe)?tt={name:"Chrome",chrome:ge,version:z(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:le?tt={name:"Android",version:et}:/safari|applewebkit/i.test(fe)?(tt={name:"Safari",safari:ge},et&&(tt.version=et)):ae?(tt={name:ae=="iphone"?"iPhone":ae=="ipad"?"iPad":"iPod"},et&&(tt.version=et)):/googlebot/i.test(fe)?tt={name:"Googlebot",googlebot:ge,version:z(/googlebot\/(\d+(\.\d+))/i)||et}:tt={name:z(/^(.*)\/(.*) /),version:ee(/^(.*)\/(.*) /)},!tt.msedge&&/(apple)?webkit/i.test(fe)?(/(apple)?webkit\/537\.36/i.test(fe)?(tt.name=tt.name||"Blink",tt.blink=ge):(tt.name=tt.name||"Webkit",tt.webkit=ge),!tt.version&&et&&(tt.version=et)):!tt.opera&&/gecko\//i.test(fe)&&(tt.name=tt.name||"Gecko",tt.gecko=ge,tt.version=tt.version||z(/gecko\/(\d+(\.\d+)?)/i)),!tt.windowsphone&&(le||tt.silk)?(tt.android=ge,tt.osname="Android"):!tt.windowsphone&&ae?(tt[ae]=ge,tt.ios=ge,tt.osname="iOS"):$e?(tt.mac=ge,tt.osname="macOS"):vt?(tt.xbox=ge,tt.osname="Xbox"):ze?(tt.windows=ge,tt.osname="Windows"):Ue&&(tt.linux=ge,tt.osname="Linux");function at(xt){switch(xt){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var dt="";tt.windows?dt=at(z(/Windows ((NT|XP)( \d\d?.\d)?)/i)):tt.windowsphone?dt=z(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):tt.mac?(dt=z(/Mac OS X (\d+([_\.\s]\d+)*)/i),dt=dt.replace(/[_\s]/g,".")):ae?(dt=z(/os (\d+([_\s]\d+)*) like mac os x/i),dt=dt.replace(/[_\s]/g,".")):le?dt=z(/android[ \/-](\d+(\.\d+)*)/i):tt.webos?dt=z(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):tt.blackberry?dt=z(/rim\stablet\sos\s(\d+(\.\d+)*)/i):tt.bada?dt=z(/bada\/(\d+(\.\d+)*)/i):tt.tizen&&(dt=z(/tizen[\/\s](\d+(\.\d+)*)/i)),dt&&(tt.osversion=dt);var St=!tt.windows&&dt.split(".")[0];return lt||pe||ae=="ipad"||le&&(St==3||St>=4&&!ut)||tt.silk?tt.tablet=ge:(ut||ae=="iphone"||ae=="ipod"||le||ue||tt.blackberry||tt.webos||tt.bada)&&(tt.mobile=ge),tt.msedge||tt.msie&&tt.version>=10||tt.yandexbrowser&&tt.version>=15||tt.vivaldi&&tt.version>=1||tt.chrome&&tt.version>=20||tt.samsungBrowser&&tt.version>=4||tt.whale&&De([tt.version,"1.0"])===1||tt.mzbrowser&&De([tt.version,"6.0"])===1||tt.focus&&De([tt.version,"1.0"])===1||tt.firefox&&tt.version>=20||tt.safari&&tt.version>=6||tt.opera&&tt.version>=10||tt.ios&&tt.osversion&&tt.osversion.split(".")[0]>=6||tt.blackberry&&tt.version>=10.1||tt.chromium&&tt.version>=20?tt.a=ge:tt.msie&&tt.version<10||tt.chrome&&tt.version<20||tt.firefox&&tt.version<20||tt.safari&&tt.version<6||tt.opera&&tt.version<10||tt.ios&&tt.osversion&&tt.osversion.split(".")[0]<6||tt.chromium&&tt.version<20?tt.c=ge:tt.x=ge,tt}var Ee=ce(typeof navigator!="undefined"&&navigator.userAgent||"");Ee.test=function(fe){for(var z=0;z<fe.length;++z){var ee=fe[z];if(typeof ee=="string"&&ee in Ee)return!0}return!1};function Ae(fe){return fe.split(".").length}function ye(fe,z){var ee=[],ae;if(Array.prototype.map)return Array.prototype.map.call(fe,z);for(ae=0;ae<fe.length;ae++)ee.push(z(fe[ae]));return ee}function De(fe){for(var z=Math.max(Ae(fe[0]),Ae(fe[1])),ee=ye(fe,function(ae){var re=z-Ae(ae);return ae=ae+new Array(re+1).join(".0"),ye(ae.split("."),function(le){return new Array(20-le.length).join("0")+le}).reverse()});--z>=0;){if(ee[0][z]>ee[1][z])return 1;if(ee[0][z]===ee[1][z]){if(z===0)return 0}else return-1}}function me(fe,z,ee){var ae=Ee;typeof z=="string"&&(ee=z,z=void 0),z===void 0&&(z=!1),ee&&(ae=ce(ee));var re=""+ae.version;for(var le in fe)if(fe.hasOwnProperty(le)&&ae[le]){if(typeof fe[le]!="string")throw new Error("Browser version in the minVersion map should be a string: "+le+": "+String(fe));return De([re,fe[le]])<0}return z}function xe(fe,z,ee){return!me(fe,z,ee)}return Ee.isUnsupportedBrowser=me,Ee.compareVersions=De,Ee.check=xe,Ee._detect=ce,Ee.detect=ce,Ee})},{}],89:[function(oe,Ze,Ne){},{}],90:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";var ce=oe("base64-js"),Ee=oe("ieee754");Ne.Buffer=me,Ne.SlowBuffer=Pe,Ne.INSPECT_MAX_BYTES=50;var Ae=2147483647;Ne.kMaxLength=Ae,me.TYPED_ARRAY_SUPPORT=ye(),!me.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ye(){try{var Ge=new Uint8Array(1);return Ge.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Ge.foo()===42}catch(Ke){return!1}}Object.defineProperty(me.prototype,"parent",{enumerable:!0,get:function(){if(me.isBuffer(this))return this.buffer}}),Object.defineProperty(me.prototype,"offset",{enumerable:!0,get:function(){if(me.isBuffer(this))return this.byteOffset}});function De(Ge){if(Ge>Ae)throw new RangeError('The value "'+Ge+'" is invalid for option "size"');var Ke=new Uint8Array(Ge);return Ke.__proto__=me.prototype,Ke}function me(Ge,Ke,Xe){if(typeof Ge=="number"){if(typeof Ke=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ee(Ge)}return xe(Ge,Ke,Xe)}typeof Symbol!="undefined"&&Symbol.species!=null&&me[Symbol.species]===me&&Object.defineProperty(me,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),me.poolSize=8192;function xe(Ge,Ke,Xe){if(typeof Ge=="string")return ae(Ge,Ke);if(ArrayBuffer.isView(Ge))return re(Ge);if(Ge==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ge);if(Je(Ge,ArrayBuffer)||Ge&&Je(Ge.buffer,ArrayBuffer))return le(Ge,Ke,Xe);if(typeof Ge=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Qe=Ge.valueOf&&Ge.valueOf();if(Qe!=null&&Qe!==Ge)return me.from(Qe,Ke,Xe);var ht=ue(Ge);if(ht)return ht;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Ge[Symbol.toPrimitive]=="function")return me.from(Ge[Symbol.toPrimitive]("string"),Ke,Xe);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ge)}me.from=function(Ge,Ke,Xe){return xe(Ge,Ke,Xe)},me.prototype.__proto__=Uint8Array.prototype,me.__proto__=Uint8Array;function fe(Ge){if(typeof Ge!="number")throw new TypeError('"size" argument must be of type number');if(Ge<0)throw new RangeError('The value "'+Ge+'" is invalid for option "size"')}function z(Ge,Ke,Xe){return fe(Ge),Ge<=0?De(Ge):Ke!==void 0?typeof Xe=="string"?De(Ge).fill(Ke,Xe):De(Ge).fill(Ke):De(Ge)}me.alloc=function(Ge,Ke,Xe){return z(Ge,Ke,Xe)};function ee(Ge){return fe(Ge),De(Ge<0?0:pe(Ge)|0)}me.allocUnsafe=function(Ge){return ee(Ge)},me.allocUnsafeSlow=function(Ge){return ee(Ge)};function ae(Ge,Ke){if((typeof Ke!="string"||Ke==="")&&(Ke="utf8"),!me.isEncoding(Ke))throw new TypeError("Unknown encoding: "+Ke);var Xe=be(Ge,Ke)|0,Qe=De(Xe),ht=Qe.write(Ge,Ke);return ht!==Xe&&(Qe=Qe.slice(0,ht)),Qe}function re(Ge){for(var Ke=Ge.length<0?0:pe(Ge.length)|0,Xe=De(Ke),Qe=0;Qe<Ke;Qe+=1)Xe[Qe]=Ge[Qe]&255;return Xe}function le(Ge,Ke,Xe){if(Ke<0||Ge.byteLength<Ke)throw new RangeError('"offset" is outside of buffer bounds');if(Ge.byteLength<Ke+(Xe||0))throw new RangeError('"length" is outside of buffer bounds');var Qe;return Ke===void 0&&Xe===void 0?Qe=new Uint8Array(Ge):Xe===void 0?Qe=new Uint8Array(Ge,Ke):Qe=new Uint8Array(Ge,Ke,Xe),Qe.__proto__=me.prototype,Qe}function ue(Ge){if(me.isBuffer(Ge)){var Ke=pe(Ge.length)|0,Xe=De(Ke);return Xe.length===0||Ge.copy(Xe,0,0,Ke),Xe}if(Ge.length!==void 0)return typeof Ge.length!="number"||Le(Ge.length)?De(0):re(Ge);if(Ge.type==="Buffer"&&Array.isArray(Ge.data))return re(Ge.data)}function pe(Ge){if(Ge>=Ae)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ae.toString(16)+" bytes");return Ge|0}function Pe(Ge){return+Ge!=Ge&&(Ge=0),me.alloc(+Ge)}me.isBuffer=function(Ke){return Ke!=null&&Ke._isBuffer===!0&&Ke!==me.prototype},me.compare=function(Ke,Xe){if(Je(Ke,Uint8Array)&&(Ke=me.from(Ke,Ke.offset,Ke.byteLength)),Je(Xe,Uint8Array)&&(Xe=me.from(Xe,Xe.offset,Xe.byteLength)),!me.isBuffer(Ke)||!me.isBuffer(Xe))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Ke===Xe)return 0;for(var Qe=Ke.length,ht=Xe.length,Et=0,mt=Math.min(Qe,ht);Et<mt;++Et)if(Ke[Et]!==Xe[Et]){Qe=Ke[Et],ht=Xe[Et];break}return Qe<ht?-1:ht<Qe?1:0},me.isEncoding=function(Ke){switch(String(Ke).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},me.concat=function(Ke,Xe){if(!Array.isArray(Ke))throw new TypeError('"list" argument must be an Array of Buffers');if(Ke.length===0)return me.alloc(0);var Qe;if(Xe===void 0)for(Xe=0,Qe=0;Qe<Ke.length;++Qe)Xe+=Ke[Qe].length;var ht=me.allocUnsafe(Xe),Et=0;for(Qe=0;Qe<Ke.length;++Qe){var mt=Ke[Qe];if(Je(mt,Uint8Array)&&(mt=me.from(mt)),!me.isBuffer(mt))throw new TypeError('"list" argument must be an Array of Buffers');mt.copy(ht,Et),Et+=mt.length}return ht};function be(Ge,Ke){if(me.isBuffer(Ge))return Ge.length;if(ArrayBuffer.isView(Ge)||Je(Ge,ArrayBuffer))return Ge.byteLength;if(typeof Ge!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Ge);var Xe=Ge.length,Qe=arguments.length>2&&arguments[2]===!0;if(!Qe&&Xe===0)return 0;for(var ht=!1;;)switch(Ke){case"ascii":case"latin1":case"binary":return Xe;case"utf8":case"utf-8":return it(Ge).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Xe*2;case"hex":return Xe>>>1;case"base64":return Ce(Ge).length;default:if(ht)return Qe?-1:it(Ge).length;Ke=(""+Ke).toLowerCase(),ht=!0}}me.byteLength=be;function Ie(Ge,Ke,Xe){var Qe=!1;if((Ke===void 0||Ke<0)&&(Ke=0),Ke>this.length||((Xe===void 0||Xe>this.length)&&(Xe=this.length),Xe<=0)||(Xe>>>=0,Ke>>>=0,Xe<=Ke))return"";for(Ge||(Ge="utf8");;)switch(Ge){case"hex":return St(this,Ke,Xe);case"utf8":case"utf-8":return ut(this,Ke,Xe);case"ascii":return at(this,Ke,Xe);case"latin1":case"binary":return dt(this,Ke,Xe);case"base64":return lt(this,Ke,Xe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xt(this,Ke,Xe);default:if(Qe)throw new TypeError("Unknown encoding: "+Ge);Ge=(Ge+"").toLowerCase(),Qe=!0}}me.prototype._isBuffer=!0;function Me(Ge,Ke,Xe){var Qe=Ge[Ke];Ge[Ke]=Ge[Xe],Ge[Xe]=Qe}me.prototype.swap16=function(){var Ke=this.length;if(Ke%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Xe=0;Xe<Ke;Xe+=2)Me(this,Xe,Xe+1);return this},me.prototype.swap32=function(){var Ke=this.length;if(Ke%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var Xe=0;Xe<Ke;Xe+=4)Me(this,Xe,Xe+3),Me(this,Xe+1,Xe+2);return this},me.prototype.swap64=function(){var Ke=this.length;if(Ke%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var Xe=0;Xe<Ke;Xe+=8)Me(this,Xe,Xe+7),Me(this,Xe+1,Xe+6),Me(this,Xe+2,Xe+5),Me(this,Xe+3,Xe+4);return this},me.prototype.toString=function(){var Ke=this.length;return Ke===0?"":arguments.length===0?ut(this,0,Ke):Ie.apply(this,arguments)},me.prototype.toLocaleString=me.prototype.toString,me.prototype.equals=function(Ke){if(!me.isBuffer(Ke))throw new TypeError("Argument must be a Buffer");return this===Ke?!0:me.compare(this,Ke)===0},me.prototype.inspect=function(){var Ke="",Xe=Ne.INSPECT_MAX_BYTES;return Ke=this.toString("hex",0,Xe).replace(/(.{2})/g,"$1 ").trim(),this.length>Xe&&(Ke+=" ... "),"<Buffer "+Ke+">"},me.prototype.compare=function(Ke,Xe,Qe,ht,Et){if(Je(Ke,Uint8Array)&&(Ke=me.from(Ke,Ke.offset,Ke.byteLength)),!me.isBuffer(Ke))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Ke);if(Xe===void 0&&(Xe=0),Qe===void 0&&(Qe=Ke?Ke.length:0),ht===void 0&&(ht=0),Et===void 0&&(Et=this.length),Xe<0||Qe>Ke.length||ht<0||Et>this.length)throw new RangeError("out of range index");if(ht>=Et&&Xe>=Qe)return 0;if(ht>=Et)return-1;if(Xe>=Qe)return 1;if(Xe>>>=0,Qe>>>=0,ht>>>=0,Et>>>=0,this===Ke)return 0;for(var mt=Et-ht,Ft=Qe-Xe,Kt=Math.min(mt,Ft),jt=this.slice(ht,Et),Wt=Ke.slice(Xe,Qe),Vt=0;Vt<Kt;++Vt)if(jt[Vt]!==Wt[Vt]){mt=jt[Vt],Ft=Wt[Vt];break}return mt<Ft?-1:Ft<mt?1:0};function Oe(Ge,Ke,Xe,Qe,ht){if(Ge.length===0)return-1;if(typeof Xe=="string"?(Qe=Xe,Xe=0):Xe>2147483647?Xe=2147483647:Xe<-2147483648&&(Xe=-2147483648),Xe=+Xe,Le(Xe)&&(Xe=ht?0:Ge.length-1),Xe<0&&(Xe=Ge.length+Xe),Xe>=Ge.length){if(ht)return-1;Xe=Ge.length-1}else if(Xe<0)if(ht)Xe=0;else return-1;if(typeof Ke=="string"&&(Ke=me.from(Ke,Qe)),me.isBuffer(Ke))return Ke.length===0?-1:Te(Ge,Ke,Xe,Qe,ht);if(typeof Ke=="number")return Ke=Ke&255,typeof Uint8Array.prototype.indexOf=="function"?ht?Uint8Array.prototype.indexOf.call(Ge,Ke,Xe):Uint8Array.prototype.lastIndexOf.call(Ge,Ke,Xe):Te(Ge,[Ke],Xe,Qe,ht);throw new TypeError("val must be string, number or Buffer")}function Te(Ge,Ke,Xe,Qe,ht){var Et=1,mt=Ge.length,Ft=Ke.length;if(Qe!==void 0&&(Qe=String(Qe).toLowerCase(),Qe==="ucs2"||Qe==="ucs-2"||Qe==="utf16le"||Qe==="utf-16le")){if(Ge.length<2||Ke.length<2)return-1;Et=2,mt/=2,Ft/=2,Xe/=2}function Kt(Bt,_t){return Et===1?Bt[_t]:Bt.readUInt16BE(_t*Et)}var jt;if(ht){var Wt=-1;for(jt=Xe;jt<mt;jt++)if(Kt(Ge,jt)===Kt(Ke,Wt===-1?0:jt-Wt)){if(Wt===-1&&(Wt=jt),jt-Wt+1===Ft)return Wt*Et}else Wt!==-1&&(jt-=jt-Wt),Wt=-1}else for(Xe+Ft>mt&&(Xe=mt-Ft),jt=Xe;jt>=0;jt--){for(var Vt=!0,nn=0;nn<Ft;nn++)if(Kt(Ge,jt+nn)!==Kt(Ke,nn)){Vt=!1;break}if(Vt)return jt}return-1}me.prototype.includes=function(Ke,Xe,Qe){return this.indexOf(Ke,Xe,Qe)!==-1},me.prototype.indexOf=function(Ke,Xe,Qe){return Oe(this,Ke,Xe,Qe,!0)},me.prototype.lastIndexOf=function(Ke,Xe,Qe){return Oe(this,Ke,Xe,Qe,!1)};function je(Ge,Ke,Xe,Qe){Xe=Number(Xe)||0;var ht=Ge.length-Xe;Qe?(Qe=Number(Qe),Qe>ht&&(Qe=ht)):Qe=ht;var Et=Ke.length;Qe>Et/2&&(Qe=Et/2);for(var mt=0;mt<Qe;++mt){var Ft=parseInt(Ke.substr(mt*2,2),16);if(Le(Ft))return mt;Ge[Xe+mt]=Ft}return mt}function ze(Ge,Ke,Xe,Qe){return Ye(it(Ke,Ge.length-Xe),Ge,Xe,Qe)}function $e(Ge,Ke,Xe,Qe){return Ye(_e(Ke),Ge,Xe,Qe)}function Ue(Ge,Ke,Xe,Qe){return $e(Ge,Ke,Xe,Qe)}function qe(Ge,Ke,Xe,Qe){return Ye(Ce(Ke),Ge,Xe,Qe)}function et(Ge,Ke,Xe,Qe){return Ye(we(Ke,Ge.length-Xe),Ge,Xe,Qe)}me.prototype.write=function(Ke,Xe,Qe,ht){if(Xe===void 0)ht="utf8",Qe=this.length,Xe=0;else if(Qe===void 0&&typeof Xe=="string")ht=Xe,Qe=this.length,Xe=0;else if(isFinite(Xe))Xe=Xe>>>0,isFinite(Qe)?(Qe=Qe>>>0,ht===void 0&&(ht="utf8")):(ht=Qe,Qe=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Et=this.length-Xe;if((Qe===void 0||Qe>Et)&&(Qe=Et),Ke.length>0&&(Qe<0||Xe<0)||Xe>this.length)throw new RangeError("Attempt to write outside buffer bounds");ht||(ht="utf8");for(var mt=!1;;)switch(ht){case"hex":return je(this,Ke,Xe,Qe);case"utf8":case"utf-8":return ze(this,Ke,Xe,Qe);case"ascii":return $e(this,Ke,Xe,Qe);case"latin1":case"binary":return Ue(this,Ke,Xe,Qe);case"base64":return qe(this,Ke,Xe,Qe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return et(this,Ke,Xe,Qe);default:if(mt)throw new TypeError("Unknown encoding: "+ht);ht=(""+ht).toLowerCase(),mt=!0}},me.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function lt(Ge,Ke,Xe){return Ke===0&&Xe===Ge.length?ce.fromByteArray(Ge):ce.fromByteArray(Ge.slice(Ke,Xe))}function ut(Ge,Ke,Xe){Xe=Math.min(Ge.length,Xe);for(var Qe=[],ht=Ke;ht<Xe;){var Et=Ge[ht],mt=null,Ft=Et>239?4:Et>223?3:Et>191?2:1;if(ht+Ft<=Xe){var Kt,jt,Wt,Vt;switch(Ft){case 1:Et<128&&(mt=Et);break;case 2:Kt=Ge[ht+1],(Kt&192)===128&&(Vt=(Et&31)<<6|Kt&63,Vt>127&&(mt=Vt));break;case 3:Kt=Ge[ht+1],jt=Ge[ht+2],(Kt&192)===128&&(jt&192)===128&&(Vt=(Et&15)<<12|(Kt&63)<<6|jt&63,Vt>2047&&(Vt<55296||Vt>57343)&&(mt=Vt));break;case 4:Kt=Ge[ht+1],jt=Ge[ht+2],Wt=Ge[ht+3],(Kt&192)===128&&(jt&192)===128&&(Wt&192)===128&&(Vt=(Et&15)<<18|(Kt&63)<<12|(jt&63)<<6|Wt&63,Vt>65535&&Vt<1114112&&(mt=Vt))}}mt===null?(mt=65533,Ft=1):mt>65535&&(mt-=65536,Qe.push(mt>>>10&1023|55296),mt=56320|mt&1023),Qe.push(mt),ht+=Ft}return tt(Qe)}var vt=4096;function tt(Ge){var Ke=Ge.length;if(Ke<=vt)return String.fromCharCode.apply(String,Ge);for(var Xe="",Qe=0;Qe<Ke;)Xe+=String.fromCharCode.apply(String,Ge.slice(Qe,Qe+=vt));return Xe}function at(Ge,Ke,Xe){var Qe="";Xe=Math.min(Ge.length,Xe);for(var ht=Ke;ht<Xe;++ht)Qe+=String.fromCharCode(Ge[ht]&127);return Qe}function dt(Ge,Ke,Xe){var Qe="";Xe=Math.min(Ge.length,Xe);for(var ht=Ke;ht<Xe;++ht)Qe+=String.fromCharCode(Ge[ht]);return Qe}function St(Ge,Ke,Xe){var Qe=Ge.length;(!Ke||Ke<0)&&(Ke=0),(!Xe||Xe<0||Xe>Qe)&&(Xe=Qe);for(var ht="",Et=Ke;Et<Xe;++Et)ht+=bt(Ge[Et]);return ht}function xt(Ge,Ke,Xe){for(var Qe=Ge.slice(Ke,Xe),ht="",Et=0;Et<Qe.length;Et+=2)ht+=String.fromCharCode(Qe[Et]+Qe[Et+1]*256);return ht}me.prototype.slice=function(Ke,Xe){var Qe=this.length;Ke=~~Ke,Xe=Xe===void 0?Qe:~~Xe,Ke<0?(Ke+=Qe,Ke<0&&(Ke=0)):Ke>Qe&&(Ke=Qe),Xe<0?(Xe+=Qe,Xe<0&&(Xe=0)):Xe>Qe&&(Xe=Qe),Xe<Ke&&(Xe=Ke);var ht=this.subarray(Ke,Xe);return ht.__proto__=me.prototype,ht};function ft(Ge,Ke,Xe){if(Ge%1!==0||Ge<0)throw new RangeError("offset is not uint");if(Ge+Ke>Xe)throw new RangeError("Trying to access beyond buffer length")}me.prototype.readUIntLE=function(Ke,Xe,Qe){Ke=Ke>>>0,Xe=Xe>>>0,Qe||ft(Ke,Xe,this.length);for(var ht=this[Ke],Et=1,mt=0;++mt<Xe&&(Et*=256);)ht+=this[Ke+mt]*Et;return ht},me.prototype.readUIntBE=function(Ke,Xe,Qe){Ke=Ke>>>0,Xe=Xe>>>0,Qe||ft(Ke,Xe,this.length);for(var ht=this[Ke+--Xe],Et=1;Xe>0&&(Et*=256);)ht+=this[Ke+--Xe]*Et;return ht},me.prototype.readUInt8=function(Ke,Xe){return Ke=Ke>>>0,Xe||ft(Ke,1,this.length),this[Ke]},me.prototype.readUInt16LE=function(Ke,Xe){return Ke=Ke>>>0,Xe||ft(Ke,2,this.length),this[Ke]|this[Ke+1]<<8},me.prototype.readUInt16BE=function(Ke,Xe){return Ke=Ke>>>0,Xe||ft(Ke,2,this.length),this[Ke]<<8|this[Ke+1]},me.prototype.readUInt32LE=function(Ke,Xe){return Ke=Ke>>>0,Xe||ft(Ke,4,this.length),(this[Ke]|this[Ke+1]<<8|this[Ke+2]<<16)+this[Ke+3]*16777216},me.prototype.readUInt32BE=function(Ke,Xe){return Ke=Ke>>>0,Xe||ft(Ke,4,this.length),this[Ke]*16777216+(this[Ke+1]<<16|this[Ke+2]<<8|this[Ke+3])},me.prototype.readIntLE=function(Ke,Xe,Qe){Ke=Ke>>>0,Xe=Xe>>>0,Qe||ft(Ke,Xe,this.length);for(var ht=this[Ke],Et=1,mt=0;++mt<Xe&&(Et*=256);)ht+=this[Ke+mt]*Et;return Et*=128,ht>=Et&&(ht-=Math.pow(2,8*Xe)),ht},me.prototype.readIntBE=function(Ke,Xe,Qe){Ke=Ke>>>0,Xe=Xe>>>0,Qe||ft(Ke,Xe,this.length);for(var ht=Xe,Et=1,mt=this[Ke+--ht];ht>0&&(Et*=256);)mt+=this[Ke+--ht]*Et;return Et*=128,mt>=Et&&(mt-=Math.pow(2,8*Xe)),mt},me.prototype.readInt8=function(Ke,Xe){return Ke=Ke>>>0,Xe||ft(Ke,1,this.length),this[Ke]&128?(255-this[Ke]+1)*-1:this[Ke]},me.prototype.readInt16LE=function(Ke,Xe){Ke=Ke>>>0,Xe||ft(Ke,2,this.length);var Qe=this[Ke]|this[Ke+1]<<8;return Qe&32768?Qe|4294901760:Qe},me.prototype.readInt16BE=function(Ke,Xe){Ke=Ke>>>0,Xe||ft(Ke,2,this.length);var Qe=this[Ke+1]|this[Ke]<<8;return Qe&32768?Qe|4294901760:Qe},me.prototype.readInt32LE=function(Ke,Xe){return Ke=Ke>>>0,Xe||ft(Ke,4,this.length),this[Ke]|this[Ke+1]<<8|this[Ke+2]<<16|this[Ke+3]<<24},me.prototype.readInt32BE=function(Ke,Xe){return Ke=Ke>>>0,Xe||ft(Ke,4,this.length),this[Ke]<<24|this[Ke+1]<<16|this[Ke+2]<<8|this[Ke+3]},me.prototype.readFloatLE=function(Ke,Xe){return Ke=Ke>>>0,Xe||ft(Ke,4,this.length),Ee.read(this,Ke,!0,23,4)},me.prototype.readFloatBE=function(Ke,Xe){return Ke=Ke>>>0,Xe||ft(Ke,4,this.length),Ee.read(this,Ke,!1,23,4)},me.prototype.readDoubleLE=function(Ke,Xe){return Ke=Ke>>>0,Xe||ft(Ke,8,this.length),Ee.read(this,Ke,!0,52,8)},me.prototype.readDoubleBE=function(Ke,Xe){return Ke=Ke>>>0,Xe||ft(Ke,8,this.length),Ee.read(this,Ke,!1,52,8)};function pt(Ge,Ke,Xe,Qe,ht,Et){if(!me.isBuffer(Ge))throw new TypeError('"buffer" argument must be a Buffer instance');if(Ke>ht||Ke<Et)throw new RangeError('"value" argument is out of bounds');if(Xe+Qe>Ge.length)throw new RangeError("Index out of range")}me.prototype.writeUIntLE=function(Ke,Xe,Qe,ht){if(Ke=+Ke,Xe=Xe>>>0,Qe=Qe>>>0,!ht){var Et=Math.pow(2,8*Qe)-1;pt(this,Ke,Xe,Qe,Et,0)}var mt=1,Ft=0;for(this[Xe]=Ke&255;++Ft<Qe&&(mt*=256);)this[Xe+Ft]=Ke/mt&255;return Xe+Qe},me.prototype.writeUIntBE=function(Ke,Xe,Qe,ht){if(Ke=+Ke,Xe=Xe>>>0,Qe=Qe>>>0,!ht){var Et=Math.pow(2,8*Qe)-1;pt(this,Ke,Xe,Qe,Et,0)}var mt=Qe-1,Ft=1;for(this[Xe+mt]=Ke&255;--mt>=0&&(Ft*=256);)this[Xe+mt]=Ke/Ft&255;return Xe+Qe},me.prototype.writeUInt8=function(Ke,Xe,Qe){return Ke=+Ke,Xe=Xe>>>0,Qe||pt(this,Ke,Xe,1,255,0),this[Xe]=Ke&255,Xe+1},me.prototype.writeUInt16LE=function(Ke,Xe,Qe){return Ke=+Ke,Xe=Xe>>>0,Qe||pt(this,Ke,Xe,2,65535,0),this[Xe]=Ke&255,this[Xe+1]=Ke>>>8,Xe+2},me.prototype.writeUInt16BE=function(Ke,Xe,Qe){return Ke=+Ke,Xe=Xe>>>0,Qe||pt(this,Ke,Xe,2,65535,0),this[Xe]=Ke>>>8,this[Xe+1]=Ke&255,Xe+2},me.prototype.writeUInt32LE=function(Ke,Xe,Qe){return Ke=+Ke,Xe=Xe>>>0,Qe||pt(this,Ke,Xe,4,4294967295,0),this[Xe+3]=Ke>>>24,this[Xe+2]=Ke>>>16,this[Xe+1]=Ke>>>8,this[Xe]=Ke&255,Xe+4},me.prototype.writeUInt32BE=function(Ke,Xe,Qe){return Ke=+Ke,Xe=Xe>>>0,Qe||pt(this,Ke,Xe,4,4294967295,0),this[Xe]=Ke>>>24,this[Xe+1]=Ke>>>16,this[Xe+2]=Ke>>>8,this[Xe+3]=Ke&255,Xe+4},me.prototype.writeIntLE=function(Ke,Xe,Qe,ht){if(Ke=+Ke,Xe=Xe>>>0,!ht){var Et=Math.pow(2,8*Qe-1);pt(this,Ke,Xe,Qe,Et-1,-Et)}var mt=0,Ft=1,Kt=0;for(this[Xe]=Ke&255;++mt<Qe&&(Ft*=256);)Ke<0&&Kt===0&&this[Xe+mt-1]!==0&&(Kt=1),this[Xe+mt]=(Ke/Ft>>0)-Kt&255;return Xe+Qe},me.prototype.writeIntBE=function(Ke,Xe,Qe,ht){if(Ke=+Ke,Xe=Xe>>>0,!ht){var Et=Math.pow(2,8*Qe-1);pt(this,Ke,Xe,Qe,Et-1,-Et)}var mt=Qe-1,Ft=1,Kt=0;for(this[Xe+mt]=Ke&255;--mt>=0&&(Ft*=256);)Ke<0&&Kt===0&&this[Xe+mt+1]!==0&&(Kt=1),this[Xe+mt]=(Ke/Ft>>0)-Kt&255;return Xe+Qe},me.prototype.writeInt8=function(Ke,Xe,Qe){return Ke=+Ke,Xe=Xe>>>0,Qe||pt(this,Ke,Xe,1,127,-128),Ke<0&&(Ke=255+Ke+1),this[Xe]=Ke&255,Xe+1},me.prototype.writeInt16LE=function(Ke,Xe,Qe){return Ke=+Ke,Xe=Xe>>>0,Qe||pt(this,Ke,Xe,2,32767,-32768),this[Xe]=Ke&255,this[Xe+1]=Ke>>>8,Xe+2},me.prototype.writeInt16BE=function(Ke,Xe,Qe){return Ke=+Ke,Xe=Xe>>>0,Qe||pt(this,Ke,Xe,2,32767,-32768),this[Xe]=Ke>>>8,this[Xe+1]=Ke&255,Xe+2},me.prototype.writeInt32LE=function(Ke,Xe,Qe){return Ke=+Ke,Xe=Xe>>>0,Qe||pt(this,Ke,Xe,4,2147483647,-2147483648),this[Xe]=Ke&255,this[Xe+1]=Ke>>>8,this[Xe+2]=Ke>>>16,this[Xe+3]=Ke>>>24,Xe+4},me.prototype.writeInt32BE=function(Ke,Xe,Qe){return Ke=+Ke,Xe=Xe>>>0,Qe||pt(this,Ke,Xe,4,2147483647,-2147483648),Ke<0&&(Ke=4294967295+Ke+1),this[Xe]=Ke>>>24,this[Xe+1]=Ke>>>16,this[Xe+2]=Ke>>>8,this[Xe+3]=Ke&255,Xe+4};function yt(Ge,Ke,Xe,Qe,ht,Et){if(Xe+Qe>Ge.length)throw new RangeError("Index out of range");if(Xe<0)throw new RangeError("Index out of range")}function Tt(Ge,Ke,Xe,Qe,ht){return Ke=+Ke,Xe=Xe>>>0,ht||yt(Ge,Ke,Xe,4,34028234663852886e22,-34028234663852886e22),Ee.write(Ge,Ke,Xe,Qe,23,4),Xe+4}me.prototype.writeFloatLE=function(Ke,Xe,Qe){return Tt(this,Ke,Xe,!0,Qe)},me.prototype.writeFloatBE=function(Ke,Xe,Qe){return Tt(this,Ke,Xe,!1,Qe)};function At(Ge,Ke,Xe,Qe,ht){return Ke=+Ke,Xe=Xe>>>0,ht||yt(Ge,Ke,Xe,8,17976931348623157e292,-17976931348623157e292),Ee.write(Ge,Ke,Xe,Qe,52,8),Xe+8}me.prototype.writeDoubleLE=function(Ke,Xe,Qe){return At(this,Ke,Xe,!0,Qe)},me.prototype.writeDoubleBE=function(Ke,Xe,Qe){return At(this,Ke,Xe,!1,Qe)},me.prototype.copy=function(Ke,Xe,Qe,ht){if(!me.isBuffer(Ke))throw new TypeError("argument should be a Buffer");if(Qe||(Qe=0),!ht&&ht!==0&&(ht=this.length),Xe>=Ke.length&&(Xe=Ke.length),Xe||(Xe=0),ht>0&&ht<Qe&&(ht=Qe),ht===Qe||Ke.length===0||this.length===0)return 0;if(Xe<0)throw new RangeError("targetStart out of bounds");if(Qe<0||Qe>=this.length)throw new RangeError("Index out of range");if(ht<0)throw new RangeError("sourceEnd out of bounds");ht>this.length&&(ht=this.length),Ke.length-Xe<ht-Qe&&(ht=Ke.length-Xe+Qe);var Et=ht-Qe;if(this===Ke&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(Xe,Qe,ht);else if(this===Ke&&Qe<Xe&&Xe<ht)for(var mt=Et-1;mt>=0;--mt)Ke[mt+Xe]=this[mt+Qe];else Uint8Array.prototype.set.call(Ke,this.subarray(Qe,ht),Xe);return Et},me.prototype.fill=function(Ke,Xe,Qe,ht){if(typeof Ke=="string"){if(typeof Xe=="string"?(ht=Xe,Xe=0,Qe=this.length):typeof Qe=="string"&&(ht=Qe,Qe=this.length),ht!==void 0&&typeof ht!="string")throw new TypeError("encoding must be a string");if(typeof ht=="string"&&!me.isEncoding(ht))throw new TypeError("Unknown encoding: "+ht);if(Ke.length===1){var Et=Ke.charCodeAt(0);(ht==="utf8"&&Et<128||ht==="latin1")&&(Ke=Et)}}else typeof Ke=="number"&&(Ke=Ke&255);if(Xe<0||this.length<Xe||this.length<Qe)throw new RangeError("Out of range index");if(Qe<=Xe)return this;Xe=Xe>>>0,Qe=Qe===void 0?this.length:Qe>>>0,Ke||(Ke=0);var mt;if(typeof Ke=="number")for(mt=Xe;mt<Qe;++mt)this[mt]=Ke;else{var Ft=me.isBuffer(Ke)?Ke:me.from(Ke,ht),Kt=Ft.length;if(Kt===0)throw new TypeError('The value "'+Ke+'" is invalid for argument "value"');for(mt=0;mt<Qe-Xe;++mt)this[mt+Xe]=Ft[mt%Kt]}return this};var Gt=/[^+/0-9A-Za-z-_]/g;function wt(Ge){if(Ge=Ge.split("=")[0],Ge=Ge.trim().replace(Gt,""),Ge.length<2)return"";for(;Ge.length%4!==0;)Ge=Ge+"=";return Ge}function bt(Ge){return Ge<16?"0"+Ge.toString(16):Ge.toString(16)}function it(Ge,Ke){Ke=Ke||1/0;for(var Xe,Qe=Ge.length,ht=null,Et=[],mt=0;mt<Qe;++mt){if(Xe=Ge.charCodeAt(mt),Xe>55295&&Xe<57344){if(!ht){if(Xe>56319){(Ke-=3)>-1&&Et.push(239,191,189);continue}else if(mt+1===Qe){(Ke-=3)>-1&&Et.push(239,191,189);continue}ht=Xe;continue}if(Xe<56320){(Ke-=3)>-1&&Et.push(239,191,189),ht=Xe;continue}Xe=(ht-55296<<10|Xe-56320)+65536}else ht&&(Ke-=3)>-1&&Et.push(239,191,189);if(ht=null,Xe<128){if((Ke-=1)<0)break;Et.push(Xe)}else if(Xe<2048){if((Ke-=2)<0)break;Et.push(Xe>>6|192,Xe&63|128)}else if(Xe<65536){if((Ke-=3)<0)break;Et.push(Xe>>12|224,Xe>>6&63|128,Xe&63|128)}else if(Xe<1114112){if((Ke-=4)<0)break;Et.push(Xe>>18|240,Xe>>12&63|128,Xe>>6&63|128,Xe&63|128)}else throw new Error("Invalid code point")}return Et}function _e(Ge){for(var Ke=[],Xe=0;Xe<Ge.length;++Xe)Ke.push(Ge.charCodeAt(Xe)&255);return Ke}function we(Ge,Ke){for(var Xe,Qe,ht,Et=[],mt=0;mt<Ge.length&&!((Ke-=2)<0);++mt)Xe=Ge.charCodeAt(mt),Qe=Xe>>8,ht=Xe%256,Et.push(ht),Et.push(Qe);return Et}function Ce(Ge){return ce.toByteArray(wt(Ge))}function Ye(Ge,Ke,Xe,Qe){for(var ht=0;ht<Qe&&!(ht+Xe>=Ke.length||ht>=Ge.length);++ht)Ke[ht+Xe]=Ge[ht];return ht}function Je(Ge,Ke){return Ge instanceof Ke||Ge!=null&&Ge.constructor!=null&&Ge.constructor.name!=null&&Ge.constructor.name===Ke.name}function Le(Ge){return Ge!==Ge}}).call(this)}).call(this,oe("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(oe,Ze,Ne){Ze.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],92:[function(oe,Ze,Ne){"use strict";var ge=oe("get-intrinsic"),ce=oe("./"),Ee=ce(ge("String.prototype.indexOf"));Ze.exports=function(ye,De){var me=ge(ye,!!De);return typeof me=="function"&&Ee(ye,".prototype.")>-1?ce(me):me}},{"./":93,"get-intrinsic":348}],93:[function(oe,Ze,Ne){"use strict";var ge=oe("function-bind"),ce=oe("get-intrinsic"),Ee=ce("%Function.prototype.apply%"),Ae=ce("%Function.prototype.call%"),ye=ce("%Reflect.apply%",!0)||ge.call(Ae,Ee),De=ce("%Object.getOwnPropertyDescriptor%",!0),me=ce("%Object.defineProperty%",!0),xe=ce("%Math.max%");if(me)try{me({},"a",{value:1})}catch(z){me=null}Ze.exports=function(ee){var ae=ye(ge,Ae,arguments);if(De&&me){var re=De(ae,"length");re.configurable&&me(ae,"length",{value:1+xe(0,ee.length-(arguments.length-1))})}return ae};var fe=function(){return ye(ge,Ee,arguments)};me?me(Ze.exports,"apply",{value:fe}):Ze.exports.apply=fe},{"function-bind":347,"get-intrinsic":348}],94:[function(oe,Ze,Ne){"use strict";var ge=Array.prototype.slice;Ze.exports=ce;function ce(Ae,ye){if(!(this instanceof ce))return new ce(Ae,ye);this.src=Ae,this._withAccess=ye}ce.prototype.withAccess=function(Ae){return this._withAccess=Ae!==!1,this},ce.prototype.pick=function(Ae){return Array.isArray(Ae)||(Ae=ge.call(arguments)),Ae.length&&(this.keys=Ae),this},ce.prototype.to=function(Ae){if(Ae=Ae||{},!this.src)return Ae;var ye=this.keys||Object.keys(this.src);if(!this._withAccess){for(var De=0;De<ye.length;De++)me=ye[De],Ae[me]===void 0&&(Ae[me]=this.src[me]);return Ae}for(var De=0;De<ye.length;De++){var me=ye[De];if(Ee(Ae,me)){var xe=this.src.__lookupGetter__(me),fe=this.src.__lookupSetter__(me);xe&&Ae.__defineGetter__(me,xe),fe&&Ae.__defineSetter__(me,fe),!xe&&!fe&&(Ae[me]=this.src[me])}}return Ae},ce.prototype.toCover=function(Ae){for(var ye=this.keys||Object.keys(this.src),De=0;De<ye.length;De++){var me=ye[De];delete Ae[me];var xe=this.src.__lookupGetter__(me),fe=this.src.__lookupSetter__(me);xe&&Ae.__defineGetter__(me,xe),fe&&Ae.__defineSetter__(me,fe),!xe&&!fe&&(Ae[me]=this.src[me])}},ce.prototype.override=ce.prototype.toCover,ce.prototype.and=function(Ae){var ye={};return this.to(ye),this.src=Ae,this.to(ye),this.src=ye,this};function Ee(Ae,ye){return Ae[ye]===void 0&&Ae.__lookupGetter__(ye)===void 0&&Ae.__lookupSetter__(ye)===void 0}},{}],95:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/is-callable"),Ee=oe("../internals/try-to-string"),Ae=ge.TypeError;Ze.exports=function(ye){if(ce(ye))return ye;throw Ae(Ee(ye)+" is not a function")}},{"../internals/global":163,"../internals/is-callable":176,"../internals/try-to-string":257}],96:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/is-constructor"),Ee=oe("../internals/try-to-string"),Ae=ge.TypeError;Ze.exports=function(ye){if(ce(ye))return ye;throw Ae(Ee(ye)+" is not a constructor")}},{"../internals/global":163,"../internals/is-constructor":177,"../internals/try-to-string":257}],97:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/is-callable"),Ee=ge.String,Ae=ge.TypeError;Ze.exports=function(ye){if(typeof ye=="object"||ce(ye))return ye;throw Ae("Can't set "+Ee(ye)+" as a prototype")}},{"../internals/global":163,"../internals/is-callable":176}],98:[function(oe,Ze,Ne){var ge=oe("../internals/well-known-symbol"),ce=oe("../internals/object-create"),Ee=oe("../internals/object-define-property"),Ae=ge("unscopables"),ye=Array.prototype;ye[Ae]==null&&Ee.f(ye,Ae,{configurable:!0,value:ce(null)}),Ze.exports=function(De){ye[Ae][De]=!0}},{"../internals/object-create":196,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],99:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/string-multibyte").charAt;Ze.exports=function(ce,Ee,Ae){return Ee+(Ae?ge(ce,Ee).length:1)}},{"../internals/string-multibyte":239}],100:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/object-is-prototype-of"),Ee=ge.TypeError;Ze.exports=function(Ae,ye){if(ce(ye,Ae))return Ae;throw Ee("Incorrect invocation")}},{"../internals/global":163,"../internals/object-is-prototype-of":204}],101:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/is-object"),Ee=ge.String,Ae=ge.TypeError;Ze.exports=function(ye){if(ce(ye))return ye;throw Ae(Ee(ye)+" is not an object")}},{"../internals/global":163,"../internals/is-object":180}],102:[function(oe,Ze,Ne){Ze.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},{}],103:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/array-buffer-native"),ce=oe("../internals/descriptors"),Ee=oe("../internals/global"),Ae=oe("../internals/is-callable"),ye=oe("../internals/is-object"),De=oe("../internals/has-own-property"),me=oe("../internals/classof"),xe=oe("../internals/try-to-string"),fe=oe("../internals/create-non-enumerable-property"),z=oe("../internals/redefine"),ee=oe("../internals/object-define-property").f,ae=oe("../internals/object-is-prototype-of"),re=oe("../internals/object-get-prototype-of"),le=oe("../internals/object-set-prototype-of"),ue=oe("../internals/well-known-symbol"),pe=oe("../internals/uid"),Pe=Ee.Int8Array,be=Pe&&Pe.prototype,Ie=Ee.Uint8ClampedArray,Me=Ie&&Ie.prototype,Oe=Pe&&re(Pe),Te=be&&re(be),je=Object.prototype,ze=Ee.TypeError,$e=ue("toStringTag"),Ue=pe("TYPED_ARRAY_TAG"),qe=pe("TYPED_ARRAY_CONSTRUCTOR"),et=ge&&!!le&&me(Ee.opera)!=="Opera",lt=!1,ut,vt,tt,at={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},dt={BigInt64Array:8,BigUint64Array:8},St=function(Gt){if(!ye(Gt))return!1;var wt=me(Gt);return wt==="DataView"||De(at,wt)||De(dt,wt)},xt=function(At){if(!ye(At))return!1;var Gt=me(At);return De(at,Gt)||De(dt,Gt)},ft=function(At){if(xt(At))return At;throw ze("Target is not a typed array")},pt=function(At){if(Ae(At)&&(!le||ae(Oe,At)))return At;throw ze(xe(At)+" is not a typed array constructor")},yt=function(At,Gt,wt,bt){if(ce){if(wt)for(var it in at){var _e=Ee[it];if(_e&&De(_e.prototype,At))try{delete _e.prototype[At]}catch(we){try{_e.prototype[At]=Gt}catch(Ce){}}}(!Te[At]||wt)&&z(Te,At,wt?Gt:et&&be[At]||Gt,bt)}},Tt=function(At,Gt,wt){var bt,it;if(ce){if(le){if(wt){for(bt in at)if(it=Ee[bt],it&&De(it,At))try{delete it[At]}catch(_e){}}if(!Oe[At]||wt)try{return z(Oe,At,wt?Gt:et&&Oe[At]||Gt)}catch(_e){}else return}for(bt in at)it=Ee[bt],it&&(!it[At]||wt)&&z(it,At,Gt)}};for(ut in at)vt=Ee[ut],tt=vt&&vt.prototype,tt?fe(tt,qe,vt):et=!1;for(ut in dt)vt=Ee[ut],tt=vt&&vt.prototype,tt&&fe(tt,qe,vt);if((!et||!Ae(Oe)||Oe===Function.prototype)&&(Oe=function(){throw ze("Incorrect invocation")},et))for(ut in at)Ee[ut]&&le(Ee[ut],Oe);if((!et||!Te||Te===je)&&(Te=Oe.prototype,et))for(ut in at)Ee[ut]&&le(Ee[ut].prototype,Te);if(et&&re(Me)!==Te&&le(Me,Te),ce&&!De(Te,$e)){lt=!0,ee(Te,$e,{get:function(){return ye(this)?this[Ue]:void 0}});for(ut in at)Ee[ut]&&fe(Ee[ut],Ue,ut)}Ze.exports={NATIVE_ARRAY_BUFFER_VIEWS:et,TYPED_ARRAY_CONSTRUCTOR:qe,TYPED_ARRAY_TAG:lt&&Ue,aTypedArray:ft,aTypedArrayConstructor:pt,exportTypedArrayMethod:yt,exportTypedArrayStaticMethod:Tt,isView:St,isTypedArray:xt,TypedArray:Oe,TypedArrayPrototype:Te}},{"../internals/array-buffer-native":102,"../internals/classof":124,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-define-property":198,"../internals/object-get-prototype-of":203,"../internals/object-is-prototype-of":204,"../internals/object-set-prototype-of":208,"../internals/redefine":222,"../internals/try-to-string":257,"../internals/uid":263,"../internals/well-known-symbol":268}],104:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/global"),ce=oe("../internals/function-uncurry-this"),Ee=oe("../internals/descriptors"),Ae=oe("../internals/array-buffer-native"),ye=oe("../internals/function-name"),De=oe("../internals/create-non-enumerable-property"),me=oe("../internals/redefine-all"),xe=oe("../internals/fails"),fe=oe("../internals/an-instance"),z=oe("../internals/to-integer-or-infinity"),ee=oe("../internals/to-length"),ae=oe("../internals/to-index"),re=oe("../internals/ieee754"),le=oe("../internals/object-get-prototype-of"),ue=oe("../internals/object-set-prototype-of"),pe=oe("../internals/object-get-own-property-names").f,Pe=oe("../internals/object-define-property").f,be=oe("../internals/array-fill"),Ie=oe("../internals/array-slice-simple"),Me=oe("../internals/set-to-string-tag"),Oe=oe("../internals/internal-state"),Te=ye.PROPER,je=ye.CONFIGURABLE,ze=Oe.get,$e=Oe.set,Ue="ArrayBuffer",qe="DataView",et="prototype",lt="Wrong length",ut="Wrong index",vt=ge[Ue],tt=vt,at=tt&&tt[et],dt=ge[qe],St=dt&&dt[et],xt=Object.prototype,ft=ge.Array,pt=ge.RangeError,yt=ce(be),Tt=ce([].reverse),At=re.pack,Gt=re.unpack,wt=function(mt){return[mt&255]},bt=function(mt){return[mt&255,mt>>8&255]},it=function(mt){return[mt&255,mt>>8&255,mt>>16&255,mt>>24&255]},_e=function(mt){return mt[3]<<24|mt[2]<<16|mt[1]<<8|mt[0]},we=function(mt){return At(mt,23,4)},Ce=function(mt){return At(mt,52,8)},Ye=function(mt,Ft){Pe(mt[et],Ft,{get:function(){return ze(this)[Ft]}})},Je=function(mt,Ft,Kt,jt){var Wt=ae(Kt),Vt=ze(mt);if(Wt+Ft>Vt.byteLength)throw pt(ut);var nn=ze(Vt.buffer).bytes,Bt=Wt+Vt.byteOffset,_t=Ie(nn,Bt,Bt+Ft);return jt?_t:Tt(_t)},Le=function(mt,Ft,Kt,jt,Wt,Vt){var nn=ae(Kt),Bt=ze(mt);if(nn+Ft>Bt.byteLength)throw pt(ut);for(var _t=ze(Bt.buffer).bytes,en=nn+Bt.byteOffset,on=jt(+Wt),xn=0;xn<Ft;xn++)_t[en+xn]=on[Vt?xn:Ft-xn-1]};if(!Ae)tt=function(Ft){fe(this,at);var Kt=ae(Ft);$e(this,{bytes:yt(ft(Kt),0),byteLength:Kt}),Ee||(this.byteLength=Kt)},at=tt[et],dt=function(Ft,Kt,jt){fe(this,St),fe(Ft,at);var Wt=ze(Ft).byteLength,Vt=z(Kt);if(Vt<0||Vt>Wt)throw pt("Wrong offset");if(jt=jt===void 0?Wt-Vt:ee(jt),Vt+jt>Wt)throw pt(lt);$e(this,{buffer:Ft,byteLength:jt,byteOffset:Vt}),Ee||(this.buffer=Ft,this.byteLength=jt,this.byteOffset=Vt)},St=dt[et],Ee&&(Ye(tt,"byteLength"),Ye(dt,"buffer"),Ye(dt,"byteLength"),Ye(dt,"byteOffset")),me(St,{getInt8:function(Ft){return Je(this,1,Ft)[0]<<24>>24},getUint8:function(Ft){return Je(this,1,Ft)[0]},getInt16:function(Ft){var Kt=Je(this,2,Ft,arguments.length>1?arguments[1]:void 0);return(Kt[1]<<8|Kt[0])<<16>>16},getUint16:function(Ft){var Kt=Je(this,2,Ft,arguments.length>1?arguments[1]:void 0);return Kt[1]<<8|Kt[0]},getInt32:function(Ft){return _e(Je(this,4,Ft,arguments.length>1?arguments[1]:void 0))},getUint32:function(Ft){return _e(Je(this,4,Ft,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(Ft){return Gt(Je(this,4,Ft,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(Ft){return Gt(Je(this,8,Ft,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(Ft,Kt){Le(this,1,Ft,wt,Kt)},setUint8:function(Ft,Kt){Le(this,1,Ft,wt,Kt)},setInt16:function(Ft,Kt){Le(this,2,Ft,bt,Kt,arguments.length>2?arguments[2]:void 0)},setUint16:function(Ft,Kt){Le(this,2,Ft,bt,Kt,arguments.length>2?arguments[2]:void 0)},setInt32:function(Ft,Kt){Le(this,4,Ft,it,Kt,arguments.length>2?arguments[2]:void 0)},setUint32:function(Ft,Kt){Le(this,4,Ft,it,Kt,arguments.length>2?arguments[2]:void 0)},setFloat32:function(Ft,Kt){Le(this,4,Ft,we,Kt,arguments.length>2?arguments[2]:void 0)},setFloat64:function(Ft,Kt){Le(this,8,Ft,Ce,Kt,arguments.length>2?arguments[2]:void 0)}});else{var Ge=Te&&vt.name!==Ue;if(!xe(function(){vt(1)})||!xe(function(){new vt(-1)})||xe(function(){return new vt,new vt(1.5),new vt(NaN),Ge&&!je})){tt=function(Ft){return fe(this,at),new vt(ae(Ft))},tt[et]=at;for(var Ke=pe(vt),Xe=0,Qe;Ke.length>Xe;)(Qe=Ke[Xe++])in tt||De(tt,Qe,vt[Qe]);at.constructor=tt}else Ge&&je&&De(vt,"name",Ue);ue&&le(St)!==xt&&ue(St,xt);var ht=new dt(new tt(2)),Et=ce(St.setInt8);ht.setInt8(0,2147483648),ht.setInt8(1,2147483649),(ht.getInt8(0)||!ht.getInt8(1))&&me(St,{setInt8:function(Ft,Kt){Et(this,Ft,Kt<<24>>24)},setUint8:function(Ft,Kt){Et(this,Ft,Kt<<24>>24)}},{unsafe:!0})}Me(tt,Ue),Me(dt,qe),Ze.exports={ArrayBuffer:tt,DataView:dt}},{"../internals/an-instance":100,"../internals/array-buffer-native":102,"../internals/array-fill":106,"../internals/array-slice-simple":116,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/ieee754":169,"../internals/internal-state":173,"../internals/object-define-property":198,"../internals/object-get-own-property-names":201,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine-all":221,"../internals/set-to-string-tag":234,"../internals/to-index":246,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],105:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/to-object"),ce=oe("../internals/to-absolute-index"),Ee=oe("../internals/length-of-array-like"),Ae=Math.min;Ze.exports=[].copyWithin||function(De,me){var xe=ge(this),fe=Ee(xe),z=ce(De,fe),ee=ce(me,fe),ae=arguments.length>2?arguments[2]:void 0,re=Ae((ae===void 0?fe:ce(ae,fe))-ee,fe-z),le=1;for(ee<z&&z<ee+re&&(le=-1,ee+=re-1,z+=re-1);re-- >0;)ee in xe?xe[z]=xe[ee]:delete xe[z],z+=le,ee+=le;return xe}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/to-object"),ce=oe("../internals/to-absolute-index"),Ee=oe("../internals/length-of-array-like");Ze.exports=function(ye){for(var De=ge(this),me=Ee(De),xe=arguments.length,fe=ce(xe>1?arguments[1]:void 0,me),z=xe>2?arguments[2]:void 0,ee=z===void 0?me:ce(z,me);ee>fe;)De[fe++]=ye;return De}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],107:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/array-iteration").forEach,ce=oe("../internals/array-method-is-strict"),Ee=ce("forEach");Ze.exports=Ee?[].forEach:function(ye){return ge(this,ye,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(oe,Ze,Ne){var ge=oe("../internals/length-of-array-like");Ze.exports=function(ce,Ee){for(var Ae=0,ye=ge(Ee),De=new ce(ye);ye>Ae;)De[Ae]=Ee[Ae++];return De}},{"../internals/length-of-array-like":188}],109:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/global"),ce=oe("../internals/function-bind-context"),Ee=oe("../internals/function-call"),Ae=oe("../internals/to-object"),ye=oe("../internals/call-with-safe-iteration-closing"),De=oe("../internals/is-array-iterator-method"),me=oe("../internals/is-constructor"),xe=oe("../internals/length-of-array-like"),fe=oe("../internals/create-property"),z=oe("../internals/get-iterator"),ee=oe("../internals/get-iterator-method"),ae=ge.Array;Ze.exports=function(le){var ue=Ae(le),pe=me(this),Pe=arguments.length,be=Pe>1?arguments[1]:void 0,Ie=be!==void 0;Ie&&(be=ce(be,Pe>2?arguments[2]:void 0));var Me=ee(ue),Oe=0,Te,je,ze,$e,Ue,qe;if(Me&&!(this==ae&&De(Me)))for($e=z(ue,Me),Ue=$e.next,je=pe?new this:[];!(ze=Ee(Ue,$e)).done;Oe++)qe=Ie?ye($e,be,[ze.value,Oe],!0):ze.value,fe(je,Oe,qe);else for(Te=xe(ue),je=pe?new this(Te):ae(Te);Te>Oe;Oe++)qe=Ie?be(ue[Oe],Oe):ue[Oe],fe(je,Oe,qe);return je.length=Oe,je}},{"../internals/call-with-safe-iteration-closing":121,"../internals/create-property":131,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/is-constructor":177,"../internals/length-of-array-like":188,"../internals/to-object":250}],110:[function(oe,Ze,Ne){var ge=oe("../internals/to-indexed-object"),ce=oe("../internals/to-absolute-index"),Ee=oe("../internals/length-of-array-like"),Ae=function(ye){return function(De,me,xe){var fe=ge(De),z=Ee(fe),ee=ce(xe,z),ae;if(ye&&me!=me){for(;z>ee;)if(ae=fe[ee++],ae!=ae)return!0}else for(;z>ee;ee++)if((ye||ee in fe)&&fe[ee]===me)return ye||ee||0;return!ye&&-1}};Ze.exports={includes:Ae(!0),indexOf:Ae(!1)}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247}],111:[function(oe,Ze,Ne){var ge=oe("../internals/function-bind-context"),ce=oe("../internals/function-uncurry-this"),Ee=oe("../internals/indexed-object"),Ae=oe("../internals/to-object"),ye=oe("../internals/length-of-array-like"),De=oe("../internals/array-species-create"),me=ce([].push),xe=function(fe){var z=fe==1,ee=fe==2,ae=fe==3,re=fe==4,le=fe==6,ue=fe==7,pe=fe==5||le;return function(Pe,be,Ie,Me){for(var Oe=Ae(Pe),Te=Ee(Oe),je=ge(be,Ie),ze=ye(Te),$e=0,Ue=Me||De,qe=z?Ue(Pe,ze):ee||ue?Ue(Pe,0):void 0,et,lt;ze>$e;$e++)if((pe||$e in Te)&&(et=Te[$e],lt=je(et,$e,Oe),fe))if(z)qe[$e]=lt;else if(lt)switch(fe){case 3:return!0;case 5:return et;case 6:return $e;case 2:me(qe,et)}else switch(fe){case 4:return!1;case 7:me(qe,et)}return le?-1:ae||re?re:qe}};Ze.exports={forEach:xe(0),map:xe(1),filter:xe(2),some:xe(3),every:xe(4),find:xe(5),findIndex:xe(6),filterReject:xe(7)}},{"../internals/array-species-create":120,"../internals/function-bind-context":153,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],112:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/function-apply"),ce=oe("../internals/to-indexed-object"),Ee=oe("../internals/to-integer-or-infinity"),Ae=oe("../internals/length-of-array-like"),ye=oe("../internals/array-method-is-strict"),De=Math.min,me=[].lastIndexOf,xe=!!me&&1/[1].lastIndexOf(1,-0)<0,fe=ye("lastIndexOf"),z=xe||!fe;Ze.exports=z?function(ae){if(xe)return ge(me,this,arguments)||0;var re=ce(this),le=Ae(re),ue=le-1;for(arguments.length>1&&(ue=De(ue,Ee(arguments[1]))),ue<0&&(ue=le+ue);ue>=0;ue--)if(ue in re&&re[ue]===ae)return ue||0;return-1}:me},{"../internals/array-method-is-strict":114,"../internals/function-apply":152,"../internals/length-of-array-like":188,"../internals/to-indexed-object":247,"../internals/to-integer-or-infinity":248}],113:[function(oe,Ze,Ne){var ge=oe("../internals/fails"),ce=oe("../internals/well-known-symbol"),Ee=oe("../internals/engine-v8-version"),Ae=ce("species");Ze.exports=function(ye){return Ee>=51||!ge(function(){var De=[],me=De.constructor={};return me[Ae]=function(){return{foo:1}},De[ye](Boolean).foo!==1})}},{"../internals/engine-v8-version":146,"../internals/fails":150,"../internals/well-known-symbol":268}],114:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/fails");Ze.exports=function(ce,Ee){var Ae=[][ce];return!!Ae&&ge(function(){Ae.call(null,Ee||function(){return 1},1)})}},{"../internals/fails":150}],115:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/a-callable"),Ee=oe("../internals/to-object"),Ae=oe("../internals/indexed-object"),ye=oe("../internals/length-of-array-like"),De=ge.TypeError,me=function(xe){return function(fe,z,ee,ae){ce(z);var re=Ee(fe),le=Ae(re),ue=ye(re),pe=xe?ue-1:0,Pe=xe?-1:1;if(ee<2)for(;;){if(pe in le){ae=le[pe],pe+=Pe;break}if(pe+=Pe,xe?pe<0:ue<=pe)throw De("Reduce of empty array with no initial value")}for(;xe?pe>=0:ue>pe;pe+=Pe)pe in le&&(ae=z(ae,le[pe],pe,re));return ae}};Ze.exports={left:me(!1),right:me(!0)}},{"../internals/a-callable":95,"../internals/global":163,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],116:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/to-absolute-index"),Ee=oe("../internals/length-of-array-like"),Ae=oe("../internals/create-property"),ye=ge.Array,De=Math.max;Ze.exports=function(me,xe,fe){for(var z=Ee(me),ee=ce(xe,z),ae=ce(fe===void 0?z:fe,z),re=ye(De(ae-ee,0)),le=0;ee<ae;ee++,le++)Ae(re,le,me[ee]);return re.length=le,re}},{"../internals/create-property":131,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245}],117:[function(oe,Ze,Ne){var ge=oe("../internals/function-uncurry-this");Ze.exports=ge([].slice)},{"../internals/function-uncurry-this":157}],118:[function(oe,Ze,Ne){var ge=oe("../internals/array-slice-simple"),ce=Math.floor,Ee=function(De,me){var xe=De.length,fe=ce(xe/2);return xe<8?Ae(De,me):ye(De,Ee(ge(De,0,fe),me),Ee(ge(De,fe),me),me)},Ae=function(De,me){for(var xe=De.length,fe=1,z,ee;fe<xe;){for(ee=fe,z=De[fe];ee&&me(De[ee-1],z)>0;)De[ee]=De[--ee];ee!==fe++&&(De[ee]=z)}return De},ye=function(De,me,xe,fe){for(var z=me.length,ee=xe.length,ae=0,re=0;ae<z||re<ee;)De[ae+re]=ae<z&&re<ee?fe(me[ae],xe[re])<=0?me[ae++]:xe[re++]:ae<z?me[ae++]:xe[re++];return De};Ze.exports=Ee},{"../internals/array-slice-simple":116}],119:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/is-array"),Ee=oe("../internals/is-constructor"),Ae=oe("../internals/is-object"),ye=oe("../internals/well-known-symbol"),De=ye("species"),me=ge.Array;Ze.exports=function(xe){var fe;return ce(xe)&&(fe=xe.constructor,Ee(fe)&&(fe===me||ce(fe.prototype))?fe=void 0:Ae(fe)&&(fe=fe[De],fe===null&&(fe=void 0))),fe===void 0?me:fe}},{"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/well-known-symbol":268}],120:[function(oe,Ze,Ne){var ge=oe("../internals/array-species-constructor");Ze.exports=function(ce,Ee){return new(ge(ce))(Ee===0?0:Ee)}},{"../internals/array-species-constructor":119}],121:[function(oe,Ze,Ne){var ge=oe("../internals/an-object"),ce=oe("../internals/iterator-close");Ze.exports=function(Ee,Ae,ye,De){try{return De?Ae(ge(ye)[0],ye[1]):Ae(ye)}catch(me){ce(Ee,"throw",me)}}},{"../internals/an-object":101,"../internals/iterator-close":185}],122:[function(oe,Ze,Ne){var ge=oe("../internals/well-known-symbol"),ce=ge("iterator"),Ee=!1;try{var Ae=0,ye={next:function(){return{done:!!Ae++}},return:function(){Ee=!0}};ye[ce]=function(){return this},Array.from(ye,function(){throw 2})}catch(De){}Ze.exports=function(De,me){if(!me&&!Ee)return!1;var xe=!1;try{var fe={};fe[ce]=function(){return{next:function(){return{done:xe=!0}}}},De(fe)}catch(z){}return xe}},{"../internals/well-known-symbol":268}],123:[function(oe,Ze,Ne){var ge=oe("../internals/function-uncurry-this"),ce=ge({}.toString),Ee=ge("".slice);Ze.exports=function(Ae){return Ee(ce(Ae),8,-1)}},{"../internals/function-uncurry-this":157}],124:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/to-string-tag-support"),Ee=oe("../internals/is-callable"),Ae=oe("../internals/classof-raw"),ye=oe("../internals/well-known-symbol"),De=ye("toStringTag"),me=ge.Object,xe=Ae(function(){return arguments}())=="Arguments",fe=function(z,ee){try{return z[ee]}catch(ae){}};Ze.exports=ce?Ae:function(z){var ee,ae,re;return z===void 0?"Undefined":z===null?"Null":typeof(ae=fe(ee=me(z),De))=="string"?ae:xe?Ae(ee):(re=Ae(ee))=="Object"&&Ee(ee.callee)?"Arguments":re}},{"../internals/classof-raw":123,"../internals/global":163,"../internals/is-callable":176,"../internals/to-string-tag-support":255,"../internals/well-known-symbol":268}],125:[function(oe,Ze,Ne){var ge=oe("../internals/has-own-property"),ce=oe("../internals/own-keys"),Ee=oe("../internals/object-get-own-property-descriptor"),Ae=oe("../internals/object-define-property");Ze.exports=function(ye,De,me){for(var xe=ce(De),fe=Ae.f,z=Ee.f,ee=0;ee<xe.length;ee++){var ae=xe[ee];!ge(ye,ae)&&!(me&&ge(me,ae))&&fe(ye,ae,z(De,ae))}}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/own-keys":212}],126:[function(oe,Ze,Ne){var ge=oe("../internals/well-known-symbol"),ce=ge("match");Ze.exports=function(Ee){var Ae=/./;try{"/./"[Ee](Ae)}catch(ye){try{return Ae[ce]=!1,"/./"[Ee](Ae)}catch(De){}}return!1}},{"../internals/well-known-symbol":268}],127:[function(oe,Ze,Ne){var ge=oe("../internals/fails");Ze.exports=!ge(function(){function ce(){}return ce.prototype.constructor=null,Object.getPrototypeOf(new ce)!==ce.prototype})},{"../internals/fails":150}],128:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/iterators-core").IteratorPrototype,ce=oe("../internals/object-create"),Ee=oe("../internals/create-property-descriptor"),Ae=oe("../internals/set-to-string-tag"),ye=oe("../internals/iterators"),De=function(){return this};Ze.exports=function(me,xe,fe,z){var ee=xe+" Iterator";return me.prototype=ce(ge,{next:Ee(+!z,fe)}),Ae(me,ee,!1,!0),ye[ee]=De,me}},{"../internals/create-property-descriptor":130,"../internals/iterators":187,"../internals/iterators-core":186,"../internals/object-create":196,"../internals/set-to-string-tag":234}],129:[function(oe,Ze,Ne){var ge=oe("../internals/descriptors"),ce=oe("../internals/object-define-property"),Ee=oe("../internals/create-property-descriptor");Ze.exports=ge?function(Ae,ye,De){return ce.f(Ae,ye,Ee(1,De))}:function(Ae,ye,De){return Ae[ye]=De,Ae}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/object-define-property":198}],130:[function(oe,Ze,Ne){Ze.exports=function(ge,ce){return{enumerable:!(ge&1),configurable:!(ge&2),writable:!(ge&4),value:ce}}},{}],131:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/to-property-key"),ce=oe("../internals/object-define-property"),Ee=oe("../internals/create-property-descriptor");Ze.exports=function(Ae,ye,De){var me=ge(ye);me in Ae?ce.f(Ae,me,Ee(0,De)):Ae[me]=De}},{"../internals/create-property-descriptor":130,"../internals/object-define-property":198,"../internals/to-property-key":254}],132:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/export"),ce=oe("../internals/function-call"),Ee=oe("../internals/is-pure"),Ae=oe("../internals/function-name"),ye=oe("../internals/is-callable"),De=oe("../internals/create-iterator-constructor"),me=oe("../internals/object-get-prototype-of"),xe=oe("../internals/object-set-prototype-of"),fe=oe("../internals/set-to-string-tag"),z=oe("../internals/create-non-enumerable-property"),ee=oe("../internals/redefine"),ae=oe("../internals/well-known-symbol"),re=oe("../internals/iterators"),le=oe("../internals/iterators-core"),ue=Ae.PROPER,pe=Ae.CONFIGURABLE,Pe=le.IteratorPrototype,be=le.BUGGY_SAFARI_ITERATORS,Ie=ae("iterator"),Me="keys",Oe="values",Te="entries",je=function(){return this};Ze.exports=function(ze,$e,Ue,qe,et,lt,ut){De(Ue,$e,qe);var vt=function(At){if(At===et&&xt)return xt;if(!be&&At in dt)return dt[At];switch(At){case Me:return function(){return new Ue(this,At)};case Oe:return function(){return new Ue(this,At)};case Te:return function(){return new Ue(this,At)}}return function(){return new Ue(this)}},tt=$e+" Iterator",at=!1,dt=ze.prototype,St=dt[Ie]||dt["@@iterator"]||et&&dt[et],xt=!be&&St||vt(et),ft=$e=="Array"&&dt.entries||St,pt,yt,Tt;if(ft&&(pt=me(ft.call(new ze)),pt!==Object.prototype&&pt.next&&(!Ee&&me(pt)!==Pe&&(xe?xe(pt,Pe):ye(pt[Ie])||ee(pt,Ie,je)),fe(pt,tt,!0,!0),Ee&&(re[tt]=je))),ue&&et==Oe&&St&&St.name!==Oe&&(!Ee&&pe?z(dt,"name",Oe):(at=!0,xt=function(){return ce(St,this)})),et)if(yt={values:vt(Oe),keys:lt?xt:vt(Me),entries:vt(Te)},ut)for(Tt in yt)(be||at||!(Tt in dt))&&ee(dt,Tt,yt[Tt]);else ge({target:$e,proto:!0,forced:be||at},yt);return(!Ee||ut)&&dt[Ie]!==xt&&ee(dt,Ie,xt,{name:et}),re[$e]=xt,yt}},{"../internals/create-iterator-constructor":128,"../internals/create-non-enumerable-property":129,"../internals/export":149,"../internals/function-call":155,"../internals/function-name":156,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/iterators":187,"../internals/iterators-core":186,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine":222,"../internals/set-to-string-tag":234,"../internals/well-known-symbol":268}],133:[function(oe,Ze,Ne){var ge=oe("../internals/path"),ce=oe("../internals/has-own-property"),Ee=oe("../internals/well-known-symbol-wrapped"),Ae=oe("../internals/object-define-property").f;Ze.exports=function(ye){var De=ge.Symbol||(ge.Symbol={});ce(De,ye)||Ae(De,ye,{value:Ee.f(ye)})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/path":213,"../internals/well-known-symbol-wrapped":267}],134:[function(oe,Ze,Ne){var ge=oe("../internals/fails");Ze.exports=!ge(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},{"../internals/fails":150}],135:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/is-object"),Ee=ge.document,Ae=ce(Ee)&&ce(Ee.createElement);Ze.exports=function(ye){return Ae?Ee.createElement(ye):{}}},{"../internals/global":163,"../internals/is-object":180}],136:[function(oe,Ze,Ne){Ze.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},{}],137:[function(oe,Ze,Ne){var ge=oe("../internals/document-create-element"),ce=ge("span").classList,Ee=ce&&ce.constructor&&ce.constructor.prototype;Ze.exports=Ee===Object.prototype?void 0:Ee},{"../internals/document-create-element":135}],138:[function(oe,Ze,Ne){var ge=oe("../internals/engine-user-agent"),ce=ge.match(/firefox\/(\d+)/i);Ze.exports=!!ce&&+ce[1]},{"../internals/engine-user-agent":145}],139:[function(oe,Ze,Ne){Ze.exports=typeof window=="object"&&typeof Deno!="object"},{}],140:[function(oe,Ze,Ne){var ge=oe("../internals/engine-user-agent");Ze.exports=/MSIE|Trident/.test(ge)},{"../internals/engine-user-agent":145}],141:[function(oe,Ze,Ne){var ge=oe("../internals/engine-user-agent"),ce=oe("../internals/global");Ze.exports=/ipad|iphone|ipod/i.test(ge)&&ce.Pebble!==void 0},{"../internals/engine-user-agent":145,"../internals/global":163}],142:[function(oe,Ze,Ne){var ge=oe("../internals/engine-user-agent");Ze.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(ge)},{"../internals/engine-user-agent":145}],143:[function(oe,Ze,Ne){var ge=oe("../internals/classof-raw"),ce=oe("../internals/global");Ze.exports=ge(ce.process)=="process"},{"../internals/classof-raw":123,"../internals/global":163}],144:[function(oe,Ze,Ne){var ge=oe("../internals/engine-user-agent");Ze.exports=/web0s(?!.*chrome)/i.test(ge)},{"../internals/engine-user-agent":145}],145:[function(oe,Ze,Ne){var ge=oe("../internals/get-built-in");Ze.exports=ge("navigator","userAgent")||""},{"../internals/get-built-in":158}],146:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/engine-user-agent"),Ee=ge.process,Ae=ge.Deno,ye=Ee&&Ee.versions||Ae&&Ae.version,De=ye&&ye.v8,me,xe;De&&(me=De.split("."),xe=me[0]>0&&me[0]<4?1:+(me[0]+me[1])),!xe&&ce&&(me=ce.match(/Edge\/(\d+)/),(!me||me[1]>=74)&&(me=ce.match(/Chrome\/(\d+)/),me&&(xe=+me[1]))),Ze.exports=xe},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(oe,Ze,Ne){var ge=oe("../internals/engine-user-agent"),ce=ge.match(/AppleWebKit\/(\d+)\./);Ze.exports=!!ce&&+ce[1]},{"../internals/engine-user-agent":145}],148:[function(oe,Ze,Ne){Ze.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/object-get-own-property-descriptor").f,Ee=oe("../internals/create-non-enumerable-property"),Ae=oe("../internals/redefine"),ye=oe("../internals/set-global"),De=oe("../internals/copy-constructor-properties"),me=oe("../internals/is-forced");Ze.exports=function(xe,fe){var z=xe.target,ee=xe.global,ae=xe.stat,re,le,ue,pe,Pe,be;if(ee?le=ge:ae?le=ge[z]||ye(z,{}):le=(ge[z]||{}).prototype,le)for(ue in fe){if(Pe=fe[ue],xe.noTargetGet?(be=ce(le,ue),pe=be&&be.value):pe=le[ue],re=me(ee?ue:z+(ae?".":"#")+ue,xe.forced),!re&&pe!==void 0){if(typeof Pe==typeof pe)continue;De(Pe,pe)}(xe.sham||pe&&pe.sham)&&Ee(Pe,"sham",!0),Ae(le,ue,Pe,xe)}}},{"../internals/copy-constructor-properties":125,"../internals/create-non-enumerable-property":129,"../internals/global":163,"../internals/is-forced":178,"../internals/object-get-own-property-descriptor":199,"../internals/redefine":222,"../internals/set-global":232}],150:[function(oe,Ze,Ne){Ze.exports=function(ge){try{return!!ge()}catch(ce){return!0}}},{}],151:[function(oe,Ze,Ne){"use strict";oe("../modules/es.regexp.exec");var ge=oe("../internals/function-uncurry-this"),ce=oe("../internals/redefine"),Ee=oe("../internals/regexp-exec"),Ae=oe("../internals/fails"),ye=oe("../internals/well-known-symbol"),De=oe("../internals/create-non-enumerable-property"),me=ye("species"),xe=RegExp.prototype;Ze.exports=function(fe,z,ee,ae){var re=ye(fe),le=!Ae(function(){var be={};return be[re]=function(){return 7},""[fe](be)!=7}),ue=le&&!Ae(function(){var be=!1,Ie=/a/;return fe==="split"&&(Ie={},Ie.constructor={},Ie.constructor[me]=function(){return Ie},Ie.flags="",Ie[re]=/./[re]),Ie.exec=function(){return be=!0,null},Ie[re](""),!be});if(!le||!ue||ee){var pe=ge(/./[re]),Pe=z(re,""[fe],function(be,Ie,Me,Oe,Te){var je=ge(be),ze=Ie.exec;return ze===Ee||ze===xe.exec?le&&!Te?{done:!0,value:pe(Ie,Me,Oe)}:{done:!0,value:je(Me,Ie,Oe)}:{done:!1}});ce(String.prototype,fe,Pe[0]),ce(xe,re,Pe[1])}ae&&De(xe[re],"sham",!0)}},{"../internals/create-non-enumerable-property":129,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/redefine":222,"../internals/regexp-exec":224,"../internals/well-known-symbol":268,"../modules/es.regexp.exec":300}],152:[function(oe,Ze,Ne){var ge=oe("../internals/function-bind-native"),ce=Function.prototype,Ee=ce.apply,Ae=ce.call;Ze.exports=typeof Reflect=="object"&&Reflect.apply||(ge?Ae.bind(Ee):function(){return Ae.apply(Ee,arguments)})},{"../internals/function-bind-native":154}],153:[function(oe,Ze,Ne){var ge=oe("../internals/function-uncurry-this"),ce=oe("../internals/a-callable"),Ee=oe("../internals/function-bind-native"),Ae=ge(ge.bind);Ze.exports=function(ye,De){return ce(ye),De===void 0?ye:Ee?Ae(ye,De):function(){return ye.apply(De,arguments)}}},{"../internals/a-callable":95,"../internals/function-bind-native":154,"../internals/function-uncurry-this":157}],154:[function(oe,Ze,Ne){var ge=oe("../internals/fails");Ze.exports=!ge(function(){var ce=function(){}.bind();return typeof ce!="function"||ce.hasOwnProperty("prototype")})},{"../internals/fails":150}],155:[function(oe,Ze,Ne){var ge=oe("../internals/function-bind-native"),ce=Function.prototype.call;Ze.exports=ge?ce.bind(ce):function(){return ce.apply(ce,arguments)}},{"../internals/function-bind-native":154}],156:[function(oe,Ze,Ne){var ge=oe("../internals/descriptors"),ce=oe("../internals/has-own-property"),Ee=Function.prototype,Ae=ge&&Object.getOwnPropertyDescriptor,ye=ce(Ee,"name"),De=ye&&function(){}.name==="something",me=ye&&(!ge||ge&&Ae(Ee,"name").configurable);Ze.exports={EXISTS:ye,PROPER:De,CONFIGURABLE:me}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(oe,Ze,Ne){var ge=oe("../internals/function-bind-native"),ce=Function.prototype,Ee=ce.bind,Ae=ce.call,ye=ge&&Ee.bind(Ae,Ae);Ze.exports=ge?function(De){return De&&ye(De)}:function(De){return De&&function(){return Ae.apply(De,arguments)}}},{"../internals/function-bind-native":154}],158:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/is-callable"),Ee=function(Ae){return ce(Ae)?Ae:void 0};Ze.exports=function(Ae,ye){return arguments.length<2?Ee(ge[Ae]):ge[Ae]&&ge[Ae][ye]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(oe,Ze,Ne){var ge=oe("../internals/classof"),ce=oe("../internals/get-method"),Ee=oe("../internals/iterators"),Ae=oe("../internals/well-known-symbol"),ye=Ae("iterator");Ze.exports=function(De){if(De!=null)return ce(De,ye)||ce(De,"@@iterator")||Ee[ge(De)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/function-call"),Ee=oe("../internals/a-callable"),Ae=oe("../internals/an-object"),ye=oe("../internals/try-to-string"),De=oe("../internals/get-iterator-method"),me=ge.TypeError;Ze.exports=function(xe,fe){var z=arguments.length<2?De(xe):fe;if(Ee(z))return Ae(ce(z,xe));throw me(ye(xe)+" is not iterable")}},{"../internals/a-callable":95,"../internals/an-object":101,"../internals/function-call":155,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/try-to-string":257}],161:[function(oe,Ze,Ne){var ge=oe("../internals/a-callable");Ze.exports=function(ce,Ee){var Ae=ce[Ee];return Ae==null?void 0:ge(Ae)}},{"../internals/a-callable":95}],162:[function(oe,Ze,Ne){var ge=oe("../internals/function-uncurry-this"),ce=oe("../internals/to-object"),Ee=Math.floor,Ae=ge("".charAt),ye=ge("".replace),De=ge("".slice),me=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,xe=/\$([$&'`]|\d{1,2})/g;Ze.exports=function(fe,z,ee,ae,re,le){var ue=ee+fe.length,pe=ae.length,Pe=xe;return re!==void 0&&(re=ce(re),Pe=me),ye(le,Pe,function(be,Ie){var Me;switch(Ae(Ie,0)){case"$":return"$";case"&":return fe;case"`":return De(z,0,ee);case"'":return De(z,ue);case"<":Me=re[De(Ie,1,-1)];break;default:var Oe=+Ie;if(Oe===0)return be;if(Oe>pe){var Te=Ee(Oe/10);return Te===0?be:Te<=pe?ae[Te-1]===void 0?Ae(Ie,1):ae[Te-1]+Ae(Ie,1):be}Me=ae[Oe-1]}return Me===void 0?"":Me})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(oe,Ze,Ne){(function(ge){(function(){var ce=function(Ee){return Ee&&Ee.Math==Math&&Ee};Ze.exports=ce(typeof globalThis=="object"&&globalThis)||ce(typeof window=="object"&&window)||ce(typeof self=="object"&&self)||ce(typeof ge=="object"&&ge)||function(){return this}()||Function("return this")()}).call(this)}).call(this,typeof fn!="undefined"?fn:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],164:[function(oe,Ze,Ne){var ge=oe("../internals/function-uncurry-this"),ce=oe("../internals/to-object"),Ee=ge({}.hasOwnProperty);Ze.exports=Object.hasOwn||function(ye,De){return Ee(ce(ye),De)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(oe,Ze,Ne){Ze.exports={}},{}],166:[function(oe,Ze,Ne){var ge=oe("../internals/global");Ze.exports=function(ce,Ee){var Ae=ge.console;Ae&&Ae.error&&(arguments.length==1?Ae.error(ce):Ae.error(ce,Ee))}},{"../internals/global":163}],167:[function(oe,Ze,Ne){var ge=oe("../internals/get-built-in");Ze.exports=ge("document","documentElement")},{"../internals/get-built-in":158}],168:[function(oe,Ze,Ne){var ge=oe("../internals/descriptors"),ce=oe("../internals/fails"),Ee=oe("../internals/document-create-element");Ze.exports=!ge&&!ce(function(){return Object.defineProperty(Ee("div"),"a",{get:function(){return 7}}).a!=7})},{"../internals/descriptors":134,"../internals/document-create-element":135,"../internals/fails":150}],169:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=ge.Array,Ee=Math.abs,Ae=Math.pow,ye=Math.floor,De=Math.log,me=Math.LN2,xe=function(z,ee,ae){var re=ce(ae),le=ae*8-ee-1,ue=(1<<le)-1,pe=ue>>1,Pe=ee===23?Ae(2,-24)-Ae(2,-77):0,be=z<0||z===0&&1/z<0?1:0,Ie=0,Me,Oe,Te;for(z=Ee(z),z!=z||z===1/0?(Oe=z!=z?1:0,Me=ue):(Me=ye(De(z)/me),Te=Ae(2,-Me),z*Te<1&&(Me--,Te*=2),Me+pe>=1?z+=Pe/Te:z+=Pe*Ae(2,1-pe),z*Te>=2&&(Me++,Te/=2),Me+pe>=ue?(Oe=0,Me=ue):Me+pe>=1?(Oe=(z*Te-1)*Ae(2,ee),Me=Me+pe):(Oe=z*Ae(2,pe-1)*Ae(2,ee),Me=0));ee>=8;)re[Ie++]=Oe&255,Oe/=256,ee-=8;for(Me=Me<<ee|Oe,le+=ee;le>0;)re[Ie++]=Me&255,Me/=256,le-=8;return re[--Ie]|=be*128,re},fe=function(z,ee){var ae=z.length,re=ae*8-ee-1,le=(1<<re)-1,ue=le>>1,pe=re-7,Pe=ae-1,be=z[Pe--],Ie=be&127,Me;for(be>>=7;pe>0;)Ie=Ie*256+z[Pe--],pe-=8;for(Me=Ie&(1<<-pe)-1,Ie>>=-pe,pe+=ee;pe>0;)Me=Me*256+z[Pe--],pe-=8;if(Ie===0)Ie=1-ue;else{if(Ie===le)return Me?NaN:be?-1/0:1/0;Me=Me+Ae(2,ee),Ie=Ie-ue}return(be?-1:1)*Me*Ae(2,Ie-ee)};Ze.exports={pack:xe,unpack:fe}},{"../internals/global":163}],170:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/function-uncurry-this"),Ee=oe("../internals/fails"),Ae=oe("../internals/classof-raw"),ye=ge.Object,De=ce("".split);Ze.exports=Ee(function(){return!ye("z").propertyIsEnumerable(0)})?function(me){return Ae(me)=="String"?De(me,""):ye(me)}:ye},{"../internals/classof-raw":123,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],171:[function(oe,Ze,Ne){var ge=oe("../internals/is-callable"),ce=oe("../internals/is-object"),Ee=oe("../internals/object-set-prototype-of");Ze.exports=function(Ae,ye,De){var me,xe;return Ee&&ge(me=ye.constructor)&&me!==De&&ce(xe=me.prototype)&&xe!==De.prototype&&Ee(Ae,xe),Ae}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(oe,Ze,Ne){var ge=oe("../internals/function-uncurry-this"),ce=oe("../internals/is-callable"),Ee=oe("../internals/shared-store"),Ae=ge(Function.toString);ce(Ee.inspectSource)||(Ee.inspectSource=function(ye){return Ae(ye)}),Ze.exports=Ee.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(oe,Ze,Ne){var ge=oe("../internals/native-weak-map"),ce=oe("../internals/global"),Ee=oe("../internals/function-uncurry-this"),Ae=oe("../internals/is-object"),ye=oe("../internals/create-non-enumerable-property"),De=oe("../internals/has-own-property"),me=oe("../internals/shared-store"),xe=oe("../internals/shared-key"),fe=oe("../internals/hidden-keys"),z="Object already initialized",ee=ce.TypeError,ae=ce.WeakMap,re,le,ue,pe=function(je){return ue(je)?le(je):re(je,{})},Pe=function(je){return function(ze){var $e;if(!Ae(ze)||($e=le(ze)).type!==je)throw ee("Incompatible receiver, "+je+" required");return $e}};if(ge||me.state){var be=me.state||(me.state=new ae),Ie=Ee(be.get),Me=Ee(be.has),Oe=Ee(be.set);re=function(je,ze){if(Me(be,je))throw new ee(z);return ze.facade=je,Oe(be,je,ze),ze},le=function(je){return Ie(be,je)||{}},ue=function(je){return Me(be,je)}}else{var Te=xe("state");fe[Te]=!0,re=function(je,ze){if(De(je,Te))throw new ee(z);return ze.facade=je,ye(je,Te,ze),ze},le=function(je){return De(je,Te)?je[Te]:{}},ue=function(je){return De(je,Te)}}Ze.exports={set:re,get:le,has:ue,enforce:pe,getterFor:Pe}},{"../internals/create-non-enumerable-property":129,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/is-object":180,"../internals/native-weak-map":192,"../internals/shared-key":235,"../internals/shared-store":236}],174:[function(oe,Ze,Ne){var ge=oe("../internals/well-known-symbol"),ce=oe("../internals/iterators"),Ee=ge("iterator"),Ae=Array.prototype;Ze.exports=function(ye){return ye!==void 0&&(ce.Array===ye||Ae[Ee]===ye)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(oe,Ze,Ne){var ge=oe("../internals/classof-raw");Ze.exports=Array.isArray||function(Ee){return ge(Ee)=="Array"}},{"../internals/classof-raw":123}],176:[function(oe,Ze,Ne){Ze.exports=function(ge){return typeof ge=="function"}},{}],177:[function(oe,Ze,Ne){var ge=oe("../internals/function-uncurry-this"),ce=oe("../internals/fails"),Ee=oe("../internals/is-callable"),Ae=oe("../internals/classof"),ye=oe("../internals/get-built-in"),De=oe("../internals/inspect-source"),me=function(){},xe=[],fe=ye("Reflect","construct"),z=/^\s*(?:class|function)\b/,ee=ge(z.exec),ae=!z.exec(me),re=function(pe){if(!Ee(pe))return!1;try{return fe(me,xe,pe),!0}catch(Pe){return!1}},le=function(pe){if(!Ee(pe))return!1;switch(Ae(pe)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ae||!!ee(z,De(pe))}catch(Pe){return!0}};le.sham=!0,Ze.exports=!fe||ce(function(){var ue;return re(re.call)||!re(Object)||!re(function(){ue=!0})||ue})?le:re},{"../internals/classof":124,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/inspect-source":172,"../internals/is-callable":176}],178:[function(oe,Ze,Ne){var ge=oe("../internals/fails"),ce=oe("../internals/is-callable"),Ee=/#|\.prototype\./,Ae=function(fe,z){var ee=De[ye(fe)];return ee==xe?!0:ee==me?!1:ce(z)?ge(z):!!z},ye=Ae.normalize=function(fe){return String(fe).replace(Ee,".").toLowerCase()},De=Ae.data={},me=Ae.NATIVE="N",xe=Ae.POLYFILL="P";Ze.exports=Ae},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(oe,Ze,Ne){var ge=oe("../internals/is-object"),ce=Math.floor;Ze.exports=Number.isInteger||function(Ae){return!ge(Ae)&&isFinite(Ae)&&ce(Ae)===Ae}},{"../internals/is-object":180}],180:[function(oe,Ze,Ne){var ge=oe("../internals/is-callable");Ze.exports=function(ce){return typeof ce=="object"?ce!==null:ge(ce)}},{"../internals/is-callable":176}],181:[function(oe,Ze,Ne){Ze.exports=!1},{}],182:[function(oe,Ze,Ne){var ge=oe("../internals/is-object"),ce=oe("../internals/classof-raw"),Ee=oe("../internals/well-known-symbol"),Ae=Ee("match");Ze.exports=function(ye){var De;return ge(ye)&&((De=ye[Ae])!==void 0?!!De:ce(ye)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/get-built-in"),Ee=oe("../internals/is-callable"),Ae=oe("../internals/object-is-prototype-of"),ye=oe("../internals/use-symbol-as-uid"),De=ge.Object;Ze.exports=ye?function(me){return typeof me=="symbol"}:function(me){var xe=ce("Symbol");return Ee(xe)&&Ae(xe.prototype,De(me))}},{"../internals/get-built-in":158,"../internals/global":163,"../internals/is-callable":176,"../internals/object-is-prototype-of":204,"../internals/use-symbol-as-uid":264}],184:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/function-bind-context"),Ee=oe("../internals/function-call"),Ae=oe("../internals/an-object"),ye=oe("../internals/try-to-string"),De=oe("../internals/is-array-iterator-method"),me=oe("../internals/length-of-array-like"),xe=oe("../internals/object-is-prototype-of"),fe=oe("../internals/get-iterator"),z=oe("../internals/get-iterator-method"),ee=oe("../internals/iterator-close"),ae=ge.TypeError,re=function(ue,pe){this.stopped=ue,this.result=pe},le=re.prototype;Ze.exports=function(ue,pe,Pe){var be=Pe&&Pe.that,Ie=!!(Pe&&Pe.AS_ENTRIES),Me=!!(Pe&&Pe.IS_ITERATOR),Oe=!!(Pe&&Pe.INTERRUPTED),Te=ce(pe,be),je,ze,$e,Ue,qe,et,lt,ut=function(tt){return je&&ee(je,"normal",tt),new re(!0,tt)},vt=function(tt){return Ie?(Ae(tt),Oe?Te(tt[0],tt[1],ut):Te(tt[0],tt[1])):Oe?Te(tt,ut):Te(tt)};if(Me)je=ue;else{if(ze=z(ue),!ze)throw ae(ye(ue)+" is not iterable");if(De(ze)){for($e=0,Ue=me(ue);Ue>$e;$e++)if(qe=vt(ue[$e]),qe&&xe(le,qe))return qe;return new re(!1)}je=fe(ue,ze)}for(et=je.next;!(lt=Ee(et,je)).done;){try{qe=vt(lt.value)}catch(tt){ee(je,"throw",tt)}if(typeof qe=="object"&&qe&&xe(le,qe))return qe}return new re(!1)}},{"../internals/an-object":101,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/iterator-close":185,"../internals/length-of-array-like":188,"../internals/object-is-prototype-of":204,"../internals/try-to-string":257}],185:[function(oe,Ze,Ne){var ge=oe("../internals/function-call"),ce=oe("../internals/an-object"),Ee=oe("../internals/get-method");Ze.exports=function(Ae,ye,De){var me,xe;ce(Ae);try{if(me=Ee(Ae,"return"),!me){if(ye==="throw")throw De;return De}me=ge(me,Ae)}catch(fe){xe=!0,me=fe}if(ye==="throw")throw De;if(xe)throw me;return ce(me),De}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/fails"),ce=oe("../internals/is-callable"),Ee=oe("../internals/object-create"),Ae=oe("../internals/object-get-prototype-of"),ye=oe("../internals/redefine"),De=oe("../internals/well-known-symbol"),me=oe("../internals/is-pure"),xe=De("iterator"),fe=!1,z,ee,ae;[].keys&&(ae=[].keys(),"next"in ae?(ee=Ae(Ae(ae)),ee!==Object.prototype&&(z=ee)):fe=!0);var re=z==null||ge(function(){var le={};return z[xe].call(le)!==le});re?z={}:me&&(z=Ee(z)),ce(z[xe])||ye(z,xe,function(){return this}),Ze.exports={IteratorPrototype:z,BUGGY_SAFARI_ITERATORS:fe}},{"../internals/fails":150,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/object-create":196,"../internals/object-get-prototype-of":203,"../internals/redefine":222,"../internals/well-known-symbol":268}],187:[function(oe,Ze,Ne){arguments[4][165][0].apply(Ne,arguments)},{dup:165}],188:[function(oe,Ze,Ne){var ge=oe("../internals/to-length");Ze.exports=function(ce){return ge(ce.length)}},{"../internals/to-length":249}],189:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/function-bind-context"),Ee=oe("../internals/object-get-own-property-descriptor").f,Ae=oe("../internals/task").set,ye=oe("../internals/engine-is-ios"),De=oe("../internals/engine-is-ios-pebble"),me=oe("../internals/engine-is-webos-webkit"),xe=oe("../internals/engine-is-node"),fe=ge.MutationObserver||ge.WebKitMutationObserver,z=ge.document,ee=ge.process,ae=ge.Promise,re=Ee(ge,"queueMicrotask"),le=re&&re.value,ue,pe,Pe,be,Ie,Me,Oe,Te;le||(ue=function(){var je,ze;for(xe&&(je=ee.domain)&&je.exit();pe;){ze=pe.fn,pe=pe.next;try{ze()}catch($e){throw pe?be():Pe=void 0,$e}}Pe=void 0,je&&je.enter()},!ye&&!xe&&!me&&fe&&z?(Ie=!0,Me=z.createTextNode(""),new fe(ue).observe(Me,{characterData:!0}),be=function(){Me.data=Ie=!Ie}):!De&&ae&&ae.resolve?(Oe=ae.resolve(void 0),Oe.constructor=ae,Te=ce(Oe.then,Oe),be=function(){Te(ue)}):xe?be=function(){ee.nextTick(ue)}:(Ae=ce(Ae,ge),be=function(){Ae(ue)})),Ze.exports=le||function(je){var ze={fn:je,next:void 0};Pe&&(Pe.next=ze),pe||(pe=ze,be()),Pe=ze}},{"../internals/engine-is-ios":142,"../internals/engine-is-ios-pebble":141,"../internals/engine-is-node":143,"../internals/engine-is-webos-webkit":144,"../internals/function-bind-context":153,"../internals/global":163,"../internals/object-get-own-property-descriptor":199,"../internals/task":243}],190:[function(oe,Ze,Ne){var ge=oe("../internals/native-symbol");Ze.exports=ge&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(oe,Ze,Ne){var ge=oe("../internals/engine-v8-version"),ce=oe("../internals/fails");Ze.exports=!!Object.getOwnPropertySymbols&&!ce(function(){var Ee=Symbol();return!String(Ee)||!(Object(Ee)instanceof Symbol)||!Symbol.sham&&ge&&ge<41})},{"../internals/engine-v8-version":146,"../internals/fails":150}],192:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/is-callable"),Ee=oe("../internals/inspect-source"),Ae=ge.WeakMap;Ze.exports=ce(Ae)&&/native code/.test(Ee(Ae))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/a-callable"),ce=function(Ee){var Ae,ye;this.promise=new Ee(function(De,me){if(Ae!==void 0||ye!==void 0)throw TypeError("Bad Promise constructor");Ae=De,ye=me}),this.resolve=ge(Ae),this.reject=ge(ye)};Ze.exports.f=function(Ee){return new ce(Ee)}},{"../internals/a-callable":95}],194:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/is-regexp"),Ee=ge.TypeError;Ze.exports=function(Ae){if(ce(Ae))throw Ee("The method doesn't accept regular expressions");return Ae}},{"../internals/global":163,"../internals/is-regexp":182}],195:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/descriptors"),ce=oe("../internals/function-uncurry-this"),Ee=oe("../internals/function-call"),Ae=oe("../internals/fails"),ye=oe("../internals/object-keys"),De=oe("../internals/object-get-own-property-symbols"),me=oe("../internals/object-property-is-enumerable"),xe=oe("../internals/to-object"),fe=oe("../internals/indexed-object"),z=Object.assign,ee=Object.defineProperty,ae=ce([].concat);Ze.exports=!z||Ae(function(){if(ge&&z({b:1},z(ee({},"a",{enumerable:!0,get:function(){ee(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var re={},le={},ue=Symbol(),pe="abcdefghijklmnopqrst";return re[ue]=7,pe.split("").forEach(function(Pe){le[Pe]=Pe}),z({},re)[ue]!=7||ye(z({},le)).join("")!=pe})?function(le,ue){for(var pe=xe(le),Pe=arguments.length,be=1,Ie=De.f,Me=me.f;Pe>be;)for(var Oe=fe(arguments[be++]),Te=Ie?ae(ye(Oe),Ie(Oe)):ye(Oe),je=Te.length,ze=0,$e;je>ze;)$e=Te[ze++],(!ge||Ee(Me,Oe,$e))&&(pe[$e]=Oe[$e]);return pe}:z},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/object-get-own-property-symbols":202,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-object":250}],196:[function(oe,Ze,Ne){var ge=oe("../internals/an-object"),ce=oe("../internals/object-define-properties"),Ee=oe("../internals/enum-bug-keys"),Ae=oe("../internals/hidden-keys"),ye=oe("../internals/html"),De=oe("../internals/document-create-element"),me=oe("../internals/shared-key"),xe=">",fe="<",z="prototype",ee="script",ae=me("IE_PROTO"),re=function(){},le=function(Ie){return fe+ee+xe+Ie+fe+"/"+ee+xe},ue=function(Ie){Ie.write(le("")),Ie.close();var Me=Ie.parentWindow.Object;return Ie=null,Me},pe=function(){var Ie=De("iframe"),Me="java"+ee+":",Oe;return Ie.style.display="none",ye.appendChild(Ie),Ie.src=String(Me),Oe=Ie.contentWindow.document,Oe.open(),Oe.write(le("document.F=Object")),Oe.close(),Oe.F},Pe,be=function(){try{Pe=new ActiveXObject("htmlfile")}catch(Me){}be=typeof document!="undefined"?document.domain&&Pe?ue(Pe):pe():ue(Pe);for(var Ie=Ee.length;Ie--;)delete be[z][Ee[Ie]];return be()};Ae[ae]=!0,Ze.exports=Object.create||function(Me,Oe){var Te;return Me!==null?(re[z]=ge(Me),Te=new re,re[z]=null,Te[ae]=Me):Te=be(),Oe===void 0?Te:ce.f(Te,Oe)}},{"../internals/an-object":101,"../internals/document-create-element":135,"../internals/enum-bug-keys":148,"../internals/hidden-keys":165,"../internals/html":167,"../internals/object-define-properties":197,"../internals/shared-key":235}],197:[function(oe,Ze,Ne){var ge=oe("../internals/descriptors"),ce=oe("../internals/v8-prototype-define-bug"),Ee=oe("../internals/object-define-property"),Ae=oe("../internals/an-object"),ye=oe("../internals/to-indexed-object"),De=oe("../internals/object-keys");Ne.f=ge&&!ce?Object.defineProperties:function(xe,fe){Ae(xe);for(var z=ye(fe),ee=De(fe),ae=ee.length,re=0,le;ae>re;)Ee.f(xe,le=ee[re++],z[le]);return xe}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/object-define-property":198,"../internals/object-keys":206,"../internals/to-indexed-object":247,"../internals/v8-prototype-define-bug":265}],198:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/descriptors"),Ee=oe("../internals/ie8-dom-define"),Ae=oe("../internals/v8-prototype-define-bug"),ye=oe("../internals/an-object"),De=oe("../internals/to-property-key"),me=ge.TypeError,xe=Object.defineProperty,fe=Object.getOwnPropertyDescriptor,z="enumerable",ee="configurable",ae="writable";Ne.f=ce?Ae?function(le,ue,pe){if(ye(le),ue=De(ue),ye(pe),typeof le=="function"&&ue==="prototype"&&"value"in pe&&ae in pe&&!pe[ae]){var Pe=fe(le,ue);Pe&&Pe[ae]&&(le[ue]=pe.value,pe={configurable:ee in pe?pe[ee]:Pe[ee],enumerable:z in pe?pe[z]:Pe[z],writable:!1})}return xe(le,ue,pe)}:xe:function(le,ue,pe){if(ye(le),ue=De(ue),ye(pe),Ee)try{return xe(le,ue,pe)}catch(Pe){}if("get"in pe||"set"in pe)throw me("Accessors not supported");return"value"in pe&&(le[ue]=pe.value),le}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/global":163,"../internals/ie8-dom-define":168,"../internals/to-property-key":254,"../internals/v8-prototype-define-bug":265}],199:[function(oe,Ze,Ne){var ge=oe("../internals/descriptors"),ce=oe("../internals/function-call"),Ee=oe("../internals/object-property-is-enumerable"),Ae=oe("../internals/create-property-descriptor"),ye=oe("../internals/to-indexed-object"),De=oe("../internals/to-property-key"),me=oe("../internals/has-own-property"),xe=oe("../internals/ie8-dom-define"),fe=Object.getOwnPropertyDescriptor;Ne.f=ge?fe:function(ee,ae){if(ee=ye(ee),ae=De(ae),xe)try{return fe(ee,ae)}catch(re){}if(me(ee,ae))return Ae(!ce(Ee.f,ee,ae),ee[ae])}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/function-call":155,"../internals/has-own-property":164,"../internals/ie8-dom-define":168,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247,"../internals/to-property-key":254}],200:[function(oe,Ze,Ne){var ge=oe("../internals/classof-raw"),ce=oe("../internals/to-indexed-object"),Ee=oe("../internals/object-get-own-property-names").f,Ae=oe("../internals/array-slice-simple"),ye=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],De=function(me){try{return Ee(me)}catch(xe){return Ae(ye)}};Ze.exports.f=function(xe){return ye&&ge(xe)=="Window"?De(xe):Ee(ce(xe))}},{"../internals/array-slice-simple":116,"../internals/classof-raw":123,"../internals/object-get-own-property-names":201,"../internals/to-indexed-object":247}],201:[function(oe,Ze,Ne){var ge=oe("../internals/object-keys-internal"),ce=oe("../internals/enum-bug-keys"),Ee=ce.concat("length","prototype");Ne.f=Object.getOwnPropertyNames||function(ye){return ge(ye,Ee)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(oe,Ze,Ne){Ne.f=Object.getOwnPropertySymbols},{}],203:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/has-own-property"),Ee=oe("../internals/is-callable"),Ae=oe("../internals/to-object"),ye=oe("../internals/shared-key"),De=oe("../internals/correct-prototype-getter"),me=ye("IE_PROTO"),xe=ge.Object,fe=xe.prototype;Ze.exports=De?xe.getPrototypeOf:function(z){var ee=Ae(z);if(ce(ee,me))return ee[me];var ae=ee.constructor;return Ee(ae)&&ee instanceof ae?ae.prototype:ee instanceof xe?fe:null}},{"../internals/correct-prototype-getter":127,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/shared-key":235,"../internals/to-object":250}],204:[function(oe,Ze,Ne){var ge=oe("../internals/function-uncurry-this");Ze.exports=ge({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(oe,Ze,Ne){var ge=oe("../internals/function-uncurry-this"),ce=oe("../internals/has-own-property"),Ee=oe("../internals/to-indexed-object"),Ae=oe("../internals/array-includes").indexOf,ye=oe("../internals/hidden-keys"),De=ge([].push);Ze.exports=function(me,xe){var fe=Ee(me),z=0,ee=[],ae;for(ae in fe)!ce(ye,ae)&&ce(fe,ae)&&De(ee,ae);for(;xe.length>z;)ce(fe,ae=xe[z++])&&(~Ae(ee,ae)||De(ee,ae));return ee}},{"../internals/array-includes":110,"../internals/function-uncurry-this":157,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/to-indexed-object":247}],206:[function(oe,Ze,Ne){var ge=oe("../internals/object-keys-internal"),ce=oe("../internals/enum-bug-keys");Ze.exports=Object.keys||function(Ae){return ge(Ae,ce)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(oe,Ze,Ne){"use strict";var ge={}.propertyIsEnumerable,ce=Object.getOwnPropertyDescriptor,Ee=ce&&!ge.call({1:2},1);Ne.f=Ee?function(ye){var De=ce(this,ye);return!!De&&De.enumerable}:ge},{}],208:[function(oe,Ze,Ne){var ge=oe("../internals/function-uncurry-this"),ce=oe("../internals/an-object"),Ee=oe("../internals/a-possible-prototype");Ze.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var Ae=!1,ye={},De;try{De=ge(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),De(ye,[]),Ae=ye instanceof Array}catch(me){}return function(xe,fe){return ce(xe),Ee(fe),Ae?De(xe,fe):xe.__proto__=fe,xe}}():void 0)},{"../internals/a-possible-prototype":97,"../internals/an-object":101,"../internals/function-uncurry-this":157}],209:[function(oe,Ze,Ne){var ge=oe("../internals/descriptors"),ce=oe("../internals/function-uncurry-this"),Ee=oe("../internals/object-keys"),Ae=oe("../internals/to-indexed-object"),ye=oe("../internals/object-property-is-enumerable").f,De=ce(ye),me=ce([].push),xe=function(fe){return function(z){for(var ee=Ae(z),ae=Ee(ee),re=ae.length,le=0,ue=[],pe;re>le;)pe=ae[le++],(!ge||De(ee,pe))&&me(ue,fe?[pe,ee[pe]]:ee[pe]);return ue}};Ze.exports={entries:xe(!0),values:xe(!1)}},{"../internals/descriptors":134,"../internals/function-uncurry-this":157,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247}],210:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/to-string-tag-support"),ce=oe("../internals/classof");Ze.exports=ge?{}.toString:function(){return"[object "+ce(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/function-call"),Ee=oe("../internals/is-callable"),Ae=oe("../internals/is-object"),ye=ge.TypeError;Ze.exports=function(De,me){var xe,fe;if(me==="string"&&Ee(xe=De.toString)&&!Ae(fe=ce(xe,De))||Ee(xe=De.valueOf)&&!Ae(fe=ce(xe,De))||me!=="string"&&Ee(xe=De.toString)&&!Ae(fe=ce(xe,De)))return fe;throw ye("Can't convert object to primitive value")}},{"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/is-object":180}],212:[function(oe,Ze,Ne){var ge=oe("../internals/get-built-in"),ce=oe("../internals/function-uncurry-this"),Ee=oe("../internals/object-get-own-property-names"),Ae=oe("../internals/object-get-own-property-symbols"),ye=oe("../internals/an-object"),De=ce([].concat);Ze.exports=ge("Reflect","ownKeys")||function(xe){var fe=Ee.f(ye(xe)),z=Ae.f;return z?De(fe,z(xe)):fe}},{"../internals/an-object":101,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/object-get-own-property-names":201,"../internals/object-get-own-property-symbols":202}],213:[function(oe,Ze,Ne){var ge=oe("../internals/global");Ze.exports=ge},{"../internals/global":163}],214:[function(oe,Ze,Ne){Ze.exports=function(ge){try{return{error:!1,value:ge()}}catch(ce){return{error:!0,value:ce}}}},{}],215:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/promise-native-constructor"),Ee=oe("../internals/is-callable"),Ae=oe("../internals/is-forced"),ye=oe("../internals/inspect-source"),De=oe("../internals/well-known-symbol"),me=oe("../internals/engine-is-browser"),xe=oe("../internals/is-pure"),fe=oe("../internals/engine-v8-version"),z=ce&&ce.prototype,ee=De("species"),ae=!1,re=Ee(ge.PromiseRejectionEvent),le=Ae("Promise",function(){var ue=ye(ce),pe=ue!==String(ce);if(!pe&&fe===66||xe&&!(z.catch&&z.finally))return!0;if(fe>=51&&/native code/.test(ue))return!1;var Pe=new ce(function(Me){Me(1)}),be=function(Me){Me(function(){},function(){})},Ie=Pe.constructor={};return Ie[ee]=be,ae=Pe.then(function(){})instanceof be,ae?!pe&&me&&!re:!0});Ze.exports={CONSTRUCTOR:le,REJECTION_EVENT:re,SUBCLASSING:ae}},{"../internals/engine-is-browser":139,"../internals/engine-v8-version":146,"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176,"../internals/is-forced":178,"../internals/is-pure":181,"../internals/promise-native-constructor":216,"../internals/well-known-symbol":268}],216:[function(oe,Ze,Ne){var ge=oe("../internals/global");Ze.exports=ge.Promise},{"../internals/global":163}],217:[function(oe,Ze,Ne){var ge=oe("../internals/an-object"),ce=oe("../internals/is-object"),Ee=oe("../internals/new-promise-capability");Ze.exports=function(Ae,ye){if(ge(Ae),ce(ye)&&ye.constructor===Ae)return ye;var De=Ee.f(Ae),me=De.resolve;return me(ye),De.promise}},{"../internals/an-object":101,"../internals/is-object":180,"../internals/new-promise-capability":193}],218:[function(oe,Ze,Ne){var ge=oe("../internals/promise-native-constructor"),ce=oe("../internals/check-correctness-of-iteration"),Ee=oe("../internals/promise-constructor-detection").CONSTRUCTOR;Ze.exports=Ee||!ce(function(Ae){ge.all(Ae).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":122,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216}],219:[function(oe,Ze,Ne){var ge=oe("../internals/object-define-property").f;Ze.exports=function(ce,Ee,Ae){Ae in ce||ge(ce,Ae,{configurable:!0,get:function(){return Ee[Ae]},set:function(ye){Ee[Ae]=ye}})}},{"../internals/object-define-property":198}],220:[function(oe,Ze,Ne){var ge=function(){this.head=null,this.tail=null};ge.prototype={add:function(ce){var Ee={item:ce,next:null};this.head?this.tail.next=Ee:this.head=Ee,this.tail=Ee},get:function(){var ce=this.head;if(ce)return this.head=ce.next,this.tail===ce&&(this.tail=null),ce.item}},Ze.exports=ge},{}],221:[function(oe,Ze,Ne){var ge=oe("../internals/redefine");Ze.exports=function(ce,Ee,Ae){for(var ye in Ee)ge(ce,ye,Ee[ye],Ae);return ce}},{"../internals/redefine":222}],222:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/is-callable"),Ee=oe("../internals/has-own-property"),Ae=oe("../internals/create-non-enumerable-property"),ye=oe("../internals/set-global"),De=oe("../internals/inspect-source"),me=oe("../internals/internal-state"),xe=oe("../internals/function-name").CONFIGURABLE,fe=me.get,z=me.enforce,ee=String(String).split("String");(Ze.exports=function(ae,re,le,ue){var pe=ue?!!ue.unsafe:!1,Pe=ue?!!ue.enumerable:!1,be=ue?!!ue.noTargetGet:!1,Ie=ue&&ue.name!==void 0?ue.name:re,Me;if(ce(le)&&(String(Ie).slice(0,7)==="Symbol("&&(Ie="["+String(Ie).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Ee(le,"name")||xe&&le.name!==Ie)&&Ae(le,"name",Ie),Me=z(le),Me.source||(Me.source=ee.join(typeof Ie=="string"?Ie:""))),ae===ge){Pe?ae[re]=le:ye(re,le);return}else pe?!be&&ae[re]&&(Pe=!0):delete ae[re];Pe?ae[re]=le:Ae(ae,re,le)})(Function.prototype,"toString",function(){return ce(this)&&fe(this).source||De(this)})},{"../internals/create-non-enumerable-property":129,"../internals/function-name":156,"../internals/global":163,"../internals/has-own-property":164,"../internals/inspect-source":172,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/set-global":232}],223:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/function-call"),Ee=oe("../internals/an-object"),Ae=oe("../internals/is-callable"),ye=oe("../internals/classof-raw"),De=oe("../internals/regexp-exec"),me=ge.TypeError;Ze.exports=function(xe,fe){var z=xe.exec;if(Ae(z)){var ee=ce(z,xe,fe);return ee!==null&&Ee(ee),ee}if(ye(xe)==="RegExp")return ce(De,xe,fe);throw me("RegExp#exec called on incompatible receiver")}},{"../internals/an-object":101,"../internals/classof-raw":123,"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/regexp-exec":224}],224:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/function-call"),ce=oe("../internals/function-uncurry-this"),Ee=oe("../internals/to-string"),Ae=oe("../internals/regexp-flags"),ye=oe("../internals/regexp-sticky-helpers"),De=oe("../internals/shared"),me=oe("../internals/object-create"),xe=oe("../internals/internal-state").get,fe=oe("../internals/regexp-unsupported-dot-all"),z=oe("../internals/regexp-unsupported-ncg"),ee=De("native-string-replace",String.prototype.replace),ae=RegExp.prototype.exec,re=ae,le=ce("".charAt),ue=ce("".indexOf),pe=ce("".replace),Pe=ce("".slice),be=function(){var Te=/a/,je=/b*/g;return ge(ae,Te,"a"),ge(ae,je,"a"),Te.lastIndex!==0||je.lastIndex!==0}(),Ie=ye.BROKEN_CARET,Me=/()??/.exec("")[1]!==void 0,Oe=be||Me||Ie||fe||z;Oe&&(re=function(je){var ze=this,$e=xe(ze),Ue=Ee(je),qe=$e.raw,et,lt,ut,vt,tt,at,dt;if(qe)return qe.lastIndex=ze.lastIndex,et=ge(re,qe,Ue),ze.lastIndex=qe.lastIndex,et;var St=$e.groups,xt=Ie&&ze.sticky,ft=ge(Ae,ze),pt=ze.source,yt=0,Tt=Ue;if(xt&&(ft=pe(ft,"y",""),ue(ft,"g")===-1&&(ft+="g"),Tt=Pe(Ue,ze.lastIndex),ze.lastIndex>0&&(!ze.multiline||ze.multiline&&le(Ue,ze.lastIndex-1)!==`
`)&&(pt="(?: "+pt+")",Tt=" "+Tt,yt++),lt=new RegExp("^(?:"+pt+")",ft)),Me&&(lt=new RegExp("^"+pt+"$(?!\\s)",ft)),be&&(ut=ze.lastIndex),vt=ge(ae,xt?lt:ze,Tt),xt?vt?(vt.input=Pe(vt.input,yt),vt[0]=Pe(vt[0],yt),vt.index=ze.lastIndex,ze.lastIndex+=vt[0].length):ze.lastIndex=0:be&&vt&&(ze.lastIndex=ze.global?vt.index+vt[0].length:ut),Me&&vt&&vt.length>1&&ge(ee,vt[0],lt,function(){for(tt=1;tt<arguments.length-2;tt++)arguments[tt]===void 0&&(vt[tt]=void 0)}),vt&&St)for(vt.groups=at=me(null),tt=0;tt<St.length;tt++)dt=St[tt],at[dt[0]]=vt[dt[1]];return vt}),Ze.exports=re},{"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/internal-state":173,"../internals/object-create":196,"../internals/regexp-flags":225,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/shared":237,"../internals/to-string":256}],225:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/an-object");Ze.exports=function(){var ce=ge(this),Ee="";return ce.hasIndices&&(Ee+="d"),ce.global&&(Ee+="g"),ce.ignoreCase&&(Ee+="i"),ce.multiline&&(Ee+="m"),ce.dotAll&&(Ee+="s"),ce.unicode&&(Ee+="u"),ce.sticky&&(Ee+="y"),Ee}},{"../internals/an-object":101}],226:[function(oe,Ze,Ne){var ge=oe("../internals/function-call"),ce=oe("../internals/has-own-property"),Ee=oe("../internals/object-is-prototype-of"),Ae=oe("../internals/regexp-flags"),ye=RegExp.prototype;Ze.exports=function(De){var me=De.flags;return me===void 0&&!("flags"in ye)&&!ce(De,"flags")&&Ee(ye,De)?ge(Ae,De):me}},{"../internals/function-call":155,"../internals/has-own-property":164,"../internals/object-is-prototype-of":204,"../internals/regexp-flags":225}],227:[function(oe,Ze,Ne){var ge=oe("../internals/fails"),ce=oe("../internals/global"),Ee=ce.RegExp,Ae=ge(function(){var me=Ee("a","y");return me.lastIndex=2,me.exec("abcd")!=null}),ye=Ae||ge(function(){return!Ee("a","y").sticky}),De=Ae||ge(function(){var me=Ee("^r","gy");return me.lastIndex=2,me.exec("str")!=null});Ze.exports={BROKEN_CARET:De,MISSED_STICKY:ye,UNSUPPORTED_Y:Ae}},{"../internals/fails":150,"../internals/global":163}],228:[function(oe,Ze,Ne){var ge=oe("../internals/fails"),ce=oe("../internals/global"),Ee=ce.RegExp;Ze.exports=ge(function(){var Ae=Ee(".","s");return!(Ae.dotAll&&Ae.exec(`
`)&&Ae.flags==="s")})},{"../internals/fails":150,"../internals/global":163}],229:[function(oe,Ze,Ne){var ge=oe("../internals/fails"),ce=oe("../internals/global"),Ee=ce.RegExp;Ze.exports=ge(function(){var Ae=Ee("(?<a>b)","g");return Ae.exec("b").groups.a!=="b"||"b".replace(Ae,"$<a>c")!=="bc"})},{"../internals/fails":150,"../internals/global":163}],230:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=ge.TypeError;Ze.exports=function(Ee){if(Ee==null)throw ce("Can't call method on "+Ee);return Ee}},{"../internals/global":163}],231:[function(oe,Ze,Ne){Ze.exports=Object.is||function(ce,Ee){return ce===Ee?ce!==0||1/ce===1/Ee:ce!=ce&&Ee!=Ee}},{}],232:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=Object.defineProperty;Ze.exports=function(Ee,Ae){try{ce(ge,Ee,{value:Ae,configurable:!0,writable:!0})}catch(ye){ge[Ee]=Ae}return Ae}},{"../internals/global":163}],233:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/get-built-in"),ce=oe("../internals/object-define-property"),Ee=oe("../internals/well-known-symbol"),Ae=oe("../internals/descriptors"),ye=Ee("species");Ze.exports=function(De){var me=ge(De),xe=ce.f;Ae&&me&&!me[ye]&&xe(me,ye,{configurable:!0,get:function(){return this}})}},{"../internals/descriptors":134,"../internals/get-built-in":158,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],234:[function(oe,Ze,Ne){var ge=oe("../internals/object-define-property").f,ce=oe("../internals/has-own-property"),Ee=oe("../internals/well-known-symbol"),Ae=Ee("toStringTag");Ze.exports=function(ye,De,me){ye&&!me&&(ye=ye.prototype),ye&&!ce(ye,Ae)&&ge(ye,Ae,{configurable:!0,value:De})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(oe,Ze,Ne){var ge=oe("../internals/shared"),ce=oe("../internals/uid"),Ee=ge("keys");Ze.exports=function(Ae){return Ee[Ae]||(Ee[Ae]=ce(Ae))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/set-global"),Ee="__core-js_shared__",Ae=ge[Ee]||ce(Ee,{});Ze.exports=Ae},{"../internals/global":163,"../internals/set-global":232}],237:[function(oe,Ze,Ne){var ge=oe("../internals/is-pure"),ce=oe("../internals/shared-store");(Ze.exports=function(Ee,Ae){return ce[Ee]||(ce[Ee]=Ae!==void 0?Ae:{})})("versions",[]).push({version:"3.22.1",mode:ge?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.1/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":181,"../internals/shared-store":236}],238:[function(oe,Ze,Ne){var ge=oe("../internals/an-object"),ce=oe("../internals/a-constructor"),Ee=oe("../internals/well-known-symbol"),Ae=Ee("species");Ze.exports=function(ye,De){var me=ge(ye).constructor,xe;return me===void 0||(xe=ge(me)[Ae])==null?De:ce(xe)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(oe,Ze,Ne){var ge=oe("../internals/function-uncurry-this"),ce=oe("../internals/to-integer-or-infinity"),Ee=oe("../internals/to-string"),Ae=oe("../internals/require-object-coercible"),ye=ge("".charAt),De=ge("".charCodeAt),me=ge("".slice),xe=function(fe){return function(z,ee){var ae=Ee(Ae(z)),re=ce(ee),le=ae.length,ue,pe;return re<0||re>=le?fe?"":void 0:(ue=De(ae,re),ue<55296||ue>56319||re+1===le||(pe=De(ae,re+1))<56320||pe>57343?fe?ye(ae,re):ue:fe?me(ae,re,re+2):(ue-55296<<10)+(pe-56320)+65536)}};Ze.exports={codeAt:xe(!1),charAt:xe(!0)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-string":256}],240:[function(oe,Ze,Ne){var ge=oe("../internals/function-name").PROPER,ce=oe("../internals/fails"),Ee=oe("../internals/whitespaces"),Ae="\u200B\x85\u180E";Ze.exports=function(ye){return ce(function(){return!!Ee[ye]()||Ae[ye]()!==Ae||ge&&Ee[ye].name!==ye})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(oe,Ze,Ne){var ge=oe("../internals/function-uncurry-this"),ce=oe("../internals/require-object-coercible"),Ee=oe("../internals/to-string"),Ae=oe("../internals/whitespaces"),ye=ge("".replace),De="["+Ae+"]",me=RegExp("^"+De+De+"*"),xe=RegExp(De+De+"*$"),fe=function(z){return function(ee){var ae=Ee(ce(ee));return z&1&&(ae=ye(ae,me,"")),z&2&&(ae=ye(ae,xe,"")),ae}};Ze.exports={start:fe(1),end:fe(2),trim:fe(3)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-string":256,"../internals/whitespaces":269}],242:[function(oe,Ze,Ne){var ge=oe("../internals/function-call"),ce=oe("../internals/get-built-in"),Ee=oe("../internals/well-known-symbol"),Ae=oe("../internals/redefine");Ze.exports=function(){var ye=ce("Symbol"),De=ye&&ye.prototype,me=De&&De.valueOf,xe=Ee("toPrimitive");De&&!De[xe]&&Ae(De,xe,function(fe){return ge(me,this)})}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/function-apply"),Ee=oe("../internals/function-bind-context"),Ae=oe("../internals/is-callable"),ye=oe("../internals/has-own-property"),De=oe("../internals/fails"),me=oe("../internals/html"),xe=oe("../internals/array-slice"),fe=oe("../internals/document-create-element"),z=oe("../internals/validate-arguments-length"),ee=oe("../internals/engine-is-ios"),ae=oe("../internals/engine-is-node"),re=ge.setImmediate,le=ge.clearImmediate,ue=ge.process,pe=ge.Dispatch,Pe=ge.Function,be=ge.MessageChannel,Ie=ge.String,Me=0,Oe={},Te="onreadystatechange",je,ze,$e,Ue;try{je=ge.location}catch(vt){}var qe=function(vt){if(ye(Oe,vt)){var tt=Oe[vt];delete Oe[vt],tt()}},et=function(vt){return function(){qe(vt)}},lt=function(vt){qe(vt.data)},ut=function(vt){ge.postMessage(Ie(vt),je.protocol+"//"+je.host)};(!re||!le)&&(re=function(tt){z(arguments.length,1);var at=Ae(tt)?tt:Pe(tt),dt=xe(arguments,1);return Oe[++Me]=function(){ce(at,void 0,dt)},ze(Me),Me},le=function(tt){delete Oe[tt]},ae?ze=function(vt){ue.nextTick(et(vt))}:pe&&pe.now?ze=function(vt){pe.now(et(vt))}:be&&!ee?($e=new be,Ue=$e.port2,$e.port1.onmessage=lt,ze=Ee(Ue.postMessage,Ue)):ge.addEventListener&&Ae(ge.postMessage)&&!ge.importScripts&&je&&je.protocol!=="file:"&&!De(ut)?(ze=ut,ge.addEventListener("message",lt,!1)):Te in fe("script")?ze=function(vt){me.appendChild(fe("script"))[Te]=function(){me.removeChild(this),qe(vt)}}:ze=function(vt){setTimeout(et(vt),0)}),Ze.exports={set:re,clear:le}},{"../internals/array-slice":117,"../internals/document-create-element":135,"../internals/engine-is-ios":142,"../internals/engine-is-node":143,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-bind-context":153,"../internals/global":163,"../internals/has-own-property":164,"../internals/html":167,"../internals/is-callable":176,"../internals/validate-arguments-length":266}],244:[function(oe,Ze,Ne){var ge=oe("../internals/function-uncurry-this");Ze.exports=ge(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(oe,Ze,Ne){var ge=oe("../internals/to-integer-or-infinity"),ce=Math.max,Ee=Math.min;Ze.exports=function(Ae,ye){var De=ge(Ae);return De<0?ce(De+ye,0):Ee(De,ye)}},{"../internals/to-integer-or-infinity":248}],246:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/to-integer-or-infinity"),Ee=oe("../internals/to-length"),Ae=ge.RangeError;Ze.exports=function(ye){if(ye===void 0)return 0;var De=ce(ye),me=Ee(De);if(De!==me)throw Ae("Wrong length or index");return me}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(oe,Ze,Ne){var ge=oe("../internals/indexed-object"),ce=oe("../internals/require-object-coercible");Ze.exports=function(Ee){return ge(ce(Ee))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(oe,Ze,Ne){var ge=Math.ceil,ce=Math.floor;Ze.exports=function(Ee){var Ae=+Ee;return Ae!==Ae||Ae===0?0:(Ae>0?ce:ge)(Ae)}},{}],249:[function(oe,Ze,Ne){var ge=oe("../internals/to-integer-or-infinity"),ce=Math.min;Ze.exports=function(Ee){return Ee>0?ce(ge(Ee),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/require-object-coercible"),Ee=ge.Object;Ze.exports=function(Ae){return Ee(ce(Ae))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/to-positive-integer"),Ee=ge.RangeError;Ze.exports=function(Ae,ye){var De=ce(Ae);if(De%ye)throw Ee("Wrong offset");return De}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/to-integer-or-infinity"),Ee=ge.RangeError;Ze.exports=function(Ae){var ye=ce(Ae);if(ye<0)throw Ee("The argument can't be less than 0");return ye}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/function-call"),Ee=oe("../internals/is-object"),Ae=oe("../internals/is-symbol"),ye=oe("../internals/get-method"),De=oe("../internals/ordinary-to-primitive"),me=oe("../internals/well-known-symbol"),xe=ge.TypeError,fe=me("toPrimitive");Ze.exports=function(z,ee){if(!Ee(z)||Ae(z))return z;var ae=ye(z,fe),re;if(ae){if(ee===void 0&&(ee="default"),re=ce(ae,z,ee),!Ee(re)||Ae(re))return re;throw xe("Can't convert object to primitive value")}return ee===void 0&&(ee="number"),De(z,ee)}},{"../internals/function-call":155,"../internals/get-method":161,"../internals/global":163,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/ordinary-to-primitive":211,"../internals/well-known-symbol":268}],254:[function(oe,Ze,Ne){var ge=oe("../internals/to-primitive"),ce=oe("../internals/is-symbol");Ze.exports=function(Ee){var Ae=ge(Ee,"string");return ce(Ae)?Ae:Ae+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(oe,Ze,Ne){var ge=oe("../internals/well-known-symbol"),ce=ge("toStringTag"),Ee={};Ee[ce]="z",Ze.exports=String(Ee)==="[object z]"},{"../internals/well-known-symbol":268}],256:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/classof"),Ee=ge.String;Ze.exports=function(Ae){if(ce(Ae)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Ee(Ae)}},{"../internals/classof":124,"../internals/global":163}],257:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=ge.String;Ze.exports=function(Ee){try{return ce(Ee)}catch(Ae){return"Object"}}},{"../internals/global":163}],258:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/export"),ce=oe("../internals/global"),Ee=oe("../internals/function-call"),Ae=oe("../internals/descriptors"),ye=oe("../internals/typed-array-constructors-require-wrappers"),De=oe("../internals/array-buffer-view-core"),me=oe("../internals/array-buffer"),xe=oe("../internals/an-instance"),fe=oe("../internals/create-property-descriptor"),z=oe("../internals/create-non-enumerable-property"),ee=oe("../internals/is-integral-number"),ae=oe("../internals/to-length"),re=oe("../internals/to-index"),le=oe("../internals/to-offset"),ue=oe("../internals/to-property-key"),pe=oe("../internals/has-own-property"),Pe=oe("../internals/classof"),be=oe("../internals/is-object"),Ie=oe("../internals/is-symbol"),Me=oe("../internals/object-create"),Oe=oe("../internals/object-is-prototype-of"),Te=oe("../internals/object-set-prototype-of"),je=oe("../internals/object-get-own-property-names").f,ze=oe("../internals/typed-array-from"),$e=oe("../internals/array-iteration").forEach,Ue=oe("../internals/set-species"),qe=oe("../internals/object-define-property"),et=oe("../internals/object-get-own-property-descriptor"),lt=oe("../internals/internal-state"),ut=oe("../internals/inherit-if-required"),vt=lt.get,tt=lt.set,at=qe.f,dt=et.f,St=Math.round,xt=ce.RangeError,ft=me.ArrayBuffer,pt=ft.prototype,yt=me.DataView,Tt=De.NATIVE_ARRAY_BUFFER_VIEWS,At=De.TYPED_ARRAY_CONSTRUCTOR,Gt=De.TYPED_ARRAY_TAG,wt=De.TypedArray,bt=De.TypedArrayPrototype,it=De.aTypedArrayConstructor,_e=De.isTypedArray,we="BYTES_PER_ELEMENT",Ce="Wrong length",Ye=function(Qe,ht){it(Qe);for(var Et=0,mt=ht.length,Ft=new Qe(mt);mt>Et;)Ft[Et]=ht[Et++];return Ft},Je=function(Qe,ht){at(Qe,ht,{get:function(){return vt(this)[ht]}})},Le=function(Qe){var ht;return Oe(pt,Qe)||(ht=Pe(Qe))=="ArrayBuffer"||ht=="SharedArrayBuffer"},Ge=function(Qe,ht){return _e(Qe)&&!Ie(ht)&&ht in Qe&&ee(+ht)&&ht>=0},Ke=function(ht,Et){return Et=ue(Et),Ge(ht,Et)?fe(2,ht[Et]):dt(ht,Et)},Xe=function(ht,Et,mt){return Et=ue(Et),Ge(ht,Et)&&be(mt)&&pe(mt,"value")&&!pe(mt,"get")&&!pe(mt,"set")&&!mt.configurable&&(!pe(mt,"writable")||mt.writable)&&(!pe(mt,"enumerable")||mt.enumerable)?(ht[Et]=mt.value,ht):at(ht,Et,mt)};Ae?(Tt||(et.f=Ke,qe.f=Xe,Je(bt,"buffer"),Je(bt,"byteOffset"),Je(bt,"byteLength"),Je(bt,"length")),ge({target:"Object",stat:!0,forced:!Tt},{getOwnPropertyDescriptor:Ke,defineProperty:Xe}),Ze.exports=function(Qe,ht,Et){var mt=Qe.match(/\d+$/)[0]/8,Ft=Qe+(Et?"Clamped":"")+"Array",Kt="get"+Qe,jt="set"+Qe,Wt=ce[Ft],Vt=Wt,nn=Vt&&Vt.prototype,Bt={},_t=function(xn,zn){var tr=vt(xn);return tr.view[Kt](zn*mt+tr.byteOffset,!0)},en=function(xn,zn,tr){var er=vt(xn);Et&&(tr=(tr=St(tr))<0?0:tr>255?255:tr&255),er.view[jt](zn*mt+er.byteOffset,tr,!0)},on=function(xn,zn){at(xn,zn,{get:function(){return _t(this,zn)},set:function(tr){return en(this,zn,tr)},enumerable:!0})};Tt?ye&&(Vt=ht(function(xn,zn,tr,er){return xe(xn,nn),ut(function(){return be(zn)?Le(zn)?er!==void 0?new Wt(zn,le(tr,mt),er):tr!==void 0?new Wt(zn,le(tr,mt)):new Wt(zn):_e(zn)?Ye(Vt,zn):Ee(ze,Vt,zn):new Wt(re(zn))}(),xn,Vt)}),Te&&Te(Vt,wt),$e(je(Wt),function(xn){xn in Vt||z(Vt,xn,Wt[xn])}),Vt.prototype=nn):(Vt=ht(function(xn,zn,tr,er){xe(xn,nn);var ur=0,Dr=0,Mr,Br,qr;if(!be(zn))qr=re(zn),Br=qr*mt,Mr=new ft(Br);else if(Le(zn)){Mr=zn,Dr=le(tr,mt);var Qr=zn.byteLength;if(er===void 0){if(Qr%mt||(Br=Qr-Dr,Br<0))throw xt(Ce)}else if(Br=ae(er)*mt,Br+Dr>Qr)throw xt(Ce);qr=Br/mt}else return _e(zn)?Ye(Vt,zn):Ee(ze,Vt,zn);for(tt(xn,{buffer:Mr,byteOffset:Dr,byteLength:Br,length:qr,view:new yt(Mr)});ur<qr;)on(xn,ur++)}),Te&&Te(Vt,wt),nn=Vt.prototype=Me(bt)),nn.constructor!==Vt&&z(nn,"constructor",Vt),z(nn,At,Vt),Gt&&z(nn,Gt,Ft),Bt[Ft]=Vt,ge({global:!0,forced:Vt!=Wt,sham:!Tt},Bt),we in Vt||z(Vt,we,mt),we in nn||z(nn,we,mt),Ue(Ft)}):Ze.exports=function(){}},{"../internals/an-instance":100,"../internals/array-buffer":104,"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/classof":124,"../internals/create-non-enumerable-property":129,"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-integral-number":179,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/object-create":196,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/object-set-prototype-of":208,"../internals/set-species":233,"../internals/to-index":246,"../internals/to-length":249,"../internals/to-offset":251,"../internals/to-property-key":254,"../internals/typed-array-constructors-require-wrappers":259,"../internals/typed-array-from":261}],259:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/fails"),Ee=oe("../internals/check-correctness-of-iteration"),Ae=oe("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS,ye=ge.ArrayBuffer,De=ge.Int8Array;Ze.exports=!Ae||!ce(function(){De(1)})||!ce(function(){new De(-1)})||!Ee(function(me){new De,new De(null),new De(1.5),new De(me)},!0)||ce(function(){return new De(new ye(2),1,void 0).length!==1})},{"../internals/array-buffer-view-core":103,"../internals/check-correctness-of-iteration":122,"../internals/fails":150,"../internals/global":163}],260:[function(oe,Ze,Ne){var ge=oe("../internals/array-from-constructor-and-list"),ce=oe("../internals/typed-array-species-constructor");Ze.exports=function(Ee,Ae){return ge(ce(Ee),Ae)}},{"../internals/array-from-constructor-and-list":108,"../internals/typed-array-species-constructor":262}],261:[function(oe,Ze,Ne){var ge=oe("../internals/function-bind-context"),ce=oe("../internals/function-call"),Ee=oe("../internals/a-constructor"),Ae=oe("../internals/to-object"),ye=oe("../internals/length-of-array-like"),De=oe("../internals/get-iterator"),me=oe("../internals/get-iterator-method"),xe=oe("../internals/is-array-iterator-method"),fe=oe("../internals/array-buffer-view-core").aTypedArrayConstructor;Ze.exports=function(ee){var ae=Ee(this),re=Ae(ee),le=arguments.length,ue=le>1?arguments[1]:void 0,pe=ue!==void 0,Pe=me(re),be,Ie,Me,Oe,Te,je;if(Pe&&!xe(Pe))for(Te=De(re,Pe),je=Te.next,re=[];!(Oe=ce(je,Te)).done;)re.push(Oe.value);for(pe&&le>2&&(ue=ge(ue,arguments[2])),Ie=ye(re),Me=new(fe(ae))(Ie),be=0;Ie>be;be++)Me[be]=pe?ue(re[be],be):re[be];return Me}},{"../internals/a-constructor":96,"../internals/array-buffer-view-core":103,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/is-array-iterator-method":174,"../internals/length-of-array-like":188,"../internals/to-object":250}],262:[function(oe,Ze,Ne){var ge=oe("../internals/array-buffer-view-core"),ce=oe("../internals/species-constructor"),Ee=ge.TYPED_ARRAY_CONSTRUCTOR,Ae=ge.aTypedArrayConstructor;Ze.exports=function(ye){return Ae(ce(ye,ye[Ee]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(oe,Ze,Ne){var ge=oe("../internals/function-uncurry-this"),ce=0,Ee=Math.random(),Ae=ge(1 .toString);Ze.exports=function(ye){return"Symbol("+(ye===void 0?"":ye)+")_"+Ae(++ce+Ee,36)}},{"../internals/function-uncurry-this":157}],264:[function(oe,Ze,Ne){var ge=oe("../internals/native-symbol");Ze.exports=ge&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(oe,Ze,Ne){var ge=oe("../internals/descriptors"),ce=oe("../internals/fails");Ze.exports=ge&&ce(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=ge.TypeError;Ze.exports=function(Ee,Ae){if(Ee<Ae)throw ce("Not enough arguments");return Ee}},{"../internals/global":163}],267:[function(oe,Ze,Ne){var ge=oe("../internals/well-known-symbol");Ne.f=ge},{"../internals/well-known-symbol":268}],268:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/shared"),Ee=oe("../internals/has-own-property"),Ae=oe("../internals/uid"),ye=oe("../internals/native-symbol"),De=oe("../internals/use-symbol-as-uid"),me=ce("wks"),xe=ge.Symbol,fe=xe&&xe.for,z=De?xe:xe&&xe.withoutSetter||Ae;Ze.exports=function(ee){if(!Ee(me,ee)||!(ye||typeof me[ee]=="string")){var ae="Symbol."+ee;ye&&Ee(xe,ee)?me[ee]=xe[ee]:De&&fe?me[ee]=fe(ae):me[ee]=z(ae)}return me[ee]}},{"../internals/global":163,"../internals/has-own-property":164,"../internals/native-symbol":191,"../internals/shared":237,"../internals/uid":263,"../internals/use-symbol-as-uid":264}],269:[function(oe,Ze,Ne){Ze.exports=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},{}],270:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/export"),ce=oe("../internals/global"),Ee=oe("../internals/array-buffer"),Ae=oe("../internals/set-species"),ye="ArrayBuffer",De=Ee[ye],me=ce[ye];ge({global:!0,forced:me!==De},{ArrayBuffer:De}),Ae(ye)},{"../internals/array-buffer":104,"../internals/export":149,"../internals/global":163,"../internals/set-species":233}],271:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/export"),ce=oe("../internals/function-uncurry-this"),Ee=oe("../internals/fails"),Ae=oe("../internals/array-buffer"),ye=oe("../internals/an-object"),De=oe("../internals/to-absolute-index"),me=oe("../internals/to-length"),xe=oe("../internals/species-constructor"),fe=Ae.ArrayBuffer,z=Ae.DataView,ee=z.prototype,ae=ce(fe.prototype.slice),re=ce(ee.getUint8),le=ce(ee.setUint8),ue=Ee(function(){return!new fe(2).slice(1,void 0).byteLength});ge({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:ue},{slice:function(Pe,be){if(ae&&be===void 0)return ae(ye(this),Pe);for(var Ie=ye(this).byteLength,Me=De(Pe,Ie),Oe=De(be===void 0?Ie:be,Ie),Te=new(xe(this,fe))(me(Oe-Me)),je=new z(this),ze=new z(Te),$e=0;Me<Oe;)le(ze,$e++,re(je,Me++));return Te}})},{"../internals/an-object":101,"../internals/array-buffer":104,"../internals/export":149,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/species-constructor":238,"../internals/to-absolute-index":245,"../internals/to-length":249}],272:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/export"),ce=oe("../internals/global"),Ee=oe("../internals/fails"),Ae=oe("../internals/is-array"),ye=oe("../internals/is-object"),De=oe("../internals/to-object"),me=oe("../internals/length-of-array-like"),xe=oe("../internals/create-property"),fe=oe("../internals/array-species-create"),z=oe("../internals/array-method-has-species-support"),ee=oe("../internals/well-known-symbol"),ae=oe("../internals/engine-v8-version"),re=ee("isConcatSpreadable"),le=9007199254740991,ue="Maximum allowed index exceeded",pe=ce.TypeError,Pe=ae>=51||!Ee(function(){var Oe=[];return Oe[re]=!1,Oe.concat()[0]!==Oe}),be=z("concat"),Ie=function(Oe){if(!ye(Oe))return!1;var Te=Oe[re];return Te!==void 0?!!Te:Ae(Oe)},Me=!Pe||!be;ge({target:"Array",proto:!0,forced:Me},{concat:function(Te){var je=De(this),ze=fe(je,0),$e=0,Ue,qe,et,lt,ut;for(Ue=-1,et=arguments.length;Ue<et;Ue++)if(ut=Ue===-1?je:arguments[Ue],Ie(ut)){if(lt=me(ut),$e+lt>le)throw pe(ue);for(qe=0;qe<lt;qe++,$e++)qe in ut&&xe(ze,$e,ut[qe])}else{if($e>=le)throw pe(ue);xe(ze,$e++,ut)}return ze.length=$e,ze}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/engine-v8-version":146,"../internals/export":149,"../internals/fails":150,"../internals/global":163,"../internals/is-array":175,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/well-known-symbol":268}],273:[function(oe,Ze,Ne){var ge=oe("../internals/export"),ce=oe("../internals/array-fill"),Ee=oe("../internals/add-to-unscopables");ge({target:"Array",proto:!0},{fill:ce}),Ee("fill")},{"../internals/add-to-unscopables":98,"../internals/array-fill":106,"../internals/export":149}],274:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/export"),ce=oe("../internals/array-iteration").filter,Ee=oe("../internals/array-method-has-species-support"),Ae=Ee("filter");ge({target:"Array",proto:!0,forced:!Ae},{filter:function(De){return ce(this,De,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],275:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/export"),ce=oe("../internals/array-iteration").find,Ee=oe("../internals/add-to-unscopables"),Ae="find",ye=!0;Ae in[]&&Array(1)[Ae](function(){ye=!1}),ge({target:"Array",proto:!0,forced:ye},{find:function(me){return ce(this,me,arguments.length>1?arguments[1]:void 0)}}),Ee(Ae)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(oe,Ze,Ne){var ge=oe("../internals/export"),ce=oe("../internals/array-from"),Ee=oe("../internals/check-correctness-of-iteration"),Ae=!Ee(function(ye){Array.from(ye)});ge({target:"Array",stat:!0,forced:Ae},{from:ce})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/export"),ce=oe("../internals/array-includes").includes,Ee=oe("../internals/add-to-unscopables");ge({target:"Array",proto:!0},{includes:function(ye){return ce(this,ye,arguments.length>1?arguments[1]:void 0)}}),Ee("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/to-indexed-object"),ce=oe("../internals/add-to-unscopables"),Ee=oe("../internals/iterators"),Ae=oe("../internals/internal-state"),ye=oe("../internals/object-define-property").f,De=oe("../internals/define-iterator"),me=oe("../internals/is-pure"),xe=oe("../internals/descriptors"),fe="Array Iterator",z=Ae.set,ee=Ae.getterFor(fe);Ze.exports=De(Array,"Array",function(re,le){z(this,{type:fe,target:ge(re),index:0,kind:le})},function(){var re=ee(this),le=re.target,ue=re.kind,pe=re.index++;return!le||pe>=le.length?(re.target=void 0,{value:void 0,done:!0}):ue=="keys"?{value:pe,done:!1}:ue=="values"?{value:le[pe],done:!1}:{value:[pe,le[pe]],done:!1}},"values");var ae=Ee.Arguments=Ee.Array;if(ce("keys"),ce("values"),ce("entries"),!me&&xe&&ae.name!=="values")try{ye(ae,"name",{value:"values"})}catch(re){}},{"../internals/add-to-unscopables":98,"../internals/define-iterator":132,"../internals/descriptors":134,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/iterators":187,"../internals/object-define-property":198,"../internals/to-indexed-object":247}],279:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/export"),ce=oe("../internals/function-uncurry-this"),Ee=oe("../internals/indexed-object"),Ae=oe("../internals/to-indexed-object"),ye=oe("../internals/array-method-is-strict"),De=ce([].join),me=Ee!=Object,xe=ye("join",",");ge({target:"Array",proto:!0,forced:me||!xe},{join:function(z){return De(Ae(this),z===void 0?",":z)}})},{"../internals/array-method-is-strict":114,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/to-indexed-object":247}],280:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/export"),ce=oe("../internals/array-iteration").map,Ee=oe("../internals/array-method-has-species-support"),Ae=Ee("map");ge({target:"Array",proto:!0,forced:!Ae},{map:function(De){return ce(this,De,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],281:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/export"),ce=oe("../internals/global"),Ee=oe("../internals/is-array"),Ae=oe("../internals/is-constructor"),ye=oe("../internals/is-object"),De=oe("../internals/to-absolute-index"),me=oe("../internals/length-of-array-like"),xe=oe("../internals/to-indexed-object"),fe=oe("../internals/create-property"),z=oe("../internals/well-known-symbol"),ee=oe("../internals/array-method-has-species-support"),ae=oe("../internals/array-slice"),re=ee("slice"),le=z("species"),ue=ce.Array,pe=Math.max;ge({target:"Array",proto:!0,forced:!re},{slice:function(be,Ie){var Me=xe(this),Oe=me(Me),Te=De(be,Oe),je=De(Ie===void 0?Oe:Ie,Oe),ze,$e,Ue;if(Ee(Me)&&(ze=Me.constructor,Ae(ze)&&(ze===ue||Ee(ze.prototype))?ze=void 0:ye(ze)&&(ze=ze[le],ze===null&&(ze=void 0)),ze===ue||ze===void 0))return ae(Me,Te,je);for($e=new(ze===void 0?ue:ze)(pe(je-Te,0)),Ue=0;Te<je;Te++,Ue++)Te in Me&&fe($e,Ue,Me[Te]);return $e.length=Ue,$e}})},{"../internals/array-method-has-species-support":113,"../internals/array-slice":117,"../internals/create-property":131,"../internals/export":149,"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247,"../internals/well-known-symbol":268}],282:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/export"),ce=oe("../internals/function-uncurry-this"),Ee=oe("../internals/a-callable"),Ae=oe("../internals/to-object"),ye=oe("../internals/length-of-array-like"),De=oe("../internals/to-string"),me=oe("../internals/fails"),xe=oe("../internals/array-sort"),fe=oe("../internals/array-method-is-strict"),z=oe("../internals/engine-ff-version"),ee=oe("../internals/engine-is-ie-or-edge"),ae=oe("../internals/engine-v8-version"),re=oe("../internals/engine-webkit-version"),le=[],ue=ce(le.sort),pe=ce(le.push),Pe=me(function(){le.sort(void 0)}),be=me(function(){le.sort(null)}),Ie=fe("sort"),Me=!me(function(){if(ae)return ae<70;if(!(z&&z>3)){if(ee)return!0;if(re)return re<603;var je="",ze,$e,Ue,qe;for(ze=65;ze<76;ze++){switch($e=String.fromCharCode(ze),ze){case 66:case 69:case 70:case 72:Ue=3;break;case 68:case 71:Ue=4;break;default:Ue=2}for(qe=0;qe<47;qe++)le.push({k:$e+qe,v:Ue})}for(le.sort(function(et,lt){return lt.v-et.v}),qe=0;qe<le.length;qe++)$e=le[qe].k.charAt(0),je.charAt(je.length-1)!==$e&&(je+=$e);return je!=="DGBEFHACIJK"}}),Oe=Pe||!be||!Ie||!Me,Te=function(je){return function(ze,$e){return $e===void 0?-1:ze===void 0?1:je!==void 0?+je(ze,$e)||0:De(ze)>De($e)?1:-1}};ge({target:"Array",proto:!0,forced:Oe},{sort:function(ze){ze!==void 0&&Ee(ze);var $e=Ae(this);if(Me)return ze===void 0?ue($e):ue($e,ze);var Ue=[],qe=ye($e),et,lt;for(lt=0;lt<qe;lt++)lt in $e&&pe(Ue,$e[lt]);for(xe(Ue,Te(ze)),et=Ue.length,lt=0;lt<et;)$e[lt]=Ue[lt++];for(;lt<qe;)delete $e[lt++];return $e}})},{"../internals/a-callable":95,"../internals/array-method-is-strict":114,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/export":149,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/to-string":256}],283:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/export"),ce=oe("../internals/global"),Ee=oe("../internals/to-absolute-index"),Ae=oe("../internals/to-integer-or-infinity"),ye=oe("../internals/length-of-array-like"),De=oe("../internals/to-object"),me=oe("../internals/array-species-create"),xe=oe("../internals/create-property"),fe=oe("../internals/array-method-has-species-support"),z=fe("splice"),ee=ce.TypeError,ae=Math.max,re=Math.min,le=9007199254740991,ue="Maximum allowed length exceeded";ge({target:"Array",proto:!0,forced:!z},{splice:function(Pe,be){var Ie=De(this),Me=ye(Ie),Oe=Ee(Pe,Me),Te=arguments.length,je,ze,$e,Ue,qe,et;if(Te===0?je=ze=0:Te===1?(je=0,ze=Me-Oe):(je=Te-2,ze=re(ae(Ae(be),0),Me-Oe)),Me+je-ze>le)throw ee(ue);for($e=me(Ie,ze),Ue=0;Ue<ze;Ue++)qe=Oe+Ue,qe in Ie&&xe($e,Ue,Ie[qe]);if($e.length=ze,je<ze){for(Ue=Oe;Ue<Me-ze;Ue++)qe=Ue+ze,et=Ue+je,qe in Ie?Ie[et]=Ie[qe]:delete Ie[et];for(Ue=Me;Ue>Me-ze+je;Ue--)delete Ie[Ue-1]}else if(je>ze)for(Ue=Me-ze;Ue>Oe;Ue--)qe=Ue+ze-1,et=Ue+je-1,qe in Ie?Ie[et]=Ie[qe]:delete Ie[et];for(Ue=0;Ue<je;Ue++)Ie[Ue+Oe]=arguments[Ue+2];return Ie.length=Me-ze+je,$e}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/export":149,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-integer-or-infinity":248,"../internals/to-object":250}],284:[function(oe,Ze,Ne){var ge=oe("../internals/descriptors"),ce=oe("../internals/function-name").EXISTS,Ee=oe("../internals/function-uncurry-this"),Ae=oe("../internals/object-define-property").f,ye=Function.prototype,De=Ee(ye.toString),me=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,xe=Ee(me.exec),fe="name";ge&&!ce&&Ae(ye,fe,{configurable:!0,get:function(){try{return xe(me,De(this))[1]}catch(z){return""}}})},{"../internals/descriptors":134,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/object-define-property":198}],285:[function(oe,Ze,Ne){var ge=oe("../internals/export"),ce=oe("../internals/get-built-in"),Ee=oe("../internals/function-apply"),Ae=oe("../internals/function-call"),ye=oe("../internals/function-uncurry-this"),De=oe("../internals/fails"),me=oe("../internals/is-array"),xe=oe("../internals/is-callable"),fe=oe("../internals/is-object"),z=oe("../internals/is-symbol"),ee=oe("../internals/array-slice"),ae=oe("../internals/native-symbol"),re=ce("JSON","stringify"),le=ye(/./.exec),ue=ye("".charAt),pe=ye("".charCodeAt),Pe=ye("".replace),be=ye(1 .toString),Ie=/[\uD800-\uDFFF]/g,Me=/^[\uD800-\uDBFF]$/,Oe=/^[\uDC00-\uDFFF]$/,Te=!ae||De(function(){var Ue=ce("Symbol")();return re([Ue])!="[null]"||re({a:Ue})!="{}"||re(Object(Ue))!="{}"}),je=De(function(){return re("\uDF06\uD834")!=='"\\udf06\\ud834"'||re("\uDEAD")!=='"\\udead"'}),ze=function(Ue,qe){var et=ee(arguments),lt=qe;if(!(!fe(qe)&&Ue===void 0||z(Ue)))return me(qe)||(qe=function(ut,vt){if(xe(lt)&&(vt=Ae(lt,this,ut,vt)),!z(vt))return vt}),et[1]=qe,Ee(re,null,et)},$e=function(Ue,qe,et){var lt=ue(et,qe-1),ut=ue(et,qe+1);return le(Me,Ue)&&!le(Oe,ut)||le(Oe,Ue)&&!le(Me,lt)?"\\u"+be(pe(Ue,0),16):Ue};re&&ge({target:"JSON",stat:!0,forced:Te||je},{stringify:function(qe,et,lt){var ut=ee(arguments),vt=Ee(Te?ze:re,null,ut);return je&&typeof vt=="string"?Pe(vt,Ie,$e):vt}})},{"../internals/array-slice":117,"../internals/export":149,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/is-array":175,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/native-symbol":191}],286:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/descriptors"),ce=oe("../internals/global"),Ee=oe("../internals/function-uncurry-this"),Ae=oe("../internals/is-forced"),ye=oe("../internals/redefine"),De=oe("../internals/has-own-property"),me=oe("../internals/inherit-if-required"),xe=oe("../internals/object-is-prototype-of"),fe=oe("../internals/is-symbol"),z=oe("../internals/to-primitive"),ee=oe("../internals/fails"),ae=oe("../internals/object-get-own-property-names").f,re=oe("../internals/object-get-own-property-descriptor").f,le=oe("../internals/object-define-property").f,ue=oe("../internals/this-number-value"),pe=oe("../internals/string-trim").trim,Pe="Number",be=ce[Pe],Ie=be.prototype,Me=ce.TypeError,Oe=Ee("".slice),Te=Ee("".charCodeAt),je=function(lt){var ut=z(lt,"number");return typeof ut=="bigint"?ut:ze(ut)},ze=function(lt){var ut=z(lt,"number"),vt,tt,at,dt,St,xt,ft,pt;if(fe(ut))throw Me("Cannot convert a Symbol value to a number");if(typeof ut=="string"&&ut.length>2){if(ut=pe(ut),vt=Te(ut,0),vt===43||vt===45){if(tt=Te(ut,2),tt===88||tt===120)return NaN}else if(vt===48){switch(Te(ut,1)){case 66:case 98:at=2,dt=49;break;case 79:case 111:at=8,dt=55;break;default:return+ut}for(St=Oe(ut,2),xt=St.length,ft=0;ft<xt;ft++)if(pt=Te(St,ft),pt<48||pt>dt)return NaN;return parseInt(St,at)}}return+ut};if(Ae(Pe,!be(" 0o1")||!be("0b1")||be("+0x1"))){for(var $e=function(ut){var vt=arguments.length<1?0:be(je(ut)),tt=this;return xe(Ie,tt)&&ee(function(){ue(tt)})?me(Object(vt),tt,$e):vt},Ue=ge?ae(be):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),qe=0,et;Ue.length>qe;qe++)De(be,et=Ue[qe])&&!De($e,et)&&le($e,et,re(be,et));$e.prototype=Ie,Ie.constructor=$e,ye(ce,Pe,$e)}},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/is-forced":178,"../internals/is-symbol":183,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/redefine":222,"../internals/string-trim":241,"../internals/this-number-value":244,"../internals/to-primitive":253}],287:[function(oe,Ze,Ne){var ge=oe("../internals/export"),ce=oe("../internals/object-assign");ge({target:"Object",stat:!0,forced:Object.assign!==ce},{assign:ce})},{"../internals/export":149,"../internals/object-assign":195}],288:[function(oe,Ze,Ne){var ge=oe("../internals/export"),ce=oe("../internals/object-to-array").entries;ge({target:"Object",stat:!0},{entries:function(Ae){return ce(Ae)}})},{"../internals/export":149,"../internals/object-to-array":209}],289:[function(oe,Ze,Ne){var ge=oe("../internals/export"),ce=oe("../internals/native-symbol"),Ee=oe("../internals/fails"),Ae=oe("../internals/object-get-own-property-symbols"),ye=oe("../internals/to-object"),De=!ce||Ee(function(){Ae.f(1)});ge({target:"Object",stat:!0,forced:De},{getOwnPropertySymbols:function(xe){var fe=Ae.f;return fe?fe(ye(xe)):[]}})},{"../internals/export":149,"../internals/fails":150,"../internals/native-symbol":191,"../internals/object-get-own-property-symbols":202,"../internals/to-object":250}],290:[function(oe,Ze,Ne){var ge=oe("../internals/export"),ce=oe("../internals/to-object"),Ee=oe("../internals/object-keys"),Ae=oe("../internals/fails"),ye=Ae(function(){Ee(1)});ge({target:"Object",stat:!0,forced:ye},{keys:function(me){return Ee(ce(me))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(oe,Ze,Ne){var ge=oe("../internals/to-string-tag-support"),ce=oe("../internals/redefine"),Ee=oe("../internals/object-to-string");ge||ce(Object.prototype,"toString",Ee,{unsafe:!0})},{"../internals/object-to-string":210,"../internals/redefine":222,"../internals/to-string-tag-support":255}],292:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/export"),ce=oe("../internals/function-call"),Ee=oe("../internals/a-callable"),Ae=oe("../internals/new-promise-capability"),ye=oe("../internals/perform"),De=oe("../internals/iterate"),me=oe("../internals/promise-statics-incorrect-iteration");ge({target:"Promise",stat:!0,forced:me},{all:function(fe){var z=this,ee=Ae.f(z),ae=ee.resolve,re=ee.reject,le=ye(function(){var ue=Ee(z.resolve),pe=[],Pe=0,be=1;De(fe,function(Ie){var Me=Pe++,Oe=!1;be++,ce(ue,z,Ie).then(function(Te){Oe||(Oe=!0,pe[Me]=Te,--be||ae(pe))},re)}),--be||ae(pe)});return le.error&&re(le.value),ee.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],293:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/export"),ce=oe("../internals/is-pure"),Ee=oe("../internals/promise-constructor-detection").CONSTRUCTOR,Ae=oe("../internals/promise-native-constructor"),ye=oe("../internals/get-built-in"),De=oe("../internals/is-callable"),me=oe("../internals/redefine"),xe=Ae&&Ae.prototype;if(ge({target:"Promise",proto:!0,forced:Ee,real:!0},{catch:function(z){return this.then(void 0,z)}}),!ce&&De(Ae)){var fe=ye("Promise").prototype.catch;xe.catch!==fe&&me(xe,"catch",fe,{unsafe:!0})}},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/redefine":222}],294:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/export"),ce=oe("../internals/is-pure"),Ee=oe("../internals/engine-is-node"),Ae=oe("../internals/global"),ye=oe("../internals/function-call"),De=oe("../internals/redefine"),me=oe("../internals/redefine-all"),xe=oe("../internals/object-set-prototype-of"),fe=oe("../internals/set-to-string-tag"),z=oe("../internals/set-species"),ee=oe("../internals/a-callable"),ae=oe("../internals/is-callable"),re=oe("../internals/is-object"),le=oe("../internals/an-instance"),ue=oe("../internals/species-constructor"),pe=oe("../internals/task").set,Pe=oe("../internals/microtask"),be=oe("../internals/host-report-errors"),Ie=oe("../internals/perform"),Me=oe("../internals/queue"),Oe=oe("../internals/internal-state"),Te=oe("../internals/promise-native-constructor"),je=oe("../internals/promise-constructor-detection"),ze=oe("../internals/new-promise-capability"),$e="Promise",Ue=je.CONSTRUCTOR,qe=je.REJECTION_EVENT,et=je.SUBCLASSING,lt=Oe.getterFor($e),ut=Oe.set,vt=Te&&Te.prototype,tt=Te,at=vt,dt=Ae.TypeError,St=Ae.document,xt=Ae.process,ft=ze.f,pt=ft,yt=!!(St&&St.createEvent&&Ae.dispatchEvent),Tt="unhandledrejection",At="rejectionhandled",Gt=0,wt=1,bt=2,it=1,_e=2,we,Ce,Ye,Je,Le=function(jt){var Wt;return re(jt)&&ae(Wt=jt.then)?Wt:!1},Ge=function(jt,Wt){var Vt=Wt.value,nn=Wt.state==wt,Bt=nn?jt.ok:jt.fail,_t=jt.resolve,en=jt.reject,on=jt.domain,xn,zn,tr;try{Bt?(nn||(Wt.rejection===_e&&Et(Wt),Wt.rejection=it),Bt===!0?xn=Vt:(on&&on.enter(),xn=Bt(Vt),on&&(on.exit(),tr=!0)),xn===jt.promise?en(dt("Promise-chain cycle")):(zn=Le(xn))?ye(zn,xn,_t,en):_t(xn)):en(Vt)}catch(er){on&&!tr&&on.exit(),en(er)}},Ke=function(jt,Wt){jt.notified||(jt.notified=!0,Pe(function(){for(var Vt=jt.reactions,nn;nn=Vt.get();)Ge(nn,jt);jt.notified=!1,Wt&&!jt.rejection&&Qe(jt)}))},Xe=function(jt,Wt,Vt){var nn,Bt;yt?(nn=St.createEvent("Event"),nn.promise=Wt,nn.reason=Vt,nn.initEvent(jt,!1,!0),Ae.dispatchEvent(nn)):nn={promise:Wt,reason:Vt},!qe&&(Bt=Ae["on"+jt])?Bt(nn):jt===Tt&&be("Unhandled promise rejection",Vt)},Qe=function(jt){ye(pe,Ae,function(){var Wt=jt.facade,Vt=jt.value,nn=ht(jt),Bt;if(nn&&(Bt=Ie(function(){Ee?xt.emit("unhandledRejection",Vt,Wt):Xe(Tt,Wt,Vt)}),jt.rejection=Ee||ht(jt)?_e:it,Bt.error))throw Bt.value})},ht=function(jt){return jt.rejection!==it&&!jt.parent},Et=function(jt){ye(pe,Ae,function(){var Wt=jt.facade;Ee?xt.emit("rejectionHandled",Wt):Xe(At,Wt,jt.value)})},mt=function(jt,Wt,Vt){return function(nn){jt(Wt,nn,Vt)}},Ft=function(jt,Wt,Vt){jt.done||(jt.done=!0,Vt&&(jt=Vt),jt.value=Wt,jt.state=bt,Ke(jt,!0))},Kt=function(jt,Wt,Vt){if(!jt.done){jt.done=!0,Vt&&(jt=Vt);try{if(jt.facade===Wt)throw dt("Promise can't be resolved itself");var nn=Le(Wt);nn?Pe(function(){var Bt={done:!1};try{ye(nn,Wt,mt(Kt,Bt,jt),mt(Ft,Bt,jt))}catch(_t){Ft(Bt,_t,jt)}}):(jt.value=Wt,jt.state=wt,Ke(jt,!1))}catch(Bt){Ft({done:!1},Bt,jt)}}};if(Ue&&(tt=function(Wt){le(this,at),ee(Wt),ye(we,this);var Vt=lt(this);try{Wt(mt(Kt,Vt),mt(Ft,Vt))}catch(nn){Ft(Vt,nn)}},at=tt.prototype,we=function(Wt){ut(this,{type:$e,done:!1,notified:!1,parent:!1,reactions:new Me,rejection:!1,state:Gt,value:void 0})},we.prototype=me(at,{then:function(Wt,Vt){var nn=lt(this),Bt=ft(ue(this,tt));return nn.parent=!0,Bt.ok=ae(Wt)?Wt:!0,Bt.fail=ae(Vt)&&Vt,Bt.domain=Ee?xt.domain:void 0,nn.state==Gt?nn.reactions.add(Bt):Pe(function(){Ge(Bt,nn)}),Bt.promise}}),Ce=function(){var jt=new we,Wt=lt(jt);this.promise=jt,this.resolve=mt(Kt,Wt),this.reject=mt(Ft,Wt)},ze.f=ft=function(jt){return jt===tt||jt===Ye?new Ce(jt):pt(jt)},!ce&&ae(Te)&&vt!==Object.prototype)){Je=vt.then,et||De(vt,"then",function(Wt,Vt){var nn=this;return new tt(function(Bt,_t){ye(Je,nn,Bt,_t)}).then(Wt,Vt)},{unsafe:!0});try{delete vt.constructor}catch(jt){}xe&&xe(vt,at)}ge({global:!0,wrap:!0,forced:Ue},{Promise:tt}),fe(tt,$e,!1,!0),z($e)},{"../internals/a-callable":95,"../internals/an-instance":100,"../internals/engine-is-node":143,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/host-report-errors":166,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-pure":181,"../internals/microtask":189,"../internals/new-promise-capability":193,"../internals/object-set-prototype-of":208,"../internals/perform":214,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/queue":220,"../internals/redefine":222,"../internals/redefine-all":221,"../internals/set-species":233,"../internals/set-to-string-tag":234,"../internals/species-constructor":238,"../internals/task":243}],295:[function(oe,Ze,Ne){oe("../modules/es.promise.constructor"),oe("../modules/es.promise.all"),oe("../modules/es.promise.catch"),oe("../modules/es.promise.race"),oe("../modules/es.promise.reject"),oe("../modules/es.promise.resolve")},{"../modules/es.promise.all":292,"../modules/es.promise.catch":293,"../modules/es.promise.constructor":294,"../modules/es.promise.race":296,"../modules/es.promise.reject":297,"../modules/es.promise.resolve":298}],296:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/export"),ce=oe("../internals/function-call"),Ee=oe("../internals/a-callable"),Ae=oe("../internals/new-promise-capability"),ye=oe("../internals/perform"),De=oe("../internals/iterate"),me=oe("../internals/promise-statics-incorrect-iteration");ge({target:"Promise",stat:!0,forced:me},{race:function(fe){var z=this,ee=Ae.f(z),ae=ee.reject,re=ye(function(){var le=Ee(z.resolve);De(fe,function(ue){ce(le,z,ue).then(ee.resolve,ae)})});return re.error&&ae(re.value),ee.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],297:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/export"),ce=oe("../internals/function-call"),Ee=oe("../internals/new-promise-capability"),Ae=oe("../internals/promise-constructor-detection").CONSTRUCTOR;ge({target:"Promise",stat:!0,forced:Ae},{reject:function(De){var me=Ee.f(this);return ce(me.reject,void 0,De),me.promise}})},{"../internals/export":149,"../internals/function-call":155,"../internals/new-promise-capability":193,"../internals/promise-constructor-detection":215}],298:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/export"),ce=oe("../internals/get-built-in"),Ee=oe("../internals/is-pure"),Ae=oe("../internals/promise-native-constructor"),ye=oe("../internals/promise-constructor-detection").CONSTRUCTOR,De=oe("../internals/promise-resolve"),me=ce("Promise"),xe=Ee&&!ye;ge({target:"Promise",stat:!0,forced:Ee||ye},{resolve:function(z){return De(xe&&this===me?Ae:this,z)}})},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/promise-resolve":217}],299:[function(oe,Ze,Ne){var ge=oe("../internals/descriptors"),ce=oe("../internals/global"),Ee=oe("../internals/function-uncurry-this"),Ae=oe("../internals/is-forced"),ye=oe("../internals/inherit-if-required"),De=oe("../internals/create-non-enumerable-property"),me=oe("../internals/object-get-own-property-names").f,xe=oe("../internals/object-is-prototype-of"),fe=oe("../internals/is-regexp"),z=oe("../internals/to-string"),ee=oe("../internals/regexp-get-flags"),ae=oe("../internals/regexp-sticky-helpers"),re=oe("../internals/proxy-accessor"),le=oe("../internals/redefine"),ue=oe("../internals/fails"),pe=oe("../internals/has-own-property"),Pe=oe("../internals/internal-state").enforce,be=oe("../internals/set-species"),Ie=oe("../internals/well-known-symbol"),Me=oe("../internals/regexp-unsupported-dot-all"),Oe=oe("../internals/regexp-unsupported-ncg"),Te=Ie("match"),je=ce.RegExp,ze=je.prototype,$e=ce.SyntaxError,Ue=Ee(ze.exec),qe=Ee("".charAt),et=Ee("".replace),lt=Ee("".indexOf),ut=Ee("".slice),vt=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,tt=/a/g,at=/a/g,dt=new je(tt)!==tt,St=ae.MISSED_STICKY,xt=ae.UNSUPPORTED_Y,ft=ge&&(!dt||St||Me||Oe||ue(function(){return at[Te]=!1,je(tt)!=tt||je(at)==at||je(tt,"i")!="/a/i"})),pt=function(wt){for(var bt=wt.length,it=0,_e="",we=!1,Ce;it<=bt;it++){if(Ce=qe(wt,it),Ce==="\\"){_e+=Ce+qe(wt,++it);continue}!we&&Ce==="."?_e+="[\\s\\S]":(Ce==="["?we=!0:Ce==="]"&&(we=!1),_e+=Ce)}return _e},yt=function(wt){for(var bt=wt.length,it=0,_e="",we=[],Ce={},Ye=!1,Je=!1,Le=0,Ge="",Ke;it<=bt;it++){if(Ke=qe(wt,it),Ke==="\\")Ke=Ke+qe(wt,++it);else if(Ke==="]")Ye=!1;else if(!Ye)switch(!0){case Ke==="[":Ye=!0;break;case Ke==="(":Ue(vt,ut(wt,it+1))&&(it+=2,Je=!0),_e+=Ke,Le++;continue;case(Ke===">"&&Je):if(Ge===""||pe(Ce,Ge))throw new $e("Invalid capture group name");Ce[Ge]=!0,we[we.length]=[Ge,Le],Je=!1,Ge="";continue}Je?Ge+=Ke:_e+=Ke}return[_e,we]};if(Ae("RegExp",ft)){for(var Tt=function(bt,it){var _e=xe(ze,this),we=fe(bt),Ce=it===void 0,Ye=[],Je=bt,Le,Ge,Ke,Xe,Qe,ht;if(!_e&&we&&Ce&&bt.constructor===Tt)return bt;if((we||xe(ze,bt))&&(bt=bt.source,Ce&&(it=ee(Je))),bt=bt===void 0?"":z(bt),it=it===void 0?"":z(it),Je=bt,Me&&"dotAll"in tt&&(Ge=!!it&&lt(it,"s")>-1,Ge&&(it=et(it,/s/g,""))),Le=it,St&&"sticky"in tt&&(Ke=!!it&&lt(it,"y")>-1,Ke&&xt&&(it=et(it,/y/g,""))),Oe&&(Xe=yt(bt),bt=Xe[0],Ye=Xe[1]),Qe=ye(je(bt,it),_e?this:ze,Tt),(Ge||Ke||Ye.length)&&(ht=Pe(Qe),Ge&&(ht.dotAll=!0,ht.raw=Tt(pt(bt),Le)),Ke&&(ht.sticky=!0),Ye.length&&(ht.groups=Ye)),bt!==Je)try{De(Qe,"source",Je===""?"(?:)":Je)}catch(Et){}return Qe},At=me(je),Gt=0;At.length>Gt;)re(Tt,je,At[Gt++]);ze.constructor=Tt,Tt.prototype=ze,le(ce,"RegExp",Tt)}be("RegExp")},{"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-forced":178,"../internals/is-regexp":182,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/proxy-accessor":219,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/set-species":233,"../internals/to-string":256,"../internals/well-known-symbol":268}],300:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/export"),ce=oe("../internals/regexp-exec");ge({target:"RegExp",proto:!0,forced:/./.exec!==ce},{exec:ce})},{"../internals/export":149,"../internals/regexp-exec":224}],301:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/function-name").PROPER,ce=oe("../internals/redefine"),Ee=oe("../internals/an-object"),Ae=oe("../internals/to-string"),ye=oe("../internals/fails"),De=oe("../internals/regexp-get-flags"),me="toString",xe=RegExp.prototype,fe=xe[me],z=ye(function(){return fe.call({source:"a",flags:"b"})!="/a/b"}),ee=ge&&fe.name!=me;(z||ee)&&ce(RegExp.prototype,me,function(){var re=Ee(this),le=Ae(re.source),ue=Ae(De(re));return"/"+le+"/"+ue},{unsafe:!0})},{"../internals/an-object":101,"../internals/fails":150,"../internals/function-name":156,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/to-string":256}],302:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/export"),ce=oe("../internals/function-uncurry-this"),Ee=oe("../internals/not-a-regexp"),Ae=oe("../internals/require-object-coercible"),ye=oe("../internals/to-string"),De=oe("../internals/correct-is-regexp-logic"),me=ce("".indexOf);ge({target:"String",proto:!0,forced:!De("includes")},{includes:function(fe){return!!~me(ye(Ae(this)),ye(Ee(fe)),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":126,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/not-a-regexp":194,"../internals/require-object-coercible":230,"../internals/to-string":256}],303:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/string-multibyte").charAt,ce=oe("../internals/to-string"),Ee=oe("../internals/internal-state"),Ae=oe("../internals/define-iterator"),ye="String Iterator",De=Ee.set,me=Ee.getterFor(ye);Ae(String,"String",function(xe){De(this,{type:ye,string:ce(xe),index:0})},function(){var fe=me(this),z=fe.string,ee=fe.index,ae;return ee>=z.length?{value:void 0,done:!0}:(ae=ge(z,ee),fe.index+=ae.length,{value:ae,done:!1})})},{"../internals/define-iterator":132,"../internals/internal-state":173,"../internals/string-multibyte":239,"../internals/to-string":256}],304:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/function-call"),ce=oe("../internals/fix-regexp-well-known-symbol-logic"),Ee=oe("../internals/an-object"),Ae=oe("../internals/to-length"),ye=oe("../internals/to-string"),De=oe("../internals/require-object-coercible"),me=oe("../internals/get-method"),xe=oe("../internals/advance-string-index"),fe=oe("../internals/regexp-exec-abstract");ce("match",function(z,ee,ae){return[function(le){var ue=De(this),pe=le==null?void 0:me(le,z);return pe?ge(pe,le,ue):new RegExp(le)[z](ye(ue))},function(re){var le=Ee(this),ue=ye(re),pe=ae(ee,le,ue);if(pe.done)return pe.value;if(!le.global)return fe(le,ue);var Pe=le.unicode;le.lastIndex=0;for(var be=[],Ie=0,Me;(Me=fe(le,ue))!==null;){var Oe=ye(Me[0]);be[Ie]=Oe,Oe===""&&(le.lastIndex=xe(ue,Ae(le.lastIndex),Pe)),Ie++}return Ie===0?null:be}]})},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-length":249,"../internals/to-string":256}],305:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/function-apply"),ce=oe("../internals/function-call"),Ee=oe("../internals/function-uncurry-this"),Ae=oe("../internals/fix-regexp-well-known-symbol-logic"),ye=oe("../internals/fails"),De=oe("../internals/an-object"),me=oe("../internals/is-callable"),xe=oe("../internals/to-integer-or-infinity"),fe=oe("../internals/to-length"),z=oe("../internals/to-string"),ee=oe("../internals/require-object-coercible"),ae=oe("../internals/advance-string-index"),re=oe("../internals/get-method"),le=oe("../internals/get-substitution"),ue=oe("../internals/regexp-exec-abstract"),pe=oe("../internals/well-known-symbol"),Pe=pe("replace"),be=Math.max,Ie=Math.min,Me=Ee([].concat),Oe=Ee([].push),Te=Ee("".indexOf),je=Ee("".slice),ze=function(et){return et===void 0?et:String(et)},$e=function(){return"a".replace(/./,"$0")==="$0"}(),Ue=function(){return/./[Pe]?/./[Pe]("a","$0")==="":!1}(),qe=!ye(function(){var et=/./;return et.exec=function(){var lt=[];return lt.groups={a:"7"},lt},"".replace(et,"$<a>")!=="7"});Ae("replace",function(et,lt,ut){var vt=Ue?"$":"$0";return[function(at,dt){var St=ee(this),xt=at==null?void 0:re(at,Pe);return xt?ce(xt,at,St,dt):ce(lt,z(St),at,dt)},function(tt,at){var dt=De(this),St=z(tt);if(typeof at=="string"&&Te(at,vt)===-1&&Te(at,"$<")===-1){var xt=ut(lt,dt,St,at);if(xt.done)return xt.value}var ft=me(at);ft||(at=z(at));var pt=dt.global;if(pt){var yt=dt.unicode;dt.lastIndex=0}for(var Tt=[];;){var At=ue(dt,St);if(At===null||(Oe(Tt,At),!pt))break;var Gt=z(At[0]);Gt===""&&(dt.lastIndex=ae(St,fe(dt.lastIndex),yt))}for(var wt="",bt=0,it=0;it<Tt.length;it++){At=Tt[it];for(var _e=z(At[0]),we=be(Ie(xe(At.index),St.length),0),Ce=[],Ye=1;Ye<At.length;Ye++)Oe(Ce,ze(At[Ye]));var Je=At.groups;if(ft){var Le=Me([_e],Ce,we,St);Je!==void 0&&Oe(Le,Je);var Ge=z(ge(at,void 0,Le))}else Ge=le(_e,St,we,Ce,Je,at);we>=bt&&(wt+=je(St,bt,we)+Ge,bt=we+_e.length)}return wt+je(St,bt)}]},!qe||!$e||Ue)},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fails":150,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-method":161,"../internals/get-substitution":162,"../internals/is-callable":176,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-length":249,"../internals/to-string":256,"../internals/well-known-symbol":268}],306:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/function-call"),ce=oe("../internals/fix-regexp-well-known-symbol-logic"),Ee=oe("../internals/an-object"),Ae=oe("../internals/require-object-coercible"),ye=oe("../internals/same-value"),De=oe("../internals/to-string"),me=oe("../internals/get-method"),xe=oe("../internals/regexp-exec-abstract");ce("search",function(fe,z,ee){return[function(re){var le=Ae(this),ue=re==null?void 0:me(re,fe);return ue?ge(ue,re,le):new RegExp(re)[fe](De(le))},function(ae){var re=Ee(this),le=De(ae),ue=ee(z,re,le);if(ue.done)return ue.value;var pe=re.lastIndex;ye(pe,0)||(re.lastIndex=0);var Pe=xe(re,le);return ye(re.lastIndex,pe)||(re.lastIndex=pe),Pe===null?-1:Pe.index}]})},{"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/same-value":231,"../internals/to-string":256}],307:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/function-apply"),ce=oe("../internals/function-call"),Ee=oe("../internals/function-uncurry-this"),Ae=oe("../internals/fix-regexp-well-known-symbol-logic"),ye=oe("../internals/is-regexp"),De=oe("../internals/an-object"),me=oe("../internals/require-object-coercible"),xe=oe("../internals/species-constructor"),fe=oe("../internals/advance-string-index"),z=oe("../internals/to-length"),ee=oe("../internals/to-string"),ae=oe("../internals/get-method"),re=oe("../internals/array-slice-simple"),le=oe("../internals/regexp-exec-abstract"),ue=oe("../internals/regexp-exec"),pe=oe("../internals/regexp-sticky-helpers"),Pe=oe("../internals/fails"),be=pe.UNSUPPORTED_Y,Ie=4294967295,Me=Math.min,Oe=[].push,Te=Ee(/./.exec),je=Ee(Oe),ze=Ee("".slice),$e=!Pe(function(){var Ue=/(?:)/,qe=Ue.exec;Ue.exec=function(){return qe.apply(this,arguments)};var et="ab".split(Ue);return et.length!==2||et[0]!=="a"||et[1]!=="b"});Ae("split",function(Ue,qe,et){var lt;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?lt=function(ut,vt){var tt=ee(me(this)),at=vt===void 0?Ie:vt>>>0;if(at===0)return[];if(ut===void 0)return[tt];if(!ye(ut))return ce(qe,tt,ut,at);for(var dt=[],St=(ut.ignoreCase?"i":"")+(ut.multiline?"m":"")+(ut.unicode?"u":"")+(ut.sticky?"y":""),xt=0,ft=new RegExp(ut.source,St+"g"),pt,yt,Tt;(pt=ce(ue,ft,tt))&&(yt=ft.lastIndex,!(yt>xt&&(je(dt,ze(tt,xt,pt.index)),pt.length>1&&pt.index<tt.length&&ge(Oe,dt,re(pt,1)),Tt=pt[0].length,xt=yt,dt.length>=at)));)ft.lastIndex===pt.index&&ft.lastIndex++;return xt===tt.length?(Tt||!Te(ft,""))&&je(dt,""):je(dt,ze(tt,xt)),dt.length>at?re(dt,0,at):dt}:"0".split(void 0,0).length?lt=function(ut,vt){return ut===void 0&&vt===0?[]:ce(qe,this,ut,vt)}:lt=qe,[function(vt,tt){var at=me(this),dt=vt==null?void 0:ae(vt,Ue);return dt?ce(dt,vt,at,tt):ce(lt,ee(at),vt,tt)},function(ut,vt){var tt=De(this),at=ee(ut),dt=et(lt,tt,at,vt,lt!==qe);if(dt.done)return dt.value;var St=xe(tt,RegExp),xt=tt.unicode,ft=(tt.ignoreCase?"i":"")+(tt.multiline?"m":"")+(tt.unicode?"u":"")+(be?"g":"y"),pt=new St(be?"^(?:"+tt.source+")":tt,ft),yt=vt===void 0?Ie:vt>>>0;if(yt===0)return[];if(at.length===0)return le(pt,at)===null?[at]:[];for(var Tt=0,At=0,Gt=[];At<at.length;){pt.lastIndex=be?0:At;var wt=le(pt,be?ze(at,At):at),bt;if(wt===null||(bt=Me(z(pt.lastIndex+(be?At:0)),at.length))===Tt)At=fe(at,At,xt);else{if(je(Gt,ze(at,Tt,At)),Gt.length===yt)return Gt;for(var it=1;it<=wt.length-1;it++)if(je(Gt,wt[it]),Gt.length===yt)return Gt;At=Tt=bt}}return je(Gt,ze(at,Tt)),Gt}]},!$e,be)},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/array-slice-simple":116,"../internals/fails":150,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-method":161,"../internals/is-regexp":182,"../internals/regexp-exec":224,"../internals/regexp-exec-abstract":223,"../internals/regexp-sticky-helpers":227,"../internals/require-object-coercible":230,"../internals/species-constructor":238,"../internals/to-length":249,"../internals/to-string":256}],308:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/export"),ce=oe("../internals/string-trim").trim,Ee=oe("../internals/string-trim-forced");ge({target:"String",proto:!0,forced:Ee("trim")},{trim:function(){return ce(this)}})},{"../internals/export":149,"../internals/string-trim":241,"../internals/string-trim-forced":240}],309:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/export"),ce=oe("../internals/global"),Ee=oe("../internals/function-call"),Ae=oe("../internals/function-uncurry-this"),ye=oe("../internals/is-pure"),De=oe("../internals/descriptors"),me=oe("../internals/native-symbol"),xe=oe("../internals/fails"),fe=oe("../internals/has-own-property"),z=oe("../internals/object-is-prototype-of"),ee=oe("../internals/an-object"),ae=oe("../internals/to-indexed-object"),re=oe("../internals/to-property-key"),le=oe("../internals/to-string"),ue=oe("../internals/create-property-descriptor"),pe=oe("../internals/object-create"),Pe=oe("../internals/object-keys"),be=oe("../internals/object-get-own-property-names"),Ie=oe("../internals/object-get-own-property-names-external"),Me=oe("../internals/object-get-own-property-symbols"),Oe=oe("../internals/object-get-own-property-descriptor"),Te=oe("../internals/object-define-property"),je=oe("../internals/object-define-properties"),ze=oe("../internals/object-property-is-enumerable"),$e=oe("../internals/redefine"),Ue=oe("../internals/shared"),qe=oe("../internals/shared-key"),et=oe("../internals/hidden-keys"),lt=oe("../internals/uid"),ut=oe("../internals/well-known-symbol"),vt=oe("../internals/well-known-symbol-wrapped"),tt=oe("../internals/define-well-known-symbol"),at=oe("../internals/symbol-define-to-primitive"),dt=oe("../internals/set-to-string-tag"),St=oe("../internals/internal-state"),xt=oe("../internals/array-iteration").forEach,ft=qe("hidden"),pt="Symbol",yt="prototype",Tt=St.set,At=St.getterFor(pt),Gt=Object[yt],wt=ce.Symbol,bt=wt&&wt[yt],it=ce.TypeError,_e=ce.QObject,we=Oe.f,Ce=Te.f,Ye=Ie.f,Je=ze.f,Le=Ae([].push),Ge=Ue("symbols"),Ke=Ue("op-symbols"),Xe=Ue("wks"),Qe=!_e||!_e[yt]||!_e[yt].findChild,ht=De&&xe(function(){return pe(Ce({},"a",{get:function(){return Ce(this,"a",{value:7}).a}})).a!=7})?function(Bt,_t,en){var on=we(Gt,_t);on&&delete Gt[_t],Ce(Bt,_t,en),on&&Bt!==Gt&&Ce(Gt,_t,on)}:Ce,Et=function(Bt,_t){var en=Ge[Bt]=pe(bt);return Tt(en,{type:pt,tag:Bt,description:_t}),De||(en.description=_t),en},mt=function(_t,en,on){_t===Gt&&mt(Ke,en,on),ee(_t);var xn=re(en);return ee(on),fe(Ge,xn)?(on.enumerable?(fe(_t,ft)&&_t[ft][xn]&&(_t[ft][xn]=!1),on=pe(on,{enumerable:ue(0,!1)})):(fe(_t,ft)||Ce(_t,ft,ue(1,{})),_t[ft][xn]=!0),ht(_t,xn,on)):Ce(_t,xn,on)},Ft=function(_t,en){ee(_t);var on=ae(en),xn=Pe(on).concat(nn(on));return xt(xn,function(zn){(!De||Ee(jt,on,zn))&&mt(_t,zn,on[zn])}),_t},Kt=function(_t,en){return en===void 0?pe(_t):Ft(pe(_t),en)},jt=function(_t){var en=re(_t),on=Ee(Je,this,en);return this===Gt&&fe(Ge,en)&&!fe(Ke,en)?!1:on||!fe(this,en)||!fe(Ge,en)||fe(this,ft)&&this[ft][en]?on:!0},Wt=function(_t,en){var on=ae(_t),xn=re(en);if(!(on===Gt&&fe(Ge,xn)&&!fe(Ke,xn))){var zn=we(on,xn);return zn&&fe(Ge,xn)&&!(fe(on,ft)&&on[ft][xn])&&(zn.enumerable=!0),zn}},Vt=function(_t){var en=Ye(ae(_t)),on=[];return xt(en,function(xn){!fe(Ge,xn)&&!fe(et,xn)&&Le(on,xn)}),on},nn=function(Bt){var _t=Bt===Gt,en=Ye(_t?Ke:ae(Bt)),on=[];return xt(en,function(xn){fe(Ge,xn)&&(!_t||fe(Gt,xn))&&Le(on,Ge[xn])}),on};me||(wt=function(){if(z(bt,this))throw it("Symbol is not a constructor");var _t=!arguments.length||arguments[0]===void 0?void 0:le(arguments[0]),en=lt(_t),on=function(xn){this===Gt&&Ee(on,Ke,xn),fe(this,ft)&&fe(this[ft],en)&&(this[ft][en]=!1),ht(this,en,ue(1,xn))};return De&&Qe&&ht(Gt,en,{configurable:!0,set:on}),Et(en,_t)},bt=wt[yt],$e(bt,"toString",function(){return At(this).tag}),$e(wt,"withoutSetter",function(Bt){return Et(lt(Bt),Bt)}),ze.f=jt,Te.f=mt,je.f=Ft,Oe.f=Wt,be.f=Ie.f=Vt,Me.f=nn,vt.f=function(Bt){return Et(ut(Bt),Bt)},De&&(Ce(bt,"description",{configurable:!0,get:function(){return At(this).description}}),ye||$e(Gt,"propertyIsEnumerable",jt,{unsafe:!0}))),ge({global:!0,wrap:!0,forced:!me,sham:!me},{Symbol:wt}),xt(Pe(Xe),function(Bt){tt(Bt)}),ge({target:pt,stat:!0,forced:!me},{useSetter:function(){Qe=!0},useSimple:function(){Qe=!1}}),ge({target:"Object",stat:!0,forced:!me,sham:!De},{create:Kt,defineProperty:mt,defineProperties:Ft,getOwnPropertyDescriptor:Wt}),ge({target:"Object",stat:!0,forced:!me},{getOwnPropertyNames:Vt}),at(),dt(wt,pt),et[ft]=!0},{"../internals/an-object":101,"../internals/array-iteration":111,"../internals/create-property-descriptor":130,"../internals/define-well-known-symbol":133,"../internals/descriptors":134,"../internals/export":149,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/native-symbol":191,"../internals/object-create":196,"../internals/object-define-properties":197,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-get-own-property-names-external":200,"../internals/object-get-own-property-symbols":202,"../internals/object-is-prototype-of":204,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/redefine":222,"../internals/set-to-string-tag":234,"../internals/shared":237,"../internals/shared-key":235,"../internals/symbol-define-to-primitive":242,"../internals/to-indexed-object":247,"../internals/to-property-key":254,"../internals/to-string":256,"../internals/uid":263,"../internals/well-known-symbol":268,"../internals/well-known-symbol-wrapped":267}],310:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/export"),ce=oe("../internals/descriptors"),Ee=oe("../internals/global"),Ae=oe("../internals/function-uncurry-this"),ye=oe("../internals/has-own-property"),De=oe("../internals/is-callable"),me=oe("../internals/object-is-prototype-of"),xe=oe("../internals/to-string"),fe=oe("../internals/object-define-property").f,z=oe("../internals/copy-constructor-properties"),ee=Ee.Symbol,ae=ee&&ee.prototype;if(ce&&De(ee)&&(!("description"in ae)||ee().description!==void 0)){var re={},le=function(){var Te=arguments.length<1||arguments[0]===void 0?void 0:xe(arguments[0]),je=me(ae,this)?new ee(Te):Te===void 0?ee():ee(Te);return Te===""&&(re[je]=!0),je};z(le,ee),le.prototype=ae,ae.constructor=le;var ue=String(ee("test"))=="Symbol(test)",pe=Ae(ae.toString),Pe=Ae(ae.valueOf),be=/^Symbol\((.*)\)[^)]+$/,Ie=Ae("".replace),Me=Ae("".slice);fe(ae,"description",{configurable:!0,get:function(){var Te=Pe(this),je=pe(Te);if(ye(re,Te))return"";var ze=ue?Me(je,7,-1):Ie(je,be,"$1");return ze===""?void 0:ze}}),ge({global:!0,forced:!0},{Symbol:le})}},{"../internals/copy-constructor-properties":125,"../internals/descriptors":134,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/object-define-property":198,"../internals/object-is-prototype-of":204,"../internals/to-string":256}],311:[function(oe,Ze,Ne){var ge=oe("../internals/export"),ce=oe("../internals/get-built-in"),Ee=oe("../internals/has-own-property"),Ae=oe("../internals/to-string"),ye=oe("../internals/shared"),De=oe("../internals/native-symbol-registry"),me=ye("string-to-symbol-registry"),xe=ye("symbol-to-string-registry");ge({target:"Symbol",stat:!0,forced:!De},{for:function(fe){var z=Ae(fe);if(Ee(me,z))return me[z];var ee=ce("Symbol")(z);return me[z]=ee,xe[ee]=z,ee}})},{"../internals/export":149,"../internals/get-built-in":158,"../internals/has-own-property":164,"../internals/native-symbol-registry":190,"../internals/shared":237,"../internals/to-string":256}],312:[function(oe,Ze,Ne){var ge=oe("../internals/define-well-known-symbol");ge("iterator")},{"../internals/define-well-known-symbol":133}],313:[function(oe,Ze,Ne){oe("../modules/es.symbol.constructor"),oe("../modules/es.symbol.for"),oe("../modules/es.symbol.key-for"),oe("../modules/es.json.stringify"),oe("../modules/es.object.get-own-property-symbols")},{"../modules/es.json.stringify":285,"../modules/es.object.get-own-property-symbols":289,"../modules/es.symbol.constructor":309,"../modules/es.symbol.for":311,"../modules/es.symbol.key-for":314}],314:[function(oe,Ze,Ne){var ge=oe("../internals/export"),ce=oe("../internals/has-own-property"),Ee=oe("../internals/is-symbol"),Ae=oe("../internals/try-to-string"),ye=oe("../internals/shared"),De=oe("../internals/native-symbol-registry"),me=ye("symbol-to-string-registry");ge({target:"Symbol",stat:!0,forced:!De},{keyFor:function(fe){if(!Ee(fe))throw TypeError(Ae(fe)+" is not a symbol");if(ce(me,fe))return me[fe]}})},{"../internals/export":149,"../internals/has-own-property":164,"../internals/is-symbol":183,"../internals/native-symbol-registry":190,"../internals/shared":237,"../internals/try-to-string":257}],315:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/function-uncurry-this"),ce=oe("../internals/array-buffer-view-core"),Ee=oe("../internals/array-copy-within"),Ae=ge(Ee),ye=ce.aTypedArray,De=ce.exportTypedArrayMethod;De("copyWithin",function(xe,fe){return Ae(ye(this),xe,fe,arguments.length>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-copy-within":105,"../internals/function-uncurry-this":157}],316:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/array-buffer-view-core"),ce=oe("../internals/array-iteration").every,Ee=ge.aTypedArray,Ae=ge.exportTypedArrayMethod;Ae("every",function(De){return ce(Ee(this),De,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],317:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/array-buffer-view-core"),ce=oe("../internals/function-call"),Ee=oe("../internals/array-fill"),Ae=ge.aTypedArray,ye=ge.exportTypedArrayMethod;ye("fill",function(me){var xe=arguments.length;return ce(Ee,Ae(this),me,xe>1?arguments[1]:void 0,xe>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-fill":106,"../internals/function-call":155}],318:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/array-buffer-view-core"),ce=oe("../internals/array-iteration").filter,Ee=oe("../internals/typed-array-from-species-and-list"),Ae=ge.aTypedArray,ye=ge.exportTypedArrayMethod;ye("filter",function(me){var xe=ce(Ae(this),me,arguments.length>1?arguments[1]:void 0);return Ee(this,xe)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-from-species-and-list":260}],319:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/array-buffer-view-core"),ce=oe("../internals/array-iteration").findIndex,Ee=ge.aTypedArray,Ae=ge.exportTypedArrayMethod;Ae("findIndex",function(De){return ce(Ee(this),De,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],320:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/array-buffer-view-core"),ce=oe("../internals/array-iteration").find,Ee=ge.aTypedArray,Ae=ge.exportTypedArrayMethod;Ae("find",function(De){return ce(Ee(this),De,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],321:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/array-buffer-view-core"),ce=oe("../internals/array-iteration").forEach,Ee=ge.aTypedArray,Ae=ge.exportTypedArrayMethod;Ae("forEach",function(De){ce(Ee(this),De,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],322:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/array-buffer-view-core"),ce=oe("../internals/array-includes").includes,Ee=ge.aTypedArray,Ae=ge.exportTypedArrayMethod;Ae("includes",function(De){return ce(Ee(this),De,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],323:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/array-buffer-view-core"),ce=oe("../internals/array-includes").indexOf,Ee=ge.aTypedArray,Ae=ge.exportTypedArrayMethod;Ae("indexOf",function(De){return ce(Ee(this),De,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],324:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/global"),ce=oe("../internals/fails"),Ee=oe("../internals/function-uncurry-this"),Ae=oe("../internals/array-buffer-view-core"),ye=oe("../modules/es.array.iterator"),De=oe("../internals/well-known-symbol"),me=De("iterator"),xe=ge.Uint8Array,fe=Ee(ye.values),z=Ee(ye.keys),ee=Ee(ye.entries),ae=Ae.aTypedArray,re=Ae.exportTypedArrayMethod,le=xe&&xe.prototype,ue=!ce(function(){le[me].call([1])}),pe=!!le&&le.values&&le[me]===le.values&&le.values.name==="values",Pe=function(){return fe(ae(this))};re("entries",function(){return ee(ae(this))},ue),re("keys",function(){return z(ae(this))},ue),re("values",Pe,ue||!pe,{name:"values"}),re(me,Pe,ue||!pe,{name:"values"})},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],325:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/array-buffer-view-core"),ce=oe("../internals/function-uncurry-this"),Ee=ge.aTypedArray,Ae=ge.exportTypedArrayMethod,ye=ce([].join);Ae("join",function(me){return ye(Ee(this),me)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/array-buffer-view-core"),ce=oe("../internals/function-apply"),Ee=oe("../internals/array-last-index-of"),Ae=ge.aTypedArray,ye=ge.exportTypedArrayMethod;ye("lastIndexOf",function(me){var xe=arguments.length;return ce(Ee,Ae(this),xe>1?[me,arguments[1]]:[me])})},{"../internals/array-buffer-view-core":103,"../internals/array-last-index-of":112,"../internals/function-apply":152}],327:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/array-buffer-view-core"),ce=oe("../internals/array-iteration").map,Ee=oe("../internals/typed-array-species-constructor"),Ae=ge.aTypedArray,ye=ge.exportTypedArrayMethod;ye("map",function(me){return ce(Ae(this),me,arguments.length>1?arguments[1]:void 0,function(xe,fe){return new(Ee(xe))(fe)})})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/array-buffer-view-core"),ce=oe("../internals/array-reduce").right,Ee=ge.aTypedArray,Ae=ge.exportTypedArrayMethod;Ae("reduceRight",function(De){var me=arguments.length;return ce(Ee(this),De,me,me>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],329:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/array-buffer-view-core"),ce=oe("../internals/array-reduce").left,Ee=ge.aTypedArray,Ae=ge.exportTypedArrayMethod;Ae("reduce",function(De){var me=arguments.length;return ce(Ee(this),De,me,me>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],330:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/array-buffer-view-core"),ce=ge.aTypedArray,Ee=ge.exportTypedArrayMethod,Ae=Math.floor;Ee("reverse",function(){for(var De=this,me=ce(De).length,xe=Ae(me/2),fe=0,z;fe<xe;)z=De[fe],De[fe++]=De[--me],De[me]=z;return De})},{"../internals/array-buffer-view-core":103}],331:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/global"),ce=oe("../internals/function-call"),Ee=oe("../internals/array-buffer-view-core"),Ae=oe("../internals/length-of-array-like"),ye=oe("../internals/to-offset"),De=oe("../internals/to-object"),me=oe("../internals/fails"),xe=ge.RangeError,fe=ge.Int8Array,z=fe&&fe.prototype,ee=z&&z.set,ae=Ee.aTypedArray,re=Ee.exportTypedArrayMethod,le=!me(function(){var pe=new Uint8ClampedArray(2);return ce(ee,pe,{length:1,0:3},1),pe[1]!==3}),ue=le&&Ee.NATIVE_ARRAY_BUFFER_VIEWS&&me(function(){var pe=new fe(2);return pe.set(1),pe.set("2",1),pe[0]!==0||pe[1]!==2});re("set",function(Pe){ae(this);var be=ye(arguments.length>1?arguments[1]:void 0,1),Ie=De(Pe);if(le)return ce(ee,this,Ie,be);var Me=this.length,Oe=Ae(Ie),Te=0;if(Oe+be>Me)throw xe("Wrong length");for(;Te<Oe;)this[be+Te]=Ie[Te++]},!le||ue)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-call":155,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/to-offset":251}],332:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/array-buffer-view-core"),ce=oe("../internals/typed-array-species-constructor"),Ee=oe("../internals/fails"),Ae=oe("../internals/array-slice"),ye=ge.aTypedArray,De=ge.exportTypedArrayMethod,me=Ee(function(){new Int8Array(1).slice()});De("slice",function(fe,z){for(var ee=Ae(ye(this),fe,z),ae=ce(this),re=0,le=ee.length,ue=new ae(le);le>re;)ue[re]=ee[re++];return ue},me)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/typed-array-species-constructor":262}],333:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/array-buffer-view-core"),ce=oe("../internals/array-iteration").some,Ee=ge.aTypedArray,Ae=ge.exportTypedArrayMethod;Ae("some",function(De){return ce(Ee(this),De,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],334:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/global"),ce=oe("../internals/function-uncurry-this"),Ee=oe("../internals/fails"),Ae=oe("../internals/a-callable"),ye=oe("../internals/array-sort"),De=oe("../internals/array-buffer-view-core"),me=oe("../internals/engine-ff-version"),xe=oe("../internals/engine-is-ie-or-edge"),fe=oe("../internals/engine-v8-version"),z=oe("../internals/engine-webkit-version"),ee=De.aTypedArray,ae=De.exportTypedArrayMethod,re=ge.Uint16Array,le=re&&ce(re.prototype.sort),ue=!!le&&!(Ee(function(){le(new re(2),null)})&&Ee(function(){le(new re(2),{})})),pe=!!le&&!Ee(function(){if(fe)return fe<74;if(me)return me<67;if(xe)return!0;if(z)return z<602;var be=new re(516),Ie=Array(516),Me,Oe;for(Me=0;Me<516;Me++)Oe=Me%4,be[Me]=515-Me,Ie[Me]=Me-2*Oe+3;for(le(be,function(Te,je){return(Te/4|0)-(je/4|0)}),Me=0;Me<516;Me++)if(be[Me]!==Ie[Me])return!0}),Pe=function(be){return function(Ie,Me){return be!==void 0?+be(Ie,Me)||0:Me!==Me?-1:Ie!==Ie?1:Ie===0&&Me===0?1/Ie>0&&1/Me<0?1:-1:Ie>Me}};ae("sort",function(Ie){return Ie!==void 0&&Ae(Ie),pe?le(this,Ie):ye(ee(this),Pe(Ie))},!pe||ue)},{"../internals/a-callable":95,"../internals/array-buffer-view-core":103,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],335:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/array-buffer-view-core"),ce=oe("../internals/to-length"),Ee=oe("../internals/to-absolute-index"),Ae=oe("../internals/typed-array-species-constructor"),ye=ge.aTypedArray,De=ge.exportTypedArrayMethod;De("subarray",function(xe,fe){var z=ye(this),ee=z.length,ae=Ee(xe,ee),re=Ae(z);return new re(z.buffer,z.byteOffset+ae*z.BYTES_PER_ELEMENT,ce((fe===void 0?ee:Ee(fe,ee))-ae))})},{"../internals/array-buffer-view-core":103,"../internals/to-absolute-index":245,"../internals/to-length":249,"../internals/typed-array-species-constructor":262}],336:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/global"),ce=oe("../internals/function-apply"),Ee=oe("../internals/array-buffer-view-core"),Ae=oe("../internals/fails"),ye=oe("../internals/array-slice"),De=ge.Int8Array,me=Ee.aTypedArray,xe=Ee.exportTypedArrayMethod,fe=[].toLocaleString,z=!!De&&Ae(function(){fe.call(new De(1))}),ee=Ae(function(){return[1,2].toLocaleString()!=new De([1,2]).toLocaleString()})||!Ae(function(){De.prototype.toLocaleString.call([1,2])});xe("toLocaleString",function(){return ce(fe,z?ye(me(this)):me(this),ye(arguments))},ee)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/function-apply":152,"../internals/global":163}],337:[function(oe,Ze,Ne){"use strict";var ge=oe("../internals/array-buffer-view-core").exportTypedArrayMethod,ce=oe("../internals/fails"),Ee=oe("../internals/global"),Ae=oe("../internals/function-uncurry-this"),ye=Ee.Uint8Array,De=ye&&ye.prototype||{},me=[].toString,xe=Ae([].join);ce(function(){me.call({})})&&(me=function(){return xe(this)});var fe=De.toString!=me;ge("toString",me,fe)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(oe,Ze,Ne){var ge=oe("../internals/typed-array-constructor");ge("Uint8",function(ce){return function(Ae,ye,De){return ce(this,Ae,ye,De)}})},{"../internals/typed-array-constructor":258}],339:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/dom-iterables"),Ee=oe("../internals/dom-token-list-prototype"),Ae=oe("../internals/array-for-each"),ye=oe("../internals/create-non-enumerable-property"),De=function(xe){if(xe&&xe.forEach!==Ae)try{ye(xe,"forEach",Ae)}catch(fe){xe.forEach=Ae}};for(var me in ce)ce[me]&&De(ge[me]&&ge[me].prototype);De(Ee)},{"../internals/array-for-each":107,"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163}],340:[function(oe,Ze,Ne){var ge=oe("../internals/global"),ce=oe("../internals/dom-iterables"),Ee=oe("../internals/dom-token-list-prototype"),Ae=oe("../modules/es.array.iterator"),ye=oe("../internals/create-non-enumerable-property"),De=oe("../internals/well-known-symbol"),me=De("iterator"),xe=De("toStringTag"),fe=Ae.values,z=function(ae,re){if(ae){if(ae[me]!==fe)try{ye(ae,me,fe)}catch(ue){ae[me]=fe}if(ae[xe]||ye(ae,xe,re),ce[re]){for(var le in Ae)if(ae[le]!==Ae[le])try{ye(ae,le,Ae[le])}catch(ue){ae[le]=Ae[le]}}}};for(var ee in ce)z(ge[ee]&&ge[ee].prototype,ee);z(Ee,"DOMTokenList")},{"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],341:[function(oe,Ze,Ne){function ge(pe){return Array.isArray?Array.isArray(pe):ue(pe)==="[object Array]"}Ne.isArray=ge;function ce(pe){return typeof pe=="boolean"}Ne.isBoolean=ce;function Ee(pe){return pe===null}Ne.isNull=Ee;function Ae(pe){return pe==null}Ne.isNullOrUndefined=Ae;function ye(pe){return typeof pe=="number"}Ne.isNumber=ye;function De(pe){return typeof pe=="string"}Ne.isString=De;function me(pe){return typeof pe=="symbol"}Ne.isSymbol=me;function xe(pe){return pe===void 0}Ne.isUndefined=xe;function fe(pe){return ue(pe)==="[object RegExp]"}Ne.isRegExp=fe;function z(pe){return typeof pe=="object"&&pe!==null}Ne.isObject=z;function ee(pe){return ue(pe)==="[object Date]"}Ne.isDate=ee;function ae(pe){return ue(pe)==="[object Error]"||pe instanceof Error}Ne.isError=ae;function re(pe){return typeof pe=="function"}Ne.isFunction=re;function le(pe){return pe===null||typeof pe=="boolean"||typeof pe=="number"||typeof pe=="string"||typeof pe=="symbol"||typeof pe=="undefined"}Ne.isPrimitive=le,Ne.isBuffer=oe("buffer").Buffer.isBuffer;function ue(pe){return Object.prototype.toString.call(pe)}},{buffer:90}],342:[function(oe,Ze,Ne){(function(ge){"use strict";var ce=function(){var me=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,xe=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,fe=/[^-+\dA-Z]/g;return function(z,ee,ae,re){if(arguments.length===1&&De(z)==="string"&&!/\d/.test(z)&&(ee=z,z=void 0),z=z||new Date,z instanceof Date||(z=new Date(z)),isNaN(z))throw TypeError("Invalid date");ee=String(ce.masks[ee]||ee||ce.masks.default);var le=ee.slice(0,4);(le==="UTC:"||le==="GMT:")&&(ee=ee.slice(4),ae=!0,le==="GMT:"&&(re=!0));var ue=ae?"getUTC":"get",pe=z[ue+"Date"](),Pe=z[ue+"Day"](),be=z[ue+"Month"](),Ie=z[ue+"FullYear"](),Me=z[ue+"Hours"](),Oe=z[ue+"Minutes"](),Te=z[ue+"Seconds"](),je=z[ue+"Milliseconds"](),ze=ae?0:z.getTimezoneOffset(),$e=Ae(z),Ue=ye(z),qe={d:pe,dd:Ee(pe),ddd:ce.i18n.dayNames[Pe],dddd:ce.i18n.dayNames[Pe+7],m:be+1,mm:Ee(be+1),mmm:ce.i18n.monthNames[be],mmmm:ce.i18n.monthNames[be+12],yy:String(Ie).slice(2),yyyy:Ie,h:Me%12||12,hh:Ee(Me%12||12),H:Me,HH:Ee(Me),M:Oe,MM:Ee(Oe),s:Te,ss:Ee(Te),l:Ee(je,3),L:Ee(Math.round(je/10)),t:Me<12?"a":"p",tt:Me<12?"am":"pm",T:Me<12?"A":"P",TT:Me<12?"AM":"PM",Z:re?"GMT":ae?"UTC":(String(z).match(xe)||[""]).pop().replace(fe,""),o:(ze>0?"-":"+")+Ee(Math.floor(Math.abs(ze)/60)*100+Math.abs(ze)%60,4),S:["th","st","nd","rd"][pe%10>3?0:(pe%100-pe%10!=10)*pe%10],W:$e,N:Ue};return ee.replace(me,function(et){return et in qe?qe[et]:et.slice(1,et.length-1)})}}();ce.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},ce.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function Ee(me,xe){for(me=String(me),xe=xe||2;me.length<xe;)me="0"+me;return me}function Ae(me){var xe=new Date(me.getFullYear(),me.getMonth(),me.getDate());xe.setDate(xe.getDate()-(xe.getDay()+6)%7+3);var fe=new Date(xe.getFullYear(),0,4);fe.setDate(fe.getDate()-(fe.getDay()+6)%7+3);var z=xe.getTimezoneOffset()-fe.getTimezoneOffset();xe.setHours(xe.getHours()-z);var ee=(xe-fe)/(864e5*7);return 1+Math.floor(ee)}function ye(me){var xe=me.getDay();return xe===0&&(xe=7),xe}function De(me){return me===null?"null":me===void 0?"undefined":typeof me!="object"?typeof me:Array.isArray(me)?"array":{}.toString.call(me).slice(8,-1).toLowerCase()}typeof We=="function"&&We.amd?We(function(){return ce}):typeof Ne=="object"?Ze.exports=ce:ge.dateFormat=ce})(this)},{}],343:[function(oe,Ze,Ne){"use strict";var ge=/["'&<>]/;Ze.exports=ce;function ce(Ee){var Ae=""+Ee,ye=ge.exec(Ae);if(!ye)return Ae;var De,me="",xe=0,fe=0;for(xe=ye.index;xe<Ae.length;xe++){switch(Ae.charCodeAt(xe)){case 34:De="&quot;";break;case 38:De="&amp;";break;case 39:De="&#39;";break;case 60:De="&lt;";break;case 62:De="&gt;";break;default:continue}fe!==xe&&(me+=Ae.substring(fe,xe)),fe=xe+1,me+=De}return fe!==xe?me+Ae.substring(fe,xe):me}},{}],344:[function(oe,Ze,Ne){"use strict";var ge=typeof Reflect=="object"?Reflect:null,ce=ge&&typeof ge.apply=="function"?ge.apply:function(Te,je,ze){return Function.prototype.apply.call(Te,je,ze)},Ee;ge&&typeof ge.ownKeys=="function"?Ee=ge.ownKeys:Object.getOwnPropertySymbols?Ee=function(Te){return Object.getOwnPropertyNames(Te).concat(Object.getOwnPropertySymbols(Te))}:Ee=function(Te){return Object.getOwnPropertyNames(Te)};function Ae(Oe){console&&console.warn&&console.warn(Oe)}var ye=Number.isNaN||function(Te){return Te!==Te};function De(){De.init.call(this)}Ze.exports=De,Ze.exports.once=be,De.EventEmitter=De,De.prototype._events=void 0,De.prototype._eventsCount=0,De.prototype._maxListeners=void 0;var me=10;function xe(Oe){if(typeof Oe!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Oe)}Object.defineProperty(De,"defaultMaxListeners",{enumerable:!0,get:function(){return me},set:function(Oe){if(typeof Oe!="number"||Oe<0||ye(Oe))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Oe+".");me=Oe}}),De.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},De.prototype.setMaxListeners=function(Te){if(typeof Te!="number"||Te<0||ye(Te))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+Te+".");return this._maxListeners=Te,this};function fe(Oe){return Oe._maxListeners===void 0?De.defaultMaxListeners:Oe._maxListeners}De.prototype.getMaxListeners=function(){return fe(this)},De.prototype.emit=function(Te){for(var je=[],ze=1;ze<arguments.length;ze++)je.push(arguments[ze]);var $e=Te==="error",Ue=this._events;if(Ue!==void 0)$e=$e&&Ue.error===void 0;else if(!$e)return!1;if($e){var qe;if(je.length>0&&(qe=je[0]),qe instanceof Error)throw qe;var et=new Error("Unhandled error."+(qe?" ("+qe.message+")":""));throw et.context=qe,et}var lt=Ue[Te];if(lt===void 0)return!1;if(typeof lt=="function")ce(lt,this,je);else for(var ut=lt.length,vt=ue(lt,ut),ze=0;ze<ut;++ze)ce(vt[ze],this,je);return!0};function z(Oe,Te,je,ze){var $e,Ue,qe;if(xe(je),Ue=Oe._events,Ue===void 0?(Ue=Oe._events=Object.create(null),Oe._eventsCount=0):(Ue.newListener!==void 0&&(Oe.emit("newListener",Te,je.listener?je.listener:je),Ue=Oe._events),qe=Ue[Te]),qe===void 0)qe=Ue[Te]=je,++Oe._eventsCount;else if(typeof qe=="function"?qe=Ue[Te]=ze?[je,qe]:[qe,je]:ze?qe.unshift(je):qe.push(je),$e=fe(Oe),$e>0&&qe.length>$e&&!qe.warned){qe.warned=!0;var et=new Error("Possible EventEmitter memory leak detected. "+qe.length+" "+String(Te)+" listeners added. Use emitter.setMaxListeners() to increase limit");et.name="MaxListenersExceededWarning",et.emitter=Oe,et.type=Te,et.count=qe.length,Ae(et)}return Oe}De.prototype.addListener=function(Te,je){return z(this,Te,je,!1)},De.prototype.on=De.prototype.addListener,De.prototype.prependListener=function(Te,je){return z(this,Te,je,!0)};function ee(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function ae(Oe,Te,je){var ze={fired:!1,wrapFn:void 0,target:Oe,type:Te,listener:je},$e=ee.bind(ze);return $e.listener=je,ze.wrapFn=$e,$e}De.prototype.once=function(Te,je){return xe(je),this.on(Te,ae(this,Te,je)),this},De.prototype.prependOnceListener=function(Te,je){return xe(je),this.prependListener(Te,ae(this,Te,je)),this},De.prototype.removeListener=function(Te,je){var ze,$e,Ue,qe,et;if(xe(je),$e=this._events,$e===void 0)return this;if(ze=$e[Te],ze===void 0)return this;if(ze===je||ze.listener===je)--this._eventsCount===0?this._events=Object.create(null):(delete $e[Te],$e.removeListener&&this.emit("removeListener",Te,ze.listener||je));else if(typeof ze!="function"){for(Ue=-1,qe=ze.length-1;qe>=0;qe--)if(ze[qe]===je||ze[qe].listener===je){et=ze[qe].listener,Ue=qe;break}if(Ue<0)return this;Ue===0?ze.shift():pe(ze,Ue),ze.length===1&&($e[Te]=ze[0]),$e.removeListener!==void 0&&this.emit("removeListener",Te,et||je)}return this},De.prototype.off=De.prototype.removeListener,De.prototype.removeAllListeners=function(Te){var je,ze,$e;if(ze=this._events,ze===void 0)return this;if(ze.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):ze[Te]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete ze[Te]),this;if(arguments.length===0){var Ue=Object.keys(ze),qe;for($e=0;$e<Ue.length;++$e)qe=Ue[$e],qe!=="removeListener"&&this.removeAllListeners(qe);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(je=ze[Te],typeof je=="function")this.removeListener(Te,je);else if(je!==void 0)for($e=je.length-1;$e>=0;$e--)this.removeListener(Te,je[$e]);return this};function re(Oe,Te,je){var ze=Oe._events;if(ze===void 0)return[];var $e=ze[Te];return $e===void 0?[]:typeof $e=="function"?je?[$e.listener||$e]:[$e]:je?Pe($e):ue($e,$e.length)}De.prototype.listeners=function(Te){return re(this,Te,!0)},De.prototype.rawListeners=function(Te){return re(this,Te,!1)},De.listenerCount=function(Oe,Te){return typeof Oe.listenerCount=="function"?Oe.listenerCount(Te):le.call(Oe,Te)},De.prototype.listenerCount=le;function le(Oe){var Te=this._events;if(Te!==void 0){var je=Te[Oe];if(typeof je=="function")return 1;if(je!==void 0)return je.length}return 0}De.prototype.eventNames=function(){return this._eventsCount>0?Ee(this._events):[]};function ue(Oe,Te){for(var je=new Array(Te),ze=0;ze<Te;++ze)je[ze]=Oe[ze];return je}function pe(Oe,Te){for(;Te+1<Oe.length;Te++)Oe[Te]=Oe[Te+1];Oe.pop()}function Pe(Oe){for(var Te=new Array(Oe.length),je=0;je<Te.length;++je)Te[je]=Oe[je].listener||Oe[je];return Te}function be(Oe,Te){return new Promise(function(je,ze){function $e(qe){Oe.removeListener(Te,Ue),ze(qe)}function Ue(){typeof Oe.removeListener=="function"&&Oe.removeListener("error",$e),je([].slice.call(arguments))}Me(Oe,Te,Ue,{once:!0}),Te!=="error"&&Ie(Oe,$e,{once:!0})})}function Ie(Oe,Te,je){typeof Oe.on=="function"&&Me(Oe,"error",Te,je)}function Me(Oe,Te,je,ze){if(typeof Oe.on=="function")ze.once?Oe.once(Te,je):Oe.on(Te,je);else if(typeof Oe.addEventListener=="function")Oe.addEventListener(Te,function $e(Ue){ze.once&&Oe.removeEventListener(Te,$e),je(Ue)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof Oe)}},{}],345:[function(oe,Ze,Ne){"use strict";var ge=oe("is-callable"),ce=Object.prototype.toString,Ee=Object.prototype.hasOwnProperty,Ae=function(fe,z,ee){for(var ae=0,re=fe.length;ae<re;ae++)Ee.call(fe,ae)&&(ee==null?z(fe[ae],ae,fe):z.call(ee,fe[ae],ae,fe))},ye=function(fe,z,ee){for(var ae=0,re=fe.length;ae<re;ae++)ee==null?z(fe.charAt(ae),ae,fe):z.call(ee,fe.charAt(ae),ae,fe)},De=function(fe,z,ee){for(var ae in fe)Ee.call(fe,ae)&&(ee==null?z(fe[ae],ae,fe):z.call(ee,fe[ae],ae,fe))},me=function(fe,z,ee){if(!ge(z))throw new TypeError("iterator must be a function");var ae;arguments.length>=3&&(ae=ee),ce.call(fe)==="[object Array]"?Ae(fe,z,ae):typeof fe=="string"?ye(fe,z,ae):De(fe,z,ae)};Ze.exports=me},{"is-callable":367}],346:[function(oe,Ze,Ne){"use strict";var ge="Function.prototype.bind called on incompatible ",ce=Array.prototype.slice,Ee=Object.prototype.toString,Ae="[object Function]";Ze.exports=function(De){var me=this;if(typeof me!="function"||Ee.call(me)!==Ae)throw new TypeError(ge+me);for(var xe=ce.call(arguments,1),fe,z=function(){if(this instanceof fe){var ue=me.apply(this,xe.concat(ce.call(arguments)));return Object(ue)===ue?ue:this}else return me.apply(De,xe.concat(ce.call(arguments)))},ee=Math.max(0,me.length-xe.length),ae=[],re=0;re<ee;re++)ae.push("$"+re);if(fe=Function("binder","return function ("+ae.join(",")+"){ return binder.apply(this,arguments); }")(z),me.prototype){var le=function(){};le.prototype=me.prototype,fe.prototype=new le,le.prototype=null}return fe}},{}],347:[function(oe,Ze,Ne){"use strict";var ge=oe("./implementation");Ze.exports=Function.prototype.bind||ge},{"./implementation":346}],348:[function(oe,Ze,Ne){"use strict";var ge,ce=SyntaxError,Ee=Function,Ae=TypeError,ye=function(lt){try{return Ee('"use strict"; return ('+lt+").constructor;")()}catch(ut){}},De=Object.getOwnPropertyDescriptor;if(De)try{De({},"")}catch(lt){De=null}var me=function(){throw new Ae},xe=De?function(){try{return arguments.callee,me}catch(lt){try{return De(arguments,"callee").get}catch(ut){return me}}}():me,fe=oe("has-symbols")(),z=oe("has-proto")(),ee=Object.getPrototypeOf||(z?function(lt){return lt.__proto__}:null),ae={},re=typeof Uint8Array=="undefined"||!ee?ge:ee(Uint8Array),le={"%AggregateError%":typeof AggregateError=="undefined"?ge:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?ge:ArrayBuffer,"%ArrayIteratorPrototype%":fe&&ee?ee([][Symbol.iterator]()):ge,"%AsyncFromSyncIteratorPrototype%":ge,"%AsyncFunction%":ae,"%AsyncGenerator%":ae,"%AsyncGeneratorFunction%":ae,"%AsyncIteratorPrototype%":ae,"%Atomics%":typeof Atomics=="undefined"?ge:Atomics,"%BigInt%":typeof BigInt=="undefined"?ge:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?ge:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?ge:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?ge:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?ge:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?ge:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?ge:FinalizationRegistry,"%Function%":Ee,"%GeneratorFunction%":ae,"%Int8Array%":typeof Int8Array=="undefined"?ge:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?ge:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?ge:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":fe&&ee?ee(ee([][Symbol.iterator]())):ge,"%JSON%":typeof JSON=="object"?JSON:ge,"%Map%":typeof Map=="undefined"?ge:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!fe||!ee?ge:ee(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?ge:Promise,"%Proxy%":typeof Proxy=="undefined"?ge:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?ge:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?ge:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!fe||!ee?ge:ee(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?ge:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":fe&&ee?ee(""[Symbol.iterator]()):ge,"%Symbol%":fe?Symbol:ge,"%SyntaxError%":ce,"%ThrowTypeError%":xe,"%TypedArray%":re,"%TypeError%":Ae,"%Uint8Array%":typeof Uint8Array=="undefined"?ge:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?ge:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?ge:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?ge:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?ge:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?ge:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?ge:WeakSet};if(ee)try{null.error}catch(lt){var ue=ee(ee(lt));le["%Error.prototype%"]=ue}var pe=function lt(ut){var vt;if(ut==="%AsyncFunction%")vt=ye("async function () {}");else if(ut==="%GeneratorFunction%")vt=ye("function* () {}");else if(ut==="%AsyncGeneratorFunction%")vt=ye("async function* () {}");else if(ut==="%AsyncGenerator%"){var tt=lt("%AsyncGeneratorFunction%");tt&&(vt=tt.prototype)}else if(ut==="%AsyncIteratorPrototype%"){var at=lt("%AsyncGenerator%");at&&ee&&(vt=ee(at.prototype))}return le[ut]=vt,vt},Pe={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},be=oe("function-bind"),Ie=oe("has"),Me=be.call(Function.call,Array.prototype.concat),Oe=be.call(Function.apply,Array.prototype.splice),Te=be.call(Function.call,String.prototype.replace),je=be.call(Function.call,String.prototype.slice),ze=be.call(Function.call,RegExp.prototype.exec),$e=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ue=/\\(\\)?/g,qe=function(ut){var vt=je(ut,0,1),tt=je(ut,-1);if(vt==="%"&&tt!=="%")throw new ce("invalid intrinsic syntax, expected closing `%`");if(tt==="%"&&vt!=="%")throw new ce("invalid intrinsic syntax, expected opening `%`");var at=[];return Te(ut,$e,function(dt,St,xt,ft){at[at.length]=xt?Te(ft,Ue,"$1"):St||dt}),at},et=function(ut,vt){var tt=ut,at;if(Ie(Pe,tt)&&(at=Pe[tt],tt="%"+at[0]+"%"),Ie(le,tt)){var dt=le[tt];if(dt===ae&&(dt=pe(tt)),typeof dt=="undefined"&&!vt)throw new Ae("intrinsic "+ut+" exists, but is not available. Please file an issue!");return{alias:at,name:tt,value:dt}}throw new ce("intrinsic "+ut+" does not exist!")};Ze.exports=function(ut,vt){if(typeof ut!="string"||ut.length===0)throw new Ae("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof vt!="boolean")throw new Ae('"allowMissing" argument must be a boolean');if(ze(/^%?[^%]*%?$/,ut)===null)throw new ce("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var tt=qe(ut),at=tt.length>0?tt[0]:"",dt=et("%"+at+"%",vt),St=dt.name,xt=dt.value,ft=!1,pt=dt.alias;pt&&(at=pt[0],Oe(tt,Me([0,1],pt)));for(var yt=1,Tt=!0;yt<tt.length;yt+=1){var At=tt[yt],Gt=je(At,0,1),wt=je(At,-1);if((Gt==='"'||Gt==="'"||Gt==="`"||wt==='"'||wt==="'"||wt==="`")&&Gt!==wt)throw new ce("property names with quotes must have matching quotes");if((At==="constructor"||!Tt)&&(ft=!0),at+="."+At,St="%"+at+"%",Ie(le,St))xt=le[St];else if(xt!=null){if(!(At in xt)){if(!vt)throw new Ae("base intrinsic for "+ut+" exists, but the property is not available.");return}if(De&&yt+1>=tt.length){var bt=De(xt,At);Tt=!!bt,Tt&&"get"in bt&&!("originalValue"in bt.get)?xt=bt.get:xt=xt[At]}else Tt=Ie(xt,At),xt=xt[At];Tt&&!ft&&(le[St]=xt)}}return xt}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(oe,Ze,Ne){"use strict";var ge=oe("get-intrinsic"),ce=ge("%Object.getOwnPropertyDescriptor%",!0);if(ce)try{ce([],"length")}catch(Ee){ce=null}Ze.exports=ce},{"get-intrinsic":348}],350:[function(oe,Ze,Ne){"use strict";var ge={foo:{}},ce=Object;Ze.exports=function(){return{__proto__:ge}.foo===ge.foo&&!({__proto__:null}instanceof ce)}},{}],351:[function(oe,Ze,Ne){"use strict";var ge=typeof Symbol!="undefined"&&Symbol,ce=oe("./shams");Ze.exports=function(){return typeof ge!="function"||typeof Symbol!="function"||typeof ge("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:ce()}},{"./shams":352}],352:[function(oe,Ze,Ne){"use strict";Ze.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var ce={},Ee=Symbol("test"),Ae=Object(Ee);if(typeof Ee=="string"||Object.prototype.toString.call(Ee)!=="[object Symbol]"||Object.prototype.toString.call(Ae)!=="[object Symbol]")return!1;var ye=42;ce[Ee]=ye;for(Ee in ce)return!1;if(typeof Object.keys=="function"&&Object.keys(ce).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(ce).length!==0)return!1;var De=Object.getOwnPropertySymbols(ce);if(De.length!==1||De[0]!==Ee||!Object.prototype.propertyIsEnumerable.call(ce,Ee))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var me=Object.getOwnPropertyDescriptor(ce,Ee);if(me.value!==ye||me.enumerable!==!0)return!1}return!0}},{}],353:[function(oe,Ze,Ne){"use strict";var ge=oe("has-symbols/shams");Ze.exports=function(){return ge()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(oe,Ze,Ne){"use strict";var ge=oe("function-bind");Ze.exports=ge.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(oe,Ze,Ne){var ge=oe("http"),ce=oe("url"),Ee=Ze.exports;for(var Ae in ge)ge.hasOwnProperty(Ae)&&(Ee[Ae]=ge[Ae]);Ee.request=function(De,me){return De=ye(De),ge.request.call(this,De,me)},Ee.get=function(De,me){return De=ye(De),ge.get.call(this,De,me)};function ye(De){if(typeof De=="string"&&(De=ce.parse(De)),De.protocol||(De.protocol="https:"),De.protocol!=="https:")throw new Error('Protocol "'+De.protocol+'" not supported. Expected "https:"');return De}},{http:468,url:472}],356:[function(oe,Ze,Ne){"use strict";var ge=oe("util"),ce=oe("ms");Ze.exports=function(Ee){if(typeof Ee=="number")return Ee;var Ae=ce(Ee);if(Ae===void 0){var ye=new Error(ge.format("humanize-ms(%j) result undefined",Ee));console.warn(ye.stack)}return Ae}},{ms:376,util:419}],357:[function(oe,Ze,Ne){Ne.read=function(ge,ce,Ee,Ae,ye){var De,me,xe=ye*8-Ae-1,fe=(1<<xe)-1,z=fe>>1,ee=-7,ae=Ee?ye-1:0,re=Ee?-1:1,le=ge[ce+ae];for(ae+=re,De=le&(1<<-ee)-1,le>>=-ee,ee+=xe;ee>0;De=De*256+ge[ce+ae],ae+=re,ee-=8);for(me=De&(1<<-ee)-1,De>>=-ee,ee+=Ae;ee>0;me=me*256+ge[ce+ae],ae+=re,ee-=8);if(De===0)De=1-z;else{if(De===fe)return me?NaN:(le?-1:1)*(1/0);me=me+Math.pow(2,Ae),De=De-z}return(le?-1:1)*me*Math.pow(2,De-Ae)},Ne.write=function(ge,ce,Ee,Ae,ye,De){var me,xe,fe,z=De*8-ye-1,ee=(1<<z)-1,ae=ee>>1,re=ye===23?Math.pow(2,-24)-Math.pow(2,-77):0,le=Ae?0:De-1,ue=Ae?1:-1,pe=ce<0||ce===0&&1/ce<0?1:0;for(ce=Math.abs(ce),isNaN(ce)||ce===1/0?(xe=isNaN(ce)?1:0,me=ee):(me=Math.floor(Math.log(ce)/Math.LN2),ce*(fe=Math.pow(2,-me))<1&&(me--,fe*=2),me+ae>=1?ce+=re/fe:ce+=re*Math.pow(2,1-ae),ce*fe>=2&&(me++,fe/=2),me+ae>=ee?(xe=0,me=ee):me+ae>=1?(xe=(ce*fe-1)*Math.pow(2,ye),me=me+ae):(xe=ce*Math.pow(2,ae-1)*Math.pow(2,ye),me=0));ye>=8;ge[Ee+le]=xe&255,le+=ue,xe/=256,ye-=8);for(me=me<<ye|xe,z+=ye;z>0;ge[Ee+le]=me&255,le+=ue,me/=256,z-=8);ge[Ee+le-ue]|=pe*128}},{}],358:[function(oe,Ze,Ne){"use strict";var ge=[oe("./nextTick"),oe("./queueMicrotask"),oe("./mutation.js"),oe("./messageChannel"),oe("./stateChange"),oe("./timeout")],ce,Ee,Ae=-1,ye=[],De=!1;function me(){!ce||!Ee||(ce=!1,Ee.length?ye=Ee.concat(ye):Ae=-1,ye.length&&xe())}function xe(){if(!ce){De=!1,ce=!0;for(var le=ye.length,ue=setTimeout(me);le;){for(Ee=ye,ye=[];Ee&&++Ae<le;)Ee[Ae].run();Ae=-1,le=ye.length}Ee=null,Ae=-1,ce=!1,clearTimeout(ue)}}for(var fe,z=-1,ee=ge.length;++z<ee;)if(ge[z]&&ge[z].test&&ge[z].test()){fe=ge[z].install(xe);break}function ae(le,ue){this.fun=le,this.array=ue}ae.prototype.run=function(){var le=this.fun,ue=this.array;switch(ue.length){case 0:return le();case 1:return le(ue[0]);case 2:return le(ue[0],ue[1]);case 3:return le(ue[0],ue[1],ue[2]);default:return le.apply(null,ue)}},Ze.exports=re;function re(le){var ue=new Array(arguments.length-1);if(arguments.length>1)for(var pe=1;pe<arguments.length;pe++)ue[pe-1]=arguments[pe];ye.push(new ae(le,ue)),!De&&!ce&&(De=!0,fe())}},{"./messageChannel":359,"./mutation.js":360,"./nextTick":89,"./queueMicrotask":361,"./stateChange":362,"./timeout":363}],359:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";Ne.test=function(){return ge.setImmediate?!1:typeof ge.MessageChannel!="undefined"},Ne.install=function(ce){var Ee=new ge.MessageChannel;return Ee.port1.onmessage=ce,function(){Ee.port2.postMessage(0)}}}).call(this)}).call(this,typeof fn!="undefined"?fn:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],360:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";var ce=ge.MutationObserver||ge.WebKitMutationObserver;Ne.test=function(){return ce},Ne.install=function(Ee){var Ae=0,ye=new ce(Ee),De=ge.document.createTextNode("");return ye.observe(De,{characterData:!0}),function(){De.data=Ae=++Ae%2}}}).call(this)}).call(this,typeof fn!="undefined"?fn:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],361:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";Ne.test=function(){return typeof ge.queueMicrotask=="function"},Ne.install=function(ce){return function(){ge.queueMicrotask(ce)}}}).call(this)}).call(this,typeof fn!="undefined"?fn:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],362:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";Ne.test=function(){return"document"in ge&&"onreadystatechange"in ge.document.createElement("script")},Ne.install=function(ce){return function(){var Ee=ge.document.createElement("script");return Ee.onreadystatechange=function(){ce(),Ee.onreadystatechange=null,Ee.parentNode.removeChild(Ee),Ee=null},ge.document.documentElement.appendChild(Ee),ce}}}).call(this)}).call(this,typeof fn!="undefined"?fn:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],363:[function(oe,Ze,Ne){"use strict";Ne.test=function(){return!0},Ne.install=function(ge){return function(){setTimeout(ge,0)}}},{}],364:[function(oe,Ze,Ne){typeof Object.create=="function"?Ze.exports=function(ce,Ee){Ee&&(ce.super_=Ee,ce.prototype=Object.create(Ee.prototype,{constructor:{value:ce,enumerable:!1,writable:!0,configurable:!0}}))}:Ze.exports=function(ce,Ee){if(Ee){ce.super_=Ee;var Ae=function(){};Ae.prototype=Ee.prototype,ce.prototype=new Ae,ce.prototype.constructor=ce}}},{}],365:[function(oe,Ze,Ne){"use strict";var ge=oe("has-tostringtag/shams")(),ce=oe("call-bind/callBound"),Ee=ce("Object.prototype.toString"),Ae=function(xe){return ge&&xe&&typeof xe=="object"&&Symbol.toStringTag in xe?!1:Ee(xe)==="[object Arguments]"},ye=function(xe){return Ae(xe)?!0:xe!==null&&typeof xe=="object"&&typeof xe.length=="number"&&xe.length>=0&&Ee(xe)!=="[object Array]"&&Ee(xe.callee)==="[object Function]"},De=function(){return Ae(arguments)}();Ae.isLegacyArguments=ye,Ze.exports=De?Ae:ye},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[function(oe,Ze,Ne){Ze.exports=function(Ee){return Ee!=null&&(ge(Ee)||ce(Ee)||!!Ee._isBuffer)};function ge(Ee){return!!Ee.constructor&&typeof Ee.constructor.isBuffer=="function"&&Ee.constructor.isBuffer(Ee)}function ce(Ee){return typeof Ee.readFloatLE=="function"&&typeof Ee.slice=="function"&&ge(Ee.slice(0,0))}},{}],367:[function(oe,Ze,Ne){"use strict";var ge=Function.prototype.toString,ce=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Ee,Ae;if(typeof ce=="function"&&typeof Object.defineProperty=="function")try{Ee=Object.defineProperty({},"length",{get:function(){throw Ae}}),Ae={},ce(function(){throw 42},null,Ee)}catch(Ie){Ie!==Ae&&(ce=null)}else ce=null;var ye=/^\s*class\b/,De=function(Me){try{var Oe=ge.call(Me);return ye.test(Oe)}catch(Te){return!1}},me=function(Me){try{return De(Me)?!1:(ge.call(Me),!0)}catch(Oe){return!1}},xe=Object.prototype.toString,fe="[object Object]",z="[object Function]",ee="[object GeneratorFunction]",ae="[object HTMLAllCollection]",re="[object HTML document.all class]",le="[object HTMLCollection]",ue=typeof Symbol=="function"&&!!Symbol.toStringTag,pe=!(0 in[,]),Pe=function(){return!1};if(typeof document=="object"){var be=document.all;xe.call(be)===xe.call(document.all)&&(Pe=function(Me){if((pe||!Me)&&(typeof Me=="undefined"||typeof Me=="object"))try{var Oe=xe.call(Me);return(Oe===ae||Oe===re||Oe===le||Oe===fe)&&Me("")==null}catch(Te){}return!1})}Ze.exports=ce?function(Me){if(Pe(Me))return!0;if(!Me||typeof Me!="function"&&typeof Me!="object")return!1;try{ce(Me,null,Ee)}catch(Oe){if(Oe!==Ae)return!1}return!De(Me)&&me(Me)}:function(Me){if(Pe(Me))return!0;if(!Me||typeof Me!="function"&&typeof Me!="object")return!1;if(ue)return me(Me);if(De(Me))return!1;var Oe=xe.call(Me);return Oe!==z&&Oe!==ee&&!/^\[object HTML/.test(Oe)?!1:me(Me)}},{}],368:[function(oe,Ze,Ne){"use strict";var ge=Object.prototype.toString,ce=Function.prototype.toString,Ee=/^\s*(?:function)?\*/,Ae=oe("has-tostringtag/shams")(),ye=Object.getPrototypeOf,De=function(){if(!Ae)return!1;try{return Function("return function*() {}")()}catch(xe){}},me;Ze.exports=function(fe){if(typeof fe!="function")return!1;if(Ee.test(ce.call(fe)))return!0;if(!Ae){var z=ge.call(fe);return z==="[object GeneratorFunction]"}if(!ye)return!1;if(typeof me=="undefined"){var ee=De();me=ee?ye(ee):!1}return ye(fe)===me}},{"has-tostringtag/shams":353}],369:[function(oe,Ze,Ne){"use strict";var ge=oe("which-typed-array");Ze.exports=function(Ee){return!!ge(Ee)}},{"which-typed-array":420}],370:[function(oe,Ze,Ne){var ge={}.toString;Ze.exports=Array.isArray||function(ce){return ge.call(ce)=="[object Array]"}},{}],371:[function(oe,Ze,Ne){(function(ge){(function(){(function(ce,Ee){typeof Ne=="object"&&typeof Ze!="undefined"?Ze.exports=Ee(ce):typeof We=="function"&&We.amd?We(Ee):Ee(ce)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ge!="undefined"?ge:this,function(ce){"use strict";ce=ce||{};var Ee=ce.Base64,Ae="2.6.4",ye="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",De=function(ut){for(var vt={},tt=0,at=ut.length;tt<at;tt++)vt[ut.charAt(tt)]=tt;return vt}(ye),me=String.fromCharCode,xe=function(ut){if(ut.length<2){var vt=ut.charCodeAt(0);return vt<128?ut:vt<2048?me(192|vt>>>6)+me(128|vt&63):me(224|vt>>>12&15)+me(128|vt>>>6&63)+me(128|vt&63)}else{var vt=65536+(ut.charCodeAt(0)-55296)*1024+(ut.charCodeAt(1)-56320);return me(240|vt>>>18&7)+me(128|vt>>>12&63)+me(128|vt>>>6&63)+me(128|vt&63)}},fe=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,z=function(ut){return ut.replace(fe,xe)},ee=function(ut){var vt=[0,2,1][ut.length%3],tt=ut.charCodeAt(0)<<16|(ut.length>1?ut.charCodeAt(1):0)<<8|(ut.length>2?ut.charCodeAt(2):0),at=[ye.charAt(tt>>>18),ye.charAt(tt>>>12&63),vt>=2?"=":ye.charAt(tt>>>6&63),vt>=1?"=":ye.charAt(tt&63)];return at.join("")},ae=ce.btoa&&typeof ce.btoa=="function"?function(ut){return ce.btoa(ut)}:function(ut){if(ut.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return ut.replace(/[\s\S]{1,3}/g,ee)},re=function(ut){return ae(z(String(ut)))},le=function(ut){return ut.replace(/[+\/]/g,function(vt){return vt=="+"?"-":"_"}).replace(/=/g,"")},ue=function(ut,vt){return vt?le(re(ut)):re(ut)},pe=function(ut){return ue(ut,!0)},Pe;ce.Uint8Array&&(Pe=function(ut,vt){for(var tt="",at=0,dt=ut.length;at<dt;at+=3){var St=ut[at],xt=ut[at+1],ft=ut[at+2],pt=St<<16|xt<<8|ft;tt+=ye.charAt(pt>>>18)+ye.charAt(pt>>>12&63)+(typeof xt!="undefined"?ye.charAt(pt>>>6&63):"=")+(typeof ft!="undefined"?ye.charAt(pt&63):"=")}return vt?le(tt):tt});var be=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Ie=function(ut){switch(ut.length){case 4:var vt=(7&ut.charCodeAt(0))<<18|(63&ut.charCodeAt(1))<<12|(63&ut.charCodeAt(2))<<6|63&ut.charCodeAt(3),tt=vt-65536;return me((tt>>>10)+55296)+me((tt&1023)+56320);case 3:return me((15&ut.charCodeAt(0))<<12|(63&ut.charCodeAt(1))<<6|63&ut.charCodeAt(2));default:return me((31&ut.charCodeAt(0))<<6|63&ut.charCodeAt(1))}},Me=function(ut){return ut.replace(be,Ie)},Oe=function(ut){var vt=ut.length,tt=vt%4,at=(vt>0?De[ut.charAt(0)]<<18:0)|(vt>1?De[ut.charAt(1)]<<12:0)|(vt>2?De[ut.charAt(2)]<<6:0)|(vt>3?De[ut.charAt(3)]:0),dt=[me(at>>>16),me(at>>>8&255),me(at&255)];return dt.length-=[0,0,2,1][tt],dt.join("")},Te=ce.atob&&typeof ce.atob=="function"?function(ut){return ce.atob(ut)}:function(ut){return ut.replace(/\S{1,4}/g,Oe)},je=function(ut){return Te(String(ut).replace(/[^A-Za-z0-9\+\/]/g,""))},ze=function(ut){return Me(Te(ut))},$e=function(ut){return String(ut).replace(/[-_]/g,function(vt){return vt=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ue=function(ut){return ze($e(ut))},qe;ce.Uint8Array&&(qe=function(ut){return Uint8Array.from(je($e(ut)),function(vt){return vt.charCodeAt(0)})});var et=function(){var ut=ce.Base64;return ce.Base64=Ee,ut};if(ce.Base64={VERSION:Ae,atob:je,btoa:ae,fromBase64:Ue,toBase64:ue,utob:z,encode:ue,encodeURI:pe,btou:Me,decode:Ue,noConflict:et,fromUint8Array:Pe,toUint8Array:qe},typeof Object.defineProperty=="function"){var lt=function(ut){return{value:ut,enumerable:!1,writable:!0,configurable:!0}};ce.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",lt(function(){return Ue(this)})),Object.defineProperty(String.prototype,"toBase64",lt(function(ut){return ue(this,ut)})),Object.defineProperty(String.prototype,"toBase64URI",lt(function(){return ue(this,!0)}))}}return ce.Meteor&&(Base64=ce.Base64),typeof Ze!="undefined"&&Ze.exports?Ze.exports.Base64=ce.Base64:typeof We=="function"&&We.amd&&We([],function(){return ce.Base64}),{Base64:ce.Base64}})}).call(this)}).call(this,typeof fn!="undefined"?fn:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],372:[function(oe,Ze,Ne){"use strict";Ze.exports=ce;var ge=Object.prototype.hasOwnProperty;function ce(Ee,Ae,ye){if(!Ee)throw new TypeError("argument dest is required");if(!Ae)throw new TypeError("argument src is required");return ye===void 0&&(ye=!0),Object.getOwnPropertyNames(Ae).forEach(function(me){if(!(!ye&&ge.call(Ee,me))){var xe=Object.getOwnPropertyDescriptor(Ae,me);Object.defineProperty(Ee,me,xe)}}),Ee}},{}],373:[function(oe,Ze,Ne){"use strict";oe("core-js/modules/es.array.map.js"),oe("core-js/modules/es.regexp.exec.js"),oe("core-js/modules/es.string.replace.js"),oe("core-js/modules/es.regexp.constructor.js"),oe("core-js/modules/es.regexp.to-string.js");function ge(){this._types=Object.create(null),this._extensions=Object.create(null);for(var ce=0;ce<arguments.length;ce++)this.define(arguments[ce]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}ge.prototype.define=function(ce,Ee){for(var Ae in ce){var ye=ce[Ae].map(function(fe){return fe.toLowerCase()});Ae=Ae.toLowerCase();for(var De=0;De<ye.length;De++){var me=ye[De];if(me[0]!=="*"){if(!Ee&&me in this._types)throw new Error('Attempt to change mapping for "'+me+'" extension from "'+this._types[me]+'" to "'+Ae+'". Pass `force=true` to allow this, otherwise remove "'+me+'" from the list of extensions for "'+Ae+'".');this._types[me]=Ae}}if(Ee||!this._extensions[Ae]){var xe=ye[0];this._extensions[Ae]=xe[0]!=="*"?xe:xe.substr(1)}}},ge.prototype.getType=function(ce){ce=String(ce);var Ee=ce.replace(/^.*[/\\]/,"").toLowerCase(),Ae=Ee.replace(/^.*\./,"").toLowerCase(),ye=Ee.length<ce.length,De=Ae.length<Ee.length-1;return(De||!ye)&&this._types[Ae]||null},ge.prototype.getExtension=function(ce){return ce=/^\s*([^;\s]*)/.test(ce)&&RegExp.$1,ce&&this._extensions[ce.toLowerCase()]||null},Ze.exports=ge},{"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.constructor.js":299,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305}],374:[function(oe,Ze,Ne){"use strict";var ge=oe("./Mime");Ze.exports=new ge(oe("./types/standard"))},{"./Mime":373,"./types/standard":375}],375:[function(oe,Ze,Ne){"use strict";Ze.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},{}],376:[function(oe,Ze,Ne){var ge=1e3,ce=ge*60,Ee=ce*60,Ae=Ee*24,ye=Ae*7,De=Ae*365.25;Ze.exports=function(ee,ae){ae=ae||{};var re=typeof ee;if(re==="string"&&ee.length>0)return me(ee);if(re==="number"&&isFinite(ee))return ae.long?fe(ee):xe(ee);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(ee))};function me(ee){if(ee=String(ee),!(ee.length>100)){var ae=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(ee);if(ae){var re=parseFloat(ae[1]),le=(ae[2]||"ms").toLowerCase();switch(le){case"years":case"year":case"yrs":case"yr":case"y":return re*De;case"weeks":case"week":case"w":return re*ye;case"days":case"day":case"d":return re*Ae;case"hours":case"hour":case"hrs":case"hr":case"h":return re*Ee;case"minutes":case"minute":case"mins":case"min":case"m":return re*ce;case"seconds":case"second":case"secs":case"sec":case"s":return re*ge;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return re;default:return}}}}function xe(ee){var ae=Math.abs(ee);return ae>=Ae?Math.round(ee/Ae)+"d":ae>=Ee?Math.round(ee/Ee)+"h":ae>=ce?Math.round(ee/ce)+"m":ae>=ge?Math.round(ee/ge)+"s":ee+"ms"}function fe(ee){var ae=Math.abs(ee);return ae>=Ae?z(ee,ae,Ae,"day"):ae>=Ee?z(ee,ae,Ee,"hour"):ae>=ce?z(ee,ae,ce,"minute"):ae>=ge?z(ee,ae,ge,"second"):ee+" ms"}function z(ee,ae,re,le){var ue=ae>=re*1.5;return Math.round(ee/re)+" "+le+(ue?"s":"")}},{}],377:[function(oe,Ze,Ne){"use strict";var ge=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable;function Ae(De){if(De==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(De)}function ye(){try{if(!Object.assign)return!1;var De=new String("abc");if(De[5]="de",Object.getOwnPropertyNames(De)[0]==="5")return!1;for(var me={},xe=0;xe<10;xe++)me["_"+String.fromCharCode(xe)]=xe;var fe=Object.getOwnPropertyNames(me).map(function(ee){return me[ee]});if(fe.join("")!=="0123456789")return!1;var z={};return"abcdefghijklmnopqrst".split("").forEach(function(ee){z[ee]=ee}),Object.keys(Object.assign({},z)).join("")==="abcdefghijklmnopqrst"}catch(ee){return!1}}Ze.exports=ye()?Object.assign:function(De,me){for(var xe,fe=Ae(De),z,ee=1;ee<arguments.length;ee++){xe=Object(arguments[ee]);for(var ae in xe)ce.call(xe,ae)&&(fe[ae]=xe[ae]);if(ge){z=ge(xe);for(var re=0;re<z.length;re++)Ee.call(xe,z[re])&&(fe[z[re]]=xe[z[re]])}}return fe}},{}],378:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";function ce(De){if(typeof De!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(De))}function Ee(De,me){for(var xe="",fe=0,z=-1,ee=0,ae,re=0;re<=De.length;++re){if(re<De.length)ae=De.charCodeAt(re);else{if(ae===47)break;ae=47}if(ae===47){if(!(z===re-1||ee===1))if(z!==re-1&&ee===2){if(xe.length<2||fe!==2||xe.charCodeAt(xe.length-1)!==46||xe.charCodeAt(xe.length-2)!==46){if(xe.length>2){var le=xe.lastIndexOf("/");if(le!==xe.length-1){le===-1?(xe="",fe=0):(xe=xe.slice(0,le),fe=xe.length-1-xe.lastIndexOf("/")),z=re,ee=0;continue}}else if(xe.length===2||xe.length===1){xe="",fe=0,z=re,ee=0;continue}}me&&(xe.length>0?xe+="/..":xe="..",fe=2)}else xe.length>0?xe+="/"+De.slice(z+1,re):xe=De.slice(z+1,re),fe=re-z-1;z=re,ee=0}else ae===46&&ee!==-1?++ee:ee=-1}return xe}function Ae(De,me){var xe=me.dir||me.root,fe=me.base||(me.name||"")+(me.ext||"");return xe?xe===me.root?xe+fe:xe+De+fe:fe}var ye={resolve:function(){for(var me="",xe=!1,fe,z=arguments.length-1;z>=-1&&!xe;z--){var ee;z>=0?ee=arguments[z]:(fe===void 0&&(fe=ge.cwd()),ee=fe),ce(ee),ee.length!==0&&(me=ee+"/"+me,xe=ee.charCodeAt(0)===47)}return me=Ee(me,!xe),xe?me.length>0?"/"+me:"/":me.length>0?me:"."},normalize:function(me){if(ce(me),me.length===0)return".";var xe=me.charCodeAt(0)===47,fe=me.charCodeAt(me.length-1)===47;return me=Ee(me,!xe),me.length===0&&!xe&&(me="."),me.length>0&&fe&&(me+="/"),xe?"/"+me:me},isAbsolute:function(me){return ce(me),me.length>0&&me.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var me,xe=0;xe<arguments.length;++xe){var fe=arguments[xe];ce(fe),fe.length>0&&(me===void 0?me=fe:me+="/"+fe)}return me===void 0?".":ye.normalize(me)},relative:function(me,xe){if(ce(me),ce(xe),me===xe||(me=ye.resolve(me),xe=ye.resolve(xe),me===xe))return"";for(var fe=1;fe<me.length&&me.charCodeAt(fe)===47;++fe);for(var z=me.length,ee=z-fe,ae=1;ae<xe.length&&xe.charCodeAt(ae)===47;++ae);for(var re=xe.length,le=re-ae,ue=ee<le?ee:le,pe=-1,Pe=0;Pe<=ue;++Pe){if(Pe===ue){if(le>ue){if(xe.charCodeAt(ae+Pe)===47)return xe.slice(ae+Pe+1);if(Pe===0)return xe.slice(ae+Pe)}else ee>ue&&(me.charCodeAt(fe+Pe)===47?pe=Pe:Pe===0&&(pe=0));break}var be=me.charCodeAt(fe+Pe),Ie=xe.charCodeAt(ae+Pe);if(be!==Ie)break;be===47&&(pe=Pe)}var Me="";for(Pe=fe+pe+1;Pe<=z;++Pe)(Pe===z||me.charCodeAt(Pe)===47)&&(Me.length===0?Me+="..":Me+="/..");return Me.length>0?Me+xe.slice(ae+pe):(ae+=pe,xe.charCodeAt(ae)===47&&++ae,xe.slice(ae))},_makeLong:function(me){return me},dirname:function(me){if(ce(me),me.length===0)return".";for(var xe=me.charCodeAt(0),fe=xe===47,z=-1,ee=!0,ae=me.length-1;ae>=1;--ae)if(xe=me.charCodeAt(ae),xe===47){if(!ee){z=ae;break}}else ee=!1;return z===-1?fe?"/":".":fe&&z===1?"//":me.slice(0,z)},basename:function(me,xe){if(xe!==void 0&&typeof xe!="string")throw new TypeError('"ext" argument must be a string');ce(me);var fe=0,z=-1,ee=!0,ae;if(xe!==void 0&&xe.length>0&&xe.length<=me.length){if(xe.length===me.length&&xe===me)return"";var re=xe.length-1,le=-1;for(ae=me.length-1;ae>=0;--ae){var ue=me.charCodeAt(ae);if(ue===47){if(!ee){fe=ae+1;break}}else le===-1&&(ee=!1,le=ae+1),re>=0&&(ue===xe.charCodeAt(re)?--re===-1&&(z=ae):(re=-1,z=le))}return fe===z?z=le:z===-1&&(z=me.length),me.slice(fe,z)}else{for(ae=me.length-1;ae>=0;--ae)if(me.charCodeAt(ae)===47){if(!ee){fe=ae+1;break}}else z===-1&&(ee=!1,z=ae+1);return z===-1?"":me.slice(fe,z)}},extname:function(me){ce(me);for(var xe=-1,fe=0,z=-1,ee=!0,ae=0,re=me.length-1;re>=0;--re){var le=me.charCodeAt(re);if(le===47){if(!ee){fe=re+1;break}continue}z===-1&&(ee=!1,z=re+1),le===46?xe===-1?xe=re:ae!==1&&(ae=1):xe!==-1&&(ae=-1)}return xe===-1||z===-1||ae===0||ae===1&&xe===z-1&&xe===fe+1?"":me.slice(xe,z)},format:function(me){if(me===null||typeof me!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof me);return Ae("/",me)},parse:function(me){ce(me);var xe={root:"",dir:"",base:"",ext:"",name:""};if(me.length===0)return xe;var fe=me.charCodeAt(0),z=fe===47,ee;z?(xe.root="/",ee=1):ee=0;for(var ae=-1,re=0,le=-1,ue=!0,pe=me.length-1,Pe=0;pe>=ee;--pe){if(fe=me.charCodeAt(pe),fe===47){if(!ue){re=pe+1;break}continue}le===-1&&(ue=!1,le=pe+1),fe===46?ae===-1?ae=pe:Pe!==1&&(Pe=1):ae!==-1&&(Pe=-1)}return ae===-1||le===-1||Pe===0||Pe===1&&ae===le-1&&ae===re+1?le!==-1&&(re===0&&z?xe.base=xe.name=me.slice(1,le):xe.base=xe.name=me.slice(re,le)):(re===0&&z?(xe.name=me.slice(1,ae),xe.base=me.slice(1,le)):(xe.name=me.slice(re,ae),xe.base=me.slice(re,le)),xe.ext=me.slice(ae,le)),re>0?xe.dir=me.slice(0,re-1):z&&(xe.dir="/"),xe},sep:"/",delimiter:":",win32:null,posix:null};ye.posix=ye,Ze.exports=ye}).call(this)}).call(this,oe("_process"))},{_process:467}],379:[function(oe,Ze,Ne){(function(ge){(function(){(function(){"use strict";var ce={function:!0,object:!0},Ee=ce[typeof window]&&window||this,Ae=Ee,ye=ce[typeof Ne]&&Ne,De=ce[typeof Ze]&&Ze&&!Ze.nodeType&&Ze,me=ye&&De&&typeof ge=="object"&&ge;me&&(me.global===me||me.window===me||me.self===me)&&(Ee=me);var xe=Math.pow(2,53)-1,fe=/\bOpera/,z=this,ee=Object.prototype,ae=ee.hasOwnProperty,re=ee.toString;function le(Ue){return Ue=String(Ue),Ue.charAt(0).toUpperCase()+Ue.slice(1)}function ue(Ue,qe,et){var lt={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return qe&&et&&/^Win/i.test(Ue)&&!/^Windows Phone /i.test(Ue)&&(lt=lt[/[\d.]+$/.exec(Ue)])&&(Ue="Windows "+lt),Ue=String(Ue),qe&&et&&(Ue=Ue.replace(RegExp(qe,"i"),et)),Ue=Pe(Ue.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]),Ue}function pe(Ue,qe){var et=-1,lt=Ue?Ue.length:0;if(typeof lt=="number"&&lt>-1&&lt<=xe)for(;++et<lt;)qe(Ue[et],et,Ue);else be(Ue,qe)}function Pe(Ue){return Ue=je(Ue),/^(?:webOS|i(?:OS|P))/.test(Ue)?Ue:le(Ue)}function be(Ue,qe){for(var et in Ue)ae.call(Ue,et)&&qe(Ue[et],et,Ue)}function Ie(Ue){return Ue==null?le(Ue):re.call(Ue).slice(8,-1)}function Me(Ue,qe){var et=Ue!=null?typeof Ue[qe]:"number";return!/^(?:boolean|number|string|undefined)$/.test(et)&&(et=="object"?!!Ue[qe]:!0)}function Oe(Ue){return String(Ue).replace(/([ -])(?!$)/g,"$1?")}function Te(Ue,qe){var et=null;return pe(Ue,function(lt,ut){et=qe(et,lt,ut,Ue)}),et}function je(Ue){return String(Ue).replace(/^ +| +$/g,"")}function ze(Ue){var qe=Ee,et=Ue&&typeof Ue=="object"&&Ie(Ue)!="String";et&&(qe=Ue,Ue=null);var lt=qe.navigator||{},ut=lt.userAgent||"";Ue||(Ue=ut);var vt=et||z==Ae,tt=et?!!lt.likeChrome:/\bChrome\b/.test(Ue)&&!/internal|\n/i.test(re.toString()),at="Object",dt=et?at:"ScriptBridgingProxyObject",St=et?at:"Environment",xt=et&&qe.java?"JavaPackage":Ie(qe.java),ft=et?at:"RuntimeObject",pt=/\bJava/.test(xt)&&qe.java,yt=pt&&Ie(qe.environment)==St,Tt=pt?"a":"\u03B1",At=pt?"b":"\u03B2",Gt=qe.document||{},wt=qe.operamini||qe.opera,bt=fe.test(bt=et&&wt?wt["[[Class]]"]:Ie(wt))?bt:wt=null,it,_e=Ue,we=[],Ce=null,Ye=Ue==ut,Je=Ye&&wt&&typeof wt.version=="function"&&wt.version(),Le,Ge=Et([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),Ke=Ft(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"(?:Edge|Edg|EdgA|EdgiOS)"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Vivaldi","Waterfox","WebPositive",{label:"Yandex Browser",pattern:"YaBrowser"},{label:"UC Browser",pattern:"UCBrowser"},"Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chromium","Chrome",{label:"Chrome",pattern:"(?:HeadlessChrome)"},{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),Xe=jt([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),Qe=mt({Apple:{iPad:1,iPhone:1,iPod:1},Alcatel:{},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},Huawei:{},Lenovo:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Oppo:{},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1},Xiaomi:{Mi:1,Redmi:1}}),ht=Kt(["Windows Phone","KaiOS","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian",{label:"DragonFly BSD",pattern:"DragonFly"},"Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function Et(Bt){return Te(Bt,function(_t,en){return _t||RegExp("\\b"+(en.pattern||Oe(en))+"\\b","i").exec(Ue)&&(en.label||en)})}function mt(Bt){return Te(Bt,function(_t,en,on){return _t||(en[Xe]||en[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Xe)]||RegExp("\\b"+Oe(on)+"(?:\\b|\\w*\\d)","i").exec(Ue))&&on})}function Ft(Bt){return Te(Bt,function(_t,en){return _t||RegExp("\\b"+(en.pattern||Oe(en))+"\\b","i").exec(Ue)&&(en.label||en)})}function Kt(Bt){return Te(Bt,function(_t,en){var on=en.pattern||Oe(en);return!_t&&(_t=RegExp("\\b"+on+"(?:/[\\d.]+|[ \\w.]*)","i").exec(Ue))&&(_t=ue(_t,on,en.label||en)),_t})}function jt(Bt){return Te(Bt,function(_t,en){var on=en.pattern||Oe(en);return!_t&&(_t=RegExp("\\b"+on+" *\\d+[.\\w_]*","i").exec(Ue)||RegExp("\\b"+on+" *\\w+-[\\w]*","i").exec(Ue)||RegExp("\\b"+on+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(Ue))&&((_t=String(en.label&&!RegExp(on,"i").test(en.label)?en.label:_t).split("/"))[1]&&!/[\d.]+/.test(_t[0])&&(_t[0]+=" "+_t[1]),en=en.label||en,_t=Pe(_t[0].replace(RegExp(on,"i"),en).replace(RegExp("; *(?:"+en+"[_-])?","i")," ").replace(RegExp("("+en+")[-_.]?(\\w)","i"),"$1 $2"))),_t})}function Wt(Bt){return Te(Bt,function(_t,en){return _t||(RegExp(en+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(Ue)||0)[1]||null})}function Vt(){return this.description||""}if(Ge&&(Ge=[Ge]),/\bAndroid\b/.test(ht)&&!Xe&&(it=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(Ue))&&(Xe=je(it[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),Qe&&!Xe?Xe=jt([Qe]):Qe&&Xe&&(Xe=Xe.replace(RegExp("^("+Oe(Qe)+")[-_.\\s]","i"),Qe+" ").replace(RegExp("^("+Oe(Qe)+")[-_.]?(\\w)","i"),Qe+" $2")),(it=/\bGoogle TV\b/.exec(Xe))&&(Xe=it[0]),/\bSimulator\b/i.test(Ue)&&(Xe=(Xe?Xe+" ":"")+"Simulator"),Ke=="Opera Mini"&&/\bOPiOS\b/.test(Ue)&&we.push("running in Turbo/Uncompressed mode"),Ke=="IE"&&/\blike iPhone OS\b/.test(Ue)?(it=ze(Ue.replace(/like iPhone OS/,"")),Qe=it.manufacturer,Xe=it.product):/^iP/.test(Xe)?(Ke||(Ke="Safari"),ht="iOS"+((it=/ OS ([\d_]+)/i.exec(Ue))?" "+it[1].replace(/_/g,"."):"")):Ke=="Konqueror"&&/^Linux\b/i.test(ht)?ht="Kubuntu":Qe&&Qe!="Google"&&(/Chrome/.test(Ke)&&!/\bMobile Safari\b/i.test(Ue)||/\bVita\b/.test(Xe))||/\bAndroid\b/.test(ht)&&/^Chrome/.test(Ke)&&/\bVersion\//i.test(Ue)?(Ke="Android Browser",ht=/\bAndroid\b/.test(ht)?ht:"Android"):Ke=="Silk"?(/\bMobi/i.test(Ue)||(ht="Android",we.unshift("desktop mode")),/Accelerated *= *true/i.test(Ue)&&we.unshift("accelerated")):Ke=="UC Browser"&&/\bUCWEB\b/.test(Ue)?we.push("speed mode"):Ke=="PaleMoon"&&(it=/\bFirefox\/([\d.]+)\b/.exec(Ue))?we.push("identifying as Firefox "+it[1]):Ke=="Firefox"&&(it=/\b(Mobile|Tablet|TV)\b/i.exec(Ue))?(ht||(ht="Firefox OS"),Xe||(Xe=it[1])):!Ke||(it=!/\bMinefield\b/i.test(Ue)&&/\b(?:Firefox|Safari)\b/.exec(Ke))?(Ke&&!Xe&&/[\/,]|^[^(]+?\)/.test(Ue.slice(Ue.indexOf(it+"/")+8))&&(Ke=null),(it=Xe||Qe||ht)&&(Xe||Qe||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(ht))&&(Ke=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(ht)?ht:it)+" Browser")):Ke=="Electron"&&(it=(/\bChrome\/([\d.]+)\b/.exec(Ue)||0)[1])&&we.push("Chromium "+it),Je||(Je=Wt(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",Oe(Ke),"(?:Firefox|Minefield|NetFront)"])),(it=Ge=="iCab"&&parseFloat(Je)>3&&"WebKit"||/\bOpera\b/.test(Ke)&&(/\bOPR\b/.test(Ue)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(Ue)&&!/^(?:Trident|EdgeHTML)$/.test(Ge)&&"WebKit"||!Ge&&/\bMSIE\b/i.test(Ue)&&(ht=="Mac OS"?"Tasman":"Trident")||Ge=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(Ke)&&"NetFront")&&(Ge=[it]),Ke=="IE"&&(it=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(Ue)||0)[1])?(Ke+=" Mobile",ht="Windows Phone "+(/\+$/.test(it)?it:it+".x"),we.unshift("desktop mode")):/\bWPDesktop\b/i.test(Ue)?(Ke="IE Mobile",ht="Windows Phone 8.x",we.unshift("desktop mode"),Je||(Je=(/\brv:([\d.]+)/.exec(Ue)||0)[1])):Ke!="IE"&&Ge=="Trident"&&(it=/\brv:([\d.]+)/.exec(Ue))&&(Ke&&we.push("identifying as "+Ke+(Je?" "+Je:"")),Ke="IE",Je=it[1]),Ye){if(Me(qe,"global"))if(pt&&(it=pt.lang.System,_e=it.getProperty("os.arch"),ht=ht||it.getProperty("os.name")+" "+it.getProperty("os.version")),yt){try{Je=qe.require("ringo/engine").version.join("."),Ke="RingoJS"}catch(Bt){(it=qe.system)&&it.global.system==qe.system&&(Ke="Narwhal",ht||(ht=it[0].os||null))}Ke||(Ke="Rhino")}else typeof qe.process=="object"&&!qe.process.browser&&(it=qe.process)&&(typeof it.versions=="object"&&(typeof it.versions.electron=="string"?(we.push("Node "+it.versions.node),Ke="Electron",Je=it.versions.electron):typeof it.versions.nw=="string"&&(we.push("Chromium "+Je,"Node "+it.versions.node),Ke="NW.js",Je=it.versions.nw)),Ke||(Ke="Node.js",_e=it.arch,ht=it.platform,Je=/[\d.]+/.exec(it.version),Je=Je?Je[0]:null));else Ie(it=qe.runtime)==dt?(Ke="Adobe AIR",ht=it.flash.system.Capabilities.os):Ie(it=qe.phantom)==ft?(Ke="PhantomJS",Je=(it=it.version||null)&&it.major+"."+it.minor+"."+it.patch):typeof Gt.documentMode=="number"&&(it=/\bTrident\/(\d+)/i.exec(Ue))?(Je=[Je,Gt.documentMode],(it=+it[1]+4)!=Je[1]&&(we.push("IE "+Je[1]+" mode"),Ge&&(Ge[1]=""),Je[1]=it),Je=Ke=="IE"?String(Je[1].toFixed(1)):Je[0]):typeof Gt.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(Ke)&&(we.push("masking as "+Ke+" "+Je),Ke="IE",Je="11.0",Ge=["Trident"],ht="Windows");ht=ht&&Pe(ht)}if(Je&&(it=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Je)||/(?:alpha|beta)(?: ?\d)?/i.exec(Ue+";"+(Ye&&lt.appMinorVersion))||/\bMinefield\b/i.test(Ue)&&"a")&&(Ce=/b/i.test(it)?"beta":"alpha",Je=Je.replace(RegExp(it+"\\+?$"),"")+(Ce=="beta"?At:Tt)+(/\d+\+?/.exec(it)||"")),Ke=="Fennec"||Ke=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(ht))Ke="Firefox Mobile";else if(Ke=="Maxthon"&&Je)Je=Je.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Xe))Xe=="Xbox 360"&&(ht=null),Xe=="Xbox 360"&&/\bIEMobile\b/.test(Ue)&&we.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(Ke)||Ke&&!Xe&&!/Browser|Mobi/.test(Ke))&&(ht=="Windows CE"||/Mobi/i.test(Ue)))Ke+=" Mobile";else if(Ke=="IE"&&Ye)try{qe.external===null&&we.unshift("platform preview")}catch(Bt){we.unshift("embedded")}else(/\bBlackBerry\b/.test(Xe)||/\bBB10\b/.test(Ue))&&(it=(RegExp(Xe.replace(/ +/g," *")+"/([.\\d]+)","i").exec(Ue)||0)[1]||Je)?(it=[it,/BB10/.test(Ue)],ht=(it[1]?(Xe=null,Qe="BlackBerry"):"Device Software")+" "+it[0],Je=null):this!=be&&Xe!="Wii"&&(Ye&&wt||/Opera/.test(Ke)&&/\b(?:MSIE|Firefox)\b/i.test(Ue)||Ke=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(ht)||Ke=="IE"&&(ht&&!/^Win/.test(ht)&&Je>5.5||/\bWindows XP\b/.test(ht)&&Je>8||Je==8&&!/\bTrident\b/.test(Ue)))&&!fe.test(it=ze.call(be,Ue.replace(fe,"")+";"))&&it.name&&(it="ing as "+it.name+((it=it.version)?" "+it:""),fe.test(Ke)?(/\bIE\b/.test(it)&&ht=="Mac OS"&&(ht=null),it="identify"+it):(it="mask"+it,bt?Ke=Pe(bt.replace(/([a-z])([A-Z])/g,"$1 $2")):Ke="Opera",/\bIE\b/.test(it)&&(ht=null),Ye||(Je=null)),Ge=["Presto"],we.push(it));(it=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(Ue)||0)[1])&&(it=[parseFloat(it.replace(/\.(\d)$/,".0$1")),it],Ke=="Safari"&&it[1].slice(-1)=="+"?(Ke="WebKit Nightly",Ce="alpha",Je=it[1].slice(0,-1)):(Je==it[1]||Je==(it[2]=(/\bSafari\/([\d.]+\+?)/i.exec(Ue)||0)[1]))&&(Je=null),it[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(Ue)||0)[1],it[0]==537.36&&it[2]==537.36&&parseFloat(it[1])>=28&&Ge=="WebKit"&&(Ge=["Blink"]),!Ye||!tt&&!it[1]?(Ge&&(Ge[1]="like Safari"),it=(it=it[0],it<400?1:it<500?2:it<526?3:it<533?4:it<534?"4+":it<535?5:it<537?6:it<538?7:it<601?8:it<602?9:it<604?10:it<606?11:it<608?12:"12")):(Ge&&(Ge[1]="like Chrome"),it=it[1]||(it=it[0],it<530?1:it<532?2:it<532.05?3:it<533?4:it<534.03?5:it<534.07?6:it<534.1?7:it<534.13?8:it<534.16?9:it<534.24?10:it<534.3?11:it<535.01?12:it<535.02?"13+":it<535.07?15:it<535.11?16:it<535.19?17:it<536.05?18:it<536.1?19:it<537.01?20:it<537.11?"21+":it<537.13?23:it<537.18?24:it<537.24?25:it<537.36?26:Ge!="Blink"?"27":"28")),Ge&&(Ge[1]+=" "+(it+=typeof it=="number"?".x":/[.+]/.test(it)?"":"+")),Ke=="Safari"&&(!Je||parseInt(Je)>45)?Je=it:Ke=="Chrome"&&/\bHeadlessChrome/i.test(Ue)&&we.unshift("headless")),Ke=="Opera"&&(it=/\bzbov|zvav$/.exec(ht))?(Ke+=" ",we.unshift("desktop mode"),it=="zvav"?(Ke+="Mini",Je=null):Ke+="Mobile",ht=ht.replace(RegExp(" *"+it+"$"),"")):Ke=="Safari"&&/\bChrome\b/.exec(Ge&&Ge[1])?(we.unshift("desktop mode"),Ke="Chrome Mobile",Je=null,/\bOS X\b/.test(ht)?(Qe="Apple",ht="iOS 4.3+"):ht=null):/\bSRWare Iron\b/.test(Ke)&&!Je&&(Je=Wt("Chrome")),Je&&Je.indexOf(it=/[\d.]+$/.exec(ht))==0&&Ue.indexOf("/"+it+"-")>-1&&(ht=je(ht.replace(it,""))),ht&&ht.indexOf(Ke)!=-1&&!RegExp(Ke+" OS").test(ht)&&(ht=ht.replace(RegExp(" *"+Oe(Ke)+" *"),"")),Ge&&!/\b(?:Avant|Nook)\b/.test(Ke)&&(/Browser|Lunascape|Maxthon/.test(Ke)||Ke!="Safari"&&/^iOS/.test(ht)&&/\bSafari\b/.test(Ge[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(Ke)&&Ge[1])&&(it=Ge[Ge.length-1])&&we.push(it),we.length&&(we=["("+we.join("; ")+")"]),Qe&&Xe&&Xe.indexOf(Qe)<0&&we.push("on "+Qe),Xe&&we.push((/^on /.test(we[we.length-1])?"":"on ")+Xe),ht&&(it=/ ([\d.+]+)$/.exec(ht),Le=it&&ht.charAt(ht.length-it[0].length-1)=="/",ht={architecture:32,family:it&&!Le?ht.replace(it[0],""):ht,version:it?it[1]:null,toString:function(){var Bt=this.version;return this.family+(Bt&&!Le?" "+Bt:"")+(this.architecture==64?" 64-bit":"")}}),(it=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(_e))&&!/\bi686\b/i.test(_e)?(ht&&(ht.architecture=64,ht.family=ht.family.replace(RegExp(" *"+it),"")),Ke&&(/\bWOW64\b/i.test(Ue)||Ye&&/\w(?:86|32)$/.test(lt.cpuClass||lt.platform)&&!/\bWin64; x64\b/i.test(Ue))&&we.unshift("32-bit")):ht&&/^OS X/.test(ht.family)&&Ke=="Chrome"&&parseFloat(Je)>=39&&(ht.architecture=64),Ue||(Ue=null);var nn={};return nn.description=Ue,nn.layout=Ge&&Ge[0],nn.manufacturer=Qe,nn.name=Ke,nn.prerelease=Ce,nn.product=Xe,nn.ua=Ue,nn.version=Ke&&Je,nn.os=ht||{architecture:null,family:null,version:null,toString:function(){return"null"}},nn.parse=ze,nn.toString=Vt,nn.version&&we.unshift(Je),nn.name&&we.unshift(Ke),ht&&Ke&&!(ht==String(ht).split(" ")[0]&&(ht==Ke.split(" ")[0]||Xe))&&we.push(Xe?"("+ht+")":"on "+ht),we.length&&(nn.description=we.join(" ")),nn}var $e=ze();typeof We=="function"&&typeof We.amd=="object"&&We.amd?(Ee.platform=$e,We(function(){return $e})):ye&&De?be($e,function(Ue,qe){ye[qe]=Ue}):Ee.platform=$e}).call(this)}).call(this)}).call(this,typeof fn!="undefined"?fn:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";typeof ge=="undefined"||!ge.version||ge.version.indexOf("v0.")===0||ge.version.indexOf("v1.")===0&&ge.version.indexOf("v1.8.")!==0?Ze.exports={nextTick:ce}:Ze.exports=ge;function ce(Ee,Ae,ye,De){if(typeof Ee!="function")throw new TypeError('"callback" argument must be a function');var me=arguments.length,xe,fe;switch(me){case 0:case 1:return ge.nextTick(Ee);case 2:return ge.nextTick(function(){Ee.call(null,Ae)});case 3:return ge.nextTick(function(){Ee.call(null,Ae,ye)});case 4:return ge.nextTick(function(){Ee.call(null,Ae,ye,De)});default:for(xe=new Array(me-1),fe=0;fe<xe.length;)xe[fe++]=arguments[fe];return ge.nextTick(function(){Ee.apply(null,xe)})}}}).call(this)}).call(this,oe("_process"))},{_process:467}],381:[function(oe,Ze,Ne){var ge=Ze.exports={},ce,Ee;function Ae(){throw new Error("setTimeout has not been defined")}function ye(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ce=setTimeout:ce=Ae}catch(pe){ce=Ae}try{typeof clearTimeout=="function"?Ee=clearTimeout:Ee=ye}catch(pe){Ee=ye}})();function De(pe){if(ce===setTimeout)return setTimeout(pe,0);if((ce===Ae||!ce)&&setTimeout)return ce=setTimeout,setTimeout(pe,0);try{return ce(pe,0)}catch(Pe){try{return ce.call(null,pe,0)}catch(be){return ce.call(this,pe,0)}}}function me(pe){if(Ee===clearTimeout)return clearTimeout(pe);if((Ee===ye||!Ee)&&clearTimeout)return Ee=clearTimeout,clearTimeout(pe);try{return Ee(pe)}catch(Pe){try{return Ee.call(null,pe)}catch(be){return Ee.call(this,pe)}}}var xe=[],fe=!1,z,ee=-1;function ae(){!fe||!z||(fe=!1,z.length?xe=z.concat(xe):ee=-1,xe.length&&re())}function re(){if(!fe){var pe=De(ae);fe=!0;for(var Pe=xe.length;Pe;){for(z=xe,xe=[];++ee<Pe;)z&&z[ee].run();ee=-1,Pe=xe.length}z=null,fe=!1,me(pe)}}ge.nextTick=function(pe){var Pe=new Array(arguments.length-1);if(arguments.length>1)for(var be=1;be<arguments.length;be++)Pe[be-1]=arguments[be];xe.push(new le(pe,Pe)),xe.length===1&&!fe&&De(re)};function le(pe,Pe){this.fun=pe,this.array=Pe}le.prototype.run=function(){this.fun.apply(null,this.array)},ge.title="browser",ge.browser=!0,ge.env={},ge.argv=[],ge.version="",ge.versions={};function ue(){}ge.on=ue,ge.addListener=ue,ge.once=ue,ge.off=ue,ge.removeListener=ue,ge.removeAllListeners=ue,ge.emit=ue,ge.prependListener=ue,ge.prependOnceListener=ue,ge.listeners=function(pe){return[]},ge.binding=function(pe){throw new Error("process.binding is not supported")},ge.cwd=function(){return"/"},ge.chdir=function(pe){throw new Error("process.chdir is not supported")},ge.umask=function(){return 0}},{}],382:[function(oe,Ze,Ne){(function(ge){(function(){(function(ce){var Ee=typeof Ne=="object"&&Ne&&!Ne.nodeType&&Ne,Ae=typeof Ze=="object"&&Ze&&!Ze.nodeType&&Ze,ye=typeof ge=="object"&&ge;(ye.global===ye||ye.window===ye||ye.self===ye)&&(ce=ye);var De,me=2147483647,xe=36,fe=1,z=26,ee=38,ae=700,re=72,le=128,ue="-",pe=/^xn--/,Pe=/[^\x20-\x7E]/,be=/[\x2E\u3002\uFF0E\uFF61]/g,Ie={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Me=xe-fe,Oe=Math.floor,Te=String.fromCharCode,je;function ze(xt){throw new RangeError(Ie[xt])}function $e(xt,ft){for(var pt=xt.length,yt=[];pt--;)yt[pt]=ft(xt[pt]);return yt}function Ue(xt,ft){var pt=xt.split("@"),yt="";pt.length>1&&(yt=pt[0]+"@",xt=pt[1]),xt=xt.replace(be,".");var Tt=xt.split("."),At=$e(Tt,ft).join(".");return yt+At}function qe(xt){for(var ft=[],pt=0,yt=xt.length,Tt,At;pt<yt;)Tt=xt.charCodeAt(pt++),Tt>=55296&&Tt<=56319&&pt<yt?(At=xt.charCodeAt(pt++),(At&64512)==56320?ft.push(((Tt&1023)<<10)+(At&1023)+65536):(ft.push(Tt),pt--)):ft.push(Tt);return ft}function et(xt){return $e(xt,function(ft){var pt="";return ft>65535&&(ft-=65536,pt+=Te(ft>>>10&1023|55296),ft=56320|ft&1023),pt+=Te(ft),pt}).join("")}function lt(xt){return xt-48<10?xt-22:xt-65<26?xt-65:xt-97<26?xt-97:xe}function ut(xt,ft){return xt+22+75*(xt<26)-((ft!=0)<<5)}function vt(xt,ft,pt){var yt=0;for(xt=pt?Oe(xt/ae):xt>>1,xt+=Oe(xt/ft);xt>Me*z>>1;yt+=xe)xt=Oe(xt/Me);return Oe(yt+(Me+1)*xt/(xt+ee))}function tt(xt){var ft=[],pt=xt.length,yt,Tt=0,At=le,Gt=re,wt,bt,it,_e,we,Ce,Ye,Je,Le;for(wt=xt.lastIndexOf(ue),wt<0&&(wt=0),bt=0;bt<wt;++bt)xt.charCodeAt(bt)>=128&&ze("not-basic"),ft.push(xt.charCodeAt(bt));for(it=wt>0?wt+1:0;it<pt;){for(_e=Tt,we=1,Ce=xe;it>=pt&&ze("invalid-input"),Ye=lt(xt.charCodeAt(it++)),(Ye>=xe||Ye>Oe((me-Tt)/we))&&ze("overflow"),Tt+=Ye*we,Je=Ce<=Gt?fe:Ce>=Gt+z?z:Ce-Gt,!(Ye<Je);Ce+=xe)Le=xe-Je,we>Oe(me/Le)&&ze("overflow"),we*=Le;yt=ft.length+1,Gt=vt(Tt-_e,yt,_e==0),Oe(Tt/yt)>me-At&&ze("overflow"),At+=Oe(Tt/yt),Tt%=yt,ft.splice(Tt++,0,At)}return et(ft)}function at(xt){var ft,pt,yt,Tt,At,Gt,wt,bt,it,_e,we,Ce=[],Ye,Je,Le,Ge;for(xt=qe(xt),Ye=xt.length,ft=le,pt=0,At=re,Gt=0;Gt<Ye;++Gt)we=xt[Gt],we<128&&Ce.push(Te(we));for(yt=Tt=Ce.length,Tt&&Ce.push(ue);yt<Ye;){for(wt=me,Gt=0;Gt<Ye;++Gt)we=xt[Gt],we>=ft&&we<wt&&(wt=we);for(Je=yt+1,wt-ft>Oe((me-pt)/Je)&&ze("overflow"),pt+=(wt-ft)*Je,ft=wt,Gt=0;Gt<Ye;++Gt)if(we=xt[Gt],we<ft&&++pt>me&&ze("overflow"),we==ft){for(bt=pt,it=xe;_e=it<=At?fe:it>=At+z?z:it-At,!(bt<_e);it+=xe)Ge=bt-_e,Le=xe-_e,Ce.push(Te(ut(_e+Ge%Le,0))),bt=Oe(Ge/Le);Ce.push(Te(ut(bt,0))),At=vt(pt,Je,yt==Tt),pt=0,++yt}++pt,++ft}return Ce.join("")}function dt(xt){return Ue(xt,function(ft){return pe.test(ft)?tt(ft.slice(4).toLowerCase()):ft})}function St(xt){return Ue(xt,function(ft){return Pe.test(ft)?"xn--"+at(ft):ft})}if(De={version:"1.4.1",ucs2:{decode:qe,encode:et},decode:tt,encode:at,toASCII:St,toUnicode:dt},typeof We=="function"&&typeof We.amd=="object"&&We.amd)We("punycode",function(){return De});else if(Ee&&Ae)if(Ze.exports==Ee)Ae.exports=De;else for(je in De)De.hasOwnProperty(je)&&(Ee[je]=De[je]);else ce.punycode=De})(this)}).call(this)}).call(this,typeof fn!="undefined"?fn:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],383:[function(oe,Ze,Ne){"use strict";function ge(Ee,Ae){return Object.prototype.hasOwnProperty.call(Ee,Ae)}Ze.exports=function(Ee,Ae,ye,De){Ae=Ae||"&",ye=ye||"=";var me={};if(typeof Ee!="string"||Ee.length===0)return me;var xe=/\+/g;Ee=Ee.split(Ae);var fe=1e3;De&&typeof De.maxKeys=="number"&&(fe=De.maxKeys);var z=Ee.length;fe>0&&z>fe&&(z=fe);for(var ee=0;ee<z;++ee){var ae=Ee[ee].replace(xe,"%20"),re=ae.indexOf(ye),le,ue,pe,Pe;re>=0?(le=ae.substr(0,re),ue=ae.substr(re+1)):(le=ae,ue=""),pe=decodeURIComponent(le),Pe=decodeURIComponent(ue),ge(me,pe)?ce(me[pe])?me[pe].push(Pe):me[pe]=[me[pe],Pe]:me[pe]=Pe}return me};var ce=Array.isArray||function(Ee){return Object.prototype.toString.call(Ee)==="[object Array]"}},{}],384:[function(oe,Ze,Ne){"use strict";var ge=function(ye){switch(typeof ye){case"string":return ye;case"boolean":return ye?"true":"false";case"number":return isFinite(ye)?ye:"";default:return""}};Ze.exports=function(ye,De,me,xe){return De=De||"&",me=me||"=",ye===null&&(ye=void 0),typeof ye=="object"?Ee(Ae(ye),function(fe){var z=encodeURIComponent(ge(fe))+me;return ce(ye[fe])?Ee(ye[fe],function(ee){return z+encodeURIComponent(ge(ee))}).join(De):z+encodeURIComponent(ge(ye[fe]))}).join(De):xe?encodeURIComponent(ge(xe))+me+encodeURIComponent(ge(ye)):""};var ce=Array.isArray||function(ye){return Object.prototype.toString.call(ye)==="[object Array]"};function Ee(ye,De){if(ye.map)return ye.map(De);for(var me=[],xe=0;xe<ye.length;xe++)me.push(De(ye[xe],xe));return me}var Ae=Object.keys||function(ye){var De=[];for(var me in ye)Object.prototype.hasOwnProperty.call(ye,me)&&De.push(me);return De}},{}],385:[function(oe,Ze,Ne){"use strict";Ne.decode=Ne.parse=oe("./decode"),Ne.encode=Ne.stringify=oe("./encode")},{"./decode":383,"./encode":384}],386:[function(oe,Ze,Ne){"use strict";var ge=oe("process-nextick-args"),ce=Object.keys||function(ae){var re=[];for(var le in ae)re.push(le);return re};Ze.exports=fe;var Ee=Object.create(oe("core-util-is"));Ee.inherits=oe("inherits");var Ae=oe("./_stream_readable"),ye=oe("./_stream_writable");Ee.inherits(fe,Ae);for(var De=ce(ye.prototype),me=0;me<De.length;me++){var xe=De[me];fe.prototype[xe]||(fe.prototype[xe]=ye.prototype[xe])}function fe(ae){if(!(this instanceof fe))return new fe(ae);Ae.call(this,ae),ye.call(this,ae),ae&&ae.readable===!1&&(this.readable=!1),ae&&ae.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,ae&&ae.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",z)}Object.defineProperty(fe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function z(){this.allowHalfOpen||this._writableState.ended||ge.nextTick(ee,this)}function ee(ae){ae.end()}Object.defineProperty(fe.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(ae){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=ae,this._writableState.destroyed=ae)}}),fe.prototype._destroy=function(ae,re){this.push(null),this.end(),ge.nextTick(re,ae)}},{"./_stream_readable":388,"./_stream_writable":390,"core-util-is":341,inherits:364,"process-nextick-args":380}],387:[function(oe,Ze,Ne){"use strict";Ze.exports=Ee;var ge=oe("./_stream_transform"),ce=Object.create(oe("core-util-is"));ce.inherits=oe("inherits"),ce.inherits(Ee,ge);function Ee(Ae){if(!(this instanceof Ee))return new Ee(Ae);ge.call(this,Ae)}Ee.prototype._transform=function(Ae,ye,De){De(null,Ae)}},{"./_stream_transform":389,"core-util-is":341,inherits:364}],388:[function(oe,Ze,Ne){(function(ge,ce){(function(){"use strict";var Ee=oe("process-nextick-args");Ze.exports=Te;var Ae=oe("isarray"),ye;Te.ReadableState=Oe;var De=oe("events").EventEmitter,me=function(we,Ce){return we.listeners(Ce).length},xe=oe("./internal/streams/stream"),fe=oe("safe-buffer").Buffer,z=ce.Uint8Array||function(){};function ee(we){return fe.from(we)}function ae(we){return fe.isBuffer(we)||we instanceof z}var re=Object.create(oe("core-util-is"));re.inherits=oe("inherits");var le=oe("util"),ue=void 0;le&&le.debuglog?ue=le.debuglog("stream"):ue=function(){};var pe=oe("./internal/streams/BufferList"),Pe=oe("./internal/streams/destroy"),be;re.inherits(Te,xe);var Ie=["error","close","destroy","pause","resume"];function Me(we,Ce,Ye){if(typeof we.prependListener=="function")return we.prependListener(Ce,Ye);!we._events||!we._events[Ce]?we.on(Ce,Ye):Ae(we._events[Ce])?we._events[Ce].unshift(Ye):we._events[Ce]=[Ye,we._events[Ce]]}function Oe(we,Ce){ye=ye||oe("./_stream_duplex"),we=we||{};var Ye=Ce instanceof ye;this.objectMode=!!we.objectMode,Ye&&(this.objectMode=this.objectMode||!!we.readableObjectMode);var Je=we.highWaterMark,Le=we.readableHighWaterMark,Ge=this.objectMode?16:16*1024;Je||Je===0?this.highWaterMark=Je:Ye&&(Le||Le===0)?this.highWaterMark=Le:this.highWaterMark=Ge,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new pe,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=we.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,we.encoding&&(be||(be=oe("string_decoder/").StringDecoder),this.decoder=new be(we.encoding),this.encoding=we.encoding)}function Te(we){if(ye=ye||oe("./_stream_duplex"),!(this instanceof Te))return new Te(we);this._readableState=new Oe(we,this),this.readable=!0,we&&(typeof we.read=="function"&&(this._read=we.read),typeof we.destroy=="function"&&(this._destroy=we.destroy)),xe.call(this)}Object.defineProperty(Te.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(we){this._readableState&&(this._readableState.destroyed=we)}}),Te.prototype.destroy=Pe.destroy,Te.prototype._undestroy=Pe.undestroy,Te.prototype._destroy=function(we,Ce){this.push(null),Ce(we)},Te.prototype.push=function(we,Ce){var Ye=this._readableState,Je;return Ye.objectMode?Je=!0:typeof we=="string"&&(Ce=Ce||Ye.defaultEncoding,Ce!==Ye.encoding&&(we=fe.from(we,Ce),Ce=""),Je=!0),je(this,we,Ce,!1,Je)},Te.prototype.unshift=function(we){return je(this,we,null,!0,!1)};function je(we,Ce,Ye,Je,Le){var Ge=we._readableState;if(Ce===null)Ge.reading=!1,ut(we,Ge);else{var Ke;Le||(Ke=$e(Ge,Ce)),Ke?we.emit("error",Ke):Ge.objectMode||Ce&&Ce.length>0?(typeof Ce!="string"&&!Ge.objectMode&&Object.getPrototypeOf(Ce)!==fe.prototype&&(Ce=ee(Ce)),Je?Ge.endEmitted?we.emit("error",new Error("stream.unshift() after end event")):ze(we,Ge,Ce,!0):Ge.ended?we.emit("error",new Error("stream.push() after EOF")):(Ge.reading=!1,Ge.decoder&&!Ye?(Ce=Ge.decoder.write(Ce),Ge.objectMode||Ce.length!==0?ze(we,Ge,Ce,!1):at(we,Ge)):ze(we,Ge,Ce,!1))):Je||(Ge.reading=!1)}return Ue(Ge)}function ze(we,Ce,Ye,Je){Ce.flowing&&Ce.length===0&&!Ce.sync?(we.emit("data",Ye),we.read(0)):(Ce.length+=Ce.objectMode?1:Ye.length,Je?Ce.buffer.unshift(Ye):Ce.buffer.push(Ye),Ce.needReadable&&vt(we)),at(we,Ce)}function $e(we,Ce){var Ye;return!ae(Ce)&&typeof Ce!="string"&&Ce!==void 0&&!we.objectMode&&(Ye=new TypeError("Invalid non-string/buffer chunk")),Ye}function Ue(we){return!we.ended&&(we.needReadable||we.length<we.highWaterMark||we.length===0)}Te.prototype.isPaused=function(){return this._readableState.flowing===!1},Te.prototype.setEncoding=function(we){return be||(be=oe("string_decoder/").StringDecoder),this._readableState.decoder=new be(we),this._readableState.encoding=we,this};var qe=8388608;function et(we){return we>=qe?we=qe:(we--,we|=we>>>1,we|=we>>>2,we|=we>>>4,we|=we>>>8,we|=we>>>16,we++),we}function lt(we,Ce){return we<=0||Ce.length===0&&Ce.ended?0:Ce.objectMode?1:we!==we?Ce.flowing&&Ce.length?Ce.buffer.head.data.length:Ce.length:(we>Ce.highWaterMark&&(Ce.highWaterMark=et(we)),we<=Ce.length?we:Ce.ended?Ce.length:(Ce.needReadable=!0,0))}Te.prototype.read=function(we){ue("read",we),we=parseInt(we,10);var Ce=this._readableState,Ye=we;if(we!==0&&(Ce.emittedReadable=!1),we===0&&Ce.needReadable&&(Ce.length>=Ce.highWaterMark||Ce.ended))return ue("read: emitReadable",Ce.length,Ce.ended),Ce.length===0&&Ce.ended?bt(this):vt(this),null;if(we=lt(we,Ce),we===0&&Ce.ended)return Ce.length===0&&bt(this),null;var Je=Ce.needReadable;ue("need readable",Je),(Ce.length===0||Ce.length-we<Ce.highWaterMark)&&(Je=!0,ue("length less than watermark",Je)),Ce.ended||Ce.reading?(Je=!1,ue("reading or ended",Je)):Je&&(ue("do read"),Ce.reading=!0,Ce.sync=!0,Ce.length===0&&(Ce.needReadable=!0),this._read(Ce.highWaterMark),Ce.sync=!1,Ce.reading||(we=lt(Ye,Ce)));var Le;return we>0?Le=Tt(we,Ce):Le=null,Le===null?(Ce.needReadable=!0,we=0):Ce.length-=we,Ce.length===0&&(Ce.ended||(Ce.needReadable=!0),Ye!==we&&Ce.ended&&bt(this)),Le!==null&&this.emit("data",Le),Le};function ut(we,Ce){if(!Ce.ended){if(Ce.decoder){var Ye=Ce.decoder.end();Ye&&Ye.length&&(Ce.buffer.push(Ye),Ce.length+=Ce.objectMode?1:Ye.length)}Ce.ended=!0,vt(we)}}function vt(we){var Ce=we._readableState;Ce.needReadable=!1,Ce.emittedReadable||(ue("emitReadable",Ce.flowing),Ce.emittedReadable=!0,Ce.sync?Ee.nextTick(tt,we):tt(we))}function tt(we){ue("emit readable"),we.emit("readable"),yt(we)}function at(we,Ce){Ce.readingMore||(Ce.readingMore=!0,Ee.nextTick(dt,we,Ce))}function dt(we,Ce){for(var Ye=Ce.length;!Ce.reading&&!Ce.flowing&&!Ce.ended&&Ce.length<Ce.highWaterMark&&(ue("maybeReadMore read 0"),we.read(0),Ye!==Ce.length);)Ye=Ce.length;Ce.readingMore=!1}Te.prototype._read=function(we){this.emit("error",new Error("_read() is not implemented"))},Te.prototype.pipe=function(we,Ce){var Ye=this,Je=this._readableState;switch(Je.pipesCount){case 0:Je.pipes=we;break;case 1:Je.pipes=[Je.pipes,we];break;default:Je.pipes.push(we);break}Je.pipesCount+=1,ue("pipe count=%d opts=%j",Je.pipesCount,Ce);var Le=(!Ce||Ce.end!==!1)&&we!==ge.stdout&&we!==ge.stderr,Ge=Le?Xe:Vt;Je.endEmitted?Ee.nextTick(Ge):Ye.once("end",Ge),we.on("unpipe",Ke);function Ke(nn,Bt){ue("onunpipe"),nn===Ye&&Bt&&Bt.hasUnpiped===!1&&(Bt.hasUnpiped=!0,Et())}function Xe(){ue("onend"),we.end()}var Qe=St(Ye);we.on("drain",Qe);var ht=!1;function Et(){ue("cleanup"),we.removeListener("close",jt),we.removeListener("finish",Wt),we.removeListener("drain",Qe),we.removeListener("error",Kt),we.removeListener("unpipe",Ke),Ye.removeListener("end",Xe),Ye.removeListener("end",Vt),Ye.removeListener("data",Ft),ht=!0,Je.awaitDrain&&(!we._writableState||we._writableState.needDrain)&&Qe()}var mt=!1;Ye.on("data",Ft);function Ft(nn){ue("ondata"),mt=!1;var Bt=we.write(nn);Bt===!1&&!mt&&((Je.pipesCount===1&&Je.pipes===we||Je.pipesCount>1&&_e(Je.pipes,we)!==-1)&&!ht&&(ue("false write response, pause",Ye._readableState.awaitDrain),Ye._readableState.awaitDrain++,mt=!0),Ye.pause())}function Kt(nn){ue("onerror",nn),Vt(),we.removeListener("error",Kt),me(we,"error")===0&&we.emit("error",nn)}Me(we,"error",Kt);function jt(){we.removeListener("finish",Wt),Vt()}we.once("close",jt);function Wt(){ue("onfinish"),we.removeListener("close",jt),Vt()}we.once("finish",Wt);function Vt(){ue("unpipe"),Ye.unpipe(we)}return we.emit("pipe",Ye),Je.flowing||(ue("pipe resume"),Ye.resume()),we};function St(we){return function(){var Ce=we._readableState;ue("pipeOnDrain",Ce.awaitDrain),Ce.awaitDrain&&Ce.awaitDrain--,Ce.awaitDrain===0&&me(we,"data")&&(Ce.flowing=!0,yt(we))}}Te.prototype.unpipe=function(we){var Ce=this._readableState,Ye={hasUnpiped:!1};if(Ce.pipesCount===0)return this;if(Ce.pipesCount===1)return we&&we!==Ce.pipes?this:(we||(we=Ce.pipes),Ce.pipes=null,Ce.pipesCount=0,Ce.flowing=!1,we&&we.emit("unpipe",this,Ye),this);if(!we){var Je=Ce.pipes,Le=Ce.pipesCount;Ce.pipes=null,Ce.pipesCount=0,Ce.flowing=!1;for(var Ge=0;Ge<Le;Ge++)Je[Ge].emit("unpipe",this,Ye);return this}var Ke=_e(Ce.pipes,we);return Ke===-1?this:(Ce.pipes.splice(Ke,1),Ce.pipesCount-=1,Ce.pipesCount===1&&(Ce.pipes=Ce.pipes[0]),we.emit("unpipe",this,Ye),this)},Te.prototype.on=function(we,Ce){var Ye=xe.prototype.on.call(this,we,Ce);if(we==="data")this._readableState.flowing!==!1&&this.resume();else if(we==="readable"){var Je=this._readableState;!Je.endEmitted&&!Je.readableListening&&(Je.readableListening=Je.needReadable=!0,Je.emittedReadable=!1,Je.reading?Je.length&&vt(this):Ee.nextTick(xt,this))}return Ye},Te.prototype.addListener=Te.prototype.on;function xt(we){ue("readable nexttick read 0"),we.read(0)}Te.prototype.resume=function(){var we=this._readableState;return we.flowing||(ue("resume"),we.flowing=!0,ft(this,we)),this};function ft(we,Ce){Ce.resumeScheduled||(Ce.resumeScheduled=!0,Ee.nextTick(pt,we,Ce))}function pt(we,Ce){Ce.reading||(ue("resume read 0"),we.read(0)),Ce.resumeScheduled=!1,Ce.awaitDrain=0,we.emit("resume"),yt(we),Ce.flowing&&!Ce.reading&&we.read(0)}Te.prototype.pause=function(){return ue("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(ue("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function yt(we){var Ce=we._readableState;for(ue("flow",Ce.flowing);Ce.flowing&&we.read()!==null;);}Te.prototype.wrap=function(we){var Ce=this,Ye=this._readableState,Je=!1;we.on("end",function(){if(ue("wrapped end"),Ye.decoder&&!Ye.ended){var Ke=Ye.decoder.end();Ke&&Ke.length&&Ce.push(Ke)}Ce.push(null)}),we.on("data",function(Ke){if(ue("wrapped data"),Ye.decoder&&(Ke=Ye.decoder.write(Ke)),!(Ye.objectMode&&Ke==null)&&!(!Ye.objectMode&&(!Ke||!Ke.length))){var Xe=Ce.push(Ke);Xe||(Je=!0,we.pause())}});for(var Le in we)this[Le]===void 0&&typeof we[Le]=="function"&&(this[Le]=function(Ke){return function(){return we[Ke].apply(we,arguments)}}(Le));for(var Ge=0;Ge<Ie.length;Ge++)we.on(Ie[Ge],this.emit.bind(this,Ie[Ge]));return this._read=function(Ke){ue("wrapped _read",Ke),Je&&(Je=!1,we.resume())},this},Object.defineProperty(Te.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Te._fromList=Tt;function Tt(we,Ce){if(Ce.length===0)return null;var Ye;return Ce.objectMode?Ye=Ce.buffer.shift():!we||we>=Ce.length?(Ce.decoder?Ye=Ce.buffer.join(""):Ce.buffer.length===1?Ye=Ce.buffer.head.data:Ye=Ce.buffer.concat(Ce.length),Ce.buffer.clear()):Ye=At(we,Ce.buffer,Ce.decoder),Ye}function At(we,Ce,Ye){var Je;return we<Ce.head.data.length?(Je=Ce.head.data.slice(0,we),Ce.head.data=Ce.head.data.slice(we)):we===Ce.head.data.length?Je=Ce.shift():Je=Ye?Gt(we,Ce):wt(we,Ce),Je}function Gt(we,Ce){var Ye=Ce.head,Je=1,Le=Ye.data;for(we-=Le.length;Ye=Ye.next;){var Ge=Ye.data,Ke=we>Ge.length?Ge.length:we;if(Ke===Ge.length?Le+=Ge:Le+=Ge.slice(0,we),we-=Ke,we===0){Ke===Ge.length?(++Je,Ye.next?Ce.head=Ye.next:Ce.head=Ce.tail=null):(Ce.head=Ye,Ye.data=Ge.slice(Ke));break}++Je}return Ce.length-=Je,Le}function wt(we,Ce){var Ye=fe.allocUnsafe(we),Je=Ce.head,Le=1;for(Je.data.copy(Ye),we-=Je.data.length;Je=Je.next;){var Ge=Je.data,Ke=we>Ge.length?Ge.length:we;if(Ge.copy(Ye,Ye.length-we,0,Ke),we-=Ke,we===0){Ke===Ge.length?(++Le,Je.next?Ce.head=Je.next:Ce.head=Ce.tail=null):(Ce.head=Je,Je.data=Ge.slice(Ke));break}++Le}return Ce.length-=Le,Ye}function bt(we){var Ce=we._readableState;if(Ce.length>0)throw new Error('"endReadable()" called on non-empty stream');Ce.endEmitted||(Ce.ended=!0,Ee.nextTick(it,Ce,we))}function it(we,Ce){!we.endEmitted&&we.length===0&&(we.endEmitted=!0,Ce.readable=!1,Ce.emit("end"))}function _e(we,Ce){for(var Ye=0,Je=we.length;Ye<Je;Ye++)if(we[Ye]===Ce)return Ye;return-1}}).call(this)}).call(this,oe("_process"),typeof fn!="undefined"?fn:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":386,"./internal/streams/BufferList":391,"./internal/streams/destroy":392,"./internal/streams/stream":393,_process:467,"core-util-is":341,events:344,inherits:364,isarray:370,"process-nextick-args":380,"safe-buffer":396,"string_decoder/":413,util:89}],389:[function(oe,Ze,Ne){"use strict";Ze.exports=Ae;var ge=oe("./_stream_duplex"),ce=Object.create(oe("core-util-is"));ce.inherits=oe("inherits"),ce.inherits(Ae,ge);function Ee(me,xe){var fe=this._transformState;fe.transforming=!1;var z=fe.writecb;if(!z)return this.emit("error",new Error("write callback called multiple times"));fe.writechunk=null,fe.writecb=null,xe!=null&&this.push(xe),z(me);var ee=this._readableState;ee.reading=!1,(ee.needReadable||ee.length<ee.highWaterMark)&&this._read(ee.highWaterMark)}function Ae(me){if(!(this instanceof Ae))return new Ae(me);ge.call(this,me),this._transformState={afterTransform:Ee.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,me&&(typeof me.transform=="function"&&(this._transform=me.transform),typeof me.flush=="function"&&(this._flush=me.flush)),this.on("prefinish",ye)}function ye(){var me=this;typeof this._flush=="function"?this._flush(function(xe,fe){De(me,xe,fe)}):De(this,null,null)}Ae.prototype.push=function(me,xe){return this._transformState.needTransform=!1,ge.prototype.push.call(this,me,xe)},Ae.prototype._transform=function(me,xe,fe){throw new Error("_transform() is not implemented")},Ae.prototype._write=function(me,xe,fe){var z=this._transformState;if(z.writecb=fe,z.writechunk=me,z.writeencoding=xe,!z.transforming){var ee=this._readableState;(z.needTransform||ee.needReadable||ee.length<ee.highWaterMark)&&this._read(ee.highWaterMark)}},Ae.prototype._read=function(me){var xe=this._transformState;xe.writechunk!==null&&xe.writecb&&!xe.transforming?(xe.transforming=!0,this._transform(xe.writechunk,xe.writeencoding,xe.afterTransform)):xe.needTransform=!0},Ae.prototype._destroy=function(me,xe){var fe=this;ge.prototype._destroy.call(this,me,function(z){xe(z),fe.emit("close")})};function De(me,xe,fe){if(xe)return me.emit("error",xe);if(fe!=null&&me.push(fe),me._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(me._transformState.transforming)throw new Error("Calling transform done when still transforming");return me.push(null)}},{"./_stream_duplex":386,"core-util-is":341,inherits:364}],390:[function(oe,Ze,Ne){(function(ge,ce,Ee){(function(){"use strict";var Ae=oe("process-nextick-args");Ze.exports=Me;function ye(pt,yt,Tt){this.chunk=pt,this.encoding=yt,this.callback=Tt,this.next=null}function De(pt){var yt=this;this.next=null,this.entry=null,this.finish=function(){ft(yt,pt)}}var me=!ge.browser&&["v0.10","v0.9."].indexOf(ge.version.slice(0,5))>-1?Ee:Ae.nextTick,xe;Me.WritableState=be;var fe=Object.create(oe("core-util-is"));fe.inherits=oe("inherits");var z={deprecate:oe("util-deprecate")},ee=oe("./internal/streams/stream"),ae=oe("safe-buffer").Buffer,re=ce.Uint8Array||function(){};function le(pt){return ae.from(pt)}function ue(pt){return ae.isBuffer(pt)||pt instanceof re}var pe=oe("./internal/streams/destroy");fe.inherits(Me,ee);function Pe(){}function be(pt,yt){xe=xe||oe("./_stream_duplex"),pt=pt||{};var Tt=yt instanceof xe;this.objectMode=!!pt.objectMode,Tt&&(this.objectMode=this.objectMode||!!pt.writableObjectMode);var At=pt.highWaterMark,Gt=pt.writableHighWaterMark,wt=this.objectMode?16:16*1024;At||At===0?this.highWaterMark=At:Tt&&(Gt||Gt===0)?this.highWaterMark=Gt:this.highWaterMark=wt,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var bt=pt.decodeStrings===!1;this.decodeStrings=!bt,this.defaultEncoding=pt.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(it){et(yt,it)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new De(this)}be.prototype.getBuffer=function(){for(var yt=this.bufferedRequest,Tt=[];yt;)Tt.push(yt),yt=yt.next;return Tt},function(){try{Object.defineProperty(be.prototype,"buffer",{get:z.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(pt){}}();var Ie;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Ie=Function.prototype[Symbol.hasInstance],Object.defineProperty(Me,Symbol.hasInstance,{value:function(pt){return Ie.call(this,pt)?!0:this!==Me?!1:pt&&pt._writableState instanceof be}})):Ie=function(pt){return pt instanceof this};function Me(pt){if(xe=xe||oe("./_stream_duplex"),!Ie.call(Me,this)&&!(this instanceof xe))return new Me(pt);this._writableState=new be(pt,this),this.writable=!0,pt&&(typeof pt.write=="function"&&(this._write=pt.write),typeof pt.writev=="function"&&(this._writev=pt.writev),typeof pt.destroy=="function"&&(this._destroy=pt.destroy),typeof pt.final=="function"&&(this._final=pt.final)),ee.call(this)}Me.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function Oe(pt,yt){var Tt=new Error("write after end");pt.emit("error",Tt),Ae.nextTick(yt,Tt)}function Te(pt,yt,Tt,At){var Gt=!0,wt=!1;return Tt===null?wt=new TypeError("May not write null values to stream"):typeof Tt!="string"&&Tt!==void 0&&!yt.objectMode&&(wt=new TypeError("Invalid non-string/buffer chunk")),wt&&(pt.emit("error",wt),Ae.nextTick(At,wt),Gt=!1),Gt}Me.prototype.write=function(pt,yt,Tt){var At=this._writableState,Gt=!1,wt=!At.objectMode&&ue(pt);return wt&&!ae.isBuffer(pt)&&(pt=le(pt)),typeof yt=="function"&&(Tt=yt,yt=null),wt?yt="buffer":yt||(yt=At.defaultEncoding),typeof Tt!="function"&&(Tt=Pe),At.ended?Oe(this,Tt):(wt||Te(this,At,pt,Tt))&&(At.pendingcb++,Gt=ze(this,At,wt,pt,yt,Tt)),Gt},Me.prototype.cork=function(){var pt=this._writableState;pt.corked++},Me.prototype.uncork=function(){var pt=this._writableState;pt.corked&&(pt.corked--,!pt.writing&&!pt.corked&&!pt.finished&&!pt.bufferProcessing&&pt.bufferedRequest&&vt(this,pt))},Me.prototype.setDefaultEncoding=function(yt){if(typeof yt=="string"&&(yt=yt.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((yt+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+yt);return this._writableState.defaultEncoding=yt,this};function je(pt,yt,Tt){return!pt.objectMode&&pt.decodeStrings!==!1&&typeof yt=="string"&&(yt=ae.from(yt,Tt)),yt}Object.defineProperty(Me.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function ze(pt,yt,Tt,At,Gt,wt){if(!Tt){var bt=je(yt,At,Gt);At!==bt&&(Tt=!0,Gt="buffer",At=bt)}var it=yt.objectMode?1:At.length;yt.length+=it;var _e=yt.length<yt.highWaterMark;if(_e||(yt.needDrain=!0),yt.writing||yt.corked){var we=yt.lastBufferedRequest;yt.lastBufferedRequest={chunk:At,encoding:Gt,isBuf:Tt,callback:wt,next:null},we?we.next=yt.lastBufferedRequest:yt.bufferedRequest=yt.lastBufferedRequest,yt.bufferedRequestCount+=1}else $e(pt,yt,!1,it,At,Gt,wt);return _e}function $e(pt,yt,Tt,At,Gt,wt,bt){yt.writelen=At,yt.writecb=bt,yt.writing=!0,yt.sync=!0,Tt?pt._writev(Gt,yt.onwrite):pt._write(Gt,wt,yt.onwrite),yt.sync=!1}function Ue(pt,yt,Tt,At,Gt){--yt.pendingcb,Tt?(Ae.nextTick(Gt,At),Ae.nextTick(St,pt,yt),pt._writableState.errorEmitted=!0,pt.emit("error",At)):(Gt(At),pt._writableState.errorEmitted=!0,pt.emit("error",At),St(pt,yt))}function qe(pt){pt.writing=!1,pt.writecb=null,pt.length-=pt.writelen,pt.writelen=0}function et(pt,yt){var Tt=pt._writableState,At=Tt.sync,Gt=Tt.writecb;if(qe(Tt),yt)Ue(pt,Tt,At,yt,Gt);else{var wt=tt(Tt);!wt&&!Tt.corked&&!Tt.bufferProcessing&&Tt.bufferedRequest&&vt(pt,Tt),At?me(lt,pt,Tt,wt,Gt):lt(pt,Tt,wt,Gt)}}function lt(pt,yt,Tt,At){Tt||ut(pt,yt),yt.pendingcb--,At(),St(pt,yt)}function ut(pt,yt){yt.length===0&&yt.needDrain&&(yt.needDrain=!1,pt.emit("drain"))}function vt(pt,yt){yt.bufferProcessing=!0;var Tt=yt.bufferedRequest;if(pt._writev&&Tt&&Tt.next){var At=yt.bufferedRequestCount,Gt=new Array(At),wt=yt.corkedRequestsFree;wt.entry=Tt;for(var bt=0,it=!0;Tt;)Gt[bt]=Tt,Tt.isBuf||(it=!1),Tt=Tt.next,bt+=1;Gt.allBuffers=it,$e(pt,yt,!0,yt.length,Gt,"",wt.finish),yt.pendingcb++,yt.lastBufferedRequest=null,wt.next?(yt.corkedRequestsFree=wt.next,wt.next=null):yt.corkedRequestsFree=new De(yt),yt.bufferedRequestCount=0}else{for(;Tt;){var _e=Tt.chunk,we=Tt.encoding,Ce=Tt.callback,Ye=yt.objectMode?1:_e.length;if($e(pt,yt,!1,Ye,_e,we,Ce),Tt=Tt.next,yt.bufferedRequestCount--,yt.writing)break}Tt===null&&(yt.lastBufferedRequest=null)}yt.bufferedRequest=Tt,yt.bufferProcessing=!1}Me.prototype._write=function(pt,yt,Tt){Tt(new Error("_write() is not implemented"))},Me.prototype._writev=null,Me.prototype.end=function(pt,yt,Tt){var At=this._writableState;typeof pt=="function"?(Tt=pt,pt=null,yt=null):typeof yt=="function"&&(Tt=yt,yt=null),pt!=null&&this.write(pt,yt),At.corked&&(At.corked=1,this.uncork()),!At.ending&&!At.finished&&xt(this,At,Tt)};function tt(pt){return pt.ending&&pt.length===0&&pt.bufferedRequest===null&&!pt.finished&&!pt.writing}function at(pt,yt){pt._final(function(Tt){yt.pendingcb--,Tt&&pt.emit("error",Tt),yt.prefinished=!0,pt.emit("prefinish"),St(pt,yt)})}function dt(pt,yt){!yt.prefinished&&!yt.finalCalled&&(typeof pt._final=="function"?(yt.pendingcb++,yt.finalCalled=!0,Ae.nextTick(at,pt,yt)):(yt.prefinished=!0,pt.emit("prefinish")))}function St(pt,yt){var Tt=tt(yt);return Tt&&(dt(pt,yt),yt.pendingcb===0&&(yt.finished=!0,pt.emit("finish"))),Tt}function xt(pt,yt,Tt){yt.ending=!0,St(pt,yt),Tt&&(yt.finished?Ae.nextTick(Tt):pt.once("finish",Tt)),yt.ended=!0,pt.writable=!1}function ft(pt,yt,Tt){var At=pt.entry;for(pt.entry=null;At;){var Gt=At.callback;yt.pendingcb--,Gt(Tt),At=At.next}yt.corkedRequestsFree?yt.corkedRequestsFree.next=pt:yt.corkedRequestsFree=pt}Object.defineProperty(Me.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(pt){this._writableState&&(this._writableState.destroyed=pt)}}),Me.prototype.destroy=pe.destroy,Me.prototype._undestroy=pe.undestroy,Me.prototype._destroy=function(pt,yt){this.end(),yt(pt)}}).call(this)}).call(this,oe("_process"),typeof fn!="undefined"?fn:typeof self!="undefined"?self:typeof window!="undefined"?window:{},oe("timers").setImmediate)},{"./_stream_duplex":386,"./internal/streams/destroy":392,"./internal/streams/stream":393,_process:467,"core-util-is":341,inherits:364,"process-nextick-args":380,"safe-buffer":396,timers:414,"util-deprecate":416}],391:[function(oe,Ze,Ne){"use strict";function ge(ye,De){if(!(ye instanceof De))throw new TypeError("Cannot call a class as a function")}var ce=oe("safe-buffer").Buffer,Ee=oe("util");function Ae(ye,De,me){ye.copy(De,me)}Ze.exports=function(){function ye(){ge(this,ye),this.head=null,this.tail=null,this.length=0}return ye.prototype.push=function(me){var xe={data:me,next:null};this.length>0?this.tail.next=xe:this.head=xe,this.tail=xe,++this.length},ye.prototype.unshift=function(me){var xe={data:me,next:this.head};this.length===0&&(this.tail=xe),this.head=xe,++this.length},ye.prototype.shift=function(){if(this.length!==0){var me=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,me}},ye.prototype.clear=function(){this.head=this.tail=null,this.length=0},ye.prototype.join=function(me){if(this.length===0)return"";for(var xe=this.head,fe=""+xe.data;xe=xe.next;)fe+=me+xe.data;return fe},ye.prototype.concat=function(me){if(this.length===0)return ce.alloc(0);if(this.length===1)return this.head.data;for(var xe=ce.allocUnsafe(me>>>0),fe=this.head,z=0;fe;)Ae(fe.data,xe,z),z+=fe.data.length,fe=fe.next;return xe},ye}(),Ee&&Ee.inspect&&Ee.inspect.custom&&(Ze.exports.prototype[Ee.inspect.custom]=function(){var ye=Ee.inspect({length:this.length});return this.constructor.name+" "+ye})},{"safe-buffer":396,util:89}],392:[function(oe,Ze,Ne){"use strict";var ge=oe("process-nextick-args");function ce(ye,De){var me=this,xe=this._readableState&&this._readableState.destroyed,fe=this._writableState&&this._writableState.destroyed;return xe||fe?(De?De(ye):ye&&(!this._writableState||!this._writableState.errorEmitted)&&ge.nextTick(Ae,this,ye),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ye||null,function(z){!De&&z?(ge.nextTick(Ae,me,z),me._writableState&&(me._writableState.errorEmitted=!0)):De&&De(z)}),this)}function Ee(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function Ae(ye,De){ye.emit("error",De)}Ze.exports={destroy:ce,undestroy:Ee}},{"process-nextick-args":380}],393:[function(oe,Ze,Ne){Ze.exports=oe("events").EventEmitter},{events:344}],394:[function(oe,Ze,Ne){Ne=Ze.exports=oe("./lib/_stream_readable.js"),Ne.Stream=Ne,Ne.Readable=Ne,Ne.Writable=oe("./lib/_stream_writable.js"),Ne.Duplex=oe("./lib/_stream_duplex.js"),Ne.Transform=oe("./lib/_stream_transform.js"),Ne.PassThrough=oe("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":386,"./lib/_stream_passthrough.js":387,"./lib/_stream_readable.js":388,"./lib/_stream_transform.js":389,"./lib/_stream_writable.js":390}],395:[function(oe,Ze,Ne){var ge=function(ce){"use strict";var Ee=Object.prototype,Ae=Ee.hasOwnProperty,ye,De=typeof Symbol=="function"?Symbol:{},me=De.iterator||"@@iterator",xe=De.asyncIterator||"@@asyncIterator",fe=De.toStringTag||"@@toStringTag";function z(dt,St,xt){return Object.defineProperty(dt,St,{value:xt,enumerable:!0,configurable:!0,writable:!0}),dt[St]}try{z({},"")}catch(dt){z=function(St,xt,ft){return St[xt]=ft}}function ee(dt,St,xt,ft){var pt=St&&St.prototype instanceof be?St:be,yt=Object.create(pt.prototype),Tt=new vt(ft||[]);return yt._invoke=qe(dt,xt,Tt),yt}ce.wrap=ee;function ae(dt,St,xt){try{return{type:"normal",arg:dt.call(St,xt)}}catch(ft){return{type:"throw",arg:ft}}}var re="suspendedStart",le="suspendedYield",ue="executing",pe="completed",Pe={};function be(){}function Ie(){}function Me(){}var Oe={};z(Oe,me,function(){return this});var Te=Object.getPrototypeOf,je=Te&&Te(Te(tt([])));je&&je!==Ee&&Ae.call(je,me)&&(Oe=je);var ze=Me.prototype=be.prototype=Object.create(Oe);Ie.prototype=Me,z(ze,"constructor",Me),z(Me,"constructor",Ie),Ie.displayName=z(Me,fe,"GeneratorFunction");function $e(dt){["next","throw","return"].forEach(function(St){z(dt,St,function(xt){return this._invoke(St,xt)})})}ce.isGeneratorFunction=function(dt){var St=typeof dt=="function"&&dt.constructor;return St?St===Ie||(St.displayName||St.name)==="GeneratorFunction":!1},ce.mark=function(dt){return Object.setPrototypeOf?Object.setPrototypeOf(dt,Me):(dt.__proto__=Me,z(dt,fe,"GeneratorFunction")),dt.prototype=Object.create(ze),dt},ce.awrap=function(dt){return{__await:dt}};function Ue(dt,St){function xt(yt,Tt,At,Gt){var wt=ae(dt[yt],dt,Tt);if(wt.type==="throw")Gt(wt.arg);else{var bt=wt.arg,it=bt.value;return it&&typeof it=="object"&&Ae.call(it,"__await")?St.resolve(it.__await).then(function(_e){xt("next",_e,At,Gt)},function(_e){xt("throw",_e,At,Gt)}):St.resolve(it).then(function(_e){bt.value=_e,At(bt)},function(_e){return xt("throw",_e,At,Gt)})}}var ft;function pt(yt,Tt){function At(){return new St(function(Gt,wt){xt(yt,Tt,Gt,wt)})}return ft=ft?ft.then(At,At):At()}this._invoke=pt}$e(Ue.prototype),z(Ue.prototype,xe,function(){return this}),ce.AsyncIterator=Ue,ce.async=function(dt,St,xt,ft,pt){pt===void 0&&(pt=Promise);var yt=new Ue(ee(dt,St,xt,ft),pt);return ce.isGeneratorFunction(St)?yt:yt.next().then(function(Tt){return Tt.done?Tt.value:yt.next()})};function qe(dt,St,xt){var ft=re;return function(yt,Tt){if(ft===ue)throw new Error("Generator is already running");if(ft===pe){if(yt==="throw")throw Tt;return at()}for(xt.method=yt,xt.arg=Tt;;){var At=xt.delegate;if(At){var Gt=et(At,xt);if(Gt){if(Gt===Pe)continue;return Gt}}if(xt.method==="next")xt.sent=xt._sent=xt.arg;else if(xt.method==="throw"){if(ft===re)throw ft=pe,xt.arg;xt.dispatchException(xt.arg)}else xt.method==="return"&&xt.abrupt("return",xt.arg);ft=ue;var wt=ae(dt,St,xt);if(wt.type==="normal"){if(ft=xt.done?pe:le,wt.arg===Pe)continue;return{value:wt.arg,done:xt.done}}else wt.type==="throw"&&(ft=pe,xt.method="throw",xt.arg=wt.arg)}}}function et(dt,St){var xt=dt.iterator[St.method];if(xt===ye){if(St.delegate=null,St.method==="throw"){if(dt.iterator.return&&(St.method="return",St.arg=ye,et(dt,St),St.method==="throw"))return Pe;St.method="throw",St.arg=new TypeError("The iterator does not provide a 'throw' method")}return Pe}var ft=ae(xt,dt.iterator,St.arg);if(ft.type==="throw")return St.method="throw",St.arg=ft.arg,St.delegate=null,Pe;var pt=ft.arg;if(!pt)return St.method="throw",St.arg=new TypeError("iterator result is not an object"),St.delegate=null,Pe;if(pt.done)St[dt.resultName]=pt.value,St.next=dt.nextLoc,St.method!=="return"&&(St.method="next",St.arg=ye);else return pt;return St.delegate=null,Pe}$e(ze),z(ze,fe,"Generator"),z(ze,me,function(){return this}),z(ze,"toString",function(){return"[object Generator]"});function lt(dt){var St={tryLoc:dt[0]};1 in dt&&(St.catchLoc=dt[1]),2 in dt&&(St.finallyLoc=dt[2],St.afterLoc=dt[3]),this.tryEntries.push(St)}function ut(dt){var St=dt.completion||{};St.type="normal",delete St.arg,dt.completion=St}function vt(dt){this.tryEntries=[{tryLoc:"root"}],dt.forEach(lt,this),this.reset(!0)}ce.keys=function(dt){var St=[];for(var xt in dt)St.push(xt);return St.reverse(),function ft(){for(;St.length;){var pt=St.pop();if(pt in dt)return ft.value=pt,ft.done=!1,ft}return ft.done=!0,ft}};function tt(dt){if(dt){var St=dt[me];if(St)return St.call(dt);if(typeof dt.next=="function")return dt;if(!isNaN(dt.length)){var xt=-1,ft=function pt(){for(;++xt<dt.length;)if(Ae.call(dt,xt))return pt.value=dt[xt],pt.done=!1,pt;return pt.value=ye,pt.done=!0,pt};return ft.next=ft}}return{next:at}}ce.values=tt;function at(){return{value:ye,done:!0}}return vt.prototype={constructor:vt,reset:function(dt){if(this.prev=0,this.next=0,this.sent=this._sent=ye,this.done=!1,this.delegate=null,this.method="next",this.arg=ye,this.tryEntries.forEach(ut),!dt)for(var St in this)St.charAt(0)==="t"&&Ae.call(this,St)&&!isNaN(+St.slice(1))&&(this[St]=ye)},stop:function(){this.done=!0;var dt=this.tryEntries[0],St=dt.completion;if(St.type==="throw")throw St.arg;return this.rval},dispatchException:function(dt){if(this.done)throw dt;var St=this;function xt(Gt,wt){return yt.type="throw",yt.arg=dt,St.next=Gt,wt&&(St.method="next",St.arg=ye),!!wt}for(var ft=this.tryEntries.length-1;ft>=0;--ft){var pt=this.tryEntries[ft],yt=pt.completion;if(pt.tryLoc==="root")return xt("end");if(pt.tryLoc<=this.prev){var Tt=Ae.call(pt,"catchLoc"),At=Ae.call(pt,"finallyLoc");if(Tt&&At){if(this.prev<pt.catchLoc)return xt(pt.catchLoc,!0);if(this.prev<pt.finallyLoc)return xt(pt.finallyLoc)}else if(Tt){if(this.prev<pt.catchLoc)return xt(pt.catchLoc,!0)}else if(At){if(this.prev<pt.finallyLoc)return xt(pt.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(dt,St){for(var xt=this.tryEntries.length-1;xt>=0;--xt){var ft=this.tryEntries[xt];if(ft.tryLoc<=this.prev&&Ae.call(ft,"finallyLoc")&&this.prev<ft.finallyLoc){var pt=ft;break}}pt&&(dt==="break"||dt==="continue")&&pt.tryLoc<=St&&St<=pt.finallyLoc&&(pt=null);var yt=pt?pt.completion:{};return yt.type=dt,yt.arg=St,pt?(this.method="next",this.next=pt.finallyLoc,Pe):this.complete(yt)},complete:function(dt,St){if(dt.type==="throw")throw dt.arg;return dt.type==="break"||dt.type==="continue"?this.next=dt.arg:dt.type==="return"?(this.rval=this.arg=dt.arg,this.method="return",this.next="end"):dt.type==="normal"&&St&&(this.next=St),Pe},finish:function(dt){for(var St=this.tryEntries.length-1;St>=0;--St){var xt=this.tryEntries[St];if(xt.finallyLoc===dt)return this.complete(xt.completion,xt.afterLoc),ut(xt),Pe}},catch:function(dt){for(var St=this.tryEntries.length-1;St>=0;--St){var xt=this.tryEntries[St];if(xt.tryLoc===dt){var ft=xt.completion;if(ft.type==="throw"){var pt=ft.arg;ut(xt)}return pt}}throw new Error("illegal catch attempt")},delegateYield:function(dt,St,xt){return this.delegate={iterator:tt(dt),resultName:St,nextLoc:xt},this.method==="next"&&(this.arg=ye),Pe}},ce}(typeof Ze=="object"?Ze.exports:{});try{regeneratorRuntime=ge}catch(ce){typeof globalThis=="object"?globalThis.regeneratorRuntime=ge:Function("r","regeneratorRuntime = r")(ge)}},{}],396:[function(oe,Ze,Ne){var ge=oe("buffer"),ce=ge.Buffer;function Ee(ye,De){for(var me in ye)De[me]=ye[me]}ce.from&&ce.alloc&&ce.allocUnsafe&&ce.allocUnsafeSlow?Ze.exports=ge:(Ee(ge,Ne),Ne.Buffer=Ae);function Ae(ye,De,me){return ce(ye,De,me)}Ee(ce,Ae),Ae.from=function(ye,De,me){if(typeof ye=="number")throw new TypeError("Argument must not be a number");return ce(ye,De,me)},Ae.alloc=function(ye,De,me){if(typeof ye!="number")throw new TypeError("Argument must be a number");var xe=ce(ye);return De!==void 0?typeof me=="string"?xe.fill(De,me):xe.fill(De):xe.fill(0),xe},Ae.allocUnsafe=function(ye){if(typeof ye!="number")throw new TypeError("Argument must be a number");return ce(ye)},Ae.allocUnsafeSlow=function(ye){if(typeof ye!="number")throw new TypeError("Argument must be a number");return ge.SlowBuffer(ye)}},{buffer:90}],397:[function(oe,Ze,Ne){(function(ge){(function(){(function(ce){ce.parser=function(bt,it){return new Ae(bt,it)},ce.SAXParser=Ae,ce.SAXStream=ee,ce.createStream=z,ce.MAX_BUFFER_LENGTH=64*1024;var Ee=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];ce.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function Ae(bt,it){if(!(this instanceof Ae))return new Ae(bt,it);var _e=this;De(_e),_e.q=_e.c="",_e.bufferCheckPosition=ce.MAX_BUFFER_LENGTH,_e.opt=it||{},_e.opt.lowercase=_e.opt.lowercase||_e.opt.lowercasetags,_e.looseCase=_e.opt.lowercase?"toLowerCase":"toUpperCase",_e.tags=[],_e.closed=_e.closedRoot=_e.sawRoot=!1,_e.tag=_e.error=null,_e.strict=!!bt,_e.noscript=!!(bt||_e.opt.noscript),_e.state=Ue.BEGIN,_e.strictEntities=_e.opt.strictEntities,_e.ENTITIES=_e.strictEntities?Object.create(ce.XML_ENTITIES):Object.create(ce.ENTITIES),_e.attribList=[],_e.opt.xmlns&&(_e.ns=Object.create(pe)),_e.trackPosition=_e.opt.position!==!1,_e.trackPosition&&(_e.position=_e.line=_e.column=0),et(_e,"onready")}Object.create||(Object.create=function(bt){function it(){}it.prototype=bt;var _e=new it;return _e}),Object.keys||(Object.keys=function(bt){var it=[];for(var _e in bt)bt.hasOwnProperty(_e)&&it.push(_e);return it});function ye(bt){for(var it=Math.max(ce.MAX_BUFFER_LENGTH,10),_e=0,we=0,Ce=Ee.length;we<Ce;we++){var Ye=bt[Ee[we]].length;if(Ye>it)switch(Ee[we]){case"textNode":ut(bt);break;case"cdata":lt(bt,"oncdata",bt.cdata),bt.cdata="";break;case"script":lt(bt,"onscript",bt.script),bt.script="";break;default:tt(bt,"Max buffer length exceeded: "+Ee[we])}_e=Math.max(_e,Ye)}var Je=ce.MAX_BUFFER_LENGTH-_e;bt.bufferCheckPosition=Je+bt.position}function De(bt){for(var it=0,_e=Ee.length;it<_e;it++)bt[Ee[it]]=""}function me(bt){ut(bt),bt.cdata!==""&&(lt(bt,"oncdata",bt.cdata),bt.cdata=""),bt.script!==""&&(lt(bt,"onscript",bt.script),bt.script="")}Ae.prototype={end:function(){at(this)},write:wt,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){me(this)}};var xe;try{xe=oe("stream").Stream}catch(bt){xe=function(){}}var fe=ce.EVENTS.filter(function(bt){return bt!=="error"&&bt!=="end"});function z(bt,it){return new ee(bt,it)}function ee(bt,it){if(!(this instanceof ee))return new ee(bt,it);xe.apply(this),this._parser=new Ae(bt,it),this.writable=!0,this.readable=!0;var _e=this;this._parser.onend=function(){_e.emit("end")},this._parser.onerror=function(we){_e.emit("error",we),_e._parser.error=null},this._decoder=null,fe.forEach(function(we){Object.defineProperty(_e,"on"+we,{get:function(){return _e._parser["on"+we]},set:function(Ce){if(!Ce)return _e.removeAllListeners(we),_e._parser["on"+we]=Ce,Ce;_e.on(we,Ce)},enumerable:!0,configurable:!1})})}ee.prototype=Object.create(xe.prototype,{constructor:{value:ee}}),ee.prototype.write=function(bt){if(typeof ge=="function"&&typeof ge.isBuffer=="function"&&ge.isBuffer(bt)){if(!this._decoder){var it=oe("string_decoder").StringDecoder;this._decoder=new it("utf8")}bt=this._decoder.write(bt)}return this._parser.write(bt.toString()),this.emit("data",bt),!0},ee.prototype.end=function(bt){return bt&&bt.length&&this.write(bt),this._parser.end(),!0},ee.prototype.on=function(bt,it){var _e=this;return!_e._parser["on"+bt]&&fe.indexOf(bt)!==-1&&(_e._parser["on"+bt]=function(){var we=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);we.splice(0,0,bt),_e.emit.apply(_e,we)}),xe.prototype.on.call(_e,bt,it)};var ae="[CDATA[",re="DOCTYPE",le="http://www.w3.org/XML/1998/namespace",ue="http://www.w3.org/2000/xmlns/",pe={xml:le,xmlns:ue},Pe=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,be=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,Ie=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,Me=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function Oe(bt){return bt===" "||bt===`
`||bt==="\r"||bt===" "}function Te(bt){return bt==='"'||bt==="'"}function je(bt){return bt===">"||Oe(bt)}function ze(bt,it){return bt.test(it)}function $e(bt,it){return!ze(bt,it)}var Ue=0;ce.STATE={BEGIN:Ue++,BEGIN_WHITESPACE:Ue++,TEXT:Ue++,TEXT_ENTITY:Ue++,OPEN_WAKA:Ue++,SGML_DECL:Ue++,SGML_DECL_QUOTED:Ue++,DOCTYPE:Ue++,DOCTYPE_QUOTED:Ue++,DOCTYPE_DTD:Ue++,DOCTYPE_DTD_QUOTED:Ue++,COMMENT_STARTING:Ue++,COMMENT:Ue++,COMMENT_ENDING:Ue++,COMMENT_ENDED:Ue++,CDATA:Ue++,CDATA_ENDING:Ue++,CDATA_ENDING_2:Ue++,PROC_INST:Ue++,PROC_INST_BODY:Ue++,PROC_INST_ENDING:Ue++,OPEN_TAG:Ue++,OPEN_TAG_SLASH:Ue++,ATTRIB:Ue++,ATTRIB_NAME:Ue++,ATTRIB_NAME_SAW_WHITE:Ue++,ATTRIB_VALUE:Ue++,ATTRIB_VALUE_QUOTED:Ue++,ATTRIB_VALUE_CLOSED:Ue++,ATTRIB_VALUE_UNQUOTED:Ue++,ATTRIB_VALUE_ENTITY_Q:Ue++,ATTRIB_VALUE_ENTITY_U:Ue++,CLOSE_TAG:Ue++,CLOSE_TAG_SAW_WHITE:Ue++,SCRIPT:Ue++,SCRIPT_ENDING:Ue++},ce.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},ce.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(ce.ENTITIES).forEach(function(bt){var it=ce.ENTITIES[bt],_e=typeof it=="number"?String.fromCharCode(it):it;ce.ENTITIES[bt]=_e});for(var qe in ce.STATE)ce.STATE[ce.STATE[qe]]=qe;Ue=ce.STATE;function et(bt,it,_e){bt[it]&&bt[it](_e)}function lt(bt,it,_e){bt.textNode&&ut(bt),et(bt,it,_e)}function ut(bt){bt.textNode=vt(bt.opt,bt.textNode),bt.textNode&&et(bt,"ontext",bt.textNode),bt.textNode=""}function vt(bt,it){return bt.trim&&(it=it.trim()),bt.normalize&&(it=it.replace(/\s+/g," ")),it}function tt(bt,it){return ut(bt),bt.trackPosition&&(it+=`
Line: `+bt.line+`
Column: `+bt.column+`
Char: `+bt.c),it=new Error(it),bt.error=it,et(bt,"onerror",it),bt}function at(bt){return bt.sawRoot&&!bt.closedRoot&&dt(bt,"Unclosed root tag"),bt.state!==Ue.BEGIN&&bt.state!==Ue.BEGIN_WHITESPACE&&bt.state!==Ue.TEXT&&tt(bt,"Unexpected end"),ut(bt),bt.c="",bt.closed=!0,et(bt,"onend"),Ae.call(bt,bt.strict,bt.opt),bt}function dt(bt,it){if(typeof bt!="object"||!(bt instanceof Ae))throw new Error("bad call to strictFail");bt.strict&&tt(bt,it)}function St(bt){bt.strict||(bt.tagName=bt.tagName[bt.looseCase]());var it=bt.tags[bt.tags.length-1]||bt,_e=bt.tag={name:bt.tagName,attributes:{}};bt.opt.xmlns&&(_e.ns=it.ns),bt.attribList.length=0,lt(bt,"onopentagstart",_e)}function xt(bt,it){var _e=bt.indexOf(":"),we=_e<0?["",bt]:bt.split(":"),Ce=we[0],Ye=we[1];return it&&bt==="xmlns"&&(Ce="xmlns",Ye=""),{prefix:Ce,local:Ye}}function ft(bt){if(bt.strict||(bt.attribName=bt.attribName[bt.looseCase]()),bt.attribList.indexOf(bt.attribName)!==-1||bt.tag.attributes.hasOwnProperty(bt.attribName)){bt.attribName=bt.attribValue="";return}if(bt.opt.xmlns){var it=xt(bt.attribName,!0),_e=it.prefix,we=it.local;if(_e==="xmlns")if(we==="xml"&&bt.attribValue!==le)dt(bt,"xml: prefix must be bound to "+le+`
Actual: `+bt.attribValue);else if(we==="xmlns"&&bt.attribValue!==ue)dt(bt,"xmlns: prefix must be bound to "+ue+`
Actual: `+bt.attribValue);else{var Ce=bt.tag,Ye=bt.tags[bt.tags.length-1]||bt;Ce.ns===Ye.ns&&(Ce.ns=Object.create(Ye.ns)),Ce.ns[we]=bt.attribValue}bt.attribList.push([bt.attribName,bt.attribValue])}else bt.tag.attributes[bt.attribName]=bt.attribValue,lt(bt,"onattribute",{name:bt.attribName,value:bt.attribValue});bt.attribName=bt.attribValue=""}function pt(bt,it){if(bt.opt.xmlns){var _e=bt.tag,we=xt(bt.tagName);_e.prefix=we.prefix,_e.local=we.local,_e.uri=_e.ns[we.prefix]||"",_e.prefix&&!_e.uri&&(dt(bt,"Unbound namespace prefix: "+JSON.stringify(bt.tagName)),_e.uri=we.prefix);var Ce=bt.tags[bt.tags.length-1]||bt;_e.ns&&Ce.ns!==_e.ns&&Object.keys(_e.ns).forEach(function(Ft){lt(bt,"onopennamespace",{prefix:Ft,uri:_e.ns[Ft]})});for(var Ye=0,Je=bt.attribList.length;Ye<Je;Ye++){var Le=bt.attribList[Ye],Ge=Le[0],Ke=Le[1],Xe=xt(Ge,!0),Qe=Xe.prefix,ht=Xe.local,Et=Qe===""?"":_e.ns[Qe]||"",mt={name:Ge,value:Ke,prefix:Qe,local:ht,uri:Et};Qe&&Qe!=="xmlns"&&!Et&&(dt(bt,"Unbound namespace prefix: "+JSON.stringify(Qe)),mt.uri=Qe),bt.tag.attributes[Ge]=mt,lt(bt,"onattribute",mt)}bt.attribList.length=0}bt.tag.isSelfClosing=!!it,bt.sawRoot=!0,bt.tags.push(bt.tag),lt(bt,"onopentag",bt.tag),it||(!bt.noscript&&bt.tagName.toLowerCase()==="script"?bt.state=Ue.SCRIPT:bt.state=Ue.TEXT,bt.tag=null,bt.tagName=""),bt.attribName=bt.attribValue="",bt.attribList.length=0}function yt(bt){if(!bt.tagName){dt(bt,"Weird empty close tag."),bt.textNode+="</>",bt.state=Ue.TEXT;return}if(bt.script){if(bt.tagName!=="script"){bt.script+="</"+bt.tagName+">",bt.tagName="",bt.state=Ue.SCRIPT;return}lt(bt,"onscript",bt.script),bt.script=""}var it=bt.tags.length,_e=bt.tagName;bt.strict||(_e=_e[bt.looseCase]());for(var we=_e;it--;){var Ce=bt.tags[it];if(Ce.name!==we)dt(bt,"Unexpected close tag");else break}if(it<0){dt(bt,"Unmatched closing tag: "+bt.tagName),bt.textNode+="</"+bt.tagName+">",bt.state=Ue.TEXT;return}bt.tagName=_e;for(var Ye=bt.tags.length;Ye-- >it;){var Je=bt.tag=bt.tags.pop();bt.tagName=bt.tag.name,lt(bt,"onclosetag",bt.tagName);var Le={};for(var Ge in Je.ns)Le[Ge]=Je.ns[Ge];var Ke=bt.tags[bt.tags.length-1]||bt;bt.opt.xmlns&&Je.ns!==Ke.ns&&Object.keys(Je.ns).forEach(function(Xe){var Qe=Je.ns[Xe];lt(bt,"onclosenamespace",{prefix:Xe,uri:Qe})})}it===0&&(bt.closedRoot=!0),bt.tagName=bt.attribValue=bt.attribName="",bt.attribList.length=0,bt.state=Ue.TEXT}function Tt(bt){var it=bt.entity,_e=it.toLowerCase(),we,Ce="";return bt.ENTITIES[it]?bt.ENTITIES[it]:bt.ENTITIES[_e]?bt.ENTITIES[_e]:(it=_e,it.charAt(0)==="#"&&(it.charAt(1)==="x"?(it=it.slice(2),we=parseInt(it,16),Ce=we.toString(16)):(it=it.slice(1),we=parseInt(it,10),Ce=we.toString(10))),it=it.replace(/^0+/,""),isNaN(we)||Ce.toLowerCase()!==it?(dt(bt,"Invalid character entity"),"&"+bt.entity+";"):String.fromCodePoint(we))}function At(bt,it){it==="<"?(bt.state=Ue.OPEN_WAKA,bt.startTagPosition=bt.position):Oe(it)||(dt(bt,"Non-whitespace before first tag."),bt.textNode=it,bt.state=Ue.TEXT)}function Gt(bt,it){var _e="";return it<bt.length&&(_e=bt.charAt(it)),_e}function wt(bt){var it=this;if(this.error)throw this.error;if(it.closed)return tt(it,"Cannot write after close. Assign an onready handler.");if(bt===null)return at(it);typeof bt=="object"&&(bt=bt.toString());for(var _e=0,we="";we=Gt(bt,_e++),it.c=we,!!we;)switch(it.trackPosition&&(it.position++,we===`
`?(it.line++,it.column=0):it.column++),it.state){case Ue.BEGIN:if(it.state=Ue.BEGIN_WHITESPACE,we==="\uFEFF")continue;At(it,we);continue;case Ue.BEGIN_WHITESPACE:At(it,we);continue;case Ue.TEXT:if(it.sawRoot&&!it.closedRoot){for(var Ce=_e-1;we&&we!=="<"&&we!=="&";)we=Gt(bt,_e++),we&&it.trackPosition&&(it.position++,we===`
`?(it.line++,it.column=0):it.column++);it.textNode+=bt.substring(Ce,_e-1)}we==="<"&&!(it.sawRoot&&it.closedRoot&&!it.strict)?(it.state=Ue.OPEN_WAKA,it.startTagPosition=it.position):(!Oe(we)&&(!it.sawRoot||it.closedRoot)&&dt(it,"Text data outside of root node."),we==="&"?it.state=Ue.TEXT_ENTITY:it.textNode+=we);continue;case Ue.SCRIPT:we==="<"?it.state=Ue.SCRIPT_ENDING:it.script+=we;continue;case Ue.SCRIPT_ENDING:we==="/"?it.state=Ue.CLOSE_TAG:(it.script+="<"+we,it.state=Ue.SCRIPT);continue;case Ue.OPEN_WAKA:if(we==="!")it.state=Ue.SGML_DECL,it.sgmlDecl="";else if(!Oe(we))if(ze(Pe,we))it.state=Ue.OPEN_TAG,it.tagName=we;else if(we==="/")it.state=Ue.CLOSE_TAG,it.tagName="";else if(we==="?")it.state=Ue.PROC_INST,it.procInstName=it.procInstBody="";else{if(dt(it,"Unencoded <"),it.startTagPosition+1<it.position){var Ye=it.position-it.startTagPosition;we=new Array(Ye).join(" ")+we}it.textNode+="<"+we,it.state=Ue.TEXT}continue;case Ue.SGML_DECL:(it.sgmlDecl+we).toUpperCase()===ae?(lt(it,"onopencdata"),it.state=Ue.CDATA,it.sgmlDecl="",it.cdata=""):it.sgmlDecl+we==="--"?(it.state=Ue.COMMENT,it.comment="",it.sgmlDecl=""):(it.sgmlDecl+we).toUpperCase()===re?(it.state=Ue.DOCTYPE,(it.doctype||it.sawRoot)&&dt(it,"Inappropriately located doctype declaration"),it.doctype="",it.sgmlDecl=""):we===">"?(lt(it,"onsgmldeclaration",it.sgmlDecl),it.sgmlDecl="",it.state=Ue.TEXT):(Te(we)&&(it.state=Ue.SGML_DECL_QUOTED),it.sgmlDecl+=we);continue;case Ue.SGML_DECL_QUOTED:we===it.q&&(it.state=Ue.SGML_DECL,it.q=""),it.sgmlDecl+=we;continue;case Ue.DOCTYPE:we===">"?(it.state=Ue.TEXT,lt(it,"ondoctype",it.doctype),it.doctype=!0):(it.doctype+=we,we==="["?it.state=Ue.DOCTYPE_DTD:Te(we)&&(it.state=Ue.DOCTYPE_QUOTED,it.q=we));continue;case Ue.DOCTYPE_QUOTED:it.doctype+=we,we===it.q&&(it.q="",it.state=Ue.DOCTYPE);continue;case Ue.DOCTYPE_DTD:it.doctype+=we,we==="]"?it.state=Ue.DOCTYPE:Te(we)&&(it.state=Ue.DOCTYPE_DTD_QUOTED,it.q=we);continue;case Ue.DOCTYPE_DTD_QUOTED:it.doctype+=we,we===it.q&&(it.state=Ue.DOCTYPE_DTD,it.q="");continue;case Ue.COMMENT:we==="-"?it.state=Ue.COMMENT_ENDING:it.comment+=we;continue;case Ue.COMMENT_ENDING:we==="-"?(it.state=Ue.COMMENT_ENDED,it.comment=vt(it.opt,it.comment),it.comment&&lt(it,"oncomment",it.comment),it.comment=""):(it.comment+="-"+we,it.state=Ue.COMMENT);continue;case Ue.COMMENT_ENDED:we!==">"?(dt(it,"Malformed comment"),it.comment+="--"+we,it.state=Ue.COMMENT):it.state=Ue.TEXT;continue;case Ue.CDATA:we==="]"?it.state=Ue.CDATA_ENDING:it.cdata+=we;continue;case Ue.CDATA_ENDING:we==="]"?it.state=Ue.CDATA_ENDING_2:(it.cdata+="]"+we,it.state=Ue.CDATA);continue;case Ue.CDATA_ENDING_2:we===">"?(it.cdata&&lt(it,"oncdata",it.cdata),lt(it,"onclosecdata"),it.cdata="",it.state=Ue.TEXT):we==="]"?it.cdata+="]":(it.cdata+="]]"+we,it.state=Ue.CDATA);continue;case Ue.PROC_INST:we==="?"?it.state=Ue.PROC_INST_ENDING:Oe(we)?it.state=Ue.PROC_INST_BODY:it.procInstName+=we;continue;case Ue.PROC_INST_BODY:if(!it.procInstBody&&Oe(we))continue;we==="?"?it.state=Ue.PROC_INST_ENDING:it.procInstBody+=we;continue;case Ue.PROC_INST_ENDING:we===">"?(lt(it,"onprocessinginstruction",{name:it.procInstName,body:it.procInstBody}),it.procInstName=it.procInstBody="",it.state=Ue.TEXT):(it.procInstBody+="?"+we,it.state=Ue.PROC_INST_BODY);continue;case Ue.OPEN_TAG:ze(be,we)?it.tagName+=we:(St(it),we===">"?pt(it):we==="/"?it.state=Ue.OPEN_TAG_SLASH:(Oe(we)||dt(it,"Invalid character in tag name"),it.state=Ue.ATTRIB));continue;case Ue.OPEN_TAG_SLASH:we===">"?(pt(it,!0),yt(it)):(dt(it,"Forward-slash in opening tag not followed by >"),it.state=Ue.ATTRIB);continue;case Ue.ATTRIB:if(Oe(we))continue;we===">"?pt(it):we==="/"?it.state=Ue.OPEN_TAG_SLASH:ze(Pe,we)?(it.attribName=we,it.attribValue="",it.state=Ue.ATTRIB_NAME):dt(it,"Invalid attribute name");continue;case Ue.ATTRIB_NAME:we==="="?it.state=Ue.ATTRIB_VALUE:we===">"?(dt(it,"Attribute without value"),it.attribValue=it.attribName,ft(it),pt(it)):Oe(we)?it.state=Ue.ATTRIB_NAME_SAW_WHITE:ze(be,we)?it.attribName+=we:dt(it,"Invalid attribute name");continue;case Ue.ATTRIB_NAME_SAW_WHITE:if(we==="=")it.state=Ue.ATTRIB_VALUE;else{if(Oe(we))continue;dt(it,"Attribute without value"),it.tag.attributes[it.attribName]="",it.attribValue="",lt(it,"onattribute",{name:it.attribName,value:""}),it.attribName="",we===">"?pt(it):ze(Pe,we)?(it.attribName=we,it.state=Ue.ATTRIB_NAME):(dt(it,"Invalid attribute name"),it.state=Ue.ATTRIB)}continue;case Ue.ATTRIB_VALUE:if(Oe(we))continue;Te(we)?(it.q=we,it.state=Ue.ATTRIB_VALUE_QUOTED):(dt(it,"Unquoted attribute value"),it.state=Ue.ATTRIB_VALUE_UNQUOTED,it.attribValue=we);continue;case Ue.ATTRIB_VALUE_QUOTED:if(we!==it.q){we==="&"?it.state=Ue.ATTRIB_VALUE_ENTITY_Q:it.attribValue+=we;continue}ft(it),it.q="",it.state=Ue.ATTRIB_VALUE_CLOSED;continue;case Ue.ATTRIB_VALUE_CLOSED:Oe(we)?it.state=Ue.ATTRIB:we===">"?pt(it):we==="/"?it.state=Ue.OPEN_TAG_SLASH:ze(Pe,we)?(dt(it,"No whitespace between attributes"),it.attribName=we,it.attribValue="",it.state=Ue.ATTRIB_NAME):dt(it,"Invalid attribute name");continue;case Ue.ATTRIB_VALUE_UNQUOTED:if(!je(we)){we==="&"?it.state=Ue.ATTRIB_VALUE_ENTITY_U:it.attribValue+=we;continue}ft(it),we===">"?pt(it):it.state=Ue.ATTRIB;continue;case Ue.CLOSE_TAG:if(it.tagName)we===">"?yt(it):ze(be,we)?it.tagName+=we:it.script?(it.script+="</"+it.tagName,it.tagName="",it.state=Ue.SCRIPT):(Oe(we)||dt(it,"Invalid tagname in closing tag"),it.state=Ue.CLOSE_TAG_SAW_WHITE);else{if(Oe(we))continue;$e(Pe,we)?it.script?(it.script+="</"+we,it.state=Ue.SCRIPT):dt(it,"Invalid tagname in closing tag."):it.tagName=we}continue;case Ue.CLOSE_TAG_SAW_WHITE:if(Oe(we))continue;we===">"?yt(it):dt(it,"Invalid characters in closing tag");continue;case Ue.TEXT_ENTITY:case Ue.ATTRIB_VALUE_ENTITY_Q:case Ue.ATTRIB_VALUE_ENTITY_U:var Je,Le;switch(it.state){case Ue.TEXT_ENTITY:Je=Ue.TEXT,Le="textNode";break;case Ue.ATTRIB_VALUE_ENTITY_Q:Je=Ue.ATTRIB_VALUE_QUOTED,Le="attribValue";break;case Ue.ATTRIB_VALUE_ENTITY_U:Je=Ue.ATTRIB_VALUE_UNQUOTED,Le="attribValue";break}we===";"?(it[Le]+=Tt(it),it.entity="",it.state=Je):ze(it.entity.length?Me:Ie,we)?it.entity+=we:(dt(it,"Invalid character in entity name"),it[Le]+="&"+it.entity+we,it.entity="",it.state=Je);continue;default:throw new Error(it,"Unknown state: "+it.state)}return it.position>=it.bufferCheckPosition&&ye(it),it}String.fromCodePoint||function(){var bt=String.fromCharCode,it=Math.floor,_e=function(){var we=16384,Ce=[],Ye,Je,Le=-1,Ge=arguments.length;if(!Ge)return"";for(var Ke="";++Le<Ge;){var Xe=Number(arguments[Le]);if(!isFinite(Xe)||Xe<0||Xe>1114111||it(Xe)!==Xe)throw RangeError("Invalid code point: "+Xe);Xe<=65535?Ce.push(Xe):(Xe-=65536,Ye=(Xe>>10)+55296,Je=Xe%1024+56320,Ce.push(Ye,Je)),(Le+1===Ge||Ce.length>we)&&(Ke+=bt.apply(null,Ce),Ce.length=0)}return Ke};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:_e,configurable:!0,writable:!0}):String.fromCodePoint=_e}()})(typeof Ne=="undefined"?this.sax={}:Ne)}).call(this)}).call(this,oe("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(oe,Ze,Ne){Ze.exports=Ee;var ge=oe("events").EventEmitter,ce=oe("inherits");ce(Ee,ge),Ee.Readable=oe("readable-stream/lib/_stream_readable.js"),Ee.Writable=oe("readable-stream/lib/_stream_writable.js"),Ee.Duplex=oe("readable-stream/lib/_stream_duplex.js"),Ee.Transform=oe("readable-stream/lib/_stream_transform.js"),Ee.PassThrough=oe("readable-stream/lib/_stream_passthrough.js"),Ee.finished=oe("readable-stream/lib/internal/streams/end-of-stream.js"),Ee.pipeline=oe("readable-stream/lib/internal/streams/pipeline.js"),Ee.Stream=Ee;function Ee(){ge.call(this)}Ee.prototype.pipe=function(Ae,ye){var De=this;function me(le){Ae.writable&&Ae.write(le)===!1&&De.pause&&De.pause()}De.on("data",me);function xe(){De.readable&&De.resume&&De.resume()}Ae.on("drain",xe),!Ae._isStdio&&(!ye||ye.end!==!1)&&(De.on("end",z),De.on("close",ee));var fe=!1;function z(){fe||(fe=!0,Ae.end())}function ee(){fe||(fe=!0,typeof Ae.destroy=="function"&&Ae.destroy())}function ae(le){if(re(),ge.listenerCount(this,"error")===0)throw le}De.on("error",ae),Ae.on("error",ae);function re(){De.removeListener("data",me),Ae.removeListener("drain",xe),De.removeListener("end",z),De.removeListener("close",ee),De.removeListener("error",ae),Ae.removeListener("error",ae),De.removeListener("end",re),De.removeListener("close",re),Ae.removeListener("close",re)}return De.on("end",re),De.on("close",re),Ae.on("close",re),Ae.emit("pipe",De),Ae}},{events:344,inherits:364,"readable-stream/lib/_stream_duplex.js":400,"readable-stream/lib/_stream_passthrough.js":401,"readable-stream/lib/_stream_readable.js":402,"readable-stream/lib/_stream_transform.js":403,"readable-stream/lib/_stream_writable.js":404,"readable-stream/lib/internal/streams/end-of-stream.js":408,"readable-stream/lib/internal/streams/pipeline.js":410}],399:[function(oe,Ze,Ne){"use strict";function ge(xe,fe){xe.prototype=Object.create(fe.prototype),xe.prototype.constructor=xe,xe.__proto__=fe}var ce={};function Ee(xe,fe,z){z||(z=Error);function ee(re,le,ue){return typeof fe=="string"?fe:fe(re,le,ue)}var ae=function(re){ge(le,re);function le(ue,pe,Pe){return re.call(this,ee(ue,pe,Pe))||this}return le}(z);ae.prototype.name=z.name,ae.prototype.code=xe,ce[xe]=ae}function Ae(xe,fe){if(Array.isArray(xe)){var z=xe.length;return xe=xe.map(function(ee){return String(ee)}),z>2?"one of ".concat(fe," ").concat(xe.slice(0,z-1).join(", "),", or ")+xe[z-1]:z===2?"one of ".concat(fe," ").concat(xe[0]," or ").concat(xe[1]):"of ".concat(fe," ").concat(xe[0])}else return"of ".concat(fe," ").concat(String(xe))}function ye(xe,fe,z){return xe.substr(!z||z<0?0:+z,fe.length)===fe}function De(xe,fe,z){return(z===void 0||z>xe.length)&&(z=xe.length),xe.substring(z-fe.length,z)===fe}function me(xe,fe,z){return typeof z!="number"&&(z=0),z+fe.length>xe.length?!1:xe.indexOf(fe,z)!==-1}Ee("ERR_INVALID_OPT_VALUE",function(xe,fe){return'The value "'+fe+'" is invalid for option "'+xe+'"'},TypeError),Ee("ERR_INVALID_ARG_TYPE",function(xe,fe,z){var ee;typeof fe=="string"&&ye(fe,"not ")?(ee="must not be",fe=fe.replace(/^not /,"")):ee="must be";var ae;if(De(xe," argument"))ae="The ".concat(xe," ").concat(ee," ").concat(Ae(fe,"type"));else{var re=me(xe,".")?"property":"argument";ae='The "'.concat(xe,'" ').concat(re," ").concat(ee," ").concat(Ae(fe,"type"))}return ae+=". Received type ".concat(typeof z),ae},TypeError),Ee("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),Ee("ERR_METHOD_NOT_IMPLEMENTED",function(xe){return"The "+xe+" method is not implemented"}),Ee("ERR_STREAM_PREMATURE_CLOSE","Premature close"),Ee("ERR_STREAM_DESTROYED",function(xe){return"Cannot call "+xe+" after a stream was destroyed"}),Ee("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),Ee("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),Ee("ERR_STREAM_WRITE_AFTER_END","write after end"),Ee("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),Ee("ERR_UNKNOWN_ENCODING",function(xe){return"Unknown encoding: "+xe},TypeError),Ee("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Ze.exports.codes=ce},{}],400:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";var ce=Object.keys||function(ee){var ae=[];for(var re in ee)ae.push(re);return ae};Ze.exports=xe;var Ee=oe("./_stream_readable"),Ae=oe("./_stream_writable");oe("inherits")(xe,Ee);for(var ye=ce(Ae.prototype),De=0;De<ye.length;De++){var me=ye[De];xe.prototype[me]||(xe.prototype[me]=Ae.prototype[me])}function xe(ee){if(!(this instanceof xe))return new xe(ee);Ee.call(this,ee),Ae.call(this,ee),this.allowHalfOpen=!0,ee&&(ee.readable===!1&&(this.readable=!1),ee.writable===!1&&(this.writable=!1),ee.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",fe)))}Object.defineProperty(xe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(xe.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(xe.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function fe(){this._writableState.ended||ge.nextTick(z,this)}function z(ee){ee.end()}Object.defineProperty(xe.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(ae){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=ae,this._writableState.destroyed=ae)}})}).call(this)}).call(this,oe("_process"))},{"./_stream_readable":402,"./_stream_writable":404,_process:467,inherits:364}],401:[function(oe,Ze,Ne){"use strict";Ze.exports=ce;var ge=oe("./_stream_transform");oe("inherits")(ce,ge);function ce(Ee){if(!(this instanceof ce))return new ce(Ee);ge.call(this,Ee)}ce.prototype._transform=function(Ee,Ae,ye){ye(null,Ee)}},{"./_stream_transform":403,inherits:364}],402:[function(oe,Ze,Ne){(function(ge,ce){(function(){"use strict";Ze.exports=lt;var Ee;lt.ReadableState=et;var Ae=oe("events").EventEmitter,ye=function(Ge,Ke){return Ge.listeners(Ke).length},De=oe("./internal/streams/stream"),me=oe("buffer").Buffer,xe=(typeof ce!="undefined"?ce:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function fe(Le){return me.from(Le)}function z(Le){return me.isBuffer(Le)||Le instanceof xe}var ee=oe("util"),ae;ee&&ee.debuglog?ae=ee.debuglog("stream"):ae=function(){};var re=oe("./internal/streams/buffer_list"),le=oe("./internal/streams/destroy"),ue=oe("./internal/streams/state"),pe=ue.getHighWaterMark,Pe=oe("../errors").codes,be=Pe.ERR_INVALID_ARG_TYPE,Ie=Pe.ERR_STREAM_PUSH_AFTER_EOF,Me=Pe.ERR_METHOD_NOT_IMPLEMENTED,Oe=Pe.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,Te,je,ze;oe("inherits")(lt,De);var $e=le.errorOrDestroy,Ue=["error","close","destroy","pause","resume"];function qe(Le,Ge,Ke){if(typeof Le.prependListener=="function")return Le.prependListener(Ge,Ke);!Le._events||!Le._events[Ge]?Le.on(Ge,Ke):Array.isArray(Le._events[Ge])?Le._events[Ge].unshift(Ke):Le._events[Ge]=[Ke,Le._events[Ge]]}function et(Le,Ge,Ke){Ee=Ee||oe("./_stream_duplex"),Le=Le||{},typeof Ke!="boolean"&&(Ke=Ge instanceof Ee),this.objectMode=!!Le.objectMode,Ke&&(this.objectMode=this.objectMode||!!Le.readableObjectMode),this.highWaterMark=pe(this,Le,"readableHighWaterMark",Ke),this.buffer=new re,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=Le.emitClose!==!1,this.autoDestroy=!!Le.autoDestroy,this.destroyed=!1,this.defaultEncoding=Le.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Le.encoding&&(Te||(Te=oe("string_decoder/").StringDecoder),this.decoder=new Te(Le.encoding),this.encoding=Le.encoding)}function lt(Le){if(Ee=Ee||oe("./_stream_duplex"),!(this instanceof lt))return new lt(Le);var Ge=this instanceof Ee;this._readableState=new et(Le,this,Ge),this.readable=!0,Le&&(typeof Le.read=="function"&&(this._read=Le.read),typeof Le.destroy=="function"&&(this._destroy=Le.destroy)),De.call(this)}Object.defineProperty(lt.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Ge){this._readableState&&(this._readableState.destroyed=Ge)}}),lt.prototype.destroy=le.destroy,lt.prototype._undestroy=le.undestroy,lt.prototype._destroy=function(Le,Ge){Ge(Le)},lt.prototype.push=function(Le,Ge){var Ke=this._readableState,Xe;return Ke.objectMode?Xe=!0:typeof Le=="string"&&(Ge=Ge||Ke.defaultEncoding,Ge!==Ke.encoding&&(Le=me.from(Le,Ge),Ge=""),Xe=!0),ut(this,Le,Ge,!1,Xe)},lt.prototype.unshift=function(Le){return ut(this,Le,null,!0,!1)};function ut(Le,Ge,Ke,Xe,Qe){ae("readableAddChunk",Ge);var ht=Le._readableState;if(Ge===null)ht.reading=!1,xt(Le,ht);else{var Et;if(Qe||(Et=tt(ht,Ge)),Et)$e(Le,Et);else if(ht.objectMode||Ge&&Ge.length>0)if(typeof Ge!="string"&&!ht.objectMode&&Object.getPrototypeOf(Ge)!==me.prototype&&(Ge=fe(Ge)),Xe)ht.endEmitted?$e(Le,new Oe):vt(Le,ht,Ge,!0);else if(ht.ended)$e(Le,new Ie);else{if(ht.destroyed)return!1;ht.reading=!1,ht.decoder&&!Ke?(Ge=ht.decoder.write(Ge),ht.objectMode||Ge.length!==0?vt(Le,ht,Ge,!1):yt(Le,ht)):vt(Le,ht,Ge,!1)}else Xe||(ht.reading=!1,yt(Le,ht))}return!ht.ended&&(ht.length<ht.highWaterMark||ht.length===0)}function vt(Le,Ge,Ke,Xe){Ge.flowing&&Ge.length===0&&!Ge.sync?(Ge.awaitDrain=0,Le.emit("data",Ke)):(Ge.length+=Ge.objectMode?1:Ke.length,Xe?Ge.buffer.unshift(Ke):Ge.buffer.push(Ke),Ge.needReadable&&ft(Le)),yt(Le,Ge)}function tt(Le,Ge){var Ke;return!z(Ge)&&typeof Ge!="string"&&Ge!==void 0&&!Le.objectMode&&(Ke=new be("chunk",["string","Buffer","Uint8Array"],Ge)),Ke}lt.prototype.isPaused=function(){return this._readableState.flowing===!1},lt.prototype.setEncoding=function(Le){Te||(Te=oe("string_decoder/").StringDecoder);var Ge=new Te(Le);this._readableState.decoder=Ge,this._readableState.encoding=this._readableState.decoder.encoding;for(var Ke=this._readableState.buffer.head,Xe="";Ke!==null;)Xe+=Ge.write(Ke.data),Ke=Ke.next;return this._readableState.buffer.clear(),Xe!==""&&this._readableState.buffer.push(Xe),this._readableState.length=Xe.length,this};var at=1073741824;function dt(Le){return Le>=at?Le=at:(Le--,Le|=Le>>>1,Le|=Le>>>2,Le|=Le>>>4,Le|=Le>>>8,Le|=Le>>>16,Le++),Le}function St(Le,Ge){return Le<=0||Ge.length===0&&Ge.ended?0:Ge.objectMode?1:Le!==Le?Ge.flowing&&Ge.length?Ge.buffer.head.data.length:Ge.length:(Le>Ge.highWaterMark&&(Ge.highWaterMark=dt(Le)),Le<=Ge.length?Le:Ge.ended?Ge.length:(Ge.needReadable=!0,0))}lt.prototype.read=function(Le){ae("read",Le),Le=parseInt(Le,10);var Ge=this._readableState,Ke=Le;if(Le!==0&&(Ge.emittedReadable=!1),Le===0&&Ge.needReadable&&((Ge.highWaterMark!==0?Ge.length>=Ge.highWaterMark:Ge.length>0)||Ge.ended))return ae("read: emitReadable",Ge.length,Ge.ended),Ge.length===0&&Ge.ended?Ce(this):ft(this),null;if(Le=St(Le,Ge),Le===0&&Ge.ended)return Ge.length===0&&Ce(this),null;var Xe=Ge.needReadable;ae("need readable",Xe),(Ge.length===0||Ge.length-Le<Ge.highWaterMark)&&(Xe=!0,ae("length less than watermark",Xe)),Ge.ended||Ge.reading?(Xe=!1,ae("reading or ended",Xe)):Xe&&(ae("do read"),Ge.reading=!0,Ge.sync=!0,Ge.length===0&&(Ge.needReadable=!0),this._read(Ge.highWaterMark),Ge.sync=!1,Ge.reading||(Le=St(Ke,Ge)));var Qe;return Le>0?Qe=we(Le,Ge):Qe=null,Qe===null?(Ge.needReadable=Ge.length<=Ge.highWaterMark,Le=0):(Ge.length-=Le,Ge.awaitDrain=0),Ge.length===0&&(Ge.ended||(Ge.needReadable=!0),Ke!==Le&&Ge.ended&&Ce(this)),Qe!==null&&this.emit("data",Qe),Qe};function xt(Le,Ge){if(ae("onEofChunk"),!Ge.ended){if(Ge.decoder){var Ke=Ge.decoder.end();Ke&&Ke.length&&(Ge.buffer.push(Ke),Ge.length+=Ge.objectMode?1:Ke.length)}Ge.ended=!0,Ge.sync?ft(Le):(Ge.needReadable=!1,Ge.emittedReadable||(Ge.emittedReadable=!0,pt(Le)))}}function ft(Le){var Ge=Le._readableState;ae("emitReadable",Ge.needReadable,Ge.emittedReadable),Ge.needReadable=!1,Ge.emittedReadable||(ae("emitReadable",Ge.flowing),Ge.emittedReadable=!0,ge.nextTick(pt,Le))}function pt(Le){var Ge=Le._readableState;ae("emitReadable_",Ge.destroyed,Ge.length,Ge.ended),!Ge.destroyed&&(Ge.length||Ge.ended)&&(Le.emit("readable"),Ge.emittedReadable=!1),Ge.needReadable=!Ge.flowing&&!Ge.ended&&Ge.length<=Ge.highWaterMark,_e(Le)}function yt(Le,Ge){Ge.readingMore||(Ge.readingMore=!0,ge.nextTick(Tt,Le,Ge))}function Tt(Le,Ge){for(;!Ge.reading&&!Ge.ended&&(Ge.length<Ge.highWaterMark||Ge.flowing&&Ge.length===0);){var Ke=Ge.length;if(ae("maybeReadMore read 0"),Le.read(0),Ke===Ge.length)break}Ge.readingMore=!1}lt.prototype._read=function(Le){$e(this,new Me("_read()"))},lt.prototype.pipe=function(Le,Ge){var Ke=this,Xe=this._readableState;switch(Xe.pipesCount){case 0:Xe.pipes=Le;break;case 1:Xe.pipes=[Xe.pipes,Le];break;default:Xe.pipes.push(Le);break}Xe.pipesCount+=1,ae("pipe count=%d opts=%j",Xe.pipesCount,Ge);var Qe=(!Ge||Ge.end!==!1)&&Le!==ge.stdout&&Le!==ge.stderr,ht=Qe?mt:_t;Xe.endEmitted?ge.nextTick(ht):Ke.once("end",ht),Le.on("unpipe",Et);function Et(en,on){ae("onunpipe"),en===Ke&&on&&on.hasUnpiped===!1&&(on.hasUnpiped=!0,jt())}function mt(){ae("onend"),Le.end()}var Ft=At(Ke);Le.on("drain",Ft);var Kt=!1;function jt(){ae("cleanup"),Le.removeListener("close",nn),Le.removeListener("finish",Bt),Le.removeListener("drain",Ft),Le.removeListener("error",Vt),Le.removeListener("unpipe",Et),Ke.removeListener("end",mt),Ke.removeListener("end",_t),Ke.removeListener("data",Wt),Kt=!0,Xe.awaitDrain&&(!Le._writableState||Le._writableState.needDrain)&&Ft()}Ke.on("data",Wt);function Wt(en){ae("ondata");var on=Le.write(en);ae("dest.write",on),on===!1&&((Xe.pipesCount===1&&Xe.pipes===Le||Xe.pipesCount>1&&Je(Xe.pipes,Le)!==-1)&&!Kt&&(ae("false write response, pause",Xe.awaitDrain),Xe.awaitDrain++),Ke.pause())}function Vt(en){ae("onerror",en),_t(),Le.removeListener("error",Vt),ye(Le,"error")===0&&$e(Le,en)}qe(Le,"error",Vt);function nn(){Le.removeListener("finish",Bt),_t()}Le.once("close",nn);function Bt(){ae("onfinish"),Le.removeListener("close",nn),_t()}Le.once("finish",Bt);function _t(){ae("unpipe"),Ke.unpipe(Le)}return Le.emit("pipe",Ke),Xe.flowing||(ae("pipe resume"),Ke.resume()),Le};function At(Le){return function(){var Ke=Le._readableState;ae("pipeOnDrain",Ke.awaitDrain),Ke.awaitDrain&&Ke.awaitDrain--,Ke.awaitDrain===0&&ye(Le,"data")&&(Ke.flowing=!0,_e(Le))}}lt.prototype.unpipe=function(Le){var Ge=this._readableState,Ke={hasUnpiped:!1};if(Ge.pipesCount===0)return this;if(Ge.pipesCount===1)return Le&&Le!==Ge.pipes?this:(Le||(Le=Ge.pipes),Ge.pipes=null,Ge.pipesCount=0,Ge.flowing=!1,Le&&Le.emit("unpipe",this,Ke),this);if(!Le){var Xe=Ge.pipes,Qe=Ge.pipesCount;Ge.pipes=null,Ge.pipesCount=0,Ge.flowing=!1;for(var ht=0;ht<Qe;ht++)Xe[ht].emit("unpipe",this,{hasUnpiped:!1});return this}var Et=Je(Ge.pipes,Le);return Et===-1?this:(Ge.pipes.splice(Et,1),Ge.pipesCount-=1,Ge.pipesCount===1&&(Ge.pipes=Ge.pipes[0]),Le.emit("unpipe",this,Ke),this)},lt.prototype.on=function(Le,Ge){var Ke=De.prototype.on.call(this,Le,Ge),Xe=this._readableState;return Le==="data"?(Xe.readableListening=this.listenerCount("readable")>0,Xe.flowing!==!1&&this.resume()):Le==="readable"&&!Xe.endEmitted&&!Xe.readableListening&&(Xe.readableListening=Xe.needReadable=!0,Xe.flowing=!1,Xe.emittedReadable=!1,ae("on readable",Xe.length,Xe.reading),Xe.length?ft(this):Xe.reading||ge.nextTick(wt,this)),Ke},lt.prototype.addListener=lt.prototype.on,lt.prototype.removeListener=function(Le,Ge){var Ke=De.prototype.removeListener.call(this,Le,Ge);return Le==="readable"&&ge.nextTick(Gt,this),Ke},lt.prototype.removeAllListeners=function(Le){var Ge=De.prototype.removeAllListeners.apply(this,arguments);return(Le==="readable"||Le===void 0)&&ge.nextTick(Gt,this),Ge};function Gt(Le){var Ge=Le._readableState;Ge.readableListening=Le.listenerCount("readable")>0,Ge.resumeScheduled&&!Ge.paused?Ge.flowing=!0:Le.listenerCount("data")>0&&Le.resume()}function wt(Le){ae("readable nexttick read 0"),Le.read(0)}lt.prototype.resume=function(){var Le=this._readableState;return Le.flowing||(ae("resume"),Le.flowing=!Le.readableListening,bt(this,Le)),Le.paused=!1,this};function bt(Le,Ge){Ge.resumeScheduled||(Ge.resumeScheduled=!0,ge.nextTick(it,Le,Ge))}function it(Le,Ge){ae("resume",Ge.reading),Ge.reading||Le.read(0),Ge.resumeScheduled=!1,Le.emit("resume"),_e(Le),Ge.flowing&&!Ge.reading&&Le.read(0)}lt.prototype.pause=function(){return ae("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(ae("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function _e(Le){var Ge=Le._readableState;for(ae("flow",Ge.flowing);Ge.flowing&&Le.read()!==null;);}lt.prototype.wrap=function(Le){var Ge=this,Ke=this._readableState,Xe=!1;Le.on("end",function(){if(ae("wrapped end"),Ke.decoder&&!Ke.ended){var Et=Ke.decoder.end();Et&&Et.length&&Ge.push(Et)}Ge.push(null)}),Le.on("data",function(Et){if(ae("wrapped data"),Ke.decoder&&(Et=Ke.decoder.write(Et)),!(Ke.objectMode&&Et==null)&&!(!Ke.objectMode&&(!Et||!Et.length))){var mt=Ge.push(Et);mt||(Xe=!0,Le.pause())}});for(var Qe in Le)this[Qe]===void 0&&typeof Le[Qe]=="function"&&(this[Qe]=function(mt){return function(){return Le[mt].apply(Le,arguments)}}(Qe));for(var ht=0;ht<Ue.length;ht++)Le.on(Ue[ht],this.emit.bind(this,Ue[ht]));return this._read=function(Et){ae("wrapped _read",Et),Xe&&(Xe=!1,Le.resume())},this},typeof Symbol=="function"&&(lt.prototype[Symbol.asyncIterator]=function(){return je===void 0&&(je=oe("./internal/streams/async_iterator")),je(this)}),Object.defineProperty(lt.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(lt.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(lt.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Ge){this._readableState&&(this._readableState.flowing=Ge)}}),lt._fromList=we,Object.defineProperty(lt.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function we(Le,Ge){if(Ge.length===0)return null;var Ke;return Ge.objectMode?Ke=Ge.buffer.shift():!Le||Le>=Ge.length?(Ge.decoder?Ke=Ge.buffer.join(""):Ge.buffer.length===1?Ke=Ge.buffer.first():Ke=Ge.buffer.concat(Ge.length),Ge.buffer.clear()):Ke=Ge.buffer.consume(Le,Ge.decoder),Ke}function Ce(Le){var Ge=Le._readableState;ae("endReadable",Ge.endEmitted),Ge.endEmitted||(Ge.ended=!0,ge.nextTick(Ye,Ge,Le))}function Ye(Le,Ge){if(ae("endReadableNT",Le.endEmitted,Le.length),!Le.endEmitted&&Le.length===0&&(Le.endEmitted=!0,Ge.readable=!1,Ge.emit("end"),Le.autoDestroy)){var Ke=Ge._writableState;(!Ke||Ke.autoDestroy&&Ke.finished)&&Ge.destroy()}}typeof Symbol=="function"&&(lt.from=function(Le,Ge){return ze===void 0&&(ze=oe("./internal/streams/from")),ze(lt,Le,Ge)});function Je(Le,Ge){for(var Ke=0,Xe=Le.length;Ke<Xe;Ke++)if(Le[Ke]===Ge)return Ke;return-1}}).call(this)}).call(this,oe("_process"),typeof fn!="undefined"?fn:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"../errors":399,"./_stream_duplex":400,"./internal/streams/async_iterator":405,"./internal/streams/buffer_list":406,"./internal/streams/destroy":407,"./internal/streams/from":409,"./internal/streams/state":411,"./internal/streams/stream":412,_process:467,buffer:90,events:344,inherits:364,"string_decoder/":413,util:89}],403:[function(oe,Ze,Ne){"use strict";Ze.exports=xe;var ge=oe("../errors").codes,ce=ge.ERR_METHOD_NOT_IMPLEMENTED,Ee=ge.ERR_MULTIPLE_CALLBACK,Ae=ge.ERR_TRANSFORM_ALREADY_TRANSFORMING,ye=ge.ERR_TRANSFORM_WITH_LENGTH_0,De=oe("./_stream_duplex");oe("inherits")(xe,De);function me(ee,ae){var re=this._transformState;re.transforming=!1;var le=re.writecb;if(le===null)return this.emit("error",new Ee);re.writechunk=null,re.writecb=null,ae!=null&&this.push(ae),le(ee);var ue=this._readableState;ue.reading=!1,(ue.needReadable||ue.length<ue.highWaterMark)&&this._read(ue.highWaterMark)}function xe(ee){if(!(this instanceof xe))return new xe(ee);De.call(this,ee),this._transformState={afterTransform:me.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,ee&&(typeof ee.transform=="function"&&(this._transform=ee.transform),typeof ee.flush=="function"&&(this._flush=ee.flush)),this.on("prefinish",fe)}function fe(){var ee=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(ae,re){z(ee,ae,re)}):z(this,null,null)}xe.prototype.push=function(ee,ae){return this._transformState.needTransform=!1,De.prototype.push.call(this,ee,ae)},xe.prototype._transform=function(ee,ae,re){re(new ce("_transform()"))},xe.prototype._write=function(ee,ae,re){var le=this._transformState;if(le.writecb=re,le.writechunk=ee,le.writeencoding=ae,!le.transforming){var ue=this._readableState;(le.needTransform||ue.needReadable||ue.length<ue.highWaterMark)&&this._read(ue.highWaterMark)}},xe.prototype._read=function(ee){var ae=this._transformState;ae.writechunk!==null&&!ae.transforming?(ae.transforming=!0,this._transform(ae.writechunk,ae.writeencoding,ae.afterTransform)):ae.needTransform=!0},xe.prototype._destroy=function(ee,ae){De.prototype._destroy.call(this,ee,function(re){ae(re)})};function z(ee,ae,re){if(ae)return ee.emit("error",ae);if(re!=null&&ee.push(re),ee._writableState.length)throw new ye;if(ee._transformState.transforming)throw new Ae;return ee.push(null)}},{"../errors":399,"./_stream_duplex":400,inherits:364}],404:[function(oe,Ze,Ne){(function(ge,ce){(function(){"use strict";Ze.exports=et;function Ee(_e,we,Ce){this.chunk=_e,this.encoding=we,this.callback=Ce,this.next=null}function Ae(_e){var we=this;this.next=null,this.entry=null,this.finish=function(){it(we,_e)}}var ye;et.WritableState=Ue;var De={deprecate:oe("util-deprecate")},me=oe("./internal/streams/stream"),xe=oe("buffer").Buffer,fe=(typeof ce!="undefined"?ce:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function z(_e){return xe.from(_e)}function ee(_e){return xe.isBuffer(_e)||_e instanceof fe}var ae=oe("./internal/streams/destroy"),re=oe("./internal/streams/state"),le=re.getHighWaterMark,ue=oe("../errors").codes,pe=ue.ERR_INVALID_ARG_TYPE,Pe=ue.ERR_METHOD_NOT_IMPLEMENTED,be=ue.ERR_MULTIPLE_CALLBACK,Ie=ue.ERR_STREAM_CANNOT_PIPE,Me=ue.ERR_STREAM_DESTROYED,Oe=ue.ERR_STREAM_NULL_VALUES,Te=ue.ERR_STREAM_WRITE_AFTER_END,je=ue.ERR_UNKNOWN_ENCODING,ze=ae.errorOrDestroy;oe("inherits")(et,me);function $e(){}function Ue(_e,we,Ce){ye=ye||oe("./_stream_duplex"),_e=_e||{},typeof Ce!="boolean"&&(Ce=we instanceof ye),this.objectMode=!!_e.objectMode,Ce&&(this.objectMode=this.objectMode||!!_e.writableObjectMode),this.highWaterMark=le(this,_e,"writableHighWaterMark",Ce),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Ye=_e.decodeStrings===!1;this.decodeStrings=!Ye,this.defaultEncoding=_e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Je){xt(we,Je)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=_e.emitClose!==!1,this.autoDestroy=!!_e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new Ae(this)}Ue.prototype.getBuffer=function(){for(var we=this.bufferedRequest,Ce=[];we;)Ce.push(we),we=we.next;return Ce},function(){try{Object.defineProperty(Ue.prototype,"buffer",{get:De.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(_e){}}();var qe;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(qe=Function.prototype[Symbol.hasInstance],Object.defineProperty(et,Symbol.hasInstance,{value:function(we){return qe.call(this,we)?!0:this!==et?!1:we&&we._writableState instanceof Ue}})):qe=function(we){return we instanceof this};function et(_e){ye=ye||oe("./_stream_duplex");var we=this instanceof ye;if(!we&&!qe.call(et,this))return new et(_e);this._writableState=new Ue(_e,this,we),this.writable=!0,_e&&(typeof _e.write=="function"&&(this._write=_e.write),typeof _e.writev=="function"&&(this._writev=_e.writev),typeof _e.destroy=="function"&&(this._destroy=_e.destroy),typeof _e.final=="function"&&(this._final=_e.final)),me.call(this)}et.prototype.pipe=function(){ze(this,new Ie)};function lt(_e,we){var Ce=new Te;ze(_e,Ce),ge.nextTick(we,Ce)}function ut(_e,we,Ce,Ye){var Je;return Ce===null?Je=new Oe:typeof Ce!="string"&&!we.objectMode&&(Je=new pe("chunk",["string","Buffer"],Ce)),Je?(ze(_e,Je),ge.nextTick(Ye,Je),!1):!0}et.prototype.write=function(_e,we,Ce){var Ye=this._writableState,Je=!1,Le=!Ye.objectMode&&ee(_e);return Le&&!xe.isBuffer(_e)&&(_e=z(_e)),typeof we=="function"&&(Ce=we,we=null),Le?we="buffer":we||(we=Ye.defaultEncoding),typeof Ce!="function"&&(Ce=$e),Ye.ending?lt(this,Ce):(Le||ut(this,Ye,_e,Ce))&&(Ye.pendingcb++,Je=tt(this,Ye,Le,_e,we,Ce)),Je},et.prototype.cork=function(){this._writableState.corked++},et.prototype.uncork=function(){var _e=this._writableState;_e.corked&&(_e.corked--,!_e.writing&&!_e.corked&&!_e.bufferProcessing&&_e.bufferedRequest&&yt(this,_e))},et.prototype.setDefaultEncoding=function(we){if(typeof we=="string"&&(we=we.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((we+"").toLowerCase())>-1))throw new je(we);return this._writableState.defaultEncoding=we,this},Object.defineProperty(et.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function vt(_e,we,Ce){return!_e.objectMode&&_e.decodeStrings!==!1&&typeof we=="string"&&(we=xe.from(we,Ce)),we}Object.defineProperty(et.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function tt(_e,we,Ce,Ye,Je,Le){if(!Ce){var Ge=vt(we,Ye,Je);Ye!==Ge&&(Ce=!0,Je="buffer",Ye=Ge)}var Ke=we.objectMode?1:Ye.length;we.length+=Ke;var Xe=we.length<we.highWaterMark;if(Xe||(we.needDrain=!0),we.writing||we.corked){var Qe=we.lastBufferedRequest;we.lastBufferedRequest={chunk:Ye,encoding:Je,isBuf:Ce,callback:Le,next:null},Qe?Qe.next=we.lastBufferedRequest:we.bufferedRequest=we.lastBufferedRequest,we.bufferedRequestCount+=1}else at(_e,we,!1,Ke,Ye,Je,Le);return Xe}function at(_e,we,Ce,Ye,Je,Le,Ge){we.writelen=Ye,we.writecb=Ge,we.writing=!0,we.sync=!0,we.destroyed?we.onwrite(new Me("write")):Ce?_e._writev(Je,we.onwrite):_e._write(Je,Le,we.onwrite),we.sync=!1}function dt(_e,we,Ce,Ye,Je){--we.pendingcb,Ce?(ge.nextTick(Je,Ye),ge.nextTick(wt,_e,we),_e._writableState.errorEmitted=!0,ze(_e,Ye)):(Je(Ye),_e._writableState.errorEmitted=!0,ze(_e,Ye),wt(_e,we))}function St(_e){_e.writing=!1,_e.writecb=null,_e.length-=_e.writelen,_e.writelen=0}function xt(_e,we){var Ce=_e._writableState,Ye=Ce.sync,Je=Ce.writecb;if(typeof Je!="function")throw new be;if(St(Ce),we)dt(_e,Ce,Ye,we,Je);else{var Le=Tt(Ce)||_e.destroyed;!Le&&!Ce.corked&&!Ce.bufferProcessing&&Ce.bufferedRequest&&yt(_e,Ce),Ye?ge.nextTick(ft,_e,Ce,Le,Je):ft(_e,Ce,Le,Je)}}function ft(_e,we,Ce,Ye){Ce||pt(_e,we),we.pendingcb--,Ye(),wt(_e,we)}function pt(_e,we){we.length===0&&we.needDrain&&(we.needDrain=!1,_e.emit("drain"))}function yt(_e,we){we.bufferProcessing=!0;var Ce=we.bufferedRequest;if(_e._writev&&Ce&&Ce.next){var Ye=we.bufferedRequestCount,Je=new Array(Ye),Le=we.corkedRequestsFree;Le.entry=Ce;for(var Ge=0,Ke=!0;Ce;)Je[Ge]=Ce,Ce.isBuf||(Ke=!1),Ce=Ce.next,Ge+=1;Je.allBuffers=Ke,at(_e,we,!0,we.length,Je,"",Le.finish),we.pendingcb++,we.lastBufferedRequest=null,Le.next?(we.corkedRequestsFree=Le.next,Le.next=null):we.corkedRequestsFree=new Ae(we),we.bufferedRequestCount=0}else{for(;Ce;){var Xe=Ce.chunk,Qe=Ce.encoding,ht=Ce.callback,Et=we.objectMode?1:Xe.length;if(at(_e,we,!1,Et,Xe,Qe,ht),Ce=Ce.next,we.bufferedRequestCount--,we.writing)break}Ce===null&&(we.lastBufferedRequest=null)}we.bufferedRequest=Ce,we.bufferProcessing=!1}et.prototype._write=function(_e,we,Ce){Ce(new Pe("_write()"))},et.prototype._writev=null,et.prototype.end=function(_e,we,Ce){var Ye=this._writableState;return typeof _e=="function"?(Ce=_e,_e=null,we=null):typeof we=="function"&&(Ce=we,we=null),_e!=null&&this.write(_e,we),Ye.corked&&(Ye.corked=1,this.uncork()),Ye.ending||bt(this,Ye,Ce),this},Object.defineProperty(et.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Tt(_e){return _e.ending&&_e.length===0&&_e.bufferedRequest===null&&!_e.finished&&!_e.writing}function At(_e,we){_e._final(function(Ce){we.pendingcb--,Ce&&ze(_e,Ce),we.prefinished=!0,_e.emit("prefinish"),wt(_e,we)})}function Gt(_e,we){!we.prefinished&&!we.finalCalled&&(typeof _e._final=="function"&&!we.destroyed?(we.pendingcb++,we.finalCalled=!0,ge.nextTick(At,_e,we)):(we.prefinished=!0,_e.emit("prefinish")))}function wt(_e,we){var Ce=Tt(we);if(Ce&&(Gt(_e,we),we.pendingcb===0&&(we.finished=!0,_e.emit("finish"),we.autoDestroy))){var Ye=_e._readableState;(!Ye||Ye.autoDestroy&&Ye.endEmitted)&&_e.destroy()}return Ce}function bt(_e,we,Ce){we.ending=!0,wt(_e,we),Ce&&(we.finished?ge.nextTick(Ce):_e.once("finish",Ce)),we.ended=!0,_e.writable=!1}function it(_e,we,Ce){var Ye=_e.entry;for(_e.entry=null;Ye;){var Je=Ye.callback;we.pendingcb--,Je(Ce),Ye=Ye.next}we.corkedRequestsFree.next=_e}Object.defineProperty(et.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(we){this._writableState&&(this._writableState.destroyed=we)}}),et.prototype.destroy=ae.destroy,et.prototype._undestroy=ae.undestroy,et.prototype._destroy=function(_e,we){we(_e)}}).call(this)}).call(this,oe("_process"),typeof fn!="undefined"?fn:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"../errors":399,"./_stream_duplex":400,"./internal/streams/destroy":407,"./internal/streams/state":411,"./internal/streams/stream":412,_process:467,buffer:90,inherits:364,"util-deprecate":416}],405:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";var ce;function Ee(Oe,Te,je){return Te=Ae(Te),Te in Oe?Object.defineProperty(Oe,Te,{value:je,enumerable:!0,configurable:!0,writable:!0}):Oe[Te]=je,Oe}function Ae(Oe){var Te=ye(Oe,"string");return typeof Te=="symbol"?Te:String(Te)}function ye(Oe,Te){if(typeof Oe!="object"||Oe===null)return Oe;var je=Oe[Symbol.toPrimitive];if(je!==void 0){var ze=je.call(Oe,Te||"default");if(typeof ze!="object")return ze;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Te==="string"?String:Number)(Oe)}var De=oe("./end-of-stream"),me=Symbol("lastResolve"),xe=Symbol("lastReject"),fe=Symbol("error"),z=Symbol("ended"),ee=Symbol("lastPromise"),ae=Symbol("handlePromise"),re=Symbol("stream");function le(Oe,Te){return{value:Oe,done:Te}}function ue(Oe){var Te=Oe[me];if(Te!==null){var je=Oe[re].read();je!==null&&(Oe[ee]=null,Oe[me]=null,Oe[xe]=null,Te(le(je,!1)))}}function pe(Oe){ge.nextTick(ue,Oe)}function Pe(Oe,Te){return function(je,ze){Oe.then(function(){if(Te[z]){je(le(void 0,!0));return}Te[ae](je,ze)},ze)}}var be=Object.getPrototypeOf(function(){}),Ie=Object.setPrototypeOf((ce={get stream(){return this[re]},next:function(){var Te=this,je=this[fe];if(je!==null)return Promise.reject(je);if(this[z])return Promise.resolve(le(void 0,!0));if(this[re].destroyed)return new Promise(function(qe,et){ge.nextTick(function(){Te[fe]?et(Te[fe]):qe(le(void 0,!0))})});var ze=this[ee],$e;if(ze)$e=new Promise(Pe(ze,this));else{var Ue=this[re].read();if(Ue!==null)return Promise.resolve(le(Ue,!1));$e=new Promise(this[ae])}return this[ee]=$e,$e}},Ee(ce,Symbol.asyncIterator,function(){return this}),Ee(ce,"return",function(){var Te=this;return new Promise(function(je,ze){Te[re].destroy(null,function($e){if($e){ze($e);return}je(le(void 0,!0))})})}),ce),be),Me=function(Te){var je,ze=Object.create(Ie,(je={},Ee(je,re,{value:Te,writable:!0}),Ee(je,me,{value:null,writable:!0}),Ee(je,xe,{value:null,writable:!0}),Ee(je,fe,{value:null,writable:!0}),Ee(je,z,{value:Te._readableState.endEmitted,writable:!0}),Ee(je,ae,{value:function(Ue,qe){var et=ze[re].read();et?(ze[ee]=null,ze[me]=null,ze[xe]=null,Ue(le(et,!1))):(ze[me]=Ue,ze[xe]=qe)},writable:!0}),je));return ze[ee]=null,De(Te,function($e){if($e&&$e.code!=="ERR_STREAM_PREMATURE_CLOSE"){var Ue=ze[xe];Ue!==null&&(ze[ee]=null,ze[me]=null,ze[xe]=null,Ue($e)),ze[fe]=$e;return}var qe=ze[me];qe!==null&&(ze[ee]=null,ze[me]=null,ze[xe]=null,qe(le(void 0,!0))),ze[z]=!0}),Te.on("readable",pe.bind(null,ze)),ze};Ze.exports=Me}).call(this)}).call(this,oe("_process"))},{"./end-of-stream":408,_process:467}],406:[function(oe,Ze,Ne){"use strict";function ge(ue,pe){var Pe=Object.keys(ue);if(Object.getOwnPropertySymbols){var be=Object.getOwnPropertySymbols(ue);pe&&(be=be.filter(function(Ie){return Object.getOwnPropertyDescriptor(ue,Ie).enumerable})),Pe.push.apply(Pe,be)}return Pe}function ce(ue){for(var pe=1;pe<arguments.length;pe++){var Pe=arguments[pe]!=null?arguments[pe]:{};pe%2?ge(Object(Pe),!0).forEach(function(be){Ee(ue,be,Pe[be])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ue,Object.getOwnPropertyDescriptors(Pe)):ge(Object(Pe)).forEach(function(be){Object.defineProperty(ue,be,Object.getOwnPropertyDescriptor(Pe,be))})}return ue}function Ee(ue,pe,Pe){return pe=me(pe),pe in ue?Object.defineProperty(ue,pe,{value:Pe,enumerable:!0,configurable:!0,writable:!0}):ue[pe]=Pe,ue}function Ae(ue,pe){if(!(ue instanceof pe))throw new TypeError("Cannot call a class as a function")}function ye(ue,pe){for(var Pe=0;Pe<pe.length;Pe++){var be=pe[Pe];be.enumerable=be.enumerable||!1,be.configurable=!0,"value"in be&&(be.writable=!0),Object.defineProperty(ue,me(be.key),be)}}function De(ue,pe,Pe){return pe&&ye(ue.prototype,pe),Pe&&ye(ue,Pe),Object.defineProperty(ue,"prototype",{writable:!1}),ue}function me(ue){var pe=xe(ue,"string");return typeof pe=="symbol"?pe:String(pe)}function xe(ue,pe){if(typeof ue!="object"||ue===null)return ue;var Pe=ue[Symbol.toPrimitive];if(Pe!==void 0){var be=Pe.call(ue,pe||"default");if(typeof be!="object")return be;throw new TypeError("@@toPrimitive must return a primitive value.")}return(pe==="string"?String:Number)(ue)}var fe=oe("buffer"),z=fe.Buffer,ee=oe("util"),ae=ee.inspect,re=ae&&ae.custom||"inspect";function le(ue,pe,Pe){z.prototype.copy.call(ue,pe,Pe)}Ze.exports=function(){function ue(){Ae(this,ue),this.head=null,this.tail=null,this.length=0}return De(ue,[{key:"push",value:function(Pe){var be={data:Pe,next:null};this.length>0?this.tail.next=be:this.head=be,this.tail=be,++this.length}},{key:"unshift",value:function(Pe){var be={data:Pe,next:this.head};this.length===0&&(this.tail=be),this.head=be,++this.length}},{key:"shift",value:function(){if(this.length!==0){var Pe=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,Pe}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(Pe){if(this.length===0)return"";for(var be=this.head,Ie=""+be.data;be=be.next;)Ie+=Pe+be.data;return Ie}},{key:"concat",value:function(Pe){if(this.length===0)return z.alloc(0);for(var be=z.allocUnsafe(Pe>>>0),Ie=this.head,Me=0;Ie;)le(Ie.data,be,Me),Me+=Ie.data.length,Ie=Ie.next;return be}},{key:"consume",value:function(Pe,be){var Ie;return Pe<this.head.data.length?(Ie=this.head.data.slice(0,Pe),this.head.data=this.head.data.slice(Pe)):Pe===this.head.data.length?Ie=this.shift():Ie=be?this._getString(Pe):this._getBuffer(Pe),Ie}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(Pe){var be=this.head,Ie=1,Me=be.data;for(Pe-=Me.length;be=be.next;){var Oe=be.data,Te=Pe>Oe.length?Oe.length:Pe;if(Te===Oe.length?Me+=Oe:Me+=Oe.slice(0,Pe),Pe-=Te,Pe===0){Te===Oe.length?(++Ie,be.next?this.head=be.next:this.head=this.tail=null):(this.head=be,be.data=Oe.slice(Te));break}++Ie}return this.length-=Ie,Me}},{key:"_getBuffer",value:function(Pe){var be=z.allocUnsafe(Pe),Ie=this.head,Me=1;for(Ie.data.copy(be),Pe-=Ie.data.length;Ie=Ie.next;){var Oe=Ie.data,Te=Pe>Oe.length?Oe.length:Pe;if(Oe.copy(be,be.length-Pe,0,Te),Pe-=Te,Pe===0){Te===Oe.length?(++Me,Ie.next?this.head=Ie.next:this.head=this.tail=null):(this.head=Ie,Ie.data=Oe.slice(Te));break}++Me}return this.length-=Me,be}},{key:re,value:function(Pe,be){return ae(this,ce(ce({},be),{},{depth:0,customInspect:!1}))}}]),ue}()},{buffer:90,util:89}],407:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";function ce(xe,fe){var z=this,ee=this._readableState&&this._readableState.destroyed,ae=this._writableState&&this._writableState.destroyed;return ee||ae?(fe?fe(xe):xe&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,ge.nextTick(De,this,xe)):ge.nextTick(De,this,xe)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(xe||null,function(re){!fe&&re?z._writableState?z._writableState.errorEmitted?ge.nextTick(Ae,z):(z._writableState.errorEmitted=!0,ge.nextTick(Ee,z,re)):ge.nextTick(Ee,z,re):fe?(ge.nextTick(Ae,z),fe(re)):ge.nextTick(Ae,z)}),this)}function Ee(xe,fe){De(xe,fe),Ae(xe)}function Ae(xe){xe._writableState&&!xe._writableState.emitClose||xe._readableState&&!xe._readableState.emitClose||xe.emit("close")}function ye(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function De(xe,fe){xe.emit("error",fe)}function me(xe,fe){var z=xe._readableState,ee=xe._writableState;z&&z.autoDestroy||ee&&ee.autoDestroy?xe.destroy(fe):xe.emit("error",fe)}Ze.exports={destroy:ce,undestroy:ye,errorOrDestroy:me}}).call(this)}).call(this,oe("_process"))},{_process:467}],408:[function(oe,Ze,Ne){"use strict";var ge=oe("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function ce(De){var me=!1;return function(){if(!me){me=!0;for(var xe=arguments.length,fe=new Array(xe),z=0;z<xe;z++)fe[z]=arguments[z];De.apply(this,fe)}}}function Ee(){}function Ae(De){return De.setHeader&&typeof De.abort=="function"}function ye(De,me,xe){if(typeof me=="function")return ye(De,null,me);me||(me={}),xe=ce(xe||Ee);var fe=me.readable||me.readable!==!1&&De.readable,z=me.writable||me.writable!==!1&&De.writable,ee=function(){De.writable||re()},ae=De._writableState&&De._writableState.finished,re=function(){z=!1,ae=!0,fe||xe.call(De)},le=De._readableState&&De._readableState.endEmitted,ue=function(){fe=!1,le=!0,z||xe.call(De)},pe=function(Me){xe.call(De,Me)},Pe=function(){var Me;if(fe&&!le)return(!De._readableState||!De._readableState.ended)&&(Me=new ge),xe.call(De,Me);if(z&&!ae)return(!De._writableState||!De._writableState.ended)&&(Me=new ge),xe.call(De,Me)},be=function(){De.req.on("finish",re)};return Ae(De)?(De.on("complete",re),De.on("abort",Pe),De.req?be():De.on("request",be)):z&&!De._writableState&&(De.on("end",ee),De.on("close",ee)),De.on("end",ue),De.on("finish",re),me.error!==!1&&De.on("error",pe),De.on("close",Pe),function(){De.removeListener("complete",re),De.removeListener("abort",Pe),De.removeListener("request",be),De.req&&De.req.removeListener("finish",re),De.removeListener("end",ee),De.removeListener("close",ee),De.removeListener("finish",re),De.removeListener("end",ue),De.removeListener("error",pe),De.removeListener("close",Pe)}}Ze.exports=ye},{"../../../errors":399}],409:[function(oe,Ze,Ne){Ze.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],410:[function(oe,Ze,Ne){"use strict";var ge;function ce(re){var le=!1;return function(){le||(le=!0,re.apply(void 0,arguments))}}var Ee=oe("../../../errors").codes,Ae=Ee.ERR_MISSING_ARGS,ye=Ee.ERR_STREAM_DESTROYED;function De(re){if(re)throw re}function me(re){return re.setHeader&&typeof re.abort=="function"}function xe(re,le,ue,pe){pe=ce(pe);var Pe=!1;re.on("close",function(){Pe=!0}),ge===void 0&&(ge=oe("./end-of-stream")),ge(re,{readable:le,writable:ue},function(Ie){if(Ie)return pe(Ie);Pe=!0,pe()});var be=!1;return function(Ie){if(!Pe&&!be){if(be=!0,me(re))return re.abort();if(typeof re.destroy=="function")return re.destroy();pe(Ie||new ye("pipe"))}}}function fe(re){re()}function z(re,le){return re.pipe(le)}function ee(re){return!re.length||typeof re[re.length-1]!="function"?De:re.pop()}function ae(){for(var re=arguments.length,le=new Array(re),ue=0;ue<re;ue++)le[ue]=arguments[ue];var pe=ee(le);if(Array.isArray(le[0])&&(le=le[0]),le.length<2)throw new Ae("streams");var Pe,be=le.map(function(Ie,Me){var Oe=Me<le.length-1,Te=Me>0;return xe(Ie,Oe,Te,function(je){Pe||(Pe=je),je&&be.forEach(fe),!Oe&&(be.forEach(fe),pe(Pe))})});return le.reduce(z)}Ze.exports=ae},{"../../../errors":399,"./end-of-stream":408}],411:[function(oe,Ze,Ne){"use strict";var ge=oe("../../../errors").codes.ERR_INVALID_OPT_VALUE;function ce(Ae,ye,De){return Ae.highWaterMark!=null?Ae.highWaterMark:ye?Ae[De]:null}function Ee(Ae,ye,De,me){var xe=ce(ye,me,De);if(xe!=null){if(!(isFinite(xe)&&Math.floor(xe)===xe)||xe<0){var fe=me?De:"highWaterMark";throw new ge(fe,xe)}return Math.floor(xe)}return Ae.objectMode?16:16*1024}Ze.exports={getHighWaterMark:Ee}},{"../../../errors":399}],412:[function(oe,Ze,Ne){arguments[4][393][0].apply(Ne,arguments)},{dup:393,events:344}],413:[function(oe,Ze,Ne){"use strict";var ge=oe("safe-buffer").Buffer,ce=ge.isEncoding||function(be){switch(be=""+be,be&&be.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function Ee(be){if(!be)return"utf8";for(var Ie;;)switch(be){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return be;default:if(Ie)return;be=(""+be).toLowerCase(),Ie=!0}}function Ae(be){var Ie=Ee(be);if(typeof Ie!="string"&&(ge.isEncoding===ce||!ce(be)))throw new Error("Unknown encoding: "+be);return Ie||be}Ne.StringDecoder=ye;function ye(be){this.encoding=Ae(be);var Ie;switch(this.encoding){case"utf16le":this.text=ae,this.end=re,Ie=4;break;case"utf8":this.fillLast=fe,Ie=4;break;case"base64":this.text=le,this.end=ue,Ie=3;break;default:this.write=pe,this.end=Pe;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=ge.allocUnsafe(Ie)}ye.prototype.write=function(be){if(be.length===0)return"";var Ie,Me;if(this.lastNeed){if(Ie=this.fillLast(be),Ie===void 0)return"";Me=this.lastNeed,this.lastNeed=0}else Me=0;return Me<be.length?Ie?Ie+this.text(be,Me):this.text(be,Me):Ie||""},ye.prototype.end=ee,ye.prototype.text=z,ye.prototype.fillLast=function(be){if(this.lastNeed<=be.length)return be.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);be.copy(this.lastChar,this.lastTotal-this.lastNeed,0,be.length),this.lastNeed-=be.length};function De(be){return be<=127?0:be>>5===6?2:be>>4===14?3:be>>3===30?4:be>>6===2?-1:-2}function me(be,Ie,Me){var Oe=Ie.length-1;if(Oe<Me)return 0;var Te=De(Ie[Oe]);return Te>=0?(Te>0&&(be.lastNeed=Te-1),Te):--Oe<Me||Te===-2?0:(Te=De(Ie[Oe]),Te>=0?(Te>0&&(be.lastNeed=Te-2),Te):--Oe<Me||Te===-2?0:(Te=De(Ie[Oe]),Te>=0?(Te>0&&(Te===2?Te=0:be.lastNeed=Te-3),Te):0))}function xe(be,Ie,Me){if((Ie[0]&192)!==128)return be.lastNeed=0,"\uFFFD";if(be.lastNeed>1&&Ie.length>1){if((Ie[1]&192)!==128)return be.lastNeed=1,"\uFFFD";if(be.lastNeed>2&&Ie.length>2&&(Ie[2]&192)!==128)return be.lastNeed=2,"\uFFFD"}}function fe(be){var Ie=this.lastTotal-this.lastNeed,Me=xe(this,be,Ie);if(Me!==void 0)return Me;if(this.lastNeed<=be.length)return be.copy(this.lastChar,Ie,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);be.copy(this.lastChar,Ie,0,be.length),this.lastNeed-=be.length}function z(be,Ie){var Me=me(this,be,Ie);if(!this.lastNeed)return be.toString("utf8",Ie);this.lastTotal=Me;var Oe=be.length-(Me-this.lastNeed);return be.copy(this.lastChar,0,Oe),be.toString("utf8",Ie,Oe)}function ee(be){var Ie=be&&be.length?this.write(be):"";return this.lastNeed?Ie+"\uFFFD":Ie}function ae(be,Ie){if((be.length-Ie)%2===0){var Me=be.toString("utf16le",Ie);if(Me){var Oe=Me.charCodeAt(Me.length-1);if(Oe>=55296&&Oe<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=be[be.length-2],this.lastChar[1]=be[be.length-1],Me.slice(0,-1)}return Me}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=be[be.length-1],be.toString("utf16le",Ie,be.length-1)}function re(be){var Ie=be&&be.length?this.write(be):"";if(this.lastNeed){var Me=this.lastTotal-this.lastNeed;return Ie+this.lastChar.toString("utf16le",0,Me)}return Ie}function le(be,Ie){var Me=(be.length-Ie)%3;return Me===0?be.toString("base64",Ie):(this.lastNeed=3-Me,this.lastTotal=3,Me===1?this.lastChar[0]=be[be.length-1]:(this.lastChar[0]=be[be.length-2],this.lastChar[1]=be[be.length-1]),be.toString("base64",Ie,be.length-Me))}function ue(be){var Ie=be&&be.length?this.write(be):"";return this.lastNeed?Ie+this.lastChar.toString("base64",0,3-this.lastNeed):Ie}function pe(be){return be.toString(this.encoding)}function Pe(be){return be&&be.length?this.write(be):""}},{"safe-buffer":396}],414:[function(oe,Ze,Ne){(function(ge,ce){(function(){var Ee=oe("process/browser.js").nextTick,Ae=Function.prototype.apply,ye=Array.prototype.slice,De={},me=0;Ne.setTimeout=function(){return new xe(Ae.call(setTimeout,window,arguments),clearTimeout)},Ne.setInterval=function(){return new xe(Ae.call(setInterval,window,arguments),clearInterval)},Ne.clearTimeout=Ne.clearInterval=function(fe){fe.close()};function xe(fe,z){this._id=fe,this._clearFn=z}xe.prototype.unref=xe.prototype.ref=function(){},xe.prototype.close=function(){this._clearFn.call(window,this._id)},Ne.enroll=function(fe,z){clearTimeout(fe._idleTimeoutId),fe._idleTimeout=z},Ne.unenroll=function(fe){clearTimeout(fe._idleTimeoutId),fe._idleTimeout=-1},Ne._unrefActive=Ne.active=function(fe){clearTimeout(fe._idleTimeoutId);var z=fe._idleTimeout;z>=0&&(fe._idleTimeoutId=setTimeout(function(){fe._onTimeout&&fe._onTimeout()},z))},Ne.setImmediate=typeof ge=="function"?ge:function(fe){var z=me++,ee=arguments.length<2?!1:ye.call(arguments,1);return De[z]=!0,Ee(function(){De[z]&&(ee?fe.apply(null,ee):fe.call(null),Ne.clearImmediate(z))}),z},Ne.clearImmediate=typeof ce=="function"?ce:function(fe){delete De[fe]}}).call(this)}).call(this,oe("timers").setImmediate,oe("timers").clearImmediate)},{"process/browser.js":381,timers:414}],415:[function(oe,Ze,Ne){var ge=oe("buffer").Buffer;Ze.exports=function(ce){if(ce instanceof Uint8Array){if(ce.byteOffset===0&&ce.byteLength===ce.buffer.byteLength)return ce.buffer;if(typeof ce.buffer.slice=="function")return ce.buffer.slice(ce.byteOffset,ce.byteOffset+ce.byteLength)}if(ge.isBuffer(ce)){for(var Ee=new Uint8Array(ce.length),Ae=ce.length,ye=0;ye<Ae;ye++)Ee[ye]=ce[ye];return Ee.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:90}],416:[function(oe,Ze,Ne){(function(ge){(function(){Ze.exports=ce;function ce(Ae,ye){if(Ee("noDeprecation"))return Ae;var De=!1;function me(){if(!De){if(Ee("throwDeprecation"))throw new Error(ye);Ee("traceDeprecation")?console.trace(ye):console.warn(ye),De=!0}return Ae.apply(this,arguments)}return me}function Ee(Ae){try{if(!ge.localStorage)return!1}catch(De){return!1}var ye=ge.localStorage[Ae];return ye==null?!1:String(ye).toLowerCase()==="true"}}).call(this)}).call(this,typeof fn!="undefined"?fn:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],417:[function(oe,Ze,Ne){arguments[4][84][0].apply(Ne,arguments)},{dup:84}],418:[function(oe,Ze,Ne){"use strict";var ge=oe("is-arguments"),ce=oe("is-generator-function"),Ee=oe("which-typed-array"),Ae=oe("is-typed-array");function ye(Qe){return Qe.call.bind(Qe)}var De=typeof BigInt!="undefined",me=typeof Symbol!="undefined",xe=ye(Object.prototype.toString),fe=ye(Number.prototype.valueOf),z=ye(String.prototype.valueOf),ee=ye(Boolean.prototype.valueOf);if(De)var ae=ye(BigInt.prototype.valueOf);if(me)var re=ye(Symbol.prototype.valueOf);function le(Qe,ht){if(typeof Qe!="object")return!1;try{return ht(Qe),!0}catch(Et){return!1}}Ne.isArgumentsObject=ge,Ne.isGeneratorFunction=ce,Ne.isTypedArray=Ae;function ue(Qe){return typeof Promise!="undefined"&&Qe instanceof Promise||Qe!==null&&typeof Qe=="object"&&typeof Qe.then=="function"&&typeof Qe.catch=="function"}Ne.isPromise=ue;function pe(Qe){return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?ArrayBuffer.isView(Qe):Ae(Qe)||yt(Qe)}Ne.isArrayBufferView=pe;function Pe(Qe){return Ee(Qe)==="Uint8Array"}Ne.isUint8Array=Pe;function be(Qe){return Ee(Qe)==="Uint8ClampedArray"}Ne.isUint8ClampedArray=be;function Ie(Qe){return Ee(Qe)==="Uint16Array"}Ne.isUint16Array=Ie;function Me(Qe){return Ee(Qe)==="Uint32Array"}Ne.isUint32Array=Me;function Oe(Qe){return Ee(Qe)==="Int8Array"}Ne.isInt8Array=Oe;function Te(Qe){return Ee(Qe)==="Int16Array"}Ne.isInt16Array=Te;function je(Qe){return Ee(Qe)==="Int32Array"}Ne.isInt32Array=je;function ze(Qe){return Ee(Qe)==="Float32Array"}Ne.isFloat32Array=ze;function $e(Qe){return Ee(Qe)==="Float64Array"}Ne.isFloat64Array=$e;function Ue(Qe){return Ee(Qe)==="BigInt64Array"}Ne.isBigInt64Array=Ue;function qe(Qe){return Ee(Qe)==="BigUint64Array"}Ne.isBigUint64Array=qe;function et(Qe){return xe(Qe)==="[object Map]"}et.working=typeof Map!="undefined"&&et(new Map);function lt(Qe){return typeof Map=="undefined"?!1:et.working?et(Qe):Qe instanceof Map}Ne.isMap=lt;function ut(Qe){return xe(Qe)==="[object Set]"}ut.working=typeof Set!="undefined"&&ut(new Set);function vt(Qe){return typeof Set=="undefined"?!1:ut.working?ut(Qe):Qe instanceof Set}Ne.isSet=vt;function tt(Qe){return xe(Qe)==="[object WeakMap]"}tt.working=typeof WeakMap!="undefined"&&tt(new WeakMap);function at(Qe){return typeof WeakMap=="undefined"?!1:tt.working?tt(Qe):Qe instanceof WeakMap}Ne.isWeakMap=at;function dt(Qe){return xe(Qe)==="[object WeakSet]"}dt.working=typeof WeakSet!="undefined"&&dt(new WeakSet);function St(Qe){return dt(Qe)}Ne.isWeakSet=St;function xt(Qe){return xe(Qe)==="[object ArrayBuffer]"}xt.working=typeof ArrayBuffer!="undefined"&&xt(new ArrayBuffer);function ft(Qe){return typeof ArrayBuffer=="undefined"?!1:xt.working?xt(Qe):Qe instanceof ArrayBuffer}Ne.isArrayBuffer=ft;function pt(Qe){return xe(Qe)==="[object DataView]"}pt.working=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"&&pt(new DataView(new ArrayBuffer(1),0,1));function yt(Qe){return typeof DataView=="undefined"?!1:pt.working?pt(Qe):Qe instanceof DataView}Ne.isDataView=yt;var Tt=typeof SharedArrayBuffer!="undefined"?SharedArrayBuffer:void 0;function At(Qe){return xe(Qe)==="[object SharedArrayBuffer]"}function Gt(Qe){return typeof Tt=="undefined"?!1:(typeof At.working=="undefined"&&(At.working=At(new Tt)),At.working?At(Qe):Qe instanceof Tt)}Ne.isSharedArrayBuffer=Gt;function wt(Qe){return xe(Qe)==="[object AsyncFunction]"}Ne.isAsyncFunction=wt;function bt(Qe){return xe(Qe)==="[object Map Iterator]"}Ne.isMapIterator=bt;function it(Qe){return xe(Qe)==="[object Set Iterator]"}Ne.isSetIterator=it;function _e(Qe){return xe(Qe)==="[object Generator]"}Ne.isGeneratorObject=_e;function we(Qe){return xe(Qe)==="[object WebAssembly.Module]"}Ne.isWebAssemblyCompiledModule=we;function Ce(Qe){return le(Qe,fe)}Ne.isNumberObject=Ce;function Ye(Qe){return le(Qe,z)}Ne.isStringObject=Ye;function Je(Qe){return le(Qe,ee)}Ne.isBooleanObject=Je;function Le(Qe){return De&&le(Qe,ae)}Ne.isBigIntObject=Le;function Ge(Qe){return me&&le(Qe,re)}Ne.isSymbolObject=Ge;function Ke(Qe){return Ce(Qe)||Ye(Qe)||Je(Qe)||Le(Qe)||Ge(Qe)}Ne.isBoxedPrimitive=Ke;function Xe(Qe){return typeof Uint8Array!="undefined"&&(ft(Qe)||Gt(Qe))}Ne.isAnyArrayBuffer=Xe,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Qe){Object.defineProperty(Ne,Qe,{enumerable:!1,value:function(){throw new Error(Qe+" is not supported in userland")}})})},{"is-arguments":365,"is-generator-function":368,"is-typed-array":369,"which-typed-array":420}],419:[function(oe,Ze,Ne){(function(ge){(function(){var ce=Object.getOwnPropertyDescriptors||function(Tt){for(var At=Object.keys(Tt),Gt={},wt=0;wt<At.length;wt++)Gt[At[wt]]=Object.getOwnPropertyDescriptor(Tt,At[wt]);return Gt},Ee=/%[sdj%]/g;Ne.format=function(yt){if(!Te(yt)){for(var Tt=[],At=0;At<arguments.length;At++)Tt.push(me(arguments[At]));return Tt.join(" ")}for(var At=1,Gt=arguments,wt=Gt.length,bt=String(yt).replace(Ee,function(_e){if(_e==="%%")return"%";if(At>=wt)return _e;switch(_e){case"%s":return String(Gt[At++]);case"%d":return Number(Gt[At++]);case"%j":try{return JSON.stringify(Gt[At++])}catch(we){return"[Circular]"}default:return _e}}),it=Gt[At];At<wt;it=Gt[++At])Ie(it)||!Ue(it)?bt+=" "+it:bt+=" "+me(it);return bt},Ne.deprecate=function(yt,Tt){if(typeof ge!="undefined"&&ge.noDeprecation===!0)return yt;if(typeof ge=="undefined")return function(){return Ne.deprecate(yt,Tt).apply(this,arguments)};var At=!1;function Gt(){if(!At){if(ge.throwDeprecation)throw new Error(Tt);ge.traceDeprecation?console.trace(Tt):console.error(Tt),At=!0}return yt.apply(this,arguments)}return Gt};var Ae={},ye=/^$/;if(ge.env.NODE_DEBUG){var De=ge.env.NODE_DEBUG;De=De.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),ye=new RegExp("^"+De+"$","i")}Ne.debuglog=function(yt){if(yt=yt.toUpperCase(),!Ae[yt])if(ye.test(yt)){var Tt=ge.pid;Ae[yt]=function(){var At=Ne.format.apply(Ne,arguments);console.error("%s %d: %s",yt,Tt,At)}}else Ae[yt]=function(){};return Ae[yt]};function me(yt,Tt){var At={seen:[],stylize:fe};return arguments.length>=3&&(At.depth=arguments[2]),arguments.length>=4&&(At.colors=arguments[3]),be(Tt)?At.showHidden=Tt:Tt&&Ne._extend(At,Tt),ze(At.showHidden)&&(At.showHidden=!1),ze(At.depth)&&(At.depth=2),ze(At.colors)&&(At.colors=!1),ze(At.customInspect)&&(At.customInspect=!0),At.colors&&(At.stylize=xe),ee(At,yt,At.depth)}Ne.inspect=me,me.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},me.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function xe(yt,Tt){var At=me.styles[Tt];return At?"\x1B["+me.colors[At][0]+"m"+yt+"\x1B["+me.colors[At][1]+"m":yt}function fe(yt,Tt){return yt}function z(yt){var Tt={};return yt.forEach(function(At,Gt){Tt[At]=!0}),Tt}function ee(yt,Tt,At){if(yt.customInspect&&Tt&&lt(Tt.inspect)&&Tt.inspect!==Ne.inspect&&!(Tt.constructor&&Tt.constructor.prototype===Tt)){var Gt=Tt.inspect(At,yt);return Te(Gt)||(Gt=ee(yt,Gt,At)),Gt}var wt=ae(yt,Tt);if(wt)return wt;var bt=Object.keys(Tt),it=z(bt);if(yt.showHidden&&(bt=Object.getOwnPropertyNames(Tt)),et(Tt)&&(bt.indexOf("message")>=0||bt.indexOf("description")>=0))return re(Tt);if(bt.length===0){if(lt(Tt)){var _e=Tt.name?": "+Tt.name:"";return yt.stylize("[Function"+_e+"]","special")}if($e(Tt))return yt.stylize(RegExp.prototype.toString.call(Tt),"regexp");if(qe(Tt))return yt.stylize(Date.prototype.toString.call(Tt),"date");if(et(Tt))return re(Tt)}var we="",Ce=!1,Ye=["{","}"];if(Pe(Tt)&&(Ce=!0,Ye=["[","]"]),lt(Tt)){var Je=Tt.name?": "+Tt.name:"";we=" [Function"+Je+"]"}if($e(Tt)&&(we=" "+RegExp.prototype.toString.call(Tt)),qe(Tt)&&(we=" "+Date.prototype.toUTCString.call(Tt)),et(Tt)&&(we=" "+re(Tt)),bt.length===0&&(!Ce||Tt.length==0))return Ye[0]+we+Ye[1];if(At<0)return $e(Tt)?yt.stylize(RegExp.prototype.toString.call(Tt),"regexp"):yt.stylize("[Object]","special");yt.seen.push(Tt);var Le;return Ce?Le=le(yt,Tt,At,it,bt):Le=bt.map(function(Ge){return ue(yt,Tt,At,it,Ge,Ce)}),yt.seen.pop(),pe(Le,we,Ye)}function ae(yt,Tt){if(ze(Tt))return yt.stylize("undefined","undefined");if(Te(Tt)){var At="'"+JSON.stringify(Tt).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return yt.stylize(At,"string")}if(Oe(Tt))return yt.stylize(""+Tt,"number");if(be(Tt))return yt.stylize(""+Tt,"boolean");if(Ie(Tt))return yt.stylize("null","null")}function re(yt){return"["+Error.prototype.toString.call(yt)+"]"}function le(yt,Tt,At,Gt,wt){for(var bt=[],it=0,_e=Tt.length;it<_e;++it)St(Tt,String(it))?bt.push(ue(yt,Tt,At,Gt,String(it),!0)):bt.push("");return wt.forEach(function(we){we.match(/^\d+$/)||bt.push(ue(yt,Tt,At,Gt,we,!0))}),bt}function ue(yt,Tt,At,Gt,wt,bt){var it,_e,we;if(we=Object.getOwnPropertyDescriptor(Tt,wt)||{value:Tt[wt]},we.get?we.set?_e=yt.stylize("[Getter/Setter]","special"):_e=yt.stylize("[Getter]","special"):we.set&&(_e=yt.stylize("[Setter]","special")),St(Gt,wt)||(it="["+wt+"]"),_e||(yt.seen.indexOf(we.value)<0?(Ie(At)?_e=ee(yt,we.value,null):_e=ee(yt,we.value,At-1),_e.indexOf(`
`)>-1&&(bt?_e=_e.split(`
`).map(function(Ce){return" "+Ce}).join(`
`).slice(2):_e=`
`+_e.split(`
`).map(function(Ce){return" "+Ce}).join(`
`))):_e=yt.stylize("[Circular]","special")),ze(it)){if(bt&&wt.match(/^\d+$/))return _e;it=JSON.stringify(""+wt),it.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(it=it.slice(1,-1),it=yt.stylize(it,"name")):(it=it.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),it=yt.stylize(it,"string"))}return it+": "+_e}function pe(yt,Tt,At){var Gt=0,wt=yt.reduce(function(bt,it){return Gt++,it.indexOf(`
`)>=0&&Gt++,bt+it.replace(/\u001b\[\d\d?m/g,"").length+1},0);return wt>60?At[0]+(Tt===""?"":Tt+`
`)+" "+yt.join(`,
`)+" "+At[1]:At[0]+Tt+" "+yt.join(", ")+" "+At[1]}Ne.types=oe("./support/types");function Pe(yt){return Array.isArray(yt)}Ne.isArray=Pe;function be(yt){return typeof yt=="boolean"}Ne.isBoolean=be;function Ie(yt){return yt===null}Ne.isNull=Ie;function Me(yt){return yt==null}Ne.isNullOrUndefined=Me;function Oe(yt){return typeof yt=="number"}Ne.isNumber=Oe;function Te(yt){return typeof yt=="string"}Ne.isString=Te;function je(yt){return typeof yt=="symbol"}Ne.isSymbol=je;function ze(yt){return yt===void 0}Ne.isUndefined=ze;function $e(yt){return Ue(yt)&&vt(yt)==="[object RegExp]"}Ne.isRegExp=$e,Ne.types.isRegExp=$e;function Ue(yt){return typeof yt=="object"&&yt!==null}Ne.isObject=Ue;function qe(yt){return Ue(yt)&&vt(yt)==="[object Date]"}Ne.isDate=qe,Ne.types.isDate=qe;function et(yt){return Ue(yt)&&(vt(yt)==="[object Error]"||yt instanceof Error)}Ne.isError=et,Ne.types.isNativeError=et;function lt(yt){return typeof yt=="function"}Ne.isFunction=lt;function ut(yt){return yt===null||typeof yt=="boolean"||typeof yt=="number"||typeof yt=="string"||typeof yt=="symbol"||typeof yt=="undefined"}Ne.isPrimitive=ut,Ne.isBuffer=oe("./support/isBuffer");function vt(yt){return Object.prototype.toString.call(yt)}function tt(yt){return yt<10?"0"+yt.toString(10):yt.toString(10)}var at=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function dt(){var yt=new Date,Tt=[tt(yt.getHours()),tt(yt.getMinutes()),tt(yt.getSeconds())].join(":");return[yt.getDate(),at[yt.getMonth()],Tt].join(" ")}Ne.log=function(){console.log("%s - %s",dt(),Ne.format.apply(Ne,arguments))},Ne.inherits=oe("inherits"),Ne._extend=function(yt,Tt){if(!Tt||!Ue(Tt))return yt;for(var At=Object.keys(Tt),Gt=At.length;Gt--;)yt[At[Gt]]=Tt[At[Gt]];return yt};function St(yt,Tt){return Object.prototype.hasOwnProperty.call(yt,Tt)}var xt=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;Ne.promisify=function(Tt){if(typeof Tt!="function")throw new TypeError('The "original" argument must be of type Function');if(xt&&Tt[xt]){var At=Tt[xt];if(typeof At!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(At,xt,{value:At,enumerable:!1,writable:!1,configurable:!0}),At}function At(){for(var Gt,wt,bt=new Promise(function(we,Ce){Gt=we,wt=Ce}),it=[],_e=0;_e<arguments.length;_e++)it.push(arguments[_e]);it.push(function(we,Ce){we?wt(we):Gt(Ce)});try{Tt.apply(this,it)}catch(we){wt(we)}return bt}return Object.setPrototypeOf(At,Object.getPrototypeOf(Tt)),xt&&Object.defineProperty(At,xt,{value:At,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(At,ce(Tt))},Ne.promisify.custom=xt;function ft(yt,Tt){if(!yt){var At=new Error("Promise was rejected with a falsy value");At.reason=yt,yt=At}return Tt(yt)}function pt(yt){if(typeof yt!="function")throw new TypeError('The "original" argument must be of type Function');function Tt(){for(var At=[],Gt=0;Gt<arguments.length;Gt++)At.push(arguments[Gt]);var wt=At.pop();if(typeof wt!="function")throw new TypeError("The last argument must be of type Function");var bt=this,it=function(){return wt.apply(bt,arguments)};yt.apply(this,At).then(function(_e){ge.nextTick(it.bind(null,null,_e))},function(_e){ge.nextTick(ft.bind(null,_e,it))})}return Object.setPrototypeOf(Tt,Object.getPrototypeOf(yt)),Object.defineProperties(Tt,ce(yt)),Tt}Ne.callbackify=pt}).call(this)}).call(this,oe("_process"))},{"./support/isBuffer":417,"./support/types":418,_process:467,inherits:364}],420:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";var ce=oe("for-each"),Ee=oe("available-typed-arrays"),Ae=oe("call-bind"),ye=oe("call-bind/callBound"),De=oe("gopd"),me=ye("Object.prototype.toString"),xe=oe("has-tostringtag/shams")(),fe=typeof globalThis=="undefined"?ge:globalThis,z=Ee(),ee=ye("String.prototype.slice"),ae=Object.getPrototypeOf,re=ye("Array.prototype.indexOf",!0)||function(be,Ie){for(var Me=0;Me<be.length;Me+=1)if(be[Me]===Ie)return Me;return-1},le={__proto__:null};xe&&De&&ae?ce(z,function(Pe){var be=new fe[Pe];if(Symbol.toStringTag in be){var Ie=ae(be),Me=De(Ie,Symbol.toStringTag);if(!Me){var Oe=ae(Ie);Me=De(Oe,Symbol.toStringTag)}le["$"+Pe]=Ae(Me.get)}}):ce(z,function(Pe){var be=new fe[Pe];le["$"+Pe]=Ae(be.slice)});var ue=function(be){var Ie=!1;return ce(le,function(Me,Oe){if(!Ie)try{"$"+Me(be)===Oe&&(Ie=ee(Oe,1))}catch(Te){}}),Ie},pe=function(be){var Ie=!1;return ce(le,function(Me,Oe){if(!Ie)try{Me(be),Ie=ee(Oe,1)}catch(Te){}}),Ie};Ze.exports=function(be){if(!be||typeof be!="object")return!1;if(!xe){var Ie=ee(me(be),8,-1);return re(z,Ie)>-1?Ie:Ie!=="Object"?!1:pe(be)}return De?ue(be):null}}).call(this)}).call(this,typeof fn!="undefined"?fn:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"available-typed-arrays":86,"call-bind":93,"call-bind/callBound":92,"for-each":345,gopd:349,"has-tostringtag/shams":353}],421:[function(oe,Ze,Ne){(function(){"use strict";Ne.stripBOM=function(ge){return ge[0]==="\uFEFF"?ge.substring(1):ge}}).call(this)},{}],422:[function(oe,Ze,Ne){(function(){"use strict";var ge,ce,Ee,Ae,ye,De={}.hasOwnProperty;ge=oe("xmlbuilder"),ce=oe("./defaults").defaults,Ae=function(me){return typeof me=="string"&&(me.indexOf("&")>=0||me.indexOf(">")>=0||me.indexOf("<")>=0)},ye=function(me){return"<![CDATA["+Ee(me)+"]]>"},Ee=function(me){return me.replace("]]>","]]]]><![CDATA[>")},Ne.Builder=function(){function me(xe){var fe,z,ee;this.options={},z=ce["0.2"];for(fe in z)De.call(z,fe)&&(ee=z[fe],this.options[fe]=ee);for(fe in xe)De.call(xe,fe)&&(ee=xe[fe],this.options[fe]=ee)}return me.prototype.buildObject=function(xe){var fe,z,ee,ae,re;return fe=this.options.attrkey,z=this.options.charkey,Object.keys(xe).length===1&&this.options.rootName===ce["0.2"].rootName?(re=Object.keys(xe)[0],xe=xe[re]):re=this.options.rootName,ee=function(le){return function(ue,pe){var Pe,be,Ie,Me,Oe,Te;if(typeof pe!="object")le.options.cdata&&Ae(pe)?ue.raw(ye(pe)):ue.txt(pe);else if(Array.isArray(pe)){for(Me in pe)if(De.call(pe,Me)){be=pe[Me];for(Oe in be)Ie=be[Oe],ue=ee(ue.ele(Oe),Ie).up()}}else for(Oe in pe)if(De.call(pe,Oe))if(be=pe[Oe],Oe===fe){if(typeof be=="object")for(Pe in be)Te=be[Pe],ue=ue.att(Pe,Te)}else if(Oe===z)le.options.cdata&&Ae(be)?ue=ue.raw(ye(be)):ue=ue.txt(be);else if(Array.isArray(be))for(Me in be)De.call(be,Me)&&(Ie=be[Me],typeof Ie=="string"?le.options.cdata&&Ae(Ie)?ue=ue.ele(Oe).raw(ye(Ie)).up():ue=ue.ele(Oe,Ie).up():ue=ee(ue.ele(Oe),Ie).up());else typeof be=="object"?ue=ee(ue.ele(Oe),be).up():typeof be=="string"&&le.options.cdata&&Ae(be)?ue=ue.ele(Oe).raw(ye(be)).up():(be==null&&(be=""),ue=ue.ele(Oe,be.toString()).up());return ue}}(this),ae=ge.create(re,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),ee(ae,xe).end(this.options.renderOpts)},me}()}).call(this)},{"./defaults":423,xmlbuilder:459}],423:[function(oe,Ze,Ne){(function(){Ne.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:`
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},{}],424:[function(oe,Ze,Ne){(function(){"use strict";var ge,ce,Ee,Ae,ye,De,me,xe,fe,z=function(re,le){return function(){return re.apply(le,arguments)}},ee=function(re,le){for(var ue in le)ae.call(le,ue)&&(re[ue]=le[ue]);function pe(){this.constructor=re}return pe.prototype=le.prototype,re.prototype=new pe,re.__super__=le.prototype,re},ae={}.hasOwnProperty;xe=oe("sax"),Ae=oe("events"),ge=oe("./bom"),me=oe("./processors"),fe=oe("timers").setImmediate,ce=oe("./defaults").defaults,ye=function(re){return typeof re=="object"&&re!=null&&Object.keys(re).length===0},De=function(re,le,ue){var pe,Pe,be;for(pe=0,Pe=re.length;pe<Pe;pe++)be=re[pe],le=be(le,ue);return le},Ee=function(re,le,ue){var pe;return pe=Object.create(null),pe.value=ue,pe.writable=!0,pe.enumerable=!0,pe.configurable=!0,Object.defineProperty(re,le,pe)},Ne.Parser=function(re){ee(le,re);function le(ue){this.parseStringPromise=z(this.parseStringPromise,this),this.parseString=z(this.parseString,this),this.reset=z(this.reset,this),this.assignOrPush=z(this.assignOrPush,this),this.processAsync=z(this.processAsync,this);var pe,Pe,be;if(!(this instanceof Ne.Parser))return new Ne.Parser(ue);this.options={},Pe=ce["0.2"];for(pe in Pe)ae.call(Pe,pe)&&(be=Pe[pe],this.options[pe]=be);for(pe in ue)ae.call(ue,pe)&&(be=ue[pe],this.options[pe]=be);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(me.normalize)),this.reset()}return le.prototype.processAsync=function(){var ue,pe;try{return this.remaining.length<=this.options.chunkSize?(ue=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(ue),this.saxParser.close()):(ue=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(ue),fe(this.processAsync))}catch(Pe){if(pe=Pe,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(pe)}},le.prototype.assignOrPush=function(ue,pe,Pe){return pe in ue?(ue[pe]instanceof Array||Ee(ue,pe,[ue[pe]]),ue[pe].push(Pe)):this.options.explicitArray?Ee(ue,pe,[Pe]):Ee(ue,pe,Pe)},le.prototype.reset=function(){var ue,pe,Pe,be;return this.removeAllListeners(),this.saxParser=xe.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(Ie){return function(Me){if(Ie.saxParser.resume(),!Ie.saxParser.errThrown)return Ie.saxParser.errThrown=!0,Ie.emit("error",Me)}}(this),this.saxParser.onend=function(Ie){return function(){if(!Ie.saxParser.ended)return Ie.saxParser.ended=!0,Ie.emit("end",Ie.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,be=[],ue=this.options.attrkey,pe=this.options.charkey,this.saxParser.onopentag=function(Ie){return function(Me){var Oe,Te,je,ze,$e;if(je={},je[pe]="",!Ie.options.ignoreAttrs){$e=Me.attributes;for(Oe in $e)ae.call($e,Oe)&&(!(ue in je)&&!Ie.options.mergeAttrs&&(je[ue]={}),Te=Ie.options.attrValueProcessors?De(Ie.options.attrValueProcessors,Me.attributes[Oe],Oe):Me.attributes[Oe],ze=Ie.options.attrNameProcessors?De(Ie.options.attrNameProcessors,Oe):Oe,Ie.options.mergeAttrs?Ie.assignOrPush(je,ze,Te):Ee(je[ue],ze,Te))}return je["#name"]=Ie.options.tagNameProcessors?De(Ie.options.tagNameProcessors,Me.name):Me.name,Ie.options.xmlns&&(je[Ie.options.xmlnskey]={uri:Me.uri,local:Me.local}),be.push(je)}}(this),this.saxParser.onclosetag=function(Ie){return function(){var Me,Oe,Te,je,ze,$e,Ue,qe,et,lt;if($e=be.pop(),ze=$e["#name"],(!Ie.options.explicitChildren||!Ie.options.preserveChildrenOrder)&&delete $e["#name"],$e.cdata===!0&&(Me=$e.cdata,delete $e.cdata),et=be[be.length-1],$e[pe].match(/^\s*$/)&&!Me?(Oe=$e[pe],delete $e[pe]):(Ie.options.trim&&($e[pe]=$e[pe].trim()),Ie.options.normalize&&($e[pe]=$e[pe].replace(/\s{2,}/g," ").trim()),$e[pe]=Ie.options.valueProcessors?De(Ie.options.valueProcessors,$e[pe],ze):$e[pe],Object.keys($e).length===1&&pe in $e&&!Ie.EXPLICIT_CHARKEY&&($e=$e[pe])),ye($e)&&(typeof Ie.options.emptyTag=="function"?$e=Ie.options.emptyTag():$e=Ie.options.emptyTag!==""?Ie.options.emptyTag:Oe),Ie.options.validator!=null&&(lt="/"+function(){var ut,vt,tt;for(tt=[],ut=0,vt=be.length;ut<vt;ut++)je=be[ut],tt.push(je["#name"]);return tt}().concat(ze).join("/"),function(){var ut;try{return $e=Ie.options.validator(lt,et&&et[ze],$e)}catch(vt){return ut=vt,Ie.emit("error",ut)}}()),Ie.options.explicitChildren&&!Ie.options.mergeAttrs&&typeof $e=="object"){if(!Ie.options.preserveChildrenOrder)je={},Ie.options.attrkey in $e&&(je[Ie.options.attrkey]=$e[Ie.options.attrkey],delete $e[Ie.options.attrkey]),!Ie.options.charsAsChildren&&Ie.options.charkey in $e&&(je[Ie.options.charkey]=$e[Ie.options.charkey],delete $e[Ie.options.charkey]),Object.getOwnPropertyNames($e).length>0&&(je[Ie.options.childkey]=$e),$e=je;else if(et){et[Ie.options.childkey]=et[Ie.options.childkey]||[],Ue={};for(Te in $e)ae.call($e,Te)&&Ee(Ue,Te,$e[Te]);et[Ie.options.childkey].push(Ue),delete $e["#name"],Object.keys($e).length===1&&pe in $e&&!Ie.EXPLICIT_CHARKEY&&($e=$e[pe])}}return be.length>0?Ie.assignOrPush(et,ze,$e):(Ie.options.explicitRoot&&(qe=$e,$e={},Ee($e,ze,qe)),Ie.resultObject=$e,Ie.saxParser.ended=!0,Ie.emit("end",Ie.resultObject))}}(this),Pe=function(Ie){return function(Me){var Oe,Te;if(Te=be[be.length-1],Te)return Te[pe]+=Me,Ie.options.explicitChildren&&Ie.options.preserveChildrenOrder&&Ie.options.charsAsChildren&&(Ie.options.includeWhiteChars||Me.replace(/\\n/g,"").trim()!=="")&&(Te[Ie.options.childkey]=Te[Ie.options.childkey]||[],Oe={"#name":"__text__"},Oe[pe]=Me,Ie.options.normalize&&(Oe[pe]=Oe[pe].replace(/\s{2,}/g," ").trim()),Te[Ie.options.childkey].push(Oe)),Te}}(this),this.saxParser.ontext=Pe,this.saxParser.oncdata=function(Ie){return function(Me){var Oe;if(Oe=Pe(Me),Oe)return Oe.cdata=!0}}(this)},le.prototype.parseString=function(ue,pe){var Pe;pe!=null&&typeof pe=="function"&&(this.on("end",function(be){return this.reset(),pe(null,be)}),this.on("error",function(be){return this.reset(),pe(be)}));try{return ue=ue.toString(),ue.trim()===""?(this.emit("end",null),!0):(ue=ge.stripBOM(ue),this.options.async?(this.remaining=ue,fe(this.processAsync),this.saxParser):this.saxParser.write(ue).close())}catch(be){if(Pe=be,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw Pe}else return this.emit("error",Pe),this.saxParser.errThrown=!0}},le.prototype.parseStringPromise=function(ue){return new Promise(function(pe){return function(Pe,be){return pe.parseString(ue,function(Ie,Me){return Ie?be(Ie):Pe(Me)})}}(this))},le}(Ae),Ne.parseString=function(re,le,ue){var pe,Pe,be;return ue!=null?(typeof ue=="function"&&(pe=ue),typeof le=="object"&&(Pe=le)):(typeof le=="function"&&(pe=le),Pe={}),be=new Ne.Parser(Pe),be.parseString(re,pe)},Ne.parseStringPromise=function(re,le){var ue,pe;return typeof le=="object"&&(ue=le),pe=new Ne.Parser(ue),pe.parseStringPromise(re)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(oe,Ze,Ne){(function(){"use strict";var ge;ge=new RegExp(/(?!xmlns)^.*:/),Ne.normalize=function(ce){return ce.toLowerCase()},Ne.firstCharLowerCase=function(ce){return ce.charAt(0).toLowerCase()+ce.slice(1)},Ne.stripPrefix=function(ce){return ce.replace(ge,"")},Ne.parseNumbers=function(ce){return isNaN(ce)||(ce=ce%1===0?parseInt(ce,10):parseFloat(ce)),ce},Ne.parseBooleans=function(ce){return/^(?:true|false)$/i.test(ce)&&(ce=ce.toLowerCase()==="true"),ce}}).call(this)},{}],426:[function(oe,Ze,Ne){(function(){"use strict";var ge,ce,Ee,Ae,ye=function(me,xe){for(var fe in xe)De.call(xe,fe)&&(me[fe]=xe[fe]);function z(){this.constructor=me}return z.prototype=xe.prototype,me.prototype=new z,me.__super__=xe.prototype,me},De={}.hasOwnProperty;ce=oe("./defaults"),ge=oe("./builder"),Ee=oe("./parser"),Ae=oe("./processors"),Ne.defaults=ce.defaults,Ne.processors=Ae,Ne.ValidationError=function(me){ye(xe,me);function xe(fe){this.message=fe}return xe}(Error),Ne.Builder=ge.Builder,Ne.Parser=Ee.Parser,Ne.parseString=Ee.parseString,Ne.parseStringPromise=Ee.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(oe,Ze,Ne){(function(){Ze.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(oe,Ze,Ne){(function(){Ze.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},{}],429:[function(oe,Ze,Ne){(function(){var ge,ce,Ee,Ae,ye,De,me,xe=[].slice,fe={}.hasOwnProperty;ge=function(){var z,ee,ae,re,le,ue;if(ue=arguments[0],le=2<=arguments.length?xe.call(arguments,1):[],ye(Object.assign))Object.assign.apply(null,arguments);else for(z=0,ae=le.length;z<ae;z++)if(re=le[z],re!=null)for(ee in re)fe.call(re,ee)&&(ue[ee]=re[ee]);return ue},ye=function(z){return!!z&&Object.prototype.toString.call(z)==="[object Function]"},De=function(z){var ee;return!!z&&((ee=typeof z)=="function"||ee==="object")},Ee=function(z){return ye(Array.isArray)?Array.isArray(z):Object.prototype.toString.call(z)==="[object Array]"},Ae=function(z){var ee;if(Ee(z))return!z.length;for(ee in z)if(fe.call(z,ee))return!1;return!0},me=function(z){var ee,ae;return De(z)&&(ae=Object.getPrototypeOf(z))&&(ee=ae.constructor)&&typeof ee=="function"&&ee instanceof ee&&Function.prototype.toString.call(ee)===Function.prototype.toString.call(Object)},ce=function(z){return ye(z.valueOf)?z.valueOf():z},Ze.exports.assign=ge,Ze.exports.isFunction=ye,Ze.exports.isObject=De,Ze.exports.isArray=Ee,Ze.exports.isEmpty=Ae,Ze.exports.isPlainObject=me,Ze.exports.getValue=ce}).call(this)},{}],430:[function(oe,Ze,Ne){(function(){Ze.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},{}],431:[function(oe,Ze,Ne){(function(){var ge,ce,Ee;ge=oe("./NodeType"),Ee=oe("./XMLNode"),Ze.exports=ce=function(){function Ae(ye,De,me){if(this.parent=ye,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),De==null)throw new Error("Missing attribute name. "+this.debugInfo(De));this.name=this.stringify.name(De),this.value=this.stringify.attValue(me),this.type=ge.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(Ae.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(Ae.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(Ae.prototype,"textContent",{get:function(){return this.value},set:function(ye){return this.value=ye||""}}),Object.defineProperty(Ae.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(Ae.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(Ae.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(Ae.prototype,"specified",{get:function(){return!0}}),Ae.prototype.clone=function(){return Object.create(this)},Ae.prototype.toString=function(ye){return this.options.writer.attribute(this,this.options.writer.filterOptions(ye))},Ae.prototype.debugInfo=function(ye){return ye=ye||this.name,ye==null?"parent: <"+this.parent.name+">":"attribute: {"+ye+"}, parent: <"+this.parent.name+">"},Ae.prototype.isEqualNode=function(ye){return!(ye.namespaceURI!==this.namespaceURI||ye.prefix!==this.prefix||ye.localName!==this.localName||ye.value!==this.value)},Ae}()}).call(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(oe,Ze,Ne){(function(){var ge,ce,Ee,Ae=function(De,me){for(var xe in me)ye.call(me,xe)&&(De[xe]=me[xe]);function fe(){this.constructor=De}return fe.prototype=me.prototype,De.prototype=new fe,De.__super__=me.prototype,De},ye={}.hasOwnProperty;ge=oe("./NodeType"),Ee=oe("./XMLCharacterData"),Ze.exports=ce=function(De){Ae(me,De);function me(xe,fe){if(me.__super__.constructor.call(this,xe),fe==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=ge.CData,this.value=this.stringify.cdata(fe)}return me.prototype.clone=function(){return Object.create(this)},me.prototype.toString=function(xe){return this.options.writer.cdata(this,this.options.writer.filterOptions(xe))},me}(Ee)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],433:[function(oe,Ze,Ne){(function(){var ge,ce,Ee=function(ye,De){for(var me in De)Ae.call(De,me)&&(ye[me]=De[me]);function xe(){this.constructor=ye}return xe.prototype=De.prototype,ye.prototype=new xe,ye.__super__=De.prototype,ye},Ae={}.hasOwnProperty;ce=oe("./XMLNode"),Ze.exports=ge=function(ye){Ee(De,ye);function De(me){De.__super__.constructor.call(this,me),this.value=""}return Object.defineProperty(De.prototype,"data",{get:function(){return this.value},set:function(me){return this.value=me||""}}),Object.defineProperty(De.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(De.prototype,"textContent",{get:function(){return this.value},set:function(me){return this.value=me||""}}),De.prototype.clone=function(){return Object.create(this)},De.prototype.substringData=function(me,xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},De.prototype.appendData=function(me){throw new Error("This DOM method is not implemented."+this.debugInfo())},De.prototype.insertData=function(me,xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},De.prototype.deleteData=function(me,xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},De.prototype.replaceData=function(me,xe,fe){throw new Error("This DOM method is not implemented."+this.debugInfo())},De.prototype.isEqualNode=function(me){return!(!De.__super__.isEqualNode.apply(this,arguments).isEqualNode(me)||me.data!==this.data)},De}(ce)}).call(this)},{"./XMLNode":450}],434:[function(oe,Ze,Ne){(function(){var ge,ce,Ee,Ae=function(De,me){for(var xe in me)ye.call(me,xe)&&(De[xe]=me[xe]);function fe(){this.constructor=De}return fe.prototype=me.prototype,De.prototype=new fe,De.__super__=me.prototype,De},ye={}.hasOwnProperty;ge=oe("./NodeType"),ce=oe("./XMLCharacterData"),Ze.exports=Ee=function(De){Ae(me,De);function me(xe,fe){if(me.__super__.constructor.call(this,xe),fe==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=ge.Comment,this.value=this.stringify.comment(fe)}return me.prototype.clone=function(){return Object.create(this)},me.prototype.toString=function(xe){return this.options.writer.comment(this,this.options.writer.filterOptions(xe))},me}(ce)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],435:[function(oe,Ze,Ne){(function(){var ge,ce,Ee;ce=oe("./XMLDOMErrorHandler"),Ee=oe("./XMLDOMStringList"),Ze.exports=ge=function(){function Ae(){var ye;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new ce,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=ye=Object.create(this.defaultParams)}return Object.defineProperty(Ae.prototype,"parameterNames",{get:function(){return new Ee(Object.keys(this.defaultParams))}}),Ae.prototype.getParameter=function(ye){return this.params.hasOwnProperty(ye)?this.params[ye]:null},Ae.prototype.canSetParameter=function(ye,De){return!0},Ae.prototype.setParameter=function(ye,De){return De!=null?this.params[ye]=De:delete this.params[ye]},Ae}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(oe,Ze,Ne){(function(){var ge;Ze.exports=ge=function(){function ce(){}return ce.prototype.handleError=function(Ee){throw new Error(Ee)},ce}()}).call(this)},{}],437:[function(oe,Ze,Ne){(function(){var ge;Ze.exports=ge=function(){function ce(){}return ce.prototype.hasFeature=function(Ee,Ae){return!0},ce.prototype.createDocumentType=function(Ee,Ae,ye){throw new Error("This DOM method is not implemented.")},ce.prototype.createDocument=function(Ee,Ae,ye){throw new Error("This DOM method is not implemented.")},ce.prototype.createHTMLDocument=function(Ee){throw new Error("This DOM method is not implemented.")},ce.prototype.getFeature=function(Ee,Ae){throw new Error("This DOM method is not implemented.")},ce}()}).call(this)},{}],438:[function(oe,Ze,Ne){(function(){var ge;Ze.exports=ge=function(){function ce(Ee){this.arr=Ee||[]}return Object.defineProperty(ce.prototype,"length",{get:function(){return this.arr.length}}),ce.prototype.item=function(Ee){return this.arr[Ee]||null},ce.prototype.contains=function(Ee){return this.arr.indexOf(Ee)!==-1},ce}()}).call(this)},{}],439:[function(oe,Ze,Ne){(function(){var ge,ce,Ee,Ae=function(De,me){for(var xe in me)ye.call(me,xe)&&(De[xe]=me[xe]);function fe(){this.constructor=De}return fe.prototype=me.prototype,De.prototype=new fe,De.__super__=me.prototype,De},ye={}.hasOwnProperty;Ee=oe("./XMLNode"),ge=oe("./NodeType"),Ze.exports=ce=function(De){Ae(me,De);function me(xe,fe,z,ee,ae,re){if(me.__super__.constructor.call(this,xe),fe==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(z==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(fe));if(!ee)throw new Error("Missing DTD attribute type. "+this.debugInfo(fe));if(!ae)throw new Error("Missing DTD attribute default. "+this.debugInfo(fe));if(ae.indexOf("#")!==0&&(ae="#"+ae),!ae.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(fe));if(re&&!ae.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(fe));this.elementName=this.stringify.name(fe),this.type=ge.AttributeDeclaration,this.attributeName=this.stringify.name(z),this.attributeType=this.stringify.dtdAttType(ee),re&&(this.defaultValue=this.stringify.dtdAttDefault(re)),this.defaultValueType=ae}return me.prototype.toString=function(xe){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(xe))},me}(Ee)}).call(this)},{"./NodeType":428,"./XMLNode":450}],440:[function(oe,Ze,Ne){(function(){var ge,ce,Ee,Ae=function(De,me){for(var xe in me)ye.call(me,xe)&&(De[xe]=me[xe]);function fe(){this.constructor=De}return fe.prototype=me.prototype,De.prototype=new fe,De.__super__=me.prototype,De},ye={}.hasOwnProperty;Ee=oe("./XMLNode"),ge=oe("./NodeType"),Ze.exports=ce=function(De){Ae(me,De);function me(xe,fe,z){if(me.__super__.constructor.call(this,xe),fe==null)throw new Error("Missing DTD element name. "+this.debugInfo());z||(z="(#PCDATA)"),Array.isArray(z)&&(z="("+z.join(",")+")"),this.name=this.stringify.name(fe),this.type=ge.ElementDeclaration,this.value=this.stringify.dtdElementValue(z)}return me.prototype.toString=function(xe){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(xe))},me}(Ee)}).call(this)},{"./NodeType":428,"./XMLNode":450}],441:[function(oe,Ze,Ne){(function(){var ge,ce,Ee,Ae,ye=function(me,xe){for(var fe in xe)De.call(xe,fe)&&(me[fe]=xe[fe]);function z(){this.constructor=me}return z.prototype=xe.prototype,me.prototype=new z,me.__super__=xe.prototype,me},De={}.hasOwnProperty;Ae=oe("./Utility").isObject,Ee=oe("./XMLNode"),ge=oe("./NodeType"),Ze.exports=ce=function(me){ye(xe,me);function xe(fe,z,ee,ae){if(xe.__super__.constructor.call(this,fe),ee==null)throw new Error("Missing DTD entity name. "+this.debugInfo(ee));if(ae==null)throw new Error("Missing DTD entity value. "+this.debugInfo(ee));if(this.pe=!!z,this.name=this.stringify.name(ee),this.type=ge.EntityDeclaration,!Ae(ae))this.value=this.stringify.dtdEntityValue(ae),this.internal=!0;else{if(!ae.pubID&&!ae.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(ee));if(ae.pubID&&!ae.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(ee));if(this.internal=!1,ae.pubID!=null&&(this.pubID=this.stringify.dtdPubID(ae.pubID)),ae.sysID!=null&&(this.sysID=this.stringify.dtdSysID(ae.sysID)),ae.nData!=null&&(this.nData=this.stringify.dtdNData(ae.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(ee))}}return Object.defineProperty(xe.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(xe.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(xe.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(xe.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(xe.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(xe.prototype,"xmlVersion",{get:function(){return null}}),xe.prototype.toString=function(fe){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(fe))},xe}(Ee)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(oe,Ze,Ne){(function(){var ge,ce,Ee,Ae=function(De,me){for(var xe in me)ye.call(me,xe)&&(De[xe]=me[xe]);function fe(){this.constructor=De}return fe.prototype=me.prototype,De.prototype=new fe,De.__super__=me.prototype,De},ye={}.hasOwnProperty;Ee=oe("./XMLNode"),ge=oe("./NodeType"),Ze.exports=ce=function(De){Ae(me,De);function me(xe,fe,z){if(me.__super__.constructor.call(this,xe),fe==null)throw new Error("Missing DTD notation name. "+this.debugInfo(fe));if(!z.pubID&&!z.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(fe));this.name=this.stringify.name(fe),this.type=ge.NotationDeclaration,z.pubID!=null&&(this.pubID=this.stringify.dtdPubID(z.pubID)),z.sysID!=null&&(this.sysID=this.stringify.dtdSysID(z.sysID))}return Object.defineProperty(me.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(me.prototype,"systemId",{get:function(){return this.sysID}}),me.prototype.toString=function(xe){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(xe))},me}(Ee)}).call(this)},{"./NodeType":428,"./XMLNode":450}],443:[function(oe,Ze,Ne){(function(){var ge,ce,Ee,Ae,ye=function(me,xe){for(var fe in xe)De.call(xe,fe)&&(me[fe]=xe[fe]);function z(){this.constructor=me}return z.prototype=xe.prototype,me.prototype=new z,me.__super__=xe.prototype,me},De={}.hasOwnProperty;Ae=oe("./Utility").isObject,Ee=oe("./XMLNode"),ge=oe("./NodeType"),Ze.exports=ce=function(me){ye(xe,me);function xe(fe,z,ee,ae){var re;xe.__super__.constructor.call(this,fe),Ae(z)&&(re=z,z=re.version,ee=re.encoding,ae=re.standalone),z||(z="1.0"),this.type=ge.Declaration,this.version=this.stringify.xmlVersion(z),ee!=null&&(this.encoding=this.stringify.xmlEncoding(ee)),ae!=null&&(this.standalone=this.stringify.xmlStandalone(ae))}return xe.prototype.toString=function(fe){return this.options.writer.declaration(this,this.options.writer.filterOptions(fe))},xe}(Ee)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(oe,Ze,Ne){(function(){var ge,ce,Ee,Ae,ye,De,me,xe,fe,z=function(ae,re){for(var le in re)ee.call(re,le)&&(ae[le]=re[le]);function ue(){this.constructor=ae}return ue.prototype=re.prototype,ae.prototype=new ue,ae.__super__=re.prototype,ae},ee={}.hasOwnProperty;fe=oe("./Utility").isObject,xe=oe("./XMLNode"),ge=oe("./NodeType"),ce=oe("./XMLDTDAttList"),Ae=oe("./XMLDTDEntity"),Ee=oe("./XMLDTDElement"),ye=oe("./XMLDTDNotation"),me=oe("./XMLNamedNodeMap"),Ze.exports=De=function(ae){z(re,ae);function re(le,ue,pe){var Pe,be,Ie,Me,Oe,Te;if(re.__super__.constructor.call(this,le),this.type=ge.DocType,le.children){for(Me=le.children,be=0,Ie=Me.length;be<Ie;be++)if(Pe=Me[be],Pe.type===ge.Element){this.name=Pe.name;break}}this.documentObject=le,fe(ue)&&(Oe=ue,ue=Oe.pubID,pe=Oe.sysID),pe==null&&(Te=[ue,pe],pe=Te[0],ue=Te[1]),ue!=null&&(this.pubID=this.stringify.dtdPubID(ue)),pe!=null&&(this.sysID=this.stringify.dtdSysID(pe))}return Object.defineProperty(re.prototype,"entities",{get:function(){var le,ue,pe,Pe,be;for(Pe={},be=this.children,ue=0,pe=be.length;ue<pe;ue++)le=be[ue],le.type===ge.EntityDeclaration&&!le.pe&&(Pe[le.name]=le);return new me(Pe)}}),Object.defineProperty(re.prototype,"notations",{get:function(){var le,ue,pe,Pe,be;for(Pe={},be=this.children,ue=0,pe=be.length;ue<pe;ue++)le=be[ue],le.type===ge.NotationDeclaration&&(Pe[le.name]=le);return new me(Pe)}}),Object.defineProperty(re.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(re.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(re.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),re.prototype.element=function(le,ue){var pe;return pe=new Ee(this,le,ue),this.children.push(pe),this},re.prototype.attList=function(le,ue,pe,Pe,be){var Ie;return Ie=new ce(this,le,ue,pe,Pe,be),this.children.push(Ie),this},re.prototype.entity=function(le,ue){var pe;return pe=new Ae(this,!1,le,ue),this.children.push(pe),this},re.prototype.pEntity=function(le,ue){var pe;return pe=new Ae(this,!0,le,ue),this.children.push(pe),this},re.prototype.notation=function(le,ue){var pe;return pe=new ye(this,le,ue),this.children.push(pe),this},re.prototype.toString=function(le){return this.options.writer.docType(this,this.options.writer.filterOptions(le))},re.prototype.ele=function(le,ue){return this.element(le,ue)},re.prototype.att=function(le,ue,pe,Pe,be){return this.attList(le,ue,pe,Pe,be)},re.prototype.ent=function(le,ue){return this.entity(le,ue)},re.prototype.pent=function(le,ue){return this.pEntity(le,ue)},re.prototype.not=function(le,ue){return this.notation(le,ue)},re.prototype.up=function(){return this.root()||this.documentObject},re.prototype.isEqualNode=function(le){return!(!re.__super__.isEqualNode.apply(this,arguments).isEqualNode(le)||le.name!==this.name||le.publicId!==this.publicId||le.systemId!==this.systemId)},re}(xe)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLNamedNodeMap":449,"./XMLNode":450}],445:[function(oe,Ze,Ne){(function(){var ge,ce,Ee,Ae,ye,De,me,xe,fe=function(ee,ae){for(var re in ae)z.call(ae,re)&&(ee[re]=ae[re]);function le(){this.constructor=ee}return le.prototype=ae.prototype,ee.prototype=new le,ee.__super__=ae.prototype,ee},z={}.hasOwnProperty;xe=oe("./Utility").isPlainObject,Ee=oe("./XMLDOMImplementation"),ce=oe("./XMLDOMConfiguration"),ye=oe("./XMLNode"),ge=oe("./NodeType"),me=oe("./XMLStringifier"),De=oe("./XMLStringWriter"),Ze.exports=Ae=function(ee){fe(ae,ee);function ae(re){ae.__super__.constructor.call(this,null),this.name="#document",this.type=ge.Document,this.documentURI=null,this.domConfig=new ce,re||(re={}),re.writer||(re.writer=new De),this.options=re,this.stringify=new me(re)}return Object.defineProperty(ae.prototype,"implementation",{value:new Ee}),Object.defineProperty(ae.prototype,"doctype",{get:function(){var re,le,ue,pe;for(pe=this.children,le=0,ue=pe.length;le<ue;le++)if(re=pe[le],re.type===ge.DocType)return re;return null}}),Object.defineProperty(ae.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(ae.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(ae.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(ae.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===ge.Declaration?this.children[0].encoding:null}}),Object.defineProperty(ae.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===ge.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(ae.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===ge.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(ae.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(ae.prototype,"origin",{get:function(){return null}}),Object.defineProperty(ae.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(ae.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(ae.prototype,"contentType",{get:function(){return null}}),ae.prototype.end=function(re){var le;return le={},re?xe(re)&&(le=re,re=this.options.writer):re=this.options.writer,re.document(this,re.filterOptions(le))},ae.prototype.toString=function(re){return this.options.writer.document(this,this.options.writer.filterOptions(re))},ae.prototype.createElement=function(re){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.createTextNode=function(re){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.createComment=function(re){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.createCDATASection=function(re){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.createProcessingInstruction=function(re,le){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.createAttribute=function(re){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.createEntityReference=function(re){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.getElementsByTagName=function(re){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.importNode=function(re,le){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.createElementNS=function(re,le){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.createAttributeNS=function(re,le){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.getElementsByTagNameNS=function(re,le){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.getElementById=function(re){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.adoptNode=function(re){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.renameNode=function(re,le,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.getElementsByClassName=function(re){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.createEvent=function(re){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.createNodeIterator=function(re,le,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.createTreeWalker=function(re,le,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae}(ye)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDOMConfiguration":435,"./XMLDOMImplementation":437,"./XMLNode":450,"./XMLStringWriter":455,"./XMLStringifier":456}],446:[function(oe,Ze,Ne){(function(){var ge,ce,Ee,Ae,ye,De,me,xe,fe,z,ee,ae,re,le,ue,pe,Pe,be,Ie,Me,Oe,Te,je,ze,$e={}.hasOwnProperty;ze=oe("./Utility"),Te=ze.isObject,Oe=ze.isFunction,je=ze.isPlainObject,Me=ze.getValue,ge=oe("./NodeType"),ae=oe("./XMLDocument"),le=oe("./XMLElement"),Ae=oe("./XMLCData"),ye=oe("./XMLComment"),pe=oe("./XMLRaw"),Ie=oe("./XMLText"),ue=oe("./XMLProcessingInstruction"),z=oe("./XMLDeclaration"),ee=oe("./XMLDocType"),De=oe("./XMLDTDAttList"),xe=oe("./XMLDTDEntity"),me=oe("./XMLDTDElement"),fe=oe("./XMLDTDNotation"),Ee=oe("./XMLAttribute"),be=oe("./XMLStringifier"),Pe=oe("./XMLStringWriter"),ce=oe("./WriterState"),Ze.exports=re=function(){function Ue(qe,et,lt){var ut;this.name="?xml",this.type=ge.Document,qe||(qe={}),ut={},qe.writer?je(qe.writer)&&(ut=qe.writer,qe.writer=new Pe):qe.writer=new Pe,this.options=qe,this.writer=qe.writer,this.writerOptions=this.writer.filterOptions(ut),this.stringify=new be(qe),this.onDataCallback=et||function(){},this.onEndCallback=lt||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return Ue.prototype.createChildNode=function(qe){var et,lt,ut,vt,tt,at,dt,St;switch(qe.type){case ge.CData:this.cdata(qe.value);break;case ge.Comment:this.comment(qe.value);break;case ge.Element:ut={},dt=qe.attribs;for(lt in dt)$e.call(dt,lt)&&(et=dt[lt],ut[lt]=et.value);this.node(qe.name,ut);break;case ge.Dummy:this.dummy();break;case ge.Raw:this.raw(qe.value);break;case ge.Text:this.text(qe.value);break;case ge.ProcessingInstruction:this.instruction(qe.target,qe.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+qe.constructor.name)}for(St=qe.children,tt=0,at=St.length;tt<at;tt++)vt=St[tt],this.createChildNode(vt),vt.type===ge.Element&&this.up();return this},Ue.prototype.dummy=function(){return this},Ue.prototype.node=function(qe,et,lt){var ut;if(qe==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(qe));return this.openCurrent(),qe=Me(qe),et==null&&(et={}),et=Me(et),Te(et)||(ut=[et,lt],lt=ut[0],et=ut[1]),this.currentNode=new le(this,qe,et),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,lt!=null&&this.text(lt),this},Ue.prototype.element=function(qe,et,lt){var ut,vt,tt,at,dt,St;if(this.currentNode&&this.currentNode.type===ge.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(qe)||Te(qe)||Oe(qe))for(at=this.options.noValidation,this.options.noValidation=!0,St=new ae(this.options).element("TEMP_ROOT"),St.element(qe),this.options.noValidation=at,dt=St.children,vt=0,tt=dt.length;vt<tt;vt++)ut=dt[vt],this.createChildNode(ut),ut.type===ge.Element&&this.up();else this.node(qe,et,lt);return this},Ue.prototype.attribute=function(qe,et){var lt,ut;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(qe));if(qe!=null&&(qe=Me(qe)),Te(qe))for(lt in qe)$e.call(qe,lt)&&(ut=qe[lt],this.attribute(lt,ut));else Oe(et)&&(et=et.apply()),this.options.keepNullAttributes&&et==null?this.currentNode.attribs[qe]=new Ee(this,qe,""):et!=null&&(this.currentNode.attribs[qe]=new Ee(this,qe,et));return this},Ue.prototype.text=function(qe){var et;return this.openCurrent(),et=new Ie(this,qe),this.onData(this.writer.text(et,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ue.prototype.cdata=function(qe){var et;return this.openCurrent(),et=new Ae(this,qe),this.onData(this.writer.cdata(et,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ue.prototype.comment=function(qe){var et;return this.openCurrent(),et=new ye(this,qe),this.onData(this.writer.comment(et,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ue.prototype.raw=function(qe){var et;return this.openCurrent(),et=new pe(this,qe),this.onData(this.writer.raw(et,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ue.prototype.instruction=function(qe,et){var lt,ut,vt,tt,at;if(this.openCurrent(),qe!=null&&(qe=Me(qe)),et!=null&&(et=Me(et)),Array.isArray(qe))for(lt=0,tt=qe.length;lt<tt;lt++)ut=qe[lt],this.instruction(ut);else if(Te(qe))for(ut in qe)$e.call(qe,ut)&&(vt=qe[ut],this.instruction(ut,vt));else Oe(et)&&(et=et.apply()),at=new ue(this,qe,et),this.onData(this.writer.processingInstruction(at,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},Ue.prototype.declaration=function(qe,et,lt){var ut;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return ut=new z(this,qe,et,lt),this.onData(this.writer.declaration(ut,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ue.prototype.doctype=function(qe,et,lt){if(this.openCurrent(),qe==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new ee(this,et,lt),this.currentNode.rootNodeName=qe,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},Ue.prototype.dtdElement=function(qe,et){var lt;return this.openCurrent(),lt=new me(this,qe,et),this.onData(this.writer.dtdElement(lt,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ue.prototype.attList=function(qe,et,lt,ut,vt){var tt;return this.openCurrent(),tt=new De(this,qe,et,lt,ut,vt),this.onData(this.writer.dtdAttList(tt,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ue.prototype.entity=function(qe,et){var lt;return this.openCurrent(),lt=new xe(this,!1,qe,et),this.onData(this.writer.dtdEntity(lt,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ue.prototype.pEntity=function(qe,et){var lt;return this.openCurrent(),lt=new xe(this,!0,qe,et),this.onData(this.writer.dtdEntity(lt,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ue.prototype.notation=function(qe,et){var lt;return this.openCurrent(),lt=new fe(this,qe,et),this.onData(this.writer.dtdNotation(lt,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ue.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},Ue.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},Ue.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},Ue.prototype.openNode=function(qe){var et,lt,ut,vt;if(!qe.isOpen){if(!this.root&&this.currentLevel===0&&qe.type===ge.Element&&(this.root=qe),lt="",qe.type===ge.Element){this.writerOptions.state=ce.OpenTag,lt=this.writer.indent(qe,this.writerOptions,this.currentLevel)+"<"+qe.name,vt=qe.attribs;for(ut in vt)$e.call(vt,ut)&&(et=vt[ut],lt+=this.writer.attribute(et,this.writerOptions,this.currentLevel));lt+=(qe.children?">":"/>")+this.writer.endline(qe,this.writerOptions,this.currentLevel),this.writerOptions.state=ce.InsideTag}else this.writerOptions.state=ce.OpenTag,lt=this.writer.indent(qe,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+qe.rootNodeName,qe.pubID&&qe.sysID?lt+=' PUBLIC "'+qe.pubID+'" "'+qe.sysID+'"':qe.sysID&&(lt+=' SYSTEM "'+qe.sysID+'"'),qe.children?(lt+=" [",this.writerOptions.state=ce.InsideTag):(this.writerOptions.state=ce.CloseTag,lt+=">"),lt+=this.writer.endline(qe,this.writerOptions,this.currentLevel);return this.onData(lt,this.currentLevel),qe.isOpen=!0}},Ue.prototype.closeNode=function(qe){var et;if(!qe.isClosed)return et="",this.writerOptions.state=ce.CloseTag,qe.type===ge.Element?et=this.writer.indent(qe,this.writerOptions,this.currentLevel)+"</"+qe.name+">"+this.writer.endline(qe,this.writerOptions,this.currentLevel):et=this.writer.indent(qe,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(qe,this.writerOptions,this.currentLevel),this.writerOptions.state=ce.None,this.onData(et,this.currentLevel),qe.isClosed=!0},Ue.prototype.onData=function(qe,et){return this.documentStarted=!0,this.onDataCallback(qe,et+1)},Ue.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},Ue.prototype.debugInfo=function(qe){return qe==null?"":"node: <"+qe+">"},Ue.prototype.ele=function(){return this.element.apply(this,arguments)},Ue.prototype.nod=function(qe,et,lt){return this.node(qe,et,lt)},Ue.prototype.txt=function(qe){return this.text(qe)},Ue.prototype.dat=function(qe){return this.cdata(qe)},Ue.prototype.com=function(qe){return this.comment(qe)},Ue.prototype.ins=function(qe,et){return this.instruction(qe,et)},Ue.prototype.dec=function(qe,et,lt){return this.declaration(qe,et,lt)},Ue.prototype.dtd=function(qe,et,lt){return this.doctype(qe,et,lt)},Ue.prototype.e=function(qe,et,lt){return this.element(qe,et,lt)},Ue.prototype.n=function(qe,et,lt){return this.node(qe,et,lt)},Ue.prototype.t=function(qe){return this.text(qe)},Ue.prototype.d=function(qe){return this.cdata(qe)},Ue.prototype.c=function(qe){return this.comment(qe)},Ue.prototype.r=function(qe){return this.raw(qe)},Ue.prototype.i=function(qe,et){return this.instruction(qe,et)},Ue.prototype.att=function(){return this.currentNode&&this.currentNode.type===ge.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Ue.prototype.a=function(){return this.currentNode&&this.currentNode.type===ge.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Ue.prototype.ent=function(qe,et){return this.entity(qe,et)},Ue.prototype.pent=function(qe,et){return this.pEntity(qe,et)},Ue.prototype.not=function(qe,et){return this.notation(qe,et)},Ue}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLAttribute":431,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDocument":445,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLStringWriter":455,"./XMLStringifier":456,"./XMLText":457}],447:[function(oe,Ze,Ne){(function(){var ge,ce,Ee,Ae=function(De,me){for(var xe in me)ye.call(me,xe)&&(De[xe]=me[xe]);function fe(){this.constructor=De}return fe.prototype=me.prototype,De.prototype=new fe,De.__super__=me.prototype,De},ye={}.hasOwnProperty;Ee=oe("./XMLNode"),ge=oe("./NodeType"),Ze.exports=ce=function(De){Ae(me,De);function me(xe){me.__super__.constructor.call(this,xe),this.type=ge.Dummy}return me.prototype.clone=function(){return Object.create(this)},me.prototype.toString=function(xe){return""},me}(Ee)}).call(this)},{"./NodeType":428,"./XMLNode":450}],448:[function(oe,Ze,Ne){(function(){var ge,ce,Ee,Ae,ye,De,me,xe,fe,z=function(ae,re){for(var le in re)ee.call(re,le)&&(ae[le]=re[le]);function ue(){this.constructor=ae}return ue.prototype=re.prototype,ae.prototype=new ue,ae.__super__=re.prototype,ae},ee={}.hasOwnProperty;fe=oe("./Utility"),xe=fe.isObject,me=fe.isFunction,De=fe.getValue,ye=oe("./XMLNode"),ge=oe("./NodeType"),ce=oe("./XMLAttribute"),Ae=oe("./XMLNamedNodeMap"),Ze.exports=Ee=function(ae){z(re,ae);function re(le,ue,pe){var Pe,be,Ie,Me;if(re.__super__.constructor.call(this,le),ue==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(ue),this.type=ge.Element,this.attribs={},this.schemaTypeInfo=null,pe!=null&&this.attribute(pe),le.type===ge.Document&&(this.isRoot=!0,this.documentObject=le,le.rootObject=this,le.children)){for(Me=le.children,be=0,Ie=Me.length;be<Ie;be++)if(Pe=Me[be],Pe.type===ge.DocType){Pe.name=this.name;break}}}return Object.defineProperty(re.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(re.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(re.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(re.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(re.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(re.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(re.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(re.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new Ae(this.attribs)),this.attributeMap}}),re.prototype.clone=function(){var le,ue,pe,Pe;pe=Object.create(this),pe.isRoot&&(pe.documentObject=null),pe.attribs={},Pe=this.attribs;for(ue in Pe)ee.call(Pe,ue)&&(le=Pe[ue],pe.attribs[ue]=le.clone());return pe.children=[],this.children.forEach(function(be){var Ie;return Ie=be.clone(),Ie.parent=pe,pe.children.push(Ie)}),pe},re.prototype.attribute=function(le,ue){var pe,Pe;if(le!=null&&(le=De(le)),xe(le))for(pe in le)ee.call(le,pe)&&(Pe=le[pe],this.attribute(pe,Pe));else me(ue)&&(ue=ue.apply()),this.options.keepNullAttributes&&ue==null?this.attribs[le]=new ce(this,le,""):ue!=null&&(this.attribs[le]=new ce(this,le,ue));return this},re.prototype.removeAttribute=function(le){var ue,pe,Pe;if(le==null)throw new Error("Missing attribute name. "+this.debugInfo());if(le=De(le),Array.isArray(le))for(pe=0,Pe=le.length;pe<Pe;pe++)ue=le[pe],delete this.attribs[ue];else delete this.attribs[le];return this},re.prototype.toString=function(le){return this.options.writer.element(this,this.options.writer.filterOptions(le))},re.prototype.att=function(le,ue){return this.attribute(le,ue)},re.prototype.a=function(le,ue){return this.attribute(le,ue)},re.prototype.getAttribute=function(le){return this.attribs.hasOwnProperty(le)?this.attribs[le].value:null},re.prototype.setAttribute=function(le,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},re.prototype.getAttributeNode=function(le){return this.attribs.hasOwnProperty(le)?this.attribs[le]:null},re.prototype.setAttributeNode=function(le){throw new Error("This DOM method is not implemented."+this.debugInfo())},re.prototype.removeAttributeNode=function(le){throw new Error("This DOM method is not implemented."+this.debugInfo())},re.prototype.getElementsByTagName=function(le){throw new Error("This DOM method is not implemented."+this.debugInfo())},re.prototype.getAttributeNS=function(le,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},re.prototype.setAttributeNS=function(le,ue,pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},re.prototype.removeAttributeNS=function(le,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},re.prototype.getAttributeNodeNS=function(le,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},re.prototype.setAttributeNodeNS=function(le){throw new Error("This DOM method is not implemented."+this.debugInfo())},re.prototype.getElementsByTagNameNS=function(le,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},re.prototype.hasAttribute=function(le){return this.attribs.hasOwnProperty(le)},re.prototype.hasAttributeNS=function(le,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},re.prototype.setIdAttribute=function(le,ue){return this.attribs.hasOwnProperty(le)?this.attribs[le].isId:ue},re.prototype.setIdAttributeNS=function(le,ue,pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},re.prototype.setIdAttributeNode=function(le,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},re.prototype.getElementsByTagName=function(le){throw new Error("This DOM method is not implemented."+this.debugInfo())},re.prototype.getElementsByTagNameNS=function(le,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},re.prototype.getElementsByClassName=function(le){throw new Error("This DOM method is not implemented."+this.debugInfo())},re.prototype.isEqualNode=function(le){var ue,pe,Pe;if(!re.__super__.isEqualNode.apply(this,arguments).isEqualNode(le)||le.namespaceURI!==this.namespaceURI||le.prefix!==this.prefix||le.localName!==this.localName||le.attribs.length!==this.attribs.length)return!1;for(ue=pe=0,Pe=this.attribs.length-1;0<=Pe?pe<=Pe:pe>=Pe;ue=0<=Pe?++pe:--pe)if(!this.attribs[ue].isEqualNode(le.attribs[ue]))return!1;return!0},re}(ye)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLAttribute":431,"./XMLNamedNodeMap":449,"./XMLNode":450}],449:[function(oe,Ze,Ne){(function(){var ge;Ze.exports=ge=function(){function ce(Ee){this.nodes=Ee}return Object.defineProperty(ce.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),ce.prototype.clone=function(){return this.nodes=null},ce.prototype.getNamedItem=function(Ee){return this.nodes[Ee]},ce.prototype.setNamedItem=function(Ee){var Ae;return Ae=this.nodes[Ee.nodeName],this.nodes[Ee.nodeName]=Ee,Ae||null},ce.prototype.removeNamedItem=function(Ee){var Ae;return Ae=this.nodes[Ee],delete this.nodes[Ee],Ae||null},ce.prototype.item=function(Ee){return this.nodes[Object.keys(this.nodes)[Ee]]||null},ce.prototype.getNamedItemNS=function(Ee,Ae){throw new Error("This DOM method is not implemented.")},ce.prototype.setNamedItemNS=function(Ee){throw new Error("This DOM method is not implemented.")},ce.prototype.removeNamedItemNS=function(Ee,Ae){throw new Error("This DOM method is not implemented.")},ce}()}).call(this)},{}],450:[function(oe,Ze,Ne){(function(){var ge,ce,Ee,Ae,ye,De,me,xe,fe,z,ee,ae,re,le,ue,pe,Pe,be,Ie,Me={}.hasOwnProperty;Ie=oe("./Utility"),be=Ie.isObject,Pe=Ie.isFunction,pe=Ie.isEmpty,ue=Ie.getValue,xe=null,Ee=null,Ae=null,ye=null,De=null,re=null,le=null,ae=null,me=null,ce=null,ee=null,fe=null,ge=null,Ze.exports=z=function(){function Oe(Te){this.parent=Te,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,xe||(xe=oe("./XMLElement"),Ee=oe("./XMLCData"),Ae=oe("./XMLComment"),ye=oe("./XMLDeclaration"),De=oe("./XMLDocType"),re=oe("./XMLRaw"),le=oe("./XMLText"),ae=oe("./XMLProcessingInstruction"),me=oe("./XMLDummy"),ce=oe("./NodeType"),ee=oe("./XMLNodeList"),fe=oe("./XMLNamedNodeMap"),ge=oe("./DocumentPosition"))}return Object.defineProperty(Oe.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(Oe.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(Oe.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(Oe.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(Oe.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new ee(this.children)),this.childNodeList}}),Object.defineProperty(Oe.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(Oe.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(Oe.prototype,"previousSibling",{get:function(){var Te;return Te=this.parent.children.indexOf(this),this.parent.children[Te-1]||null}}),Object.defineProperty(Oe.prototype,"nextSibling",{get:function(){var Te;return Te=this.parent.children.indexOf(this),this.parent.children[Te+1]||null}}),Object.defineProperty(Oe.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(Oe.prototype,"textContent",{get:function(){var Te,je,ze,$e,Ue;if(this.nodeType===ce.Element||this.nodeType===ce.DocumentFragment){for(Ue="",$e=this.children,je=0,ze=$e.length;je<ze;je++)Te=$e[je],Te.textContent&&(Ue+=Te.textContent);return Ue}else return null},set:function(Te){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Oe.prototype.setParent=function(Te){var je,ze,$e,Ue,qe;for(this.parent=Te,Te&&(this.options=Te.options,this.stringify=Te.stringify),Ue=this.children,qe=[],ze=0,$e=Ue.length;ze<$e;ze++)je=Ue[ze],qe.push(je.setParent(this));return qe},Oe.prototype.element=function(Te,je,ze){var $e,Ue,qe,et,lt,ut,vt,tt,at,dt,St;if(ut=null,je===null&&ze==null&&(at=[{},null],je=at[0],ze=at[1]),je==null&&(je={}),je=ue(je),be(je)||(dt=[je,ze],ze=dt[0],je=dt[1]),Te!=null&&(Te=ue(Te)),Array.isArray(Te))for(qe=0,vt=Te.length;qe<vt;qe++)Ue=Te[qe],ut=this.element(Ue);else if(Pe(Te))ut=this.element(Te.apply());else if(be(Te)){for(lt in Te)if(Me.call(Te,lt))if(St=Te[lt],Pe(St)&&(St=St.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&lt.indexOf(this.stringify.convertAttKey)===0)ut=this.attribute(lt.substr(this.stringify.convertAttKey.length),St);else if(!this.options.separateArrayItems&&Array.isArray(St)&&pe(St))ut=this.dummy();else if(be(St)&&pe(St))ut=this.element(lt);else if(!this.options.keepNullNodes&&St==null)ut=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(St))for(et=0,tt=St.length;et<tt;et++)Ue=St[et],$e={},$e[lt]=Ue,ut=this.element($e);else be(St)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&lt.indexOf(this.stringify.convertTextKey)===0?ut=this.element(St):(ut=this.element(lt),ut.element(St)):ut=this.element(lt,St)}else!this.options.keepNullNodes&&ze===null?ut=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&Te.indexOf(this.stringify.convertTextKey)===0?ut=this.text(ze):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&Te.indexOf(this.stringify.convertCDataKey)===0?ut=this.cdata(ze):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&Te.indexOf(this.stringify.convertCommentKey)===0?ut=this.comment(ze):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&Te.indexOf(this.stringify.convertRawKey)===0?ut=this.raw(ze):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&Te.indexOf(this.stringify.convertPIKey)===0?ut=this.instruction(Te.substr(this.stringify.convertPIKey.length),ze):ut=this.node(Te,je,ze);if(ut==null)throw new Error("Could not create any elements with: "+Te+". "+this.debugInfo());return ut},Oe.prototype.insertBefore=function(Te,je,ze){var $e,Ue,qe,et,lt;if(Te!=null&&Te.type)return qe=Te,et=je,qe.setParent(this),et?(Ue=children.indexOf(et),lt=children.splice(Ue),children.push(qe),Array.prototype.push.apply(children,lt)):children.push(qe),qe;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(Te));return Ue=this.parent.children.indexOf(this),lt=this.parent.children.splice(Ue),$e=this.parent.element(Te,je,ze),Array.prototype.push.apply(this.parent.children,lt),$e},Oe.prototype.insertAfter=function(Te,je,ze){var $e,Ue,qe;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(Te));return Ue=this.parent.children.indexOf(this),qe=this.parent.children.splice(Ue+1),$e=this.parent.element(Te,je,ze),Array.prototype.push.apply(this.parent.children,qe),$e},Oe.prototype.remove=function(){var Te,je;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return Te=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[Te,Te-Te+1].concat(je=[])),this.parent},Oe.prototype.node=function(Te,je,ze){var $e,Ue;return Te!=null&&(Te=ue(Te)),je||(je={}),je=ue(je),be(je)||(Ue=[je,ze],ze=Ue[0],je=Ue[1]),$e=new xe(this,Te,je),ze!=null&&$e.text(ze),this.children.push($e),$e},Oe.prototype.text=function(Te){var je;return be(Te)&&this.element(Te),je=new le(this,Te),this.children.push(je),this},Oe.prototype.cdata=function(Te){var je;return je=new Ee(this,Te),this.children.push(je),this},Oe.prototype.comment=function(Te){var je;return je=new Ae(this,Te),this.children.push(je),this},Oe.prototype.commentBefore=function(Te){var je,ze,$e;return ze=this.parent.children.indexOf(this),$e=this.parent.children.splice(ze),je=this.parent.comment(Te),Array.prototype.push.apply(this.parent.children,$e),this},Oe.prototype.commentAfter=function(Te){var je,ze,$e;return ze=this.parent.children.indexOf(this),$e=this.parent.children.splice(ze+1),je=this.parent.comment(Te),Array.prototype.push.apply(this.parent.children,$e),this},Oe.prototype.raw=function(Te){var je;return je=new re(this,Te),this.children.push(je),this},Oe.prototype.dummy=function(){var Te;return Te=new me(this),Te},Oe.prototype.instruction=function(Te,je){var ze,$e,Ue,qe,et;if(Te!=null&&(Te=ue(Te)),je!=null&&(je=ue(je)),Array.isArray(Te))for(qe=0,et=Te.length;qe<et;qe++)ze=Te[qe],this.instruction(ze);else if(be(Te))for(ze in Te)Me.call(Te,ze)&&($e=Te[ze],this.instruction(ze,$e));else Pe(je)&&(je=je.apply()),Ue=new ae(this,Te,je),this.children.push(Ue);return this},Oe.prototype.instructionBefore=function(Te,je){var ze,$e,Ue;return $e=this.parent.children.indexOf(this),Ue=this.parent.children.splice($e),ze=this.parent.instruction(Te,je),Array.prototype.push.apply(this.parent.children,Ue),this},Oe.prototype.instructionAfter=function(Te,je){var ze,$e,Ue;return $e=this.parent.children.indexOf(this),Ue=this.parent.children.splice($e+1),ze=this.parent.instruction(Te,je),Array.prototype.push.apply(this.parent.children,Ue),this},Oe.prototype.declaration=function(Te,je,ze){var $e,Ue;return $e=this.document(),Ue=new ye($e,Te,je,ze),$e.children.length===0?$e.children.unshift(Ue):$e.children[0].type===ce.Declaration?$e.children[0]=Ue:$e.children.unshift(Ue),$e.root()||$e},Oe.prototype.dtd=function(Te,je){var ze,$e,Ue,qe,et,lt,ut,vt,tt,at;for($e=this.document(),Ue=new De($e,Te,je),tt=$e.children,qe=et=0,ut=tt.length;et<ut;qe=++et)if(ze=tt[qe],ze.type===ce.DocType)return $e.children[qe]=Ue,Ue;for(at=$e.children,qe=lt=0,vt=at.length;lt<vt;qe=++lt)if(ze=at[qe],ze.isRoot)return $e.children.splice(qe,0,Ue),Ue;return $e.children.push(Ue),Ue},Oe.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},Oe.prototype.root=function(){var Te;for(Te=this;Te;){if(Te.type===ce.Document)return Te.rootObject;if(Te.isRoot)return Te;Te=Te.parent}},Oe.prototype.document=function(){var Te;for(Te=this;Te;){if(Te.type===ce.Document)return Te;Te=Te.parent}},Oe.prototype.end=function(Te){return this.document().end(Te)},Oe.prototype.prev=function(){var Te;if(Te=this.parent.children.indexOf(this),Te<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[Te-1]},Oe.prototype.next=function(){var Te;if(Te=this.parent.children.indexOf(this),Te===-1||Te===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[Te+1]},Oe.prototype.importDocument=function(Te){var je;return je=Te.root().clone(),je.parent=this,je.isRoot=!1,this.children.push(je),this},Oe.prototype.debugInfo=function(Te){var je,ze;return Te=Te||this.name,Te==null&&!((je=this.parent)!=null&&je.name)?"":Te==null?"parent: <"+this.parent.name+">":(ze=this.parent)!=null&&ze.name?"node: <"+Te+">, parent: <"+this.parent.name+">":"node: <"+Te+">"},Oe.prototype.ele=function(Te,je,ze){return this.element(Te,je,ze)},Oe.prototype.nod=function(Te,je,ze){return this.node(Te,je,ze)},Oe.prototype.txt=function(Te){return this.text(Te)},Oe.prototype.dat=function(Te){return this.cdata(Te)},Oe.prototype.com=function(Te){return this.comment(Te)},Oe.prototype.ins=function(Te,je){return this.instruction(Te,je)},Oe.prototype.doc=function(){return this.document()},Oe.prototype.dec=function(Te,je,ze){return this.declaration(Te,je,ze)},Oe.prototype.e=function(Te,je,ze){return this.element(Te,je,ze)},Oe.prototype.n=function(Te,je,ze){return this.node(Te,je,ze)},Oe.prototype.t=function(Te){return this.text(Te)},Oe.prototype.d=function(Te){return this.cdata(Te)},Oe.prototype.c=function(Te){return this.comment(Te)},Oe.prototype.r=function(Te){return this.raw(Te)},Oe.prototype.i=function(Te,je){return this.instruction(Te,je)},Oe.prototype.u=function(){return this.up()},Oe.prototype.importXMLBuilder=function(Te){return this.importDocument(Te)},Oe.prototype.replaceChild=function(Te,je){throw new Error("This DOM method is not implemented."+this.debugInfo())},Oe.prototype.removeChild=function(Te){throw new Error("This DOM method is not implemented."+this.debugInfo())},Oe.prototype.appendChild=function(Te){throw new Error("This DOM method is not implemented."+this.debugInfo())},Oe.prototype.hasChildNodes=function(){return this.children.length!==0},Oe.prototype.cloneNode=function(Te){throw new Error("This DOM method is not implemented."+this.debugInfo())},Oe.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},Oe.prototype.isSupported=function(Te,je){return!0},Oe.prototype.hasAttributes=function(){return this.attribs.length!==0},Oe.prototype.compareDocumentPosition=function(Te){var je,ze;return je=this,je===Te?0:this.document()!==Te.document()?(ze=ge.Disconnected|ge.ImplementationSpecific,Math.random()<.5?ze|=ge.Preceding:ze|=ge.Following,ze):je.isAncestor(Te)?ge.Contains|ge.Preceding:je.isDescendant(Te)?ge.Contains|ge.Following:je.isPreceding(Te)?ge.Preceding:ge.Following},Oe.prototype.isSameNode=function(Te){throw new Error("This DOM method is not implemented."+this.debugInfo())},Oe.prototype.lookupPrefix=function(Te){throw new Error("This DOM method is not implemented."+this.debugInfo())},Oe.prototype.isDefaultNamespace=function(Te){throw new Error("This DOM method is not implemented."+this.debugInfo())},Oe.prototype.lookupNamespaceURI=function(Te){throw new Error("This DOM method is not implemented."+this.debugInfo())},Oe.prototype.isEqualNode=function(Te){var je,ze,$e;if(Te.nodeType!==this.nodeType||Te.children.length!==this.children.length)return!1;for(je=ze=0,$e=this.children.length-1;0<=$e?ze<=$e:ze>=$e;je=0<=$e?++ze:--ze)if(!this.children[je].isEqualNode(Te.children[je]))return!1;return!0},Oe.prototype.getFeature=function(Te,je){throw new Error("This DOM method is not implemented."+this.debugInfo())},Oe.prototype.setUserData=function(Te,je,ze){throw new Error("This DOM method is not implemented."+this.debugInfo())},Oe.prototype.getUserData=function(Te){throw new Error("This DOM method is not implemented."+this.debugInfo())},Oe.prototype.contains=function(Te){return Te?Te===this||this.isDescendant(Te):!1},Oe.prototype.isDescendant=function(Te){var je,ze,$e,Ue,qe;for(qe=this.children,$e=0,Ue=qe.length;$e<Ue;$e++)if(je=qe[$e],Te===je||(ze=je.isDescendant(Te),ze))return!0;return!1},Oe.prototype.isAncestor=function(Te){return Te.isDescendant(this)},Oe.prototype.isPreceding=function(Te){var je,ze;return je=this.treePosition(Te),ze=this.treePosition(this),je===-1||ze===-1?!1:je<ze},Oe.prototype.isFollowing=function(Te){var je,ze;return je=this.treePosition(Te),ze=this.treePosition(this),je===-1||ze===-1?!1:je>ze},Oe.prototype.treePosition=function(Te){var je,ze;return ze=0,je=!1,this.foreachTreeNode(this.document(),function($e){if(ze++,!je&&$e===Te)return je=!0}),je?ze:-1},Oe.prototype.foreachTreeNode=function(Te,je){var ze,$e,Ue,qe,et;for(Te||(Te=this.document()),qe=Te.children,$e=0,Ue=qe.length;$e<Ue;$e++){if(ze=qe[$e],et=je(ze))return et;if(et=this.foreachTreeNode(ze,je),et)return et}},Oe}()}).call(this)},{"./DocumentPosition":427,"./NodeType":428,"./Utility":429,"./XMLCData":432,"./XMLComment":434,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLNamedNodeMap":449,"./XMLNodeList":451,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],451:[function(oe,Ze,Ne){(function(){var ge;Ze.exports=ge=function(){function ce(Ee){this.nodes=Ee}return Object.defineProperty(ce.prototype,"length",{get:function(){return this.nodes.length||0}}),ce.prototype.clone=function(){return this.nodes=null},ce.prototype.item=function(Ee){return this.nodes[Ee]||null},ce}()}).call(this)},{}],452:[function(oe,Ze,Ne){(function(){var ge,ce,Ee,Ae=function(De,me){for(var xe in me)ye.call(me,xe)&&(De[xe]=me[xe]);function fe(){this.constructor=De}return fe.prototype=me.prototype,De.prototype=new fe,De.__super__=me.prototype,De},ye={}.hasOwnProperty;ge=oe("./NodeType"),ce=oe("./XMLCharacterData"),Ze.exports=Ee=function(De){Ae(me,De);function me(xe,fe,z){if(me.__super__.constructor.call(this,xe),fe==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=ge.ProcessingInstruction,this.target=this.stringify.insTarget(fe),this.name=this.target,z&&(this.value=this.stringify.insValue(z))}return me.prototype.clone=function(){return Object.create(this)},me.prototype.toString=function(xe){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(xe))},me.prototype.isEqualNode=function(xe){return!(!me.__super__.isEqualNode.apply(this,arguments).isEqualNode(xe)||xe.target!==this.target)},me}(ce)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],453:[function(oe,Ze,Ne){(function(){var ge,ce,Ee,Ae=function(De,me){for(var xe in me)ye.call(me,xe)&&(De[xe]=me[xe]);function fe(){this.constructor=De}return fe.prototype=me.prototype,De.prototype=new fe,De.__super__=me.prototype,De},ye={}.hasOwnProperty;ge=oe("./NodeType"),ce=oe("./XMLNode"),Ze.exports=Ee=function(De){Ae(me,De);function me(xe,fe){if(me.__super__.constructor.call(this,xe),fe==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=ge.Raw,this.value=this.stringify.raw(fe)}return me.prototype.clone=function(){return Object.create(this)},me.prototype.toString=function(xe){return this.options.writer.raw(this,this.options.writer.filterOptions(xe))},me}(ce)}).call(this)},{"./NodeType":428,"./XMLNode":450}],454:[function(oe,Ze,Ne){(function(){var ge,ce,Ee,Ae,ye=function(me,xe){for(var fe in xe)De.call(xe,fe)&&(me[fe]=xe[fe]);function z(){this.constructor=me}return z.prototype=xe.prototype,me.prototype=new z,me.__super__=xe.prototype,me},De={}.hasOwnProperty;ge=oe("./NodeType"),Ae=oe("./XMLWriterBase"),ce=oe("./WriterState"),Ze.exports=Ee=function(me){ye(xe,me);function xe(fe,z){this.stream=fe,xe.__super__.constructor.call(this,z)}return xe.prototype.endline=function(fe,z,ee){return fe.isLastRootNode&&z.state===ce.CloseTag?"":xe.__super__.endline.call(this,fe,z,ee)},xe.prototype.document=function(fe,z){var ee,ae,re,le,ue,pe,Pe,be,Ie;for(Pe=fe.children,ae=re=0,ue=Pe.length;re<ue;ae=++re)ee=Pe[ae],ee.isLastRootNode=ae===fe.children.length-1;for(z=this.filterOptions(z),be=fe.children,Ie=[],le=0,pe=be.length;le<pe;le++)ee=be[le],Ie.push(this.writeChildNode(ee,z,0));return Ie},xe.prototype.attribute=function(fe,z,ee){return this.stream.write(xe.__super__.attribute.call(this,fe,z,ee))},xe.prototype.cdata=function(fe,z,ee){return this.stream.write(xe.__super__.cdata.call(this,fe,z,ee))},xe.prototype.comment=function(fe,z,ee){return this.stream.write(xe.__super__.comment.call(this,fe,z,ee))},xe.prototype.declaration=function(fe,z,ee){return this.stream.write(xe.__super__.declaration.call(this,fe,z,ee))},xe.prototype.docType=function(fe,z,ee){var ae,re,le,ue;if(ee||(ee=0),this.openNode(fe,z,ee),z.state=ce.OpenTag,this.stream.write(this.indent(fe,z,ee)),this.stream.write("<!DOCTYPE "+fe.root().name),fe.pubID&&fe.sysID?this.stream.write(' PUBLIC "'+fe.pubID+'" "'+fe.sysID+'"'):fe.sysID&&this.stream.write(' SYSTEM "'+fe.sysID+'"'),fe.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(fe,z,ee)),z.state=ce.InsideTag,ue=fe.children,re=0,le=ue.length;re<le;re++)ae=ue[re],this.writeChildNode(ae,z,ee+1);z.state=ce.CloseTag,this.stream.write("]")}return z.state=ce.CloseTag,this.stream.write(z.spaceBeforeSlash+">"),this.stream.write(this.endline(fe,z,ee)),z.state=ce.None,this.closeNode(fe,z,ee)},xe.prototype.element=function(fe,z,ee){var ae,re,le,ue,pe,Pe,be,Ie,Me,Oe;ee||(ee=0),this.openNode(fe,z,ee),z.state=ce.OpenTag,this.stream.write(this.indent(fe,z,ee)+"<"+fe.name),Me=fe.attribs;for(be in Me)De.call(Me,be)&&(ae=Me[be],this.attribute(ae,z,ee));if(le=fe.children.length,ue=le===0?null:fe.children[0],le===0||fe.children.every(function(Te){return(Te.type===ge.Text||Te.type===ge.Raw)&&Te.value===""}))z.allowEmpty?(this.stream.write(">"),z.state=ce.CloseTag,this.stream.write("</"+fe.name+">")):(z.state=ce.CloseTag,this.stream.write(z.spaceBeforeSlash+"/>"));else if(z.pretty&&le===1&&(ue.type===ge.Text||ue.type===ge.Raw)&&ue.value!=null)this.stream.write(">"),z.state=ce.InsideTag,z.suppressPrettyCount++,Ie=!0,this.writeChildNode(ue,z,ee+1),z.suppressPrettyCount--,Ie=!1,z.state=ce.CloseTag,this.stream.write("</"+fe.name+">");else{for(this.stream.write(">"+this.endline(fe,z,ee)),z.state=ce.InsideTag,Oe=fe.children,pe=0,Pe=Oe.length;pe<Pe;pe++)re=Oe[pe],this.writeChildNode(re,z,ee+1);z.state=ce.CloseTag,this.stream.write(this.indent(fe,z,ee)+"</"+fe.name+">")}return this.stream.write(this.endline(fe,z,ee)),z.state=ce.None,this.closeNode(fe,z,ee)},xe.prototype.processingInstruction=function(fe,z,ee){return this.stream.write(xe.__super__.processingInstruction.call(this,fe,z,ee))},xe.prototype.raw=function(fe,z,ee){return this.stream.write(xe.__super__.raw.call(this,fe,z,ee))},xe.prototype.text=function(fe,z,ee){return this.stream.write(xe.__super__.text.call(this,fe,z,ee))},xe.prototype.dtdAttList=function(fe,z,ee){return this.stream.write(xe.__super__.dtdAttList.call(this,fe,z,ee))},xe.prototype.dtdElement=function(fe,z,ee){return this.stream.write(xe.__super__.dtdElement.call(this,fe,z,ee))},xe.prototype.dtdEntity=function(fe,z,ee){return this.stream.write(xe.__super__.dtdEntity.call(this,fe,z,ee))},xe.prototype.dtdNotation=function(fe,z,ee){return this.stream.write(xe.__super__.dtdNotation.call(this,fe,z,ee))},xe}(Ae)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(oe,Ze,Ne){(function(){var ge,ce,Ee=function(ye,De){for(var me in De)Ae.call(De,me)&&(ye[me]=De[me]);function xe(){this.constructor=ye}return xe.prototype=De.prototype,ye.prototype=new xe,ye.__super__=De.prototype,ye},Ae={}.hasOwnProperty;ce=oe("./XMLWriterBase"),Ze.exports=ge=function(ye){Ee(De,ye);function De(me){De.__super__.constructor.call(this,me)}return De.prototype.document=function(me,xe){var fe,z,ee,ae,re;for(xe=this.filterOptions(xe),ae="",re=me.children,z=0,ee=re.length;z<ee;z++)fe=re[z],ae+=this.writeChildNode(fe,xe,0);return xe.pretty&&ae.slice(-xe.newline.length)===xe.newline&&(ae=ae.slice(0,-xe.newline.length)),ae},De}(ce)}).call(this)},{"./XMLWriterBase":458}],456:[function(oe,Ze,Ne){(function(){var ge,ce=function(Ae,ye){return function(){return Ae.apply(ye,arguments)}},Ee={}.hasOwnProperty;Ze.exports=ge=function(){function Ae(ye){this.assertLegalName=ce(this.assertLegalName,this),this.assertLegalChar=ce(this.assertLegalChar,this);var De,me,xe;ye||(ye={}),this.options=ye,this.options.version||(this.options.version="1.0"),me=ye.stringify||{};for(De in me)Ee.call(me,De)&&(xe=me[De],this[De]=xe)}return Ae.prototype.name=function(ye){return this.options.noValidation?ye:this.assertLegalName(""+ye||"")},Ae.prototype.text=function(ye){return this.options.noValidation?ye:this.assertLegalChar(this.textEscape(""+ye||""))},Ae.prototype.cdata=function(ye){return this.options.noValidation?ye:(ye=""+ye||"",ye=ye.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(ye))},Ae.prototype.comment=function(ye){if(this.options.noValidation)return ye;if(ye=""+ye||"",ye.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+ye);return this.assertLegalChar(ye)},Ae.prototype.raw=function(ye){return this.options.noValidation?ye:""+ye||""},Ae.prototype.attValue=function(ye){return this.options.noValidation?ye:this.assertLegalChar(this.attEscape(ye=""+ye||""))},Ae.prototype.insTarget=function(ye){return this.options.noValidation?ye:this.assertLegalChar(""+ye||"")},Ae.prototype.insValue=function(ye){if(this.options.noValidation)return ye;if(ye=""+ye||"",ye.match(/\?>/))throw new Error("Invalid processing instruction value: "+ye);return this.assertLegalChar(ye)},Ae.prototype.xmlVersion=function(ye){if(this.options.noValidation)return ye;if(ye=""+ye||"",!ye.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+ye);return ye},Ae.prototype.xmlEncoding=function(ye){if(this.options.noValidation)return ye;if(ye=""+ye||"",!ye.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+ye);return this.assertLegalChar(ye)},Ae.prototype.xmlStandalone=function(ye){return this.options.noValidation?ye:ye?"yes":"no"},Ae.prototype.dtdPubID=function(ye){return this.options.noValidation?ye:this.assertLegalChar(""+ye||"")},Ae.prototype.dtdSysID=function(ye){return this.options.noValidation?ye:this.assertLegalChar(""+ye||"")},Ae.prototype.dtdElementValue=function(ye){return this.options.noValidation?ye:this.assertLegalChar(""+ye||"")},Ae.prototype.dtdAttType=function(ye){return this.options.noValidation?ye:this.assertLegalChar(""+ye||"")},Ae.prototype.dtdAttDefault=function(ye){return this.options.noValidation?ye:this.assertLegalChar(""+ye||"")},Ae.prototype.dtdEntityValue=function(ye){return this.options.noValidation?ye:this.assertLegalChar(""+ye||"")},Ae.prototype.dtdNData=function(ye){return this.options.noValidation?ye:this.assertLegalChar(""+ye||"")},Ae.prototype.convertAttKey="@",Ae.prototype.convertPIKey="?",Ae.prototype.convertTextKey="#text",Ae.prototype.convertCDataKey="#cdata",Ae.prototype.convertCommentKey="#comment",Ae.prototype.convertRawKey="#raw",Ae.prototype.assertLegalChar=function(ye){var De,me;if(this.options.noValidation)return ye;if(De="",this.options.version==="1.0"){if(De=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,me=ye.match(De))throw new Error("Invalid character in string: "+ye+" at index "+me.index)}else if(this.options.version==="1.1"&&(De=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,me=ye.match(De)))throw new Error("Invalid character in string: "+ye+" at index "+me.index);return ye},Ae.prototype.assertLegalName=function(ye){var De;if(this.options.noValidation)return ye;if(this.assertLegalChar(ye),De=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!ye.match(De))throw new Error("Invalid character in name");return ye},Ae.prototype.textEscape=function(ye){var De;return this.options.noValidation?ye:(De=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,ye.replace(De,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))},Ae.prototype.attEscape=function(ye){var De;return this.options.noValidation?ye:(De=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,ye.replace(De,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;"))},Ae}()}).call(this)},{}],457:[function(oe,Ze,Ne){(function(){var ge,ce,Ee,Ae=function(De,me){for(var xe in me)ye.call(me,xe)&&(De[xe]=me[xe]);function fe(){this.constructor=De}return fe.prototype=me.prototype,De.prototype=new fe,De.__super__=me.prototype,De},ye={}.hasOwnProperty;ge=oe("./NodeType"),ce=oe("./XMLCharacterData"),Ze.exports=Ee=function(De){Ae(me,De);function me(xe,fe){if(me.__super__.constructor.call(this,xe),fe==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=ge.Text,this.value=this.stringify.text(fe)}return Object.defineProperty(me.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(me.prototype,"wholeText",{get:function(){var xe,fe,z;for(z="",fe=this.previousSibling;fe;)z=fe.data+z,fe=fe.previousSibling;for(z+=this.data,xe=this.nextSibling;xe;)z=z+xe.data,xe=xe.nextSibling;return z}}),me.prototype.clone=function(){return Object.create(this)},me.prototype.toString=function(xe){return this.options.writer.text(this,this.options.writer.filterOptions(xe))},me.prototype.splitText=function(xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},me.prototype.replaceWholeText=function(xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},me}(ce)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],458:[function(oe,Ze,Ne){(function(){var ge,ce,Ee,Ae,ye,De,me,xe,fe,z,ee,ae,re,le,ue,pe,Pe,be={}.hasOwnProperty;Pe=oe("./Utility").assign,ge=oe("./NodeType"),fe=oe("./XMLDeclaration"),z=oe("./XMLDocType"),Ee=oe("./XMLCData"),Ae=oe("./XMLComment"),ae=oe("./XMLElement"),le=oe("./XMLRaw"),ue=oe("./XMLText"),re=oe("./XMLProcessingInstruction"),ee=oe("./XMLDummy"),ye=oe("./XMLDTDAttList"),De=oe("./XMLDTDElement"),me=oe("./XMLDTDEntity"),xe=oe("./XMLDTDNotation"),ce=oe("./WriterState"),Ze.exports=pe=function(){function Ie(Me){var Oe,Te,je;Me||(Me={}),this.options=Me,Te=Me.writer||{};for(Oe in Te)be.call(Te,Oe)&&(je=Te[Oe],this["_"+Oe]=this[Oe],this[Oe]=je)}return Ie.prototype.filterOptions=function(Me){var Oe,Te,je,ze,$e,Ue,qe,et;return Me||(Me={}),Me=Pe({},this.options,Me),Oe={writer:this},Oe.pretty=Me.pretty||!1,Oe.allowEmpty=Me.allowEmpty||!1,Oe.indent=(Te=Me.indent)!=null?Te:" ",Oe.newline=(je=Me.newline)!=null?je:`
`,Oe.offset=(ze=Me.offset)!=null?ze:0,Oe.dontPrettyTextNodes=($e=(Ue=Me.dontPrettyTextNodes)!=null?Ue:Me.dontprettytextnodes)!=null?$e:0,Oe.spaceBeforeSlash=(qe=(et=Me.spaceBeforeSlash)!=null?et:Me.spacebeforeslash)!=null?qe:"",Oe.spaceBeforeSlash===!0&&(Oe.spaceBeforeSlash=" "),Oe.suppressPrettyCount=0,Oe.user={},Oe.state=ce.None,Oe},Ie.prototype.indent=function(Me,Oe,Te){var je;return!Oe.pretty||Oe.suppressPrettyCount?"":Oe.pretty&&(je=(Te||0)+Oe.offset+1,je>0)?new Array(je).join(Oe.indent):""},Ie.prototype.endline=function(Me,Oe,Te){return!Oe.pretty||Oe.suppressPrettyCount?"":Oe.newline},Ie.prototype.attribute=function(Me,Oe,Te){var je;return this.openAttribute(Me,Oe,Te),je=" "+Me.name+'="'+Me.value+'"',this.closeAttribute(Me,Oe,Te),je},Ie.prototype.cdata=function(Me,Oe,Te){var je;return this.openNode(Me,Oe,Te),Oe.state=ce.OpenTag,je=this.indent(Me,Oe,Te)+"<![CDATA[",Oe.state=ce.InsideTag,je+=Me.value,Oe.state=ce.CloseTag,je+="]]>"+this.endline(Me,Oe,Te),Oe.state=ce.None,this.closeNode(Me,Oe,Te),je},Ie.prototype.comment=function(Me,Oe,Te){var je;return this.openNode(Me,Oe,Te),Oe.state=ce.OpenTag,je=this.indent(Me,Oe,Te)+"<!-- ",Oe.state=ce.InsideTag,je+=Me.value,Oe.state=ce.CloseTag,je+=" -->"+this.endline(Me,Oe,Te),Oe.state=ce.None,this.closeNode(Me,Oe,Te),je},Ie.prototype.declaration=function(Me,Oe,Te){var je;return this.openNode(Me,Oe,Te),Oe.state=ce.OpenTag,je=this.indent(Me,Oe,Te)+"<?xml",Oe.state=ce.InsideTag,je+=' version="'+Me.version+'"',Me.encoding!=null&&(je+=' encoding="'+Me.encoding+'"'),Me.standalone!=null&&(je+=' standalone="'+Me.standalone+'"'),Oe.state=ce.CloseTag,je+=Oe.spaceBeforeSlash+"?>",je+=this.endline(Me,Oe,Te),Oe.state=ce.None,this.closeNode(Me,Oe,Te),je},Ie.prototype.docType=function(Me,Oe,Te){var je,ze,$e,Ue,qe;if(Te||(Te=0),this.openNode(Me,Oe,Te),Oe.state=ce.OpenTag,Ue=this.indent(Me,Oe,Te),Ue+="<!DOCTYPE "+Me.root().name,Me.pubID&&Me.sysID?Ue+=' PUBLIC "'+Me.pubID+'" "'+Me.sysID+'"':Me.sysID&&(Ue+=' SYSTEM "'+Me.sysID+'"'),Me.children.length>0){for(Ue+=" [",Ue+=this.endline(Me,Oe,Te),Oe.state=ce.InsideTag,qe=Me.children,ze=0,$e=qe.length;ze<$e;ze++)je=qe[ze],Ue+=this.writeChildNode(je,Oe,Te+1);Oe.state=ce.CloseTag,Ue+="]"}return Oe.state=ce.CloseTag,Ue+=Oe.spaceBeforeSlash+">",Ue+=this.endline(Me,Oe,Te),Oe.state=ce.None,this.closeNode(Me,Oe,Te),Ue},Ie.prototype.element=function(Me,Oe,Te){var je,ze,$e,Ue,qe,et,lt,ut,vt,tt,at,dt,St,xt;Te||(Te=0),tt=!1,at="",this.openNode(Me,Oe,Te),Oe.state=ce.OpenTag,at+=this.indent(Me,Oe,Te)+"<"+Me.name,dt=Me.attribs;for(vt in dt)be.call(dt,vt)&&(je=dt[vt],at+=this.attribute(je,Oe,Te));if($e=Me.children.length,Ue=$e===0?null:Me.children[0],$e===0||Me.children.every(function(ft){return(ft.type===ge.Text||ft.type===ge.Raw)&&ft.value===""}))Oe.allowEmpty?(at+=">",Oe.state=ce.CloseTag,at+="</"+Me.name+">"+this.endline(Me,Oe,Te)):(Oe.state=ce.CloseTag,at+=Oe.spaceBeforeSlash+"/>"+this.endline(Me,Oe,Te));else if(Oe.pretty&&$e===1&&(Ue.type===ge.Text||Ue.type===ge.Raw)&&Ue.value!=null)at+=">",Oe.state=ce.InsideTag,Oe.suppressPrettyCount++,tt=!0,at+=this.writeChildNode(Ue,Oe,Te+1),Oe.suppressPrettyCount--,tt=!1,Oe.state=ce.CloseTag,at+="</"+Me.name+">"+this.endline(Me,Oe,Te);else{if(Oe.dontPrettyTextNodes){for(St=Me.children,qe=0,lt=St.length;qe<lt;qe++)if(ze=St[qe],(ze.type===ge.Text||ze.type===ge.Raw)&&ze.value!=null){Oe.suppressPrettyCount++,tt=!0;break}}for(at+=">"+this.endline(Me,Oe,Te),Oe.state=ce.InsideTag,xt=Me.children,et=0,ut=xt.length;et<ut;et++)ze=xt[et],at+=this.writeChildNode(ze,Oe,Te+1);Oe.state=ce.CloseTag,at+=this.indent(Me,Oe,Te)+"</"+Me.name+">",tt&&Oe.suppressPrettyCount--,at+=this.endline(Me,Oe,Te),Oe.state=ce.None}return this.closeNode(Me,Oe,Te),at},Ie.prototype.writeChildNode=function(Me,Oe,Te){switch(Me.type){case ge.CData:return this.cdata(Me,Oe,Te);case ge.Comment:return this.comment(Me,Oe,Te);case ge.Element:return this.element(Me,Oe,Te);case ge.Raw:return this.raw(Me,Oe,Te);case ge.Text:return this.text(Me,Oe,Te);case ge.ProcessingInstruction:return this.processingInstruction(Me,Oe,Te);case ge.Dummy:return"";case ge.Declaration:return this.declaration(Me,Oe,Te);case ge.DocType:return this.docType(Me,Oe,Te);case ge.AttributeDeclaration:return this.dtdAttList(Me,Oe,Te);case ge.ElementDeclaration:return this.dtdElement(Me,Oe,Te);case ge.EntityDeclaration:return this.dtdEntity(Me,Oe,Te);case ge.NotationDeclaration:return this.dtdNotation(Me,Oe,Te);default:throw new Error("Unknown XML node type: "+Me.constructor.name)}},Ie.prototype.processingInstruction=function(Me,Oe,Te){var je;return this.openNode(Me,Oe,Te),Oe.state=ce.OpenTag,je=this.indent(Me,Oe,Te)+"<?",Oe.state=ce.InsideTag,je+=Me.target,Me.value&&(je+=" "+Me.value),Oe.state=ce.CloseTag,je+=Oe.spaceBeforeSlash+"?>",je+=this.endline(Me,Oe,Te),Oe.state=ce.None,this.closeNode(Me,Oe,Te),je},Ie.prototype.raw=function(Me,Oe,Te){var je;return this.openNode(Me,Oe,Te),Oe.state=ce.OpenTag,je=this.indent(Me,Oe,Te),Oe.state=ce.InsideTag,je+=Me.value,Oe.state=ce.CloseTag,je+=this.endline(Me,Oe,Te),Oe.state=ce.None,this.closeNode(Me,Oe,Te),je},Ie.prototype.text=function(Me,Oe,Te){var je;return this.openNode(Me,Oe,Te),Oe.state=ce.OpenTag,je=this.indent(Me,Oe,Te),Oe.state=ce.InsideTag,je+=Me.value,Oe.state=ce.CloseTag,je+=this.endline(Me,Oe,Te),Oe.state=ce.None,this.closeNode(Me,Oe,Te),je},Ie.prototype.dtdAttList=function(Me,Oe,Te){var je;return this.openNode(Me,Oe,Te),Oe.state=ce.OpenTag,je=this.indent(Me,Oe,Te)+"<!ATTLIST",Oe.state=ce.InsideTag,je+=" "+Me.elementName+" "+Me.attributeName+" "+Me.attributeType,Me.defaultValueType!=="#DEFAULT"&&(je+=" "+Me.defaultValueType),Me.defaultValue&&(je+=' "'+Me.defaultValue+'"'),Oe.state=ce.CloseTag,je+=Oe.spaceBeforeSlash+">"+this.endline(Me,Oe,Te),Oe.state=ce.None,this.closeNode(Me,Oe,Te),je},Ie.prototype.dtdElement=function(Me,Oe,Te){var je;return this.openNode(Me,Oe,Te),Oe.state=ce.OpenTag,je=this.indent(Me,Oe,Te)+"<!ELEMENT",Oe.state=ce.InsideTag,je+=" "+Me.name+" "+Me.value,Oe.state=ce.CloseTag,je+=Oe.spaceBeforeSlash+">"+this.endline(Me,Oe,Te),Oe.state=ce.None,this.closeNode(Me,Oe,Te),je},Ie.prototype.dtdEntity=function(Me,Oe,Te){var je;return this.openNode(Me,Oe,Te),Oe.state=ce.OpenTag,je=this.indent(Me,Oe,Te)+"<!ENTITY",Oe.state=ce.InsideTag,Me.pe&&(je+=" %"),je+=" "+Me.name,Me.value?je+=' "'+Me.value+'"':(Me.pubID&&Me.sysID?je+=' PUBLIC "'+Me.pubID+'" "'+Me.sysID+'"':Me.sysID&&(je+=' SYSTEM "'+Me.sysID+'"'),Me.nData&&(je+=" NDATA "+Me.nData)),Oe.state=ce.CloseTag,je+=Oe.spaceBeforeSlash+">"+this.endline(Me,Oe,Te),Oe.state=ce.None,this.closeNode(Me,Oe,Te),je},Ie.prototype.dtdNotation=function(Me,Oe,Te){var je;return this.openNode(Me,Oe,Te),Oe.state=ce.OpenTag,je=this.indent(Me,Oe,Te)+"<!NOTATION",Oe.state=ce.InsideTag,je+=" "+Me.name,Me.pubID&&Me.sysID?je+=' PUBLIC "'+Me.pubID+'" "'+Me.sysID+'"':Me.pubID?je+=' PUBLIC "'+Me.pubID+'"':Me.sysID&&(je+=' SYSTEM "'+Me.sysID+'"'),Oe.state=ce.CloseTag,je+=Oe.spaceBeforeSlash+">"+this.endline(Me,Oe,Te),Oe.state=ce.None,this.closeNode(Me,Oe,Te),je},Ie.prototype.openNode=function(Me,Oe,Te){},Ie.prototype.closeNode=function(Me,Oe,Te){},Ie.prototype.openAttribute=function(Me,Oe,Te){},Ie.prototype.closeAttribute=function(Me,Oe,Te){},Ie}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],459:[function(oe,Ze,Ne){(function(){var ge,ce,Ee,Ae,ye,De,me,xe,fe,z;z=oe("./Utility"),xe=z.assign,fe=z.isFunction,Ee=oe("./XMLDOMImplementation"),Ae=oe("./XMLDocument"),ye=oe("./XMLDocumentCB"),me=oe("./XMLStringWriter"),De=oe("./XMLStreamWriter"),ge=oe("./NodeType"),ce=oe("./WriterState"),Ze.exports.create=function(ee,ae,re,le){var ue,pe;if(ee==null)throw new Error("Root element needs a name.");return le=xe({},ae,re,le),ue=new Ae(le),pe=ue.element(ee),le.headless||(ue.declaration(le),(le.pubID!=null||le.sysID!=null)&&ue.dtd(le)),pe},Ze.exports.begin=function(ee,ae,re){var le;return fe(ee)&&(le=[ee,ae],ae=le[0],re=le[1],ee={}),ae?new ye(ee,ae,re):new Ae(ee)},Ze.exports.stringWriter=function(ee){return new me(ee)},Ze.exports.streamWriter=function(ee,ae){return new De(ee,ae)},Ze.exports.implementation=new Ee,Ze.exports.nodeType=ge,Ze.exports.writerState=ce}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[function(oe,Ze,Ne){Ze.exports=ce;var ge=Object.prototype.hasOwnProperty;function ce(){for(var Ee={},Ae=0;Ae<arguments.length;Ae++){var ye=arguments[Ae];for(var De in ye)ge.call(ye,De)&&(Ee[De]=ye[De])}return Ee}},{}],461:[function(oe,Ze,Ne){"use strict";oe("core-js/modules/es.array.fill.js"),oe("core-js/modules/es.array.concat.js"),oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/es.regexp.to-string.js"),oe("core-js/modules/es.array.join.js"),oe("core-js/modules/es.array.slice.js");var ge=oe("buffer").Buffer,ce=oe("./sha"),Ee=oe("./md5"),Ae={sha1:ce,md5:Ee},ye=64,De=ge.alloc(ye);De.fill(0);function me(z,ee,ae){ge.isBuffer(ee)||(ee=ge.from(ee)),ge.isBuffer(ae)||(ae=ge.from(ae)),ee.length>ye?ee=z(ee):ee.length<ye&&(ee=ge.concat([ee,De],ye));for(var re=ge.alloc(ye),le=ge.alloc(ye),ue=0;ue<ye;ue++)re[ue]=ee[ue]^54,le[ue]=ee[ue]^92;var pe=z(ge.concat([re,ae]));return z(ge.concat([le,pe]))}function xe(z,ee){z=z||"sha1";var ae=Ae[z],re=[],le=0;return ae||fe("algorithm:",z,"is not yet supported"),{update:function(pe){return ge.isBuffer(pe)||(pe=ge.from(pe)),re.push(pe),le+=pe.length,this},digest:function(pe){var Pe=ge.concat(re),be=ee?me(ae,ee,Pe):ae(Pe);return re=null,pe?be.toString(pe):be}}}function fe(){var z=[].slice.call(arguments).join(" ");throw new Error([z,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
`))}Ne.createHash=function(z){return xe(z)},Ne.createHmac=function(z,ee){return xe(z,ee)},Ne.createCredentials=function(){fe("sorry,createCredentials is not implemented yet")},Ne.createCipher=function(){fe("sorry,createCipher is not implemented yet")},Ne.createCipheriv=function(){fe("sorry,createCipheriv is not implemented yet")},Ne.createDecipher=function(){fe("sorry,createDecipher is not implemented yet")},Ne.createDecipheriv=function(){fe("sorry,createDecipheriv is not implemented yet")},Ne.createSign=function(){fe("sorry,createSign is not implemented yet")},Ne.createVerify=function(){fe("sorry,createVerify is not implemented yet")},Ne.createDiffieHellman=function(){fe("sorry,createDiffieHellman is not implemented yet")},Ne.pbkdf2=function(){fe("sorry,pbkdf2 is not implemented yet")}},{"./md5":463,"./sha":464,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],462:[function(oe,Ze,Ne){"use strict";oe("core-js/modules/es.array.fill.js"),oe("core-js/modules/es.array.concat.js");var ge=oe("buffer").Buffer,ce=4,Ee=ge.alloc(ce);Ee.fill(0);var Ae=8;function ye(xe,fe){if(xe.length%ce!==0){var z=xe.length+(ce-xe.length%ce);xe=ge.concat([xe,Ee],z)}for(var ee=[],ae=fe?xe.readInt32BE:xe.readInt32LE,re=0;re<xe.length;re+=ce)ee.push(ae.call(xe,re));return ee}function De(xe,fe,z){for(var ee=ge.alloc(fe),ae=z?ee.writeInt32BE:ee.writeInt32LE,re=0;re<xe.length;re++)ae.call(ee,xe[re],re*4,!0);return ee}function me(xe,fe,z,ee){ge.isBuffer(xe)||(xe=ge.from(xe));var ae=fe(ye(xe,ee),xe.length*Ae);return De(ae,z,ee)}Ze.exports={hash:me}},{buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273}],463:[function(oe,Ze,Ne){"use strict";var ge=oe("./helpers");function ce(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function Ee(ee,ae){ee[ae>>5]|=128<<ae%32,ee[(ae+64>>>9<<4)+14]=ae;for(var re=1732584193,le=-271733879,ue=-1732584194,pe=271733878,Pe=0;Pe<ee.length;Pe+=16){var be=re,Ie=le,Me=ue,Oe=pe;re=ye(re,le,ue,pe,ee[Pe+0],7,-680876936),pe=ye(pe,re,le,ue,ee[Pe+1],12,-389564586),ue=ye(ue,pe,re,le,ee[Pe+2],17,606105819),le=ye(le,ue,pe,re,ee[Pe+3],22,-1044525330),re=ye(re,le,ue,pe,ee[Pe+4],7,-176418897),pe=ye(pe,re,le,ue,ee[Pe+5],12,1200080426),ue=ye(ue,pe,re,le,ee[Pe+6],17,-1473231341),le=ye(le,ue,pe,re,ee[Pe+7],22,-45705983),re=ye(re,le,ue,pe,ee[Pe+8],7,1770035416),pe=ye(pe,re,le,ue,ee[Pe+9],12,-1958414417),ue=ye(ue,pe,re,le,ee[Pe+10],17,-42063),le=ye(le,ue,pe,re,ee[Pe+11],22,-1990404162),re=ye(re,le,ue,pe,ee[Pe+12],7,1804603682),pe=ye(pe,re,le,ue,ee[Pe+13],12,-40341101),ue=ye(ue,pe,re,le,ee[Pe+14],17,-1502002290),le=ye(le,ue,pe,re,ee[Pe+15],22,1236535329),re=De(re,le,ue,pe,ee[Pe+1],5,-165796510),pe=De(pe,re,le,ue,ee[Pe+6],9,-1069501632),ue=De(ue,pe,re,le,ee[Pe+11],14,643717713),le=De(le,ue,pe,re,ee[Pe+0],20,-373897302),re=De(re,le,ue,pe,ee[Pe+5],5,-701558691),pe=De(pe,re,le,ue,ee[Pe+10],9,38016083),ue=De(ue,pe,re,le,ee[Pe+15],14,-660478335),le=De(le,ue,pe,re,ee[Pe+4],20,-405537848),re=De(re,le,ue,pe,ee[Pe+9],5,568446438),pe=De(pe,re,le,ue,ee[Pe+14],9,-1019803690),ue=De(ue,pe,re,le,ee[Pe+3],14,-187363961),le=De(le,ue,pe,re,ee[Pe+8],20,1163531501),re=De(re,le,ue,pe,ee[Pe+13],5,-1444681467),pe=De(pe,re,le,ue,ee[Pe+2],9,-51403784),ue=De(ue,pe,re,le,ee[Pe+7],14,1735328473),le=De(le,ue,pe,re,ee[Pe+12],20,-1926607734),re=me(re,le,ue,pe,ee[Pe+5],4,-378558),pe=me(pe,re,le,ue,ee[Pe+8],11,-2022574463),ue=me(ue,pe,re,le,ee[Pe+11],16,1839030562),le=me(le,ue,pe,re,ee[Pe+14],23,-35309556),re=me(re,le,ue,pe,ee[Pe+1],4,-1530992060),pe=me(pe,re,le,ue,ee[Pe+4],11,1272893353),ue=me(ue,pe,re,le,ee[Pe+7],16,-155497632),le=me(le,ue,pe,re,ee[Pe+10],23,-1094730640),re=me(re,le,ue,pe,ee[Pe+13],4,681279174),pe=me(pe,re,le,ue,ee[Pe+0],11,-358537222),ue=me(ue,pe,re,le,ee[Pe+3],16,-722521979),le=me(le,ue,pe,re,ee[Pe+6],23,76029189),re=me(re,le,ue,pe,ee[Pe+9],4,-640364487),pe=me(pe,re,le,ue,ee[Pe+12],11,-421815835),ue=me(ue,pe,re,le,ee[Pe+15],16,530742520),le=me(le,ue,pe,re,ee[Pe+2],23,-995338651),re=xe(re,le,ue,pe,ee[Pe+0],6,-198630844),pe=xe(pe,re,le,ue,ee[Pe+7],10,1126891415),ue=xe(ue,pe,re,le,ee[Pe+14],15,-1416354905),le=xe(le,ue,pe,re,ee[Pe+5],21,-57434055),re=xe(re,le,ue,pe,ee[Pe+12],6,1700485571),pe=xe(pe,re,le,ue,ee[Pe+3],10,-1894986606),ue=xe(ue,pe,re,le,ee[Pe+10],15,-1051523),le=xe(le,ue,pe,re,ee[Pe+1],21,-2054922799),re=xe(re,le,ue,pe,ee[Pe+8],6,1873313359),pe=xe(pe,re,le,ue,ee[Pe+15],10,-30611744),ue=xe(ue,pe,re,le,ee[Pe+6],15,-1560198380),le=xe(le,ue,pe,re,ee[Pe+13],21,1309151649),re=xe(re,le,ue,pe,ee[Pe+4],6,-145523070),pe=xe(pe,re,le,ue,ee[Pe+11],10,-1120210379),ue=xe(ue,pe,re,le,ee[Pe+2],15,718787259),le=xe(le,ue,pe,re,ee[Pe+9],21,-343485551),re=fe(re,be),le=fe(le,Ie),ue=fe(ue,Me),pe=fe(pe,Oe)}return Array(re,le,ue,pe)}function Ae(ee,ae,re,le,ue,pe){return fe(z(fe(fe(ae,ee),fe(le,pe)),ue),re)}function ye(ee,ae,re,le,ue,pe,Pe){return Ae(ae&re|~ae&le,ee,ae,ue,pe,Pe)}function De(ee,ae,re,le,ue,pe,Pe){return Ae(ae&le|re&~le,ee,ae,ue,pe,Pe)}function me(ee,ae,re,le,ue,pe,Pe){return Ae(ae^re^le,ee,ae,ue,pe,Pe)}function xe(ee,ae,re,le,ue,pe,Pe){return Ae(re^(ae|~le),ee,ae,ue,pe,Pe)}function fe(ee,ae){var re=(ee&65535)+(ae&65535),le=(ee>>16)+(ae>>16)+(re>>16);return le<<16|re&65535}function z(ee,ae){return ee<<ae|ee>>>32-ae}Ze.exports=function(ae){return ge.hash(ae,Ee,16)}},{"./helpers":462}],464:[function(oe,Ze,Ne){"use strict";var ge=oe("./helpers");function ce(me,xe){me[xe>>5]|=128<<24-xe%32,me[(xe+64>>9<<4)+15]=xe;for(var fe=Array(80),z=1732584193,ee=-271733879,ae=-1732584194,re=271733878,le=-1009589776,ue=0;ue<me.length;ue+=16){for(var pe=z,Pe=ee,be=ae,Ie=re,Me=le,Oe=0;Oe<80;Oe++){Oe<16?fe[Oe]=me[ue+Oe]:fe[Oe]=De(fe[Oe-3]^fe[Oe-8]^fe[Oe-14]^fe[Oe-16],1);var Te=ye(ye(De(z,5),Ee(Oe,ee,ae,re)),ye(ye(le,fe[Oe]),Ae(Oe)));le=re,re=ae,ae=De(ee,30),ee=z,z=Te}z=ye(z,pe),ee=ye(ee,Pe),ae=ye(ae,be),re=ye(re,Ie),le=ye(le,Me)}return Array(z,ee,ae,re,le)}function Ee(me,xe,fe,z){return me<20?xe&fe|~xe&z:me<40?xe^fe^z:me<60?xe&fe|xe&z|fe&z:xe^fe^z}function Ae(me){return me<20?1518500249:me<40?1859775393:me<60?-1894007588:-899497514}function ye(me,xe){var fe=(me&65535)+(xe&65535),z=(me>>16)+(xe>>16)+(fe>>16);return z<<16|fe&65535}function De(me,xe){return me<<xe|me>>>32-xe}Ze.exports=function(xe){return ge.hash(xe,ce,20,!0)}},{"./helpers":462}],465:[function(oe,Ze,Ne){"use strict";Ze.exports=function(){return function(){}}},{}],466:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";var ce=oe("@babel/runtime/helpers/interopRequireDefault"),Ee=ce(oe("@babel/runtime/helpers/typeof")),Ae=oe("stream"),ye=Ae.Stream,De=oe("../lib/common/utils/isArray"),me=De.isArray;Ze.exports.string=function(z){return typeof z=="string"},Ze.exports.array=me,Ze.exports.buffer=ge.isBuffer;function xe(fe){return fe instanceof ye}Ze.exports.writableStream=function(z){return xe(z)&&typeof z._write=="function"&&(0,Ee.default)(z._writableState)==="object"}}).call(this)}).call(this,{isBuffer:oe("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":63,"../node_modules/is-buffer/index.js":366,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,stream:398}],467:[function(oe,Ze,Ne){"use strict";var ge=oe("immediate"),ce=Ze.exports={};ce.nextTick=ge,ce.title="browser",ce.browser=!0,ce.env={},ce.argv=[],ce.version="",ce.versions={};function Ee(){}ce.on=Ee,ce.addListener=Ee,ce.once=Ee,ce.off=Ee,ce.removeListener=Ee,ce.removeAllListeners=Ee,ce.emit=Ee,ce.prependListener=Ee,ce.prependOnceListener=Ee,ce.listeners=function(Ae){return[]},ce.binding=function(Ae){throw new Error("process.binding is not supported")},ce.cwd=function(){return"/"},ce.chdir=function(Ae){throw new Error("process.chdir is not supported")},ce.umask=function(){return 0}},{immediate:358}],468:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";oe("core-js/modules/es.regexp.exec.js"),oe("core-js/modules/es.string.search.js");var ce=oe("./lib/request"),Ee=oe("./lib/response"),Ae=oe("xtend"),ye=oe("builtin-status-codes"),De=oe("url"),me=Ne;me.request=function(xe,fe){typeof xe=="string"?xe=De.parse(xe):xe=Ae(xe);var z=ge.location.protocol.search(/^https?:$/)===-1?"http:":"",ee=xe.protocol||z,ae=xe.hostname||xe.host,re=xe.port,le=xe.path||"/";ae&&ae.indexOf(":")!==-1&&(ae="["+ae+"]"),xe.url=(ae?ee+"//"+ae:"")+(re?":"+re:"")+le,xe.method=(xe.method||"GET").toUpperCase(),xe.headers=xe.headers||{};var ue=new ce(xe);return fe&&ue.on("response",fe),ue},me.get=function(fe,z){var ee=me.request(fe,z);return ee.end(),ee},me.ClientRequest=ce,me.IncomingMessage=Ee.IncomingMessage,me.Agent=function(){},me.Agent.defaultMaxSockets=4,me.globalAgent=new me.Agent,me.STATUS_CODES=ye,me.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this)}).call(this,typeof fn!="undefined"?fn:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":470,"./lib/response":471,"builtin-status-codes":91,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.search.js":306,url:472,xtend:460}],469:[function(oe,Ze,Ne){(function(ge){(function(){"use strict";oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/es.promise.js"),oe("core-js/modules/es.array-buffer.constructor.js"),oe("core-js/modules/es.array-buffer.slice.js"),oe("core-js/modules/es.array.slice.js"),Ne.fetch=me(ge.fetch)&&me(ge.ReadableStream),Ne.writableStream=me(ge.WritableStream),Ne.abortController=me(ge.AbortController),Ne.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),Ne.blobConstructor=!0}catch(xe){}var ce;function Ee(){if(ce!==void 0)return ce;if(ge.XMLHttpRequest){ce=new ge.XMLHttpRequest;try{ce.open("GET",ge.XDomainRequest?"/":"https://example.com")}catch(xe){ce=null}}else ce=null;return ce}function Ae(xe){var fe=Ee();if(!fe)return!1;try{return fe.responseType=xe,fe.responseType===xe}catch(z){}return!1}var ye=typeof ge.ArrayBuffer!="undefined",De=ye&&me(ge.ArrayBuffer.prototype.slice);Ne.arraybuffer=Ne.fetch||ye&&Ae("arraybuffer"),Ne.msstream=!Ne.fetch&&De&&Ae("ms-stream"),Ne.mozchunkedarraybuffer=!Ne.fetch&&ye&&Ae("moz-chunked-arraybuffer"),Ne.overrideMimeType=Ne.fetch||(Ee()?me(Ee().overrideMimeType):!1),Ne.vbArray=me(ge.VBArray);function me(xe){return typeof xe=="function"}ce=null}).call(this)}).call(this,typeof fn!="undefined"?fn:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"core-js/modules/es.array-buffer.constructor.js":270,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],470:[function(oe,Ze,Ne){(function(ge,ce,Ee){(function(){"use strict";oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/es.regexp.to-string.js"),oe("core-js/modules/web.dom-collections.for-each.js"),oe("core-js/modules/es.object.keys.js"),oe("core-js/modules/es.array.concat.js"),oe("core-js/modules/es.array.map.js"),oe("core-js/modules/es.function.name.js"),oe("core-js/modules/es.promise.js"),oe("core-js/modules/es.regexp.exec.js"),oe("core-js/modules/es.string.split.js");var Ae=oe("./capability"),ye=oe("inherits"),De=oe("./response"),me=oe("readable-stream"),xe=oe("to-arraybuffer"),fe=De.IncomingMessage,z=De.readyStates;function ee(ue,pe){return Ae.fetch&&pe?"fetch":Ae.mozchunkedarraybuffer?"moz-chunked-arraybuffer":Ae.msstream?"ms-stream":Ae.arraybuffer&&ue?"arraybuffer":Ae.vbArray&&ue?"text:vbarray":"text"}var ae=Ze.exports=function(ue){var pe=this;me.Writable.call(pe),pe._opts=ue,pe._body=[],pe._headers={},ue.auth&&pe.setHeader("Authorization","Basic "+new Ee(ue.auth).toString("base64")),Object.keys(ue.headers).forEach(function(Ie){pe.setHeader(Ie,ue.headers[Ie])});var Pe,be=!0;if(ue.mode==="disable-fetch"||"requestTimeout"in ue&&!Ae.abortController)be=!1,Pe=!0;else if(ue.mode==="prefer-streaming")Pe=!1;else if(ue.mode==="allow-wrong-content-type")Pe=!Ae.overrideMimeType;else if(!ue.mode||ue.mode==="default"||ue.mode==="prefer-fast")Pe=!0;else throw new Error("Invalid value for opts.mode");pe._mode=ee(Pe,be),pe._fetchTimer=null,pe.on("finish",function(){pe._onFinish()})};ye(ae,me.Writable),ae.prototype.setHeader=function(ue,pe){var Pe=this,be=ue.toLowerCase();le.indexOf(be)===-1&&(Pe._headers[be]={name:ue,value:pe})},ae.prototype.getHeader=function(ue){var pe=this._headers[ue.toLowerCase()];return pe?pe.value:null},ae.prototype.removeHeader=function(ue){var pe=this;delete pe._headers[ue.toLowerCase()]},ae.prototype._onFinish=function(){var ue=this;if(!ue._destroyed){var pe=ue._opts,Pe=ue._headers,be=null;pe.method!=="GET"&&pe.method!=="HEAD"&&(Ae.arraybuffer?be=xe(Ee.concat(ue._body)):Ae.blobConstructor?be=new ce.Blob(ue._body.map(function(ze){return xe(ze)}),{type:(Pe["content-type"]||{}).value||""}):be=Ee.concat(ue._body).toString());var Ie=[];if(Object.keys(Pe).forEach(function(ze){var $e=Pe[ze].name,Ue=Pe[ze].value;Array.isArray(Ue)?Ue.forEach(function(qe){Ie.push([$e,qe])}):Ie.push([$e,Ue])}),ue._mode==="fetch"){var Me=null,Oe=null;if(Ae.abortController){var Te=new AbortController;Me=Te.signal,ue._fetchAbortController=Te,"requestTimeout"in pe&&pe.requestTimeout!==0&&(ue._fetchTimer=ce.setTimeout(function(){ue.emit("requestTimeout"),ue._fetchAbortController&&ue._fetchAbortController.abort()},pe.requestTimeout))}ce.fetch(ue._opts.url,{method:ue._opts.method,headers:Ie,body:be||void 0,mode:"cors",credentials:pe.withCredentials?"include":"same-origin",signal:Me}).then(function(ze){ue._fetchResponse=ze,ue._connect()},function(ze){ce.clearTimeout(ue._fetchTimer),ue._destroyed||ue.emit("error",ze)})}else{var je=ue._xhr=new ce.XMLHttpRequest;try{je.open(ue._opts.method,ue._opts.url,!0)}catch(ze){ge.nextTick(function(){ue.emit("error",ze)});return}"responseType"in je&&(je.responseType=ue._mode.split(":")[0]),"withCredentials"in je&&(je.withCredentials=!!pe.withCredentials),ue._mode==="text"&&"overrideMimeType"in je&&je.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in pe&&(je.timeout=pe.requestTimeout,je.ontimeout=function(){ue.emit("requestTimeout")}),Ie.forEach(function(ze){je.setRequestHeader(ze[0],ze[1])}),ue._response=null,je.onreadystatechange=function(){switch(je.readyState){case z.LOADING:case z.DONE:ue._onXHRProgress();break}},ue._mode==="moz-chunked-arraybuffer"&&(je.onprogress=function(){ue._onXHRProgress()}),je.onerror=function(){ue._destroyed||ue.emit("error",new Error("XHR error"))};try{je.send(be)}catch(ze){ge.nextTick(function(){ue.emit("error",ze)});return}}}};function re(ue){try{var pe=ue.status;return pe!==null&&pe!==0}catch(Pe){return!1}}ae.prototype._onXHRProgress=function(){var ue=this;!re(ue._xhr)||ue._destroyed||(ue._response||ue._connect(),ue._response._onXHRProgress())},ae.prototype._connect=function(){var ue=this;ue._destroyed||(ue._response=new fe(ue._xhr,ue._fetchResponse,ue._mode,ue._fetchTimer),ue._response.on("error",function(pe){ue.emit("error",pe)}),ue.emit("response",ue._response))},ae.prototype._write=function(ue,pe,Pe){var be=this;be._body.push(ue),Pe()},ae.prototype.abort=ae.prototype.destroy=function(){var ue=this;ue._destroyed=!0,ce.clearTimeout(ue._fetchTimer),ue._response&&(ue._response._destroyed=!0),ue._xhr?ue._xhr.abort():ue._fetchAbortController&&ue._fetchAbortController.abort()},ae.prototype.end=function(ue,pe,Pe){var be=this;typeof ue=="function"&&(Pe=ue,ue=void 0),me.Writable.prototype.end.call(be,ue,pe,Pe)},ae.prototype.flushHeaders=function(){},ae.prototype.setTimeout=function(){},ae.prototype.setNoDelay=function(){},ae.prototype.setSocketKeepAlive=function(){};var le=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this)}).call(this,oe("_process"),typeof fn!="undefined"?fn:typeof self!="undefined"?self:typeof window!="undefined"?window:{},oe("buffer").Buffer)},{"./capability":469,"./response":471,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.split.js":307,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394,"to-arraybuffer":415}],471:[function(oe,Ze,Ne){(function(ge,ce,Ee){(function(){"use strict";oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/web.dom-collections.for-each.js"),oe("core-js/modules/es.promise.js"),oe("core-js/modules/es.regexp.exec.js"),oe("core-js/modules/es.string.split.js"),oe("core-js/modules/es.string.match.js"),oe("core-js/modules/es.array.iterator.js"),oe("core-js/modules/es.array-buffer.slice.js"),oe("core-js/modules/es.typed-array.uint8-array.js"),oe("core-js/modules/es.typed-array.copy-within.js"),oe("core-js/modules/es.typed-array.every.js"),oe("core-js/modules/es.typed-array.fill.js"),oe("core-js/modules/es.typed-array.filter.js"),oe("core-js/modules/es.typed-array.find.js"),oe("core-js/modules/es.typed-array.find-index.js"),oe("core-js/modules/es.typed-array.for-each.js"),oe("core-js/modules/es.typed-array.includes.js"),oe("core-js/modules/es.typed-array.index-of.js"),oe("core-js/modules/es.typed-array.iterator.js"),oe("core-js/modules/es.typed-array.join.js"),oe("core-js/modules/es.typed-array.last-index-of.js"),oe("core-js/modules/es.typed-array.map.js"),oe("core-js/modules/es.typed-array.reduce.js"),oe("core-js/modules/es.typed-array.reduce-right.js"),oe("core-js/modules/es.typed-array.reverse.js"),oe("core-js/modules/es.typed-array.set.js"),oe("core-js/modules/es.typed-array.slice.js"),oe("core-js/modules/es.typed-array.some.js"),oe("core-js/modules/es.typed-array.sort.js"),oe("core-js/modules/es.typed-array.subarray.js"),oe("core-js/modules/es.typed-array.to-locale-string.js"),oe("core-js/modules/es.typed-array.to-string.js"),oe("core-js/modules/es.array.slice.js");var Ae=oe("./capability"),ye=oe("inherits"),De=oe("readable-stream"),me=Ne.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},xe=Ne.IncomingMessage=function(fe,z,ee,ae){var re=this;if(De.Readable.call(re),re._mode=ee,re.headers={},re.rawHeaders=[],re.trailers={},re.rawTrailers=[],re.on("end",function(){ge.nextTick(function(){re.emit("close")})}),ee==="fetch"){var le=function Me(){pe.read().then(function(Oe){if(!re._destroyed){if(Oe.done){ce.clearTimeout(ae),re.push(null);return}re.push(new Ee(Oe.value)),Me()}}).catch(function(Oe){ce.clearTimeout(ae),re._destroyed||re.emit("error",Oe)})};if(re._fetchResponse=z,re.url=z.url,re.statusCode=z.status,re.statusMessage=z.statusText,z.headers.forEach(function(Me,Oe){re.headers[Oe.toLowerCase()]=Me,re.rawHeaders.push(Oe,Me)}),Ae.writableStream){var ue=new WritableStream({write:function(Oe){return new Promise(function(Te,je){re._destroyed?je():re.push(new Ee(Oe))?Te():re._resumeFetch=Te})},close:function(){ce.clearTimeout(ae),re._destroyed||re.push(null)},abort:function(Oe){re._destroyed||re.emit("error",Oe)}});try{z.body.pipeTo(ue).catch(function(Me){ce.clearTimeout(ae),re._destroyed||re.emit("error",Me)});return}catch(Me){}}var pe=z.body.getReader();le()}else{re._xhr=fe,re._pos=0,re.url=fe.responseURL,re.statusCode=fe.status,re.statusMessage=fe.statusText;var Pe=fe.getAllResponseHeaders().split(/\r?\n/);if(Pe.forEach(function(Me){var Oe=Me.match(/^([^:]+):\s*(.*)/);if(Oe){var Te=Oe[1].toLowerCase();Te==="set-cookie"?(re.headers[Te]===void 0&&(re.headers[Te]=[]),re.headers[Te].push(Oe[2])):re.headers[Te]!==void 0?re.headers[Te]+=", "+Oe[2]:re.headers[Te]=Oe[2],re.rawHeaders.push(Oe[1],Oe[2])}}),re._charset="x-user-defined",!Ae.overrideMimeType){var be=re.rawHeaders["mime-type"];if(be){var Ie=be.match(/;\s*charset=([^;])(;|$)/);Ie&&(re._charset=Ie[1].toLowerCase())}re._charset||(re._charset="utf-8")}}};ye(xe,De.Readable),xe.prototype._read=function(){var fe=this,z=fe._resumeFetch;z&&(fe._resumeFetch=null,z())},xe.prototype._onXHRProgress=function(){var fe=this,z=fe._xhr,ee=null;switch(fe._mode){case"text:vbarray":if(z.readyState!==me.DONE)break;try{ee=new ce.VBArray(z.responseBody).toArray()}catch(pe){}if(ee!==null){fe.push(new Ee(ee));break}case"text":try{ee=z.responseText}catch(pe){fe._mode="text:vbarray";break}if(ee.length>fe._pos){var ae=ee.substr(fe._pos);if(fe._charset==="x-user-defined"){for(var re=new Ee(ae.length),le=0;le<ae.length;le++)re[le]=ae.charCodeAt(le)&255;fe.push(re)}else fe.push(ae,fe._charset);fe._pos=ee.length}break;case"arraybuffer":if(z.readyState!==me.DONE||!z.response)break;ee=z.response,fe.push(new Ee(new Uint8Array(ee)));break;case"moz-chunked-arraybuffer":if(ee=z.response,z.readyState!==me.LOADING||!ee)break;fe.push(new Ee(new Uint8Array(ee)));break;case"ms-stream":if(ee=z.response,z.readyState!==me.LOADING)break;var ue=new ce.MSStreamReader;ue.onprogress=function(){ue.result.byteLength>fe._pos&&(fe.push(new Ee(new Uint8Array(ue.result.slice(fe._pos)))),fe._pos=ue.result.byteLength)},ue.onload=function(){fe.push(null)},ue.readAsArrayBuffer(ee);break}fe._xhr.readyState===me.DONE&&fe._mode!=="ms-stream"&&fe.push(null)}}).call(this)}).call(this,oe("_process"),typeof fn!="undefined"?fn:typeof self!="undefined"?self:typeof window!="undefined"?window:{},oe("buffer").Buffer)},{"./capability":469,_process:467,buffer:90,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.split.js":307,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394}],472:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/helpers/typeof"));oe("core-js/modules/es.regexp.exec.js"),oe("core-js/modules/es.string.search.js"),oe("core-js/modules/es.array.concat.js"),oe("core-js/modules/es.string.split.js"),oe("core-js/modules/es.string.replace.js"),oe("core-js/modules/es.array.join.js"),oe("core-js/modules/es.string.trim.js"),oe("core-js/modules/es.string.match.js"),oe("core-js/modules/es.array.slice.js"),oe("core-js/modules/es.object.keys.js"),oe("core-js/modules/es.array.splice.js");var Ee=oe("punycode"),Ae=oe("./util");Ne.parse=Oe,Ne.resolve=je,Ne.resolveObject=ze,Ne.format=Te,Ne.Url=ye;function ye(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var De=/^([a-z0-9.+-]+:)/i,me=/:[0-9]*$/,xe=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,fe=["<",">",'"',"`"," ","\r",`
`," "],z=["{","}","|","\\","^","`"].concat(fe),ee=["'"].concat(z),ae=["%","/","?",";","#"].concat(ee),re=["/","?","#"],le=255,ue=/^[+a-z0-9A-Z_-]{0,63}$/,pe=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Pe={javascript:!0,"javascript:":!0},be={javascript:!0,"javascript:":!0},Ie={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Me=oe("querystring");function Oe($e,Ue,qe){if($e&&Ae.isObject($e)&&$e instanceof ye)return $e;var et=new ye;return et.parse($e,Ue,qe),et}ye.prototype.parse=function($e,Ue,qe){if(!Ae.isString($e))throw new TypeError("Parameter 'url' must be a string, not "+(0,ce.default)($e));var et=$e.indexOf("?"),lt=et!==-1&&et<$e.indexOf("#")?"?":"#",ut=$e.split(lt),vt=/\\/g;ut[0]=ut[0].replace(vt,"/"),$e=ut.join(lt);var tt=$e;if(tt=tt.trim(),!qe&&$e.split("#").length===1){var at=xe.exec(tt);if(at)return this.path=tt,this.href=tt,this.pathname=at[1],at[2]?(this.search=at[2],Ue?this.query=Me.parse(this.search.substr(1)):this.query=this.search.substr(1)):Ue&&(this.search="",this.query={}),this}var dt=De.exec(tt);if(dt){dt=dt[0];var St=dt.toLowerCase();this.protocol=St,tt=tt.substr(dt.length)}if(qe||dt||tt.match(/^\/\/[^@\/]+@[^@\/]+/)){var xt=tt.substr(0,2)==="//";xt&&!(dt&&be[dt])&&(tt=tt.substr(2),this.slashes=!0)}if(!be[dt]&&(xt||dt&&!Ie[dt])){for(var ft=-1,pt=0;pt<re.length;pt++){var yt=tt.indexOf(re[pt]);yt!==-1&&(ft===-1||yt<ft)&&(ft=yt)}var Tt,At;ft===-1?At=tt.lastIndexOf("@"):At=tt.lastIndexOf("@",ft),At!==-1&&(Tt=tt.slice(0,At),tt=tt.slice(At+1),this.auth=decodeURIComponent(Tt)),ft=-1;for(var pt=0;pt<ae.length;pt++){var yt=tt.indexOf(ae[pt]);yt!==-1&&(ft===-1||yt<ft)&&(ft=yt)}ft===-1&&(ft=tt.length),this.host=tt.slice(0,ft),tt=tt.slice(ft),this.parseHost(),this.hostname=this.hostname||"";var Gt=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!Gt)for(var wt=this.hostname.split("."),pt=0,bt=wt.length;pt<bt;pt++){var it=wt[pt];if(it&&!it.match(ue)){for(var _e="",we=0,Ce=it.length;we<Ce;we++)it.charCodeAt(we)>127?_e+="x":_e+=it[we];if(!_e.match(ue)){var Ye=wt.slice(0,pt),Je=wt.slice(pt+1),Le=it.match(pe);Le&&(Ye.push(Le[1]),Je.unshift(Le[2])),Je.length&&(tt="/"+Je.join(".")+tt),this.hostname=Ye.join(".");break}}}this.hostname.length>le?this.hostname="":this.hostname=this.hostname.toLowerCase(),Gt||(this.hostname=Ee.toASCII(this.hostname));var Ge=this.port?":"+this.port:"",Ke=this.hostname||"";this.host=Ke+Ge,this.href+=this.host,Gt&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),tt[0]!=="/"&&(tt="/"+tt))}if(!Pe[St])for(var pt=0,bt=ee.length;pt<bt;pt++){var Xe=ee[pt];if(tt.indexOf(Xe)!==-1){var Qe=encodeURIComponent(Xe);Qe===Xe&&(Qe=escape(Xe)),tt=tt.split(Xe).join(Qe)}}var ht=tt.indexOf("#");ht!==-1&&(this.hash=tt.substr(ht),tt=tt.slice(0,ht));var Et=tt.indexOf("?");if(Et!==-1?(this.search=tt.substr(Et),this.query=tt.substr(Et+1),Ue&&(this.query=Me.parse(this.query)),tt=tt.slice(0,Et)):Ue&&(this.search="",this.query={}),tt&&(this.pathname=tt),Ie[St]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Ge=this.pathname||"",mt=this.search||"";this.path=Ge+mt}return this.href=this.format(),this};function Te($e){return Ae.isString($e)&&($e=Oe($e)),$e instanceof ye?$e.format():ye.prototype.format.call($e)}ye.prototype.format=function(){var $e=this.auth||"";$e&&($e=encodeURIComponent($e),$e=$e.replace(/%3A/i,":"),$e+="@");var Ue=this.protocol||"",qe=this.pathname||"",et=this.hash||"",lt=!1,ut="";this.host?lt=$e+this.host:this.hostname&&(lt=$e+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(lt+=":"+this.port)),this.query&&Ae.isObject(this.query)&&Object.keys(this.query).length&&(ut=Me.stringify(this.query));var vt=this.search||ut&&"?"+ut||"";return Ue&&Ue.substr(-1)!==":"&&(Ue+=":"),this.slashes||(!Ue||Ie[Ue])&&lt!==!1?(lt="//"+(lt||""),qe&&qe.charAt(0)!=="/"&&(qe="/"+qe)):lt||(lt=""),et&&et.charAt(0)!=="#"&&(et="#"+et),vt&&vt.charAt(0)!=="?"&&(vt="?"+vt),qe=qe.replace(/[?#]/g,function(tt){return encodeURIComponent(tt)}),vt=vt.replace("#","%23"),Ue+lt+qe+vt+et};function je($e,Ue){return Oe($e,!1,!0).resolve(Ue)}ye.prototype.resolve=function($e){return this.resolveObject(Oe($e,!1,!0)).format()};function ze($e,Ue){return $e?Oe($e,!1,!0).resolveObject(Ue):Ue}ye.prototype.resolveObject=function($e){if(Ae.isString($e)){var Ue=new ye;Ue.parse($e,!1,!0),$e=Ue}for(var qe=new ye,et=Object.keys(this),lt=0;lt<et.length;lt++){var ut=et[lt];qe[ut]=this[ut]}if(qe.hash=$e.hash,$e.href==="")return qe.href=qe.format(),qe;if($e.slashes&&!$e.protocol){for(var vt=Object.keys($e),tt=0;tt<vt.length;tt++){var at=vt[tt];at!=="protocol"&&(qe[at]=$e[at])}return Ie[qe.protocol]&&qe.hostname&&!qe.pathname&&(qe.path=qe.pathname="/"),qe.href=qe.format(),qe}if($e.protocol&&$e.protocol!==qe.protocol){if(!Ie[$e.protocol]){for(var dt=Object.keys($e),St=0;St<dt.length;St++){var xt=dt[St];qe[xt]=$e[xt]}return qe.href=qe.format(),qe}if(qe.protocol=$e.protocol,!$e.host&&!be[$e.protocol]){for(var bt=($e.pathname||"").split("/");bt.length&&!($e.host=bt.shift()););$e.host||($e.host=""),$e.hostname||($e.hostname=""),bt[0]!==""&&bt.unshift(""),bt.length<2&&bt.unshift(""),qe.pathname=bt.join("/")}else qe.pathname=$e.pathname;if(qe.search=$e.search,qe.query=$e.query,qe.host=$e.host||"",qe.auth=$e.auth,qe.hostname=$e.hostname||$e.host,qe.port=$e.port,qe.pathname||qe.search){var ft=qe.pathname||"",pt=qe.search||"";qe.path=ft+pt}return qe.slashes=qe.slashes||$e.slashes,qe.href=qe.format(),qe}var yt=qe.pathname&&qe.pathname.charAt(0)==="/",Tt=$e.host||$e.pathname&&$e.pathname.charAt(0)==="/",At=Tt||yt||qe.host&&$e.pathname,Gt=At,wt=qe.pathname&&qe.pathname.split("/")||[],bt=$e.pathname&&$e.pathname.split("/")||[],it=qe.protocol&&!Ie[qe.protocol];if(it&&(qe.hostname="",qe.port=null,qe.host&&(wt[0]===""?wt[0]=qe.host:wt.unshift(qe.host)),qe.host="",$e.protocol&&($e.hostname=null,$e.port=null,$e.host&&(bt[0]===""?bt[0]=$e.host:bt.unshift($e.host)),$e.host=null),At=At&&(bt[0]===""||wt[0]==="")),Tt)qe.host=$e.host||$e.host===""?$e.host:qe.host,qe.hostname=$e.hostname||$e.hostname===""?$e.hostname:qe.hostname,qe.search=$e.search,qe.query=$e.query,wt=bt;else if(bt.length)wt||(wt=[]),wt.pop(),wt=wt.concat(bt),qe.search=$e.search,qe.query=$e.query;else if(!Ae.isNullOrUndefined($e.search)){if(it){qe.hostname=qe.host=wt.shift();var _e=qe.host&&qe.host.indexOf("@")>0?qe.host.split("@"):!1;_e&&(qe.auth=_e.shift(),qe.host=qe.hostname=_e.shift())}return qe.search=$e.search,qe.query=$e.query,(!Ae.isNull(qe.pathname)||!Ae.isNull(qe.search))&&(qe.path=(qe.pathname?qe.pathname:"")+(qe.search?qe.search:"")),qe.href=qe.format(),qe}if(!wt.length)return qe.pathname=null,qe.search?qe.path="/"+qe.search:qe.path=null,qe.href=qe.format(),qe;for(var we=wt.slice(-1)[0],Ce=(qe.host||$e.host||wt.length>1)&&(we==="."||we==="..")||we==="",Ye=0,Je=wt.length;Je>=0;Je--)we=wt[Je],we==="."?wt.splice(Je,1):we===".."?(wt.splice(Je,1),Ye++):Ye&&(wt.splice(Je,1),Ye--);if(!At&&!Gt)for(;Ye--;Ye)wt.unshift("..");At&&wt[0]!==""&&(!wt[0]||wt[0].charAt(0)!=="/")&&wt.unshift(""),Ce&&wt.join("/").substr(-1)!=="/"&&wt.push("");var Le=wt[0]===""||wt[0]&&wt[0].charAt(0)==="/";if(it){qe.hostname=qe.host=Le?"":wt.length?wt.shift():"";var _e=qe.host&&qe.host.indexOf("@")>0?qe.host.split("@"):!1;_e&&(qe.auth=_e.shift(),qe.host=qe.hostname=_e.shift())}return At=At||qe.host&&wt.length,At&&!Le&&wt.unshift(""),wt.length?qe.pathname=wt.join("/"):(qe.pathname=null,qe.path=null),(!Ae.isNull(qe.pathname)||!Ae.isNull(qe.search))&&(qe.path=(qe.pathname?qe.pathname:"")+(qe.search?qe.search:"")),qe.auth=$e.auth||qe.auth,qe.slashes=qe.slashes||$e.slashes,qe.href=qe.format(),qe},ye.prototype.parseHost=function(){var $e=this.host,Ue=me.exec($e);Ue&&(Ue=Ue[0],Ue!==":"&&(this.port=Ue.substr(1)),$e=$e.substr(0,$e.length-Ue.length)),$e&&(this.hostname=$e)}},{"./util":473,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.array.splice.js":283,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.search.js":306,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,punycode:382,querystring:385}],473:[function(oe,Ze,Ne){"use strict";var ge=oe("@babel/runtime/helpers/interopRequireDefault"),ce=ge(oe("@babel/runtime/helpers/typeof"));Ze.exports={isString:function(Ae){return typeof Ae=="string"},isObject:function(Ae){return(0,ce.default)(Ae)==="object"&&Ae!==null},isNull:function(Ae){return Ae===null},isNullOrUndefined:function(Ae){return Ae==null}}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79}],474:[function(oe,Ze,Ne){"use strict";oe("core-js/modules/es.number.constructor.js"),Ne.encodeURIComponent=function(ge){try{return encodeURIComponent(ge)}catch(ce){return ge}},Ne.escape=oe("escape-html"),Ne.timestamp=function(ce){if(ce){var Ee=ce;return typeof Ee=="string"&&(Ee=Number(Ee)),String(ce).length===10&&(Ee*=1e3),new Date(Ee)}return Math.round(Date.now()/1e3)}},{"core-js/modules/es.number.constructor.js":286,"escape-html":343}],475:[function(oe,Ze,Ne){(function(ge,ce){(function(){"use strict";var Ee=oe("@babel/runtime/helpers/interopRequireDefault"),Ae=Ee(oe("@babel/runtime/helpers/typeof"));oe("core-js/modules/es.string.trim.js"),oe("core-js/modules/es.regexp.exec.js"),oe("core-js/modules/es.string.split.js"),oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/es.promise.js"),oe("core-js/modules/es.function.name.js"),oe("core-js/modules/es.array.concat.js");var ye=oe("util"),De=oe("url"),me=oe("http"),xe=oe("https"),fe=oe("debug")("urllib"),z=oe("humanize-ms"),ee=0,ae=Math.pow(2,31)-10,re=/^https?:\/\//i;function le(be,Ie){return be===void 0?Ie:be}function ue(be){return be?be.split(";")[0].trim().toLowerCase():""}function pe(be,Ie){return function(Me,Oe,Te){if(Me)return Ie(Me);be({data:Oe,status:Te.statusCode,headers:Te.headers,res:Te})}}Ne.TIMEOUTS=[z("300s"),z("300s")];var Pe=["json","text"];Ne.request=function(Ie,Me,Oe){return arguments.length===2&&typeof Me=="function"&&(Oe=Me,Me=null),typeof Oe=="function"?Ne.requestWithCallback(Ie,Me,Oe):new Promise(function(Te,je){Ne.requestWithCallback(Ie,Me,pe(Te,je))})},Ne.requestWithCallback=function(Ie,Me,Oe){if(!Ie||typeof Ie!="string"&&(0,Ae.default)(Ie)!=="object"){var Te=ye.format("expect request url to be a string or a http request options, but got %j",Ie);throw new Error(Te)}arguments.length===2&&typeof Me=="function"&&(Oe=Me,Me=null),Me=Me||{},ee>=ae&&(ee=0);var je=++ee;Me.requestUrls=Me.requestUrls||[];var ze={requestId:je,url:Ie,args:Me,ctx:Me.ctx};Me.emitter&&Me.emitter.emit("request",ze),Me.timeout=Me.timeout||Ne.TIMEOUTS,Me.maxRedirects=Me.maxRedirects||10,Me.streaming=Me.streaming||Me.customResponse;var $e=Date.now(),Ue;typeof Ie=="string"?(re.test(Ie)||(Ie="https://"+Ie),Ue=De.parse(Ie)):Ue=Ie;var qe=(Me.type||Me.method||Ue.method||"GET").toUpperCase(),et=Ue.port||80,lt=me,ut=le(Me.agent,Ne.agent),vt=Me.fixJSONCtlChars;Ue.protocol==="https:"&&(lt=xe,ut=le(Me.httpsAgent,Ne.httpsAgent),Ue.port||(et=443));var tt={host:Ue.hostname||Ue.host||"localhost",path:Ue.path||"/",method:qe,port:et,agent:ut,headers:Me.headers||{},lookup:Me.lookup};Array.isArray(Me.timeout)?tt.requestTimeout=Me.timeout[Me.timeout.length-1]:typeof Me.timeout!="undefined"&&(tt.requestTimeout=Me.timeout);var at=Me.auth||Ue.auth;at&&(tt.auth=at);var dt=Me.content||Me.data,St=qe==="GET"||qe==="HEAD"||Me.dataAsQueryString;if(!Me.content&&dt&&!(typeof dt=="string"||ce.isBuffer(dt)))if(St)dt=Me.nestedQuerystring?qs.stringify(dt):querystring.stringify(dt);else{var xt=tt.headers["Content-Type"]||tt.headers["content-type"];xt||(Me.contentType==="json"?xt="application/json":xt="application/x-www-form-urlencoded",tt.headers["Content-Type"]=xt),ue(xt)==="application/json"?dt=JSON.stringify(dt):dt=Me.nestedQuerystring?qs.stringify(dt):querystring.stringify(dt)}St&&dt&&(tt.path+=(Ue.query?"&":"?")+dt,dt=null);var ft=0;if(dt){var pt=dt.length;ce.isBuffer(dt)||(pt=ce.byteLength(dt)),ft=tt.headers["Content-Length"]=pt}Me.dataType==="json"&&(tt.headers.Accept="application/json"),typeof Me.beforeRequest=="function"&&Me.beforeRequest(tt);var yt=null,Tt=null,At=null,Gt=!1,wt=!1,bt=0,it=-1,_e=!1,we="",Ce="",Ye=null;Me.timing&&(Ye={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function Je(){yt&&(clearTimeout(yt),yt=null)}function Le(){Tt&&(clearTimeout(Tt),Tt=null)}function Ge(Vt,nn,Bt){if(Le(),!Oe){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),je,ge.pid,tt.method,Ie),Vt&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
stack: %s`,Date(),je,ge.pid,Vt.name,Vt.message,Vt.stack);return}var _t=Oe;Oe=null;var en={};Bt&&(it=Bt.statusCode,en=Bt.headers);var on=Date.now()-$e;Ye&&(Ye.contentDownload=on),fe("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",on,bt,it,tt.method,tt.host,tt.path,wt,Ye);var xn={status:it,statusCode:it,headers:en,size:bt,aborted:_e,rt:on,keepAliveSocket:wt,data:nn,requestUrls:Me.requestUrls,timing:Ye,remoteAddress:we,remotePort:Ce};if(Vt){var zn="";ut&&typeof ut.getCurrentStatus=="function"&&(zn=", agent status: "+JSON.stringify(ut.getCurrentStatus())),Vt.message+=", "+tt.method+" "+Ie+" "+it+" (connected: "+Gt+", keepalive socket: "+wt+zn+`)
headers: `+JSON.stringify(en),Vt.data=nn,Vt.path=tt.path,Vt.status=it,Vt.headers=en,Vt.res=xn}_t(Vt,nn,Me.streaming?Bt:xn),Me.emitter&&(ze.url=Ie,ze.socket=jt&&jt.connection,ze.options=tt,ze.size=ft,Me.emitter.emit("response",{requestId:je,error:Vt,ctx:Me.ctx,req:ze,res:xn}))}function Ke(Vt){var nn=null;if(Me.followRedirect&&statuses.redirect[Vt.statusCode]){Me._followRedirectCount=(Me._followRedirectCount||0)+1;var Bt=Vt.headers.location;if(!Bt)nn=new Error("Got statusCode "+Vt.statusCode+" but cannot resolve next location from headers"),nn.name="FollowRedirectError";else if(Me._followRedirectCount>Me.maxRedirects)nn=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+Ie),nn.name="MaxRedirectError";else{var _t=Me.formatRedirectUrl?Me.formatRedirectUrl(Ie,Bt):De.resolve(Ie,Bt);fe("Request#%d %s: `redirected` from %s to %s",je,tt.path,Ie,_t),Le(),Me.headers&&Me.headers.Host&&re.test(Bt)&&(Me.headers.Host=null);var en=Oe;return Oe=null,Ne.requestWithCallback(_t,Me,en),{redirect:!0,error:null}}}return{redirect:!1,error:nn}}Me.gzip&&!tt.headers["Accept-Encoding"]&&!tt.headers["accept-encoding"]&&(tt.headers["Accept-Encoding"]="gzip");function Xe(Vt,nn,Bt){var _t=Vt.headers["content-encoding"];return Bt(null,nn,_t)}var Qe=Me.writeStream;fe("Request#%d %s %s with headers %j, options.path: %s",je,qe,Ie,tt.headers,tt.path),Me.requestUrls.push(Ie);function ht(Vt){if(Ye&&(Ye.waiting=Date.now()-$e),fe("Request#%d %s `req response` event emit: status %d, headers: %j",je,Ie,Vt.statusCode,Vt.headers),Me.streaming){var nn=Ke(Vt);if(nn.redirect){Vt.resume();return}return nn.error?(Vt.resume(),Ge(nn.error,null,Vt)):Ge(null,null,Vt)}if(Vt.on("close",function(){fe("Request#%d %s: `res close` event emit, total size %d",je,Ie,bt)}),Vt.on("error",function(){fe("Request#%d %s: `res error` event emit, total size %d",je,Ie,bt)}),Vt.on("aborted",function(){_e=!0,fe("Request#%d %s: `res aborted` event emit, total size %d",je,Ie,bt)}),Qe){var Bt=Ke(Vt);if(Bt.redirect){Vt.resume();return}return Bt.error?(Vt.resume(),Qe.end(),Ge(Bt.error,null,Vt)):(Me.consumeWriteStream===!1?Vt.on("end",Ge.bind(null,null,null,Vt)):Qe.on("close",function(){fe("Request#%d %s: writeStream close event emitted",je,Ie),Ge(At||null,null,Vt)}),Vt.pipe(Qe))}var _t=[];Vt.on("data",function(en){fe("Request#%d %s: `res data` event emit, size %d",je,Ie,en.length),bt+=en.length,_t.push(en)}),Vt.on("end",function(){var en=ce.concat(_t,bt);if(fe("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",je,Ie,bt,Vt._dumped),At)return Ge(At,en,Vt);var on=Ke(Vt);if(on.error)return Ge(on.error,en,Vt);on.redirect||Xe(Vt,en,function(xn,zn,tr){if(xn)return Ge(xn,en,Vt);if(!tr&&Pe.indexOf(Me.dataType)>=0){try{zn=decodeBodyByCharset(zn,Vt)}catch(ur){return fe("decodeBodyByCharset error: %s",ur),Ge(null,zn,Vt)}if(Me.dataType==="json")if(bt===0)zn=null;else{var er=parseJSON(zn,vt);er.error?xn=er.error:zn=er.data}}_e&&fe("Request#%d %s: Remote socket was terminated before `response.end()` was called",je,Ie),Ge(xn,zn,Vt)})})}var Et,mt;Array.isArray(Me.timeout)?(Et=z(Me.timeout[0]),mt=z(Me.timeout[1])):Et=mt=z(Me.timeout),fe("ConnectTimeout: %d, ResponseTimeout: %d",Et,mt);function Ft(){fe("Connect timer ticking, timeout: %d",Et),yt=setTimeout(function(){yt=null,it===-1&&(it=-2);var Vt="Connect timeout for "+Et+"ms",nn="ConnectionTimeoutError";jt.socket||(nn="SocketAssignTimeoutError",Vt+=", working sockets is full"),At=new Error(Vt),At.name=nn,At.requestId=je,fe("ConnectTimeout: Request#%d %s %s: %s, connected: %s",je,Ie,At.name,Vt,Gt),Wt()},Et)}function Kt(){fe("Response timer ticking, timeout: %d",mt),Tt=setTimeout(function(){Tt=null;var Vt="Response timeout for "+mt+"ms",nn="ResponseTimeoutError";At=new Error(Vt),At.name=nn,At.requestId=je,fe("ResponseTimeout: Request#%d %s %s: %s, connected: %s",je,Ie,At.name,Vt,Gt),Wt()},mt)}var jt;tt.mode=Me.mode?Me.mode:"";try{jt=lt.request(tt,ht)}catch(Vt){return Ge(Vt)}typeof window=="undefined"?Ft():jt.on("requestTimeout",function(){it===-1&&(it=-2);var Vt="Connect timeout for "+Et+"ms",nn="ConnectionTimeoutError";At=new Error(Vt),At.name=nn,At.requestId=je,Wt()});function Wt(){fe("Request#%d %s abort, connected: %s",je,Ie,Gt),jt.socket||(At.noSocket=!0,Ge(At)),jt.abort()}return Ye&&jt.on("finish",function(){Ye.requestSent=Date.now()-$e}),jt.once("socket",function(Vt){Ye&&(Ye.queuing=Date.now()-$e);var nn=Vt.readyState;if(nn==="opening"){Vt.once("lookup",function(Bt,_t,en){fe("Request#%d %s lookup: %s, %s, %s",je,Ie,Bt,_t,en),Ye&&(Ye.dnslookup=Date.now()-$e),_t&&(we=_t)}),Vt.once("connect",function(){Ye&&(Ye.connected=Date.now()-$e),Je(),Kt(),fe("Request#%d %s new socket connected",je,Ie),Gt=!0,we||(we=Vt.remoteAddress),Ce=Vt.remotePort});return}fe("Request#%d %s reuse socket connected, readyState: %s",je,Ie,nn),Gt=!0,wt=!0,we||(we=Vt.remoteAddress),Ce=Vt.remotePort,Je(),Kt()}),jt.on("error",function(Vt){(Vt.name==="Error"||Vt.name==="TypeError")&&(Vt.name=Gt?"ResponseError":"RequestError"),Vt.message+=' (req "error")',fe("Request#%d %s `req error` event emit, %s: %s",je,Ie,Vt.name,Vt.message),Ge(At||Vt)}),Qe&&Qe.once("error",function(Vt){Vt.message+=' (writeStream "error")',At=Vt,fe("Request#%d %s `writeStream error` event emit, %s: %s",je,Ie,Vt.name,Vt.message),Wt()}),Me.stream?(Me.stream.pipe(jt),Me.stream.once("error",function(Vt){Vt.message+=' (stream "error")',At=Vt,fe("Request#%d %s `readStream error` event emit, %s: %s",je,Ie,Vt.name,Vt.message),Wt()})):jt.end(dt),jt.requestId=je,jt}}).call(this)}).call(this,oe("_process"),oe("buffer").Buffer)},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,debug:465,http:468,https:355,"humanize-ms":356,url:472,util:419}]},{},[1])(1)})})(window)},50371:function(Nn,fn){"use strict";function We(){const He=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let gt=1;gt<arguments.length;gt++){const oe=gt<0||arguments.length<=gt?void 0:arguments[gt];oe&&Object.keys(oe).forEach(Ze=>{const Ne=oe[Ze];Ne!==void 0&&(He[Ze]=Ne)})}return He}fn.Z=We},13845:function(Nn,fn,We){"use strict";We.d(fn,{F:function(){return He},Z:function(){return gt}});function He(oe){return oe!=null&&oe===oe.window}function gt(oe,Ze){var Ne,ge;if(typeof window=="undefined")return 0;const ce=Ze?"scrollTop":"scrollLeft";let Ee=0;return He(oe)?Ee=oe[Ze?"pageYOffset":"pageXOffset"]:oe instanceof Document?Ee=oe.documentElement[ce]:(oe instanceof HTMLElement||oe)&&(Ee=oe[ce]),oe&&!He(oe)&&typeof Ee!="number"&&(Ee=(ge=((Ne=oe.ownerDocument)!==null&&Ne!==void 0?Ne:oe).documentElement)===null||ge===void 0?void 0:ge[ce]),Ee}},56762:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return gt}});var He=We(59301);function gt(){const[,oe]=He.useReducer(Ze=>Ze+1,0);return oe}},68031:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ze}});var He=We(16089);function gt(Ne,ge,ce,Ee){const Ae=ce-ge;return Ne/=Ee/2,Ne<1?Ae/2*Ne*Ne*Ne+ge:Ae/2*((Ne-=2)*Ne*Ne+2)+ge}var oe=We(13845);function Ze(Ne){let ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ce=()=>window,callback:Ee,duration:Ae=450}=ge,ye=ce(),De=(0,oe.Z)(ye,!0),me=Date.now(),xe=()=>{const z=Date.now()-me,ee=gt(z>Ae?Ae:z,De,Ne,Ae);(0,oe.F)(ye)?ye.scrollTo(window.pageXOffset,ee):ye instanceof Document||ye.constructor.name==="HTMLDocument"?ye.documentElement.scrollTop=ee:ye.scrollTop=ee,z<Ae?(0,He.Z)(xe):typeof Ee=="function"&&Ee()};(0,He.Z)(xe)}},88522:function(Nn,fn,We){"use strict";var He=We(92310),gt=We.n(He),oe=We(11592),Ze=We(2738),Ne=We(59301),ge=We(53487),ce=We(92343),Ee=We(36355),Ae=We(57809);const{Option:ye}=Ae.default;function De(z){return z&&z.type&&(z.type.isSelectOption||z.type.isSelectOptGroup)}const me=(z,ee)=>{const{prefixCls:ae,className:re,popupClassName:le,dropdownClassName:ue,children:pe,dataSource:Pe}=z,be=(0,oe.Z)(pe);let Ie;be.length===1&&(0,ce.l$)(be[0])&&!De(be[0])&&([Ie]=be);const Me=Ie?()=>Ie:void 0;let Oe;be.length&&De(be[0])?Oe=pe:Oe=Pe?Pe.map(ze=>{if((0,ce.l$)(ze))return ze;switch(typeof ze){case"string":return Ne.createElement(ye,{key:ze,value:ze},ze);case"object":{const{value:$e}=ze;return Ne.createElement(ye,{key:$e,value:$e},ze.text)}default:return}}):[];const{getPrefixCls:Te}=Ne.useContext(Ee.E_),je=Te("select",ae);return Ne.createElement(Ae.default,Object.assign({ref:ee,suffixIcon:null},(0,Ze.Z)(z,["dataSource","dropdownClassName"]),{prefixCls:je,popupClassName:le||ue,className:gt()(`${je}-auto-complete`,re),mode:Ae.default.SECRET_COMBOBOX_MODE_DO_NOT_USE},{getInputElement:Me}),Oe)},xe=Ne.forwardRef(me),fe=(0,ge.Z)(xe);xe.Option=ye,xe._InternalPanelDoNotUseOrYouWillBeFired=fe,fn.Z=xe},66104:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return qe}});var He=We(92310),gt=We.n(He),oe=We(11592),Ze=We(26112),Ne=We(59301),ge=We(92343),ce=We(36355),Ee=We(84105),Ae=We(91857);const ye=et=>{let{children:lt}=et;const{getPrefixCls:ut}=Ne.useContext(ce.E_),vt=ut("breadcrumb");return Ne.createElement("li",{className:`${vt}-separator`,"aria-hidden":"true"},lt===""?lt:lt||"/")};ye.__ANT_BREADCRUMB_SEPARATOR=!0;var De=ye,me=function(et,lt){var ut={};for(var vt in et)Object.prototype.hasOwnProperty.call(et,vt)&&lt.indexOf(vt)<0&&(ut[vt]=et[vt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,vt=Object.getOwnPropertySymbols(et);tt<vt.length;tt++)lt.indexOf(vt[tt])<0&&Object.prototype.propertyIsEnumerable.call(et,vt[tt])&&(ut[vt[tt]]=et[vt[tt]]);return ut};function xe(et,lt){if(et.title===void 0||et.title===null)return null;const ut=Object.keys(lt).join("|");return typeof et.title=="object"?et.title:String(et.title).replace(new RegExp(`:(${ut})`,"g"),(vt,tt)=>lt[tt]||vt)}function fe(et,lt,ut,vt){if(ut==null)return null;const{className:tt,onClick:at}=lt,dt=me(lt,["className","onClick"]),St=Object.assign(Object.assign({},(0,Ze.Z)(dt,{data:!0,aria:!0})),{onClick:at});return vt!==void 0?Ne.createElement("a",Object.assign({},St,{className:gt()(`${et}-link`,tt),href:vt}),ut):Ne.createElement("span",Object.assign({},St,{className:gt()(`${et}-link`,tt)}),ut)}function z(et,lt){return(vt,tt,at,dt,St)=>{if(lt)return lt(vt,tt,at,dt);const xt=xe(vt,tt);return fe(et,vt,xt,St)}}var ee=function(et,lt){var ut={};for(var vt in et)Object.prototype.hasOwnProperty.call(et,vt)&&lt.indexOf(vt)<0&&(ut[vt]=et[vt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,vt=Object.getOwnPropertySymbols(et);tt<vt.length;tt++)lt.indexOf(vt[tt])<0&&Object.prototype.propertyIsEnumerable.call(et,vt[tt])&&(ut[vt[tt]]=et[vt[tt]]);return ut};const ae=et=>{const{prefixCls:lt,separator:ut="/",children:vt,menu:tt,overlay:at,dropdownProps:dt,href:St}=et,ft=(pt=>{if(tt||at){const yt=Object.assign({},dt);if(tt){const Tt=tt||{},{items:At}=Tt,Gt=ee(Tt,["items"]);yt.menu=Object.assign(Object.assign({},Gt),{items:At==null?void 0:At.map((wt,bt)=>{var{key:it,title:_e,label:we,path:Ce}=wt,Ye=ee(wt,["key","title","label","path"]);let Je=we!=null?we:_e;return Ce&&(Je=Ne.createElement("a",{href:`${St}${Ce}`},Je)),Object.assign(Object.assign({},Ye),{key:it!=null?it:bt,label:Je})})})}else at&&(yt.overlay=at);return Ne.createElement(Ae.Z,Object.assign({placement:"bottom"},yt),Ne.createElement("span",{className:`${lt}-overlay-link`},pt,Ne.createElement(Ee.Z,null)))}return pt})(vt);return ft!=null?Ne.createElement(Ne.Fragment,null,Ne.createElement("li",null,ft),ut&&Ne.createElement(De,null,ut)):null},re=et=>{const{prefixCls:lt,children:ut,href:vt}=et,tt=ee(et,["prefixCls","children","href"]),{getPrefixCls:at}=Ne.useContext(ce.E_),dt=at("breadcrumb",lt);return Ne.createElement(ae,Object.assign({},tt,{prefixCls:dt}),fe(dt,tt,ut,vt))};re.__ANT_BREADCRUMB_ITEM=!0;var le=re,ue=We(17313),pe=We(83116),Pe=We(37613);const be=et=>{const{componentCls:lt,iconCls:ut}=et;return{[lt]:Object.assign(Object.assign({},(0,ue.Wf)(et)),{color:et.itemColor,fontSize:et.fontSize,[ut]:{fontSize:et.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:et.linkColor,transition:`color ${et.motionDurationMid}`,padding:`0 ${et.paddingXXS}px`,borderRadius:et.borderRadiusSM,height:et.lineHeight*et.fontSize,display:"inline-block",marginInline:-et.marginXXS,"&:hover":{color:et.linkHoverColor,backgroundColor:et.colorBgTextHover}},(0,ue.Qy)(et)),"li:last-child":{color:et.lastItemColor},[`${lt}-separator`]:{marginInline:et.separatorMargin,color:et.separatorColor},[`${lt}-link`]:{[`
> ${ut} + span,
> ${ut} + a
`]:{marginInlineStart:et.marginXXS}},[`${lt}-overlay-link`]:{borderRadius:et.borderRadiusSM,height:et.lineHeight*et.fontSize,display:"inline-block",padding:`0 ${et.paddingXXS}px`,marginInline:-et.marginXXS,[`> ${ut}`]:{marginInlineStart:et.marginXXS,fontSize:et.fontSizeIcon},"&:hover":{color:et.linkHoverColor,backgroundColor:et.colorBgTextHover,a:{color:et.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${et.componentCls}-rtl`]:{direction:"rtl"}})}};var Ie=(0,pe.Z)("Breadcrumb",et=>{const lt=(0,Pe.TS)(et,{});return[be(lt)]},et=>({itemColor:et.colorTextDescription,lastItemColor:et.colorText,iconFontSize:et.fontSize,linkColor:et.colorTextDescription,linkHoverColor:et.colorText,separatorColor:et.colorTextDescription,separatorMargin:et.marginXS})),Me=function(et,lt){var ut={};for(var vt in et)Object.prototype.hasOwnProperty.call(et,vt)&&lt.indexOf(vt)<0&&(ut[vt]=et[vt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,vt=Object.getOwnPropertySymbols(et);tt<vt.length;tt++)lt.indexOf(vt[tt])<0&&Object.prototype.propertyIsEnumerable.call(et,vt[tt])&&(ut[vt[tt]]=et[vt[tt]]);return ut};function Oe(et){const{breadcrumbName:lt,children:ut}=et,vt=Me(et,["breadcrumbName","children"]),tt=Object.assign({title:lt},vt);return ut&&(tt.menu={items:ut.map(at=>{var{breadcrumbName:dt}=at,St=Me(at,["breadcrumbName"]);return Object.assign(Object.assign({},St),{title:dt})})}),tt}function Te(et,lt){return(0,Ne.useMemo)(()=>et||(lt?lt.map(Oe):null),[et,lt])}var je=function(et,lt){var ut={};for(var vt in et)Object.prototype.hasOwnProperty.call(et,vt)&&lt.indexOf(vt)<0&&(ut[vt]=et[vt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,vt=Object.getOwnPropertySymbols(et);tt<vt.length;tt++)lt.indexOf(vt[tt])<0&&Object.prototype.propertyIsEnumerable.call(et,vt[tt])&&(ut[vt[tt]]=et[vt[tt]]);return ut};const ze=(et,lt)=>{if(lt===void 0)return lt;let ut=(lt||"").replace(/^\//,"");return Object.keys(et).forEach(vt=>{ut=ut.replace(`:${vt}`,et[vt])}),ut},$e=et=>{const{prefixCls:lt,separator:ut="/",style:vt,className:tt,rootClassName:at,routes:dt,items:St,children:xt,itemRender:ft,params:pt={}}=et,yt=je(et,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Tt,direction:At,breadcrumb:Gt}=Ne.useContext(ce.E_);let wt;const bt=Tt("breadcrumb",lt),[it,_e]=Ie(bt),we=Te(St,dt),Ce=z(bt,ft);if(we&&we.length>0){const Le=[],Ge=St||dt;wt=we.map((Ke,Xe)=>{const{path:Qe,key:ht,type:Et,menu:mt,overlay:Ft,onClick:Kt,className:jt,separator:Wt,dropdownProps:Vt}=Ke,nn=ze(pt,Qe);nn!==void 0&&Le.push(nn);const Bt=ht!=null?ht:Xe;if(Et==="separator")return Ne.createElement(De,{key:Bt},Wt);const _t={},en=Xe===we.length-1;mt?_t.menu=mt:Ft&&(_t.overlay=Ft);let{href:on}=Ke;return Le.length&&nn!==void 0&&(on=`#/${Le.join("/")}`),Ne.createElement(ae,Object.assign({key:Bt},_t,(0,Ze.Z)(Ke,{data:!0,aria:!0}),{className:jt,dropdownProps:Vt,href:on,separator:en?"":ut,onClick:Kt,prefixCls:bt}),Ce(Ke,pt,Ge,Le,on))})}else if(xt){const Le=(0,oe.Z)(xt).length;wt=(0,oe.Z)(xt).map((Ge,Ke)=>{if(!Ge)return Ge;const Xe=Ke===Le-1;return(0,ge.Tm)(Ge,{separator:Xe?"":ut,key:Ke})})}const Ye=gt()(bt,Gt==null?void 0:Gt.className,{[`${bt}-rtl`]:At==="rtl"},tt,at,_e),Je=Object.assign(Object.assign({},Gt==null?void 0:Gt.style),vt);return it(Ne.createElement("nav",Object.assign({className:Ye,style:Je},yt),Ne.createElement("ol",null,wt)))};$e.Item=le,$e.Separator=De;var Ue=$e,qe=Ue},19842:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return gi}});var He=We(19127),gt=We(59301),oe=We(33853),Ze=We(58617),Ne=We(38819),ge=We(92310),ce=We.n(ge),Ee=We(96663),Ae=We(72071),ye=We(6620),De=We(77861),me=We(17115),xe=We(90782),fe=We(6089),z=We(18929),ee=gt.createContext(null),ae=ee,re=We(20135),le=We(90493),ue=We(44127),pe="__rc_cascader_search_mark__",Pe=function(hr,ar,vr){var Un=vr.label;return ar.some(function(Yn){return String(Yn[Un]).toLowerCase().includes(hr.toLowerCase())})},be=function(hr,ar,vr,Un){return ar.map(function(Yn){return Yn[Un.label]}).join(" / ")},Ie=function(Ln,hr,ar,vr,Un,Yn){var Qt=Un.filter,Zt=Qt===void 0?Pe:Qt,Pt=Un.render,an=Pt===void 0?be:Pt,gn=Un.limit,Xt=gn===void 0?50:gn,Dt=Un.sort;return gt.useMemo(function(){var cn=[];if(!Ln)return[];function bn(kn,Gn){var Ht=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;kn.forEach(function(An){if(!(!Dt&&Xt!==!1&&Xt>0&&cn.length>=Xt)){var Kn=[].concat((0,He.Z)(Gn),[An]),ir=An[ar.children],sn=Ht||An.disabled;if((!ir||ir.length===0||Yn)&&Zt(Ln,Kn,{label:ar.label})){var Cn;cn.push((0,ue.Z)((0,ue.Z)({},An),{},(Cn={disabled:sn},(0,le.Z)(Cn,ar.label,an(Ln,Kn,vr,ar)),(0,le.Z)(Cn,pe,Kn),(0,le.Z)(Cn,ar.children,void 0),Cn)))}ir&&bn(An[ar.children],Kn,sn)}})}return bn(hr,[]),Dt&&cn.sort(function(kn,Gn){return Dt(kn[pe],Gn[pe],Ln,ar)}),Xt!==!1&&Xt>0?cn.slice(0,Xt):cn},[Ln,hr,ar,vr,an,Yn,Zt,Dt,Xt])},Me="__RC_CASCADER_SPLIT__",Oe="SHOW_PARENT",Te="SHOW_CHILD";function je(Ln){return Ln.join(Me)}function ze(Ln){return Ln.map(je)}function $e(Ln){return Ln.split(Me)}function Ue(Ln){var hr=Ln||{},ar=hr.label,vr=hr.value,Un=hr.children,Yn=vr||"value";return{label:ar||"label",value:Yn,key:Yn,children:Un||"children"}}function qe(Ln,hr){var ar,vr;return(ar=Ln.isLeaf)!==null&&ar!==void 0?ar:!((vr=Ln[hr.children])!==null&&vr!==void 0&&vr.length)}function et(Ln){var hr=Ln.parentElement;if(hr){var ar=Ln.offsetTop-hr.offsetTop;ar-hr.scrollTop<0?hr.scrollTo({top:ar}):ar+Ln.offsetHeight-hr.scrollTop>hr.offsetHeight&&hr.scrollTo({top:ar+Ln.offsetHeight-hr.offsetHeight})}}function lt(Ln,hr){return Ln.map(function(ar){var vr;return(vr=ar[pe])===null||vr===void 0?void 0:vr.map(function(Un){return Un[hr.value]})})}function ut(Ln,hr,ar){var vr=new Set(Ln),Un=hr();return Ln.filter(function(Yn){var Qt=Un[Yn],Zt=Qt?Qt.parent:null,Pt=Qt?Qt.children:null;return Qt&&Qt.node.disabled?!0:ar===Te?!(Pt&&Pt.some(function(an){return an.key&&vr.has(an.key)})):!(Zt&&!Zt.node.disabled&&vr.has(Zt.key))})}function vt(Ln,hr,ar){for(var vr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Un=hr,Yn=[],Qt=function(){var an,gn,Xt,Dt=Ln[Zt],cn=(an=Un)===null||an===void 0?void 0:an.findIndex(function(kn){var Gn=kn[ar.value];return vr?String(Gn)===String(Dt):Gn===Dt}),bn=cn!==-1?(gn=Un)===null||gn===void 0?void 0:gn[cn]:null;Yn.push({value:(Xt=bn==null?void 0:bn[ar.value])!==null&&Xt!==void 0?Xt:Dt,index:cn,option:bn}),Un=bn==null?void 0:bn[ar.children]},Zt=0;Zt<Ln.length;Zt+=1)Qt();return Yn}var tt=function(Ln,hr,ar,vr,Un){return gt.useMemo(function(){var Yn=Un||function(Qt){var Zt=vr?Qt.slice(-1):Qt,Pt=" / ";return Zt.every(function(an){return["string","number"].includes((0,re.Z)(an))})?Zt.join(Pt):Zt.reduce(function(an,gn,Xt){var Dt=gt.isValidElement(gn)?gt.cloneElement(gn,{key:Xt}):gn;return Xt===0?[Dt]:[].concat((0,He.Z)(an),[Pt,Dt])},[])};return Ln.map(function(Qt){var Zt,Pt,an=vt(Qt,hr,ar),gn=Yn(an.map(function(Dt){var cn,bn=Dt.option,kn=Dt.value;return(cn=bn==null?void 0:bn[ar.label])!==null&&cn!==void 0?cn:kn}),an.map(function(Dt){var cn=Dt.option;return cn})),Xt=je(Qt);return{label:gn,value:Xt,key:Xt,valueCells:Qt,disabled:(Zt=an[an.length-1])===null||Zt===void 0||(Pt=Zt.option)===null||Pt===void 0?void 0:Pt.disabled}})},[Ln,hr,ar,Un,vr])},at=We(71430),dt=function(Ln,hr){var ar=gt.useRef({options:null,info:null}),vr=gt.useCallback(function(){return ar.current.options!==Ln&&(ar.current.options=Ln,ar.current.info=(0,at.I8)(Ln,{fieldNames:hr,initWrapper:function(Yn){return(0,ue.Z)((0,ue.Z)({},Yn),{},{pathKeyEntities:{}})},processEntity:function(Yn,Qt){var Zt=Yn.nodes.map(function(Pt){return Pt[hr.value]}).join(Me);Qt.pathKeyEntities[Zt]=Yn,Yn.key=Zt}})),ar.current.info.pathKeyEntities},[hr,Ln]);return vr},St=function(Ln,hr){return gt.useCallback(function(ar){var vr=[],Un=[];return ar.forEach(function(Yn){var Qt=vt(Yn,Ln,hr);Qt.every(function(Zt){return Zt.option})?Un.push(Yn):vr.push(Yn)}),[Un,vr]},[Ln,hr])},xt=We(48736);function ft(Ln){return gt.useMemo(function(){if(!Ln)return[!1,{}];var hr={matchInputWidth:!0,limit:50};return Ln&&(0,re.Z)(Ln)==="object"&&(hr=(0,ue.Z)((0,ue.Z)({},hr),Ln)),hr.limit<=0&&delete hr.limit,[!0,hr]},[Ln])}var pt=gt.memo(function(Ln){var hr=Ln.children;return hr},function(Ln,hr){return!hr.open}),yt=pt;function Tt(Ln){var hr,ar=Ln.prefixCls,vr=Ln.checked,Un=Ln.halfChecked,Yn=Ln.disabled,Qt=Ln.onClick,Zt=Ln.disableCheckbox,Pt=gt.useContext(ae),an=Pt.checkable,gn=typeof an!="boolean"?an:null;return gt.createElement("span",{className:ce()("".concat(ar),(hr={},(0,le.Z)(hr,"".concat(ar,"-checked"),vr),(0,le.Z)(hr,"".concat(ar,"-indeterminate"),!vr&&Un),(0,le.Z)(hr,"".concat(ar,"-disabled"),Yn||Zt),hr)),onClick:Qt},gn)}var At="__cascader_fix_label__";function Gt(Ln){var hr=Ln.prefixCls,ar=Ln.multiple,vr=Ln.options,Un=Ln.activeValue,Yn=Ln.prevValuePath,Qt=Ln.onToggleOpen,Zt=Ln.onSelect,Pt=Ln.onActive,an=Ln.checkedSet,gn=Ln.halfCheckedSet,Xt=Ln.loadingKeys,Dt=Ln.isSelectable,cn=Ln.searchValue,bn="".concat(hr,"-menu"),kn="".concat(hr,"-menu-item"),Gn=gt.useContext(ae),Ht=Gn.fieldNames,An=Gn.changeOnSelect,Kn=Gn.expandTrigger,ir=Gn.expandIcon,sn=Gn.loadingIcon,Cn=Gn.dropdownMenuColumnStyle,rn=Kn==="hover",Sn=gt.useMemo(function(){return vr.map(function(vn){var yn,Tn=vn.disabled,Fn=vn.disableCheckbox,jn=vn[pe],Zn=(yn=vn[At])!==null&&yn!==void 0?yn:vn[Ht.label],gr=vn[Ht.value],pn=qe(vn,Ht),Tr=jn?jn.map(function(dr){return dr[Ht.value]}):[].concat((0,He.Z)(Yn),[gr]),Ur=je(Tr),Nr=Xt.includes(Ur),wn=an.has(Ur),Jn=gn.has(Ur);return{disabled:Tn,label:Zn,value:gr,isLeaf:pn,isLoading:Nr,checked:wn,halfChecked:Jn,option:vn,disableCheckbox:Fn,fullPath:Tr,fullPathKey:Ur}})},[vr,an,Ht,gn,Xt,Yn]);return gt.createElement("ul",{className:bn,role:"menu"},Sn.map(function(vn){var yn,Tn=vn.disabled,Fn=vn.label,jn=vn.value,Zn=vn.isLeaf,gr=vn.isLoading,pn=vn.checked,Tr=vn.halfChecked,Ur=vn.option,Nr=vn.fullPath,wn=vn.fullPathKey,Jn=vn.disableCheckbox,dr=function(){if(!(Tn||cn)){var Gr=(0,He.Z)(Nr);rn&&Zn&&Gr.pop(),Pt(Gr)}},Ar=function(){Dt(Ur)&&Zt(Nr,Zn)},fr;return typeof Ur.title=="string"?fr=Ur.title:typeof Fn=="string"&&(fr=Fn),gt.createElement("li",{key:wn,className:ce()(kn,(yn={},(0,le.Z)(yn,"".concat(kn,"-expand"),!Zn),(0,le.Z)(yn,"".concat(kn,"-active"),Un===jn||Un===wn),(0,le.Z)(yn,"".concat(kn,"-disabled"),Tn),(0,le.Z)(yn,"".concat(kn,"-loading"),gr),yn)),style:Cn,role:"menuitemcheckbox",title:fr,"aria-checked":pn,"data-path-key":wn,onClick:function(){dr(),!Jn&&(!ar||Zn)&&Ar()},onDoubleClick:function(){An&&Qt(!1)},onMouseEnter:function(){rn&&dr()},onMouseDown:function(Gr){Gr.preventDefault()}},ar&&gt.createElement(Tt,{prefixCls:"".concat(hr,"-checkbox"),checked:pn,halfChecked:Tr,disabled:Tn||Jn,disableCheckbox:Jn,onClick:function(Gr){Jn||(Gr.stopPropagation(),Ar())}}),gt.createElement("div",{className:"".concat(kn,"-content")},Fn),!gr&&ir&&!Zn&&gt.createElement("div",{className:"".concat(kn,"-expand-icon")},ir),gr&&sn&&gt.createElement("div",{className:"".concat(kn,"-loading-icon")},sn))}))}var wt=function(){var Ln=(0,De.lk)(),hr=Ln.multiple,ar=Ln.open,vr=gt.useContext(ae),Un=vr.values,Yn=gt.useState([]),Qt=(0,Ae.Z)(Yn,2),Zt=Qt[0],Pt=Qt[1];return gt.useEffect(function(){if(ar&&!hr){var an=Un[0];Pt(an||[])}},[ar]),[Zt,Pt]},bt=We(10228),it=function(Ln,hr,ar,vr,Un,Yn){var Qt=(0,De.lk)(),Zt=Qt.direction,Pt=Qt.searchValue,an=Qt.toggleOpen,gn=Qt.open,Xt=Zt==="rtl",Dt=gt.useMemo(function(){for(var Cn=-1,rn=hr,Sn=[],vn=[],yn=vr.length,Tn=lt(hr,ar),Fn=function(Ur){var Nr=rn.findIndex(function(wn,Jn){return(Tn[Jn]?je(Tn[Jn]):wn[ar.value])===vr[Ur]});if(Nr===-1)return"break";Cn=Nr,Sn.push(Cn),vn.push(vr[Ur]),rn=rn[Cn][ar.children]},jn=0;jn<yn&&rn;jn+=1){var Zn=Fn(jn);if(Zn==="break")break}for(var gr=hr,pn=0;pn<Sn.length-1;pn+=1)gr=gr[Sn[pn]][ar.children];return[vn,Cn,gr,Tn]},[vr,ar,hr]),cn=(0,Ae.Z)(Dt,4),bn=cn[0],kn=cn[1],Gn=cn[2],Ht=cn[3],An=function(rn){Un(rn)},Kn=function(rn){var Sn=Gn.length,vn=kn;vn===-1&&rn<0&&(vn=Sn);for(var yn=0;yn<Sn;yn+=1){vn=(vn+rn+Sn)%Sn;var Tn=Gn[vn];if(Tn&&!Tn.disabled){var Fn=bn.slice(0,-1).concat(Ht[vn]?je(Ht[vn]):Tn[ar.value]);An(Fn);return}}},ir=function(){if(bn.length>1){var rn=bn.slice(0,-1);An(rn)}else an(!1)},sn=function(){var rn,Sn=((rn=Gn[kn])===null||rn===void 0?void 0:rn[ar.children])||[],vn=Sn.find(function(Tn){return!Tn.disabled});if(vn){var yn=[].concat((0,He.Z)(bn),[vn[ar.value]]);An(yn)}};gt.useImperativeHandle(Ln,function(){return{onKeyDown:function(rn){var Sn=rn.which;switch(Sn){case bt.Z.UP:case bt.Z.DOWN:{var vn=0;Sn===bt.Z.UP?vn=-1:Sn===bt.Z.DOWN&&(vn=1),vn!==0&&Kn(vn);break}case bt.Z.LEFT:{if(Pt)break;Xt?sn():ir();break}case bt.Z.RIGHT:{if(Pt)break;Xt?ir():sn();break}case bt.Z.BACKSPACE:{Pt||ir();break}case bt.Z.ENTER:{if(bn.length){var yn=Gn[kn],Tn=(yn==null?void 0:yn[pe])||[];Tn.length?Yn(Tn.map(function(Fn){return Fn[ar.value]}),Tn[Tn.length-1]):Yn(bn,Gn[kn])}break}case bt.Z.ESC:an(!1),gn&&rn.stopPropagation()}},onKeyUp:function(){}}})},_e=gt.forwardRef(function(Ln,hr){var ar,vr,Un,Yn,Qt=(0,De.lk)(),Zt=Qt.prefixCls,Pt=Qt.multiple,an=Qt.searchValue,gn=Qt.toggleOpen,Xt=Qt.notFoundContent,Dt=Qt.direction,cn=Qt.open,bn=gt.useRef(),kn=Dt==="rtl",Gn=gt.useContext(ae),Ht=Gn.options,An=Gn.values,Kn=Gn.halfValues,ir=Gn.fieldNames,sn=Gn.changeOnSelect,Cn=Gn.onSelect,rn=Gn.searchOptions,Sn=Gn.dropdownPrefixCls,vn=Gn.loadData,yn=Gn.expandTrigger,Tn=Sn||Zt,Fn=gt.useState([]),jn=(0,Ae.Z)(Fn,2),Zn=jn[0],gr=jn[1],pn=function(_r){if(!(!vn||an)){var Xi=vt(_r,Ht,ir),Oi=Xi.map(function(wi){var ki=wi.option;return ki}),Rr=Oi[Oi.length-1];if(Rr&&!qe(Rr,ir)){var zr=je(_r);gr(function(wi){return[].concat((0,He.Z)(wi),[zr])}),vn(Oi)}}};gt.useEffect(function(){Zn.length&&Zn.forEach(function(Ri){var _r=$e(Ri),Xi=vt(_r,Ht,ir,!0).map(function(Rr){var zr=Rr.option;return zr}),Oi=Xi[Xi.length-1];(!Oi||Oi[ir.children]||qe(Oi,ir))&&gr(function(Rr){return Rr.filter(function(zr){return zr!==Ri})})})},[Ht,Zn,ir]);var Tr=gt.useMemo(function(){return new Set(ze(An))},[An]),Ur=gt.useMemo(function(){return new Set(ze(Kn))},[Kn]),Nr=wt(),wn=(0,Ae.Z)(Nr,2),Jn=wn[0],dr=wn[1],Ar=function(_r){dr(_r),pn(_r)},fr=function(_r){var Xi=_r.disabled,Oi=qe(_r,ir);return!Xi&&(Oi||sn||Pt)},Ir=function(_r,Xi){var Oi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Cn(_r),!Pt&&(Xi||sn&&(yn==="hover"||Oi))&&gn(!1)},Gr=gt.useMemo(function(){return an?rn:Ht},[an,rn,Ht]),Wr=gt.useMemo(function(){for(var Ri=[{options:Gr}],_r=Gr,Xi=lt(_r,ir),Oi=function(){var ki=Jn[Rr],pr=_r.find(function(Li,ao){return(Xi[ao]?je(Xi[ao]):Li[ir.value])===ki}),Lt=pr==null?void 0:pr[ir.children];if(!(Lt!=null&&Lt.length))return"break";_r=Lt,Ri.push({options:Lt})},Rr=0;Rr<Jn.length;Rr+=1){var zr=Oi();if(zr==="break")break}return Ri},[Gr,Jn,ir]),br=function(_r,Xi){fr(Xi)&&Ir(_r,qe(Xi,ir),!0)};it(hr,Gr,ir,Jn,Ar,br),gt.useEffect(function(){for(var Ri=0;Ri<Jn.length;Ri+=1){var _r,Xi=Jn.slice(0,Ri+1),Oi=je(Xi),Rr=(_r=bn.current)===null||_r===void 0?void 0:_r.querySelector('li[data-path-key="'.concat(Oi.replace(/\\{0,2}"/g,'\\"'),'"]'));Rr&&et(Rr)}},[Jn]);var Kr=!((ar=Wr[0])!==null&&ar!==void 0&&(vr=ar.options)!==null&&vr!==void 0&&vr.length),Dn=[(Un={},(0,le.Z)(Un,ir.value,"__EMPTY__"),(0,le.Z)(Un,At,Xt),(0,le.Z)(Un,"disabled",!0),Un)],Ei=(0,ue.Z)((0,ue.Z)({},Ln),{},{multiple:!Kr&&Pt,onSelect:Ir,onActive:Ar,onToggleOpen:gn,checkedSet:Tr,halfCheckedSet:Ur,loadingKeys:Zn,isSelectable:fr}),On=Kr?[{options:Dn}]:Wr,hi=On.map(function(Ri,_r){var Xi=Jn.slice(0,_r),Oi=Jn[_r];return gt.createElement(Gt,(0,Ee.Z)({key:_r},Ei,{searchValue:an,prefixCls:Tn,options:Ri.options,prevValuePath:Xi,activeValue:Oi}))});return gt.createElement(yt,{open:cn},gt.createElement("div",{className:ce()("".concat(Tn,"-menus"),(Yn={},(0,le.Z)(Yn,"".concat(Tn,"-menu-empty"),Kr),(0,le.Z)(Yn,"".concat(Tn,"-rtl"),kn),Yn)),ref:bn},hi))}),we=_e;function Ce(Ln){var hr=Ln.onPopupVisibleChange,ar=Ln.popupVisible,vr=Ln.popupClassName,Un=Ln.popupPlacement;warning(!hr,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(ar===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(vr===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(Un===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function Ye(Ln,hr){if(Ln){var ar=function vr(Un){for(var Yn=0;Yn<Un.length;Yn++){var Qt=Un[Yn];if(Qt[hr==null?void 0:hr.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(Qt[hr==null?void 0:hr.children])&&vr(Qt[hr==null?void 0:hr.children]))return!0}};ar(Ln)}}var Je=null,Le=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy"];function Ge(Ln){return Array.isArray(Ln)&&Array.isArray(Ln[0])}function Ke(Ln){return Ln?Ge(Ln)?Ln:(Ln.length===0?[]:[Ln]).map(function(hr){return Array.isArray(hr)?hr:[hr]}):[]}var Xe=gt.forwardRef(function(Ln,hr){var ar=Ln.id,vr=Ln.prefixCls,Un=vr===void 0?"rc-cascader":vr,Yn=Ln.fieldNames,Qt=Ln.defaultValue,Zt=Ln.value,Pt=Ln.changeOnSelect,an=Ln.onChange,gn=Ln.displayRender,Xt=Ln.checkable,Dt=Ln.autoClearSearchValue,cn=Dt===void 0?!0:Dt,bn=Ln.searchValue,kn=Ln.onSearch,Gn=Ln.showSearch,Ht=Ln.expandTrigger,An=Ln.options,Kn=Ln.dropdownPrefixCls,ir=Ln.loadData,sn=Ln.popupVisible,Cn=Ln.open,rn=Ln.popupClassName,Sn=Ln.dropdownClassName,vn=Ln.dropdownMenuColumnStyle,yn=Ln.popupPlacement,Tn=Ln.placement,Fn=Ln.onDropdownVisibleChange,jn=Ln.onPopupVisibleChange,Zn=Ln.expandIcon,gr=Zn===void 0?">":Zn,pn=Ln.loadingIcon,Tr=Ln.children,Ur=Ln.dropdownMatchSelectWidth,Nr=Ur===void 0?!1:Ur,wn=Ln.showCheckedStrategy,Jn=wn===void 0?Oe:wn,dr=(0,ye.Z)(Ln,Le),Ar=(0,me.ZP)(ar),fr=!!Xt,Ir=(0,z.Z)(Qt,{value:Zt,postState:Ke}),Gr=(0,Ae.Z)(Ir,2),Wr=Gr[0],br=Gr[1],Kr=gt.useMemo(function(){return Ue(Yn)},[JSON.stringify(Yn)]),Dn=gt.useMemo(function(){return An||[]},[An]),Ei=dt(Dn,Kr),On=gt.useCallback(function(lo){var Qi=Ei();return lo.map(function(Do){var Oo=Qi[Do].nodes;return Oo.map(function(oa){return oa[Kr.value]})})},[Ei,Kr]),hi=(0,z.Z)("",{value:bn,postState:function(Qi){return Qi||""}}),Ri=(0,Ae.Z)(hi,2),_r=Ri[0],Xi=Ri[1],Oi=function(Qi,Do){Xi(Qi),Do.source!=="blur"&&kn&&kn(Qi)},Rr=ft(Gn),zr=(0,Ae.Z)(Rr,2),wi=zr[0],ki=zr[1],pr=Ie(_r,Dn,Kr,Kn||Un,ki,Pt),Lt=St(Dn,Kr),Li=gt.useMemo(function(){var lo=Lt(Wr),Qi=(0,Ae.Z)(lo,2),Do=Qi[0],Oo=Qi[1];if(!fr||!Wr.length)return[Do,[],Oo];var oa=ze(Do),la=Ei(),Ma=(0,xe.S)(oa,!0,la),Mn=Ma.checkedKeys,ha=Ma.halfCheckedKeys;return[On(Mn),On(ha),Oo]},[fr,Wr,Ei,On,Lt]),ao=(0,Ae.Z)(Li,3),Pi=ao[0],co=ao[1],wo=ao[2],ni=gt.useMemo(function(){var lo=ze(Pi),Qi=ut(lo,Ei,Jn);return[].concat((0,He.Z)(wo),(0,He.Z)(On(Qi)))},[Pi,Ei,On,wo,Jn]),di=tt(ni,Dn,Kr,fr,gn),Fi=(0,fe.Z)(function(lo){if(br(lo),an){var Qi=Ke(lo),Do=Qi.map(function(la){return vt(la,Dn,Kr).map(function(Ma){return Ma.option})}),Oo=fr?Qi:Qi[0],oa=fr?Do:Do[0];an(Oo,oa)}}),bi=(0,fe.Z)(function(lo){if((!fr||cn)&&Xi(""),!fr)Fi(lo);else{var Qi=je(lo),Do=ze(Pi),Oo=ze(co),oa=Do.includes(Qi),la=wo.some(function(Ao){return je(Ao)===Qi}),Ma=Pi,Mn=wo;if(la&&!oa)Mn=wo.filter(function(Ao){return je(Ao)!==Qi});else{var ha=oa?Do.filter(function(Ao){return Ao!==Qi}):[].concat((0,He.Z)(Do),[Qi]),fu=Ei(),xs;if(oa){var bo=(0,xe.S)(ha,{checked:!1,halfCheckedKeys:Oo},fu);xs=bo.checkedKeys}else{var _i=(0,xe.S)(ha,!0,fu);xs=_i.checkedKeys}var da=ut(xs,Ei,Jn);Ma=On(da)}Fi([].concat((0,He.Z)(Mn),(0,He.Z)(Ma)))}}),so=function(Qi,Do){if(Do.type==="clear"){Fi([]);return}var Oo=Do.values[0],oa=Oo.valueCells;bi(oa)},Po=Cn!==void 0?Cn:sn,Vr=Sn||rn,Xr=Tn||yn,qn=function(Qi){Fn==null||Fn(Qi),jn==null||jn(Qi)},li=gt.useMemo(function(){return{options:Dn,fieldNames:Kr,values:Pi,halfValues:co,changeOnSelect:Pt,onSelect:bi,checkable:Xt,searchOptions:pr,dropdownPrefixCls:Kn,loadData:ir,expandTrigger:Ht,expandIcon:gr,loadingIcon:pn,dropdownMenuColumnStyle:vn}},[Dn,Kr,Pi,co,Pt,bi,Xt,pr,Kn,ir,Ht,gr,pn,vn]),qi=!(_r?pr:Dn).length,Ro=_r&&ki.matchInputWidth||qi?{}:{minWidth:"auto"};return gt.createElement(ae.Provider,{value:li},gt.createElement(De.Ac,(0,Ee.Z)({},dr,{ref:hr,id:Ar,prefixCls:Un,autoClearSearchValue:cn,dropdownMatchSelectWidth:Nr,dropdownStyle:Ro,displayValues:di,onDisplayValuesChange:so,mode:fr?"multiple":void 0,searchValue:_r,onSearch:Oi,showSearch:wi,OptionList:we,emptyOptions:qi,open:Po,dropdownClassName:Vr,placement:Xr,onDropdownVisibleChange:qn,getRawInputElement:function(){return Tr}})))});Xe.SHOW_PARENT=Oe,Xe.SHOW_CHILD=Te;var Qe=Xe,ht=Qe,Et=We(2738),mt=We(62892),Ft=We(53487),Kt=We(19080),jt=We(36355),Wt=We(93891),Vt=We(1684),nn=We(19716),Bt=We(32441),_t=We(14154),en=We(58582),on=We(84443),xn=We(66339),zn=We(33234),tr=We(98447),er=We(17313),ur=We(74207),Dr=We(83116);const Mr=Ln=>{const{prefixCls:hr,componentCls:ar,antCls:vr}=Ln,Un=`${ar}-menu-item`,Yn=`
&${Un}-expand ${Un}-expand-icon,
${Un}-loading-icon
`;return[{[ar]:{width:Ln.controlWidth}},{[`${ar}-dropdown`]:[(0,tr.C2)(`${hr}-checkbox`,Ln),{[`&${vr}-select-dropdown`]:{padding:0}},{[ar]:{"&-checkbox":{top:0,marginInlineEnd:Ln.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${ar}-menu-empty`]:{[`${ar}-menu`]:{width:"100%",height:"auto",[Un]:{color:Ln.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:Ln.controlItemWidth,height:Ln.dropdownHeight,margin:0,padding:Ln.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${Ln.lineWidth}px ${Ln.lineType} ${Ln.colorSplit}`},"&-item":Object.assign(Object.assign({},er.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:Ln.optionPadding,lineHeight:Ln.lineHeight,cursor:"pointer",transition:`all ${Ln.motionDurationMid}`,borderRadius:Ln.borderRadiusSM,"&:hover":{background:Ln.controlItemBgHover},"&-disabled":{color:Ln.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Yn]:{color:Ln.colorTextDisabled}},[`&-active:not(${Un}-disabled)`]:{"&, &:hover":{fontWeight:Ln.optionSelectedFontWeight,backgroundColor:Ln.optionSelectedBg}},"&-content":{flex:"auto"},[Yn]:{marginInlineStart:Ln.paddingXXS,color:Ln.colorTextDescription,fontSize:Ln.fontSizeIcon},"&-keyword":{color:Ln.colorHighlight}})}}}]},{[`${ar}-dropdown-rtl`]:{direction:"rtl"}},(0,ur.c)(Ln)]};var Br=(0,Dr.Z)("Cascader",Ln=>[Mr(Ln)],Ln=>{const hr=Math.round((Ln.controlHeight-Ln.fontSize*Ln.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Ln.controlItemBgActive,optionSelectedFontWeight:Ln.fontWeightStrong,optionPadding:`${hr}px ${Ln.paddingSM}px`,menuPadding:Ln.paddingXXS}}),qr=function(Ln,hr){var ar={};for(var vr in Ln)Object.prototype.hasOwnProperty.call(Ln,vr)&&hr.indexOf(vr)<0&&(ar[vr]=Ln[vr]);if(Ln!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Un=0,vr=Object.getOwnPropertySymbols(Ln);Un<vr.length;Un++)hr.indexOf(vr[Un])<0&&Object.prototype.propertyIsEnumerable.call(Ln,vr[Un])&&(ar[vr[Un]]=Ln[vr[Un]]);return ar};const{SHOW_CHILD:Qr,SHOW_PARENT:Lr}=ht;function ei(Ln,hr,ar){const vr=Ln.toLowerCase().split(hr).reduce((Qt,Zt,Pt)=>Pt===0?[Zt]:[].concat((0,He.Z)(Qt),[hr,Zt]),[]),Un=[];let Yn=0;return vr.forEach((Qt,Zt)=>{const Pt=Yn+Qt.length;let an=Ln.slice(Yn,Pt);Yn=Pt,Zt%2===1&&(an=gt.createElement("span",{className:`${ar}-menu-item-keyword`,key:`separator-${Zt}`},an)),Un.push(an)}),Un}const Er=(Ln,hr,ar,vr)=>{const Un=[],Yn=Ln.toLowerCase();return hr.forEach((Qt,Zt)=>{Zt!==0&&Un.push(" / ");let Pt=Qt[vr.label];const an=typeof Pt;(an==="string"||an==="number")&&(Pt=ei(String(Pt),Yn,ar)),Un.push(Pt)}),Un},ot=gt.forwardRef((Ln,hr)=>{const{prefixCls:ar,size:vr,disabled:Un,className:Yn,rootClassName:Qt,multiple:Zt,bordered:Pt=!0,transitionName:an,choiceTransitionName:gn="",popupClassName:Xt,dropdownClassName:Dt,expandIcon:cn,placement:bn,showSearch:kn,allowClear:Gn=!0,notFoundContent:Ht,direction:An,getPopupContainer:Kn,status:ir,showArrow:sn,builtinPlacements:Cn,style:rn}=Ln,Sn=qr(Ln,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),vn=(0,Et.Z)(Sn,["suffixIcon"]),{getPopupContainer:yn,getPrefixCls:Tn,renderEmpty:Fn,direction:jn,popupOverflow:Zn,cascader:gr}=gt.useContext(jt.E_),pn=An||jn,Tr=pn==="rtl",{status:Ur,hasFeedback:Nr,isFormItemInput:wn,feedbackIcon:Jn}=gt.useContext(Bt.aM),dr=(0,Kt.F)(Ur,ir),Ar=Ht||(Fn==null?void 0:Fn("Cascader"))||gt.createElement(Wt.Z,{componentName:"Cascader"}),fr=Tn(),Ir=Tn("select",ar),Gr=Tn("cascader",ar),[Wr,br]=(0,_t.Z)(Ir),[Kr]=Br(Gr),{compactSize:Dn,compactItemClassnames:Ei}=(0,zn.ri)(Ir,An),On=ce()(Xt||Dt,`${Gr}-dropdown`,{[`${Gr}-dropdown-rtl`]:pn==="rtl"},Qt,br),hi=gt.useMemo(()=>{if(!kn)return kn;let wo={render:Er};return typeof kn=="object"&&(wo=Object.assign(Object.assign({},wo),kn)),wo},[kn]),Ri=(0,nn.Z)(wo=>{var ni;return(ni=vr!=null?vr:Dn)!==null&&ni!==void 0?ni:wo}),_r=gt.useContext(Vt.Z),Xi=Un!=null?Un:_r;let Oi=cn;cn||(Oi=Tr?gt.createElement(oe.Z,null):gt.createElement(Ne.Z,null));const Rr=gt.createElement("span",{className:`${Ir}-menu-item-loading-icon`},gt.createElement(Ze.Z,{spin:!0})),zr=gt.useMemo(()=>Zt?gt.createElement("span",{className:`${Gr}-checkbox-inner`}):!1,[Zt]),wi=(0,on.Z)(Ln.suffixIcon,sn),{suffixIcon:ki,removeIcon:pr,clearIcon:Lt}=(0,xn.Z)(Object.assign(Object.assign({},Ln),{hasFeedback:Nr,feedbackIcon:Jn,showSuffixIcon:wi,multiple:Zt,prefixCls:Ir,componentName:"Cascader"})),Li=gt.useMemo(()=>bn!==void 0?bn:Tr?"bottomRight":"bottomLeft",[bn,Tr]),ao=(0,en.Z)(Cn,Zn),Pi=Gn===!0?{clearIcon:Lt}:Gn,co=gt.createElement(ht,Object.assign({prefixCls:Ir,className:ce()(!ar&&Gr,{[`${Ir}-lg`]:Ri==="large",[`${Ir}-sm`]:Ri==="small",[`${Ir}-rtl`]:Tr,[`${Ir}-borderless`]:!Pt,[`${Ir}-in-form-item`]:wn},(0,Kt.Z)(Ir,dr,Nr),Ei,gr==null?void 0:gr.className,Yn,Qt,br),disabled:Xi,style:Object.assign(Object.assign({},gr==null?void 0:gr.style),rn)},vn,{builtinPlacements:ao,direction:pn,placement:Li,notFoundContent:Ar,allowClear:Pi,showSearch:hi,expandIcon:Oi,suffixIcon:ki,removeIcon:pr,loadingIcon:Rr,checkable:zr,dropdownClassName:On,dropdownPrefixCls:ar||Gr,choiceTransitionName:(0,mt.m)(fr,"",gn),transitionName:(0,mt.m)(fr,"slide-up",an),getPopupContainer:Kn||yn,ref:hr}));return Kr(Wr(co))}),xi=(0,Ft.Z)(ot);ot.SHOW_PARENT=Lr,ot.SHOW_CHILD=Qr,ot._InternalPanelDoNotUseOrYouWillBeFired=xi;var gi=ot},24905:function(Nn,fn,We){"use strict";We.d(fn,{default:function(){return Ie}});var He=We(92310),gt=We.n(He),oe=We(5630),Ze=We(59301),Ne=We(36355),ge=We(1684),ce=We(32441),Ae=Ze.createContext(null),ye=We(98447),De=We(14088),me=We(4572),xe=function(Me,Oe){var Te={};for(var je in Me)Object.prototype.hasOwnProperty.call(Me,je)&&Oe.indexOf(je)<0&&(Te[je]=Me[je]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,je=Object.getOwnPropertySymbols(Me);ze<je.length;ze++)Oe.indexOf(je[ze])<0&&Object.prototype.propertyIsEnumerable.call(Me,je[ze])&&(Te[je[ze]]=Me[je[ze]]);return Te};const fe=(Me,Oe)=>{var Te;const{prefixCls:je,className:ze,rootClassName:$e,children:Ue,indeterminate:qe=!1,style:et,onMouseEnter:lt,onMouseLeave:ut,skipGroup:vt=!1,disabled:tt}=Me,at=xe(Me,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:dt,direction:St,checkbox:xt}=Ze.useContext(Ne.E_),ft=Ze.useContext(Ae),{isFormItemInput:pt}=Ze.useContext(ce.aM),yt=Ze.useContext(ge.Z),Tt=(Te=(ft==null?void 0:ft.disabled)||tt)!==null&&Te!==void 0?Te:yt,At=Ze.useRef(at.value);Ze.useEffect(()=>{ft==null||ft.registerValue(at.value)},[]),Ze.useEffect(()=>{if(!vt)return at.value!==At.current&&(ft==null||ft.cancelValue(At.current),ft==null||ft.registerValue(at.value),At.current=at.value),()=>ft==null?void 0:ft.cancelValue(at.value)},[at.value]);const Gt=dt("checkbox",je),[wt,bt]=(0,ye.ZP)(Gt),it=Object.assign({},at);ft&&!vt&&(it.onChange=function(){at.onChange&&at.onChange.apply(at,arguments),ft.toggleOption&&ft.toggleOption({label:Ue,value:at.value})},it.name=ft.name,it.checked=ft.value.includes(at.value));const _e=gt()(`${Gt}-wrapper`,{[`${Gt}-rtl`]:St==="rtl",[`${Gt}-wrapper-checked`]:it.checked,[`${Gt}-wrapper-disabled`]:Tt,[`${Gt}-wrapper-in-form-item`]:pt},xt==null?void 0:xt.className,ze,$e,bt),we=gt()({[`${Gt}-indeterminate`]:qe},me.A,bt),Ce=qe?"mixed":void 0;return wt(Ze.createElement(De.Z,{component:"Checkbox",disabled:Tt},Ze.createElement("label",{className:_e,style:Object.assign(Object.assign({},xt==null?void 0:xt.style),et),onMouseEnter:lt,onMouseLeave:ut},Ze.createElement(oe.Z,Object.assign({"aria-checked":Ce},it,{prefixCls:Gt,className:we,disabled:Tt,ref:Oe})),Ue!==void 0&&Ze.createElement("span",null,Ue))))};var ee=Ze.forwardRef(fe),ae=We(19127),re=We(2738),le=function(Me,Oe){var Te={};for(var je in Me)Object.prototype.hasOwnProperty.call(Me,je)&&Oe.indexOf(je)<0&&(Te[je]=Me[je]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,je=Object.getOwnPropertySymbols(Me);ze<je.length;ze++)Oe.indexOf(je[ze])<0&&Object.prototype.propertyIsEnumerable.call(Me,je[ze])&&(Te[je[ze]]=Me[je[ze]]);return Te};const ue=(Me,Oe)=>{const{defaultValue:Te,children:je,options:ze=[],prefixCls:$e,className:Ue,rootClassName:qe,style:et,onChange:lt}=Me,ut=le(Me,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:vt,direction:tt}=Ze.useContext(Ne.E_),[at,dt]=Ze.useState(ut.value||Te||[]),[St,xt]=Ze.useState([]);Ze.useEffect(()=>{"value"in ut&&dt(ut.value||[])},[ut.value]);const ft=Ze.useMemo(()=>ze.map(Ye=>typeof Ye=="string"||typeof Ye=="number"?{label:Ye,value:Ye}:Ye),[ze]),pt=Ye=>{xt(Je=>Je.filter(Le=>Le!==Ye))},yt=Ye=>{xt(Je=>[].concat((0,ae.Z)(Je),[Ye]))},Tt=Ye=>{const Je=at.indexOf(Ye.value),Le=(0,ae.Z)(at);Je===-1?Le.push(Ye.value):Le.splice(Je,1),"value"in ut||dt(Le),lt==null||lt(Le.filter(Ge=>St.includes(Ge)).sort((Ge,Ke)=>{const Xe=ft.findIndex(ht=>ht.value===Ge),Qe=ft.findIndex(ht=>ht.value===Ke);return Xe-Qe}))},At=vt("checkbox",$e),Gt=`${At}-group`,[wt,bt]=(0,ye.ZP)(At),it=(0,re.Z)(ut,["value","disabled"]),_e=ze.length?ft.map(Ye=>Ze.createElement(ee,{prefixCls:At,key:Ye.value.toString(),disabled:"disabled"in Ye?Ye.disabled:ut.disabled,value:Ye.value,checked:at.includes(Ye.value),onChange:Ye.onChange,className:`${Gt}-item`,style:Ye.style,title:Ye.title},Ye.label)):je,we={toggleOption:Tt,value:at,disabled:ut.disabled,name:ut.name,registerValue:yt,cancelValue:pt},Ce=gt()(Gt,{[`${Gt}-rtl`]:tt==="rtl"},Ue,qe,bt);return wt(Ze.createElement("div",Object.assign({className:Ce,style:et},it,{ref:Oe}),Ze.createElement(Ae.Provider,{value:we},_e)))},pe=Ze.forwardRef(ue);var Pe=Ze.memo(pe);const be=ee;be.Group=Pe,be.__ANT_CHECKBOX=!0;var Ie=be},98447:function(Nn,fn,We){"use strict";We.d(fn,{C2:function(){return Ne}});var He=We(17313),gt=We(37613),oe=We(83116);const Ze=ge=>{const{checkboxCls:ce}=ge,Ee=`${ce}-wrapper`;return[{[`${ce}-group`]:Object.assign(Object.assign({},(0,He.Wf)(ge)),{display:"inline-flex",flexWrap:"wrap",columnGap:ge.marginXS,[`> ${ge.antCls}-row`]:{flex:1}}),[Ee]:Object.assign(Object.assign({},(0,He.Wf)(ge)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Ee}`]:{marginInlineStart:0},[`&${Ee}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ce]:Object.assign(Object.assign({},(0,He.Wf)(ge)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:ge.borderRadiusSM,alignSelf:"center",[`${ce}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ce}-inner`]:Object.assign({},(0,He.oN)(ge))},[`${ce}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:ge.checkboxSize,height:ge.checkboxSize,direction:"ltr",backgroundColor:ge.colorBgContainer,border:`${ge.lineWidth}px ${ge.lineType} ${ge.colorBorder}`,borderRadius:ge.borderRadiusSM,borderCollapse:"separate",transition:`all ${ge.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:ge.checkboxSize/14*5,height:ge.checkboxSize/14*8,border:`${ge.lineWidthBold}px solid ${ge.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${ge.motionDurationFast} ${ge.motionEaseInBack}, opacity ${ge.motionDurationFast}`}},"& + span":{paddingInlineStart:ge.paddingXS,paddingInlineEnd:ge.paddingXS}})},{[`
${Ee}:not(${Ee}-disabled),
${ce}:not(${ce}-disabled)
`]:{[`&:hover ${ce}-inner`]:{borderColor:ge.colorPrimary}},[`${Ee}:not(${Ee}-disabled)`]:{[`&:hover ${ce}-checked:not(${ce}-disabled) ${ce}-inner`]:{backgroundColor:ge.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ce}-checked:not(${ce}-disabled):after`]:{borderColor:ge.colorPrimaryHover}}},{[`${ce}-checked`]:{[`${ce}-inner`]:{backgroundColor:ge.colorPrimary,borderColor:ge.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${ge.motionDurationMid} ${ge.motionEaseOutBack} ${ge.motionDurationFast}`}}},[`
${Ee}-checked:not(${Ee}-disabled),
${ce}-checked:not(${ce}-disabled)
`]:{[`&:hover ${ce}-inner`]:{backgroundColor:ge.colorPrimaryHover,borderColor:"transparent"}}},{[ce]:{"&-indeterminate":{[`${ce}-inner`]:{backgroundColor:ge.colorBgContainer,borderColor:ge.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:ge.fontSizeLG/2,height:ge.fontSizeLG/2,backgroundColor:ge.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Ee}-disabled`]:{cursor:"not-allowed"},[`${ce}-disabled`]:{[`&, ${ce}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ce}-inner`]:{background:ge.colorBgContainerDisabled,borderColor:ge.colorBorder,"&:after":{borderColor:ge.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:ge.colorTextDisabled},[`&${ce}-indeterminate ${ce}-inner::after`]:{background:ge.colorTextDisabled}}}]};function Ne(ge,ce){const Ee=(0,gt.TS)(ce,{checkboxCls:`.${ge}`,checkboxSize:ce.controlInteractiveSize});return[Ze(Ee)]}fn.ZP=(0,oe.Z)("Checkbox",(ge,ce)=>{let{prefixCls:Ee}=ce;return[Ne(Ee,ge)]})},93891:function(Nn,fn,We){"use strict";var He=We(59301),gt=We(36355),oe=We(64165);const Ze=Ne=>{const{componentName:ge}=Ne,{getPrefixCls:ce}=(0,He.useContext)(gt.E_),Ee=ce("empty");switch(ge){case"Table":case"List":return He.createElement(oe.Z,{image:oe.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return He.createElement(oe.Z,{image:oe.Z.PRESENTED_IMAGE_SIMPLE,className:`${Ee}-small`});default:return He.createElement(oe.Z,null)}};fn.Z=Ze},28103:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return me}});var He=We(92310),gt=We.n(He),oe=We(59301),Ze=We(36355),Ne=We(17313),ge=We(83116),ce=We(37613);const Ee=xe=>{const{componentCls:fe,sizePaddingEdgeHorizontal:z,colorSplit:ee,lineWidth:ae,textPaddingInline:re,orientationMargin:le,verticalMarginInline:ue}=xe;return{[fe]:Object.assign(Object.assign({},(0,Ne.Wf)(xe)),{borderBlockStart:`${ae}px solid ${ee}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ue,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${ae}px solid ${ee}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${xe.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${fe}-with-text`]:{display:"flex",alignItems:"center",margin:`${xe.dividerHorizontalWithTextGutterMargin}px 0`,color:xe.colorTextHeading,fontWeight:500,fontSize:xe.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${ee}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${ae}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${fe}-with-text-left`]:{"&::before":{width:`${le*100}%`},"&::after":{width:`${100-le*100}%`}},[`&-horizontal${fe}-with-text-right`]:{"&::before":{width:`${100-le*100}%`},"&::after":{width:`${le*100}%`}},[`${fe}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:re},"&-dashed":{background:"none",borderColor:ee,borderStyle:"dashed",borderWidth:`${ae}px 0 0`},[`&-horizontal${fe}-with-text${fe}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${fe}-dashed`]:{borderInlineStartWidth:ae,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${fe}-with-text`]:{color:xe.colorText,fontWeight:"normal",fontSize:xe.fontSize},[`&-horizontal${fe}-with-text-left${fe}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${fe}-inner-text`]:{paddingInlineStart:z}},[`&-horizontal${fe}-with-text-right${fe}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${fe}-inner-text`]:{paddingInlineEnd:z}}})}};var Ae=(0,ge.Z)("Divider",xe=>{const fe=(0,ce.TS)(xe,{dividerHorizontalWithTextGutterMargin:xe.margin,dividerHorizontalGutterMargin:xe.marginLG,sizePaddingEdgeHorizontal:0});return[Ee(fe)]},xe=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:xe.marginXS})),ye=function(xe,fe){var z={};for(var ee in xe)Object.prototype.hasOwnProperty.call(xe,ee)&&fe.indexOf(ee)<0&&(z[ee]=xe[ee]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,ee=Object.getOwnPropertySymbols(xe);ae<ee.length;ae++)fe.indexOf(ee[ae])<0&&Object.prototype.propertyIsEnumerable.call(xe,ee[ae])&&(z[ee[ae]]=xe[ee[ae]]);return z},me=xe=>{const{getPrefixCls:fe,direction:z,divider:ee}=oe.useContext(Ze.E_),{prefixCls:ae,type:re="horizontal",orientation:le="center",orientationMargin:ue,className:pe,rootClassName:Pe,children:be,dashed:Ie,plain:Me,style:Oe}=xe,Te=ye(xe,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),je=fe("divider",ae),[ze,$e]=Ae(je),Ue=le.length>0?`-${le}`:le,qe=!!be,et=le==="left"&&ue!=null,lt=le==="right"&&ue!=null,ut=gt()(je,ee==null?void 0:ee.className,$e,`${je}-${re}`,{[`${je}-with-text`]:qe,[`${je}-with-text${Ue}`]:qe,[`${je}-dashed`]:!!Ie,[`${je}-plain`]:!!Me,[`${je}-rtl`]:z==="rtl",[`${je}-no-default-orientation-margin-left`]:et,[`${je}-no-default-orientation-margin-right`]:lt},pe,Pe),vt=oe.useMemo(()=>typeof ue=="number"?ue:/^\d+$/.test(ue)?Number(ue):ue,[ue]),tt=Object.assign(Object.assign({},et&&{marginLeft:vt}),lt&&{marginRight:vt});return ze(oe.createElement("div",Object.assign({className:ut,style:Object.assign(Object.assign({},ee==null?void 0:ee.style),Oe)},Te,{role:"separator"}),be&&re!=="vertical"&&oe.createElement("span",{className:`${je}-inner-text`,style:tt},be)))}},91857:function(Nn,fn,We){"use strict";var He=We(59301),gt=We(38819),oe=We(92310),Ze=We.n(oe),Ne=We(31561),ge=We(70425),ce=We(18929),Ee=We(2738),Ae=We(79676),ye=We(53487),De=We(92343),me=We(36355),xe=We(20834),fe=We(40875),z=We(88088),ee=We(47211);const ae=null,re=Pe=>{const{menu:be,arrow:Ie,prefixCls:Me,children:Oe,trigger:Te,disabled:je,dropdownRender:ze,getPopupContainer:$e,overlayClassName:Ue,rootClassName:qe,open:et,onOpenChange:lt,visible:ut,onVisibleChange:vt,mouseEnterDelay:tt=.15,mouseLeaveDelay:at=.1,autoAdjustOverflow:dt=!0,placement:St="",overlay:xt,transitionName:ft}=Pe,{getPopupContainer:pt,getPrefixCls:yt,direction:Tt}=He.useContext(me.E_),At=He.useMemo(()=>{const mt=yt();return ft!==void 0?ft:St.includes("top")?`${mt}-slide-down`:`${mt}-slide-up`},[yt,St,ft]),Gt=He.useMemo(()=>St?St.includes("Center")?St.slice(0,St.indexOf("Center")):St:Tt==="rtl"?"bottomRight":"bottomLeft",[St,Tt]),wt=yt("dropdown",Me),[bt,it]=(0,ee.Z)(wt),[,_e]=(0,z.Z)(),we=He.Children.only(Oe),Ce=(0,De.Tm)(we,{className:Ze()(`${wt}-trigger`,{[`${wt}-rtl`]:Tt==="rtl"},we.props.className),disabled:je}),Ye=je?[]:Te;let Je;Ye&&Ye.includes("contextMenu")&&(Je=!0);const[Le,Ge]=(0,ce.Z)(!1,{value:et!=null?et:ut}),Ke=(0,ge.useEvent)(mt=>{lt==null||lt(mt),vt==null||vt(mt),Ge(mt)}),Xe=Ze()(Ue,qe,it,{[`${wt}-rtl`]:Tt==="rtl"}),Qe=(0,Ae.Z)({arrowPointAtCenter:typeof Ie=="object"&&Ie.pointAtCenter,autoAdjustOverflow:dt,offset:_e.marginXXS,arrowWidth:Ie?_e.sizePopupArrow:0,borderRadius:_e.borderRadius}),ht=He.useCallback(()=>{Ge(!1)},[]),Et=()=>{let mt;return be!=null&&be.items?mt=He.createElement(xe.default,Object.assign({},be)):typeof xt=="function"?mt=xt():mt=xt,ze&&(mt=ze(mt)),mt=He.Children.only(typeof mt=="string"?He.createElement("span",null,mt):mt),He.createElement(fe.J,{prefixCls:`${wt}-menu`,expandIcon:He.createElement("span",{className:`${wt}-menu-submenu-arrow`},He.createElement(gt.Z,{className:`${wt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:ht,validator:Ft=>{let{mode:Kt}=Ft}},mt)};return bt(He.createElement(Ne.Z,Object.assign({alignPoint:Je},(0,Ee.Z)(Pe,["rootClassName"]),{mouseEnterDelay:tt,mouseLeaveDelay:at,visible:Le,builtinPlacements:Qe,arrow:!!Ie,overlayClassName:Xe,prefixCls:wt,getPopupContainer:$e||pt,transitionName:At,trigger:Ye,overlay:Et,placement:Gt,onVisibleChange:Ke}),Ce))};function le(Pe){return Object.assign(Object.assign({},Pe),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ue=(0,ye.Z)(re,"dropdown",Pe=>Pe,le),pe=Pe=>He.createElement(ue,Object.assign({},Pe),He.createElement("span",null));re._InternalPanelDoNotUseOrYouWillBeFired=pe,fn.Z=re},38854:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return z}});var He=We(91857),gt=We(92310),oe=We.n(gt),Ze=We(59301),Ne=We(18785),ge=We(3113),ce=We(36355),Ee=We(81327),Ae=We(33234),ye=We(47211),De=function(ee,ae){var re={};for(var le in ee)Object.prototype.hasOwnProperty.call(ee,le)&&ae.indexOf(le)<0&&(re[le]=ee[le]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,le=Object.getOwnPropertySymbols(ee);ue<le.length;ue++)ae.indexOf(le[ue])<0&&Object.prototype.propertyIsEnumerable.call(ee,le[ue])&&(re[le[ue]]=ee[le[ue]]);return re};const me=ee=>{const{getPopupContainer:ae,getPrefixCls:re,direction:le}=Ze.useContext(ce.E_),{prefixCls:ue,type:pe="default",danger:Pe,disabled:be,loading:Ie,onClick:Me,htmlType:Oe,children:Te,className:je,menu:ze,arrow:$e,autoFocus:Ue,overlay:qe,trigger:et,align:lt,open:ut,onOpenChange:vt,placement:tt,getPopupContainer:at,href:dt,icon:St=Ze.createElement(Ne.Z,null),title:xt,buttonsRender:ft=Et=>Et,mouseEnterDelay:pt,mouseLeaveDelay:yt,overlayClassName:Tt,overlayStyle:At,destroyPopupOnHide:Gt,dropdownRender:wt}=ee,bt=De(ee,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),it=re("dropdown",ue),_e=`${it}-button`,[we,Ce]=(0,ye.Z)(it),Ye={menu:ze,arrow:$e,autoFocus:Ue,align:lt,disabled:be,trigger:be?[]:et,onOpenChange:vt,getPopupContainer:at||ae,mouseEnterDelay:pt,mouseLeaveDelay:yt,overlayClassName:Tt,overlayStyle:At,destroyPopupOnHide:Gt,dropdownRender:wt},{compactSize:Je,compactItemClassnames:Le}=(0,Ae.ri)(it,le),Ge=oe()(_e,Le,je,Ce);"overlay"in ee&&(Ye.overlay=qe),"open"in ee&&(Ye.open=ut),"placement"in ee?Ye.placement=tt:Ye.placement=le==="rtl"?"bottomLeft":"bottomRight";const Ke=Ze.createElement(ge.ZP,{type:pe,danger:Pe,disabled:be,loading:Ie,onClick:Me,htmlType:Oe,href:dt,title:xt},Te),Xe=Ze.createElement(ge.ZP,{type:pe,danger:Pe,icon:St}),[Qe,ht]=ft([Ke,Xe]);return we(Ze.createElement(Ee.Z.Compact,Object.assign({className:Ge,size:Je,block:!0},bt),Qe,Ze.createElement(He.Z,Object.assign({},Ye),ht)))};me.__ANT_BUTTON=!0;var xe=me;const fe=He.Z;fe.Button=xe;var z=fe},47211:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return De}});var He=We(17313),gt=We(13826),oe=We(92899),Ze=We(29878),Ne=We(19447),ge=We(83116),ce=We(37613),Ae=me=>{const{componentCls:xe,menuCls:fe,colorError:z,colorTextLightSolid:ee}=me,ae=`${fe}-item`;return{[`${xe}, ${xe}-menu-submenu`]:{[`${fe} ${ae}`]:{[`&${ae}-danger:not(${ae}-disabled)`]:{color:z,"&:hover":{color:ee,backgroundColor:z}}}}}};const ye=me=>{const{componentCls:xe,menuCls:fe,zIndexPopup:z,dropdownArrowDistance:ee,sizePopupArrow:ae,antCls:re,iconCls:le,motionDurationMid:ue,dropdownPaddingVertical:pe,fontSize:Pe,dropdownEdgeChildPadding:be,colorTextDisabled:Ie,fontSizeIcon:Me,controlPaddingHorizontal:Oe,colorBgElevated:Te}=me;return[{[xe]:Object.assign(Object.assign({},(0,He.Wf)(me)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:z,display:"block","&::before":{position:"absolute",insetBlock:-ee+ae/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${re}-btn`]:{[`& > ${le}-down, & > ${re}-btn-icon > ${le}-down`]:{fontSize:Me}},[`${xe}-wrap`]:{position:"relative",[`${re}-btn > ${le}-down`]:{fontSize:Me},[`${le}-down::before`]:{transition:`transform ${ue}`}},[`${xe}-wrap-open`]:{[`${le}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${re}-slide-down-enter${re}-slide-down-enter-active${xe}-placement-bottomLeft,
&${re}-slide-down-appear${re}-slide-down-appear-active${xe}-placement-bottomLeft,
&${re}-slide-down-enter${re}-slide-down-enter-active${xe}-placement-bottom,
&${re}-slide-down-appear${re}-slide-down-appear-active${xe}-placement-bottom,
&${re}-slide-down-enter${re}-slide-down-enter-active${xe}-placement-bottomRight,
&${re}-slide-down-appear${re}-slide-down-appear-active${xe}-placement-bottomRight`]:{animationName:gt.fJ},[`&${re}-slide-up-enter${re}-slide-up-enter-active${xe}-placement-topLeft,
&${re}-slide-up-appear${re}-slide-up-appear-active${xe}-placement-topLeft,
&${re}-slide-up-enter${re}-slide-up-enter-active${xe}-placement-top,
&${re}-slide-up-appear${re}-slide-up-appear-active${xe}-placement-top,
&${re}-slide-up-enter${re}-slide-up-enter-active${xe}-placement-topRight,
&${re}-slide-up-appear${re}-slide-up-appear-active${xe}-placement-topRight`]:{animationName:gt.Qt},[`&${re}-slide-down-leave${re}-slide-down-leave-active${xe}-placement-bottomLeft,
&${re}-slide-down-leave${re}-slide-down-leave-active${xe}-placement-bottom,
&${re}-slide-down-leave${re}-slide-down-leave-active${xe}-placement-bottomRight`]:{animationName:gt.Uw},[`&${re}-slide-up-leave${re}-slide-up-leave-active${xe}-placement-topLeft,
&${re}-slide-up-leave${re}-slide-up-leave-active${xe}-placement-top,
&${re}-slide-up-leave${re}-slide-up-leave-active${xe}-placement-topRight`]:{animationName:gt.ly}})},(0,Ne.ZP)(me,{colorBg:Te,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${xe} ${fe}`]:{position:"relative",margin:0},[`${fe}-submenu-popup`]:{position:"absolute",zIndex:z,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${xe}, ${xe}-menu-submenu`]:{[fe]:Object.assign(Object.assign({padding:be,listStyleType:"none",backgroundColor:Te,backgroundClip:"padding-box",borderRadius:me.borderRadiusLG,outline:"none",boxShadow:me.boxShadowSecondary},(0,He.Qy)(me)),{[`${fe}-item-group-title`]:{padding:`${pe}px ${Oe}px`,color:me.colorTextDescription,transition:`all ${ue}`},[`${fe}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${fe}-item-icon`]:{minWidth:Pe,marginInlineEnd:me.marginXS,fontSize:me.fontSizeSM},[`${fe}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ue}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${fe}-item, ${fe}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${pe}px ${Oe}px`,color:me.colorText,fontWeight:"normal",fontSize:Pe,lineHeight:me.lineHeight,cursor:"pointer",transition:`all ${ue}`,borderRadius:me.borderRadiusSM,"&:hover, &-active":{backgroundColor:me.controlItemBgHover}},(0,He.Qy)(me)),{"&-selected":{color:me.colorPrimary,backgroundColor:me.controlItemBgActive,"&:hover, &-active":{backgroundColor:me.controlItemBgActiveHover}},"&-disabled":{color:Ie,cursor:"not-allowed","&:hover":{color:Ie,backgroundColor:Te,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${me.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:me.colorSplit},[`${xe}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:me.paddingXS,[`${xe}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:me.colorTextDescription,fontSize:Me,fontStyle:"normal"}}}),[`${fe}-item-group-list`]:{margin:`0 ${me.marginXS}px`,padding:0,listStyle:"none"},[`${fe}-submenu-title`]:{paddingInlineEnd:Oe+me.fontSizeSM},[`${fe}-submenu-vertical`]:{position:"relative"},[`${fe}-submenu${fe}-submenu-disabled ${xe}-menu-submenu-title`]:{[`&, ${xe}-menu-submenu-arrow-icon`]:{color:Ie,backgroundColor:Te,cursor:"not-allowed"}},[`${fe}-submenu-selected ${xe}-menu-submenu-title`]:{color:me.colorPrimary}})}},[(0,gt.oN)(me,"slide-up"),(0,gt.oN)(me,"slide-down"),(0,oe.Fm)(me,"move-up"),(0,oe.Fm)(me,"move-down"),(0,Ze._y)(me,"zoom-big")]]};var De=(0,ge.Z)("Dropdown",(me,xe)=>{let{rootPrefixCls:fe}=xe;const{marginXXS:z,sizePopupArrow:ee,controlHeight:ae,fontSize:re,lineHeight:le,paddingXXS:ue,componentCls:pe,borderRadiusLG:Pe}=me,be=(ae-re*le)/2,{dropdownArrowOffset:Ie}=(0,Ne.fS)({contentRadius:Pe}),Me=(0,ce.TS)(me,{menuCls:`${pe}-menu`,rootPrefixCls:fe,dropdownArrowDistance:ee/2+z,dropdownArrowOffset:Ie,dropdownPaddingVertical:be,dropdownEdgeChildPadding:ue});return[ye(Me),Ae(Me)]},me=>({zIndexPopup:me.zIndexPopupBase+50}))},64165:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return ue}});var He=We(92310),gt=We.n(He),oe=We(59301),Ze=We(36355),Ne=We(9763),ge=We(64993),ce=We(88088),Ae=()=>{const[,pe]=(0,ce.Z)(),be=new ge.C(pe.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return oe.createElement("svg",{style:be,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},oe.createElement("g",{fill:"none",fillRule:"evenodd"},oe.createElement("g",{transform:"translate(24 31.67)"},oe.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),oe.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),oe.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),oe.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),oe.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),oe.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),oe.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},oe.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),oe.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},De=()=>{const[,pe]=(0,ce.Z)(),{colorFill:Pe,colorFillTertiary:be,colorFillQuaternary:Ie,colorBgContainer:Me}=pe,{borderColor:Oe,shadowColor:Te,contentColor:je}=(0,oe.useMemo)(()=>({borderColor:new ge.C(Pe).onBackground(Me).toHexShortString(),shadowColor:new ge.C(be).onBackground(Me).toHexShortString(),contentColor:new ge.C(Ie).onBackground(Me).toHexShortString()}),[Pe,be,Ie,Me]);return oe.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},oe.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},oe.createElement("ellipse",{fill:Te,cx:"32",cy:"33",rx:"32",ry:"7"}),oe.createElement("g",{fillRule:"nonzero",stroke:Oe},oe.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),oe.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:je}))))},me=We(83116),xe=We(37613);const fe=pe=>{const{componentCls:Pe,margin:be,marginXS:Ie,marginXL:Me,fontSize:Oe,lineHeight:Te}=pe;return{[Pe]:{marginInline:Ie,fontSize:Oe,lineHeight:Te,textAlign:"center",[`${Pe}-image`]:{height:pe.emptyImgHeight,marginBottom:Ie,opacity:pe.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${Pe}-description`]:{color:pe.colorText},[`${Pe}-footer`]:{marginTop:be},"&-normal":{marginBlock:Me,color:pe.colorTextDisabled,[`${Pe}-description`]:{color:pe.colorTextDisabled},[`${Pe}-image`]:{height:pe.emptyImgHeightMD}},"&-small":{marginBlock:Ie,color:pe.colorTextDisabled,[`${Pe}-image`]:{height:pe.emptyImgHeightSM}}}}};var z=(0,me.Z)("Empty",pe=>{const{componentCls:Pe,controlHeightLG:be}=pe,Ie=(0,xe.TS)(pe,{emptyImgCls:`${Pe}-img`,emptyImgHeight:be*2.5,emptyImgHeightMD:be,emptyImgHeightSM:be*.875});return[fe(Ie)]}),ee=function(pe,Pe){var be={};for(var Ie in pe)Object.prototype.hasOwnProperty.call(pe,Ie)&&Pe.indexOf(Ie)<0&&(be[Ie]=pe[Ie]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Ie=Object.getOwnPropertySymbols(pe);Me<Ie.length;Me++)Pe.indexOf(Ie[Me])<0&&Object.prototype.propertyIsEnumerable.call(pe,Ie[Me])&&(be[Ie[Me]]=pe[Ie[Me]]);return be};const ae=oe.createElement(Ae,null),re=oe.createElement(De,null),le=pe=>{var{className:Pe,rootClassName:be,prefixCls:Ie,image:Me=ae,description:Oe,children:Te,imageStyle:je,style:ze}=pe,$e=ee(pe,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:Ue,direction:qe,empty:et}=oe.useContext(Ze.E_),lt=Ue("empty",Ie),[ut,vt]=z(lt),[tt]=(0,Ne.Z)("Empty"),at=typeof Oe!="undefined"?Oe:tt==null?void 0:tt.description,dt=typeof at=="string"?at:"empty";let St=null;return typeof Me=="string"?St=oe.createElement("img",{alt:dt,src:Me}):St=Me,ut(oe.createElement("div",Object.assign({className:gt()(vt,lt,et==null?void 0:et.className,{[`${lt}-normal`]:Me===re,[`${lt}-rtl`]:qe==="rtl"},Pe,be),style:Object.assign(Object.assign({},et==null?void 0:et.style),ze)},$e),oe.createElement("div",{className:`${lt}-image`,style:je},St),at&&oe.createElement("div",{className:`${lt}-description`},at),Te&&oe.createElement("div",{className:`${lt}-footer`},Te)))};le.PRESENTED_IMAGE_DEFAULT=ae,le.PRESENTED_IMAGE_SIMPLE=re;var ue=le},78241:function(Nn,fn,We){"use strict";We.d(fn,{default:function(){return Zt}});var He=We(19127),gt=We(92310),oe=We.n(gt),Ze=We(77900),Ne=We(59301),ge=We(62892),ce=We(32441);function Ee(Pt){const[an,gn]=Ne.useState(Pt);return Ne.useEffect(()=>{const Xt=setTimeout(()=>{gn(Pt)},Pt.length?0:10);return()=>{clearTimeout(Xt)}},[Pt]),an}var Ae=We(17313),ye=We(29878),De=We(8378),me=We(37613),xe=We(83116),z=Pt=>{const{componentCls:an}=Pt,gn=`${an}-show-help`,Xt=`${an}-show-help-item`;return{[gn]:{transition:`opacity ${Pt.motionDurationSlow} ${Pt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Xt]:{overflow:"hidden",transition:`height ${Pt.motionDurationSlow} ${Pt.motionEaseInOut},
opacity ${Pt.motionDurationSlow} ${Pt.motionEaseInOut},
transform ${Pt.motionDurationSlow} ${Pt.motionEaseInOut} !important`,[`&${Xt}-appear, &${Xt}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Xt}-leave-active`]:{transform:"translateY(-5px)"}}}}};const ee=Pt=>({legend:{display:"block",width:"100%",marginBottom:Pt.marginLG,padding:0,color:Pt.colorTextDescription,fontSize:Pt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${Pt.lineWidth}px ${Pt.lineType} ${Pt.colorBorder}`},label:{fontSize:Pt.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${Pt.controlOutlineWidth}px ${Pt.controlOutline}`},output:{display:"block",paddingTop:15,color:Pt.colorText,fontSize:Pt.fontSize,lineHeight:Pt.lineHeight}}),ae=(Pt,an)=>{const{formItemCls:gn}=Pt;return{[gn]:{[`${gn}-label > label`]:{height:an},[`${gn}-control-input`]:{minHeight:an}}}},re=Pt=>{const{componentCls:an}=Pt;return{[Pt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Ae.Wf)(Pt)),ee(Pt)),{[`${an}-text`]:{display:"inline-block",paddingInlineEnd:Pt.paddingSM},"&-small":Object.assign({},ae(Pt,Pt.controlHeightSM)),"&-large":Object.assign({},ae(Pt,Pt.controlHeightLG))})}},le=Pt=>{const{formItemCls:an,iconCls:gn,componentCls:Xt,rootPrefixCls:Dt,labelRequiredMarkColor:cn,labelColor:bn,labelFontSize:kn,labelHeight:Gn,labelColonMarginInlineStart:Ht,labelColonMarginInlineEnd:An,itemMarginBottom:Kn}=Pt;return{[an]:Object.assign(Object.assign({},(0,Ae.Wf)(Pt)),{marginBottom:Kn,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
&-hidden.${Dt}-row`]:{display:"none"},"&-has-warning":{[`${an}-split`]:{color:Pt.colorError}},"&-has-error":{[`${an}-split`]:{color:Pt.colorWarning}},[`${an}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${Pt.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Gn,color:bn,fontSize:kn,[`> ${gn}`]:{fontSize:Pt.fontSize,verticalAlign:"top"},[`&${an}-required:not(${an}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:Pt.marginXXS,color:cn,fontSize:Pt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${Xt}-hide-required-mark &`]:{display:"none"}},[`${an}-optional`]:{display:"inline-block",marginInlineStart:Pt.marginXXS,color:Pt.colorTextDescription,[`${Xt}-hide-required-mark &`]:{display:"none"}},[`${an}-tooltip`]:{color:Pt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Pt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Ht,marginInlineEnd:An},[`&${an}-no-colon::after`]:{content:'"\\a0"'}}},[`${an}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Dt}-col-'"]):not([class*="' ${Dt}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:Pt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[an]:{"&-explain, &-extra":{clear:"both",color:Pt.colorTextDescription,fontSize:Pt.fontSize,lineHeight:Pt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:Pt.controlHeightSM,transition:`color ${Pt.motionDurationMid} ${Pt.motionEaseOut}`},"&-explain":{"&-error":{color:Pt.colorError},"&-warning":{color:Pt.colorWarning}}},[`&-with-help ${an}-explain`]:{height:"auto",opacity:1},[`${an}-feedback-icon`]:{fontSize:Pt.fontSize,textAlign:"center",visibility:"visible",animationName:ye.kr,animationDuration:Pt.motionDurationMid,animationTimingFunction:Pt.motionEaseOutBack,pointerEvents:"none","&-success":{color:Pt.colorSuccess},"&-error":{color:Pt.colorError},"&-warning":{color:Pt.colorWarning},"&-validating":{color:Pt.colorPrimary}}})}},ue=Pt=>{const{componentCls:an,formItemCls:gn}=Pt;return{[`${an}-horizontal`]:{[`${gn}-label`]:{flexGrow:0},[`${gn}-control`]:{flex:"1 1 0",minWidth:0},[`${gn}-label[class$='-24'], ${gn}-label[class*='-24 ']`]:{[`& + ${gn}-control`]:{minWidth:"unset"}}}}},pe=Pt=>{const{componentCls:an,formItemCls:gn}=Pt;return{[`${an}-inline`]:{display:"flex",flexWrap:"wrap",[gn]:{flex:"none",marginInlineEnd:Pt.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${gn}-label,
> ${gn}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${gn}-label`]:{flex:"none"},[`${an}-text`]:{display:"inline-block"},[`${gn}-has-feedback`]:{display:"inline-block"}}}}},Pe=Pt=>({padding:Pt.verticalLabelPadding,margin:Pt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),be=Pt=>{const{componentCls:an,formItemCls:gn,rootPrefixCls:Xt}=Pt;return{[`${gn} ${gn}-label`]:Pe(Pt),[an]:{[gn]:{flexWrap:"wrap",[`${gn}-label, ${gn}-control`]:{[`&:not([class*=" ${Xt}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Ie=Pt=>{const{componentCls:an,formItemCls:gn,rootPrefixCls:Xt}=Pt;return{[`${an}-vertical`]:{[gn]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${an}-item-control`]:{width:"100%"}}},[`${an}-vertical ${gn}-label,
.${Xt}-col-24${gn}-label,
.${Xt}-col-xl-24${gn}-label`]:Pe(Pt),[`@media (max-width: ${Pt.screenXSMax}px)`]:[be(Pt),{[an]:{[`.${Xt}-col-xs-24${gn}-label`]:Pe(Pt)}}],[`@media (max-width: ${Pt.screenSMMax}px)`]:{[an]:{[`.${Xt}-col-sm-24${gn}-label`]:Pe(Pt)}},[`@media (max-width: ${Pt.screenMDMax}px)`]:{[an]:{[`.${Xt}-col-md-24${gn}-label`]:Pe(Pt)}},[`@media (max-width: ${Pt.screenLGMax}px)`]:{[an]:{[`.${Xt}-col-lg-24${gn}-label`]:Pe(Pt)}}}},Me=(Pt,an)=>(0,me.TS)(Pt,{formItemCls:`${Pt.componentCls}-item`,rootPrefixCls:an});var Oe=(0,xe.Z)("Form",(Pt,an)=>{let{rootPrefixCls:gn}=an;const Xt=Me(Pt,gn);return[re(Xt),le(Xt),z(Xt),ue(Xt),pe(Xt),Ie(Xt),(0,De.Z)(Xt),ye.kr]},Pt=>({labelRequiredMarkColor:Pt.colorError,labelColor:Pt.colorTextHeading,labelFontSize:Pt.fontSize,labelHeight:Pt.controlHeight,labelColonMarginInlineStart:Pt.marginXXS/2,labelColonMarginInlineEnd:Pt.marginXS,itemMarginBottom:Pt.marginLG,verticalLabelPadding:`0 0 ${Pt.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const Te=[];function je(Pt,an,gn){let Xt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Pt=="string"?Pt:`${an}-${Xt}`,error:Pt,errorStatus:gn}}var $e=Pt=>{let{help:an,helpStatus:gn,errors:Xt=Te,warnings:Dt=Te,className:cn,fieldId:bn,onVisibleChanged:kn}=Pt;const{prefixCls:Gn}=Ne.useContext(ce.Rk),Ht=`${Gn}-item-explain`,[,An]=Oe(Gn),Kn=(0,Ne.useMemo)(()=>(0,ge.Z)(Gn),[Gn]),ir=Ee(Xt),sn=Ee(Dt),Cn=Ne.useMemo(()=>an!=null?[je(an,"help",gn)]:[].concat((0,He.Z)(ir.map((Sn,vn)=>je(Sn,"error","error",vn))),(0,He.Z)(sn.map((Sn,vn)=>je(Sn,"warning","warning",vn)))),[an,gn,ir,sn]),rn={};return bn&&(rn.id=`${bn}_help`),Ne.createElement(Ze.default,{motionDeadline:Kn.motionDeadline,motionName:`${Gn}-show-help`,visible:!!Cn.length,onVisibleChanged:kn},Sn=>{const{className:vn,style:yn}=Sn;return Ne.createElement("div",Object.assign({},rn,{className:oe()(Ht,vn,cn,An),style:yn,role:"alert"}),Ne.createElement(Ze.CSSMotionList,Object.assign({keys:Cn},(0,ge.Z)(Gn),{motionName:`${Gn}-show-help-item`,component:!1}),Tn=>{const{key:Fn,error:jn,errorStatus:Zn,className:gr,style:pn}=Tn;return Ne.createElement("div",{key:Fn,className:oe()(gr,{[`${Ht}-${Zn}`]:Zn}),style:pn},jn)}))})},Ue=We(95013),qe=We(36355),et=We(1684),lt=We(52946),ut=We(19716),vt=We(16722);const tt=["parentNode"],at="form_item";function dt(Pt){return Pt===void 0||Pt===!1?[]:Array.isArray(Pt)?Pt:[Pt]}function St(Pt,an){if(!Pt.length)return;const gn=Pt.join("_");return an?`${an}_${gn}`:tt.includes(gn)?`${at}_${gn}`:gn}function xt(Pt,an,gn,Xt,Dt,cn){let bn=Xt;return cn!==void 0?bn=cn:gn.validating?bn="validating":Pt.length?bn="error":an.length?bn="warning":(gn.touched||Dt&&gn.validated)&&(bn="success"),bn}function ft(Pt){return dt(Pt).join("_")}function pt(Pt){const[an]=(0,Ue.useForm)(),gn=Ne.useRef({}),Xt=Ne.useMemo(()=>Pt!=null?Pt:Object.assign(Object.assign({},an),{__INTERNAL__:{itemRef:Dt=>cn=>{const bn=ft(Dt);cn?gn.current[bn]=cn:delete gn.current[bn]}},scrollToField:function(Dt){let cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const bn=dt(Dt),kn=St(bn,Xt.__INTERNAL__.name),Gn=kn?document.getElementById(kn):null;Gn&&(0,vt.Z)(Gn,Object.assign({scrollMode:"if-needed",block:"nearest"},cn))},getFieldInstance:Dt=>{const cn=ft(Dt);return gn.current[cn]}}),[Pt,an]);return[Xt]}var yt=We(28726),Tt=function(Pt,an){var gn={};for(var Xt in Pt)Object.prototype.hasOwnProperty.call(Pt,Xt)&&an.indexOf(Xt)<0&&(gn[Xt]=Pt[Xt]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,Xt=Object.getOwnPropertySymbols(Pt);Dt<Xt.length;Dt++)an.indexOf(Xt[Dt])<0&&Object.prototype.propertyIsEnumerable.call(Pt,Xt[Dt])&&(gn[Xt[Dt]]=Pt[Xt[Dt]]);return gn};const At=(Pt,an)=>{const gn=Ne.useContext(et.Z),{getPrefixCls:Xt,direction:Dt,form:cn}=Ne.useContext(qe.E_),{prefixCls:bn,className:kn,rootClassName:Gn,size:Ht,disabled:An=gn,form:Kn,colon:ir,labelAlign:sn,labelWrap:Cn,labelCol:rn,wrapperCol:Sn,hideRequiredMark:vn,layout:yn="horizontal",scrollToFirstError:Tn,requiredMark:Fn,onFinishFailed:jn,name:Zn,style:gr,feedbackIcons:pn}=Pt,Tr=Tt(Pt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),Ur=(0,ut.Z)(Ht),Nr=Ne.useContext(yt.Z),wn=(0,Ne.useMemo)(()=>Fn!==void 0?Fn:cn&&cn.requiredMark!==void 0?cn.requiredMark:!vn,[vn,Fn,cn]),Jn=ir!=null?ir:cn==null?void 0:cn.colon,dr=Xt("form",bn),[Ar,fr]=Oe(dr),Ir=oe()(dr,`${dr}-${yn}`,{[`${dr}-hide-required-mark`]:wn===!1,[`${dr}-rtl`]:Dt==="rtl",[`${dr}-${Ur}`]:Ur},fr,cn==null?void 0:cn.className,kn,Gn),[Gr]=pt(Kn),{__INTERNAL__:Wr}=Gr;Wr.name=Zn;const br=(0,Ne.useMemo)(()=>({name:Zn,labelAlign:sn,labelCol:rn,labelWrap:Cn,wrapperCol:Sn,vertical:yn==="vertical",colon:Jn,requiredMark:wn,itemRef:Wr.itemRef,form:Gr,feedbackIcons:pn}),[Zn,sn,rn,Sn,yn,Jn,wn,Gr,pn]);Ne.useImperativeHandle(an,()=>Gr);const Kr=(Ei,On)=>{if(Ei){let hi={block:"nearest"};typeof Ei=="object"&&(hi=Ei),Gr.scrollToField(On,hi)}},Dn=Ei=>{if(jn==null||jn(Ei),Ei.errorFields.length){const On=Ei.errorFields[0].name;if(Tn!==void 0){Kr(Tn,On);return}cn&&cn.scrollToFirstError!==void 0&&Kr(cn.scrollToFirstError,On)}};return Ar(Ne.createElement(et.n,{disabled:An},Ne.createElement(lt.q,{size:Ur},Ne.createElement(ce.RV,Object.assign({},{validateMessages:Nr}),Ne.createElement(ce.q3.Provider,{value:br},Ne.createElement(Ue.default,Object.assign({id:Zn},Tr,{name:Zn,onFinishFailed:Dn,form:Gr,style:Object.assign(Object.assign({},cn==null?void 0:cn.style),gr),className:Ir})))))))};var wt=Ne.forwardRef(At),bt=We(41799),it=We(8654),_e=We(92343),we=We(11592);function Ce(Pt){if(typeof Pt=="function")return Pt;const an=(0,we.Z)(Pt);return an.length<=1?an[0]:an}const Ye=()=>{const{status:Pt,errors:an=[],warnings:gn=[]}=(0,Ne.useContext)(ce.aM);return{status:Pt,errors:an,warnings:gn}};Ye.Context=ce.aM;var Je=Ye,Le=We(16089);function Ge(Pt){const[an,gn]=Ne.useState(Pt),Xt=(0,Ne.useRef)(null),Dt=(0,Ne.useRef)([]),cn=(0,Ne.useRef)(!1);Ne.useEffect(()=>(cn.current=!1,()=>{cn.current=!0,Le.Z.cancel(Xt.current),Xt.current=null}),[]);function bn(kn){cn.current||(Xt.current===null&&(Dt.current=[],Xt.current=(0,Le.Z)(()=>{Xt.current=null,gn(Gn=>{let Ht=Gn;return Dt.current.forEach(An=>{Ht=An(Ht)}),Ht})})),Dt.current.push(kn))}return[an,bn]}function Ke(){const{itemRef:Pt}=Ne.useContext(ce.q3),an=Ne.useRef({});function gn(Xt,Dt){const cn=Dt&&typeof Dt=="object"&&Dt.ref,bn=Xt.join("_");return(an.current.name!==bn||an.current.originRef!==cn)&&(an.current.name=bn,an.current.originRef=cn,an.current.ref=(0,it.sQ)(Pt(Xt),cn)),an.current.ref}return gn}var Xe=We(29194),Qe=We(34280),ht=We(2738),Et=We(27382),mt=We(37028);const Ft=Pt=>{const{formItemCls:an}=Pt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${an}-control`]:{display:"flex"}}}};var Kt=(0,xe.b)(["Form","item-item"],(Pt,an)=>{let{rootPrefixCls:gn}=an;const Xt=Me(Pt,gn);return[Ft(Xt)]}),Wt=Pt=>{const{prefixCls:an,status:gn,wrapperCol:Xt,children:Dt,errors:cn,warnings:bn,_internalItemRender:kn,extra:Gn,help:Ht,fieldId:An,marginBottom:Kn,onErrorVisibleChanged:ir}=Pt,sn=`${an}-item`,Cn=Ne.useContext(ce.q3),rn=Xt||Cn.wrapperCol||{},Sn=oe()(`${sn}-control`,rn.className),vn=Ne.useMemo(()=>Object.assign({},Cn),[Cn]);delete vn.labelCol,delete vn.wrapperCol;const yn=Ne.createElement("div",{className:`${sn}-control-input`},Ne.createElement("div",{className:`${sn}-control-input-content`},Dt)),Tn=Ne.useMemo(()=>({prefixCls:an,status:gn}),[an,gn]),Fn=Kn!==null||cn.length||bn.length?Ne.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},Ne.createElement(ce.Rk.Provider,{value:Tn},Ne.createElement($e,{fieldId:An,errors:cn,warnings:bn,help:Ht,helpStatus:gn,className:`${sn}-explain-connected`,onVisibleChanged:ir})),!!Kn&&Ne.createElement("div",{style:{width:0,height:Kn}})):null,jn={};An&&(jn.id=`${An}_extra`);const Zn=Gn?Ne.createElement("div",Object.assign({},jn,{className:`${sn}-extra`}),Gn):null,gr=kn&&kn.mark==="pro_table_render"&&kn.render?kn.render(Pt,{input:yn,errorList:Fn,extra:Zn}):Ne.createElement(Ne.Fragment,null,yn,Fn,Zn);return Ne.createElement(ce.q3.Provider,{value:vn},Ne.createElement(mt.Z,Object.assign({},rn,{className:Sn}),gr),Ne.createElement(Kt,{prefixCls:an}))},Vt=We(61485),nn=We(31724),Bt=We(9763),_t=We(6848),en=function(Pt,an){var gn={};for(var Xt in Pt)Object.prototype.hasOwnProperty.call(Pt,Xt)&&an.indexOf(Xt)<0&&(gn[Xt]=Pt[Xt]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,Xt=Object.getOwnPropertySymbols(Pt);Dt<Xt.length;Dt++)an.indexOf(Xt[Dt])<0&&Object.prototype.propertyIsEnumerable.call(Pt,Xt[Dt])&&(gn[Xt[Dt]]=Pt[Xt[Dt]]);return gn};function on(Pt){return Pt?typeof Pt=="object"&&!Ne.isValidElement(Pt)?Pt:{title:Pt}:null}var zn=Pt=>{let{prefixCls:an,label:gn,htmlFor:Xt,labelCol:Dt,labelAlign:cn,colon:bn,required:kn,requiredMark:Gn,tooltip:Ht}=Pt;var An;const[Kn]=(0,Bt.Z)("Form"),{vertical:ir,labelAlign:sn,labelCol:Cn,labelWrap:rn,colon:Sn}=Ne.useContext(ce.q3);if(!gn)return null;const vn=Dt||Cn||{},yn=cn||sn,Tn=`${an}-item-label`,Fn=oe()(Tn,yn==="left"&&`${Tn}-left`,vn.className,{[`${Tn}-wrap`]:!!rn});let jn=gn;const Zn=bn===!0||Sn!==!1&&bn!==!1;Zn&&!ir&&typeof gn=="string"&&gn.trim()!==""&&(jn=gn.replace(/[:|]\s*$/,""));const pn=on(Ht);if(pn){const{icon:wn=Ne.createElement(Vt.Z,null)}=pn,Jn=en(pn,["icon"]),dr=Ne.createElement(_t.Z,Object.assign({},Jn),Ne.cloneElement(wn,{className:`${an}-item-tooltip`,title:""}));jn=Ne.createElement(Ne.Fragment,null,jn,dr)}const Tr=Gn==="optional",Ur=typeof Gn=="function";Ur?jn=Gn(jn,{required:!!kn}):Tr&&!kn&&(jn=Ne.createElement(Ne.Fragment,null,jn,Ne.createElement("span",{className:`${an}-item-optional`,title:""},(Kn==null?void 0:Kn.optional)||((An=nn.Z.Form)===null||An===void 0?void 0:An.optional))));const Nr=oe()({[`${an}-item-required`]:kn,[`${an}-item-required-mark-optional`]:Tr||Ur,[`${an}-item-no-colon`]:!Zn});return Ne.createElement(mt.Z,Object.assign({},vn,{className:Fn}),Ne.createElement("label",{htmlFor:Xt,className:Nr,title:typeof gn=="string"?gn:""},jn))},tr=We(29679),er=We(19248),ur=We(96512),Dr=We(58617);const Mr={success:tr.Z,warning:ur.Z,error:er.Z,validating:Dr.Z};function Br(Pt){let{children:an,errors:gn,warnings:Xt,hasFeedback:Dt,validateStatus:cn,prefixCls:bn,meta:kn,noStyle:Gn}=Pt;const Ht=`${bn}-item`,{feedbackIcons:An}=Ne.useContext(ce.q3),Kn=xt(gn,Xt,kn,null,!!Dt,cn),{isFormItemInput:ir,status:sn}=Ne.useContext(ce.aM),Cn=Ne.useMemo(()=>{var rn;let Sn;if(Dt){const Tn=Dt!==!0&&Dt.icons||An,Fn=Kn&&((rn=Tn==null?void 0:Tn({status:Kn,errors:gn,warnings:Xt}))===null||rn===void 0?void 0:rn[Kn]),jn=Kn&&Mr[Kn];Sn=Fn!==!1&&jn?Ne.createElement("span",{className:oe()(`${Ht}-feedback-icon`,`${Ht}-feedback-icon-${Kn}`)},Fn||Ne.createElement(jn,null)):null}let vn=!0,yn=Kn||"";return Gn&&(vn=ir,yn=(Kn!=null?Kn:sn)||""),{status:yn,errors:gn,warnings:Xt,hasFeedback:!!Dt,feedbackIcon:Sn,isFormItemInput:vn}},[Kn,Dt,Gn,ir,sn]);return Ne.createElement(ce.aM.Provider,{value:Cn},an)}var qr=function(Pt,an){var gn={};for(var Xt in Pt)Object.prototype.hasOwnProperty.call(Pt,Xt)&&an.indexOf(Xt)<0&&(gn[Xt]=Pt[Xt]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,Xt=Object.getOwnPropertySymbols(Pt);Dt<Xt.length;Dt++)an.indexOf(Xt[Dt])<0&&Object.prototype.propertyIsEnumerable.call(Pt,Xt[Dt])&&(gn[Xt[Dt]]=Pt[Xt[Dt]]);return gn};function Qr(Pt){const{prefixCls:an,className:gn,rootClassName:Xt,style:Dt,help:cn,errors:bn,warnings:kn,validateStatus:Gn,meta:Ht,hasFeedback:An,hidden:Kn,children:ir,fieldId:sn,required:Cn,isRequired:rn,onSubItemMetaChange:Sn}=Pt,vn=qr(Pt,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),yn=`${an}-item`,{requiredMark:Tn}=Ne.useContext(ce.q3),Fn=Ne.useRef(null),jn=Ee(bn),Zn=Ee(kn),gr=cn!=null,pn=!!(gr||bn.length||kn.length),Tr=!!Fn.current&&(0,Xe.Z)(Fn.current),[Ur,Nr]=Ne.useState(null);(0,Qe.Z)(()=>{if(pn&&Fn.current){const fr=getComputedStyle(Fn.current);Nr(parseInt(fr.marginBottom,10))}},[pn,Tr]);const wn=fr=>{fr||Nr(null)},dr=function(){let fr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Ir=fr?jn:Ht.errors,Gr=fr?Zn:Ht.warnings;return xt(Ir,Gr,Ht,"",!!An,Gn)}(),Ar=oe()(yn,gn,Xt,{[`${yn}-with-help`]:gr||jn.length||Zn.length,[`${yn}-has-feedback`]:dr&&An,[`${yn}-has-success`]:dr==="success",[`${yn}-has-warning`]:dr==="warning",[`${yn}-has-error`]:dr==="error",[`${yn}-is-validating`]:dr==="validating",[`${yn}-hidden`]:Kn});return Ne.createElement("div",{className:Ar,style:Dt,ref:Fn},Ne.createElement(Et.Z,Object.assign({className:`${yn}-row`},(0,ht.Z)(vn,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),Ne.createElement(zn,Object.assign({htmlFor:sn},Pt,{requiredMark:Tn,required:Cn!=null?Cn:rn,prefixCls:an})),Ne.createElement(Wt,Object.assign({},Pt,Ht,{errors:jn,warnings:Zn,prefixCls:an,status:dr,help:cn,marginBottom:Ur,onErrorVisibleChanged:wn}),Ne.createElement(ce.qI.Provider,{value:Sn},Ne.createElement(Br,{prefixCls:an,meta:Ht,errors:Ht.errors,warnings:Ht.warnings,hasFeedback:An,validateStatus:dr},ir)))),!!Ur&&Ne.createElement("div",{className:`${yn}-margin-offset`,style:{marginBottom:-Ur}}))}const Lr="__SPLIT__",ei=null,Er=Ne.memo(Pt=>{let{children:an}=Pt;return an},(Pt,an)=>Pt.value===an.value&&Pt.update===an.update&&Pt.childProps.length===an.childProps.length&&Pt.childProps.every((gn,Xt)=>gn===an.childProps[Xt]));function ot(Pt){return Pt!=null}function xi(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function gi(Pt){const{name:an,noStyle:gn,className:Xt,dependencies:Dt,prefixCls:cn,shouldUpdate:bn,rules:kn,children:Gn,required:Ht,label:An,messageVariables:Kn,trigger:ir="onChange",validateTrigger:sn,hidden:Cn,help:rn}=Pt,{getPrefixCls:Sn}=Ne.useContext(qe.E_),{name:vn}=Ne.useContext(ce.q3),yn=Ce(Gn),Tn=typeof yn=="function",Fn=Ne.useContext(ce.qI),{validateTrigger:jn}=Ne.useContext(Ue.FieldContext),Zn=sn!==void 0?sn:jn,gr=ot(an),pn=Sn("form",cn),[Tr,Ur]=Oe(pn),Nr=Ne.useContext(Ue.ListContext),wn=Ne.useRef(),[Jn,dr]=Ge({}),[Ar,fr]=(0,bt.Z)(()=>xi()),Ir=On=>{const hi=Nr==null?void 0:Nr.getKey(On.name);if(fr(On.destroy?xi():On,!0),gn&&rn!==!1&&Fn){let Ri=On.name;if(On.destroy)Ri=wn.current||Ri;else if(hi!==void 0){const[_r,Xi]=hi;Ri=[_r].concat((0,He.Z)(Xi)),wn.current=Ri}Fn(On,Ri)}},Gr=(On,hi)=>{dr(Ri=>{const _r=Object.assign({},Ri),Oi=[].concat((0,He.Z)(On.name.slice(0,-1)),(0,He.Z)(hi)).join(Lr);return On.destroy?delete _r[Oi]:_r[Oi]=On,_r})},[Wr,br]=Ne.useMemo(()=>{const On=(0,He.Z)(Ar.errors),hi=(0,He.Z)(Ar.warnings);return Object.values(Jn).forEach(Ri=>{On.push.apply(On,(0,He.Z)(Ri.errors||[])),hi.push.apply(hi,(0,He.Z)(Ri.warnings||[]))}),[On,hi]},[Jn,Ar.errors,Ar.warnings]),Kr=Ke();function Dn(On,hi,Ri){return gn&&!Cn?Ne.createElement(Br,{prefixCls:pn,hasFeedback:Pt.hasFeedback,validateStatus:Pt.validateStatus,meta:Ar,errors:Wr,warnings:br,noStyle:!0},On):Ne.createElement(Qr,Object.assign({key:"row"},Pt,{className:oe()(Xt,Ur),prefixCls:pn,fieldId:hi,isRequired:Ri,errors:Wr,warnings:br,meta:Ar,onSubItemMetaChange:Gr}),On)}if(!gr&&!Tn&&!Dt)return Tr(Dn(yn));let Ei={};return typeof An=="string"?Ei.label=An:an&&(Ei.label=String(an)),Kn&&(Ei=Object.assign(Object.assign({},Ei),Kn)),Tr(Ne.createElement(Ue.Field,Object.assign({},Pt,{messageVariables:Ei,trigger:ir,validateTrigger:Zn,onMetaChange:Ir}),(On,hi,Ri)=>{const _r=dt(an).length&&hi?hi.name:[],Xi=St(_r,vn),Oi=Ht!==void 0?Ht:!!(kn&&kn.some(wi=>{if(wi&&typeof wi=="object"&&wi.required&&!wi.warningOnly)return!0;if(typeof wi=="function"){const ki=wi(Ri);return ki&&ki.required&&!ki.warningOnly}return!1})),Rr=Object.assign({},On);let zr=null;if(Array.isArray(yn)&&gr)zr=yn;else if(!(Tn&&(!(bn||Dt)||gr))){if(!(Dt&&!Tn&&!gr))if((0,_e.l$)(yn)){const wi=Object.assign(Object.assign({},yn.props),Rr);if(wi.id||(wi.id=Xi),rn||Wr.length>0||br.length>0||Pt.extra){const Lt=[];(rn||Wr.length>0)&&Lt.push(`${Xi}_help`),Pt.extra&&Lt.push(`${Xi}_extra`),wi["aria-describedby"]=Lt.join(" ")}Wr.length>0&&(wi["aria-invalid"]="true"),Oi&&(wi["aria-required"]="true"),(0,it.Yr)(yn)&&(wi.ref=Kr(_r,yn)),new Set([].concat((0,He.Z)(dt(ir)),(0,He.Z)(dt(Zn)))).forEach(Lt=>{wi[Lt]=function(){for(var Li,ao,Pi,co,wo,ni=arguments.length,di=new Array(ni),Fi=0;Fi<ni;Fi++)di[Fi]=arguments[Fi];(Pi=Rr[Lt])===null||Pi===void 0||(Li=Pi).call.apply(Li,[Rr].concat(di)),(wo=(co=yn.props)[Lt])===null||wo===void 0||(ao=wo).call.apply(ao,[co].concat(di))}});const pr=[wi["aria-required"],wi["aria-invalid"],wi["aria-describedby"]];zr=Ne.createElement(Er,{value:Rr[Pt.valuePropName||"value"],update:yn,childProps:pr},(0,_e.Tm)(yn,wi))}else Tn&&(bn||Dt)&&!gr?zr=yn(Ri):zr=yn}return Dn(zr,Xi,Oi)}))}const Ln=gi;Ln.useStatus=Je;var hr=Ln,ar=function(Pt,an){var gn={};for(var Xt in Pt)Object.prototype.hasOwnProperty.call(Pt,Xt)&&an.indexOf(Xt)<0&&(gn[Xt]=Pt[Xt]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,Xt=Object.getOwnPropertySymbols(Pt);Dt<Xt.length;Dt++)an.indexOf(Xt[Dt])<0&&Object.prototype.propertyIsEnumerable.call(Pt,Xt[Dt])&&(gn[Xt[Dt]]=Pt[Xt[Dt]]);return gn},Un=Pt=>{var{prefixCls:an,children:gn}=Pt,Xt=ar(Pt,["prefixCls","children"]);const{getPrefixCls:Dt}=Ne.useContext(qe.E_),cn=Dt("form",an),bn=Ne.useMemo(()=>({prefixCls:cn,status:"error"}),[cn]);return Ne.createElement(Ue.List,Object.assign({},Xt),(kn,Gn,Ht)=>Ne.createElement(ce.Rk.Provider,{value:bn},gn(kn.map(An=>Object.assign(Object.assign({},An),{fieldKey:An.key})),Gn,{errors:Ht.errors,warnings:Ht.warnings})))};function Yn(){const{form:Pt}=(0,Ne.useContext)(ce.q3);return Pt}const Qt=wt;Qt.Item=hr,Qt.List=Un,Qt.ErrorList=$e,Qt.useForm=pt,Qt.useFormInstance=Yn,Qt.useWatch=Ue.useWatch,Qt.Provider=ce.RV,Qt.create=()=>{};var Zt=Qt},8628:function(Nn,fn,We){"use strict";var He=We(59301),gt=We(34280),oe=We(56762),Ze=We(69507);function Ne(){let ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ce=(0,He.useRef)({}),Ee=(0,oe.Z)(),Ae=(0,Ze.ZP)();return(0,gt.Z)(()=>{const ye=Ae.subscribe(De=>{ce.current=De,ge&&Ee()});return()=>Ae.unsubscribe(ye)},[]),ce.current}fn.Z=Ne},9432:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return le},n:function(){return ae}});var He=We(19248),gt=We(92310),oe=We.n(gt),Ze=We(93681),Ne=We(8654),ge=We(59301),ce=We(19080),Ee=We(36355),Ae=We(1684),ye=We(19716),De=We(32441),me=We(33234),xe=We(59412),fe=We(9937);function z(ue){return!!(ue.prefix||ue.suffix||ue.allowClear)}var ee=function(ue,pe){var Pe={};for(var be in ue)Object.prototype.hasOwnProperty.call(ue,be)&&pe.indexOf(be)<0&&(Pe[be]=ue[be]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,be=Object.getOwnPropertySymbols(ue);Ie<be.length;Ie++)pe.indexOf(be[Ie])<0&&Object.prototype.propertyIsEnumerable.call(ue,be[Ie])&&(Pe[be[Ie]]=ue[be[Ie]]);return Pe};function ae(ue,pe){if(!ue)return;ue.focus(pe);const{cursor:Pe}=pe||{};if(Pe){const be=ue.value.length;switch(Pe){case"start":ue.setSelectionRange(0,0);break;case"end":ue.setSelectionRange(be,be);break;default:ue.setSelectionRange(0,be);break}}}var le=(0,ge.forwardRef)((ue,pe)=>{var Pe;const{prefixCls:be,bordered:Ie=!0,status:Me,size:Oe,disabled:Te,onBlur:je,onFocus:ze,suffix:$e,allowClear:Ue,addonAfter:qe,addonBefore:et,className:lt,style:ut,styles:vt,rootClassName:tt,onChange:at,classNames:dt}=ue,St=ee(ue,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:xt,direction:ft,input:pt}=ge.useContext(Ee.E_),yt=xt("input",be),Tt=(0,ge.useRef)(null),[At,Gt]=(0,fe.ZP)(yt),{compactSize:wt,compactItemClassnames:bt}=(0,me.ri)(yt,ft),it=(0,ye.Z)(Kt=>{var jt;return(jt=Oe!=null?Oe:wt)!==null&&jt!==void 0?jt:Kt}),_e=ge.useContext(Ae.Z),we=Te!=null?Te:_e,{status:Ce,hasFeedback:Ye,feedbackIcon:Je}=(0,ge.useContext)(De.aM),Le=(0,ce.F)(Ce,Me),Ge=z(ue)||!!Ye,Ke=(0,ge.useRef)(Ge);(0,ge.useEffect)(()=>{var Kt;Ge&&Ke.current,Ke.current=Ge},[Ge]);const Xe=(0,xe.Z)(Tt,!0),Qe=Kt=>{Xe(),je==null||je(Kt)},ht=Kt=>{Xe(),ze==null||ze(Kt)},Et=Kt=>{Xe(),at==null||at(Kt)},mt=(Ye||$e)&&ge.createElement(ge.Fragment,null,$e,Ye&&Je);let Ft;return typeof Ue=="object"&&(Ue!=null&&Ue.clearIcon)?Ft=Ue:Ue&&(Ft={clearIcon:ge.createElement(He.Z,null)}),At(ge.createElement(Ze.default,Object.assign({ref:(0,Ne.sQ)(pe,Tt),prefixCls:yt,autoComplete:pt==null?void 0:pt.autoComplete},St,{disabled:we,onBlur:Qe,onFocus:ht,style:Object.assign(Object.assign({},pt==null?void 0:pt.style),ut),styles:Object.assign(Object.assign({},pt==null?void 0:pt.styles),vt),suffix:mt,allowClear:Ft,className:oe()(lt,tt,bt,pt==null?void 0:pt.className),onChange:Et,addonAfter:qe&&ge.createElement(me.BR,null,ge.createElement(De.Ux,{override:!0,status:!0},qe)),addonBefore:et&&ge.createElement(me.BR,null,ge.createElement(De.Ux,{override:!0,status:!0},et)),classNames:Object.assign(Object.assign(Object.assign({},dt),pt==null?void 0:pt.classNames),{input:oe()({[`${yt}-sm`]:it==="small",[`${yt}-lg`]:it==="large",[`${yt}-rtl`]:ft==="rtl",[`${yt}-borderless`]:!Ie},!Ge&&(0,ce.Z)(yt,Le),dt==null?void 0:dt.input,(Pe=pt==null?void 0:pt.classNames)===null||Pe===void 0?void 0:Pe.input,Gt)}),classes:{affixWrapper:oe()({[`${yt}-affix-wrapper-sm`]:it==="small",[`${yt}-affix-wrapper-lg`]:it==="large",[`${yt}-affix-wrapper-rtl`]:ft==="rtl",[`${yt}-affix-wrapper-borderless`]:!Ie},(0,ce.Z)(`${yt}-affix-wrapper`,Le,Ye),Gt),wrapper:oe()({[`${yt}-group-rtl`]:ft==="rtl"},Gt),group:oe()({[`${yt}-group-wrapper-sm`]:it==="small",[`${yt}-group-wrapper-lg`]:it==="large",[`${yt}-group-wrapper-rtl`]:ft==="rtl",[`${yt}-group-wrapper-disabled`]:we},(0,ce.Z)(`${yt}-group-wrapper`,Le,Ye),Gt)}})))})},1643:function(Nn,fn,We){"use strict";var He=We(19248),gt=We(92310),oe=We.n(gt),Ze=We(9296),Ne=We(59301),ge=We(19080),ce=We(36355),Ee=We(1684),Ae=We(19716),ye=We(32441),De=We(9432),me=We(9937),xe=function(z,ee){var ae={};for(var re in z)Object.prototype.hasOwnProperty.call(z,re)&&ee.indexOf(re)<0&&(ae[re]=z[re]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,re=Object.getOwnPropertySymbols(z);le<re.length;le++)ee.indexOf(re[le])<0&&Object.prototype.propertyIsEnumerable.call(z,re[le])&&(ae[re[le]]=z[re[le]]);return ae};const fe=(0,Ne.forwardRef)((z,ee)=>{const{prefixCls:ae,bordered:re=!0,size:le,disabled:ue,status:pe,allowClear:Pe,showCount:be,classNames:Ie,rootClassName:Me,className:Oe}=z,Te=xe(z,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:je,direction:ze}=Ne.useContext(ce.E_),$e=(0,Ae.Z)(le),Ue=Ne.useContext(Ee.Z),qe=ue!=null?ue:Ue,{status:et,hasFeedback:lt,feedbackIcon:ut}=Ne.useContext(ye.aM),vt=(0,ge.F)(et,pe),tt=Ne.useRef(null);Ne.useImperativeHandle(ee,()=>{var ft;return{resizableTextArea:(ft=tt.current)===null||ft===void 0?void 0:ft.resizableTextArea,focus:pt=>{var yt,Tt;(0,De.n)((Tt=(yt=tt.current)===null||yt===void 0?void 0:yt.resizableTextArea)===null||Tt===void 0?void 0:Tt.textArea,pt)},blur:()=>{var pt;return(pt=tt.current)===null||pt===void 0?void 0:pt.blur()}}});const at=je("input",ae);let dt;typeof Pe=="object"&&(Pe!=null&&Pe.clearIcon)?dt=Pe:Pe&&(dt={clearIcon:Ne.createElement(He.Z,null)});const[St,xt]=(0,me.ZP)(at);return St(Ne.createElement(Ze.default,Object.assign({},Te,{disabled:qe,allowClear:dt,className:oe()(Oe,Me),classes:{affixWrapper:oe()(`${at}-textarea-affix-wrapper`,{[`${at}-affix-wrapper-rtl`]:ze==="rtl",[`${at}-affix-wrapper-borderless`]:!re,[`${at}-affix-wrapper-sm`]:$e==="small",[`${at}-affix-wrapper-lg`]:$e==="large",[`${at}-textarea-show-count`]:be},(0,ge.Z)(`${at}-affix-wrapper`,vt),xt)},classNames:Object.assign(Object.assign({},Ie),{textarea:oe()({[`${at}-borderless`]:!re,[`${at}-sm`]:$e==="small",[`${at}-lg`]:$e==="large"},(0,ge.Z)(at,vt),xt,Ie==null?void 0:Ie.textarea)}),prefixCls:at,suffix:lt&&Ne.createElement("span",{className:`${at}-textarea-suffix`},ut),showCount:be,ref:tt})))});fn.Z=fe},59412: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)([]),ge=()=>{Ne.current.push(setTimeout(()=>{var ce,Ee,Ae,ye;!((ce=oe.current)===null||ce===void 0)&&ce.input&&((Ee=oe.current)===null||Ee===void 0?void 0:Ee.input.getAttribute("type"))==="password"&&(!((Ae=oe.current)===null||Ae===void 0)&&Ae.input.hasAttribute("value"))&&((ye=oe.current)===null||ye===void 0||ye.input.removeAttribute("value"))}))};return(0,He.useEffect)(()=>(Ze&&ge(),()=>Ne.current.forEach(ce=>{ce&&clearTimeout(ce)})),[]),ge}},92832:function(Nn,fn,We){"use strict";We.d(fn,{default:function(){return $e}});var He=We(92310),gt=We.n(He),oe=We(59301),Ze=We(36355),Ne=We(32441),ge=We(9937),Ee=Ue=>{const{getPrefixCls:qe,direction:et}=(0,oe.useContext)(Ze.E_),{prefixCls:lt,className:ut}=Ue,vt=qe("input-group",lt),tt=qe("input"),[at,dt]=(0,ge.ZP)(tt),St=gt()(vt,{[`${vt}-lg`]:Ue.size==="large",[`${vt}-sm`]:Ue.size==="small",[`${vt}-compact`]:Ue.compact,[`${vt}-rtl`]:et==="rtl"},dt,ut),xt=(0,oe.useContext)(Ne.aM),ft=(0,oe.useMemo)(()=>Object.assign(Object.assign({},xt),{isFormItemInput:!1}),[xt]);return at(oe.createElement("span",{className:St,style:Ue.style,onMouseEnter:Ue.onMouseEnter,onMouseLeave:Ue.onMouseLeave,onFocus:Ue.onFocus,onBlur:Ue.onBlur},oe.createElement(Ne.aM.Provider,{value:ft},Ue.children)))},Ae=We(9432),ye=We(73331),De=We(15277),me=We(2738),xe=We(8654),fe=We(59412),z=function(Ue,qe){var et={};for(var lt in Ue)Object.prototype.hasOwnProperty.call(Ue,lt)&&qe.indexOf(lt)<0&&(et[lt]=Ue[lt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,lt=Object.getOwnPropertySymbols(Ue);ut<lt.length;ut++)qe.indexOf(lt[ut])<0&&Object.prototype.propertyIsEnumerable.call(Ue,lt[ut])&&(et[lt[ut]]=Ue[lt[ut]]);return et};const ee=Ue=>Ue?oe.createElement(De.Z,null):oe.createElement(ye.Z,null),ae={click:"onClick",hover:"onMouseOver"};var le=oe.forwardRef((Ue,qe)=>{const{visibilityToggle:et=!0}=Ue,lt=typeof et=="object"&&et.visible!==void 0,[ut,vt]=(0,oe.useState)(()=>lt?et.visible:!1),tt=(0,oe.useRef)(null);oe.useEffect(()=>{lt&&vt(et.visible)},[lt,et]);const at=(0,fe.Z)(tt),dt=()=>{const{disabled:we}=Ue;we||(ut&&at(),vt(Ce=>{var Ye;const Je=!Ce;return typeof et=="object"&&((Ye=et.onVisibleChange)===null||Ye===void 0||Ye.call(et,Je)),Je}))},St=we=>{const{action:Ce="click",iconRender:Ye=ee}=Ue,Je=ae[Ce]||"",Le=Ye(ut),Ge={[Je]:dt,className:`${we}-icon`,key:"passwordIcon",onMouseDown:Ke=>{Ke.preventDefault()},onMouseUp:Ke=>{Ke.preventDefault()}};return oe.cloneElement(oe.isValidElement(Le)?Le:oe.createElement("span",null,Le),Ge)},{className:xt,prefixCls:ft,inputPrefixCls:pt,size:yt}=Ue,Tt=z(Ue,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:At}=oe.useContext(Ze.E_),Gt=At("input",pt),wt=At("input-password",ft),bt=et&&St(wt),it=gt()(wt,xt,{[`${wt}-${yt}`]:!!yt}),_e=Object.assign(Object.assign({},(0,me.Z)(Tt,["suffix","iconRender","visibilityToggle"])),{type:ut?"text":"password",className:it,prefixCls:Gt,suffix:bt});return yt&&(_e.size=yt),oe.createElement(Ae.Z,Object.assign({ref:(0,xe.sQ)(qe,tt)},_e))}),ue=We(47472),pe=We(92343),Pe=We(3113),be=We(19716),Ie=We(33234),Me=function(Ue,qe){var et={};for(var lt in Ue)Object.prototype.hasOwnProperty.call(Ue,lt)&&qe.indexOf(lt)<0&&(et[lt]=Ue[lt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,lt=Object.getOwnPropertySymbols(Ue);ut<lt.length;ut++)qe.indexOf(lt[ut])<0&&Object.prototype.propertyIsEnumerable.call(Ue,lt[ut])&&(et[lt[ut]]=Ue[lt[ut]]);return et},Te=oe.forwardRef((Ue,qe)=>{const{prefixCls:et,inputPrefixCls:lt,className:ut,size:vt,suffix:tt,enterButton:at=!1,addonAfter:dt,loading:St,disabled:xt,onSearch:ft,onChange:pt,onCompositionStart:yt,onCompositionEnd:Tt}=Ue,At=Me(Ue,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Gt,direction:wt}=oe.useContext(Ze.E_),bt=oe.useRef(!1),it=Gt("input-search",et),_e=Gt("input",lt),{compactSize:we}=(0,Ie.ri)(it,wt),Ce=(0,be.Z)(Wt=>{var Vt;return(Vt=vt!=null?vt:we)!==null&&Vt!==void 0?Vt:Wt}),Ye=oe.useRef(null),Je=Wt=>{Wt&&Wt.target&&Wt.type==="click"&&ft&&ft(Wt.target.value,Wt,{source:"clear"}),pt&&pt(Wt)},Le=Wt=>{var Vt;document.activeElement===((Vt=Ye.current)===null||Vt===void 0?void 0:Vt.input)&&Wt.preventDefault()},Ge=Wt=>{var Vt,nn;ft&&ft((nn=(Vt=Ye.current)===null||Vt===void 0?void 0:Vt.input)===null||nn===void 0?void 0:nn.value,Wt,{source:"input"})},Ke=Wt=>{bt.current||St||Ge(Wt)},Xe=typeof at=="boolean"?oe.createElement(ue.Z,null):null,Qe=`${it}-button`;let ht;const Et=at||{},mt=Et.type&&Et.type.__ANT_BUTTON===!0;mt||Et.type==="button"?ht=(0,pe.Tm)(Et,Object.assign({onMouseDown:Le,onClick:Wt=>{var Vt,nn;(nn=(Vt=Et==null?void 0:Et.props)===null||Vt===void 0?void 0:Vt.onClick)===null||nn===void 0||nn.call(Vt,Wt),Ge(Wt)},key:"enterButton"},mt?{className:Qe,size:Ce}:{})):ht=oe.createElement(Pe.ZP,{className:Qe,type:at?"primary":void 0,size:Ce,disabled:xt,key:"enterButton",onMouseDown:Le,onClick:Ge,loading:St,icon:Xe},at),dt&&(ht=[ht,(0,pe.Tm)(dt,{key:"addonAfter"})]);const Ft=gt()(it,{[`${it}-rtl`]:wt==="rtl",[`${it}-${Ce}`]:!!Ce,[`${it}-with-button`]:!!at},ut),Kt=Wt=>{bt.current=!0,yt==null||yt(Wt)},jt=Wt=>{bt.current=!1,Tt==null||Tt(Wt)};return oe.createElement(Ae.Z,Object.assign({ref:(0,xe.sQ)(Ye,qe),onPressEnter:Ke},At,{size:Ce,onCompositionStart:Kt,onCompositionEnd:jt,prefixCls:_e,addonAfter:ht,suffix:tt,onChange:Je,className:Ft,disabled:xt}))}),je=We(1643);const ze=Ae.Z;ze.Group=Ee,ze.Search=Te,ze.TextArea=je.Z,ze.Password=le;var $e=ze},45818:function(Nn,fn,We){"use strict";We.d(fn,{D:function(){return ue},Z:function(){return be}});var He=We(96663),gt=We(59301),oe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Ze=oe,Ne=We(7657),ge=function(Me,Oe){return gt.createElement(Ne.Z,(0,He.Z)({},Me,{ref:Oe,icon:Ze}))},ce=gt.forwardRef(ge),Ee=ce,Ae=We(33853),ye=We(38819),De=We(92310),me=We.n(De),xe=We(2738),z=Ie=>!isNaN(parseFloat(Ie))&&isFinite(Ie),ee=We(36355),ae=We(84966),re=function(Ie,Me){var Oe={};for(var Te in Ie)Object.prototype.hasOwnProperty.call(Ie,Te)&&Me.indexOf(Te)<0&&(Oe[Te]=Ie[Te]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,Te=Object.getOwnPropertySymbols(Ie);je<Te.length;je++)Me.indexOf(Te[je])<0&&Object.prototype.propertyIsEnumerable.call(Ie,Te[je])&&(Oe[Te[je]]=Ie[Te[je]]);return Oe};const le={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ue=gt.createContext({}),pe=(()=>{let Ie=0;return function(){let Me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Ie+=1,`${Me}${Ie}`}})();var be=gt.forwardRef((Ie,Me)=>{const{prefixCls:Oe,className:Te,trigger:je,children:ze,defaultCollapsed:$e=!1,theme:Ue="dark",style:qe={},collapsible:et=!1,reverseArrow:lt=!1,width:ut=200,collapsedWidth:vt=80,zeroWidthTriggerStyle:tt,breakpoint:at,onCollapse:dt,onBreakpoint:St}=Ie,xt=re(Ie,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ft}=(0,gt.useContext)(ae.Gs),[pt,yt]=(0,gt.useState)("collapsed"in Ie?Ie.collapsed:$e),[Tt,At]=(0,gt.useState)(!1);(0,gt.useEffect)(()=>{"collapsed"in Ie&&yt(Ie.collapsed)},[Ie.collapsed]);const Gt=(Ce,Ye)=>{"collapsed"in Ie||yt(Ce),dt==null||dt(Ce,Ye)},wt=(0,gt.useRef)();wt.current=Ce=>{At(Ce.matches),St==null||St(Ce.matches),pt!==Ce.matches&&Gt(Ce.matches,"responsive")},(0,gt.useEffect)(()=>{function Ce(Je){return wt.current(Je)}let Ye;if(typeof window!="undefined"){const{matchMedia:Je}=window;if(Je&&at&&at in le){Ye=Je(`(max-width: ${le[at]})`);try{Ye.addEventListener("change",Ce)}catch(Le){Ye.addListener(Ce)}Ce(Ye)}}return()=>{try{Ye==null||Ye.removeEventListener("change",Ce)}catch(Je){Ye==null||Ye.removeListener(Ce)}}},[at]),(0,gt.useEffect)(()=>{const Ce=pe("ant-sider-");return ft.addSider(Ce),()=>ft.removeSider(Ce)},[]);const bt=()=>{Gt(!pt,"clickTrigger")},{getPrefixCls:it}=(0,gt.useContext)(ee.E_),_e=()=>{const Ce=it("layout-sider",Oe),Ye=(0,xe.Z)(xt,["collapsed"]),Je=pt?vt:ut,Le=z(Je)?`${Je}px`:String(Je),Ge=parseFloat(String(vt||0))===0?gt.createElement("span",{onClick:bt,className:me()(`${Ce}-zero-width-trigger`,`${Ce}-zero-width-trigger-${lt?"right":"left"}`),style:tt},je||gt.createElement(Ee,null)):null,Qe={expanded:lt?gt.createElement(ye.Z,null):gt.createElement(Ae.Z,null),collapsed:lt?gt.createElement(Ae.Z,null):gt.createElement(ye.Z,null)}[pt?"collapsed":"expanded"],ht=je!==null?Ge||gt.createElement("div",{className:`${Ce}-trigger`,onClick:bt,style:{width:Le}},je||Qe):null,Et=Object.assign(Object.assign({},qe),{flex:`0 0 ${Le}`,maxWidth:Le,minWidth:Le,width:Le}),mt=me()(Ce,`${Ce}-${Ue}`,{[`${Ce}-collapsed`]:!!pt,[`${Ce}-has-trigger`]:et&&je!==null&&!Ge,[`${Ce}-below`]:!!Tt,[`${Ce}-zero-width`]:parseFloat(Le)===0},Te);return gt.createElement("aside",Object.assign({className:mt},Ye,{style:Et,ref:Me}),gt.createElement("div",{className:`${Ce}-children`},ze),et||Tt&&Ge?ht:null)},we=gt.useMemo(()=>({siderCollapsed:pt}),[pt]);return gt.createElement(ue.Provider,{value:we},_e())})},84966:function(Nn,fn,We){"use strict";We.d(fn,{VY:function(){return ue},$_:function(){return le},h4:function(){return re},Gs:function(){return xe},ZP:function(){return pe}});var He=We(19127),gt=We(92310),oe=We.n(gt),Ze=We(2738),Ne=We(59301),ge=We(36355),ce=We(83116),Ae=Pe=>{const{componentCls:be,bodyBg:Ie,lightSiderBg:Me,lightTriggerBg:Oe,lightTriggerColor:Te}=Pe;return{[`${be}-sider-light`]:{background:Me,[`${be}-sider-trigger`]:{color:Te,background:Oe},[`${be}-sider-zero-width-trigger`]:{color:Te,background:Oe,border:`1px solid ${Ie}`,borderInlineStart:0}}}};const ye=Pe=>{const{antCls:be,componentCls:Ie,colorText:Me,triggerColor:Oe,footerBg:Te,triggerBg:je,headerHeight:ze,headerPadding:$e,headerColor:Ue,footerPadding:qe,triggerHeight:et,zeroTriggerHeight:lt,zeroTriggerWidth:ut,motionDurationMid:vt,motionDurationSlow:tt,fontSize:at,borderRadius:dt,bodyBg:St,headerBg:xt,siderBg:ft}=Pe;return{[Ie]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:St,"&, *":{boxSizing:"border-box"},[`&${Ie}-has-sider`]:{flexDirection:"row",[`> ${Ie}, > ${Ie}-content`]:{width:0}},[`${Ie}-header, &${Ie}-footer`]:{flex:"0 0 auto"},[`${Ie}-sider`]:{position:"relative",minWidth:0,background:ft,transition:`all ${vt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${be}-menu${be}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:et},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:et,color:Oe,lineHeight:`${et}px`,textAlign:"center",background:je,cursor:"pointer",transition:`all ${vt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:ze,insetInlineEnd:-ut,zIndex:1,width:ut,height:lt,color:Oe,fontSize:Pe.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:ft,borderStartStartRadius:0,borderStartEndRadius:dt,borderEndEndRadius:dt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${tt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${tt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-ut,borderStartStartRadius:dt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:dt}}}}},Ae(Pe)),{"&-rtl":{direction:"rtl"}}),[`${Ie}-header`]:{height:ze,padding:$e,color:Ue,lineHeight:`${ze}px`,background:xt,[`${be}-menu`]:{lineHeight:"inherit"}},[`${Ie}-footer`]:{padding:qe,color:Me,fontSize:at,background:Te},[`${Ie}-content`]:{flex:"auto",minHeight:0}}};var De=(0,ce.Z)("Layout",Pe=>[ye(Pe)],Pe=>{const{colorBgLayout:be,controlHeight:Ie,controlHeightLG:Me,colorText:Oe,controlHeightSM:Te,marginXXS:je,colorTextLightSolid:ze,colorBgContainer:$e}=Pe,Ue=Me*1.25;return{colorBgHeader:"#001529",colorBgBody:be,colorBgTrigger:"#002140",bodyBg:be,headerBg:"#001529",headerHeight:Ie*2,headerPadding:`0 ${Ue}px`,headerColor:Oe,footerPadding:`${Te}px ${Ue}px`,footerBg:be,siderBg:"#001529",triggerHeight:Me+je*2,triggerBg:"#002140",triggerColor:ze,zeroTriggerWidth:Me,zeroTriggerHeight:Me,lightSiderBg:$e,lightTriggerBg:$e,lightTriggerColor:Oe}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),me=function(Pe,be){var Ie={};for(var Me in Pe)Object.prototype.hasOwnProperty.call(Pe,Me)&&be.indexOf(Me)<0&&(Ie[Me]=Pe[Me]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Me=Object.getOwnPropertySymbols(Pe);Oe<Me.length;Oe++)be.indexOf(Me[Oe])<0&&Object.prototype.propertyIsEnumerable.call(Pe,Me[Oe])&&(Ie[Me[Oe]]=Pe[Me[Oe]]);return Ie};const xe=Ne.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function fe(Pe){let{suffixCls:be,tagName:Ie,displayName:Me}=Pe;return Oe=>Ne.forwardRef((je,ze)=>Ne.createElement(Oe,Object.assign({ref:ze,suffixCls:be,tagName:Ie},je)))}const z=Ne.forwardRef((Pe,be)=>{const{prefixCls:Ie,suffixCls:Me,className:Oe,tagName:Te}=Pe,je=me(Pe,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ze}=Ne.useContext(ge.E_),$e=ze("layout",Ie),[Ue,qe]=De($e),et=Me?`${$e}-${Me}`:$e;return Ue(Ne.createElement(Te,Object.assign({className:oe()(Ie||et,Oe,qe),ref:be},je)))}),ee=Ne.forwardRef((Pe,be)=>{const{direction:Ie}=Ne.useContext(ge.E_),[Me,Oe]=Ne.useState([]),{prefixCls:Te,className:je,rootClassName:ze,children:$e,hasSider:Ue,tagName:qe,style:et}=Pe,lt=me(Pe,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),ut=(0,Ze.Z)(lt,["suffixCls"]),{getPrefixCls:vt,layout:tt}=Ne.useContext(ge.E_),at=vt("layout",Te),[dt,St]=De(at),xt=oe()(at,{[`${at}-has-sider`]:typeof Ue=="boolean"?Ue:Me.length>0,[`${at}-rtl`]:Ie==="rtl"},tt==null?void 0:tt.className,je,ze,St),ft=Ne.useMemo(()=>({siderHook:{addSider:pt=>{Oe(yt=>[].concat((0,He.Z)(yt),[pt]))},removeSider:pt=>{Oe(yt=>yt.filter(Tt=>Tt!==pt))}}}),[]);return dt(Ne.createElement(xe.Provider,{value:ft},Ne.createElement(qe,Object.assign({ref:be,className:xt,style:Object.assign(Object.assign({},tt==null?void 0:tt.style),et)},ut),$e)))}),ae=fe({tagName:"div",displayName:"Layout"})(ee),re=fe({suffixCls:"header",tagName:"header",displayName:"Header"})(z),le=fe({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(z),ue=fe({suffixCls:"content",tagName:"main",displayName:"Content"})(z);var pe=ae},40875:function(Nn,fn,We){"use strict";We.d(fn,{J:function(){return ge}});var He=We(59301),gt=We(33234),oe=We(70425),Ze=function(ce,Ee){var Ae={};for(var ye in ce)Object.prototype.hasOwnProperty.call(ce,ye)&&Ee.indexOf(ye)<0&&(Ae[ye]=ce[ye]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,ye=Object.getOwnPropertySymbols(ce);De<ye.length;De++)Ee.indexOf(ye[De])<0&&Object.prototype.propertyIsEnumerable.call(ce,ye[De])&&(Ae[ye[De]]=ce[ye[De]]);return Ae};const Ne=He.createContext(null),ge=He.forwardRef((ce,Ee)=>{const{children:Ae}=ce,ye=Ze(ce,["children"]),De=He.useContext(Ne),me=He.useMemo(()=>Object.assign(Object.assign({},De),ye),[De,ye.prefixCls,ye.mode,ye.selectable]);return He.createElement(Ne.Provider,{value:me},He.createElement(gt.BR,null,(0,oe.supportNodeRef)(Ae)?He.cloneElement(Ae,{ref:Ee}):Ae))});fn.Z=Ne},20834:function(Nn,fn,We){"use strict";We.d(fn,{default:function(){return we}});var He=We(15285),gt=We(59301),oe=We(45818),Ze=We(92310),Ne=We.n(Ze),ge=We(36355),ce=function(Ce,Ye){var Je={};for(var Le in Ce)Object.prototype.hasOwnProperty.call(Ce,Le)&&Ye.indexOf(Le)<0&&(Je[Le]=Ce[Le]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,Le=Object.getOwnPropertySymbols(Ce);Ge<Le.length;Ge++)Ye.indexOf(Le[Ge])<0&&Object.prototype.propertyIsEnumerable.call(Ce,Le[Ge])&&(Je[Le[Ge]]=Ce[Le[Ge]]);return Je},Ae=Ce=>{const{prefixCls:Ye,className:Je,dashed:Le}=Ce,Ge=ce(Ce,["prefixCls","className","dashed"]),{getPrefixCls:Ke}=gt.useContext(ge.E_),Xe=Ke("menu",Ye),Qe=Ne()({[`${Xe}-item-divider-dashed`]:!!Le},Je);return gt.createElement(He.iz,Object.assign({className:Qe},Ge))},ye=We(11592),De=We(2738),me=We(6848),xe=We(92343),z=(0,gt.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),ae=Ce=>{var Ye;const{className:Je,children:Le,icon:Ge,title:Ke,danger:Xe}=Ce,{prefixCls:Qe,firstLevel:ht,direction:Et,disableMenuItemTitleTooltip:mt,inlineCollapsed:Ft}=gt.useContext(z),Kt=_t=>{const en=gt.createElement("span",{className:`${Qe}-title-content`},Le);return(!Ge||(0,xe.l$)(Le)&&Le.type==="span")&&Le&&_t&&ht&&typeof Le=="string"?gt.createElement("div",{className:`${Qe}-inline-collapsed-noicon`},Le.charAt(0)):en},{siderCollapsed:jt}=gt.useContext(oe.D);let Wt=Ke;typeof Ke=="undefined"?Wt=ht?Le:"":Ke===!1&&(Wt="");const Vt={title:Wt};!jt&&!Ft&&(Vt.title=null,Vt.open=!1);const nn=(0,ye.Z)(Le).length;let Bt=gt.createElement(He.ck,Object.assign({},(0,De.Z)(Ce,["title","icon","danger"]),{className:Ne()({[`${Qe}-item-danger`]:Xe,[`${Qe}-item-only-child`]:(Ge?nn+1:nn)===1},Je),title:typeof Ke=="string"?Ke:void 0}),(0,xe.Tm)(Ge,{className:Ne()((0,xe.l$)(Ge)?(Ye=Ge.props)===null||Ye===void 0?void 0:Ye.className:"",`${Qe}-item-icon`)}),Kt(Ft));return mt||(Bt=gt.createElement(me.Z,Object.assign({},Vt,{placement:Et==="rtl"?"left":"right",overlayClassName:`${Qe}-inline-collapsed-tooltip`}),Bt)),Bt},le=Ce=>{var Ye;const{popupClassName:Je,icon:Le,title:Ge,theme:Ke}=Ce,Xe=gt.useContext(z),{prefixCls:Qe,inlineCollapsed:ht,theme:Et}=Xe,mt=(0,He.Xl)();let Ft;if(!Le)Ft=ht&&!mt.length&&Ge&&typeof Ge=="string"?gt.createElement("div",{className:`${Qe}-inline-collapsed-noicon`},Ge.charAt(0)):gt.createElement("span",{className:`${Qe}-title-content`},Ge);else{const jt=(0,xe.l$)(Ge)&&Ge.type==="span";Ft=gt.createElement(gt.Fragment,null,(0,xe.Tm)(Le,{className:Ne()((0,xe.l$)(Le)?(Ye=Le.props)===null||Ye===void 0?void 0:Ye.className:"",`${Qe}-item-icon`)}),jt?Ge:gt.createElement("span",{className:`${Qe}-title-content`},Ge))}const Kt=gt.useMemo(()=>Object.assign(Object.assign({},Xe),{firstLevel:!1}),[Xe]);return gt.createElement(z.Provider,{value:Kt},gt.createElement(He.Wd,Object.assign({},(0,De.Z)(Ce,["icon"]),{title:Ft,popupClassName:Ne()(Qe,Je,`${Qe}-${Ke||Et}`)})))},ue=We(18785),pe=We(70425),Pe=We(62892),be=We(40875),Ie=function(Ce,Ye){var Je={};for(var Le in Ce)Object.prototype.hasOwnProperty.call(Ce,Le)&&Ye.indexOf(Le)<0&&(Je[Le]=Ce[Le]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,Le=Object.getOwnPropertySymbols(Ce);Ge<Le.length;Ge++)Ye.indexOf(Le[Ge])<0&&Object.prototype.propertyIsEnumerable.call(Ce,Le[Ge])&&(Je[Le[Ge]]=Ce[Le[Ge]]);return Je};function Me(Ce){return(Ce||[]).map((Ye,Je)=>{if(Ye&&typeof Ye=="object"){const Le=Ye,{label:Ge,children:Ke,key:Xe,type:Qe}=Le,ht=Ie(Le,["label","children","key","type"]),Et=Xe!=null?Xe:`tmp-${Je}`;return Ke||Qe==="group"?Qe==="group"?gt.createElement(He.BW,Object.assign({key:Et},ht,{title:Ge}),Me(Ke)):gt.createElement(le,Object.assign({key:Et},ht,{title:Ge}),Me(Ke)):Qe==="divider"?gt.createElement(Ae,Object.assign({key:Et},ht)):gt.createElement(ae,Object.assign({key:Et},ht),Ge)}return null}).filter(Ye=>Ye)}function Oe(Ce){return gt.useMemo(()=>Ce&&Me(Ce),[Ce])}var Te=We(64993),je=We(17313),ze=We(8378),$e=We(13826),Ue=We(29878),qe=We(83116),et=We(37613),ut=Ce=>{const{componentCls:Ye,motionDurationSlow:Je,horizontalLineHeight:Le,colorSplit:Ge,lineWidth:Ke,lineType:Xe,itemPaddingInline:Qe}=Ce;return{[`${Ye}-horizontal`]:{lineHeight:Le,border:0,borderBottom:`${Ke}px ${Xe} ${Ge}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ye}-item, ${Ye}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Qe},[`> ${Ye}-item:hover,
> ${Ye}-item-active,
> ${Ye}-submenu ${Ye}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ye}-item, ${Ye}-submenu-title`]:{transition:[`border-color ${Je}`,`background ${Je}`].join(",")},[`${Ye}-submenu-arrow`]:{display:"none"}}}},tt=Ce=>{let{componentCls:Ye,menuArrowOffset:Je}=Ce;return{[`${Ye}-rtl`]:{direction:"rtl"},[`${Ye}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Ye}-rtl${Ye}-vertical,
${Ye}-submenu-rtl ${Ye}-vertical`]:{[`${Ye}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Je})`},"&::after":{transform:`rotate(45deg) translateY(${Je})`}}}}};const at=Ce=>Object.assign({},(0,je.oN)(Ce));var St=(Ce,Ye)=>{const{componentCls:Je,itemColor:Le,itemSelectedColor:Ge,groupTitleColor:Ke,itemBg:Xe,subMenuItemBg:Qe,itemSelectedBg:ht,activeBarHeight:Et,activeBarWidth:mt,activeBarBorderWidth:Ft,motionDurationSlow:Kt,motionEaseInOut:jt,motionEaseOut:Wt,itemPaddingInline:Vt,motionDurationMid:nn,itemHoverColor:Bt,lineType:_t,colorSplit:en,itemDisabledColor:on,dangerItemColor:xn,dangerItemHoverColor:zn,dangerItemSelectedColor:tr,dangerItemActiveBg:er,dangerItemSelectedBg:ur,itemHoverBg:Dr,itemActiveBg:Mr,menuSubMenuBg:Br,horizontalItemSelectedColor:qr,horizontalItemSelectedBg:Qr,horizontalItemBorderRadius:Lr,horizontalItemHoverBg:ei,popupBg:Er}=Ce;return{[`${Je}-${Ye}, ${Je}-${Ye} > ${Je}`]:{color:Le,background:Xe,[`&${Je}-root:focus-visible`]:Object.assign({},at(Ce)),[`${Je}-item-group-title`]:{color:Ke},[`${Je}-submenu-selected`]:{[`> ${Je}-submenu-title`]:{color:Ge}},[`${Je}-item-disabled, ${Je}-submenu-disabled`]:{color:`${on} !important`},[`${Je}-item:not(${Je}-item-selected):not(${Je}-submenu-selected)`]:{[`&:hover, > ${Je}-submenu-title:hover`]:{color:Bt}},[`&:not(${Je}-horizontal)`]:{[`${Je}-item:not(${Je}-item-selected)`]:{"&:hover":{backgroundColor:Dr},"&:active":{backgroundColor:Mr}},[`${Je}-submenu-title`]:{"&:hover":{backgroundColor:Dr},"&:active":{backgroundColor:Mr}}},[`${Je}-item-danger`]:{color:xn,[`&${Je}-item:hover`]:{[`&:not(${Je}-item-selected):not(${Je}-submenu-selected)`]:{color:zn}},[`&${Je}-item:active`]:{background:er}},[`${Je}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Je}-item-selected`]:{color:Ge,[`&${Je}-item-danger`]:{color:tr},"a, a:hover":{color:"inherit"}},[`& ${Je}-item-selected`]:{backgroundColor:ht,[`&${Je}-item-danger`]:{backgroundColor:ur}},[`${Je}-item, ${Je}-submenu-title`]:{[`&:not(${Je}-item-disabled):focus-visible`]:Object.assign({},at(Ce))},[`&${Je}-submenu > ${Je}`]:{backgroundColor:Br},[`&${Je}-popup > ${Je}`]:{backgroundColor:Er},[`&${Je}-horizontal`]:Object.assign(Object.assign({},Ye==="dark"?{borderBottom:0}:{}),{[`> ${Je}-item, > ${Je}-submenu`]:{top:Ft,marginTop:-Ft,marginBottom:0,borderRadius:Lr,"&::after":{position:"absolute",insetInline:Vt,bottom:0,borderBottom:`${Et}px solid transparent`,transition:`border-color ${Kt} ${jt}`,content:'""'},"&:hover, &-active, &-open":{background:ei,"&::after":{borderBottomWidth:Et,borderBottomColor:qr}},"&-selected":{color:qr,backgroundColor:Qr,"&:hover":{backgroundColor:Qr},"&::after":{borderBottomWidth:Et,borderBottomColor:qr}}}}),[`&${Je}-root`]:{[`&${Je}-inline, &${Je}-vertical`]:{borderInlineEnd:`${Ft}px ${_t} ${en}`}},[`&${Je}-inline`]:{[`${Je}-sub${Je}-inline`]:{background:Qe},[`${Je}-item, ${Je}-submenu-title`]:Ft&&mt?{width:`calc(100% + ${Ft}px)`}:{},[`${Je}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${mt}px solid ${Ge}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${nn} ${Wt}`,`opacity ${nn} ${Wt}`].join(","),content:'""'},[`&${Je}-item-danger`]:{"&::after":{borderInlineEndColor:tr}}},[`${Je}-selected, ${Je}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${nn} ${jt}`,`opacity ${nn} ${jt}`].join(",")}}}}}};const xt=Ce=>{const{componentCls:Ye,itemHeight:Je,itemMarginInline:Le,padding:Ge,menuArrowSize:Ke,marginXS:Xe,itemMarginBlock:Qe}=Ce,ht=Ge+Ke+Xe;return{[`${Ye}-item`]:{position:"relative",overflow:"hidden"},[`${Ye}-item, ${Ye}-submenu-title`]:{height:Je,lineHeight:`${Je}px`,paddingInline:Ge,overflow:"hidden",textOverflow:"ellipsis",marginInline:Le,marginBlock:Qe,width:`calc(100% - ${Le*2}px)`},[`> ${Ye}-item,
> ${Ye}-submenu > ${Ye}-submenu-title`]:{height:Je,lineHeight:`${Je}px`},[`${Ye}-item-group-list ${Ye}-submenu-title,
${Ye}-submenu-title`]:{paddingInlineEnd:ht}}};var pt=Ce=>{const{componentCls:Ye,iconCls:Je,itemHeight:Le,colorTextLightSolid:Ge,dropdownWidth:Ke,controlHeightLG:Xe,motionDurationMid:Qe,motionEaseOut:ht,paddingXL:Et,itemMarginInline:mt,fontSizeLG:Ft,motionDurationSlow:Kt,paddingXS:jt,boxShadowSecondary:Wt,collapsedWidth:Vt,collapsedIconSize:nn}=Ce,Bt={height:Le,lineHeight:`${Le}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Ye]:{"&-inline, &-vertical":Object.assign({[`&${Ye}-root`]:{boxShadow:"none"}},xt(Ce))},[`${Ye}-submenu-popup`]:{[`${Ye}-vertical`]:Object.assign(Object.assign({},xt(Ce)),{boxShadow:Wt})}},{[`${Ye}-submenu-popup ${Ye}-vertical${Ye}-sub`]:{minWidth:Ke,maxHeight:`calc(100vh - ${Xe*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Ye}-inline`]:{width:"100%",[`&${Ye}-root`]:{[`${Ye}-item, ${Ye}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Kt}`,`background ${Kt}`,`padding ${Qe} ${ht}`].join(","),[`> ${Ye}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ye}-sub${Ye}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ye}-submenu > ${Ye}-submenu-title`]:Bt,[`& ${Ye}-item-group-title`]:{paddingInlineStart:Et}},[`${Ye}-item`]:Bt}},{[`${Ye}-inline-collapsed`]:{width:Vt,[`&${Ye}-root`]:{[`${Ye}-item, ${Ye}-submenu ${Ye}-submenu-title`]:{[`> ${Ye}-inline-collapsed-noicon`]:{fontSize:Ft,textAlign:"center"}}},[`> ${Ye}-item,
> ${Ye}-item-group > ${Ye}-item-group-list > ${Ye}-item,
> ${Ye}-item-group > ${Ye}-item-group-list > ${Ye}-submenu > ${Ye}-submenu-title,
> ${Ye}-submenu > ${Ye}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Ft/2}px - ${mt}px)`,textOverflow:"clip",[`
${Ye}-submenu-arrow,
${Ye}-submenu-expand-icon
`]:{opacity:0},[`${Ye}-item-icon, ${Je}`]:{margin:0,fontSize:nn,lineHeight:`${Le}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Ye}-item-icon, ${Je}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ye}-item-icon, ${Je}`]:{display:"none"},"a, a:hover":{color:Ge}},[`${Ye}-item-group-title`]:Object.assign(Object.assign({},je.vS),{paddingInline:jt})}}]};const yt=Ce=>{const{componentCls:Ye,motionDurationSlow:Je,motionDurationMid:Le,motionEaseInOut:Ge,motionEaseOut:Ke,iconCls:Xe,iconSize:Qe,iconMarginInlineEnd:ht}=Ce;return{[`${Ye}-item, ${Ye}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Je}`,`background ${Je}`,`padding ${Je} ${Ge}`].join(","),[`${Ye}-item-icon, ${Xe}`]:{minWidth:Qe,fontSize:Qe,transition:[`font-size ${Le} ${Ke}`,`margin ${Je} ${Ge}`,`color ${Je}`].join(","),"+ span":{marginInlineStart:ht,opacity:1,transition:[`opacity ${Je} ${Ge}`,`margin ${Je}`,`color ${Je}`].join(",")}},[`${Ye}-item-icon`]:Object.assign({},(0,je.Ro)()),[`&${Ye}-item-only-child`]:{[`> ${Xe}, > ${Ye}-item-icon`]:{marginInlineEnd:0}}},[`${Ye}-item-disabled, ${Ye}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Ye}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Tt=Ce=>{const{componentCls:Ye,motionDurationSlow:Je,motionEaseInOut:Le,borderRadius:Ge,menuArrowSize:Ke,menuArrowOffset:Xe}=Ce;return{[`${Ye}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Ce.margin,width:Ke,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Je} ${Le}, opacity ${Je}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Ke*.6,height:Ke*.15,backgroundColor:"currentcolor",borderRadius:Ge,transition:[`background ${Je} ${Le}`,`transform ${Je} ${Le}`,`top ${Je} ${Le}`,`color ${Je} ${Le}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Xe})`},"&::after":{transform:`rotate(-45deg) translateY(${Xe})`}}}}},At=Ce=>{const{antCls:Ye,componentCls:Je,fontSize:Le,motionDurationSlow:Ge,motionDurationMid:Ke,motionEaseInOut:Xe,paddingXS:Qe,padding:ht,colorSplit:Et,lineWidth:mt,zIndexPopup:Ft,borderRadiusLG:Kt,subMenuItemBorderRadius:jt,menuArrowSize:Wt,menuArrowOffset:Vt,lineType:nn,menuPanelMaskInset:Bt,groupTitleLineHeight:_t,groupTitleFontSize:en}=Ce;return[{"":{[`${Je}`]:Object.assign(Object.assign({},(0,je.dF)()),{"&-hidden":{display:"none"}})},[`${Je}-submenu-hidden`]:{display:"none"}},{[Je]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,je.Wf)(Ce)),(0,je.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Le,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ge} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Je}-item`]:{flex:"none"}},[`${Je}-item, ${Je}-submenu, ${Je}-submenu-title`]:{borderRadius:Ce.itemBorderRadius},[`${Je}-item-group-title`]:{padding:`${Qe}px ${ht}px`,fontSize:en,lineHeight:_t,transition:`all ${Ge}`},[`&-horizontal ${Je}-submenu`]:{transition:[`border-color ${Ge} ${Xe}`,`background ${Ge} ${Xe}`].join(",")},[`${Je}-submenu, ${Je}-submenu-inline`]:{transition:[`border-color ${Ge} ${Xe}`,`background ${Ge} ${Xe}`,`padding ${Ke} ${Xe}`].join(",")},[`${Je}-submenu ${Je}-sub`]:{cursor:"initial",transition:[`background ${Ge} ${Xe}`,`padding ${Ge} ${Xe}`].join(",")},[`${Je}-title-content`]:{transition:`color ${Ge}`},[`${Je}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Je}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Et,borderStyle:nn,borderWidth:0,borderTopWidth:mt,marginBlock:mt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),yt(Ce)),{[`${Je}-item-group`]:{[`${Je}-item-group-list`]:{margin:0,padding:0,[`${Je}-item, ${Je}-submenu-title`]:{paddingInline:`${Le*2}px ${ht}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Ft,borderRadius:Kt,boxShadow:"none",transformOrigin:"0 0",[`&${Je}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Bt}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Bt},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:Ce.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Ce.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Ce.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Ce.paddingXS},[`> ${Je}`]:Object.assign(Object.assign(Object.assign({borderRadius:Kt},yt(Ce)),Tt(Ce)),{[`${Je}-item, ${Je}-submenu > ${Je}-submenu-title`]:{borderRadius:jt},[`${Je}-submenu-title::after`]:{transition:`transform ${Ge} ${Xe}`}})}}),Tt(Ce)),{[`&-inline-collapsed ${Je}-submenu-arrow,
&-inline ${Je}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Vt})`},"&::after":{transform:`rotate(45deg) translateX(-${Vt})`}},[`${Je}-submenu-open${Je}-submenu-inline > ${Je}-submenu-title > ${Je}-submenu-arrow`]:{transform:`translateY(-${Wt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Vt})`},"&::before":{transform:`rotate(45deg) translateX(${Vt})`}}})},{[`${Ye}-layout-header`]:{[Je]:{lineHeight:"inherit"}}}]};var Gt=(Ce,Ye)=>(0,qe.Z)("Menu",Le=>{if(Ye===!1)return[];const{colorBgElevated:Ge,colorPrimary:Ke,colorTextLightSolid:Xe,controlHeightLG:Qe,fontSize:ht,darkItemColor:Et,darkDangerItemColor:mt,darkItemBg:Ft,darkSubMenuItemBg:Kt,darkItemSelectedColor:jt,darkItemSelectedBg:Wt,darkDangerItemSelectedBg:Vt,darkItemHoverBg:nn,darkGroupTitleColor:Bt,darkItemHoverColor:_t,darkItemDisabledColor:en,darkDangerItemHoverColor:on,darkDangerItemSelectedColor:xn,darkDangerItemActiveBg:zn}=Le,tr=ht/7*5,er=(0,et.TS)(Le,{menuArrowSize:tr,menuHorizontalHeight:Qe*1.15,menuArrowOffset:`${tr*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Ge}),ur=(0,et.TS)(er,{itemColor:Et,itemHoverColor:_t,groupTitleColor:Bt,itemSelectedColor:jt,itemBg:Ft,popupBg:Ft,subMenuItemBg:Kt,itemActiveBg:"transparent",itemSelectedBg:Wt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:nn,itemDisabledColor:en,dangerItemColor:mt,dangerItemHoverColor:on,dangerItemSelectedColor:xn,dangerItemActiveBg:zn,dangerItemSelectedBg:Vt,menuSubMenuBg:Kt,horizontalItemSelectedColor:Xe,horizontalItemSelectedBg:Ke});return[At(er),ut(er),pt(er),St(er,"light"),St(ur,"dark"),tt(er),(0,ze.Z)(er),(0,$e.oN)(er,"slide-up"),(0,$e.oN)(er,"slide-down"),(0,Ue._y)(er,"zoom-big")]},Le=>{const{colorPrimary:Ge,colorError:Ke,colorTextDisabled:Xe,colorErrorBg:Qe,colorText:ht,colorTextDescription:Et,colorBgContainer:mt,colorFillAlter:Ft,colorFillContent:Kt,lineWidth:jt,lineWidthBold:Wt,controlItemBgActive:Vt,colorBgTextHover:nn,controlHeightLG:Bt,lineHeight:_t,colorBgElevated:en,marginXXS:on,padding:xn,fontSize:zn,controlHeightSM:tr,fontSizeLG:er,colorTextLightSolid:ur,colorErrorHover:Dr}=Le,Mr=new Te.C(ur).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Le.zIndexPopupBase+50,radiusItem:Le.borderRadiusLG,itemBorderRadius:Le.borderRadiusLG,radiusSubMenuItem:Le.borderRadiusSM,subMenuItemBorderRadius:Le.borderRadiusSM,colorItemText:ht,itemColor:ht,colorItemTextHover:ht,itemHoverColor:ht,colorItemTextHoverHorizontal:Ge,horizontalItemHoverColor:Ge,colorGroupTitle:Et,groupTitleColor:Et,colorItemTextSelected:Ge,itemSelectedColor:Ge,colorItemTextSelectedHorizontal:Ge,horizontalItemSelectedColor:Ge,colorItemBg:mt,itemBg:mt,colorItemBgHover:nn,itemHoverBg:nn,colorItemBgActive:Kt,itemActiveBg:Vt,colorSubItemBg:Ft,subMenuItemBg:Ft,colorItemBgSelected:Vt,itemSelectedBg:Vt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Wt,activeBarHeight:Wt,colorActiveBarBorderSize:jt,activeBarBorderWidth:jt,colorItemTextDisabled:Xe,itemDisabledColor:Xe,colorDangerItemText:Ke,dangerItemColor:Ke,colorDangerItemTextHover:Ke,dangerItemHoverColor:Ke,colorDangerItemTextSelected:Ke,dangerItemSelectedColor:Ke,colorDangerItemBgActive:Qe,dangerItemActiveBg:Qe,colorDangerItemBgSelected:Qe,dangerItemSelectedBg:Qe,itemMarginInline:Le.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Bt,groupTitleLineHeight:_t,collapsedWidth:Bt*2,popupBg:en,itemMarginBlock:on,itemPaddingInline:xn,horizontalLineHeight:`${Bt*1.15}px`,iconSize:zn,iconMarginInlineEnd:tr-zn,collapsedIconSize:er,groupTitleFontSize:zn,darkItemDisabledColor:new Te.C(ur).setAlpha(.25).toRgbString(),darkItemColor:Mr,darkDangerItemColor:Ke,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:ur,darkItemSelectedBg:Ge,darkDangerItemSelectedBg:Ke,darkItemHoverBg:"transparent",darkGroupTitleColor:Mr,darkItemHoverColor:ur,darkDangerItemHoverColor:Dr,darkDangerItemSelectedColor:ur,darkDangerItemActiveBg:Ke}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(Ce),wt=function(Ce,Ye){var Je={};for(var Le in Ce)Object.prototype.hasOwnProperty.call(Ce,Le)&&Ye.indexOf(Le)<0&&(Je[Le]=Ce[Le]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,Le=Object.getOwnPropertySymbols(Ce);Ge<Le.length;Ge++)Ye.indexOf(Le[Ge])<0&&Object.prototype.propertyIsEnumerable.call(Ce,Le[Ge])&&(Je[Le[Ge]]=Ce[Le[Ge]]);return Je},it=(0,gt.forwardRef)((Ce,Ye)=>{var Je,Le;const Ge=gt.useContext(be.Z),Ke=Ge||{},{getPrefixCls:Xe,getPopupContainer:Qe,direction:ht,menu:Et}=gt.useContext(ge.E_),mt=Xe(),{prefixCls:Ft,className:Kt,style:jt,theme:Wt="light",expandIcon:Vt,_internalDisableMenuItemTitleTooltip:nn,inlineCollapsed:Bt,siderCollapsed:_t,items:en,children:on,rootClassName:xn,mode:zn,selectable:tr,onClick:er,overflowedIndicatorPopupClassName:ur}=Ce,Dr=wt(Ce,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Mr=(0,De.Z)(Dr,["collapsedWidth"]),Br=Oe(en)||on;(Je=Ke.validator)===null||Je===void 0||Je.call(Ke,{mode:zn});const qr=(0,pe.useEvent)(function(){var vr;er==null||er.apply(void 0,arguments),(vr=Ke.onClick)===null||vr===void 0||vr.call(Ke)}),Qr=Ke.mode||zn,Lr=tr!=null?tr:Ke.selectable,ei=gt.useMemo(()=>_t!==void 0?_t:Bt,[Bt,_t]),Er={horizontal:{motionName:`${mt}-slide-up`},inline:(0,Pe.Z)(mt),other:{motionName:`${mt}-zoom-big`}},ot=Xe("menu",Ft||Ke.prefixCls),[xi,gi]=Gt(ot,!Ge),Ln=Ne()(`${ot}-${Wt}`,Et==null?void 0:Et.className,Kt);let hr;if(typeof Vt=="function")hr=Vt;else if(Vt===null||Vt===!1)hr=null;else if(Ke.expandIcon===null||Ke.expandIcon===!1)hr=null;else{const vr=Vt!=null?Vt:Ke.expandIcon;hr=(0,xe.Tm)(vr,{className:Ne()(`${ot}-submenu-expand-icon`,(0,xe.l$)(vr)?(Le=vr.props)===null||Le===void 0?void 0:Le.className:"")})}const ar=gt.useMemo(()=>({prefixCls:ot,inlineCollapsed:ei||!1,direction:ht,firstLevel:!0,theme:Wt,mode:Qr,disableMenuItemTitleTooltip:nn}),[ot,ei,ht,nn,Wt]);return xi(gt.createElement(be.Z.Provider,{value:null},gt.createElement(z.Provider,{value:ar},gt.createElement(He.ZP,Object.assign({getPopupContainer:Qe,overflowedIndicator:gt.createElement(ue.Z,null),overflowedIndicatorPopupClassName:Ne()(ot,`${ot}-${Wt}`,ur),mode:Qr,selectable:Lr,onClick:qr},Mr,{inlineCollapsed:ei,style:Object.assign(Object.assign({},Et==null?void 0:Et.style),jt),className:Ln,prefixCls:ot,direction:ht,defaultMotions:Er,expandIcon:hr,ref:Ye,rootClassName:Ne()(xn,gi)}),Br))))});const _e=(0,gt.forwardRef)((Ce,Ye)=>{const Je=(0,gt.useRef)(null),Le=gt.useContext(oe.D);return(0,gt.useImperativeHandle)(Ye,()=>({menu:Je.current,focus:Ge=>{var Ke;(Ke=Je.current)===null||Ke===void 0||Ke.focus(Ge)}})),gt.createElement(it,Object.assign({ref:Je},Ce,Le))});_e.Item=ae,_e.SubMenu=le,_e.Divider=Ae,_e.ItemGroup=He.BW;var we=_e},58421:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ke}});var He=We(96663),gt=We(59301),oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Ze=oe,Ne=We(7657),ge=function(Qe,ht){return gt.createElement(Ne.Z,(0,He.Z)({},Qe,{ref:ht,icon:Ze}))},ce=gt.forwardRef(ge),Ee=ce,Ae=We(49198),ye=We(33853),De=We(38819),me=We(92310),xe=We.n(me),fe=We(90493),z=We(44127),ee=We(52884),ae=We(95727),re=We(65711),le=We(85745),ue=We(26112),pe={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},Pe=pe,be=We(91735),Ie=function(Xe){(0,re.Z)(ht,Xe);var Qe=(0,le.Z)(ht);function ht(){var Et;(0,ee.Z)(this,ht);for(var mt=arguments.length,Ft=new Array(mt),Kt=0;Kt<mt;Kt++)Ft[Kt]=arguments[Kt];return Et=Qe.call.apply(Qe,[this].concat(Ft)),Et.state={goInputText:""},Et.getValidValue=function(){var jt=Et.state.goInputText;return!jt||Number.isNaN(jt)?void 0:Number(jt)},Et.buildOptionText=function(jt){return"".concat(jt," ").concat(Et.props.locale.items_per_page)},Et.changeSize=function(jt){Et.props.changeSize(Number(jt))},Et.handleChange=function(jt){Et.setState({goInputText:jt.target.value})},Et.handleBlur=function(jt){var Wt=Et.props,Vt=Wt.goButton,nn=Wt.quickGo,Bt=Wt.rootPrefixCls,_t=Et.state.goInputText;Vt||_t===""||(Et.setState({goInputText:""}),!(jt.relatedTarget&&(jt.relatedTarget.className.indexOf("".concat(Bt,"-item-link"))>=0||jt.relatedTarget.className.indexOf("".concat(Bt,"-item"))>=0))&&nn(Et.getValidValue()))},Et.go=function(jt){var Wt=Et.state.goInputText;Wt!==""&&(jt.keyCode===Pe.ENTER||jt.type==="click")&&(Et.setState({goInputText:""}),Et.props.quickGo(Et.getValidValue()))},Et}return(0,ae.Z)(ht,[{key:"getPageSizeOptions",value:function(){var mt=this.props,Ft=mt.pageSize,Kt=mt.pageSizeOptions;return Kt.some(function(jt){return jt.toString()===Ft.toString()})?Kt:Kt.concat([Ft.toString()]).sort(function(jt,Wt){var Vt=Number.isNaN(Number(jt))?0:Number(jt),nn=Number.isNaN(Number(Wt))?0:Number(Wt);return Vt-nn})}},{key:"render",value:function(){var mt=this,Ft=this.props,Kt=Ft.pageSize,jt=Ft.locale,Wt=Ft.rootPrefixCls,Vt=Ft.changeSize,nn=Ft.quickGo,Bt=Ft.goButton,_t=Ft.selectComponentClass,en=Ft.buildOptionText,on=Ft.selectPrefixCls,xn=Ft.disabled,zn=this.state.goInputText,tr="".concat(Wt,"-options"),er=_t,ur=null,Dr=null,Mr=null;if(!Vt&&!nn)return null;var Br=this.getPageSizeOptions();if(Vt&&er){var qr=Br.map(function(Qr,Lr){return gt.createElement(er.Option,{key:Lr,value:Qr.toString()},(en||mt.buildOptionText)(Qr))});ur=gt.createElement(er,{disabled:xn,prefixCls:on,showSearch:!1,className:"".concat(tr,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Kt||Br[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Lr){return Lr.parentNode},"aria-label":jt.page_size,defaultOpen:!1},qr)}return nn&&(Bt&&(Mr=typeof Bt=="boolean"?gt.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:xn,className:"".concat(tr,"-quick-jumper-button")},jt.jump_to_confirm):gt.createElement("span",{onClick:this.go,onKeyUp:this.go},Bt)),Dr=gt.createElement("div",{className:"".concat(tr,"-quick-jumper")},jt.jump_to,gt.createElement("input",{disabled:xn,type:"text",value:zn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":jt.page}),jt.page,Mr)),gt.createElement("li",{className:"".concat(tr)},ur,Dr)}}]),ht}(gt.Component);Ie.defaultProps={pageSizeOptions:["10","20","50","100"]};var Me=Ie,Oe=function(Qe){var ht,Et=Qe.rootPrefixCls,mt=Qe.page,Ft=Qe.active,Kt=Qe.className,jt=Qe.showTitle,Wt=Qe.onClick,Vt=Qe.onKeyPress,nn=Qe.itemRender,Bt="".concat(Et,"-item"),_t=xe()(Bt,"".concat(Bt,"-").concat(mt),(ht={},(0,fe.Z)(ht,"".concat(Bt,"-active"),Ft),(0,fe.Z)(ht,"".concat(Bt,"-disabled"),!mt),(0,fe.Z)(ht,Qe.className,Kt),ht)),en=function(){Wt(mt)},on=function(tr){Vt(tr,Wt,mt)},xn=nn(mt,"page",gt.createElement("a",{rel:"nofollow"},mt));return xn?gt.createElement("li",{title:jt?mt.toString():null,className:_t,onClick:en,onKeyPress:on,tabIndex:0},xn):null},Te=Oe;function je(){}function ze(Xe){var Qe=Number(Xe);return typeof Qe=="number"&&!Number.isNaN(Qe)&&isFinite(Qe)&&Math.floor(Qe)===Qe}var $e=function(Qe,ht,Et){return Et};function Ue(Xe,Qe,ht){var Et=typeof Xe=="undefined"?Qe.pageSize:Xe;return Math.floor((ht.total-1)/Et)+1}var qe=function(Xe){(0,re.Z)(ht,Xe);var Qe=(0,le.Z)(ht);function ht(Et){var mt;(0,ee.Z)(this,ht),mt=Qe.call(this,Et),mt.paginationNode=gt.createRef(),mt.getJumpPrevPage=function(){return Math.max(1,mt.state.current-(mt.props.showLessItems?3:5))},mt.getJumpNextPage=function(){return Math.min(Ue(void 0,mt.state,mt.props),mt.state.current+(mt.props.showLessItems?3:5))},mt.getItemIcon=function(Vt,nn){var Bt=mt.props.prefixCls,_t=Vt||gt.createElement("button",{type:"button","aria-label":nn,className:"".concat(Bt,"-item-link")});return typeof Vt=="function"&&(_t=gt.createElement(Vt,(0,z.Z)({},mt.props))),_t},mt.isValid=function(Vt){var nn=mt.props.total;return ze(Vt)&&Vt!==mt.state.current&&ze(nn)&&nn>0},mt.shouldDisplayQuickJumper=function(){var Vt=mt.props,nn=Vt.showQuickJumper,Bt=Vt.total,_t=mt.state.pageSize;return Bt<=_t?!1:nn},mt.handleKeyDown=function(Vt){(Vt.keyCode===Pe.ARROW_UP||Vt.keyCode===Pe.ARROW_DOWN)&&Vt.preventDefault()},mt.handleKeyUp=function(Vt){var nn=mt.getValidValue(Vt),Bt=mt.state.currentInputValue;nn!==Bt&&mt.setState({currentInputValue:nn}),Vt.keyCode===Pe.ENTER?mt.handleChange(nn):Vt.keyCode===Pe.ARROW_UP?mt.handleChange(nn-1):Vt.keyCode===Pe.ARROW_DOWN&&mt.handleChange(nn+1)},mt.handleBlur=function(Vt){var nn=mt.getValidValue(Vt);mt.handleChange(nn)},mt.changePageSize=function(Vt){var nn=mt.state.current,Bt=Ue(Vt,mt.state,mt.props);nn=nn>Bt?Bt:nn,Bt===0&&(nn=mt.state.current),typeof Vt=="number"&&("pageSize"in mt.props||mt.setState({pageSize:Vt}),"current"in mt.props||mt.setState({current:nn,currentInputValue:nn})),mt.props.onShowSizeChange(nn,Vt),"onChange"in mt.props&&mt.props.onChange&&mt.props.onChange(nn,Vt)},mt.handleChange=function(Vt){var nn=mt.props,Bt=nn.disabled,_t=nn.onChange,en=mt.state,on=en.pageSize,xn=en.current,zn=en.currentInputValue;if(mt.isValid(Vt)&&!Bt){var tr=Ue(void 0,mt.state,mt.props),er=Vt;return Vt>tr?er=tr:Vt<1&&(er=1),"current"in mt.props||mt.setState({current:er}),er!==zn&&mt.setState({currentInputValue:er}),_t(er,on),er}return xn},mt.prev=function(){mt.hasPrev()&&mt.handleChange(mt.state.current-1)},mt.next=function(){mt.hasNext()&&mt.handleChange(mt.state.current+1)},mt.jumpPrev=function(){mt.handleChange(mt.getJumpPrevPage())},mt.jumpNext=function(){mt.handleChange(mt.getJumpNextPage())},mt.hasPrev=function(){return mt.state.current>1},mt.hasNext=function(){return mt.state.current<Ue(void 0,mt.state,mt.props)},mt.runIfEnter=function(Vt,nn){if(Vt.key==="Enter"||Vt.charCode===13){for(var Bt=arguments.length,_t=new Array(Bt>2?Bt-2:0),en=2;en<Bt;en++)_t[en-2]=arguments[en];nn.apply(void 0,_t)}},mt.runIfEnterPrev=function(Vt){mt.runIfEnter(Vt,mt.prev)},mt.runIfEnterNext=function(Vt){mt.runIfEnter(Vt,mt.next)},mt.runIfEnterJumpPrev=function(Vt){mt.runIfEnter(Vt,mt.jumpPrev)},mt.runIfEnterJumpNext=function(Vt){mt.runIfEnter(Vt,mt.jumpNext)},mt.handleGoTO=function(Vt){(Vt.keyCode===Pe.ENTER||Vt.type==="click")&&mt.handleChange(mt.state.currentInputValue)},mt.renderPrev=function(Vt){var nn=mt.props,Bt=nn.prevIcon,_t=nn.itemRender,en=_t(Vt,"prev",mt.getItemIcon(Bt,"prev page")),on=!mt.hasPrev();return(0,gt.isValidElement)(en)?(0,gt.cloneElement)(en,{disabled:on}):en},mt.renderNext=function(Vt){var nn=mt.props,Bt=nn.nextIcon,_t=nn.itemRender,en=_t(Vt,"next",mt.getItemIcon(Bt,"next page")),on=!mt.hasNext();return(0,gt.isValidElement)(en)?(0,gt.cloneElement)(en,{disabled:on}):en};var Ft=Et.onChange!==je,Kt="current"in Et;Kt&&!Ft&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var jt=Et.defaultCurrent;"current"in Et&&(jt=Et.current);var Wt=Et.defaultPageSize;return"pageSize"in Et&&(Wt=Et.pageSize),jt=Math.min(jt,Ue(Wt,void 0,Et)),mt.state={current:jt,currentInputValue:jt,pageSize:Wt},mt}return(0,ae.Z)(ht,[{key:"componentDidUpdate",value:function(mt,Ft){var Kt=this.props.prefixCls;if(Ft.current!==this.state.current&&this.paginationNode.current){var jt=this.paginationNode.current.querySelector(".".concat(Kt,"-item-").concat(Ft.current));if(jt&&document.activeElement===jt){var Wt;jt==null||(Wt=jt.blur)===null||Wt===void 0||Wt.call(jt)}}}},{key:"getValidValue",value:function(mt){var Ft=mt.target.value,Kt=Ue(void 0,this.state,this.props),jt=this.state.currentInputValue,Wt;return Ft===""?Wt=Ft:Number.isNaN(Number(Ft))?Wt=jt:Ft>=Kt?Wt=Kt:Wt=Number(Ft),Wt}},{key:"getShowSizeChanger",value:function(){var mt=this.props,Ft=mt.showSizeChanger,Kt=mt.total,jt=mt.totalBoundaryShowSizeChanger;return typeof Ft!="undefined"?Ft:Kt>jt}},{key:"render",value:function(){var mt=this.props,Ft=mt.prefixCls,Kt=mt.className,jt=mt.style,Wt=mt.disabled,Vt=mt.hideOnSinglePage,nn=mt.total,Bt=mt.locale,_t=mt.showQuickJumper,en=mt.showLessItems,on=mt.showTitle,xn=mt.showTotal,zn=mt.simple,tr=mt.itemRender,er=mt.showPrevNextJumpers,ur=mt.jumpPrevIcon,Dr=mt.jumpNextIcon,Mr=mt.selectComponentClass,Br=mt.selectPrefixCls,qr=mt.pageSizeOptions,Qr=this.state,Lr=Qr.current,ei=Qr.pageSize,Er=Qr.currentInputValue;if(Vt===!0&&nn<=ei)return null;var ot=Ue(void 0,this.state,this.props),xi=[],gi=null,Ln=null,hr=null,ar=null,vr=null,Un=_t&&_t.goButton,Yn=en?1:2,Qt=Lr-1>0?Lr-1:0,Zt=Lr+1<ot?Lr+1:ot,Pt=(0,ue.Z)(this.props,{aria:!0,data:!0}),an=xn&&gt.createElement("li",{className:"".concat(Ft,"-total-text")},xn(nn,[nn===0?0:(Lr-1)*ei+1,Lr*ei>nn?nn:Lr*ei]));if(zn){Un&&(typeof Un=="boolean"?vr=gt.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Bt.jump_to_confirm):vr=gt.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Un),vr=gt.createElement("li",{title:on?"".concat(Bt.jump_to).concat(Lr,"/").concat(ot):null,className:"".concat(Ft,"-simple-pager")},vr));var gn=this.renderPrev(Qt);return gt.createElement("ul",(0,He.Z)({className:xe()(Ft,"".concat(Ft,"-simple"),(0,fe.Z)({},"".concat(Ft,"-disabled"),Wt),Kt),style:jt,ref:this.paginationNode},Pt),an,gn?gt.createElement("li",{title:on?Bt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:xe()("".concat(Ft,"-prev"),(0,fe.Z)({},"".concat(Ft,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},gn):null,gt.createElement("li",{title:on?"".concat(Lr,"/").concat(ot):null,className:"".concat(Ft,"-simple-pager")},gt.createElement("input",{type:"text",value:Er,disabled:Wt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),gt.createElement("span",{className:"".concat(Ft,"-slash")},"/"),ot),gt.createElement("li",{title:on?Bt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:xe()("".concat(Ft,"-next"),(0,fe.Z)({},"".concat(Ft,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Zt)),vr)}if(ot<=3+Yn*2){var Xt={locale:Bt,rootPrefixCls:Ft,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:on,itemRender:tr};ot||xi.push(gt.createElement(Te,(0,He.Z)({},Xt,{key:"noPager",page:1,className:"".concat(Ft,"-item-disabled")})));for(var Dt=1;Dt<=ot;Dt+=1){var cn=Lr===Dt;xi.push(gt.createElement(Te,(0,He.Z)({},Xt,{key:Dt,page:Dt,active:cn})))}}else{var bn=en?Bt.prev_3:Bt.prev_5,kn=en?Bt.next_3:Bt.next_5,Gn=tr(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(ur,"prev page")),Ht=tr(this.getJumpNextPage(),"jump-next",this.getItemIcon(Dr,"next page"));er&&(gi=Gn?gt.createElement("li",{title:on?bn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:xe()("".concat(Ft,"-jump-prev"),(0,fe.Z)({},"".concat(Ft,"-jump-prev-custom-icon"),!!ur))},Gn):null,Ln=Ht?gt.createElement("li",{title:on?kn:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:xe()("".concat(Ft,"-jump-next"),(0,fe.Z)({},"".concat(Ft,"-jump-next-custom-icon"),!!Dr))},Ht):null),ar=gt.createElement(Te,{locale:Bt,last:!0,rootPrefixCls:Ft,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ot,page:ot,active:!1,showTitle:on,itemRender:tr}),hr=gt.createElement(Te,{locale:Bt,rootPrefixCls:Ft,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:on,itemRender:tr});var An=Math.max(1,Lr-Yn),Kn=Math.min(Lr+Yn,ot);Lr-1<=Yn&&(Kn=1+Yn*2),ot-Lr<=Yn&&(An=ot-Yn*2);for(var ir=An;ir<=Kn;ir+=1){var sn=Lr===ir;xi.push(gt.createElement(Te,{locale:Bt,rootPrefixCls:Ft,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ir,page:ir,active:sn,showTitle:on,itemRender:tr}))}Lr-1>=Yn*2&&Lr!==3&&(xi[0]=(0,gt.cloneElement)(xi[0],{className:"".concat(Ft,"-item-after-jump-prev")}),xi.unshift(gi)),ot-Lr>=Yn*2&&Lr!==ot-2&&(xi[xi.length-1]=(0,gt.cloneElement)(xi[xi.length-1],{className:"".concat(Ft,"-item-before-jump-next")}),xi.push(Ln)),An!==1&&xi.unshift(hr),Kn!==ot&&xi.push(ar)}var Cn=!this.hasPrev()||!ot,rn=!this.hasNext()||!ot,Sn=this.renderPrev(Qt),vn=this.renderNext(Zt);return gt.createElement("ul",(0,He.Z)({className:xe()(Ft,Kt,(0,fe.Z)({},"".concat(Ft,"-disabled"),Wt)),style:jt,ref:this.paginationNode},Pt),an,Sn?gt.createElement("li",{title:on?Bt.prev_page:null,onClick:this.prev,tabIndex:Cn?null:0,onKeyPress:this.runIfEnterPrev,className:xe()("".concat(Ft,"-prev"),(0,fe.Z)({},"".concat(Ft,"-disabled"),Cn)),"aria-disabled":Cn},Sn):null,xi,vn?gt.createElement("li",{title:on?Bt.next_page:null,onClick:this.next,tabIndex:rn?null:0,onKeyPress:this.runIfEnterNext,className:xe()("".concat(Ft,"-next"),(0,fe.Z)({},"".concat(Ft,"-disabled"),rn)),"aria-disabled":rn},vn):null,gt.createElement(Me,{disabled:Wt,locale:Bt,rootPrefixCls:Ft,selectComponentClass:Mr,selectPrefixCls:Br,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Lr,pageSize:ei,pageSizeOptions:qr,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Un}))}}],[{key:"getDerivedStateFromProps",value:function(mt,Ft){var Kt={};if("current"in mt&&(Kt.current=mt.current,mt.current!==Ft.current&&(Kt.currentInputValue=Kt.current)),"pageSize"in mt&&mt.pageSize!==Ft.pageSize){var jt=Ft.current,Wt=Ue(mt.pageSize,Ft,mt);jt=jt>Wt?Wt:jt,"current"in mt||(Kt.current=jt,Kt.currentInputValue=jt),Kt.pageSize=mt.pageSize}return Kt}}]),ht}(gt.Component);qe.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:je,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:je,locale:be.Z,style:{},itemRender:$e,totalBoundaryShowSizeChanger:50};var et=qe,lt=We(22075),ut=We(36355),vt=We(19716),tt=We(8628),at=We(9763),dt=We(57809);const St=Xe=>gt.createElement(dt.default,Object.assign({},Xe,{showSearch:!0,size:"small"})),xt=Xe=>gt.createElement(dt.default,Object.assign({},Xe,{showSearch:!0,size:"middle"}));St.Option=dt.default.Option,xt.Option=dt.default.Option;var ft=We(9937),pt=We(17313),yt=We(83116),Tt=We(37613);const At=Xe=>{const{componentCls:Qe}=Xe;return{[`${Qe}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Qe}-item-link`]:{color:Xe.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Qe}-item-link`]:{color:Xe.colorTextDisabled,cursor:"not-allowed"}}},[`&${Qe}-disabled`]:{cursor:"not-allowed",[`${Qe}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Xe.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Xe.colorBorder,backgroundColor:Xe.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Xe.itemActiveBgDisabled},a:{color:Xe.itemActiveColorDisabled}}},[`${Qe}-item-link`]:{color:Xe.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Qe}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Qe}-simple-pager`]:{color:Xe.colorTextDisabled},[`${Qe}-jump-prev, ${Qe}-jump-next`]:{[`${Qe}-item-link-icon`]:{opacity:0},[`${Qe}-item-ellipsis`]:{opacity:1}}},[`&${Qe}-simple`]:{[`${Qe}-prev, ${Qe}-next`]:{[`&${Qe}-disabled ${Qe}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Gt=Xe=>{const{componentCls:Qe}=Xe;return{[`&${Qe}-mini ${Qe}-total-text, &${Qe}-mini ${Qe}-simple-pager`]:{height:Xe.itemSizeSM,lineHeight:`${Xe.itemSizeSM}px`},[`&${Qe}-mini ${Qe}-item`]:{minWidth:Xe.itemSizeSM,height:Xe.itemSizeSM,margin:0,lineHeight:`${Xe.itemSizeSM-2}px`},[`&${Qe}-mini:not(${Qe}-disabled) ${Qe}-item:not(${Qe}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Xe.colorBgTextHover},"&:active":{backgroundColor:Xe.colorBgTextActive}},[`&${Qe}-mini ${Qe}-prev, &${Qe}-mini ${Qe}-next`]:{minWidth:Xe.itemSizeSM,height:Xe.itemSizeSM,margin:0,lineHeight:`${Xe.itemSizeSM}px`},[`&${Qe}-mini:not(${Qe}-disabled)`]:{[`${Qe}-prev, ${Qe}-next`]:{[`&:hover ${Qe}-item-link`]:{backgroundColor:Xe.colorBgTextHover},[`&:active ${Qe}-item-link`]:{backgroundColor:Xe.colorBgTextActive},[`&${Qe}-disabled:hover ${Qe}-item-link`]:{backgroundColor:"transparent"}}},[`
&${Qe}-mini ${Qe}-prev ${Qe}-item-link,
&${Qe}-mini ${Qe}-next ${Qe}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Xe.itemSizeSM,lineHeight:`${Xe.itemSizeSM}px`}},[`&${Qe}-mini ${Qe}-jump-prev, &${Qe}-mini ${Qe}-jump-next`]:{height:Xe.itemSizeSM,marginInlineEnd:0,lineHeight:`${Xe.itemSizeSM}px`},[`&${Qe}-mini ${Qe}-options`]:{marginInlineStart:Xe.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Xe.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Xe.itemSizeSM,lineHeight:`${Xe.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,ft.x0)(Xe)),{width:Xe.paginationMiniQuickJumperInputWidth,height:Xe.controlHeightSM})}}}},wt=Xe=>{const{componentCls:Qe}=Xe;return{[`
&${Qe}-simple ${Qe}-prev,
&${Qe}-simple ${Qe}-next
`]:{height:Xe.itemSizeSM,lineHeight:`${Xe.itemSizeSM}px`,verticalAlign:"top",[`${Qe}-item-link`]:{height:Xe.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Xe.colorBgTextHover},"&:active":{backgroundColor:Xe.colorBgTextActive},"&::after":{height:Xe.itemSizeSM,lineHeight:`${Xe.itemSizeSM}px`}}},[`&${Qe}-simple ${Qe}-simple-pager`]:{display:"inline-block",height:Xe.itemSizeSM,marginInlineEnd:Xe.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Xe.marginXS,padding:`0 ${Xe.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Xe.itemInputBg,border:`${Xe.lineWidth}px ${Xe.lineType} ${Xe.colorBorder}`,borderRadius:Xe.borderRadius,outline:"none",transition:`border-color ${Xe.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Xe.colorPrimary},"&:focus":{borderColor:Xe.colorPrimaryHover,boxShadow:`${Xe.inputOutlineOffset}px 0 ${Xe.controlOutlineWidth}px ${Xe.controlOutline}`},"&[disabled]":{color:Xe.colorTextDisabled,backgroundColor:Xe.colorBgContainerDisabled,borderColor:Xe.colorBorder,cursor:"not-allowed"}}}}},bt=Xe=>{const{componentCls:Qe}=Xe;return{[`${Qe}-jump-prev, ${Qe}-jump-next`]:{outline:0,[`${Qe}-item-container`]:{position:"relative",[`${Qe}-item-link-icon`]:{color:Xe.colorPrimary,fontSize:Xe.fontSizeSM,opacity:0,transition:`all ${Xe.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Qe}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Xe.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Xe.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Xe.paginationEllipsisTextIndent,opacity:1,transition:`all ${Xe.motionDurationMid}`}},"&:hover":{[`${Qe}-item-link-icon`]:{opacity:1},[`${Qe}-item-ellipsis`]:{opacity:0}}},[`
${Qe}-prev,
${Qe}-jump-prev,
${Qe}-jump-next
`]:{marginInlineEnd:Xe.marginXS},[`
${Qe}-prev,
${Qe}-next,
${Qe}-jump-prev,
${Qe}-jump-next
`]:{display:"inline-block",minWidth:Xe.itemSize,height:Xe.itemSize,color:Xe.colorText,fontFamily:Xe.fontFamily,lineHeight:`${Xe.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Xe.borderRadius,cursor:"pointer",transition:`all ${Xe.motionDurationMid}`},[`${Qe}-prev, ${Qe}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Xe.colorText,cursor:"pointer",userSelect:"none"},[`${Qe}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Xe.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Xe.lineWidth}px ${Xe.lineType} transparent`,borderRadius:Xe.borderRadius,outline:"none",transition:`all ${Xe.motionDurationMid}`},[`&:hover ${Qe}-item-link`]:{backgroundColor:Xe.colorBgTextHover},[`&:active ${Qe}-item-link`]:{backgroundColor:Xe.colorBgTextActive},[`&${Qe}-disabled:hover`]:{[`${Qe}-item-link`]:{backgroundColor:"transparent"}}},[`${Qe}-slash`]:{marginInlineEnd:Xe.paginationSlashMarginInlineEnd,marginInlineStart:Xe.paginationSlashMarginInlineStart},[`${Qe}-options`]:{display:"inline-block",marginInlineStart:Xe.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Xe.controlHeight,marginInlineStart:Xe.marginXS,lineHeight:`${Xe.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,ft.ik)(Xe)),{width:Xe.controlHeightLG*1.25,height:Xe.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Xe.marginXS,marginInlineEnd:Xe.marginXS})}}}},it=Xe=>{const{componentCls:Qe}=Xe;return{[`${Qe}-item`]:{display:"inline-block",minWidth:Xe.itemSize,height:Xe.itemSize,marginInlineEnd:Xe.marginXS,fontFamily:Xe.fontFamily,lineHeight:`${Xe.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Xe.lineWidth}px ${Xe.lineType} transparent`,borderRadius:Xe.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Xe.paginationItemPaddingInline}px`,color:Xe.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Qe}-item-active)`]:{"&:hover":{transition:`all ${Xe.motionDurationMid}`,backgroundColor:Xe.colorBgTextHover},"&:active":{backgroundColor:Xe.colorBgTextActive}},"&-active":{fontWeight:Xe.fontWeightStrong,backgroundColor:Xe.itemActiveBg,borderColor:Xe.colorPrimary,a:{color:Xe.colorPrimary},"&:hover":{borderColor:Xe.colorPrimaryHover},"&:hover a":{color:Xe.colorPrimaryHover}}}}},_e=Xe=>{const{componentCls:Qe}=Xe;return{[Qe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,pt.Wf)(Xe)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Qe}-total-text`]:{display:"inline-block",height:Xe.itemSize,marginInlineEnd:Xe.marginXS,lineHeight:`${Xe.itemSize-2}px`,verticalAlign:"middle"}}),it(Xe)),bt(Xe)),wt(Xe)),Gt(Xe)),At(Xe)),{[`@media only screen and (max-width: ${Xe.screenLG}px)`]:{[`${Qe}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Xe.screenSM}px)`]:{[`${Qe}-options`]:{display:"none"}}}),[`&${Xe.componentCls}-rtl`]:{direction:"rtl"}}},we=Xe=>{const{componentCls:Qe}=Xe;return{[`${Qe}${Qe}-disabled:not(${Qe}-mini)`]:{"&, &:hover":{[`${Qe}-item-link`]:{borderColor:Xe.colorBorder}},"&:focus-visible":{[`${Qe}-item-link`]:{borderColor:Xe.colorBorder}},[`${Qe}-item, ${Qe}-item-link`]:{backgroundColor:Xe.colorBgContainerDisabled,borderColor:Xe.colorBorder,[`&:hover:not(${Qe}-item-active)`]:{backgroundColor:Xe.colorBgContainerDisabled,borderColor:Xe.colorBorder,a:{color:Xe.colorTextDisabled}},[`&${Qe}-item-active`]:{backgroundColor:Xe.itemActiveBgDisabled}},[`${Qe}-prev, ${Qe}-next`]:{"&:hover button":{backgroundColor:Xe.colorBgContainerDisabled,borderColor:Xe.colorBorder,color:Xe.colorTextDisabled},[`${Qe}-item-link`]:{backgroundColor:Xe.colorBgContainerDisabled,borderColor:Xe.colorBorder}}},[`${Qe}:not(${Qe}-mini)`]:{[`${Qe}-prev, ${Qe}-next`]:{"&:hover button":{borderColor:Xe.colorPrimaryHover,backgroundColor:Xe.itemBg},[`${Qe}-item-link`]:{backgroundColor:Xe.itemLinkBg,borderColor:Xe.colorBorder},[`&:hover ${Qe}-item-link`]:{borderColor:Xe.colorPrimary,backgroundColor:Xe.itemBg,color:Xe.colorPrimary},[`&${Qe}-disabled`]:{[`${Qe}-item-link`]:{borderColor:Xe.colorBorder,color:Xe.colorTextDisabled}}},[`${Qe}-item`]:{backgroundColor:Xe.itemBg,border:`${Xe.lineWidth}px ${Xe.lineType} ${Xe.colorBorder}`,[`&:hover:not(${Qe}-item-active)`]:{borderColor:Xe.colorPrimary,backgroundColor:Xe.itemBg,a:{color:Xe.colorPrimary}},"&-active":{borderColor:Xe.colorPrimary}}}}},Ce=Xe=>{const{componentCls:Qe}=Xe;return{[`${Qe}:not(${Qe}-disabled)`]:{[`${Qe}-item`]:Object.assign({},(0,pt.Qy)(Xe)),[`${Qe}-jump-prev, ${Qe}-jump-next`]:{"&:focus-visible":Object.assign({[`${Qe}-item-link-icon`]:{opacity:1},[`${Qe}-item-ellipsis`]:{opacity:0}},(0,pt.oN)(Xe))},[`${Qe}-prev, ${Qe}-next`]:{[`&:focus-visible ${Qe}-item-link`]:Object.assign({},(0,pt.oN)(Xe))}}}};var Ye=(0,yt.Z)("Pagination",Xe=>{const Qe=(0,Tt.TS)(Xe,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Xe.marginXXS/2,paginationMiniQuickJumperInputWidth:Xe.controlHeightLG*1.1,paginationItemPaddingInline:Xe.marginXXS*1.5,paginationEllipsisLetterSpacing:Xe.marginXXS/2,paginationSlashMarginInlineStart:Xe.marginXXS,paginationSlashMarginInlineEnd:Xe.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,ft.e5)(Xe),(0,ft.TM)(Xe));return[_e(Qe),Ce(Qe),Xe.wireframe&&we(Qe)]},Xe=>({itemBg:Xe.colorBgContainer,itemSize:Xe.controlHeight,itemSizeSM:Xe.controlHeightSM,itemActiveBg:Xe.colorBgContainer,itemLinkBg:Xe.colorBgContainer,itemActiveColorDisabled:Xe.colorTextDisabled,itemActiveBgDisabled:Xe.controlItemBgActiveDisabled,itemInputBg:Xe.colorBgContainer,miniOptionsSizeChangerTop:0})),Je=function(Xe,Qe){var ht={};for(var Et in Xe)Object.prototype.hasOwnProperty.call(Xe,Et)&&Qe.indexOf(Et)<0&&(ht[Et]=Xe[Et]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,Et=Object.getOwnPropertySymbols(Xe);mt<Et.length;mt++)Qe.indexOf(Et[mt])<0&&Object.prototype.propertyIsEnumerable.call(Xe,Et[mt])&&(ht[Et[mt]]=Xe[Et[mt]]);return ht},Ge=Xe=>{const{prefixCls:Qe,selectPrefixCls:ht,className:Et,rootClassName:mt,style:Ft,size:Kt,locale:jt,selectComponentClass:Wt,responsive:Vt,showSizeChanger:nn}=Xe,Bt=Je(Xe,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:_t}=(0,tt.Z)(Vt),{getPrefixCls:en,direction:on,pagination:xn={}}=gt.useContext(ut.E_),zn=en("pagination",Qe),[tr,er]=Ye(zn),ur=nn!=null?nn:xn.showSizeChanger,Dr=gt.useMemo(()=>{const ot=gt.createElement("span",{className:`${zn}-item-ellipsis`},"\u2022\u2022\u2022"),xi=gt.createElement("button",{className:`${zn}-item-link`,type:"button",tabIndex:-1},on==="rtl"?gt.createElement(De.Z,null):gt.createElement(ye.Z,null)),gi=gt.createElement("button",{className:`${zn}-item-link`,type:"button",tabIndex:-1},on==="rtl"?gt.createElement(ye.Z,null):gt.createElement(De.Z,null)),Ln=gt.createElement("a",{className:`${zn}-item-link`},gt.createElement("div",{className:`${zn}-item-container`},on==="rtl"?gt.createElement(Ae.Z,{className:`${zn}-item-link-icon`}):gt.createElement(Ee,{className:`${zn}-item-link-icon`}),ot)),hr=gt.createElement("a",{className:`${zn}-item-link`},gt.createElement("div",{className:`${zn}-item-container`},on==="rtl"?gt.createElement(Ee,{className:`${zn}-item-link-icon`}):gt.createElement(Ae.Z,{className:`${zn}-item-link-icon`}),ot));return{prevIcon:xi,nextIcon:gi,jumpPrevIcon:Ln,jumpNextIcon:hr}},[on,zn]),[Mr]=(0,at.Z)("Pagination",lt.Z),Br=Object.assign(Object.assign({},Mr),jt),qr=(0,vt.Z)(Kt),Qr=qr==="small"||!!(_t&&!qr&&Vt),Lr=en("select",ht),ei=xe()({[`${zn}-mini`]:Qr,[`${zn}-rtl`]:on==="rtl"},xn==null?void 0:xn.className,Et,mt,er),Er=Object.assign(Object.assign({},xn==null?void 0:xn.style),Ft);return tr(gt.createElement(et,Object.assign({},Dr,Bt,{style:Er,prefixCls:zn,selectPrefixCls:Lr,className:ei,selectComponentClass:Wt||(Qr?St:xt),locale:Br,showSizeChanger:ur})))},Ke=Ge},93948:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return nn}});var He=We(59301),gt=We(29679),oe=We(40001),Ze=We(19248),Ne=We(99267),ge=We(92310),ce=We.n(ge),Ee=We(2738),Ae=We(36355),ye=We(96663),De=We(44127),me=We(6620),xe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},fe=function(){var _t=(0,He.useRef)([]),en=(0,He.useRef)(null);return(0,He.useEffect)(function(){var on=Date.now(),xn=!1;_t.current.forEach(function(zn){if(zn){xn=!0;var tr=zn.style;tr.transitionDuration=".3s, .3s, .3s, .06s",en.current&&on-en.current<100&&(tr.transitionDuration="0s, 0s")}}),xn&&(en.current=Date.now())}),_t.current},z=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],ee=function(_t){var en=(0,De.Z)((0,De.Z)({},xe),_t),on=en.className,xn=en.percent,zn=en.prefixCls,tr=en.strokeColor,er=en.strokeLinecap,ur=en.strokeWidth,Dr=en.style,Mr=en.trailColor,Br=en.trailWidth,qr=en.transition,Qr=(0,me.Z)(en,z);delete Qr.gapPosition;var Lr=Array.isArray(xn)?xn:[xn],ei=Array.isArray(tr)?tr:[tr],Er=fe(),ot=ur/2,xi=100-ur/2,gi="M ".concat(er==="round"?ot:0,",").concat(ot,`
L `).concat(er==="round"?xi:100,",").concat(ot),Ln="0 0 100 ".concat(ur),hr=0;return He.createElement("svg",(0,ye.Z)({className:ce()("".concat(zn,"-line"),on),viewBox:Ln,preserveAspectRatio:"none",style:Dr},Qr),He.createElement("path",{className:"".concat(zn,"-line-trail"),d:gi,strokeLinecap:er,stroke:Mr,strokeWidth:Br||ur,fillOpacity:"0"}),Lr.map(function(ar,vr){var Un=1;switch(er){case"round":Un=1-ur/100;break;case"square":Un=1-ur/2/100;break;default:Un=1;break}var Yn={strokeDasharray:"".concat(ar*Un,"px, 100px"),strokeDashoffset:"-".concat(hr,"px"),transition:qr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Qt=ei[vr]||ei[ei.length-1];return hr+=ar,He.createElement("path",{key:vr,className:"".concat(zn,"-line-path"),d:gi,strokeLinecap:er,stroke:Qt,strokeWidth:ur,fillOpacity:"0",ref:function(Pt){Er[vr]=Pt},style:Yn})}))},ae=ee,re=We(20135),le=We(72071),ue=We(47273),pe=0,Pe=(0,ue.Z)();function be(){var Bt;return Pe?(Bt=pe,pe+=1):Bt="TEST_OR_SSR",Bt}var Ie=function(Bt){var _t=He.useState(),en=(0,le.Z)(_t,2),on=en[0],xn=en[1];return He.useEffect(function(){xn("rc_progress_".concat(be()))},[]),Bt||on},Me=function(_t){var en=_t.bg,on=_t.children;return He.createElement("div",{style:{width:"100%",height:"100%",background:en}},on)};function Oe(Bt,_t){return Object.keys(Bt).map(function(en){var on=parseFloat(en),xn="".concat(Math.floor(on*_t),"%");return"".concat(Bt[en]," ").concat(xn)})}var Te=He.forwardRef(function(Bt,_t){var en=Bt.prefixCls,on=Bt.color,xn=Bt.gradientId,zn=Bt.radius,tr=Bt.style,er=Bt.ptg,ur=Bt.strokeLinecap,Dr=Bt.strokeWidth,Mr=Bt.size,Br=Bt.gapDegree,qr=on&&(0,re.Z)(on)==="object",Qr=qr?"#FFF":void 0,Lr=Mr/2,ei=He.createElement("circle",{className:"".concat(en,"-circle-path"),r:zn,cx:Lr,cy:Lr,stroke:Qr,strokeLinecap:ur,strokeWidth:Dr,opacity:er===0?0:1,style:tr,ref:_t});if(!qr)return ei;var Er="".concat(xn,"-conic"),ot=Br?"".concat(180+Br/2,"deg"):"0deg",xi=Oe(on,(360-Br)/360),gi=Oe(on,1),Ln="conic-gradient(from ".concat(ot,", ").concat(xi.join(", "),")"),hr="linear-gradient(to ".concat(Br?"bottom":"top",", ").concat(gi.join(", "),")");return He.createElement(He.Fragment,null,He.createElement("mask",{id:Er},ei),He.createElement("foreignObject",{x:0,y:0,width:Mr,height:Mr,mask:"url(#".concat(Er,")")},He.createElement(Me,{bg:hr},He.createElement(Me,{bg:Ln}))))}),je=Te,ze=100,$e=function(_t,en,on,xn,zn,tr,er,ur,Dr,Mr){var Br=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,qr=on/100*360*((360-tr)/360),Qr=tr===0?0:{bottom:0,top:180,left:90,right:-90}[er],Lr=(100-xn)/100*en;Dr==="round"&&xn!==100&&(Lr+=Mr/2,Lr>=en&&(Lr=en-.01));var ei=ze/2;return{stroke:typeof ur=="string"?ur:void 0,strokeDasharray:"".concat(en,"px ").concat(_t),strokeDashoffset:Lr+Br,transform:"rotate(".concat(zn+qr+Qr,"deg)"),transformOrigin:"".concat(ei,"px ").concat(ei,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Ue=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function qe(Bt){var _t=Bt!=null?Bt:[];return Array.isArray(_t)?_t:[_t]}var et=function(_t){var en=(0,De.Z)((0,De.Z)({},xe),_t),on=en.id,xn=en.prefixCls,zn=en.steps,tr=en.strokeWidth,er=en.trailWidth,ur=en.gapDegree,Dr=ur===void 0?0:ur,Mr=en.gapPosition,Br=en.trailColor,qr=en.strokeLinecap,Qr=en.style,Lr=en.className,ei=en.strokeColor,Er=en.percent,ot=(0,me.Z)(en,Ue),xi=ze/2,gi=Ie(on),Ln="".concat(gi,"-gradient"),hr=xi-tr/2,ar=Math.PI*2*hr,vr=Dr>0?90+Dr/2:-90,Un=ar*((360-Dr)/360),Yn=(0,re.Z)(zn)==="object"?zn:{count:zn,space:2},Qt=Yn.count,Zt=Yn.space,Pt=qe(Er),an=qe(ei),gn=an.find(function(Ht){return Ht&&(0,re.Z)(Ht)==="object"}),Xt=gn&&(0,re.Z)(gn)==="object",Dt=Xt?"butt":qr,cn=$e(ar,Un,0,100,vr,Dr,Mr,Br,Dt,tr),bn=fe(),kn=function(){var An=0;return Pt.map(function(Kn,ir){var sn=an[ir]||an[an.length-1],Cn=$e(ar,Un,An,Kn,vr,Dr,Mr,sn,Dt,tr);return An+=Kn,He.createElement(je,{key:ir,color:sn,ptg:Kn,radius:hr,prefixCls:xn,gradientId:Ln,style:Cn,strokeLinecap:Dt,strokeWidth:tr,gapDegree:Dr,ref:function(Sn){bn[ir]=Sn},size:ze})}).reverse()},Gn=function(){var An=Math.round(Qt*(Pt[0]/100)),Kn=100/Qt,ir=0;return new Array(Qt).fill(null).map(function(sn,Cn){var rn=Cn<=An-1?an[0]:Br,Sn=rn&&(0,re.Z)(rn)==="object"?"url(#".concat(Ln,")"):void 0,vn=$e(ar,Un,ir,Kn,vr,Dr,Mr,rn,"butt",tr,Zt);return ir+=(Un-vn.strokeDashoffset+Zt)*100/Un,He.createElement("circle",{key:Cn,className:"".concat(xn,"-circle-path"),r:hr,cx:xi,cy:xi,stroke:Sn,strokeWidth:tr,opacity:1,style:vn,ref:function(Tn){bn[Cn]=Tn}})})};return He.createElement("svg",(0,ye.Z)({className:ce()("".concat(xn,"-circle"),Lr),viewBox:"0 0 ".concat(ze," ").concat(ze),style:Qr,id:on,role:"presentation"},ot),!Qt&&He.createElement("circle",{className:"".concat(xn,"-circle-trail"),r:hr,cx:xi,cy:xi,stroke:Br,strokeLinecap:Dt,strokeWidth:er||tr,style:cn}),Qt?Gn():kn())},lt=et,ut={Line:ae,Circle:lt},vt=We(6848),tt=We(93398);function at(Bt){return!Bt||Bt<0?0:Bt>100?100:Bt}function dt(Bt){let{success:_t,successPercent:en}=Bt,on=en;return _t&&"progress"in _t&&(on=_t.progress),_t&&"percent"in _t&&(on=_t.percent),on}const St=Bt=>{let{percent:_t,success:en,successPercent:on}=Bt;const xn=at(dt({success:en,successPercent:on}));return[xn,at(at(_t)-xn)]},xt=Bt=>{let{success:_t={},strokeColor:en}=Bt;const{strokeColor:on}=_t;return[on||tt.presetPrimaryColors.green,en||null]},ft=(Bt,_t,en)=>{var on,xn,zn,tr;let er=-1,ur=-1;if(_t==="step"){const Dr=en.steps,Mr=en.strokeWidth;typeof Bt=="string"||typeof Bt=="undefined"?(er=Bt==="small"?2:14,ur=Mr!=null?Mr:8):typeof Bt=="number"?[er,ur]=[Bt,Bt]:[er=14,ur=8]=Bt,er*=Dr}else if(_t==="line"){const Dr=en==null?void 0:en.strokeWidth;typeof Bt=="string"||typeof Bt=="undefined"?ur=Dr||(Bt==="small"?6:8):typeof Bt=="number"?[er,ur]=[Bt,Bt]:[er=-1,ur=8]=Bt}else(_t==="circle"||_t==="dashboard")&&(typeof Bt=="string"||typeof Bt=="undefined"?[er,ur]=Bt==="small"?[60,60]:[120,120]:typeof Bt=="number"?[er,ur]=[Bt,Bt]:(er=(xn=(on=Bt[0])!==null&&on!==void 0?on:Bt[1])!==null&&xn!==void 0?xn:120,ur=(tr=(zn=Bt[0])!==null&&zn!==void 0?zn:Bt[1])!==null&&tr!==void 0?tr:120));return[er,ur]},pt=3,yt=Bt=>pt/Bt*100;var At=Bt=>{const{prefixCls:_t,trailColor:en=null,strokeLinecap:on="round",gapPosition:xn,gapDegree:zn,width:tr=120,type:er,children:ur,success:Dr,size:Mr=tr}=Bt,[Br,qr]=ft(Mr,"circle");let{strokeWidth:Qr}=Bt;Qr===void 0&&(Qr=Math.max(yt(Br),6));const Lr={width:Br,height:qr,fontSize:Br*.15+6},ei=He.useMemo(()=>{if(zn||zn===0)return zn;if(er==="dashboard")return 75},[zn,er]),Er=xn||er==="dashboard"&&"bottom"||void 0,ot=Object.prototype.toString.call(Bt.strokeColor)==="[object Object]",xi=xt({success:Dr,strokeColor:Bt.strokeColor}),gi=ce()(`${_t}-inner`,{[`${_t}-circle-gradient`]:ot}),Ln=He.createElement(lt,{percent:St(Bt),strokeWidth:Qr,trailWidth:Qr,strokeColor:xi,strokeLinecap:on,trailColor:en,prefixCls:_t,gapDegree:ei,gapPosition:Er});return He.createElement("div",{className:gi,style:Lr},Br<=20?He.createElement(vt.Z,{title:ur},He.createElement("span",null,Ln)):He.createElement(He.Fragment,null,Ln,ur))},Gt=function(Bt,_t){var en={};for(var on in Bt)Object.prototype.hasOwnProperty.call(Bt,on)&&_t.indexOf(on)<0&&(en[on]=Bt[on]);if(Bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xn=0,on=Object.getOwnPropertySymbols(Bt);xn<on.length;xn++)_t.indexOf(on[xn])<0&&Object.prototype.propertyIsEnumerable.call(Bt,on[xn])&&(en[on[xn]]=Bt[on[xn]]);return en};const wt=Bt=>{let _t=[];return Object.keys(Bt).forEach(en=>{const on=parseFloat(en.replace(/%/g,""));isNaN(on)||_t.push({key:on,value:Bt[en]})}),_t=_t.sort((en,on)=>en.key-on.key),_t.map(en=>{let{key:on,value:xn}=en;return`${xn} ${on}%`}).join(", ")},bt=(Bt,_t)=>{const{from:en=tt.presetPrimaryColors.blue,to:on=tt.presetPrimaryColors.blue,direction:xn=_t==="rtl"?"to left":"to right"}=Bt,zn=Gt(Bt,["from","to","direction"]);if(Object.keys(zn).length!==0){const tr=wt(zn);return{backgroundImage:`linear-gradient(${xn}, ${tr})`}}return{backgroundImage:`linear-gradient(${xn}, ${en}, ${on})`}};var _e=Bt=>{const{prefixCls:_t,direction:en,percent:on,size:xn,strokeWidth:zn,strokeColor:tr,strokeLinecap:er="round",children:ur,trailColor:Dr=null,success:Mr}=Bt,Br=tr&&typeof tr!="string"?bt(tr,en):{backgroundColor:tr},qr=er==="square"||er==="butt"?0:void 0,Qr={backgroundColor:Dr||void 0,borderRadius:qr},Lr=xn!=null?xn:[-1,zn||(xn==="small"?6:8)],[ei,Er]=ft(Lr,"line",{strokeWidth:zn}),ot=Object.assign({width:`${at(on)}%`,height:Er,borderRadius:qr},Br),xi=dt(Bt),gi={width:`${at(xi)}%`,height:Er,borderRadius:qr,backgroundColor:Mr==null?void 0:Mr.strokeColor},Ln={width:ei<0?"100%":ei,height:Er};return He.createElement(He.Fragment,null,He.createElement("div",{className:`${_t}-outer`,style:Ln},He.createElement("div",{className:`${_t}-inner`,style:Qr},He.createElement("div",{className:`${_t}-bg`,style:ot}),xi!==void 0?He.createElement("div",{className:`${_t}-success-bg`,style:gi}):null)),ur)},Ce=Bt=>{const{size:_t,steps:en,percent:on=0,strokeWidth:xn=8,strokeColor:zn,trailColor:tr=null,prefixCls:er,children:ur}=Bt,Dr=Math.round(en*(on/100)),Mr=_t==="small"?2:14,Br=_t!=null?_t:[Mr,xn],[qr,Qr]=ft(Br,"step",{steps:en,strokeWidth:xn}),Lr=qr/en,ei=new Array(en);for(let Er=0;Er<en;Er++){const ot=Array.isArray(zn)?zn[Er]:zn;ei[Er]=He.createElement("div",{key:Er,className:ce()(`${er}-steps-item`,{[`${er}-steps-item-active`]:Er<=Dr-1}),style:{backgroundColor:Er<=Dr-1?ot:tr,width:Lr,height:Qr}})}return He.createElement("div",{className:`${er}-steps-outer`},ei,ur)},Ye=We(93083),Je=We(17313),Le=We(83116),Ge=We(37613);const Ke=Bt=>{const _t=Bt?"100%":"-100%";return new Ye.Keyframes(`antProgress${Bt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${_t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${_t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Xe=Bt=>{const{componentCls:_t,iconCls:en}=Bt;return{[_t]:Object.assign(Object.assign({},(0,Je.Wf)(Bt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Bt.fontSize,marginInlineEnd:Bt.marginXS,marginBottom:Bt.marginXS},[`${_t}-outer`]:{display:"inline-block",width:"100%"},[`&${_t}-show-info`]:{[`${_t}-outer`]:{marginInlineEnd:`calc(-2em - ${Bt.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Bt.paddingXS}px)`}},[`${_t}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Bt.remainingColor,borderRadius:Bt.lineBorderRadius},[`${_t}-inner:not(${_t}-circle-gradient)`]:{[`${_t}-circle-path`]:{stroke:Bt.defaultColor}},[`${_t}-success-bg, ${_t}-bg`]:{position:"relative",backgroundColor:Bt.defaultColor,borderRadius:Bt.lineBorderRadius,transition:`all ${Bt.motionDurationSlow} ${Bt.motionEaseInOutCirc}`},[`${_t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Bt.colorSuccess},[`${_t}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Bt.marginXS,color:Bt.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[en]:{fontSize:Bt.fontSize}},[`&${_t}-status-active`]:{[`${_t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Bt.colorBgContainer,borderRadius:Bt.lineBorderRadius,opacity:0,animationName:Ke(),animationDuration:Bt.progressActiveMotionDuration,animationTimingFunction:Bt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${_t}-rtl${_t}-status-active`]:{[`${_t}-bg::before`]:{animationName:Ke(!0)}},[`&${_t}-status-exception`]:{[`${_t}-bg`]:{backgroundColor:Bt.colorError},[`${_t}-text`]:{color:Bt.colorError}},[`&${_t}-status-exception ${_t}-inner:not(${_t}-circle-gradient)`]:{[`${_t}-circle-path`]:{stroke:Bt.colorError}},[`&${_t}-status-success`]:{[`${_t}-bg`]:{backgroundColor:Bt.colorSuccess},[`${_t}-text`]:{color:Bt.colorSuccess}},[`&${_t}-status-success ${_t}-inner:not(${_t}-circle-gradient)`]:{[`${_t}-circle-path`]:{stroke:Bt.colorSuccess}}})}},Qe=Bt=>{const{componentCls:_t,iconCls:en}=Bt;return{[_t]:{[`${_t}-circle-trail`]:{stroke:Bt.remainingColor},[`&${_t}-circle ${_t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${_t}-circle ${_t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Bt.circleTextColor,fontSize:Bt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[en]:{fontSize:`${Bt.fontSize/Bt.fontSizeSM}em`}},[`${_t}-circle&-status-exception`]:{[`${_t}-text`]:{color:Bt.colorError}},[`${_t}-circle&-status-success`]:{[`${_t}-text`]:{color:Bt.colorSuccess}}},[`${_t}-inline-circle`]:{lineHeight:1,[`${_t}-inner`]:{verticalAlign:"bottom"}}}},ht=Bt=>{const{componentCls:_t}=Bt;return{[_t]:{[`${_t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Bt.progressStepMinWidth,marginInlineEnd:Bt.progressStepMarginInlineEnd,backgroundColor:Bt.remainingColor,transition:`all ${Bt.motionDurationSlow}`,"&-active":{backgroundColor:Bt.defaultColor}}}}}},Et=Bt=>{const{componentCls:_t,iconCls:en}=Bt;return{[_t]:{[`${_t}-small&-line, ${_t}-small&-line ${_t}-text ${en}`]:{fontSize:Bt.fontSizeSM}}}};var mt=(0,Le.Z)("Progress",Bt=>{const _t=Bt.marginXXS/2,en=(0,Ge.TS)(Bt,{progressStepMarginInlineEnd:_t,progressStepMinWidth:_t,progressActiveMotionDuration:"2.4s"});return[Xe(en),Qe(en),ht(en),Et(en)]},Bt=>({circleTextColor:Bt.colorText,defaultColor:Bt.colorInfo,remainingColor:Bt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Ft=function(Bt,_t){var en={};for(var on in Bt)Object.prototype.hasOwnProperty.call(Bt,on)&&_t.indexOf(on)<0&&(en[on]=Bt[on]);if(Bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xn=0,on=Object.getOwnPropertySymbols(Bt);xn<on.length;xn++)_t.indexOf(on[xn])<0&&Object.prototype.propertyIsEnumerable.call(Bt,on[xn])&&(en[on[xn]]=Bt[on[xn]]);return en};const Kt=null,jt=["normal","exception","active","success"];var Vt=He.forwardRef((Bt,_t)=>{const{prefixCls:en,className:on,rootClassName:xn,steps:zn,strokeColor:tr,percent:er=0,size:ur="default",showInfo:Dr=!0,type:Mr="line",status:Br,format:qr,style:Qr}=Bt,Lr=Ft(Bt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),ei=He.useMemo(()=>{var Pt,an;const gn=dt(Bt);return parseInt(gn!==void 0?(Pt=gn!=null?gn:0)===null||Pt===void 0?void 0:Pt.toString():(an=er!=null?er:0)===null||an===void 0?void 0:an.toString(),10)},[er,Bt.success,Bt.successPercent]),Er=He.useMemo(()=>!jt.includes(Br)&&ei>=100?"success":Br||"normal",[Br,ei]),{getPrefixCls:ot,direction:xi,progress:gi}=He.useContext(Ae.E_),Ln=ot("progress",en),[hr,ar]=mt(Ln),vr=He.useMemo(()=>{if(!Dr)return null;const Pt=dt(Bt);let an;const gn=qr||(Dt=>`${Dt}%`),Xt=Mr==="line";return qr||Er!=="exception"&&Er!=="success"?an=gn(at(er),at(Pt)):Er==="exception"?an=Xt?He.createElement(Ze.Z,null):He.createElement(Ne.Z,null):Er==="success"&&(an=Xt?He.createElement(gt.Z,null):He.createElement(oe.Z,null)),He.createElement("span",{className:`${Ln}-text`,title:typeof an=="string"?an:void 0},an)},[Dr,er,ei,Er,Mr,Ln,qr]),Un=Array.isArray(tr)?tr[0]:tr,Yn=typeof tr=="string"||Array.isArray(tr)?tr:void 0;let Qt;Mr==="line"?Qt=zn?He.createElement(Ce,Object.assign({},Bt,{strokeColor:Yn,prefixCls:Ln,steps:zn}),vr):He.createElement(_e,Object.assign({},Bt,{strokeColor:Un,prefixCls:Ln,direction:xi}),vr):(Mr==="circle"||Mr==="dashboard")&&(Qt=He.createElement(At,Object.assign({},Bt,{strokeColor:Un,prefixCls:Ln,progressStatus:Er}),vr));const Zt=ce()(Ln,`${Ln}-status-${Er}`,`${Ln}-${Mr==="dashboard"&&"circle"||zn&&"steps"||Mr}`,{[`${Ln}-inline-circle`]:Mr==="circle"&&ft(ur,"circle")[0]<=20,[`${Ln}-show-info`]:Dr,[`${Ln}-${ur}`]:typeof ur=="string",[`${Ln}-rtl`]:xi==="rtl"},gi==null?void 0:gi.className,on,xn,ar);return hr(He.createElement("div",Object.assign({ref:_t,style:Object.assign(Object.assign({},gi==null?void 0:gi.style),Qr),className:Zt,role:"progressbar","aria-valuenow":ei},(0,Ee.Z)(Lr,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Qt))}),nn=Vt},13570:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return at}});var He=We(96663),gt=We(59301),oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Ze=oe,Ne=We(7657),ge=function(St,xt){return gt.createElement(Ne.Z,(0,He.Z)({},St,{ref:xt,icon:Ze}))},ce=gt.forwardRef(ge),Ee=ce,Ae=We(92310),ye=We.n(Ae),De=We(90493),me=We(72071),xe=We(6620),fe=We(18929),z=We(10228),ee=We(26112);function ae(dt,St){var xt=dt.disabled,ft=dt.prefixCls,pt=dt.character,yt=dt.characterRender,Tt=dt.index,At=dt.count,Gt=dt.value,wt=dt.allowHalf,bt=dt.focused,it=dt.onHover,_e=dt.onClick,we=function(Qe){it(Qe,Tt)},Ce=function(Qe){_e(Qe,Tt)},Ye=function(Qe){Qe.keyCode===z.Z.ENTER&&_e(Qe,Tt)},Je=Tt+1,Le=new Set([ft]);Gt===0&&Tt===0&&bt?Le.add("".concat(ft,"-focused")):wt&&Gt+.5>=Je&&Gt<Je?(Le.add("".concat(ft,"-half")),Le.add("".concat(ft,"-active")),bt&&Le.add("".concat(ft,"-focused"))):(Je<=Gt?Le.add("".concat(ft,"-full")):Le.add("".concat(ft,"-zero")),Je===Gt&&bt&&Le.add("".concat(ft,"-focused")));var Ge=typeof pt=="function"?pt(dt):pt,Ke=gt.createElement("li",{className:ye()(Array.from(Le)),ref:St},gt.createElement("div",{onClick:xt?null:Ce,onKeyDown:xt?null:Ye,onMouseMove:xt?null:we,role:"radio","aria-checked":Gt>Tt?"true":"false","aria-posinset":Tt+1,"aria-setsize":At,tabIndex:xt?-1:0},gt.createElement("div",{className:"".concat(ft,"-first")},Ge),gt.createElement("div",{className:"".concat(ft,"-second")},Ge)));return yt&&(Ke=yt(Ke,dt)),Ke}var re=gt.forwardRef(ae);function le(){var dt=gt.useRef({});function St(ft){return dt.current[ft]}function xt(ft){return function(pt){dt.current[ft]=pt}}return[St,xt]}function ue(dt){var St=dt.pageXOffset,xt="scrollLeft";if(typeof St!="number"){var ft=dt.document;St=ft.documentElement[xt],typeof St!="number"&&(St=ft.body[xt])}return St}function pe(dt){var St,xt,ft=dt.ownerDocument,pt=ft.body,yt=ft&&ft.documentElement,Tt=dt.getBoundingClientRect();return St=Tt.left,xt=Tt.top,St-=yt.clientLeft||pt.clientLeft||0,xt-=yt.clientTop||pt.clientTop||0,{left:St,top:xt}}function Pe(dt){var St=pe(dt),xt=dt.ownerDocument,ft=xt.defaultView||xt.parentWindow;return St.left+=ue(ft),St.left}var be=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Ie(dt,St){var xt,ft=dt.prefixCls,pt=ft===void 0?"rc-rate":ft,yt=dt.className,Tt=dt.defaultValue,At=dt.value,Gt=dt.count,wt=Gt===void 0?5:Gt,bt=dt.allowHalf,it=bt===void 0?!1:bt,_e=dt.allowClear,we=_e===void 0?!0:_e,Ce=dt.character,Ye=Ce===void 0?"\u2605":Ce,Je=dt.characterRender,Le=dt.disabled,Ge=dt.direction,Ke=Ge===void 0?"ltr":Ge,Xe=dt.tabIndex,Qe=Xe===void 0?0:Xe,ht=dt.autoFocus,Et=dt.onHoverChange,mt=dt.onChange,Ft=dt.onFocus,Kt=dt.onBlur,jt=dt.onKeyDown,Wt=dt.onMouseLeave,Vt=(0,xe.Z)(dt,be),nn=le(),Bt=(0,me.Z)(nn,2),_t=Bt[0],en=Bt[1],on=gt.useRef(null),xn=function(){if(!Le){var Dt;(Dt=on.current)===null||Dt===void 0||Dt.focus()}};gt.useImperativeHandle(St,function(){return{focus:xn,blur:function(){if(!Le){var Dt;(Dt=on.current)===null||Dt===void 0||Dt.blur()}}}});var zn=(0,fe.Z)(Tt||0,{value:At}),tr=(0,me.Z)(zn,2),er=tr[0],ur=tr[1],Dr=(0,fe.Z)(null),Mr=(0,me.Z)(Dr,2),Br=Mr[0],qr=Mr[1],Qr=function(Dt,cn){var bn=Ke==="rtl",kn=Dt+1;if(it){var Gn=_t(Dt),Ht=Pe(Gn),An=Gn.clientWidth;(bn&&cn-Ht>An/2||!bn&&cn-Ht<An/2)&&(kn-=.5)}return kn},Lr=function(Dt){ur(Dt),mt==null||mt(Dt)},ei=gt.useState(!1),Er=(0,me.Z)(ei,2),ot=Er[0],xi=Er[1],gi=function(){xi(!0),Ft==null||Ft()},Ln=function(){xi(!1),Kt==null||Kt()},hr=gt.useState(null),ar=(0,me.Z)(hr,2),vr=ar[0],Un=ar[1],Yn=function(Dt,cn){var bn=Qr(cn,Dt.pageX);bn!==Br&&(Un(bn),qr(null)),Et==null||Et(bn)},Qt=function(Dt){Le||(Un(null),qr(null),Et==null||Et(void 0)),Dt&&(Wt==null||Wt(Dt))},Zt=function(Dt,cn){var bn=Qr(cn,Dt.pageX),kn=!1;we&&(kn=bn===er),Qt(),Lr(kn?0:bn),qr(kn?bn:null)},Pt=function(Dt){var cn=Dt.keyCode,bn=Ke==="rtl",kn=er;cn===z.Z.RIGHT&&kn<wt&&!bn?(it?kn+=.5:kn+=1,Lr(kn),Dt.preventDefault()):cn===z.Z.LEFT&&kn>0&&!bn||cn===z.Z.RIGHT&&kn>0&&bn?(it?kn-=.5:kn-=1,Lr(kn),Dt.preventDefault()):cn===z.Z.LEFT&&kn<wt&&bn&&(it?kn+=.5:kn+=1,Lr(kn),Dt.preventDefault()),jt==null||jt(Dt)};gt.useEffect(function(){ht&&!Le&&xn()},[]);var an=new Array(wt).fill(0).map(function(Xt,Dt){return gt.createElement(re,{ref:en(Dt),index:Dt,count:wt,disabled:Le,prefixCls:"".concat(pt,"-star"),allowHalf:it,value:vr===null?er:vr,onClick:Zt,onHover:Yn,key:Xt||Dt,character:Ye,characterRender:Je,focused:ot})}),gn=ye()(pt,yt,(xt={},(0,De.Z)(xt,"".concat(pt,"-disabled"),Le),(0,De.Z)(xt,"".concat(pt,"-rtl"),Ke==="rtl"),xt));return gt.createElement("ul",(0,He.Z)({className:gn,onMouseLeave:Qt,tabIndex:Le?-1:Qe,onFocus:Le?null:gi,onBlur:Le?null:Ln,onKeyDown:Le?null:Pt,ref:on,role:"radiogroup"},(0,ee.Z)(Vt,{aria:!0,data:!0,attr:!0})),an)}var Me=gt.forwardRef(Ie),Oe=Me,Te=We(36355),je=We(6848),ze=We(17313),$e=We(83116),Ue=We(37613);const qe=dt=>{const{componentCls:St}=dt;return{[`${St}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:dt.marginXS},"> div":{transition:`all ${dt.motionDurationMid}, outline 0s`,"&:hover":{transform:dt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${dt.lineWidth}px dashed ${dt.starColor}`,transform:dt.starHoverScale}},"&-first, &-second":{color:dt.starBg,transition:`all ${dt.motionDurationMid}`,userSelect:"none",[dt.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${St}-star-first, &-half ${St}-star-second`]:{opacity:1},[`&-half ${St}-star-first, &-full ${St}-star-second`]:{color:"inherit"}}}},et=dt=>({[`&-rtl${dt.componentCls}`]:{direction:"rtl"}}),lt=dt=>{const{componentCls:St}=dt;return{[St]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ze.Wf)(dt)),{display:"inline-block",margin:0,padding:0,color:dt.starColor,fontSize:dt.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${St} ${St}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),qe(dt)),{[`+ ${St}-text`]:{display:"inline-block",marginInlineStart:dt.marginXS,fontSize:dt.fontSize}}),et(dt))}};var ut=(0,$e.Z)("Rate",dt=>{const St=(0,Ue.TS)(dt,{});return[lt(St)]},dt=>({starColor:dt.yellow6,starSize:dt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:dt.colorFillContent})),vt=function(dt,St){var xt={};for(var ft in dt)Object.prototype.hasOwnProperty.call(dt,ft)&&St.indexOf(ft)<0&&(xt[ft]=dt[ft]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,ft=Object.getOwnPropertySymbols(dt);pt<ft.length;pt++)St.indexOf(ft[pt])<0&&Object.prototype.propertyIsEnumerable.call(dt,ft[pt])&&(xt[ft[pt]]=dt[ft[pt]]);return xt},at=gt.forwardRef((dt,St)=>{const{prefixCls:xt,className:ft,rootClassName:pt,style:yt,tooltips:Tt,character:At=gt.createElement(Ee,null)}=dt,Gt=vt(dt,["prefixCls","className","rootClassName","style","tooltips","character"]),wt=(Le,Ge)=>{let{index:Ke}=Ge;return Tt?gt.createElement(je.Z,{title:Tt[Ke]},Le):Le},{getPrefixCls:bt,direction:it,rate:_e}=gt.useContext(Te.E_),we=bt("rate",xt),[Ce,Ye]=ut(we),Je=Object.assign(Object.assign({},_e==null?void 0:_e.style),yt);return Ce(gt.createElement(Oe,Object.assign({ref:St,character:At,characterRender:wt},Gt,{className:ye()(ft,pt,Ye,_e==null?void 0:_e.className),style:Je,prefixCls:we,direction:it})))})},57809:function(Nn,fn,We){"use strict";var He=We(92310),gt=We.n(He),oe=We(77861),Ze=We(2738),Ne=We(59301),ge=We(53487),ce=We(62892),Ee=We(19080),Ae=We(36355),ye=We(1684),De=We(93891),me=We(19716),xe=We(32441),fe=We(33234),z=We(14154),ee=We(58582),ae=We(84443),re=We(66339),le=function(Ie,Me){var Oe={};for(var Te in Ie)Object.prototype.hasOwnProperty.call(Ie,Te)&&Me.indexOf(Te)<0&&(Oe[Te]=Ie[Te]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,Te=Object.getOwnPropertySymbols(Ie);je<Te.length;je++)Me.indexOf(Te[je])<0&&Object.prototype.propertyIsEnumerable.call(Ie,Te[je])&&(Oe[Te[je]]=Ie[Te[je]]);return Oe};const ue="SECRET_COMBOBOX_MODE_DO_NOT_USE",pe=(Ie,Me)=>{var Oe,{prefixCls:Te,bordered:je=!0,className:ze,rootClassName:$e,getPopupContainer:Ue,popupClassName:qe,dropdownClassName:et,listHeight:lt=256,placement:ut,listItemHeight:vt=24,size:tt,disabled:at,notFoundContent:dt,status:St,builtinPlacements:xt,dropdownMatchSelectWidth:ft,popupMatchSelectWidth:pt,direction:yt,style:Tt,allowClear:At}=Ie,Gt=le(Ie,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:wt,getPrefixCls:bt,renderEmpty:it,direction:_e,virtual:we,popupMatchSelectWidth:Ce,popupOverflow:Ye,select:Je}=Ne.useContext(Ae.E_),Le=bt("select",Te),Ge=bt(),Ke=yt!=null?yt:_e,{compactSize:Xe,compactItemClassnames:Qe}=(0,fe.ri)(Le,Ke),[ht,Et]=(0,z.Z)(Le),mt=Ne.useMemo(()=>{const{mode:Er}=Gt;if(Er!=="combobox")return Er===ue?"combobox":Er},[Gt.mode]),Ft=mt==="multiple"||mt==="tags",Kt=(0,ae.Z)(Gt.suffixIcon,Gt.showArrow),jt=(Oe=pt!=null?pt:ft)!==null&&Oe!==void 0?Oe:Ce,{status:Wt,hasFeedback:Vt,isFormItemInput:nn,feedbackIcon:Bt}=Ne.useContext(xe.aM),_t=(0,Ee.F)(Wt,St);let en;dt!==void 0?en=dt:mt==="combobox"?en=null:en=(it==null?void 0:it("Select"))||Ne.createElement(De.Z,{componentName:"Select"});const{suffixIcon:on,itemIcon:xn,removeIcon:zn,clearIcon:tr}=(0,re.Z)(Object.assign(Object.assign({},Gt),{multiple:Ft,hasFeedback:Vt,feedbackIcon:Bt,showSuffixIcon:Kt,prefixCls:Le,showArrow:Gt.showArrow,componentName:"Select"})),er=At===!0?{clearIcon:tr}:At,ur=(0,Ze.Z)(Gt,["suffixIcon","itemIcon"]),Dr=gt()(qe||et,{[`${Le}-dropdown-${Ke}`]:Ke==="rtl"},$e,Et),Mr=(0,me.Z)(Er=>{var ot;return(ot=tt!=null?tt:Xe)!==null&&ot!==void 0?ot:Er}),Br=Ne.useContext(ye.Z),qr=at!=null?at:Br,Qr=gt()({[`${Le}-lg`]:Mr==="large",[`${Le}-sm`]:Mr==="small",[`${Le}-rtl`]:Ke==="rtl",[`${Le}-borderless`]:!je,[`${Le}-in-form-item`]:nn},(0,Ee.Z)(Le,_t,Vt),Qe,Je==null?void 0:Je.className,ze,$e,Et),Lr=Ne.useMemo(()=>ut!==void 0?ut:Ke==="rtl"?"bottomRight":"bottomLeft",[ut,Ke]),ei=(0,ee.Z)(xt,Ye);return ht(Ne.createElement(oe.ZP,Object.assign({ref:Me,virtual:we,showSearch:Je==null?void 0:Je.showSearch},ur,{style:Object.assign(Object.assign({},Je==null?void 0:Je.style),Tt),dropdownMatchSelectWidth:jt,builtinPlacements:ei,transitionName:(0,ce.m)(Ge,"slide-up",Gt.transitionName),listHeight:lt,listItemHeight:vt,mode:mt,prefixCls:Le,placement:Lr,direction:Ke,suffixIcon:on,menuItemSelectedIcon:xn,removeIcon:zn,allowClear:er,notFoundContent:en,className:Qr,getPopupContainer:Ue||wt,dropdownClassName:Dr,disabled:qr})))},Pe=Ne.forwardRef(pe),be=(0,ge.Z)(Pe);Pe.SECRET_COMBOBOX_MODE_DO_NOT_USE=ue,Pe.Option=oe.Wx,Pe.OptGroup=oe.Xo,Pe._InternalPanelDoNotUseOrYouWillBeFired=be,fn.default=Pe},14154:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Pe}});var He=We(17313),gt=We(74207),oe=We(37613),Ze=We(83116),Ne=We(13826),ge=We(92899);const ce=be=>{const{optionHeight:Ie,optionFontSize:Me,optionLineHeight:Oe,optionPadding:Te}=be;return{position:"relative",display:"block",minHeight:Ie,padding:Te,color:be.colorText,fontWeight:"normal",fontSize:Me,lineHeight:Oe,boxSizing:"border-box"}};var Ae=be=>{const{antCls:Ie,componentCls:Me}=be,Oe=`${Me}-item`,Te=`&${Ie}-slide-up-enter${Ie}-slide-up-enter-active`,je=`&${Ie}-slide-up-appear${Ie}-slide-up-appear-active`,ze=`&${Ie}-slide-up-leave${Ie}-slide-up-leave-active`,$e=`${Me}-dropdown-placement-`;return[{[`${Me}-dropdown`]:Object.assign(Object.assign({},(0,He.Wf)(be)),{position:"absolute",top:-9999,zIndex:be.zIndexPopup,boxSizing:"border-box",padding:be.paddingXXS,overflow:"hidden",fontSize:be.fontSize,fontVariant:"initial",backgroundColor:be.colorBgElevated,borderRadius:be.borderRadiusLG,outline:"none",boxShadow:be.boxShadowSecondary,[`
${Te}${$e}bottomLeft,
${je}${$e}bottomLeft
`]:{animationName:Ne.fJ},[`
${Te}${$e}topLeft,
${je}${$e}topLeft,
${Te}${$e}topRight,
${je}${$e}topRight
`]:{animationName:Ne.Qt},[`${ze}${$e}bottomLeft`]:{animationName:Ne.Uw},[`
${ze}${$e}topLeft,
${ze}${$e}topRight
`]:{animationName:Ne.ly},"&-hidden":{display:"none"},[`${Oe}`]:Object.assign(Object.assign({},ce(be)),{cursor:"pointer",transition:`background ${be.motionDurationSlow} ease`,borderRadius:be.borderRadiusSM,"&-group":{color:be.colorTextDescription,fontSize:be.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},He.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${Oe}-option-disabled)`]:{backgroundColor:be.optionActiveBg},[`&-selected:not(${Oe}-option-disabled)`]:{color:be.optionSelectedColor,fontWeight:be.optionSelectedFontWeight,backgroundColor:be.optionSelectedBg,[`${Oe}-option-state`]:{color:be.colorPrimary}},"&-disabled":{[`&${Oe}-option-selected`]:{backgroundColor:be.colorBgContainerDisabled},color:be.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:be.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,Ne.oN)(be,"slide-up"),(0,Ne.oN)(be,"slide-down"),(0,ge.Fm)(be,"move-up"),(0,ge.Fm)(be,"move-down")]};const ye=2,De=be=>{let{controlHeightSM:Ie,controlHeight:Me,lineWidth:Oe}=be;const Te=(Me-Ie)/2-Oe,je=Math.ceil(Te/2);return[Te,je]};function me(be,Ie){const{componentCls:Me,iconCls:Oe}=be,Te=`${Me}-selection-overflow`,je=be.multipleSelectItemHeight,[ze]=De(be),$e=Ie?`${Me}-${Ie}`:"";return{[`${Me}-multiple${$e}`]:{fontSize:be.fontSize,[Te]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${Me}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${ze-ye}px ${ye*2}px`,borderRadius:be.borderRadius,[`${Me}-show-search&`]:{cursor:"text"},[`${Me}-disabled&`]:{background:be.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${ye}px 0`,lineHeight:`${je}px`,visibility:"hidden",content:'"\\a0"'}},[`
&${Me}-show-arrow ${Me}-selector,
&${Me}-allow-clear ${Me}-selector
`]:{paddingInlineEnd:be.fontSizeIcon+be.controlPaddingHorizontal},[`${Me}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:je,marginTop:ye,marginBottom:ye,lineHeight:`${je-be.lineWidth*2}px`,background:be.multipleItemBg,border:`${be.lineWidth}px ${be.lineType} ${be.multipleItemBorderColor}`,borderRadius:be.borderRadiusSM,cursor:"default",transition:`font-size ${be.motionDurationSlow}, line-height ${be.motionDurationSlow}, height ${be.motionDurationSlow}`,userSelect:"none",marginInlineEnd:ye*2,paddingInlineStart:be.paddingXS,paddingInlineEnd:be.paddingXS/2,[`${Me}-disabled&`]:{color:be.multipleItemColorDisabled,borderColor:be.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:be.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,He.Ro)()),{display:"inline-flex",alignItems:"center",color:be.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${Oe}`]:{verticalAlign:"-0.2em"},"&:hover":{color:be.colorIconHover}})},[`${Te}-item + ${Te}-item`]:{[`${Me}-selection-search`]:{marginInlineStart:0}},[`${Me}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:be.inputPaddingHorizontalBase-ze,"\n &-input,\n &-mirror\n ":{height:je,fontFamily:be.fontFamily,lineHeight:`${je}px`,transition:`all ${be.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${Me}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:be.inputPaddingHorizontalBase,insetInlineEnd:be.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${be.motionDurationSlow}`}}}}var fe=be=>{const{componentCls:Ie}=be,Me=(0,oe.TS)(be,{controlHeight:be.controlHeightSM,multipleSelectItemHeight:be.controlHeightXS,borderRadius:be.borderRadiusSM,borderRadiusSM:be.borderRadiusXS}),Oe=(0,oe.TS)(be,{fontSize:be.fontSizeLG,controlHeight:be.controlHeightLG,multipleSelectItemHeight:be.multipleItemHeightLG,borderRadius:be.borderRadiusLG,borderRadiusSM:be.borderRadius}),[,Te]=De(be);return[me(be),me(Me,"sm"),{[`${Ie}-multiple${Ie}-sm`]:{[`${Ie}-selection-placeholder`]:{insetInline:be.controlPaddingHorizontalSM-be.lineWidth},[`${Ie}-selection-search`]:{marginInlineStart:Te}}},me(Oe,"lg")]};function z(be,Ie){const{componentCls:Me,inputPaddingHorizontalBase:Oe,borderRadius:Te}=be,je=be.controlHeight-be.lineWidth*2,ze=Math.ceil(be.fontSize*1.25),$e=Ie?`${Me}-${Ie}`:"";return{[`${Me}-single${$e}`]:{fontSize:be.fontSize,[`${Me}-selector`]:Object.assign(Object.assign({},(0,He.Wf)(be)),{display:"flex",borderRadius:Te,[`${Me}-selection-search`]:{position:"absolute",top:0,insetInlineStart:Oe,insetInlineEnd:Oe,bottom:0,"&-input":{width:"100%"}},[`
${Me}-selection-item,
${Me}-selection-placeholder
`]:{padding:0,lineHeight:`${je}px`,transition:`all ${be.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${je}px`}},[`${Me}-selection-item`]:{position:"relative",userSelect:"none"},[`${Me}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${Me}-selection-item:after`,`${Me}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
&${Me}-show-arrow ${Me}-selection-item,
&${Me}-show-arrow ${Me}-selection-placeholder
`]:{paddingInlineEnd:ze},[`&${Me}-open ${Me}-selection-item`]:{color:be.colorTextPlaceholder},[`&:not(${Me}-customize-input)`]:{[`${Me}-selector`]:{width:"100%",height:be.controlHeight,padding:`0 ${Oe}px`,[`${Me}-selection-search-input`]:{height:je},"&:after":{lineHeight:`${je}px`}}},[`&${Me}-customize-input`]:{[`${Me}-selector`]:{"&:after":{display:"none"},[`${Me}-selection-search`]:{position:"static",width:"100%"},[`${Me}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${Oe}px`,"&:after":{display:"none"}}}}}}}function ee(be){const{componentCls:Ie}=be,Me=be.controlPaddingHorizontalSM-be.lineWidth;return[z(be),z((0,oe.TS)(be,{controlHeight:be.controlHeightSM,borderRadius:be.borderRadiusSM}),"sm"),{[`${Ie}-single${Ie}-sm`]:{[`&:not(${Ie}-customize-input)`]:{[`${Ie}-selection-search`]:{insetInlineStart:Me,insetInlineEnd:Me},[`${Ie}-selector`]:{padding:`0 ${Me}px`},[`&${Ie}-show-arrow ${Ie}-selection-search`]:{insetInlineEnd:Me+be.fontSize*1.5},[`
&${Ie}-show-arrow ${Ie}-selection-item,
&${Ie}-show-arrow ${Ie}-selection-placeholder
`]:{paddingInlineEnd:be.fontSize*1.5}}}},z((0,oe.TS)(be,{controlHeight:be.singleItemHeightLG,fontSize:be.fontSizeLG,borderRadius:be.borderRadiusLG}),"lg")]}const ae=be=>{const{componentCls:Ie,selectorBg:Me}=be;return{position:"relative",backgroundColor:Me,border:`${be.lineWidth}px ${be.lineType} ${be.colorBorder}`,transition:`all ${be.motionDurationMid} ${be.motionEaseInOut}`,input:{cursor:"pointer"},[`${Ie}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${Ie}-disabled&`]:{color:be.colorTextDisabled,background:be.colorBgContainerDisabled,cursor:"not-allowed",[`${Ie}-multiple&`]:{background:be.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},re=function(be,Ie){let Me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:Oe,borderHoverColor:Te,outlineColor:je,antCls:ze}=Ie,$e=Me?{[`${Oe}-selector`]:{borderColor:Te}}:{};return{[be]:{[`&:not(${Oe}-disabled):not(${Oe}-customize-input):not(${ze}-pagination-size-changer)`]:Object.assign(Object.assign({},$e),{[`${Oe}-focused& ${Oe}-selector`]:{borderColor:Te,boxShadow:`0 0 0 ${Ie.controlOutlineWidth}px ${je}`,outline:0},[`&:hover ${Oe}-selector`]:{borderColor:Te}})}}},le=be=>{const{componentCls:Ie}=be;return{[`${Ie}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},ue=be=>{const{componentCls:Ie,inputPaddingHorizontalBase:Me,iconCls:Oe}=be;return{[Ie]:Object.assign(Object.assign({},(0,He.Wf)(be)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${Ie}-customize-input) ${Ie}-selector`]:Object.assign(Object.assign({},ae(be)),le(be)),[`${Ie}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},He.vS),[`${Ie}-selection-placeholder`]:Object.assign(Object.assign({},He.vS),{flex:1,color:be.colorTextPlaceholder,pointerEvents:"none"}),[`${Ie}-arrow`]:Object.assign(Object.assign({},(0,He.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Me,height:be.fontSizeIcon,marginTop:-be.fontSizeIcon/2,color:be.colorTextQuaternary,fontSize:be.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[Oe]:{verticalAlign:"top",transition:`transform ${be.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${Ie}-suffix)`]:{pointerEvents:"auto"}},[`${Ie}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${Ie}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Me,zIndex:1,display:"inline-block",width:be.fontSizeIcon,height:be.fontSizeIcon,marginTop:-be.fontSizeIcon/2,color:be.colorTextQuaternary,fontSize:be.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:be.clearBg,cursor:"pointer",opacity:0,transition:`color ${be.motionDurationMid} ease, opacity ${be.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:be.colorTextTertiary}},"&:hover":{[`${Ie}-clear`]:{opacity:1}}}),[`${Ie}-has-feedback`]:{[`${Ie}-clear`]:{insetInlineEnd:Me+be.fontSize+be.paddingXS}}}},pe=be=>{const{componentCls:Ie}=be;return[{[Ie]:{[`&-borderless ${Ie}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${Ie}-in-form-item`]:{width:"100%"}}},ue(be),ee(be),fe(be),Ae(be),{[`${Ie}-rtl`]:{direction:"rtl"}},re(Ie,(0,oe.TS)(be,{borderHoverColor:be.colorPrimaryHover,outlineColor:be.controlOutline})),re(`${Ie}-status-error`,(0,oe.TS)(be,{borderHoverColor:be.colorErrorHover,outlineColor:be.colorErrorOutline}),!0),re(`${Ie}-status-warning`,(0,oe.TS)(be,{borderHoverColor:be.colorWarningHover,outlineColor:be.colorWarningOutline}),!0),(0,gt.c)(be,{borderElCls:`${Ie}-selector`,focusElCls:`${Ie}-focused`})]};var Pe=(0,Ze.Z)("Select",(be,Ie)=>{let{rootPrefixCls:Me}=Ie;const Oe=(0,oe.TS)(be,{rootPrefixCls:Me,inputPaddingHorizontalBase:be.paddingSM-1,multipleSelectItemHeight:be.multipleItemHeight});return[pe(Oe)]},be=>{const{fontSize:Ie,lineHeight:Me,controlHeight:Oe,controlPaddingHorizontal:Te,zIndexPopupBase:je,colorText:ze,fontWeightStrong:$e,controlItemBgActive:Ue,controlItemBgHover:qe,colorBgContainer:et,colorFillSecondary:lt,controlHeightLG:ut,controlHeightSM:vt,colorBgContainerDisabled:tt,colorTextDisabled:at}=be;return{zIndexPopup:je+50,optionSelectedColor:ze,optionSelectedFontWeight:$e,optionSelectedBg:Ue,optionActiveBg:qe,optionPadding:`${(Oe-Ie*Me)/2}px ${Te}px`,optionFontSize:Ie,optionLineHeight:Me,optionHeight:Oe,selectorBg:et,clearBg:et,singleItemHeightLG:ut,multipleItemBg:lt,multipleItemBorderColor:"transparent",multipleItemHeight:vt,multipleItemHeightLG:Oe,multipleSelectorBgDisabled:tt,multipleItemColorDisabled:at,multipleItemBorderColorDisabled:"transparent"}})},58582:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return gt}});const He=oe=>{const Ne={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:oe==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},Ne),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},Ne),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},Ne),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},Ne),{points:["br","tr"],offset:[0,-4]})}};function gt(oe,Ze){return oe||He(Ze)}},84443:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return He}});function He(gt,oe){return oe!==void 0?oe:gt!==null}},66339:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ee}});var He=We(40001),gt=We(19248),oe=We(99267),Ze=We(84105),Ne=We(58617),ge=We(47472),ce=We(59301);function Ee(Ae){let{suffixIcon:ye,clearIcon:De,menuItemSelectedIcon:me,removeIcon:xe,loading:fe,multiple:z,hasFeedback:ee,prefixCls:ae,showSuffixIcon:re,feedbackIcon:le,showArrow:ue,componentName:pe}=Ae;const Pe=De!=null?De:ce.createElement(gt.Z,null),be=Te=>ye===null&&!ee&&!ue?null:ce.createElement(ce.Fragment,null,re!==!1&&Te,ee&&le);let Ie=null;if(ye!==void 0)Ie=be(ye);else if(fe)Ie=be(ce.createElement(Ne.Z,{spin:!0}));else{const Te=`${ae}-suffix`;Ie=je=>{let{open:ze,showSearch:$e}=je;return be(ze&&$e?ce.createElement(ge.Z,{className:Te}):ce.createElement(Ze.Z,{className:Te}))}}let Me=null;me!==void 0?Me=me:z?Me=ce.createElement(He.Z,null):Me=null;let Oe=null;return xe!==void 0?Oe=xe:Oe=ce.createElement(oe.Z,null),{clearIcon:Pe,suffixIcon:Ie,itemIcon:Me,removeIcon:Oe}}},61621:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ye}});var He=We(92310),gt=We.n(He),oe=We(59301),Ze=We(36355),Ne=We(2738),ce=Je=>{const{prefixCls:Le,className:Ge,style:Ke,size:Xe,shape:Qe}=Je,ht=gt()({[`${Le}-lg`]:Xe==="large",[`${Le}-sm`]:Xe==="small"}),Et=gt()({[`${Le}-circle`]:Qe==="circle",[`${Le}-square`]:Qe==="square",[`${Le}-round`]:Qe==="round"}),mt=oe.useMemo(()=>typeof Xe=="number"?{width:Xe,height:Xe,lineHeight:`${Xe}px`}:{},[Xe]);return oe.createElement("span",{className:gt()(Le,ht,Et,Ge),style:Object.assign(Object.assign({},mt),Ke)})},Ee=We(93083),Ae=We(83116),ye=We(37613);const De=new Ee.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),me=Je=>({height:Je,lineHeight:`${Je}px`}),xe=Je=>Object.assign({width:Je},me(Je)),fe=Je=>({background:Je.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:De,animationDuration:Je.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),z=Je=>Object.assign({width:Je*5,minWidth:Je*5},me(Je)),ee=Je=>{const{skeletonAvatarCls:Le,gradientFromColor:Ge,controlHeight:Ke,controlHeightLG:Xe,controlHeightSM:Qe}=Je;return{[`${Le}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ge},xe(Ke)),[`${Le}${Le}-circle`]:{borderRadius:"50%"},[`${Le}${Le}-lg`]:Object.assign({},xe(Xe)),[`${Le}${Le}-sm`]:Object.assign({},xe(Qe))}},ae=Je=>{const{controlHeight:Le,borderRadiusSM:Ge,skeletonInputCls:Ke,controlHeightLG:Xe,controlHeightSM:Qe,gradientFromColor:ht}=Je;return{[`${Ke}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ht,borderRadius:Ge},z(Le)),[`${Ke}-lg`]:Object.assign({},z(Xe)),[`${Ke}-sm`]:Object.assign({},z(Qe))}},re=Je=>Object.assign({width:Je},me(Je)),le=Je=>{const{skeletonImageCls:Le,imageSizeBase:Ge,gradientFromColor:Ke,borderRadiusSM:Xe}=Je;return{[`${Le}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Ke,borderRadius:Xe},re(Ge*2)),{[`${Le}-path`]:{fill:"#bfbfbf"},[`${Le}-svg`]:Object.assign(Object.assign({},re(Ge)),{maxWidth:Ge*4,maxHeight:Ge*4}),[`${Le}-svg${Le}-svg-circle`]:{borderRadius:"50%"}}),[`${Le}${Le}-circle`]:{borderRadius:"50%"}}},ue=(Je,Le,Ge)=>{const{skeletonButtonCls:Ke}=Je;return{[`${Ge}${Ke}-circle`]:{width:Le,minWidth:Le,borderRadius:"50%"},[`${Ge}${Ke}-round`]:{borderRadius:Le}}},pe=Je=>Object.assign({width:Je*2,minWidth:Je*2},me(Je)),Pe=Je=>{const{borderRadiusSM:Le,skeletonButtonCls:Ge,controlHeight:Ke,controlHeightLG:Xe,controlHeightSM:Qe,gradientFromColor:ht}=Je;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Ge}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ht,borderRadius:Le,width:Ke*2,minWidth:Ke*2},pe(Ke))},ue(Je,Ke,Ge)),{[`${Ge}-lg`]:Object.assign({},pe(Xe))}),ue(Je,Xe,`${Ge}-lg`)),{[`${Ge}-sm`]:Object.assign({},pe(Qe))}),ue(Je,Qe,`${Ge}-sm`))},be=Je=>{const{componentCls:Le,skeletonAvatarCls:Ge,skeletonTitleCls:Ke,skeletonParagraphCls:Xe,skeletonButtonCls:Qe,skeletonInputCls:ht,skeletonImageCls:Et,controlHeight:mt,controlHeightLG:Ft,controlHeightSM:Kt,gradientFromColor:jt,padding:Wt,marginSM:Vt,borderRadius:nn,titleHeight:Bt,blockRadius:_t,paragraphLiHeight:en,controlHeightXS:on,paragraphMarginTop:xn}=Je;return{[`${Le}`]:{display:"table",width:"100%",[`${Le}-header`]:{display:"table-cell",paddingInlineEnd:Wt,verticalAlign:"top",[`${Ge}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:jt},xe(mt)),[`${Ge}-circle`]:{borderRadius:"50%"},[`${Ge}-lg`]:Object.assign({},xe(Ft)),[`${Ge}-sm`]:Object.assign({},xe(Kt))},[`${Le}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Ke}`]:{width:"100%",height:Bt,background:jt,borderRadius:_t,[`+ ${Xe}`]:{marginBlockStart:Kt}},[`${Xe}`]:{padding:0,"> li":{width:"100%",height:en,listStyle:"none",background:jt,borderRadius:_t,"+ li":{marginBlockStart:on}}},[`${Xe}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Le}-content`]:{[`${Ke}, ${Xe} > li`]:{borderRadius:nn}}},[`${Le}-with-avatar ${Le}-content`]:{[`${Ke}`]:{marginBlockStart:Vt,[`+ ${Xe}`]:{marginBlockStart:xn}}},[`${Le}${Le}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},Pe(Je)),ee(Je)),ae(Je)),le(Je)),[`${Le}${Le}-block`]:{width:"100%",[`${Qe}`]:{width:"100%"},[`${ht}`]:{width:"100%"}},[`${Le}${Le}-active`]:{[`
${Ke},
${Xe} > li,
${Ge},
${Qe},
${ht},
${Et}
`]:Object.assign({},fe(Je))}}};var Ie=(0,Ae.Z)("Skeleton",Je=>{const{componentCls:Le}=Je,Ge=(0,ye.TS)(Je,{skeletonAvatarCls:`${Le}-avatar`,skeletonTitleCls:`${Le}-title`,skeletonParagraphCls:`${Le}-paragraph`,skeletonButtonCls:`${Le}-button`,skeletonInputCls:`${Le}-input`,skeletonImageCls:`${Le}-image`,imageSizeBase:Je.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${Je.gradientFromColor} 25%, ${Je.gradientToColor} 37%, ${Je.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[be(Ge)]},Je=>{const{colorFillContent:Le,colorFill:Ge}=Je,Ke=Le,Xe=Ge;return{color:Ke,colorGradientEnd:Xe,gradientFromColor:Ke,gradientToColor:Xe,titleHeight:Je.controlHeight/2,blockRadius:Je.borderRadiusSM,paragraphMarginTop:Je.marginLG+Je.marginXXS,paragraphLiHeight:Je.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Oe=Je=>{const{prefixCls:Le,className:Ge,rootClassName:Ke,active:Xe,shape:Qe="circle",size:ht="default"}=Je,{getPrefixCls:Et}=oe.useContext(Ze.E_),mt=Et("skeleton",Le),[Ft,Kt]=Ie(mt),jt=(0,Ne.Z)(Je,["prefixCls","className"]),Wt=gt()(mt,`${mt}-element`,{[`${mt}-active`]:Xe},Ge,Ke,Kt);return Ft(oe.createElement("div",{className:Wt},oe.createElement(ce,Object.assign({prefixCls:`${mt}-avatar`,shape:Qe,size:ht},jt))))},je=Je=>{const{prefixCls:Le,className:Ge,rootClassName:Ke,active:Xe,block:Qe=!1,size:ht="default"}=Je,{getPrefixCls:Et}=oe.useContext(Ze.E_),mt=Et("skeleton",Le),[Ft,Kt]=Ie(mt),jt=(0,Ne.Z)(Je,["prefixCls"]),Wt=gt()(mt,`${mt}-element`,{[`${mt}-active`]:Xe,[`${mt}-block`]:Qe},Ge,Ke,Kt);return Ft(oe.createElement("div",{className:Wt},oe.createElement(ce,Object.assign({prefixCls:`${mt}-button`,size:ht},jt))))};const ze="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Ue=Je=>{const{prefixCls:Le,className:Ge,rootClassName:Ke,style:Xe,active:Qe}=Je,{getPrefixCls:ht}=oe.useContext(Ze.E_),Et=ht("skeleton",Le),[mt,Ft]=Ie(Et),Kt=gt()(Et,`${Et}-element`,{[`${Et}-active`]:Qe},Ge,Ke,Ft);return mt(oe.createElement("div",{className:Kt},oe.createElement("div",{className:gt()(`${Et}-image`,Ge),style:Xe},oe.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Et}-image-svg`},oe.createElement("path",{d:ze,className:`${Et}-image-path`})))))},et=Je=>{const{prefixCls:Le,className:Ge,rootClassName:Ke,active:Xe,block:Qe,size:ht="default"}=Je,{getPrefixCls:Et}=oe.useContext(Ze.E_),mt=Et("skeleton",Le),[Ft,Kt]=Ie(mt),jt=(0,Ne.Z)(Je,["prefixCls"]),Wt=gt()(mt,`${mt}-element`,{[`${mt}-active`]:Xe,[`${mt}-block`]:Qe},Ge,Ke,Kt);return Ft(oe.createElement("div",{className:Wt},oe.createElement(ce,Object.assign({prefixCls:`${mt}-input`,size:ht},jt))))},lt=We(96663),ut={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},vt=ut,tt=We(7657),at=function(Le,Ge){return oe.createElement(tt.Z,(0,lt.Z)({},Le,{ref:Ge,icon:vt}))},dt=oe.forwardRef(at),St=dt,ft=Je=>{const{prefixCls:Le,className:Ge,rootClassName:Ke,style:Xe,active:Qe,children:ht}=Je,{getPrefixCls:Et}=oe.useContext(Ze.E_),mt=Et("skeleton",Le),[Ft,Kt]=Ie(mt),jt=gt()(mt,`${mt}-element`,{[`${mt}-active`]:Qe},Kt,Ge,Ke),Wt=ht!=null?ht:oe.createElement(St,null);return Ft(oe.createElement("div",{className:jt},oe.createElement("div",{className:gt()(`${mt}-image`,Ge),style:Xe},Wt)))},pt=We(19127),Tt=Je=>{const Le=Et=>{const{width:mt,rows:Ft=2}=Je;if(Array.isArray(mt))return mt[Et];if(Ft-1===Et)return mt},{prefixCls:Ge,className:Ke,style:Xe,rows:Qe}=Je,ht=(0,pt.Z)(Array(Qe)).map((Et,mt)=>oe.createElement("li",{key:mt,style:{width:Le(mt)}}));return oe.createElement("ul",{className:gt()(Ge,Ke),style:Xe},ht)},Gt=Je=>{let{prefixCls:Le,className:Ge,width:Ke,style:Xe}=Je;return oe.createElement("h3",{className:gt()(Le,Ge),style:Object.assign({width:Ke},Xe)})};function wt(Je){return Je&&typeof Je=="object"?Je:{}}function bt(Je,Le){return Je&&!Le?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function it(Je,Le){return!Je&&Le?{width:"38%"}:Je&&Le?{width:"50%"}:{}}function _e(Je,Le){const Ge={};return(!Je||!Le)&&(Ge.width="61%"),!Je&&Le?Ge.rows=3:Ge.rows=2,Ge}const we=Je=>{const{prefixCls:Le,loading:Ge,className:Ke,rootClassName:Xe,style:Qe,children:ht,avatar:Et=!1,title:mt=!0,paragraph:Ft=!0,active:Kt,round:jt}=Je,{getPrefixCls:Wt,direction:Vt,skeleton:nn}=oe.useContext(Ze.E_),Bt=Wt("skeleton",Le),[_t,en]=Ie(Bt);if(Ge||!("loading"in Je)){const on=!!Et,xn=!!mt,zn=!!Ft;let tr;if(on){const Dr=Object.assign(Object.assign({prefixCls:`${Bt}-avatar`},bt(xn,zn)),wt(Et));tr=oe.createElement("div",{className:`${Bt}-header`},oe.createElement(ce,Object.assign({},Dr)))}let er;if(xn||zn){let Dr;if(xn){const Br=Object.assign(Object.assign({prefixCls:`${Bt}-title`},it(on,zn)),wt(mt));Dr=oe.createElement(Gt,Object.assign({},Br))}let Mr;if(zn){const Br=Object.assign(Object.assign({prefixCls:`${Bt}-paragraph`},_e(on,xn)),wt(Ft));Mr=oe.createElement(Tt,Object.assign({},Br))}er=oe.createElement("div",{className:`${Bt}-content`},Dr,Mr)}const ur=gt()(Bt,{[`${Bt}-with-avatar`]:on,[`${Bt}-active`]:Kt,[`${Bt}-rtl`]:Vt==="rtl",[`${Bt}-round`]:jt},nn==null?void 0:nn.className,Ke,Xe,en);return _t(oe.createElement("div",{className:ur,style:Object.assign(Object.assign({},nn==null?void 0:nn.style),Qe)},tr,er))}return typeof ht!="undefined"?ht:null};we.Button=je,we.Avatar=Oe,we.Input=et,we.Image=Ue,we.Node=ft;var Ce=we,Ye=Ce},81327:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return ae}});var He=We(59301),gt=We(92310),oe=We.n(gt),Ze=We(11592),Ne=We(36355),ge=We(33234);const ce=He.createContext({latestIndex:0}),Ee=ce.Provider;var ye=re=>{let{className:le,index:ue,children:pe,split:Pe,style:be}=re;const{latestIndex:Ie}=He.useContext(ce);return pe==null?null:He.createElement(He.Fragment,null,He.createElement("div",{className:le,style:be},pe),ue<Ie&&Pe&&He.createElement("span",{className:`${le}-split`},Pe))},De=We(2856);function me(re){return["small","middle","large"].includes(re)}function xe(re){return re?typeof re=="number"&&!Number.isNaN(re):!1}var fe=function(re,le){var ue={};for(var pe in re)Object.prototype.hasOwnProperty.call(re,pe)&&le.indexOf(pe)<0&&(ue[pe]=re[pe]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,pe=Object.getOwnPropertySymbols(re);Pe<pe.length;Pe++)le.indexOf(pe[Pe])<0&&Object.prototype.propertyIsEnumerable.call(re,pe[Pe])&&(ue[pe[Pe]]=re[pe[Pe]]);return ue};const ee=He.forwardRef((re,le)=>{var ue,pe;const{getPrefixCls:Pe,space:be,direction:Ie}=He.useContext(Ne.E_),{size:Me=(be==null?void 0:be.size)||"small",align:Oe,className:Te,rootClassName:je,children:ze,direction:$e="horizontal",prefixCls:Ue,split:qe,style:et,wrap:lt=!1,classNames:ut,styles:vt}=re,tt=fe(re,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[at,dt]=Array.isArray(Me)?Me:[Me,Me],St=me(dt),xt=me(at),ft=xe(dt),pt=xe(at),yt=(0,Ze.Z)(ze,{keepEmpty:!0}),Tt=Oe===void 0&&$e==="horizontal"?"center":Oe,At=Pe("space",Ue),[Gt,wt]=(0,De.Z)(At),bt=oe()(At,be==null?void 0:be.className,wt,`${At}-${$e}`,{[`${At}-rtl`]:Ie==="rtl",[`${At}-align-${Tt}`]:Tt,[`${At}-gap-row-${dt}`]:St,[`${At}-gap-col-${at}`]:xt},Te,je),it=oe()(`${At}-item`,(ue=ut==null?void 0:ut.item)!==null&&ue!==void 0?ue:(pe=be==null?void 0:be.classNames)===null||pe===void 0?void 0:pe.item);let _e=0;const we=yt.map((Je,Le)=>{var Ge,Ke;Je!=null&&(_e=Le);const Xe=Je&&Je.key||`${it}-${Le}`;return He.createElement(ye,{className:it,key:Xe,index:Le,split:qe,style:(Ge=vt==null?void 0:vt.item)!==null&&Ge!==void 0?Ge:(Ke=be==null?void 0:be.styles)===null||Ke===void 0?void 0:Ke.item},Je)}),Ce=He.useMemo(()=>({latestIndex:_e}),[_e]);if(yt.length===0)return null;const Ye={};return lt&&(Ye.flexWrap="wrap"),!xt&&pt&&(Ye.columnGap=at),!St&&ft&&(Ye.rowGap=dt),Gt(He.createElement("div",Object.assign({ref:le,className:bt,style:Object.assign(Object.assign(Object.assign({},Ye),be==null?void 0:be.style),et)},tt),He.createElement(Ee,{value:Ce},we)))});ee.Compact=ge.ZP;var ae=ee},31797:function(Nn,fn,We){"use strict";We.d(fn,{default:function(){return Ie}});var He=We(59301),gt=We(56762),oe=We(92343),Ze=We(92310),Ne=We.n(Ze),ge=We(36355),ce=We(61621),Ae=Me=>{const{value:Oe,formatter:Te,precision:je,decimalSeparator:ze,groupSeparator:$e="",prefixCls:Ue}=Me;let qe;if(typeof Te=="function")qe=Te(Oe);else{const et=String(Oe),lt=et.match(/^(-?)(\d*)(\.(\d+))?$/);if(!lt||et==="-")qe=et;else{const ut=lt[1];let vt=lt[2]||"0",tt=lt[4]||"";vt=vt.replace(/\B(?=(\d{3})+(?!\d))/g,$e),typeof je=="number"&&(tt=tt.padEnd(je,"0").slice(0,je>0?je:0)),tt&&(tt=`${ze}${tt}`),qe=[He.createElement("span",{key:"int",className:`${Ue}-content-value-int`},ut,vt),tt&&He.createElement("span",{key:"decimal",className:`${Ue}-content-value-decimal`},tt)]}}return He.createElement("span",{className:`${Ue}-content-value`},qe)},ye=We(17313),De=We(83116),me=We(37613);const xe=Me=>{const{componentCls:Oe,marginXXS:Te,padding:je,colorTextDescription:ze,titleFontSize:$e,colorTextHeading:Ue,contentFontSize:qe,fontFamily:et}=Me;return{[`${Oe}`]:Object.assign(Object.assign({},(0,ye.Wf)(Me)),{[`${Oe}-title`]:{marginBottom:Te,color:ze,fontSize:$e},[`${Oe}-skeleton`]:{paddingTop:je},[`${Oe}-content`]:{color:Ue,fontSize:qe,fontFamily:et,[`${Oe}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Oe}-content-prefix, ${Oe}-content-suffix`]:{display:"inline-block"},[`${Oe}-content-prefix`]:{marginInlineEnd:Te},[`${Oe}-content-suffix`]:{marginInlineStart:Te}}})}};var fe=(0,De.Z)("Statistic",Me=>{const Oe=(0,me.TS)(Me,{});return[xe(Oe)]},Me=>{const{fontSizeHeading3:Oe,fontSize:Te}=Me;return{titleFontSize:Te,contentFontSize:Oe}}),ee=Me=>{const{prefixCls:Oe,className:Te,rootClassName:je,style:ze,valueStyle:$e,value:Ue=0,title:qe,valueRender:et,prefix:lt,suffix:ut,loading:vt=!1,onMouseEnter:tt,onMouseLeave:at,decimalSeparator:dt=".",groupSeparator:St=","}=Me,{getPrefixCls:xt,direction:ft,statistic:pt}=He.useContext(ge.E_),yt=xt("statistic",Oe),[Tt,At]=fe(yt),Gt=He.createElement(Ae,Object.assign({decimalSeparator:dt,groupSeparator:St,prefixCls:yt},Me,{value:Ue})),wt=Ne()(yt,{[`${yt}-rtl`]:ft==="rtl"},pt==null?void 0:pt.className,Te,je,At);return Tt(He.createElement("div",{className:wt,style:Object.assign(Object.assign({},pt==null?void 0:pt.style),ze),onMouseEnter:tt,onMouseLeave:at},qe&&He.createElement("div",{className:`${yt}-title`},qe),He.createElement(ce.Z,{paragraph:!1,loading:vt,className:`${yt}-skeleton`},He.createElement("div",{style:$e,className:`${yt}-content`},lt&&He.createElement("span",{className:`${yt}-content-prefix`},lt),et?et(Gt):Gt,ut&&He.createElement("span",{className:`${yt}-content-suffix`},ut)))))};const ae=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function re(Me,Oe){let Te=Me;const je=/\[[^\]]*]/g,ze=(Oe.match(je)||[]).map(et=>et.slice(1,-1)),$e=Oe.replace(je,"[]"),Ue=ae.reduce((et,lt)=>{let[ut,vt]=lt;if(et.includes(ut)){const tt=Math.floor(Te/vt);return Te-=tt*vt,et.replace(new RegExp(`${ut}+`,"g"),at=>{const dt=at.length;return tt.toString().padStart(dt,"0")})}return et},$e);let qe=0;return Ue.replace(je,()=>{const et=ze[qe];return qe+=1,et})}function le(Me,Oe){const{format:Te=""}=Oe,je=new Date(Me).getTime(),ze=Date.now(),$e=Math.max(je-ze,0);return re($e,Te)}const ue=1e3/30;function pe(Me){return new Date(Me).getTime()}const Pe=Me=>{const{value:Oe,format:Te="HH:mm:ss",onChange:je,onFinish:ze}=Me,$e=(0,gt.Z)(),Ue=He.useRef(null),qe=()=>{ze==null||ze(),Ue.current&&(clearInterval(Ue.current),Ue.current=null)},et=()=>{const vt=pe(Oe);vt>=Date.now()&&(Ue.current=setInterval(()=>{$e(),je==null||je(vt-Date.now()),vt<Date.now()&&qe()},ue))};He.useEffect(()=>(et(),()=>{Ue.current&&(clearInterval(Ue.current),Ue.current=null)}),[Oe]);const lt=(vt,tt)=>le(vt,Object.assign(Object.assign({},tt),{format:Te})),ut=vt=>(0,oe.Tm)(vt,{title:void 0});return He.createElement(ee,Object.assign({},Me,{valueRender:ut,formatter:lt}))};var be=He.memo(Pe);ee.Countdown=be;var Ie=ee},15969:function(Nn,fn,We){"use strict";We.d(fn,{N:function(){return He}});const He=gt=>({color:gt.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${gt.motionDurationSlow}`,"&:focus, &:hover":{color:gt.colorLinkHover},"&:active":{color:gt.colorLinkActive}})},78673:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return $e}});var He=We(58617),gt=We(92310),oe=We.n(gt),Ze=We(96663),Ne=We(90493),ge=We(72071),ce=We(6620),Ee=We(59301),Ae=We(18929),ye=We(10228),De=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],me=Ee.forwardRef(function(Ue,qe){var et,lt=Ue.prefixCls,ut=lt===void 0?"rc-switch":lt,vt=Ue.className,tt=Ue.checked,at=Ue.defaultChecked,dt=Ue.disabled,St=Ue.loadingIcon,xt=Ue.checkedChildren,ft=Ue.unCheckedChildren,pt=Ue.onClick,yt=Ue.onChange,Tt=Ue.onKeyDown,At=(0,ce.Z)(Ue,De),Gt=(0,Ae.Z)(!1,{value:tt,defaultValue:at}),wt=(0,ge.Z)(Gt,2),bt=wt[0],it=wt[1];function _e(Je,Le){var Ge=bt;return dt||(Ge=Je,it(Ge),yt==null||yt(Ge,Le)),Ge}function we(Je){Je.which===ye.Z.LEFT?_e(!1,Je):Je.which===ye.Z.RIGHT&&_e(!0,Je),Tt==null||Tt(Je)}function Ce(Je){var Le=_e(!bt,Je);pt==null||pt(Le,Je)}var Ye=oe()(ut,vt,(et={},(0,Ne.Z)(et,"".concat(ut,"-checked"),bt),(0,Ne.Z)(et,"".concat(ut,"-disabled"),dt),et));return Ee.createElement("button",(0,Ze.Z)({},At,{type:"button",role:"switch","aria-checked":bt,disabled:dt,className:Ye,ref:qe,onKeyDown:we,onClick:Ce}),St,Ee.createElement("span",{className:"".concat(ut,"-inner")},Ee.createElement("span",{className:"".concat(ut,"-inner-checked")},xt),Ee.createElement("span",{className:"".concat(ut,"-inner-unchecked")},ft)))});me.displayName="Switch";var xe=me,fe=We(14088),z=We(36355),ee=We(1684),ae=We(19716),re=We(64993),le=We(17313),ue=We(83116),pe=We(37613);const Pe=Ue=>{const{componentCls:qe,trackHeightSM:et,trackPadding:lt,trackMinWidthSM:ut,innerMinMarginSM:vt,innerMaxMarginSM:tt,handleSizeSM:at}=Ue,dt=`${qe}-inner`;return{[qe]:{[`&${qe}-small`]:{minWidth:ut,height:et,lineHeight:`${et}px`,[`${qe}-inner`]:{paddingInlineStart:tt,paddingInlineEnd:vt,[`${dt}-checked`]:{marginInlineStart:`calc(-100% + ${at+lt*2}px - ${tt*2}px)`,marginInlineEnd:`calc(100% - ${at+lt*2}px + ${tt*2}px)`},[`${dt}-unchecked`]:{marginTop:-et,marginInlineStart:0,marginInlineEnd:0}},[`${qe}-handle`]:{width:at,height:at},[`${qe}-loading-icon`]:{top:(at-Ue.switchLoadingIconSize)/2,fontSize:Ue.switchLoadingIconSize},[`&${qe}-checked`]:{[`${qe}-inner`]:{paddingInlineStart:vt,paddingInlineEnd:tt,[`${dt}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${dt}-unchecked`]:{marginInlineStart:`calc(100% - ${at+lt*2}px + ${tt*2}px)`,marginInlineEnd:`calc(-100% + ${at+lt*2}px - ${tt*2}px)`}},[`${qe}-handle`]:{insetInlineStart:`calc(100% - ${at+lt}px)`}},[`&:not(${qe}-disabled):active`]:{[`&:not(${qe}-checked) ${dt}`]:{[`${dt}-unchecked`]:{marginInlineStart:Ue.marginXXS/2,marginInlineEnd:-Ue.marginXXS/2}},[`&${qe}-checked ${dt}`]:{[`${dt}-checked`]:{marginInlineStart:-Ue.marginXXS/2,marginInlineEnd:Ue.marginXXS/2}}}}}}},be=Ue=>{const{componentCls:qe,handleSize:et}=Ue;return{[qe]:{[`${qe}-loading-icon${Ue.iconCls}`]:{position:"relative",top:(et-Ue.fontSize)/2,color:Ue.switchLoadingIconColor,verticalAlign:"top"},[`&${qe}-checked ${qe}-loading-icon`]:{color:Ue.switchColor}}}},Ie=Ue=>{const{componentCls:qe,motion:et,trackPadding:lt,handleBg:ut,handleShadow:vt,handleSize:tt}=Ue,at=`${qe}-handle`;return{[qe]:{[at]:{position:"absolute",top:lt,insetInlineStart:lt,width:tt,height:tt,transition:`all ${Ue.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:ut,borderRadius:tt/2,boxShadow:vt,transition:`all ${Ue.switchDuration} ease-in-out`,content:'""'}},[`&${qe}-checked ${at}`]:{insetInlineStart:`calc(100% - ${tt+lt}px)`},[`&:not(${qe}-disabled):active`]:et?{[`${at}::before`]:{insetInlineEnd:Ue.switchHandleActiveInset,insetInlineStart:0},[`&${qe}-checked ${at}::before`]:{insetInlineEnd:0,insetInlineStart:Ue.switchHandleActiveInset}}:{}}}},Me=Ue=>{const{componentCls:qe,trackHeight:et,trackPadding:lt,innerMinMargin:ut,innerMaxMargin:vt,handleSize:tt}=Ue,at=`${qe}-inner`;return{[qe]:{[at]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:vt,paddingInlineEnd:ut,transition:`padding-inline-start ${Ue.switchDuration} ease-in-out, padding-inline-end ${Ue.switchDuration} ease-in-out`,[`${at}-checked, ${at}-unchecked`]:{display:"block",color:Ue.colorTextLightSolid,fontSize:Ue.fontSizeSM,transition:`margin-inline-start ${Ue.switchDuration} ease-in-out, margin-inline-end ${Ue.switchDuration} ease-in-out`,pointerEvents:"none"},[`${at}-checked`]:{marginInlineStart:`calc(-100% + ${tt+lt*2}px - ${vt*2}px)`,marginInlineEnd:`calc(100% - ${tt+lt*2}px + ${vt*2}px)`},[`${at}-unchecked`]:{marginTop:-et,marginInlineStart:0,marginInlineEnd:0}},[`&${qe}-checked ${at}`]:{paddingInlineStart:ut,paddingInlineEnd:vt,[`${at}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${at}-unchecked`]:{marginInlineStart:`calc(100% - ${tt+lt*2}px + ${vt*2}px)`,marginInlineEnd:`calc(-100% + ${tt+lt*2}px - ${vt*2}px)`}},[`&:not(${qe}-disabled):active`]:{[`&:not(${qe}-checked) ${at}`]:{[`${at}-unchecked`]:{marginInlineStart:lt*2,marginInlineEnd:-lt*2}},[`&${qe}-checked ${at}`]:{[`${at}-checked`]:{marginInlineStart:-lt*2,marginInlineEnd:lt*2}}}}}},Oe=Ue=>{const{componentCls:qe,trackHeight:et,trackMinWidth:lt}=Ue;return{[qe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,le.Wf)(Ue)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:lt,height:et,lineHeight:`${et}px`,verticalAlign:"middle",background:Ue.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Ue.motionDurationMid}`,userSelect:"none",[`&:hover:not(${qe}-disabled)`]:{background:Ue.colorTextTertiary}}),(0,le.Qy)(Ue)),{[`&${qe}-checked`]:{background:Ue.switchColor,[`&:hover:not(${qe}-disabled)`]:{background:Ue.colorPrimaryHover}},[`&${qe}-loading, &${qe}-disabled`]:{cursor:"not-allowed",opacity:Ue.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${qe}-rtl`]:{direction:"rtl"}})}};var Te=(0,ue.Z)("Switch",Ue=>{const qe=(0,pe.TS)(Ue,{switchDuration:Ue.motionDurationMid,switchColor:Ue.colorPrimary,switchDisabledOpacity:Ue.opacityLoading,switchLoadingIconSize:Ue.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${Ue.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Oe(qe),Me(qe),Ie(qe),be(qe),Pe(qe)]},Ue=>{const{fontSize:qe,lineHeight:et,controlHeight:lt,colorWhite:ut}=Ue,vt=qe*et,tt=lt/2,at=2,dt=vt-at*2,St=tt-at*2;return{trackHeight:vt,trackHeightSM:tt,trackMinWidth:dt*2+at*4,trackMinWidthSM:St*2+at*2,trackPadding:at,handleBg:ut,handleSize:dt,handleSizeSM:St,handleShadow:`0 2px 4px 0 ${new re.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:dt/2,innerMaxMargin:dt+at+at*2,innerMinMarginSM:St/2,innerMaxMarginSM:St+at+at*2}}),je=function(Ue,qe){var et={};for(var lt in Ue)Object.prototype.hasOwnProperty.call(Ue,lt)&&qe.indexOf(lt)<0&&(et[lt]=Ue[lt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,lt=Object.getOwnPropertySymbols(Ue);ut<lt.length;ut++)qe.indexOf(lt[ut])<0&&Object.prototype.propertyIsEnumerable.call(Ue,lt[ut])&&(et[lt[ut]]=Ue[lt[ut]]);return et};const ze=Ee.forwardRef((Ue,qe)=>{const{prefixCls:et,size:lt,disabled:ut,loading:vt,className:tt,rootClassName:at,style:dt}=Ue,St=je(Ue,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:xt,direction:ft,switch:pt}=Ee.useContext(z.E_),yt=Ee.useContext(ee.Z),Tt=(ut!=null?ut:yt)||vt,At=xt("switch",et),Gt=Ee.createElement("div",{className:`${At}-handle`},vt&&Ee.createElement(He.Z,{className:`${At}-loading-icon`})),[wt,bt]=Te(At),it=(0,ae.Z)(lt),_e=oe()(pt==null?void 0:pt.className,{[`${At}-small`]:it==="small",[`${At}-loading`]:vt,[`${At}-rtl`]:ft==="rtl"},tt,at,bt),we=Object.assign(Object.assign({},pt==null?void 0:pt.style),dt);return wt(Ee.createElement(fe.Z,{component:"Switch"},Ee.createElement(xe,Object.assign({},St,{prefixCls:At,className:_e,style:we,disabled:Tt,ref:qe,loadingIcon:Gt}))))});ze.__ANT_SWITCH=!0;var $e=ze},1710:function(Nn,fn,We){"use strict";We.d(fn,{default:function(){return Kp}});var He={},gt="rc-table-internal-hook",oe=We(72071),Ze=We(6089),Ne=We(34280),ge=We(13697),ce=We(59301),Ee=We(4676);function Ae(It){var zt=ce.createContext(void 0),ln=function(En){var mn=En.value,Wn=En.children,Hn=ce.useRef(mn);Hn.current=mn;var In=ce.useState(function(){return{getValue:function(){return Hn.current},listeners:new Set}}),nr=(0,oe.Z)(In,1),lr=nr[0];return(0,Ne.Z)(function(){(0,Ee.unstable_batchedUpdates)(function(){lr.listeners.forEach(function(or){or(mn)})})},[mn]),ce.createElement(zt.Provider,{value:lr},Wn)};return{Context:zt,Provider:ln,defaultValue:It}}function ye(It,zt){var ln=(0,Ze.Z)(typeof zt=="function"?zt:function(or){if(zt===void 0)return or;if(!Array.isArray(zt))return or[zt];var jr={};return zt.forEach(function(Fr){jr[Fr]=or[Fr]}),jr}),un=ce.useContext(It==null?void 0:It.Context),En=un||{},mn=En.listeners,Wn=En.getValue,Hn=ce.useRef();Hn.current=ln(un?Wn():It==null?void 0:It.defaultValue);var In=ce.useState({}),nr=(0,oe.Z)(In,2),lr=nr[1];return(0,Ne.Z)(function(){if(!un)return;function or(jr){var Fr=ln(jr);(0,ge.Z)(Hn.current,Fr,!0)||lr({})}return mn.add(or),function(){mn.delete(or)}},[un]),Hn.current}var De=We(96663),me=We(8654);function xe(){var It=ce.createContext(null);function zt(){return ce.useContext(It)}function ln(En,mn){var Wn=(0,me.Yr)(En),Hn=function(nr,lr){var or=Wn?{ref:lr}:{},jr=ce.useRef(0),Fr=ce.useRef(nr),Sr=zt();return Sr!==null?ce.createElement(En,(0,De.Z)({},nr,or)):((!mn||mn(Fr.current,nr))&&(jr.current+=1),Fr.current=nr,ce.createElement(It.Provider,{value:jr.current},ce.createElement(En,(0,De.Z)({},nr,or))))};return Wn?ce.forwardRef(Hn):Hn}function un(En,mn){var Wn=(0,me.Yr)(En),Hn=function(nr,lr){var or=Wn?{ref:lr}:{};return zt(),ce.createElement(En,(0,De.Z)({},nr,or))};return Wn?ce.memo(ce.forwardRef(Hn),mn):ce.memo(Hn,mn)}return{makeImmutable:ln,responseImmutable:un,useImmutableMark:zt}}var fe=xe(),z=fe.makeImmutable,ee=fe.responseImmutable,ae=fe.useImmutableMark,re=xe(),le=re.makeImmutable,ue=re.responseImmutable,pe=re.useImmutableMark,Pe=Ae(),be=Pe;function Ie(It,zt){var ln=ce.useRef(0);ln.current+=1;var un=ce.useRef(It),En=[];Object.keys(It||{}).map(function(Wn){var Hn;(It==null?void 0:It[Wn])!==((Hn=un.current)===null||Hn===void 0?void 0:Hn[Wn])&&En.push(Wn)}),un.current=It;var mn=ce.useRef([]);return En.length&&(mn.current=En),ce.useDebugValue(ln.current),ce.useDebugValue(mn.current.join(", ")),zt&&console.log("".concat(zt,":"),ln.current,mn.current),ln.current}var Me=null,Oe=ce.memo(function(){var It=Ie();return ce.createElement("h1",null,"Render Times: ",It)});Oe.displayName="RenderBlock";var Te=We(20135),je=We(44127),ze=We(90493),$e=We(92310),Ue=We.n($e),qe=We(80547),et=We(97938),lt=We(48736),ut=ce.createContext({renderWithProps:!1}),vt=ut,tt="RC_TABLE_KEY";function at(It){return It==null?[]:Array.isArray(It)?It:[It]}function dt(It){var zt=[],ln={};return It.forEach(function(un){for(var En=un||{},mn=En.key,Wn=En.dataIndex,Hn=mn||at(Wn).join("-")||tt;ln[Hn];)Hn="".concat(Hn,"_next");ln[Hn]=!0,zt.push(Hn)}),zt}function St(It){return It!=null}function xt(It){return It&&(0,Te.Z)(It)==="object"&&!Array.isArray(It)&&!ce.isValidElement(It)}function ft(It,zt,ln,un,En,mn){var Wn=ce.useContext(vt),Hn=pe(),In=(0,qe.Z)(function(){if(St(un))return[un];var nr=zt==null||zt===""?[]:Array.isArray(zt)?zt:[zt],lr=(0,et.Z)(It,nr),or=lr,jr=void 0;if(En){var Fr=En(lr,It,ln);xt(Fr)?(or=Fr.children,jr=Fr.props,Wn.renderWithProps=!0):or=Fr}return[or,jr]},[Hn,It,un,zt,En,ln],function(nr,lr){if(mn){var or=(0,oe.Z)(nr,2),jr=or[1],Fr=(0,oe.Z)(lr,2),Sr=Fr[1];return mn(Sr,jr)}return Wn.renderWithProps?!0:!(0,ge.Z)(nr,lr,!0)});return In}function pt(It,zt,ln,un){var En=It+zt-1;return It<=un&&En>=ln}function yt(It,zt){return ye(be,function(ln){var un=pt(It,zt||1,ln.hoverStartRow,ln.hoverEndRow);return[un,ln.onHover]})}var Tt=function(zt){var ln=zt.ellipsis,un=zt.rowType,En=zt.children,mn,Wn=ln===!0?{showTitle:!0}:ln;return Wn&&(Wn.showTitle||un==="header")&&(typeof En=="string"||typeof En=="number"?mn=En.toString():ce.isValidElement(En)&&typeof En.props.children=="string"&&(mn=En.props.children)),mn};function At(It){var zt,ln,un,En,mn,Wn,Hn,In,nr=It.component,lr=It.children,or=It.ellipsis,jr=It.scope,Fr=It.prefixCls,Sr=It.className,ri=It.align,Cr=It.record,$r=It.render,Jr=It.dataIndex,fi=It.renderIndex,Ni=It.shouldCellUpdate,Ki=It.index,oi=It.rowType,Di=It.colSpan,mo=It.rowSpan,ci=It.fixLeft,Ai=It.fixRight,ui=It.firstFixLeft,Zr=It.lastFixLeft,yi=It.firstFixRight,Wi=It.lastFixRight,$i=It.appendNode,to=It.additionalProps,ai=to===void 0?{}:to,yo=It.isSticky,Co="".concat(Fr,"-cell"),qo=ye(be,["supportSticky","allColumnsFixedLeft"]),Io=qo.supportSticky,ka=qo.allColumnsFixedLeft,Ta=ft(Cr,Jr,fi,lr,$r,Ni),xo=(0,oe.Z)(Ta,2),Gi=xo[0],Xo=xo[1],Na={},wa=typeof ci=="number"&&Io,is=typeof Ai=="number"&&Io;wa&&(Na.position="sticky",Na.left=ci),is&&(Na.position="sticky",Na.right=Ai);var no=(zt=(ln=(un=Xo==null?void 0:Xo.colSpan)!==null&&un!==void 0?un:ai.colSpan)!==null&&ln!==void 0?ln:Di)!==null&&zt!==void 0?zt:1,Yi=(En=(mn=(Wn=Xo==null?void 0:Xo.rowSpan)!==null&&Wn!==void 0?Wn:ai.rowSpan)!==null&&mn!==void 0?mn:mo)!==null&&En!==void 0?En:1,ro=yt(Ki,Yi),Bi=(0,oe.Z)(ro,2),Qo=Bi[0],Ii=Bi[1],vo=function(ts){var ps;Cr&&Ii(Ki,Ki+Yi-1),ai==null||(ps=ai.onMouseEnter)===null||ps===void 0||ps.call(ai,ts)},Ho=function(ts){var ps;Cr&&Ii(-1,-1),ai==null||(ps=ai.onMouseLeave)===null||ps===void 0||ps.call(ai,ts)};if(no===0||Yi===0)return null;var Uo=(Hn=ai.title)!==null&&Hn!==void 0?Hn:Tt({rowType:oi,ellipsis:or,children:Gi}),Cs=Ue()(Co,Sr,(In={},(0,ze.Z)(In,"".concat(Co,"-fix-left"),wa&&Io),(0,ze.Z)(In,"".concat(Co,"-fix-left-first"),ui&&Io),(0,ze.Z)(In,"".concat(Co,"-fix-left-last"),Zr&&Io),(0,ze.Z)(In,"".concat(Co,"-fix-left-all"),Zr&&ka&&Io),(0,ze.Z)(In,"".concat(Co,"-fix-right"),is&&Io),(0,ze.Z)(In,"".concat(Co,"-fix-right-first"),yi&&Io),(0,ze.Z)(In,"".concat(Co,"-fix-right-last"),Wi&&Io),(0,ze.Z)(In,"".concat(Co,"-ellipsis"),or),(0,ze.Z)(In,"".concat(Co,"-with-append"),$i),(0,ze.Z)(In,"".concat(Co,"-fix-sticky"),(wa||is)&&yo&&Io),(0,ze.Z)(In,"".concat(Co,"-row-hover"),!Xo&&Qo),In),ai.className,Xo==null?void 0:Xo.className),ls={};ri&&(ls.textAlign=ri);var Us=(0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)({},Na),ai.style),ls),Xo==null?void 0:Xo.style),ea=Gi;return(0,Te.Z)(ea)==="object"&&!Array.isArray(ea)&&!ce.isValidElement(ea)&&(ea=null),or&&(Zr||yi)&&(ea=ce.createElement("span",{className:"".concat(Co,"-content")},ea)),ce.createElement(nr,(0,De.Z)({},Xo,ai,{className:Cs,style:Us,title:Uo,scope:jr,onMouseEnter:vo,onMouseLeave:Ho,colSpan:no!==1?no:null,rowSpan:Yi!==1?Yi:null}),$i,ea)}var Gt=ce.memo(At);function wt(It,zt,ln,un,En,mn){var Wn=ln[It]||{},Hn=ln[zt]||{},In,nr;Wn.fixed==="left"?In=un.left[En==="rtl"?zt:It]:Hn.fixed==="right"&&(nr=un.right[En==="rtl"?It:zt]);var lr=!1,or=!1,jr=!1,Fr=!1,Sr=ln[zt+1],ri=ln[It-1],Cr=!(mn!=null&&mn.children);if(En==="rtl"){if(In!==void 0){var $r=ri&&ri.fixed==="left";Fr=!$r&&Cr}else if(nr!==void 0){var Jr=Sr&&Sr.fixed==="right";jr=!Jr&&Cr}}else if(In!==void 0){var fi=Sr&&Sr.fixed==="left";lr=!fi&&Cr}else if(nr!==void 0){var Ni=ri&&ri.fixed==="right";or=!Ni&&Cr}return{fixLeft:In,fixRight:nr,lastFixLeft:lr,firstFixRight:or,lastFixRight:jr,firstFixLeft:Fr,isSticky:un.isSticky}}var bt=ce.createContext({}),it=bt;function _e(It){var zt=It.className,ln=It.index,un=It.children,En=It.colSpan,mn=En===void 0?1:En,Wn=It.rowSpan,Hn=It.align,In=ye(be,["prefixCls","direction"]),nr=In.prefixCls,lr=In.direction,or=ce.useContext(it),jr=or.scrollColumnIndex,Fr=or.stickyOffsets,Sr=or.flattenColumns,ri=or.columns,Cr=ln+mn-1,$r=Cr+1===jr?mn+1:mn,Jr=wt(ln,ln+$r-1,Sr,Fr,lr,ri==null?void 0:ri[ln]);return ce.createElement(Gt,(0,De.Z)({className:zt,index:ln,component:"td",prefixCls:nr,record:null,dataIndex:null,align:Hn,colSpan:$r,rowSpan:Wn,render:function(){return un}},Jr))}var we=We(6620),Ce=["children"];function Ye(It){var zt=It.children,ln=(0,we.Z)(It,Ce);return ce.createElement("tr",ln,zt)}function Je(It){var zt=It.children;return zt}Je.Row=Ye,Je.Cell=_e;var Le=Je;function Ge(It){var zt=It.children,ln=It.stickyOffsets,un=It.flattenColumns,En=It.columns,mn=ye(be,"prefixCls"),Wn=un.length-1,Hn=un[Wn],In=ce.useMemo(function(){return{stickyOffsets:ln,flattenColumns:un,scrollColumnIndex:Hn!=null&&Hn.scrollbar?Wn:null,columns:En}},[Hn,un,Wn,ln,En]);return ce.createElement(it.Provider,{value:In},ce.createElement("tfoot",{className:"".concat(mn,"-summary")},zt))}var Ke=ue(Ge),Xe=Le,Qe=We(70425),ht=We(29301),Et=We(29194),mt=We(24514),Ft=We(75152),Kt=We(26112);function jt(It,zt,ln,un,En,mn,Wn){It.push({record:zt,indent:ln,index:Wn});var Hn=mn(zt),In=En==null?void 0:En.has(Hn);if(zt&&Array.isArray(zt[un])&&In)for(var nr=0;nr<zt[un].length;nr+=1)jt(It,zt[un][nr],ln+1,un,En,mn,nr)}function Wt(It,zt,ln,un){var En=ce.useMemo(function(){if(ln!=null&&ln.size){for(var mn=[],Wn=0;Wn<(It==null?void 0:It.length);Wn+=1){var Hn=It[Wn];jt(mn,Hn,0,zt,ln,un,Wn)}return mn}return It==null?void 0:It.map(function(In,nr){return{record:In,indent:0,index:nr}})},[It,zt,ln,un]);return En}function Vt(It){var zt=It.prefixCls,ln=It.children,un=It.component,En=It.cellComponent,mn=It.className,Wn=It.expanded,Hn=It.colSpan,In=It.isEmpty,nr=ye(be,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),lr=nr.scrollbarSize,or=nr.fixHeader,jr=nr.fixColumn,Fr=nr.componentWidth,Sr=nr.horizonScroll,ri=ln;return(In?Sr&&Fr:jr)&&(ri=ce.createElement("div",{style:{width:Fr-(or?lr:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(zt,"-expanded-row-fixed")},ri)),ce.createElement(un,{className:mn,style:{display:Wn?null:"none"}},ce.createElement(Gt,{component:En,prefixCls:zt,colSpan:Hn},ri))}var nn=Vt;function Bt(It,zt,ln,un){var En=ye(be,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),mn=En.flattenColumns,Wn=En.expandableType,Hn=En.expandedKeys,In=En.childrenColumnName,nr=En.onTriggerExpand,lr=En.rowExpandable,or=En.onRow,jr=En.expandRowByClick,Fr=En.rowClassName,Sr=Wn==="nest",ri=Wn==="row"&&(!lr||lr(It)),Cr=ri||Sr,$r=Hn&&Hn.has(zt),Jr=In&&It&&It[In],fi=(0,Qe.useEvent)(nr),Ni=or==null?void 0:or(It,ln),Ki=Ni==null?void 0:Ni.onClick,oi=function(Ai){jr&&Cr&&nr(It,Ai);for(var ui=arguments.length,Zr=new Array(ui>1?ui-1:0),yi=1;yi<ui;yi++)Zr[yi-1]=arguments[yi];Ki==null||Ki.apply(void 0,[Ai].concat(Zr))},Di;typeof Fr=="string"?Di=Fr:typeof Fr=="function"&&(Di=Fr(It,ln,un));var mo=dt(mn);return(0,je.Z)((0,je.Z)({},En),{},{columnsKey:mo,nestExpandable:Sr,expanded:$r,hasNestChildren:Jr,record:It,onTriggerExpand:fi,rowSupportExpand:ri,expandable:Cr,rowProps:(0,je.Z)((0,je.Z)({},Ni),{},{className:Ue()(Di,Ni==null?void 0:Ni.className),onClick:oi})})}function _t(It,zt,ln,un,En){var mn=It.record,Wn=It.prefixCls,Hn=It.columnsKey,In=It.fixedInfoList,nr=It.expandIconColumnIndex,lr=It.nestExpandable,or=It.indentSize,jr=It.expandIcon,Fr=It.expanded,Sr=It.hasNestChildren,ri=It.onTriggerExpand,Cr=Hn[ln],$r=In[ln],Jr;ln===(nr||0)&&lr&&(Jr=ce.createElement(ce.Fragment,null,ce.createElement("span",{style:{paddingLeft:"".concat(or*un,"px")},className:"".concat(Wn,"-row-indent indent-level-").concat(un)}),jr({prefixCls:Wn,expanded:Fr,expandable:Sr,record:mn,onExpand:ri})));var fi;return zt.onCell&&(fi=zt.onCell(mn,En)),{key:Cr,fixedInfo:$r,appendCellNode:Jr,additionalCellProps:fi||{}}}function en(It){var zt=It.className,ln=It.style,un=It.record,En=It.index,mn=It.renderIndex,Wn=It.rowKey,Hn=It.indent,In=Hn===void 0?0:Hn,nr=It.rowComponent,lr=It.cellComponent,or=It.scopeCellComponent,jr=Bt(un,Wn,En,In),Fr=jr.prefixCls,Sr=jr.flattenColumns,ri=jr.expandedRowClassName,Cr=jr.expandedRowRender,$r=jr.rowProps,Jr=jr.expanded,fi=jr.rowSupportExpand,Ni=ce.useState(!1),Ki=(0,oe.Z)(Ni,2),oi=Ki[0],Di=Ki[1];ce.useEffect(function(){Jr&&Di(!0)},[Jr]);var mo=ce.createElement(nr,(0,De.Z)({},$r,{"data-row-key":Wn,className:Ue()(zt,"".concat(Fr,"-row"),"".concat(Fr,"-row-level-").concat(In),$r==null?void 0:$r.className),style:(0,je.Z)((0,je.Z)({},ln),$r==null?void 0:$r.style)}),Sr.map(function(Zr,yi){var Wi=Zr.render,$i=Zr.dataIndex,to=Zr.className,ai=_t(jr,Zr,yi,In,En),yo=ai.key,Co=ai.fixedInfo,qo=ai.appendCellNode,Io=ai.additionalCellProps;return ce.createElement(Gt,(0,De.Z)({className:to,ellipsis:Zr.ellipsis,align:Zr.align,scope:Zr.rowScope,component:Zr.rowScope?or:lr,prefixCls:Fr,key:yo,record:un,index:En,renderIndex:mn,dataIndex:$i,render:Wi,shouldCellUpdate:Zr.shouldCellUpdate},Co,{appendNode:qo,additionalProps:Io}))})),ci;if(fi&&(oi||Jr)){var Ai=Cr(un,En,In+1,Jr),ui=ri&&ri(un,En,In);ci=ce.createElement(nn,{expanded:Jr,className:Ue()("".concat(Fr,"-expanded-row"),"".concat(Fr,"-expanded-row-level-").concat(In+1),ui),prefixCls:Fr,component:nr,cellComponent:lr,colSpan:Sr.length,isEmpty:!1},Ai)}return ce.createElement(ce.Fragment,null,mo,ci)}en.displayName="BodyRow";var on=ue(en);function xn(It){var zt=It.columnKey,ln=It.onColumnResize,un=ce.useRef();return ce.useEffect(function(){un.current&&ln(zt,un.current.offsetWidth)},[]),ce.createElement(ht.Z,{data:zt},ce.createElement("td",{ref:un,style:{padding:0,border:0,height:0}},ce.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function zn(It){var zt=It.prefixCls,ln=It.columnsKey,un=It.onColumnResize;return ce.createElement("tr",{"aria-hidden":"true",className:"".concat(zt,"-measure-row"),style:{height:0,fontSize:0}},ce.createElement(ht.Z.Collection,{onBatchResize:function(mn){mn.forEach(function(Wn){var Hn=Wn.data,In=Wn.size;un(Hn,In.offsetWidth)})}},ln.map(function(En){return ce.createElement(xn,{key:En,columnKey:En,onColumnResize:un})})))}function tr(It){var zt=It.data,ln=It.measureColumnWidth,un=ye(be,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),En=un.prefixCls,mn=un.getComponent,Wn=un.onColumnResize,Hn=un.flattenColumns,In=un.getRowKey,nr=un.expandedKeys,lr=un.childrenColumnName,or=un.emptyNode,jr=Wt(zt,lr,nr,In),Fr=ce.useRef({renderWithProps:!1}),Sr=mn(["body","wrapper"],"tbody"),ri=mn(["body","row"],"tr"),Cr=mn(["body","cell"],"td"),$r=mn(["body","cell"],"th"),Jr;zt.length?Jr=jr.map(function(Ni,Ki){var oi=Ni.record,Di=Ni.indent,mo=Ni.index,ci=In(oi,Ki);return ce.createElement(on,{key:ci,rowKey:ci,record:oi,index:Ki,renderIndex:mo,rowComponent:ri,cellComponent:Cr,scopeCellComponent:$r,getRowKey:In,indent:Di})}):Jr=ce.createElement(nn,{expanded:!0,className:"".concat(En,"-placeholder"),prefixCls:En,component:ri,cellComponent:Cr,colSpan:Hn.length,isEmpty:!0},or);var fi=dt(Hn);return ce.createElement(vt.Provider,{value:Fr.current},ce.createElement(Sr,{className:"".concat(En,"-tbody")},ln&&ce.createElement(zn,{prefixCls:En,columnsKey:fi,onColumnResize:Wn}),Jr))}tr.displayName="Body";var er=ue(tr),ur=["expandable"],Dr="RC_TABLE_INTERNAL_COL_DEFINE";function Mr(It){var zt=It.expandable,ln=(0,we.Z)(It,ur),un;return"expandable"in It?un=(0,je.Z)((0,je.Z)({},ln),zt):un=ln,un.showExpandColumn===!1&&(un.expandIconColumnIndex=-1),un}var Br=["columnType"];function qr(It){for(var zt=It.colWidths,ln=It.columns,un=It.columCount,En=[],mn=un||ln.length,Wn=!1,Hn=mn-1;Hn>=0;Hn-=1){var In=zt[Hn],nr=ln&&ln[Hn],lr=nr&&nr[Dr];if(In||lr||Wn){var or=lr||{},jr=or.columnType,Fr=(0,we.Z)(or,Br);En.unshift(ce.createElement("col",(0,De.Z)({key:Hn,style:{width:In}},Fr))),Wn=!0}}return ce.createElement("colgroup",null,En)}var Qr=qr,Lr=We(19127),ei=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Er(It,zt){return(0,ce.useMemo)(function(){for(var ln=[],un=0;un<zt;un+=1){var En=It[un];if(En!==void 0)ln[un]=En;else return null}return ln},[It.join("_"),zt])}var ot=ce.forwardRef(function(It,zt){var ln=It.className,un=It.noData,En=It.columns,mn=It.flattenColumns,Wn=It.colWidths,Hn=It.columCount,In=It.stickyOffsets,nr=It.direction,lr=It.fixHeader,or=It.stickyTopOffset,jr=It.stickyBottomOffset,Fr=It.stickyClassName,Sr=It.onScroll,ri=It.maxContentScroll,Cr=It.children,$r=(0,we.Z)(It,ei),Jr=ye(be,["prefixCls","scrollbarSize","isSticky"]),fi=Jr.prefixCls,Ni=Jr.scrollbarSize,Ki=Jr.isSticky,oi=Ki&&!lr?0:Ni,Di=ce.useRef(null),mo=ce.useCallback(function(to){(0,me.mH)(zt,to),(0,me.mH)(Di,to)},[]);ce.useEffect(function(){var to;function ai(yo){var Co=yo,qo=Co.currentTarget,Io=Co.deltaX;Io&&(Sr({currentTarget:qo,scrollLeft:qo.scrollLeft+Io}),yo.preventDefault())}return(to=Di.current)===null||to===void 0||to.addEventListener("wheel",ai),function(){var yo;(yo=Di.current)===null||yo===void 0||yo.removeEventListener("wheel",ai)}},[]);var ci=ce.useMemo(function(){return mn.every(function(to){return to.width})},[mn]),Ai=mn[mn.length-1],ui={fixed:Ai?Ai.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(fi,"-cell-scrollbar")}}},Zr=(0,ce.useMemo)(function(){return oi?[].concat((0,Lr.Z)(En),[ui]):En},[oi,En]),yi=(0,ce.useMemo)(function(){return oi?[].concat((0,Lr.Z)(mn),[ui]):mn},[oi,mn]),Wi=(0,ce.useMemo)(function(){var to=In.right,ai=In.left;return(0,je.Z)((0,je.Z)({},In),{},{left:nr==="rtl"?[].concat((0,Lr.Z)(ai.map(function(yo){return yo+oi})),[0]):ai,right:nr==="rtl"?to:[].concat((0,Lr.Z)(to.map(function(yo){return yo+oi})),[0]),isSticky:Ki})},[oi,In,Ki]),$i=Er(Wn,Hn);return ce.createElement("div",{style:(0,je.Z)({overflow:"hidden"},Ki?{top:or,bottom:jr}:{}),ref:mo,className:Ue()(ln,(0,ze.Z)({},Fr,!!Fr))},ce.createElement("table",{style:{tableLayout:"fixed",visibility:un||$i?null:"hidden"}},(!un||!ri||ci)&&ce.createElement(Qr,{colWidths:$i?[].concat((0,Lr.Z)($i),[oi]):[],columCount:Hn+1,columns:yi}),Cr((0,je.Z)((0,je.Z)({},$r),{},{stickyOffsets:Wi,columns:Zr,flattenColumns:yi}))))});ot.displayName="FixedHolder";var xi=ce.memo(ot);function gi(It){var zt=It.cells,ln=It.stickyOffsets,un=It.flattenColumns,En=It.rowComponent,mn=It.cellComponent,Wn=It.tdCellComponent,Hn=It.onHeaderRow,In=It.index,nr=ye(be,["prefixCls","direction"]),lr=nr.prefixCls,or=nr.direction,jr;Hn&&(jr=Hn(zt.map(function(Sr){return Sr.column}),In));var Fr=dt(zt.map(function(Sr){return Sr.column}));return ce.createElement(En,jr,zt.map(function(Sr,ri){var Cr=Sr.column,$r=wt(Sr.colStart,Sr.colEnd,un,ln,or,Cr),Jr;return Cr&&Cr.onHeaderCell&&(Jr=Sr.column.onHeaderCell(Cr)),ce.createElement(Gt,(0,De.Z)({},Sr,{scope:Cr.title?Sr.colSpan>1?"colgroup":"col":null,ellipsis:Cr.ellipsis,align:Cr.align,component:Cr.title?mn:Wn,prefixCls:lr,key:Fr[ri]},$r,{additionalProps:Jr,rowType:"header"}))}))}gi.displayName="HeaderRow";var Ln=gi;function hr(It){var zt=[];function ln(Wn,Hn){var In=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;zt[In]=zt[In]||[];var nr=Hn,lr=Wn.filter(Boolean).map(function(or){var jr={key:or.key,className:or.className||"",children:or.title,column:or,colStart:nr},Fr=1,Sr=or.children;return Sr&&Sr.length>0&&(Fr=ln(Sr,nr,In+1).reduce(function(ri,Cr){return ri+Cr},0),jr.hasSubColumns=!0),"colSpan"in or&&(Fr=or.colSpan),"rowSpan"in or&&(jr.rowSpan=or.rowSpan),jr.colSpan=Fr,jr.colEnd=jr.colStart+Fr-1,zt[In].push(jr),nr+=Fr,Fr});return lr}ln(It,0);for(var un=zt.length,En=function(Hn){zt[Hn].forEach(function(In){!("rowSpan"in In)&&!In.hasSubColumns&&(In.rowSpan=un-Hn)})},mn=0;mn<un;mn+=1)En(mn);return zt}function ar(It){var zt=It.stickyOffsets,ln=It.columns,un=It.flattenColumns,En=It.onHeaderRow,mn=ye(be,["prefixCls","getComponent"]),Wn=mn.prefixCls,Hn=mn.getComponent,In=ce.useMemo(function(){return hr(ln)},[ln]),nr=Hn(["header","wrapper"],"thead"),lr=Hn(["header","row"],"tr"),or=Hn(["header","cell"],"th"),jr=Hn(["header","cell"],"td");return ce.createElement(nr,{className:"".concat(Wn,"-thead")},In.map(function(Fr,Sr){var ri=ce.createElement(Ln,{key:Sr,flattenColumns:un,cells:Fr,stickyOffsets:zt,rowComponent:lr,cellComponent:or,tdCellComponent:jr,onHeaderRow:En,index:Sr});return ri}))}var vr=ue(ar),Un=We(11592);function Yn(It){var zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof zt=="number"?zt:zt.endsWith("%")?It*parseFloat(zt)/100:null}function Qt(It,zt){return ce.useMemo(function(){if(zt&&zt>0){var ln=0,un=0;It.forEach(function(nr){var lr=Yn(zt,nr.width);lr?ln+=lr:un+=1});var En=zt-ln,mn=un,Wn=En/un,Hn=0,In=It.map(function(nr){var lr=(0,je.Z)({},nr),or=Yn(zt,lr.width);if(or)lr.width=or;else{var jr=Math.floor(Wn);lr.width=mn===1?En:jr,En-=jr,mn-=1}return Hn+=lr.width,lr});return[In,Hn]}return[It,zt]},[It,zt])}var Zt=["children"],Pt=["fixed"];function an(It){return(0,Un.Z)(It).filter(function(zt){return ce.isValidElement(zt)}).map(function(zt){var ln=zt.key,un=zt.props,En=un.children,mn=(0,we.Z)(un,Zt),Wn=(0,je.Z)({key:ln},mn);return En&&(Wn.children=an(En)),Wn})}function gn(It){var zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return It.filter(function(ln){return ln&&(0,Te.Z)(ln)==="object"}).reduce(function(ln,un,En){var mn=un.fixed,Wn=mn===!0?"left":mn,Hn="".concat(zt,"-").concat(En),In=un.children;return In&&In.length>0?[].concat((0,Lr.Z)(ln),(0,Lr.Z)(gn(In,Hn).map(function(nr){return(0,je.Z)({fixed:Wn},nr)}))):[].concat((0,Lr.Z)(ln),[(0,je.Z)((0,je.Z)({key:Hn},un),{},{fixed:Wn})])},[])}function Xt(It){for(var zt=!0,ln=0;ln<It.length;ln+=1){var un=It[ln];if(zt&&un.fixed!=="left")zt=!1;else if(!zt&&un.fixed==="left"){warning(!1,"Index ".concat(ln-1," of `columns` missing `fixed='left'` prop."));break}}for(var En=!0,mn=It.length-1;mn>=0;mn-=1){var Wn=It[mn];if(En&&Wn.fixed!=="right")En=!1;else if(!En&&Wn.fixed==="right"){warning(!1,"Index ".concat(mn+1," of `columns` missing `fixed='right'` prop."));break}}}function Dt(It){return It.map(function(zt){var ln=zt.fixed,un=(0,we.Z)(zt,Pt),En=ln;return ln==="left"?En="right":ln==="right"&&(En="left"),(0,je.Z)({fixed:En},un)})}function cn(It,zt){var ln=It.prefixCls,un=It.columns,En=It.children,mn=It.expandable,Wn=It.expandedKeys,Hn=It.columnTitle,In=It.getRowKey,nr=It.onTriggerExpand,lr=It.expandIcon,or=It.rowExpandable,jr=It.expandIconColumnIndex,Fr=It.direction,Sr=It.expandRowByClick,ri=It.columnWidth,Cr=It.fixed,$r=It.scrollWidth,Jr=ce.useMemo(function(){return un||an(En)},[un,En]),fi=ce.useMemo(function(){if(mn){var Ai,ui=Jr.slice();if(!ui.includes(He)){var Zr=jr||0;Zr>=0&&ui.splice(Zr,0,He)}var yi=ui.indexOf(He);ui=ui.filter(function(ai,yo){return ai!==He||yo===yi});var Wi=Jr[yi],$i;(Cr==="left"||Cr)&&!jr?$i="left":(Cr==="right"||Cr)&&jr===Jr.length?$i="right":$i=Wi?Wi.fixed:null;var to=(Ai={},(0,ze.Z)(Ai,Dr,{className:"".concat(ln,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,ze.Z)(Ai,"title",Hn),(0,ze.Z)(Ai,"fixed",$i),(0,ze.Z)(Ai,"className","".concat(ln,"-row-expand-icon-cell")),(0,ze.Z)(Ai,"width",ri),(0,ze.Z)(Ai,"render",function(yo,Co,qo){var Io=In(Co,qo),ka=Wn.has(Io),Ta=or?or(Co):!0,xo=lr({prefixCls:ln,expanded:ka,expandable:Ta,record:Co,onExpand:nr});return Sr?ce.createElement("span",{onClick:function(Xo){return Xo.stopPropagation()}},xo):xo}),Ai);return ui.map(function(ai){return ai===He?to:ai})}return Jr.filter(function(ai){return ai!==He})},[mn,Jr,In,Wn,lr,Fr]),Ni=ce.useMemo(function(){var Ai=fi;return zt&&(Ai=zt(Ai)),Ai.length||(Ai=[{render:function(){return null}}]),Ai},[zt,fi,Fr]),Ki=ce.useMemo(function(){return Fr==="rtl"?Dt(gn(Ni)):gn(Ni)},[Ni,Fr,$r]),oi=Qt(Ki,$r),Di=(0,oe.Z)(oi,2),mo=Di[0],ci=Di[1];return[Ni,mo,ci]}var bn=cn;function kn(It){var zt,ln=It.prefixCls,un=It.record,En=It.onExpand,mn=It.expanded,Wn=It.expandable,Hn="".concat(ln,"-row-expand-icon");if(!Wn)return ce.createElement("span",{className:Ue()(Hn,"".concat(ln,"-row-spaced"))});var In=function(lr){En(un,lr),lr.stopPropagation()};return ce.createElement("span",{className:Ue()(Hn,(zt={},(0,ze.Z)(zt,"".concat(ln,"-row-expanded"),mn),(0,ze.Z)(zt,"".concat(ln,"-row-collapsed"),!mn),zt)),onClick:In})}function Gn(It,zt,ln){var un=[];function En(mn){(mn||[]).forEach(function(Wn,Hn){un.push(zt(Wn,Hn)),En(Wn[ln])})}return En(It),un}function Ht(It,zt,ln){var un=Mr(It),En=un.expandIcon,mn=un.expandedRowKeys,Wn=un.defaultExpandedRowKeys,Hn=un.defaultExpandAllRows,In=un.expandedRowRender,nr=un.onExpand,lr=un.onExpandedRowsChange,or=un.childrenColumnName,jr=En||kn,Fr=or||"children",Sr=ce.useMemo(function(){return In?"row":It.expandable&&It.internalHooks===gt&&It.expandable.__PARENT_RENDER_ICON__||zt.some(function(Ki){return Ki&&(0,Te.Z)(Ki)==="object"&&Ki[Fr]})?"nest":!1},[!!In,zt]),ri=ce.useState(function(){return Wn||(Hn?Gn(zt,ln,Fr):[])}),Cr=(0,oe.Z)(ri,2),$r=Cr[0],Jr=Cr[1],fi=ce.useMemo(function(){return new Set(mn||$r||[])},[mn,$r]),Ni=ce.useCallback(function(Ki){var oi=ln(Ki,zt.indexOf(Ki)),Di,mo=fi.has(oi);mo?(fi.delete(oi),Di=(0,Lr.Z)(fi)):Di=[].concat((0,Lr.Z)(fi),[oi]),Jr(Di),nr&&nr(!mo,Ki),lr&&lr(Di)},[ln,fi,zt,nr,lr]);return[un,Sr,fi,jr,Fr,Ni]}function An(It,zt,ln,un){var En=It.map(function(mn,Wn){return wt(Wn,Wn,It,zt,ln,un==null?void 0:un[Wn])});return(0,qe.Z)(function(){return En},[En],function(mn,Wn){return!(0,ge.Z)(mn,Wn)})}function Kn(It){var zt=(0,ce.useRef)(It),ln=(0,ce.useState)({}),un=(0,oe.Z)(ln,2),En=un[1],mn=(0,ce.useRef)(null),Wn=(0,ce.useRef)([]);function Hn(In){Wn.current.push(In);var nr=Promise.resolve();mn.current=nr,nr.then(function(){if(mn.current===nr){var lr=Wn.current,or=zt.current;Wn.current=[],lr.forEach(function(jr){zt.current=jr(zt.current)}),mn.current=null,or!==zt.current&&En({})}})}return(0,ce.useEffect)(function(){return function(){mn.current=null}},[]),[zt.current,Hn]}function ir(It){var zt=(0,ce.useRef)(It||null),ln=(0,ce.useRef)();function un(){window.clearTimeout(ln.current)}function En(Wn){zt.current=Wn,un(),ln.current=window.setTimeout(function(){zt.current=null,ln.current=void 0},100)}function mn(){return zt.current}return(0,ce.useEffect)(function(){return un},[]),[En,mn]}function sn(){var It=ce.useState(-1),zt=(0,oe.Z)(It,2),ln=zt[0],un=zt[1],En=ce.useState(-1),mn=(0,oe.Z)(En,2),Wn=mn[0],Hn=mn[1],In=ce.useCallback(function(nr,lr){un(nr),Hn(lr)},[]);return[ln,Wn,In]}var Cn=We(47273),rn=(0,Cn.Z)()?window:null;function Sn(It,zt){var ln=(0,Te.Z)(It)==="object"?It:{},un=ln.offsetHeader,En=un===void 0?0:un,mn=ln.offsetSummary,Wn=mn===void 0?0:mn,Hn=ln.offsetScroll,In=Hn===void 0?0:Hn,nr=ln.getContainer,lr=nr===void 0?function(){return rn}:nr,or=lr()||rn;return ce.useMemo(function(){var jr=!!It;return{isSticky:jr,stickyClassName:jr?"".concat(zt,"-sticky-holder"):"",offsetHeader:En,offsetSummary:Wn,offsetScroll:In,container:or}},[In,En,Wn,zt,or])}function vn(It,zt,ln){var un=(0,ce.useMemo)(function(){for(var En=[],mn=[],Wn=0,Hn=0,In=0;In<zt;In+=1)if(ln==="rtl"){mn[In]=Hn,Hn+=It[In]||0;var nr=zt-In-1;En[nr]=Wn,Wn+=It[nr]||0}else{En[In]=Wn,Wn+=It[In]||0;var lr=zt-In-1;mn[lr]=Hn,Hn+=It[lr]||0}return{left:En,right:mn}},[It,zt,ln]);return un}var yn=vn;function Tn(It){var zt=It.className,ln=It.children;return ce.createElement("div",{className:zt},ln)}var Fn=Tn,jn=We(8224),Zn=We(55468),gr=function(zt,ln){var un,En,mn=zt.scrollBodyRef,Wn=zt.onScroll,Hn=zt.offsetScroll,In=zt.container,nr=ye(be,"prefixCls"),lr=((un=mn.current)===null||un===void 0?void 0:un.scrollWidth)||0,or=((En=mn.current)===null||En===void 0?void 0:En.clientWidth)||0,jr=lr&&or*(or/lr),Fr=ce.useRef(),Sr=Kn({scrollLeft:0,isHiddenScrollBar:!1}),ri=(0,oe.Z)(Sr,2),Cr=ri[0],$r=ri[1],Jr=ce.useRef({delta:0,x:0}),fi=ce.useState(!1),Ni=(0,oe.Z)(fi,2),Ki=Ni[0],oi=Ni[1],Di=function(){oi(!1)},mo=function(yi){yi.persist(),Jr.current.delta=yi.pageX-Cr.scrollLeft,Jr.current.x=0,oi(!0),yi.preventDefault()},ci=function(yi){var Wi,$i=yi||((Wi=window)===null||Wi===void 0?void 0:Wi.event),to=$i.buttons;if(!Ki||to===0){Ki&&oi(!1);return}var ai=Jr.current.x+yi.pageX-Jr.current.x-Jr.current.delta;ai<=0&&(ai=0),ai+jr>=or&&(ai=or-jr),Wn({scrollLeft:ai/or*(lr+2)}),Jr.current.x=yi.pageX},Ai=function(){if(mn.current){var yi=(0,Zn.os)(mn.current).top,Wi=yi+mn.current.offsetHeight,$i=In===window?document.documentElement.scrollTop+window.innerHeight:(0,Zn.os)(In).top+In.clientHeight;Wi-(0,Ft.Z)()<=$i||yi>=$i-Hn?$r(function(to){return(0,je.Z)((0,je.Z)({},to),{},{isHiddenScrollBar:!0})}):$r(function(to){return(0,je.Z)((0,je.Z)({},to),{},{isHiddenScrollBar:!1})})}},ui=function(yi){$r(function(Wi){return(0,je.Z)((0,je.Z)({},Wi),{},{scrollLeft:yi/lr*or||0})})};return ce.useImperativeHandle(ln,function(){return{setScrollLeft:ui}}),ce.useEffect(function(){var Zr=(0,jn.Z)(document.body,"mouseup",Di,!1),yi=(0,jn.Z)(document.body,"mousemove",ci,!1);return Ai(),function(){Zr.remove(),yi.remove()}},[jr,Ki]),ce.useEffect(function(){var Zr=(0,jn.Z)(In,"scroll",Ai,!1),yi=(0,jn.Z)(window,"resize",Ai,!1);return function(){Zr.remove(),yi.remove()}},[In]),ce.useEffect(function(){Cr.isHiddenScrollBar||$r(function(Zr){var yi=mn.current;return yi?(0,je.Z)((0,je.Z)({},Zr),{},{scrollLeft:yi.scrollLeft/yi.scrollWidth*yi.clientWidth}):Zr})},[Cr.isHiddenScrollBar]),lr<=or||!jr||Cr.isHiddenScrollBar?null:ce.createElement("div",{style:{height:(0,Ft.Z)(),width:or,bottom:Hn},className:"".concat(nr,"-sticky-scroll")},ce.createElement("div",{onMouseDown:mo,ref:Fr,className:Ue()("".concat(nr,"-sticky-scroll-bar"),(0,ze.Z)({},"".concat(nr,"-sticky-scroll-bar-active"),Ki)),style:{width:"".concat(jr,"px"),transform:"translate3d(".concat(Cr.scrollLeft,"px, 0, 0)")}}))},pn=ce.forwardRef(gr);function Tr(It){return null}var Ur=Tr;function Nr(It){return null}var wn=Nr,Jn="rc-table",dr=[],Ar={};function fr(){return"No Data"}function Ir(It){var zt,ln=(0,je.Z)({rowKey:"key",prefixCls:Jn,emptyText:fr},It),un=ln.prefixCls,En=ln.className,mn=ln.rowClassName,Wn=ln.style,Hn=ln.data,In=ln.rowKey,nr=ln.scroll,lr=ln.tableLayout,or=ln.direction,jr=ln.title,Fr=ln.footer,Sr=ln.summary,ri=ln.caption,Cr=ln.id,$r=ln.showHeader,Jr=ln.components,fi=ln.emptyText,Ni=ln.onRow,Ki=ln.onHeaderRow,oi=ln.internalHooks,Di=ln.transformColumns,mo=ln.internalRefs,ci=ln.tailor,Ai=ln.sticky,ui=Hn||dr,Zr=!!ui.length,yi=oi===gt,Wi=ce.useCallback(function(na,Fa){return(0,et.Z)(Jr,na)||Fa},[Jr]),$i=ce.useMemo(function(){return typeof In=="function"?In:function(na){var Fa=na&&na[In];return Fa}},[In]),to=Wi(["body"]),ai=sn(),yo=(0,oe.Z)(ai,3),Co=yo[0],qo=yo[1],Io=yo[2],ka=Ht(ln,ui,$i),Ta=(0,oe.Z)(ka,6),xo=Ta[0],Gi=Ta[1],Xo=Ta[2],Na=Ta[3],wa=Ta[4],is=Ta[5],no=nr==null?void 0:nr.x,Yi=ce.useState(0),ro=(0,oe.Z)(Yi,2),Bi=ro[0],Qo=ro[1],Ii=bn((0,je.Z)((0,je.Z)((0,je.Z)({},ln),xo),{},{expandable:!!xo.expandedRowRender,columnTitle:xo.columnTitle,expandedKeys:Xo,getRowKey:$i,onTriggerExpand:is,expandIcon:Na,expandIconColumnIndex:xo.expandIconColumnIndex,direction:or,scrollWidth:yi&&ci&&typeof no=="number"?no:null}),yi?Di:null),vo=(0,oe.Z)(Ii,3),Ho=vo[0],Uo=vo[1],Cs=vo[2],ls=Cs!=null?Cs:no,Us=ce.useMemo(function(){return{columns:Ho,flattenColumns:Uo}},[Ho,Uo]),ea=ce.useRef(),Ps=ce.useRef(),ts=ce.useRef(),ps=ce.useRef(),Ku=ce.useRef(),ta=ce.useState(!1),aa=(0,oe.Z)(ta,2),pa=aa[0],Qa=aa[1],gs=ce.useState(!1),ko=(0,oe.Z)(gs,2),va=ko[0],ms=ko[1],pl=Kn(new Map),Wl=(0,oe.Z)(pl,2),El=Wl[0],ql=Wl[1],eu=dt(Uo),Hl=eu.map(function(na){return El.get(na)}),ra=ce.useMemo(function(){return Hl},[Hl.join("_")]),Ms=yn(ra,Uo.length,or),Za=nr&&St(nr.y),ya=nr&&St(ls)||!!xo.fixed,Ul=ya&&Uo.some(function(na){var Fa=na.fixed;return Fa}),oc=ce.useRef(),tu=Sn(Ai,un),Mu=tu.isSticky,Vu=tu.offsetHeader,Al=tu.offsetSummary,_o=tu.offsetScroll,ba=tu.stickyClassName,us=tu.container,Ca=ce.useMemo(function(){return Sr==null?void 0:Sr(ui)},[Sr,ui]),Vo=(Za||Mu)&&ce.isValidElement(Ca)&&Ca.type===Le&&Ca.props.fixed,vs,gl,gu;Za&&(gl={overflowY:"scroll",maxHeight:nr.y}),ya&&(vs={overflowX:"auto"},Za||(gl={overflowY:"hidden"}),gu={width:ls===!0?"auto":ls,minWidth:"100%"});var cf=ce.useCallback(function(na,Fa){(0,Et.Z)(ea.current)&&ql(function(Ns){if(Ns.get(na)!==Fa){var nu=new Map(Ns);return nu.set(na,Fa),nu}return Ns})},[]),hn=ir(null),Cc=(0,oe.Z)(hn,2),Xu=Cc[0],hf=Cc[1];function gh(na,Fa){Fa&&(typeof Fa=="function"?Fa(na):Fa.scrollLeft!==na&&(Fa.scrollLeft=na,Fa.scrollLeft!==na&&setTimeout(function(){Fa.scrollLeft=na},0)))}var Qc=(0,Ze.Z)(function(na){var Fa=na.currentTarget,Ns=na.scrollLeft,nu=or==="rtl",ru=typeof Ns=="number"?Ns:Fa.scrollLeft,Bd=Fa||Ar;if(!hf()||hf()===Bd){var Ac;Xu(Bd),gh(ru,Ps.current),gh(ru,ts.current),gh(ru,Ku.current),gh(ru,(Ac=oc.current)===null||Ac===void 0?void 0:Ac.setScrollLeft)}var Yh=Fa||Ps.current;if(Yh){var mu=Yh.scrollWidth,ac=Yh.clientWidth;if(mu===ac){Qa(!1),ms(!1);return}nu?(Qa(-ru<mu-ac),ms(-ru>0)):(Qa(ru>0),ms(ru<mu-ac))}}),Md=function(){ya&&ts.current?Qc({currentTarget:ts.current}):(Qa(!1),ms(!1))},Vp=function(Fa){var Ns=Fa.width;Ns!==Bi&&(Md(),Qo(ea.current?ea.current.offsetWidth:Ns))},Ls=ce.useRef(!1);ce.useEffect(function(){Ls.current&&Md()},[ya,Hn,Ho.length]),ce.useEffect(function(){Ls.current=!0},[]);var Vh=ce.useState(0),Ld=(0,oe.Z)(Vh,2),Xh=Ld[0],df=Ld[1],Yf=ce.useState(!0),ff=(0,oe.Z)(Yf,2),Td=ff[0],Gl=ff[1];ce.useEffect(function(){(!ci||!yi)&&(ts.current instanceof Element?df((0,Ft.o)(ts.current).width):df((0,Ft.o)(ps.current).width)),Gl((0,mt.G)("position","sticky"))},[]),ce.useEffect(function(){yi&&mo&&(mo.body.current=ts.current)});var mh=ce.useCallback(function(na){return ce.createElement(ce.Fragment,null,ce.createElement(vr,na),Vo==="top"&&ce.createElement(Ke,na,Ca))},[Vo,Ca]),pf=ce.useCallback(function(na){return ce.createElement(Ke,na,Ca)},[Ca]),Lu=Wi(["table"],"table"),Pc=ce.useMemo(function(){return lr||(Ul?ls==="max-content"?"auto":"fixed":Za||Mu||Uo.some(function(na){var Fa=na.ellipsis;return Fa})?"fixed":"auto")},[Za,Ul,Uo,lr,Mu]),vh,_c={colWidths:ra,columCount:Uo.length,stickyOffsets:Ms,onHeaderRow:Ki,fixHeader:Za,scroll:nr},ml=ce.useMemo(function(){return Zr?null:typeof fi=="function"?fi():fi},[Zr,fi]),Fd=ce.createElement(er,{data:ui,measureColumnWidth:Za||ya||Mu}),Dd=ce.createElement(Qr,{colWidths:Uo.map(function(na){var Fa=na.width;return Fa}),columns:Uo}),Zl=ri!=null?ce.createElement("caption",{className:"".concat(un,"-caption")},ri):void 0,yh=(0,Kt.Z)(ln,{data:!0}),Od=(0,Kt.Z)(ln,{aria:!0});if(Za||Mu){var kd;typeof to=="function"?(kd=to(ui,{scrollbarSize:Xh,ref:ts,onScroll:Qc}),_c.colWidths=Uo.map(function(na,Fa){var Ns=na.width,nu=Fa===Uo.length-1?Ns-Xh:Ns;return typeof nu=="number"&&!Number.isNaN(nu)?nu:0})):kd=ce.createElement("div",{style:(0,je.Z)((0,je.Z)({},vs),gl),onScroll:Qc,ref:ts,className:Ue()("".concat(un,"-body"))},ce.createElement(Lu,(0,De.Z)({style:(0,je.Z)((0,je.Z)({},gu),{},{tableLayout:Pc})},Od),Zl,Dd,Fd,!Vo&&Ca&&ce.createElement(Ke,{stickyOffsets:Ms,flattenColumns:Uo,columns:Ho},Ca)));var Ec=(0,je.Z)((0,je.Z)((0,je.Z)({noData:!ui.length,maxContentScroll:ya&&ls==="max-content"},_c),Us),{},{direction:or,stickyClassName:ba,onScroll:Qc});vh=ce.createElement(ce.Fragment,null,$r!==!1&&ce.createElement(xi,(0,De.Z)({},Ec,{stickyTopOffset:Vu,className:"".concat(un,"-header"),ref:Ps}),mh),kd,Vo&&Vo!=="top"&&ce.createElement(xi,(0,De.Z)({},Ec,{stickyBottomOffset:Al,className:"".concat(un,"-summary"),ref:Ku}),pf),Mu&&ce.createElement(pn,{ref:oc,offsetScroll:_o,scrollBodyRef:ts,onScroll:Qc,container:us}))}else vh=ce.createElement("div",{style:(0,je.Z)((0,je.Z)({},vs),gl),className:Ue()("".concat(un,"-content")),onScroll:Qc,ref:ts},ce.createElement(Lu,(0,De.Z)({style:(0,je.Z)((0,je.Z)({},gu),{},{tableLayout:Pc})},Od),Zl,Dd,$r!==!1&&ce.createElement(vr,(0,De.Z)({},_c,Us)),Fd,Ca&&ce.createElement(Ke,{stickyOffsets:Ms,flattenColumns:Uo,columns:Ho},Ca)));var ol=ce.createElement("div",(0,De.Z)({className:Ue()(un,En,(zt={},(0,ze.Z)(zt,"".concat(un,"-rtl"),or==="rtl"),(0,ze.Z)(zt,"".concat(un,"-ping-left"),pa),(0,ze.Z)(zt,"".concat(un,"-ping-right"),va),(0,ze.Z)(zt,"".concat(un,"-layout-fixed"),lr==="fixed"),(0,ze.Z)(zt,"".concat(un,"-fixed-header"),Za),(0,ze.Z)(zt,"".concat(un,"-fixed-column"),Ul),(0,ze.Z)(zt,"".concat(un,"-scroll-horizontal"),ya),(0,ze.Z)(zt,"".concat(un,"-has-fix-left"),Uo[0]&&Uo[0].fixed),(0,ze.Z)(zt,"".concat(un,"-has-fix-right"),Uo[Uo.length-1]&&Uo[Uo.length-1].fixed==="right"),zt)),style:Wn,id:Cr,ref:ea},yh),jr&&ce.createElement(Fn,{className:"".concat(un,"-title")},jr(ui)),ce.createElement("div",{ref:ps,className:"".concat(un,"-container")},vh),Fr&&ce.createElement(Fn,{className:"".concat(un,"-footer")},Fr(ui)));ya&&(ol=ce.createElement(ht.Z,{onResize:Vp},ol));var Nd=An(Uo,Ms,or,Ho),cs=ce.useMemo(function(){return{scrollX:ls,prefixCls:un,getComponent:Wi,scrollbarSize:Xh,direction:or,fixedInfoList:Nd,isSticky:Mu,supportSticky:Td,componentWidth:Bi,fixHeader:Za,fixColumn:Ul,horizonScroll:ya,tableLayout:Pc,rowClassName:mn,expandedRowClassName:xo.expandedRowClassName,expandIcon:Na,expandableType:Gi,expandRowByClick:xo.expandRowByClick,expandedRowRender:xo.expandedRowRender,onTriggerExpand:is,expandIconColumnIndex:xo.expandIconColumnIndex,indentSize:xo.indentSize,allColumnsFixedLeft:Uo.every(function(na){return na.fixed==="left"}),emptyNode:ml,columns:Ho,flattenColumns:Uo,onColumnResize:cf,hoverStartRow:Co,hoverEndRow:qo,onHover:Io,rowExpandable:xo.rowExpandable,onRow:Ni,getRowKey:$i,expandedKeys:Xo,childrenColumnName:wa}},[ls,un,Wi,Xh,or,Nd,Mu,Td,Bi,Za,Ul,ya,Pc,mn,xo.expandedRowClassName,Na,Gi,xo.expandRowByClick,xo.expandedRowRender,is,xo.expandIconColumnIndex,xo.indentSize,ml,Ho,Uo,cf,Co,qo,Io,xo.rowExpandable,Ni,$i,Xo,wa]);return ce.createElement(be.Provider,{value:cs},ol)}function Gr(It){return le(Ir,It)}var Wr=Gr();Wr.EXPAND_COLUMN=He,Wr.INTERNAL_HOOKS=gt,Wr.Column=Ur,Wr.ColumnGroup=wn,Wr.Summary=Xe;var br=Wr,Kr=We(24916),Dn=Ae(null),Ei=Ae(null);function On(It,zt,ln){var un=zt||1;return ln[It+un]-(ln[It]||0)}function hi(It){var zt=It.rowInfo,ln=It.column,un=It.colIndex,En=It.indent,mn=It.index,Wn=It.renderIndex,Hn=It.record,In=It.style,nr=It.className,lr=It.inverse,or=It.getHeight,jr=ln.render,Fr=ln.dataIndex,Sr=ln.className,ri=ln.width,Cr=ye(Ei,["columnsOffset"]),$r=Cr.columnsOffset,Jr=_t(zt,ln,un,En,mn),fi=Jr.key,Ni=Jr.fixedInfo,Ki=Jr.appendCellNode,oi=Jr.additionalCellProps,Di=oi.style,mo=oi.colSpan,ci=mo===void 0?1:mo,Ai=oi.rowSpan,ui=Ai===void 0?1:Ai,Zr=un-1,yi=On(Zr,ci,$r),Wi=ci>1?ri-yi:0,$i=(0,je.Z)((0,je.Z)((0,je.Z)({},Di),In),{},{flex:"0 0 ".concat(yi,"px"),width:"".concat(yi,"px"),marginRight:Wi,pointerEvents:"auto"}),to=ce.useMemo(function(){return lr?ui<=1:ci===0||ui===0||ui>1},[ui,ci,lr]);to?$i.visibility="hidden":lr&&($i.height=or==null?void 0:or(ui));var ai=to?function(){return null}:jr,yo={};return(ui===0||ci===0)&&(yo.rowSpan=1,yo.colSpan=1),ce.createElement(Gt,(0,De.Z)({className:Ue()(Sr,nr),ellipsis:ln.ellipsis,align:ln.align,scope:ln.rowScope,component:"div",prefixCls:zt.prefixCls,key:fi,record:Hn,index:mn,renderIndex:Wn,dataIndex:Fr,render:ai,shouldCellUpdate:ln.shouldCellUpdate},Ni,{appendNode:Ki,additionalProps:(0,je.Z)((0,je.Z)({},oi),{},{style:$i},yo)}))}var Ri=hi,_r=["data","index","className","rowKey","style","extra","getHeight"],Xi=ce.forwardRef(function(It,zt){var ln=It.data,un=It.index,En=It.className,mn=It.rowKey,Wn=It.style,Hn=It.extra,In=It.getHeight,nr=(0,we.Z)(It,_r),lr=ln.record,or=ln.indent,jr=ln.index,Fr=ye(be,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Sr=Fr.scrollX,ri=Fr.flattenColumns,Cr=Fr.prefixCls,$r=Fr.fixColumn,Jr=Fr.componentWidth,fi=Bt(lr,mn,un,or),Ni=fi.rowSupportExpand,Ki=fi.expanded,oi=fi.rowProps,Di=fi.expandedRowRender,mo=fi.expandedRowClassName,ci;if(Ni&&Ki){var Ai=Di(lr,un,or+1,Ki),ui=mo==null?void 0:mo(lr,un,or),Zr={};$r&&(Zr={style:(0,ze.Z)({},"--virtual-width","".concat(Jr,"px"))});var yi="".concat(Cr,"-expanded-row-cell");ci=ce.createElement("div",{className:Ue()("".concat(Cr,"-expanded-row"),"".concat(Cr,"-expanded-row-level-").concat(or+1),ui)},ce.createElement(Gt,{component:"div",prefixCls:Cr,className:Ue()(yi,(0,ze.Z)({},"".concat(yi,"-fixed"),$r)),additionalProps:Zr},Ai))}var Wi=(0,je.Z)((0,je.Z)({},Wn),{},{width:Sr});Hn&&(Wi.position="absolute",Wi.pointerEvents="none");var $i=ce.createElement("div",(0,De.Z)({},oi,nr,{ref:Ni?null:zt,className:Ue()(En,"".concat(Cr,"-row"),oi==null?void 0:oi.className,(0,ze.Z)({},"".concat(Cr,"-row-extra"),Hn)),style:(0,je.Z)((0,je.Z)({},Wi),oi==null?void 0:oi.style)}),ri.map(function(to,ai){return ce.createElement(Ri,{key:ai,rowInfo:fi,column:to,colIndex:ai,indent:or,index:un,renderIndex:jr,record:lr,inverse:Hn,getHeight:In})}));return Ni?ce.createElement("div",{ref:zt},$i,ci):$i}),Oi=ue(Xi),Rr=Oi,zr=ce.forwardRef(function(It,zt){var ln=It.data,un=It.onScroll,En=ye(be,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),mn=En.flattenColumns,Wn=En.onColumnResize,Hn=En.getRowKey,In=En.expandedKeys,nr=En.prefixCls,lr=En.childrenColumnName,or=En.emptyNode,jr=En.scrollX,Fr=ye(Dn),Sr=Fr.scrollY,ri=Fr.listItemHeight,Cr=ce.useRef(),$r=Wt(ln,lr,In,Hn),Jr=ce.useMemo(function(){var ci=0;return mn.map(function(Ai){var ui=Ai.width,Zr=Ai.key;return ci+=ui,[Zr,ui,ci]})},[mn]),fi=ce.useMemo(function(){return Jr.map(function(ci){return ci[2]})},[Jr]);ce.useEffect(function(){Jr.forEach(function(ci){var Ai=(0,oe.Z)(ci,2),ui=Ai[0],Zr=Ai[1];Wn(ui,Zr)})},[Jr]),ce.useImperativeHandle(zt,function(){var ci={};return Object.defineProperty(ci,"scrollLeft",{get:function(){var ui;return((ui=Cr.current)===null||ui===void 0?void 0:ui.getScrollInfo().x)||0},set:function(ui){var Zr;(Zr=Cr.current)===null||Zr===void 0||Zr.scrollTo({left:ui})}}),ci});var Ni=function(Ai,ui){var Zr,yi=(Zr=$r[ui])===null||Zr===void 0?void 0:Zr.record,Wi=Ai.onCell;if(Wi){var $i,to=Wi(yi,ui);return($i=to==null?void 0:to.rowSpan)!==null&&$i!==void 0?$i:1}return 1},Ki=function(Ai){var ui=Ai.start,Zr=Ai.end,yi=Ai.getSize,Wi=Ai.offsetY;if(Zr<0)return null;for(var $i=mn.filter(function(no){return Ni(no,ui)===0}),to=ui,ai=function(Yi){if($i=$i.filter(function(ro){return Ni(ro,Yi)===0}),!$i.length)return to=Yi,"break"},yo=ui;yo>=0;yo-=1){var Co=ai(yo);if(Co==="break")break}for(var qo=mn.filter(function(no){return Ni(no,Zr)!==1}),Io=Zr,ka=function(Yi){if(qo=qo.filter(function(ro){return Ni(ro,Yi)!==1}),!qo.length)return Io=Math.max(Yi-1,Zr),"break"},Ta=Zr;Ta<$r.length;Ta+=1){var xo=ka(Ta);if(xo==="break")break}for(var Gi=[],Xo=function(Yi){var ro=$r[Yi];if(!ro)return"continue";mn.some(function(Bi){return Ni(Bi,Yi)>1})&&Gi.push(Yi)},Na=to;Na<=Io;Na+=1)var wa=Xo(Na);var is=Gi.map(function(no){var Yi=$r[no],ro=Hn(Yi.record,no),Bi=function(vo){var Ho=no+vo-1,Uo=Hn($r[Ho].record,Ho),Cs=yi(ro,Uo);return Cs.bottom-Cs.top},Qo=yi(ro);return ce.createElement(Rr,{key:no,data:Yi,rowKey:ro,index:no,style:{top:-Wi+Qo.top},extra:!0,getHeight:Bi})});return is},oi=ce.useMemo(function(){return{columnsOffset:fi}},[fi]),Di="".concat(nr,"-tbody"),mo;return $r.length?mo=ce.createElement(Kr.Z,{fullHeight:!1,ref:Cr,className:Ue()(Di,"".concat(Di,"-virtual")),height:Sr,itemHeight:ri||24,data:$r,itemKey:function(Ai){return Hn(Ai.record)},scrollWidth:jr,onVirtualScroll:function(Ai){var ui=Ai.x;un({scrollLeft:ui})},extraRender:Ki},function(ci,Ai,ui){var Zr=Hn(ci.record,Ai);return ce.createElement(Rr,(0,De.Z)({data:ci,rowKey:Zr,index:Ai},ui))}):mo=ce.createElement("div",{className:Ue()("".concat(nr,"-placeholder"))},ce.createElement(Gt,{component:"div",prefixCls:nr},or)),ce.createElement(Ei.Provider,{value:oi},mo)}),wi=ue(zr),ki=wi,pr=function(zt,ln){var un=ln.ref,En=ln.onScroll;return ce.createElement(ki,{ref:un,data:zt,onScroll:En})},Lt=100;function Li(It){var zt=It.columns,ln=It.scroll,un=It.prefixCls,En=un===void 0?Jn:un,mn=It.className,Wn=It.listItemHeight,Hn=ln||{},In=Hn.x,nr=Hn.y;typeof In!="number"&&(In=((zt||[]).length+1)*Lt),typeof nr!="number"&&(nr=500);var lr=ce.useMemo(function(){return{scrollY:nr,listItemHeight:Wn}},[nr,Wn]);return ce.createElement(Dn.Provider,{value:lr},ce.createElement(br,(0,De.Z)({},It,{className:Ue()(mn,"".concat(En,"-virtual")),scroll:(0,je.Z)((0,je.Z)({},ln),{},{x:In}),components:{body:pr},columns:zt,internalHooks:gt,tailor:!0})))}function ao(It){return le(Li,It)}var Pi=ao(),co=null;function wo(It){return null}var ni=wo;function di(It){return null}var Fi=di,bi=We(2738),so=We(68031),Po=We(36355),Vr=We(93891),Xr=We(19716),qn=We(8628),li=We(31724),qi=We(58421),Ro=We(71418),lo=We(88088);function Qi(It){return function(ln){let{prefixCls:un,onExpand:En,record:mn,expanded:Wn,expandable:Hn}=ln;const In=`${un}-row-expand-icon`;return ce.createElement("button",{type:"button",onClick:nr=>{En(mn,nr),nr.stopPropagation()},className:Ue()(In,{[`${In}-spaced`]:!Hn,[`${In}-expanded`]:Hn&&Wn,[`${In}-collapsed`]:Hn&&!Wn}),"aria-label":Wn?It.collapse:It.expand,"aria-expanded":Wn})}}var Do=Qi;function Oo(It,zt){return"key"in It&&It.key!==void 0&&It.key!==null?It.key:It.dataIndex?Array.isArray(It.dataIndex)?It.dataIndex.join("."):It.dataIndex:zt}function oa(It,zt){return zt?`${zt}-${It}`:`${It}`}function la(It,zt){return typeof It=="function"?It(zt):It}function Ma(It,zt){const ln=la(It,zt);return Object.prototype.toString.call(ln)==="[object Object]"?"":ln}var Mn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},ha=Mn,fu=We(7657),xs=function(zt,ln){return ce.createElement(fu.Z,(0,De.Z)({},zt,{ref:ln,icon:ha}))},bo=ce.forwardRef(xs),_i=bo,da=We(56762);function Ao(It){const zt=ce.useRef(It),ln=(0,da.Z)();return[()=>zt.current,un=>{zt.current=un,ln()}]}var eo=We(3113),Bo=We(24905),ws=We(38854),Ci=We(64165),ho=We(20834),oo=We(40875),Or=We(5112),za=We(17574),Wa=We(47472),Es=We(92832);function Nl(It){let{value:zt,onChange:ln,filterSearch:un,tablePrefixCls:En,locale:mn}=It;return un?ce.createElement("div",{className:`${En}-filter-dropdown-search`},ce.createElement(Es.default,{prefix:ce.createElement(Wa.Z,null),placeholder:mn.filterSearchPlaceholder,onChange:ln,value:zt,htmlSize:1,className:`${En}-filter-dropdown-search-input`})):null}var $l=Nl,wr=We(10228);const ua=It=>{const{keyCode:zt}=It;zt===wr.Z.ENTER&&It.stopPropagation()};var Cl=ce.forwardRef((It,zt)=>ce.createElement("div",{className:It.className,onClick:ln=>ln.stopPropagation(),onKeyDown:ua,ref:zt},It.children));function Bl(It){let zt=[];return(It||[]).forEach(ln=>{let{value:un,children:En}=ln;zt.push(un),En&&(zt=[].concat((0,Lr.Z)(zt),(0,Lr.Z)(Bl(En))))}),zt}function Il(It){return It.some(zt=>{let{children:ln}=zt;return ln})}function zi(It,zt){return typeof zt=="string"||typeof zt=="number"?zt==null?void 0:zt.toString().toLowerCase().includes(It.trim().toLowerCase()):!1}function mc(It){let{filters:zt,prefixCls:ln,filteredKeys:un,filterMultiple:En,searchValue:mn,filterSearch:Wn}=It;return zt.map((Hn,In)=>{const nr=String(Hn.value);if(Hn.children)return{key:nr||In,label:Hn.text,popupClassName:`${ln}-dropdown-submenu`,children:mc({filters:Hn.children,prefixCls:ln,filteredKeys:un,filterMultiple:En,searchValue:mn,filterSearch:Wn})};const lr=En?Bo.default:Or.ZP,or={key:Hn.value!==void 0?nr:In,label:ce.createElement(ce.Fragment,null,ce.createElement(lr,{checked:un.includes(nr)}),ce.createElement("span",null,Hn.text))};return mn.trim()?typeof Wn=="function"?Wn(mn,Hn)?or:null:zi(mn,Hn.text)?or:null:or})}function tl(It){var zt,ln;const{tablePrefixCls:un,prefixCls:En,column:mn,dropdownPrefixCls:Wn,columnKey:Hn,filterMultiple:In,filterMode:nr="menu",filterSearch:lr=!1,filterState:or,triggerFilter:jr,locale:Fr,children:Sr,getPopupContainer:ri}=It,{filterDropdownOpen:Cr,onFilterDropdownOpenChange:$r,filterResetToDefaultFilteredValue:Jr,defaultFilteredValue:fi,filterDropdownVisible:Ni,onFilterDropdownVisibleChange:Ki}=mn,[oi,Di]=ce.useState(!1),mo=!!(or&&(!((zt=or.filteredKeys)===null||zt===void 0)&&zt.length||or.forceFiltered)),ci=Ii=>{Di(Ii),$r==null||$r(Ii),Ki==null||Ki(Ii)},Ai=(ln=Cr!=null?Cr:Ni)!==null&&ln!==void 0?ln:oi,ui=or==null?void 0:or.filteredKeys,[Zr,yi]=Ao(ui||[]),Wi=Ii=>{let{selectedKeys:vo}=Ii;yi(vo)},$i=(Ii,vo)=>{let{node:Ho,checked:Uo}=vo;Wi(In?{selectedKeys:Ii}:{selectedKeys:Uo&&Ho.key?[Ho.key]:[]})};ce.useEffect(()=>{oi&&Wi({selectedKeys:ui||[]})},[ui]);const[to,ai]=ce.useState([]),yo=Ii=>{ai(Ii)},[Co,qo]=ce.useState(""),Io=Ii=>{const{value:vo}=Ii.target;qo(vo)};ce.useEffect(()=>{oi||qo("")},[oi]);const ka=Ii=>{const vo=Ii&&Ii.length?Ii:null;if(vo===null&&(!or||!or.filteredKeys)||(0,ge.Z)(vo,or==null?void 0:or.filteredKeys,!0))return null;jr({column:mn,key:Hn,filteredKeys:vo})},Ta=()=>{ci(!1),ka(Zr())},xo=function(){let{confirm:Ii,closeDropdown:vo}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Ii&&ka([]),vo&&ci(!1),qo(""),yi(Jr?(fi||[]).map(Ho=>String(Ho)):[])},Gi=function(){let{closeDropdown:Ii}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Ii&&ci(!1),ka(Zr())},Xo=Ii=>{Ii&&ui!==void 0&&yi(ui||[]),ci(Ii),!Ii&&!mn.filterDropdown&&Ta()},Na=Ue()({[`${Wn}-menu-without-submenu`]:!Il(mn.filters||[])}),wa=Ii=>{if(Ii.target.checked){const vo=Bl(mn==null?void 0:mn.filters).map(Ho=>String(Ho));yi(vo)}else yi([])},is=Ii=>{let{filters:vo}=Ii;return(vo||[]).map((Ho,Uo)=>{const Cs=String(Ho.value),ls={title:Ho.text,key:Ho.value!==void 0?Cs:Uo};return Ho.children&&(ls.children=is({filters:Ho.children})),ls})},no=Ii=>{var vo;return Object.assign(Object.assign({},Ii),{text:Ii.title,value:Ii.key,children:((vo=Ii.children)===null||vo===void 0?void 0:vo.map(Ho=>no(Ho)))||[]})};let Yi;if(typeof mn.filterDropdown=="function")Yi=mn.filterDropdown({prefixCls:`${Wn}-custom`,setSelectedKeys:Ii=>Wi({selectedKeys:Ii}),selectedKeys:Zr(),confirm:Gi,clearFilters:xo,filters:mn.filters,visible:Ai,close:()=>{ci(!1)}});else if(mn.filterDropdown)Yi=mn.filterDropdown;else{const Ii=Zr()||[],vo=()=>(mn.filters||[]).length===0?ce.createElement(Ci.Z,{image:Ci.Z.PRESENTED_IMAGE_SIMPLE,description:Fr.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):nr==="tree"?ce.createElement(ce.Fragment,null,ce.createElement($l,{filterSearch:lr,value:Co,onChange:Io,tablePrefixCls:un,locale:Fr}),ce.createElement("div",{className:`${un}-filter-dropdown-tree`},In?ce.createElement(Bo.default,{checked:Ii.length===Bl(mn.filters).length,indeterminate:Ii.length>0&&Ii.length<Bl(mn.filters).length,className:`${un}-filter-dropdown-checkall`,onChange:wa},Fr.filterCheckall):null,ce.createElement(za.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:In,checkStrictly:!In,className:`${Wn}-menu`,onCheck:$i,checkedKeys:Ii,selectedKeys:Ii,showIcon:!1,treeData:is({filters:mn.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Co.trim()?Uo=>typeof lr=="function"?lr(Co,no(Uo)):zi(Co,Uo.title):void 0}))):ce.createElement(ce.Fragment,null,ce.createElement($l,{filterSearch:lr,value:Co,onChange:Io,tablePrefixCls:un,locale:Fr}),ce.createElement(ho.default,{selectable:!0,multiple:In,prefixCls:`${Wn}-menu`,className:Na,onSelect:Wi,onDeselect:Wi,selectedKeys:Ii,getPopupContainer:ri,openKeys:to,onOpenChange:yo,items:mc({filters:mn.filters||[],filterSearch:lr,prefixCls:En,filteredKeys:Zr(),filterMultiple:In,searchValue:Co})})),Ho=()=>Jr?(0,ge.Z)((fi||[]).map(Uo=>String(Uo)),Ii,!0):Ii.length===0;Yi=ce.createElement(ce.Fragment,null,vo(),ce.createElement("div",{className:`${En}-dropdown-btns`},ce.createElement(eo.ZP,{type:"link",size:"small",disabled:Ho(),onClick:()=>xo()},Fr.filterReset),ce.createElement(eo.ZP,{type:"primary",size:"small",onClick:Ta},Fr.filterConfirm)))}mn.filterDropdown&&(Yi=ce.createElement(oo.J,{selectable:void 0},Yi));const ro=()=>ce.createElement(Cl,{className:`${En}-dropdown`},Yi);let Bi;typeof mn.filterIcon=="function"?Bi=mn.filterIcon(mo):mn.filterIcon?Bi=mn.filterIcon:Bi=ce.createElement(_i,null);const{direction:Qo}=ce.useContext(Po.E_);return ce.createElement("div",{className:`${En}-column`},ce.createElement("span",{className:`${un}-column-title`},Sr),ce.createElement(ws.Z,{dropdownRender:ro,trigger:["click"],open:Ai,onOpenChange:Xo,getPopupContainer:ri,placement:Qo==="rtl"?"bottomLeft":"bottomRight"},ce.createElement("span",{role:"button",tabIndex:-1,className:Ue()(`${En}-trigger`,{active:mo}),onClick:Ii=>{Ii.stopPropagation()}},Bi)))}var nl=tl;function ks(It,zt,ln){let un=[];return(It||[]).forEach((En,mn)=>{var Wn;const Hn=oa(mn,ln);if(En.filters||"filterDropdown"in En||"onFilter"in En)if("filteredValue"in En){let In=En.filteredValue;"filterDropdown"in En||(In=(Wn=In==null?void 0:In.map(String))!==null&&Wn!==void 0?Wn:In),un.push({column:En,key:Oo(En,Hn),filteredKeys:In,forceFiltered:En.filtered})}else un.push({column:En,key:Oo(En,Hn),filteredKeys:zt&&En.defaultFilteredValue?En.defaultFilteredValue:void 0,forceFiltered:En.filtered});"children"in En&&(un=[].concat((0,Lr.Z)(un),(0,Lr.Z)(ks(En.children,zt,Hn))))}),un}function Eu(It,zt,ln,un,En,mn,Wn,Hn){return ln.map((In,nr)=>{const lr=oa(nr,Hn),{filterMultiple:or=!0,filterMode:jr,filterSearch:Fr}=In;let Sr=In;if(Sr.filters||Sr.filterDropdown){const ri=Oo(Sr,lr),Cr=un.find($r=>{let{key:Jr}=$r;return ri===Jr});Sr=Object.assign(Object.assign({},Sr),{title:$r=>ce.createElement(nl,{tablePrefixCls:It,prefixCls:`${It}-filter`,dropdownPrefixCls:zt,column:Sr,columnKey:ri,filterState:Cr,filterMultiple:or,filterMode:jr,filterSearch:Fr,triggerFilter:mn,locale:En,getPopupContainer:Wn},la(In.title,$r))})}return"children"in Sr&&(Sr=Object.assign(Object.assign({},Sr),{children:Eu(It,zt,Sr.children,un,En,mn,Wn,lr)})),Sr})}function Ru(It){const zt={};return It.forEach(ln=>{let{key:un,filteredKeys:En,column:mn}=ln;const{filters:Wn,filterDropdown:Hn}=mn;if(Hn)zt[un]=En||null;else if(Array.isArray(En)){const In=Bl(Wn);zt[un]=In.filter(nr=>En.includes(String(nr)))}else zt[un]=null}),zt}function Ws(It,zt){return zt.reduce((ln,un)=>{const{column:{onFilter:En,filters:mn},filteredKeys:Wn}=un;return En&&Wn&&Wn.length?ln.filter(Hn=>Wn.some(In=>{const nr=Bl(mn),lr=nr.findIndex(jr=>String(jr)===String(In)),or=lr!==-1?nr[lr]:In;return En(or,Hn)})):ln},It)}const dl=It=>It.flatMap(zt=>"children"in zt?[zt].concat((0,Lr.Z)(dl(zt.children||[]))):[zt]);function Hc(It){let{prefixCls:zt,dropdownPrefixCls:ln,mergedColumns:un,onFilterChange:En,getPopupContainer:mn,locale:Wn}=It;const Hn=ce.useMemo(()=>dl(un||[]),[un]),[In,nr]=ce.useState(()=>ks(Hn,!0)),lr=ce.useMemo(()=>{const Sr=ks(Hn,!1);if(Sr.length===0)return Sr;let ri=!0,Cr=!0;if(Sr.forEach($r=>{let{filteredKeys:Jr}=$r;Jr!==void 0?ri=!1:Cr=!1}),ri){const $r=(Hn||[]).map((Jr,fi)=>Oo(Jr,oa(fi)));return In.filter(Jr=>{let{key:fi}=Jr;return $r.includes(fi)}).map(Jr=>{const fi=Hn[$r.findIndex(Ni=>Ni===Jr.key)];return Object.assign(Object.assign({},Jr),{column:Object.assign(Object.assign({},Jr.column),fi),forceFiltered:fi.filtered})})}return Sr},[Hn,In]),or=ce.useMemo(()=>Ru(lr),[lr]),jr=Sr=>{const ri=lr.filter(Cr=>{let{key:$r}=Cr;return $r!==Sr.key});ri.push(Sr),nr(ri),En(Ru(ri),ri)};return[Sr=>Eu(zt,ln,Sr,lr,Wn,jr,mn),lr,or]}var hh=Hc;function Uc(It,zt,ln){const un=ce.useRef({});function En(mn){if(!un.current||un.current.data!==It||un.current.childrenColumnName!==zt||un.current.getRowKey!==ln){let Hn=function(In){In.forEach((nr,lr)=>{const or=ln(nr,lr);Wn.set(or,nr),nr&&typeof nr=="object"&&zt in nr&&Hn(nr[zt]||[])})};const Wn=new Map;Hn(It),un.current={data:It,childrenColumnName:zt,kvMap:Wn,getRowKey:ln}}return un.current.kvMap.get(mn)}return[En]}var Gh=We(50371),Gc=function(It,zt){var ln={};for(var un in It)Object.prototype.hasOwnProperty.call(It,un)&&zt.indexOf(un)<0&&(ln[un]=It[un]);if(It!=null&&typeof Object.getOwnPropertySymbols=="function")for(var En=0,un=Object.getOwnPropertySymbols(It);En<un.length;En++)zt.indexOf(un[En])<0&&Object.prototype.propertyIsEnumerable.call(It,un[En])&&(ln[un[En]]=It[un[En]]);return ln};const vc=10;function zu(It,zt){const ln={current:It.current,pageSize:It.pageSize};return Object.keys(zt&&typeof zt=="object"?zt:{}).forEach(En=>{const mn=It[En];typeof mn!="function"&&(ln[En]=mn)}),ln}function jl(It,zt,ln){const un=ln&&typeof ln=="object"?ln:{},{total:En=0}=un,mn=Gc(un,["total"]),[Wn,Hn]=(0,ce.useState)(()=>({current:"defaultCurrent"in mn?mn.defaultCurrent:1,pageSize:"defaultPageSize"in mn?mn.defaultPageSize:vc})),In=(0,Gh.Z)(Wn,mn,{total:En>0?En:It}),nr=Math.ceil((En||It)/In.pageSize);In.current>nr&&(In.current=nr||1);const lr=(jr,Fr)=>{Hn({current:jr!=null?jr:1,pageSize:Fr||In.pageSize})},or=(jr,Fr)=>{var Sr;ln&&((Sr=ln.onChange)===null||Sr===void 0||Sr.call(ln,jr,Fr)),lr(jr,Fr),zt(jr,Fr||(In==null?void 0:In.pageSize))};return ln===!1?[{},()=>{}]:[Object.assign(Object.assign({},In),{onChange:or}),lr]}var dh=jl,Zc=We(84105),yc=We(35654),io=We(90782),zo=We(71430),As=We(18929);const _a={},Ha="SELECT_ALL",ga="SELECT_INVERT",La="SELECT_NONE",Ya=[],Ua=(It,zt)=>{let ln=[];return(zt||[]).forEach(un=>{ln.push(un),un&&typeof un=="object"&&It in un&&(ln=[].concat((0,Lr.Z)(ln),(0,Lr.Z)(Ua(It,un[It]))))}),ln};var Rl=(It,zt)=>{const{preserveSelectedRowKeys:ln,selectedRowKeys:un,defaultSelectedRowKeys:En,getCheckboxProps:mn,onChange:Wn,onSelect:Hn,onSelectAll:In,onSelectInvert:nr,onSelectNone:lr,onSelectMultiple:or,columnWidth:jr,type:Fr,selections:Sr,fixed:ri,renderCell:Cr,hideSelectAll:$r,checkStrictly:Jr=!0}=zt||{},{prefixCls:fi,data:Ni,pageData:Ki,getRecordByKey:oi,getRowKey:Di,expandType:mo,childrenColumnName:ci,locale:Ai,getPopupContainer:ui}=It,[Zr,yi]=(0,As.Z)(un||En||Ya,{value:un}),Wi=ce.useRef(new Map),$i=(0,ce.useCallback)(no=>{if(ln){const Yi=new Map;no.forEach(ro=>{let Bi=oi(ro);!Bi&&Wi.current.has(ro)&&(Bi=Wi.current.get(ro)),Yi.set(ro,Bi)}),Wi.current=Yi}},[oi,ln]);ce.useEffect(()=>{$i(Zr)},[Zr]);const{keyEntities:to}=(0,ce.useMemo)(()=>{if(Jr)return{keyEntities:null};let no=Ni;if(ln){const Yi=new Set(Ni.map((Bi,Qo)=>Di(Bi,Qo))),ro=Array.from(Wi.current).reduce((Bi,Qo)=>{let[Ii,vo]=Qo;return Yi.has(Ii)?Bi:Bi.concat(vo)},[]);no=[].concat((0,Lr.Z)(no),(0,Lr.Z)(ro))}return(0,zo.I8)(no,{externalGetKey:Di,childrenPropName:ci})},[Ni,Di,Jr,ci,ln]),ai=(0,ce.useMemo)(()=>Ua(ci,Ki),[ci,Ki]),yo=(0,ce.useMemo)(()=>{const no=new Map;return ai.forEach((Yi,ro)=>{const Bi=Di(Yi,ro),Qo=(mn?mn(Yi):null)||{};no.set(Bi,Qo)}),no},[ai,Di,mn]),Co=(0,ce.useCallback)(no=>{var Yi;return!!(!((Yi=yo.get(Di(no)))===null||Yi===void 0)&&Yi.disabled)},[yo,Di]),[qo,Io]=(0,ce.useMemo)(()=>{if(Jr)return[Zr||[],[]];const{checkedKeys:no,halfCheckedKeys:Yi}=(0,io.S)(Zr,!0,to,Co);return[no||[],Yi]},[Zr,Jr,to,Co]),ka=(0,ce.useMemo)(()=>{const no=Fr==="radio"?qo.slice(0,1):qo;return new Set(no)},[qo,Fr]),Ta=(0,ce.useMemo)(()=>Fr==="radio"?new Set:new Set(Io),[Io,Fr]),[xo,Gi]=(0,ce.useState)(null);ce.useEffect(()=>{zt||yi(Ya)},[!!zt]);const Xo=(0,ce.useCallback)((no,Yi)=>{let ro,Bi;$i(no),ln?(ro=no,Bi=no.map(Qo=>Wi.current.get(Qo))):(ro=[],Bi=[],no.forEach(Qo=>{const Ii=oi(Qo);Ii!==void 0&&(ro.push(Qo),Bi.push(Ii))})),yi(ro),Wn==null||Wn(ro,Bi,{type:Yi})},[yi,oi,Wn,ln]),Na=(0,ce.useCallback)((no,Yi,ro,Bi)=>{if(Hn){const Qo=ro.map(Ii=>oi(Ii));Hn(oi(no),Yi,Qo,Bi)}Xo(ro,"single")},[Hn,oi,Xo]),wa=(0,ce.useMemo)(()=>!Sr||$r?null:(Sr===!0?[Ha,ga,La]:Sr).map(Yi=>Yi===Ha?{key:"all",text:Ai.selectionAll,onSelect(){Xo(Ni.map((ro,Bi)=>Di(ro,Bi)).filter(ro=>{const Bi=yo.get(ro);return!(Bi!=null&&Bi.disabled)||ka.has(ro)}),"all")}}:Yi===ga?{key:"invert",text:Ai.selectInvert,onSelect(){const ro=new Set(ka);Ki.forEach((Qo,Ii)=>{const vo=Di(Qo,Ii),Ho=yo.get(vo);Ho!=null&&Ho.disabled||(ro.has(vo)?ro.delete(vo):ro.add(vo))});const Bi=Array.from(ro);nr&&nr(Bi),Xo(Bi,"invert")}}:Yi===La?{key:"none",text:Ai.selectNone,onSelect(){lr==null||lr(),Xo(Array.from(ka).filter(ro=>{const Bi=yo.get(ro);return Bi==null?void 0:Bi.disabled}),"none")}}:Yi).map(Yi=>Object.assign(Object.assign({},Yi),{onSelect:function(){for(var ro,Bi,Qo=arguments.length,Ii=new Array(Qo),vo=0;vo<Qo;vo++)Ii[vo]=arguments[vo];(Bi=Yi.onSelect)===null||Bi===void 0||(ro=Bi).call.apply(ro,[Yi].concat(Ii)),Gi(null)}})),[Sr,ka,Ki,Di,nr,Xo]);return[(0,ce.useCallback)(no=>{var Yi;if(!zt)return no.filter(ta=>ta!==_a);let ro=(0,Lr.Z)(no);const Bi=new Set(ka),Qo=ai.map(Di).filter(ta=>!yo.get(ta).disabled),Ii=Qo.every(ta=>Bi.has(ta)),vo=Qo.some(ta=>Bi.has(ta)),Ho=()=>{const ta=[];Ii?Qo.forEach(pa=>{Bi.delete(pa),ta.push(pa)}):Qo.forEach(pa=>{Bi.has(pa)||(Bi.add(pa),ta.push(pa))});const aa=Array.from(Bi);In==null||In(!Ii,aa.map(pa=>oi(pa)),ta.map(pa=>oi(pa))),Xo(aa,"all"),Gi(null)};let Uo;if(Fr!=="radio"){let ta;if(wa){const ko={getPopupContainer:ui,items:wa.map((va,ms)=>{const{key:pl,text:Wl,onSelect:El}=va;return{key:pl!=null?pl:ms,onClick:()=>{El==null||El(Qo)},label:Wl}})};ta=ce.createElement("div",{className:`${fi}-selection-extra`},ce.createElement(ws.Z,{menu:ko,getPopupContainer:ui},ce.createElement("span",null,ce.createElement(Zc.Z,null))))}const aa=ai.map((ko,va)=>{const ms=Di(ko,va),pl=yo.get(ms)||{};return Object.assign({checked:Bi.has(ms)},pl)}).filter(ko=>{let{disabled:va}=ko;return va}),pa=!!aa.length&&aa.length===ai.length,Qa=pa&&aa.every(ko=>{let{checked:va}=ko;return va}),gs=pa&&aa.some(ko=>{let{checked:va}=ko;return va});Uo=!$r&&ce.createElement("div",{className:`${fi}-selection`},ce.createElement(Bo.default,{checked:pa?Qa:!!ai.length&&Ii,indeterminate:pa?!Qa&&gs:!Ii&&vo,onChange:Ho,disabled:ai.length===0||pa,"aria-label":ta?"Custom selection":"Select all",skipGroup:!0}),ta)}let Cs;Fr==="radio"?Cs=(ta,aa,pa)=>{const Qa=Di(aa,pa),gs=Bi.has(Qa);return{node:ce.createElement(Or.ZP,Object.assign({},yo.get(Qa),{checked:gs,onClick:ko=>ko.stopPropagation(),onChange:ko=>{Bi.has(Qa)||Na(Qa,!0,[Qa],ko.nativeEvent)}})),checked:gs}}:Cs=(ta,aa,pa)=>{var Qa;const gs=Di(aa,pa),ko=Bi.has(gs),va=Ta.has(gs),ms=yo.get(gs);let pl;return mo==="nest"?pl=va:pl=(Qa=ms==null?void 0:ms.indeterminate)!==null&&Qa!==void 0?Qa:va,{node:ce.createElement(Bo.default,Object.assign({},ms,{indeterminate:pl,checked:ko,skipGroup:!0,onClick:Wl=>Wl.stopPropagation(),onChange:Wl=>{let{nativeEvent:El}=Wl;const{shiftKey:ql}=El;let eu=-1,Hl=-1;if(ql&&Jr){const ra=new Set([xo,gs]);Qo.some((Ms,Za)=>{if(ra.has(Ms))if(eu===-1)eu=Za;else return Hl=Za,!0;return!1})}if(Hl!==-1&&eu!==Hl&&Jr){const ra=Qo.slice(eu,Hl+1),Ms=[];ko?ra.forEach(ya=>{Bi.has(ya)&&(Ms.push(ya),Bi.delete(ya))}):ra.forEach(ya=>{Bi.has(ya)||(Ms.push(ya),Bi.add(ya))});const Za=Array.from(Bi);or==null||or(!ko,Za.map(ya=>oi(ya)),Ms.map(ya=>oi(ya))),Xo(Za,"multiple")}else{const ra=qo;if(Jr){const Ms=ko?(0,yc._5)(ra,gs):(0,yc.L0)(ra,gs);Na(gs,!ko,Ms,El)}else{const Ms=(0,io.S)([].concat((0,Lr.Z)(ra),[gs]),!0,to,Co),{checkedKeys:Za,halfCheckedKeys:ya}=Ms;let Ul=Za;if(ko){const oc=new Set(Za);oc.delete(gs),Ul=(0,io.S)(Array.from(oc),{checked:!1,halfCheckedKeys:ya},to,Co).checkedKeys}Na(gs,!ko,Ul,El)}}Gi(ko?null:gs)}})),checked:ko}};const ls=(ta,aa,pa)=>{const{node:Qa,checked:gs}=Cs(ta,aa,pa);return Cr?Cr(gs,aa,pa,Qa):Qa};if(!ro.includes(_a))if(ro.findIndex(ta=>{var aa;return((aa=ta[Dr])===null||aa===void 0?void 0:aa.columnType)==="EXPAND_COLUMN"})===0){const[ta,...aa]=ro;ro=[ta,_a].concat((0,Lr.Z)(aa))}else ro=[_a].concat((0,Lr.Z)(ro));const Us=ro.indexOf(_a);ro=ro.filter((ta,aa)=>ta!==_a||aa===Us);const ea=ro[Us-1],Ps=ro[Us+1];let ts=ri;ts===void 0&&((Ps==null?void 0:Ps.fixed)!==void 0?ts=Ps.fixed:(ea==null?void 0:ea.fixed)!==void 0&&(ts=ea.fixed)),ts&&ea&&((Yi=ea[Dr])===null||Yi===void 0?void 0:Yi.columnType)==="EXPAND_COLUMN"&&ea.fixed===void 0&&(ea.fixed=ts);const ps=Ue()(`${fi}-selection-col`,{[`${fi}-selection-col-with-dropdown`]:Sr&&Fr==="checkbox"}),Ku={fixed:ts,width:jr,className:`${fi}-selection-column`,title:zt.columnTitle||Uo,render:ls,onCell:zt.onCell,[Dr]:{className:ps}};return ro.map(ta=>ta===_a?Ku:ta)},[Di,ai,zt,qo,ka,Ta,jr,wa,mo,xo,yo,or,Na,Co]),ka]},Da=We(89489),wd=We(59477),bd=We(6848);const Kc="ascend",mi="descend";function fh(It){return typeof It.sorter=="object"&&typeof It.sorter.multiple=="number"?It.sorter.multiple:!1}function tn(It){return typeof It=="function"?It:It&&typeof It=="object"&&It.compare?It.compare:!1}function $n(It,zt){return zt?It[It.indexOf(zt)+1]:It[0]}function Cd(It,zt,ln){let un=[];function En(mn,Wn){un.push({column:mn,key:Oo(mn,Wn),multiplePriority:fh(mn),sortOrder:mn.sortOrder})}return(It||[]).forEach((mn,Wn)=>{const Hn=oa(Wn,ln);mn.children?("sortOrder"in mn&&En(mn,Hn),un=[].concat((0,Lr.Z)(un),(0,Lr.Z)(Cd(mn.children,zt,Hn)))):mn.sorter&&("sortOrder"in mn?En(mn,Hn):zt&&mn.defaultSortOrder&&un.push({column:mn,key:Oo(mn,Hn),multiplePriority:fh(mn),sortOrder:mn.defaultSortOrder}))}),un}function af(It,zt,ln,un,En,mn,Wn,Hn){return(zt||[]).map((In,nr)=>{const lr=oa(nr,Hn);let or=In;if(or.sorter){const jr=or.sortDirections||En,Fr=or.showSorterTooltip===void 0?Wn:or.showSorterTooltip,Sr=Oo(or,lr),ri=ln.find(mo=>{let{key:ci}=mo;return ci===Sr}),Cr=ri?ri.sortOrder:null,$r=$n(jr,Cr);let Jr;if(In.sortIcon)Jr=In.sortIcon({sortOrder:Cr});else{const mo=jr.includes(Kc)&&ce.createElement(wd.Z,{className:Ue()(`${It}-column-sorter-up`,{active:Cr===Kc})}),ci=jr.includes(mi)&&ce.createElement(Da.Z,{className:Ue()(`${It}-column-sorter-down`,{active:Cr===mi})});Jr=ce.createElement("span",{className:Ue()(`${It}-column-sorter`,{[`${It}-column-sorter-full`]:!!(mo&&ci)})},ce.createElement("span",{className:`${It}-column-sorter-inner`,"aria-hidden":"true"},mo,ci))}const{cancelSort:fi,triggerAsc:Ni,triggerDesc:Ki}=mn||{};let oi=fi;$r===mi?oi=Ki:$r===Kc&&(oi=Ni);const Di=typeof Fr=="object"?Fr:{title:oi};or=Object.assign(Object.assign({},or),{className:Ue()(or.className,{[`${It}-column-sort`]:Cr}),title:mo=>{const ci=ce.createElement("div",{className:`${It}-column-sorters`},ce.createElement("span",{className:`${It}-column-title`},la(In.title,mo)),Jr);return Fr?ce.createElement(bd.Z,Object.assign({},Di),ci):ci},onHeaderCell:mo=>{const ci=In.onHeaderCell&&In.onHeaderCell(mo)||{},Ai=ci.onClick,ui=ci.onKeyDown;ci.onClick=Wi=>{un({column:In,key:Sr,sortOrder:$r,multiplePriority:fh(In)}),Ai==null||Ai(Wi)},ci.onKeyDown=Wi=>{Wi.keyCode===wr.Z.ENTER&&(un({column:In,key:Sr,sortOrder:$r,multiplePriority:fh(In)}),ui==null||ui(Wi))};const Zr=Ma(In.title,{}),yi=Zr==null?void 0:Zr.toString();return Cr?ci["aria-sort"]=Cr==="ascend"?"ascending":"descending":ci["aria-label"]=yi||"",ci.className=Ue()(ci.className,`${It}-column-has-sorters`),ci.tabIndex=0,In.ellipsis&&(ci.title=(Zr!=null?Zr:"").toString()),ci}})}return"children"in or&&(or=Object.assign(Object.assign({},or),{children:af(It,or.children,ln,un,En,mn,Wn,lr)})),or})}function Hu(It){const{column:zt,sortOrder:ln}=It;return{column:zt,order:ln,field:zt.dataIndex,columnKey:zt.key}}function Uu(It){const zt=It.filter(ln=>{let{sortOrder:un}=ln;return un}).map(Hu);return zt.length===0&&It.length?Object.assign(Object.assign({},Hu(It[It.length-1])),{column:void 0}):zt.length<=1?zt[0]||{}:zt}function ic(It,zt,ln){const un=zt.slice().sort((Wn,Hn)=>Hn.multiplePriority-Wn.multiplePriority),En=It.slice(),mn=un.filter(Wn=>{let{column:{sorter:Hn},sortOrder:In}=Wn;return tn(Hn)&&In});return mn.length?En.sort((Wn,Hn)=>{for(let In=0;In<mn.length;In+=1){const nr=mn[In],{column:{sorter:lr},sortOrder:or}=nr,jr=tn(lr);if(jr&&or){const Fr=jr(Wn,Hn,or);if(Fr!==0)return or===Kc?Fr:-Fr}}return 0}).map(Wn=>{const Hn=Wn[ln];return Hn?Object.assign(Object.assign({},Wn),{[ln]:ic(Hn,zt,ln)}):Wn}):En}function Pd(It){let{prefixCls:zt,mergedColumns:ln,onSorterChange:un,sortDirections:En,tableLocale:mn,showSorterTooltip:Wn}=It;const[Hn,In]=ce.useState(Cd(ln,!0)),nr=ce.useMemo(()=>{let Sr=!0;const ri=Cd(ln,!1);if(!ri.length)return Hn;const Cr=[];function $r(fi){Sr?Cr.push(fi):Cr.push(Object.assign(Object.assign({},fi),{sortOrder:null}))}let Jr=null;return ri.forEach(fi=>{Jr===null?($r(fi),fi.sortOrder&&(fi.multiplePriority===!1?Sr=!1:Jr=!0)):(Jr&&fi.multiplePriority!==!1||(Sr=!1),$r(fi))}),Cr},[ln,Hn]),lr=ce.useMemo(()=>{const Sr=nr.map(ri=>{let{column:Cr,sortOrder:$r}=ri;return{column:Cr,order:$r}});return{sortColumns:Sr,sortColumn:Sr[0]&&Sr[0].column,sortOrder:Sr[0]&&Sr[0].order}},[nr]);function or(Sr){let ri;Sr.multiplePriority===!1||!nr.length||nr[0].multiplePriority===!1?ri=[Sr]:ri=[].concat((0,Lr.Z)(nr.filter(Cr=>{let{key:$r}=Cr;return $r!==Sr.key})),[Sr]),In(ri),un(Uu(ri),ri)}return[Sr=>af(zt,Sr,nr,or,En,mn,Wn),nr,lr,()=>Uu(nr)]}function ph(It,zt){return It.map(ln=>{const un=Object.assign({},ln);return un.title=la(ln.title,zt),"children"in un&&(un.children=ph(un.children,zt)),un})}function Ga(It){return[ce.useCallback(ln=>ph(ln,It),[It])]}var Zi=Gr((It,zt)=>{const{_renderTimes:ln}=It,{_renderTimes:un}=zt;return ln!==un}),rl=ao((It,zt)=>{const{_renderTimes:ln}=It,{_renderTimes:un}=zt;return ln!==un}),Hs=We(64993),xa=We(17313),Mo=We(83116),ss=We(37613),ma=It=>{const{componentCls:zt}=It,ln=`${It.lineWidth}px ${It.lineType} ${It.tableBorderColor}`,un=(En,mn,Wn)=>({[`&${zt}-${En}`]:{[`> ${zt}-container`]:{[`> ${zt}-content, > ${zt}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${zt}-expanded-row-fixed`]:{margin:`-${mn}px -${Wn+It.lineWidth}px`}}}}}});return{[`${zt}-wrapper`]:{[`${zt}${zt}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${zt}-title`]:{border:ln,borderBottom:0},[`> ${zt}-container`]:{borderInlineStart:ln,borderTop:ln,[`
> ${zt}-content,
> ${zt}-header,
> ${zt}-body,
> ${zt}-summary
`]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:ln},"> thead":{"> tr:not(:last-child) > th":{borderBottom:ln},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${zt}-cell-fix-right-first::after`]:{borderInlineEnd:ln}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${zt}-expanded-row-fixed`]:{margin:`-${It.tablePaddingVertical}px -${It.tablePaddingHorizontal+It.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:It.lineWidth,bottom:0,borderInlineEnd:ln,content:'""'}}}}}},[`&${zt}-scroll-horizontal`]:{[`> ${zt}-container > ${zt}-body`]:{"> table > tbody":{[`
> tr${zt}-expanded-row,
> tr${zt}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},un("middle",It.tablePaddingVerticalMiddle,It.tablePaddingHorizontalMiddle)),un("small",It.tablePaddingVerticalSmall,It.tablePaddingHorizontalSmall)),{[`> ${zt}-footer`]:{border:ln,borderTop:0}}),[`${zt}-cell`]:{[`${zt}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${It.lineWidth}px 0 ${It.lineWidth}px ${It.tableHeaderBg}`}},[`${zt}-bordered ${zt}-cell-scrollbar`]:{borderInlineEnd:ln}}}},bs=It=>{const{componentCls:zt}=It;return{[`${zt}-wrapper`]:{[`${zt}-cell-ellipsis`]:Object.assign(Object.assign({},xa.vS),{wordBreak:"keep-all",[`
&${zt}-cell-fix-left-last,
&${zt}-cell-fix-right-first
`]:{overflow:"visible",[`${zt}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${zt}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Zo=It=>{const{componentCls:zt}=It;return{[`${zt}-wrapper`]:{[`${zt}-tbody > tr${zt}-placeholder`]:{textAlign:"center",color:It.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:It.colorBgContainer}}}}},il=We(15969),fa=It=>{const{componentCls:zt,antCls:ln,controlInteractiveSize:un,motionDurationSlow:En,lineWidth:mn,paddingXS:Wn,lineType:Hn,tableBorderColor:In,tableExpandIconBg:nr,tableExpandColumnWidth:lr,borderRadius:or,fontSize:jr,fontSizeSM:Fr,lineHeight:Sr,tablePaddingVertical:ri,tablePaddingHorizontal:Cr,tableExpandedRowBg:$r,paddingXXS:Jr}=It,fi=un/2-mn,Ni=fi*2+mn*3,Ki=`${mn}px ${Hn} ${In}`,oi=Jr-mn;return{[`${zt}-wrapper`]:{[`${zt}-expand-icon-col`]:{width:lr},[`${zt}-row-expand-icon-cell`]:{textAlign:"center",[`${zt}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${zt}-row-indent`]:{height:1,float:"left"},[`${zt}-row-expand-icon`]:Object.assign(Object.assign({},(0,il.N)(It)),{position:"relative",float:"left",boxSizing:"border-box",width:Ni,height:Ni,padding:0,color:"inherit",lineHeight:`${Ni}px`,background:nr,border:Ki,borderRadius:or,transform:`scale(${un/Ni})`,transition:`all ${En}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${En} ease-out`,content:'""'},"&::before":{top:fi,insetInlineEnd:oi,insetInlineStart:oi,height:mn},"&::after":{top:oi,bottom:oi,insetInlineStart:fi,width:mn,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${zt}-row-indent + ${zt}-row-expand-icon`]:{marginTop:(jr*Sr-mn*3)/2-Math.ceil((Fr*1.4-mn*3)/2),marginInlineEnd:Wn},[`tr${zt}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:$r}},[`${ln}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${zt}-expanded-row-fixed`]:{position:"relative",margin:`-${ri}px -${Cr}px`,padding:`${ri}px ${Cr}px`}}}},Ja=It=>{const{componentCls:zt,antCls:ln,iconCls:un,tableFilterDropdownWidth:En,tableFilterDropdownSearchWidth:mn,paddingXXS:Wn,paddingXS:Hn,colorText:In,lineWidth:nr,lineType:lr,tableBorderColor:or,tableHeaderIconColor:jr,fontSizeSM:Fr,tablePaddingHorizontal:Sr,borderRadius:ri,motionDurationSlow:Cr,colorTextDescription:$r,colorPrimary:Jr,tableHeaderFilterActiveBg:fi,colorTextDisabled:Ni,tableFilterDropdownBg:Ki,tableFilterDropdownHeight:oi,controlItemBgHover:Di,controlItemBgActive:mo,boxShadowSecondary:ci,filterDropdownMenuBg:Ai}=It,ui=`${ln}-dropdown`,Zr=`${zt}-filter-dropdown`,yi=`${ln}-tree`,Wi=`${nr}px ${lr} ${or}`;return[{[`${zt}-wrapper`]:{[`${zt}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${zt}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Wn,marginInline:`${Wn}px ${-Sr/2}px`,padding:`0 ${Wn}px`,color:jr,fontSize:Fr,borderRadius:ri,cursor:"pointer",transition:`all ${Cr}`,"&:hover":{color:$r,background:fi},"&.active":{color:Jr}}}},{[`${ln}-dropdown`]:{[Zr]:Object.assign(Object.assign({},(0,xa.Wf)(It)),{minWidth:En,backgroundColor:Ki,borderRadius:ri,boxShadow:ci,overflow:"hidden",[`${ui}-menu`]:{maxHeight:oi,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Ai,"&:empty::after":{display:"block",padding:`${Hn}px 0`,color:Ni,fontSize:Fr,textAlign:"center",content:'"Not Found"'}},[`${Zr}-tree`]:{paddingBlock:`${Hn}px 0`,paddingInline:Hn,[yi]:{padding:0},[`${yi}-treenode ${yi}-node-content-wrapper:hover`]:{backgroundColor:Di},[`${yi}-treenode-checkbox-checked ${yi}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:mo}}},[`${Zr}-search`]:{padding:Hn,borderBottom:Wi,"&-input":{input:{minWidth:mn},[un]:{color:Ni}}},[`${Zr}-checkall`]:{width:"100%",marginBottom:Wn,marginInlineStart:Wn},[`${Zr}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Hn-nr}px ${Hn}px`,overflow:"hidden",borderTop:Wi}})}},{[`${ln}-dropdown ${Zr}, ${Zr}-submenu`]:{[`${ln}-checkbox-wrapper + span`]:{paddingInlineStart:Hn,color:In},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Xc=It=>{const{componentCls:zt,lineWidth:ln,colorSplit:un,motionDurationSlow:En,zIndexTableFixed:mn,tableBg:Wn,zIndexTableSticky:Hn}=It,In=un;return{[`${zt}-wrapper`]:{[`
${zt}-cell-fix-left,
${zt}-cell-fix-right
`]:{position:"sticky !important",zIndex:mn,background:Wn},[`
${zt}-cell-fix-left-first::after,
${zt}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-ln,width:30,transform:"translateX(100%)",transition:`box-shadow ${En}`,content:'""',pointerEvents:"none"},[`${zt}-cell-fix-left-all::after`]:{display:"none"},[`
${zt}-cell-fix-right-first::after,
${zt}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-ln,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${En}`,content:'""',pointerEvents:"none"},[`${zt}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Hn+1,width:30,transition:`box-shadow ${En}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${zt}-ping-left`]:{[`&:not(${zt}-has-fix-left) ${zt}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${In}`}},[`
${zt}-cell-fix-left-first::after,
${zt}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${In}`},[`${zt}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${zt}-ping-right`]:{[`&:not(${zt}-has-fix-right) ${zt}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${In}`}},[`
${zt}-cell-fix-right-first::after,
${zt}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${In}`}}}}},Gf=It=>{const{componentCls:zt,antCls:ln}=It;return{[`${zt}-wrapper`]:{[`${zt}-pagination${ln}-pagination`]:{margin:`${It.margin}px 0`},[`${zt}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:It.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Zf=It=>{const{componentCls:zt,tableRadius:ln}=It;return{[`${zt}-wrapper`]:{[zt]:{[`${zt}-title, ${zt}-header`]:{borderRadius:`${ln}px ${ln}px 0 0`},[`${zt}-title + ${zt}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${zt}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:ln,borderStartEndRadius:ln,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:ln},"> *:last-child":{borderStartEndRadius:ln}}},"&-footer":{borderRadius:`0 0 ${ln}px ${ln}px`}}}}},Kh=It=>{const{componentCls:zt}=It;return{[`${zt}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${zt}-pagination-left`]:{justifyContent:"flex-end"},[`${zt}-pagination-right`]:{justifyContent:"flex-start"},[`${zt}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${zt}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${zt}-row-indent`]:{float:"right"}}}}},Ed=It=>{const{componentCls:zt,antCls:ln,iconCls:un,fontSizeIcon:En,padding:mn,paddingXS:Wn,tableHeaderIconColor:Hn,tableHeaderIconColorHover:In,tableSelectionColumnWidth:nr}=It;return{[`${zt}-wrapper`]:{[`${zt}-selection-col`]:{width:nr,[`&${zt}-selection-col-with-dropdown`]:{width:nr+En+mn/4}},[`${zt}-bordered ${zt}-selection-col`]:{width:nr+Wn*2,[`&${zt}-selection-col-with-dropdown`]:{width:nr+En+mn/4+Wn*2}},[`
table tr th${zt}-selection-column,
table tr td${zt}-selection-column
`]:{paddingInlineEnd:It.paddingXS,paddingInlineStart:It.paddingXS,textAlign:"center",[`${ln}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${zt}-selection-column${zt}-cell-fix-left`]:{zIndex:It.zIndexTableFixed+1},[`table tr th${zt}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${zt}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${zt}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${It.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${It.tablePaddingHorizontal/4}px`,[un]:{color:Hn,fontSize:En,verticalAlign:"baseline","&:hover":{color:In}}}}}},Yc=It=>{const{componentCls:zt}=It,ln=(un,En,mn,Wn)=>({[`${zt}${zt}-${un}`]:{fontSize:Wn,[`
${zt}-title,
${zt}-footer,
${zt}-cell,
${zt}-thead > tr > th,
${zt}-tbody > tr > th,
${zt}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${En}px ${mn}px`},[`${zt}-filter-trigger`]:{marginInlineEnd:`-${mn/2}px`},[`${zt}-expanded-row-fixed`]:{margin:`-${En}px -${mn}px`},[`${zt}-tbody`]:{[`${zt}-wrapper:only-child ${zt}`]:{marginBlock:`-${En}px`,marginInline:`${It.tableExpandColumnWidth-mn}px -${mn}px`}},[`${zt}-selection-column`]:{paddingInlineStart:`${mn/4}px`}}});return{[`${zt}-wrapper`]:Object.assign(Object.assign({},ln("middle",It.tablePaddingVerticalMiddle,It.tablePaddingHorizontalMiddle,It.tableFontSizeMiddle)),ln("small",It.tablePaddingVerticalSmall,It.tablePaddingHorizontalSmall,It.tableFontSizeSmall))}},Gu=It=>{const{componentCls:zt,marginXXS:ln,fontSizeIcon:un,tableHeaderIconColor:En,tableHeaderIconColorHover:mn}=It;return{[`${zt}-wrapper`]:{[`${zt}-thead th${zt}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${It.motionDurationSlow}`,"&:hover":{background:It.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:It.colorPrimary},[`
&${zt}-cell-fix-left:hover,
&${zt}-cell-fix-right:hover
`]:{background:It.tableFixedHeaderSortActiveBg}},[`${zt}-thead th${zt}-column-sort`]:{background:It.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${zt}-column-sort`]:{background:It.tableBodySortBg},[`${zt}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${zt}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${zt}-column-sorter`]:{marginInlineStart:ln,color:En,fontSize:0,transition:`color ${It.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:un,"&.active":{color:It.colorPrimary}},[`${zt}-column-sorter-up + ${zt}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${zt}-column-sorters:hover ${zt}-column-sorter`]:{color:mn}}}},Jc=It=>{const{componentCls:zt,opacityLoading:ln,tableScrollThumbBg:un,tableScrollThumbBgHover:En,tableScrollThumbSize:mn,tableScrollBg:Wn,zIndexTableSticky:Hn,stickyScrollBarBorderRadius:In}=It,nr=`${It.lineWidth}px ${It.lineType} ${It.tableBorderColor}`;return{[`${zt}-wrapper`]:{[`${zt}-sticky`]:{"&-holder":{position:"sticky",zIndex:Hn,background:It.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${mn}px !important`,zIndex:Hn,display:"flex",alignItems:"center",background:Wn,borderTop:nr,opacity:ln,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:mn,backgroundColor:un,borderRadius:In,transition:`all ${It.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:En}}}}}}},Zu=It=>{const{componentCls:zt,lineWidth:ln,tableBorderColor:un}=It,En=`${ln}px ${It.lineType} ${un}`;return{[`${zt}-wrapper`]:{[`${zt}-summary`]:{position:"relative",zIndex:It.zIndexTableFixed,background:It.tableBg,"> tr":{"> th, > td":{borderBottom:En}}},[`div${zt}-summary`]:{boxShadow:`0 -${ln}px 0 ${un}`}}}},xc=It=>{const{componentCls:zt}=It,ln=`${It.lineWidth}px ${It.lineType} ${It.tableBorderColor}`,un=`${zt}-expanded-row-cell`;return{[`${zt}-wrapper`]:{[`${zt}-tbody-virtual`]:{[`${zt}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${zt}-cell`]:{borderBottom:ln},[`${zt}-expanded-row`]:{[`${un}${un}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${It.lineWidth}px)`,borderInlineEnd:"none"}}},[`${zt}-bordered`]:{[`${zt}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:ln,position:"absolute"},[`${zt}-cell`]:{borderInlineEnd:ln,[`&${zt}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-It.lineWidth,borderInlineStart:ln}}}}}}};const Au=It=>{const{componentCls:zt,fontWeightStrong:ln,tablePaddingVertical:un,tablePaddingHorizontal:En,lineWidth:mn,lineType:Wn,tableBorderColor:Hn,tableFontSize:In,tableBg:nr,tableRadius:lr,tableHeaderTextColor:or,motionDurationMid:jr,tableHeaderBg:Fr,tableHeaderCellSplitColor:Sr,tableRowHoverBg:ri,tableSelectedRowBg:Cr,tableSelectedRowHoverBg:$r,tableFooterTextColor:Jr,tableFooterBg:fi,paddingContentVerticalLG:Ni}=It,Ki=`${mn}px ${Wn} ${Hn}`;return{[`${zt}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,xa.dF)()),{[zt]:Object.assign(Object.assign({},(0,xa.Wf)(It)),{fontSize:In,background:nr,borderRadius:`${lr}px ${lr}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${lr}px ${lr}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${zt}-cell,
${zt}-thead > tr > th,
${zt}-tbody > tr > th,
${zt}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${Ni}px ${En}px`,overflowWrap:"break-word"},[`${zt}-title`]:{padding:`${un}px ${En}px`},[`${zt}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:or,fontWeight:ln,textAlign:"start",background:Fr,borderBottom:Ki,transition:`background ${jr} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${zt}-selection-column):not(${zt}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Sr,transform:"translateY(-50%)",transition:`background-color ${jr}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${zt}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${jr}, border-color ${jr}`,borderBottom:Ki,[`
> ${zt}-wrapper:only-child,
> ${zt}-expanded-row-fixed > ${zt}-wrapper:only-child
`]:{[zt]:{marginBlock:`-${un}px`,marginInline:`${It.tableExpandColumnWidth-En}px -${En}px`,[`${zt}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:or,fontWeight:ln,textAlign:"start",background:Fr,borderBottom:Ki,transition:`background ${jr} ease`},[`
&${zt}-row:hover > th,
&${zt}-row:hover > td,
> th${zt}-cell-row-hover,
> td${zt}-cell-row-hover
`]:{background:ri},[`&${zt}-row-selected`]:{"> th, > td":{background:Cr},"&:hover > th, &:hover > td":{background:$r}}}},[`${zt}-footer`]:{padding:`${un}px ${En}px`,color:Jr,background:fi}})}};var wc=(0,Mo.Z)("Table",It=>{const{colorTextHeading:zt,colorSplit:ln,colorIcon:un,colorIconHover:En,opacityLoading:mn,colorBgContainer:Wn,controlInteractiveSize:Hn,headerBg:In,headerColor:nr,headerSortActiveBg:lr,headerSortHoverBg:or,bodySortBg:jr,rowHoverBg:Fr,rowSelectedBg:Sr,rowSelectedHoverBg:ri,rowExpandedBg:Cr,cellPaddingBlock:$r,cellPaddingInline:Jr,cellPaddingBlockMD:fi,cellPaddingInlineMD:Ni,cellPaddingBlockSM:Ki,cellPaddingInlineSM:oi,borderColor:Di,footerBg:mo,footerColor:ci,headerBorderRadius:Ai,cellFontSize:ui,cellFontSizeMD:Zr,cellFontSizeSM:yi,headerSplitColor:Wi,fixedHeaderSortActiveBg:$i,headerFilterHoverBg:to,filterDropdownBg:ai,expandIconBg:yo,selectionColumnWidth:Co,stickyScrollBarBg:qo}=It,Io=new Hs.C(un),ka=new Hs.C(En),Ta=2,xo=(0,ss.TS)(It,{tableFontSize:ui,tableBg:Wn,tableRadius:Ai,tablePaddingVertical:$r,tablePaddingHorizontal:Jr,tablePaddingVerticalMiddle:fi,tablePaddingHorizontalMiddle:Ni,tablePaddingVerticalSmall:Ki,tablePaddingHorizontalSmall:oi,tableBorderColor:Di,tableHeaderTextColor:nr,tableHeaderBg:In,tableFooterTextColor:ci,tableFooterBg:mo,tableHeaderCellSplitColor:Wi,tableHeaderSortBg:lr,tableHeaderSortHoverBg:or,tableHeaderIconColor:Io.clone().setAlpha(Io.getAlpha()*mn).toRgbString(),tableHeaderIconColorHover:ka.clone().setAlpha(ka.getAlpha()*mn).toRgbString(),tableBodySortBg:jr,tableFixedHeaderSortActiveBg:$i,tableHeaderFilterActiveBg:to,tableFilterDropdownBg:ai,tableRowHoverBg:Fr,tableSelectedRowBg:Sr,tableSelectedRowHoverBg:ri,zIndexTableFixed:Ta,zIndexTableSticky:Ta+1,tableFontSizeMiddle:Zr,tableFontSizeSmall:yi,tableSelectionColumnWidth:Co,tableExpandIconBg:yo,tableExpandColumnWidth:Hn+2*It.padding,tableExpandedRowBg:Cr,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:qo,tableScrollThumbBgHover:zt,tableScrollBg:ln});return[Au(xo),Gf(xo),Zu(xo),Gu(xo),Ja(xo),ma(xo),Zf(xo),fa(xo),Zu(xo),Zo(xo),Ed(xo),Xc(xo),Jc(xo),bs(xo),Yc(xo),Kh(xo),xc(xo)]},It=>{const{colorFillAlter:zt,colorBgContainer:ln,colorTextHeading:un,colorFillSecondary:En,colorFillContent:mn,controlItemBgActive:Wn,controlItemBgActiveHover:Hn,padding:In,paddingSM:nr,paddingXS:lr,colorBorderSecondary:or,borderRadiusLG:jr,fontSize:Fr,controlHeight:Sr,colorTextPlaceholder:ri}=It,Cr=new Hs.C(En).onBackground(ln).toHexShortString(),$r=new Hs.C(mn).onBackground(ln).toHexShortString(),Jr=new Hs.C(zt).onBackground(ln).toHexShortString();return{headerBg:Jr,headerColor:un,headerSortActiveBg:Cr,headerSortHoverBg:$r,bodySortBg:Jr,rowHoverBg:Jr,rowSelectedBg:Wn,rowSelectedHoverBg:Hn,rowExpandedBg:zt,cellPaddingBlock:In,cellPaddingInline:In,cellPaddingBlockMD:nr,cellPaddingInlineMD:lr,cellPaddingBlockSM:lr,cellPaddingInlineSM:lr,borderColor:or,headerBorderRadius:jr,footerBg:Jr,footerColor:un,cellFontSize:Fr,cellFontSizeMD:Fr,cellFontSizeSM:Fr,headerSplitColor:or,fixedHeaderSortActiveBg:Cr,headerFilterHoverBg:mn,filterDropdownMenuBg:ln,filterDropdownBg:ln,expandIconBg:ln,selectionColumnWidth:Sr,stickyScrollBarBg:ri,stickyScrollBarBorderRadius:100}});const Ad=[],lf=(It,zt)=>{const{prefixCls:ln,className:un,rootClassName:En,style:mn,size:Wn,bordered:Hn,dropdownPrefixCls:In,dataSource:nr,pagination:lr,rowSelection:or,rowKey:jr="key",rowClassName:Fr,columns:Sr,children:ri,childrenColumnName:Cr,onChange:$r,getPopupContainer:Jr,loading:fi,expandIcon:Ni,expandable:Ki,expandedRowRender:oi,expandIconColumnIndex:Di,indentSize:mo,scroll:ci,sortDirections:Ai,locale:ui,showSorterTooltip:Zr=!0,virtual:yi}=It,Wi=ce.useMemo(()=>Sr||an(ri),[Sr,ri]),$i=ce.useMemo(()=>Wi.some(_o=>_o.responsive),[Wi]),to=(0,qn.Z)($i),ai=ce.useMemo(()=>{const _o=new Set(Object.keys(to).filter(ba=>to[ba]));return Wi.filter(ba=>!ba.responsive||ba.responsive.some(us=>_o.has(us)))},[Wi,to]),yo=(0,bi.Z)(It,["className","style","columns"]),{locale:Co=li.Z,direction:qo,table:Io,renderEmpty:ka,getPrefixCls:Ta,getPopupContainer:xo}=ce.useContext(Po.E_),Gi=(0,Xr.Z)(Wn),Xo=Object.assign(Object.assign({},Co.Table),ui),Na=nr||Ad,wa=Ta("table",ln),is=Ta("dropdown",In),no=Object.assign({childrenColumnName:Cr,expandIconColumnIndex:Di},Ki),{childrenColumnName:Yi="children"}=no,ro=ce.useMemo(()=>Na.some(_o=>_o==null?void 0:_o[Yi])?"nest":oi||Ki&&Ki.expandedRowRender?"row":null,[Na]),Bi={body:ce.useRef()},Qo=ce.useMemo(()=>typeof jr=="function"?jr:_o=>_o==null?void 0:_o[jr],[jr]),[Ii]=Uc(Na,Yi,Qo),vo={},Ho=function(_o,ba){let us=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ca,Vo,vs;const gl=Object.assign(Object.assign({},vo),_o);us&&((Ca=vo.resetPagination)===null||Ca===void 0||Ca.call(vo),!((Vo=gl.pagination)===null||Vo===void 0)&&Vo.current&&(gl.pagination.current=1),lr&&lr.onChange&&lr.onChange(1,(vs=gl.pagination)===null||vs===void 0?void 0:vs.pageSize)),ci&&ci.scrollToFirstRowOnChange!==!1&&Bi.body.current&&(0,so.Z)(0,{getContainer:()=>Bi.body.current}),$r==null||$r(gl.pagination,gl.filters,gl.sorter,{currentDataSource:Ws(ic(Na,gl.sorterStates,Yi),gl.filterStates),action:ba})},Uo=(_o,ba)=>{Ho({sorter:_o,sorterStates:ba},"sort",!1)},[Cs,ls,Us,ea]=Pd({prefixCls:wa,mergedColumns:ai,onSorterChange:Uo,sortDirections:Ai||["ascend","descend"],tableLocale:Xo,showSorterTooltip:Zr}),Ps=ce.useMemo(()=>ic(Na,ls,Yi),[Na,ls]);vo.sorter=ea(),vo.sorterStates=ls;const ts=(_o,ba)=>{Ho({filters:_o,filterStates:ba},"filter",!0)},[ps,Ku,ta]=hh({prefixCls:wa,locale:Xo,dropdownPrefixCls:is,mergedColumns:ai,onFilterChange:ts,getPopupContainer:Jr||xo}),aa=Ws(Ps,Ku);vo.filters=ta,vo.filterStates=Ku;const pa=ce.useMemo(()=>{const _o={};return Object.keys(ta).forEach(ba=>{ta[ba]!==null&&(_o[ba]=ta[ba])}),Object.assign(Object.assign({},Us),{filters:_o})},[Us,ta]),[Qa]=Ga(pa),gs=(_o,ba)=>{Ho({pagination:Object.assign(Object.assign({},vo.pagination),{current:_o,pageSize:ba})},"paginate")},[ko,va]=dh(aa.length,gs,lr);vo.pagination=lr===!1?{}:zu(ko,lr),vo.resetPagination=va;const ms=ce.useMemo(()=>{if(lr===!1||!ko.pageSize)return aa;const{current:_o=1,total:ba,pageSize:us=vc}=ko;return aa.length<ba?aa.length>us?aa.slice((_o-1)*us,_o*us):aa:aa.slice((_o-1)*us,_o*us)},[!!lr,aa,ko&&ko.current,ko&&ko.pageSize,ko&&ko.total]),[pl,Wl]=Rl({prefixCls:wa,data:aa,pageData:ms,getRowKey:Qo,getRecordByKey:Ii,expandType:ro,childrenColumnName:Yi,locale:Xo,getPopupContainer:Jr||xo},or),El=(_o,ba,us)=>{let Ca;return typeof Fr=="function"?Ca=Ue()(Fr(_o,ba,us)):Ca=Ue()(Fr),Ue()({[`${wa}-row-selected`]:Wl.has(Qo(_o,ba))},Ca)};no.__PARENT_RENDER_ICON__=no.expandIcon,no.expandIcon=no.expandIcon||Ni||Do(Xo),ro==="nest"&&no.expandIconColumnIndex===void 0?no.expandIconColumnIndex=or?1:0:no.expandIconColumnIndex>0&&or&&(no.expandIconColumnIndex-=1),typeof no.indentSize!="number"&&(no.indentSize=typeof mo=="number"?mo:15);const ql=ce.useCallback(_o=>Qa(pl(ps(Cs(_o)))),[Cs,ps,pl]);let eu,Hl;if(lr!==!1&&(ko!=null&&ko.total)){let _o;ko.size?_o=ko.size:_o=Gi==="small"||Gi==="middle"?"small":void 0;const ba=Vo=>ce.createElement(qi.Z,Object.assign({},ko,{className:Ue()(`${wa}-pagination ${wa}-pagination-${Vo}`,ko.className),size:_o})),us=qo==="rtl"?"left":"right",{position:Ca}=ko;if(Ca!==null&&Array.isArray(Ca)){const Vo=Ca.find(gu=>gu.includes("top")),vs=Ca.find(gu=>gu.includes("bottom")),gl=Ca.every(gu=>`${gu}`=="none");!Vo&&!vs&&!gl&&(Hl=ba(us)),Vo&&(eu=ba(Vo.toLowerCase().replace("top",""))),vs&&(Hl=ba(vs.toLowerCase().replace("bottom","")))}else Hl=ba(us)}let ra;typeof fi=="boolean"?ra={spinning:fi}:typeof fi=="object"&&(ra=Object.assign({spinning:!0},fi));const[Ms,Za]=wc(wa),[,ya]=(0,lo.Z)(),Ul=Ue()(`${wa}-wrapper`,Io==null?void 0:Io.className,{[`${wa}-wrapper-rtl`]:qo==="rtl"},un,En,Za),oc=Object.assign(Object.assign({},Io==null?void 0:Io.style),mn),tu=ui&&ui.emptyText||(ka==null?void 0:ka("Table"))||ce.createElement(Vr.Z,{componentName:"Table"}),Mu=yi?rl:Zi,Vu={},Al=ce.useMemo(()=>{const{fontSize:_o,lineHeight:ba,padding:us,paddingXS:Ca,paddingSM:Vo}=ya,vs=Math.floor(_o*ba);switch(Gi){case"large":return us*2+vs;case"small":return Ca*2+vs;default:return Vo*2+vs}},[ya,Gi]);return yi&&(Vu.listItemHeight=Al),Ms(ce.createElement("div",{ref:zt,className:Ul,style:oc},ce.createElement(Ro.Z,Object.assign({spinning:!1},ra),eu,ce.createElement(Mu,Object.assign({},Vu,yo,{columns:ai,direction:qo,expandable:no,prefixCls:wa,className:Ue()({[`${wa}-middle`]:Gi==="middle",[`${wa}-small`]:Gi==="small",[`${wa}-bordered`]:Hn,[`${wa}-empty`]:Na.length===0}),data:ms,rowKey:Qo,rowClassName:El,emptyText:tu,internalHooks:gt,internalRefs:Bi,transformColumns:ql})),Hl)))};var uf=ce.forwardRef(lf);const Xf=(It,zt)=>{const ln=ce.useRef(0);return ln.current+=1,ce.createElement(uf,Object.assign({},It,{ref:zt,_renderTimes:ln.current}))},fl=ce.forwardRef(Xf);fl.SELECTION_COLUMN=_a,fl.EXPAND_COLUMN=He,fl.SELECTION_ALL=Ha,fl.SELECTION_INVERT=ga,fl.SELECTION_NONE=La,fl.Column=ni,fl.ColumnGroup=Fi,fl.Summary=Xe;var bc=fl,Kp=bc},17574:function(Nn,fn,We){"use strict";We.d(fn,{default:function(){return tt}});var He=We(43858),gt=We(19127),oe=We(52671),Ze=We(8657),Ne=We(96663),ge=We(59301),ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Ee=ce,Ae=We(7657),ye=function(dt,St){return ge.createElement(Ae.Z,(0,Ne.Z)({},dt,{ref:St,icon:Ee}))},De=ge.forwardRef(ye),me=De,xe=We(92310),fe=We.n(xe),z=We(35654),ee=We(71430),ae=We(36355),re=We(56082),le=We(62892),ue=We(20648);const pe=4;function Pe(at){const{dropPosition:dt,dropLevelOffset:St,prefixCls:xt,indent:ft,direction:pt="ltr"}=at,yt=pt==="ltr"?"left":"right",Tt=pt==="ltr"?"right":"left",At={[yt]:-St*ft+pe,[Tt]:0};switch(dt){case-1:At.top=-3;break;case 1:At.bottom=-3;break;default:At.bottom=-3,At[yt]=ft+pe;break}return ge.createElement("div",{style:At,className:`${xt}-drop-indicator`})}var be=We(71997),Me=ge.forwardRef((at,dt)=>{const{getPrefixCls:St,direction:xt,virtual:ft,tree:pt}=ge.useContext(ae.E_),{prefixCls:yt,className:Tt,showIcon:At=!1,showLine:Gt,switcherIcon:wt,blockNode:bt=!1,children:it,checkable:_e=!1,selectable:we=!0,draggable:Ce,motion:Ye,style:Je}=at,Le=St("tree",yt),Ge=St(),Ke=Ye!=null?Ye:Object.assign(Object.assign({},(0,le.Z)(Ge)),{motionAppear:!1}),Xe=Object.assign(Object.assign({},at),{checkable:_e,selectable:we,showIcon:At,motion:Ke,blockNode:bt,showLine:!!Gt,dropIndicatorRender:Pe}),[Qe,ht]=(0,ue.ZP)(Le),Et=ge.useMemo(()=>{if(!Ce)return!1;let Ft={};switch(typeof Ce){case"function":Ft.nodeDraggable=Ce;break;case"object":Ft=Object.assign({},Ce);break;default:break}return Ft.icon!==!1&&(Ft.icon=Ft.icon||ge.createElement(re.Z,null)),Ft},[Ce]),mt=Ft=>ge.createElement(be.Z,{prefixCls:Le,switcherIcon:wt,treeNodeProps:Ft,showLine:Gt});return Qe(ge.createElement(He.Z,Object.assign({itemHeight:20,ref:dt,virtual:ft},Xe,{style:Object.assign(Object.assign({},pt==null?void 0:pt.style),Je),prefixCls:Le,className:fe()({[`${Le}-icon-hide`]:!At,[`${Le}-block-node`]:bt,[`${Le}-unselectable`]:!we,[`${Le}-rtl`]:xt==="rtl"},pt==null?void 0:pt.className,Tt,ht),direction:xt,checkable:_e&&ge.createElement("span",{className:`${Le}-checkbox-inner`}),selectable:we,switcherIcon:mt,draggable:Et}),it))}),Oe;(function(at){at[at.None=0]="None",at[at.Start=1]="Start",at[at.End=2]="End"})(Oe||(Oe={}));function Te(at,dt){function St(xt){const{key:ft,children:pt}=xt;dt(ft,xt)!==!1&&Te(pt||[],dt)}at.forEach(St)}function je(at){let{treeData:dt,expandedKeys:St,startKey:xt,endKey:ft}=at;const pt=[];let yt=Oe.None;if(xt&&xt===ft)return[xt];if(!xt||!ft)return[];function Tt(At){return At===xt||At===ft}return Te(dt,At=>{if(yt===Oe.End)return!1;if(Tt(At)){if(pt.push(At),yt===Oe.None)yt=Oe.Start;else if(yt===Oe.Start)return yt=Oe.End,!1}else yt===Oe.Start&&pt.push(At);return St.includes(At)}),pt}function ze(at,dt){const St=(0,gt.Z)(dt),xt=[];return Te(at,(ft,pt)=>{const yt=St.indexOf(ft);return yt!==-1&&(xt.push(pt),St.splice(yt,1)),!!St.length}),xt}var $e=function(at,dt){var St={};for(var xt in at)Object.prototype.hasOwnProperty.call(at,xt)&&dt.indexOf(xt)<0&&(St[xt]=at[xt]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,xt=Object.getOwnPropertySymbols(at);ft<xt.length;ft++)dt.indexOf(xt[ft])<0&&Object.prototype.propertyIsEnumerable.call(at,xt[ft])&&(St[xt[ft]]=at[xt[ft]]);return St};function Ue(at){const{isLeaf:dt,expanded:St}=at;return dt?ge.createElement(oe.Z,null):St?ge.createElement(Ze.Z,null):ge.createElement(me,null)}function qe(at){let{treeData:dt,children:St}=at;return dt||(0,ee.zn)(St)}const et=(at,dt)=>{var{defaultExpandAll:St,defaultExpandParent:xt,defaultExpandedKeys:ft}=at,pt=$e(at,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const yt=ge.useRef(),Tt=ge.useRef(),At=()=>{const{keyEntities:Et}=(0,ee.I8)(qe(pt));let mt;return St?mt=Object.keys(Et):xt?mt=(0,z.r7)(pt.expandedKeys||ft||[],Et):mt=pt.expandedKeys||ft,mt},[Gt,wt]=ge.useState(pt.selectedKeys||pt.defaultSelectedKeys||[]),[bt,it]=ge.useState(()=>At());ge.useEffect(()=>{"selectedKeys"in pt&&wt(pt.selectedKeys)},[pt.selectedKeys]),ge.useEffect(()=>{"expandedKeys"in pt&&it(pt.expandedKeys)},[pt.expandedKeys]);const _e=(Et,mt)=>{var Ft;return"expandedKeys"in pt||it(Et),(Ft=pt.onExpand)===null||Ft===void 0?void 0:Ft.call(pt,Et,mt)},we=(Et,mt)=>{var Ft;const{multiple:Kt}=pt,{node:jt,nativeEvent:Wt}=mt,{key:Vt=""}=jt,nn=qe(pt),Bt=Object.assign(Object.assign({},mt),{selected:!0}),_t=(Wt==null?void 0:Wt.ctrlKey)||(Wt==null?void 0:Wt.metaKey),en=Wt==null?void 0:Wt.shiftKey;let on;Kt&&_t?(on=Et,yt.current=Vt,Tt.current=on,Bt.selectedNodes=ze(nn,on)):Kt&&en?(on=Array.from(new Set([].concat((0,gt.Z)(Tt.current||[]),(0,gt.Z)(je({treeData:nn,expandedKeys:bt,startKey:Vt,endKey:yt.current}))))),Bt.selectedNodes=ze(nn,on)):(on=[Vt],yt.current=Vt,Tt.current=on,Bt.selectedNodes=ze(nn,on)),(Ft=pt.onSelect)===null||Ft===void 0||Ft.call(pt,on,Bt),"selectedKeys"in pt||wt(on)},{getPrefixCls:Ce,direction:Ye}=ge.useContext(ae.E_),{prefixCls:Je,className:Le,showIcon:Ge=!0,expandAction:Ke="click"}=pt,Xe=$e(pt,["prefixCls","className","showIcon","expandAction"]),Qe=Ce("tree",Je),ht=fe()(`${Qe}-directory`,{[`${Qe}-directory-rtl`]:Ye==="rtl"},Le);return ge.createElement(Me,Object.assign({icon:Ue,ref:dt,blockNode:!0},Xe,{showIcon:Ge,expandAction:Ke,prefixCls:Qe,className:ht,expandedKeys:bt,selectedKeys:Gt,onSelect:we,onExpand:_e}))};var ut=ge.forwardRef(et);const vt=Me;vt.DirectoryTree=ut,vt.TreeNode=He.O;var tt=vt},20648:function(Nn,fn,We){"use strict";We.d(fn,{TM:function(){return xe},Yk:function(){return me}});var He=We(93083),gt=We(98447),oe=We(17313),Ze=We(8378),Ne=We(37613),ge=We(83116);const ce=new He.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Ee=(fe,z)=>({[`.${fe}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${z.motionDurationSlow}`}}}),Ae=(fe,z)=>({[`.${fe}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:z.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${z.lineWidthBold}px solid ${z.colorPrimary}`,borderRadius:"50%",content:'""'}}}),ye=(fe,z)=>{const{treeCls:ee,treeNodeCls:ae,treeNodePadding:re,titleHeight:le,nodeSelectedBg:ue,nodeHoverBg:pe}=z,Pe=z.paddingXS;return{[ee]:Object.assign(Object.assign({},(0,oe.Wf)(z)),{background:z.colorBgContainer,borderRadius:z.borderRadius,transition:`background-color ${z.motionDurationSlow}`,[`&${ee}-rtl`]:{[`${ee}-switcher`]:{"&_close":{[`${ee}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${ee}-active-focused)`]:Object.assign({},(0,oe.oN)(z)),[`${ee}-list-holder-inner`]:{alignItems:"flex-start"},[`&${ee}-block-node`]:{[`${ee}-list-holder-inner`]:{alignItems:"stretch",[`${ee}-node-content-wrapper`]:{flex:"auto"},[`${ae}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:re,insetInlineStart:0,border:`1px solid ${z.colorPrimary}`,opacity:0,animationName:ce,animationDuration:z.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${ae}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${re}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${ee}-node-content-wrapper`]:{color:z.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${ee}-node-content-wrapper`]:Object.assign({},(0,oe.oN)(z)),[`&:not(${ae}-disabled).filter-node ${ee}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${ee}-draggable-icon`]:{flexShrink:0,width:le,lineHeight:`${le}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${z.motionDurationSlow}`,[`${ae}:hover &`]:{opacity:.45}},[`&${ae}-disabled`]:{[`${ee}-draggable-icon`]:{visibility:"hidden"}}}},[`${ee}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:le}},[`${ee}-draggable-icon`]:{visibility:"hidden"},[`${ee}-switcher`]:Object.assign(Object.assign({},Ee(fe,z)),{position:"relative",flex:"none",alignSelf:"stretch",width:le,margin:0,lineHeight:`${le}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${ee}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:z.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:le/2,bottom:-re,marginInlineStart:-1,borderInlineEnd:`1px solid ${z.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:le/2*.8,height:le/2,borderBottom:`1px solid ${z.colorBorder}`,content:'""'}}}),[`${ee}-checkbox`]:{top:"initial",marginInlineEnd:Pe},[`${ee}-node-content-wrapper, ${ee}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:le,margin:0,padding:`0 ${z.paddingXS/2}px`,color:"inherit",lineHeight:`${le}px`,background:"transparent",borderRadius:z.borderRadius,cursor:"pointer",transition:`all ${z.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:pe},[`&${ee}-node-selected`]:{backgroundColor:ue},[`${ee}-iconEle`]:{display:"inline-block",width:le,height:le,lineHeight:`${le}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${ee}-unselectable ${ee}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${ee}-node-content-wrapper`]:Object.assign({lineHeight:`${le}px`,userSelect:"none"},Ae(fe,z)),[`${ae}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${z.colorPrimary}`}},"&-show-line":{[`${ee}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:le/2,bottom:-re,borderInlineEnd:`1px solid ${z.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${ee}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${ae}-leaf-last`]:{[`${ee}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${le/2}px !important`}}}}})}},De=fe=>{const{treeCls:z,treeNodeCls:ee,treeNodePadding:ae,directoryNodeSelectedBg:re,directoryNodeSelectedColor:le}=fe;return{[`${z}${z}-directory`]:{[ee]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:ae,insetInlineStart:0,transition:`background-color ${fe.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:fe.controlItemBgHover}},"> *":{zIndex:1},[`${z}-switcher`]:{transition:`color ${fe.motionDurationMid}`},[`${z}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${z}-node-selected`]:{color:le,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:re},[`${z}-switcher`]:{color:le},[`${z}-node-content-wrapper`]:{color:le,background:"transparent"}}}}}},me=(fe,z)=>{const ee=`.${fe}`,ae=`${ee}-treenode`,re=z.paddingXS/2,le=(0,Ne.TS)(z,{treeCls:ee,treeNodeCls:ae,treeNodePadding:re});return[ye(fe,le),De(le)]},xe=fe=>{const{controlHeightSM:z}=fe;return{titleHeight:z,nodeHoverBg:fe.controlItemBgHover,nodeSelectedBg:fe.controlItemBgActive}};fn.ZP=(0,ge.Z)("Tree",(fe,z)=>{let{prefixCls:ee}=z;return[{[fe.componentCls]:(0,gt.C2)(`${ee}-checkbox`,fe)},me(ee,fe),(0,Ze.Z)(fe)]},fe=>{const{colorTextLightSolid:z,colorPrimary:ee}=fe;return Object.assign(Object.assign({},xe(fe)),{directoryNodeSelectedColor:z,directoryNodeSelectedBg:ee})})},71997:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return ae}});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:"filled"},Ze=oe,Ne=We(7657),ge=function(le,ue){return gt.createElement(Ne.Z,(0,He.Z)({},le,{ref:ue,icon:Ze}))},ce=gt.forwardRef(ge),Ee=ce,Ae=We(52671),ye=We(58617),De=We(15075),me=We(43531),xe=We(92310),fe=We.n(xe),z=We(92343),ae=re=>{const{prefixCls:le,switcherIcon:ue,treeNodeProps:pe,showLine:Pe}=re,{isLeaf:be,expanded:Ie,loading:Me}=pe;if(Me)return gt.createElement(ye.Z,{className:`${le}-switcher-loading-icon`});let Oe;if(Pe&&typeof Pe=="object"&&(Oe=Pe.showLeafIcon),be){if(!Pe)return null;if(typeof Oe!="boolean"&&Oe){const ze=typeof Oe=="function"?Oe(pe):Oe,$e=`${le}-switcher-line-custom-icon`;return(0,z.l$)(ze)?(0,z.Tm)(ze,{className:fe()(ze.props.className||"",$e)}):ze}return Oe?gt.createElement(Ae.Z,{className:`${le}-switcher-line-icon`}):gt.createElement("span",{className:`${le}-switcher-leaf-line`})}const Te=`${le}-switcher-icon`,je=typeof ue=="function"?ue(pe):ue;return(0,z.l$)(je)?(0,z.Tm)(je,{className:fe()(je.props.className||"",Te)}):je!==void 0?je:Pe?Ie?gt.createElement(De.Z,{className:`${le}-switcher-line-icon`}):gt.createElement(me.Z,{className:`${le}-switcher-line-icon`}):gt.createElement(Ee,{className:Te})}},54580:function(Nn,fn,We){"use strict";We.d(fn,{default:function(){return Cn}});var He=We(59301),gt=We(19127),oe=We(92310),Ze=We.n(oe),Ne=We(96663),ge=We(52884),ce=We(95727),Ee=We(65711),Ae=We(85745),ye=We(90493),De=We(6620),me=We(49581),xe=We(20135),fe=We(73324),z=We(26112);function ee(rn,Sn){var vn="cannot ".concat(rn.method," ").concat(rn.action," ").concat(Sn.status,"'"),yn=new Error(vn);return yn.status=Sn.status,yn.method=rn.method,yn.url=rn.action,yn}function ae(rn){var Sn=rn.responseText||rn.response;if(!Sn)return Sn;try{return JSON.parse(Sn)}catch(vn){return Sn}}function re(rn){var Sn=new XMLHttpRequest;rn.onProgress&&Sn.upload&&(Sn.upload.onprogress=function(Fn){Fn.total>0&&(Fn.percent=Fn.loaded/Fn.total*100),rn.onProgress(Fn)});var vn=new FormData;rn.data&&Object.keys(rn.data).forEach(function(Tn){var Fn=rn.data[Tn];if(Array.isArray(Fn)){Fn.forEach(function(jn){vn.append("".concat(Tn,"[]"),jn)});return}vn.append(Tn,Fn)}),rn.file instanceof Blob?vn.append(rn.filename,rn.file,rn.file.name):vn.append(rn.filename,rn.file),Sn.onerror=function(Fn){rn.onError(Fn)},Sn.onload=function(){return Sn.status<200||Sn.status>=300?rn.onError(ee(rn,Sn),ae(Sn)):rn.onSuccess(ae(Sn),Sn)},Sn.open(rn.method,rn.action,!0),rn.withCredentials&&"withCredentials"in Sn&&(Sn.withCredentials=!0);var yn=rn.headers||{};return yn["X-Requested-With"]!==null&&Sn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(yn).forEach(function(Tn){yn[Tn]!==null&&Sn.setRequestHeader(Tn,yn[Tn])}),Sn.send(vn),{abort:function(){Sn.abort()}}}var le=+new Date,ue=0;function pe(){return"rc-upload-".concat(le,"-").concat(++ue)}var Pe=We(48736),be=function(rn,Sn){if(rn&&Sn){var vn=Array.isArray(Sn)?Sn:Sn.split(","),yn=rn.name||"",Tn=rn.type||"",Fn=Tn.replace(/\/.*$/,"");return vn.some(function(jn){var Zn=jn.trim();if(/^\*(\/\*)?$/.test(jn))return!0;if(Zn.charAt(0)==="."){var gr=yn.toLowerCase(),pn=Zn.toLowerCase(),Tr=[pn];return(pn===".jpg"||pn===".jpeg")&&(Tr=[".jpg",".jpeg"]),Tr.some(function(Ur){return gr.endsWith(Ur)})}return/\/\*$/.test(Zn)?Fn===Zn.replace(/\/.*$/,""):Tn===Zn?!0:/^\w+$/.test(Zn)?((0,Pe.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Zn,"'.Skip for check.")),!0):!1})}return!0};function Ie(rn,Sn){var vn=rn.createReader(),yn=[];function Tn(){vn.readEntries(function(Fn){var jn=Array.prototype.slice.apply(Fn);yn=yn.concat(jn);var Zn=!jn.length;Zn?Sn(yn):Tn()})}Tn()}var Me=function(Sn,vn,yn){var Tn=function Fn(jn,Zn){jn&&(jn.path=Zn||"",jn.isFile?jn.file(function(gr){yn(gr)&&(jn.fullPath&&!gr.webkitRelativePath&&(Object.defineProperties(gr,{webkitRelativePath:{writable:!0}}),gr.webkitRelativePath=jn.fullPath.replace(/^\//,""),Object.defineProperties(gr,{webkitRelativePath:{writable:!1}})),vn([gr]))}):jn.isDirectory&&Ie(jn,function(gr){gr.forEach(function(pn){Fn(pn,"".concat(Zn).concat(jn.name,"/"))})}))};Sn.forEach(function(Fn){Tn(Fn.webkitGetAsEntry())})},Oe=Me,Te=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],je=function(rn){(0,Ee.Z)(vn,rn);var Sn=(0,Ae.Z)(vn);function vn(){var yn;(0,ge.Z)(this,vn);for(var Tn=arguments.length,Fn=new Array(Tn),jn=0;jn<Tn;jn++)Fn[jn]=arguments[jn];return yn=Sn.call.apply(Sn,[this].concat(Fn)),yn.state={uid:pe()},yn.reqs={},yn.fileInput=void 0,yn._isMounted=void 0,yn.onChange=function(Zn){var gr=yn.props,pn=gr.accept,Tr=gr.directory,Ur=Zn.target.files,Nr=(0,gt.Z)(Ur).filter(function(wn){return!Tr||be(wn,pn)});yn.uploadFiles(Nr),yn.reset()},yn.onClick=function(Zn){var gr=yn.fileInput;if(gr){var pn=Zn.target,Tr=yn.props.onClick;if(pn&&pn.tagName==="BUTTON"){var Ur=gr.parentNode;Ur.focus(),pn.blur()}gr.click(),Tr&&Tr(Zn)}},yn.onKeyDown=function(Zn){Zn.key==="Enter"&&yn.onClick(Zn)},yn.onFileDrop=function(Zn){var gr=yn.props.multiple;if(Zn.preventDefault(),Zn.type!=="dragover")if(yn.props.directory)Oe(Array.prototype.slice.call(Zn.dataTransfer.items),yn.uploadFiles,function(Tr){return be(Tr,yn.props.accept)});else{var pn=(0,gt.Z)(Zn.dataTransfer.files).filter(function(Tr){return be(Tr,yn.props.accept)});gr===!1&&(pn=pn.slice(0,1)),yn.uploadFiles(pn)}},yn.uploadFiles=function(Zn){var gr=(0,gt.Z)(Zn),pn=gr.map(function(Tr){return Tr.uid=pe(),yn.processFile(Tr,gr)});Promise.all(pn).then(function(Tr){var Ur=yn.props.onBatchStart;Ur==null||Ur(Tr.map(function(Nr){var wn=Nr.origin,Jn=Nr.parsedFile;return{file:wn,parsedFile:Jn}})),Tr.filter(function(Nr){return Nr.parsedFile!==null}).forEach(function(Nr){yn.post(Nr)})})},yn.processFile=function(){var Zn=(0,fe.Z)((0,me.Z)().mark(function gr(pn,Tr){var Ur,Nr,wn,Jn,dr,Ar,fr,Ir,Gr;return(0,me.Z)().wrap(function(br){for(;;)switch(br.prev=br.next){case 0:if(Ur=yn.props.beforeUpload,Nr=pn,!Ur){br.next=14;break}return br.prev=3,br.next=6,Ur(pn,Tr);case 6:Nr=br.sent,br.next=12;break;case 9:br.prev=9,br.t0=br.catch(3),Nr=!1;case 12:if(Nr!==!1){br.next=14;break}return br.abrupt("return",{origin:pn,parsedFile:null,action:null,data:null});case 14:if(wn=yn.props.action,typeof wn!="function"){br.next=21;break}return br.next=18,wn(pn);case 18:Jn=br.sent,br.next=22;break;case 21:Jn=wn;case 22:if(dr=yn.props.data,typeof dr!="function"){br.next=29;break}return br.next=26,dr(pn);case 26:Ar=br.sent,br.next=30;break;case 29:Ar=dr;case 30:return fr=((0,xe.Z)(Nr)==="object"||typeof Nr=="string")&&Nr?Nr:pn,fr instanceof File?Ir=fr:Ir=new File([fr],pn.name,{type:pn.type}),Gr=Ir,Gr.uid=pn.uid,br.abrupt("return",{origin:pn,data:Ar,parsedFile:Gr,action:Jn});case 35:case"end":return br.stop()}},gr,null,[[3,9]])}));return function(gr,pn){return Zn.apply(this,arguments)}}(),yn.saveFileInput=function(Zn){yn.fileInput=Zn},yn}return(0,ce.Z)(vn,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Tn){var Fn=this,jn=Tn.data,Zn=Tn.origin,gr=Tn.action,pn=Tn.parsedFile;if(this._isMounted){var Tr=this.props,Ur=Tr.onStart,Nr=Tr.customRequest,wn=Tr.name,Jn=Tr.headers,dr=Tr.withCredentials,Ar=Tr.method,fr=Zn.uid,Ir=Nr||re,Gr={action:gr,filename:wn,data:jn,file:pn,headers:Jn,withCredentials:dr,method:Ar||"post",onProgress:function(br){var Kr=Fn.props.onProgress;Kr==null||Kr(br,pn)},onSuccess:function(br,Kr){var Dn=Fn.props.onSuccess;Dn==null||Dn(br,pn,Kr),delete Fn.reqs[fr]},onError:function(br,Kr){var Dn=Fn.props.onError;Dn==null||Dn(br,Kr,pn),delete Fn.reqs[fr]}};Ur(Zn),this.reqs[fr]=Ir(Gr)}}},{key:"reset",value:function(){this.setState({uid:pe()})}},{key:"abort",value:function(Tn){var Fn=this.reqs;if(Tn){var jn=Tn.uid?Tn.uid:Tn;Fn[jn]&&Fn[jn].abort&&Fn[jn].abort(),delete Fn[jn]}else Object.keys(Fn).forEach(function(Zn){Fn[Zn]&&Fn[Zn].abort&&Fn[Zn].abort(),delete Fn[Zn]})}},{key:"render",value:function(){var Tn=this.props,Fn=Tn.component,jn=Tn.prefixCls,Zn=Tn.className,gr=Tn.disabled,pn=Tn.id,Tr=Tn.style,Ur=Tn.multiple,Nr=Tn.accept,wn=Tn.capture,Jn=Tn.children,dr=Tn.directory,Ar=Tn.openFileDialogOnClick,fr=Tn.onMouseEnter,Ir=Tn.onMouseLeave,Gr=(0,De.Z)(Tn,Te),Wr=Ze()((0,ye.Z)((0,ye.Z)((0,ye.Z)({},jn,!0),"".concat(jn,"-disabled"),gr),Zn,Zn)),br=dr?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},Kr=gr?{}:{onClick:Ar?this.onClick:function(){},onKeyDown:Ar?this.onKeyDown:function(){},onMouseEnter:fr,onMouseLeave:Ir,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return He.createElement(Fn,(0,Ne.Z)({},Kr,{className:Wr,role:"button",style:Tr}),He.createElement("input",(0,Ne.Z)({},(0,z.Z)(Gr,{aria:!0,data:!0}),{id:pn,disabled:gr,type:"file",ref:this.saveFileInput,onClick:function(Ei){return Ei.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:Nr},br,{multiple:Ur,onChange:this.onChange},wn!=null?{capture:wn}:{})),Jn)}}]),vn}(He.Component),ze=je;function $e(){}var Ue=function(rn){(0,Ee.Z)(vn,rn);var Sn=(0,Ae.Z)(vn);function vn(){var yn;(0,ge.Z)(this,vn);for(var Tn=arguments.length,Fn=new Array(Tn),jn=0;jn<Tn;jn++)Fn[jn]=arguments[jn];return yn=Sn.call.apply(Sn,[this].concat(Fn)),yn.uploader=void 0,yn.saveUploader=function(Zn){yn.uploader=Zn},yn}return(0,ce.Z)(vn,[{key:"abort",value:function(Tn){this.uploader.abort(Tn)}},{key:"render",value:function(){return He.createElement(ze,(0,Ne.Z)({},this.props,{ref:this.saveUploader}))}}]),vn}(He.Component);Ue.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:$e,onError:$e,onSuccess:$e,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var qe=Ue,et=qe,lt=We(18929),ut=We(4676),vt=We(36355),tt=We(1684),at=We(9763),dt=We(31724),St={icon:function(Sn,vn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:vn}},{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.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:Sn}}]}},name:"file",theme:"twotone"},xt=St,ft=We(7657),pt=function(Sn,vn){return He.createElement(ft.Z,(0,Ne.Z)({},Sn,{ref:vn,icon:xt}))},yt=He.forwardRef(pt),Tt=yt,At=We(58617),Gt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},wt=Gt,bt=function(Sn,vn){return He.createElement(ft.Z,(0,Ne.Z)({},Sn,{ref:vn,icon:wt}))},it=He.forwardRef(bt),_e=it,we={icon:function(Sn,vn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:Sn}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:vn}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:vn}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:vn}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:Sn}}]}},name:"picture",theme:"twotone"},Ce=we,Ye=function(Sn,vn){return He.createElement(ft.Z,(0,Ne.Z)({},Sn,{ref:vn,icon:Ce}))},Je=He.forwardRef(Ye),Le=Je,Ge=We(77900),Ke=We(56762),Xe=We(62892),Qe=We(92343),ht=We(3113);function Et(rn){return Object.assign(Object.assign({},rn),{lastModified:rn.lastModified,lastModifiedDate:rn.lastModifiedDate,name:rn.name,size:rn.size,type:rn.type,uid:rn.uid,percent:0,originFileObj:rn})}function mt(rn,Sn){const vn=(0,gt.Z)(Sn),yn=vn.findIndex(Tn=>{let{uid:Fn}=Tn;return Fn===rn.uid});return yn===-1?vn.push(rn):vn[yn]=rn,vn}function Ft(rn,Sn){const vn=rn.uid!==void 0?"uid":"name";return Sn.filter(yn=>yn[vn]===rn[vn])[0]}function Kt(rn,Sn){const vn=rn.uid!==void 0?"uid":"name",yn=Sn.filter(Tn=>Tn[vn]!==rn[vn]);return yn.length===Sn.length?null:yn}const jt=function(){const Sn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),yn=Sn[Sn.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(yn)||[""])[0]},Wt=rn=>rn.indexOf("image/")===0,Vt=rn=>{if(rn.type&&!rn.thumbUrl)return Wt(rn.type);const Sn=rn.thumbUrl||rn.url||"",vn=jt(Sn);return/^data:image\//.test(Sn)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(vn)?!0:!(/^data:/.test(Sn)||vn)},nn=200;function Bt(rn){return new Promise(Sn=>{if(!rn.type||!Wt(rn.type)){Sn("");return}const vn=document.createElement("canvas");vn.width=nn,vn.height=nn,vn.style.cssText=`position: fixed; left: 0; top: 0; width: ${nn}px; height: ${nn}px; z-index: 9999; display: none;`,document.body.appendChild(vn);const yn=vn.getContext("2d"),Tn=new Image;if(Tn.onload=()=>{const{width:Fn,height:jn}=Tn;let Zn=nn,gr=nn,pn=0,Tr=0;Fn>jn?(gr=jn*(nn/Fn),Tr=-(gr-Zn)/2):(Zn=Fn*(nn/jn),pn=-(Zn-gr)/2),yn.drawImage(Tn,pn,Tr,Zn,gr);const Ur=vn.toDataURL();document.body.removeChild(vn),window.URL.revokeObjectURL(Tn.src),Sn(Ur)},Tn.crossOrigin="anonymous",rn.type.startsWith("image/svg+xml")){const Fn=new FileReader;Fn.onload=()=>{Fn.result&&(Tn.src=Fn.result)},Fn.readAsDataURL(rn)}else if(rn.type.startsWith("image/gif")){const Fn=new FileReader;Fn.onload=()=>{Fn.result&&Sn(Fn.result)},Fn.readAsDataURL(rn)}else Tn.src=window.URL.createObjectURL(rn)})}var _t=We(26227),en=We(41464),on=We(15277),xn=We(93948),zn=We(6848),er=He.forwardRef((rn,Sn)=>{let{prefixCls:vn,className:yn,style:Tn,locale:Fn,listType:jn,file:Zn,items:gr,progress:pn,iconRender:Tr,actionIconRender:Ur,itemRender:Nr,isImgUrl:wn,showPreviewIcon:Jn,showRemoveIcon:dr,showDownloadIcon:Ar,previewIcon:fr,removeIcon:Ir,downloadIcon:Gr,onPreview:Wr,onDownload:br,onClose:Kr}=rn;var Dn,Ei;const{status:On}=Zn,[hi,Ri]=He.useState(On);He.useEffect(()=>{On!=="removed"&&Ri(On)},[On]);const[_r,Xi]=He.useState(!1);He.useEffect(()=>{const Po=setTimeout(()=>{Xi(!0)},300);return()=>{clearTimeout(Po)}},[]);const Oi=Tr(Zn);let Rr=He.createElement("div",{className:`${vn}-icon`},Oi);if(jn==="picture"||jn==="picture-card"||jn==="picture-circle")if(hi==="uploading"||!Zn.thumbUrl&&!Zn.url){const Po=Ze()(`${vn}-list-item-thumbnail`,{[`${vn}-list-item-file`]:hi!=="uploading"});Rr=He.createElement("div",{className:Po},Oi)}else{const Po=wn!=null&&wn(Zn)?He.createElement("img",{src:Zn.thumbUrl||Zn.url,alt:Zn.name,className:`${vn}-list-item-image`,crossOrigin:Zn.crossOrigin}):Oi,Vr=Ze()(`${vn}-list-item-thumbnail`,{[`${vn}-list-item-file`]:wn&&!wn(Zn)});Rr=He.createElement("a",{className:Vr,onClick:Xr=>Wr(Zn,Xr),href:Zn.url||Zn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Po)}const zr=Ze()(`${vn}-list-item`,`${vn}-list-item-${hi}`),wi=typeof Zn.linkProps=="string"?JSON.parse(Zn.linkProps):Zn.linkProps,ki=dr?Ur((typeof Ir=="function"?Ir(Zn):Ir)||He.createElement(_t.Z,null),()=>Kr(Zn),vn,Fn.removeFile):null,pr=Ar&&hi==="done"?Ur((typeof Gr=="function"?Gr(Zn):Gr)||He.createElement(en.Z,null),()=>br(Zn),vn,Fn.downloadFile):null,Lt=jn!=="picture-card"&&jn!=="picture-circle"&&He.createElement("span",{key:"download-delete",className:Ze()(`${vn}-list-item-actions`,{picture:jn==="picture"})},pr,ki),Li=Ze()(`${vn}-list-item-name`),ao=Zn.url?[He.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Li,title:Zn.name},wi,{href:Zn.url,onClick:Po=>Wr(Zn,Po)}),Zn.name),Lt]:[He.createElement("span",{key:"view",className:Li,onClick:Po=>Wr(Zn,Po),title:Zn.name},Zn.name),Lt],Pi={pointerEvents:"none",opacity:.5},co=Jn?He.createElement("a",{href:Zn.url||Zn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Zn.url||Zn.thumbUrl?void 0:Pi,onClick:Po=>Wr(Zn,Po),title:Fn.previewFile},typeof fr=="function"?fr(Zn):fr||He.createElement(on.Z,null)):null,wo=(jn==="picture-card"||jn==="picture-circle")&&hi!=="uploading"&&He.createElement("span",{className:`${vn}-list-item-actions`},co,hi==="done"&&pr,ki),{getPrefixCls:ni}=He.useContext(vt.E_),di=ni(),Fi=He.createElement("div",{className:zr},Rr,ao,wo,_r&&He.createElement(Ge.default,{motionName:`${di}-fade`,visible:hi==="uploading",motionDeadline:2e3},Po=>{let{className:Vr}=Po;const Xr="percent"in Zn?He.createElement(xn.Z,Object.assign({},pn,{type:"line",percent:Zn.percent,"aria-label":Zn["aria-label"],"aria-labelledby":Zn["aria-labelledby"]})):null;return He.createElement("div",{className:Ze()(`${vn}-list-item-progress`,Vr)},Xr)})),bi=Zn.response&&typeof Zn.response=="string"?Zn.response:((Dn=Zn.error)===null||Dn===void 0?void 0:Dn.statusText)||((Ei=Zn.error)===null||Ei===void 0?void 0:Ei.message)||Fn.uploadError,so=hi==="error"?He.createElement(zn.Z,{title:bi,getPopupContainer:Po=>Po.parentNode},Fi):Fi;return He.createElement("div",{className:Ze()(`${vn}-list-item-container`,yn),style:Tn,ref:Sn},Nr?Nr(so,Zn,gr,{download:br.bind(null,Zn),preview:Wr.bind(null,Zn),remove:Kr.bind(null,Zn)}):so)});const ur=(rn,Sn)=>{const{listType:vn="text",previewFile:yn=Bt,onPreview:Tn,onDownload:Fn,onRemove:jn,locale:Zn,iconRender:gr,isImageUrl:pn=Vt,prefixCls:Tr,items:Ur=[],showPreviewIcon:Nr=!0,showRemoveIcon:wn=!0,showDownloadIcon:Jn=!1,removeIcon:dr,previewIcon:Ar,downloadIcon:fr,progress:Ir={size:[-1,2],showInfo:!1},appendAction:Gr,appendActionVisible:Wr=!0,itemRender:br,disabled:Kr}=rn,Dn=(0,Ke.Z)(),[Ei,On]=He.useState(!1);He.useEffect(()=>{vn!=="picture"&&vn!=="picture-card"&&vn!=="picture-circle"||(Ur||[]).forEach(Pi=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Pi.originFileObj instanceof File||Pi.originFileObj instanceof Blob)||Pi.thumbUrl!==void 0||(Pi.thumbUrl="",yn&&yn(Pi.originFileObj).then(co=>{Pi.thumbUrl=co||"",Dn()}))})},[vn,Ur,yn]),He.useEffect(()=>{On(!0)},[]);const hi=(Pi,co)=>{if(Tn)return co==null||co.preventDefault(),Tn(Pi)},Ri=Pi=>{typeof Fn=="function"?Fn(Pi):Pi.url&&window.open(Pi.url)},_r=Pi=>{jn==null||jn(Pi)},Xi=Pi=>{if(gr)return gr(Pi,vn);const co=Pi.status==="uploading",wo=pn&&pn(Pi)?He.createElement(Le,null):He.createElement(Tt,null);let ni=co?He.createElement(At.Z,null):He.createElement(_e,null);return vn==="picture"?ni=co?He.createElement(At.Z,null):wo:(vn==="picture-card"||vn==="picture-circle")&&(ni=co?Zn.uploading:wo),ni},Oi=(Pi,co,wo,ni)=>{const di={type:"text",size:"small",title:ni,onClick:Fi=>{co(),(0,Qe.l$)(Pi)&&Pi.props.onClick&&Pi.props.onClick(Fi)},className:`${wo}-list-item-action`,disabled:Kr};if((0,Qe.l$)(Pi)){const Fi=(0,Qe.Tm)(Pi,Object.assign(Object.assign({},Pi.props),{onClick:()=>{}}));return He.createElement(ht.ZP,Object.assign({},di,{icon:Fi}))}return He.createElement(ht.ZP,Object.assign({},di),He.createElement("span",null,Pi))};He.useImperativeHandle(Sn,()=>({handlePreview:hi,handleDownload:Ri}));const{getPrefixCls:Rr}=He.useContext(vt.E_),zr=Rr("upload",Tr),wi=Rr(),ki=Ze()(`${zr}-list`,`${zr}-list-${vn}`),pr=(0,gt.Z)(Ur.map(Pi=>({key:Pi.uid,file:Pi})));let Li={motionDeadline:2e3,motionName:`${zr}-${vn==="picture-card"||vn==="picture-circle"?"animate-inline":"animate"}`,keys:pr,motionAppear:Ei};const ao=He.useMemo(()=>{const Pi=Object.assign({},(0,Xe.Z)(wi));return delete Pi.onAppearEnd,delete Pi.onEnterEnd,delete Pi.onLeaveEnd,Pi},[wi]);return vn!=="picture-card"&&vn!=="picture-circle"&&(Li=Object.assign(Object.assign({},ao),Li)),He.createElement("div",{className:ki},He.createElement(Ge.CSSMotionList,Object.assign({},Li,{component:!1}),Pi=>{let{key:co,file:wo,className:ni,style:di}=Pi;return He.createElement(er,{key:co,locale:Zn,prefixCls:zr,className:ni,style:di,file:wo,items:Ur,progress:Ir,listType:vn,isImgUrl:pn,showPreviewIcon:Nr,showRemoveIcon:wn,showDownloadIcon:Jn,removeIcon:dr,previewIcon:Ar,downloadIcon:fr,iconRender:Xi,actionIconRender:Oi,itemRender:br,onPreview:hi,onDownload:Ri,onClose:_r})}),Gr&&He.createElement(Ge.default,Object.assign({},Li,{visible:Wr,forceRender:!0}),Pi=>{let{className:co,style:wo}=Pi;return(0,Qe.Tm)(Gr,ni=>({className:Ze()(ni.className,co),style:Object.assign(Object.assign(Object.assign({},wo),{pointerEvents:co?"none":void 0}),ni.style)}))}))};var Mr=He.forwardRef(ur),Br=We(17313),qr=We(8378),Qr=We(83116),Lr=We(37613),Er=rn=>{const{componentCls:Sn,iconCls:vn}=rn;return{[`${Sn}-wrapper`]:{[`${Sn}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:rn.colorFillAlter,border:`${rn.lineWidth}px dashed ${rn.colorBorder}`,borderRadius:rn.borderRadiusLG,cursor:"pointer",transition:`border-color ${rn.motionDurationSlow}`,[Sn]:{padding:`${rn.padding}px 0`},[`${Sn}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${Sn}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${Sn}-disabled):hover`]:{borderColor:rn.colorPrimaryHover},[`p${Sn}-drag-icon`]:{marginBottom:rn.margin,[vn]:{color:rn.colorPrimary,fontSize:rn.uploadThumbnailSize}},[`p${Sn}-text`]:{margin:`0 0 ${rn.marginXXS}px`,color:rn.colorTextHeading,fontSize:rn.fontSizeLG},[`p${Sn}-hint`]:{color:rn.colorTextDescription,fontSize:rn.fontSize},[`&${Sn}-disabled`]:{cursor:"not-allowed",[`p${Sn}-drag-icon ${vn},
p${Sn}-text,
p${Sn}-hint
`]:{color:rn.colorTextDisabled}}}}}},xi=rn=>{const{componentCls:Sn,antCls:vn,iconCls:yn,fontSize:Tn,lineHeight:Fn}=rn,jn=`${Sn}-list-item`,Zn=`${jn}-actions`,gr=`${jn}-action`,pn=Math.round(Tn*Fn);return{[`${Sn}-wrapper`]:{[`${Sn}-list`]:Object.assign(Object.assign({},(0,Br.dF)()),{lineHeight:rn.lineHeight,[jn]:{position:"relative",height:rn.lineHeight*Tn,marginTop:rn.marginXS,fontSize:Tn,display:"flex",alignItems:"center",transition:`background-color ${rn.motionDurationSlow}`,"&:hover":{backgroundColor:rn.controlItemBgHover},[`${jn}-name`]:Object.assign(Object.assign({},Br.vS),{padding:`0 ${rn.paddingXS}px`,lineHeight:Fn,flex:"auto",transition:`all ${rn.motionDurationSlow}`}),[Zn]:{[gr]:{opacity:0},[`${gr}${vn}-btn-sm`]:{height:pn,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
${gr}:focus-visible,
&.picture ${gr}
`]:{opacity:1},[yn]:{color:rn.actionsColor,transition:`all ${rn.motionDurationSlow}`},[`&:hover ${yn}`]:{color:rn.colorText}},[`${Sn}-icon ${yn}`]:{color:rn.colorTextDescription,fontSize:Tn},[`${jn}-progress`]:{position:"absolute",bottom:-rn.uploadProgressOffset,width:"100%",paddingInlineStart:Tn+rn.paddingXS,fontSize:Tn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${jn}:hover ${gr}`]:{opacity:1,color:rn.colorText},[`${jn}-error`]:{color:rn.colorError,[`${jn}-name, ${Sn}-icon ${yn}`]:{color:rn.colorError},[Zn]:{[`${yn}, ${yn}:hover`]:{color:rn.colorError},[gr]:{opacity:1}}},[`${Sn}-list-item-container`]:{transition:`opacity ${rn.motionDurationSlow}, height ${rn.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},gi=We(93083),Ln=We(1950);const hr=new gi.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),ar=new gi.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Un=rn=>{const{componentCls:Sn}=rn,vn=`${Sn}-animate-inline`;return[{[`${Sn}-wrapper`]:{[`${vn}-appear, ${vn}-enter, ${vn}-leave`]:{animationDuration:rn.motionDurationSlow,animationTimingFunction:rn.motionEaseInOutCirc,animationFillMode:"forwards"},[`${vn}-appear, ${vn}-enter`]:{animationName:hr},[`${vn}-leave`]:{animationName:ar}}},{[`${Sn}-wrapper`]:(0,Ln.J$)(rn)},hr,ar]},Yn=We(93398),Qt=We(64993);const Zt=rn=>{const{componentCls:Sn,iconCls:vn,uploadThumbnailSize:yn,uploadProgressOffset:Tn}=rn,Fn=`${Sn}-list`,jn=`${Fn}-item`;return{[`${Sn}-wrapper`]:{[`
${Fn}${Fn}-picture,
${Fn}${Fn}-picture-card,
${Fn}${Fn}-picture-circle
`]:{[jn]:{position:"relative",height:yn+rn.lineWidth*2+rn.paddingXS*2,padding:rn.paddingXS,border:`${rn.lineWidth}px ${rn.lineType} ${rn.colorBorder}`,borderRadius:rn.borderRadiusLG,"&:hover":{background:"transparent"},[`${jn}-thumbnail`]:Object.assign(Object.assign({},Br.vS),{width:yn,height:yn,lineHeight:`${yn+rn.paddingSM}px`,textAlign:"center",flex:"none",[vn]:{fontSize:rn.fontSizeHeading2,color:rn.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${jn}-progress`]:{bottom:Tn,width:`calc(100% - ${rn.paddingSM*2}px)`,marginTop:0,paddingInlineStart:yn+rn.paddingXS}},[`${jn}-error`]:{borderColor:rn.colorError,[`${jn}-thumbnail ${vn}`]:{[`svg path[fill='${Yn.blue[0]}']`]:{fill:rn.colorErrorBg},[`svg path[fill='${Yn.blue.primary}']`]:{fill:rn.colorError}}},[`${jn}-uploading`]:{borderStyle:"dashed",[`${jn}-name`]:{marginBottom:Tn}}},[`${Fn}${Fn}-picture-circle ${jn}`]:{[`&, &::before, ${jn}-thumbnail`]:{borderRadius:"50%"}}}}},Pt=rn=>{const{componentCls:Sn,iconCls:vn,fontSizeLG:yn,colorTextLightSolid:Tn}=rn,Fn=`${Sn}-list`,jn=`${Fn}-item`,Zn=rn.uploadPicCardSize;return{[`
${Sn}-wrapper${Sn}-picture-card-wrapper,
${Sn}-wrapper${Sn}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,Br.dF)()),{display:"inline-block",width:"100%",[`${Sn}${Sn}-select`]:{width:Zn,height:Zn,marginInlineEnd:rn.marginXS,marginBottom:rn.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:rn.colorFillAlter,border:`${rn.lineWidth}px dashed ${rn.colorBorder}`,borderRadius:rn.borderRadiusLG,cursor:"pointer",transition:`border-color ${rn.motionDurationSlow}`,[`> ${Sn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Sn}-disabled):hover`]:{borderColor:rn.colorPrimary}},[`${Fn}${Fn}-picture-card, ${Fn}${Fn}-picture-circle`]:{[`${Fn}-item-container`]:{display:"inline-block",width:Zn,height:Zn,marginBlock:`0 ${rn.marginXS}px`,marginInline:`0 ${rn.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[jn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${rn.paddingXS*2}px)`,height:`calc(100% - ${rn.paddingXS*2}px)`,backgroundColor:rn.colorBgMask,opacity:0,transition:`all ${rn.motionDurationSlow}`,content:'" "'}},[`${jn}:hover`]:{[`&::before, ${jn}-actions`]:{opacity:1}},[`${jn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${rn.motionDurationSlow}`,[`${vn}-eye, ${vn}-download, ${vn}-delete`]:{zIndex:10,width:yn,margin:`0 ${rn.marginXXS}px`,fontSize:yn,cursor:"pointer",transition:`all ${rn.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${jn}-actions, ${jn}-actions:hover`]:{[`${vn}-eye, ${vn}-download, ${vn}-delete`]:{color:new Qt.C(Tn).setAlpha(.65).toRgbString(),"&:hover":{color:Tn}}},[`${jn}-thumbnail, ${jn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${jn}-name`]:{display:"none",textAlign:"center"},[`${jn}-file + ${jn}-name`]:{position:"absolute",bottom:rn.margin,display:"block",width:`calc(100% - ${rn.paddingXS*2}px)`},[`${jn}-uploading`]:{[`&${jn}`]:{backgroundColor:rn.colorFillAlter},[`&::before, ${vn}-eye, ${vn}-download, ${vn}-delete`]:{display:"none"}},[`${jn}-progress`]:{bottom:rn.marginXL,width:`calc(100% - ${rn.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${Sn}-wrapper${Sn}-picture-circle-wrapper`]:{[`${Sn}${Sn}-select`]:{borderRadius:"50%"}}}};var gn=rn=>{const{componentCls:Sn}=rn;return{[`${Sn}-rtl`]:{direction:"rtl"}}};const Xt=rn=>{const{componentCls:Sn,colorTextDisabled:vn}=rn;return{[`${Sn}-wrapper`]:Object.assign(Object.assign({},(0,Br.Wf)(rn)),{[Sn]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Sn}-select`]:{display:"inline-block"},[`${Sn}-disabled`]:{color:vn,cursor:"not-allowed"}})}};var Dt=(0,Qr.Z)("Upload",rn=>{const{fontSizeHeading3:Sn,fontSize:vn,lineHeight:yn,lineWidth:Tn,controlHeightLG:Fn}=rn,jn=Math.round(vn*yn),Zn=(0,Lr.TS)(rn,{uploadThumbnailSize:Sn*2,uploadProgressOffset:jn/2+Tn,uploadPicCardSize:Fn*2.55});return[Xt(Zn),Er(Zn),Zt(Zn),Pt(Zn),xi(Zn),Un(Zn),gn(Zn),(0,qr.Z)(Zn)]},rn=>({actionsColor:rn.colorTextDescription})),cn=function(rn,Sn,vn,yn){function Tn(Fn){return Fn instanceof vn?Fn:new vn(function(jn){jn(Fn)})}return new(vn||(vn=Promise))(function(Fn,jn){function Zn(Tr){try{pn(yn.next(Tr))}catch(Ur){jn(Ur)}}function gr(Tr){try{pn(yn.throw(Tr))}catch(Ur){jn(Ur)}}function pn(Tr){Tr.done?Fn(Tr.value):Tn(Tr.value).then(Zn,gr)}pn((yn=yn.apply(rn,Sn||[])).next())})};const bn=`__LIST_IGNORE_${Date.now()}__`,kn=(rn,Sn)=>{const{fileList:vn,defaultFileList:yn,onRemove:Tn,showUploadList:Fn=!0,listType:jn="text",onPreview:Zn,onDownload:gr,onChange:pn,onDrop:Tr,previewFile:Ur,disabled:Nr,locale:wn,iconRender:Jn,isImageUrl:dr,progress:Ar,prefixCls:fr,className:Ir,type:Gr="select",children:Wr,style:br,itemRender:Kr,maxCount:Dn,data:Ei={},multiple:On=!1,action:hi="",accept:Ri="",supportServerRender:_r=!0,rootClassName:Xi}=rn,Oi=He.useContext(tt.Z),Rr=Nr!=null?Nr:Oi,[zr,wi]=(0,lt.Z)(yn||[],{value:vn,postState:bo=>bo!=null?bo:[]}),[ki,pr]=He.useState("drop"),Lt=He.useRef(null);He.useMemo(()=>{const bo=Date.now();(vn||[]).forEach((_i,da)=>{!_i.uid&&!Object.isFrozen(_i)&&(_i.uid=`__AUTO__${bo}_${da}__`)})},[vn]);const Li=(bo,_i,da)=>{let Ao=(0,gt.Z)(_i),eo=!1;Dn===1?Ao=Ao.slice(-1):Dn&&(eo=Ao.length>Dn,Ao=Ao.slice(0,Dn)),(0,ut.flushSync)(()=>{wi(Ao)});const Bo={file:bo,fileList:Ao};da&&(Bo.event=da),(!eo||Ao.some(ws=>ws.uid===bo.uid))&&(0,ut.flushSync)(()=>{pn==null||pn(Bo)})},ao=(bo,_i)=>cn(void 0,void 0,void 0,function*(){const{beforeUpload:da,transformFile:Ao}=rn;let eo=bo;if(da){const Bo=yield da(bo,_i);if(Bo===!1)return!1;if(delete bo[bn],Bo===bn)return Object.defineProperty(bo,bn,{value:!0,configurable:!0}),!1;typeof Bo=="object"&&Bo&&(eo=Bo)}return Ao&&(eo=yield Ao(eo)),eo}),Pi=bo=>{const _i=bo.filter(eo=>!eo.file[bn]);if(!_i.length)return;const da=_i.map(eo=>Et(eo.file));let Ao=(0,gt.Z)(zr);da.forEach(eo=>{Ao=mt(eo,Ao)}),da.forEach((eo,Bo)=>{let ws=eo;if(_i[Bo].parsedFile)eo.status="uploading";else{const{originFileObj:Ci}=eo;let ho;try{ho=new File([Ci],Ci.name,{type:Ci.type})}catch(oo){ho=new Blob([Ci],{type:Ci.type}),ho.name=Ci.name,ho.lastModifiedDate=new Date,ho.lastModified=new Date().getTime()}ho.uid=eo.uid,ws=ho}Li(ws,Ao)})},co=(bo,_i,da)=>{try{typeof bo=="string"&&(bo=JSON.parse(bo))}catch(Bo){}if(!Ft(_i,zr))return;const Ao=Et(_i);Ao.status="done",Ao.percent=100,Ao.response=bo,Ao.xhr=da;const eo=mt(Ao,zr);Li(Ao,eo)},wo=(bo,_i)=>{if(!Ft(_i,zr))return;const da=Et(_i);da.status="uploading",da.percent=bo.percent;const Ao=mt(da,zr);Li(da,Ao,bo)},ni=(bo,_i,da)=>{if(!Ft(da,zr))return;const Ao=Et(da);Ao.error=bo,Ao.response=_i,Ao.status="error";const eo=mt(Ao,zr);Li(Ao,eo)},di=bo=>{let _i;Promise.resolve(typeof Tn=="function"?Tn(bo):Tn).then(da=>{var Ao;if(da===!1)return;const eo=Kt(bo,zr);eo&&(_i=Object.assign(Object.assign({},bo),{status:"removed"}),zr==null||zr.forEach(Bo=>{const ws=_i.uid!==void 0?"uid":"name";Bo[ws]===_i[ws]&&!Object.isFrozen(Bo)&&(Bo.status="removed")}),(Ao=Lt.current)===null||Ao===void 0||Ao.abort(_i),Li(_i,eo))})},Fi=bo=>{pr(bo.type),bo.type==="drop"&&(Tr==null||Tr(bo))};He.useImperativeHandle(Sn,()=>({onBatchStart:Pi,onSuccess:co,onProgress:wo,onError:ni,fileList:zr,upload:Lt.current}));const{getPrefixCls:bi,direction:so,upload:Po}=He.useContext(vt.E_),Vr=bi("upload",fr),Xr=Object.assign(Object.assign({onBatchStart:Pi,onError:ni,onProgress:wo,onSuccess:co},rn),{data:Ei,multiple:On,action:hi,accept:Ri,supportServerRender:_r,prefixCls:Vr,disabled:Rr,beforeUpload:ao,onChange:void 0});delete Xr.className,delete Xr.style,(!Wr||Rr)&&delete Xr.id;const[qn,li]=Dt(Vr),[qi]=(0,at.Z)("Upload",dt.Z.Upload),{showRemoveIcon:Ro,showPreviewIcon:lo,showDownloadIcon:Qi,removeIcon:Do,previewIcon:Oo,downloadIcon:oa}=typeof Fn=="boolean"?{}:Fn,la=(bo,_i)=>Fn?He.createElement(Mr,{prefixCls:Vr,listType:jn,items:zr,previewFile:Ur,onPreview:Zn,onDownload:gr,onRemove:di,showRemoveIcon:!Rr&&Ro,showPreviewIcon:lo,showDownloadIcon:Qi,removeIcon:Do,previewIcon:Oo,downloadIcon:oa,iconRender:Jn,locale:Object.assign(Object.assign({},qi),wn),isImageUrl:dr,progress:Ar,appendAction:bo,appendActionVisible:_i,itemRender:Kr,disabled:Rr}):bo,Ma=Ze()(`${Vr}-wrapper`,Ir,Xi,li,Po==null?void 0:Po.className,{[`${Vr}-rtl`]:so==="rtl",[`${Vr}-picture-card-wrapper`]:jn==="picture-card",[`${Vr}-picture-circle-wrapper`]:jn==="picture-circle"}),Mn=Object.assign(Object.assign({},Po==null?void 0:Po.style),br);if(Gr==="drag"){const bo=Ze()(li,Vr,`${Vr}-drag`,{[`${Vr}-drag-uploading`]:zr.some(_i=>_i.status==="uploading"),[`${Vr}-drag-hover`]:ki==="dragover",[`${Vr}-disabled`]:Rr,[`${Vr}-rtl`]:so==="rtl"});return qn(He.createElement("span",{className:Ma},He.createElement("div",{className:bo,style:Mn,onDrop:Fi,onDragOver:Fi,onDragLeave:Fi},He.createElement(et,Object.assign({},Xr,{ref:Lt,className:`${Vr}-btn`}),He.createElement("div",{className:`${Vr}-drag-container`},Wr))),la()))}const ha=Ze()(Vr,`${Vr}-select`,{[`${Vr}-disabled`]:Rr}),xs=(bo=>He.createElement("div",{className:ha,style:bo},He.createElement(et,Object.assign({},Xr,{ref:Lt}))))(Wr?void 0:{display:"none"});return qn(jn==="picture-card"||jn==="picture-circle"?He.createElement("span",{className:Ma},la(xs,!!Wr)):He.createElement("span",{className:Ma},xs,la()))};var Ht=He.forwardRef(kn),An=function(rn,Sn){var vn={};for(var yn in rn)Object.prototype.hasOwnProperty.call(rn,yn)&&Sn.indexOf(yn)<0&&(vn[yn]=rn[yn]);if(rn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tn=0,yn=Object.getOwnPropertySymbols(rn);Tn<yn.length;Tn++)Sn.indexOf(yn[Tn])<0&&Object.prototype.propertyIsEnumerable.call(rn,yn[Tn])&&(vn[yn[Tn]]=rn[yn[Tn]]);return vn},ir=He.forwardRef((rn,Sn)=>{var{style:vn,height:yn}=rn,Tn=An(rn,["style","height"]);return He.createElement(Ht,Object.assign({ref:Sn},Tn,{type:"drag",style:Object.assign(Object.assign({},vn),{height:yn})}))});const sn=Ht;sn.Dragger=ir,sn.LIST_IGNORE=bn;var Cn=sn},99498:function(Nn,fn,We){(function(He){He(We(89780))})(function(He){He.defineOption("placeholder","",function(Ee,Ae,ye){var De=ye&&ye!=He.Init;if(Ae&&!De)Ee.on("blur",Ne),Ee.on("change",ge),Ee.on("swapDoc",ge),He.on(Ee.getInputField(),"compositionupdate",Ee.state.placeholderCompose=function(){Ze(Ee)}),ge(Ee);else if(!Ae&&De){Ee.off("blur",Ne),Ee.off("change",ge),Ee.off("swapDoc",ge),He.off(Ee.getInputField(),"compositionupdate",Ee.state.placeholderCompose),gt(Ee);var me=Ee.getWrapperElement();me.className=me.className.replace(" CodeMirror-empty","")}Ae&&!Ee.hasFocus()&&Ne(Ee)});function gt(Ee){Ee.state.placeholder&&(Ee.state.placeholder.parentNode.removeChild(Ee.state.placeholder),Ee.state.placeholder=null)}function oe(Ee){gt(Ee);var Ae=Ee.state.placeholder=document.createElement("pre");Ae.style.cssText="height: 0; overflow: visible",Ae.style.direction=Ee.getOption("direction"),Ae.className="CodeMirror-placeholder CodeMirror-line-like";var ye=Ee.getOption("placeholder");typeof ye=="string"&&(ye=document.createTextNode(ye)),Ae.appendChild(ye),Ee.display.lineSpace.insertBefore(Ae,Ee.display.lineSpace.firstChild)}function Ze(Ee){setTimeout(function(){var Ae=!1,ye=Ee.getInputField();ye.nodeName=="TEXTAREA"?Ae=!ye.value:Ee.lineCount()==1&&(Ae=!/[^\u200b]/.test(ye.querySelector(".CodeMirror-line").textContent)),Ae?oe(Ee):gt(Ee)},20)}function Ne(Ee){ce(Ee)&&oe(Ee)}function ge(Ee){var Ae=Ee.getWrapperElement(),ye=ce(Ee);Ae.className=Ae.className.replace(" CodeMirror-empty","")+(ye?" CodeMirror-empty":""),ye?oe(Ee):gt(Ee)}function ce(Ee){return Ee.lineCount()===1&&Ee.getLine(0)===""}})},25717:function(Nn,fn,We){(function(He){He(We(89780))})(function(He){var gt={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},oe=He.Pos;He.defineOption("autoCloseBrackets",!1,function(z,ee,ae){ae&&ae!=He.Init&&(z.removeKeyMap(Ne),z.state.closeBrackets=null),ee&&(ge(Ze(ee,"pairs")),z.state.closeBrackets=ee,z.addKeyMap(Ne))});function Ze(z,ee){return ee=="pairs"&&typeof z=="string"?z:typeof z=="object"&&z[ee]!=null?z[ee]:gt[ee]}var Ne={Backspace:Ae,Enter:ye};function ge(z){for(var ee=0;ee<z.length;ee++){var ae=z.charAt(ee),re="'"+ae+"'";Ne[re]||(Ne[re]=ce(ae))}}ge(gt.pairs+"`");function ce(z){return function(ee){return me(ee,z)}}function Ee(z){var ee=z.state.closeBrackets;if(!ee||ee.override)return ee;var ae=z.getModeAt(z.getCursor());return ae.closeBrackets||ee}function Ae(z){var ee=Ee(z);if(!ee||z.getOption("disableInput"))return He.Pass;for(var ae=Ze(ee,"pairs"),re=z.listSelections(),le=0;le<re.length;le++){if(!re[le].empty())return He.Pass;var ue=xe(z,re[le].head);if(!ue||ae.indexOf(ue)%2!=0)return He.Pass}for(var le=re.length-1;le>=0;le--){var pe=re[le].head;z.replaceRange("",oe(pe.line,pe.ch-1),oe(pe.line,pe.ch+1),"+delete")}}function ye(z){var ee=Ee(z),ae=ee&&Ze(ee,"explode");if(!ae||z.getOption("disableInput"))return He.Pass;for(var re=z.listSelections(),le=0;le<re.length;le++){if(!re[le].empty())return He.Pass;var ue=xe(z,re[le].head);if(!ue||ae.indexOf(ue)%2!=0)return He.Pass}z.operation(function(){var pe=z.lineSeparator()||`
`;z.replaceSelection(pe+pe,null),z.execCommand("goCharLeft"),re=z.listSelections();for(var Pe=0;Pe<re.length;Pe++){var be=re[Pe].head.line;z.indentLine(be,null,!0),z.indentLine(be+1,null,!0)}})}function De(z){var ee=He.cmpPos(z.anchor,z.head)>0;return{anchor:new oe(z.anchor.line,z.anchor.ch+(ee?-1:1)),head:new oe(z.head.line,z.head.ch+(ee?1:-1))}}function me(z,ee){var ae=Ee(z);if(!ae||z.getOption("disableInput"))return He.Pass;var re=Ze(ae,"pairs"),le=re.indexOf(ee);if(le==-1)return He.Pass;for(var ue=Ze(ae,"closeBefore"),pe=Ze(ae,"triples"),Pe=re.charAt(le+1)==ee,be=z.listSelections(),Ie=le%2==0,Me,Oe=0;Oe<be.length;Oe++){var Te=be[Oe],je=Te.head,ze,$e=z.getRange(je,oe(je.line,je.ch+1));if(Ie&&!Te.empty())ze="surround";else if((Pe||!Ie)&&$e==ee)Pe&&fe(z,je)?ze="both":pe.indexOf(ee)>=0&&z.getRange(je,oe(je.line,je.ch+3))==ee+ee+ee?ze="skipThree":ze="skip";else if(Pe&&je.ch>1&&pe.indexOf(ee)>=0&&z.getRange(oe(je.line,je.ch-2),je)==ee+ee){if(je.ch>2&&/\bstring/.test(z.getTokenTypeAt(oe(je.line,je.ch-2))))return He.Pass;ze="addFour"}else if(Pe){var Ue=je.ch==0?" ":z.getRange(oe(je.line,je.ch-1),je);if(!He.isWordChar($e)&&Ue!=ee&&!He.isWordChar(Ue))ze="both";else return He.Pass}else if(Ie&&($e.length===0||/\s/.test($e)||ue.indexOf($e)>-1))ze="both";else return He.Pass;if(!Me)Me=ze;else if(Me!=ze)return He.Pass}var qe=le%2?re.charAt(le-1):ee,et=le%2?ee:re.charAt(le+1);z.operation(function(){if(Me=="skip")z.execCommand("goCharRight");else if(Me=="skipThree")for(var lt=0;lt<3;lt++)z.execCommand("goCharRight");else if(Me=="surround"){for(var ut=z.getSelections(),lt=0;lt<ut.length;lt++)ut[lt]=qe+ut[lt]+et;z.replaceSelections(ut,"around"),ut=z.listSelections().slice();for(var lt=0;lt<ut.length;lt++)ut[lt]=De(ut[lt]);z.setSelections(ut)}else Me=="both"?(z.replaceSelection(qe+et,null),z.triggerElectric(qe+et),z.execCommand("goCharLeft")):Me=="addFour"&&(z.replaceSelection(qe+qe+qe+qe,"before"),z.execCommand("goCharRight"))})}function xe(z,ee){var ae=z.getRange(oe(ee.line,ee.ch-1),oe(ee.line,ee.ch+1));return ae.length==2?ae:null}function fe(z,ee){var ae=z.getTokenAt(oe(ee.line,ee.ch+1));return/\bstring/.test(ae.type)&&ae.start==ee.ch&&(ee.ch==0||!/\bstring/.test(z.getTokenTypeAt(ee)))}})},6313:function(Nn,fn,We){(function(He){He(We(89780),We(32855))})(function(He){He.defineOption("autoCloseTags",!1,function(Ae,ye,De){if(De!=He.Init&&De&&Ae.removeKeyMap("autoCloseTags"),!!ye){var me={name:"autoCloseTags"};(typeof ye!="object"||ye.whenClosing!==!1)&&(me["'/'"]=function(xe){return ge(xe)}),(typeof ye!="object"||ye.whenOpening!==!1)&&(me["'>'"]=function(xe){return Ze(xe)}),Ae.addKeyMap(me)}});var gt=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],oe=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function Ze(Ae){if(Ae.getOption("disableInput"))return He.Pass;for(var ye=Ae.listSelections(),De=[],me=Ae.getOption("autoCloseTags"),xe=0;xe<ye.length;xe++){if(!ye[xe].empty())return He.Pass;var fe=ye[xe].head,z=Ae.getTokenAt(fe),ee=He.innerMode(Ae.getMode(),z.state),ae=ee.state,re=ee.mode.xmlCurrentTag&&ee.mode.xmlCurrentTag(ae),le=re&&re.name;if(!le)return He.Pass;var ue=ee.mode.configuration=="html",pe=typeof me=="object"&&me.dontCloseTags||ue&&gt,Pe=typeof me=="object"&&me.indentTags||ue&&oe;z.end>fe.ch&&(le=le.slice(0,le.length-z.end+fe.ch));var be=le.toLowerCase();if(!le||z.type=="string"&&(z.end!=fe.ch||!/[\"\']/.test(z.string.charAt(z.string.length-1))||z.string.length==1)||z.type=="tag"&&re.close||z.string.indexOf("/")==fe.ch-z.start-1||pe&&ce(pe,be)>-1||Ee(Ae,ee.mode.xmlCurrentContext&&ee.mode.xmlCurrentContext(ae)||[],le,fe,!0))return He.Pass;var Ie=typeof me=="object"&&me.emptyTags;if(Ie&&ce(Ie,le)>-1){De[xe]={text:"/>",newPos:He.Pos(fe.line,fe.ch+2)};continue}var Me=Pe&&ce(Pe,be)>-1;De[xe]={indent:Me,text:">"+(Me?`
`:"")+"</"+le+">",newPos:Me?He.Pos(fe.line+1,0):He.Pos(fe.line,fe.ch+1)}}for(var Oe=typeof me=="object"&&me.dontIndentOnAutoClose,xe=ye.length-1;xe>=0;xe--){var Te=De[xe];Ae.replaceRange(Te.text,ye[xe].head,ye[xe].anchor,"+insert");var je=Ae.listSelections().slice(0);je[xe]={head:Te.newPos,anchor:Te.newPos},Ae.setSelections(je),!Oe&&Te.indent&&(Ae.indentLine(Te.newPos.line,null,!0),Ae.indentLine(Te.newPos.line+1,null,!0))}}function Ne(Ae,ye){for(var De=Ae.listSelections(),me=[],xe=ye?"/":"</",fe=Ae.getOption("autoCloseTags"),z=typeof fe=="object"&&fe.dontIndentOnSlash,ee=0;ee<De.length;ee++){if(!De[ee].empty())return He.Pass;var ae=De[ee].head,re=Ae.getTokenAt(ae),le=He.innerMode(Ae.getMode(),re.state),ue=le.state;if(ye&&(re.type=="string"||re.string.charAt(0)!="<"||re.start!=ae.ch-1))return He.Pass;var pe,Pe=le.mode.name!="xml"&&Ae.getMode().name=="htmlmixed";if(Pe&&le.mode.name=="javascript")pe=xe+"script";else if(Pe&&le.mode.name=="css")pe=xe+"style";else{var be=le.mode.xmlCurrentContext&&le.mode.xmlCurrentContext(ue);if(!be||be.length&&Ee(Ae,be,be[be.length-1],ae))return He.Pass;pe=xe+be[be.length-1]}Ae.getLine(ae.line).charAt(re.end)!=">"&&(pe+=">"),me[ee]=pe}if(Ae.replaceSelections(me),De=Ae.listSelections(),!z)for(var ee=0;ee<De.length;ee++)(ee==De.length-1||De[ee].head.line<De[ee+1].head.line)&&Ae.indentLine(De[ee].head.line)}function ge(Ae){return Ae.getOption("disableInput")?He.Pass:Ne(Ae,!0)}He.commands.closeTag=function(Ae){return Ne(Ae)};function ce(Ae,ye){if(Ae.indexOf)return Ae.indexOf(ye);for(var De=0,me=Ae.length;De<me;++De)if(Ae[De]==ye)return De;return-1}function Ee(Ae,ye,De,me,xe){if(!He.scanForClosingTag)return!1;var fe=Math.min(Ae.lastLine()+1,me.line+500),z=He.scanForClosingTag(Ae,me,null,fe);if(!z||z.tag!=De)return!1;for(var ee=xe?1:0,ae=ye.length-1;ae>=0&&ye[ae]==De;ae--)++ee;me=z.to;for(var ae=1;ae<ee;ae++){var re=He.scanForClosingTag(Ae,me,null,fe);if(!re||re.tag!=De)return!1;me=re.to}return!0}})},32855:function(Nn,fn,We){(function(He){He(We(89780))})(function(He){"use strict";var gt=He.Pos;function oe(ae,re){return ae.line-re.line||ae.ch-re.ch}var Ze="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Ne=Ze+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ge=new RegExp("<(/?)(["+Ze+"]["+Ne+"]*)","g");function ce(ae,re,le,ue){this.line=re,this.ch=le,this.cm=ae,this.text=ae.getLine(re),this.min=ue?Math.max(ue.from,ae.firstLine()):ae.firstLine(),this.max=ue?Math.min(ue.to-1,ae.lastLine()):ae.lastLine()}function Ee(ae,re){var le=ae.cm.getTokenTypeAt(gt(ae.line,re));return le&&/\btag\b/.test(le)}function Ae(ae){if(!(ae.line>=ae.max))return ae.ch=0,ae.text=ae.cm.getLine(++ae.line),!0}function ye(ae){if(!(ae.line<=ae.min))return ae.text=ae.cm.getLine(--ae.line),ae.ch=ae.text.length,!0}function De(ae){for(;;){var re=ae.text.indexOf(">",ae.ch);if(re==-1){if(Ae(ae))continue;return}if(!Ee(ae,re+1)){ae.ch=re+1;continue}var le=ae.text.lastIndexOf("/",re),ue=le>-1&&!/\S/.test(ae.text.slice(le+1,re));return ae.ch=re+1,ue?"selfClose":"regular"}}function me(ae){for(;;){var re=ae.ch?ae.text.lastIndexOf("<",ae.ch-1):-1;if(re==-1){if(ye(ae))continue;return}if(!Ee(ae,re+1)){ae.ch=re;continue}ge.lastIndex=re,ae.ch=re;var le=ge.exec(ae.text);if(le&&le.index==re)return le}}function xe(ae){for(;;){ge.lastIndex=ae.ch;var re=ge.exec(ae.text);if(!re){if(Ae(ae))continue;return}if(!Ee(ae,re.index+1)){ae.ch=re.index+1;continue}return ae.ch=re.index+re[0].length,re}}function fe(ae){for(;;){var re=ae.ch?ae.text.lastIndexOf(">",ae.ch-1):-1;if(re==-1){if(ye(ae))continue;return}if(!Ee(ae,re+1)){ae.ch=re;continue}var le=ae.text.lastIndexOf("/",re),ue=le>-1&&!/\S/.test(ae.text.slice(le+1,re));return ae.ch=re+1,ue?"selfClose":"regular"}}function z(ae,re){for(var le=[];;){var ue=xe(ae),pe,Pe=ae.line,be=ae.ch-(ue?ue[0].length:0);if(!ue||!(pe=De(ae)))return;if(pe!="selfClose")if(ue[1]){for(var Ie=le.length-1;Ie>=0;--Ie)if(le[Ie]==ue[2]){le.length=Ie;break}if(Ie<0&&(!re||re==ue[2]))return{tag:ue[2],from:gt(Pe,be),to:gt(ae.line,ae.ch)}}else le.push(ue[2])}}function ee(ae,re){for(var le=[];;){var ue=fe(ae);if(!ue)return;if(ue=="selfClose"){me(ae);continue}var pe=ae.line,Pe=ae.ch,be=me(ae);if(!be)return;if(be[1])le.push(be[2]);else{for(var Ie=le.length-1;Ie>=0;--Ie)if(le[Ie]==be[2]){le.length=Ie;break}if(Ie<0&&(!re||re==be[2]))return{tag:be[2],from:gt(ae.line,ae.ch),to:gt(pe,Pe)}}}}He.registerHelper("fold","xml",function(ae,re){for(var le=new ce(ae,re.line,0);;){var ue=xe(le);if(!ue||le.line!=re.line)return;var pe=De(le);if(!pe)return;if(!ue[1]&&pe!="selfClose"){var Pe=gt(le.line,le.ch),be=z(le,ue[2]);return be&&oe(be.from,Pe)>0?{from:Pe,to:be.from}:null}}}),He.findMatchingTag=function(ae,re,le){var ue=new ce(ae,re.line,re.ch,le);if(!(ue.text.indexOf(">")==-1&&ue.text.indexOf("<")==-1)){var pe=De(ue),Pe=pe&&gt(ue.line,ue.ch),be=pe&&me(ue);if(!(!pe||!be||oe(ue,re)>0)){var Ie={from:gt(ue.line,ue.ch),to:Pe,tag:be[2]};return pe=="selfClose"?{open:Ie,close:null,at:"open"}:be[1]?{open:ee(ue,be[2]),close:Ie,at:"close"}:(ue=new ce(ae,Pe.line,Pe.ch,le),{open:Ie,close:z(ue,be[2]),at:"open"})}}},He.findEnclosingTag=function(ae,re,le,ue){for(var pe=new ce(ae,re.line,re.ch,le);;){var Pe=ee(pe,ue);if(!Pe)break;var be=new ce(ae,re.line,re.ch,le),Ie=z(be,Pe.tag);if(Ie)return{open:Pe,close:Ie}}},He.scanForClosingTag=function(ae,re,le,ue){var pe=new ce(ae,re.line,re.ch,ue?{from:0,to:ue}:null);return z(pe,le)}})},89780:function(Nn){(function(fn,We){Nn.exports=We()})(this,function(){"use strict";var fn=navigator.userAgent,We=navigator.platform,He=/gecko\/\d/i.test(fn),gt=/MSIE \d/.test(fn),oe=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(fn),Ze=/Edge\/(\d+)/.exec(fn),Ne=gt||oe||Ze,ge=Ne&&(gt?document.documentMode||6:+(Ze||oe)[1]),ce=!Ze&&/WebKit\//.test(fn),Ee=ce&&/Qt\/\d+\.\d+/.test(fn),Ae=!Ze&&/Chrome\//.test(fn),ye=/Opera\//.test(fn),De=/Apple Computer/.test(navigator.vendor),me=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(fn),xe=/PhantomJS/.test(fn),fe=!Ze&&/AppleWebKit/.test(fn)&&/Mobile\/\w+/.test(fn),z=/Android/.test(fn),ee=fe||z||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(fn),ae=fe||/Mac/.test(We),re=/\bCrOS\b/.test(fn),le=/win/i.test(We),ue=ye&&fn.match(/Version\/(\d*\.\d*)/);ue&&(ue=Number(ue[1])),ue&&ue>=15&&(ye=!1,ce=!0);var pe=ae&&(Ee||ye&&(ue==null||ue<12.11)),Pe=He||Ne&&ge>=9;function be(ie){return new RegExp("(^|\\s)"+ie+"(?:$|\\s)\\s*")}var Ie=function(ie,de){var ke=ie.className,Fe=be(de).exec(ke);if(Fe){var Re=ke.slice(Fe.index+Fe[0].length);ie.className=ke.slice(0,Fe.index)+(Re?Fe[1]+Re:"")}};function Me(ie){for(var de=ie.childNodes.length;de>0;--de)ie.removeChild(ie.firstChild);return ie}function Oe(ie,de){return Me(ie).appendChild(de)}function Te(ie,de,ke,Fe){var Re=document.createElement(ie);if(ke&&(Re.className=ke),Fe&&(Re.style.cssText=Fe),typeof de=="string")Re.appendChild(document.createTextNode(de));else if(de)for(var st=0;st<de.length;++st)Re.appendChild(de[st]);return Re}function je(ie,de,ke,Fe){var Re=Te(ie,de,ke,Fe);return Re.setAttribute("role","presentation"),Re}var ze;document.createRange?ze=function(ie,de,ke,Fe){var Re=document.createRange();return Re.setEnd(Fe||ie,ke),Re.setStart(ie,de),Re}:ze=function(ie,de,ke){var Fe=document.body.createTextRange();try{Fe.moveToElementText(ie.parentNode)}catch(Re){return Fe}return Fe.collapse(!0),Fe.moveEnd("character",ke),Fe.moveStart("character",de),Fe};function $e(ie,de){if(de.nodeType==3&&(de=de.parentNode),ie.contains)return ie.contains(de);do if(de.nodeType==11&&(de=de.host),de==ie)return!0;while(de=de.parentNode)}function Ue(){var ie;try{ie=document.activeElement}catch(de){ie=document.body||null}for(;ie&&ie.shadowRoot&&ie.shadowRoot.activeElement;)ie=ie.shadowRoot.activeElement;return ie}function qe(ie,de){var ke=ie.className;be(de).test(ke)||(ie.className+=(ke?" ":"")+de)}function et(ie,de){for(var ke=ie.split(" "),Fe=0;Fe<ke.length;Fe++)ke[Fe]&&!be(ke[Fe]).test(de)&&(de+=" "+ke[Fe]);return de}var lt=function(ie){ie.select()};fe?lt=function(ie){ie.selectionStart=0,ie.selectionEnd=ie.value.length}:Ne&&(lt=function(ie){try{ie.select()}catch(de){}});function ut(ie){var de=Array.prototype.slice.call(arguments,1);return function(){return ie.apply(null,de)}}function vt(ie,de,ke){de||(de={});for(var Fe in ie)ie.hasOwnProperty(Fe)&&(ke!==!1||!de.hasOwnProperty(Fe))&&(de[Fe]=ie[Fe]);return de}function tt(ie,de,ke,Fe,Re){de==null&&(de=ie.search(/[^\s\u00a0]/),de==-1&&(de=ie.length));for(var st=Fe||0,Ct=Re||0;;){var Nt=ie.indexOf(" ",st);if(Nt<0||Nt>=de)return Ct+(de-st);Ct+=Nt-st,Ct+=ke-Ct%ke,st=Nt+1}}var at=function(){this.id=null,this.f=null,this.time=0,this.handler=ut(this.onTimeout,this)};at.prototype.onTimeout=function(ie){ie.id=0,ie.time<=+new Date?ie.f():setTimeout(ie.handler,ie.time-+new Date)},at.prototype.set=function(ie,de){this.f=de;var ke=+new Date+ie;(!this.id||ke<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,ie),this.time=ke)};function dt(ie,de){for(var ke=0;ke<ie.length;++ke)if(ie[ke]==de)return ke;return-1}var St=50,xt={toString:function(){return"CodeMirror.Pass"}},ft={scroll:!1},pt={origin:"*mouse"},yt={origin:"+move"};function Tt(ie,de,ke){for(var Fe=0,Re=0;;){var st=ie.indexOf(" ",Fe);st==-1&&(st=ie.length);var Ct=st-Fe;if(st==ie.length||Re+Ct>=de)return Fe+Math.min(Ct,de-Re);if(Re+=st-Fe,Re+=ke-Re%ke,Fe=st+1,Re>=de)return Fe}}var At=[""];function Gt(ie){for(;At.length<=ie;)At.push(wt(At)+" ");return At[ie]}function wt(ie){return ie[ie.length-1]}function bt(ie,de){for(var ke=[],Fe=0;Fe<ie.length;Fe++)ke[Fe]=de(ie[Fe],Fe);return ke}function it(ie,de,ke){for(var Fe=0,Re=ke(de);Fe<ie.length&&ke(ie[Fe])<=Re;)Fe++;ie.splice(Fe,0,de)}function _e(){}function we(ie,de){var ke;return Object.create?ke=Object.create(ie):(_e.prototype=ie,ke=new _e),de&&vt(de,ke),ke}var Ce=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function Ye(ie){return/\w/.test(ie)||ie>"\x80"&&(ie.toUpperCase()!=ie.toLowerCase()||Ce.test(ie))}function Je(ie,de){return de?de.source.indexOf("\\w")>-1&&Ye(ie)?!0:de.test(ie):Ye(ie)}function Le(ie){for(var de in ie)if(ie.hasOwnProperty(de)&&ie[de])return!1;return!0}var Ge=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Ke(ie){return ie.charCodeAt(0)>=768&&Ge.test(ie)}function Xe(ie,de,ke){for(;(ke<0?de>0:de<ie.length)&&Ke(ie.charAt(de));)de+=ke;return de}function Qe(ie,de,ke){for(var Fe=de>ke?-1:1;;){if(de==ke)return de;var Re=(de+ke)/2,st=Fe<0?Math.ceil(Re):Math.floor(Re);if(st==de)return ie(st)?de:ke;ie(st)?ke=st:de=st+Fe}}function ht(ie,de,ke,Fe){if(!ie)return Fe(de,ke,"ltr",0);for(var Re=!1,st=0;st<ie.length;++st){var Ct=ie[st];(Ct.from<ke&&Ct.to>de||de==ke&&Ct.to==de)&&(Fe(Math.max(Ct.from,de),Math.min(Ct.to,ke),Ct.level==1?"rtl":"ltr",st),Re=!0)}Re||Fe(de,ke,"ltr")}var Et=null;function mt(ie,de,ke){var Fe;Et=null;for(var Re=0;Re<ie.length;++Re){var st=ie[Re];if(st.from<de&&st.to>de)return Re;st.to==de&&(st.from!=st.to&&ke=="before"?Fe=Re:Et=Re),st.from==de&&(st.from!=st.to&&ke!="before"?Fe=Re:Et=Re)}return Fe!=null?Fe:Et}var Ft=function(){var ie="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",de="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ke(Jt){return Jt<=247?ie.charAt(Jt):1424<=Jt&&Jt<=1524?"R":1536<=Jt&&Jt<=1785?de.charAt(Jt-1536):1774<=Jt&&Jt<=2220?"r":8192<=Jt&&Jt<=8203?"w":Jt==8204?"b":"L"}var Fe=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,Re=/[stwN]/,st=/[LRr]/,Ct=/[Lb1n]/,Nt=/[1n]/;function Ot(Jt,Pn,qt){this.level=Jt,this.from=Pn,this.to=qt}return function(Jt,Pn){var qt=Pn=="ltr"?"L":"R";if(Jt.length==0||Pn=="ltr"&&!Fe.test(Jt))return!1;for(var Vn=Jt.length,Rn=[],yr=0;yr<Vn;++yr)Rn.push(ke(Jt.charCodeAt(yr)));for(var Pr=0,Hr=qt;Pr<Vn;++Pr){var si=Rn[Pr];si=="m"?Rn[Pr]=Hr:Hr=si}for(var Ti=0,Si=qt;Ti<Vn;++Ti){var Hi=Rn[Ti];Hi=="1"&&Si=="r"?Rn[Ti]="n":st.test(Hi)&&(Si=Hi,Hi=="r"&&(Rn[Ti]="R"))}for(var So=1,vi=Rn[0];So<Vn-1;++So){var No=Rn[So];No=="+"&&vi=="1"&&Rn[So+1]=="1"?Rn[So]="1":No==","&&vi==Rn[So+1]&&(vi=="1"||vi=="n")&&(Rn[So]=vi),vi=No}for(var $a=0;$a<Vn;++$a){var Is=Rn[$a];if(Is==",")Rn[$a]="N";else if(Is=="%"){var os=void 0;for(os=$a+1;os<Vn&&Rn[os]=="%";++os);for(var Vl=$a&&Rn[$a-1]=="!"||os<Vn&&Rn[os]=="1"?"1":"N",vl=$a;vl<os;++vl)Rn[vl]=Vl;$a=os-1}}for(var Fs=0,iu=qt;Fs<Vn;++Fs){var al=Rn[Fs];iu=="L"&&al=="1"?Rn[Fs]="L":st.test(al)&&(iu=al)}for(var Ds=0;Ds<Vn;++Ds)if(Re.test(Rn[Ds])){var sa=void 0;for(sa=Ds+1;sa<Vn&&Re.test(Rn[sa]);++sa);for(var hs=(Ds?Rn[Ds-1]:qt)=="L",Gs=(sa<Vn?Rn[sa]:qt)=="L",sl=hs==Gs?hs?"L":"R":qt,Yu=Ds;Yu<sa;++Yu)Rn[Yu]=sl;Ds=sa-1}for(var as=[],Tu,ys=0;ys<Vn;)if(Ct.test(Rn[ys])){var xf=ys;for(++ys;ys<Vn&&Ct.test(Rn[ys]);++ys);as.push(new Ot(0,xf,ys))}else{var vu=ys,ou=as.length,Xl=Pn=="rtl"?1:0;for(++ys;ys<Vn&&Rn[ys]!="L";++ys);for(var Ia=vu;Ia<ys;)if(Nt.test(Rn[Ia])){vu<Ia&&(as.splice(ou,0,new Ot(1,vu,Ia)),ou+=Xl);var Zs=Ia;for(++Ia;Ia<ys&&Nt.test(Rn[Ia]);++Ia);as.splice(ou,0,new Ot(2,Zs,Ia)),ou+=Xl,vu=Ia}else++Ia;vu<ys&&as.splice(ou,0,new Ot(1,vu,ys))}return Pn=="ltr"&&(as[0].level==1&&(Tu=Jt.match(/^\s+/))&&(as[0].from=Tu[0].length,as.unshift(new Ot(0,0,Tu[0].length))),wt(as).level==1&&(Tu=Jt.match(/\s+$/))&&(wt(as).to-=Tu[0].length,as.push(new Ot(0,Vn-Tu[0].length,Vn)))),Pn=="rtl"?as.reverse():as}}();function Kt(ie,de){var ke=ie.order;return ke==null&&(ke=ie.order=Ft(ie.text,de)),ke}var jt=[],Wt=function(ie,de,ke){if(ie.addEventListener)ie.addEventListener(de,ke,!1);else if(ie.attachEvent)ie.attachEvent("on"+de,ke);else{var Fe=ie._handlers||(ie._handlers={});Fe[de]=(Fe[de]||jt).concat(ke)}};function Vt(ie,de){return ie._handlers&&ie._handlers[de]||jt}function nn(ie,de,ke){if(ie.removeEventListener)ie.removeEventListener(de,ke,!1);else if(ie.detachEvent)ie.detachEvent("on"+de,ke);else{var Fe=ie._handlers,Re=Fe&&Fe[de];if(Re){var st=dt(Re,ke);st>-1&&(Fe[de]=Re.slice(0,st).concat(Re.slice(st+1)))}}}function Bt(ie,de){var ke=Vt(ie,de);if(ke.length)for(var Fe=Array.prototype.slice.call(arguments,2),Re=0;Re<ke.length;++Re)ke[Re].apply(null,Fe)}function _t(ie,de,ke){return typeof de=="string"&&(de={type:de,preventDefault:function(){this.defaultPrevented=!0}}),Bt(ie,ke||de.type,ie,de),er(de)||de.codemirrorIgnore}function en(ie){var de=ie._handlers&&ie._handlers.cursorActivity;if(de)for(var ke=ie.curOp.cursorActivityHandlers||(ie.curOp.cursorActivityHandlers=[]),Fe=0;Fe<de.length;++Fe)dt(ke,de[Fe])==-1&&ke.push(de[Fe])}function on(ie,de){return Vt(ie,de).length>0}function xn(ie){ie.prototype.on=function(de,ke){Wt(this,de,ke)},ie.prototype.off=function(de,ke){nn(this,de,ke)}}function zn(ie){ie.preventDefault?ie.preventDefault():ie.returnValue=!1}function tr(ie){ie.stopPropagation?ie.stopPropagation():ie.cancelBubble=!0}function er(ie){return ie.defaultPrevented!=null?ie.defaultPrevented:ie.returnValue==!1}function ur(ie){zn(ie),tr(ie)}function Dr(ie){return ie.target||ie.srcElement}function Mr(ie){var de=ie.which;return de==null&&(ie.button&1?de=1:ie.button&2?de=3:ie.button&4&&(de=2)),ae&&ie.ctrlKey&&de==1&&(de=3),de}var Br=function(){if(Ne&&ge<9)return!1;var ie=Te("div");return"draggable"in ie||"dragDrop"in ie}(),qr;function Qr(ie){if(qr==null){var de=Te("span","\u200B");Oe(ie,Te("span",[de,document.createTextNode("x")])),ie.firstChild.offsetHeight!=0&&(qr=de.offsetWidth<=1&&de.offsetHeight>2&&!(Ne&&ge<8))}var ke=qr?Te("span","\u200B"):Te("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ke.setAttribute("cm-text",""),ke}var Lr;function ei(ie){if(Lr!=null)return Lr;var de=Oe(ie,document.createTextNode("A\u062EA")),ke=ze(de,0,1).getBoundingClientRect(),Fe=ze(de,1,2).getBoundingClientRect();return Me(ie),!ke||ke.left==ke.right?!1:Lr=Fe.right-ke.right<3}var Er=`
b`.split(/\n/).length!=3?function(ie){for(var de=0,ke=[],Fe=ie.length;de<=Fe;){var Re=ie.indexOf(`
`,de);Re==-1&&(Re=ie.length);var st=ie.slice(de,ie.charAt(Re-1)=="\r"?Re-1:Re),Ct=st.indexOf("\r");Ct!=-1?(ke.push(st.slice(0,Ct)),de+=Ct+1):(ke.push(st),de=Re+1)}return ke}:function(ie){return ie.split(/\r\n?|\n/)},ot=window.getSelection?function(ie){try{return ie.selectionStart!=ie.selectionEnd}catch(de){return!1}}:function(ie){var de;try{de=ie.ownerDocument.selection.createRange()}catch(ke){}return!de||de.parentElement()!=ie?!1:de.compareEndPoints("StartToEnd",de)!=0},xi=function(){var ie=Te("div");return"oncopy"in ie?!0:(ie.setAttribute("oncopy","return;"),typeof ie.oncopy=="function")}(),gi=null;function Ln(ie){if(gi!=null)return gi;var de=Oe(ie,Te("span","x")),ke=de.getBoundingClientRect(),Fe=ze(de,0,1).getBoundingClientRect();return gi=Math.abs(ke.left-Fe.left)>1}var hr={},ar={};function vr(ie,de){arguments.length>2&&(de.dependencies=Array.prototype.slice.call(arguments,2)),hr[ie]=de}function Un(ie,de){ar[ie]=de}function Yn(ie){if(typeof ie=="string"&&ar.hasOwnProperty(ie))ie=ar[ie];else if(ie&&typeof ie.name=="string"&&ar.hasOwnProperty(ie.name)){var de=ar[ie.name];typeof de=="string"&&(de={name:de}),ie=we(de,ie),ie.name=de.name}else{if(typeof ie=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(ie))return Yn("application/xml");if(typeof ie=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(ie))return Yn("application/json")}return typeof ie=="string"?{name:ie}:ie||{name:"null"}}function Qt(ie,de){de=Yn(de);var ke=hr[de.name];if(!ke)return Qt(ie,"text/plain");var Fe=ke(ie,de);if(Zt.hasOwnProperty(de.name)){var Re=Zt[de.name];for(var st in Re)Re.hasOwnProperty(st)&&(Fe.hasOwnProperty(st)&&(Fe["_"+st]=Fe[st]),Fe[st]=Re[st])}if(Fe.name=de.name,de.helperType&&(Fe.helperType=de.helperType),de.modeProps)for(var Ct in de.modeProps)Fe[Ct]=de.modeProps[Ct];return Fe}var Zt={};function Pt(ie,de){var ke=Zt.hasOwnProperty(ie)?Zt[ie]:Zt[ie]={};vt(de,ke)}function an(ie,de){if(de===!0)return de;if(ie.copyState)return ie.copyState(de);var ke={};for(var Fe in de){var Re=de[Fe];Re instanceof Array&&(Re=Re.concat([])),ke[Fe]=Re}return ke}function gn(ie,de){for(var ke;ie.innerMode&&(ke=ie.innerMode(de),!(!ke||ke.mode==ie));)de=ke.state,ie=ke.mode;return ke||{mode:ie,state:de}}function Xt(ie,de,ke){return ie.startState?ie.startState(de,ke):!0}var Dt=function(ie,de,ke){this.pos=this.start=0,this.string=ie,this.tabSize=de||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ke};Dt.prototype.eol=function(){return this.pos>=this.string.length},Dt.prototype.sol=function(){return this.pos==this.lineStart},Dt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Dt.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Dt.prototype.eat=function(ie){var de=this.string.charAt(this.pos),ke;if(typeof ie=="string"?ke=de==ie:ke=de&&(ie.test?ie.test(de):ie(de)),ke)return++this.pos,de},Dt.prototype.eatWhile=function(ie){for(var de=this.pos;this.eat(ie););return this.pos>de},Dt.prototype.eatSpace=function(){for(var ie=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>ie},Dt.prototype.skipToEnd=function(){this.pos=this.string.length},Dt.prototype.skipTo=function(ie){var de=this.string.indexOf(ie,this.pos);if(de>-1)return this.pos=de,!0},Dt.prototype.backUp=function(ie){this.pos-=ie},Dt.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=tt(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?tt(this.string,this.lineStart,this.tabSize):0)},Dt.prototype.indentation=function(){return tt(this.string,null,this.tabSize)-(this.lineStart?tt(this.string,this.lineStart,this.tabSize):0)},Dt.prototype.match=function(ie,de,ke){if(typeof ie=="string"){var Fe=function(Ct){return ke?Ct.toLowerCase():Ct},Re=this.string.substr(this.pos,ie.length);if(Fe(Re)==Fe(ie))return de!==!1&&(this.pos+=ie.length),!0}else{var st=this.string.slice(this.pos).match(ie);return st&&st.index>0?null:(st&&de!==!1&&(this.pos+=st[0].length),st)}},Dt.prototype.current=function(){return this.string.slice(this.start,this.pos)},Dt.prototype.hideFirstChars=function(ie,de){this.lineStart+=ie;try{return de()}finally{this.lineStart-=ie}},Dt.prototype.lookAhead=function(ie){var de=this.lineOracle;return de&&de.lookAhead(ie)},Dt.prototype.baseToken=function(){var ie=this.lineOracle;return ie&&ie.baseToken(this.pos)};function cn(ie,de){if(de-=ie.first,de<0||de>=ie.size)throw new Error("There is no line "+(de+ie.first)+" in the document.");for(var ke=ie;!ke.lines;)for(var Fe=0;;++Fe){var Re=ke.children[Fe],st=Re.chunkSize();if(de<st){ke=Re;break}de-=st}return ke.lines[de]}function bn(ie,de,ke){var Fe=[],Re=de.line;return ie.iter(de.line,ke.line+1,function(st){var Ct=st.text;Re==ke.line&&(Ct=Ct.slice(0,ke.ch)),Re==de.line&&(Ct=Ct.slice(de.ch)),Fe.push(Ct),++Re}),Fe}function kn(ie,de,ke){var Fe=[];return ie.iter(de,ke,function(Re){Fe.push(Re.text)}),Fe}function Gn(ie,de){var ke=de-ie.height;if(ke)for(var Fe=ie;Fe;Fe=Fe.parent)Fe.height+=ke}function Ht(ie){if(ie.parent==null)return null;for(var de=ie.parent,ke=dt(de.lines,ie),Fe=de.parent;Fe;de=Fe,Fe=Fe.parent)for(var Re=0;Fe.children[Re]!=de;++Re)ke+=Fe.children[Re].chunkSize();return ke+de.first}function An(ie,de){var ke=ie.first;e:do{for(var Fe=0;Fe<ie.children.length;++Fe){var Re=ie.children[Fe],st=Re.height;if(de<st){ie=Re;continue e}de-=st,ke+=Re.chunkSize()}return ke}while(!ie.lines);for(var Ct=0;Ct<ie.lines.length;++Ct){var Nt=ie.lines[Ct],Ot=Nt.height;if(de<Ot)break;de-=Ot}return ke+Ct}function Kn(ie,de){return de>=ie.first&&de<ie.first+ie.size}function ir(ie,de){return String(ie.lineNumberFormatter(de+ie.firstLineNumber))}function sn(ie,de,ke){if(ke===void 0&&(ke=null),!(this instanceof sn))return new sn(ie,de,ke);this.line=ie,this.ch=de,this.sticky=ke}function Cn(ie,de){return ie.line-de.line||ie.ch-de.ch}function rn(ie,de){return ie.sticky==de.sticky&&Cn(ie,de)==0}function Sn(ie){return sn(ie.line,ie.ch)}function vn(ie,de){return Cn(ie,de)<0?de:ie}function yn(ie,de){return Cn(ie,de)<0?ie:de}function Tn(ie,de){return Math.max(ie.first,Math.min(de,ie.first+ie.size-1))}function Fn(ie,de){if(de.line<ie.first)return sn(ie.first,0);var ke=ie.first+ie.size-1;return de.line>ke?sn(ke,cn(ie,ke).text.length):jn(de,cn(ie,de.line).text.length)}function jn(ie,de){var ke=ie.ch;return ke==null||ke>de?sn(ie.line,de):ke<0?sn(ie.line,0):ie}function Zn(ie,de){for(var ke=[],Fe=0;Fe<de.length;Fe++)ke[Fe]=Fn(ie,de[Fe]);return ke}var gr=function(ie,de){this.state=ie,this.lookAhead=de},pn=function(ie,de,ke,Fe){this.state=de,this.doc=ie,this.line=ke,this.maxLookAhead=Fe||0,this.baseTokens=null,this.baseTokenPos=1};pn.prototype.lookAhead=function(ie){var de=this.doc.getLine(this.line+ie);return de!=null&&ie>this.maxLookAhead&&(this.maxLookAhead=ie),de},pn.prototype.baseToken=function(ie){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=ie;)this.baseTokenPos+=2;var de=this.baseTokens[this.baseTokenPos+1];return{type:de&&de.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-ie}},pn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},pn.fromSaved=function(ie,de,ke){return de instanceof gr?new pn(ie,an(ie.mode,de.state),ke,de.lookAhead):new pn(ie,an(ie.mode,de),ke)},pn.prototype.save=function(ie){var de=ie!==!1?an(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new gr(de,this.maxLookAhead):de};function Tr(ie,de,ke,Fe){var Re=[ie.state.modeGen],st={};Gr(ie,de.text,ie.doc.mode,ke,function(Jt,Pn){return Re.push(Jt,Pn)},st,Fe);for(var Ct=ke.state,Nt=function(Jt){ke.baseTokens=Re;var Pn=ie.state.overlays[Jt],qt=1,Vn=0;ke.state=!0,Gr(ie,de.text,Pn.mode,ke,function(Rn,yr){for(var Pr=qt;Vn<Rn;){var Hr=Re[qt];Hr>Rn&&Re.splice(qt,1,Rn,Re[qt+1],Hr),qt+=2,Vn=Math.min(Rn,Hr)}if(yr)if(Pn.opaque)Re.splice(Pr,qt-Pr,Rn,"overlay "+yr),qt=Pr+2;else for(;Pr<qt;Pr+=2){var si=Re[Pr+1];Re[Pr+1]=(si?si+" ":"")+"overlay "+yr}},st),ke.state=Ct,ke.baseTokens=null,ke.baseTokenPos=1},Ot=0;Ot<ie.state.overlays.length;++Ot)Nt(Ot);return{styles:Re,classes:st.bgClass||st.textClass?st:null}}function Ur(ie,de,ke){if(!de.styles||de.styles[0]!=ie.state.modeGen){var Fe=Nr(ie,Ht(de)),Re=de.text.length>ie.options.maxHighlightLength&&an(ie.doc.mode,Fe.state),st=Tr(ie,de,Fe);Re&&(Fe.state=Re),de.stateAfter=Fe.save(!Re),de.styles=st.styles,st.classes?de.styleClasses=st.classes:de.styleClasses&&(de.styleClasses=null),ke===ie.doc.highlightFrontier&&(ie.doc.modeFrontier=Math.max(ie.doc.modeFrontier,++ie.doc.highlightFrontier))}return de.styles}function Nr(ie,de,ke){var Fe=ie.doc,Re=ie.display;if(!Fe.mode.startState)return new pn(Fe,!0,de);var st=Wr(ie,de,ke),Ct=st>Fe.first&&cn(Fe,st-1).stateAfter,Nt=Ct?pn.fromSaved(Fe,Ct,st):new pn(Fe,Xt(Fe.mode),st);return Fe.iter(st,de,function(Ot){wn(ie,Ot.text,Nt);var Jt=Nt.line;Ot.stateAfter=Jt==de-1||Jt%5==0||Jt>=Re.viewFrom&&Jt<Re.viewTo?Nt.save():null,Nt.nextLine()}),ke&&(Fe.modeFrontier=Nt.line),Nt}function wn(ie,de,ke,Fe){var Re=ie.doc.mode,st=new Dt(de,ie.options.tabSize,ke);for(st.start=st.pos=Fe||0,de==""&&Jn(Re,ke.state);!st.eol();)dr(Re,st,ke.state),st.start=st.pos}function Jn(ie,de){if(ie.blankLine)return ie.blankLine(de);if(ie.innerMode){var ke=gn(ie,de);if(ke.mode.blankLine)return ke.mode.blankLine(ke.state)}}function dr(ie,de,ke,Fe){for(var Re=0;Re<10;Re++){Fe&&(Fe[0]=gn(ie,ke).mode);var st=ie.token(de,ke);if(de.pos>de.start)return st}throw new Error("Mode "+ie.name+" failed to advance stream.")}var Ar=function(ie,de,ke){this.start=ie.start,this.end=ie.pos,this.string=ie.current(),this.type=de||null,this.state=ke};function fr(ie,de,ke,Fe){var Re=ie.doc,st=Re.mode,Ct;de=Fn(Re,de);var Nt=cn(Re,de.line),Ot=Nr(ie,de.line,ke),Jt=new Dt(Nt.text,ie.options.tabSize,Ot),Pn;for(Fe&&(Pn=[]);(Fe||Jt.pos<de.ch)&&!Jt.eol();)Jt.start=Jt.pos,Ct=dr(st,Jt,Ot.state),Fe&&Pn.push(new Ar(Jt,Ct,an(Re.mode,Ot.state)));return Fe?Pn:new Ar(Jt,Ct,Ot.state)}function Ir(ie,de){if(ie)for(;;){var ke=ie.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!ke)break;ie=ie.slice(0,ke.index)+ie.slice(ke.index+ke[0].length);var Fe=ke[1]?"bgClass":"textClass";de[Fe]==null?de[Fe]=ke[2]:new RegExp("(?:^|\\s)"+ke[2]+"(?:$|\\s)").test(de[Fe])||(de[Fe]+=" "+ke[2])}return ie}function Gr(ie,de,ke,Fe,Re,st,Ct){var Nt=ke.flattenSpans;Nt==null&&(Nt=ie.options.flattenSpans);var Ot=0,Jt=null,Pn=new Dt(de,ie.options.tabSize,Fe),qt,Vn=ie.options.addModeClass&&[null];for(de==""&&Ir(Jn(ke,Fe.state),st);!Pn.eol();){if(Pn.pos>ie.options.maxHighlightLength?(Nt=!1,Ct&&wn(ie,de,Fe,Pn.pos),Pn.pos=de.length,qt=null):qt=Ir(dr(ke,Pn,Fe.state,Vn),st),Vn){var Rn=Vn[0].name;Rn&&(qt="m-"+(qt?Rn+" "+qt:Rn))}if(!Nt||Jt!=qt){for(;Ot<Pn.start;)Ot=Math.min(Pn.start,Ot+5e3),Re(Ot,Jt);Jt=qt}Pn.start=Pn.pos}for(;Ot<Pn.pos;){var yr=Math.min(Pn.pos,Ot+5e3);Re(yr,Jt),Ot=yr}}function Wr(ie,de,ke){for(var Fe,Re,st=ie.doc,Ct=ke?-1:de-(ie.doc.mode.innerMode?1e3:100),Nt=de;Nt>Ct;--Nt){if(Nt<=st.first)return st.first;var Ot=cn(st,Nt-1),Jt=Ot.stateAfter;if(Jt&&(!ke||Nt+(Jt instanceof gr?Jt.lookAhead:0)<=st.modeFrontier))return Nt;var Pn=tt(Ot.text,null,ie.options.tabSize);(Re==null||Fe>Pn)&&(Re=Nt-1,Fe=Pn)}return Re}function br(ie,de){if(ie.modeFrontier=Math.min(ie.modeFrontier,de),!(ie.highlightFrontier<de-10)){for(var ke=ie.first,Fe=de-1;Fe>ke;Fe--){var Re=cn(ie,Fe).stateAfter;if(Re&&(!(Re instanceof gr)||Fe+Re.lookAhead<de)){ke=Fe+1;break}}ie.highlightFrontier=Math.min(ie.highlightFrontier,ke)}}var Kr=!1,Dn=!1;function Ei(){Kr=!0}function On(){Dn=!0}function hi(ie,de,ke){this.marker=ie,this.from=de,this.to=ke}function Ri(ie,de){if(ie)for(var ke=0;ke<ie.length;++ke){var Fe=ie[ke];if(Fe.marker==de)return Fe}}function _r(ie,de){for(var ke,Fe=0;Fe<ie.length;++Fe)ie[Fe]!=de&&(ke||(ke=[])).push(ie[Fe]);return ke}function Xi(ie,de){ie.markedSpans=ie.markedSpans?ie.markedSpans.concat([de]):[de],de.marker.attachLine(ie)}function Oi(ie,de,ke){var Fe;if(ie)for(var Re=0;Re<ie.length;++Re){var st=ie[Re],Ct=st.marker,Nt=st.from==null||(Ct.inclusiveLeft?st.from<=de:st.from<de);if(Nt||st.from==de&&Ct.type=="bookmark"&&(!ke||!st.marker.insertLeft)){var Ot=st.to==null||(Ct.inclusiveRight?st.to>=de:st.to>de);(Fe||(Fe=[])).push(new hi(Ct,st.from,Ot?null:st.to))}}return Fe}function Rr(ie,de,ke){var Fe;if(ie)for(var Re=0;Re<ie.length;++Re){var st=ie[Re],Ct=st.marker,Nt=st.to==null||(Ct.inclusiveRight?st.to>=de:st.to>de);if(Nt||st.from==de&&Ct.type=="bookmark"&&(!ke||st.marker.insertLeft)){var Ot=st.from==null||(Ct.inclusiveLeft?st.from<=de:st.from<de);(Fe||(Fe=[])).push(new hi(Ct,Ot?null:st.from-de,st.to==null?null:st.to-de))}}return Fe}function zr(ie,de){if(de.full)return null;var ke=Kn(ie,de.from.line)&&cn(ie,de.from.line).markedSpans,Fe=Kn(ie,de.to.line)&&cn(ie,de.to.line).markedSpans;if(!ke&&!Fe)return null;var Re=de.from.ch,st=de.to.ch,Ct=Cn(de.from,de.to)==0,Nt=Oi(ke,Re,Ct),Ot=Rr(Fe,st,Ct),Jt=de.text.length==1,Pn=wt(de.text).length+(Jt?Re:0);if(Nt)for(var qt=0;qt<Nt.length;++qt){var Vn=Nt[qt];if(Vn.to==null){var Rn=Ri(Ot,Vn.marker);Rn?Jt&&(Vn.to=Rn.to==null?null:Rn.to+Pn):Vn.to=Re}}if(Ot)for(var yr=0;yr<Ot.length;++yr){var Pr=Ot[yr];if(Pr.to!=null&&(Pr.to+=Pn),Pr.from==null){var Hr=Ri(Nt,Pr.marker);Hr||(Pr.from=Pn,Jt&&(Nt||(Nt=[])).push(Pr))}else Pr.from+=Pn,Jt&&(Nt||(Nt=[])).push(Pr)}Nt&&(Nt=wi(Nt)),Ot&&Ot!=Nt&&(Ot=wi(Ot));var si=[Nt];if(!Jt){var Ti=de.text.length-2,Si;if(Ti>0&&Nt)for(var Hi=0;Hi<Nt.length;++Hi)Nt[Hi].to==null&&(Si||(Si=[])).push(new hi(Nt[Hi].marker,null,null));for(var So=0;So<Ti;++So)si.push(Si);si.push(Ot)}return si}function wi(ie){for(var de=0;de<ie.length;++de){var ke=ie[de];ke.from!=null&&ke.from==ke.to&&ke.marker.clearWhenEmpty!==!1&&ie.splice(de--,1)}return ie.length?ie:null}function ki(ie,de,ke){var Fe=null;if(ie.iter(de.line,ke.line+1,function(Rn){if(Rn.markedSpans)for(var yr=0;yr<Rn.markedSpans.length;++yr){var Pr=Rn.markedSpans[yr].marker;Pr.readOnly&&(!Fe||dt(Fe,Pr)==-1)&&(Fe||(Fe=[])).push(Pr)}}),!Fe)return null;for(var Re=[{from:de,to:ke}],st=0;st<Fe.length;++st)for(var Ct=Fe[st],Nt=Ct.find(0),Ot=0;Ot<Re.length;++Ot){var Jt=Re[Ot];if(!(Cn(Jt.to,Nt.from)<0||Cn(Jt.from,Nt.to)>0)){var Pn=[Ot,1],qt=Cn(Jt.from,Nt.from),Vn=Cn(Jt.to,Nt.to);(qt<0||!Ct.inclusiveLeft&&!qt)&&Pn.push({from:Jt.from,to:Nt.from}),(Vn>0||!Ct.inclusiveRight&&!Vn)&&Pn.push({from:Nt.to,to:Jt.to}),Re.splice.apply(Re,Pn),Ot+=Pn.length-3}}return Re}function pr(ie){var de=ie.markedSpans;if(de){for(var ke=0;ke<de.length;++ke)de[ke].marker.detachLine(ie);ie.markedSpans=null}}function Lt(ie,de){if(de){for(var ke=0;ke<de.length;++ke)de[ke].marker.attachLine(ie);ie.markedSpans=de}}function Li(ie){return ie.inclusiveLeft?-1:0}function ao(ie){return ie.inclusiveRight?1:0}function Pi(ie,de){var ke=ie.lines.length-de.lines.length;if(ke!=0)return ke;var Fe=ie.find(),Re=de.find(),st=Cn(Fe.from,Re.from)||Li(ie)-Li(de);if(st)return-st;var Ct=Cn(Fe.to,Re.to)||ao(ie)-ao(de);return Ct||de.id-ie.id}function co(ie,de){var ke=Dn&&ie.markedSpans,Fe;if(ke)for(var Re=void 0,st=0;st<ke.length;++st)Re=ke[st],Re.marker.collapsed&&(de?Re.from:Re.to)==null&&(!Fe||Pi(Fe,Re.marker)<0)&&(Fe=Re.marker);return Fe}function wo(ie){return co(ie,!0)}function ni(ie){return co(ie,!1)}function di(ie,de){var ke=Dn&&ie.markedSpans,Fe;if(ke)for(var Re=0;Re<ke.length;++Re){var st=ke[Re];st.marker.collapsed&&(st.from==null||st.from<de)&&(st.to==null||st.to>de)&&(!Fe||Pi(Fe,st.marker)<0)&&(Fe=st.marker)}return Fe}function Fi(ie,de,ke,Fe,Re){var st=cn(ie,de),Ct=Dn&&st.markedSpans;if(Ct)for(var Nt=0;Nt<Ct.length;++Nt){var Ot=Ct[Nt];if(Ot.marker.collapsed){var Jt=Ot.marker.find(0),Pn=Cn(Jt.from,ke)||Li(Ot.marker)-Li(Re),qt=Cn(Jt.to,Fe)||ao(Ot.marker)-ao(Re);if(!(Pn>=0&&qt<=0||Pn<=0&&qt>=0)&&(Pn<=0&&(Ot.marker.inclusiveRight&&Re.inclusiveLeft?Cn(Jt.to,ke)>=0:Cn(Jt.to,ke)>0)||Pn>=0&&(Ot.marker.inclusiveRight&&Re.inclusiveLeft?Cn(Jt.from,Fe)<=0:Cn(Jt.from,Fe)<0)))return!0}}}function bi(ie){for(var de;de=wo(ie);)ie=de.find(-1,!0).line;return ie}function so(ie){for(var de;de=ni(ie);)ie=de.find(1,!0).line;return ie}function Po(ie){for(var de,ke;de=ni(ie);)ie=de.find(1,!0).line,(ke||(ke=[])).push(ie);return ke}function Vr(ie,de){var ke=cn(ie,de),Fe=bi(ke);return ke==Fe?de:Ht(Fe)}function Xr(ie,de){if(de>ie.lastLine())return de;var ke=cn(ie,de),Fe;if(!qn(ie,ke))return de;for(;Fe=ni(ke);)ke=Fe.find(1,!0).line;return Ht(ke)+1}function qn(ie,de){var ke=Dn&&de.markedSpans;if(ke){for(var Fe=void 0,Re=0;Re<ke.length;++Re)if(Fe=ke[Re],!!Fe.marker.collapsed){if(Fe.from==null)return!0;if(!Fe.marker.widgetNode&&Fe.from==0&&Fe.marker.inclusiveLeft&&li(ie,de,Fe))return!0}}}function li(ie,de,ke){if(ke.to==null){var Fe=ke.marker.find(1,!0);return li(ie,Fe.line,Ri(Fe.line.markedSpans,ke.marker))}if(ke.marker.inclusiveRight&&ke.to==de.text.length)return!0;for(var Re=void 0,st=0;st<de.markedSpans.length;++st)if(Re=de.markedSpans[st],Re.marker.collapsed&&!Re.marker.widgetNode&&Re.from==ke.to&&(Re.to==null||Re.to!=ke.from)&&(Re.marker.inclusiveLeft||ke.marker.inclusiveRight)&&li(ie,de,Re))return!0}function qi(ie){ie=bi(ie);for(var de=0,ke=ie.parent,Fe=0;Fe<ke.lines.length;++Fe){var Re=ke.lines[Fe];if(Re==ie)break;de+=Re.height}for(var st=ke.parent;st;ke=st,st=ke.parent)for(var Ct=0;Ct<st.children.length;++Ct){var Nt=st.children[Ct];if(Nt==ke)break;de+=Nt.height}return de}function Ro(ie){if(ie.height==0)return 0;for(var de=ie.text.length,ke,Fe=ie;ke=wo(Fe);){var Re=ke.find(0,!0);Fe=Re.from.line,de+=Re.from.ch-Re.to.ch}for(Fe=ie;ke=ni(Fe);){var st=ke.find(0,!0);de-=Fe.text.length-st.from.ch,Fe=st.to.line,de+=Fe.text.length-st.to.ch}return de}function lo(ie){var de=ie.display,ke=ie.doc;de.maxLine=cn(ke,ke.first),de.maxLineLength=Ro(de.maxLine),de.maxLineChanged=!0,ke.iter(function(Fe){var Re=Ro(Fe);Re>de.maxLineLength&&(de.maxLineLength=Re,de.maxLine=Fe)})}var Qi=function(ie,de,ke){this.text=ie,Lt(this,de),this.height=ke?ke(this):1};Qi.prototype.lineNo=function(){return Ht(this)},xn(Qi);function Do(ie,de,ke,Fe){ie.text=de,ie.stateAfter&&(ie.stateAfter=null),ie.styles&&(ie.styles=null),ie.order!=null&&(ie.order=null),pr(ie),Lt(ie,ke);var Re=Fe?Fe(ie):1;Re!=ie.height&&Gn(ie,Re)}function Oo(ie){ie.parent=null,pr(ie)}var oa={},la={};function Ma(ie,de){if(!ie||/^\s*$/.test(ie))return null;var ke=de.addModeClass?la:oa;return ke[ie]||(ke[ie]=ie.replace(/\S+/g,"cm-$&"))}function Mn(ie,de){var ke=je("span",null,null,ce?"padding-right: .1px":null),Fe={pre:je("pre",[ke],"CodeMirror-line"),content:ke,col:0,pos:0,cm:ie,trailingSpace:!1,splitSpaces:ie.getOption("lineWrapping")};de.measure={};for(var Re=0;Re<=(de.rest?de.rest.length:0);Re++){var st=Re?de.rest[Re-1]:de.line,Ct=void 0;Fe.pos=0,Fe.addToken=fu,ei(ie.display.measure)&&(Ct=Kt(st,ie.doc.direction))&&(Fe.addToken=bo(Fe.addToken,Ct)),Fe.map=[];var Nt=de!=ie.display.externalMeasured&&Ht(st);da(st,Fe,Ur(ie,st,Nt)),st.styleClasses&&(st.styleClasses.bgClass&&(Fe.bgClass=et(st.styleClasses.bgClass,Fe.bgClass||"")),st.styleClasses.textClass&&(Fe.textClass=et(st.styleClasses.textClass,Fe.textClass||""))),Fe.map.length==0&&Fe.map.push(0,0,Fe.content.appendChild(Qr(ie.display.measure))),Re==0?(de.measure.map=Fe.map,de.measure.cache={}):((de.measure.maps||(de.measure.maps=[])).push(Fe.map),(de.measure.caches||(de.measure.caches=[])).push({}))}if(ce){var Ot=Fe.content.lastChild;(/\bcm-tab\b/.test(Ot.className)||Ot.querySelector&&Ot.querySelector(".cm-tab"))&&(Fe.content.className="cm-tab-wrap-hack")}return Bt(ie,"renderLine",ie,de.line,Fe.pre),Fe.pre.className&&(Fe.textClass=et(Fe.pre.className,Fe.textClass||"")),Fe}function ha(ie){var de=Te("span","\u2022","cm-invalidchar");return de.title="\\u"+ie.charCodeAt(0).toString(16),de.setAttribute("aria-label",de.title),de}function fu(ie,de,ke,Fe,Re,st,Ct){if(de){var Nt=ie.splitSpaces?xs(de,ie.trailingSpace):de,Ot=ie.cm.state.specialChars,Jt=!1,Pn;if(!Ot.test(de))ie.col+=de.length,Pn=document.createTextNode(Nt),ie.map.push(ie.pos,ie.pos+de.length,Pn),Ne&&ge<9&&(Jt=!0),ie.pos+=de.length;else{Pn=document.createDocumentFragment();for(var qt=0;;){Ot.lastIndex=qt;var Vn=Ot.exec(de),Rn=Vn?Vn.index-qt:de.length-qt;if(Rn){var yr=document.createTextNode(Nt.slice(qt,qt+Rn));Ne&&ge<9?Pn.appendChild(Te("span",[yr])):Pn.appendChild(yr),ie.map.push(ie.pos,ie.pos+Rn,yr),ie.col+=Rn,ie.pos+=Rn}if(!Vn)break;qt+=Rn+1;var Pr=void 0;if(Vn[0]==" "){var Hr=ie.cm.options.tabSize,si=Hr-ie.col%Hr;Pr=Pn.appendChild(Te("span",Gt(si),"cm-tab")),Pr.setAttribute("role","presentation"),Pr.setAttribute("cm-text"," "),ie.col+=si}else Vn[0]=="\r"||Vn[0]==`
`?(Pr=Pn.appendChild(Te("span",Vn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Pr.setAttribute("cm-text",Vn[0]),ie.col+=1):(Pr=ie.cm.options.specialCharPlaceholder(Vn[0]),Pr.setAttribute("cm-text",Vn[0]),Ne&&ge<9?Pn.appendChild(Te("span",[Pr])):Pn.appendChild(Pr),ie.col+=1);ie.map.push(ie.pos,ie.pos+1,Pr),ie.pos++}}if(ie.trailingSpace=Nt.charCodeAt(de.length-1)==32,ke||Fe||Re||Jt||st||Ct){var Ti=ke||"";Fe&&(Ti+=Fe),Re&&(Ti+=Re);var Si=Te("span",[Pn],Ti,st);if(Ct)for(var Hi in Ct)Ct.hasOwnProperty(Hi)&&Hi!="style"&&Hi!="class"&&Si.setAttribute(Hi,Ct[Hi]);return ie.content.appendChild(Si)}ie.content.appendChild(Pn)}}function xs(ie,de){if(ie.length>1&&!/ /.test(ie))return ie;for(var ke=de,Fe="",Re=0;Re<ie.length;Re++){var st=ie.charAt(Re);st==" "&&ke&&(Re==ie.length-1||ie.charCodeAt(Re+1)==32)&&(st="\xA0"),Fe+=st,ke=st==" "}return Fe}function bo(ie,de){return function(ke,Fe,Re,st,Ct,Nt,Ot){Re=Re?Re+" cm-force-border":"cm-force-border";for(var Jt=ke.pos,Pn=Jt+Fe.length;;){for(var qt=void 0,Vn=0;Vn<de.length&&(qt=de[Vn],!(qt.to>Jt&&qt.from<=Jt));Vn++);if(qt.to>=Pn)return ie(ke,Fe,Re,st,Ct,Nt,Ot);ie(ke,Fe.slice(0,qt.to-Jt),Re,st,null,Nt,Ot),st=null,Fe=Fe.slice(qt.to-Jt),Jt=qt.to}}}function _i(ie,de,ke,Fe){var Re=!Fe&&ke.widgetNode;Re&&ie.map.push(ie.pos,ie.pos+de,Re),!Fe&&ie.cm.display.input.needsContentAttribute&&(Re||(Re=ie.content.appendChild(document.createElement("span"))),Re.setAttribute("cm-marker",ke.id)),Re&&(ie.cm.display.input.setUneditable(Re),ie.content.appendChild(Re)),ie.pos+=de,ie.trailingSpace=!1}function da(ie,de,ke){var Fe=ie.markedSpans,Re=ie.text,st=0;if(!Fe){for(var Ct=1;Ct<ke.length;Ct+=2)de.addToken(de,Re.slice(st,st=ke[Ct]),Ma(ke[Ct+1],de.cm.options));return}for(var Nt=Re.length,Ot=0,Jt=1,Pn="",qt,Vn,Rn=0,yr,Pr,Hr,si,Ti;;){if(Rn==Ot){yr=Pr=Hr=Vn="",Ti=null,si=null,Rn=1/0;for(var Si=[],Hi=void 0,So=0;So<Fe.length;++So){var vi=Fe[So],No=vi.marker;if(No.type=="bookmark"&&vi.from==Ot&&No.widgetNode)Si.push(No);else if(vi.from<=Ot&&(vi.to==null||vi.to>Ot||No.collapsed&&vi.to==Ot&&vi.from==Ot)){if(vi.to!=null&&vi.to!=Ot&&Rn>vi.to&&(Rn=vi.to,Pr=""),No.className&&(yr+=" "+No.className),No.css&&(Vn=(Vn?Vn+";":"")+No.css),No.startStyle&&vi.from==Ot&&(Hr+=" "+No.startStyle),No.endStyle&&vi.to==Rn&&(Hi||(Hi=[])).push(No.endStyle,vi.to),No.title&&((Ti||(Ti={})).title=No.title),No.attributes)for(var $a in No.attributes)(Ti||(Ti={}))[$a]=No.attributes[$a];No.collapsed&&(!si||Pi(si.marker,No)<0)&&(si=vi)}else vi.from>Ot&&Rn>vi.from&&(Rn=vi.from)}if(Hi)for(var Is=0;Is<Hi.length;Is+=2)Hi[Is+1]==Rn&&(Pr+=" "+Hi[Is]);if(!si||si.from==Ot)for(var os=0;os<Si.length;++os)_i(de,0,Si[os]);if(si&&(si.from||0)==Ot){if(_i(de,(si.to==null?Nt+1:si.to)-Ot,si.marker,si.from==null),si.to==null)return;si.to==Ot&&(si=!1)}}if(Ot>=Nt)break;for(var Vl=Math.min(Nt,Rn);;){if(Pn){var vl=Ot+Pn.length;if(!si){var Fs=vl>Vl?Pn.slice(0,Vl-Ot):Pn;de.addToken(de,Fs,qt?qt+yr:yr,Hr,Ot+Fs.length==Rn?Pr:"",Vn,Ti)}if(vl>=Vl){Pn=Pn.slice(Vl-Ot),Ot=Vl;break}Ot=vl,Hr=""}Pn=Re.slice(st,st=ke[Jt++]),qt=Ma(ke[Jt++],de.cm.options)}}}function Ao(ie,de,ke){this.line=de,this.rest=Po(de),this.size=this.rest?Ht(wt(this.rest))-ke+1:1,this.node=this.text=null,this.hidden=qn(ie,de)}function eo(ie,de,ke){for(var Fe=[],Re,st=de;st<ke;st=Re){var Ct=new Ao(ie.doc,cn(ie.doc,st),st);Re=st+Ct.size,Fe.push(Ct)}return Fe}var Bo=null;function ws(ie){Bo?Bo.ops.push(ie):ie.ownsGroup=Bo={ops:[ie],delayedCallbacks:[]}}function Ci(ie){var de=ie.delayedCallbacks,ke=0;do{for(;ke<de.length;ke++)de[ke].call(null);for(var Fe=0;Fe<ie.ops.length;Fe++){var Re=ie.ops[Fe];if(Re.cursorActivityHandlers)for(;Re.cursorActivityCalled<Re.cursorActivityHandlers.length;)Re.cursorActivityHandlers[Re.cursorActivityCalled++].call(null,Re.cm)}}while(ke<de.length)}function ho(ie,de){var ke=ie.ownsGroup;if(ke)try{Ci(ke)}finally{Bo=null,de(ke)}}var oo=null;function Or(ie,de){var ke=Vt(ie,de);if(ke.length){var Fe=Array.prototype.slice.call(arguments,2),Re;Bo?Re=Bo.delayedCallbacks:oo?Re=oo:(Re=oo=[],setTimeout(za,0));for(var st=function(Nt){Re.push(function(){return ke[Nt].apply(null,Fe)})},Ct=0;Ct<ke.length;++Ct)st(Ct)}}function za(){var ie=oo;oo=null;for(var de=0;de<ie.length;++de)ie[de]()}function Wa(ie,de,ke,Fe){for(var Re=0;Re<de.changes.length;Re++){var st=de.changes[Re];st=="text"?wr(ie,de):st=="gutter"?Xa(ie,de,ke,Fe):st=="class"?ua(ie,de):st=="widget"&&Cl(ie,de,Fe)}de.changes=null}function Es(ie){return ie.node==ie.text&&(ie.node=Te("div",null,null,"position: relative"),ie.text.parentNode&&ie.text.parentNode.replaceChild(ie.node,ie.text),ie.node.appendChild(ie.text),Ne&&ge<8&&(ie.node.style.zIndex=2)),ie.node}function Nl(ie,de){var ke=de.bgClass?de.bgClass+" "+(de.line.bgClass||""):de.line.bgClass;if(ke&&(ke+=" CodeMirror-linebackground"),de.background)ke?de.background.className=ke:(de.background.parentNode.removeChild(de.background),de.background=null);else if(ke){var Fe=Es(de);de.background=Fe.insertBefore(Te("div",null,ke),Fe.firstChild),ie.display.input.setUneditable(de.background)}}function $l(ie,de){var ke=ie.display.externalMeasured;return ke&&ke.line==de.line?(ie.display.externalMeasured=null,de.measure=ke.measure,ke.built):Mn(ie,de)}function wr(ie,de){var ke=de.text.className,Fe=$l(ie,de);de.text==de.node&&(de.node=Fe.pre),de.text.parentNode.replaceChild(Fe.pre,de.text),de.text=Fe.pre,Fe.bgClass!=de.bgClass||Fe.textClass!=de.textClass?(de.bgClass=Fe.bgClass,de.textClass=Fe.textClass,ua(ie,de)):ke&&(de.text.className=ke)}function ua(ie,de){Nl(ie,de),de.line.wrapClass?Es(de).className=de.line.wrapClass:de.node!=de.text&&(de.node.className="");var ke=de.textClass?de.textClass+" "+(de.line.textClass||""):de.line.textClass;de.text.className=ke||""}function Xa(ie,de,ke,Fe){if(de.gutter&&(de.node.removeChild(de.gutter),de.gutter=null),de.gutterBackground&&(de.node.removeChild(de.gutterBackground),de.gutterBackground=null),de.line.gutterClass){var Re=Es(de);de.gutterBackground=Te("div",null,"CodeMirror-gutter-background "+de.line.gutterClass,"left: "+(ie.options.fixedGutter?Fe.fixedPos:-Fe.gutterTotalWidth)+"px; width: "+Fe.gutterTotalWidth+"px"),ie.display.input.setUneditable(de.gutterBackground),Re.insertBefore(de.gutterBackground,de.text)}var st=de.line.gutterMarkers;if(ie.options.lineNumbers||st){var Ct=Es(de),Nt=de.gutter=Te("div",null,"CodeMirror-gutter-wrapper","left: "+(ie.options.fixedGutter?Fe.fixedPos:-Fe.gutterTotalWidth)+"px");if(ie.display.input.setUneditable(Nt),Ct.insertBefore(Nt,de.text),de.line.gutterClass&&(Nt.className+=" "+de.line.gutterClass),ie.options.lineNumbers&&(!st||!st["CodeMirror-linenumbers"])&&(de.lineNumber=Nt.appendChild(Te("div",ir(ie.options,ke),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+Fe.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+ie.display.lineNumInnerWidth+"px"))),st)for(var Ot=0;Ot<ie.display.gutterSpecs.length;++Ot){var Jt=ie.display.gutterSpecs[Ot].className,Pn=st.hasOwnProperty(Jt)&&st[Jt];Pn&&Nt.appendChild(Te("div",[Pn],"CodeMirror-gutter-elt","left: "+Fe.gutterLeft[Jt]+"px; width: "+Fe.gutterWidth[Jt]+"px"))}}}function Cl(ie,de,ke){de.alignable&&(de.alignable=null);for(var Fe=be("CodeMirror-linewidget"),Re=de.node.firstChild,st=void 0;Re;Re=st)st=Re.nextSibling,Fe.test(Re.className)&&de.node.removeChild(Re);Il(ie,de,ke)}function Bl(ie,de,ke,Fe){var Re=$l(ie,de);return de.text=de.node=Re.pre,Re.bgClass&&(de.bgClass=Re.bgClass),Re.textClass&&(de.textClass=Re.textClass),ua(ie,de),Xa(ie,de,ke,Fe),Il(ie,de,Fe),de.node}function Il(ie,de,ke){if(zi(ie,de.line,de,ke,!0),de.rest)for(var Fe=0;Fe<de.rest.length;Fe++)zi(ie,de.rest[Fe],de,ke,!1)}function zi(ie,de,ke,Fe,Re){if(de.widgets)for(var st=Es(ke),Ct=0,Nt=de.widgets;Ct<Nt.length;++Ct){var Ot=Nt[Ct],Jt=Te("div",[Ot.node],"CodeMirror-linewidget"+(Ot.className?" "+Ot.className:""));Ot.handleMouseEvents||Jt.setAttribute("cm-ignore-events","true"),mc(Ot,Jt,ke,Fe),ie.display.input.setUneditable(Jt),Re&&Ot.above?st.insertBefore(Jt,ke.gutter||ke.text):st.appendChild(Jt),Or(Ot,"redraw")}}function mc(ie,de,ke,Fe){if(ie.noHScroll){(ke.alignable||(ke.alignable=[])).push(de);var Re=Fe.wrapperWidth;de.style.left=Fe.fixedPos+"px",ie.coverGutter||(Re-=Fe.gutterTotalWidth,de.style.paddingLeft=Fe.gutterTotalWidth+"px"),de.style.width=Re+"px"}ie.coverGutter&&(de.style.zIndex=5,de.style.position="relative",ie.noHScroll||(de.style.marginLeft=-Fe.gutterTotalWidth+"px"))}function tl(ie){if(ie.height!=null)return ie.height;var de=ie.doc.cm;if(!de)return 0;if(!$e(document.body,ie.node)){var ke="position: relative;";ie.coverGutter&&(ke+="margin-left: -"+de.display.gutters.offsetWidth+"px;"),ie.noHScroll&&(ke+="width: "+de.display.wrapper.clientWidth+"px;"),Oe(de.display.measure,Te("div",[ie.node],null,ke))}return ie.height=ie.node.parentNode.offsetHeight}function nl(ie,de){for(var ke=Dr(de);ke!=ie.wrapper;ke=ke.parentNode)if(!ke||ke.nodeType==1&&ke.getAttribute("cm-ignore-events")=="true"||ke.parentNode==ie.sizer&&ke!=ie.mover)return!0}function ks(ie){return ie.lineSpace.offsetTop}function Eu(ie){return ie.mover.offsetHeight-ie.lineSpace.offsetHeight}function Ru(ie){if(ie.cachedPaddingH)return ie.cachedPaddingH;var de=Oe(ie.measure,Te("pre","x","CodeMirror-line-like")),ke=window.getComputedStyle?window.getComputedStyle(de):de.currentStyle,Fe={left:parseInt(ke.paddingLeft),right:parseInt(ke.paddingRight)};return!isNaN(Fe.left)&&!isNaN(Fe.right)&&(ie.cachedPaddingH=Fe),Fe}function Ws(ie){return St-ie.display.nativeBarWidth}function dl(ie){return ie.display.scroller.clientWidth-Ws(ie)-ie.display.barWidth}function Hc(ie){return ie.display.scroller.clientHeight-Ws(ie)-ie.display.barHeight}function hh(ie,de,ke){var Fe=ie.options.lineWrapping,Re=Fe&&dl(ie);if(!de.measure.heights||Fe&&de.measure.width!=Re){var st=de.measure.heights=[];if(Fe){de.measure.width=Re;for(var Ct=de.text.firstChild.getClientRects(),Nt=0;Nt<Ct.length-1;Nt++){var Ot=Ct[Nt],Jt=Ct[Nt+1];Math.abs(Ot.bottom-Jt.bottom)>2&&st.push((Ot.bottom+Jt.top)/2-ke.top)}}st.push(ke.bottom-ke.top)}}function Uc(ie,de,ke){if(ie.line==de)return{map:ie.measure.map,cache:ie.measure.cache};for(var Fe=0;Fe<ie.rest.length;Fe++)if(ie.rest[Fe]==de)return{map:ie.measure.maps[Fe],cache:ie.measure.caches[Fe]};for(var Re=0;Re<ie.rest.length;Re++)if(Ht(ie.rest[Re])>ke)return{map:ie.measure.maps[Re],cache:ie.measure.caches[Re],before:!0}}function Gh(ie,de){de=bi(de);var ke=Ht(de),Fe=ie.display.externalMeasured=new Ao(ie.doc,de,ke);Fe.lineN=ke;var Re=Fe.built=Mn(ie,Fe);return Fe.text=Re.pre,Oe(ie.display.lineMeasure,Re.pre),Fe}function Gc(ie,de,ke,Fe){return jl(ie,zu(ie,de),ke,Fe)}function vc(ie,de){if(de>=ie.display.viewFrom&&de<ie.display.viewTo)return ie.display.view[Hs(ie,de)];var ke=ie.display.externalMeasured;if(ke&&de>=ke.lineN&&de<ke.lineN+ke.size)return ke}function zu(ie,de){var ke=Ht(de),Fe=vc(ie,ke);Fe&&!Fe.text?Fe=null:Fe&&Fe.changes&&(Wa(ie,Fe,ke,Pd(ie)),ie.curOp.forceUpdate=!0),Fe||(Fe=Gh(ie,de));var Re=Uc(Fe,de,ke);return{line:de,view:Fe,rect:null,map:Re.map,cache:Re.cache,before:Re.before,hasHeights:!1}}function jl(ie,de,ke,Fe,Re){de.before&&(ke=-1);var st=ke+(Fe||""),Ct;return de.cache.hasOwnProperty(st)?Ct=de.cache[st]:(de.rect||(de.rect=de.view.text.getBoundingClientRect()),de.hasHeights||(hh(ie,de.view,de.rect),de.hasHeights=!0),Ct=io(ie,de,ke,Fe),Ct.bogus||(de.cache[st]=Ct)),{left:Ct.left,right:Ct.right,top:Re?Ct.rtop:Ct.top,bottom:Re?Ct.rbottom:Ct.bottom}}var dh={left:0,right:0,top:0,bottom:0};function Zc(ie,de,ke){for(var Fe,Re,st,Ct,Nt,Ot,Jt=0;Jt<ie.length;Jt+=3)if(Nt=ie[Jt],Ot=ie[Jt+1],de<Nt?(Re=0,st=1,Ct="left"):de<Ot?(Re=de-Nt,st=Re+1):(Jt==ie.length-3||de==Ot&&ie[Jt+3]>de)&&(st=Ot-Nt,Re=st-1,de>=Ot&&(Ct="right")),Re!=null){if(Fe=ie[Jt+2],Nt==Ot&&ke==(Fe.insertLeft?"left":"right")&&(Ct=ke),ke=="left"&&Re==0)for(;Jt&&ie[Jt-2]==ie[Jt-3]&&ie[Jt-1].insertLeft;)Fe=ie[(Jt-=3)+2],Ct="left";if(ke=="right"&&Re==Ot-Nt)for(;Jt<ie.length-3&&ie[Jt+3]==ie[Jt+4]&&!ie[Jt+5].insertLeft;)Fe=ie[(Jt+=3)+2],Ct="right";break}return{node:Fe,start:Re,end:st,collapse:Ct,coverStart:Nt,coverEnd:Ot}}function yc(ie,de){var ke=dh;if(de=="left")for(var Fe=0;Fe<ie.length&&(ke=ie[Fe]).left==ke.right;Fe++);else for(var Re=ie.length-1;Re>=0&&(ke=ie[Re]).left==ke.right;Re--);return ke}function io(ie,de,ke,Fe){var Re=Zc(de.map,ke,Fe),st=Re.node,Ct=Re.start,Nt=Re.end,Ot=Re.collapse,Jt;if(st.nodeType==3){for(var Pn=0;Pn<4;Pn++){for(;Ct&&Ke(de.line.text.charAt(Re.coverStart+Ct));)--Ct;for(;Re.coverStart+Nt<Re.coverEnd&&Ke(de.line.text.charAt(Re.coverStart+Nt));)++Nt;if(Ne&&ge<9&&Ct==0&&Nt==Re.coverEnd-Re.coverStart?Jt=st.parentNode.getBoundingClientRect():Jt=yc(ze(st,Ct,Nt).getClientRects(),Fe),Jt.left||Jt.right||Ct==0)break;Nt=Ct,Ct=Ct-1,Ot="right"}Ne&&ge<11&&(Jt=zo(ie.display.measure,Jt))}else{Ct>0&&(Ot=Fe="right");var qt;ie.options.lineWrapping&&(qt=st.getClientRects()).length>1?Jt=qt[Fe=="right"?qt.length-1:0]:Jt=st.getBoundingClientRect()}if(Ne&&ge<9&&!Ct&&(!Jt||!Jt.left&&!Jt.right)){var Vn=st.parentNode.getClientRects()[0];Vn?Jt={left:Vn.left,right:Vn.left+ic(ie.display),top:Vn.top,bottom:Vn.bottom}:Jt=dh}for(var Rn=Jt.top-de.rect.top,yr=Jt.bottom-de.rect.top,Pr=(Rn+yr)/2,Hr=de.view.measure.heights,si=0;si<Hr.length-1&&!(Pr<Hr[si]);si++);var Ti=si?Hr[si-1]:0,Si=Hr[si],Hi={left:(Ot=="right"?Jt.right:Jt.left)-de.rect.left,right:(Ot=="left"?Jt.left:Jt.right)-de.rect.left,top:Ti,bottom:Si};return!Jt.left&&!Jt.right&&(Hi.bogus=!0),ie.options.singleCursorHeightPerLine||(Hi.rtop=Rn,Hi.rbottom=yr),Hi}function zo(ie,de){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Ln(ie))return de;var ke=screen.logicalXDPI/screen.deviceXDPI,Fe=screen.logicalYDPI/screen.deviceYDPI;return{left:de.left*ke,right:de.right*ke,top:de.top*Fe,bottom:de.bottom*Fe}}function As(ie){if(ie.measure&&(ie.measure.cache={},ie.measure.heights=null,ie.rest))for(var de=0;de<ie.rest.length;de++)ie.measure.caches[de]={}}function _a(ie){ie.display.externalMeasure=null,Me(ie.display.lineMeasure);for(var de=0;de<ie.display.view.length;de++)As(ie.display.view[de])}function Ha(ie){_a(ie),ie.display.cachedCharWidth=ie.display.cachedTextHeight=ie.display.cachedPaddingH=null,ie.options.lineWrapping||(ie.display.maxLineChanged=!0),ie.display.lineNumChars=null}function ga(){return Ae&&z?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function La(){return Ae&&z?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Ya(ie){var de=0;if(ie.widgets)for(var ke=0;ke<ie.widgets.length;++ke)ie.widgets[ke].above&&(de+=tl(ie.widgets[ke]));return de}function Ua(ie,de,ke,Fe,Re){if(!Re){var st=Ya(de);ke.top+=st,ke.bottom+=st}if(Fe=="line")return ke;Fe||(Fe="local");var Ct=qi(de);if(Fe=="local"?Ct+=ks(ie.display):Ct-=ie.display.viewOffset,Fe=="page"||Fe=="window"){var Nt=ie.display.lineSpace.getBoundingClientRect();Ct+=Nt.top+(Fe=="window"?0:La());var Ot=Nt.left+(Fe=="window"?0:ga());ke.left+=Ot,ke.right+=Ot}return ke.top+=Ct,ke.bottom+=Ct,ke}function Wu(ie,de,ke){if(ke=="div")return de;var Fe=de.left,Re=de.top;if(ke=="page")Fe-=ga(),Re-=La();else if(ke=="local"||!ke){var st=ie.display.sizer.getBoundingClientRect();Fe+=st.left,Re+=st.top}var Ct=ie.display.lineSpace.getBoundingClientRect();return{left:Fe-Ct.left,top:Re-Ct.top}}function Rl(ie,de,ke,Fe,Re){return Fe||(Fe=cn(ie.doc,de.line)),Ua(ie,Fe,Gc(ie,Fe,de.ch,Re),ke)}function Da(ie,de,ke,Fe,Re,st){Fe=Fe||cn(ie.doc,de.line),Re||(Re=zu(ie,Fe));function Ct(yr,Pr){var Hr=jl(ie,Re,yr,Pr?"right":"left",st);return Pr?Hr.left=Hr.right:Hr.right=Hr.left,Ua(ie,Fe,Hr,ke)}var Nt=Kt(Fe,ie.doc.direction),Ot=de.ch,Jt=de.sticky;if(Ot>=Fe.text.length?(Ot=Fe.text.length,Jt="before"):Ot<=0&&(Ot=0,Jt="after"),!Nt)return Ct(Jt=="before"?Ot-1:Ot,Jt=="before");function Pn(yr,Pr,Hr){var si=Nt[Pr],Ti=si.level==1;return Ct(Hr?yr-1:yr,Ti!=Hr)}var qt=mt(Nt,Ot,Jt),Vn=Et,Rn=Pn(Ot,qt,Jt=="before");return Vn!=null&&(Rn.other=Pn(Ot,Vn,Jt!="before")),Rn}function wd(ie,de){var ke=0;de=Fn(ie.doc,de),ie.options.lineWrapping||(ke=ic(ie.display)*de.ch);var Fe=cn(ie.doc,de.line),Re=qi(Fe)+ks(ie.display);return{left:ke,right:ke,top:Re,bottom:Re+Fe.height}}function bd(ie,de,ke,Fe,Re){var st=sn(ie,de,ke);return st.xRel=Re,Fe&&(st.outside=Fe),st}function Kc(ie,de,ke){var Fe=ie.doc;if(ke+=ie.display.viewOffset,ke<0)return bd(Fe.first,0,null,-1,-1);var Re=An(Fe,ke),st=Fe.first+Fe.size-1;if(Re>st)return bd(Fe.first+Fe.size-1,cn(Fe,st).text.length,null,1,1);de<0&&(de=0);for(var Ct=cn(Fe,Re);;){var Nt=$n(ie,Ct,Re,de,ke),Ot=di(Ct,Nt.ch+(Nt.xRel>0||Nt.outside>0?1:0));if(!Ot)return Nt;var Jt=Ot.find(1);if(Jt.line==Re)return Jt;Ct=cn(Fe,Re=Jt.line)}}function mi(ie,de,ke,Fe){Fe-=Ya(de);var Re=de.text.length,st=Qe(function(Ct){return jl(ie,ke,Ct-1).bottom<=Fe},Re,0);return Re=Qe(function(Ct){return jl(ie,ke,Ct).top>Fe},st,Re),{begin:st,end:Re}}function fh(ie,de,ke,Fe){ke||(ke=zu(ie,de));var Re=Ua(ie,de,jl(ie,ke,Fe),"line").top;return mi(ie,de,ke,Re)}function tn(ie,de,ke,Fe){return ie.bottom<=ke?!1:ie.top>ke?!0:(Fe?ie.left:ie.right)>de}function $n(ie,de,ke,Fe,Re){Re-=qi(de);var st=zu(ie,de),Ct=Ya(de),Nt=0,Ot=de.text.length,Jt=!0,Pn=Kt(de,ie.doc.direction);if(Pn){var qt=(ie.options.lineWrapping?af:Cd)(ie,de,ke,st,Pn,Fe,Re);Jt=qt.level!=1,Nt=Jt?qt.from:qt.to-1,Ot=Jt?qt.to:qt.from-1}var Vn=null,Rn=null,yr=Qe(function(So){var vi=jl(ie,st,So);return vi.top+=Ct,vi.bottom+=Ct,tn(vi,Fe,Re,!1)?(vi.top<=Re&&vi.left<=Fe&&(Vn=So,Rn=vi),!0):!1},Nt,Ot),Pr,Hr,si=!1;if(Rn){var Ti=Fe-Rn.left<Rn.right-Fe,Si=Ti==Jt;yr=Vn+(Si?0:1),Hr=Si?"after":"before",Pr=Ti?Rn.left:Rn.right}else{!Jt&&(yr==Ot||yr==Nt)&&yr++,Hr=yr==0?"after":yr==de.text.length?"before":jl(ie,st,yr-(Jt?1:0)).bottom+Ct<=Re==Jt?"after":"before";var Hi=Da(ie,sn(ke,yr,Hr),"line",de,st);Pr=Hi.left,si=Re<Hi.top?-1:Re>=Hi.bottom?1:0}return yr=Xe(de.text,yr,1),bd(ke,yr,Hr,si,Fe-Pr)}function Cd(ie,de,ke,Fe,Re,st,Ct){var Nt=Qe(function(qt){var Vn=Re[qt],Rn=Vn.level!=1;return tn(Da(ie,sn(ke,Rn?Vn.to:Vn.from,Rn?"before":"after"),"line",de,Fe),st,Ct,!0)},0,Re.length-1),Ot=Re[Nt];if(Nt>0){var Jt=Ot.level!=1,Pn=Da(ie,sn(ke,Jt?Ot.from:Ot.to,Jt?"after":"before"),"line",de,Fe);tn(Pn,st,Ct,!0)&&Pn.top>Ct&&(Ot=Re[Nt-1])}return Ot}function af(ie,de,ke,Fe,Re,st,Ct){var Nt=mi(ie,de,Fe,Ct),Ot=Nt.begin,Jt=Nt.end;/\s/.test(de.text.charAt(Jt-1))&&Jt--;for(var Pn=null,qt=null,Vn=0;Vn<Re.length;Vn++){var Rn=Re[Vn];if(!(Rn.from>=Jt||Rn.to<=Ot)){var yr=Rn.level!=1,Pr=jl(ie,Fe,yr?Math.min(Jt,Rn.to)-1:Math.max(Ot,Rn.from)).right,Hr=Pr<st?st-Pr+1e9:Pr-st;(!Pn||qt>Hr)&&(Pn=Rn,qt=Hr)}}return Pn||(Pn=Re[Re.length-1]),Pn.from<Ot&&(Pn={from:Ot,to:Pn.to,level:Pn.level}),Pn.to>Jt&&(Pn={from:Pn.from,to:Jt,level:Pn.level}),Pn}var Hu;function Uu(ie){if(ie.cachedTextHeight!=null)return ie.cachedTextHeight;if(Hu==null){Hu=Te("pre",null,"CodeMirror-line-like");for(var de=0;de<49;++de)Hu.appendChild(document.createTextNode("x")),Hu.appendChild(Te("br"));Hu.appendChild(document.createTextNode("x"))}Oe(ie.measure,Hu);var ke=Hu.offsetHeight/50;return ke>3&&(ie.cachedTextHeight=ke),Me(ie.measure),ke||1}function ic(ie){if(ie.cachedCharWidth!=null)return ie.cachedCharWidth;var de=Te("span","xxxxxxxxxx"),ke=Te("pre",[de],"CodeMirror-line-like");Oe(ie.measure,ke);var Fe=de.getBoundingClientRect(),Re=(Fe.right-Fe.left)/10;return Re>2&&(ie.cachedCharWidth=Re),Re||10}function Pd(ie){for(var de=ie.display,ke={},Fe={},Re=de.gutters.clientLeft,st=de.gutters.firstChild,Ct=0;st;st=st.nextSibling,++Ct){var Nt=ie.display.gutterSpecs[Ct].className;ke[Nt]=st.offsetLeft+st.clientLeft+Re,Fe[Nt]=st.clientWidth}return{fixedPos:ph(de),gutterTotalWidth:de.gutters.offsetWidth,gutterLeft:ke,gutterWidth:Fe,wrapperWidth:de.wrapper.clientWidth}}function ph(ie){return ie.scroller.getBoundingClientRect().left-ie.sizer.getBoundingClientRect().left}function Ga(ie){var de=Uu(ie.display),ke=ie.options.lineWrapping,Fe=ke&&Math.max(5,ie.display.scroller.clientWidth/ic(ie.display)-3);return function(Re){if(qn(ie.doc,Re))return 0;var st=0;if(Re.widgets)for(var Ct=0;Ct<Re.widgets.length;Ct++)Re.widgets[Ct].height&&(st+=Re.widgets[Ct].height);return ke?st+(Math.ceil(Re.text.length/Fe)||1)*de:st+de}}function Zi(ie){var de=ie.doc,ke=Ga(ie);de.iter(function(Fe){var Re=ke(Fe);Re!=Fe.height&&Gn(Fe,Re)})}function rl(ie,de,ke,Fe){var Re=ie.display;if(!ke&&Dr(de).getAttribute("cm-not-content")=="true")return null;var st,Ct,Nt=Re.lineSpace.getBoundingClientRect();try{st=de.clientX-Nt.left,Ct=de.clientY-Nt.top}catch(qt){return null}var Ot=Kc(ie,st,Ct),Jt;if(Fe&&Ot.xRel>0&&(Jt=cn(ie.doc,Ot.line).text).length==Ot.ch){var Pn=tt(Jt,Jt.length,ie.options.tabSize)-Jt.length;Ot=sn(Ot.line,Math.max(0,Math.round((st-Ru(ie.display).left)/ic(ie.display))-Pn))}return Ot}function Hs(ie,de){if(de>=ie.display.viewTo||(de-=ie.display.viewFrom,de<0))return null;for(var ke=ie.display.view,Fe=0;Fe<ke.length;Fe++)if(de-=ke[Fe].size,de<0)return Fe}function xa(ie,de,ke,Fe){de==null&&(de=ie.doc.first),ke==null&&(ke=ie.doc.first+ie.doc.size),Fe||(Fe=0);var Re=ie.display;if(Fe&&ke<Re.viewTo&&(Re.updateLineNumbers==null||Re.updateLineNumbers>de)&&(Re.updateLineNumbers=de),ie.curOp.viewChanged=!0,de>=Re.viewTo)Dn&&Vr(ie.doc,de)<Re.viewTo&&ss(ie);else if(ke<=Re.viewFrom)Dn&&Xr(ie.doc,ke+Fe)>Re.viewFrom?ss(ie):(Re.viewFrom+=Fe,Re.viewTo+=Fe);else if(de<=Re.viewFrom&&ke>=Re.viewTo)ss(ie);else if(de<=Re.viewFrom){var st=Pl(ie,ke,ke+Fe,1);st?(Re.view=Re.view.slice(st.index),Re.viewFrom=st.lineN,Re.viewTo+=Fe):ss(ie)}else if(ke>=Re.viewTo){var Ct=Pl(ie,de,de,-1);Ct?(Re.view=Re.view.slice(0,Ct.index),Re.viewTo=Ct.lineN):ss(ie)}else{var Nt=Pl(ie,de,de,-1),Ot=Pl(ie,ke,ke+Fe,1);Nt&&Ot?(Re.view=Re.view.slice(0,Nt.index).concat(eo(ie,Nt.lineN,Ot.lineN)).concat(Re.view.slice(Ot.index)),Re.viewTo+=Fe):ss(ie)}var Jt=Re.externalMeasured;Jt&&(ke<Jt.lineN?Jt.lineN+=Fe:de<Jt.lineN+Jt.size&&(Re.externalMeasured=null))}function Mo(ie,de,ke){ie.curOp.viewChanged=!0;var Fe=ie.display,Re=ie.display.externalMeasured;if(Re&&de>=Re.lineN&&de<Re.lineN+Re.size&&(Fe.externalMeasured=null),!(de<Fe.viewFrom||de>=Fe.viewTo)){var st=Fe.view[Hs(ie,de)];if(st.node!=null){var Ct=st.changes||(st.changes=[]);dt(Ct,ke)==-1&&Ct.push(ke)}}}function ss(ie){ie.display.viewFrom=ie.display.viewTo=ie.doc.first,ie.display.view=[],ie.display.viewOffset=0}function Pl(ie,de,ke,Fe){var Re=Hs(ie,de),st,Ct=ie.display.view;if(!Dn||ke==ie.doc.first+ie.doc.size)return{index:Re,lineN:ke};for(var Nt=ie.display.viewFrom,Ot=0;Ot<Re;Ot++)Nt+=Ct[Ot].size;if(Nt!=de){if(Fe>0){if(Re==Ct.length-1)return null;st=Nt+Ct[Re].size-de,Re++}else st=Nt-de;de+=st,ke+=st}for(;Vr(ie.doc,ke)!=ke;){if(Re==(Fe<0?0:Ct.length-1))return null;ke+=Fe*Ct[Re-(Fe<0?1:0)].size,Re+=Fe}return{index:Re,lineN:ke}}function ma(ie,de,ke){var Fe=ie.display,Re=Fe.view;Re.length==0||de>=Fe.viewTo||ke<=Fe.viewFrom?(Fe.view=eo(ie,de,ke),Fe.viewFrom=de):(Fe.viewFrom>de?Fe.view=eo(ie,de,Fe.viewFrom).concat(Fe.view):Fe.viewFrom<de&&(Fe.view=Fe.view.slice(Hs(ie,de))),Fe.viewFrom=de,Fe.viewTo<ke?Fe.view=Fe.view.concat(eo(ie,Fe.viewTo,ke)):Fe.viewTo>ke&&(Fe.view=Fe.view.slice(0,Hs(ie,ke)))),Fe.viewTo=ke}function zl(ie){for(var de=ie.display.view,ke=0,Fe=0;Fe<de.length;Fe++){var Re=de[Fe];!Re.hidden&&(!Re.node||Re.changes)&&++ke}return ke}function bs(ie){ie.display.input.showSelection(ie.display.input.prepareSelection())}function Vc(ie,de){de===void 0&&(de=!0);for(var ke=ie.doc,Fe={},Re=Fe.cursors=document.createDocumentFragment(),st=Fe.selection=document.createDocumentFragment(),Ct=0;Ct<ke.sel.ranges.length;Ct++)if(!(!de&&Ct==ke.sel.primIndex)){var Nt=ke.sel.ranges[Ct];if(!(Nt.from().line>=ie.display.viewTo||Nt.to().line<ie.display.viewFrom)){var Ot=Nt.empty();(Ot||ie.options.showCursorWhenSelecting)&&Zo(ie,Nt.head,Re),Ot||Ko(ie,Nt,st)}}return Fe}function Zo(ie,de,ke){var Fe=Da(ie,de,"div",null,null,!ie.options.singleCursorHeightPerLine),Re=ke.appendChild(Te("div","\xA0","CodeMirror-cursor"));if(Re.style.left=Fe.left+"px",Re.style.top=Fe.top+"px",Re.style.height=Math.max(0,Fe.bottom-Fe.top)*ie.options.cursorHeight+"px",Fe.other){var st=ke.appendChild(Te("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));st.style.display="",st.style.left=Fe.other.left+"px",st.style.top=Fe.other.top+"px",st.style.height=(Fe.other.bottom-Fe.other.top)*.85+"px"}}function il(ie,de){return ie.top-de.top||ie.left-de.left}function Ko(ie,de,ke){var Fe=ie.display,Re=ie.doc,st=document.createDocumentFragment(),Ct=Ru(ie.display),Nt=Ct.left,Ot=Math.max(Fe.sizerWidth,dl(ie)-Fe.sizer.offsetLeft)-Ct.right,Jt=Re.direction=="ltr";function Pn(Si,Hi,So,vi){Hi<0&&(Hi=0),Hi=Math.round(Hi),vi=Math.round(vi),st.appendChild(Te("div",null,"CodeMirror-selected","position: absolute; left: "+Si+`px;
top: `+Hi+"px; width: "+(So==null?Ot-Si:So)+`px;
height: `+(vi-Hi)+"px"))}function qt(Si,Hi,So){var vi=cn(Re,Si),No=vi.text.length,$a,Is;function os(Fs,iu){return Rl(ie,sn(Si,Fs),"div",vi,iu)}function Vl(Fs,iu,al){var Ds=fh(ie,vi,null,Fs),sa=iu=="ltr"==(al=="after")?"left":"right",hs=al=="after"?Ds.begin:Ds.end-(/\s/.test(vi.text.charAt(Ds.end-1))?2:1);return os(hs,sa)[sa]}var vl=Kt(vi,Re.direction);return ht(vl,Hi||0,So==null?No:So,function(Fs,iu,al,Ds){var sa=al=="ltr",hs=os(Fs,sa?"left":"right"),Gs=os(iu-1,sa?"right":"left"),sl=Hi==null&&Fs==0,Yu=So==null&&iu==No,as=Ds==0,Tu=!vl||Ds==vl.length-1;if(Gs.top-hs.top<=3){var ys=(Jt?sl:Yu)&&as,xf=(Jt?Yu:sl)&&Tu,vu=ys?Nt:(sa?hs:Gs).left,ou=xf?Ot:(sa?Gs:hs).right;Pn(vu,hs.top,ou-vu,hs.bottom)}else{var Xl,Ia,Zs,Mc;sa?(Xl=Jt&&sl&&as?Nt:hs.left,Ia=Jt?Ot:Vl(Fs,al,"before"),Zs=Jt?Nt:Vl(iu,al,"after"),Mc=Jt&&Yu&&Tu?Ot:Gs.right):(Xl=Jt?Vl(Fs,al,"before"):Nt,Ia=!Jt&&sl&&as?Ot:hs.right,Zs=!Jt&&Yu&&Tu?Nt:Gs.left,Mc=Jt?Vl(iu,al,"after"):Ot),Pn(Xl,hs.top,Ia-Xl,hs.bottom),hs.bottom<Gs.top&&Pn(Nt,hs.bottom,null,Gs.top),Pn(Zs,Gs.top,Mc-Zs,Gs.bottom)}(!$a||il(hs,$a)<0)&&($a=hs),il(Gs,$a)<0&&($a=Gs),(!Is||il(hs,Is)<0)&&(Is=hs),il(Gs,Is)<0&&(Is=Gs)}),{start:$a,end:Is}}var Vn=de.from(),Rn=de.to();if(Vn.line==Rn.line)qt(Vn.line,Vn.ch,Rn.ch);else{var yr=cn(Re,Vn.line),Pr=cn(Re,Rn.line),Hr=bi(yr)==bi(Pr),si=qt(Vn.line,Vn.ch,Hr?yr.text.length+1:null).end,Ti=qt(Rn.line,Hr?0:null,Rn.ch).start;Hr&&(si.top<Ti.top-2?(Pn(si.right,si.top,null,si.bottom),Pn(Nt,Ti.top,Ti.left,Ti.bottom)):Pn(si.right,si.top,Ti.left-si.right,si.bottom)),si.bottom<Ti.top&&Pn(Nt,si.bottom,null,Ti.top)}ke.appendChild(st)}function fa(ie){if(ie.state.focused){var de=ie.display;clearInterval(de.blinker);var ke=!0;de.cursorDiv.style.visibility="",ie.options.cursorBlinkRate>0?de.blinker=setInterval(function(){ie.hasFocus()||Xc(ie),de.cursorDiv.style.visibility=(ke=!ke)?"":"hidden"},ie.options.cursorBlinkRate):ie.options.cursorBlinkRate<0&&(de.cursorDiv.style.visibility="hidden")}}function Oa(ie){ie.state.focused||(ie.display.input.focus(),Yo(ie))}function Ja(ie){ie.state.delayingBlurEvent=!0,setTimeout(function(){ie.state.delayingBlurEvent&&(ie.state.delayingBlurEvent=!1,Xc(ie))},100)}function Yo(ie,de){ie.state.delayingBlurEvent&&(ie.state.delayingBlurEvent=!1),ie.options.readOnly!="nocursor"&&(ie.state.focused||(Bt(ie,"focus",ie,de),ie.state.focused=!0,qe(ie.display.wrapper,"CodeMirror-focused"),!ie.curOp&&ie.display.selForContextMenu!=ie.doc.sel&&(ie.display.input.reset(),ce&&setTimeout(function(){return ie.display.input.reset(!0)},20)),ie.display.input.receivedFocus()),fa(ie))}function Xc(ie,de){ie.state.delayingBlurEvent||(ie.state.focused&&(Bt(ie,"blur",ie,de),ie.state.focused=!1,Ie(ie.display.wrapper,"CodeMirror-focused")),clearInterval(ie.display.blinker),setTimeout(function(){ie.state.focused||(ie.display.shift=!1)},150))}function Ui(ie){for(var de=ie.display,ke=de.lineDiv.offsetTop,Fe=0;Fe<de.view.length;Fe++){var Re=de.view[Fe],st=ie.options.lineWrapping,Ct=void 0,Nt=0;if(!Re.hidden){if(Ne&&ge<8){var Ot=Re.node.offsetTop+Re.node.offsetHeight;Ct=Ot-ke,ke=Ot}else{var Jt=Re.node.getBoundingClientRect();Ct=Jt.bottom-Jt.top,!st&&Re.text.firstChild&&(Nt=Re.text.firstChild.getBoundingClientRect().right-Jt.left-1)}var Pn=Re.line.height-Ct;if((Pn>.005||Pn<-.005)&&(Gn(Re.line,Ct),Gf(Re.line),Re.rest))for(var qt=0;qt<Re.rest.length;qt++)Gf(Re.rest[qt]);if(Nt>ie.display.sizerWidth){var Vn=Math.ceil(Nt/ic(ie.display));Vn>ie.display.maxLineLength&&(ie.display.maxLineLength=Vn,ie.display.maxLine=Re.line,ie.display.maxLineChanged=!0)}}}}function Gf(ie){if(ie.widgets)for(var de=0;de<ie.widgets.length;++de){var ke=ie.widgets[de],Fe=ke.node.parentNode;Fe&&(ke.height=Fe.offsetHeight)}}function Wo(ie,de,ke){var Fe=ke&&ke.top!=null?Math.max(0,ke.top):ie.scroller.scrollTop;Fe=Math.floor(Fe-ks(ie));var Re=ke&&ke.bottom!=null?ke.bottom:Fe+ie.wrapper.clientHeight,st=An(de,Fe),Ct=An(de,Re);if(ke&&ke.ensure){var Nt=ke.ensure.from.line,Ot=ke.ensure.to.line;Nt<st?(st=Nt,Ct=An(de,qi(cn(de,Nt))+ie.wrapper.clientHeight)):Math.min(Ot,de.lastLine())>=Ct&&(st=An(de,qi(cn(de,Ot))-ie.wrapper.clientHeight),Ct=Ot)}return{from:st,to:Math.max(Ct,st+1)}}function Zf(ie,de){if(!_t(ie,"scrollCursorIntoView")){var ke=ie.display,Fe=ke.sizer.getBoundingClientRect(),Re=null;if(de.top+Fe.top<0?Re=!0:de.bottom+Fe.top>(window.innerHeight||document.documentElement.clientHeight)&&(Re=!1),Re!=null&&!xe){var st=Te("div","\u200B",null,`position: absolute;
top: `+(de.top-ke.viewOffset-ks(ie.display))+`px;
height: `+(de.bottom-de.top+Ws(ie)+ke.barHeight)+`px;
left: `+de.left+"px; width: "+Math.max(2,de.right-de.left)+"px;");ie.display.lineSpace.appendChild(st),st.scrollIntoView(Re),ie.display.lineSpace.removeChild(st)}}}function Zh(ie,de,ke,Fe){Fe==null&&(Fe=0);var Re;!ie.options.lineWrapping&&de==ke&&(de=de.ch?sn(de.line,de.sticky=="before"?de.ch-1:de.ch,"after"):de,ke=de.sticky=="before"?sn(de.line,de.ch+1,"before"):de);for(var st=0;st<5;st++){var Ct=!1,Nt=Da(ie,de),Ot=!ke||ke==de?Nt:Da(ie,ke);Re={left:Math.min(Nt.left,Ot.left),top:Math.min(Nt.top,Ot.top)-Fe,right:Math.max(Nt.left,Ot.left),bottom:Math.max(Nt.bottom,Ot.bottom)+Fe};var Jt=Kf(ie,Re),Pn=ie.doc.scrollTop,qt=ie.doc.scrollLeft;if(Jt.scrollTop!=null&&(Jc(ie,Jt.scrollTop),Math.abs(ie.doc.scrollTop-Pn)>1&&(Ct=!0)),Jt.scrollLeft!=null&&(Zu(ie,Jt.scrollLeft),Math.abs(ie.doc.scrollLeft-qt)>1&&(Ct=!0)),!Ct)break}return Re}function Kh(ie,de){var ke=Kf(ie,de);ke.scrollTop!=null&&Jc(ie,ke.scrollTop),ke.scrollLeft!=null&&Zu(ie,ke.scrollLeft)}function Kf(ie,de){var ke=ie.display,Fe=Uu(ie.display);de.top<0&&(de.top=0);var Re=ie.curOp&&ie.curOp.scrollTop!=null?ie.curOp.scrollTop:ke.scroller.scrollTop,st=Hc(ie),Ct={};de.bottom-de.top>st&&(de.bottom=de.top+st);var Nt=ie.doc.height+Eu(ke),Ot=de.top<Fe,Jt=de.bottom>Nt-Fe;if(de.top<Re)Ct.scrollTop=Ot?0:de.top;else if(de.bottom>Re+st){var Pn=Math.min(de.top,(Jt?Nt:de.bottom)-st);Pn!=Re&&(Ct.scrollTop=Pn)}var qt=ie.options.fixedGutter?0:ke.gutters.offsetWidth,Vn=ie.curOp&&ie.curOp.scrollLeft!=null?ie.curOp.scrollLeft:ke.scroller.scrollLeft-qt,Rn=dl(ie)-ke.gutters.offsetWidth,yr=de.right-de.left>Rn;return yr&&(de.right=de.left+Rn),de.left<10?Ct.scrollLeft=0:de.left<Vn?Ct.scrollLeft=Math.max(0,de.left+qt-(yr?0:10)):de.right>Rn+Vn-3&&(Ct.scrollLeft=de.right+(yr?0:10)-Rn),Ct}function Ed(ie,de){de!=null&&(Gu(ie),ie.curOp.scrollTop=(ie.curOp.scrollTop==null?ie.doc.scrollTop:ie.curOp.scrollTop)+de)}function Sc(ie){Gu(ie);var de=ie.getCursor();ie.curOp.scrollToPos={from:de,to:de,margin:ie.options.cursorScrollMargin}}function Yc(ie,de,ke){(de!=null||ke!=null)&&Gu(ie),de!=null&&(ie.curOp.scrollLeft=de),ke!=null&&(ie.curOp.scrollTop=ke)}function Jo(ie,de){Gu(ie),ie.curOp.scrollToPos=de}function Gu(ie){var de=ie.curOp.scrollToPos;if(de){ie.curOp.scrollToPos=null;var ke=wd(ie,de.from),Fe=wd(ie,de.to);sf(ie,ke,Fe,de.margin)}}function sf(ie,de,ke,Fe){var Re=Kf(ie,{left:Math.min(de.left,ke.left),top:Math.min(de.top,ke.top)-Fe,right:Math.max(de.right,ke.right),bottom:Math.max(de.bottom,ke.bottom)+Fe});Yc(ie,Re.scrollLeft,Re.scrollTop)}function Jc(ie,de){Math.abs(ie.doc.scrollTop-de)<2||(He||$r(ie,{top:de}),Vf(ie,de,!0),He&&$r(ie),nr(ie,100))}function Vf(ie,de,ke){de=Math.max(0,Math.min(ie.display.scroller.scrollHeight-ie.display.scroller.clientHeight,de)),!(ie.display.scroller.scrollTop==de&&!ke)&&(ie.doc.scrollTop=de,ie.display.scrollbars.setScrollTop(de),ie.display.scroller.scrollTop!=de&&(ie.display.scroller.scrollTop=de))}function Zu(ie,de,ke,Fe){de=Math.max(0,Math.min(de,ie.display.scroller.scrollWidth-ie.display.scroller.clientWidth)),!((ke?de==ie.doc.scrollLeft:Math.abs(ie.doc.scrollLeft-de)<2)&&!Fe)&&(ie.doc.scrollLeft=de,Ki(ie),ie.display.scroller.scrollLeft!=de&&(ie.display.scroller.scrollLeft=de),ie.display.scrollbars.setScrollLeft(de))}function pu(ie){var de=ie.display,ke=de.gutters.offsetWidth,Fe=Math.round(ie.doc.height+Eu(ie.display));return{clientHeight:de.scroller.clientHeight,viewHeight:de.wrapper.clientHeight,scrollWidth:de.scroller.scrollWidth,clientWidth:de.scroller.clientWidth,viewWidth:de.wrapper.clientWidth,barLeft:ie.options.fixedGutter?ke:0,docHeight:Fe,scrollHeight:Fe+Ws(ie)+de.barHeight,nativeBarWidth:de.nativeBarWidth,gutterWidth:ke}}var xc=function(ie,de,ke){this.cm=ke;var Fe=this.vert=Te("div",[Te("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Re=this.horiz=Te("div",[Te("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");Fe.tabIndex=Re.tabIndex=-1,ie(Fe),ie(Re),Wt(Fe,"scroll",function(){Fe.clientHeight&&de(Fe.scrollTop,"vertical")}),Wt(Re,"scroll",function(){Re.clientWidth&&de(Re.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,Ne&&ge<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};xc.prototype.update=function(ie){var de=ie.scrollWidth>ie.clientWidth+1,ke=ie.scrollHeight>ie.clientHeight+1,Fe=ie.nativeBarWidth;if(ke){this.vert.style.display="block",this.vert.style.bottom=de?Fe+"px":"0";var Re=ie.viewHeight-(de?Fe:0);this.vert.firstChild.style.height=Math.max(0,ie.scrollHeight-ie.clientHeight+Re)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(de){this.horiz.style.display="block",this.horiz.style.right=ke?Fe+"px":"0",this.horiz.style.left=ie.barLeft+"px";var st=ie.viewWidth-ie.barLeft-(ke?Fe:0);this.horiz.firstChild.style.width=Math.max(0,ie.scrollWidth-ie.clientWidth+st)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&ie.clientHeight>0&&(Fe==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ke?Fe:0,bottom:de?Fe:0}},xc.prototype.setScrollLeft=function(ie){this.horiz.scrollLeft!=ie&&(this.horiz.scrollLeft=ie),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},xc.prototype.setScrollTop=function(ie){this.vert.scrollTop!=ie&&(this.vert.scrollTop=ie),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},xc.prototype.zeroWidthHack=function(){var ie=ae&&!me?"12px":"18px";this.horiz.style.height=this.vert.style.width=ie,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new at,this.disableVert=new at},xc.prototype.enableZeroWidthBar=function(ie,de,ke){ie.style.pointerEvents="auto";function Fe(){var Re=ie.getBoundingClientRect(),st=ke=="vert"?document.elementFromPoint(Re.right-1,(Re.top+Re.bottom)/2):document.elementFromPoint((Re.right+Re.left)/2,Re.bottom-1);st!=ie?ie.style.pointerEvents="none":de.set(1e3,Fe)}de.set(1e3,Fe)},xc.prototype.clear=function(){var ie=this.horiz.parentNode;ie.removeChild(this.horiz),ie.removeChild(this.vert)};var Au=function(){};Au.prototype.update=function(){return{bottom:0,right:0}},Au.prototype.setScrollLeft=function(){},Au.prototype.setScrollTop=function(){},Au.prototype.clear=function(){};function wc(ie,de){de||(de=pu(ie));var ke=ie.display.barWidth,Fe=ie.display.barHeight;Ad(ie,de);for(var Re=0;Re<4&&ke!=ie.display.barWidth||Fe!=ie.display.barHeight;Re++)ke!=ie.display.barWidth&&ie.options.lineWrapping&&Ui(ie),Ad(ie,pu(ie)),ke=ie.display.barWidth,Fe=ie.display.barHeight}function Ad(ie,de){var ke=ie.display,Fe=ke.scrollbars.update(de);ke.sizer.style.paddingRight=(ke.barWidth=Fe.right)+"px",ke.sizer.style.paddingBottom=(ke.barHeight=Fe.bottom)+"px",ke.heightForcer.style.borderBottom=Fe.bottom+"px solid transparent",Fe.right&&Fe.bottom?(ke.scrollbarFiller.style.display="block",ke.scrollbarFiller.style.height=Fe.bottom+"px",ke.scrollbarFiller.style.width=Fe.right+"px"):ke.scrollbarFiller.style.display="",Fe.bottom&&ie.options.coverGutterNextToScrollbar&&ie.options.fixedGutter?(ke.gutterFiller.style.display="block",ke.gutterFiller.style.height=Fe.bottom+"px",ke.gutterFiller.style.width=de.gutterWidth+"px"):ke.gutterFiller.style.display=""}var lf={native:xc,null:Au};function uf(ie){ie.display.scrollbars&&(ie.display.scrollbars.clear(),ie.display.scrollbars.addClass&&Ie(ie.display.wrapper,ie.display.scrollbars.addClass)),ie.display.scrollbars=new lf[ie.options.scrollbarStyle](function(de){ie.display.wrapper.insertBefore(de,ie.display.scrollbarFiller),Wt(de,"mousedown",function(){ie.state.focused&&setTimeout(function(){return ie.display.input.focus()},0)}),de.setAttribute("cm-not-content","true")},function(de,ke){ke=="horizontal"?Zu(ie,de):Jc(ie,de)},ie),ie.display.scrollbars.addClass&&qe(ie.display.wrapper,ie.display.scrollbars.addClass)}var Xf=0;function fl(ie){ie.curOp={cm:ie,viewChanged:!1,startHeight:ie.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Xf},ws(ie.curOp)}function bc(ie){var de=ie.curOp;de&&ho(de,function(ke){for(var Fe=0;Fe<ke.ops.length;Fe++)ke.ops[Fe].cm.curOp=null;Kp(ke)})}function Kp(ie){for(var de=ie.ops,ke=0;ke<de.length;ke++)It(de[ke]);for(var Fe=0;Fe<de.length;Fe++)zt(de[Fe]);for(var Re=0;Re<de.length;Re++)ln(de[Re]);for(var st=0;st<de.length;st++)un(de[st]);for(var Ct=0;Ct<de.length;Ct++)En(de[Ct])}function It(ie){var de=ie.cm,ke=de.display;jr(de),ie.updateMaxLine&&lo(de),ie.mustUpdate=ie.viewChanged||ie.forceUpdate||ie.scrollTop!=null||ie.scrollToPos&&(ie.scrollToPos.from.line<ke.viewFrom||ie.scrollToPos.to.line>=ke.viewTo)||ke.maxLineChanged&&de.options.lineWrapping,ie.update=ie.mustUpdate&&new or(de,ie.mustUpdate&&{top:ie.scrollTop,ensure:ie.scrollToPos},ie.forceUpdate)}function zt(ie){ie.updatedDisplay=ie.mustUpdate&&ri(ie.cm,ie.update)}function ln(ie){var de=ie.cm,ke=de.display;ie.updatedDisplay&&Ui(de),ie.barMeasure=pu(de),ke.maxLineChanged&&!de.options.lineWrapping&&(ie.adjustWidthTo=Gc(de,ke.maxLine,ke.maxLine.text.length).left+3,de.display.sizerWidth=ie.adjustWidthTo,ie.barMeasure.scrollWidth=Math.max(ke.scroller.clientWidth,ke.sizer.offsetLeft+ie.adjustWidthTo+Ws(de)+de.display.barWidth),ie.maxScrollLeft=Math.max(0,ke.sizer.offsetLeft+ie.adjustWidthTo-dl(de))),(ie.updatedDisplay||ie.selectionChanged)&&(ie.preparedSelection=ke.input.prepareSelection())}function un(ie){var de=ie.cm;ie.adjustWidthTo!=null&&(de.display.sizer.style.minWidth=ie.adjustWidthTo+"px",ie.maxScrollLeft<de.doc.scrollLeft&&Zu(de,Math.min(de.display.scroller.scrollLeft,ie.maxScrollLeft),!0),de.display.maxLineChanged=!1);var ke=ie.focus&&ie.focus==Ue();ie.preparedSelection&&de.display.input.showSelection(ie.preparedSelection,ke),(ie.updatedDisplay||ie.startHeight!=de.doc.height)&&wc(de,ie.barMeasure),ie.updatedDisplay&&Ni(de,ie.barMeasure),ie.selectionChanged&&fa(de),de.state.focused&&ie.updateInput&&de.display.input.reset(ie.typing),ke&&Oa(ie.cm)}function En(ie){var de=ie.cm,ke=de.display,Fe=de.doc;if(ie.updatedDisplay&&Cr(de,ie.update),ke.wheelStartX!=null&&(ie.scrollTop!=null||ie.scrollLeft!=null||ie.scrollToPos)&&(ke.wheelStartX=ke.wheelStartY=null),ie.scrollTop!=null&&Vf(de,ie.scrollTop,ie.forceScroll),ie.scrollLeft!=null&&Zu(de,ie.scrollLeft,!0,!0),ie.scrollToPos){var Re=Zh(de,Fn(Fe,ie.scrollToPos.from),Fn(Fe,ie.scrollToPos.to),ie.scrollToPos.margin);Zf(de,Re)}var st=ie.maybeHiddenMarkers,Ct=ie.maybeUnhiddenMarkers;if(st)for(var Nt=0;Nt<st.length;++Nt)st[Nt].lines.length||Bt(st[Nt],"hide");if(Ct)for(var Ot=0;Ot<Ct.length;++Ot)Ct[Ot].lines.length&&Bt(Ct[Ot],"unhide");ke.wrapper.offsetHeight&&(Fe.scrollTop=de.display.scroller.scrollTop),ie.changeObjs&&Bt(de,"changes",de,ie.changeObjs),ie.update&&ie.update.finish()}function mn(ie,de){if(ie.curOp)return de();fl(ie);try{return de()}finally{bc(ie)}}function Wn(ie,de){return function(){if(ie.curOp)return de.apply(ie,arguments);fl(ie);try{return de.apply(ie,arguments)}finally{bc(ie)}}}function Hn(ie){return function(){if(this.curOp)return ie.apply(this,arguments);fl(this);try{return ie.apply(this,arguments)}finally{bc(this)}}}function In(ie){return function(){var de=this.cm;if(!de||de.curOp)return ie.apply(this,arguments);fl(de);try{return ie.apply(this,arguments)}finally{bc(de)}}}function nr(ie,de){ie.doc.highlightFrontier<ie.display.viewTo&&ie.state.highlight.set(de,ut(lr,ie))}function lr(ie){var de=ie.doc;if(!(de.highlightFrontier>=ie.display.viewTo)){var ke=+new Date+ie.options.workTime,Fe=Nr(ie,de.highlightFrontier),Re=[];de.iter(Fe.line,Math.min(de.first+de.size,ie.display.viewTo+500),function(st){if(Fe.line>=ie.display.viewFrom){var Ct=st.styles,Nt=st.text.length>ie.options.maxHighlightLength?an(de.mode,Fe.state):null,Ot=Tr(ie,st,Fe,!0);Nt&&(Fe.state=Nt),st.styles=Ot.styles;var Jt=st.styleClasses,Pn=Ot.classes;Pn?st.styleClasses=Pn:Jt&&(st.styleClasses=null);for(var qt=!Ct||Ct.length!=st.styles.length||Jt!=Pn&&(!Jt||!Pn||Jt.bgClass!=Pn.bgClass||Jt.textClass!=Pn.textClass),Vn=0;!qt&&Vn<Ct.length;++Vn)qt=Ct[Vn]!=st.styles[Vn];qt&&Re.push(Fe.line),st.stateAfter=Fe.save(),Fe.nextLine()}else st.text.length<=ie.options.maxHighlightLength&&wn(ie,st.text,Fe),st.stateAfter=Fe.line%5==0?Fe.save():null,Fe.nextLine();if(+new Date>ke)return nr(ie,ie.options.workDelay),!0}),de.highlightFrontier=Fe.line,de.modeFrontier=Math.max(de.modeFrontier,Fe.line),Re.length&&mn(ie,function(){for(var st=0;st<Re.length;st++)Mo(ie,Re[st],"text")})}}var or=function(ie,de,ke){var Fe=ie.display;this.viewport=de,this.visible=Wo(Fe,ie.doc,de),this.editorIsHidden=!Fe.wrapper.offsetWidth,this.wrapperHeight=Fe.wrapper.clientHeight,this.wrapperWidth=Fe.wrapper.clientWidth,this.oldDisplayWidth=dl(ie),this.force=ke,this.dims=Pd(ie),this.events=[]};or.prototype.signal=function(ie,de){on(ie,de)&&this.events.push(arguments)},or.prototype.finish=function(){for(var ie=0;ie<this.events.length;ie++)Bt.apply(null,this.events[ie])};function jr(ie){var de=ie.display;!de.scrollbarsClipped&&de.scroller.offsetWidth&&(de.nativeBarWidth=de.scroller.offsetWidth-de.scroller.clientWidth,de.heightForcer.style.height=Ws(ie)+"px",de.sizer.style.marginBottom=-de.nativeBarWidth+"px",de.sizer.style.borderRightWidth=Ws(ie)+"px",de.scrollbarsClipped=!0)}function Fr(ie){if(ie.hasFocus())return null;var de=Ue();if(!de||!$e(ie.display.lineDiv,de))return null;var ke={activeElt:de};if(window.getSelection){var Fe=window.getSelection();Fe.anchorNode&&Fe.extend&&$e(ie.display.lineDiv,Fe.anchorNode)&&(ke.anchorNode=Fe.anchorNode,ke.anchorOffset=Fe.anchorOffset,ke.focusNode=Fe.focusNode,ke.focusOffset=Fe.focusOffset)}return ke}function Sr(ie){if(!(!ie||!ie.activeElt||ie.activeElt==Ue())&&(ie.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(ie.activeElt.nodeName)&&ie.anchorNode&&$e(document.body,ie.anchorNode)&&$e(document.body,ie.focusNode))){var de=window.getSelection(),ke=document.createRange();ke.setEnd(ie.anchorNode,ie.anchorOffset),ke.collapse(!1),de.removeAllRanges(),de.addRange(ke),de.extend(ie.focusNode,ie.focusOffset)}}function ri(ie,de){var ke=ie.display,Fe=ie.doc;if(de.editorIsHidden)return ss(ie),!1;if(!de.force&&de.visible.from>=ke.viewFrom&&de.visible.to<=ke.viewTo&&(ke.updateLineNumbers==null||ke.updateLineNumbers>=ke.viewTo)&&ke.renderedView==ke.view&&zl(ie)==0)return!1;oi(ie)&&(ss(ie),de.dims=Pd(ie));var Re=Fe.first+Fe.size,st=Math.max(de.visible.from-ie.options.viewportMargin,Fe.first),Ct=Math.min(Re,de.visible.to+ie.options.viewportMargin);ke.viewFrom<st&&st-ke.viewFrom<20&&(st=Math.max(Fe.first,ke.viewFrom)),ke.viewTo>Ct&&ke.viewTo-Ct<20&&(Ct=Math.min(Re,ke.viewTo)),Dn&&(st=Vr(ie.doc,st),Ct=Xr(ie.doc,Ct));var Nt=st!=ke.viewFrom||Ct!=ke.viewTo||ke.lastWrapHeight!=de.wrapperHeight||ke.lastWrapWidth!=de.wrapperWidth;ma(ie,st,Ct),ke.viewOffset=qi(cn(ie.doc,ke.viewFrom)),ie.display.mover.style.top=ke.viewOffset+"px";var Ot=zl(ie);if(!Nt&&Ot==0&&!de.force&&ke.renderedView==ke.view&&(ke.updateLineNumbers==null||ke.updateLineNumbers>=ke.viewTo))return!1;var Jt=Fr(ie);return Ot>4&&(ke.lineDiv.style.display="none"),Jr(ie,ke.updateLineNumbers,de.dims),Ot>4&&(ke.lineDiv.style.display=""),ke.renderedView=ke.view,Sr(Jt),Me(ke.cursorDiv),Me(ke.selectionDiv),ke.gutters.style.height=ke.sizer.style.minHeight=0,Nt&&(ke.lastWrapHeight=de.wrapperHeight,ke.lastWrapWidth=de.wrapperWidth,nr(ie,400)),ke.updateLineNumbers=null,!0}function Cr(ie,de){for(var ke=de.viewport,Fe=!0;;Fe=!1){if(!Fe||!ie.options.lineWrapping||de.oldDisplayWidth==dl(ie)){if(ke&&ke.top!=null&&(ke={top:Math.min(ie.doc.height+Eu(ie.display)-Hc(ie),ke.top)}),de.visible=Wo(ie.display,ie.doc,ke),de.visible.from>=ie.display.viewFrom&&de.visible.to<=ie.display.viewTo)break}else Fe&&(de.visible=Wo(ie.display,ie.doc,ke));if(!ri(ie,de))break;Ui(ie);var Re=pu(ie);bs(ie),wc(ie,Re),Ni(ie,Re),de.force=!1}de.signal(ie,"update",ie),(ie.display.viewFrom!=ie.display.reportedViewFrom||ie.display.viewTo!=ie.display.reportedViewTo)&&(de.signal(ie,"viewportChange",ie,ie.display.viewFrom,ie.display.viewTo),ie.display.reportedViewFrom=ie.display.viewFrom,ie.display.reportedViewTo=ie.display.viewTo)}function $r(ie,de){var ke=new or(ie,de);if(ri(ie,ke)){Ui(ie),Cr(ie,ke);var Fe=pu(ie);bs(ie),wc(ie,Fe),Ni(ie,Fe),ke.finish()}}function Jr(ie,de,ke){var Fe=ie.display,Re=ie.options.lineNumbers,st=Fe.lineDiv,Ct=st.firstChild;function Nt(yr){var Pr=yr.nextSibling;return ce&&ae&&ie.display.currentWheelTarget==yr?yr.style.display="none":yr.parentNode.removeChild(yr),Pr}for(var Ot=Fe.view,Jt=Fe.viewFrom,Pn=0;Pn<Ot.length;Pn++){var qt=Ot[Pn];if(!qt.hidden)if(!qt.node||qt.node.parentNode!=st){var Vn=Bl(ie,qt,Jt,ke);st.insertBefore(Vn,Ct)}else{for(;Ct!=qt.node;)Ct=Nt(Ct);var Rn=Re&&de!=null&&de<=Jt&&qt.lineNumber;qt.changes&&(dt(qt.changes,"gutter")>-1&&(Rn=!1),Wa(ie,qt,Jt,ke)),Rn&&(Me(qt.lineNumber),qt.lineNumber.appendChild(document.createTextNode(ir(ie.options,Jt)))),Ct=qt.node.nextSibling}Jt+=qt.size}for(;Ct;)Ct=Nt(Ct)}function fi(ie){var de=ie.gutters.offsetWidth;ie.sizer.style.marginLeft=de+"px"}function Ni(ie,de){ie.display.sizer.style.minHeight=de.docHeight+"px",ie.display.heightForcer.style.top=de.docHeight+"px",ie.display.gutters.style.height=de.docHeight+ie.display.barHeight+Ws(ie)+"px"}function Ki(ie){var de=ie.display,ke=de.view;if(!(!de.alignWidgets&&(!de.gutters.firstChild||!ie.options.fixedGutter))){for(var Fe=ph(de)-de.scroller.scrollLeft+ie.doc.scrollLeft,Re=de.gutters.offsetWidth,st=Fe+"px",Ct=0;Ct<ke.length;Ct++)if(!ke[Ct].hidden){ie.options.fixedGutter&&(ke[Ct].gutter&&(ke[Ct].gutter.style.left=st),ke[Ct].gutterBackground&&(ke[Ct].gutterBackground.style.left=st));var Nt=ke[Ct].alignable;if(Nt)for(var Ot=0;Ot<Nt.length;Ot++)Nt[Ot].style.left=st}ie.options.fixedGutter&&(de.gutters.style.left=Fe+Re+"px")}}function oi(ie){if(!ie.options.lineNumbers)return!1;var de=ie.doc,ke=ir(ie.options,de.first+de.size-1),Fe=ie.display;if(ke.length!=Fe.lineNumChars){var Re=Fe.measure.appendChild(Te("div",[Te("div",ke)],"CodeMirror-linenumber CodeMirror-gutter-elt")),st=Re.firstChild.offsetWidth,Ct=Re.offsetWidth-st;return Fe.lineGutter.style.width="",Fe.lineNumInnerWidth=Math.max(st,Fe.lineGutter.offsetWidth-Ct)+1,Fe.lineNumWidth=Fe.lineNumInnerWidth+Ct,Fe.lineNumChars=Fe.lineNumInnerWidth?ke.length:-1,Fe.lineGutter.style.width=Fe.lineNumWidth+"px",fi(ie.display),!0}return!1}function Di(ie,de){for(var ke=[],Fe=!1,Re=0;Re<ie.length;Re++){var st=ie[Re],Ct=null;if(typeof st!="string"&&(Ct=st.style,st=st.className),st=="CodeMirror-linenumbers")if(de)Fe=!0;else continue;ke.push({className:st,style:Ct})}return de&&!Fe&&ke.push({className:"CodeMirror-linenumbers",style:null}),ke}function mo(ie){var de=ie.gutters,ke=ie.gutterSpecs;Me(de),ie.lineGutter=null;for(var Fe=0;Fe<ke.length;++Fe){var Re=ke[Fe],st=Re.className,Ct=Re.style,Nt=de.appendChild(Te("div",null,"CodeMirror-gutter "+st));Ct&&(Nt.style.cssText=Ct),st=="CodeMirror-linenumbers"&&(ie.lineGutter=Nt,Nt.style.width=(ie.lineNumWidth||1)+"px")}de.style.display=ke.length?"":"none",fi(ie)}function ci(ie){mo(ie.display),xa(ie),Ki(ie)}function Ai(ie,de,ke,Fe){var Re=this;this.input=ke,Re.scrollbarFiller=Te("div",null,"CodeMirror-scrollbar-filler"),Re.scrollbarFiller.setAttribute("cm-not-content","true"),Re.gutterFiller=Te("div",null,"CodeMirror-gutter-filler"),Re.gutterFiller.setAttribute("cm-not-content","true"),Re.lineDiv=je("div",null,"CodeMirror-code"),Re.selectionDiv=Te("div",null,null,"position: relative; z-index: 1"),Re.cursorDiv=Te("div",null,"CodeMirror-cursors"),Re.measure=Te("div",null,"CodeMirror-measure"),Re.lineMeasure=Te("div",null,"CodeMirror-measure"),Re.lineSpace=je("div",[Re.measure,Re.lineMeasure,Re.selectionDiv,Re.cursorDiv,Re.lineDiv],null,"position: relative; outline: none");var st=je("div",[Re.lineSpace],"CodeMirror-lines");Re.mover=Te("div",[st],null,"position: relative"),Re.sizer=Te("div",[Re.mover],"CodeMirror-sizer"),Re.sizerWidth=null,Re.heightForcer=Te("div",null,null,"position: absolute; height: "+St+"px; width: 1px;"),Re.gutters=Te("div",null,"CodeMirror-gutters"),Re.lineGutter=null,Re.scroller=Te("div",[Re.sizer,Re.heightForcer,Re.gutters],"CodeMirror-scroll"),Re.scroller.setAttribute("tabIndex","-1"),Re.wrapper=Te("div",[Re.scrollbarFiller,Re.gutterFiller,Re.scroller],"CodeMirror"),Ne&&ge<8&&(Re.gutters.style.zIndex=-1,Re.scroller.style.paddingRight=0),!ce&&!(He&&ee)&&(Re.scroller.draggable=!0),ie&&(ie.appendChild?ie.appendChild(Re.wrapper):ie(Re.wrapper)),Re.viewFrom=Re.viewTo=de.first,Re.reportedViewFrom=Re.reportedViewTo=de.first,Re.view=[],Re.renderedView=null,Re.externalMeasured=null,Re.viewOffset=0,Re.lastWrapHeight=Re.lastWrapWidth=0,Re.updateLineNumbers=null,Re.nativeBarWidth=Re.barHeight=Re.barWidth=0,Re.scrollbarsClipped=!1,Re.lineNumWidth=Re.lineNumInnerWidth=Re.lineNumChars=null,Re.alignWidgets=!1,Re.cachedCharWidth=Re.cachedTextHeight=Re.cachedPaddingH=null,Re.maxLine=null,Re.maxLineLength=0,Re.maxLineChanged=!1,Re.wheelDX=Re.wheelDY=Re.wheelStartX=Re.wheelStartY=null,Re.shift=!1,Re.selForContextMenu=null,Re.activeTouch=null,Re.gutterSpecs=Di(Fe.gutters,Fe.lineNumbers),mo(Re),ke.init(Re)}var ui=0,Zr=null;Ne?Zr=-.53:He?Zr=15:Ae?Zr=-.7:De&&(Zr=-1/3);function yi(ie){var de=ie.wheelDeltaX,ke=ie.wheelDeltaY;return de==null&&ie.detail&&ie.axis==ie.HORIZONTAL_AXIS&&(de=ie.detail),ke==null&&ie.detail&&ie.axis==ie.VERTICAL_AXIS?ke=ie.detail:ke==null&&(ke=ie.wheelDelta),{x:de,y:ke}}function Wi(ie){var de=yi(ie);return de.x*=Zr,de.y*=Zr,de}function $i(ie,de){var ke=yi(de),Fe=ke.x,Re=ke.y,st=ie.display,Ct=st.scroller,Nt=Ct.scrollWidth>Ct.clientWidth,Ot=Ct.scrollHeight>Ct.clientHeight;if(Fe&&Nt||Re&&Ot){if(Re&&ae&&ce){e:for(var Jt=de.target,Pn=st.view;Jt!=Ct;Jt=Jt.parentNode)for(var qt=0;qt<Pn.length;qt++)if(Pn[qt].node==Jt){ie.display.currentWheelTarget=Jt;break e}}if(Fe&&!He&&!ye&&Zr!=null){Re&&Ot&&Jc(ie,Math.max(0,Ct.scrollTop+Re*Zr)),Zu(ie,Math.max(0,Ct.scrollLeft+Fe*Zr)),(!Re||Re&&Ot)&&zn(de),st.wheelStartX=null;return}if(Re&&Zr!=null){var Vn=Re*Zr,Rn=ie.doc.scrollTop,yr=Rn+st.wrapper.clientHeight;Vn<0?Rn=Math.max(0,Rn+Vn-50):yr=Math.min(ie.doc.height,yr+Vn+50),$r(ie,{top:Rn,bottom:yr})}ui<20&&(st.wheelStartX==null?(st.wheelStartX=Ct.scrollLeft,st.wheelStartY=Ct.scrollTop,st.wheelDX=Fe,st.wheelDY=Re,setTimeout(function(){if(st.wheelStartX!=null){var Pr=Ct.scrollLeft-st.wheelStartX,Hr=Ct.scrollTop-st.wheelStartY,si=Hr&&st.wheelDY&&Hr/st.wheelDY||Pr&&st.wheelDX&&Pr/st.wheelDX;st.wheelStartX=st.wheelStartY=null,si&&(Zr=(Zr*ui+si)/(ui+1),++ui)}},200)):(st.wheelDX+=Fe,st.wheelDY+=Re))}}var to=function(ie,de){this.ranges=ie,this.primIndex=de};to.prototype.primary=function(){return this.ranges[this.primIndex]},to.prototype.equals=function(ie){if(ie==this)return!0;if(ie.primIndex!=this.primIndex||ie.ranges.length!=this.ranges.length)return!1;for(var de=0;de<this.ranges.length;de++){var ke=this.ranges[de],Fe=ie.ranges[de];if(!rn(ke.anchor,Fe.anchor)||!rn(ke.head,Fe.head))return!1}return!0},to.prototype.deepCopy=function(){for(var ie=[],de=0;de<this.ranges.length;de++)ie[de]=new ai(Sn(this.ranges[de].anchor),Sn(this.ranges[de].head));return new to(ie,this.primIndex)},to.prototype.somethingSelected=function(){for(var ie=0;ie<this.ranges.length;ie++)if(!this.ranges[ie].empty())return!0;return!1},to.prototype.contains=function(ie,de){de||(de=ie);for(var ke=0;ke<this.ranges.length;ke++){var Fe=this.ranges[ke];if(Cn(de,Fe.from())>=0&&Cn(ie,Fe.to())<=0)return ke}return-1};var ai=function(ie,de){this.anchor=ie,this.head=de};ai.prototype.from=function(){return yn(this.anchor,this.head)},ai.prototype.to=function(){return vn(this.anchor,this.head)},ai.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function yo(ie,de,ke){var Fe=ie&&ie.options.selectionsMayTouch,Re=de[ke];de.sort(function(Vn,Rn){return Cn(Vn.from(),Rn.from())}),ke=dt(de,Re);for(var st=1;st<de.length;st++){var Ct=de[st],Nt=de[st-1],Ot=Cn(Nt.to(),Ct.from());if(Fe&&!Ct.empty()?Ot>0:Ot>=0){var Jt=yn(Nt.from(),Ct.from()),Pn=vn(Nt.to(),Ct.to()),qt=Nt.empty()?Ct.from()==Ct.head:Nt.from()==Nt.head;st<=ke&&--ke,de.splice(--st,2,new ai(qt?Pn:Jt,qt?Jt:Pn))}}return new to(de,ke)}function Co(ie,de){return new to([new ai(ie,de||ie)],0)}function qo(ie){return ie.text?sn(ie.from.line+ie.text.length-1,wt(ie.text).length+(ie.text.length==1?ie.from.ch:0)):ie.to}function Io(ie,de){if(Cn(ie,de.from)<0)return ie;if(Cn(ie,de.to)<=0)return qo(de);var ke=ie.line+de.text.length-(de.to.line-de.from.line)-1,Fe=ie.ch;return ie.line==de.to.line&&(Fe+=qo(de).ch-de.to.ch),sn(ke,Fe)}function ka(ie,de){for(var ke=[],Fe=0;Fe<ie.sel.ranges.length;Fe++){var Re=ie.sel.ranges[Fe];ke.push(new ai(Io(Re.anchor,de),Io(Re.head,de)))}return yo(ie.cm,ke,ie.sel.primIndex)}function Ta(ie,de,ke){return ie.line==de.line?sn(ke.line,ie.ch-de.ch+ke.ch):sn(ke.line+(ie.line-de.line),ie.ch)}function xo(ie,de,ke){for(var Fe=[],Re=sn(ie.first,0),st=Re,Ct=0;Ct<de.length;Ct++){var Nt=de[Ct],Ot=Ta(Nt.from,Re,st),Jt=Ta(qo(Nt),Re,st);if(Re=Nt.to,st=Jt,ke=="around"){var Pn=ie.sel.ranges[Ct],qt=Cn(Pn.head,Pn.anchor)<0;Fe[Ct]=new ai(qt?Jt:Ot,qt?Ot:Jt)}else Fe[Ct]=new ai(Ot,Ot)}return new to(Fe,ie.sel.primIndex)}function Gi(ie){ie.doc.mode=Qt(ie.options,ie.doc.modeOption),Xo(ie)}function Xo(ie){ie.doc.iter(function(de){de.stateAfter&&(de.stateAfter=null),de.styles&&(de.styles=null)}),ie.doc.modeFrontier=ie.doc.highlightFrontier=ie.doc.first,nr(ie,100),ie.state.modeGen++,ie.curOp&&xa(ie)}function Na(ie,de){return de.from.ch==0&&de.to.ch==0&&wt(de.text)==""&&(!ie.cm||ie.cm.options.wholeLineUpdateBefore)}function wa(ie,de,ke,Fe){function Re(Ti){return ke?ke[Ti]:null}function st(Ti,Si,Hi){Do(Ti,Si,Hi,Fe),Or(Ti,"change",Ti,de)}function Ct(Ti,Si){for(var Hi=[],So=Ti;So<Si;++So)Hi.push(new Qi(Jt[So],Re(So),Fe));return Hi}var Nt=de.from,Ot=de.to,Jt=de.text,Pn=cn(ie,Nt.line),qt=cn(ie,Ot.line),Vn=wt(Jt),Rn=Re(Jt.length-1),yr=Ot.line-Nt.line;if(de.full)ie.insert(0,Ct(0,Jt.length)),ie.remove(Jt.length,ie.size-Jt.length);else if(Na(ie,de)){var Pr=Ct(0,Jt.length-1);st(qt,qt.text,Rn),yr&&ie.remove(Nt.line,yr),Pr.length&&ie.insert(Nt.line,Pr)}else if(Pn==qt)if(Jt.length==1)st(Pn,Pn.text.slice(0,Nt.ch)+Vn+Pn.text.slice(Ot.ch),Rn);else{var Hr=Ct(1,Jt.length-1);Hr.push(new Qi(Vn+Pn.text.slice(Ot.ch),Rn,Fe)),st(Pn,Pn.text.slice(0,Nt.ch)+Jt[0],Re(0)),ie.insert(Nt.line+1,Hr)}else if(Jt.length==1)st(Pn,Pn.text.slice(0,Nt.ch)+Jt[0]+qt.text.slice(Ot.ch),Re(0)),ie.remove(Nt.line+1,yr);else{st(Pn,Pn.text.slice(0,Nt.ch)+Jt[0],Re(0)),st(qt,Vn+qt.text.slice(Ot.ch),Rn);var si=Ct(1,Jt.length-1);yr>1&&ie.remove(Nt.line+1,yr-1),ie.insert(Nt.line+1,si)}Or(ie,"change",ie,de)}function is(ie,de,ke){function Fe(Re,st,Ct){if(Re.linked)for(var Nt=0;Nt<Re.linked.length;++Nt){var Ot=Re.linked[Nt];if(Ot.doc!=st){var Jt=Ct&&Ot.sharedHist;ke&&!Jt||(de(Ot.doc,Jt),Fe(Ot.doc,Re,Jt))}}}Fe(ie,null,!0)}function no(ie,de){if(de.cm)throw new Error("This document is already in use.");ie.doc=de,de.cm=ie,Zi(ie),Gi(ie),Yi(ie),ie.options.lineWrapping||lo(ie),ie.options.mode=de.modeOption,xa(ie)}function Yi(ie){(ie.doc.direction=="rtl"?qe:Ie)(ie.display.lineDiv,"CodeMirror-rtl")}function ro(ie){mn(ie,function(){Yi(ie),xa(ie)})}function Bi(ie){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=ie||1}function Qo(ie,de){var ke={from:Sn(de.from),to:qo(de),text:bn(ie,de.from,de.to)};return Us(ie,ke,de.from.line,de.to.line+1),is(ie,function(Fe){return Us(Fe,ke,de.from.line,de.to.line+1)},!0),ke}function Ii(ie){for(;ie.length;){var de=wt(ie);if(de.ranges)ie.pop();else break}}function vo(ie,de){if(de)return Ii(ie.done),wt(ie.done);if(ie.done.length&&!wt(ie.done).ranges)return wt(ie.done);if(ie.done.length>1&&!ie.done[ie.done.length-2].ranges)return ie.done.pop(),wt(ie.done)}function Ho(ie,de,ke,Fe){var Re=ie.history;Re.undone.length=0;var st=+new Date,Ct,Nt;if((Re.lastOp==Fe||Re.lastOrigin==de.origin&&de.origin&&(de.origin.charAt(0)=="+"&&Re.lastModTime>st-(ie.cm?ie.cm.options.historyEventDelay:500)||de.origin.charAt(0)=="*"))&&(Ct=vo(Re,Re.lastOp==Fe)))Nt=wt(Ct.changes),Cn(de.from,de.to)==0&&Cn(de.from,Nt.to)==0?Nt.to=qo(de):Ct.changes.push(Qo(ie,de));else{var Ot=wt(Re.done);for((!Ot||!Ot.ranges)&&ls(ie.sel,Re.done),Ct={changes:[Qo(ie,de)],generation:Re.generation},Re.done.push(Ct);Re.done.length>Re.undoDepth;)Re.done.shift(),Re.done[0].ranges||Re.done.shift()}Re.done.push(ke),Re.generation=++Re.maxGeneration,Re.lastModTime=Re.lastSelTime=st,Re.lastOp=Re.lastSelOp=Fe,Re.lastOrigin=Re.lastSelOrigin=de.origin,Nt||Bt(ie,"historyAdded")}function Uo(ie,de,ke,Fe){var Re=de.charAt(0);return Re=="*"||Re=="+"&&ke.ranges.length==Fe.ranges.length&&ke.somethingSelected()==Fe.somethingSelected()&&new Date-ie.history.lastSelTime<=(ie.cm?ie.cm.options.historyEventDelay:500)}function Cs(ie,de,ke,Fe){var Re=ie.history,st=Fe&&Fe.origin;ke==Re.lastSelOp||st&&Re.lastSelOrigin==st&&(Re.lastModTime==Re.lastSelTime&&Re.lastOrigin==st||Uo(ie,st,wt(Re.done),de))?Re.done[Re.done.length-1]=de:ls(de,Re.done),Re.lastSelTime=+new Date,Re.lastSelOrigin=st,Re.lastSelOp=ke,Fe&&Fe.clearRedo!==!1&&Ii(Re.undone)}function ls(ie,de){var ke=wt(de);ke&&ke.ranges&&ke.equals(ie)||de.push(ie)}function Us(ie,de,ke,Fe){var Re=de["spans_"+ie.id],st=0;ie.iter(Math.max(ie.first,ke),Math.min(ie.first+ie.size,Fe),function(Ct){Ct.markedSpans&&((Re||(Re=de["spans_"+ie.id]={}))[st]=Ct.markedSpans),++st})}function ea(ie){if(!ie)return null;for(var de,ke=0;ke<ie.length;++ke)ie[ke].marker.explicitlyCleared?de||(de=ie.slice(0,ke)):de&&de.push(ie[ke]);return de?de.length?de:null:ie}function Ps(ie,de){var ke=de["spans_"+ie.id];if(!ke)return null;for(var Fe=[],Re=0;Re<de.text.length;++Re)Fe.push(ea(ke[Re]));return Fe}function ts(ie,de){var ke=Ps(ie,de),Fe=zr(ie,de);if(!ke)return Fe;if(!Fe)return ke;for(var Re=0;Re<ke.length;++Re){var st=ke[Re],Ct=Fe[Re];if(st&&Ct)e:for(var Nt=0;Nt<Ct.length;++Nt){for(var Ot=Ct[Nt],Jt=0;Jt<st.length;++Jt)if(st[Jt].marker==Ot.marker)continue e;st.push(Ot)}else Ct&&(ke[Re]=Ct)}return ke}function ps(ie,de,ke){for(var Fe=[],Re=0;Re<ie.length;++Re){var st=ie[Re];if(st.ranges){Fe.push(ke?to.prototype.deepCopy.call(st):st);continue}var Ct=st.changes,Nt=[];Fe.push({changes:Nt});for(var Ot=0;Ot<Ct.length;++Ot){var Jt=Ct[Ot],Pn=void 0;if(Nt.push({from:Jt.from,to:Jt.to,text:Jt.text}),de)for(var qt in Jt)(Pn=qt.match(/^spans_(\d+)$/))&&dt(de,Number(Pn[1]))>-1&&(wt(Nt)[qt]=Jt[qt],delete Jt[qt])}}return Fe}function Ku(ie,de,ke,Fe){if(Fe){var Re=ie.anchor;if(ke){var st=Cn(de,Re)<0;st!=Cn(ke,Re)<0?(Re=de,de=ke):st!=Cn(de,ke)<0&&(de=ke)}return new ai(Re,de)}else return new ai(ke||de,de)}function ta(ie,de,ke,Fe,Re){Re==null&&(Re=ie.cm&&(ie.cm.display.shift||ie.extend)),va(ie,new to([Ku(ie.sel.primary(),de,ke,Re)],0),Fe)}function aa(ie,de,ke){for(var Fe=[],Re=ie.cm&&(ie.cm.display.shift||ie.extend),st=0;st<ie.sel.ranges.length;st++)Fe[st]=Ku(ie.sel.ranges[st],de[st],null,Re);var Ct=yo(ie.cm,Fe,ie.sel.primIndex);va(ie,Ct,ke)}function pa(ie,de,ke,Fe){var Re=ie.sel.ranges.slice(0);Re[de]=ke,va(ie,yo(ie.cm,Re,ie.sel.primIndex),Fe)}function Qa(ie,de,ke,Fe){va(ie,Co(de,ke),Fe)}function gs(ie,de,ke){var Fe={ranges:de.ranges,update:function(Re){this.ranges=[];for(var st=0;st<Re.length;st++)this.ranges[st]=new ai(Fn(ie,Re[st].anchor),Fn(ie,Re[st].head))},origin:ke&&ke.origin};return Bt(ie,"beforeSelectionChange",ie,Fe),ie.cm&&Bt(ie.cm,"beforeSelectionChange",ie.cm,Fe),Fe.ranges!=de.ranges?yo(ie.cm,Fe.ranges,Fe.ranges.length-1):de}function ko(ie,de,ke){var Fe=ie.history.done,Re=wt(Fe);Re&&Re.ranges?(Fe[Fe.length-1]=de,ms(ie,de,ke)):va(ie,de,ke)}function va(ie,de,ke){ms(ie,de,ke),Cs(ie,ie.sel,ie.cm?ie.cm.curOp.id:NaN,ke)}function ms(ie,de,ke){(on(ie,"beforeSelectionChange")||ie.cm&&on(ie.cm,"beforeSelectionChange"))&&(de=gs(ie,de,ke));var Fe=ke&&ke.bias||(Cn(de.primary().head,ie.sel.primary().head)<0?-1:1);pl(ie,El(ie,de,Fe,!0)),!(ke&&ke.scroll===!1)&&ie.cm&&Sc(ie.cm)}function pl(ie,de){de.equals(ie.sel)||(ie.sel=de,ie.cm&&(ie.cm.curOp.updateInput=1,ie.cm.curOp.selectionChanged=!0,en(ie.cm)),Or(ie,"cursorActivity",ie))}function Wl(ie){pl(ie,El(ie,ie.sel,null,!1))}function El(ie,de,ke,Fe){for(var Re,st=0;st<de.ranges.length;st++){var Ct=de.ranges[st],Nt=de.ranges.length==ie.sel.ranges.length&&ie.sel.ranges[st],Ot=eu(ie,Ct.anchor,Nt&&Nt.anchor,ke,Fe),Jt=eu(ie,Ct.head,Nt&&Nt.head,ke,Fe);(Re||Ot!=Ct.anchor||Jt!=Ct.head)&&(Re||(Re=de.ranges.slice(0,st)),Re[st]=new ai(Ot,Jt))}return Re?yo(ie.cm,Re,de.primIndex):de}function ql(ie,de,ke,Fe,Re){var st=cn(ie,de.line);if(st.markedSpans)for(var Ct=0;Ct<st.markedSpans.length;++Ct){var Nt=st.markedSpans[Ct],Ot=Nt.marker,Jt="selectLeft"in Ot?!Ot.selectLeft:Ot.inclusiveLeft,Pn="selectRight"in Ot?!Ot.selectRight:Ot.inclusiveRight;if((Nt.from==null||(Jt?Nt.from<=de.ch:Nt.from<de.ch))&&(Nt.to==null||(Pn?Nt.to>=de.ch:Nt.to>de.ch))){if(Re&&(Bt(Ot,"beforeCursorEnter"),Ot.explicitlyCleared))if(st.markedSpans){--Ct;continue}else break;if(!Ot.atomic)continue;if(ke){var qt=Ot.find(Fe<0?1:-1),Vn=void 0;if((Fe<0?Pn:Jt)&&(qt=Hl(ie,qt,-Fe,qt&&qt.line==de.line?st:null)),qt&&qt.line==de.line&&(Vn=Cn(qt,ke))&&(Fe<0?Vn<0:Vn>0))return ql(ie,qt,de,Fe,Re)}var Rn=Ot.find(Fe<0?-1:1);return(Fe<0?Jt:Pn)&&(Rn=Hl(ie,Rn,Fe,Rn.line==de.line?st:null)),Rn?ql(ie,Rn,de,Fe,Re):null}}return de}function eu(ie,de,ke,Fe,Re){var st=Fe||1,Ct=ql(ie,de,ke,st,Re)||!Re&&ql(ie,de,ke,st,!0)||ql(ie,de,ke,-st,Re)||!Re&&ql(ie,de,ke,-st,!0);return Ct||(ie.cantEdit=!0,sn(ie.first,0))}function Hl(ie,de,ke,Fe){return ke<0&&de.ch==0?de.line>ie.first?Fn(ie,sn(de.line-1)):null:ke>0&&de.ch==(Fe||cn(ie,de.line)).text.length?de.line<ie.first+ie.size-1?sn(de.line+1,0):null:new sn(de.line,de.ch+ke)}function ra(ie){ie.setSelection(sn(ie.firstLine(),0),sn(ie.lastLine()),ft)}function Ms(ie,de,ke){var Fe={canceled:!1,from:de.from,to:de.to,text:de.text,origin:de.origin,cancel:function(){return Fe.canceled=!0}};return ke&&(Fe.update=function(Re,st,Ct,Nt){Re&&(Fe.from=Fn(ie,Re)),st&&(Fe.to=Fn(ie,st)),Ct&&(Fe.text=Ct),Nt!==void 0&&(Fe.origin=Nt)}),Bt(ie,"beforeChange",ie,Fe),ie.cm&&Bt(ie.cm,"beforeChange",ie.cm,Fe),Fe.canceled?(ie.cm&&(ie.cm.curOp.updateInput=2),null):{from:Fe.from,to:Fe.to,text:Fe.text,origin:Fe.origin}}function Za(ie,de,ke){if(ie.cm){if(!ie.cm.curOp)return Wn(ie.cm,Za)(ie,de,ke);if(ie.cm.state.suppressEdits)return}if(!((on(ie,"beforeChange")||ie.cm&&on(ie.cm,"beforeChange"))&&(de=Ms(ie,de,!0),!de))){var Fe=Kr&&!ke&&ki(ie,de.from,de.to);if(Fe)for(var Re=Fe.length-1;Re>=0;--Re)ya(ie,{from:Fe[Re].from,to:Fe[Re].to,text:Re?[""]:de.text,origin:de.origin});else ya(ie,de)}}function ya(ie,de){if(!(de.text.length==1&&de.text[0]==""&&Cn(de.from,de.to)==0)){var ke=ka(ie,de);Ho(ie,de,ke,ie.cm?ie.cm.curOp.id:NaN),tu(ie,de,ke,zr(ie,de));var Fe=[];is(ie,function(Re,st){!st&&dt(Fe,Re.history)==-1&&(ba(Re.history,de),Fe.push(Re.history)),tu(Re,de,null,zr(Re,de))})}}function Ul(ie,de,ke){var Fe=ie.cm&&ie.cm.state.suppressEdits;if(!(Fe&&!ke)){for(var Re=ie.history,st,Ct=ie.sel,Nt=de=="undo"?Re.done:Re.undone,Ot=de=="undo"?Re.undone:Re.done,Jt=0;Jt<Nt.length&&(st=Nt[Jt],!(ke?st.ranges&&!st.equals(ie.sel):!st.ranges));Jt++);if(Jt!=Nt.length){for(Re.lastOrigin=Re.lastSelOrigin=null;;)if(st=Nt.pop(),st.ranges){if(ls(st,Ot),ke&&!st.equals(ie.sel)){va(ie,st,{clearRedo:!1});return}Ct=st}else if(Fe){Nt.push(st);return}else break;var Pn=[];ls(Ct,Ot),Ot.push({changes:Pn,generation:Re.generation}),Re.generation=st.generation||++Re.maxGeneration;for(var qt=on(ie,"beforeChange")||ie.cm&&on(ie.cm,"beforeChange"),Vn=function(Pr){var Hr=st.changes[Pr];if(Hr.origin=de,qt&&!Ms(ie,Hr,!1))return Nt.length=0,{};Pn.push(Qo(ie,Hr));var si=Pr?ka(ie,Hr):wt(Nt);tu(ie,Hr,si,ts(ie,Hr)),!Pr&&ie.cm&&ie.cm.scrollIntoView({from:Hr.from,to:qo(Hr)});var Ti=[];is(ie,function(Si,Hi){!Hi&&dt(Ti,Si.history)==-1&&(ba(Si.history,Hr),Ti.push(Si.history)),tu(Si,Hr,null,ts(Si,Hr))})},Rn=st.changes.length-1;Rn>=0;--Rn){var yr=Vn(Rn);if(yr)return yr.v}}}}function oc(ie,de){if(de!=0&&(ie.first+=de,ie.sel=new to(bt(ie.sel.ranges,function(Re){return new ai(sn(Re.anchor.line+de,Re.anchor.ch),sn(Re.head.line+de,Re.head.ch))}),ie.sel.primIndex),ie.cm)){xa(ie.cm,ie.first,ie.first-de,de);for(var ke=ie.cm.display,Fe=ke.viewFrom;Fe<ke.viewTo;Fe++)Mo(ie.cm,Fe,"gutter")}}function tu(ie,de,ke,Fe){if(ie.cm&&!ie.cm.curOp)return Wn(ie.cm,tu)(ie,de,ke,Fe);if(de.to.line<ie.first){oc(ie,de.text.length-1-(de.to.line-de.from.line));return}if(!(de.from.line>ie.lastLine())){if(de.from.line<ie.first){var Re=de.text.length-1-(ie.first-de.from.line);oc(ie,Re),de={from:sn(ie.first,0),to:sn(de.to.line+Re,de.to.ch),text:[wt(de.text)],origin:de.origin}}var st=ie.lastLine();de.to.line>st&&(de={from:de.from,to:sn(st,cn(ie,st).text.length),text:[de.text[0]],origin:de.origin}),de.removed=bn(ie,de.from,de.to),ke||(ke=ka(ie,de)),ie.cm?Mu(ie.cm,de,Fe):wa(ie,de,Fe),ms(ie,ke,ft),ie.cantEdit&&eu(ie,sn(ie.firstLine(),0))&&(ie.cantEdit=!1)}}function Mu(ie,de,ke){var Fe=ie.doc,Re=ie.display,st=de.from,Ct=de.to,Nt=!1,Ot=st.line;ie.options.lineWrapping||(Ot=Ht(bi(cn(Fe,st.line))),Fe.iter(Ot,Ct.line+1,function(Rn){if(Rn==Re.maxLine)return Nt=!0,!0})),Fe.sel.contains(de.from,de.to)>-1&&en(ie),wa(Fe,de,ke,Ga(ie)),ie.options.lineWrapping||(Fe.iter(Ot,st.line+de.text.length,function(Rn){var yr=Ro(Rn);yr>Re.maxLineLength&&(Re.maxLine=Rn,Re.maxLineLength=yr,Re.maxLineChanged=!0,Nt=!1)}),Nt&&(ie.curOp.updateMaxLine=!0)),br(Fe,st.line),nr(ie,400);var Jt=de.text.length-(Ct.line-st.line)-1;de.full?xa(ie):st.line==Ct.line&&de.text.length==1&&!Na(ie.doc,de)?Mo(ie,st.line,"text"):xa(ie,st.line,Ct.line+1,Jt);var Pn=on(ie,"changes"),qt=on(ie,"change");if(qt||Pn){var Vn={from:st,to:Ct,text:de.text,removed:de.removed,origin:de.origin};qt&&Or(ie,"change",ie,Vn),Pn&&(ie.curOp.changeObjs||(ie.curOp.changeObjs=[])).push(Vn)}ie.display.selForContextMenu=null}function Vu(ie,de,ke,Fe,Re){var st;Fe||(Fe=ke),Cn(Fe,ke)<0&&(st=[Fe,ke],ke=st[0],Fe=st[1]),typeof de=="string"&&(de=ie.splitLines(de)),Za(ie,{from:ke,to:Fe,text:de,origin:Re})}function Al(ie,de,ke,Fe){ke<ie.line?ie.line+=Fe:de<ie.line&&(ie.line=de,ie.ch=0)}function _o(ie,de,ke,Fe){for(var Re=0;Re<ie.length;++Re){var st=ie[Re],Ct=!0;if(st.ranges){st.copied||(st=ie[Re]=st.deepCopy(),st.copied=!0);for(var Nt=0;Nt<st.ranges.length;Nt++)Al(st.ranges[Nt].anchor,de,ke,Fe),Al(st.ranges[Nt].head,de,ke,Fe);continue}for(var Ot=0;Ot<st.changes.length;++Ot){var Jt=st.changes[Ot];if(ke<Jt.from.line)Jt.from=sn(Jt.from.line+Fe,Jt.from.ch),Jt.to=sn(Jt.to.line+Fe,Jt.to.ch);else if(de<=Jt.to.line){Ct=!1;break}}Ct||(ie.splice(0,Re+1),Re=0)}}function ba(ie,de){var ke=de.from.line,Fe=de.to.line,Re=de.text.length-(Fe-ke)-1;_o(ie.done,ke,Fe,Re),_o(ie.undone,ke,Fe,Re)}function us(ie,de,ke,Fe){var Re=de,st=de;return typeof de=="number"?st=cn(ie,Tn(ie,de)):Re=Ht(de),Re==null?null:(Fe(st,Re)&&ie.cm&&Mo(ie.cm,Re,ke),st)}function Ca(ie){this.lines=ie,this.parent=null;for(var de=0,ke=0;ke<ie.length;++ke)ie[ke].parent=this,de+=ie[ke].height;this.height=de}Ca.prototype={chunkSize:function(){return this.lines.length},removeInner:function(ie,de){for(var ke=ie,Fe=ie+de;ke<Fe;++ke){var Re=this.lines[ke];this.height-=Re.height,Oo(Re),Or(Re,"delete")}this.lines.splice(ie,de)},collapse:function(ie){ie.push.apply(ie,this.lines)},insertInner:function(ie,de,ke){this.height+=ke,this.lines=this.lines.slice(0,ie).concat(de).concat(this.lines.slice(ie));for(var Fe=0;Fe<de.length;++Fe)de[Fe].parent=this},iterN:function(ie,de,ke){for(var Fe=ie+de;ie<Fe;++ie)if(ke(this.lines[ie]))return!0}};function Vo(ie){this.children=ie;for(var de=0,ke=0,Fe=0;Fe<ie.length;++Fe){var Re=ie[Fe];de+=Re.chunkSize(),ke+=Re.height,Re.parent=this}this.size=de,this.height=ke,this.parent=null}Vo.prototype={chunkSize:function(){return this.size},removeInner:function(ie,de){this.size-=de;for(var ke=0;ke<this.children.length;++ke){var Fe=this.children[ke],Re=Fe.chunkSize();if(ie<Re){var st=Math.min(de,Re-ie),Ct=Fe.height;if(Fe.removeInner(ie,st),this.height-=Ct-Fe.height,Re==st&&(this.children.splice(ke--,1),Fe.parent=null),(de-=st)==0)break;ie=0}else ie-=Re}if(this.size-de<25&&(this.children.length>1||!(this.children[0]instanceof Ca))){var Nt=[];this.collapse(Nt),this.children=[new Ca(Nt)],this.children[0].parent=this}},collapse:function(ie){for(var de=0;de<this.children.length;++de)this.children[de].collapse(ie)},insertInner:function(ie,de,ke){this.size+=de.length,this.height+=ke;for(var Fe=0;Fe<this.children.length;++Fe){var Re=this.children[Fe],st=Re.chunkSize();if(ie<=st){if(Re.insertInner(ie,de,ke),Re.lines&&Re.lines.length>50){for(var Ct=Re.lines.length%25+25,Nt=Ct;Nt<Re.lines.length;){var Ot=new Ca(Re.lines.slice(Nt,Nt+=25));Re.height-=Ot.height,this.children.splice(++Fe,0,Ot),Ot.parent=this}Re.lines=Re.lines.slice(0,Ct),this.maybeSpill()}break}ie-=st}},maybeSpill:function(){if(!(this.children.length<=10)){var ie=this;do{var de=ie.children.splice(ie.children.length-5,5),ke=new Vo(de);if(ie.parent){ie.size-=ke.size,ie.height-=ke.height;var Re=dt(ie.parent.children,ie);ie.parent.children.splice(Re+1,0,ke)}else{var Fe=new Vo(ie.children);Fe.parent=ie,ie.children=[Fe,ke],ie=Fe}ke.parent=ie.parent}while(ie.children.length>10);ie.parent.maybeSpill()}},iterN:function(ie,de,ke){for(var Fe=0;Fe<this.children.length;++Fe){var Re=this.children[Fe],st=Re.chunkSize();if(ie<st){var Ct=Math.min(de,st-ie);if(Re.iterN(ie,Ct,ke))return!0;if((de-=Ct)==0)break;ie=0}else ie-=st}}};var vs=function(ie,de,ke){if(ke)for(var Fe in ke)ke.hasOwnProperty(Fe)&&(this[Fe]=ke[Fe]);this.doc=ie,this.node=de};vs.prototype.clear=function(){var ie=this.doc.cm,de=this.line.widgets,ke=this.line,Fe=Ht(ke);if(!(Fe==null||!de)){for(var Re=0;Re<de.length;++Re)de[Re]==this&&de.splice(Re--,1);de.length||(ke.widgets=null);var st=tl(this);Gn(ke,Math.max(0,ke.height-st)),ie&&(mn(ie,function(){gl(ie,ke,-st),Mo(ie,Fe,"widget")}),Or(ie,"lineWidgetCleared",ie,this,Fe))}},vs.prototype.changed=function(){var ie=this,de=this.height,ke=this.doc.cm,Fe=this.line;this.height=null;var Re=tl(this)-de;Re&&(qn(this.doc,Fe)||Gn(Fe,Fe.height+Re),ke&&mn(ke,function(){ke.curOp.forceUpdate=!0,gl(ke,Fe,Re),Or(ke,"lineWidgetChanged",ke,ie,Ht(Fe))}))},xn(vs);function gl(ie,de,ke){qi(de)<(ie.curOp&&ie.curOp.scrollTop||ie.doc.scrollTop)&&Ed(ie,ke)}function gu(ie,de,ke,Fe){var Re=new vs(ie,ke,Fe),st=ie.cm;return st&&Re.noHScroll&&(st.display.alignWidgets=!0),us(ie,de,"widget",function(Ct){var Nt=Ct.widgets||(Ct.widgets=[]);if(Re.insertAt==null?Nt.push(Re):Nt.splice(Math.min(Nt.length-1,Math.max(0,Re.insertAt)),0,Re),Re.line=Ct,st&&!qn(ie,Ct)){var Ot=qi(Ct)<ie.scrollTop;Gn(Ct,Ct.height+tl(Re)),Ot&&Ed(st,Re.height),st.curOp.forceUpdate=!0}return!0}),st&&Or(st,"lineWidgetAdded",st,Re,typeof de=="number"?de:Ht(de)),Re}var cf=0,hn=function(ie,de){this.lines=[],this.type=de,this.doc=ie,this.id=++cf};hn.prototype.clear=function(){if(!this.explicitlyCleared){var ie=this.doc.cm,de=ie&&!ie.curOp;if(de&&fl(ie),on(this,"clear")){var ke=this.find();ke&&Or(this,"clear",ke.from,ke.to)}for(var Fe=null,Re=null,st=0;st<this.lines.length;++st){var Ct=this.lines[st],Nt=Ri(Ct.markedSpans,this);ie&&!this.collapsed?Mo(ie,Ht(Ct),"text"):ie&&(Nt.to!=null&&(Re=Ht(Ct)),Nt.from!=null&&(Fe=Ht(Ct))),Ct.markedSpans=_r(Ct.markedSpans,Nt),Nt.from==null&&this.collapsed&&!qn(this.doc,Ct)&&ie&&Gn(Ct,Uu(ie.display))}if(ie&&this.collapsed&&!ie.options.lineWrapping)for(var Ot=0;Ot<this.lines.length;++Ot){var Jt=bi(this.lines[Ot]),Pn=Ro(Jt);Pn>ie.display.maxLineLength&&(ie.display.maxLine=Jt,ie.display.maxLineLength=Pn,ie.display.maxLineChanged=!0)}Fe!=null&&ie&&this.collapsed&&xa(ie,Fe,Re+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,ie&&Wl(ie.doc)),ie&&Or(ie,"markerCleared",ie,this,Fe,Re),de&&bc(ie),this.parent&&this.parent.clear()}},hn.prototype.find=function(ie,de){ie==null&&this.type=="bookmark"&&(ie=1);for(var ke,Fe,Re=0;Re<this.lines.length;++Re){var st=this.lines[Re],Ct=Ri(st.markedSpans,this);if(Ct.from!=null&&(ke=sn(de?st:Ht(st),Ct.from),ie==-1))return ke;if(Ct.to!=null&&(Fe=sn(de?st:Ht(st),Ct.to),ie==1))return Fe}return ke&&{from:ke,to:Fe}},hn.prototype.changed=function(){var ie=this,de=this.find(-1,!0),ke=this,Fe=this.doc.cm;!de||!Fe||mn(Fe,function(){var Re=de.line,st=Ht(de.line),Ct=vc(Fe,st);if(Ct&&(As(Ct),Fe.curOp.selectionChanged=Fe.curOp.forceUpdate=!0),Fe.curOp.updateMaxLine=!0,!qn(ke.doc,Re)&&ke.height!=null){var Nt=ke.height;ke.height=null;var Ot=tl(ke)-Nt;Ot&&Gn(Re,Re.height+Ot)}Or(Fe,"markerChanged",Fe,ie)})},hn.prototype.attachLine=function(ie){if(!this.lines.length&&this.doc.cm){var de=this.doc.cm.curOp;(!de.maybeHiddenMarkers||dt(de.maybeHiddenMarkers,this)==-1)&&(de.maybeUnhiddenMarkers||(de.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(ie)},hn.prototype.detachLine=function(ie){if(this.lines.splice(dt(this.lines,ie),1),!this.lines.length&&this.doc.cm){var de=this.doc.cm.curOp;(de.maybeHiddenMarkers||(de.maybeHiddenMarkers=[])).push(this)}},xn(hn);function Cc(ie,de,ke,Fe,Re){if(Fe&&Fe.shared)return hf(ie,de,ke,Fe,Re);if(ie.cm&&!ie.cm.curOp)return Wn(ie.cm,Cc)(ie,de,ke,Fe,Re);var st=new hn(ie,Re),Ct=Cn(de,ke);if(Fe&&vt(Fe,st,!1),Ct>0||Ct==0&&st.clearWhenEmpty!==!1)return st;if(st.replacedWith&&(st.collapsed=!0,st.widgetNode=je("span",[st.replacedWith],"CodeMirror-widget"),Fe.handleMouseEvents||st.widgetNode.setAttribute("cm-ignore-events","true"),Fe.insertLeft&&(st.widgetNode.insertLeft=!0)),st.collapsed){if(Fi(ie,de.line,de,ke,st)||de.line!=ke.line&&Fi(ie,ke.line,de,ke,st))throw new Error("Inserting collapsed marker partially overlapping an existing one");On()}st.addToHistory&&Ho(ie,{from:de,to:ke,origin:"markText"},ie.sel,NaN);var Nt=de.line,Ot=ie.cm,Jt;if(ie.iter(Nt,ke.line+1,function(qt){Ot&&st.collapsed&&!Ot.options.lineWrapping&&bi(qt)==Ot.display.maxLine&&(Jt=!0),st.collapsed&&Nt!=de.line&&Gn(qt,0),Xi(qt,new hi(st,Nt==de.line?de.ch:null,Nt==ke.line?ke.ch:null)),++Nt}),st.collapsed&&ie.iter(de.line,ke.line+1,function(qt){qn(ie,qt)&&Gn(qt,0)}),st.clearOnEnter&&Wt(st,"beforeCursorEnter",function(){return st.clear()}),st.readOnly&&(Ei(),(ie.history.done.length||ie.history.undone.length)&&ie.clearHistory()),st.collapsed&&(st.id=++cf,st.atomic=!0),Ot){if(Jt&&(Ot.curOp.updateMaxLine=!0),st.collapsed)xa(Ot,de.line,ke.line+1);else if(st.className||st.startStyle||st.endStyle||st.css||st.attributes||st.title)for(var Pn=de.line;Pn<=ke.line;Pn++)Mo(Ot,Pn,"text");st.atomic&&Wl(Ot.doc),Or(Ot,"markerAdded",Ot,st)}return st}var Xu=function(ie,de){this.markers=ie,this.primary=de;for(var ke=0;ke<ie.length;++ke)ie[ke].parent=this};Xu.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var ie=0;ie<this.markers.length;++ie)this.markers[ie].clear();Or(this,"clear")}},Xu.prototype.find=function(ie,de){return this.primary.find(ie,de)},xn(Xu);function hf(ie,de,ke,Fe,Re){Fe=vt(Fe),Fe.shared=!1;var st=[Cc(ie,de,ke,Fe,Re)],Ct=st[0],Nt=Fe.widgetNode;return is(ie,function(Ot){Nt&&(Fe.widgetNode=Nt.cloneNode(!0)),st.push(Cc(Ot,Fn(Ot,de),Fn(Ot,ke),Fe,Re));for(var Jt=0;Jt<Ot.linked.length;++Jt)if(Ot.linked[Jt].isParent)return;Ct=wt(st)}),new Xu(st,Ct)}function gh(ie){return ie.findMarks(sn(ie.first,0),ie.clipPos(sn(ie.lastLine())),function(de){return de.parent})}function Qc(ie,de){for(var ke=0;ke<de.length;ke++){var Fe=de[ke],Re=Fe.find(),st=ie.clipPos(Re.from),Ct=ie.clipPos(Re.to);if(Cn(st,Ct)){var Nt=Cc(ie,st,Ct,Fe.primary,Fe.primary.type);Fe.markers.push(Nt),Nt.parent=Fe}}}function Md(ie){for(var de=function(Fe){var Re=ie[Fe],st=[Re.primary.doc];is(Re.primary.doc,function(Ot){return st.push(Ot)});for(var Ct=0;Ct<Re.markers.length;Ct++){var Nt=Re.markers[Ct];dt(st,Nt.doc)==-1&&(Nt.parent=null,Re.markers.splice(Ct--,1))}},ke=0;ke<ie.length;ke++)de(ke)}var Vp=0,Ls=function(ie,de,ke,Fe,Re){if(!(this instanceof Ls))return new Ls(ie,de,ke,Fe,Re);ke==null&&(ke=0),Vo.call(this,[new Ca([new Qi("",null)])]),this.first=ke,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=ke;var st=sn(ke,0);this.sel=Co(st),this.history=new Bi(null),this.id=++Vp,this.modeOption=de,this.lineSep=Fe,this.direction=Re=="rtl"?"rtl":"ltr",this.extend=!1,typeof ie=="string"&&(ie=this.splitLines(ie)),wa(this,{from:st,to:st,text:ie}),va(this,Co(st),ft)};Ls.prototype=we(Vo.prototype,{constructor:Ls,iter:function(ie,de,ke){ke?this.iterN(ie-this.first,de-ie,ke):this.iterN(this.first,this.first+this.size,ie)},insert:function(ie,de){for(var ke=0,Fe=0;Fe<de.length;++Fe)ke+=de[Fe].height;this.insertInner(ie-this.first,de,ke)},remove:function(ie,de){this.removeInner(ie-this.first,de)},getValue:function(ie){var de=kn(this,this.first,this.first+this.size);return ie===!1?de:de.join(ie||this.lineSeparator())},setValue:In(function(ie){var de=sn(this.first,0),ke=this.first+this.size-1;Za(this,{from:de,to:sn(ke,cn(this,ke).text.length),text:this.splitLines(ie),origin:"setValue",full:!0},!0),this.cm&&Yc(this.cm,0,0),va(this,Co(de),ft)}),replaceRange:function(ie,de,ke,Fe){de=Fn(this,de),ke=ke?Fn(this,ke):de,Vu(this,ie,de,ke,Fe)},getRange:function(ie,de,ke){var Fe=bn(this,Fn(this,ie),Fn(this,de));return ke===!1?Fe:Fe.join(ke||this.lineSeparator())},getLine:function(ie){var de=this.getLineHandle(ie);return de&&de.text},getLineHandle:function(ie){if(Kn(this,ie))return cn(this,ie)},getLineNumber:function(ie){return Ht(ie)},getLineHandleVisualStart:function(ie){return typeof ie=="number"&&(ie=cn(this,ie)),bi(ie)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(ie){return Fn(this,ie)},getCursor:function(ie){var de=this.sel.primary(),ke;return ie==null||ie=="head"?ke=de.head:ie=="anchor"?ke=de.anchor:ie=="end"||ie=="to"||ie===!1?ke=de.to():ke=de.from(),ke},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:In(function(ie,de,ke){Qa(this,Fn(this,typeof ie=="number"?sn(ie,de||0):ie),null,ke)}),setSelection:In(function(ie,de,ke){Qa(this,Fn(this,ie),Fn(this,de||ie),ke)}),extendSelection:In(function(ie,de,ke){ta(this,Fn(this,ie),de&&Fn(this,de),ke)}),extendSelections:In(function(ie,de){aa(this,Zn(this,ie),de)}),extendSelectionsBy:In(function(ie,de){var ke=bt(this.sel.ranges,ie);aa(this,Zn(this,ke),de)}),setSelections:In(function(ie,de,ke){if(ie.length){for(var Fe=[],Re=0;Re<ie.length;Re++)Fe[Re]=new ai(Fn(this,ie[Re].anchor),Fn(this,ie[Re].head));de==null&&(de=Math.min(ie.length-1,this.sel.primIndex)),va(this,yo(this.cm,Fe,de),ke)}}),addSelection:In(function(ie,de,ke){var Fe=this.sel.ranges.slice(0);Fe.push(new ai(Fn(this,ie),Fn(this,de||ie))),va(this,yo(this.cm,Fe,Fe.length-1),ke)}),getSelection:function(ie){for(var de=this.sel.ranges,ke,Fe=0;Fe<de.length;Fe++){var Re=bn(this,de[Fe].from(),de[Fe].to());ke=ke?ke.concat(Re):Re}return ie===!1?ke:ke.join(ie||this.lineSeparator())},getSelections:function(ie){for(var de=[],ke=this.sel.ranges,Fe=0;Fe<ke.length;Fe++){var Re=bn(this,ke[Fe].from(),ke[Fe].to());ie!==!1&&(Re=Re.join(ie||this.lineSeparator())),de[Fe]=Re}return de},replaceSelection:function(ie,de,ke){for(var Fe=[],Re=0;Re<this.sel.ranges.length;Re++)Fe[Re]=ie;this.replaceSelections(Fe,de,ke||"+input")},replaceSelections:In(function(ie,de,ke){for(var Fe=[],Re=this.sel,st=0;st<Re.ranges.length;st++){var Ct=Re.ranges[st];Fe[st]={from:Ct.from(),to:Ct.to(),text:this.splitLines(ie[st]),origin:ke}}for(var Nt=de&&de!="end"&&xo(this,Fe,de),Ot=Fe.length-1;Ot>=0;Ot--)Za(this,Fe[Ot]);Nt?ko(this,Nt):this.cm&&Sc(this.cm)}),undo:In(function(){Ul(this,"undo")}),redo:In(function(){Ul(this,"redo")}),undoSelection:In(function(){Ul(this,"undo",!0)}),redoSelection:In(function(){Ul(this,"redo",!0)}),setExtending:function(ie){this.extend=ie},getExtending:function(){return this.extend},historySize:function(){for(var ie=this.history,de=0,ke=0,Fe=0;Fe<ie.done.length;Fe++)ie.done[Fe].ranges||++de;for(var Re=0;Re<ie.undone.length;Re++)ie.undone[Re].ranges||++ke;return{undo:de,redo:ke}},clearHistory:function(){var ie=this;this.history=new Bi(this.history.maxGeneration),is(this,function(de){return de.history=ie.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(ie){return ie&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(ie){return this.history.generation==(ie||this.cleanGeneration)},getHistory:function(){return{done:ps(this.history.done),undone:ps(this.history.undone)}},setHistory:function(ie){var de=this.history=new Bi(this.history.maxGeneration);de.done=ps(ie.done.slice(0),null,!0),de.undone=ps(ie.undone.slice(0),null,!0)},setGutterMarker:In(function(ie,de,ke){return us(this,ie,"gutter",function(Fe){var Re=Fe.gutterMarkers||(Fe.gutterMarkers={});return Re[de]=ke,!ke&&Le(Re)&&(Fe.gutterMarkers=null),!0})}),clearGutter:In(function(ie){var de=this;this.iter(function(ke){ke.gutterMarkers&&ke.gutterMarkers[ie]&&us(de,ke,"gutter",function(){return ke.gutterMarkers[ie]=null,Le(ke.gutterMarkers)&&(ke.gutterMarkers=null),!0})})}),lineInfo:function(ie){var de;if(typeof ie=="number"){if(!Kn(this,ie)||(de=ie,ie=cn(this,ie),!ie))return null}else if(de=Ht(ie),de==null)return null;return{line:de,handle:ie,text:ie.text,gutterMarkers:ie.gutterMarkers,textClass:ie.textClass,bgClass:ie.bgClass,wrapClass:ie.wrapClass,widgets:ie.widgets}},addLineClass:In(function(ie,de,ke){return us(this,ie,de=="gutter"?"gutter":"class",function(Fe){var Re=de=="text"?"textClass":de=="background"?"bgClass":de=="gutter"?"gutterClass":"wrapClass";if(!Fe[Re])Fe[Re]=ke;else{if(be(ke).test(Fe[Re]))return!1;Fe[Re]+=" "+ke}return!0})}),removeLineClass:In(function(ie,de,ke){return us(this,ie,de=="gutter"?"gutter":"class",function(Fe){var Re=de=="text"?"textClass":de=="background"?"bgClass":de=="gutter"?"gutterClass":"wrapClass",st=Fe[Re];if(st)if(ke==null)Fe[Re]=null;else{var Ct=st.match(be(ke));if(!Ct)return!1;var Nt=Ct.index+Ct[0].length;Fe[Re]=st.slice(0,Ct.index)+(!Ct.index||Nt==st.length?"":" ")+st.slice(Nt)||null}else return!1;return!0})}),addLineWidget:In(function(ie,de,ke){return gu(this,ie,de,ke)}),removeLineWidget:function(ie){ie.clear()},markText:function(ie,de,ke){return Cc(this,Fn(this,ie),Fn(this,de),ke,ke&&ke.type||"range")},setBookmark:function(ie,de){var ke={replacedWith:de&&(de.nodeType==null?de.widget:de),insertLeft:de&&de.insertLeft,clearWhenEmpty:!1,shared:de&&de.shared,handleMouseEvents:de&&de.handleMouseEvents};return ie=Fn(this,ie),Cc(this,ie,ie,ke,"bookmark")},findMarksAt:function(ie){ie=Fn(this,ie);var de=[],ke=cn(this,ie.line).markedSpans;if(ke)for(var Fe=0;Fe<ke.length;++Fe){var Re=ke[Fe];(Re.from==null||Re.from<=ie.ch)&&(Re.to==null||Re.to>=ie.ch)&&de.push(Re.marker.parent||Re.marker)}return de},findMarks:function(ie,de,ke){ie=Fn(this,ie),de=Fn(this,de);var Fe=[],Re=ie.line;return this.iter(ie.line,de.line+1,function(st){var Ct=st.markedSpans;if(Ct)for(var Nt=0;Nt<Ct.length;Nt++){var Ot=Ct[Nt];!(Ot.to!=null&&Re==ie.line&&ie.ch>=Ot.to||Ot.from==null&&Re!=ie.line||Ot.from!=null&&Re==de.line&&Ot.from>=de.ch)&&(!ke||ke(Ot.marker))&&Fe.push(Ot.marker.parent||Ot.marker)}++Re}),Fe},getAllMarks:function(){var ie=[];return this.iter(function(de){var ke=de.markedSpans;if(ke)for(var Fe=0;Fe<ke.length;++Fe)ke[Fe].from!=null&&ie.push(ke[Fe].marker)}),ie},posFromIndex:function(ie){var de,ke=this.first,Fe=this.lineSeparator().length;return this.iter(function(Re){var st=Re.text.length+Fe;if(st>ie)return de=ie,!0;ie-=st,++ke}),Fn(this,sn(ke,de))},indexFromPos:function(ie){ie=Fn(this,ie);var de=ie.ch;if(ie.line<this.first||ie.ch<0)return 0;var ke=this.lineSeparator().length;return this.iter(this.first,ie.line,function(Fe){de+=Fe.text.length+ke}),de},copy:function(ie){var de=new Ls(kn(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return de.scrollTop=this.scrollTop,de.scrollLeft=this.scrollLeft,de.sel=this.sel,de.extend=!1,ie&&(de.history.undoDepth=this.history.undoDepth,de.setHistory(this.getHistory())),de},linkedDoc:function(ie){ie||(ie={});var de=this.first,ke=this.first+this.size;ie.from!=null&&ie.from>de&&(de=ie.from),ie.to!=null&&ie.to<ke&&(ke=ie.to);var Fe=new Ls(kn(this,de,ke),ie.mode||this.modeOption,de,this.lineSep,this.direction);return ie.sharedHist&&(Fe.history=this.history),(this.linked||(this.linked=[])).push({doc:Fe,sharedHist:ie.sharedHist}),Fe.linked=[{doc:this,isParent:!0,sharedHist:ie.sharedHist}],Qc(Fe,gh(this)),Fe},unlinkDoc:function(ie){if(ie instanceof ia&&(ie=ie.doc),this.linked)for(var de=0;de<this.linked.length;++de){var ke=this.linked[de];if(ke.doc==ie){this.linked.splice(de,1),ie.unlinkDoc(this),Md(gh(this));break}}if(ie.history==this.history){var Fe=[ie.id];is(ie,function(Re){return Fe.push(Re.id)},!0),ie.history=new Bi(null),ie.history.done=ps(this.history.done,Fe),ie.history.undone=ps(this.history.undone,Fe)}},iterLinkedDocs:function(ie){is(this,ie)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(ie){return this.lineSep?ie.split(this.lineSep):Er(ie)},lineSeparator:function(){return this.lineSep||`
`},setDirection:In(function(ie){ie!="rtl"&&(ie="ltr"),ie!=this.direction&&(this.direction=ie,this.iter(function(de){return de.order=null}),this.cm&&ro(this.cm))})}),Ls.prototype.eachLine=Ls.prototype.iter;var Vh=0;function Ld(ie){var de=this;if(Yf(de),!(_t(de,ie)||nl(de.display,ie))){zn(ie),Ne&&(Vh=+new Date);var ke=rl(de,ie,!0),Fe=ie.dataTransfer.files;if(!(!ke||de.isReadOnly()))if(Fe&&Fe.length&&window.FileReader&&window.File)for(var Re=Fe.length,st=Array(Re),Ct=0,Nt=function(){++Ct==Re&&Wn(de,function(){ke=Fn(de.doc,ke);var Rn={from:ke,to:ke,text:de.doc.splitLines(st.filter(function(yr){return yr!=null}).join(de.doc.lineSeparator())),origin:"paste"};Za(de.doc,Rn),ko(de.doc,Co(Fn(de.doc,ke),Fn(de.doc,qo(Rn))))})()},Ot=function(Rn,yr){if(de.options.allowDropFileTypes&&dt(de.options.allowDropFileTypes,Rn.type)==-1){Nt();return}var Pr=new FileReader;Pr.onerror=function(){return Nt()},Pr.onload=function(){var Hr=Pr.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Hr)){Nt();return}st[yr]=Hr,Nt()},Pr.readAsText(Rn)},Jt=0;Jt<Fe.length;Jt++)Ot(Fe[Jt],Jt);else{if(de.state.draggingText&&de.doc.sel.contains(ke)>-1){de.state.draggingText(ie),setTimeout(function(){return de.display.input.focus()},20);return}try{var Pn=ie.dataTransfer.getData("Text");if(Pn){var qt;if(de.state.draggingText&&!de.state.draggingText.copy&&(qt=de.listSelections()),ms(de.doc,Co(ke,ke)),qt)for(var Vn=0;Vn<qt.length;++Vn)Vu(de.doc,"",qt[Vn].anchor,qt[Vn].head,"drag");de.replaceSelection(Pn,"around","paste"),de.display.input.focus()}}catch(Rn){}}}}function Xh(ie,de){if(Ne&&(!ie.state.draggingText||+new Date-Vh<100)){ur(de);return}if(!(_t(ie,de)||nl(ie.display,de))&&(de.dataTransfer.setData("Text",ie.getSelection()),de.dataTransfer.effectAllowed="copyMove",de.dataTransfer.setDragImage&&!De)){var ke=Te("img",null,null,"position: fixed; left: 0; top: 0;");ke.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",ye&&(ke.width=ke.height=1,ie.display.wrapper.appendChild(ke),ke._top=ke.offsetTop),de.dataTransfer.setDragImage(ke,0,0),ye&&ke.parentNode.removeChild(ke)}}function df(ie,de){var ke=rl(ie,de);if(ke){var Fe=document.createDocumentFragment();Zo(ie,ke,Fe),ie.display.dragCursor||(ie.display.dragCursor=Te("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),ie.display.lineSpace.insertBefore(ie.display.dragCursor,ie.display.cursorDiv)),Oe(ie.display.dragCursor,Fe)}}function Yf(ie){ie.display.dragCursor&&(ie.display.lineSpace.removeChild(ie.display.dragCursor),ie.display.dragCursor=null)}function ff(ie){if(document.getElementsByClassName){for(var de=document.getElementsByClassName("CodeMirror"),ke=[],Fe=0;Fe<de.length;Fe++){var Re=de[Fe].CodeMirror;Re&&ke.push(Re)}ke.length&&ke[0].operation(function(){for(var st=0;st<ke.length;st++)ie(ke[st])})}}var Td=!1;function Gl(){Td||(mh(),Td=!0)}function mh(){var ie;Wt(window,"resize",function(){ie==null&&(ie=setTimeout(function(){ie=null,ff(pf)},100))}),Wt(window,"blur",function(){return ff(Xc)})}function pf(ie){var de=ie.display;de.cachedCharWidth=de.cachedTextHeight=de.cachedPaddingH=null,de.scrollbarsClipped=!1,ie.setSize()}for(var Lu={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Pc=0;Pc<10;Pc++)Lu[Pc+48]=Lu[Pc+96]=String(Pc);for(var vh=65;vh<=90;vh++)Lu[vh]=String.fromCharCode(vh);for(var _c=1;_c<=12;_c++)Lu[_c+111]=Lu[_c+63235]="F"+_c;var ml={};ml.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},ml.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},ml.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},ml.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},ml.default=ae?ml.macDefault:ml.pcDefault;function Fd(ie){var de=ie.split(/-(?!$)/);ie=de[de.length-1];for(var ke,Fe,Re,st,Ct=0;Ct<de.length-1;Ct++){var Nt=de[Ct];if(/^(cmd|meta|m)$/i.test(Nt))st=!0;else if(/^a(lt)?$/i.test(Nt))ke=!0;else if(/^(c|ctrl|control)$/i.test(Nt))Fe=!0;else if(/^s(hift)?$/i.test(Nt))Re=!0;else throw new Error("Unrecognized modifier name: "+Nt)}return ke&&(ie="Alt-"+ie),Fe&&(ie="Ctrl-"+ie),st&&(ie="Cmd-"+ie),Re&&(ie="Shift-"+ie),ie}function Dd(ie){var de={};for(var ke in ie)if(ie.hasOwnProperty(ke)){var Fe=ie[ke];if(/^(name|fallthrough|(de|at)tach)$/.test(ke))continue;if(Fe=="..."){delete ie[ke];continue}for(var Re=bt(ke.split(" "),Fd),st=0;st<Re.length;st++){var Ct=void 0,Nt=void 0;st==Re.length-1?(Nt=Re.join(" "),Ct=Fe):(Nt=Re.slice(0,st+1).join(" "),Ct="...");var Ot=de[Nt];if(!Ot)de[Nt]=Ct;else if(Ot!=Ct)throw new Error("Inconsistent bindings for "+Nt)}delete ie[ke]}for(var Jt in de)ie[Jt]=de[Jt];return ie}function Zl(ie,de,ke,Fe){de=Ec(de);var Re=de.call?de.call(ie,Fe):de[ie];if(Re===!1)return"nothing";if(Re==="...")return"multi";if(Re!=null&&ke(Re))return"handled";if(de.fallthrough){if(Object.prototype.toString.call(de.fallthrough)!="[object Array]")return Zl(ie,de.fallthrough,ke,Fe);for(var st=0;st<de.fallthrough.length;st++){var Ct=Zl(ie,de.fallthrough[st],ke,Fe);if(Ct)return Ct}}}function yh(ie){var de=typeof ie=="string"?ie:Lu[ie.keyCode];return de=="Ctrl"||de=="Alt"||de=="Shift"||de=="Mod"}function Od(ie,de,ke){var Fe=ie;return de.altKey&&Fe!="Alt"&&(ie="Alt-"+ie),(pe?de.metaKey:de.ctrlKey)&&Fe!="Ctrl"&&(ie="Ctrl-"+ie),(pe?de.ctrlKey:de.metaKey)&&Fe!="Mod"&&(ie="Cmd-"+ie),!ke&&de.shiftKey&&Fe!="Shift"&&(ie="Shift-"+ie),ie}function kd(ie,de){if(ye&&ie.keyCode==34&&ie.char)return!1;var ke=Lu[ie.keyCode];return ke==null||ie.altGraphKey?!1:(ie.keyCode==3&&ie.code&&(ke=ie.code),Od(ke,ie,de))}function Ec(ie){return typeof ie=="string"?ml[ie]:ie}function ol(ie,de){for(var ke=ie.doc.sel.ranges,Fe=[],Re=0;Re<ke.length;Re++){for(var st=de(ke[Re]);Fe.length&&Cn(st.from,wt(Fe).to)<=0;){var Ct=Fe.pop();if(Cn(Ct.from,st.from)<0){st.from=Ct.from;break}}Fe.push(st)}mn(ie,function(){for(var Nt=Fe.length-1;Nt>=0;Nt--)Vu(ie.doc,"",Fe[Nt].from,Fe[Nt].to,"+delete");Sc(ie)})}function Nd(ie,de,ke){var Fe=Xe(ie.text,de+ke,ke);return Fe<0||Fe>ie.text.length?null:Fe}function cs(ie,de,ke){var Fe=Nd(ie,de.ch,ke);return Fe==null?null:new sn(de.line,Fe,ke<0?"after":"before")}function na(ie,de,ke,Fe,Re){if(ie){de.doc.direction=="rtl"&&(Re=-Re);var st=Kt(ke,de.doc.direction);if(st){var Ct=Re<0?wt(st):st[0],Nt=Re<0==(Ct.level==1),Ot=Nt?"after":"before",Jt;if(Ct.level>0||de.doc.direction=="rtl"){var Pn=zu(de,ke);Jt=Re<0?ke.text.length-1:0;var qt=jl(de,Pn,Jt).top;Jt=Qe(function(Vn){return jl(de,Pn,Vn).top==qt},Re<0==(Ct.level==1)?Ct.from:Ct.to-1,Jt),Ot=="before"&&(Jt=Nd(ke,Jt,1))}else Jt=Re<0?Ct.to:Ct.from;return new sn(Fe,Jt,Ot)}}return new sn(Fe,Re<0?ke.text.length:0,Re<0?"before":"after")}function Fa(ie,de,ke,Fe){var Re=Kt(de,ie.doc.direction);if(!Re)return cs(de,ke,Fe);ke.ch>=de.text.length?(ke.ch=de.text.length,ke.sticky="before"):ke.ch<=0&&(ke.ch=0,ke.sticky="after");var st=mt(Re,ke.ch,ke.sticky),Ct=Re[st];if(ie.doc.direction=="ltr"&&Ct.level%2==0&&(Fe>0?Ct.to>ke.ch:Ct.from<ke.ch))return cs(de,ke,Fe);var Nt=function(si,Ti){return Nd(de,si instanceof sn?si.ch:si,Ti)},Ot,Jt=function(si){return ie.options.lineWrapping?(Ot=Ot||zu(ie,de),fh(ie,de,Ot,si)):{begin:0,end:de.text.length}},Pn=Jt(ke.sticky=="before"?Nt(ke,-1):ke.ch);if(ie.doc.direction=="rtl"||Ct.level==1){var qt=Ct.level==1==Fe<0,Vn=Nt(ke,qt?1:-1);if(Vn!=null&&(qt?Vn<=Ct.to&&Vn<=Pn.end:Vn>=Ct.from&&Vn>=Pn.begin)){var Rn=qt?"before":"after";return new sn(ke.line,Vn,Rn)}}var yr=function(si,Ti,Si){for(var Hi=function($a,Is){return Is?new sn(ke.line,Nt($a,1),"before"):new sn(ke.line,$a,"after")};si>=0&&si<Re.length;si+=Ti){var So=Re[si],vi=Ti>0==(So.level!=1),No=vi?Si.begin:Nt(Si.end,-1);if(So.from<=No&&No<So.to||(No=vi?So.from:Nt(So.to,-1),Si.begin<=No&&No<Si.end))return Hi(No,vi)}},Pr=yr(st+Fe,Fe,Pn);if(Pr)return Pr;var Hr=Fe>0?Pn.end:Nt(Pn.begin,-1);return Hr!=null&&!(Fe>0&&Hr==de.text.length)&&(Pr=yr(Fe>0?0:Re.length-1,Fe,Jt(Hr)),Pr)?Pr:null}var Ns={selectAll:ra,singleSelection:function(ie){return ie.setSelection(ie.getCursor("anchor"),ie.getCursor("head"),ft)},killLine:function(ie){return ol(ie,function(de){if(de.empty()){var ke=cn(ie.doc,de.head.line).text.length;return de.head.ch==ke&&de.head.line<ie.lastLine()?{from:de.head,to:sn(de.head.line+1,0)}:{from:de.head,to:sn(de.head.line,ke)}}else return{from:de.from(),to:de.to()}})},deleteLine:function(ie){return ol(ie,function(de){return{from:sn(de.from().line,0),to:Fn(ie.doc,sn(de.to().line+1,0))}})},delLineLeft:function(ie){return ol(ie,function(de){return{from:sn(de.from().line,0),to:de.from()}})},delWrappedLineLeft:function(ie){return ol(ie,function(de){var ke=ie.charCoords(de.head,"div").top+5,Fe=ie.coordsChar({left:0,top:ke},"div");return{from:Fe,to:de.from()}})},delWrappedLineRight:function(ie){return ol(ie,function(de){var ke=ie.charCoords(de.head,"div").top+5,Fe=ie.coordsChar({left:ie.display.lineDiv.offsetWidth+100,top:ke},"div");return{from:de.from(),to:Fe}})},undo:function(ie){return ie.undo()},redo:function(ie){return ie.redo()},undoSelection:function(ie){return ie.undoSelection()},redoSelection:function(ie){return ie.redoSelection()},goDocStart:function(ie){return ie.extendSelection(sn(ie.firstLine(),0))},goDocEnd:function(ie){return ie.extendSelection(sn(ie.lastLine()))},goLineStart:function(ie){return ie.extendSelectionsBy(function(de){return nu(ie,de.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(ie){return ie.extendSelectionsBy(function(de){return Bd(ie,de.head)},{origin:"+move",bias:1})},goLineEnd:function(ie){return ie.extendSelectionsBy(function(de){return ru(ie,de.head.line)},{origin:"+move",bias:-1})},goLineRight:function(ie){return ie.extendSelectionsBy(function(de){var ke=ie.cursorCoords(de.head,"div").top+5;return ie.coordsChar({left:ie.display.lineDiv.offsetWidth+100,top:ke},"div")},yt)},goLineLeft:function(ie){return ie.extendSelectionsBy(function(de){var ke=ie.cursorCoords(de.head,"div").top+5;return ie.coordsChar({left:0,top:ke},"div")},yt)},goLineLeftSmart:function(ie){return ie.extendSelectionsBy(function(de){var ke=ie.cursorCoords(de.head,"div").top+5,Fe=ie.coordsChar({left:0,top:ke},"div");return Fe.ch<ie.getLine(Fe.line).search(/\S/)?Bd(ie,de.head):Fe},yt)},goLineUp:function(ie){return ie.moveV(-1,"line")},goLineDown:function(ie){return ie.moveV(1,"line")},goPageUp:function(ie){return ie.moveV(-1,"page")},goPageDown:function(ie){return ie.moveV(1,"page")},goCharLeft:function(ie){return ie.moveH(-1,"char")},goCharRight:function(ie){return ie.moveH(1,"char")},goColumnLeft:function(ie){return ie.moveH(-1,"column")},goColumnRight:function(ie){return ie.moveH(1,"column")},goWordLeft:function(ie){return ie.moveH(-1,"word")},goGroupRight:function(ie){return ie.moveH(1,"group")},goGroupLeft:function(ie){return ie.moveH(-1,"group")},goWordRight:function(ie){return ie.moveH(1,"word")},delCharBefore:function(ie){return ie.deleteH(-1,"codepoint")},delCharAfter:function(ie){return ie.deleteH(1,"char")},delWordBefore:function(ie){return ie.deleteH(-1,"word")},delWordAfter:function(ie){return ie.deleteH(1,"word")},delGroupBefore:function(ie){return ie.deleteH(-1,"group")},delGroupAfter:function(ie){return ie.deleteH(1,"group")},indentAuto:function(ie){return ie.indentSelection("smart")},indentMore:function(ie){return ie.indentSelection("add")},indentLess:function(ie){return ie.indentSelection("subtract")},insertTab:function(ie){return ie.replaceSelection(" ")},insertSoftTab:function(ie){for(var de=[],ke=ie.listSelections(),Fe=ie.options.tabSize,Re=0;Re<ke.length;Re++){var st=ke[Re].from(),Ct=tt(ie.getLine(st.line),st.ch,Fe);de.push(Gt(Fe-Ct%Fe))}ie.replaceSelections(de)},defaultTab:function(ie){ie.somethingSelected()?ie.indentSelection("add"):ie.execCommand("insertTab")},transposeChars:function(ie){return mn(ie,function(){for(var de=ie.listSelections(),ke=[],Fe=0;Fe<de.length;Fe++)if(de[Fe].empty()){var Re=de[Fe].head,st=cn(ie.doc,Re.line).text;if(st){if(Re.ch==st.length&&(Re=new sn(Re.line,Re.ch-1)),Re.ch>0)Re=new sn(Re.line,Re.ch+1),ie.replaceRange(st.charAt(Re.ch-1)+st.charAt(Re.ch-2),sn(Re.line,Re.ch-2),Re,"+transpose");else if(Re.line>ie.doc.first){var Ct=cn(ie.doc,Re.line-1).text;Ct&&(Re=new sn(Re.line,1),ie.replaceRange(st.charAt(0)+ie.doc.lineSeparator()+Ct.charAt(Ct.length-1),sn(Re.line-1,Ct.length-1),Re,"+transpose"))}}ke.push(new ai(Re,Re))}ie.setSelections(ke)})},newlineAndIndent:function(ie){return mn(ie,function(){for(var de=ie.listSelections(),ke=de.length-1;ke>=0;ke--)ie.replaceRange(ie.doc.lineSeparator(),de[ke].anchor,de[ke].head,"+input");de=ie.listSelections();for(var Fe=0;Fe<de.length;Fe++)ie.indentLine(de[Fe].from().line,null,!0);Sc(ie)})},openLine:function(ie){return ie.replaceSelection(`
`,"start")},toggleOverwrite:function(ie){return ie.toggleOverwrite()}};function nu(ie,de){var ke=cn(ie.doc,de),Fe=bi(ke);return Fe!=ke&&(de=Ht(Fe)),na(!0,ie,Fe,de,1)}function ru(ie,de){var ke=cn(ie.doc,de),Fe=so(ke);return Fe!=ke&&(de=Ht(Fe)),na(!0,ie,ke,de,-1)}function Bd(ie,de){var ke=nu(ie,de.line),Fe=cn(ie.doc,ke.line),Re=Kt(Fe,ie.doc.direction);if(!Re||Re[0].level==0){var st=Math.max(ke.ch,Fe.text.search(/\S/)),Ct=de.line==ke.line&&de.ch<=st&&de.ch;return sn(ke.line,Ct?0:st,ke.sticky)}return ke}function Ac(ie,de,ke){if(typeof de=="string"&&(de=Ns[de],!de))return!1;ie.display.input.ensurePolled();var Fe=ie.display.shift,Re=!1;try{ie.isReadOnly()&&(ie.state.suppressEdits=!0),ke&&(ie.display.shift=!1),Re=de(ie)!=xt}finally{ie.display.shift=Fe,ie.state.suppressEdits=!1}return Re}function Yh(ie,de,ke){for(var Fe=0;Fe<ie.state.keyMaps.length;Fe++){var Re=Zl(de,ie.state.keyMaps[Fe],ke,ie);if(Re)return Re}return ie.options.extraKeys&&Zl(de,ie.options.extraKeys,ke,ie)||Zl(de,ie.options.keyMap,ke,ie)}var mu=new at;function ac(ie,de,ke,Fe){var Re=ie.state.keySeq;if(Re){if(yh(de))return"handled";if(/\'$/.test(de)?ie.state.keySeq=null:mu.set(50,function(){ie.state.keySeq==Re&&(ie.state.keySeq=null,ie.display.input.reset())}),Jf(ie,Re+" "+de,ke,Fe))return!0}return Jf(ie,de,ke,Fe)}function Jf(ie,de,ke,Fe){var Re=Yh(ie,de,Fe);return Re=="multi"&&(ie.state.keySeq=de),Re=="handled"&&Or(ie,"keyHandled",ie,de,ke),(Re=="handled"||Re=="multi")&&(zn(ke),fa(ie)),!!Re}function Qf(ie,de){var ke=kd(de,!0);return ke?de.shiftKey&&!ie.state.keySeq?ac(ie,"Shift-"+ke,de,function(Fe){return Ac(ie,Fe,!0)})||ac(ie,ke,de,function(Fe){if(typeof Fe=="string"?/^go[A-Z]/.test(Fe):Fe.motion)return Ac(ie,Fe)}):ac(ie,ke,de,function(Fe){return Ac(ie,Fe)}):!1}function _f(ie,de,ke){return ac(ie,"'"+ke+"'",de,function(Fe){return Ac(ie,Fe,!0)})}var Jh=null;function Xp(ie){var de=this;if(!(ie.target&&ie.target!=de.display.input.getField())&&(de.curOp.focus=Ue(),!_t(de,ie))){Ne&&ge<11&&ie.keyCode==27&&(ie.returnValue=!1);var ke=ie.keyCode;de.display.shift=ke==16||ie.shiftKey;var Fe=Qf(de,ie);ye&&(Jh=Fe?ke:null,!Fe&&ke==88&&!xi&&(ae?ie.metaKey:ie.ctrlKey)&&de.replaceSelection("",null,"cut")),He&&!ae&&!Fe&&ke==46&&ie.shiftKey&&!ie.ctrlKey&&document.execCommand&&document.execCommand("cut"),ke==18&&!/\bCodeMirror-crosshair\b/.test(de.display.lineDiv.className)&&Yp(de)}}function Yp(ie){var de=ie.display.lineDiv;qe(de,"CodeMirror-crosshair");function ke(Fe){(Fe.keyCode==18||!Fe.altKey)&&(Ie(de,"CodeMirror-crosshair"),nn(document,"keyup",ke),nn(document,"mouseover",ke))}Wt(document,"keyup",ke),Wt(document,"mouseover",ke)}function Jp(ie){ie.keyCode==16&&(this.doc.sel.shift=!1),_t(this,ie)}function sc(ie){var de=this;if(!(ie.target&&ie.target!=de.display.input.getField())&&!(nl(de.display,ie)||_t(de,ie)||ie.ctrlKey&&!ie.altKey||ae&&ie.metaKey)){var ke=ie.keyCode,Fe=ie.charCode;if(ye&&ke==Jh){Jh=null,zn(ie);return}if(!(ye&&(!ie.which||ie.which<10)&&Qf(de,ie))){var Re=String.fromCharCode(Fe==null?ke:Fe);Re!="\b"&&(_f(de,ie,Re)||de.display.input.onKeyPress(ie))}}}var om=400,Qp=function(ie,de,ke){this.time=ie,this.pos=de,this.button=ke};Qp.prototype.compare=function(ie,de,ke){return this.time+om>ie&&Cn(de,this.pos)==0&&ke==this.button};var Id,Qh;function _p(ie,de){var ke=+new Date;return Qh&&Qh.compare(ke,ie,de)?(Id=Qh=null,"triple"):Id&&Id.compare(ke,ie,de)?(Qh=new Qp(ke,ie,de),Id=null,"double"):(Id=new Qp(ke,ie,de),Qh=null,"single")}function lc(ie){var de=this,ke=de.display;if(!(_t(de,ie)||ke.activeTouch&&ke.input.supportsTouch())){if(ke.input.ensurePolled(),ke.shift=ie.shiftKey,nl(ke,ie)){ce||(ke.scroller.draggable=!1,setTimeout(function(){return ke.scroller.draggable=!0},100));return}if(!ep(de,ie)){var Fe=rl(de,ie),Re=Mr(ie),st=Fe?_p(Fe,Re):"single";window.focus(),Re==1&&de.state.selectingText&&de.state.selectingText(ie),!(Fe&&$p(de,Re,Fe,st,ie))&&(Re==1?Fe?am(de,Fe,st,ie):Dr(ie)==ke.scroller&&zn(ie):Re==2?(Fe&&ta(de.doc,Fe),setTimeout(function(){return ke.input.focus()},20)):Re==3&&(Pe?de.display.input.onContextMenu(ie):Ja(de)))}}}function $p(ie,de,ke,Fe,Re){var st="Click";return Fe=="double"?st="Double"+st:Fe=="triple"&&(st="Triple"+st),st=(de==1?"Left":de==2?"Middle":"Right")+st,ac(ie,Od(st,Re),Re,function(Ct){if(typeof Ct=="string"&&(Ct=Ns[Ct]),!Ct)return!1;var Nt=!1;try{ie.isReadOnly()&&(ie.state.suppressEdits=!0),Nt=Ct(ie,ke)!=xt}finally{ie.state.suppressEdits=!1}return Nt})}function $f(ie,de,ke){var Fe=ie.getOption("configureMouse"),Re=Fe?Fe(ie,de,ke):{};if(Re.unit==null){var st=re?ke.shiftKey&&ke.metaKey:ke.altKey;Re.unit=st?"rectangle":de=="single"?"char":de=="double"?"word":"line"}return(Re.extend==null||ie.doc.extend)&&(Re.extend=ie.doc.extend||ke.shiftKey),Re.addNew==null&&(Re.addNew=ae?ke.metaKey:ke.ctrlKey),Re.moveOnDrag==null&&(Re.moveOnDrag=!(ae?ke.altKey:ke.ctrlKey)),Re}function am(ie,de,ke,Fe){Ne?setTimeout(ut(Oa,ie),0):ie.curOp.focus=Ue();var Re=$f(ie,ke,Fe),st=ie.doc.sel,Ct;ie.options.dragDrop&&Br&&!ie.isReadOnly()&&ke=="single"&&(Ct=st.contains(de))>-1&&(Cn((Ct=st.ranges[Ct]).from(),de)<0||de.xRel>0)&&(Cn(Ct.to(),de)>0||de.xRel<0)?qp(ie,Fe,de,Re):n0(ie,Fe,de,Re)}function qp(ie,de,ke,Fe){var Re=ie.display,st=!1,Ct=Wn(ie,function(Jt){ce&&(Re.scroller.draggable=!1),ie.state.draggingText=!1,nn(Re.wrapper.ownerDocument,"mouseup",Ct),nn(Re.wrapper.ownerDocument,"mousemove",Nt),nn(Re.scroller,"dragstart",Ot),nn(Re.scroller,"drop",Ct),st||(zn(Jt),Fe.addNew||ta(ie.doc,ke,null,null,Fe.extend),ce&&!De||Ne&&ge==9?setTimeout(function(){Re.wrapper.ownerDocument.body.focus({preventScroll:!0}),Re.input.focus()},20):Re.input.focus())}),Nt=function(Jt){st=st||Math.abs(de.clientX-Jt.clientX)+Math.abs(de.clientY-Jt.clientY)>=10},Ot=function(){return st=!0};ce&&(Re.scroller.draggable=!0),ie.state.draggingText=Ct,Ct.copy=!Fe.moveOnDrag,Re.scroller.dragDrop&&Re.scroller.dragDrop(),Wt(Re.wrapper.ownerDocument,"mouseup",Ct),Wt(Re.wrapper.ownerDocument,"mousemove",Nt),Wt(Re.scroller,"dragstart",Ot),Wt(Re.scroller,"drop",Ct),Ja(ie),setTimeout(function(){return Re.input.focus()},20)}function eg(ie,de,ke){if(ke=="char")return new ai(de,de);if(ke=="word")return ie.findWordAt(de);if(ke=="line")return new ai(sn(de.line,0),Fn(ie.doc,sn(de.line+1,0)));var Fe=ke(ie,de);return new ai(Fe.from,Fe.to)}function n0(ie,de,ke,Fe){var Re=ie.display,st=ie.doc;zn(de);var Ct,Nt,Ot=st.sel,Jt=Ot.ranges;if(Fe.addNew&&!Fe.extend?(Nt=st.sel.contains(ke),Nt>-1?Ct=Jt[Nt]:Ct=new ai(ke,ke)):(Ct=st.sel.primary(),Nt=st.sel.primIndex),Fe.unit=="rectangle")Fe.addNew||(Ct=new ai(ke,ke)),ke=rl(ie,de,!0,!0),Nt=-1;else{var Pn=eg(ie,ke,Fe.unit);Fe.extend?Ct=Ku(Ct,Pn.anchor,Pn.head,Fe.extend):Ct=Pn}Fe.addNew?Nt==-1?(Nt=Jt.length,va(st,yo(ie,Jt.concat([Ct]),Nt),{scroll:!1,origin:"*mouse"})):Jt.length>1&&Jt[Nt].empty()&&Fe.unit=="char"&&!Fe.extend?(va(st,yo(ie,Jt.slice(0,Nt).concat(Jt.slice(Nt+1)),0),{scroll:!1,origin:"*mouse"}),Ot=st.sel):pa(st,Nt,Ct,pt):(Nt=0,va(st,new to([Ct],0),pt),Ot=st.sel);var qt=ke;function Vn(Si){if(Cn(qt,Si)!=0)if(qt=Si,Fe.unit=="rectangle"){for(var Hi=[],So=ie.options.tabSize,vi=tt(cn(st,ke.line).text,ke.ch,So),No=tt(cn(st,Si.line).text,Si.ch,So),$a=Math.min(vi,No),Is=Math.max(vi,No),os=Math.min(ke.line,Si.line),Vl=Math.min(ie.lastLine(),Math.max(ke.line,Si.line));os<=Vl;os++){var vl=cn(st,os).text,Fs=Tt(vl,$a,So);$a==Is?Hi.push(new ai(sn(os,Fs),sn(os,Fs))):vl.length>Fs&&Hi.push(new ai(sn(os,Fs),sn(os,Tt(vl,Is,So))))}Hi.length||Hi.push(new ai(ke,ke)),va(st,yo(ie,Ot.ranges.slice(0,Nt).concat(Hi),Nt),{origin:"*mouse",scroll:!1}),ie.scrollIntoView(Si)}else{var iu=Ct,al=eg(ie,Si,Fe.unit),Ds=iu.anchor,sa;Cn(al.anchor,Ds)>0?(sa=al.head,Ds=yn(iu.from(),al.anchor)):(sa=al.anchor,Ds=vn(iu.to(),al.head));var hs=Ot.ranges.slice(0);hs[Nt]=sm(ie,new ai(Fn(st,Ds),sa)),va(st,yo(ie,hs,Nt),pt)}}var Rn=Re.wrapper.getBoundingClientRect(),yr=0;function Pr(Si){var Hi=++yr,So=rl(ie,Si,!0,Fe.unit=="rectangle");if(So)if(Cn(So,qt)!=0){ie.curOp.focus=Ue(),Vn(So);var vi=Wo(Re,st);(So.line>=vi.to||So.line<vi.from)&&setTimeout(Wn(ie,function(){yr==Hi&&Pr(Si)}),150)}else{var No=Si.clientY<Rn.top?-20:Si.clientY>Rn.bottom?20:0;No&&setTimeout(Wn(ie,function(){yr==Hi&&(Re.scroller.scrollTop+=No,Pr(Si))}),50)}}function Hr(Si){ie.state.selectingText=!1,yr=1/0,Si&&(zn(Si),Re.input.focus()),nn(Re.wrapper.ownerDocument,"mousemove",si),nn(Re.wrapper.ownerDocument,"mouseup",Ti),st.history.lastSelOrigin=null}var si=Wn(ie,function(Si){Si.buttons===0||!Mr(Si)?Hr(Si):Pr(Si)}),Ti=Wn(ie,Hr);ie.state.selectingText=Ti,Wt(Re.wrapper.ownerDocument,"mousemove",si),Wt(Re.wrapper.ownerDocument,"mouseup",Ti)}function sm(ie,de){var ke=de.anchor,Fe=de.head,Re=cn(ie.doc,ke.line);if(Cn(ke,Fe)==0&&ke.sticky==Fe.sticky)return de;var st=Kt(Re);if(!st)return de;var Ct=mt(st,ke.ch,ke.sticky),Nt=st[Ct];if(Nt.from!=ke.ch&&Nt.to!=ke.ch)return de;var Ot=Ct+(Nt.from==ke.ch==(Nt.level!=1)?0:1);if(Ot==0||Ot==st.length)return de;var Jt;if(Fe.line!=ke.line)Jt=(Fe.line-ke.line)*(ie.doc.direction=="ltr"?1:-1)>0;else{var Pn=mt(st,Fe.ch,Fe.sticky),qt=Pn-Ct||(Fe.ch-ke.ch)*(Nt.level==1?-1:1);Pn==Ot-1||Pn==Ot?Jt=qt<0:Jt=qt>0}var Vn=st[Ot+(Jt?-1:0)],Rn=Jt==(Vn.level==1),yr=Rn?Vn.from:Vn.to,Pr=Rn?"after":"before";return ke.ch==yr&&ke.sticky==Pr?de:new ai(new sn(ke.line,yr,Pr),Fe)}function qf(ie,de,ke,Fe){var Re,st;if(de.touches)Re=de.touches[0].clientX,st=de.touches[0].clientY;else try{Re=de.clientX,st=de.clientY}catch(Vn){return!1}if(Re>=Math.floor(ie.display.gutters.getBoundingClientRect().right))return!1;Fe&&zn(de);var Ct=ie.display,Nt=Ct.lineDiv.getBoundingClientRect();if(st>Nt.bottom||!on(ie,ke))return er(de);st-=Nt.top-Ct.viewOffset;for(var Ot=0;Ot<ie.display.gutterSpecs.length;++Ot){var Jt=Ct.gutters.childNodes[Ot];if(Jt&&Jt.getBoundingClientRect().right>=Re){var Pn=An(ie.doc,st),qt=ie.display.gutterSpecs[Ot];return Bt(ie,ke,ie,Pn,qt.className,de),er(de)}}}function ep(ie,de){return qf(ie,de,"gutterClick",!0)}function tp(ie,de){nl(ie.display,de)||lm(ie,de)||_t(ie,de,"contextmenu")||Pe||ie.display.input.onContextMenu(de)}function lm(ie,de){return on(ie,"gutterContextMenu")?qf(ie,de,"gutterContextMenu",!1):!1}function np(ie){ie.display.wrapper.className=ie.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+ie.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Ha(ie)}var Sh={toString:function(){return"CodeMirror.Init"}},tg={},gf={};function um(ie){var de=ie.optionHandlers;function ke(Fe,Re,st,Ct){ie.defaults[Fe]=Re,st&&(de[Fe]=Ct?function(Nt,Ot,Jt){Jt!=Sh&&st(Nt,Ot,Jt)}:st)}ie.defineOption=ke,ie.Init=Sh,ke("value","",function(Fe,Re){return Fe.setValue(Re)},!0),ke("mode",null,function(Fe,Re){Fe.doc.modeOption=Re,Gi(Fe)},!0),ke("indentUnit",2,Gi,!0),ke("indentWithTabs",!1),ke("smartIndent",!0),ke("tabSize",4,function(Fe){Xo(Fe),Ha(Fe),xa(Fe)},!0),ke("lineSeparator",null,function(Fe,Re){if(Fe.doc.lineSep=Re,!!Re){var st=[],Ct=Fe.doc.first;Fe.doc.iter(function(Ot){for(var Jt=0;;){var Pn=Ot.text.indexOf(Re,Jt);if(Pn==-1)break;Jt=Pn+Re.length,st.push(sn(Ct,Pn))}Ct++});for(var Nt=st.length-1;Nt>=0;Nt--)Vu(Fe.doc,Re,st[Nt],sn(st[Nt].line,st[Nt].ch+Re.length))}}),ke("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(Fe,Re,st){Fe.state.specialChars=new RegExp(Re.source+(Re.test(" ")?"":"| "),"g"),st!=Sh&&Fe.refresh()}),ke("specialCharPlaceholder",ha,function(Fe){return Fe.refresh()},!0),ke("electricChars",!0),ke("inputStyle",ee?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ke("spellcheck",!1,function(Fe,Re){return Fe.getInputField().spellcheck=Re},!0),ke("autocorrect",!1,function(Fe,Re){return Fe.getInputField().autocorrect=Re},!0),ke("autocapitalize",!1,function(Fe,Re){return Fe.getInputField().autocapitalize=Re},!0),ke("rtlMoveVisually",!le),ke("wholeLineUpdateBefore",!0),ke("theme","default",function(Fe){np(Fe),ci(Fe)},!0),ke("keyMap","default",function(Fe,Re,st){var Ct=Ec(Re),Nt=st!=Sh&&Ec(st);Nt&&Nt.detach&&Nt.detach(Fe,Ct),Ct.attach&&Ct.attach(Fe,Nt||null)}),ke("extraKeys",null),ke("configureMouse",null),ke("lineWrapping",!1,cm,!0),ke("gutters",[],function(Fe,Re){Fe.display.gutterSpecs=Di(Re,Fe.options.lineNumbers),ci(Fe)},!0),ke("fixedGutter",!0,function(Fe,Re){Fe.display.gutters.style.left=Re?ph(Fe.display)+"px":"0",Fe.refresh()},!0),ke("coverGutterNextToScrollbar",!1,function(Fe){return wc(Fe)},!0),ke("scrollbarStyle","native",function(Fe){uf(Fe),wc(Fe),Fe.display.scrollbars.setScrollTop(Fe.doc.scrollTop),Fe.display.scrollbars.setScrollLeft(Fe.doc.scrollLeft)},!0),ke("lineNumbers",!1,function(Fe,Re){Fe.display.gutterSpecs=Di(Fe.options.gutters,Re),ci(Fe)},!0),ke("firstLineNumber",1,ci,!0),ke("lineNumberFormatter",function(Fe){return Fe},ci,!0),ke("showCursorWhenSelecting",!1,bs,!0),ke("resetSelectionOnContextMenu",!0),ke("lineWiseCopyCut",!0),ke("pasteLinesPerSelection",!0),ke("selectionsMayTouch",!1),ke("readOnly",!1,function(Fe,Re){Re=="nocursor"&&(Xc(Fe),Fe.display.input.blur()),Fe.display.input.readOnlyChanged(Re)}),ke("screenReaderLabel",null,function(Fe,Re){Re=Re===""?null:Re,Fe.display.input.screenReaderLabelChanged(Re)}),ke("disableInput",!1,function(Fe,Re){Re||Fe.display.input.reset()},!0),ke("dragDrop",!0,rp),ke("allowDropFileTypes",null),ke("cursorBlinkRate",530),ke("cursorScrollMargin",0),ke("cursorHeight",1,bs,!0),ke("singleCursorHeightPerLine",!0,bs,!0),ke("workTime",100),ke("workDelay",100),ke("flattenSpans",!0,Xo,!0),ke("addModeClass",!1,Xo,!0),ke("pollInterval",100),ke("undoDepth",200,function(Fe,Re){return Fe.doc.history.undoDepth=Re}),ke("historyEventDelay",1250),ke("viewportMargin",10,function(Fe){return Fe.refresh()},!0),ke("maxHighlightLength",1e4,Xo,!0),ke("moveInputWithCursor",!0,function(Fe,Re){Re||Fe.display.input.resetPosition()}),ke("tabindex",null,function(Fe,Re){return Fe.display.input.getField().tabIndex=Re||""}),ke("autofocus",null),ke("direction","ltr",function(Fe,Re){return Fe.doc.setDirection(Re)},!0),ke("phrases",null)}function rp(ie,de,ke){var Fe=ke&&ke!=Sh;if(!de!=!Fe){var Re=ie.display.dragFunctions,st=de?Wt:nn;st(ie.display.scroller,"dragstart",Re.start),st(ie.display.scroller,"dragenter",Re.enter),st(ie.display.scroller,"dragover",Re.over),st(ie.display.scroller,"dragleave",Re.leave),st(ie.display.scroller,"drop",Re.drop)}}function cm(ie){ie.options.lineWrapping?(qe(ie.display.wrapper,"CodeMirror-wrap"),ie.display.sizer.style.minWidth="",ie.display.sizerWidth=null):(Ie(ie.display.wrapper,"CodeMirror-wrap"),lo(ie)),Zi(ie),xa(ie),Ha(ie),setTimeout(function(){return wc(ie)},100)}function ia(ie,de){var ke=this;if(!(this instanceof ia))return new ia(ie,de);this.options=de=de?vt(de):{},vt(tg,de,!1);var Fe=de.value;typeof Fe=="string"?Fe=new Ls(Fe,de.mode,null,de.lineSeparator,de.direction):de.mode&&(Fe.modeOption=de.mode),this.doc=Fe;var Re=new ia.inputStyles[de.inputStyle](this),st=this.display=new Ai(ie,Fe,Re,de);st.wrapper.CodeMirror=this,np(this),de.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),uf(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new at,keySeq:null,specialChars:null},de.autofocus&&!ee&&st.input.focus(),Ne&&ge<11&&setTimeout(function(){return ke.display.input.reset(!0)},20),jd(this),Gl(),fl(this),this.curOp.forceUpdate=!0,no(this,Fe),de.autofocus&&!ee||this.hasFocus()?setTimeout(function(){ke.hasFocus()&&!ke.state.focused&&Yo(ke)},20):Xc(this);for(var Ct in gf)gf.hasOwnProperty(Ct)&&gf[Ct](this,de[Ct],Sh);oi(this),de.finishInit&&de.finishInit(this);for(var Nt=0;Nt<_h.length;++Nt)_h[Nt](this);bc(this),ce&&de.lineWrapping&&getComputedStyle(st.lineDiv).textRendering=="optimizelegibility"&&(st.lineDiv.style.textRendering="auto")}ia.defaults=tg,ia.optionHandlers=gf;function jd(ie){var de=ie.display;Wt(de.scroller,"mousedown",Wn(ie,lc)),Ne&&ge<11?Wt(de.scroller,"dblclick",Wn(ie,function(Ot){if(!_t(ie,Ot)){var Jt=rl(ie,Ot);if(!(!Jt||ep(ie,Ot)||nl(ie.display,Ot))){zn(Ot);var Pn=ie.findWordAt(Jt);ta(ie.doc,Pn.anchor,Pn.head)}}})):Wt(de.scroller,"dblclick",function(Ot){return _t(ie,Ot)||zn(Ot)}),Wt(de.scroller,"contextmenu",function(Ot){return tp(ie,Ot)}),Wt(de.input.getField(),"contextmenu",function(Ot){de.scroller.contains(Ot.target)||tp(ie,Ot)});var ke,Fe={end:0};function Re(){de.activeTouch&&(ke=setTimeout(function(){return de.activeTouch=null},1e3),Fe=de.activeTouch,Fe.end=+new Date)}function st(Ot){if(Ot.touches.length!=1)return!1;var Jt=Ot.touches[0];return Jt.radiusX<=1&&Jt.radiusY<=1}function Ct(Ot,Jt){if(Jt.left==null)return!0;var Pn=Jt.left-Ot.left,qt=Jt.top-Ot.top;return Pn*Pn+qt*qt>20*20}Wt(de.scroller,"touchstart",function(Ot){if(!_t(ie,Ot)&&!st(Ot)&&!ep(ie,Ot)){de.input.ensurePolled(),clearTimeout(ke);var Jt=+new Date;de.activeTouch={start:Jt,moved:!1,prev:Jt-Fe.end<=300?Fe:null},Ot.touches.length==1&&(de.activeTouch.left=Ot.touches[0].pageX,de.activeTouch.top=Ot.touches[0].pageY)}}),Wt(de.scroller,"touchmove",function(){de.activeTouch&&(de.activeTouch.moved=!0)}),Wt(de.scroller,"touchend",function(Ot){var Jt=de.activeTouch;if(Jt&&!nl(de,Ot)&&Jt.left!=null&&!Jt.moved&&new Date-Jt.start<300){var Pn=ie.coordsChar(de.activeTouch,"page"),qt;!Jt.prev||Ct(Jt,Jt.prev)?qt=new ai(Pn,Pn):!Jt.prev.prev||Ct(Jt,Jt.prev.prev)?qt=ie.findWordAt(Pn):qt=new ai(sn(Pn.line,0),Fn(ie.doc,sn(Pn.line+1,0))),ie.setSelection(qt.anchor,qt.head),ie.focus(),zn(Ot)}Re()}),Wt(de.scroller,"touchcancel",Re),Wt(de.scroller,"scroll",function(){de.scroller.clientHeight&&(Jc(ie,de.scroller.scrollTop),Zu(ie,de.scroller.scrollLeft,!0),Bt(ie,"scroll",ie))}),Wt(de.scroller,"mousewheel",function(Ot){return $i(ie,Ot)}),Wt(de.scroller,"DOMMouseScroll",function(Ot){return $i(ie,Ot)}),Wt(de.wrapper,"scroll",function(){return de.wrapper.scrollTop=de.wrapper.scrollLeft=0}),de.dragFunctions={enter:function(Ot){_t(ie,Ot)||ur(Ot)},over:function(Ot){_t(ie,Ot)||(df(ie,Ot),ur(Ot))},start:function(Ot){return Xh(ie,Ot)},drop:Wn(ie,Ld),leave:function(Ot){_t(ie,Ot)||Yf(ie)}};var Nt=de.input.getField();Wt(Nt,"keyup",function(Ot){return Jp.call(ie,Ot)}),Wt(Nt,"keydown",Wn(ie,Xp)),Wt(Nt,"keypress",Wn(ie,sc)),Wt(Nt,"focus",function(Ot){return Yo(ie,Ot)}),Wt(Nt,"blur",function(Ot){return Xc(ie,Ot)})}var _h=[];ia.defineInitHook=function(ie){return _h.push(ie)};function Bs(ie,de,ke,Fe){var Re=ie.doc,st;ke==null&&(ke="add"),ke=="smart"&&(Re.mode.indent?st=Nr(ie,de).state:ke="prev");var Ct=ie.options.tabSize,Nt=cn(Re,de),Ot=tt(Nt.text,null,Ct);Nt.stateAfter&&(Nt.stateAfter=null);var Jt=Nt.text.match(/^\s*/)[0],Pn;if(!Fe&&!/\S/.test(Nt.text))Pn=0,ke="not";else if(ke=="smart"&&(Pn=Re.mode.indent(st,Nt.text.slice(Jt.length),Nt.text),Pn==xt||Pn>150)){if(!Fe)return;ke="prev"}ke=="prev"?de>Re.first?Pn=tt(cn(Re,de-1).text,null,Ct):Pn=0:ke=="add"?Pn=Ot+ie.options.indentUnit:ke=="subtract"?Pn=Ot-ie.options.indentUnit:typeof ke=="number"&&(Pn=Ot+ke),Pn=Math.max(0,Pn);var qt="",Vn=0;if(ie.options.indentWithTabs)for(var Rn=Math.floor(Pn/Ct);Rn;--Rn)Vn+=Ct,qt+=" ";if(Vn<Pn&&(qt+=Gt(Pn-Vn)),qt!=Jt)return Vu(Re,qt,sn(de,0),sn(de,Jt.length),"+input"),Nt.stateAfter=null,!0;for(var yr=0;yr<Re.sel.ranges.length;yr++){var Pr=Re.sel.ranges[yr];if(Pr.head.line==de&&Pr.head.ch<Jt.length){var Hr=sn(de,Jt.length);pa(Re,yr,new ai(Hr,Hr));break}}}var Kl=null;function $h(ie){Kl=ie}function mf(ie,de,ke,Fe,Re){var st=ie.doc;ie.display.shift=!1,Fe||(Fe=st.sel);var Ct=+new Date-200,Nt=Re=="paste"||ie.state.pasteIncoming>Ct,Ot=Er(de),Jt=null;if(Nt&&Fe.ranges.length>1)if(Kl&&Kl.text.join(`
`)==de){if(Fe.ranges.length%Kl.text.length==0){Jt=[];for(var Pn=0;Pn<Kl.text.length;Pn++)Jt.push(st.splitLines(Kl.text[Pn]))}}else Ot.length==Fe.ranges.length&&ie.options.pasteLinesPerSelection&&(Jt=bt(Ot,function(si){return[si]}));for(var qt=ie.curOp.updateInput,Vn=Fe.ranges.length-1;Vn>=0;Vn--){var Rn=Fe.ranges[Vn],yr=Rn.from(),Pr=Rn.to();Rn.empty()&&(ke&&ke>0?yr=sn(yr.line,yr.ch-ke):ie.state.overwrite&&!Nt?Pr=sn(Pr.line,Math.min(cn(st,Pr.line).text.length,Pr.ch+wt(Ot).length)):Nt&&Kl&&Kl.lineWise&&Kl.text.join(`
`)==Ot.join(`
`)&&(yr=Pr=sn(yr.line,0)));var Hr={from:yr,to:Pr,text:Jt?Jt[Vn%Jt.length]:Ot,origin:Re||(Nt?"paste":ie.state.cutIncoming>Ct?"cut":"+input")};Za(ie.doc,Hr),Or(ie,"inputRead",ie,Hr)}de&&!Nt&&rg(ie,de),Sc(ie),ie.curOp.updateInput<2&&(ie.curOp.updateInput=qt),ie.curOp.typing=!0,ie.state.pasteIncoming=ie.state.cutIncoming=-1}function ng(ie,de){var ke=ie.clipboardData&&ie.clipboardData.getData("Text");if(ke)return ie.preventDefault(),!de.isReadOnly()&&!de.options.disableInput&&mn(de,function(){return mf(de,ke,0,null,"paste")}),!0}function rg(ie,de){if(!(!ie.options.electricChars||!ie.options.smartIndent))for(var ke=ie.doc.sel,Fe=ke.ranges.length-1;Fe>=0;Fe--){var Re=ke.ranges[Fe];if(!(Re.head.ch>100||Fe&&ke.ranges[Fe-1].head.line==Re.head.line)){var st=ie.getModeAt(Re.head),Ct=!1;if(st.electricChars){for(var Nt=0;Nt<st.electricChars.length;Nt++)if(de.indexOf(st.electricChars.charAt(Nt))>-1){Ct=Bs(ie,Re.head.line,"smart");break}}else st.electricInput&&st.electricInput.test(cn(ie.doc,Re.head.line).text.slice(0,Re.head.ch))&&(Ct=Bs(ie,Re.head.line,"smart"));Ct&&Or(ie,"electricInput",ie,Re.head.line)}}}function ig(ie){for(var de=[],ke=[],Fe=0;Fe<ie.doc.sel.ranges.length;Fe++){var Re=ie.doc.sel.ranges[Fe].head.line,st={anchor:sn(Re,0),head:sn(Re+1,0)};ke.push(st),de.push(ie.getRange(st.anchor,st.head))}return{text:de,ranges:ke}}function og(ie,de,ke,Fe){ie.setAttribute("autocorrect",ke?"":"off"),ie.setAttribute("autocapitalize",Fe?"":"off"),ie.setAttribute("spellcheck",!!de)}function ag(){var ie=Te("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),de=Te("div",[ie],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return ce?ie.style.width="1000px":ie.setAttribute("wrap","off"),fe&&(ie.style.border="1px solid black"),og(ie),de}function xh(ie){var de=ie.optionHandlers,ke=ie.helpers={};ie.prototype={constructor:ie,focus:function(){window.focus(),this.display.input.focus()},setOption:function(Fe,Re){var st=this.options,Ct=st[Fe];st[Fe]==Re&&Fe!="mode"||(st[Fe]=Re,de.hasOwnProperty(Fe)&&Wn(this,de[Fe])(this,Re,Ct),Bt(this,"optionChange",this,Fe))},getOption:function(Fe){return this.options[Fe]},getDoc:function(){return this.doc},addKeyMap:function(Fe,Re){this.state.keyMaps[Re?"push":"unshift"](Ec(Fe))},removeKeyMap:function(Fe){for(var Re=this.state.keyMaps,st=0;st<Re.length;++st)if(Re[st]==Fe||Re[st].name==Fe)return Re.splice(st,1),!0},addOverlay:Hn(function(Fe,Re){var st=Fe.token?Fe:ie.getMode(this.options,Fe);if(st.startState)throw new Error("Overlays may not be stateful.");it(this.state.overlays,{mode:st,modeSpec:Fe,opaque:Re&&Re.opaque,priority:Re&&Re.priority||0},function(Ct){return Ct.priority}),this.state.modeGen++,xa(this)}),removeOverlay:Hn(function(Fe){for(var Re=this.state.overlays,st=0;st<Re.length;++st){var Ct=Re[st].modeSpec;if(Ct==Fe||typeof Fe=="string"&&Ct.name==Fe){Re.splice(st,1),this.state.modeGen++,xa(this);return}}}),indentLine:Hn(function(Fe,Re,st){typeof Re!="string"&&typeof Re!="number"&&(Re==null?Re=this.options.smartIndent?"smart":"prev":Re=Re?"add":"subtract"),Kn(this.doc,Fe)&&Bs(this,Fe,Re,st)}),indentSelection:Hn(function(Fe){for(var Re=this.doc.sel.ranges,st=-1,Ct=0;Ct<Re.length;Ct++){var Nt=Re[Ct];if(Nt.empty())Nt.head.line>st&&(Bs(this,Nt.head.line,Fe,!0),st=Nt.head.line,Ct==this.doc.sel.primIndex&&Sc(this));else{var Ot=Nt.from(),Jt=Nt.to(),Pn=Math.max(st,Ot.line);st=Math.min(this.lastLine(),Jt.line-(Jt.ch?0:1))+1;for(var qt=Pn;qt<st;++qt)Bs(this,qt,Fe);var Vn=this.doc.sel.ranges;Ot.ch==0&&Re.length==Vn.length&&Vn[Ct].from().ch>0&&pa(this.doc,Ct,new ai(Ot,Vn[Ct].to()),ft)}}}),getTokenAt:function(Fe,Re){return fr(this,Fe,Re)},getLineTokens:function(Fe,Re){return fr(this,sn(Fe),Re,!0)},getTokenTypeAt:function(Fe){Fe=Fn(this.doc,Fe);var Re=Ur(this,cn(this.doc,Fe.line)),st=0,Ct=(Re.length-1)/2,Nt=Fe.ch,Ot;if(Nt==0)Ot=Re[2];else for(;;){var Jt=st+Ct>>1;if((Jt?Re[Jt*2-1]:0)>=Nt)Ct=Jt;else if(Re[Jt*2+1]<Nt)st=Jt+1;else{Ot=Re[Jt*2+2];break}}var Pn=Ot?Ot.indexOf("overlay "):-1;return Pn<0?Ot:Pn==0?null:Ot.slice(0,Pn-1)},getModeAt:function(Fe){var Re=this.doc.mode;return Re.innerMode?ie.innerMode(Re,this.getTokenAt(Fe).state).mode:Re},getHelper:function(Fe,Re){return this.getHelpers(Fe,Re)[0]},getHelpers:function(Fe,Re){var st=[];if(!ke.hasOwnProperty(Re))return st;var Ct=ke[Re],Nt=this.getModeAt(Fe);if(typeof Nt[Re]=="string")Ct[Nt[Re]]&&st.push(Ct[Nt[Re]]);else if(Nt[Re])for(var Ot=0;Ot<Nt[Re].length;Ot++){var Jt=Ct[Nt[Re][Ot]];Jt&&st.push(Jt)}else Nt.helperType&&Ct[Nt.helperType]?st.push(Ct[Nt.helperType]):Ct[Nt.name]&&st.push(Ct[Nt.name]);for(var Pn=0;Pn<Ct._global.length;Pn++){var qt=Ct._global[Pn];qt.pred(Nt,this)&&dt(st,qt.val)==-1&&st.push(qt.val)}return st},getStateAfter:function(Fe,Re){var st=this.doc;return Fe=Tn(st,Fe==null?st.first+st.size-1:Fe),Nr(this,Fe+1,Re).state},cursorCoords:function(Fe,Re){var st,Ct=this.doc.sel.primary();return Fe==null?st=Ct.head:typeof Fe=="object"?st=Fn(this.doc,Fe):st=Fe?Ct.from():Ct.to(),Da(this,st,Re||"page")},charCoords:function(Fe,Re){return Rl(this,Fn(this.doc,Fe),Re||"page")},coordsChar:function(Fe,Re){return Fe=Wu(this,Fe,Re||"page"),Kc(this,Fe.left,Fe.top)},lineAtHeight:function(Fe,Re){return Fe=Wu(this,{top:Fe,left:0},Re||"page").top,An(this.doc,Fe+this.display.viewOffset)},heightAtLine:function(Fe,Re,st){var Ct=!1,Nt;if(typeof Fe=="number"){var Ot=this.doc.first+this.doc.size-1;Fe<this.doc.first?Fe=this.doc.first:Fe>Ot&&(Fe=Ot,Ct=!0),Nt=cn(this.doc,Fe)}else Nt=Fe;return Ua(this,Nt,{top:0,left:0},Re||"page",st||Ct).top+(Ct?this.doc.height-qi(Nt):0)},defaultTextHeight:function(){return Uu(this.display)},defaultCharWidth:function(){return ic(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(Fe,Re,st,Ct,Nt){var Ot=this.display;Fe=Da(this,Fn(this.doc,Fe));var Jt=Fe.bottom,Pn=Fe.left;if(Re.style.position="absolute",Re.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(Re),Ot.sizer.appendChild(Re),Ct=="over")Jt=Fe.top;else if(Ct=="above"||Ct=="near"){var qt=Math.max(Ot.wrapper.clientHeight,this.doc.height),Vn=Math.max(Ot.sizer.clientWidth,Ot.lineSpace.clientWidth);(Ct=="above"||Fe.bottom+Re.offsetHeight>qt)&&Fe.top>Re.offsetHeight?Jt=Fe.top-Re.offsetHeight:Fe.bottom+Re.offsetHeight<=qt&&(Jt=Fe.bottom),Pn+Re.offsetWidth>Vn&&(Pn=Vn-Re.offsetWidth)}Re.style.top=Jt+"px",Re.style.left=Re.style.right="",Nt=="right"?(Pn=Ot.sizer.clientWidth-Re.offsetWidth,Re.style.right="0px"):(Nt=="left"?Pn=0:Nt=="middle"&&(Pn=(Ot.sizer.clientWidth-Re.offsetWidth)/2),Re.style.left=Pn+"px"),st&&Kh(this,{left:Pn,top:Jt,right:Pn+Re.offsetWidth,bottom:Jt+Re.offsetHeight})},triggerOnKeyDown:Hn(Xp),triggerOnKeyPress:Hn(sc),triggerOnKeyUp:Jp,triggerOnMouseDown:Hn(lc),execCommand:function(Fe){if(Ns.hasOwnProperty(Fe))return Ns[Fe].call(null,this)},triggerElectric:Hn(function(Fe){rg(this,Fe)}),findPosH:function(Fe,Re,st,Ct){var Nt=1;Re<0&&(Nt=-1,Re=-Re);for(var Ot=Fn(this.doc,Fe),Jt=0;Jt<Re&&(Ot=vf(this.doc,Ot,Nt,st,Ct),!Ot.hitSide);++Jt);return Ot},moveH:Hn(function(Fe,Re){var st=this;this.extendSelectionsBy(function(Ct){return st.display.shift||st.doc.extend||Ct.empty()?vf(st.doc,Ct.head,Fe,Re,st.options.rtlMoveVisually):Fe<0?Ct.from():Ct.to()},yt)}),deleteH:Hn(function(Fe,Re){var st=this.doc.sel,Ct=this.doc;st.somethingSelected()?Ct.replaceSelection("",null,"+delete"):ol(this,function(Nt){var Ot=vf(Ct,Nt.head,Fe,Re,!1);return Fe<0?{from:Ot,to:Nt.head}:{from:Nt.head,to:Ot}})}),findPosV:function(Fe,Re,st,Ct){var Nt=1,Ot=Ct;Re<0&&(Nt=-1,Re=-Re);for(var Jt=Fn(this.doc,Fe),Pn=0;Pn<Re;++Pn){var qt=Da(this,Jt,"div");if(Ot==null?Ot=qt.left:qt.left=Ot,Jt=wh(this,qt,Nt,st),Jt.hitSide)break}return Jt},moveV:Hn(function(Fe,Re){var st=this,Ct=this.doc,Nt=[],Ot=!this.display.shift&&!Ct.extend&&Ct.sel.somethingSelected();if(Ct.extendSelectionsBy(function(Pn){if(Ot)return Fe<0?Pn.from():Pn.to();var qt=Da(st,Pn.head,"div");Pn.goalColumn!=null&&(qt.left=Pn.goalColumn),Nt.push(qt.left);var Vn=wh(st,qt,Fe,Re);return Re=="page"&&Pn==Ct.sel.primary()&&Ed(st,Rl(st,Vn,"div").top-qt.top),Vn},yt),Nt.length)for(var Jt=0;Jt<Ct.sel.ranges.length;Jt++)Ct.sel.ranges[Jt].goalColumn=Nt[Jt]}),findWordAt:function(Fe){var Re=this.doc,st=cn(Re,Fe.line).text,Ct=Fe.ch,Nt=Fe.ch;if(st){var Ot=this.getHelper(Fe,"wordChars");(Fe.sticky=="before"||Nt==st.length)&&Ct?--Ct:++Nt;for(var Jt=st.charAt(Ct),Pn=Je(Jt,Ot)?function(qt){return Je(qt,Ot)}:/\s/.test(Jt)?function(qt){return/\s/.test(qt)}:function(qt){return!/\s/.test(qt)&&!Je(qt)};Ct>0&&Pn(st.charAt(Ct-1));)--Ct;for(;Nt<st.length&&Pn(st.charAt(Nt));)++Nt}return new ai(sn(Fe.line,Ct),sn(Fe.line,Nt))},toggleOverwrite:function(Fe){Fe!=null&&Fe==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?qe(this.display.cursorDiv,"CodeMirror-overwrite"):Ie(this.display.cursorDiv,"CodeMirror-overwrite"),Bt(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Ue()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Hn(function(Fe,Re){Yc(this,Fe,Re)}),getScrollInfo:function(){var Fe=this.display.scroller;return{left:Fe.scrollLeft,top:Fe.scrollTop,height:Fe.scrollHeight-Ws(this)-this.display.barHeight,width:Fe.scrollWidth-Ws(this)-this.display.barWidth,clientHeight:Hc(this),clientWidth:dl(this)}},scrollIntoView:Hn(function(Fe,Re){Fe==null?(Fe={from:this.doc.sel.primary().head,to:null},Re==null&&(Re=this.options.cursorScrollMargin)):typeof Fe=="number"?Fe={from:sn(Fe,0),to:null}:Fe.from==null&&(Fe={from:Fe,to:null}),Fe.to||(Fe.to=Fe.from),Fe.margin=Re||0,Fe.from.line!=null?Jo(this,Fe):sf(this,Fe.from,Fe.to,Fe.margin)}),setSize:Hn(function(Fe,Re){var st=this,Ct=function(Ot){return typeof Ot=="number"||/^\d+$/.test(String(Ot))?Ot+"px":Ot};Fe!=null&&(this.display.wrapper.style.width=Ct(Fe)),Re!=null&&(this.display.wrapper.style.height=Ct(Re)),this.options.lineWrapping&&_a(this);var Nt=this.display.viewFrom;this.doc.iter(Nt,this.display.viewTo,function(Ot){if(Ot.widgets){for(var Jt=0;Jt<Ot.widgets.length;Jt++)if(Ot.widgets[Jt].noHScroll){Mo(st,Nt,"widget");break}}++Nt}),this.curOp.forceUpdate=!0,Bt(this,"refresh",this)}),operation:function(Fe){return mn(this,Fe)},startOperation:function(){return fl(this)},endOperation:function(){return bc(this)},refresh:Hn(function(){var Fe=this.display.cachedTextHeight;xa(this),this.curOp.forceUpdate=!0,Ha(this),Yc(this,this.doc.scrollLeft,this.doc.scrollTop),fi(this.display),(Fe==null||Math.abs(Fe-Uu(this.display))>.5||this.options.lineWrapping)&&Zi(this),Bt(this,"refresh",this)}),swapDoc:Hn(function(Fe){var Re=this.doc;return Re.cm=null,this.state.selectingText&&this.state.selectingText(),no(this,Fe),Ha(this),this.display.input.reset(),Yc(this,Fe.scrollLeft,Fe.scrollTop),this.curOp.forceScroll=!0,Or(this,"swapDoc",this,Re),Re}),phrase:function(Fe){var Re=this.options.phrases;return Re&&Object.prototype.hasOwnProperty.call(Re,Fe)?Re[Fe]:Fe},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},xn(ie),ie.registerHelper=function(Fe,Re,st){ke.hasOwnProperty(Fe)||(ke[Fe]=ie[Fe]={_global:[]}),ke[Fe][Re]=st},ie.registerGlobalHelper=function(Fe,Re,st,Ct){ie.registerHelper(Fe,Re,Ct),ke[Fe]._global.push({pred:st,val:Ct})}}function vf(ie,de,ke,Fe,Re){var st=de,Ct=ke,Nt=cn(ie,de.line),Ot=Re&&ie.direction=="rtl"?-ke:ke;function Jt(){var Ti=de.line+Ot;return Ti<ie.first||Ti>=ie.first+ie.size?!1:(de=new sn(Ti,de.ch,de.sticky),Nt=cn(ie,Ti))}function Pn(Ti){var Si;if(Fe=="codepoint"){var Hi=Nt.text.charCodeAt(de.ch+(Fe>0?0:-1));isNaN(Hi)?Si=null:Si=new sn(de.line,Math.max(0,Math.min(Nt.text.length,de.ch+ke*(Hi>=55296&&Hi<56320?2:1))),-ke)}else Re?Si=Fa(ie.cm,Nt,de,ke):Si=cs(Nt,de,ke);if(Si==null)if(!Ti&&Jt())de=na(Re,ie.cm,Nt,de.line,Ot);else return!1;else de=Si;return!0}if(Fe=="char"||Fe=="codepoint")Pn();else if(Fe=="column")Pn(!0);else if(Fe=="word"||Fe=="group")for(var qt=null,Vn=Fe=="group",Rn=ie.cm&&ie.cm.getHelper(de,"wordChars"),yr=!0;!(ke<0&&!Pn(!yr));yr=!1){var Pr=Nt.text.charAt(de.ch)||`
`,Hr=Je(Pr,Rn)?"w":Vn&&Pr==`
`?"n":!Vn||/\s/.test(Pr)?null:"p";if(Vn&&!yr&&!Hr&&(Hr="s"),qt&&qt!=Hr){ke<0&&(ke=1,Pn(),de.sticky="after");break}if(Hr&&(qt=Hr),ke>0&&!Pn(!yr))break}var si=eu(ie,de,st,Ct,!0);return rn(st,si)&&(si.hitSide=!0),si}function wh(ie,de,ke,Fe){var Re=ie.doc,st=de.left,Ct;if(Fe=="page"){var Nt=Math.min(ie.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Ot=Math.max(Nt-.5*Uu(ie.display),3);Ct=(ke>0?de.bottom:de.top)+ke*Ot}else Fe=="line"&&(Ct=ke>0?de.bottom+3:de.top-3);for(var Jt;Jt=Kc(ie,st,Ct),!!Jt.outside;){if(ke<0?Ct<=0:Ct>=Re.height){Jt.hitSide=!0;break}Ct+=ke*5}return Jt}var Ba=function(ie){this.cm=ie,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new at,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Ba.prototype.init=function(ie){var de=this,ke=this,Fe=ke.cm,Re=ke.div=ie.lineDiv;og(Re,Fe.options.spellcheck,Fe.options.autocorrect,Fe.options.autocapitalize);function st(Nt){for(var Ot=Nt.target;Ot;Ot=Ot.parentNode){if(Ot==Re)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ot.className))break}return!1}Wt(Re,"paste",function(Nt){!st(Nt)||_t(Fe,Nt)||ng(Nt,Fe)||ge<=11&&setTimeout(Wn(Fe,function(){return de.updateFromDOM()}),20)}),Wt(Re,"compositionstart",function(Nt){de.composing={data:Nt.data,done:!1}}),Wt(Re,"compositionupdate",function(Nt){de.composing||(de.composing={data:Nt.data,done:!1})}),Wt(Re,"compositionend",function(Nt){de.composing&&(Nt.data!=de.composing.data&&de.readFromDOMSoon(),de.composing.done=!0)}),Wt(Re,"touchstart",function(){return ke.forceCompositionEnd()}),Wt(Re,"input",function(){de.composing||de.readFromDOMSoon()});function Ct(Nt){if(!(!st(Nt)||_t(Fe,Nt))){if(Fe.somethingSelected())$h({lineWise:!1,text:Fe.getSelections()}),Nt.type=="cut"&&Fe.replaceSelection("",null,"cut");else if(Fe.options.lineWiseCopyCut){var Ot=ig(Fe);$h({lineWise:!0,text:Ot.text}),Nt.type=="cut"&&Fe.operation(function(){Fe.setSelections(Ot.ranges,0,ft),Fe.replaceSelection("",null,"cut")})}else return;if(Nt.clipboardData){Nt.clipboardData.clearData();var Jt=Kl.text.join(`
`);if(Nt.clipboardData.setData("Text",Jt),Nt.clipboardData.getData("Text")==Jt){Nt.preventDefault();return}}var Pn=ag(),qt=Pn.firstChild;Fe.display.lineSpace.insertBefore(Pn,Fe.display.lineSpace.firstChild),qt.value=Kl.text.join(`
`);var Vn=document.activeElement;lt(qt),setTimeout(function(){Fe.display.lineSpace.removeChild(Pn),Vn.focus(),Vn==Re&&ke.showPrimarySelection()},50)}}Wt(Re,"copy",Ct),Wt(Re,"cut",Ct)},Ba.prototype.screenReaderLabelChanged=function(ie){ie?this.div.setAttribute("aria-label",ie):this.div.removeAttribute("aria-label")},Ba.prototype.prepareSelection=function(){var ie=Vc(this.cm,!1);return ie.focus=document.activeElement==this.div,ie},Ba.prototype.showSelection=function(ie,de){!ie||!this.cm.display.view.length||((ie.focus||de)&&this.showPrimarySelection(),this.showMultipleSelections(ie))},Ba.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ba.prototype.showPrimarySelection=function(){var ie=this.getSelection(),de=this.cm,ke=de.doc.sel.primary(),Fe=ke.from(),Re=ke.to();if(de.display.viewTo==de.display.viewFrom||Fe.line>=de.display.viewTo||Re.line<de.display.viewFrom){ie.removeAllRanges();return}var st=yf(de,ie.anchorNode,ie.anchorOffset),Ct=yf(de,ie.focusNode,ie.focusOffset);if(!(st&&!st.bad&&Ct&&!Ct.bad&&Cn(yn(st,Ct),Fe)==0&&Cn(vn(st,Ct),Re)==0)){var Nt=de.display.view,Ot=Fe.line>=de.display.viewFrom&&ip(de,Fe)||{node:Nt[0].measure.map[2],offset:0},Jt=Re.line<de.display.viewTo&&ip(de,Re);if(!Jt){var Pn=Nt[Nt.length-1].measure,qt=Pn.maps?Pn.maps[Pn.maps.length-1]:Pn.map;Jt={node:qt[qt.length-1],offset:qt[qt.length-2]-qt[qt.length-3]}}if(!Ot||!Jt){ie.removeAllRanges();return}var Vn=ie.rangeCount&&ie.getRangeAt(0),Rn;try{Rn=ze(Ot.node,Ot.offset,Jt.offset,Jt.node)}catch(yr){}Rn&&(!He&&de.state.focused?(ie.collapse(Ot.node,Ot.offset),Rn.collapsed||(ie.removeAllRanges(),ie.addRange(Rn))):(ie.removeAllRanges(),ie.addRange(Rn)),Vn&&ie.anchorNode==null?ie.addRange(Vn):He&&this.startGracePeriod()),this.rememberSelection()}},Ba.prototype.startGracePeriod=function(){var ie=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){ie.gracePeriod=!1,ie.selectionChanged()&&ie.cm.operation(function(){return ie.cm.curOp.selectionChanged=!0})},20)},Ba.prototype.showMultipleSelections=function(ie){Oe(this.cm.display.cursorDiv,ie.cursors),Oe(this.cm.display.selectionDiv,ie.selection)},Ba.prototype.rememberSelection=function(){var ie=this.getSelection();this.lastAnchorNode=ie.anchorNode,this.lastAnchorOffset=ie.anchorOffset,this.lastFocusNode=ie.focusNode,this.lastFocusOffset=ie.focusOffset},Ba.prototype.selectionInEditor=function(){var ie=this.getSelection();if(!ie.rangeCount)return!1;var de=ie.getRangeAt(0).commonAncestorContainer;return $e(this.div,de)},Ba.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ba.prototype.blur=function(){this.div.blur()},Ba.prototype.getField=function(){return this.div},Ba.prototype.supportsTouch=function(){return!0},Ba.prototype.receivedFocus=function(){var ie=this;this.selectionInEditor()?this.pollSelection():mn(this.cm,function(){return ie.cm.curOp.selectionChanged=!0});function de(){ie.cm.state.focused&&(ie.pollSelection(),ie.polling.set(ie.cm.options.pollInterval,de))}this.polling.set(this.cm.options.pollInterval,de)},Ba.prototype.selectionChanged=function(){var ie=this.getSelection();return ie.anchorNode!=this.lastAnchorNode||ie.anchorOffset!=this.lastAnchorOffset||ie.focusNode!=this.lastFocusNode||ie.focusOffset!=this.lastFocusOffset},Ba.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var ie=this.getSelection(),de=this.cm;if(z&&Ae&&this.cm.display.gutterSpecs.length&&sg(ie.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var ke=yf(de,ie.anchorNode,ie.anchorOffset),Fe=yf(de,ie.focusNode,ie.focusOffset);ke&&Fe&&mn(de,function(){va(de.doc,Co(ke,Fe),ft),(ke.bad||Fe.bad)&&(de.curOp.selectionChanged=!0)})}}},Ba.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var ie=this.cm,de=ie.display,ke=ie.doc.sel.primary(),Fe=ke.from(),Re=ke.to();if(Fe.ch==0&&Fe.line>ie.firstLine()&&(Fe=sn(Fe.line-1,cn(ie.doc,Fe.line-1).length)),Re.ch==cn(ie.doc,Re.line).text.length&&Re.line<ie.lastLine()&&(Re=sn(Re.line+1,0)),Fe.line<de.viewFrom||Re.line>de.viewTo-1)return!1;var st,Ct,Nt;Fe.line==de.viewFrom||(st=Hs(ie,Fe.line))==0?(Ct=Ht(de.view[0].line),Nt=de.view[0].node):(Ct=Ht(de.view[st].line),Nt=de.view[st-1].node.nextSibling);var Ot=Hs(ie,Re.line),Jt,Pn;if(Ot==de.view.length-1?(Jt=de.viewTo-1,Pn=de.lineDiv.lastChild):(Jt=Ht(de.view[Ot+1].line)-1,Pn=de.view[Ot+1].node.previousSibling),!Nt)return!1;for(var qt=ie.doc.splitLines(zd(ie,Nt,Pn,Ct,Jt)),Vn=bn(ie.doc,sn(Ct,0),sn(Jt,cn(ie.doc,Jt).text.length));qt.length>1&&Vn.length>1;)if(wt(qt)==wt(Vn))qt.pop(),Vn.pop(),Jt--;else if(qt[0]==Vn[0])qt.shift(),Vn.shift(),Ct++;else break;for(var Rn=0,yr=0,Pr=qt[0],Hr=Vn[0],si=Math.min(Pr.length,Hr.length);Rn<si&&Pr.charCodeAt(Rn)==Hr.charCodeAt(Rn);)++Rn;for(var Ti=wt(qt),Si=wt(Vn),Hi=Math.min(Ti.length-(qt.length==1?Rn:0),Si.length-(Vn.length==1?Rn:0));yr<Hi&&Ti.charCodeAt(Ti.length-yr-1)==Si.charCodeAt(Si.length-yr-1);)++yr;if(qt.length==1&&Vn.length==1&&Ct==Fe.line)for(;Rn&&Rn>Fe.ch&&Ti.charCodeAt(Ti.length-yr-1)==Si.charCodeAt(Si.length-yr-1);)Rn--,yr++;qt[qt.length-1]=Ti.slice(0,Ti.length-yr).replace(/^\u200b+/,""),qt[0]=qt[0].slice(Rn).replace(/\u200b+$/,"");var So=sn(Ct,Rn),vi=sn(Jt,Vn.length?wt(Vn).length-yr:0);if(qt.length>1||qt[0]||Cn(So,vi))return Vu(ie.doc,qt,So,vi,"+input"),!0},Ba.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ba.prototype.reset=function(){this.forceCompositionEnd()},Ba.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ba.prototype.readFromDOMSoon=function(){var ie=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(ie.readDOMTimeout=null,ie.composing)if(ie.composing.done)ie.composing=null;else return;ie.updateFromDOM()},80))},Ba.prototype.updateFromDOM=function(){var ie=this;(this.cm.isReadOnly()||!this.pollContent())&&mn(this.cm,function(){return xa(ie.cm)})},Ba.prototype.setUneditable=function(ie){ie.contentEditable="false"},Ba.prototype.onKeyPress=function(ie){ie.charCode==0||this.composing||(ie.preventDefault(),this.cm.isReadOnly()||Wn(this.cm,mf)(this.cm,String.fromCharCode(ie.charCode==null?ie.keyCode:ie.charCode),0))},Ba.prototype.readOnlyChanged=function(ie){this.div.contentEditable=String(ie!="nocursor")},Ba.prototype.onContextMenu=function(){},Ba.prototype.resetPosition=function(){},Ba.prototype.needsContentAttribute=!0;function ip(ie,de){var ke=vc(ie,de.line);if(!ke||ke.hidden)return null;var Fe=cn(ie.doc,de.line),Re=Uc(ke,Fe,de.line),st=Kt(Fe,ie.doc.direction),Ct="left";if(st){var Nt=mt(st,de.ch);Ct=Nt%2?"right":"left"}var Ot=Zc(Re.map,de.ch,Ct);return Ot.offset=Ot.collapse=="right"?Ot.end:Ot.start,Ot}function sg(ie){for(var de=ie;de;de=de.parentNode)if(/CodeMirror-gutter-wrapper/.test(de.className))return!0;return!1}function Rd(ie,de){return de&&(ie.bad=!0),ie}function zd(ie,de,ke,Fe,Re){var st="",Ct=!1,Nt=ie.doc.lineSeparator(),Ot=!1;function Jt(Rn){return function(yr){return yr.id==Rn}}function Pn(){Ct&&(st+=Nt,Ot&&(st+=Nt),Ct=Ot=!1)}function qt(Rn){Rn&&(Pn(),st+=Rn)}function Vn(Rn){if(Rn.nodeType==1){var yr=Rn.getAttribute("cm-text");if(yr){qt(yr);return}var Pr=Rn.getAttribute("cm-marker"),Hr;if(Pr){var si=ie.findMarks(sn(Fe,0),sn(Re+1,0),Jt(+Pr));si.length&&(Hr=si[0].find(0))&&qt(bn(ie.doc,Hr.from,Hr.to).join(Nt));return}if(Rn.getAttribute("contenteditable")=="false")return;var Ti=/^(pre|div|p|li|table|br)$/i.test(Rn.nodeName);if(!/^br$/i.test(Rn.nodeName)&&Rn.textContent.length==0)return;Ti&&Pn();for(var Si=0;Si<Rn.childNodes.length;Si++)Vn(Rn.childNodes[Si]);/^(pre|p)$/i.test(Rn.nodeName)&&(Ot=!0),Ti&&(Ct=!0)}else Rn.nodeType==3&&qt(Rn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Vn(de),de!=ke;)de=de.nextSibling,Ot=!1;return st}function yf(ie,de,ke){var Fe;if(de==ie.display.lineDiv){if(Fe=ie.display.lineDiv.childNodes[ke],!Fe)return Rd(ie.clipPos(sn(ie.display.viewTo-1)),!0);de=null,ke=0}else for(Fe=de;;Fe=Fe.parentNode){if(!Fe||Fe==ie.display.lineDiv)return null;if(Fe.parentNode&&Fe.parentNode==ie.display.lineDiv)break}for(var Re=0;Re<ie.display.view.length;Re++){var st=ie.display.view[Re];if(st.node==Fe)return hm(st,de,ke)}}function hm(ie,de,ke){var Fe=ie.text.firstChild,Re=!1;if(!de||!$e(Fe,de))return Rd(sn(Ht(ie.line),0),!0);if(de==Fe&&(Re=!0,de=Fe.childNodes[ke],ke=0,!de)){var st=ie.rest?wt(ie.rest):ie.line;return Rd(sn(Ht(st),st.text.length),Re)}var Ct=de.nodeType==3?de:null,Nt=de;for(!Ct&&de.childNodes.length==1&&de.firstChild.nodeType==3&&(Ct=de.firstChild,ke&&(ke=Ct.nodeValue.length));Nt.parentNode!=Fe;)Nt=Nt.parentNode;var Ot=ie.measure,Jt=Ot.maps;function Pn(Hr,si,Ti){for(var Si=-1;Si<(Jt?Jt.length:0);Si++)for(var Hi=Si<0?Ot.map:Jt[Si],So=0;So<Hi.length;So+=3){var vi=Hi[So+2];if(vi==Hr||vi==si){var No=Ht(Si<0?ie.line:ie.rest[Si]),$a=Hi[So]+Ti;return(Ti<0||vi!=Hr)&&($a=Hi[So+(Ti?1:0)]),sn(No,$a)}}}var qt=Pn(Ct,Nt,ke);if(qt)return Rd(qt,Re);for(var Vn=Nt.nextSibling,Rn=Ct?Ct.nodeValue.length-ke:0;Vn;Vn=Vn.nextSibling){if(qt=Pn(Vn,Vn.firstChild,0),qt)return Rd(sn(qt.line,qt.ch-Rn),Re);Rn+=Vn.textContent.length}for(var yr=Nt.previousSibling,Pr=ke;yr;yr=yr.previousSibling){if(qt=Pn(yr,yr.firstChild,-1),qt)return Rd(sn(qt.line,qt.ch+Pr),Re);Pr+=yr.textContent.length}}var Ts=function(ie){this.cm=ie,this.prevInput="",this.pollingFast=!1,this.polling=new at,this.hasSelection=!1,this.composing=null};Ts.prototype.init=function(ie){var de=this,ke=this,Fe=this.cm;this.createField(ie);var Re=this.textarea;ie.wrapper.insertBefore(this.wrapper,ie.wrapper.firstChild),fe&&(Re.style.width="0px"),Wt(Re,"input",function(){Ne&&ge>=9&&de.hasSelection&&(de.hasSelection=null),ke.poll()}),Wt(Re,"paste",function(Ct){_t(Fe,Ct)||ng(Ct,Fe)||(Fe.state.pasteIncoming=+new Date,ke.fastPoll())});function st(Ct){if(!_t(Fe,Ct)){if(Fe.somethingSelected())$h({lineWise:!1,text:Fe.getSelections()});else if(Fe.options.lineWiseCopyCut){var Nt=ig(Fe);$h({lineWise:!0,text:Nt.text}),Ct.type=="cut"?Fe.setSelections(Nt.ranges,null,ft):(ke.prevInput="",Re.value=Nt.text.join(`
`),lt(Re))}else return;Ct.type=="cut"&&(Fe.state.cutIncoming=+new Date)}}Wt(Re,"cut",st),Wt(Re,"copy",st),Wt(ie.scroller,"paste",function(Ct){if(!(nl(ie,Ct)||_t(Fe,Ct))){if(!Re.dispatchEvent){Fe.state.pasteIncoming=+new Date,ke.focus();return}var Nt=new Event("paste");Nt.clipboardData=Ct.clipboardData,Re.dispatchEvent(Nt)}}),Wt(ie.lineSpace,"selectstart",function(Ct){nl(ie,Ct)||zn(Ct)}),Wt(Re,"compositionstart",function(){var Ct=Fe.getCursor("from");ke.composing&&ke.composing.range.clear(),ke.composing={start:Ct,range:Fe.markText(Ct,Fe.getCursor("to"),{className:"CodeMirror-composing"})}}),Wt(Re,"compositionend",function(){ke.composing&&(ke.poll(),ke.composing.range.clear(),ke.composing=null)})},Ts.prototype.createField=function(ie){this.wrapper=ag(),this.textarea=this.wrapper.firstChild},Ts.prototype.screenReaderLabelChanged=function(ie){ie?this.textarea.setAttribute("aria-label",ie):this.textarea.removeAttribute("aria-label")},Ts.prototype.prepareSelection=function(){var ie=this.cm,de=ie.display,ke=ie.doc,Fe=Vc(ie);if(ie.options.moveInputWithCursor){var Re=Da(ie,ke.sel.primary().head,"div"),st=de.wrapper.getBoundingClientRect(),Ct=de.lineDiv.getBoundingClientRect();Fe.teTop=Math.max(0,Math.min(de.wrapper.clientHeight-10,Re.top+Ct.top-st.top)),Fe.teLeft=Math.max(0,Math.min(de.wrapper.clientWidth-10,Re.left+Ct.left-st.left))}return Fe},Ts.prototype.showSelection=function(ie){var de=this.cm,ke=de.display;Oe(ke.cursorDiv,ie.cursors),Oe(ke.selectionDiv,ie.selection),ie.teTop!=null&&(this.wrapper.style.top=ie.teTop+"px",this.wrapper.style.left=ie.teLeft+"px")},Ts.prototype.reset=function(ie){if(!(this.contextMenuPending||this.composing)){var de=this.cm;if(de.somethingSelected()){this.prevInput="";var ke=de.getSelection();this.textarea.value=ke,de.state.focused&&lt(this.textarea),Ne&&ge>=9&&(this.hasSelection=ke)}else ie||(this.prevInput=this.textarea.value="",Ne&&ge>=9&&(this.hasSelection=null))}},Ts.prototype.getField=function(){return this.textarea},Ts.prototype.supportsTouch=function(){return!1},Ts.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!ee||Ue()!=this.textarea))try{this.textarea.focus()}catch(ie){}},Ts.prototype.blur=function(){this.textarea.blur()},Ts.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ts.prototype.receivedFocus=function(){this.slowPoll()},Ts.prototype.slowPoll=function(){var ie=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){ie.poll(),ie.cm.state.focused&&ie.slowPoll()})},Ts.prototype.fastPoll=function(){var ie=!1,de=this;de.pollingFast=!0;function ke(){var Fe=de.poll();!Fe&&!ie?(ie=!0,de.polling.set(60,ke)):(de.pollingFast=!1,de.slowPoll())}de.polling.set(20,ke)},Ts.prototype.poll=function(){var ie=this,de=this.cm,ke=this.textarea,Fe=this.prevInput;if(this.contextMenuPending||!de.state.focused||ot(ke)&&!Fe&&!this.composing||de.isReadOnly()||de.options.disableInput||de.state.keySeq)return!1;var Re=ke.value;if(Re==Fe&&!de.somethingSelected())return!1;if(Ne&&ge>=9&&this.hasSelection===Re||ae&&/[\uf700-\uf7ff]/.test(Re))return de.display.input.reset(),!1;if(de.doc.sel==de.display.selForContextMenu){var st=Re.charCodeAt(0);if(st==8203&&!Fe&&(Fe="\u200B"),st==8666)return this.reset(),this.cm.execCommand("undo")}for(var Ct=0,Nt=Math.min(Fe.length,Re.length);Ct<Nt&&Fe.charCodeAt(Ct)==Re.charCodeAt(Ct);)++Ct;return mn(de,function(){mf(de,Re.slice(Ct),Fe.length-Ct,null,ie.composing?"*compose":null),Re.length>1e3||Re.indexOf(`
`)>-1?ke.value=ie.prevInput="":ie.prevInput=Re,ie.composing&&(ie.composing.range.clear(),ie.composing.range=de.markText(ie.composing.start,de.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ts.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ts.prototype.onKeyPress=function(){Ne&&ge>=9&&(this.hasSelection=null),this.fastPoll()},Ts.prototype.onContextMenu=function(ie){var de=this,ke=de.cm,Fe=ke.display,Re=de.textarea;de.contextMenuPending&&de.contextMenuPending();var st=rl(ke,ie),Ct=Fe.scroller.scrollTop;if(!st||ye)return;var Nt=ke.options.resetSelectionOnContextMenu;Nt&&ke.doc.sel.contains(st)==-1&&Wn(ke,va)(ke.doc,Co(st),ft);var Ot=Re.style.cssText,Jt=de.wrapper.style.cssText,Pn=de.wrapper.offsetParent.getBoundingClientRect();de.wrapper.style.cssText="position: static",Re.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(ie.clientY-Pn.top-5)+"px; left: "+(ie.clientX-Pn.left-5)+`px;
z-index: 1000; background: `+(Ne?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var qt;ce&&(qt=window.scrollY),Fe.input.focus(),ce&&window.scrollTo(null,qt),Fe.input.reset(),ke.somethingSelected()||(Re.value=de.prevInput=" "),de.contextMenuPending=Rn,Fe.selForContextMenu=ke.doc.sel,clearTimeout(Fe.detectingSelectAll);function Vn(){if(Re.selectionStart!=null){var Pr=ke.somethingSelected(),Hr="\u200B"+(Pr?Re.value:"");Re.value="\u21DA",Re.value=Hr,de.prevInput=Pr?"":"\u200B",Re.selectionStart=1,Re.selectionEnd=Hr.length,Fe.selForContextMenu=ke.doc.sel}}function Rn(){if(de.contextMenuPending==Rn&&(de.contextMenuPending=!1,de.wrapper.style.cssText=Jt,Re.style.cssText=Ot,Ne&&ge<9&&Fe.scrollbars.setScrollTop(Fe.scroller.scrollTop=Ct),Re.selectionStart!=null)){(!Ne||Ne&&ge<9)&&Vn();var Pr=0,Hr=function(){Fe.selForContextMenu==ke.doc.sel&&Re.selectionStart==0&&Re.selectionEnd>0&&de.prevInput=="\u200B"?Wn(ke,ra)(ke):Pr++<10?Fe.detectingSelectAll=setTimeout(Hr,500):(Fe.selForContextMenu=null,Fe.input.reset())};Fe.detectingSelectAll=setTimeout(Hr,200)}}if(Ne&&ge>=9&&Vn(),Pe){ur(ie);var yr=function(){nn(window,"mouseup",yr),setTimeout(Rn,20)};Wt(window,"mouseup",yr)}else setTimeout(Rn,50)},Ts.prototype.readOnlyChanged=function(ie){ie||this.reset(),this.textarea.disabled=ie=="nocursor",this.textarea.readOnly=!!ie},Ts.prototype.setUneditable=function(){},Ts.prototype.needsContentAttribute=!1;function dm(ie,de){if(de=de?vt(de):{},de.value=ie.value,!de.tabindex&&ie.tabIndex&&(de.tabindex=ie.tabIndex),!de.placeholder&&ie.placeholder&&(de.placeholder=ie.placeholder),de.autofocus==null){var ke=Ue();de.autofocus=ke==ie||ie.getAttribute("autofocus")!=null&&ke==document.body}function Fe(){ie.value=Nt.getValue()}var Re;if(ie.form&&(Wt(ie.form,"submit",Fe),!de.leaveSubmitMethodAlone)){var st=ie.form;Re=st.submit;try{var Ct=st.submit=function(){Fe(),st.submit=Re,st.submit(),st.submit=Ct}}catch(Ot){}}de.finishInit=function(Ot){Ot.save=Fe,Ot.getTextArea=function(){return ie},Ot.toTextArea=function(){Ot.toTextArea=isNaN,Fe(),ie.parentNode.removeChild(Ot.getWrapperElement()),ie.style.display="",ie.form&&(nn(ie.form,"submit",Fe),!de.leaveSubmitMethodAlone&&typeof ie.form.submit=="function"&&(ie.form.submit=Re))}},ie.style.display="none";var Nt=ia(function(Ot){return ie.parentNode.insertBefore(Ot,ie.nextSibling)},de);return Nt}function Wd(ie){ie.off=nn,ie.on=Wt,ie.wheelEventPixels=Wi,ie.Doc=Ls,ie.splitLines=Er,ie.countColumn=tt,ie.findColumn=Tt,ie.isWordChar=Ye,ie.Pass=xt,ie.signal=Bt,ie.Line=Qi,ie.changeEnd=qo,ie.scrollbarModel=lf,ie.Pos=sn,ie.cmpPos=Cn,ie.modes=hr,ie.mimeModes=ar,ie.resolveMode=Yn,ie.getMode=Qt,ie.modeExtensions=Zt,ie.extendMode=Pt,ie.copyState=an,ie.startState=Xt,ie.innerMode=gn,ie.commands=Ns,ie.keyMap=ml,ie.keyName=kd,ie.isModifierKey=yh,ie.lookupKey=Zl,ie.normalizeKeyMap=Dd,ie.StringStream=Dt,ie.SharedTextMarker=Xu,ie.TextMarker=hn,ie.LineWidget=vs,ie.e_preventDefault=zn,ie.e_stopPropagation=tr,ie.e_stop=ur,ie.addClass=qe,ie.contains=$e,ie.rmClass=Ie,ie.keyNames=Lu}um(ia),xh(ia);var $c="iter insert remove copy getEditor constructor".split(" ");for(var Sf in Ls.prototype)Ls.prototype.hasOwnProperty(Sf)&&dt($c,Sf)<0&&(ia.prototype[Sf]=function(ie){return function(){return ie.apply(this.doc,arguments)}}(Ls.prototype[Sf]));return xn(Ls),ia.inputStyles={textarea:Ts,contenteditable:Ba},ia.defineMode=function(ie){!ia.defaults.mode&&ie!="null"&&(ia.defaults.mode=ie),vr.apply(this,arguments)},ia.defineMIME=Un,ia.defineMode("null",function(){return{token:function(ie){return ie.skipToEnd()}}}),ia.defineMIME("text/plain","null"),ia.defineExtension=function(ie,de){ia.prototype[ie]=de},ia.defineDocExtension=function(ie,de){Ls.prototype[ie]=de},ia.fromTextArea=dm,Wd(ia),ia.version="5.58.2",ia})},25419:function(Nn,fn,We){(function(He){He(We(89780),We(15525),We(98101))})(function(He){"use strict";He.defineMode("markdown",function(gt,oe){var Ze=He.getMode(gt,"text/html"),Ne=Ze.name=="null";function ge(tt){if(He.findModeByName){var at=He.findModeByName(tt);at&&(tt=at.mime||at.mimes[0])}var dt=He.getMode(gt,tt);return dt.name=="null"?null:dt}oe.highlightFormatting===void 0&&(oe.highlightFormatting=!1),oe.maxBlockquoteDepth===void 0&&(oe.maxBlockquoteDepth=0),oe.taskLists===void 0&&(oe.taskLists=!1),oe.strikethrough===void 0&&(oe.strikethrough=!1),oe.emoji===void 0&&(oe.emoji=!1),oe.fencedCodeBlockHighlighting===void 0&&(oe.fencedCodeBlockHighlighting=!0),oe.fencedCodeBlockDefaultMode===void 0&&(oe.fencedCodeBlockDefaultMode="text/plain"),oe.xml===void 0&&(oe.xml=!0),oe.tokenTypeOverrides===void 0&&(oe.tokenTypeOverrides={});var ce={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var Ee in ce)ce.hasOwnProperty(Ee)&&oe.tokenTypeOverrides[Ee]&&(ce[Ee]=oe.tokenTypeOverrides[Ee]);var Ae=/^([*\-_])(?:\s*\1){2,}\s*$/,ye=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,De=/^\[(x| )\](?=\s)/i,me=oe.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,xe=/^ {0,3}(?:\={1,}|-{2,})\s*$/,fe=/^[^#!\[\]*_\\<>` "'(~:]+/,z=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ee=/^\s*\[[^\]]+?\]:.*$/,ae=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,re=" ";function le(tt,at,dt){return at.f=at.inline=dt,dt(tt,at)}function ue(tt,at,dt){return at.f=at.block=dt,dt(tt,at)}function pe(tt){return!tt||!/\S/.test(tt.string)}function Pe(tt){if(tt.linkTitle=!1,tt.linkHref=!1,tt.linkText=!1,tt.em=!1,tt.strong=!1,tt.strikethrough=!1,tt.quote=0,tt.indentedCode=!1,tt.f==Ie){var at=Ne;if(!at){var dt=He.innerMode(Ze,tt.htmlState);at=dt.mode.name=="xml"&&dt.state.tagStart===null&&!dt.state.context&&dt.state.tokenize.isInText}at&&(tt.f=je,tt.block=be,tt.htmlState=null)}return tt.trailingSpace=0,tt.trailingSpaceNewLine=!1,tt.prevLine=tt.thisLine,tt.thisLine={stream:null},null}function be(tt,at){var dt=tt.column()===at.indentation,St=pe(at.prevLine.stream),xt=at.indentedCode,ft=at.prevLine.hr,pt=at.list!==!1,yt=(at.listStack[at.listStack.length-1]||0)+3;at.indentedCode=!1;var Tt=at.indentation;if(at.indentationDiff===null&&(at.indentationDiff=at.indentation,pt)){for(at.list=null;Tt<at.listStack[at.listStack.length-1];)at.listStack.pop(),at.listStack.length?at.indentation=at.listStack[at.listStack.length-1]:at.list=!1;at.list!==!1&&(at.indentationDiff=Tt-at.listStack[at.listStack.length-1])}var At=!St&&!ft&&!at.prevLine.header&&(!pt||!xt)&&!at.prevLine.fencedCodeEnd,Gt=(at.list===!1||ft||St)&&at.indentation<=yt&&tt.match(Ae),wt=null;if(at.indentationDiff>=4&&(xt||at.prevLine.fencedCodeEnd||at.prevLine.header||St))return tt.skipToEnd(),at.indentedCode=!0,ce.code;if(tt.eatSpace())return null;if(dt&&at.indentation<=yt&&(wt=tt.match(me))&&wt[1].length<=6)return at.quote=0,at.header=wt[1].length,at.thisLine.header=!0,oe.highlightFormatting&&(at.formatting="header"),at.f=at.inline,Oe(at);if(at.indentation<=yt&&tt.eat(">"))return at.quote=dt?1:at.quote+1,oe.highlightFormatting&&(at.formatting="quote"),tt.eatSpace(),Oe(at);if(!Gt&&!at.setext&&dt&&at.indentation<=yt&&(wt=tt.match(ye))){var bt=wt[1]?"ol":"ul";return at.indentation=Tt+tt.current().length,at.list=!0,at.quote=0,at.listStack.push(at.indentation),at.em=!1,at.strong=!1,at.code=!1,at.strikethrough=!1,oe.taskLists&&tt.match(De,!1)&&(at.taskList=!0),at.f=at.inline,oe.highlightFormatting&&(at.formatting=["list","list-"+bt]),Oe(at)}else{if(dt&&at.indentation<=yt&&(wt=tt.match(z,!0)))return at.quote=0,at.fencedEndRE=new RegExp(wt[1]+"+ *$"),at.localMode=oe.fencedCodeBlockHighlighting&&ge(wt[2]||oe.fencedCodeBlockDefaultMode),at.localMode&&(at.localState=He.startState(at.localMode)),at.f=at.block=Me,oe.highlightFormatting&&(at.formatting="code-block"),at.code=-1,Oe(at);if(at.setext||(!At||!pt)&&!at.quote&&at.list===!1&&!at.code&&!Gt&&!ee.test(tt.string)&&(wt=tt.lookAhead(1))&&(wt=wt.match(xe)))return at.setext?(at.header=at.setext,at.setext=0,tt.skipToEnd(),oe.highlightFormatting&&(at.formatting="header")):(at.header=wt[0].charAt(0)=="="?1:2,at.setext=at.header),at.thisLine.header=!0,at.f=at.inline,Oe(at);if(Gt)return tt.skipToEnd(),at.hr=!0,at.thisLine.hr=!0,ce.hr;if(tt.peek()==="[")return le(tt,at,et)}return le(tt,at,at.inline)}function Ie(tt,at){var dt=Ze.token(tt,at.htmlState);if(!Ne){var St=He.innerMode(Ze,at.htmlState);(St.mode.name=="xml"&&St.state.tagStart===null&&!St.state.context&&St.state.tokenize.isInText||at.md_inside&&tt.current().indexOf(">")>-1)&&(at.f=je,at.block=be,at.htmlState=null)}return dt}function Me(tt,at){var dt=at.listStack[at.listStack.length-1]||0,St=at.indentation<dt,xt=dt+3;if(at.fencedEndRE&&at.indentation<=xt&&(St||tt.match(at.fencedEndRE))){oe.highlightFormatting&&(at.formatting="code-block");var ft;return St||(ft=Oe(at)),at.localMode=at.localState=null,at.block=be,at.f=je,at.fencedEndRE=null,at.code=0,at.thisLine.fencedCodeEnd=!0,St?ue(tt,at,at.block):ft}else return at.localMode?at.localMode.token(tt,at.localState):(tt.skipToEnd(),ce.code)}function Oe(tt){var at=[];if(tt.formatting){at.push(ce.formatting),typeof tt.formatting=="string"&&(tt.formatting=[tt.formatting]);for(var dt=0;dt<tt.formatting.length;dt++)at.push(ce.formatting+"-"+tt.formatting[dt]),tt.formatting[dt]==="header"&&at.push(ce.formatting+"-"+tt.formatting[dt]+"-"+tt.header),tt.formatting[dt]==="quote"&&(!oe.maxBlockquoteDepth||oe.maxBlockquoteDepth>=tt.quote?at.push(ce.formatting+"-"+tt.formatting[dt]+"-"+tt.quote):at.push("error"))}if(tt.taskOpen)return at.push("meta"),at.length?at.join(" "):null;if(tt.taskClosed)return at.push("property"),at.length?at.join(" "):null;if(tt.linkHref?at.push(ce.linkHref,"url"):(tt.strong&&at.push(ce.strong),tt.em&&at.push(ce.em),tt.strikethrough&&at.push(ce.strikethrough),tt.emoji&&at.push(ce.emoji),tt.linkText&&at.push(ce.linkText),tt.code&&at.push(ce.code),tt.image&&at.push(ce.image),tt.imageAltText&&at.push(ce.imageAltText,"link"),tt.imageMarker&&at.push(ce.imageMarker)),tt.header&&at.push(ce.header,ce.header+"-"+tt.header),tt.quote&&(at.push(ce.quote),!oe.maxBlockquoteDepth||oe.maxBlockquoteDepth>=tt.quote?at.push(ce.quote+"-"+tt.quote):at.push(ce.quote+"-"+oe.maxBlockquoteDepth)),tt.list!==!1){var St=(tt.listStack.length-1)%3;St?St===1?at.push(ce.list2):at.push(ce.list3):at.push(ce.list1)}return tt.trailingSpaceNewLine?at.push("trailing-space-new-line"):tt.trailingSpace&&at.push("trailing-space-"+(tt.trailingSpace%2?"a":"b")),at.length?at.join(" "):null}function Te(tt,at){if(tt.match(fe,!0))return Oe(at)}function je(tt,at){var dt=at.text(tt,at);if(typeof dt!="undefined")return dt;if(at.list)return at.list=null,Oe(at);if(at.taskList){var St=tt.match(De,!0)[1]===" ";return St?at.taskOpen=!0:at.taskClosed=!0,oe.highlightFormatting&&(at.formatting="task"),at.taskList=!1,Oe(at)}if(at.taskOpen=!1,at.taskClosed=!1,at.header&&tt.match(/^#+$/,!0))return oe.highlightFormatting&&(at.formatting="header"),Oe(at);var xt=tt.next();if(at.linkTitle){at.linkTitle=!1;var ft=xt;xt==="("&&(ft=")"),ft=(ft+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var pt="^\\s*(?:[^"+ft+"\\\\]+|\\\\\\\\|\\\\.)"+ft;if(tt.match(new RegExp(pt),!0))return ce.linkHref}if(xt==="`"){var yt=at.formatting;oe.highlightFormatting&&(at.formatting="code"),tt.eatWhile("`");var Tt=tt.current().length;if(at.code==0&&(!at.quote||Tt==1))return at.code=Tt,Oe(at);if(Tt==at.code){var At=Oe(at);return at.code=0,At}else return at.formatting=yt,Oe(at)}else if(at.code)return Oe(at);if(xt==="\\"&&(tt.next(),oe.highlightFormatting)){var Gt=Oe(at),wt=ce.formatting+"-escape";return Gt?Gt+" "+wt:wt}if(xt==="!"&&tt.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return at.imageMarker=!0,at.image=!0,oe.highlightFormatting&&(at.formatting="image"),Oe(at);if(xt==="["&&at.imageMarker&&tt.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return at.imageMarker=!1,at.imageAltText=!0,oe.highlightFormatting&&(at.formatting="image"),Oe(at);if(xt==="]"&&at.imageAltText){oe.highlightFormatting&&(at.formatting="image");var Gt=Oe(at);return at.imageAltText=!1,at.image=!1,at.inline=at.f=$e,Gt}if(xt==="["&&!at.image)return at.linkText&&tt.match(/^.*?\]/)||(at.linkText=!0,oe.highlightFormatting&&(at.formatting="link")),Oe(at);if(xt==="]"&&at.linkText){oe.highlightFormatting&&(at.formatting="link");var Gt=Oe(at);return at.linkText=!1,at.inline=at.f=tt.match(/\(.*?\)| ?\[.*?\]/,!1)?$e:je,Gt}if(xt==="<"&&tt.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){at.f=at.inline=ze,oe.highlightFormatting&&(at.formatting="link");var Gt=Oe(at);return Gt?Gt+=" ":Gt="",Gt+ce.linkInline}if(xt==="<"&&tt.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){at.f=at.inline=ze,oe.highlightFormatting&&(at.formatting="link");var Gt=Oe(at);return Gt?Gt+=" ":Gt="",Gt+ce.linkEmail}if(oe.xml&&xt==="<"&&tt.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var bt=tt.string.indexOf(">",tt.pos);if(bt!=-1){var it=tt.string.substring(tt.start,bt);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(it)&&(at.md_inside=!0)}return tt.backUp(1),at.htmlState=He.startState(Ze),ue(tt,at,Ie)}if(oe.xml&&xt==="<"&&tt.match(/^\/\w*?>/))return at.md_inside=!1,"tag";if(xt==="*"||xt==="_"){for(var _e=1,we=tt.pos==1?" ":tt.string.charAt(tt.pos-2);_e<3&&tt.eat(xt);)_e++;var Ce=tt.peek()||" ",Ye=!/\s/.test(Ce)&&(!ae.test(Ce)||/\s/.test(we)||ae.test(we)),Je=!/\s/.test(we)&&(!ae.test(we)||/\s/.test(Ce)||ae.test(Ce)),Le=null,Ge=null;if(_e%2&&(!at.em&&Ye&&(xt==="*"||!Je||ae.test(we))?Le=!0:at.em==xt&&Je&&(xt==="*"||!Ye||ae.test(Ce))&&(Le=!1)),_e>1&&(!at.strong&&Ye&&(xt==="*"||!Je||ae.test(we))?Ge=!0:at.strong==xt&&Je&&(xt==="*"||!Ye||ae.test(Ce))&&(Ge=!1)),Ge!=null||Le!=null){oe.highlightFormatting&&(at.formatting=Le==null?"strong":Ge==null?"em":"strong em"),Le===!0&&(at.em=xt),Ge===!0&&(at.strong=xt);var At=Oe(at);return Le===!1&&(at.em=!1),Ge===!1&&(at.strong=!1),At}}else if(xt===" "&&(tt.eat("*")||tt.eat("_"))){if(tt.peek()===" ")return Oe(at);tt.backUp(1)}if(oe.strikethrough){if(xt==="~"&&tt.eatWhile(xt)){if(at.strikethrough){oe.highlightFormatting&&(at.formatting="strikethrough");var At=Oe(at);return at.strikethrough=!1,At}else if(tt.match(/^[^\s]/,!1))return at.strikethrough=!0,oe.highlightFormatting&&(at.formatting="strikethrough"),Oe(at)}else if(xt===" "&&tt.match(/^~~/,!0)){if(tt.peek()===" ")return Oe(at);tt.backUp(2)}}if(oe.emoji&&xt===":"&&tt.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){at.emoji=!0,oe.highlightFormatting&&(at.formatting="emoji");var Ke=Oe(at);return at.emoji=!1,Ke}return xt===" "&&(tt.match(/^ +$/,!1)?at.trailingSpace++:at.trailingSpace&&(at.trailingSpaceNewLine=!0)),Oe(at)}function ze(tt,at){var dt=tt.next();if(dt===">"){at.f=at.inline=je,oe.highlightFormatting&&(at.formatting="link");var St=Oe(at);return St?St+=" ":St="",St+ce.linkInline}return tt.match(/^[^>]+/,!0),ce.linkInline}function $e(tt,at){if(tt.eatSpace())return null;var dt=tt.next();return dt==="("||dt==="["?(at.f=at.inline=qe(dt==="("?")":"]"),oe.highlightFormatting&&(at.formatting="link-string"),at.linkHref=!0,Oe(at)):"error"}var Ue={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function qe(tt){return function(at,dt){var St=at.next();if(St===tt){dt.f=dt.inline=je,oe.highlightFormatting&&(dt.formatting="link-string");var xt=Oe(dt);return dt.linkHref=!1,xt}return at.match(Ue[tt]),dt.linkHref=!0,Oe(dt)}}function et(tt,at){return tt.match(/^([^\]\\]|\\.)*\]:/,!1)?(at.f=lt,tt.next(),oe.highlightFormatting&&(at.formatting="link"),at.linkText=!0,Oe(at)):le(tt,at,je)}function lt(tt,at){if(tt.match(/^\]:/,!0)){at.f=at.inline=ut,oe.highlightFormatting&&(at.formatting="link");var dt=Oe(at);return at.linkText=!1,dt}return tt.match(/^([^\]\\]|\\.)+/,!0),ce.linkText}function ut(tt,at){return tt.eatSpace()?null:(tt.match(/^[^\s]+/,!0),tt.peek()===void 0?at.linkTitle=!0:tt.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),at.f=at.inline=je,ce.linkHref+" url")}var vt={startState:function(){return{f:be,prevLine:{stream:null},thisLine:{stream:null},block:be,htmlState:null,indentation:0,inline:je,text:Te,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(tt){return{f:tt.f,prevLine:tt.prevLine,thisLine:tt.thisLine,block:tt.block,htmlState:tt.htmlState&&He.copyState(Ze,tt.htmlState),indentation:tt.indentation,localMode:tt.localMode,localState:tt.localMode?He.copyState(tt.localMode,tt.localState):null,inline:tt.inline,text:tt.text,formatting:!1,linkText:tt.linkText,linkTitle:tt.linkTitle,linkHref:tt.linkHref,code:tt.code,em:tt.em,strong:tt.strong,strikethrough:tt.strikethrough,emoji:tt.emoji,header:tt.header,setext:tt.setext,hr:tt.hr,taskList:tt.taskList,list:tt.list,listStack:tt.listStack.slice(0),quote:tt.quote,indentedCode:tt.indentedCode,trailingSpace:tt.trailingSpace,trailingSpaceNewLine:tt.trailingSpaceNewLine,md_inside:tt.md_inside,fencedEndRE:tt.fencedEndRE}},token:function(tt,at){if(at.formatting=!1,tt!=at.thisLine.stream){if(at.header=0,at.hr=!1,tt.match(/^\s*$/,!0))return Pe(at),null;if(at.prevLine=at.thisLine,at.thisLine={stream:tt},at.taskList=!1,at.trailingSpace=0,at.trailingSpaceNewLine=!1,!at.localState&&(at.f=at.block,at.f!=Ie)){var dt=tt.match(/^\s*/,!0)[0].replace(/\t/g,re).length;if(at.indentation=dt,at.indentationDiff=null,dt>0)return null}}return at.f(tt,at)},innerMode:function(tt){return tt.block==Ie?{state:tt.htmlState,mode:Ze}:tt.localState?{state:tt.localState,mode:tt.localMode}:{state:tt,mode:vt}},indent:function(tt,at,dt){return tt.block==Ie&&Ze.indent?Ze.indent(tt.htmlState,at,dt):tt.localState&&tt.localMode.indent?tt.localMode.indent(tt.localState,at,dt):He.Pass},blankLine:Pe,getType:Oe,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return vt},"xml"),He.defineMIME("text/markdown","markdown"),He.defineMIME("text/x-markdown","markdown")})},98101:function(Nn,fn,We){(function(He){He(We(89780))})(function(He){"use strict";He.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var gt=0;gt<He.modeInfo.length;gt++){var oe=He.modeInfo[gt];oe.mimes&&(oe.mime=oe.mimes[0])}He.findModeByMIME=function(Ze){Ze=Ze.toLowerCase();for(var Ne=0;Ne<He.modeInfo.length;Ne++){var ge=He.modeInfo[Ne];if(ge.mime==Ze)return ge;if(ge.mimes){for(var ce=0;ce<ge.mimes.length;ce++)if(ge.mimes[ce]==Ze)return ge}}if(/\+xml$/.test(Ze))return He.findModeByMIME("application/xml");if(/\+json$/.test(Ze))return He.findModeByMIME("application/json")},He.findModeByExtension=function(Ze){Ze=Ze.toLowerCase();for(var Ne=0;Ne<He.modeInfo.length;Ne++){var ge=He.modeInfo[Ne];if(ge.ext){for(var ce=0;ce<ge.ext.length;ce++)if(ge.ext[ce]==Ze)return ge}}},He.findModeByFileName=function(Ze){for(var Ne=0;Ne<He.modeInfo.length;Ne++){var ge=He.modeInfo[Ne];if(ge.file&&ge.file.test(Ze))return ge}var ce=Ze.lastIndexOf("."),Ee=ce>-1&&Ze.substring(ce+1,Ze.length);if(Ee)return He.findModeByExtension(Ee)},He.findModeByName=function(Ze){Ze=Ze.toLowerCase();for(var Ne=0;Ne<He.modeInfo.length;Ne++){var ge=He.modeInfo[Ne];if(ge.name.toLowerCase()==Ze)return ge;if(ge.alias){for(var ce=0;ce<ge.alias.length;ce++)if(ge.alias[ce].toLowerCase()==Ze)return ge}}}})},67549:function(Nn,fn,We){(function(He){He(We(89780))})(function(He){"use strict";He.defineMode("stex",function(gt,oe){"use strict";function Ze(fe,z){fe.cmdState.push(z)}function Ne(fe){return fe.cmdState.length>0?fe.cmdState[fe.cmdState.length-1]:null}function ge(fe){var z=fe.cmdState.pop();z&&z.closeBracket()}function ce(fe){for(var z=fe.cmdState,ee=z.length-1;ee>=0;ee--){var ae=z[ee];if(ae.name!="DEFAULT")return ae}return{styleIdentifier:function(){return null}}}function Ee(fe,z,ee){return function(){this.name=fe,this.bracketNo=0,this.style=z,this.styles=ee,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Ae={};Ae.importmodule=Ee("importmodule","tag",["string","builtin"]),Ae.documentclass=Ee("documentclass","tag",["","atom"]),Ae.usepackage=Ee("usepackage","tag",["atom"]),Ae.begin=Ee("begin","tag",["atom"]),Ae.end=Ee("end","tag",["atom"]),Ae.label=Ee("label","tag",["atom"]),Ae.ref=Ee("ref","tag",["atom"]),Ae.eqref=Ee("eqref","tag",["atom"]),Ae.cite=Ee("cite","tag",["atom"]),Ae.bibitem=Ee("bibitem","tag",["atom"]),Ae.Bibitem=Ee("Bibitem","tag",["atom"]),Ae.RBibitem=Ee("RBibitem","tag",["atom"]),Ae.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function ye(fe,z){fe.f=z}function De(fe,z){var ee;if(fe.match(/^\\[a-zA-Z@]+/)){var ae=fe.current().slice(1);return ee=Ae.hasOwnProperty(ae)?Ae[ae]:Ae.DEFAULT,ee=new ee,Ze(z,ee),ye(z,xe),ee.style}if(fe.match(/^\\[$&%#{}_]/)||fe.match(/^\\[,;!\/\\]/))return"tag";if(fe.match("\\["))return ye(z,function(le,ue){return me(le,ue,"\\]")}),"keyword";if(fe.match("\\("))return ye(z,function(le,ue){return me(le,ue,"\\)")}),"keyword";if(fe.match("$$"))return ye(z,function(le,ue){return me(le,ue,"$$")}),"keyword";if(fe.match("$"))return ye(z,function(le,ue){return me(le,ue,"$")}),"keyword";var re=fe.next();if(re=="%")return fe.skipToEnd(),"comment";if(re=="}"||re=="]"){if(ee=Ne(z),ee)ee.closeBracket(re),ye(z,xe);else return"error";return"bracket"}else return re=="{"||re=="["?(ee=Ae.DEFAULT,ee=new ee,Ze(z,ee),"bracket"):/\d/.test(re)?(fe.eatWhile(/[\w.%]/),"atom"):(fe.eatWhile(/[\w\-_]/),ee=ce(z),ee.name=="begin"&&(ee.argument=fe.current()),ee.styleIdentifier())}function me(fe,z,ee){if(fe.eatSpace())return null;if(ee&&fe.match(ee))return ye(z,De),"keyword";if(fe.match(/^\\[a-zA-Z@]+/))return"tag";if(fe.match(/^[a-zA-Z]+/))return"variable-2";if(fe.match(/^\\[$&%#{}_]/)||fe.match(/^\\[,;!\/]/)||fe.match(/^[\^_&]/))return"tag";if(fe.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(fe.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var ae=fe.next();return ae=="{"||ae=="}"||ae=="["||ae=="]"||ae=="("||ae==")"?"bracket":ae=="%"?(fe.skipToEnd(),"comment"):"error"}function xe(fe,z){var ee=fe.peek(),ae;return ee=="{"||ee=="["?(ae=Ne(z),ae.openBracket(ee),fe.eat(ee),ye(z,De),"bracket"):/[ \t\r]/.test(ee)?(fe.eat(ee),null):(ye(z,De),ge(z),De(fe,z))}return{startState:function(){var fe=oe.inMathMode?function(z,ee){return me(z,ee)}:De;return{cmdState:[],f:fe}},copyState:function(fe){return{cmdState:fe.cmdState.slice(),f:fe.f}},token:function(fe,z){return z.f(fe,z)},blankLine:function(fe){fe.f=De,fe.cmdState.length=0},lineComment:"%"}}),He.defineMIME("text/x-stex","stex"),He.defineMIME("text/x-latex","stex")})},15525:function(Nn,fn,We){(function(He){He(We(89780))})(function(He){"use strict";var gt={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},oe={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};He.defineMode("xml",function(Ze,Ne){var ge=Ze.indentUnit,ce={},Ee=Ne.htmlMode?gt:oe;for(var Ae in Ee)ce[Ae]=Ee[Ae];for(var Ae in Ne)ce[Ae]=Ne[Ae];var ye,De;function me(ze,$e){function Ue(lt){return $e.tokenize=lt,lt(ze,$e)}var qe=ze.next();if(qe=="<")return ze.eat("!")?ze.eat("[")?ze.match("CDATA[")?Ue(z("atom","]]>")):null:ze.match("--")?Ue(z("comment","-->")):ze.match("DOCTYPE",!0,!0)?(ze.eatWhile(/[\w\._\-]/),Ue(ee(1))):null:ze.eat("?")?(ze.eatWhile(/[\w\._\-]/),$e.tokenize=z("meta","?>"),"meta"):(ye=ze.eat("/")?"closeTag":"openTag",$e.tokenize=xe,"tag bracket");if(qe=="&"){var et;return ze.eat("#")?ze.eat("x")?et=ze.eatWhile(/[a-fA-F\d]/)&&ze.eat(";"):et=ze.eatWhile(/[\d]/)&&ze.eat(";"):et=ze.eatWhile(/[\w\.\-:]/)&&ze.eat(";"),et?"atom":"error"}else return ze.eatWhile(/[^&<]/),null}me.isInText=!0;function xe(ze,$e){var Ue=ze.next();if(Ue==">"||Ue=="/"&&ze.eat(">"))return $e.tokenize=me,ye=Ue==">"?"endTag":"selfcloseTag","tag bracket";if(Ue=="=")return ye="equals",null;if(Ue=="<"){$e.tokenize=me,$e.state=ue,$e.tagName=$e.tagStart=null;var qe=$e.tokenize(ze,$e);return qe?qe+" tag error":"tag error"}else return/[\'\"]/.test(Ue)?($e.tokenize=fe(Ue),$e.stringStartCol=ze.column(),$e.tokenize(ze,$e)):(ze.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function fe(ze){var $e=function(Ue,qe){for(;!Ue.eol();)if(Ue.next()==ze){qe.tokenize=xe;break}return"string"};return $e.isInAttribute=!0,$e}function z(ze,$e){return function(Ue,qe){for(;!Ue.eol();){if(Ue.match($e)){qe.tokenize=me;break}Ue.next()}return ze}}function ee(ze){return function($e,Ue){for(var qe;(qe=$e.next())!=null;){if(qe=="<")return Ue.tokenize=ee(ze+1),Ue.tokenize($e,Ue);if(qe==">")if(ze==1){Ue.tokenize=me;break}else return Ue.tokenize=ee(ze-1),Ue.tokenize($e,Ue)}return"meta"}}function ae(ze,$e,Ue){this.prev=ze.context,this.tagName=$e,this.indent=ze.indented,this.startOfLine=Ue,(ce.doNotIndent.hasOwnProperty($e)||ze.context&&ze.context.noIndent)&&(this.noIndent=!0)}function re(ze){ze.context&&(ze.context=ze.context.prev)}function le(ze,$e){for(var Ue;;){if(!ze.context||(Ue=ze.context.tagName,!ce.contextGrabbers.hasOwnProperty(Ue)||!ce.contextGrabbers[Ue].hasOwnProperty($e)))return;re(ze)}}function ue(ze,$e,Ue){return ze=="openTag"?(Ue.tagStart=$e.column(),pe):ze=="closeTag"?Pe:ue}function pe(ze,$e,Ue){return ze=="word"?(Ue.tagName=$e.current(),De="tag",Me):ce.allowMissingTagName&&ze=="endTag"?(De="tag bracket",Me(ze,$e,Ue)):(De="error",pe)}function Pe(ze,$e,Ue){if(ze=="word"){var qe=$e.current();return Ue.context&&Ue.context.tagName!=qe&&ce.implicitlyClosed.hasOwnProperty(Ue.context.tagName)&&re(Ue),Ue.context&&Ue.context.tagName==qe||ce.matchClosing===!1?(De="tag",be):(De="tag error",Ie)}else return ce.allowMissingTagName&&ze=="endTag"?(De="tag bracket",be(ze,$e,Ue)):(De="error",Ie)}function be(ze,$e,Ue){return ze!="endTag"?(De="error",be):(re(Ue),ue)}function Ie(ze,$e,Ue){return De="error",be(ze,$e,Ue)}function Me(ze,$e,Ue){if(ze=="word")return De="attribute",Oe;if(ze=="endTag"||ze=="selfcloseTag"){var qe=Ue.tagName,et=Ue.tagStart;return Ue.tagName=Ue.tagStart=null,ze=="selfcloseTag"||ce.autoSelfClosers.hasOwnProperty(qe)?le(Ue,qe):(le(Ue,qe),Ue.context=new ae(Ue,qe,et==Ue.indented)),ue}return De="error",Me}function Oe(ze,$e,Ue){return ze=="equals"?Te:(ce.allowMissing||(De="error"),Me(ze,$e,Ue))}function Te(ze,$e,Ue){return ze=="string"?je:ze=="word"&&ce.allowUnquoted?(De="string",Me):(De="error",Me(ze,$e,Ue))}function je(ze,$e,Ue){return ze=="string"?je:Me(ze,$e,Ue)}return{startState:function(ze){var $e={tokenize:me,state:ue,indented:ze||0,tagName:null,tagStart:null,context:null};return ze!=null&&($e.baseIndent=ze),$e},token:function(ze,$e){if(!$e.tagName&&ze.sol()&&($e.indented=ze.indentation()),ze.eatSpace())return null;ye=null;var Ue=$e.tokenize(ze,$e);return(Ue||ye)&&Ue!="comment"&&(De=null,$e.state=$e.state(ye||Ue,ze,$e),De&&(Ue=De=="error"?Ue+" error":De)),Ue},indent:function(ze,$e,Ue){var qe=ze.context;if(ze.tokenize.isInAttribute)return ze.tagStart==ze.indented?ze.stringStartCol+1:ze.indented+ge;if(qe&&qe.noIndent)return He.Pass;if(ze.tokenize!=xe&&ze.tokenize!=me)return Ue?Ue.match(/^(\s*)/)[0].length:0;if(ze.tagName)return ce.multilineTagIndentPastTag!==!1?ze.tagStart+ze.tagName.length+2:ze.tagStart+ge*(ce.multilineTagIndentFactor||1);if(ce.alignCDATA&&/<!\[CDATA\[/.test($e))return 0;var et=$e&&/^<(\/)?([\w_:\.-]*)/.exec($e);if(et&&et[1])for(;qe;)if(qe.tagName==et[2]){qe=qe.prev;break}else if(ce.implicitlyClosed.hasOwnProperty(qe.tagName))qe=qe.prev;else break;else if(et)for(;qe;){var lt=ce.contextGrabbers[qe.tagName];if(lt&&lt.hasOwnProperty(et[2]))qe=qe.prev;else break}for(;qe&&qe.prev&&!qe.startOfLine;)qe=qe.prev;return qe?qe.indent+ge:ze.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:ce.htmlMode?"html":"xml",helperType:ce.htmlMode?"html":"xml",skipAttribute:function(ze){ze.state==Te&&(ze.state=Me)},xmlCurrentTag:function(ze){return ze.tagName?{name:ze.tagName,close:ze.type=="closeTag"}:null},xmlCurrentContext:function(ze){for(var $e=[],Ue=ze.context;Ue;Ue=Ue.prev)Ue.tagName&&$e.push(Ue.tagName);return $e.reverse()}}}),He.defineMIME("text/xml","xml"),He.defineMIME("application/xml","xml"),He.mimeModes.hasOwnProperty("text/html")||He.defineMIME("text/html",{name:"xml",htmlMode:!0})})},12378:function(Nn,fn,We){"use strict";We.d(fn,{$u:function(){return Ae},BD:function(){return _e},E9:function(){return Ee},FF:function(){return qr},FJ:function(){return ue},Hn:function(){return le},KX:function(){return Pe},NB:function(){return ht},S0:function(){return wt},UL:function(){return ye},Vk:function(){return re},Vm:function(){return mt},YI:function(){return bt},ZA:function(){return oe},Zt:function(){return De},al:function(){return Le},bn:function(){return Je},bx:function(){return we},g2:function(){return it},h1:function(){return Te},hD:function(){return xn},l4:function(){return ge},rU:function(){return Et},s_:function(){return Ce},uz:function(){return Qe},z6:function(){return me}}),Nn=We.hmd(Nn),function(){var ot;function xi(a){var y=0;return function(){return y<a.length?{done:!1,value:a[y++]}:{done:!0}}}function gi(a){var y=typeof Symbol!="undefined"&&Symbol.iterator&&a[Symbol.iterator];return y?y.call(a):{next:xi(a)}}function Ln(a){for(var y,x=[];!(y=a.next()).done;)x.push(y.value);return x}var hr=typeof Object.create=="function"?Object.create:function(a){function y(){}return y.prototype=a,new y},ar;if(typeof Object.setPrototypeOf=="function")ar=Object.setPrototypeOf;else{var vr;e:{var Un={a:!0},Yn={};try{Yn.__proto__=Un,vr=Yn.a;break e}catch(a){}vr=!1}ar=vr?function(a,y){if(a.__proto__=y,a.__proto__!==y)throw new TypeError(a+" is not extensible");return a}:null}var Qt=ar;function Zt(a,y){if(a.prototype=hr(y.prototype),a.prototype.constructor=a,Qt)Qt(a,y);else for(var x in y)if(x!="prototype")if(Object.defineProperties){var b=Object.getOwnPropertyDescriptor(y,x);b&&Object.defineProperty(a,x,b)}else a[x]=y[x];a.QA=y.prototype}var Pt=typeof We.g!="undefined"&&We.g!=null?We.g:self,an=typeof Object.assign=="function"?Object.assign:function(a,y){for(var x=1;x<arguments.length;x++){var b=arguments[x];if(b)for(var E in b)Object.prototype.hasOwnProperty.call(b,E)&&(a[E]=b[E])}return a},gn=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,y,x){a!=Array.prototype&&a!=Object.prototype&&(a[y]=x.value)};function Xt(a,y){if(y){var x=Pt;a=a.split(".");for(var b=0;b<a.length-1;b++){var E=a[b];E in x||(x[E]={}),x=x[E]}a=a[a.length-1],b=x[a],y=y(b),y!=b&&y!=null&&gn(x,a,{writable:!0,value:y})}}Xt("Object.assign",function(a){return a||an}),Xt("Array.prototype.fill",function(a){return a||function(y,x,b){var E=this.length||0;for(0>x&&(x=Math.max(0,E+x)),(b==null||b>E)&&(b=E),b=Number(b),0>b&&(b=Math.max(0,E+b)),x=Number(x||0);x<b;x++)this[x]=y;return this}});var Dt=typeof globalThis=="object"&&globalThis||typeof We.g=="object"&&We.g.global===We.g&&We.g||typeof self=="object"&&self.self===self&&self||{};Dt.requestAnimationFrame===void 0&&(Dt.setImmediate===void 0?Dt.requestAnimationFrame=function(a){Dt.setTimeout(a,0)}:Dt.requestAnimationFrame=Dt.setImmediate);function cn(){}function bn(a,y){var x=-1;return function(){var b=this,E=arguments;x!==-1&&Dt.clearTimeout(x),x=kn(function(){x=-1,a.apply(b,E)},y)}}function kn(a,y){return Dt.setTimeout(a,y)}function Gn(a){return Dt.document.createElement(a)}function Ht(a){throw Error(a)}function An(a,y){a="The object is frozen, so its properties cannot be set: "+a.toString(),y!==void 0&&(a+=" to value: "+y),Ht(a)}function Kn(a,y,x,b){x=x===null?"*":typeof x=="string"?x:typeof x=="function"&&typeof x.className=="string"?x.className:"",b!==void 0&&(x+="."+b),Ht(x+" is not in the range "+y+": "+a)}function ir(a){Dt.console&&Dt.console.log(a)}function sn(a){return typeof a=="object"&&a!==null}function Cn(a){return Array.isArray(a)||Dt.NodeList&&a instanceof Dt.NodeList||Dt.HTMLCollection&&a instanceof Dt.HTMLCollection}function rn(a){return Array.prototype.slice.call(a)}function Sn(a,y,x){Array.isArray(a)?y>=a.length?a.push(x):a.splice(y,0,x):Ht("Cannot insert an object into an HTMLCollection or NodeList: "+x+" at "+y)}function vn(a,y){Array.isArray(a)?y>=a.length?a.pop():a.splice(y,1):Ht("Cannot remove an object from an HTMLCollection or NodeList at "+y)}function yn(){var a=Nr.pop();return a===void 0?[]:a}function Tn(a){a.length=0,Nr.push(a)}function Fn(a){if(typeof a=="function"){if(a.className)return a.className;if(a.name)return a.name;var y=a.toString();if(y=y.substring(9,y.indexOf("(")).trim(),y!=="")return a._className=y}else if(sn(a)&&a.constructor)return Fn(a.constructor);return typeof a}function jn(a){var y=a;return sn(a)&&(a.text?y=a.text:a.name?y=a.name:a.key!==void 0?y=a.key:a.id!==void 0?y=a.id:a.constructor===Object&&(a.Text?y=a.Text:a.Name?y=a.Name:a.Key!==void 0?y=a.Key:a.Id!==void 0?y=a.Id:a.ID!==void 0&&(y=a.ID))),y===void 0?"undefined":y===null?"null":y.toString()}function Zn(a,y){if(a.hasOwnProperty(y))return!0;for(a=Object.getPrototypeOf(a);a&&a!==Function;){if(a.hasOwnProperty(y))return!0;var x=a.CA;if(x&&x[y])return!0;a=Object.getPrototypeOf(a)}return!1}function gr(a,y,x){Object.defineProperty(Wo.prototype,a,{get:y,set:x})}function pn(a){for(var y=[],x=0;256>x;x++)y["0123456789abcdef".charAt(x>>4)+"0123456789abcdef".charAt(x&15)]=String.fromCharCode(x);a.length%2&&(a="0"+a),x=[];for(var b=0,E=0;E<a.length;E+=2)x[b++]=y[a.substr(E,2)];for(a=x.join(""),a=a===""?"0":a,y=[],x=0;256>x;x++)y[x]=x;for(x=b=0;256>x;x++)b=(b+y[x]+119)%256,E=y[x],y[x]=y[b],y[b]=E;b=x=0;for(var te="",ne=0;ne<a.length;ne++)x=(x+1)%256,b=(b+y[x])%256,E=y[x],y[x]=y[b],y[b]=E,te+=String.fromCharCode(a.charCodeAt(ne)^y[(y[x]+y[b])%256]);return te.indexOf("GoJS 2.1 evaluation")>-1||te.indexOf("\xA9 1998-2021 Northwoods Software")>-1||te.indexOf("Not for distribution or production use")>-1||te.indexOf("gojs.net")>-1?"":te}var Tr=Dt.navigator!==void 0&&0<Dt.navigator.userAgent.indexOf("Trident/7"),Ur=Dt.navigator!==void 0&&Dt.navigator.platform!==void 0&&Dt.navigator.platform.match(/(iPhone|iPod|iPad|Mac)/i)!==null,Nr=[];Object.freeze([]),cn.className="Util",cn.Dx="32ab5ff3b26f42dc0ed90f21472913b5",cn.adym="gojs.net",cn.vfo="28e645fdb266",cn.className="Util";function wn(a,y,x){hi(this),this.j=a,this.xa=y,this.o=x}wn.prototype.toString=function(){return"EnumValue."+this.xa};function Jn(a,y){return y==null||y===""?null:a[y]}Pt.Object.defineProperties(wn.prototype,{classType:{get:function(){return this.j}},name:{get:function(){return this.xa}},value:{get:function(){return this.o}}}),wn.className="EnumValue";function dr(){this.ew=[]}dr.prototype.toString=function(){return this.ew.join("")},dr.prototype.add=function(a){a!==""&&this.ew.push(a)},dr.className="StringBuilder";function Ar(){}Ar.className="PropertyCollection";var fr={EA:!1,JA:!1,GA:!1,IA:!1,NA:!1,LA:!1,nx:!1,FA:null,trace:function(a){Dt.console&&Dt.console.log(a)},HA:function(a,y,x,b){a.strokeStyle="red",a.fillStyle="red",a.font="8px sans-serif",a.beginPath(),a.moveTo(-10,0),a.lineTo(10,0),a.moveTo(0,-10),a.lineTo(0,10),a.stroke(),a.setTransform(1,0,0,1,0,0),a.scale(x,x),a.transform(y.m11,y.m12,y.m21,y.m22,y.dx,y.dy),a.lineWidth=2,a.beginPath(),a.moveTo(b.left,b.top+20),a.lineTo(b.left,b.top),a.lineTo(b.left+20,b.top),a.moveTo(b.right,b.bottom-20),a.lineTo(b.right,b.bottom),a.lineTo(b.right-20,b.bottom),a.stroke(),a.fillText("DB: "+Math.round(b.x)+", "+Math.round(b.y)+", "+Math.round(b.width)+", "+Math.round(b.height),b.left,b.top-5)},DA:function(a){var y={},x;for(x in a){if(y.x=x,y.x!=="licenseKey"){var b=a[y.x];if(b.prototype!==void 0){y.Zl=Object.getOwnPropertyNames(b.prototype);for(var E={Tj:0};E.Tj<y.Zl.length;E={Tj:E.Tj},E.Tj++){var te=Object.getOwnPropertyDescriptor(b.prototype,y.Zl[E.Tj]);te.get!==void 0&&te.set===void 0&&Object.defineProperty(b.prototype,y.Zl[E.Tj],{set:function(ne,se){return function(){throw Error("Property "+ne.Zl[se.Tj]+" of "+ne.x+" is read-only.")}}(y,E)})}}}y={Zl:y.Zl,x:y.x}}}};function Ir(){}Ir.prototype.reset=function(){},Ir.prototype.next=function(){return!1},Ir.prototype.Ad=function(){return!1},Ir.prototype.first=function(){return null},Ir.prototype.any=function(){return!1},Ir.prototype.all=function(){return!0},Ir.prototype.each=function(){return this},Ir.prototype.map=function(){return this},Ir.prototype.filter=function(){return this},Ir.prototype.de=function(){},Ir.prototype.toString=function(){return"EmptyIterator"},Pt.Object.defineProperties(Ir.prototype,{iterator:{get:function(){return this}},count:{get:function(){return 0}}}),Ir.prototype.first=Ir.prototype.first,Ir.prototype.hasNext=Ir.prototype.Ad,Ir.prototype.next=Ir.prototype.next,Ir.prototype.reset=Ir.prototype.reset;var Gr=null;Ir.className="EmptyIterator",Gr=new Ir;function Wr(a){this.key=-1,this.value=a}Wr.prototype.reset=function(){this.key=-1},Wr.prototype.next=function(){return this.key===-1?(this.key=0,!0):!1},Wr.prototype.Ad=function(){return this.next()},Wr.prototype.first=function(){return this.key=0,this.value},Wr.prototype.any=function(a){return this.key=-1,a(this.value)},Wr.prototype.all=function(a){return this.key=-1,a(this.value)},Wr.prototype.each=function(a){return this.key=-1,a(this.value),this},Wr.prototype.map=function(a){return new Wr(a(this.value))},Wr.prototype.filter=function(a){return a(this.value)?new Wr(this.value):Gr},Wr.prototype.de=function(){this.value=null},Wr.prototype.toString=function(){return"SingletonIterator("+this.value+")"},Pt.Object.defineProperties(Wr.prototype,{iterator:{get:function(){return this}},count:{get:function(){return 1}}}),Wr.prototype.first=Wr.prototype.first,Wr.prototype.hasNext=Wr.prototype.Ad,Wr.prototype.next=Wr.prototype.next,Wr.prototype.reset=Wr.prototype.reset,Wr.className="SingletonIterator";function br(a){this.Bb=a,this.qf=null,a.Sa=null,this.qa=a.Ja,this.Za=-1}br.prototype.reset=function(){var a=this.Bb;a.Sa=null,this.qa=a.Ja,this.Za=-1},br.prototype.next=function(){var a=this.Bb;if(a.Ja!==this.qa&&0>this.key)return!1;a=a.s;var y=a.length,x=++this.Za,b=this.qf;if(b!==null)for(;x<y;){var E=a[x];if(b(E))return this.key=this.Za=x,this.value=E,!0;x++}else{if(x<y)return this.key=x,this.value=a[x],!0;this.de()}return!1},br.prototype.Ad=function(){return this.next()},br.prototype.first=function(){var a=this.Bb;this.qa=a.Ja,this.Za=0,a=a.s;var y=a.length,x=this.qf;if(x!==null){for(var b=0;b<y;){var E=a[b];if(x(E))return this.key=this.Za=b,this.value=E;b++}return null}return 0<y?(a=a[0],this.key=0,this.value=a):null},br.prototype.any=function(a){var y=this.Bb;y.Sa=null,this.Za=-1,y=y.s;for(var x=y.length,b=this.qf,E=0;E<x;E++){var te=y[E];if((b===null||b(te))&&a(te))return!0}return!1},br.prototype.all=function(a){var y=this.Bb;y.Sa=null,this.Za=-1,y=y.s;for(var x=y.length,b=this.qf,E=0;E<x;E++){var te=y[E];if((b===null||b(te))&&!a(te))return!1}return!0},br.prototype.each=function(a){var y=this.Bb;y.Sa=null,this.Za=-1,y=y.s;for(var x=y.length,b=this.qf,E=0;E<x;E++){var te=y[E];(b===null||b(te))&&a(te)}return this},br.prototype.map=function(a){var y=this.Bb;y.Sa=null,this.Za=-1;var x=[];y=y.s;for(var b=y.length,E=this.qf,te=0;te<b;te++){var ne=y[te];(E===null||E(ne))&&x.push(a(ne))}return a=new Dn,a.s=x,a.xb(),a.iterator},br.prototype.filter=function(a){var y=this.Bb;y.Sa=null,this.Za=-1;var x=[];y=y.s;for(var b=y.length,E=this.qf,te=0;te<b;te++){var ne=y[te];(E===null||E(ne))&&a(ne)&&x.push(ne)}return a=new Dn,a.s=x,a.xb(),a.iterator},br.prototype.de=function(){this.key=-1,this.value=null,this.qa=-1,this.qf=null,this.Bb.Sa=this},br.prototype.toString=function(){return"ListIterator@"+this.Za+"/"+this.Bb.count},Pt.Object.defineProperties(br.prototype,{iterator:{get:function(){return this}},predicate:{get:function(){return this.qf},set:function(a){this.qf=a}},count:{get:function(){var a=this.qf;if(a!==null){for(var y=0,x=this.Bb.s,b=x.length,E=0;E<b;E++)a(x[E])&&y++;return y}return this.Bb.s.length}}}),br.prototype.first=br.prototype.first,br.prototype.hasNext=br.prototype.Ad,br.prototype.next=br.prototype.next,br.prototype.reset=br.prototype.reset,br.className="ListIterator";function Kr(a){this.Bb=a,a.Hg=null,this.qa=a.Ja,this.Za=a.s.length}Kr.prototype.reset=function(){var a=this.Bb;a.Hg=null,this.qa=a.Ja,this.Za=a.s.length},Kr.prototype.next=function(){var a=this.Bb;if(a.Ja!==this.qa&&0>this.key)return!1;var y=--this.Za;return 0<=y?(this.key=y,this.value=a.s[y],!0):(this.de(),!1)},Kr.prototype.Ad=function(){return this.next()},Kr.prototype.first=function(){var a=this.Bb;this.qa=a.Ja;var y=a.s;return this.Za=a=y.length-1,0<=a?(y=y[a],this.key=a,this.value=y):null},Kr.prototype.any=function(a){var y=this.Bb;y.Hg=null,y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)if(a(y[x]))return!0;return!1},Kr.prototype.all=function(a){var y=this.Bb;y.Hg=null,y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)if(!a(y[x]))return!1;return!0},Kr.prototype.each=function(a){var y=this.Bb;y.Hg=null,y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)a(y[x]);return this},Kr.prototype.map=function(a){var y=this.Bb;y.Hg=null;var x=[];y=y.s;var b=y.length;for(this.Za=b,--b;0<=b;b--)x.push(a(y[b]));return a=new Dn,a.s=x,a.xb(),a.iterator},Kr.prototype.filter=function(a){var y=this.Bb;y.Hg=null;var x=[];y=y.s;var b=y.length;for(this.Za=b,--b;0<=b;b--){var E=y[b];a(E)&&x.push(E)}return a=new Dn,a.s=x,a.xb(),a.iterator},Kr.prototype.de=function(){this.key=-1,this.value=null,this.qa=-1,this.Bb.Hg=this},Kr.prototype.toString=function(){return"ListIteratorBackwards("+this.Za+"/"+this.Bb.count+")"},Pt.Object.defineProperties(Kr.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.Bb.s.length}}}),Kr.prototype.first=Kr.prototype.first,Kr.prototype.hasNext=Kr.prototype.Ad,Kr.prototype.next=Kr.prototype.next,Kr.prototype.reset=Kr.prototype.reset,Kr.className="ListIteratorBackwards";function Dn(a){hi(this),this._isFrozen=!1,this.s=[],this.Ja=0,this.Hg=this.Sa=null,typeof a=="string"&&Ht("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}ot=Dn.prototype,ot.xb=function(){var a=this.Ja;a++,999999999<a&&(a=0),this.Ja=a},ot.freeze=function(){return this._isFrozen=!0,this},ot.ka=function(){return this._isFrozen=!1,this},ot.toString=function(){return"List()#"+_r(this)},ot.add=function(a){return a===null?this:(this._isFrozen&&An(this,a),this.s.push(a),this.xb(),this)},ot.push=function(a){this.add(a)},ot.addAll=function(a){if(a===null)return this;this._isFrozen&&An(this);var y=this.s;if(Cn(a))for(var x=a.length,b=0;b<x;b++)y.push(a[b]);else for(a=a.iterator;a.next();)y.push(a.value);return this.xb(),this},ot.clear=function(){this._isFrozen&&An(this),this.s.length=0,this.xb()},ot.contains=function(a){return a===null?!1:this.s.indexOf(a)!==-1},ot.has=function(a){return this.contains(a)},ot.indexOf=function(a){return a===null?-1:this.s.indexOf(a)},ot.M=function(a){var y=this.s;return(0>a||a>=y.length)&&Kn(a,"0 <= i < length",Dn,"elt:i"),y[a]},ot.get=function(a){return this.M(a)},ot.cd=function(a,y){var x=this.s;(0>a||a>=x.length)&&Kn(a,"0 <= i < length",Dn,"setElt:i"),this._isFrozen&&An(this,a),x[a]=y},ot.set=function(a,y){this.cd(a,y)},ot.first=function(){var a=this.s;return a.length===0?null:a[0]},ot.jc=function(){var a=this.s,y=a.length;return 0<y?a[y-1]:null},ot.pop=function(){this._isFrozen&&An(this);var a=this.s;return 0<a.length?a.pop():null},Dn.prototype.any=function(a){for(var y=this.s,x=y.length,b=0;b<x;b++)if(a(y[b]))return!0;return!1},Dn.prototype.all=function(a){for(var y=this.s,x=y.length,b=0;b<x;b++)if(!a(y[b]))return!1;return!0},Dn.prototype.each=function(a){for(var y=this.s,x=y.length,b=0;b<x;b++)a(y[b]);return this},Dn.prototype.map=function(a){for(var y=new Dn,x=[],b=this.s,E=b.length,te=0;te<E;te++)x.push(a(b[te]));return y.s=x,y.xb(),y},Dn.prototype.filter=function(a){for(var y=new Dn,x=[],b=this.s,E=b.length,te=0;te<E;te++){var ne=b[te];a(ne)&&x.push(ne)}return y.s=x,y.xb(),y},ot=Dn.prototype,ot.Gb=function(a,y){0>a&&Kn(a,">= 0",Dn,"insertAt:i"),this._isFrozen&&An(this,a);var x=this.s;a>=x.length?x.push(y):x.splice(a,0,y),this.xb()},ot.remove=function(a){if(a===null)return!1;this._isFrozen&&An(this,a);var y=this.s;return a=y.indexOf(a),a===-1?!1:(a===y.length-1?y.pop():y.splice(a,1),this.xb(),!0)},ot.delete=function(a){return this.remove(a)},ot.mb=function(a){var y=this.s;(0>a||a>=y.length)&&Kn(a,"0 <= i < length",Dn,"removeAt:i"),this._isFrozen&&An(this,a),a===y.length-1?y.pop():y.splice(a,1),this.xb()},ot.removeRange=function(a,y){var x=this.s,b=x.length;if(0>a)a=0;else if(a>=b)return this;if(0>y)return this;if(y>=b&&(y=b-1),a>y)return this;this._isFrozen&&An(this);for(var E=a,te=y+1;te<b;)x[E++]=x[te++];return x.length=b-(y-a+1),this.xb(),this},Dn.prototype.copy=function(){var a=new Dn,y=this.s;return 0<y.length&&(a.s=Array.prototype.slice.call(y)),a},ot=Dn.prototype,ot.Fa=function(){for(var a=this.s,y=this.count,x=Array(y),b=0;b<y;b++)x[b]=a[b];return x},ot.Iv=function(){for(var a=new On,y=this.s,x=this.count,b=0;b<x;b++)a.add(y[b]);return a},ot.sort=function(a){return this._isFrozen&&An(this),this.s.sort(a),this.xb(),this},ot.zi=function(a,y,x){var b=this.s,E=b.length;y===void 0&&(y=0),x===void 0&&(x=E),this._isFrozen&&An(this);var te=x-y;if(1>=te)return this;if((0>y||y>=E-1)&&Kn(y,"0 <= from < length",Dn,"sortRange:from"),te===2)return x=b[y],E=b[y+1],0<a(x,E)&&(b[y]=E,b[y+1]=x,this.xb()),this;if(y===0)if(x>=E)b.sort(a);else for(y=b.slice(0,x),y.sort(a),a=0;a<x;a++)b[a]=y[a];else if(x>=E)for(x=b.slice(y),x.sort(a),a=y;a<E;a++)b[a]=x[a-y];else for(E=b.slice(y,x),E.sort(a),a=y;a<x;a++)b[a]=E[a-y];return this.xb(),this},ot.reverse=function(){return this._isFrozen&&An(this),this.s.reverse(),this.xb(),this},Pt.Object.defineProperties(Dn.prototype,{_dataArray:{get:function(){return this.s}},count:{get:function(){return this.s.length}},size:{get:function(){return this.s.length}},length:{get:function(){return this.s.length}},iterator:{get:function(){if(0>=this.s.length)return Gr;var a=this.Sa;return a!==null?(a.reset(),a):new br(this)}},iteratorBackwards:{get:function(){if(0>=this.s.length)return Gr;var a=this.Hg;return a!==null?(a.reset(),a):new Kr(this)}}}),Dn.prototype.reverse=Dn.prototype.reverse,Dn.prototype.sortRange=Dn.prototype.zi,Dn.prototype.sort=Dn.prototype.sort,Dn.prototype.toSet=Dn.prototype.Iv,Dn.prototype.toArray=Dn.prototype.Fa,Dn.prototype.removeRange=Dn.prototype.removeRange,Dn.prototype.removeAt=Dn.prototype.mb,Dn.prototype.delete=Dn.prototype.delete,Dn.prototype.remove=Dn.prototype.remove,Dn.prototype.insertAt=Dn.prototype.Gb,Dn.prototype.pop=Dn.prototype.pop,Dn.prototype.last=Dn.prototype.jc,Dn.prototype.first=Dn.prototype.first,Dn.prototype.set=Dn.prototype.set,Dn.prototype.setElt=Dn.prototype.cd,Dn.prototype.get=Dn.prototype.get,Dn.prototype.elt=Dn.prototype.M,Dn.prototype.indexOf=Dn.prototype.indexOf,Dn.prototype.has=Dn.prototype.has,Dn.prototype.contains=Dn.prototype.contains,Dn.prototype.clear=Dn.prototype.clear,Dn.prototype.addAll=Dn.prototype.addAll,Dn.prototype.push=Dn.prototype.push,Dn.prototype.add=Dn.prototype.add,Dn.prototype.thaw=Dn.prototype.ka,Dn.prototype.freeze=Dn.prototype.freeze,Dn.className="List";function Ei(a){this.eg=a,a.Sa=null,this.qa=a.Ja,this.sa=null}Ei.prototype.reset=function(){var a=this.eg;a.Sa=null,this.qa=a.Ja,this.sa=null},Ei.prototype.next=function(){var a=this.eg;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.value=y.value,this.key=y.key,!0):(this.de(),!1)},Ei.prototype.Ad=function(){return this.next()},Ei.prototype.first=function(){var a=this.eg;if(this.qa=a.Ja,a=a.ea,a!==null){this.sa=a;var y=a.value;return this.key=a.key,this.value=y}return null},Ei.prototype.any=function(a){var y=this.eg;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(a(y.value))return!0;y=y.va}return!1},Ei.prototype.all=function(a){var y=this.eg;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(!a(y.value))return!1;y=y.va}return!0},Ei.prototype.each=function(a){var y=this.eg;for(this.sa=y.Sa=null,y=y.ea;y!==null;)a(y.value),y=y.va;return this},Ei.prototype.map=function(a){var y=this.eg;y.Sa=null;var x=new Dn;for(y=y.ea;y!==null;)x.add(a(y.value)),y=y.va;return x.iterator},Ei.prototype.filter=function(a){var y=this.eg;y.Sa=null;var x=new Dn;for(y=y.ea;y!==null;){var b=y.value;a(b)&&x.add(b),y=y.va}return x.iterator},Ei.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.eg.Sa=this},Ei.prototype.toString=function(){return this.sa!==null?"SetIterator@"+this.sa.value:"SetIterator"},Pt.Object.defineProperties(Ei.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.eg.Sb}}}),Ei.prototype.first=Ei.prototype.first,Ei.prototype.hasNext=Ei.prototype.Ad,Ei.prototype.next=Ei.prototype.next,Ei.prototype.reset=Ei.prototype.reset,Ei.className="SetIterator";function On(a){hi(this),this._isFrozen=!1,this.Tb={},this.Sb=0,this.Sa=null,this.Ja=0,this.kf=this.ea=null,typeof a=="string"&&Ht("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}ot=On.prototype,ot.xb=function(){var a=this.Ja;a++,999999999<a&&(a=0),this.Ja=a},ot.freeze=function(){return this._isFrozen=!0,this},ot.ka=function(){return this._isFrozen=!1,this},ot.toString=function(){return"Set()#"+_r(this)},ot.add=function(a){if(a===null)return this;this._isFrozen&&An(this,a);var y=a;return sn(a)&&(y=Ri(a)),this.Tb[y]===void 0&&(this.Sb++,a=new wi(a,a),this.Tb[y]=a,y=this.kf,y===null?this.ea=a:(a.ll=y,y.va=a),this.kf=a,this.xb()),this},ot.addAll=function(a){if(a===null)return this;if(this._isFrozen&&An(this),Cn(a))for(var y=a.length,x=0;x<y;x++)this.add(a[x]);else for(a=a.iterator;a.next();)this.add(a.value);return this},ot.contains=function(a){if(a===null)return!1;var y=a;return sn(a)&&(y=_r(a),y===void 0)?!1:this.Tb[y]!==void 0},ot.has=function(a){return this.contains(a)},ot.Sy=function(a){if(a===null)return!0;for(a=a.iterator;a.next();)if(!this.contains(a.value))return!1;return!0},ot.Ty=function(a){if(a===null)return!0;for(a=a.iterator;a.next();)if(this.contains(a.value))return!0;return!1},ot.first=function(){var a=this.ea;return a===null?null:a.value},On.prototype.any=function(a){for(var y=this.ea;y!==null;){if(a(y.value))return!0;y=y.va}return!1},On.prototype.all=function(a){for(var y=this.ea;y!==null;){if(!a(y.value))return!1;y=y.va}return!0},On.prototype.each=function(a){for(var y=this.ea;y!==null;)a(y.value),y=y.va;return this},On.prototype.map=function(a){for(var y=new On,x=this.ea;x!==null;)y.add(a(x.value)),x=x.va;return y},On.prototype.filter=function(a){for(var y=new On,x=this.ea;x!==null;){var b=x.value;a(b)&&y.add(b),x=x.va}return y},ot=On.prototype,ot.remove=function(a){if(a===null)return!1;this._isFrozen&&An(this,a);var y=a;if(sn(a)&&(y=_r(a),y===void 0)||(a=this.Tb[y],a===void 0))return!1;var x=a.va,b=a.ll;return x!==null&&(x.ll=b),b!==null&&(b.va=x),this.ea===a&&(this.ea=x),this.kf===a&&(this.kf=b),delete this.Tb[y],this.Sb--,this.xb(),!0},ot.delete=function(a){return this.remove(a)},ot.hp=function(a){if(a===null)return this;if(this._isFrozen&&An(this),Cn(a))for(var y=a.length,x=0;x<y;x++)this.remove(a[x]);else for(a=a.iterator;a.next();)this.remove(a.value);return this},ot.pA=function(a){if(a===null||this.count===0)return this;this._isFrozen&&An(this);var y=new On;y.addAll(a),a=[];for(var x=this.iterator;x.next();){var b=x.value;y.contains(b)||a.push(b)}return this.hp(a),this},ot.clear=function(){this._isFrozen&&An(this),this.Tb={},this.Sb=0,this.Sa!==null&&this.Sa.reset(),this.kf=this.ea=null,this.xb()},On.prototype.copy=function(){var a=new On,y=this.Tb,x;for(x in y)a.add(y[x].value);return a},On.prototype.Fa=function(){var a=Array(this.Sb),y=this.Tb,x=0,b;for(b in y)a[x]=y[b].value,x++;return a},On.prototype.Hv=function(){var a=new Dn,y=this.Tb,x;for(x in y)a.add(y[x].value);return a};function hi(a){a.__gohashid=Xi++}function Ri(a){var y=a.__gohashid;return y===void 0&&(y=Xi++,a.__gohashid=y),y}function _r(a){return a.__gohashid}Pt.Object.defineProperties(On.prototype,{count:{get:function(){return this.Sb}},size:{get:function(){return this.Sb}},iterator:{get:function(){if(0>=this.Sb)return Gr;var a=this.Sa;return a!==null?(a.reset(),a):new Ei(this)}}}),On.prototype.toList=On.prototype.Hv,On.prototype.toArray=On.prototype.Fa,On.prototype.clear=On.prototype.clear,On.prototype.retainAll=On.prototype.pA,On.prototype.removeAll=On.prototype.hp,On.prototype.delete=On.prototype.delete,On.prototype.remove=On.prototype.remove,On.prototype.first=On.prototype.first,On.prototype.containsAny=On.prototype.Ty,On.prototype.containsAll=On.prototype.Sy,On.prototype.has=On.prototype.has,On.prototype.contains=On.prototype.contains,On.prototype.addAll=On.prototype.addAll,On.prototype.add=On.prototype.add,On.prototype.thaw=On.prototype.ka,On.prototype.freeze=On.prototype.freeze;var Xi=1;On.className="Set",On.uniqueHash=hi,On.hashIdUnique=Ri,On.hashId=_r;function Oi(a){this.ma=a,this.qa=a.Ja,this.sa=null}Oi.prototype.reset=function(){this.qa=this.ma.Ja,this.sa=null},Oi.prototype.next=function(){var a=this.ma;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.value=this.key=a=y.key,!0):(this.de(),!1)},Oi.prototype.Ad=function(){return this.next()},Oi.prototype.first=function(){var a=this.ma;return this.qa=a.Ja,a=a.ea,a!==null?(this.sa=a,this.value=this.key=a=a.key):null},Oi.prototype.any=function(a){var y=this.ma;for(this.sa=null,y=y.ea;y!==null;){if(a(y.key))return!0;y=y.va}return!1},Oi.prototype.all=function(a){var y=this.ma;for(this.sa=null,y=y.ea;y!==null;){if(!a(y.key))return!1;y=y.va}return!0},Oi.prototype.each=function(a){var y=this.ma;for(this.sa=null,y=y.ea;y!==null;)a(y.key),y=y.va;return this},Oi.prototype.map=function(a){var y=this.ma;this.sa=null;var x=new Dn;for(y=y.ea;y!==null;)x.add(a(y.key)),y=y.va;return x.iterator},Oi.prototype.filter=function(a){var y=this.ma;this.sa=null;var x=new Dn;for(y=y.ea;y!==null;){var b=y.key;a(b)&&x.add(b),y=y.va}return x.iterator},Oi.prototype.de=function(){this.value=this.key=null,this.qa=-1},Oi.prototype.toString=function(){return this.sa!==null?"MapKeySetIterator@"+this.sa.value:"MapKeySetIterator"},Pt.Object.defineProperties(Oi.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),Oi.prototype.first=Oi.prototype.first,Oi.prototype.hasNext=Oi.prototype.Ad,Oi.prototype.next=Oi.prototype.next,Oi.prototype.reset=Oi.prototype.reset,Oi.className="MapKeySetIterator";function Rr(a){On.call(this),hi(this),this._isFrozen=!0,this.ma=a}Zt(Rr,On),ot=Rr.prototype,ot.freeze=function(){return this},ot.ka=function(){return this},ot.toString=function(){return"MapKeySet("+this.ma.toString()+")"},ot.add=function(){Ht("This Set is read-only: "+this.toString())},ot.contains=function(a){return this.ma.contains(a)},ot.has=function(a){return this.contains(a)},ot.remove=function(){Ht("This Set is read-only: "+this.toString())},ot.delete=function(a){return this.remove(a)},ot.clear=function(){Ht("This Set is read-only: "+this.toString())},ot.first=function(){var a=this.ma.ea;return a!==null?a.key:null},Rr.prototype.any=function(a){for(var y=this.ma.ea;y!==null;){if(a(y.key))return!0;y=y.va}return!1},Rr.prototype.all=function(a){for(var y=this.ma.ea;y!==null;){if(!a(y.key))return!1;y=y.va}return!0},Rr.prototype.each=function(a){for(var y=this.ma.ea;y!==null;)a(y.key),y=y.va;return this},Rr.prototype.map=function(a){for(var y=new On,x=this.ma.ea;x!==null;)y.add(a(x.key)),x=x.va;return y},Rr.prototype.filter=function(a){for(var y=new On,x=this.ma.ea;x!==null;){var b=x.key;a(b)&&y.add(b),x=x.va}return y},Rr.prototype.copy=function(){return new Rr(this.ma)},Rr.prototype.Iv=function(){var a=new On,y=this.ma.Tb,x;for(x in y)a.add(y[x].key);return a},Rr.prototype.Fa=function(){var a=this.ma.Tb,y=Array(this.ma.Sb),x=0,b;for(b in a)y[x]=a[b].key,x++;return y},Rr.prototype.Hv=function(){var a=new Dn,y=this.ma.Tb,x;for(x in y)a.add(y[x].key);return a},Pt.Object.defineProperties(Rr.prototype,{count:{get:function(){return this.ma.Sb}},size:{get:function(){return this.ma.Sb}},iterator:{get:function(){return 0>=this.ma.Sb?Gr:new Oi(this.ma)}}}),Rr.prototype.toList=Rr.prototype.Hv,Rr.prototype.toArray=Rr.prototype.Fa,Rr.prototype.toSet=Rr.prototype.Iv,Rr.prototype.first=Rr.prototype.first,Rr.prototype.clear=Rr.prototype.clear,Rr.prototype.delete=Rr.prototype.delete,Rr.prototype.remove=Rr.prototype.remove,Rr.prototype.has=Rr.prototype.has,Rr.prototype.contains=Rr.prototype.contains,Rr.prototype.add=Rr.prototype.add,Rr.prototype.thaw=Rr.prototype.ka,Rr.prototype.freeze=Rr.prototype.freeze,Rr.className="MapKeySet";function zr(a){this.ma=a,a.jf=null,this.qa=a.Ja,this.sa=null}zr.prototype.reset=function(){var a=this.ma;a.jf=null,this.qa=a.Ja,this.sa=null},zr.prototype.next=function(){var a=this.ma;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.value=y.value,this.key=y.key,!0):(this.de(),!1)},zr.prototype.Ad=function(){return this.next()},zr.prototype.first=function(){var a=this.ma;if(this.qa=a.Ja,a=a.ea,a!==null){this.sa=a;var y=a.value;return this.key=a.key,this.value=y}return null},zr.prototype.any=function(a){var y=this.ma;for(this.sa=y.jf=null,y=y.ea;y!==null;){if(a(y.value))return!0;y=y.va}return!1},zr.prototype.all=function(a){var y=this.ma;for(this.sa=y.jf=null,y=y.ea;y!==null;){if(!a(y.value))return!1;y=y.va}return!0},zr.prototype.each=function(a){var y=this.ma;for(this.sa=y.jf=null,y=y.ea;y!==null;)a(y.value),y=y.va;return this},zr.prototype.map=function(a){var y=this.ma;this.sa=y.jf=null;var x=new Dn;for(y=y.ea;y!==null;)x.add(a(y.value)),y=y.va;return x.iterator},zr.prototype.filter=function(a){var y=this.ma;this.sa=y.jf=null;var x=new Dn;for(y=y.ea;y!==null;){var b=y.value;a(b)&&x.add(b),y=y.va}return x.iterator},zr.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.ma.jf=this},zr.prototype.toString=function(){return this.sa!==null?"MapValueSetIterator@"+this.sa.value:"MapValueSetIterator"},Pt.Object.defineProperties(zr.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),zr.prototype.first=zr.prototype.first,zr.prototype.hasNext=zr.prototype.Ad,zr.prototype.next=zr.prototype.next,zr.prototype.reset=zr.prototype.reset,zr.className="MapValueSetIterator";function wi(a,y){this.key=a,this.value=y,this.ll=this.va=null}wi.prototype.toString=function(){return"{"+this.key+":"+this.value+"}"},wi.className="KeyValuePair";function ki(a){this.ma=a,a.Sa=null,this.qa=a.Ja,this.sa=null}ki.prototype.reset=function(){var a=this.ma;a.Sa=null,this.qa=a.Ja,this.sa=null},ki.prototype.next=function(){var a=this.ma;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.key=y.key,this.value=y.value,!0):(this.de(),!1)},ki.prototype.Ad=function(){return this.next()},ki.prototype.first=function(){var a=this.ma;return this.qa=a.Ja,a=a.ea,a!==null?(this.sa=a,this.key=a.key,this.value=a.value,a):null},ki.prototype.any=function(a){var y=this.ma;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(a(y))return!0;y=y.va}return!1},ki.prototype.all=function(a){var y=this.ma;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(!a(y))return!1;y=y.va}return!0},ki.prototype.each=function(a){var y=this.ma;for(this.sa=y.Sa=null,y=y.ea;y!==null;)a(y),y=y.va;return this},ki.prototype.map=function(a){var y=this.ma;this.sa=y.Sa=null;var x=new Dn;for(y=y.ea;y!==null;)x.add(a(y)),y=y.va;return x.iterator},ki.prototype.filter=function(a){var y=this.ma;this.sa=y.Sa=null;var x=new Dn;for(y=y.ea;y!==null;)a(y)&&x.add(y),y=y.va;return x.iterator},ki.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.ma.Sa=this},ki.prototype.toString=function(){return this.sa!==null?"MapIterator@"+this.sa:"MapIterator"},Pt.Object.defineProperties(ki.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),ki.prototype.first=ki.prototype.first,ki.prototype.hasNext=ki.prototype.Ad,ki.prototype.next=ki.prototype.next,ki.prototype.reset=ki.prototype.reset,ki.className="MapIterator";function pr(a){hi(this),this._isFrozen=!1,this.Tb={},this.Sb=0,this.jf=this.Sa=null,this.Ja=0,this.kf=this.ea=null,typeof a=="string"&&Ht("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}ot=pr.prototype,ot.xb=function(){var a=this.Ja;a++,999999999<a&&(a=0),this.Ja=a},ot.freeze=function(){return this._isFrozen=!0,this},ot.ka=function(){return this._isFrozen=!1,this},ot.toString=function(){return"Map()#"+_r(this)},ot.add=function(a,y){this._isFrozen&&An(this,a);var x=a;sn(a)&&(x=Ri(a));var b=this.Tb[x];return b===void 0?(this.Sb++,a=new wi(a,y),this.Tb[x]=a,x=this.kf,x===null?this.ea=a:(a.ll=x,x.va=a),this.kf=a,this.xb()):b.value=y,this},ot.set=function(a,y){return this.add(a,y)},ot.addAll=function(a){if(a===null)return this;if(Cn(a))for(var y=a.length,x=0;x<y;x++){var b=a[x];this.add(b.key,b.value)}else if(a instanceof pr)for(a=a.iterator;a.next();)this.add(a.key,a.value);else for(a=a.iterator;a.next();)y=a.value,this.add(y.key,y.value);return this},ot.first=function(){return this.ea},pr.prototype.any=function(a){for(var y=this.ea;y!==null;){if(a(y))return!0;y=y.va}return!1},pr.prototype.all=function(a){for(var y=this.ea;y!==null;){if(!a(y))return!1;y=y.va}return!0},pr.prototype.each=function(a){for(var y=this.ea;y!==null;)a(y),y=y.va;return this},pr.prototype.map=function(a){for(var y=new pr,x=this.ea;x!==null;)y.add(x.key,a(x)),x=x.va;return y},pr.prototype.filter=function(a){for(var y=new pr,x=this.ea;x!==null;)a(x)&&y.add(x.key,x.value),x=x.va;return y},ot=pr.prototype,ot.contains=function(a){var y=a;return sn(a)&&(y=_r(a),y===void 0)?!1:this.Tb[y]!==void 0},ot.has=function(a){return this.contains(a)},ot.I=function(a){var y=a;return sn(a)&&(y=_r(a),y===void 0)?null:(a=this.Tb[y],a===void 0?null:a.value)},ot.get=function(a){return this.I(a)},ot.remove=function(a){if(a===null)return!1;this._isFrozen&&An(this,a);var y=a;if(sn(a)&&(y=_r(a),y===void 0)||(a=this.Tb[y],a===void 0))return!1;var x=a.va,b=a.ll;return x!==null&&(x.ll=b),b!==null&&(b.va=x),this.ea===a&&(this.ea=x),this.kf===a&&(this.kf=b),delete this.Tb[y],this.Sb--,this.xb(),!0},ot.delete=function(a){return this.remove(a)},ot.clear=function(){this._isFrozen&&An(this),this.Tb={},this.Sb=0,this.Sa!==null&&this.Sa.reset(),this.jf!==null&&this.jf.reset(),this.kf=this.ea=null,this.xb()},pr.prototype.copy=function(){var a=new pr,y=this.Tb,x;for(x in y){var b=y[x];a.add(b.key,b.value)}return a},pr.prototype.Fa=function(){var a=this.Tb,y=Array(this.Sb),x=0,b;for(b in a){var E=a[b];y[x]=new wi(E.key,E.value),x++}return y},pr.prototype.Lf=function(){return new Rr(this)},Pt.Object.defineProperties(pr.prototype,{count:{get:function(){return this.Sb}},size:{get:function(){return this.Sb}},iterator:{get:function(){if(0>=this.count)return Gr;var a=this.Sa;return a!==null?(a.reset(),a):new ki(this)}},iteratorKeys:{get:function(){return 0>=this.count?Gr:new Oi(this)}},iteratorValues:{get:function(){if(0>=this.count)return Gr;var a=this.jf;return a!==null?(a.reset(),a):new zr(this)}}}),pr.prototype.toKeySet=pr.prototype.Lf,pr.prototype.toArray=pr.prototype.Fa,pr.prototype.clear=pr.prototype.clear,pr.prototype.delete=pr.prototype.delete,pr.prototype.remove=pr.prototype.remove,pr.prototype.get=pr.prototype.get,pr.prototype.getValue=pr.prototype.I,pr.prototype.has=pr.prototype.has,pr.prototype.contains=pr.prototype.contains,pr.prototype.first=pr.prototype.first,pr.prototype.addAll=pr.prototype.addAll,pr.prototype.set=pr.prototype.set,pr.prototype.add=pr.prototype.add,pr.prototype.thaw=pr.prototype.ka,pr.prototype.freeze=pr.prototype.freeze,pr.className="Map";function Lt(a,y){a===void 0?this.y=this.x=0:typeof a=="number"&&typeof y=="number"?(this.x=a,this.y=y):Ht("Invalid arguments to Point constructor: "+a+", "+y),this._isFrozen=!1}var Li,ao,Pi,co,wo;Lt.prototype.assign=function(a){return this.x=a.x,this.y=a.y,this},Lt.prototype.h=function(a,y){return this.x=a,this.y=y,this},Lt.prototype.sg=function(a,y){return this.x=a,this.y=y,this},Lt.prototype.set=function(a){return this.x=a.x,this.y=a.y,this},Lt.prototype.copy=function(){var a=new Lt;return a.x=this.x,a.y=this.y,a},ot=Lt.prototype,ot.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},ot.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},ot.freeze=function(){return this._isFrozen=!0,this},ot.ka=function(){return Object.isFrozen(this)&&Ht("cannot thaw constant: "+this),this._isFrozen=!1,this};function ni(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var b=a[y++];b&&(x=parseFloat(b));for(var E=0;a[y]==="";)y++;return(b=a[y++])&&(E=parseFloat(b)),new Lt(x,E)}return new Lt}function di(a){return a.x.toString()+" "+a.y.toString()}ot.toString=function(){return"Point("+this.x+","+this.y+")"},ot.D=function(a){return a instanceof Lt?this.x===a.x&&this.y===a.y:!1},ot.hi=function(a,y){return this.x===a&&this.y===y},ot.Xa=function(a){return tn.B(this.x,a.x)&&tn.B(this.y,a.y)},ot.add=function(a){return this.x+=a.x,this.y+=a.y,this},ot.re=function(a){return this.x-=a.x,this.y-=a.y,this},ot.offset=function(a,y){return this.x+=a,this.y+=y,this},Lt.prototype.rotate=function(a){if(a===0)return this;var y=this.x,x=this.y;if(y===0&&x===0)return this;if(360<=a?a-=360:0>a&&(a+=360),a===90){a=0;var b=1}else a===180?(a=-1,b=0):a===270?(a=0,b=-1):(b=a*Math.PI/180,a=Math.cos(b),b=Math.sin(b));return this.x=a*y-b*x,this.y=b*y+a*x,this},ot=Lt.prototype,ot.scale=function(a,y){return this.x*=a,this.y*=y,this},ot.Bf=function(a){var y=a.x-this.x;return a=a.y-this.y,y*y+a*a},ot.zd=function(a,y){return a-=this.x,y-=this.y,a*a+y*y},ot.normalize=function(){var a=this.x,y=this.y,x=Math.sqrt(a*a+y*y);return 0<x&&(this.x=a/x,this.y=y/x),this},ot.ab=function(a){return Fi(a.x-this.x,a.y-this.y)},ot.direction=function(a,y){return Fi(a-this.x,y-this.y)};function Fi(a,y){if(a===0)return 0<y?90:0>y?270:0;if(y===0)return 0<a?0:180;if(isNaN(a)||isNaN(y))return 0;var x=180*Math.atan(Math.abs(y/a))/Math.PI;return 0>a?x=0>y?x+180:180-x:0>y&&(x=360-x),x}ot.Ry=function(a,y){return tn.Fl(a.x,a.y,y.x,y.y,this.x,this.y)},ot.fA=function(a,y,x,b){return tn.qh(a,y,x,b,this.x,this.y,this),this},ot.gA=function(a,y){return tn.qh(a.x,a.y,y.x,y.y,this.x,this.y,this),this},ot.uA=function(a,y,x,b){return tn.No(this.x,this.y,a,y,x,b,this),this},ot.vA=function(a,y){return tn.No(this.x,this.y,a.x,a.y,y.width,y.height,this),this},ot.xi=function(a,y){return this.x=a.x+y.x*a.width+y.offsetX,this.y=a.y+y.y*a.height+y.offsetY,this},ot.yi=function(a,y,x,b,E){return this.x=a+E.x*x+E.offsetX,this.y=y+E.y*b+E.offsetY,this},ot.transform=function(a){return a.Ga(this),this};function bi(a,y){return y.Cd(a),a}function so(a,y,x,b,E,te){var ne=E-x,se=te-b,he=ne*ne+se*se;x-=a,b-=y;var ve=-x*ne-b*se;return 0>=ve||ve>=he?(ne=E-a,se=te-y,Math.min(x*x+b*b,ne*ne+se*se)):(a=ne*b-se*x,a*a/he)}function Po(a,y,x,b){return a=x-a,y=b-y,a*a+y*y}function Vr(a,y,x,b){return a=x-a,y=b-y,a===0?0<y?90:0>y?270:0:y===0?0<a?0:180:isNaN(a)||isNaN(y)?0:(b=180*Math.atan(Math.abs(y/a))/Math.PI,0>a?b=0>y?b+180:180-b:0>y&&(b=360-b),b)}ot.w=function(){return isFinite(this.x)&&isFinite(this.y)},Lt.alloc=function(){var a=Xr.pop();return a===void 0?new Lt:a},Lt.allocAt=function(a,y){var x=Xr.pop();return x===void 0?new Lt(a,y):(x.x=a,x.y=y,x)},Lt.free=function(a){Xr.push(a)},Lt.prototype.isReal=Lt.prototype.w,Lt.prototype.setSpot=Lt.prototype.yi,Lt.prototype.setRectSpot=Lt.prototype.xi,Lt.prototype.snapToGridPoint=Lt.prototype.vA,Lt.prototype.snapToGrid=Lt.prototype.uA,Lt.prototype.projectOntoLineSegmentPoint=Lt.prototype.gA,Lt.prototype.projectOntoLineSegment=Lt.prototype.fA,Lt.intersectingLineSegments=function(a,y,x,b,E,te,ne,se){return tn.Rl(a,y,x,b,E,te,ne,se)},Lt.prototype.compareWithLineSegmentPoint=Lt.prototype.Ry,Lt.compareWithLineSegment=function(a,y,x,b,E,te){return tn.Fl(a,y,x,b,E,te)},Lt.prototype.direction=Lt.prototype.direction,Lt.prototype.directionPoint=Lt.prototype.ab,Lt.prototype.normalize=Lt.prototype.normalize,Lt.prototype.distanceSquared=Lt.prototype.zd,Lt.prototype.distanceSquaredPoint=Lt.prototype.Bf,Lt.prototype.scale=Lt.prototype.scale,Lt.prototype.rotate=Lt.prototype.rotate,Lt.prototype.offset=Lt.prototype.offset,Lt.prototype.subtract=Lt.prototype.re,Lt.prototype.add=Lt.prototype.add,Lt.prototype.equalsApprox=Lt.prototype.Xa,Lt.prototype.equalTo=Lt.prototype.hi,Lt.prototype.equals=Lt.prototype.D,Lt.prototype.set=Lt.prototype.set,Lt.prototype.setTo=Lt.prototype.sg;var Xr=[];Lt.className="Point",Lt.parse=ni,Lt.stringify=di,Lt.distanceLineSegmentSquared=so,Lt.distanceSquared=Po,Lt.direction=Vr,Lt.Origin=Li=new Lt(0,0).ja(),Lt.InfiniteTopLeft=ao=new Lt(-1/0,-1/0).ja(),Lt.InfiniteBottomRight=Pi=new Lt(1/0,1/0).ja(),Lt.SixPoint=co=new Lt(6,6).ja(),Lt.NoPoint=wo=new Lt(NaN,NaN).ja(),Lt.parse=ni,Lt.stringify=di,Lt.distanceLineSegmentSquared=so,Lt.distanceSquared=Po,Lt.direction=Vr;function qn(a,y){a===void 0?this.height=this.width=0:typeof a=="number"&&(0<=a||isNaN(a))&&typeof y=="number"&&(0<=y||isNaN(y))?(this.width=a,this.height=y):Ht("Invalid arguments to Size constructor: "+a+", "+y),this._isFrozen=!1}var li,qi,Ro,lo,Qi,Do,Oo;qn.prototype.assign=function(a){return this.width=a.width,this.height=a.height,this},qn.prototype.h=function(a,y){return this.width=a,this.height=y,this},qn.prototype.sg=function(a,y){return this.width=a,this.height=y,this},qn.prototype.set=function(a){return this.width=a.width,this.height=a.height,this},qn.prototype.copy=function(){var a=new qn;return a.width=this.width,a.height=this.height,a},ot=qn.prototype,ot.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},ot.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},ot.freeze=function(){return this._isFrozen=!0,this},ot.ka=function(){return Object.isFrozen(this)&&Ht("cannot thaw constant: "+this),this._isFrozen=!1,this};function oa(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var b=a[y++];b&&(x=parseFloat(b));for(var E=0;a[y]==="";)y++;return(b=a[y++])&&(E=parseFloat(b)),new qn(x,E)}return new qn}function la(a){return a.width.toString()+" "+a.height.toString()}ot.toString=function(){return"Size("+this.width+","+this.height+")"},ot.D=function(a){return a instanceof qn?this.width===a.width&&this.height===a.height:!1},ot.hi=function(a,y){return this.width===a&&this.height===y},ot.Xa=function(a){return tn.B(this.width,a.width)&&tn.B(this.height,a.height)},ot.Bc=function(a,y){return a=this.width+a,this.width=0<=a?a:0,y=this.height+y,this.height=0<=y?y:0,this},ot.w=function(){return isFinite(this.width)&&isFinite(this.height)},qn.alloc=function(){var a=Ma.pop();return a===void 0?new qn:a},qn.free=function(a){Ma.push(a)},qn.prototype.isReal=qn.prototype.w,qn.prototype.inflate=qn.prototype.Bc,qn.prototype.equalsApprox=qn.prototype.Xa,qn.prototype.equalTo=qn.prototype.hi,qn.prototype.equals=qn.prototype.D,qn.prototype.set=qn.prototype.set,qn.prototype.setTo=qn.prototype.sg;var Ma=[];qn.className="Size",qn.parse=oa,qn.stringify=la,qn.ZeroSize=li=new qn(0,0).ja(),qn.OneSize=qi=new qn(1,1).ja(),qn.SixSize=Ro=new qn(6,6).ja(),qn.EightSize=lo=new qn(8,8).ja(),qn.TenSize=Qi=new qn(10,10).ja(),qn.InfiniteSize=Do=new qn(1/0,1/0).ja(),qn.NoSize=Oo=new qn(NaN,NaN).ja(),qn.parse=oa,qn.stringify=la;function Mn(a,y,x,b){a===void 0?this.height=this.width=this.y=this.x=0:typeof a=="number"&&typeof y=="number"&&typeof x=="number"&&(0<=x||isNaN(x))&&typeof b=="number"&&(0<=b||isNaN(b))?(this.x=a,this.y=y,this.width=x,this.height=b):a instanceof Lt?(x=a.x,a=a.y,y instanceof Lt?(b=y.x,y=y.y,this.x=Math.min(x,b),this.y=Math.min(a,y),this.width=Math.abs(x-b),this.height=Math.abs(a-y)):y instanceof qn?(this.x=x,this.y=a,this.width=y.width,this.height=y.height):Ht("Incorrect second argument supplied to Rect constructor "+y)):Ht("Invalid arguments to Rect constructor: "+a+", "+y+", "+x+", "+b),this._isFrozen=!1}ot=Mn.prototype,ot.assign=function(a){return this.x=a.x,this.y=a.y,this.width=a.width,this.height=a.height,this},ot.h=function(a,y,x,b){return this.x=a,this.y=y,this.width=x,this.height=b,this};function ha(a,y,x){a.width=y,a.height=x}ot.sg=function(a,y,x,b){return this.x=a,this.y=y,this.width=x,this.height=b,this},ot.set=function(a){return this.x=a.x,this.y=a.y,this.width=a.width,this.height=a.height,this},ot.dd=function(a){return this.x=a.x,this.y=a.y,this},ot.tA=function(a){return this.width=a.width,this.height=a.height,this},Mn.prototype.copy=function(){var a=new Mn;return a.x=this.x,a.y=this.y,a.width=this.width,a.height=this.height,a},ot=Mn.prototype,ot.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},ot.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},ot.freeze=function(){return this._isFrozen=!0,this},ot.ka=function(){return Object.isFrozen(this)&&Ht("cannot thaw constant: "+this),this._isFrozen=!1,this};function fu(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var b=a[y++];b&&(x=parseFloat(b));for(var E=0;a[y]==="";)y++;(b=a[y++])&&(E=parseFloat(b));for(var te=0;a[y]==="";)y++;(b=a[y++])&&(te=parseFloat(b));for(var ne=0;a[y]==="";)y++;return(b=a[y++])&&(ne=parseFloat(b)),new Mn(x,E,te,ne)}return new Mn}function xs(a){return a.x.toString()+" "+a.y.toString()+" "+a.width.toString()+" "+a.height.toString()}ot.toString=function(){return"Rect("+this.x+","+this.y+","+this.width+","+this.height+")"},ot.D=function(a){return a instanceof Mn?this.x===a.x&&this.y===a.y&&this.width===a.width&&this.height===a.height:!1},ot.hi=function(a,y,x,b){return this.x===a&&this.y===y&&this.width===x&&this.height===b},ot.Xa=function(a){return tn.B(this.x,a.x)&&tn.B(this.y,a.y)&&tn.B(this.width,a.width)&&tn.B(this.height,a.height)};function bo(a,y){return tn.$(a.x,y.x)&&tn.$(a.y,y.y)&&tn.$(a.width,y.width)&&tn.$(a.height,y.height)}ot.ca=function(a){return this.x<=a.x&&this.x+this.width>=a.x&&this.y<=a.y&&this.y+this.height>=a.y},ot.Re=function(a){return this.x<=a.x&&a.x+a.width<=this.x+this.width&&this.y<=a.y&&a.y+a.height<=this.y+this.height},ot.contains=function(a,y,x,b){return x===void 0&&(x=0),b===void 0&&(b=0),this.x<=a&&a+x<=this.x+this.width&&this.y<=y&&y+b<=this.y+this.height},ot.offset=function(a,y){return this.x+=a,this.y+=y,this},ot.Bc=function(a,y){return _i(this,y,a,y,a)},ot.Co=function(a){return _i(this,a.top,a.right,a.bottom,a.left)},ot.Fv=function(a){return _i(this,-a.top,-a.right,-a.bottom,-a.left)},ot.Hz=function(a,y,x,b){return _i(this,a,y,x,b)};function _i(a,y,x,b,E){var te=a.width;return x+E<=-te?(a.x+=te/2,a.width=0):(a.x-=E,a.width+=x+E),x=a.height,y+b<=-x?(a.y+=x/2,a.height=0):(a.y-=y,a.height+=y+b),a}ot.Ex=function(a){return da(this,a.x,a.y,a.width,a.height)},ot.Uu=function(a,y,x,b){return da(this,a,y,x,b)};function da(a,y,x,b,E){var te=Math.max(a.x,y),ne=Math.max(a.y,x);return y=Math.min(a.x+a.width,y+b),x=Math.min(a.y+a.height,x+E),a.x=te,a.y=ne,a.width=Math.max(0,y-te),a.height=Math.max(0,x-ne),a}ot.Yc=function(a){return this.Vu(a.x,a.y,a.width,a.height)},ot.Vu=function(a,y,x,b){var E=this.width,te=this.x;return E!==1/0&&x!==1/0&&(E+=te,x+=a,isNaN(x)||isNaN(E)||te>x||a>E)?!1:(a=this.height,x=this.y,!(a!==1/0&&b!==1/0&&(a+=x,b+=y,isNaN(b)||isNaN(a)||x>b||y>a)))};function Ao(a,y){var x=a.width,b=a.x,E=y.x-10;return b>y.width+10+10+E||E>x+b?!1:(x=a.height,a=a.y,b=y.y-10,!(a>y.height+10+10+b||b>x+a))}ot.Ye=function(a){return eo(this,a.x,a.y,0,0)},ot.ed=function(a){return eo(this,a.x,a.y,a.width,a.height)},ot.Kv=function(a,y,x,b){return x===void 0&&(x=0),b===void 0&&(b=0),eo(this,a,y,x,b)};function eo(a,y,x,b,E){var te=Math.min(a.x,y),ne=Math.min(a.y,x);return y=Math.max(a.x+a.width,y+b),x=Math.max(a.y+a.height,x+E),a.x=te,a.y=ne,a.width=y-te,a.height=x-ne,a}ot.yi=function(a,y,x){return this.x=a-x.offsetX-x.x*this.width,this.y=y-x.offsetY-x.y*this.height,this};function Bo(a,y,x,b,E,te,ne,se){return ne===void 0&&(ne=0),se===void 0&&(se=0),a<=E&&E+ne<=a+x&&y<=te&&te+se<=y+b}function ws(a,y,x,b,E,te,ne,se){return a>ne+E||E>x+a?!1:!(y>se+te||te>b+y)}ot.w=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},ot.Mz=function(){return this.width===0&&this.height===0},Mn.alloc=function(){var a=oo.pop();return a===void 0?new Mn:a},Mn.allocAt=function(a,y,x,b){var E=oo.pop();return E===void 0?new Mn(a,y,x,b):E.h(a,y,x,b)},Mn.free=function(a){oo.push(a)},Pt.Object.defineProperties(Mn.prototype,{left:{get:function(){return this.x},set:function(a){this.x=a}},top:{get:function(){return this.y},set:function(a){this.y=a}},right:{get:function(){return this.x+this.width},set:function(a){this.x+=a-(this.x+this.width)}},bottom:{get:function(){return this.y+this.height},set:function(a){this.y+=a-(this.y+this.height)}},position:{get:function(){return new Lt(this.x,this.y)},set:function(a){this.x=a.x,this.y=a.y}},size:{get:function(){return new qn(this.width,this.height)},set:function(a){this.width=a.width,this.height=a.height}},center:{get:function(){return new Lt(this.x+this.width/2,this.y+this.height/2)},set:function(a){this.x=a.x-this.width/2,this.y=a.y-this.height/2}},centerX:{get:function(){return this.x+this.width/2},set:function(a){this.x=a-this.width/2}},centerY:{get:function(){return this.y+this.height/2},set:function(a){this.y=a-this.height/2}}}),Mn.prototype.isEmpty=Mn.prototype.Mz,Mn.prototype.isReal=Mn.prototype.w,Mn.intersectsLineSegment=function(a,y,x,b,E,te,ne,se){return tn.Fx(a,y,x,b,E,te,ne,se)},Mn.prototype.setSpot=Mn.prototype.yi,Mn.prototype.union=Mn.prototype.Kv,Mn.prototype.unionRect=Mn.prototype.ed,Mn.prototype.unionPoint=Mn.prototype.Ye,Mn.prototype.intersects=Mn.prototype.Vu,Mn.prototype.intersectsRect=Mn.prototype.Yc,Mn.prototype.intersect=Mn.prototype.Uu,Mn.prototype.intersectRect=Mn.prototype.Ex,Mn.prototype.grow=Mn.prototype.Hz,Mn.prototype.subtractMargin=Mn.prototype.Fv,Mn.prototype.addMargin=Mn.prototype.Co,Mn.prototype.inflate=Mn.prototype.Bc,Mn.prototype.offset=Mn.prototype.offset,Mn.prototype.contains=Mn.prototype.contains,Mn.prototype.containsRect=Mn.prototype.Re,Mn.prototype.containsPoint=Mn.prototype.ca,Mn.prototype.equalsApprox=Mn.prototype.Xa,Mn.prototype.equalTo=Mn.prototype.hi,Mn.prototype.equals=Mn.prototype.D,Mn.prototype.setSize=Mn.prototype.tA,Mn.prototype.setPoint=Mn.prototype.dd,Mn.prototype.set=Mn.prototype.set,Mn.prototype.setTo=Mn.prototype.sg;var Ci=null,ho=null,oo=[];Mn.className="Rect",Mn.parse=fu,Mn.stringify=xs,Mn.contains=Bo,Mn.intersects=ws,Mn.ZeroRect=Ci=new Mn(0,0,0,0).ja(),Mn.NoRect=ho=new Mn(NaN,NaN,NaN,NaN).ja(),Mn.parse=fu,Mn.stringify=xs,Mn.contains=Bo,Mn.intersects=ws;function Or(a,y,x,b){a===void 0?this.left=this.bottom=this.right=this.top=0:y===void 0?this.left=this.bottom=this.right=this.top=a:x===void 0?(this.top=a,this.right=y,this.bottom=a,this.left=y):b!==void 0?(this.top=a,this.right=y,this.bottom=x,this.left=b):Ht("Invalid arguments to Margin constructor: "+a+", "+y+", "+x+", "+b),this._isFrozen=!1}Or.prototype.assign=function(a){return this.top=a.top,this.right=a.right,this.bottom=a.bottom,this.left=a.left,this},Or.prototype.sg=function(a,y,x,b){return this.top=a,this.right=y,this.bottom=x,this.left=b,this},Or.prototype.set=function(a){return this.top=a.top,this.right=a.right,this.bottom=a.bottom,this.left=a.left,this},Or.prototype.copy=function(){var a=new Or;return a.top=this.top,a.right=this.right,a.bottom=this.bottom,a.left=this.left,a},ot=Or.prototype,ot.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},ot.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},ot.freeze=function(){return this._isFrozen=!0,this},ot.ka=function(){return Object.isFrozen(this)&&Ht("cannot thaw constant: "+this),this._isFrozen=!1,this};function za(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=NaN;a[y]==="";)y++;var b=a[y++];if(b&&(x=parseFloat(b)),isNaN(x))return new Or;for(var E=NaN;a[y]==="";)y++;if((b=a[y++])&&(E=parseFloat(b)),isNaN(E))return new Or(x);for(var te=NaN;a[y]==="";)y++;if((b=a[y++])&&(te=parseFloat(b)),isNaN(te))return new Or(x,E);for(var ne=NaN;a[y]==="";)y++;return(b=a[y++])&&(ne=parseFloat(b)),isNaN(ne)?new Or(x,E):new Or(x,E,te,ne)}return new Or}function Wa(a){return a.top.toString()+" "+a.right.toString()+" "+a.bottom.toString()+" "+a.left.toString()}ot.toString=function(){return"Margin("+this.top+","+this.right+","+this.bottom+","+this.left+")"},ot.D=function(a){return a instanceof Or?this.top===a.top&&this.right===a.right&&this.bottom===a.bottom&&this.left===a.left:!1},ot.hi=function(a,y,x,b){return this.top===a&&this.right===y&&this.bottom===x&&this.left===b},ot.Xa=function(a){return tn.B(this.top,a.top)&&tn.B(this.right,a.right)&&tn.B(this.bottom,a.bottom)&&tn.B(this.left,a.left)},ot.w=function(){return isFinite(this.top)&&isFinite(this.right)&&isFinite(this.bottom)&&isFinite(this.left)},Or.alloc=function(){var a=$l.pop();return a===void 0?new Or:a},Or.free=function(a){$l.push(a)},Or.prototype.isReal=Or.prototype.w,Or.prototype.equalsApprox=Or.prototype.Xa,Or.prototype.equalTo=Or.prototype.hi,Or.prototype.equals=Or.prototype.D,Or.prototype.set=Or.prototype.set,Or.prototype.setTo=Or.prototype.sg;var Es=null,Nl=null,$l=[];Or.className="Margin",Or.parse=za,Or.stringify=Wa,Or.ZeroMargin=Es=new Or(0,0,0,0).ja(),Or.TwoMargin=Nl=new Or(2,2,2,2).ja(),Or.parse=za,Or.stringify=Wa;function wr(a,y,x,b){a===void 0?this.offsetY=this.offsetX=this.y=this.x=0:(y===void 0&&(y=0),x===void 0&&(x=0),b===void 0&&(b=0),this.x=a,this.y=y,this.offsetX=x,this.offsetY=b),this._isFrozen=!1}var ua,Xa,Cl,Bl,Il,zi,mc,tl,nl,ks,Eu,Ru,Ws,dl,Hc,hh,Uc,Gh,Gc,vc,zu,jl,dh,Zc,yc,io,zo,As,_a,Ha,ga,La,Ya,Ua,Wu,Rl;wr.prototype.assign=function(a){return this.x=a.x,this.y=a.y,this.offsetX=a.offsetX,this.offsetY=a.offsetY,this},wr.prototype.sg=function(a,y,x,b){return this.x=a,this.y=y,this.offsetX=x,this.offsetY=b,this},wr.prototype.set=function(a){return this.x=a.x,this.y=a.y,this.offsetX=a.offsetX,this.offsetY=a.offsetY,this},wr.prototype.copy=function(){var a=new wr;return a.x=this.x,a.y=this.y,a.offsetX=this.offsetX,a.offsetY=this.offsetY,a},ot=wr.prototype,ot.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},ot.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},ot.freeze=function(){return this._isFrozen=!0,this},ot.ka=function(){return Object.isFrozen(this)&&Ht("cannot thaw constant: "+this),this._isFrozen=!1,this};function Da(a,y){return a.x=NaN,a.y=NaN,a.offsetX=y,a}function wd(a){if(typeof a=="string"){if(a=a.trim(),a==="None")return ua;if(a==="TopLeft")return Xa;if(a==="Top"||a==="TopCenter"||a==="MiddleTop")return Cl;if(a==="TopRight")return Bl;if(a==="Left"||a==="LeftCenter"||a==="MiddleLeft")return Il;if(a==="Center")return zi;if(a==="Right"||a==="RightCenter"||a==="MiddleRight")return mc;if(a==="BottomLeft")return tl;if(a==="Bottom"||a==="BottomCenter"||a==="MiddleBottom")return nl;if(a==="BottomRight")return ks;if(a==="TopSide")return Eu;if(a==="LeftSide")return Ru;if(a==="RightSide")return Ws;if(a==="BottomSide")return dl;if(a==="TopBottomSides")return Hc;if(a==="LeftRightSides")return hh;if(a==="TopLeftSides")return Uc;if(a==="TopRightSides")return Gh;if(a==="BottomLeftSides")return Gc;if(a==="BottomRightSides")return vc;if(a==="NotTopSide")return zu;if(a==="NotLeftSide")return jl;if(a==="NotRightSide")return dh;if(a==="NotBottomSide")return Zc;if(a==="AllSides")return yc;if(a==="Default")return io;a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var b=a[y++];b!==void 0&&0<b.length&&(x=parseFloat(b));for(var E=0;a[y]==="";)y++;b=a[y++],b!==void 0&&0<b.length&&(E=parseFloat(b));for(var te=0;a[y]==="";)y++;b=a[y++],b!==void 0&&0<b.length&&(te=parseFloat(b));for(var ne=0;a[y]==="";)y++;return b=a[y++],b!==void 0&&0<b.length&&(ne=parseFloat(b)),new wr(x,E,te,ne)}return new wr}function bd(a){return a.sb()?a.x.toString()+" "+a.y.toString()+" "+a.offsetX.toString()+" "+a.offsetY.toString():a.toString()}ot.toString=function(){return this.sb()?this.offsetX===0&&this.offsetY===0?"Spot("+this.x+","+this.y+")":"Spot("+this.x+","+this.y+","+this.offsetX+","+this.offsetY+")":this.D(ua)?"None":this.D(Xa)?"TopLeft":this.D(Cl)?"Top":this.D(Bl)?"TopRight":this.D(Il)?"Left":this.D(zi)?"Center":this.D(mc)?"Right":this.D(tl)?"BottomLeft":this.D(nl)?"Bottom":this.D(ks)?"BottomRight":this.D(Eu)?"TopSide":this.D(Ru)?"LeftSide":this.D(Ws)?"RightSide":this.D(dl)?"BottomSide":this.D(Hc)?"TopBottomSides":this.D(hh)?"LeftRightSides":this.D(Uc)?"TopLeftSides":this.D(Gh)?"TopRightSides":this.D(Gc)?"BottomLeftSides":this.D(vc)?"BottomRightSides":this.D(zu)?"NotTopSide":this.D(jl)?"NotLeftSide":this.D(dh)?"NotRightSide":this.D(Zc)?"NotBottomSide":this.D(yc)?"AllSides":this.D(io)?"Default":"None"},ot.D=function(a){return a instanceof wr?(this.x===a.x||isNaN(this.x)&&isNaN(a.x))&&(this.y===a.y||isNaN(this.y)&&isNaN(a.y))&&this.offsetX===a.offsetX&&this.offsetY===a.offsetY:!1},ot.gv=function(){return new wr(.5-(this.x-.5),.5-(this.y-.5),-this.offsetX,-this.offsetY)},ot.Hf=function(a){if(!this.$c())return!1;if(!a.$c())if(a.D(zo))a=Ru;else if(a.D(As))a=Ws;else if(a.D(_a))a=Eu;else if(a.D(Ha))a=dl;else return!1;return a=a.offsetY,(this.offsetY&a)===a},ot.sb=function(){return!isNaN(this.x)&&!isNaN(this.y)},ot.Mc=function(){return isNaN(this.x)||isNaN(this.y)},ot.$c=function(){return isNaN(this.x)&&isNaN(this.y)&&this.offsetX===1&&this.offsetY!==0},ot.ys=function(){return isNaN(this.x)&&isNaN(this.y)&&this.offsetX===0&&this.offsetY===0},ot.Xb=function(){return isNaN(this.x)&&isNaN(this.y)&&this.offsetX===-1&&this.offsetY===0},wr.alloc=function(){var a=Kc.pop();return a===void 0?new wr:a},wr.free=function(a){Kc.push(a)},wr.prototype.isDefault=wr.prototype.Xb,wr.prototype.isNone=wr.prototype.ys,wr.prototype.isSide=wr.prototype.$c,wr.prototype.isNoSpot=wr.prototype.Mc,wr.prototype.isSpot=wr.prototype.sb,wr.prototype.includesSide=wr.prototype.Hf,wr.prototype.opposite=wr.prototype.gv,wr.prototype.equals=wr.prototype.D,wr.prototype.set=wr.prototype.set,wr.prototype.setTo=wr.prototype.sg;var Kc=[];wr.className="Spot",wr.parse=wd,wr.stringify=bd,wr.None=ua=Da(new wr(0,0,0,0),0).ja(),wr.Default=io=Da(new wr(0,0,-1,0),-1).ja(),wr.TopLeft=Xa=new wr(0,0,0,0).ja(),wr.TopCenter=Cl=new wr(.5,0,0,0).ja(),wr.TopRight=Bl=new wr(1,0,0,0).ja(),wr.LeftCenter=Il=new wr(0,.5,0,0).ja(),wr.Center=zi=new wr(.5,.5,0,0).ja(),wr.RightCenter=mc=new wr(1,.5,0,0).ja(),wr.BottomLeft=tl=new wr(0,1,0,0).ja(),wr.BottomCenter=nl=new wr(.5,1,0,0).ja(),wr.BottomRight=ks=new wr(1,1,0,0).ja(),wr.MiddleTop=ga=Cl,wr.MiddleLeft=La=Il,wr.MiddleRight=Ya=mc,wr.MiddleBottom=Ua=nl,wr.Top=_a=Cl,wr.Left=zo=Il,wr.Right=As=mc,wr.Bottom=Ha=nl,wr.TopSide=Eu=Da(new wr(0,0,1,1),1).ja(),wr.LeftSide=Ru=Da(new wr(0,0,1,2),1).ja(),wr.RightSide=Ws=Da(new wr(0,0,1,4),1).ja(),wr.BottomSide=dl=Da(new wr(0,0,1,8),1).ja(),wr.TopBottomSides=Hc=Da(new wr(0,0,1,9),1).ja(),wr.LeftRightSides=hh=Da(new wr(0,0,1,6),1).ja(),wr.TopLeftSides=Uc=Da(new wr(0,0,1,3),1).ja(),wr.TopRightSides=Gh=Da(new wr(0,0,1,5),1).ja(),wr.BottomLeftSides=Gc=Da(new wr(0,0,1,10),1).ja(),wr.BottomRightSides=vc=Da(new wr(0,0,1,12),1).ja(),wr.NotTopSide=zu=Da(new wr(0,0,1,14),1).ja(),wr.NotLeftSide=jl=Da(new wr(0,0,1,13),1).ja(),wr.NotRightSide=dh=Da(new wr(0,0,1,11),1).ja(),wr.NotBottomSide=Zc=Da(new wr(0,0,1,7),1).ja(),wr.AllSides=yc=Da(new wr(0,0,1,15),1).ja(),Wu=new wr(.156,.156).ja(),Rl=new wr(.844,.844).ja(),wr.parse=wd,wr.stringify=bd;function mi(){this.m11=1,this.m21=this.m12=0,this.m22=1,this.dy=this.dx=0}mi.prototype.set=function(a){return this.m11=a.m11,this.m12=a.m12,this.m21=a.m21,this.m22=a.m22,this.dx=a.dx,this.dy=a.dy,this},mi.prototype.setTransform=function(a,y,x,b,E,te){return this.m11=a,this.m12=y,this.m21=x,this.m22=b,this.dx=E,this.dy=te,this},mi.prototype.copy=function(){var a=new mi;return a.m11=this.m11,a.m12=this.m12,a.m21=this.m21,a.m22=this.m22,a.dx=this.dx,a.dy=this.dy,a},mi.prototype.toString=function(){return"Transform("+this.m11+","+this.m12+","+this.m21+","+this.m22+","+this.dx+","+this.dy+")"},mi.prototype.D=function(a){return this.m11===a.m11&&this.m12===a.m12&&this.m21===a.m21&&this.m22===a.m22&&this.dx===a.dx&&this.dy===a.dy},mi.prototype.ws=function(){return this.dx===0&&this.dy===0&&this.m11===1&&this.m12===0&&this.m21===0&&this.m22===1},mi.prototype.reset=function(){return this.m11=1,this.m21=this.m12=0,this.m22=1,this.dy=this.dx=0,this},mi.prototype.multiply=function(a){var y=this.m11*a.m11+this.m21*a.m12,x=this.m12*a.m11+this.m22*a.m12,b=this.m11*a.m21+this.m21*a.m22,E=this.m12*a.m21+this.m22*a.m22;return this.dx=this.m11*a.dx+this.m21*a.dy+this.dx,this.dy=this.m12*a.dx+this.m22*a.dy+this.dy,this.m11=y,this.m12=x,this.m21=b,this.m22=E,this},mi.prototype.bv=function(a){var y=1/(a.m11*a.m22-a.m12*a.m21),x=a.m22*y,b=-a.m12*y,E=-a.m21*y,te=a.m11*y,ne=y*(a.m21*a.dy-a.m22*a.dx);return a=y*(a.m12*a.dx-a.m11*a.dy),y=this.m11*x+this.m21*b,x=this.m12*x+this.m22*b,b=this.m11*E+this.m21*te,E=this.m12*E+this.m22*te,this.dx=this.m11*ne+this.m21*a+this.dx,this.dy=this.m12*ne+this.m22*a+this.dy,this.m11=y,this.m12=x,this.m21=b,this.m22=E,this},mi.prototype.Vj=function(){var a=1/(this.m11*this.m22-this.m12*this.m21),y=-this.m12*a,x=-this.m21*a,b=this.m11*a,E=a*(this.m21*this.dy-this.m22*this.dx),te=a*(this.m12*this.dx-this.m11*this.dy);return this.m11=this.m22*a,this.m12=y,this.m21=x,this.m22=b,this.dx=E,this.dy=te,this},mi.prototype.rotate=function(a,y,x){if(360<=a?a-=360:0>a&&(a+=360),a===0)return this;if(this.translate(y,x),a===90){a=0;var b=1}else a===180?(a=-1,b=0):a===270?(a=0,b=-1):(b=a*Math.PI/180,a=Math.cos(b),b=Math.sin(b));var E=this.m12*a+this.m22*b,te=this.m11*-b+this.m21*a,ne=this.m12*-b+this.m22*a;return this.m11=this.m11*a+this.m21*b,this.m12=E,this.m21=te,this.m22=ne,this.translate(-y,-x),this},ot=mi.prototype,ot.translate=function(a,y){return this.dx+=this.m11*a+this.m21*y,this.dy+=this.m12*a+this.m22*y,this},ot.scale=function(a,y){return y===void 0&&(y=a),this.m11*=a,this.m12*=a,this.m21*=y,this.m22*=y,this},ot.Ga=function(a){var y=a.x,x=a.y;return a.h(y*this.m11+x*this.m21+this.dx,y*this.m12+x*this.m22+this.dy)},ot.Cd=function(a){var y=1/(this.m11*this.m22-this.m12*this.m21),x=a.x,b=a.y;return a.h(x*this.m22*y+b*-this.m21*y+y*(this.m21*this.dy-this.m22*this.dx),x*-this.m12*y+b*this.m11*y+y*(this.m12*this.dx-this.m11*this.dy))},ot.Eu=function(a){var y=1/(this.m11*this.m22-this.m12*this.m21),x=1.25*a.x,b=1.2*a.y;return a.h(x*this.m22*y+b*-this.m21*y+y*(this.m21*this.dy-this.m22*this.dx),x*-this.m12*y+b*this.m11*y+y*(this.m12*this.dx-this.m11*this.dy))},ot.pp=function(a){var y=a.x,x=a.y,b=y+a.width,E=x+a.height,te=this.m11,ne=this.m12,se=this.m21,he=this.m22,ve=this.dx,Se=this.dy,Be=y*te+x*se+ve,Ve=y*ne+x*he+Se,nt=b*te+x*se+ve,rt=b*ne+x*he+Se;return x=y*te+E*se+ve,y=y*ne+E*he+Se,te=b*te+E*se+ve,b=b*ne+E*he+Se,E=Math.min(Be,nt),Be=Math.max(Be,nt),nt=Math.min(Ve,rt),Ve=Math.max(Ve,rt),E=Math.min(E,x),Be=Math.max(Be,x),nt=Math.min(nt,y),Ve=Math.max(Ve,y),E=Math.min(E,te),Be=Math.max(Be,te),nt=Math.min(nt,b),Ve=Math.max(Ve,b),a.h(E,nt,Be-E,Ve-nt),a},mi.alloc=function(){var a=fh.pop();return a===void 0?new mi:a},mi.free=function(a){fh.push(a)},mi.prototype.transformRect=mi.prototype.pp,mi.prototype.transformPoint=mi.prototype.Ga,mi.prototype.scale=mi.prototype.scale,mi.prototype.translate=mi.prototype.translate,mi.prototype.rotate=mi.prototype.rotate,mi.prototype.invert=mi.prototype.Vj,mi.prototype.multiplyInverted=mi.prototype.bv,mi.prototype.multiply=mi.prototype.multiply,mi.prototype.reset=mi.prototype.reset,mi.prototype.isIdentity=mi.prototype.ws,mi.prototype.equals=mi.prototype.D,mi.prototype.setTransform=mi.prototype.setTransform,mi.prototype.set=mi.prototype.set;var fh=[];mi.className="Transform",mi.xF="54a702f3e53909c447824c6706603faf4c";var tn={AA:"7da71ca0ad381e90",wg:(Math.sqrt(2)-1)/3*4,Uv:null,sqrt:function(a){if(0>=a)return 0;var y=tn.Uv;if(y===null){y=[];for(var x=0;2e3>=x;x++)y[x]=Math.sqrt(x);tn.Uv=y}return 1>a?(x=1/a,2e3>=x?1/y[x|0]:Math.sqrt(a)):2e3>=a?y[a|0]:Math.sqrt(a)},B:function(a,y){return a-=y,.5>a&&-.5<a},$:function(a,y){return a-=y,5e-8>a&&-5e-8<a},Yb:function(a,y,x,b,E,te,ne){if(0>=E&&(E=1e-6),a<x)var se=a,he=x;else se=x,he=a;if(y<b)var ve=y,Se=b;else ve=b,Se=y;if(a===x)return ve<=ne&&ne<=Se&&a-E<=te&&te<=a+E;if(y===b)return se<=te&&te<=he&&y-E<=ne&&ne<=y+E;if(he+=E,se-=E,se<=te&&te<=he&&(Se+=E,ve-=E,ve<=ne&&ne<=Se))if(he-se>Se-ve)if(a-x>E||x-a>E){if(te=(b-y)/(x-a)*(te-a)+y,te-E<=ne&&ne<=te+E)return!0}else return!0;else if(y-b>E||b-y>E){if(ne=(x-a)/(b-y)*(ne-y)+a,ne-E<=te&&te<=ne+E)return!0}else return!0;return!1},cs:function(a,y,x,b,E,te,ne,se,he,ve,Se,Be){if(tn.Yb(a,y,ne,se,Be,x,b)&&tn.Yb(a,y,ne,se,Be,E,te))return tn.Yb(a,y,ne,se,Be,ve,Se);var Ve=(a+x)/2,nt=(y+b)/2,rt=(x+E)/2,ct=(b+te)/2;E=(E+ne)/2,te=(te+se)/2,b=(Ve+rt)/2,x=(nt+ct)/2,rt=(rt+E)/2,ct=(ct+te)/2;var kt=(b+rt)/2,Mt=(x+ct)/2;return tn.cs(a,y,Ve,nt,b,x,kt,Mt,he,ve,Se,Be)||tn.cs(kt,Mt,rt,ct,E,te,ne,se,he,ve,Se,Be)},ax:function(a,y,x,b,E,te,ne,se,he){var ve=(x+E)/2,Se=(b+te)/2;return he.h((((a+x)/2+ve)/2+(ve+(E+ne)/2)/2)/2,(((y+b)/2+Se)/2+(Se+(te+se)/2)/2)/2),he},My:function(a,y,x,b,E,te,ne,se){var he=(x+E)/2,ve=(b+te)/2;return Vr(((a+x)/2+he)/2,((y+b)/2+ve)/2,(he+(E+ne)/2)/2,(ve+(te+se)/2)/2)},Dl:function(a,y,x,b,E,te,ne,se,he,ve){if(tn.Yb(a,y,ne,se,he,x,b)&&tn.Yb(a,y,ne,se,he,E,te))eo(ve,a,y,0,0),eo(ve,ne,se,0,0);else{var Se=(a+x)/2,Be=(y+b)/2,Ve=(x+E)/2,nt=(b+te)/2;E=(E+ne)/2,te=(te+se)/2,b=(Se+Ve)/2,x=(Be+nt)/2,Ve=(Ve+E)/2,nt=(nt+te)/2;var rt=(b+Ve)/2,ct=(x+nt)/2;tn.Dl(a,y,Se,Be,b,x,rt,ct,he,ve),tn.Dl(rt,ct,Ve,nt,E,te,ne,se,he,ve)}return ve},Qe:function(a,y,x,b,E,te,ne,se,he,ve){if(tn.Yb(a,y,ne,se,he,x,b)&&tn.Yb(a,y,ne,se,he,E,te))ve.length===0&&(ve.push(a),ve.push(y)),ve.push(ne),ve.push(se);else{var Se=(a+x)/2,Be=(y+b)/2,Ve=(x+E)/2,nt=(b+te)/2;E=(E+ne)/2,te=(te+se)/2,b=(Se+Ve)/2,x=(Be+nt)/2,Ve=(Ve+E)/2,nt=(nt+te)/2;var rt=(b+Ve)/2,ct=(x+nt)/2;tn.Qe(a,y,Se,Be,b,x,rt,ct,he,ve),tn.Qe(rt,ct,Ve,nt,E,te,ne,se,he,ve)}return ve},jv:function(a,y,x,b,E,te,ne,se,he,ve){if(tn.Yb(a,y,E,te,ve,x,b))return tn.Yb(a,y,E,te,ve,se,he);var Se=(a+x)/2,Be=(y+b)/2;x=(x+E)/2,b=(b+te)/2;var Ve=(Se+x)/2,nt=(Be+b)/2;return tn.jv(a,y,Se,Be,Ve,nt,ne,se,he,ve)||tn.jv(Ve,nt,x,b,E,te,ne,se,he,ve)},OA:function(a,y,x,b,E,te,ne){return ne.h(((a+x)/2+(x+E)/2)/2,((y+b)/2+(b+te)/2)/2),ne},iv:function(a,y,x,b,E,te,ne,se){if(tn.Yb(a,y,E,te,ne,x,b))eo(se,a,y,0,0),eo(se,E,te,0,0);else{var he=(a+x)/2,ve=(y+b)/2;x=(x+E)/2,b=(b+te)/2;var Se=(he+x)/2,Be=(ve+b)/2;tn.iv(a,y,he,ve,Se,Be,ne,se),tn.iv(Se,Be,x,b,E,te,ne,se)}return se},ep:function(a,y,x,b,E,te,ne,se){if(tn.Yb(a,y,E,te,ne,x,b))se.length===0&&(se.push(a),se.push(y)),se.push(E),se.push(te);else{var he=(a+x)/2,ve=(y+b)/2;x=(x+E)/2,b=(b+te)/2;var Se=(he+x)/2,Be=(ve+b)/2;tn.ep(a,y,he,ve,Se,Be,ne,se),tn.ep(Se,Be,x,b,E,te,ne,se)}return se},Eo:function(a,y,x,b,E,te,ne,se,he,ve,Se,Be,Ve,nt){if(tn.Yb(a,y,ne,se,Ve,x,b)&&tn.Yb(a,y,ne,se,Ve,E,te))return!tn.Rl(a,y,ne,se,he,ve,Se,Be)||(Ve=(a-ne)*(ve-Be)-(y-se)*(he-Se),Ve===0)?!1:(nt.h(((a*se-y*ne)*(he-Se)-(a-ne)*(he*Be-ve*Se))/Ve,((a*se-y*ne)*(ve-Be)-(y-se)*(he*Be-ve*Se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tn.Fo(Rt,Ut,kt,Mt,E,te,ne,se,he,ve,Se,Be,Ve)}return nt},qh:function(a,y,x,b,E,te,ne){return tn.$(a,x)?(y<b?(x=y,y=b):x=b,te<x?(ne.h(a,x),!1):te>y?(ne.h(a,y),!1):(ne.h(a,te),!0)):tn.$(y,b)?(a<x?(b=a,a=x):b=x,E<b?(ne.h(b,y),!1):E>a?(ne.h(a,y),!1):(ne.h(E,y),!0)):(E=((a-E)*(a-x)+(y-te)*(y-b))/((x-a)*(x-a)+(b-y)*(b-y)),-5e-6>E?(ne.h(a,y),!1):1.000005<E?(ne.h(x,b),!1):(ne.h(a+E*(x-a),y+E*(b-y)),!0))},Ve:function(a,y,x,b,E,te,ne,se,he){return tn.B(a,x)&&tn.B(y,b)?(he.h(a,y),!1):tn.$(E,ne)?tn.$(a,x)?(tn.qh(a,y,x,b,E,te,he),!1):tn.qh(a,y,x,b,E,(b-y)/(x-a)*(E-a)+y,he):(se=(se-te)/(ne-E),tn.$(a,x)?(x=se*(a-E)+te,y<b?(E=y,y=b):E=b,x<E?(he.h(a,E),!1):x>y?(he.h(a,y),!1):(he.h(a,x),!0)):(ne=(b-y)/(x-a),tn.$(se,ne)?(tn.qh(a,y,x,b,E,te,he),!1):(E=(ne*a-se*E+te-y)/(ne-se),tn.$(ne,0)?(a<x?(b=a,a=x):b=x,E<b?(he.h(b,y),!1):E>a?(he.h(a,y),!1):(he.h(E,y),!0)):tn.qh(a,y,x,b,E,ne*(E-a)+y,he))))},MA:function(a,y,x,b,E){return tn.Ve(x.x,x.y,b.x,b.y,a.x,a.y,y.x,y.y,E)},KA:function(a,y,x,b,E,te,ne,se,he,ve){function Se(kt,Mt){var Rt=(kt-a)*(kt-a)+(Mt-y)*(Mt-y);Rt<Be&&(Be=Rt,he.h(kt,Mt))}var Be=1/0;Se(he.x,he.y);var Ve=0,nt=0,rt=0,ct=0;if(E<ne?(Ve=E,nt=ne):(Ve=ne,nt=E),te<se?(rt=E,ct=ne):(rt=ne,ct=E),Ve=(nt-Ve)/2+ve,ve=(ct-rt)/2+ve,E=(E+ne)/2,te=(te+se)/2,Ve===0||ve===0)return he;if(.5>(x>a?x-a:a-x)){if(Ve=1-(x-E)*(x-E)/(Ve*Ve),0>Ve)return he;Ve=Math.sqrt(Ve),b=-ve*Ve+te,Se(x,ve*Ve+te),Se(x,b)}else{if(x=(b-y)/(x-a),b=1/(Ve*Ve)+x*x/(ve*ve),se=2*x*(y-x*a)/(ve*ve)-2*x*te/(ve*ve)-2*E/(Ve*Ve),Ve=se*se-4*b*(2*x*a*te/(ve*ve)-2*y*te/(ve*ve)+te*te/(ve*ve)+E*E/(Ve*Ve)-1+(y-x*a)*(y-x*a)/(ve*ve)),0>Ve)return he;Ve=Math.sqrt(Ve),ve=(-se+Ve)/(2*b),Se(ve,x*ve-x*a+y),Ve=(-se-Ve)/(2*b),Se(Ve,x*Ve-x*a+y)}return he},Ff:function(a,y,x,b,E,te,ne,se,he){var ve=1e21,Se=a,Be=y;if(tn.Ve(a,y,a,b,E,te,ne,se,he)){var Ve=(he.x-E)*(he.x-E)+(he.y-te)*(he.y-te);Ve<ve&&(ve=Ve,Se=he.x,Be=he.y)}return tn.Ve(x,y,x,b,E,te,ne,se,he)&&(Ve=(he.x-E)*(he.x-E)+(he.y-te)*(he.y-te),Ve<ve&&(ve=Ve,Se=he.x,Be=he.y)),tn.Ve(a,y,x,y,E,te,ne,se,he)&&(y=(he.x-E)*(he.x-E)+(he.y-te)*(he.y-te),y<ve&&(ve=y,Se=he.x,Be=he.y)),tn.Ve(a,b,x,b,E,te,ne,se,he)&&(a=(he.x-E)*(he.x-E)+(he.y-te)*(he.y-te),a<ve&&(ve=a,Se=he.x,Be=he.y)),he.h(Se,Be),1e21>ve},us:function(a,y,x){return tn.Fx(a.x,a.y,a.width,a.height,y.x,y.y,x.x,x.y)},Fx:function(a,y,x,b,E,te,ne,se){var he=a+x,ve=y+b;return E===ne?(te<se?(ne=te,te=se):ne=se,a<=E&&E<=he&&ne<=ve&&te>=y):te===se?(E<ne?(se=E,E=ne):se=ne,y<=te&&te<=ve&&se<=he&&E>=a):!!(Bo(a,y,x,b,E,te)||Bo(a,y,x,b,ne,se)||tn.Rl(a,y,he,y,E,te,ne,se)||tn.Rl(he,y,he,ve,E,te,ne,se)||tn.Rl(he,ve,a,ve,E,te,ne,se)||tn.Rl(a,ve,a,y,E,te,ne,se))},Rl:function(a,y,x,b,E,te,ne,se){return a===x&&y===b&&E===ne&&te===se?a===E&&y===te:0>=tn.Fl(a,y,x,b,E,te)*tn.Fl(a,y,x,b,ne,se)&&0>=tn.Fl(E,te,ne,se,a,y)*tn.Fl(E,te,ne,se,x,b)},Fl:function(a,y,x,b,E,te){return x-=a,b-=y,a=E-a,y=te-y,te=a*b-y*x,te===0&&(te=a*x+y*b,0<te&&(te=(a-x)*x+(y-b)*b,0>te&&(te=0))),te},bp:function(a){return 0>a&&(a+=360),360<=a&&(a-=360),a},jx:function(a,y,x,b,E,te){var ne=Math.PI;te||(b*=ne/180,E*=ne/180);var se=b>E?-1:1;te=[];var he=ne/2,ve=b;if(b=Math.min(2*ne,Math.abs(E-b)),1e-5>b)return he=ve+se*Math.min(b,he),se=a+x*Math.cos(ve),ve=y+x*Math.sin(ve),a+=x*Math.cos(he),y+=x*Math.sin(he),x=(se+a)/2,he=(ve+y)/2,te.push([se,ve,x,he,x,he,a,y]),te;for(;1e-5<b;)E=ve+se*Math.min(b,he),te.push(tn.Vy(x,ve,E,a,y)),b-=Math.abs(E-ve),ve=E;return te},Vy:function(a,y,x,b,E){var te=(x-y)/2,ne=a*Math.cos(te),se=a*Math.sin(te),he=-se,ve=ne*ne+he*he,Se=ve+ne*ne+he*se;return ve=4/3*(Math.sqrt(2*ve*Se)-Se)/(ne*se-he*ne),se=ne-ve*he,ne=he+ve*ne,he=-ne,ve=te+y,te=Math.cos(ve),ve=Math.sin(ve),[b+a*Math.cos(y),E+a*Math.sin(y),b+se*te-ne*ve,E+se*ve+ne*te,b+se*te-he*ve,E+se*ve+he*te,b+a*Math.cos(x),E+a*Math.sin(x)]},No:function(a,y,x,b,E,te,ne){x=Math.floor((a-x)/E)*E+x,b=Math.floor((y-b)/te)*te+b;var se=x;return x+E-a<E/2&&(se=x+E),a=b,b+te-y<te/2&&(a=b+te),ne.h(se,a),ne},vx:function(a,y){var x=Math.max(a,y);a=Math.min(a,y);var b;do y=x%a,x=b=a,a=y;while(0<y);return b},$y:function(a,y,x,b){var E=0>x,te=0>b;if(a<y)var ne=1,se=0;else ne=0,se=1;var he=ne===0?a:y,ve=ne===0?x:b;return(ne===0?E:te)&&(ve=-ve),ne=se,x=ne===0?x:b,(ne===0?E:te)&&(x=-x),tn.az(he,ne===0?a:y,ve,x,0,0)},az:function(a,y,x,b,E,te){if(0<b)if(0<x){E=a*a,te=y*y,a*=x;var ne=y*b,se=-te+ne,he=-te+Math.sqrt(a*a+ne*ne);y=se;for(var ve=0;9999999999>ve&&(y=.5*(se+he),!(y===se||y===he));++ve){var Se=a/(y+E),Be=ne/(y+te);if(Se=Se*Se+Be*Be-1,0<Se)se=y;else if(0>Se)he=y;else break}x=E*x/(y+E)-x,b=te*b/(y+te)-b,x=Math.sqrt(x*x+b*b)}else x=Math.abs(b-y);else b=a*a-y*y,te=a*x,te<b?(b=te/b,te=y*Math.sqrt(Math.abs(1-b*b)),x=a*b-x,x=Math.sqrt(x*x+te*te)):x=Math.abs(x-a);return x},Ze:new Ar,um:new Ar,Mf:new Ar,Nf:0,vm:100};tn.za=tn.AA;function $n(a){hi(this),this.l=2,a===void 0&&(a=$n.o),this.na=a,this.Ec=this.Dc=this.pd=this.od=0,a===$n.o?this.ee=new Dn:($n.V===null&&($n.V=new Dn().freeze()),this.ee=$n.V),this.aq=this.ee.Ja,this.Ip=new Mn().freeze(),this.ym=this.tk=null,this.zm=NaN,this.fg=Xa,this.gg=ks,this.Rk=this.Sk=NaN,this.Uf=Vn}$n.prototype.copy=function(){var a=new $n;if(a.l=this.l&-2,a.na=this.na,a.od=this.od,a.pd=this.pd,a.Dc=this.Dc,a.Ec=this.Ec,this.na===$n.o){for(var y=this.ee.s,x=a.ee,b=0;b<y.length;b++)x.add(y[b].copy());a.ee=x}else a.ee=this.ee;return a.aq=this.aq,a.Ip.assign(this.Ip),a.tk=this.tk,a.ym=this.ym,a.zm=this.zm,a.fg=this.fg.J(),a.gg=this.gg.J(),a.Sk=this.Sk,a.Rk=this.Rk,a.Uf=this.Uf,a},$n.prototype.ja=function(){return this.freeze(),Object.freeze(this),this},$n.prototype.freeze=function(){if(this._isFrozen=!0,this.type!==$n.o)return this;var a=this.figures;a.freeze(),a=a.s;for(var y=a.length,x=0;x<y;x++)a[x].freeze();return this},$n.prototype.ka=function(){if(Object.isFrozen(this)&&Ht("cannot thaw constant: "+this),this._isFrozen=!1,this.type!==$n.o)return this;var a=this.figures;a.ka(),a=a.s;for(var y=a.length,x=0;x<y;x++)a[x].ka();return this},$n.prototype.Xa=function(a){if(!(a instanceof $n))return!1;if(this.type!==a.type)return this.type===$n.j&&a.type===$n.o?Cd(this,a):a.type===$n.j&&this.type===$n.o?Cd(a,this):!1;if(this.type===$n.o){var y=this.figures.s;a=a.figures.s;var x=y.length;if(x!==a.length)return!1;for(var b=0;b<x;b++)if(!y[b].Xa(a[b]))return!1;return!0}return tn.B(this.startX,a.startX)&&tn.B(this.startY,a.startY)&&tn.B(this.endX,a.endX)&&tn.B(this.endY,a.endY)};function Cd(a,y){return a.type!==$n.j||y.type!==$n.o?!1:!!(y.figures.count===1&&(y=y.figures.M(0),y.segments.count===1&&tn.B(a.startX,y.startX)&&tn.B(a.startY,y.startY)&&(y=y.segments.M(0),y.type===Mo&&tn.B(a.endX,y.endX)&&tn.B(a.endY,y.endY))))}$n.ia=function(a){return a.toString()},$n.prototype.qb=function(a){a.classType===$n&&(this.type=a)},$n.prototype.toString=function(a){switch(a===void 0&&(a=-1),this.type){case $n.j:return 0>a?"M"+this.startX.toString()+" "+this.startY.toString()+"L"+this.endX.toString()+" "+this.endY.toString():"M"+this.startX.toFixed(a)+" "+this.startY.toFixed(a)+"L"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);case $n.u:var y=new Mn(this.startX,this.startY,0,0);return y.Kv(this.endX,this.endY,0,0),0>a?"M"+y.x.toString()+" "+y.y.toString()+"H"+y.right.toString()+"V"+y.bottom.toString()+"H"+y.left.toString()+"z":"M"+y.x.toFixed(a)+" "+y.y.toFixed(a)+"H"+y.right.toFixed(a)+"V"+y.bottom.toFixed(a)+"H"+y.left.toFixed(a)+"z";case $n.F:if(y=new Mn(this.startX,this.startY,0,0),y.Kv(this.endX,this.endY,0,0),0>a)return a=y.left.toString()+" "+(y.y+y.height/2).toString(),"M"+a+"A"+(y.width/2).toString()+" "+(y.height/2).toString()+" 0 0 1 "+(y.right.toString()+" "+(y.y+y.height/2).toString())+"A"+(y.width/2).toString()+" "+(y.height/2).toString()+" 0 0 1 "+a;var x=y.left.toFixed(a)+" "+(y.y+y.height/2).toFixed(a);return"M"+x+"A"+(y.width/2).toFixed(a)+" "+(y.height/2).toFixed(a)+" 0 0 1 "+(y.right.toFixed(a)+" "+(y.y+y.height/2).toFixed(a))+"A"+(y.width/2).toFixed(a)+" "+(y.height/2).toFixed(a)+" 0 0 1 "+x;case $n.o:y="",x=this.figures.s;for(var b=x.length,E=0;E<b;E++){var te=x[E];0<E&&(y+=" x "),te.isFilled&&(y+="F "),y+=te.toString(a)}return y;default:return this.type.toString()}},$n.nb=function(a){a=a.split(/[Xx]/);for(var y=a.length,x="",b=0;b<y;b++){var E=a[b];x=E.match(/[Ff]/)!==null?b===0?x+E:x+("X"+(E[0]===" "?"":" ")+E):x+((b===0?"":"X ")+"F"+(E[0]===" "?"":" ")+E)}return x},$n.parse=function(a,y){function x(){return ct>=Yt-1?!0:ve[ct+1].match($t)!==null}function b(){return ct++,ve[ct]}function E(ti){var Yr=parseFloat(b()),Ji=parseFloat(b());kt===kt.toLowerCase()&&(Yr=Ut.x+Yr,Ji=Ut.y+Ji),ti.h(Yr,Ji)}function te(){return E(Ut),Ut}function ne(){return E(Rt),Rt}function se(){var ti=Mt.toLowerCase();return ti!=="c"&&ti!=="s"&&ti!=="q"&&ti!=="t"?Ut:new Lt(2*Ut.x-Rt.x,2*Ut.y-Rt.y)}y===void 0&&(y=!1);var he=/([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])/gm;a=a.replace(/,/gm," "),a=a.replace(he,"$1 $2"),a=a.replace(he,"$1 $2"),a=a.replace(/([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])([^s])/gm,"$1 $2"),a=a.replace(/([^s])([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])/gm,"$1 $2"),a=a.replace(/([0-9])([+\-])/gm,"$1 $2"),a=a.replace(/[\s\r\t\n]+/gm," "),a=a.replace(/^\s+|\s+$/g,"");var ve=a.split(" ");for(a=0;a<ve.length;a++){var Se=ve[a];if(Se.match(/(\.[0-9]*)(\.)/gm)!==null){he=yn();for(var Be="",Ve=!1,nt=0;nt<Se.length;nt++){var rt=Se[nt];rt!=="."||Ve?rt==="."?(he.push(Be),Be="."):Be+=rt:(Ve=!0,Be+=rt)}for(he.push(Be),ve.splice(a,1),Se=0;Se<he.length;Se++)ve.splice(a+Se,0,he[Se]);a+=he.length-1,Tn(he)}}var ct=-1,kt="",Mt="";he=new Lt(0,0);var Rt=new Lt(0,0),Ut=new Lt(0,0),Yt=ve.length;a=D1(null),Ve=Be=Se=!1,nt=!0,rt=null;for(var $t=/[UuBbMmZzLlHhVvCcSsQqTtAaFfXx]/;!(ct>=Yt-1);)if(Mt=kt,kt=b(),kt!=="")switch(kt.toUpperCase()){case"X":nt=!0,Be=Se=!1;break;case"M":for(rt=te(),a.mc===null||nt===!0?(yp(a,rt.x,rt.y,Se,!Be,Ve),nt=!1):a.moveTo(rt.x,rt.y),he.assign(Ut);!x();)rt=te(),a.lineTo(rt.x,rt.y);break;case"L":for(;!x();)rt=te(),a.lineTo(rt.x,rt.y);break;case"H":for(;!x();)Ut=new Lt((kt===kt.toLowerCase()?Ut.x:0)+parseFloat(b()),Ut.y),a.lineTo(Ut.x,Ut.y);break;case"V":for(;!x();)Ut=new Lt(Ut.x,(kt===kt.toLowerCase()?Ut.y:0)+parseFloat(b())),a.lineTo(Ut.x,Ut.y);break;case"C":for(;!x();){rt=new Lt,E(rt);var dn=ne(),rr=te();Eh(a,rt.x,rt.y,dn.x,dn.y,rr.x,rr.y)}break;case"S":for(;!x();)rt=se(),dn=ne(),rr=te(),Eh(a,rt.x,rt.y,dn.x,dn.y,rr.x,rr.y);break;case"Q":for(;!x();)rt=ne(),dn=te(),Um(a,rt.x,rt.y,dn.x,dn.y);break;case"T":for(;!x();)Rt=rt=se(),dn=te(),Um(a,rt.x,rt.y,dn.x,dn.y);break;case"B":for(;!x();){rt=parseFloat(b()),dn=parseFloat(b()),rr=parseFloat(b());var mr=parseFloat(b()),cr=parseFloat(b()),Qn=cr,Bn=!1;x()||(Qn=parseFloat(b()),x()||(Bn=parseFloat(b())!==0)),kt===kt.toLowerCase()&&(rr+=Ut.x,mr+=Ut.y),a.arcTo(rt,dn,rr,mr,cr,Qn,Bn)}break;case"A":for(;!x();)rt=Math.abs(parseFloat(b())),dn=Math.abs(parseFloat(b())),rr=parseFloat(b()),cr=mr=!1,Bn=Qn=0,Qn=b(),Qn.length===1?(mr=!!parseFloat(Qn),cr=!!parseFloat(b()),Qn=parseFloat(b())):Qn.length===2?(mr=!!parseFloat(Qn[0]),cr=!!parseFloat(Qn[1]),Qn=parseFloat(b())):(mr=!!parseFloat(Qn[0]),cr=!!parseFloat(Qn[1]),Qn=parseFloat(Qn.slice(2))),Bn=parseFloat(b()),kt===kt.toLowerCase()&&(Qn=Ut.x+Qn,Bn=Ut.y+Bn),Ut.h(Qn,Bn),Cx(a,rt,dn,rr,mr,cr,Qn,Bn);break;case"Z":bx(a),Ut.assign(he);break;case"F":for(rt="",dn=1;ve[ct+dn];)if(ve[ct+dn]==="0")Ve=!0,dn++;else if(ve[ct+dn].match(/[Uu]/)!==null)dn++;else if(ve[ct+dn].match($t)===null)dn++;else{rt=ve[ct+dn];break}rt.match(/[Mm]/)?Se=!0:0<a.mc.segments.length&&(a.mc.isFilled=!0);break;case"U":for(rt="",dn=1;ve[ct+dn];)if(ve[ct+dn].match(/[Ff]/)!==null)dn++;else if(ve[ct+dn].match($t)===null)dn++;else{rt=ve[ct+dn];break}rt.match(/[Mm]/)?Be=!0:a.mc.isShadowed=!1}if(he=a.os,Gm=a,y)for(y=he.figures.iterator;y.next();)y.value.isFilled=!0;return he},$n.Ha=function(a,y){for(var x=a.length,b=Lt.alloc(),E=0;E<x;E++){var te=a[E];b.x=te[0],b.y=te[1],y.Ga(b),te[0]=b.x,te[1]=b.y,b.x=te[2],b.y=te[3],y.Ga(b),te[2]=b.x,te[3]=b.y,b.x=te[4],b.y=te[5],y.Ga(b),te[4]=b.x,te[5]=b.y,b.x=te[6],b.y=te[7],y.Ga(b),te[6]=b.x,te[7]=b.y}Lt.free(b)},$n.prototype.Zu=function(){if(this._isInvalidBounds)return!0;if(this.type===$n.o){if(this.aq!==this.figures.Ja)return!0;for(var a=this.figures.s,y=a.length,x=0;x<y;x++)if(a[x].Zu())return!0}return!1},$n.prototype.computeBounds=function(){if(this._isInvalidBounds=!1,this.ym=this.tk=null,this.zm=NaN,this.type===$n.o){this.aq=this.figures.Ja;for(var a=this.figures.s,y=a.length,x=0;x<y;x++){var b=a[x];b._isInvalidBounds=!1;var E=b.segments;b.sr=E.Ja,b=E.s,E=b.length;for(var te=0;te<E;te++){var ne=b[te];ne._isInvalidBounds=!1,ne.ae=null}}}a=this.Ip,a.ka(),isNaN(this.Sk)||isNaN(this.Rk)?a.h(0,0,0,0):a.h(0,0,this.Sk,this.Rk),af(this,a,!1),eo(a,0,0,0,0),a.freeze()},$n.prototype.ix=function(){var a=new Mn;return af(this,a,!0),a};function af(a,y,x){switch(a.type){case $n.j:case $n.u:case $n.F:x?y.h(a.od,a.pd,0,0):eo(y,a.od,a.pd,0,0),eo(y,a.Dc,a.Ec,0,0);break;case $n.o:var b=a.figures;a=b.s,b=b.length;for(var E=0;E<b;E++){var te=a[E];x&&E===0?y.h(te.startX,te.startY,0,0):eo(y,te.startX,te.startY,0,0);for(var ne=te.segments.s,se=ne.length,he=te.startX,ve=te.startY,Se=0;Se<se;Se++){var Be=ne[Se];switch(Be.type){case Mo:case xa:he=Be.endX,ve=Be.endY,eo(y,he,ve,0,0);break;case ss:tn.Dl(he,ve,Be.point1X,Be.point1Y,Be.point2X,Be.point2Y,Be.endX,Be.endY,.5,y),he=Be.endX,ve=Be.endY;break;case Pl:tn.iv(he,ve,Be.point1X,Be.point1Y,Be.endX,Be.endY,.5,y),he=Be.endX,ve=Be.endY;break;case ma:case zl:var Ve=Be.type===ma?rl(Be,te):Hs(Be,te,he,ve),nt=Ve.length;if(nt===0){he=Be.type===ma?Be.centerX:Be.endX,ve=Be.type===ma?Be.centerY:Be.endY,eo(y,he,ve,0,0);break}Be=null;for(var rt=0;rt<nt;rt++)Be=Ve[rt],tn.Dl(Be[0],Be[1],Be[2],Be[3],Be[4],Be[5],Be[6],Be[7],.5,y);Be!==null&&(he=Be[6],ve=Be[7]);break;default:Ht("Unknown Segment type: "+Be.type)}}}break;default:Ht("Unknown Geometry type: "+a.type)}}$n.prototype.normalize=function(){this._isFrozen&&An(this);var a=this.ix();return this.offset(-a.x,-a.y),new Lt(-a.x,-a.y)},$n.prototype.offset=function(a,y){return this._isFrozen&&An(this),this.transform(1,0,0,1,a,y),this},$n.prototype.scale=function(a,y){return this._isFrozen&&An(this),this.transform(a,0,0,y,0,0),this},$n.prototype.rotate=function(a,y,x){this._isFrozen&&An(this),y===void 0&&(y=0),x===void 0&&(x=0);var b=mi.alloc();return b.reset(),b.rotate(a,y,x),this.transform(b.m11,b.m12,b.m21,b.m22,b.dx,b.dy),mi.free(b),this},ot=$n.prototype,ot.transform=function(a,y,x,b,E,te){switch(this.type){case $n.j:case $n.u:case $n.F:var ne=this.od,se=this.pd;this.od=ne*a+se*x+E,this.pd=ne*y+se*b+te,ne=this.Dc,se=this.Ec,this.Dc=ne*a+se*x+E,this.Ec=ne*y+se*b+te;break;case $n.o:for(var he=this.figures.s,ve=he.length,Se=0;Se<ve;Se++){var Be=he[Se];ne=Be.startX,se=Be.startY,Be.startX=ne*a+se*x+E,Be.startY=ne*y+se*b+te,Be=Be.segments.s;for(var Ve=Be.length,nt=0;nt<Ve;nt++){var rt=Be[nt];switch(rt.type){case Mo:case xa:ne=rt.endX,se=rt.endY,rt.endX=ne*a+se*x+E,rt.endY=ne*y+se*b+te;break;case ss:ne=rt.point1X,se=rt.point1Y,rt.point1X=ne*a+se*x+E,rt.point1Y=ne*y+se*b+te,ne=rt.point2X,se=rt.point2Y,rt.point2X=ne*a+se*x+E,rt.point2Y=ne*y+se*b+te,ne=rt.endX,se=rt.endY,rt.endX=ne*a+se*x+E,rt.endY=ne*y+se*b+te;break;case Pl:ne=rt.point1X,se=rt.point1Y,rt.point1X=ne*a+se*x+E,rt.point1Y=ne*y+se*b+te,ne=rt.endX,se=rt.endY,rt.endX=ne*a+se*x+E,rt.endY=ne*y+se*b+te;break;case ma:ne=rt.centerX,se=rt.centerY,rt.centerX=ne*a+se*x+E,rt.centerY=ne*y+se*b+te,y!==0&&(ne=180*Math.atan2(y,a)/Math.PI,0>ne&&(ne+=360),rt.startAngle+=ne),0>a&&(rt.startAngle=180-rt.startAngle,rt.sweepAngle=-rt.sweepAngle),0>b&&(rt.startAngle=-rt.startAngle,rt.sweepAngle=-rt.sweepAngle),rt.radiusX*=Math.sqrt(a*a+x*x),rt.radiusY!==void 0&&(rt.radiusY*=Math.sqrt(y*y+b*b));break;case zl:if(ne=rt.endX,se=rt.endY,rt.endX=ne*a+se*x+E,rt.endY=ne*y+se*b+te,rt.radiusX===0||rt.radiusY===0)break;y!==0&&(ne=180*Math.atan2(y,a)/Math.PI,0>ne&&(ne+=360),rt.xAxisRotation+=ne),0>a&&(rt.xAxisRotation=180-rt.xAxisRotation,rt.isClockwiseArc=!rt.isClockwiseArc),0>b&&(rt.xAxisRotation=-rt.xAxisRotation,rt.isClockwiseArc=!rt.isClockwiseArc),rt.radiusX*=Math.sqrt(a*a+x*x),rt.radiusY*=Math.sqrt(y*y+b*b);break;default:Ht("Unknown Segment type: "+rt.type)}}}}return this._isInvalidBounds=!0,this},ot.ca=function(a,y){y===void 0&&(y=0);var x=this.od,b=this.pd,E=this.Dc,te=this.Ec;switch(this.type){case $n.j:return tn.Yb(x,b,E,te,y,a.x,a.y);case $n.u:var ne=Mn.allocAt(Math.min(x,E)-y,Math.min(b,te)-y,Math.abs(E-x)+2*y,Math.abs(te-b)+2*y);return a=ne.ca(a),Mn.free(ne),a;case $n.F:ne=Math.min(x,E)-y;var se=Math.min(b,te)-y;return x=(Math.abs(E-x)+2*y)/2,y=(Math.abs(te-b)+2*y)/2,0>=x||0>=y?!1:(ne=a.x-(ne+x),se=a.y-(se+y),1>=ne*ne/(x*x)+se*se/(y*y));case $n.o:return Hu(this,a,y,!0,!1);default:return!1}};function Hu(a,y,x,b,E){var te=y.x;y=y.y;for(var ne=a.bounds.x-20,se=0,he,ve,Se,Be,Ve=a.figures.s,nt=Ve.length,rt=0;rt<nt;rt++){var ct=Ve[rt],kt=!ct.isEvenOdd;if(ct.isFilled){if(b&&ct.ca(te,y,x))return!0;var Mt=ct.segments;he=ct.startX,ve=ct.startY;for(var Rt=he,Ut=ve,Yt=Mt.s,$t=0;$t<=Mt.length;$t++){var dn=void 0;if($t!==Mt.length){dn=Yt[$t];var rr=dn.type;a=dn.endX,Be=dn.endY}else rr=Mo,a=Rt,Be=Ut;switch(rr){case xa:if(Rt=Uu(te,y,ne,y,he,ve,Rt,Ut),isNaN(Rt))return!0;se+=Rt,Rt=a,Ut=Be;break;case Mo:if(he=Uu(te,y,ne,y,he,ve,a,Be),isNaN(he))return!0;se+=he;break;case ss:Se=tn.Fo(he,ve,dn.point1X,dn.point1Y,dn.point2X,dn.point2Y,a,Be,ne,y,te,y,.5),se+=Se;break;case Pl:Se=tn.Fo(he,ve,(he+2*dn.point1X)/3,(ve+2*dn.point1Y)/3,(2*dn.point1X+a)/3,(2*dn.point1Y+Be)/3,a,Be,ne,y,te,y,.5),se+=Se;break;case ma:case zl:rr=dn.type===ma?rl(dn,ct):Hs(dn,ct,he,ve);var mr=rr.length;if(mr===0){if(he=Uu(te,y,ne,y,he,ve,dn.type===ma?dn.centerX:dn.endX,dn.type===ma?dn.centerY:dn.endY),isNaN(he))return!0;se+=he;break}dn=null;for(var cr=0;cr<mr;cr++){if(dn=rr[cr],cr===0){if(Se=Uu(te,y,ne,y,he,ve,dn[0],dn[1]),isNaN(Se))return!0;se+=Se}Se=tn.Fo(dn[0],dn[1],dn[2],dn[3],dn[4],dn[5],dn[6],dn[7],ne,y,te,y,.5),se+=Se}dn!==null&&(a=dn[6],Be=dn[7]);break;default:Ht("Unknown Segment type: "+dn.type)}he=a,ve=Be}if(kt){if(se!==0)return!0}else if(se%2!==0)return!0;se=0}else if(ct.ca(te,y,E?x:x+2))return!0}return!1}function Uu(a,y,x,b,E,te,ne,se){if(tn.Yb(E,te,ne,se,.05,a,y))return NaN;var he=(a-x)*(te-se);if(he===0)return 0;var ve=((a*b-y*x)*(E-ne)-(a-x)*(E*se-te*ne))/he;if(y=(a*b-y*x)*(te-se)/he,ve>=a)return 0;if((E>ne?E-ne:ne-E)<(te>se?te-se:se-te)){if(te<se){if(y<te||y>se)return 0}else if(y<se||y>te)return 0}else if(E<ne){if(ve<E||ve>ne)return 0}else if(ve<ne||ve>E)return 0;return 0<he?1:-1}function ic(a,y,x,b){a=a.figures.s;for(var E=a.length,te=0;te<E;te++)if(a[te].ca(y,x,b))return!0;return!1}ot.Pu=function(a,y){if(0>a?a=0:1<a&&(a=1),y===void 0&&(y=new Lt),this.type===$n.j)return y.h(this.startX+a*(this.endX-this.startX),this.startY+a*(this.endY-this.startY)),y;for(var x=this.flattenedSegments,b=this.flattenedLengths,E=x.length,te=this.flattenedTotalLength*a,ne=0,se=0;se<E;se++){var he=b[se],ve=he.length;for(a=0;a<ve;a++){var Se=he[a];if(ne+Se>=te)return b=te-ne,b=Se===0?0:b/Se,x=x[se],se=x[2*a],E=x[2*a+1],y.h(se+(x[2*a+2]-se)*b,E+(x[2*a+3]-E)*b),y;ne+=Se}}return y},ot.wx=function(a){if(0>a?a=0:1<a&&(a=1),this.type===$n.j)return 180*Math.atan2(this.endY-this.startY,this.endX-this.startX)/Math.PI;for(var y=this.flattenedSegments,x=this.flattenedLengths,b=y.length,E=this.flattenedTotalLength*a,te=0,ne=0;ne<b;ne++){var se=x[ne],he=se.length;for(a=0;a<he;a++){var ve=se[a];if(te+ve>=E)return E=y[ne],y=E[2*a],x=E[2*a+1],b=E[2*a+2],a=E[2*a+3],1>Math.abs(b-y)&&1>Math.abs(a-x)?0:1>Math.abs(b-y)?0<=a-x?90:270:1>Math.abs(a-x)?0<=b-y?0:180:180*Math.atan2(a-x,b-y)/Math.PI;te+=ve}}return NaN},ot.Qu=function(a,y){if(0>a?a=0:1<a&&(a=1),y===void 0&&(y=[]),y.length=3,this.type===$n.j)return y[0]=this.startX+a*(this.endX-this.startX),y[1]=this.startY+a*(this.endY-this.startY),y[2]=180*Math.atan2(this.endY-this.startY,this.endX-this.startX)/Math.PI,y;for(var x=this.flattenedSegments,b=this.flattenedLengths,E=x.length,te=this.flattenedTotalLength*a,ne=0,se=0;se<E;se++){var he=b[se],ve=he.length;for(a=0;a<ve;a++){var Se=he[a];if(ne+Se>=te)return b=te-ne,b=Se===0?0:b/Se,Se=x[se],x=Se[2*a],se=Se[2*a+1],E=Se[2*a+2],a=Se[2*a+3],y[0]=x+(E-x)*b,y[1]=se+(a-se)*b,y[2]=1>Math.abs(E-x)&&1>Math.abs(a-se)?0:1>Math.abs(E-x)?0<=a-se?90:270:1>Math.abs(a-se)?0<=E-x?0:180:180*Math.atan2(a-se,E-x)/Math.PI,y;ne+=Se}}return y},ot.xx=function(a){if(this.type===$n.j){var y=this.startX,x=this.startY,b=this.endX,E=this.endY;if(y!==b||x!==E){var te=a.x;if(a=a.y,y===b){if(x<E){var ne=x;b=E}else ne=E,b=x;return a<=ne?ne===x?0:1:a>=b?b===x?0:1:Math.abs(a-x)/(b-ne)}if(x===E)return y<b?ne=y:(ne=b,b=y),te<=ne?ne===y?0:1:te>=b?b===y?0:1:Math.abs(te-y)/(b-ne);ne=(b-y)*(b-y)+(E-x)*(E-x);var se=Lt.alloc();return tn.qh(y,x,b,E,te,a,se),a=se.x,te=se.y,Lt.free(se),Math.sqrt(((a-y)*(a-y)+(te-x)*(te-x))/ne)}}else if(this.type===$n.u){ne=this.startX,se=this.startY;var he=this.endX;if(E=this.endY,ne!==he||se!==E){y=he-ne,x=E-se,te=2*y+2*x,b=a.x,a=a.y,b=Math.min(Math.max(b,ne),he),a=Math.min(Math.max(a,se),E),ne=Math.abs(b-ne),he=Math.abs(b-he),se=Math.abs(a-se),E=Math.abs(a-E);var ve=Math.min(ne,he,se,E);if(ve===se)return b/te;if(ve===he)return(y+a)/te;if(ve===E)return(2*y+x-b)/te;if(ve===ne)return(2*y+2*x-a)/te}}else{y=this.flattenedSegments,x=this.flattenedLengths,te=this.flattenedTotalLength,b=Lt.alloc(),E=1/0,se=ne=0,he=y.length;for(var Se=ve=0,Be=0;Be<he;Be++)for(var Ve=y[Be],nt=x[Be],rt=Ve.length,ct=0;ct<rt;ct+=2){var kt=Ve[ct],Mt=Ve[ct+1];if(ct!==0){tn.qh(ve,Se,kt,Mt,a.x,a.y,b);var Rt=(b.x-a.x)*(b.x-a.x)+(b.y-a.y)*(b.y-a.y);Rt<E&&(E=Rt,ne=se,ne+=Math.sqrt((b.x-ve)*(b.x-ve)+(b.y-Se)*(b.y-Se))),se+=nt[(ct-2)/2]}ve=kt,Se=Mt}return Lt.free(b),a=ne/te,0>a?0:1<a?1:a}return 0};function Pd(a){if(a.tk===null){var y=a.tk=[],x=a.ym=[],b=[],E=[];if(a.type===$n.j)b.push(a.startX),b.push(a.startY),b.push(a.endX),b.push(a.endY),y.push(b),E.push(Math.sqrt((a.startX-a.endX)*(a.startX-a.endX)+(a.startY-a.endY)*(a.startY-a.endY))),x.push(E);else if(a.type===$n.u)b.push(a.startX),b.push(a.startY),b.push(a.endX),b.push(a.startY),b.push(a.endX),b.push(a.endY),b.push(a.startX),b.push(a.endY),b.push(a.startX),b.push(a.startY),y.push(b),E.push(Math.abs(a.startX-a.endX)),E.push(Math.abs(a.startY-a.endY)),E.push(Math.abs(a.startX-a.endX)),E.push(Math.abs(a.startY-a.endY)),x.push(E);else if(a.type===$n.F){var te=new Ga;te.startX=a.endX,te.startY=(a.startY+a.endY)/2;var ne=new Zi(ma);if(ne.startAngle=0,ne.sweepAngle=360,ne.centerX=(a.startX+a.endX)/2,ne.centerY=(a.startY+a.endY)/2,ne.radiusX=Math.abs(a.startX-a.endX)/2,ne.radiusY=Math.abs(a.startY-a.endY)/2,te.add(ne),a=rl(ne,te),E=a.length,E===0)b.push(ne.centerX),b.push(ne.centerY);else{ne=te.startX,te=te.startY;for(var se=0;se<E;se++){var he=a[se];tn.Qe(ne,te,he[2],he[3],he[4],he[5],he[6],he[7],.5,b),ne=he[6],te=he[7]}}y.push(b),x.push(ph(b))}else for(a=a.figures.iterator;a.next();){E=a.value,b=[],b.push(E.startX),b.push(E.startY),ne=E.startX,te=E.startY,se=ne,he=te;for(var ve=E.segments.s,Se=ve.length,Be=0;Be<Se;Be++){var Ve=ve[Be];switch(Ve.type){case xa:4<=b.length&&(y.push(b),x.push(ph(b))),b=[],b.push(Ve.endX),b.push(Ve.endY),ne=Ve.endX,te=Ve.endY,se=ne,he=te;break;case Mo:b.push(Ve.endX),b.push(Ve.endY),ne=Ve.endX,te=Ve.endY;break;case ss:tn.Qe(ne,te,Ve.point1X,Ve.point1Y,Ve.point2X,Ve.point2Y,Ve.endX,Ve.endY,.5,b),ne=Ve.endX,te=Ve.endY;break;case Pl:tn.ep(ne,te,Ve.point1X,Ve.point1Y,Ve.endX,Ve.endY,.5,b),ne=Ve.endX,te=Ve.endY;break;case ma:var nt=rl(Ve,E),rt=nt.length;if(rt===0){b.push(Ve.centerX),b.push(Ve.centerY),ne=Ve.centerX,te=Ve.centerY;break}for(var ct=0;ct<rt;ct++){var kt=nt[ct];tn.Qe(ne,te,kt[2],kt[3],kt[4],kt[5],kt[6],kt[7],.5,b),ne=kt[6],te=kt[7]}break;case zl:if(nt=Hs(Ve,E,ne,te),rt=nt.length,ct=Ve.endX,kt=Ve.endY,rt===0){b.push(ct),b.push(kt),ne=ct,te=kt;break}for(ct=0;ct<rt;ct++)kt=nt[ct],tn.Qe(ne,te,kt[2],kt[3],kt[4],kt[5],kt[6],kt[7],.5,b),ne=kt[6],te=kt[7];break;default:Ht("Segment not of valid type: "+Ve.type)}Ve.isClosed&&(b.push(se),b.push(he))}4<=b.length&&(y.push(b),x.push(ph(b)))}}}function ph(a){for(var y=[],x=0,b=0,E=a.length,te=0;te<E;te+=2){var ne=a[te],se=a[te+1];te!==0&&y.push(Math.sqrt(Po(x,b,ne,se))),x=ne,b=se}return y}ot.add=function(a){return this.ee.add(a),this},ot.pm=function(a,y,x,b,E,te,ne,se){return this._isFrozen&&An(this),this.fg=new wr(a,y,E,te).freeze(),this.gg=new wr(x,b,ne,se).freeze(),this},Pt.Object.defineProperties($n.prototype,{_isFrozen:{get:function(){return(this.l&1)!==0},set:function(a){this.l=a?this.l|1:this.l&-2}},_isInvalidBounds:{get:function(){return(this.l&2)!==0},set:function(a){this.l=a?this.l|2:this.l&-3}},flattenedSegments:{get:function(){return Pd(this),this.tk}},flattenedLengths:{get:function(){return Pd(this),this.ym}},flattenedTotalLength:{get:function(){var a=this.zm;if(isNaN(a)){if(this.type===$n.j){a=Math.abs(this.endX-this.startX);var y=Math.abs(this.endY-this.startY);a=Math.sqrt(a*a+y*y)}else if(this.type===$n.u)a=2*Math.abs(this.endX-this.startX)+2*Math.abs(this.endY-this.startY);else{y=this.flattenedLengths;for(var x=y.length,b=a=0;b<x;b++)for(var E=y[b],te=E.length,ne=0;ne<te;ne++)a+=E[ne]}this.zm=a}return a}},type:{get:function(){return this.na},set:function(a){this.na!==a&&(this._isFrozen&&An(this,a),this.na=a,a===$n.o?this.ee=new Dn:($n.V===null&&($n.V=new Dn().freeze()),this.ee=$n.V),this._isInvalidBounds=!0)}},startX:{get:function(){return this.od},set:function(a){this.od!==a&&(this._isFrozen&&An(this,a),this.od=a,this._isInvalidBounds=!0)}},startY:{get:function(){return this.pd},set:function(a){this.pd!==a&&(this._isFrozen&&An(this,a),this.pd=a,this._isInvalidBounds=!0)}},endX:{get:function(){return this.Dc},set:function(a){this.Dc!==a&&(this._isFrozen&&An(this,a),this.Dc=a,this._isInvalidBounds=!0)}},endY:{get:function(){return this.Ec},set:function(a){this.Ec!==a&&(this._isFrozen&&An(this,a),this.Ec=a,this._isInvalidBounds=!0)}},figures:{get:function(){return this.ee},set:function(a){this.ee!==a&&(this._isFrozen&&An(this,a),this.ee=a,this._isInvalidBounds=!0)}},spot1:{get:function(){return this.fg},set:function(a){this._isFrozen&&An(this,a),this.fg=a.J()}},spot2:{get:function(){return this.gg},set:function(a){this._isFrozen&&An(this,a),this.gg=a.J()}},defaultStretch:{get:function(){return this.Uf},set:function(a){this._isFrozen&&An(this,a),this.Uf=a}},bounds:{get:function(){return this.Zu()&&this.computeBounds(),this.Ip}}}),$n.prototype.setSpots=$n.prototype.pm,$n.prototype.add=$n.prototype.add,$n.prototype.getFractionForPoint=$n.prototype.xx,$n.prototype.getPointAndAngleAlongPath=$n.prototype.Qu,$n.prototype.getAngleAlongPath=$n.prototype.wx,$n.prototype.getPointAlongPath=$n.prototype.Pu,$n.prototype.containsPoint=$n.prototype.ca,$n.prototype.transform=$n.prototype.transform,$n.prototype.rotate=$n.prototype.rotate,$n.prototype.scale=$n.prototype.scale,$n.prototype.offset=$n.prototype.offset,$n.prototype.normalize=$n.prototype.normalize,$n.prototype.computeBoundsWithoutOrigin=$n.prototype.ix,$n.prototype.equalsApprox=$n.prototype.Xa,$n.className="Geometry",$n.j=new wn($n,"Line",0),$n.u=new wn($n,"Rectangle",1),$n.F=new wn($n,"Ellipse",2),$n.o=new wn($n,"Path",3),$n.V=null,$n.hb="UuBbMmZzLlHhVvCcSsQqTtAaFfXx",$n.className="Geometry",$n.stringify=$n.ia,$n.fillPath=$n.nb,$n.parse=$n.parse,$n.Line=$n.j,$n.Rectangle=$n.u,$n.Ellipse=$n.F,$n.Path=$n.o;function Ga(a,y,x,b,E){hi(this),x===void 0&&(x=!0),b===void 0&&(b=!0),E===void 0&&(E=!1),this.l=2|(x?4:0)|(b?8:0)|(E?16:0),a!==void 0?this.od=a:this.od=0,y!==void 0?this.pd=y:this.pd=0,this.pl=new Dn,this.sr=this.pl.Ja,this.fw=null}Ga.prototype.copy=function(){var a=new Ga;a.l=this.l&-2,a.od=this.od,a.pd=this.pd;for(var y=this.pl.s,x=y.length,b=a.pl,E=0;E<x;E++){var te=y[E].copy();b.add(te)}return a.sr=this.sr,a.fw=this.fw,a},ot=Ga.prototype,ot.Xa=function(a){if(!(a instanceof Ga&&tn.B(this.startX,a.startX)&&tn.B(this.startY,a.startY)))return!1;var y=this.segments.s;a=a.segments.s;var x=y.length;if(x!==a.length)return!1;for(var b=0;b<x;b++)if(!y[b].Xa(a[b]))return!1;return!0},ot.toString=function(a){a===void 0&&(a=-1);for(var y=0>a?"M"+this.startX.toString()+" "+this.startY.toString():"M"+this.startX.toFixed(a)+" "+this.startY.toFixed(a),x=this.segments.s,b=x.length,E=0;E<b;E++)y+=" "+x[E].toString(a);return y},ot.freeze=function(){this._isFrozen=!0;var a=this.segments;a.freeze();var y=a.s;a=a.length;for(var x=0;x<a;x++)y[x].freeze();return this},ot.ka=function(){this._isFrozen=!1;var a=this.segments;a.ka(),a=a.s;for(var y=a.length,x=0;x<y;x++)a[x].ka();return this},ot.Zu=function(){if(this._isInvalidBounds)return!0;var a=this.segments;if(this.sr!==a.Ja)return!0;a=a.s;for(var y=a.length,x=0;x<y;x++)if(a[x]._isInvalidBounds)return!0;return!1},ot.add=function(a){return this.pl.add(a),this},ot.ca=function(a,y,x){for(var b=this.startX,E=this.startY,te=b,ne=E,se=this.segments.s,he=se.length,ve=0;ve<he;ve++){var Se=se[ve];switch(Se.type){case xa:te=Se.endX,ne=Se.endY,b=Se.endX,E=Se.endY;break;case Mo:if(tn.Yb(b,E,Se.endX,Se.endY,x,a,y))return!0;b=Se.endX,E=Se.endY;break;case ss:if(tn.cs(b,E,Se.point1X,Se.point1Y,Se.point2X,Se.point2Y,Se.endX,Se.endY,.5,a,y,x))return!0;b=Se.endX,E=Se.endY;break;case Pl:if(tn.jv(b,E,Se.point1X,Se.point1Y,Se.endX,Se.endY,.5,a,y,x))return!0;b=Se.endX,E=Se.endY;break;case ma:case zl:var Be=Se.type===ma?rl(Se,this):Hs(Se,this,b,E),Ve=Be.length,nt=Se.type===ma?Se.centerX:Se.endX,rt=Se.type===ma?Se.centerY:Se.endY;if(Ve===0){if(tn.Yb(b,E,nt,rt,x,a,y))return!0;b=nt,E=rt;break}for(nt=null,rt=0;rt<Ve;rt++)if(nt=Be[rt],rt===0&&tn.Yb(b,E,nt[0],nt[1],x,a,y)||tn.cs(nt[0],nt[1],nt[2],nt[3],nt[4],nt[5],nt[6],nt[7],.5,a,y,x))return!0;nt!==null&&(b=nt[6],E=nt[7]);break;default:Ht("Unknown Segment type: "+Se.type)}if(Se.isClosed&&(b!==te||E!==ne)&&tn.Yb(b,E,te,ne,x,a,y))return!0}return!1},Pt.Object.defineProperties(Ga.prototype,{_isFrozen:{get:function(){return(this.l&1)!==0},set:function(a){this.l=a?this.l|1:this.l&-2}},_isInvalidBounds:{get:function(){return(this.l&2)!==0},set:function(a){this.l=a?this.l|2:this.l&-3}},isFilled:{get:function(){return(this.l&4)!==0},set:function(a){this._isFrozen&&An(this,a),this.l=a?this.l|4:this.l&-5}},isShadowed:{get:function(){return(this.l&8)!==0},set:function(a){this._isFrozen&&An(this,a),this.l=a?this.l|8:this.l&-9}},isEvenOdd:{get:function(){return(this.l&16)!==0},set:function(a){this._isFrozen&&An(this,a),this.l=a?this.l|16:this.l&-17}},startX:{get:function(){return this.od},set:function(a){this._isFrozen&&An(this,a),this.od=a,this._isInvalidBounds=!0}},startY:{get:function(){return this.pd},set:function(a){this._isFrozen&&An(this,a),this.pd=a,this._isInvalidBounds=!0}},segments:{get:function(){return this.pl},set:function(a){this._isFrozen&&An(this,a),this.pl=a,this._isInvalidBounds=!0}}}),Ga.prototype.add=Ga.prototype.add,Ga.prototype.equalsApprox=Ga.prototype.Xa,Ga.className="PathFigure";function Zi(a,y,x,b,E,te,ne,se){hi(this),a===void 0&&(a=Mo),this.na=a,this.l=2,y!==void 0?this.Dc=y:this.Dc=0,x!==void 0?this.Ec=x:this.Ec=0,b===void 0&&(b=0),E===void 0&&(E=0),te===void 0&&(te=0),ne===void 0&&(ne=0),a===zl?(a=te%360,0>a&&(a+=360),this.Ne=a,this.Vh=0,this.Wh=Math.max(b,0),this.Pg=Math.max(E,0),typeof ne=="boolean"?ne&&(this.isLargeArc=!0):typeof ne=="number"&&ne&&(this.isLargeArc=!0),se&&(this.isClockwiseArc=!0)):(this.Ne=b,this.Vh=E,a===ma&&(te=Math.max(te,0)),this.Wh=te,typeof ne=="number"?(a===ma&&(ne=Math.max(ne,0)),this.Pg=ne):this.Pg=0),this.ae=null}Zi.prototype.copy=function(){var a=new Zi;return a.na=this.na,a.l=this.l&-2,a.Dc=this.Dc,a.Ec=this.Ec,a.Ne=this.Ne,a.Vh=this.Vh,a.Wh=this.Wh,a.Pg=this.Pg,a},ot=Zi.prototype,ot.Xa=function(a){if(!(a instanceof Zi)||this.type!==a.type||this.isClosed!==a.isClosed)return!1;switch(this.type){case xa:case Mo:return tn.B(this.endX,a.endX)&&tn.B(this.endY,a.endY);case ss:return tn.B(this.endX,a.endX)&&tn.B(this.endY,a.endY)&&tn.B(this.point1X,a.point1X)&&tn.B(this.point1Y,a.point1Y)&&tn.B(this.point2X,a.point2X)&&tn.B(this.point2Y,a.point2Y);case Pl:return tn.B(this.endX,a.endX)&&tn.B(this.endY,a.endY)&&tn.B(this.point1X,a.point1X)&&tn.B(this.point1Y,a.point1Y);case ma:return tn.B(this.startAngle,a.startAngle)&&tn.B(this.sweepAngle,a.sweepAngle)&&tn.B(this.centerX,a.centerX)&&tn.B(this.centerY,a.centerY)&&tn.B(this.radiusX,a.radiusX)&&tn.B(this.radiusY,a.radiusY);case zl:return this.isClockwiseArc===a.isClockwiseArc&&this.isLargeArc===a.isLargeArc&&tn.B(this.xAxisRotation,a.xAxisRotation)&&tn.B(this.endX,a.endX)&&tn.B(this.endY,a.endY)&&tn.B(this.radiusX,a.radiusX)&&tn.B(this.radiusY,a.radiusY);default:return!1}},ot.qb=function(a){a.classType===Zi&&(this.type=a)},ot.toString=function(a){switch(a===void 0&&(a=-1),this.type){case xa:a=0>a?"M"+this.endX.toString()+" "+this.endY.toString():"M"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case Mo:a=0>a?"L"+this.endX.toString()+" "+this.endY.toString():"L"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case ss:a=0>a?"C"+this.point1X.toString()+" "+this.point1Y.toString()+" "+this.point2X.toString()+" "+this.point2Y.toString()+" "+this.endX.toString()+" "+this.endY.toString():"C"+this.point1X.toFixed(a)+" "+this.point1Y.toFixed(a)+" "+this.point2X.toFixed(a)+" "+this.point2Y.toFixed(a)+" "+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case Pl:a=0>a?"Q"+this.point1X.toString()+" "+this.point1Y.toString()+" "+this.endX.toString()+" "+this.endY.toString():"Q"+this.point1X.toFixed(a)+" "+this.point1Y.toFixed(a)+" "+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case ma:a=0>a?"B"+this.startAngle.toString()+" "+this.sweepAngle.toString()+" "+this.centerX.toString()+" "+this.centerY.toString()+" "+this.radiusX.toString()+" "+this.radiusY.toString():"B"+this.startAngle.toFixed(a)+" "+this.sweepAngle.toFixed(a)+" "+this.centerX.toFixed(a)+" "+this.centerY.toFixed(a)+" "+this.radiusX.toFixed(a)+" "+this.radiusY.toFixed(a);break;case zl:a=0>a?"A"+this.radiusX.toString()+" "+this.radiusY.toString()+" "+this.xAxisRotation.toString()+" "+(this.isLargeArc?1:0)+" "+(this.isClockwiseArc?1:0)+" "+this.endX.toString()+" "+this.endY.toString():"A"+this.radiusX.toFixed(a)+" "+this.radiusY.toFixed(a)+" "+this.xAxisRotation.toFixed(a)+" "+(this.isLargeArc?1:0)+" "+(this.isClockwiseArc?1:0)+" "+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;default:a=this.type.toString()}return a+(this.isClosed?"z":"")},ot.freeze=function(){return this._isFrozen=!0,this},ot.ka=function(){return this._isFrozen=!1,this},ot.close=function(){return this.isClosed=!0,this};function rl(a,y){if(a.ae!==null&&y._isInvalidBounds===!1)return a.ae;var x=a.radiusX,b=a.radiusY;if(b===void 0&&(b=x),x===0||b===0)return a.ae=[],a.ae;y=a.Ne;var E=a.Vh,te=tn.jx(0,0,x<b?x:b,a.startAngle,a.startAngle+a.sweepAngle,!1);if(x!==b){var ne=mi.alloc();ne.reset(),x<b?ne.scale(1,b/x):ne.scale(x/b,1),$n.Ha(te,ne),mi.free(ne)}for(x=te.length,b=0;b<x;b++)ne=te[b],ne[0]+=y,ne[1]+=E,ne[2]+=y,ne[3]+=E,ne[4]+=y,ne[5]+=E,ne[6]+=y,ne[7]+=E;return a.ae=te,a.ae}function Hs(a,y,x,b){function E(ct,kt,Mt,Rt){return(ct*Rt<kt*Mt?-1:1)*Math.acos((ct*Mt+kt*Rt)/(Math.sqrt(ct*ct+kt*kt)*Math.sqrt(Mt*Mt+Rt*Rt)))}if(a.ae!==null&&y._isInvalidBounds===!1)return a.ae;if(a.radiusX===0||a.radiusY===0)return a.ae=[],a.ae;y=a.Wh;var te=a.Pg;y===0&&(y=1e-4),te===0&&(te=1e-4);var ne=Math.PI/180*a.Ne,se=a.isLargeArc,he=a.isClockwiseArc,ve=a.Dc,Se=a.Ec,Be=Math.cos(ne),Ve=Math.sin(ne),nt=Be*(x-ve)/2+Ve*(b-Se)/2;ne=-Ve*(x-ve)/2+Be*(b-Se)/2;var rt=nt*nt/(y*y)+ne*ne/(te*te);return 1<rt&&(y*=Math.sqrt(rt),te*=Math.sqrt(rt)),rt=(se===he?-1:1)*Math.sqrt((y*y*te*te-y*y*ne*ne-te*te*nt*nt)/(y*y*ne*ne+te*te*nt*nt)),isNaN(rt)&&(rt=0),se=rt*y*ne/te,rt=rt*-te*nt/y,isNaN(se)&&(se=0),isNaN(rt)&&(rt=0),x=(x+ve)/2+Be*se-Ve*rt,b=(b+Se)/2+Ve*se+Be*rt,Se=E(1,0,(nt-se)/y,(ne-rt)/te),Be=(nt-se)/y,ve=(ne-rt)/te,nt=(-nt-se)/y,se=(-ne-rt)/te,ne=E(Be,ve,nt,se),nt=(Be*nt+ve*se)/(Math.sqrt(Be*Be+ve*ve)*Math.sqrt(nt*nt+se*se)),-1>=nt?ne=Math.PI:1<=nt&&(ne=0),!he&&0<ne&&(ne-=2*Math.PI),he&&0>ne&&(ne+=2*Math.PI),he=y>te?1:y/te,nt=y>te?te/y:1,y=tn.jx(0,0,y>te?y:te,Se,Se+ne,!0),te=mi.alloc(),te.reset(),te.translate(x,b),te.rotate(a.Ne,0,0),te.scale(he,nt),$n.Ha(y,te),mi.free(te),a.ae=y,a.ae}Pt.Object.defineProperties(Zi.prototype,{_isFrozen:{get:function(){return(this.l&1)!==0},set:function(a){this.l=a?this.l|1:this.l&-2}},_isInvalidBounds:{get:function(){return(this.l&2)!==0},set:function(a){this.l=a?this.l|2:this.l&-3}},isClosed:{get:function(){return(this.l&8)!==0},set:function(a){this.isClosed!==a&&(this.l=a?this.l|8:this.l&-9,this._isInvalidBounds=!0)}},type:{get:function(){return this.na},set:function(a){this._isFrozen&&An(this,a),this.na=a,this._isInvalidBounds=!0}},endX:{get:function(){return this.Dc},set:function(a){this._isFrozen&&An(this,a),this.Dc=a,this._isInvalidBounds=!0}},endY:{get:function(){return this.Ec},set:function(a){this._isFrozen&&An(this,a),this.Ec=a,this._isInvalidBounds=!0}},point1X:{get:function(){return this.Ne},set:function(a){this._isFrozen&&An(this,a),this.Ne=a,this._isInvalidBounds=!0}},point1Y:{get:function(){return this.Vh},set:function(a){this._isFrozen&&An(this,a),this.Vh=a,this._isInvalidBounds=!0}},point2X:{get:function(){return this.Wh},set:function(a){this._isFrozen&&An(this,a),this.Wh=a,this._isInvalidBounds=!0}},point2Y:{get:function(){return this.Pg},set:function(a){this._isFrozen&&An(this,a),this.Pg=a,this._isInvalidBounds=!0}},centerX:{get:function(){return this.Ne},set:function(a){this._isFrozen&&An(this,a),this.Ne=a,this._isInvalidBounds=!0}},centerY:{get:function(){return this.Vh},set:function(a){this._isFrozen&&An(this,a),this.Vh=a,this._isInvalidBounds=!0}},radiusX:{get:function(){return this.Wh},set:function(a){0>a&&Kn(a,">= zero",Zi,"radiusX"),this._isFrozen&&An(this,a),this.Wh=a,this._isInvalidBounds=!0}},radiusY:{get:function(){return this.Pg},set:function(a){0>a&&Kn(a,">= zero",Zi,"radiusY"),this._isFrozen&&An(this,a),this.Pg=a,this._isInvalidBounds=!0}},startAngle:{get:function(){return this.Dc},set:function(a){this._isFrozen&&An(this,a),a%=360,0>a&&(a+=360),this.Dc=a,this._isInvalidBounds=!0}},sweepAngle:{get:function(){return this.Ec},set:function(a){this._isFrozen&&An(this,a),360<a&&(a=360),-360>a&&(a=-360),this.Ec=a,this._isInvalidBounds=!0}},isClockwiseArc:{get:function(){return(this.l&4)!==0},set:function(a){this._isFrozen&&An(this,a),this.l=a?this.l|4:this.l&-5,this._isInvalidBounds=!0}},isLargeArc:{get:function(){return(this.l&16)!==0},set:function(a){this._isFrozen&&An(this,a),this.l=a?this.l|16:this.l&-17,this._isInvalidBounds=!0}},xAxisRotation:{get:function(){return this.Ne},set:function(a){this._isFrozen&&An(this,a),a%=360,0>a&&(a+=360),this.Ne=a,this._isInvalidBounds=!0}}}),Zi.prototype.equalsApprox=Zi.prototype.Xa;var xa=new wn(Zi,"Move",0),Mo=new wn(Zi,"Line",1),ss=new wn(Zi,"Bezier",2),Pl=new wn(Zi,"QuadraticBezier",3),ma=new wn(Zi,"Arc",4),zl=new wn(Zi,"SvgArc",4);Zi.className="PathSegment",Zi.Move=xa,Zi.Line=Mo,Zi.Bezier=ss,Zi.QuadraticBezier=Pl,Zi.Arc=ma,Zi.SvgArc=zl;function bs(){this.H=null,this.xu=new Lt(0,0).freeze(),this.mt=new Lt(0,0).freeze(),this.Bp=this.Rq=0,this.Cp=1,this.xq="",this.Wr=this.Tp=!1,this.Rp=this.Ep=0,this.xg=this.nq=this.tq=!1,this.Zp=null,this.Rr=0,this.xd=this.Nr=null}bs.prototype.copy=function(){var a=new bs;return this.clone(a)},bs.prototype.clone=function(a){return a.H=this.H,a.xu.assign(this.viewPoint),a.mt.assign(this.documentPoint),a.Rq=this.Rq,a.Bp=this.Bp,a.Cp=this.Cp,a.xq=this.xq,a.Tp=this.Tp,a.Wr=this.Wr,a.Ep=this.Ep,a.Rp=this.Rp,a.tq=this.tq,a.nq=this.nq,a.xg=this.xg,a.Zp=this.Zp,a.Rr=this.Rr,a.Nr=this.Nr,a.xd=this.xd,a},bs.prototype.toString=function(){var a="^";return this.modifiers!==0&&(a+="M:"+this.modifiers),this.button!==0&&(a+="B:"+this.button),this.key!==""&&(a+="K:"+this.key),this.clickCount!==0&&(a+="C:"+this.clickCount),this.delta!==0&&(a+="D:"+this.delta),this.handled&&(a+="h"),this.bubbles&&(a+="b"),this.documentPoint!==null&&(a+="@"+this.documentPoint.toString()),a},bs.prototype.So=function(a,y){var x=this.diagram;return x===null||Od(x,a,y),y},bs.prototype.Bz=function(a,y){var x=this.diagram;return x===null||(Od(x,a,y),y.assign(x.Ps(y))),y},Pt.Object.defineProperties(bs.prototype,{diagram:{get:function(){return this.H},set:function(a){this.H=a}},viewPoint:{get:function(){return this.xu},set:function(a){this.xu.assign(a)}},documentPoint:{get:function(){return this.mt},set:function(a){this.mt.assign(a)}},modifiers:{get:function(){return this.Rq},set:function(a){this.Rq=a}},button:{get:function(){return this.Bp},set:function(a){if(this.Bp=a,this.event===null)switch(a){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2}}},buttons:{get:function(){return this.Cp},set:function(a){this.Cp=a}},key:{get:function(){return this.xq},set:function(a){this.xq=a}},down:{get:function(){return this.Tp},set:function(a){this.Tp=a}},up:{get:function(){return this.Wr},set:function(a){this.Wr=a}},clickCount:{get:function(){return this.Ep},set:function(a){this.Ep=a}},delta:{get:function(){return this.Rp},set:function(a){this.Rp=a}},isMultiTouch:{get:function(){return this.tq},set:function(a){this.tq=a}},handled:{get:function(){return this.nq},set:function(a){this.nq=a}},bubbles:{get:function(){return this.xg},set:function(a){this.xg=a}},event:{get:function(){return this.Zp},set:function(a){this.Zp=a}},isTouchEvent:{get:function(){var a=this.event;return a===null?!1:a.pointerType==="touch"||a.pointerType==="pen"}},timestamp:{get:function(){return this.Rr},set:function(a){this.Rr=a}},targetDiagram:{get:function(){return this.Nr},set:function(a){this.Nr=a}},targetObject:{get:function(){return this.xd},set:function(a){this.xd=a}},control:{get:function(){return(this.modifiers&1)!==0},set:function(a){this.modifiers=a?this.modifiers|1:this.modifiers&-2}},shift:{get:function(){return(this.modifiers&4)!==0},set:function(a){this.modifiers=a?this.modifiers|4:this.modifiers&-5}},alt:{get:function(){return(this.modifiers&2)!==0},set:function(a){this.modifiers=a?this.modifiers|2:this.modifiers&-3}},meta:{get:function(){return(this.modifiers&8)!==0},set:function(a){this.modifiers=a?this.modifiers|8:this.modifiers&-9}},left:{get:function(){var a=this.event;return a===null||a.type!=="mousedown"&&a.type!=="mouseup"&&a.type!=="pointerdown"&&a.type!=="pointerup"?(this.buttons&1)!==0:this.button===0},set:function(a){this.buttons=a?this.buttons|1:this.buttons&-2}},right:{get:function(){var a=this.event;return a===null||a.type!=="mousedown"&&a.type!=="mouseup"&&a.type!=="pointerdown"&&a.type!=="pointerup"?(this.buttons&2)!==0:this.button===2},set:function(a){this.buttons=a?this.buttons|2:this.buttons&-3}},middle:{get:function(){var a=this.event;return a===null||a.type!=="mousedown"&&a.type!=="mouseup"&&a.type!=="pointerdown"&&a.type!=="pointerup"?(this.buttons&4)!==0:this.button===1},set:function(a){this.buttons=a?this.buttons|4:this.buttons&-5}}}),bs.prototype.getMultiTouchDocumentPoint=bs.prototype.Bz,bs.prototype.getMultiTouchViewPoint=bs.prototype.So,bs.className="InputEvent";function Vc(){this.H=null,this.xa="",this.ar=this.Lr=null}Vc.prototype.copy=function(){var a=new Vc;return a.H=this.H,a.xa=this.xa,a.Lr=this.Lr,a.ar=this.ar,a},Vc.prototype.toString=function(){var a="*"+this.name;return this.subject!==null&&(a+=":"+this.subject.toString()),this.parameter!==null&&(a+="("+this.parameter.toString()+")"),a},Pt.Object.defineProperties(Vc.prototype,{diagram:{get:function(){return this.H},set:function(a){this.H=a}},name:{get:function(){return this.xa},set:function(a){this.xa=a}},subject:{get:function(){return this.Lr},set:function(a){this.Lr=a}},parameter:{get:function(){return this.ar},set:function(a){this.ar=a}}}),Vc.className="DiagramEvent";function Zo(){this.Fm=Ko,this.rf=this.Qq="",this.Ln=this.Mn=this.Rn=this.Sn=this.Qn=this.H=this.cc=null}Zo.prototype.clear=function(){this.Ln=this.Mn=this.Rn=this.Sn=this.Qn=this.H=this.cc=null},Zo.prototype.copy=function(){var a=new Zo;a.Fm=this.Fm,a.Qq=this.Qq,a.rf=this.rf,a.cc=this.cc,a.H=this.H,a.Qn=this.Qn;var y=this.Sn;return a.Sn=sn(y)&&typeof y.J=="function"?y.J():y,y=this.Rn,a.Rn=sn(y)&&typeof y.J=="function"?y.J():y,y=this.Mn,a.Mn=sn(y)&&typeof y.J=="function"?y.J():y,y=this.Ln,a.Ln=sn(y)&&typeof y.J=="function"?y.J():y,a},Zo.prototype.qb=function(a){a.classType===Zo&&(this.change=a)},Zo.prototype.toString=function(){var a="";return a=this.change===il?a+"* ":this.change===Ko?a+(this.model!==null?"!m":"!d"):a+((this.model!==null?"!m":"!d")+this.change),this.propertyName&&typeof this.propertyName=="string"&&(a+=" "+this.propertyName),this.modelChange&&this.modelChange!==this.propertyName&&(a+=" "+this.modelChange),a+=": ",this.change===il?this.oldValue!==null&&(a+=" "+this.oldValue):(this.object!==null&&(a+=jn(this.object)),this.oldValue!==null&&(a+=" old: "+jn(this.oldValue)),this.oldParam!==null&&(a+=" "+this.oldParam),this.newValue!==null&&(a+=" new: "+jn(this.newValue)),this.newParam!==null&&(a+=" "+this.newParam)),a},Zo.prototype.I=function(a){return a?this.oldValue:this.newValue},Zo.prototype.Dz=function(a){return a?this.oldParam:this.newParam},Zo.prototype.canUndo=function(){return this.model!==null||this.diagram!==null},Zo.prototype.undo=function(){this.canUndo()&&(this.model!==null?this.model.changeState(this,!0):this.diagram!==null&&this.diagram.changeState(this,!0))},Zo.prototype.canRedo=function(){return this.model!==null||this.diagram!==null},Zo.prototype.redo=function(){this.canRedo()&&(this.model!==null?this.model.changeState(this,!1):this.diagram!==null&&this.diagram.changeState(this,!1))},Pt.Object.defineProperties(Zo.prototype,{model:{get:function(){return this.cc},set:function(a){this.cc=a}},diagram:{get:function(){return this.H},set:function(a){this.H=a}},change:{get:function(){return this.Fm},set:function(a){this.Fm=a}},modelChange:{get:function(){return this.Qq},set:function(a){this.Qq=a}},propertyName:{get:function(){return this.rf},set:function(a){this.rf=a}},isTransactionFinished:{get:function(){return this.Fm===il&&(this.rf==="CommittedTransaction"||this.rf==="FinishedUndo"||this.rf==="FinishedRedo")}},object:{get:function(){return this.Qn},set:function(a){this.Qn=a}},oldValue:{get:function(){return this.Sn},set:function(a){this.Sn=a}},oldParam:{get:function(){return this.Rn},set:function(a){this.Rn=a}},newValue:{get:function(){return this.Mn},set:function(a){this.Mn=a}},newParam:{get:function(){return this.Ln},set:function(a){this.Ln=a}}}),Zo.prototype.redo=Zo.prototype.redo,Zo.prototype.canRedo=Zo.prototype.canRedo,Zo.prototype.undo=Zo.prototype.undo,Zo.prototype.canUndo=Zo.prototype.canUndo,Zo.prototype.getParam=Zo.prototype.Dz,Zo.prototype.getValue=Zo.prototype.I,Zo.prototype.clear=Zo.prototype.clear;var il=new wn(Zo,"Transaction",-1),Ko=new wn(Zo,"Property",0),fa=new wn(Zo,"Insert",1),Oa=new wn(Zo,"Remove",2);Zo.className="ChangedEvent",Zo.Transaction=il,Zo.Property=Ko,Zo.Insert=fa,Zo.Remove=Oa;function Ja(){this.o=new Dn().freeze(),this.xa="",this.j=!1}Ja.prototype.toString=function(a){var y="Transaction: "+this.name+" "+this.changes.count.toString()+(this.isComplete?"":", incomplete");if(a!==void 0&&0<a){a=this.changes.count;for(var x=0;x<a;x++){var b=this.changes.M(x);b!==null&&(y+=`
`+b.toString())}}return y},Ja.prototype.clear=function(){var a=this.changes;a.ka();for(var y=a.count-1;0<=y;y--){var x=a.M(y);x!==null&&x.clear()}a.clear(),a.freeze()},Ja.prototype.canUndo=function(){return this.isComplete},Ja.prototype.undo=function(){if(this.canUndo())for(var a=this.changes.count-1;0<=a;a--){var y=this.changes.M(a);y!==null&&y.undo()}},Ja.prototype.canRedo=function(){return this.isComplete},Ja.prototype.redo=function(){if(this.canRedo())for(var a=this.changes.count,y=0;y<a;y++){var x=this.changes.M(y);x!==null&&x.redo()}},Ja.prototype.ak=function(){if(this.isComplete){var a=this.changes;a.ka();for(var y=new pr,x=0;x<a.count;x++){var b=a.M(x);if(b!==null&&b.change===Ko&&b.object){var E=y.get(b.object);E||(E=new pr,y.set(b.object,E));var te=E.get(b.propertyName);te===null?E.set(b.propertyName,-1):(0<te&&a.cd(te,null),E.set(b.propertyName,x))}}for(x=y=0;x<a.count;x++)b=a.M(x),b!==null&&(x>y&&a.cd(y,b),y++);for(;a.length>y;)a.pop();a.freeze()}},Pt.Object.defineProperties(Ja.prototype,{changes:{get:function(){return this.o}},name:{get:function(){return this.xa},set:function(a){this.xa=a}},isComplete:{get:function(){return this.j},set:function(a){this.j=a}}}),Ja.prototype.optimize=Ja.prototype.ak,Ja.prototype.redo=Ja.prototype.redo,Ja.prototype.canRedo=Ja.prototype.canRedo,Ja.prototype.undo=Ja.prototype.undo,Ja.prototype.canUndo=Ja.prototype.canUndo,Ja.prototype.clear=Ja.prototype.clear,Ja.className="Transaction";function Yo(){this.Pt=new On,this.Jd=!1,this.u=new Dn().freeze(),this.Ce=-1,this.o=999,this.Fe=!1,this.Np=null,this.bi=0,this.j=!1,this.Ie=new Dn().freeze(),this.hl=new Dn,this.tt=!0,this.Dt=this.rq=this.Gt=this.Ft=!1}Yo.prototype.toString=function(a){var y="UndoManager "+this.historyIndex+"<"+this.history.count+"<="+this.maxHistoryLength;y+="[";for(var x=this.nestedTransactionNames.count,b=0;b<x;b++)0<b&&(y+=" "),y+=this.nestedTransactionNames.M(b);if(y+="]",a!==void 0&&0<a)for(x=this.history.count,b=0;b<x;b++)y+=`
`+this.history.M(b).toString(a-1);return y},Yo.prototype.clear=function(){var a=this.history;a.ka();for(var y=a.count-1;0<=y;y--){var x=a.M(y);x!==null&&x.clear()}a.clear(),this.Ce=-1,a.freeze(),this.Fe=!1,this.Np=null,this.bi=0,this.Ie.ka(),this.Ie.clear(),this.Ie.freeze(),this.hl.clear(),this.Dt=this.rq=this.Gt=this.Ft=!1},Yo.prototype.copyProperties=function(a){this.isEnabled=a.isEnabled,this.maxHistoryLength=a.maxHistoryLength,this.checksTransactionLevel=a.checksTransactionLevel},ot=Yo.prototype,ot.Xw=function(a){this.Pt.add(a)},ot.Rx=function(a){this.Pt.remove(a)},ot.Ea=function(a){if(a===void 0&&(a=""),a===null&&(a=""),this.isUndoingRedoing)return!1;this.tt===!0&&(this.tt=!1,this.bi++,this.isInternalTransaction||this.Ob("StartingFirstTransaction",a,this.currentTransaction),0<this.bi&&this.bi--),this.isEnabled&&(this.Ie.ka(),this.Ie.add(a),this.Ie.freeze(),this.currentTransaction===null?this.hl.add(0):this.hl.add(this.currentTransaction.changes.count)),this.bi++;var y=this.transactionLevel===1;return y&&(this.isInternalTransaction||this.Ob("StartedTransaction",a,this.currentTransaction)),y},ot.eb=function(a){return a===void 0&&(a=""),Xc(this,!0,a)},ot.Kf=function(){return Xc(this,!1,"")};function Xc(a,y,x){if(a.isUndoingRedoing)return!1;a.checksTransactionLevel&&1>a.transactionLevel&&ir("Ending transaction without having started a transaction: "+x);var b=a.transactionLevel===1,E=a.currentTransaction;b&&y&&(a.isInternalTransaction||a.Ob("CommittingTransaction",x,E));var te=0;if(0<a.transactionLevel&&(a.bi--,a.isEnabled)){var ne=a.Ie.count;0<ne&&(x===""&&(x=a.Ie.M(0)),a.Ie.ka(),a.Ie.mb(ne-1),a.Ie.freeze()),ne=a.hl.count,0<ne&&(te=a.hl.M(ne-1),a.hl.mb(ne-1))}if(b){if(y)a.rq=!1,E===null&&x!==""&&(E=a.currentTransaction),a.isEnabled&&E!==null&&(E.isComplete||(E.isComplete=!0,E.name=x),a.lx(),y=a.history,y.ka(),b=a.maxHistoryLength,0<=b&&(b===0?y.clear():y.count>=b&&(te=y.M(0),te!==null&&te.clear(),y.mb(0),a.Ce--)),b===0||y.count!==0&&y.get(y.count-1)===E||(y.add(E),a.Ce++),y.freeze()),a.isInternalTransaction||a.Ob("CommittedTransaction",x,E);else{a.Fe=!0;try{a.isEnabled&&E!==null&&(E.isComplete=!0,E.undo())}finally{a.isInternalTransaction||a.Ob("RolledBackTransaction",x,E),a.Fe=!1}E!==null&&E.clear()}return a.Np=null,a.isPendingClear&&a.clear(),a.isPendingClear=!1,a.isPendingUnmodified=!1,!0}if(a.isEnabled&&!y&&E!==null){for(a=te,x=E.changes,E=x.count-1;E>=a;E--)y=x.M(E),y!==null&&y.undo(),x.ka(),x.mb(E);x.freeze()}return!1}ot.lx=function(){if(!this.isUndoingRedoing&&this.canRedo()){var a=this.history;a.ka();for(var y=a.count-1;y>this.historyIndex;y--){var x=a.M(y);x!==null&&x.clear(),a.mb(y),this.rq=!0}a.freeze()}},Yo.prototype.canUndo=function(){if(!this.isEnabled||0<this.transactionLevel)return!1;var a=this.transactionToUndo;return!!(a!==null&&a.canUndo())},Yo.prototype.undo=function(){if(this.canUndo()){var a=this.transactionToUndo;try{this.Fe=!0,this.Ob("StartingUndo","Undo",a),this.Ce--,a.undo()}catch(y){ir("undo error: "+y.toString())}finally{this.Ob("FinishedUndo","Undo",a),this.Fe=!1}}},Yo.prototype.canRedo=function(){if(!this.isEnabled||0<this.transactionLevel)return!1;var a=this.transactionToRedo;return!!(a!==null&&a.canRedo())},Yo.prototype.redo=function(){if(this.canRedo()){var a=this.transactionToRedo;try{this.Fe=!0,this.Ob("StartingRedo","Redo",a),this.Ce++,a.redo()}catch(y){ir("redo error: "+y.toString())}finally{this.Ob("FinishedRedo","Redo",a),this.Fe=!1}}},Yo.prototype.Ob=function(a,y,x){x===void 0&&(x=null);var b=new Zo;for(b.change=il,b.propertyName=a,b.object=x,b.oldValue=y,a=this.models;a.next();)y=a.value,b.model=y,y.ds(b)},Yo.prototype.Tu=function(a){if(this.isEnabled&&!this.isUndoingRedoing&&!this.skipsEvent(a)){var y=this.currentTransaction;y===null&&(this.Np=y=new Ja);var x=a.copy();y=y.changes,y.ka(),y.add(x),y.freeze(),this.checksTransactionLevel&&0>=this.transactionLevel&&!this.tt&&(a=a.diagram,a!==null&&a.pi===!1||ir("Change not within a transaction: "+x.toString()))}},Yo.prototype.skipsEvent=function(a){if(a===null||0>a.change.value)return!0;if(a=a.object,a===null)return!1;if(a.layer!==void 0){if(a=a.layer,a!==null&&a.isTemporary)return!0}else if(a.isTemporary)return!0;return!1},Pt.Object.defineProperties(Yo.prototype,{models:{get:function(){return this.Pt.iterator}},isEnabled:{get:function(){return this.Jd},set:function(a){this.Jd=a}},transactionToUndo:{get:function(){return 0<=this.historyIndex&&this.historyIndex<=this.history.count-1?this.history.M(this.historyIndex):null}},transactionToRedo:{get:function(){return this.historyIndex<this.history.count-1?this.history.M(this.historyIndex+1):null}},isUndoingRedoing:{get:function(){return this.Fe}},history:{get:function(){return this.u}},maxHistoryLength:{get:function(){return this.o},set:function(a){this.o=a}},historyIndex:{get:function(){return this.Ce}},currentTransaction:{get:function(){return this.Np}},transactionLevel:{get:function(){return this.bi}},isInTransaction:{get:function(){return 0<this.bi}},checksTransactionLevel:{get:function(){return this.j},set:function(a){this.j=a}},nestedTransactionNames:{get:function(){return this.Ie}},isPendingClear:{get:function(){return this.Ft},set:function(a){this.Ft=a}},isPendingUnmodified:{get:function(){return this.Gt},set:function(a){this.Gt=a}},isInternalTransaction:{get:function(){return this.Dt},set:function(a){this.Dt=a}},isJustDiscarded:{get:function(){return this.rq}}}),Yo.prototype.handleChanged=Yo.prototype.Tu,Yo.prototype.redo=Yo.prototype.redo,Yo.prototype.undo=Yo.prototype.undo,Yo.prototype.canUndo=Yo.prototype.canUndo,Yo.prototype.discardHistoryAfterIndex=Yo.prototype.lx,Yo.prototype.rollbackTransaction=Yo.prototype.Kf,Yo.prototype.commitTransaction=Yo.prototype.eb,Yo.prototype.startTransaction=Yo.prototype.Ea,Yo.prototype.removeModel=Yo.prototype.Rx,Yo.prototype.addModel=Yo.prototype.Xw,Yo.prototype.clear=Yo.prototype.clear,Yo.className="UndoManager";function Ui(){hi(this),this.H=Xu,this.xa="",this.Jd=!0,this.nb=!1,this.wm=null,this.yy=new bs,this.Zr=-1}Ui.prototype.toString=function(){return this.name!==""?this.name+" Tool":Fn(this.constructor)},Ui.prototype.updateAdornments=function(){},Ui.prototype.canStart=function(){return this.isEnabled},Ui.prototype.doStart=function(){},Ui.prototype.doActivate=function(){this.isActive=!0},Ui.prototype.doDeactivate=function(){this.isActive=!1},Ui.prototype.doStop=function(){},Ui.prototype.doCancel=function(){this.transactionResult=null,this.stopTool()},Ui.prototype.stopTool=function(){var a=this.diagram;a.currentTool===this&&(a.currentTool=null,a.currentCursor="")},Ui.prototype.doMouseDown=function(){!this.isActive&&this.canStart()&&this.doActivate()},Ui.prototype.doMouseMove=function(){},Ui.prototype.doMouseUp=function(){this.stopTool()},Ui.prototype.doMouseWheel=function(){},Ui.prototype.canStartMultiTouch=function(){return!0},Ui.prototype.standardPinchZoomStart=function(){var a=this.diagram,y=a.lastInput,x=y.So(0,Lt.allocAt(NaN,NaN)),b=y.So(1,Lt.allocAt(NaN,NaN));if(x.w()&&b.w()&&(this.doCancel(),a.Ql("hasGestureZoom"))){a.Bw=a.scale;var E=b.x-x.x,te=b.y-x.y;a.Jw=Math.sqrt(E*E+te*te),y.bubbles=!1}Lt.free(x),Lt.free(b)},Ui.prototype.standardPinchZoomMove=function(){var a=this.diagram,y=a.lastInput,x=y.So(0,Lt.allocAt(NaN,NaN)),b=y.So(1,Lt.allocAt(NaN,NaN));if(x.w()&&b.w()&&(this.doCancel(),a.Ql("hasGestureZoom"))){var E=b.x-x.x,te=b.y-x.y;te=Math.sqrt(E*E+te*te)/a.Jw,E=new Lt((Math.min(b.x,x.x)+Math.max(b.x,x.x))/2,(Math.min(b.y,x.y)+Math.max(b.y,x.y))/2),te*=a.Bw;var ne=a.commandHandler;if(te!==a.scale&&ne.canResetZoom(te)){var se=a.zoomPoint;a.zoomPoint=E,ne.resetZoom(te),a.zoomPoint=se}y.bubbles=!1}Lt.free(x),Lt.free(b)},Ui.prototype.doKeyDown=function(){this.diagram.lastInput.key==="Esc"&&this.doCancel()},Ui.prototype.doKeyUp=function(){},Ui.prototype.Ea=function(a){return a===void 0&&(a=this.name),this.transactionResult=null,this.diagram.Ea(a)},Ui.prototype.stopTransaction=function(){var a=this.diagram;return this.transactionResult===null?a.Kf():a.eb(this.transactionResult)},Ui.prototype.standardMouseSelect=function(){var a=this.diagram;if(a.allowSelect){var y=a.lastInput,x=a.Ol(y.documentPoint,!1);if(x!==null){if(Ur?y.meta:y.control){for(a.R("ChangingSelection",a.selection),y=x;y!==null&&!y.canSelect();)y=y.containingGroup;y!==null&&(y.isSelected=!y.isSelected),a.R("ChangedSelection",a.selection)}else if(y.shift){if(!x.isSelected){for(a.R("ChangingSelection",a.selection),y=x;y!==null&&!y.canSelect();)y=y.containingGroup;y!==null&&(y.isSelected=!0),a.R("ChangedSelection",a.selection)}}else if(!x.isSelected){for(y=x;y!==null&&!y.canSelect();)y=y.containingGroup;y!==null&&a.select(y)}}else!y.left||(Ur?y.meta:y.control)||y.shift||a.clearSelection()}},Ui.prototype.standardMouseClick=function(a,y){a===void 0&&(a=null),y===void 0&&(y=function(E){return!E.layer.isTemporary});var x=this.diagram,b=x.lastInput;return a=x.ic(b.documentPoint,a,y),b.targetObject=a,Gf(a,b,x),b.handled};function Gf(a,y,x){if(y.handled=!1,a===null||a.If()){var b=0;y.left?b=y.clickCount===1?1:y.clickCount===2?2:1:y.right&&y.clickCount===1&&(b=3);var E="ObjectSingleClicked";if(a!==null){switch(b){case 1:E="ObjectSingleClicked";break;case 2:E="ObjectDoubleClicked";break;case 3:E="ObjectContextClicked"}b!==0&&x.R(E,a)}else{switch(b){case 1:E="BackgroundSingleClicked";break;case 2:E="BackgroundDoubleClicked";break;case 3:E="BackgroundContextClicked"}b!==0&&x.R(E)}if(a!==null)for(;a!==null;){switch(x=null,b){case 1:x=a.click;break;case 2:x=a.doubleClick?a.doubleClick:a.click;break;case 3:x=a.contextClick}if(x!==null&&(x(y,a),y.handled))break;a=a.panel}else{switch(a=null,b){case 1:a=x.click;break;case 2:a=x.doubleClick?x.doubleClick:x.click;break;case 3:a=x.contextClick}a!==null&&a(y)}}}Ui.prototype.standardMouseOver=function(){var a=this.diagram,y=a.lastInput;if(a.animationManager.zb!==!0){var x=a.skipsUndoManager;a.skipsUndoManager=!0;var b=a.viewportBounds.ca(y.documentPoint)?a.ic(y.documentPoint,null,null):null;!y.event||y.event.type!=="pointercancel"&&y.event.type!=="pointerout"||(b=null),y.targetObject=b;var E=!1;if(b!==a.Ck){var te=a.Ck,ne=te;for(a.Ck=b,this.doCurrentObjectChanged(te,b),y.handled=!1;te!==null;){var se=te.mouseLeave;if(se!==null&&(b===te||b!==null&&b.rg(te)||(se(y,te,b),E=!0,y.handled)))break;te=te.panel}for(te=ne,y.handled=!1;b!==null&&(ne=b.mouseEnter,!(ne!==null&&(te===b||te!==null&&te.rg(b)||(ne(y,b,te),E=!0,y.handled))));)b=b.panel;b=a.Ck}if(b!==null){for(te=b,ne="";te!==null&&(ne=te.cursor,ne==="");)te=te.panel;for(a.currentCursor=ne,y.handled=!1,te=b;te!==null&&(b=te.mouseOver,!(b!==null&&(b(y,te),E=!0,y.handled)));)te=te.panel}else this.doUpdateCursor(null),b=a.mouseOver,b!==null&&(b(y),E=!0);E&&a.$b(),a.skipsUndoManager=x}},Ui.prototype.doUpdateCursor=function(){var a=this.diagram;a&&(a.currentCursor="")},Ui.prototype.doCurrentObjectChanged=function(){},Ui.prototype.standardMouseWheel=function(){var a=this.diagram,y=a.lastInput,x=y.delta;if(x!==0&&a.documentBounds.w()){var b=a.commandHandler,E=a.toolManager.mouseWheelBehavior;if(b!==null&&(E===Kh&&!y.shift||E===Zh&&y.control))(0<x?b.canIncreaseZoom():b.canDecreaseZoom())&&(E=a.zoomPoint,a.zoomPoint=y.viewPoint,0<x?b.increaseZoom():b.decreaseZoom(),a.zoomPoint=E),y.bubbles=!1;else if(E===Kh&&y.shift||E===Zh&&!y.control){b=a.position.copy();var te=y.event;E=te.deltaMode;var ne=te.deltaX;te=te.deltaY;var se="pixel";if(ne===0&&te===0||y.shift)!y.shift&&a.allowVerticalScroll?(x=3*x*a.scrollVerticalLineChange,a.scroll(se,0<x?"up":"down",Math.abs(x))):y.shift&&a.allowHorizontalScroll&&(x=3*x*a.scrollHorizontalLineChange,a.scroll(se,0<x?"left":"right",Math.abs(x)));else{switch(E){case 0:se="pixel";break;case 1:se="line";break;case 2:se="page"}ne!==0&&a.allowHorizontalScroll&&(ne*=a.scrollHorizontalLineChange/16,a.scroll(se,0<ne?"right":"left",Math.abs(ne))),te!==0&&a.allowVerticalScroll&&(te*=a.scrollVerticalLineChange/16,a.scroll(se,0<te?"down":"up",Math.abs(te)))}this.doWheelChange(a,b,y)}}},Ui.prototype.doWheelChange=function(a,y,x){a.position.D(y)&&x.event.wheelDeltaX===0||(x.bubbles=!1)},Ui.prototype.standardWaitAfter=function(a,y){y===void 0&&(y=this.diagram.lastInput),this.cancelWaitAfter();var x=this,b=y.clone(this.yy);this.Zr=kn(function(){x.doWaitAfter(b)},a)},Ui.prototype.cancelWaitAfter=function(){this.Zr!==-1&&Dt.clearTimeout(this.Zr),this.Zr=-1},Ui.prototype.doWaitAfter=function(){},Ui.prototype.findToolHandleAt=function(a,y){return a=this.diagram.ic(a,function(x){for(;x!==null&&!(x.panel instanceof Vi);)x=x.panel;return x}),a===null?null:a.part.category===y?a:null},Ui.prototype.isBeyondDragSize=function(a,y){var x=this.diagram;a===void 0&&(a=x.firstInput.viewPoint),y===void 0&&(y=x.lastInput.viewPoint);var b=x.toolManager.dragSize,E=b.width;return b=b.height,x.firstInput.isTouchEvent&&(E+=6,b+=6),Math.abs(y.x-a.x)>E||Math.abs(y.y-a.y)>b},Pt.Object.defineProperties(Ui.prototype,{diagram:{get:function(){return this.H},set:function(a){a instanceof hn&&(this.H=a)}},name:{get:function(){return this.xa},set:function(a){this.xa=a}},isEnabled:{get:function(){return this.Jd},set:function(a){this.Jd=a}},isActive:{get:function(){return this.nb},set:function(a){this.nb=a}},transactionResult:{get:function(){return this.wm},set:function(a){this.wm=a}}}),Ui.prototype.startTransaction=Ui.prototype.Ea,Ui.className="Tool";function Wo(){Ui.call(this),this.name="ToolManager",this.hb=new Dn,this.ob=new Dn,this.Hb=new Dn,this.F=this.V=850,this.o=new qn(2,2).ja(),this.Ha=5e3,this.ia=Zh,this.u=Ed,this.Mp=this.j=null,this.zj=-1}Zt(Wo,Ui),Wo.prototype.initializeStandardTools=function(){},Wo.prototype.updateAdornments=function(a){var y=this.currentToolTip;if(y instanceof Vi&&this.Mp===a){var x=y.adornedObject;(a!==null?x.part===a:x===null)?this.showToolTip(y,x):this.hideToolTip()}},Wo.prototype.doMouseDown=function(){var a=this.diagram,y=a.lastInput;if(y.isTouchEvent&&this.gestureBehavior===Sc&&(y.bubbles=!1),y.isMultiTouch){if(this.cancelWaitAfter(),this.gestureBehavior===Yc){y.bubbles=!0;return}if(this.gestureBehavior===Sc)return;if(a.currentTool.canStartMultiTouch()){a.currentTool.standardPinchZoomStart();return}}for(var x=this.mouseDownTools.length,b=0;b<x;b++){var E=this.mouseDownTools.M(b);if(E.diagram=this.diagram,E.canStart()){a.doFocus(),a.currentTool=E,a.currentTool===E&&(E.isActive||E.doActivate(),E.doMouseDown());return}}a.lastInput.button===1&&(this.mouseWheelBehavior===Zh?this.mouseWheelBehavior=Kh:this.mouseWheelBehavior===Kh&&(this.mouseWheelBehavior=Zh)),this.doActivate(),this.standardWaitAfter(this.holdDelay,y)},Wo.prototype.doMouseMove=function(){var a=this.diagram,y=a.lastInput;if(y.isMultiTouch){if(this.gestureBehavior===Yc){y.bubbles=!0;return}if(this.gestureBehavior===Sc)return;if(a.currentTool.canStartMultiTouch()){a.currentTool.standardPinchZoomMove();return}}if(this.isActive)for(var x=this.mouseMoveTools.length,b=0;b<x;b++){var E=this.mouseMoveTools.M(b);if(E.diagram=this.diagram,E.canStart()){a.doFocus(),a.currentTool=E,a.currentTool===E&&(E.isActive||E.doActivate(),E.doMouseMove());return}}Zf(this,a),a=y.event,a===null||a.type!=="pointermove"&&a.cancelable||(y.bubbles=!0)};function Zf(a,y){a.standardMouseOver(),a.isBeyondDragSize()&&a.standardWaitAfter(a.isActive?a.holdDelay:a.hoverDelay,y.lastInput)}Wo.prototype.doCurrentObjectChanged=function(a,y){a=this.currentToolTip,a===null||y!==null&&a instanceof Vi&&(y===a||y.rg(a))||this.hideToolTip()},Wo.prototype.doWaitAfter=function(a){var y=this.diagram;y.ta!==null&&(this.doMouseHover(),this.isActive||this.doToolTip(),a.isTouchEvent&&!y.lastInput.handled&&(a=a.copy(),a.button=2,a.buttons=2,y.lastInput=a,y.qu=!0,y.doMouseUp()))},Wo.prototype.doMouseHover=function(){var a=this.diagram,y=a.lastInput;y.targetObject===null&&(y.targetObject=a.ic(y.documentPoint,null,null));var x=y.targetObject;if(x!==null)for(y.handled=!1;x!==null&&(a=this.isActive?x.mouseHold:x.mouseHover,!(a!==null&&(a(y,x),y.handled)));)x=x.panel;else x=this.isActive?a.mouseHold:a.mouseHover,x!==null&&x(y)},Wo.prototype.doToolTip=function(){var a=this.diagram,y=a.lastInput;if(y.targetObject===null&&(y.targetObject=a.ic(y.documentPoint,null,null)),y=y.targetObject,y!==null){if(a=this.currentToolTip,!(a instanceof Vi)||y!==a&&!y.rg(a)){for(;y!==null;){if(a=y.toolTip,a!==null){this.showToolTip(a,y);return}y=y.panel}this.hideToolTip()}}else y=a.toolTip,y!==null?this.showToolTip(y,null):this.hideToolTip()},Wo.prototype.showToolTip=function(a,y){var x=this.diagram;if(a!==this.currentToolTip&&this.hideToolTip(),a instanceof Vi){a.layerName="Tool",a.selectable=!1,a.scale=1/x.scale,a.category="ToolTip",a.placeholder!==null&&(a.placeholder.scale=x.scale);var b=a.diagram;b!==null&&b!==x&&b.remove(a),x.add(a),y!==null?a.adornedObject=y:a.data=x.model,a.Va(),this.positionToolTip(a,y)}else a instanceof yi&&a!==this.currentToolTip&&a.show(y,x,this);if(this.currentToolTip=a,this.zj!==-1&&(Dt.clearTimeout(this.zj),this.zj=-1),a=this.toolTipDuration,0<a&&a!==1/0){var E=this;this.zj=kn(function(){E.hideToolTip()},a)}},Wo.prototype.positionToolTip=function(a){if(a.placeholder===null){var y=this.diagram,x=y.lastInput.documentPoint.copy(),b=a.measuredBounds,E=y.viewportBounds;y.lastInput.isTouchEvent&&(x.x-=b.width),x.x+b.width>E.right&&(x.x-=b.width+5/y.scale),x.x<E.x&&(x.x=E.x),x.y=x.y+20/y.scale+b.height>E.bottom?x.y-(b.height+5/y.scale):x.y+20/y.scale,x.y<E.y&&(x.y=E.y),a.position=x}},Wo.prototype.hideToolTip=function(){this.zj!==-1&&(Dt.clearTimeout(this.zj),this.zj=-1);var a=this.diagram,y=this.currentToolTip;y!==null&&(y instanceof Vi?(a.remove(y),this.Mp!==null&&this.Mp.Jf(y.category),y.data=null,y.adornedObject=null):y instanceof yi&&y.hide!==null&&y.hide(a,this),this.currentToolTip=null)},Wo.prototype.doMouseUp=function(){this.cancelWaitAfter();var a=this.diagram;if(this.isActive)for(var y=this.mouseUpTools.length,x=0;x<y;x++){var b=this.mouseUpTools.M(x);if(b.diagram=this.diagram,b.canStart()){a.doFocus(),a.currentTool=b,a.currentTool===b&&(b.isActive||b.doActivate(),b.doMouseUp());return}}a.doFocus(),this.doDeactivate()},Wo.prototype.doMouseWheel=function(){this.standardMouseWheel()},Wo.prototype.doKeyDown=function(){var a=this.diagram;a.commandHandler!==null&&a.commandHandler.doKeyDown()},Wo.prototype.doKeyUp=function(){var a=this.diagram;a.commandHandler!==null&&a.commandHandler.doKeyUp()},Wo.prototype.findTool=function(a){for(var y=this.mouseDownTools.length,x=0;x<y;x++){var b=this.mouseDownTools.M(x);if(b.name===a)return b}for(y=this.mouseMoveTools.length,x=0;x<y;x++)if(b=this.mouseMoveTools.M(x),b.name===a)return b;for(y=this.mouseUpTools.length,x=0;x<y;x++)if(b=this.mouseUpTools.M(x),b.name===a)return b;return null},Wo.prototype.replaceTool=function(a,y){y!==null&&(y.diagram=this.diagram);for(var x=this.mouseDownTools.length,b=0;b<x;b++){var E=this.mouseDownTools.M(b);if(E.name===a)return y!==null?this.mouseDownTools.cd(b,y):this.mouseDownTools.mb(b),E}for(x=this.mouseMoveTools.length,b=0;b<x;b++)if(E=this.mouseMoveTools.M(b),E.name===a)return y!==null?this.mouseMoveTools.cd(b,y):this.mouseMoveTools.mb(b),E;for(x=this.mouseUpTools.length,b=0;b<x;b++)if(E=this.mouseUpTools.M(b),E.name===a)return y!==null?this.mouseUpTools.cd(b,y):this.mouseUpTools.mb(b),E;return null},Wo.prototype.gb=function(a,y,x){y!==null&&(y.name=a,y.diagram=this.diagram),this.findTool(a)?this.replaceTool(a,y):y!==null&&x.add(y)},Pt.Object.defineProperties(Wo.prototype,{mouseWheelBehavior:{get:function(){return this.ia},set:function(a){this.ia=a}},gestureBehavior:{get:function(){return this.u},set:function(a){this.u=a}},currentToolTip:{get:function(){return this.j},set:function(a){this.j=a,this.Mp=a!==null&&a instanceof Vi?a.adornedPart:null}},mouseDownTools:{get:function(){return this.hb}},mouseMoveTools:{get:function(){return this.ob}},mouseUpTools:{get:function(){return this.Hb}},hoverDelay:{get:function(){return this.V},set:function(a){this.V=a}},holdDelay:{get:function(){return this.F},set:function(a){this.F=a}},dragSize:{get:function(){return this.o},set:function(a){this.o=a.J()}},toolTipDuration:{get:function(){return this.Ha},set:function(a){this.Ha=a}}}),Wo.prototype.replaceStandardTool=Wo.prototype.gb;var Zh=new wn(Wo,"WheelScroll",0),Kh=new wn(Wo,"WheelZoom",1),Kf=new wn(Wo,"WheelNone",2),Ed=new wn(Wo,"GestureZoom",3),Sc=new wn(Wo,"GestureCancel",4),Yc=new wn(Wo,"GestureNone",5);Wo.className="ToolManager",Wo.WheelScroll=Zh,Wo.WheelZoom=Kh,Wo.WheelNone=Kf,Wo.GestureZoom=Ed,Wo.GestureCancel=Sc,Wo.GestureNone=Yc;function Jo(){Ui.call(this),this.name="Dragging",this.u=this.Sw=this.ob=!0,this.o=this.Ha=this.V=this.Oe=null,this.Ym=this.Hb=!1,this.tl=new Lt(NaN,NaN),this.Fr=new Lt,this.hb=!0,this.Ik=100,this.Cg=[],this.te=new On().freeze(),this.ia=new de,this.Bn=null,this.F="copy",this.Oc="",this.Pc="no-drop"}var Gu;Zt(Jo,Ui),Jo.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(a.isReadOnly&&!a.allowDragOut||!a.allowMove&&!a.allowCopy&&!a.allowDragOut||!a.allowSelect)return!1;var y=a.lastInput;return!y.left||a.currentTool!==this&&(!this.isBeyondDragSize()||y.isTouchEvent&&y.timestamp-a.firstInput.timestamp<this.Ik)?!1:this.findDraggablePart()!==null},Jo.prototype.findDraggablePart=function(){var a=this.diagram;if(a=a.Ol(a.firstInput.documentPoint,!1),a===null)return null;for(;a!==null&&!a.canSelect();)a=a.containingGroup;return a!==null&&(a.canMove()||a.canCopy())?a:null},Jo.prototype.standardMouseSelect=function(){var a=this.diagram;if(a.allowSelect){var y=a.Ol(a.firstInput.documentPoint,!1);if(y!==null){for(;y!==null&&!y.canSelect();)y=y.containingGroup;this.currentPart=y,this.currentPart===null||this.currentPart.isSelected||(a.R("ChangingSelection",a.selection),y=a.lastInput,(Ur?y.meta:y.control)||y.shift||a.clearSelection(!0),this.currentPart.isSelected=!0,a.R("ChangedSelection",a.selection))}}},Jo.prototype.doActivate=function(){var a=this.diagram;this.Bn=null,this.currentPart===null&&this.standardMouseSelect();var y=this.currentPart;y!==null&&(y.canMove()||y.canCopy())&&(a.Fu(!0),un=null,this.isActive=!0,this.tl.set(a.position),sf(this,a.selection),this.Cg.length=0,a.animationManager.Cc(),this.draggedParts=this.computeEffectiveCollection(a.selection,this.dragOptions),this.Sw=this.diagram.layout.isRealtime,this.diagram.layout.isRealtime=!1,a.Ns=!0,a.Gf("temporaryPixelRatio")===!0&&30<a.$w&&Ls(a),_f(a,this.draggedParts),this.Ea("Drag"),this.startPoint=a.firstInput.documentPoint,a.isMouseCaptured=!0,a.allowDragOut&&(this.isDragOutStarted=!0,this.Ym=!1,un=this,En=this.diagram,this.doSimulatedDragOut()))};function sf(a,y){if(a.dragsLink){var x=a.diagram;x.allowRelink&&(x.model.Wj()&&y.count===1&&y.first()instanceof _n?(a.draggedLink=y.first(),a.draggedLink.canRelinkFrom()&&a.draggedLink.canRelinkTo()&&a.draggedLink.Ej(),a.Oe=x.toolManager.findTool("Relinking"),a.Oe===null&&(a.Oe=new Sr,a.Oe.diagram=x),a.Oe.originalLink=a.draggedLink):(a.draggedLink=null,a.Oe=null))}}Jo.prototype.computeEffectiveCollection=function(a,y){return this.diagram.commandHandler.computeEffectiveCollection(a,y)},Jo.prototype.Pd=function(a){return a===void 0?new $c(Li):this.isGridSnapEnabled?new $c(new Lt(Math.round(1e3*a.x)/1e3,Math.round(1e3*a.y)/1e3)):new $c(a.copy())},Jo.prototype.doDeactivate=function(){this.isActive=!1;var a=this.diagram;if(this.diagram.layout.isRealtime=this.Sw,a.Fu(!1),a.ug(),Jc(this),Jh(a,this.draggedParts),this.draggedParts=this.currentPart=this.Bn=null,this.Ym=this.isDragOutStarted=!1,0<Gu.count){for(var y=Gu,x=y.length,b=0;b<x;b++){var E=y.M(b);xc(E),pu(E),Jc(E),E.diagram.ug()}y.clear()}xc(this),this.tl.h(NaN,NaN),En!==null&&(En.currentCursor=""),un=En=null,pu(this),a.isMouseCaptured=!1,a.currentCursor="",a.Ns=!1,this.stopTransaction(),Vh(a,!0)},Jo.prototype.stopTransaction=function(){var a=this.diagram,y=Ui.prototype.stopTransaction.call(this);return y&&a.undoManager.transactionToUndo!==null&&a.undoManager.transactionToUndo.ak(),y};function Jc(a){var y=a.diagram,x=y.skipsUndoManager;y.skipsUndoManager=!0,lf(a,y.lastInput,null),y.skipsUndoManager=x,a.Cg.length=0}function Vf(){var a=un;pu(a),wc(a);var y=a.diagram;a.tl.w()&&(y.position=a.tl),y.ug()}Jo.prototype.doCancel=function(){pu(this),wc(this);var a=this.diagram;this.tl.w()&&(a.position=this.tl),this.stopTool()},Jo.prototype.doKeyDown=function(){var a=this.diagram,y=a.lastInput;this.isActive&&(y.key==="Esc"?this.doCancel():y.key!==a.previousInput.key&&this.doMouseMove())},Jo.prototype.doKeyUp=function(){this.isActive&&this.doMouseMove()};function Zu(a,y){if(a.copiedParts===null){var x=a.diagram;if((!y||!x.isReadOnly&&!x.isModelReadOnly)&&a.draggedParts!==null){var b=x.undoManager;for(b.isEnabled&&b.isInTransaction?b.currentTransaction!==null&&0<b.currentTransaction.changes.count&&(x.undoManager.Kf(),x.Ea("Drag")):wc(a),x.skipsUndoManager=!y,x.partManager.addsToTemporaryLayer=!y,a.startPoint=x.firstInput.documentPoint,y=a.copiesEffectiveCollection?a.draggedParts.Lf():x.selection,y=x.Kj(y,x,!0),x=new pr,b=a.draggedParts.iterator;b.next();){var E=b.key;if(E.Zc()&&E.canCopy()){var te=y.I(E);te!==null&&(te.location=E.location,te.Va(),x.add(te,a.Pd(te.location)))}}for(y=y.iterator;y.next();)b=y.value,b instanceof _n&&b.canCopy()&&x.add(b,a.Pd());a.copiedParts=x,sf(a,x.Lf()),a.draggedLink!==null&&(x=a.draggedLink,y=x.routeBounds,Lh(x,a.startPoint.x-(y.x+y.width/2),a.startPoint.y-(y.y+y.height/2))),a.doUpdateCursor(null)}}}function pu(a){var y=a.diagram;if(a.copiedParts!==null){if(y.Is(a.copiedParts.Lf(),!1),a.copiedParts=null,a.draggedParts!==null)for(var x=a.draggedParts.iterator;x.next();)x.key instanceof _n&&(x.value.point=new Lt(0,0));a.doUpdateCursor(null)}y.skipsUndoManager=!1,y.partManager.addsToTemporaryLayer=!1,a.startPoint=y.firstInput.documentPoint}function xc(a){if(a.draggedLink!==null){if(a.dragsLink&&a.Oe!==null){var y=a.Oe;y.diagram.remove(y.temporaryFromNode),y.diagram.remove(y.temporaryToNode),a.Oe.originalLink=null}a.draggedLink=null,a.Oe=null}}function Au(a,y,x){var b=a.diagram,E=a.startPoint,te=Lt.alloc();te.assign(b.lastInput.documentPoint),a.moveParts(y,te.re(E),x),Lt.free(te),b.Gf("temporaryPixelRatio")===!0&&b.Yh===null&&30<b.$w&&(Ls(b),b.hk())}Jo.prototype.moveParts=function(a,y,x){x===void 0&&(x=!1);var b=this.diagram;b!==null&&ac(b,a,y,this.dragOptions,x)};function wc(a){if(a.draggedParts!==null){for(var y=a.diagram,x=a.draggedParts.iterator;x.next();){var b=x.key;b.Zc()&&(b.location=x.value.point)}for(x=a.draggedParts.iterator;x.next();)if(b=x.key,b instanceof _n&&b.suspendsRouting){var E=x.value.point;a.draggedParts.add(b,a.Pd()),Lh(b,-E.x,-E.y)}y.bd()}}function Ad(a,y){var x=a.diagram;a.dragsLink&&(a.draggedLink!==null&&(a.draggedLink.fromNode=null,a.draggedLink.toNode=null),fl(a,!1));var b=a.findDragOverObject(y),E=x.lastInput;E.targetObject=b,a.doUpdateCursor(b);var te=x.skipsUndoManager,ne=!1;try{if(x.skipsUndoManager=!0,ne=lf(a,E,b),!a.isActive&&un===null)return;var se=b!==null?b.part:null;if(se===null||x.handlesDragDropForTopLevelParts&&se.isTopLevel&&!(se instanceof ii)){var he=x.mouseDragOver;he!==null&&(he(E),ne=!0)}if(!a.isActive&&un===null||(a.doDragOver(y,b),!a.isActive&&un===null))return}finally{x.skipsUndoManager=te,ne&&x.bd()}a.Bn=b,x.isReadOnly||!x.allowMove&&!x.allowCopy||!x.allowHorizontalScroll&&!x.allowVerticalScroll||x.gs(E.viewPoint)}Jo.prototype.findDragOverObject=function(a){var y=this;return Lu(this.diagram,a,null,function(x){return x===null?x=!0:(x=x.part,x=!!(x===null||x instanceof Vi||x.layer.isTemporary||y.draggedParts&&y.draggedParts.contains(x)||y.copiedParts&&y.copiedParts.contains(x))),!x})},Jo.prototype.doUpdateCursor=function(a){var y=this.diagram;(a===null||this.Bn!==a)&&(!this.diagram.currentTool.isActive||this.mayCopy()?y.currentCursor=this.copyCursor:this.mayMove()?y.currentCursor=this.moveCursor:this.mayDragOut()&&(y.currentCursor=this.nodropCursor))};function lf(a,y,x){var b=!1,E=a.Cg.length,te=0<E?a.Cg[0]:null;if(x===te)return!1;y.handled=!1;for(var ne=0;ne<E;ne++){var se=a.Cg[ne],he=se.mouseDragLeave;if(he!==null&&(he(y,se,x),b=!0,y.handled))break}if(a.Cg.length=0,!a.isActive&&un===null||x===null)return b;for(y.handled=!1,E=x;E!==null;)a.Cg.push(E),E=uf(E);for(E=a.Cg.length,x=0;x<E&&(ne=a.Cg[x],se=ne.mouseDragEnter,se===null||(se(y,ne,te),b=!0,!y.handled));x++);return b}function uf(a){var y=a.panel;return y!==null?y:a instanceof kr&&!(a instanceof ii)&&(a=a.containingGroup,a!==null&&a.handlesDragDropForMembers)?a:null}function Xf(a,y,x){var b=a.Oe;if(b===null)return null;var E=a.diagram.og(y,b.portGravity,function(ve){return b.findValidLinkablePort(ve,x)});a=Lt.alloc();var te=1/0,ne=null;for(E=E.iterator;E.next();){var se=E.value;if(se.part!==null){var he=se.ga(zi,a);he=y.Bf(he),he<te&&(ne=se,te=he)}}return Lt.free(a),ne}function fl(a,y){var x=a.draggedLink;if(x!==null&&!(2>x.pointsCount)){var b=a.diagram;if(!b.isReadOnly){var E=a.Oe;if(E!==null){var te=null,ne=null;x.fromNode===null&&(te=Xf(a,x.i(0),!1),te!==null&&(ne=te.part));var se=null,he=null;x.toNode===null&&(se=Xf(a,x.i(x.pointsCount-1),!0),se!==null&&(he=se.part)),E.isValidLink(ne,te,he,se)?y?(x.defaultFromPoint=x.i(0),x.defaultToPoint=x.i(x.pointsCount-1),x.suspendsRouting=!1,x.fromNode=ne,te!==null&&(x.fromPortId=te.portId),x.toNode=he,se!==null&&(x.toPortId=se.portId),x.fromPort!==b.Mx&&b.R("LinkRelinked",x,b.Mx),x.toPort!==b.Nx&&b.R("LinkRelinked",x,b.Nx)):ri(E,ne,te,he,se):ri(E,null,null,null,null)}}}}Jo.prototype.doDragOver=function(){};function bc(a,y){var x=a.diagram;a.dragsLink&&fl(a,!0),Jc(a);var b=a.findDragOverObject(y),E=x.lastInput;if(E.targetObject=b,b!==null){E.handled=!1;for(var te=b;te!==null;){var ne=te.mouseDrop;if(ne!==null&&(ne(E,te),E.handled))break;Kp(a,E,te),te=uf(te)}}else te=x.mouseDrop,te!==null&&te(E);if(a.isActive||un!==null){for(E=(a.copiedParts||a.draggedParts).iterator;E.next();)te=E.key,te instanceof sr&&te.linksConnected.each(function(se){se.suspendsRouting=!1});if(a.doDropOnto(y,b),a.isActive||un!==null){for(a=Mn.alloc(),y=x.selection.iterator;y.next();)b=y.value,b instanceof sr&&It(x,b,a);Mn.free(a)}}}function Kp(a,y,x){a=a.diagram,x=x.part,!a.handlesDragDropForTopLevelParts||!x.isTopLevel||x instanceof ii||(x=a.mouseDrop,x!==null&&x(y))}function It(a,y,x){var b=!1;if(x=y.getAvoidableRect(x),a.viewportBounds.Re(x)&&(b=!0),a=a.Nu(x,function(E){return E.part},function(E){return E instanceof _n},!0,function(E){return E instanceof _n},b),a.count!==0)for(a=a.iterator;a.next();)x=a.value,!x.Td(y)&&x.isAvoiding&&x.bb()}Jo.prototype.doDropOnto=function(){},Jo.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram,y=a.lastInput;this.simulatedMouseMove(y.event,y.documentPoint,y.targetDiagram)||this.currentPart===null||this.draggedParts===null||(this.mayCopy()?(Zu(this,!1),_f(a,this.copiedParts),Au(this,this.copiedParts,!1),Jh(a,this.copiedParts)):this.mayMove()?(pu(this),Au(this,this.draggedParts,!0)):this.mayDragOut()?(Zu(this,!1),Au(this,this.copiedParts,!1)):pu(this),Ad(this,a.lastInput.documentPoint))}},Jo.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram,y=a.lastInput;if(!this.simulatedMouseUp(y.event,y.documentPoint,y.targetDiagram)){y=!1;var x=this.mayCopy();if(x&&this.copiedParts!==null?(pu(this),Zu(this,!0),_f(a,this.copiedParts),Au(this,this.copiedParts,!1),Jh(a,this.copiedParts),this.copiedParts!==null&&(a.R("ChangingSelection",a.selection),a.clearSelection(!0),this.copiedParts.iteratorKeys.each(function(E){E.isSelected=!0}))):(y=!0,pu(this),this.mayMove()&&(Au(this,this.draggedParts,!0),Ad(this,a.lastInput.documentPoint))),this.Ym=!0,bc(this,a.lastInput.documentPoint),this.isActive){var b=x?this.copiedParts.Lf():this.draggedParts.Lf();this.copiedParts=null,y&&zt(this),a.Ya(),Jh(a,this.draggedParts),this.transactionResult=x?"Copy":"Move",a.R(x?"SelectionCopied":"SelectionMoved",b)}this.stopTool(),x&&a.R("ChangedSelection",a.selection)}}},Jo.prototype.simulatedMouseMove=function(a,y,x){if(un===null)return!1;var b=un.diagram;x instanceof hn||(x=null);var E=En;return x!==E&&(E!==null&&E!==b&&(E.ug(),un.isDragOutStarted=!1,E=E.toolManager.findTool("Dragging"),E!==null&&E.doSimulatedDragLeave()),En=x,x!==null&&x!==b&&(Vf(),E=x.toolManager.findTool("Dragging"),E!==null&&(Gu.contains(E)||Gu.add(E),E.doSimulatedDragEnter())),this.doUpdateCursor(null)),x===null||x===b||!x.allowDrop||x.isReadOnly||!x.allowInsert?!1:(b=x.toolManager.findTool("Dragging"),b!==null&&(a!==null&&(a.targetTouches!==void 0&&(0<a.targetTouches.length?a=a.targetTouches[0]:0<a.changedTouches.length&&(a=a.changedTouches[0])),y=x.getMouse(a)),x.lastInput.documentPoint=y,x.lastInput.viewPoint=x.op(y),x.lastInput.down=!1,x.lastInput.up=!1,b.doSimulatedDragOver()),!0)},Jo.prototype.simulatedMouseUp=function(a,y,x){if(un===null)return!1;var b=En,E=un.diagram;if(x===null)return un.doCancel(),!0;if(x!==b){var te=b.toolManager.findTool("Dragging");if(b!==null&&b!==E&&te!==null)return b.ug(),un.isDragOutStarted=!1,te.doSimulatedDragLeave(),!1;En=x,b=x.toolManager.findTool("Dragging"),b!==null&&(Vf(),Gu.contains(b)||Gu.add(b),b.doSimulatedDragEnter())}return x!==this.diagram?(a!==null?(a.targetTouches!==void 0&&(0<a.targetTouches.length?a=a.targetTouches[0]:0<a.changedTouches.length&&(a=a.changedTouches[0])),y=x.getMouse(a)):y===null&&(y=new Lt),x.lastInput.documentPoint=y,x.lastInput.viewPoint=x.op(y),x.lastInput.down=!1,x.lastInput.up=!0,a=x.toolManager.findTool("Dragging"),a!==null&&a.doSimulatedDrop(),a=un,a!==null&&(x=a.mayCopy(),a.transactionResult=x?"Copy":"Move",a.stopTool()),!0):!1};function zt(a){if(a.draggedParts!==null)for(var y=a.draggedParts.iterator;y.next();){var x=y.key;x instanceof sr&&(x=x.containingGroup,x===null||x.placeholder===null||a.draggedParts.contains(x)||x.placeholder.v())}}Jo.prototype.mayCopy=function(){if(!this.isCopyEnabled)return!1;var a=this.diagram;if(a.isReadOnly||a.isModelReadOnly||!a.allowInsert||!a.allowCopy||(Ur?!a.lastInput.alt:!a.lastInput.control))return!1;for(a=a.selection.iterator;a.next();)if(a.value.canCopy())return!0;return!!(this.draggedLink!==null&&this.dragsLink&&this.draggedLink.canCopy())},Jo.prototype.mayDragOut=function(){if(!this.isCopyEnabled)return!1;var a=this.diagram;if(!a.allowDragOut||!a.allowCopy||a.allowMove)return!1;for(a=a.selection.iterator;a.next();)if(a.value.canCopy())return!0;return!!(this.draggedLink!==null&&this.dragsLink&&this.draggedLink.canCopy())},Jo.prototype.mayMove=function(){var a=this.diagram;if(a.isReadOnly||!a.allowMove)return!1;for(a=a.selection.iterator;a.next();)if(a.value.canMove())return!0;return!!(this.draggedLink!==null&&this.dragsLink&&this.draggedLink.canMove())},Jo.prototype.computeBorder=function(a,y,x){return this.Ym||this.draggedParts===null||this.draggedParts.contains(a)?null:x.assign(y)},Jo.prototype.Az=function(){return un},Jo.prototype.mayDragIn=function(){var a=this.diagram;if(!a.allowDrop||a.isReadOnly||a.isModelReadOnly||!a.allowInsert)return!1;var y=un;return!(y===null||y.diagram.model.dataFormat!==a.model.dataFormat)},Jo.prototype.doSimulatedDragEnter=function(){if(this.mayDragIn()){var a=this.diagram;a.animationManager.Cc(),ol(a),a.animationManager.Cc(),a=un,a!==null&&(a.diagram.Ns=!1),this.doUpdateCursor(null)}},Jo.prototype.doSimulatedDragLeave=function(){var a=un;a!==null&&a.doSimulatedDragOut(),this.doCancel()},Jo.prototype.doSimulatedDragOver=function(){var a=this.diagram;a.animationManager.Dm=!0;var y=un;if(y!==null&&y.draggedParts!==null){if(!this.mayDragIn())return;ln(this,y.draggedParts.Lf(),!1,a.firstInput),Au(this,this.copiedParts,!1),Ad(this,a.lastInput.documentPoint)}a.animationManager.Dm=!1},Jo.prototype.doSimulatedDrop=function(){var a=this.diagram,y=un;if(y!==null){var x=y.diagram;if(y.Ym=!0,pu(this),!this.mayDragIn())return;a.animationManager.Dm=!0,a.R("ChangingSelection",a.selection),this.Ea("Drop"),ln(this,y.draggedParts.Lf(),!0,a.lastInput),Au(this,this.copiedParts,!1);var b=new On;this.copiedParts!==null&&(a.clearSelection(!0),this.copiedParts.iteratorKeys.each(function(E){E.isSelected=!0,b.add(E)})),bc(this,a.lastInput.documentPoint),a.Ya(),this.copiedParts!==null&&(this.transactionResult="ExternalCopy"),this.copiedParts=null,a.doFocus(),a.R("ExternalObjectsDropped",b,x),this.stopTransaction(),a.R("ChangedSelection",a.selection)}a.animationManager.Dm=!1};function ln(a,y,x,b){if(a.copiedParts===null){var E=a.diagram;if(!E.isReadOnly&&!E.isModelReadOnly){E.skipsUndoManager=!x,E.partManager.addsToTemporaryLayer=!x,a.startPoint=b.documentPoint,x=E.Kj(y,E,!0);var te=Mn.alloc();E=b=1/0;for(var ne=-1/0,se=-1/0,he=y.iterator;he.next();){var ve=he.value;if(ve.isVisible()){var Se=ve.location;ve=Se.x,Se=Se.y,isNaN(ve)||isNaN(Se)||(ve<b&&(b=ve),Se<E&&(E=Se),ve>ne&&(ne=ve),Se>se&&(se=Se))}}for(b===1/0?te.h(0,0,0,0):te.h(b,E,ne-b,se-E),b=te.x+te.width/2,E=te.y+te.height/2,Mn.free(te),te=a.Fr,ne=new pr,se=Lt.alloc(),he=y.iterator;he.next();)ve=he.value,ve instanceof _n&&ve.canCopy()&&(Se=x.I(ve),Se!==null&&(Se.points=ve.points,Lh(Se,te.x-b,te.y-E),Se.suspendsRouting=!0,ne.add(Se,a.Pd())));for(y=y.iterator;y.next();)ve=y.value,ve.Zc()&&ve.canCopy()&&(he=x.I(ve),he!==null&&(ve=ve.location,se.h(te.x-(b-ve.x),te.y-(E-ve.y)),he.location=se,he.Va(),ne.add(he,a.Pd(se))));Lt.free(se),a.copiedParts=ne,sf(a,ne.Lf()),a.draggedLink!==null&&(x=a.draggedLink,y=x.routeBounds,Lh(x,a.startPoint.x-(y.x+y.width/2),a.startPoint.y-(y.y+y.height/2))),a.doUpdateCursor(null)}}}Jo.prototype.doSimulatedDragOut=function(){var a=this.diagram;a.Ns=!1,this.mayCopy()||this.mayMove()?a.currentCursor="":a.currentCursor=this.nodropCursor,this.Bn=null},Jo.prototype.computeMove=function(a,y,x,b){return x=this.diagram,x!==null?x.computeMove(a,y,this.dragOptions,b):new Lt},Pt.Object.defineProperties(Jo.prototype,{isCopyEnabled:{get:function(){return this.ob},set:function(a){this.ob=a}},copiesEffectiveCollection:{get:function(){return this.u},set:function(a){this.u=a}},dragOptions:{get:function(){return this.ia},set:function(a){this.ia=a}},isGridSnapEnabled:{get:function(){return this.dragOptions.isGridSnapEnabled},set:function(a){this.dragOptions.isGridSnapEnabled=a}},isComplexRoutingRealtime:{get:function(){return this.hb},set:function(a){this.hb=a}},isGridSnapRealtime:{get:function(){return this.dragOptions.isGridSnapRealtime},set:function(a){this.dragOptions.isGridSnapRealtime=a}},gridSnapCellSize:{get:function(){return this.dragOptions.gridSnapCellSize},set:function(a){this.dragOptions.gridSnapCellSize.D(a)||(a=a.J(),this.dragOptions.gridSnapCellSize=a)}},gridSnapCellSpot:{get:function(){return this.dragOptions.gridSnapCellSpot},set:function(a){this.dragOptions.gridSnapCellSpot.D(a)||(a=a.J(),this.dragOptions.gridSnapCellSpot=a)}},gridSnapOrigin:{get:function(){return this.dragOptions.gridSnapOrigin},set:function(a){this.dragOptions.gridSnapOrigin.D(a)||(a=a.J(),this.dragOptions.gridSnapOrigin=a)}},dragsLink:{get:function(){return this.dragOptions.dragsLink},set:function(a){this.dragOptions.dragsLink=a}},dragsTree:{get:function(){return this.dragOptions.dragsTree},set:function(a){this.dragOptions.dragsTree=a}},copyCursor:{get:function(){return this.F},set:function(a){this.F=a}},moveCursor:{get:function(){return this.Oc},set:function(a){this.Oc=a}},nodropCursor:{get:function(){return this.Pc},set:function(a){this.Pc=a}},currentPart:{get:function(){return this.V},set:function(a){this.V=a}},copiedParts:{get:function(){return this.o},set:function(a){this.o=a}},draggedParts:{get:function(){return this.Ha},set:function(a){this.Ha=a}},draggingParts:{get:function(){return this.copiedParts!==null?this.copiedParts.Lf():this.draggedParts!==null?this.draggedParts.Lf():this.te}},draggedLink:{get:function(){return this.diagram.draggedLink},set:function(a){this.diagram.draggedLink=a}},isDragOutStarted:{get:function(){return this.Hb},set:function(a){this.Hb=a}},startPoint:{get:function(){return this.Fr},set:function(a){this.Fr.D(a)||this.Fr.assign(a)}},delay:{get:function(){return this.Ik},set:function(a){this.Ik=a}}}),Jo.prototype.getDraggingSource=Jo.prototype.Az;var un=null,En=null;Jo.className="DraggingTool",Gu=new Dn,gr("draggingTool",function(){return this.findTool("Dragging")},function(a){this.gb("Dragging",a,this.mouseMoveTools)}),Wo.prototype.doCancel=function(){un!==null&&un.doCancel(),Ui.prototype.doCancel.call(this)};function mn(){Ui.call(this),this.te=100,this.Ha=!1,this.u="pointer";var a=new _n,y=new pi;y.isPanelMain=!0,y.stroke="blue",a.add(y),y=new pi,y.toArrow="Standard",y.fill="blue",y.stroke="blue",a.add(y),a.layerName="Tool",this.Ci=a,a=new sr,y=new pi,y.portId="",y.figure="Rectangle",y.fill=null,y.stroke="magenta",y.strokeWidth=2,y.desiredSize=qi,a.add(y),a.selectable=!1,a.layerName="Tool",this.Bi=a,this.j=y,a=new sr,y=new pi,y.portId="",y.figure="Rectangle",y.fill=null,y.stroke="magenta",y.strokeWidth=2,y.desiredSize=qi,a.add(y),a.selectable=!1,a.layerName="Tool",this.Di=a,this.o=y,this.Pc=this.Oc=this.ob=this.hb=this.Hb=null,this.ia=!0,this.hy=new pr,this.Of=this.gj=this.Pf=null}Zt(mn,Ui),mn.prototype.doStop=function(){this.diagram.ug(),this.originalToPort=this.originalToNode=this.originalFromPort=this.originalFromNode=this.originalLink=null,this.validPortsCache.clear(),this.targetPort=null},mn.prototype.copyPortProperties=function(a,y,x,b,E){if(a!==null&&y!==null&&x!==null&&b!==null){var te=y.Df(),ne=qn.alloc();ne.width=y.naturalBounds.width*te,ne.height=y.naturalBounds.height*te,b.desiredSize=ne,qn.free(ne),E?(b.toSpot=y.toSpot,b.toEndSegmentLength=y.toEndSegmentLength):(b.fromSpot=y.fromSpot,b.fromEndSegmentLength=y.fromEndSegmentLength),x.locationSpot=zi,te=Lt.alloc(),x.location=y.ga(zi,te),Lt.free(te),b.angle=y.li(),this.portTargeted!==null&&this.portTargeted(a,y,x,b,E)}},mn.prototype.setNoTargetPortProperties=function(a,y,x){y!==null&&(y.desiredSize=qi,y.fromSpot=ua,y.toSpot=ua),a!==null&&(a.location=this.diagram.lastInput.documentPoint),this.portTargeted!==null&&this.portTargeted(null,null,a,y,x)},mn.prototype.doMouseDown=function(){this.isActive&&this.doMouseMove()},mn.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram;if(this.targetPort=this.findTargetPort(this.isForwards),this.targetPort!==null&&this.targetPort.part instanceof sr){var y=this.targetPort.part;this.isForwards?this.copyPortProperties(y,this.targetPort,this.temporaryToNode,this.temporaryToPort,!0):this.copyPortProperties(y,this.targetPort,this.temporaryFromNode,this.temporaryFromPort,!1)}else this.isForwards?this.setNoTargetPortProperties(this.temporaryToNode,this.temporaryToPort,!0):this.setNoTargetPortProperties(this.temporaryFromNode,this.temporaryFromPort,!1);(a.allowHorizontalScroll||a.allowVerticalScroll)&&a.gs(a.lastInput.viewPoint)}},mn.prototype.findValidLinkablePort=function(a,y){if(a===null)return null;var x=a.part;if(!(x instanceof sr))return null;for(;a!==null;){var b=y?a.toLinkable:a.fromLinkable;if(b===!0&&(a.portId!==null||a instanceof sr)&&(y?this.isValidTo(x,a):this.isValidFrom(x,a)))return a;if(b===!1)break;a=a.panel}return null},mn.prototype.findTargetPort=function(a){var y=this.diagram,x=y.lastInput.documentPoint,b=this.portGravity;0>=b&&(b=.1);var E=this,te=y.og(x,b,function(Be){return E.findValidLinkablePort(Be,a)},null,!0);for(b=1/0,y=null,te=te.iterator;te.next();){var ne=te.value,se=ne.part;if(se instanceof sr){var he=ne.ga(zi,Lt.alloc()),ve=x.x-he.x,Se=x.y-he.y;Lt.free(he),he=ve*ve+Se*Se,he<b&&(ve=this.validPortsCache.I(ne),ve!==null?ve&&(y=ne,b=he):a&&this.isValidLink(this.originalFromNode,this.originalFromPort,se,ne)||!a&&this.isValidLink(se,ne,this.originalToNode,this.originalToPort)?(this.validPortsCache.add(ne,!0),y=ne,b=he):this.validPortsCache.add(ne,!1))}}return y!==null&&(x=y.part,x instanceof sr&&(x.layer===null||x.layer.allowLink))?y:null},mn.prototype.isValidFrom=function(a,y){if(a===null||y===null)return this.isUnconnectedLinkValid;if(this.diagram.currentTool===this&&(a.layer!==null&&!a.layer.allowLink||y.fromLinkable!==!0))return!1;var x=y.fromMaxLinks;if(1/0>x){if(this.originalLink!==null&&a===this.originalFromNode&&y===this.originalFromPort)return!0;if(y=y.portId,y===null&&(y=""),a.Mo(y).count>=x)return!1}return!0},mn.prototype.isValidTo=function(a,y){if(a===null||y===null)return this.isUnconnectedLinkValid;if(this.diagram.currentTool===this&&(a.layer!==null&&!a.layer.allowLink||y.toLinkable!==!0))return!1;var x=y.toMaxLinks;if(1/0>x){if(this.originalLink!==null&&a===this.originalToNode&&y===this.originalToPort)return!0;if(y=y.portId,y===null&&(y=""),a.Sd(y).count>=x)return!1}return!0},mn.prototype.isInSameNode=function(a,y){return a===null||y===null?!1:a===y?!0:(a=a.part,y=y.part,a!==null&&a===y)},mn.prototype.isLinked=function(a,y){if(a===null||y===null)return!1;var x=a.part;if(!(x instanceof sr))return!1;a=a.portId,a===null&&(a="");var b=y.part;if(!(b instanceof sr))return!1;for(y=y.portId,y===null&&(y=""),y=b.Sd(y);y.next();)if(b=y.value,b.fromNode===x&&b.fromPortId===a)return!0;return!1},mn.prototype.isValidLink=function(a,y,x,b){if(!this.isValidFrom(a,y)||!this.isValidTo(x,b)||!(y===null||b===null||(y.fromLinkableSelfNode&&b.toLinkableSelfNode||!this.isInSameNode(y,b))&&(y.fromLinkableDuplicates&&b.toLinkableDuplicates||!this.isLinked(y,b)))||this.originalLink!==null&&(a!==null&&this.isLabelDependentOnLink(a,this.originalLink)||x!==null&&this.isLabelDependentOnLink(x,this.originalLink))||a!==null&&x!==null&&(a.data===null&&x.data!==null||a.data!==null&&x.data===null)||!this.isValidCycle(a,x,this.originalLink))return!1;if(a!==null){var E=a.linkValidation;if(E!==null&&!E(a,y,x,b,this.originalLink))return!1}return x!==null&&(E=x.linkValidation,E!==null&&!E(a,y,x,b,this.originalLink))?!1:(E=this.linkValidation,E!==null?E(a,y,x,b,this.originalLink):!0)},mn.prototype.isLabelDependentOnLink=function(a,y){if(a===null)return!1;var x=a.labeledLink;if(x===null)return!1;if(x===y)return!0;var b=new On;return b.add(a),Wn(this,x,y,b)};function Wn(a,y,x,b){if(y===x)return!0;var E=y.fromNode;return E!==null&&E.isLinkLabel&&(b.add(E),Wn(a,E.labeledLink,x,b))?!0:(y=y.toNode,!!(y!==null&&y.isLinkLabel&&(b.add(y),Wn(a,y.labeledLink,x,b))))}mn.prototype.isValidCycle=function(a,y,x){if(x===void 0&&(x=null),a===null||y===null)return this.isUnconnectedLinkValid;var b=this.diagram.validCycle;if(b!==mf){if(b===og){if(b=x||this.temporaryLink,b!==null&&!b.isTreeLink)return!0;for(b=y.linksConnected;b.next();){var E=b.value;if(E!==x&&E.isTreeLink&&E.toNode===y)return!1}return!Hn(this,a,y,x,!0)}if(b===ag){if(b=x||this.temporaryLink,b!==null&&!b.isTreeLink)return!0;for(b=a.linksConnected;b.next();)if(E=b.value,E!==x&&E.isTreeLink&&E.fromNode===a)return!1;return!Hn(this,a,y,x,!0)}if(b===ng)return a===y?a=!0:(b=new On,b.add(y),a=In(this,b,a,y,x)),!a;if(b===rg)return!Hn(this,a,y,x,!1);if(b===ig)return a===y?a=!0:(b=new On,b.add(y),a=nr(this,b,a,y,x)),!a}return!0};function Hn(a,y,x,b,E){if(y===x)return!0;if(y===null||x===null)return!1;for(var te=y.linksConnected;te.next();){var ne=te.value;if(ne!==b&&(!E||ne.isTreeLink)&&ne.toNode===y&&(ne=ne.fromNode,ne!==y&&Hn(a,ne,x,b,E)))return!0}return!1}function In(a,y,x,b,E){if(x===b)return!0;if(x===null||b===null||y.contains(x))return!1;y.add(x);for(var te=x.linksConnected;te.next();){var ne=te.value;if(ne!==E&&ne.toNode===x&&(ne=ne.fromNode,ne!==x&&In(a,y,ne,b,E)))return!0}return!1}function nr(a,y,x,b,E){if(x===b)return!0;if(x===null||b===null||y.contains(x))return!1;y.add(x);for(var te=x.linksConnected;te.next();){var ne=te.value;if(ne!==E){var se=ne.fromNode;if(ne=ne.toNode,se=se===x?ne:se,se!==x&&nr(a,y,se,b,E))return!0}}return!1}Pt.Object.defineProperties(mn.prototype,{portGravity:{get:function(){return this.te},set:function(a){0<=a&&(this.te=a)}},isUnconnectedLinkValid:{get:function(){return this.Ha},set:function(a){this.Ha=a}},linkingCursor:{get:function(){return this.u},set:function(a){this.u=a}},temporaryLink:{get:function(){return this.Ci},set:function(a){this.Ci=a}},temporaryFromNode:{get:function(){return this.Bi},set:function(a){(this.Bi=a)&&(this.j=a.port)}},temporaryFromPort:{get:function(){return this.j},set:function(a){if(this.j!==null){var y=this.j.panel;if(y!==null){var x=y.O.indexOf(this.j);y.mb(x),y.Gb(x,a)}}this.j=a}},temporaryToNode:{get:function(){return this.Di},set:function(a){(this.Di=a)&&(this.o=a.port)}},temporaryToPort:{get:function(){return this.o},set:function(a){if(this.o!==null){var y=this.o.panel;if(y!==null){var x=y.O.indexOf(this.o);y.mb(x),y.Gb(x,a)}}this.o=a}},originalLink:{get:function(){return this.Hb},set:function(a){this.Hb=a}},originalFromNode:{get:function(){return this.hb},set:function(a){this.hb=a}},originalFromPort:{get:function(){return this.ob},set:function(a){this.ob=a}},originalToNode:{get:function(){return this.Oc},set:function(a){this.Oc=a}},originalToPort:{get:function(){return this.Pc},set:function(a){this.Pc=a}},isForwards:{get:function(){return this.ia},set:function(a){this.ia=a}},validPortsCache:{get:function(){return this.hy}},targetPort:{get:function(){return this.Pf},set:function(a){this.Pf=a}},linkValidation:{get:function(){return this.gj},set:function(a){this.gj=a}},portTargeted:{get:function(){return this.Of},set:function(a){this.Of=a}}}),mn.className="LinkingBaseTool";function lr(){mn.call(this),this.name="Linking",this.V={},this.F=null,this.K=or,this.Xd=null}Zt(lr,mn),lr.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;return a.isReadOnly||a.isModelReadOnly||!a.allowLink||!a.model.xs()||!a.lastInput.left||a.currentTool!==this&&!this.isBeyondDragSize()?!1:this.findLinkablePort()!==null},lr.prototype.findLinkablePort=function(){var a=this.diagram,y=this.startObject;if(y===null&&(y=a.ic(a.firstInput.documentPoint,null,null)),y===null||(a=y.part,!(a instanceof sr)))return null;var x=this.direction;if(x===or||x===jr){var b=this.findValidLinkablePort(y,!1);if(b!==null||this.startObject===a&&(b=a.port,this.findValidLinkablePort(b,!1)))return this.isForwards=!0,b}return(x===or||x===Fr)&&(y=this.findValidLinkablePort(y,!0),y!==null||this.startObject===a&&(y=a.port,this.findValidLinkablePort(y,!0)))?(this.isForwards=!1,y):null},lr.prototype.doActivate=function(){var a=this.diagram,y=this.findLinkablePort();y===null?this.stopTool():(this.Ea(this.name),a.isMouseCaptured=!0,a.currentCursor=this.linkingCursor,this.isForwards?(this.temporaryToNode!==null&&(this.temporaryToNode.location=a.lastInput.documentPoint),this.originalFromPort=y,y=this.originalFromPort.part,y instanceof sr&&(this.originalFromNode=y),this.copyPortProperties(this.originalFromNode,this.originalFromPort,this.temporaryFromNode,this.temporaryFromPort,!1)):(this.temporaryFromNode!==null&&(this.temporaryFromNode.location=a.lastInput.documentPoint),this.originalToPort=y,y=this.originalToPort.part,y instanceof sr&&(this.originalToNode=y),this.copyPortProperties(this.originalToNode,this.originalToPort,this.temporaryToNode,this.temporaryToPort,!0)),a.add(this.temporaryFromNode),this.temporaryFromNode&&this.temporaryFromNode.Va(),a.add(this.temporaryToNode),this.temporaryToNode&&this.temporaryToNode.Va(),this.temporaryLink!==null&&(this.temporaryFromNode!==null&&(this.temporaryLink.fromNode=this.temporaryFromNode),this.temporaryToNode!==null&&(this.temporaryLink.toNode=this.temporaryToNode),this.temporaryLink.isTreeLink=this.isNewTreeLink(),this.temporaryLink.bb(),a.add(this.temporaryLink)),this.isActive=!0)},lr.prototype.doDeactivate=function(){this.isActive=!1;var a=this.diagram;a.remove(this.temporaryLink),a.remove(this.temporaryFromNode),a.remove(this.temporaryToNode),a.isMouseCaptured=!1,a.currentCursor="",this.stopTransaction()},lr.prototype.doStop=function(){mn.prototype.doStop.call(this),this.startObject=null},lr.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram,y=this.transactionResult=null,x=null,b=null,E=null,te=null;try{var ne=this.targetPort=this.findTargetPort(this.isForwards);if(ne!==null){var se=ne.part;se instanceof sr&&(this.isForwards?(this.originalFromNode!==null&&(y=this.originalFromNode,x=this.originalFromPort),b=se,E=ne):(y=se,x=ne,this.originalToNode!==null&&(b=this.originalToNode,E=this.originalToPort)))}else this.isForwards?this.originalFromNode!==null&&this.isUnconnectedLinkValid&&(y=this.originalFromNode,x=this.originalFromPort):this.originalToNode!==null&&this.isUnconnectedLinkValid&&(b=this.originalToNode,E=this.originalToPort);y!==null||b!==null?(te=this.insertLink(y,x,b,E),te!==null?(ne===null&&(this.isForwards?te.defaultToPoint=a.lastInput.documentPoint:te.defaultFromPoint=a.lastInput.documentPoint),a.allowSelect&&(a.R("ChangingSelection",a.selection),a.clearSelection(!0),te.isSelected=!0),this.transactionResult=this.name,a.R("LinkDrawn",te)):this.doNoLink(y,x,b,E)):this.isForwards?this.doNoLink(this.originalFromNode,this.originalFromPort,null,null):this.doNoLink(null,null,this.originalToNode,this.originalToPort)}finally{this.stopTool(),te&&a.allowSelect&&a.R("ChangedSelection",a.selection)}}},lr.prototype.isNewTreeLink=function(){var a=this.archetypeLinkData;if(a===null)return!0;if(a instanceof _n)return a.isTreeLink;var y=this.diagram;return y===null?!0:(a=y.partManager.getLinkCategoryForData(a),y=y.partManager.findLinkTemplateForCategory(a),y!==null?y.isTreeLink:!0)},lr.prototype.insertLink=function(a,y,x,b){return this.diagram.partManager.insertLink(a,y,x,b)},lr.prototype.doNoLink=function(){},Pt.Object.defineProperties(lr.prototype,{archetypeLinkData:{get:function(){return this.V},set:function(a){this.V=a}},archetypeLabelNodeData:{get:function(){return this.F},set:function(a){this.F=a}},direction:{get:function(){return this.K},set:function(a){this.K=a}},startObject:{get:function(){return this.Xd},set:function(a){this.Xd=a}}});var or=new wn(lr,"Either",0),jr=new wn(lr,"ForwardsOnly",0),Fr=new wn(lr,"BackwardsOnly",0);lr.className="LinkingTool",lr.Either=or,lr.ForwardsOnly=jr,lr.BackwardsOnly=Fr;function Sr(){mn.call(this),this.name="Relinking";var a=new pi;a.figure="Diamond",a.desiredSize=lo,a.fill="lightblue",a.stroke="dodgerblue",a.cursor=this.linkingCursor,a.segmentIndex=0,this.V=a,a=new pi,a.figure="Diamond",a.desiredSize=lo,a.fill="lightblue",a.stroke="dodgerblue",a.cursor=this.linkingCursor,a.segmentIndex=-1,this.Xd=a,this.F=null,this.Ew=new Mn}Zt(Sr,mn),Sr.prototype.updateAdornments=function(a){if(a!==null&&a instanceof _n){var y="RelinkFrom",x=null;if(a.isSelected&&!this.diagram.isReadOnly){var b=a.selectionObject;b!==null&&a.canRelinkFrom()&&a.actualBounds.w()&&a.isVisible()&&b.actualBounds.w()&&b.Ed()&&(x=a.Pj(y),x===null&&(x=this.makeAdornment(b,!1),a.bh(y,x)))}x===null&&a.Jf(y),y="RelinkTo",x=null,a.isSelected&&!this.diagram.isReadOnly&&(b=a.selectionObject,b!==null&&a.canRelinkTo()&&a.actualBounds.w()&&a.isVisible()&&b.actualBounds.w()&&b.Ed()&&(x=a.Pj(y),x===null?(x=this.makeAdornment(b,!0),a.bh(y,x)):x.v())),x===null&&a.Jf(y)}},Sr.prototype.makeAdornment=function(a,y){var x=new Vi;return x.type=Xn.Link,y=y?this.toHandleArchetype:this.fromHandleArchetype,y!==null&&x.add(y.copy()),x.adornedObject=a,x},Sr.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(a.isReadOnly||a.isModelReadOnly||!a.allowRelink||!a.model.xs()||!a.lastInput.left)return!1;var y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkFrom");return y===null&&(y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkTo")),y!==null},Sr.prototype.doActivate=function(){var a=this.diagram;if(this.originalLink===null){var y=this.handle;if(y===null&&(y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkFrom"),y===null&&(y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkTo"))),y===null)return;var x=y.part;if(!(x instanceof Vi&&x.adornedPart instanceof _n))return;this.handle=y,this.isForwards=x===null||x.category==="RelinkTo",this.originalLink=x.adornedPart}this.Ea(this.name),a.isMouseCaptured=!0,a.currentCursor=this.linkingCursor,this.originalFromPort=this.originalLink.fromPort,this.originalFromNode=this.originalLink.fromNode,this.originalToPort=this.originalLink.toPort,this.originalToNode=this.originalLink.toNode,this.Ew.set(this.originalLink.actualBounds),this.originalLink!==null&&0<this.originalLink.pointsCount&&(this.originalLink.fromNode===null&&(this.temporaryFromPort!==null&&(this.temporaryFromPort.desiredSize=li),this.temporaryFromNode!==null&&(this.temporaryFromNode.location=this.originalLink.i(0))),this.originalLink.toNode===null&&(this.temporaryToPort!==null&&(this.temporaryToPort.desiredSize=li),this.temporaryToNode!==null&&(this.temporaryToNode.location=this.originalLink.i(this.originalLink.pointsCount-1)))),this.copyPortProperties(this.originalFromNode,this.originalFromPort,this.temporaryFromNode,this.temporaryFromPort,!1),this.copyPortProperties(this.originalToNode,this.originalToPort,this.temporaryToNode,this.temporaryToPort,!0),a.add(this.temporaryFromNode),a.add(this.temporaryToNode),this.temporaryLink!==null&&(this.temporaryFromNode!==null&&(this.temporaryLink.fromNode=this.temporaryFromNode),this.temporaryToNode!==null&&(this.temporaryLink.toNode=this.temporaryToNode),this.copyLinkProperties(this.originalLink,this.temporaryLink),this.temporaryLink.bb(),a.add(this.temporaryLink)),this.isActive=!0},Sr.prototype.copyLinkProperties=function(a,y){if(a!==null&&y!==null){y.adjusting=a.adjusting,y.corner=a.corner;var x=a.curve;(x===wp||x===Th)&&(x=Xs),y.curve=x,y.curviness=a.curviness,y.isTreeLink=a.isTreeLink,y.points=a.points,y.routing=a.routing,y.smoothness=a.smoothness,y.fromSpot=a.fromSpot,y.fromEndSegmentLength=a.fromEndSegmentLength,y.fromShortLength=a.fromShortLength,y.toSpot=a.toSpot,y.toEndSegmentLength=a.toEndSegmentLength,y.toShortLength=a.toShortLength}},Sr.prototype.doDeactivate=function(){this.isActive=!1;var a=this.diagram;a.remove(this.temporaryLink),a.remove(this.temporaryFromNode),a.remove(this.temporaryToNode),a.isMouseCaptured=!1,a.currentCursor="",this.stopTransaction()},Sr.prototype.doStop=function(){mn.prototype.doStop.call(this),this.handle=null},Sr.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram;this.transactionResult=null;var y=this.originalFromNode,x=this.originalFromPort,b=this.originalToNode,E=this.originalToPort,te=this.originalLink;try{if(this.targetPort=this.findTargetPort(this.isForwards),this.targetPort!==null){var ne=this.targetPort.part;ne instanceof sr&&(this.isForwards?(b=ne,E=this.targetPort):(y=ne,x=this.targetPort))}else this.isUnconnectedLinkValid?this.isForwards?E=b=null:x=y=null:te=null;te!==null?(this.reconnectLink(te,this.isForwards?b:y,this.isForwards?E:x,this.isForwards),this.targetPort===null&&(this.isForwards?te.defaultToPoint=a.lastInput.documentPoint:te.defaultFromPoint=a.lastInput.documentPoint,te.bb()),this.transactionResult=this.name,a.R("LinkRelinked",te,this.isForwards?this.originalToPort:this.originalFromPort)):this.doNoRelink(this.originalLink,this.isForwards),this.originalLink.Xo(this.Ew)}finally{this.stopTool()}}},Sr.prototype.reconnectLink=function(a,y,x,b){return x=x!==null&&x.portId!==null?x.portId:"",b?(a.toNode=y,a.toPortId=x):(a.fromNode=y,a.fromPortId=x),!0},Sr.prototype.doNoRelink=function(){};function ri(a,y,x,b,E){y!==null?(a.copyPortProperties(y,x,a.temporaryFromNode,a.temporaryFromPort,!1),a.diagram.add(a.temporaryFromNode)):a.diagram.remove(a.temporaryFromNode),b!==null?(a.copyPortProperties(b,E,a.temporaryToNode,a.temporaryToPort,!0),a.diagram.add(a.temporaryToNode)):a.diagram.remove(a.temporaryToNode)}Pt.Object.defineProperties(Sr.prototype,{fromHandleArchetype:{get:function(){return this.V},set:function(a){this.V=a}},toHandleArchetype:{get:function(){return this.Xd},set:function(a){this.Xd=a}},handle:{get:function(){return this.F},set:function(a){if(a!==null&&!(a.part instanceof Vi))throw Error("new handle is not in an Adornment: "+a);this.F=a}}}),Sr.className="RelinkingTool",gr("linkingTool",function(){return this.findTool("Linking")},function(a){this.gb("Linking",a,this.mouseMoveTools)}),gr("relinkingTool",function(){return this.findTool("Relinking")},function(a){this.gb("Relinking",a,this.mouseDownTools)});function Cr(){Ui.call(this),this.name="LinkReshaping";var a=new pi;a.figure="Rectangle",a.desiredSize=Ro,a.fill="lightblue",a.stroke="dodgerblue",this.o=a,a=new pi,a.figure="Diamond",a.desiredSize=lo,a.fill="lightblue",a.stroke="dodgerblue",a.cursor="move",this.u=a,this.F=3,this.Ts=this.j=null,this.Fw=new Lt,this.Yq=new Dn}Zt(Cr,Ui),Cr.prototype.Ru=function(a){return a&&a.reshapingBehavior.value!==0?a.reshapingBehavior:Jr},Cr.prototype.om=function(a,y){a.reshapingBehavior=y},Cr.prototype.updateAdornments=function(a){if(a!==null&&a instanceof _n){var y=null;if(a.isSelected&&!this.diagram.isReadOnly){var x=a.path;x!==null&&a.canReshape()&&a.actualBounds.w()&&a.isVisible()&&x.actualBounds.w()&&x.Ed()&&(y=a.Pj(this.name),y===null||y.Aw!==a.pointsCount||y.Uw!==a.resegmentable)&&(y=this.makeAdornment(x),y!==null&&(y.Aw=a.pointsCount,y.Uw=a.resegmentable,a.bh(this.name,y)))}y===null&&a.Jf(this.name)}},Cr.prototype.makeAdornment=function(a){var y=a.part,x=y.pointsCount,b=y.isOrthogonal,E=null;if(y.points!==null&&1<x){E=new Vi,E.type=Xn.Link,x=y.firstPickIndex;var te=y.lastPickIndex,ne=b?1:0;if(y.resegmentable&&y.computeCurve()!==Jl)for(var se=x+ne;se<te-ne;se++){var he=this.makeResegmentHandle(a,se);he!==null&&(he.segmentIndex=se,he.segmentFraction=.5,he.fromMaxLinks=999,E.add(he))}for(ne=x+1;ne<te;ne++)if(se=this.makeHandle(a,ne),se!==null){if(se.segmentIndex=ne,ne!==x)if(ne===x+1&&b){he=y.i(x);var ve=y.i(x+1);tn.B(he.x,ve.x)&&tn.B(he.y,ve.y)&&(ve=y.i(x-1)),tn.B(he.x,ve.x)?(this.om(se,Ni),se.cursor="n-resize"):tn.B(he.y,ve.y)&&(this.om(se,fi),se.cursor="w-resize")}else ne===te-1&&b?(he=y.i(te-1),ve=y.i(te),tn.B(he.x,ve.x)&&tn.B(he.y,ve.y)&&(he=y.i(te+1)),tn.B(he.x,ve.x)?(this.om(se,Ni),se.cursor="n-resize"):tn.B(he.y,ve.y)&&(this.om(se,fi),se.cursor="w-resize")):ne!==te&&(this.om(se,Ki),se.cursor="move");E.add(se)}E.adornedObject=a}return E},Cr.prototype.makeHandle=function(){var a=this.handleArchetype;return a===null?null:a.copy()},Cr.prototype.makeResegmentHandle=function(){var a=this.midHandleArchetype;return a===null?null:a.copy()},Cr.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;return!a.isReadOnly&&a.allowReshape&&a.lastInput.left?this.findToolHandleAt(a.firstInput.documentPoint,this.name)!==null:!1},Cr.prototype.doActivate=function(){var a=this.diagram;if(this.handle===null&&(this.handle=this.findToolHandleAt(a.firstInput.documentPoint,this.name)),this.handle!==null){var y=this.handle.part.adornedPart;if(y instanceof _n){if(this.Ts=y,a.isMouseCaptured=!0,this.Ea(this.name),y.resegmentable&&this.handle.fromMaxLinks===999){var x=y.points.copy(),b=this.getResegmentingPoint();if(x.Gb(this.handle.segmentIndex+1,b),y.isOrthogonal&&x.Gb(this.handle.segmentIndex+1,b),y.points=x,y.Wb(),y.updateAdornments(),this.handle=this.findToolHandleAt(a.firstInput.documentPoint,this.name),this.handle===null){this.doDeactivate();return}}this.Fw=y.i(this.handle.segmentIndex),this.Yq=y.points.copy(),this.isActive=!0}}},Cr.prototype.doDeactivate=function(){this.stopTransaction(),this.Ts=this.handle=null,this.isActive=this.diagram.isMouseCaptured=!1},Cr.prototype.stopTransaction=function(){var a=this.diagram,y=Ui.prototype.stopTransaction.call(this);return y&&a.undoManager.transactionToUndo!==null&&a.undoManager.transactionToUndo.ak(),y},Cr.prototype.doCancel=function(){var a=this.adornedLink;a!==null&&(a.points=this.Yq),this.stopTool()},Cr.prototype.getResegmentingPoint=function(){return this.handle.ga(zi)},Cr.prototype.doMouseMove=function(){var a=this.diagram;this.isActive&&(a=this.computeReshape(a.lastInput.documentPoint),this.reshape(a))},Cr.prototype.doMouseUp=function(){var a=this.diagram;if(this.isActive){var y=this.computeReshape(a.lastInput.documentPoint);if(this.reshape(y),y=this.adornedLink,y!==null&&y.resegmentable){var x=this.handle.segmentIndex,b=y.i(x-1),E=y.i(x),te=y.i(x+1);if(y.isOrthogonal){if(x>y.firstPickIndex+1&&x<y.lastPickIndex-1){var ne=y.i(x-2);if(Math.abs(b.x-E.x)<this.resegmentingDistance&&Math.abs(b.y-E.y)<this.resegmentingDistance&&($r(this,ne,b,E,te,!0)||$r(this,ne,b,E,te,!1))){var se=y.points.copy();$r(this,ne,b,E,te,!0)?(se.cd(x-2,new Lt(ne.x,(te.y+ne.y)/2)),se.cd(x+1,new Lt(te.x,(te.y+ne.y)/2))):(se.cd(x-2,new Lt((te.x+ne.x)/2,ne.y)),se.cd(x+1,new Lt((te.x+ne.x)/2,te.y))),se.mb(x),se.mb(x-1),y.points=se,y.Wb()}else ne=y.i(x+2),Math.abs(E.x-te.x)<this.resegmentingDistance&&Math.abs(E.y-te.y)<this.resegmentingDistance&&($r(this,b,E,te,ne,!0)||$r(this,b,E,te,ne,!1))&&(se=y.points.copy(),$r(this,b,E,te,ne,!0)?(se.cd(x-1,new Lt(b.x,(b.y+ne.y)/2)),se.cd(x+2,new Lt(ne.x,(b.y+ne.y)/2))):(se.cd(x-1,new Lt((b.x+ne.x)/2,b.y)),se.cd(x+2,new Lt((b.x+ne.x)/2,ne.y))),se.mb(x+1),se.mb(x),y.points=se,y.Wb())}}else ne=Lt.alloc(),tn.qh(b.x,b.y,te.x,te.y,E.x,E.y,ne)&&ne.Bf(E)<this.resegmentingDistance*this.resegmentingDistance&&(b=y.points.copy(),b.mb(x),y.points=b,y.Wb()),Lt.free(ne)}a.Ya(),this.transactionResult=this.name,a.R("LinkReshaped",this.adornedLink,this.Yq)}this.stopTool()};function $r(a,y,x,b,E,te){return te?Math.abs(y.y-x.y)<a.resegmentingDistance&&Math.abs(x.y-b.y)<a.resegmentingDistance&&Math.abs(b.y-E.y)<a.resegmentingDistance:Math.abs(y.x-x.x)<a.resegmentingDistance&&Math.abs(x.x-b.x)<a.resegmentingDistance&&Math.abs(b.x-E.x)<a.resegmentingDistance}Cr.prototype.reshape=function(a){var y=this.adornedLink;y.uh();var x=this.handle.segmentIndex,b=this.Ru(this.handle);if(y.isOrthogonal)if(x===y.firstPickIndex+1)x=y.firstPickIndex+1,b===Ni?(y.L(x,y.i(x-1).x,a.y),y.L(x+1,y.i(x+2).x,a.y)):b===fi&&(y.L(x,a.x,y.i(x-1).y),y.L(x+1,a.x,y.i(x+2).y));else if(x===y.lastPickIndex-1)x=y.lastPickIndex-1,b===Ni?(y.L(x-1,y.i(x-2).x,a.y),y.L(x,y.i(x+1).x,a.y)):b===fi&&(y.L(x-1,a.x,y.i(x-2).y),y.L(x,a.x,y.i(x+1).y));else{b=x;var E=y.i(b),te=y.i(b-1),ne=y.i(b+1);tn.B(te.x,E.x)&&tn.B(E.y,ne.y)?(tn.B(te.x,y.i(b-2).x)&&!tn.B(te.y,y.i(b-2).y)?(y.m(b,a.x,te.y),x++,b++):y.L(b-1,a.x,te.y),tn.B(ne.y,y.i(b+2).y)&&!tn.B(ne.x,y.i(b+2).x)?y.m(b+1,ne.x,a.y):y.L(b+1,ne.x,a.y)):tn.B(te.y,E.y)&&tn.B(E.x,ne.x)?(tn.B(te.y,y.i(b-2).y)&&!tn.B(te.x,y.i(b-2).x)?(y.m(b,te.x,a.y),x++,b++):y.L(b-1,te.x,a.y),tn.B(ne.x,y.i(b+2).x)&&!tn.B(ne.y,y.i(b+2).y)?y.m(b+1,a.x,ne.y):y.L(b+1,a.x,ne.y)):tn.B(te.x,E.x)&&tn.B(E.x,ne.x)?(tn.B(te.x,y.i(b-2).x)&&!tn.B(te.y,y.i(b-2).y)?(y.m(b,a.x,te.y),x++,b++):y.L(b-1,a.x,te.y),tn.B(ne.x,y.i(b+2).x)&&!tn.B(ne.y,y.i(b+2).y)?y.m(b+1,a.x,ne.y):y.L(b+1,a.x,ne.y)):tn.B(te.y,E.y)&&tn.B(E.y,ne.y)&&(tn.B(te.y,y.i(b-2).y)&&!tn.B(te.x,y.i(b-2).x)?(y.m(b,te.x,a.y),x++,b++):y.L(b-1,te.x,a.y),tn.B(ne.y,y.i(b+2).y)&&!tn.B(ne.x,y.i(b+2).x)?y.m(b+1,ne.x,a.y):y.L(b+1,ne.x,a.y)),y.L(x,a.x,a.y)}else y.L(x,a.x,a.y),b=y.fromNode,E=y.fromPort,b!==null&&(te=b.findVisibleNode(),te!==null&&te!==b&&(b=te,E=b.port)),x===1&&y.computeSpot(!0,E).Mc()&&(te=E.ga(zi,Lt.alloc()),b=y.getLinkPointFromPoint(b,E,te,a,!0,Lt.alloc()),y.L(0,b.x,b.y),Lt.free(te),Lt.free(b)),b=y.toNode,E=y.toPort,b!==null&&(te=b.findVisibleNode(),te!==null&&te!==b&&(b=te,E=b.port)),x===y.pointsCount-2&&y.computeSpot(!1,E).Mc()&&(x=E.ga(zi,Lt.alloc()),a=y.getLinkPointFromPoint(b,E,x,a,!1,Lt.alloc()),y.L(y.pointsCount-1,a.x,a.y),Lt.free(x),Lt.free(a));y.zf()},Cr.prototype.computeReshape=function(a){var y=this.adornedLink,x=this.handle.segmentIndex;switch(this.Ru(this.handle)){case Ki:return a;case Ni:return new Lt(y.i(x).x,a.y);case fi:return new Lt(a.x,y.i(x).y);default:case Jr:return y.i(x)}},Pt.Object.defineProperties(Cr.prototype,{handleArchetype:{get:function(){return this.o},set:function(a){this.o=a}},midHandleArchetype:{get:function(){return this.u},set:function(a){this.u=a}},handle:{get:function(){return this.j},set:function(a){if(a!==null&&!(a.part instanceof Vi))throw Error("new handle is not in an Adornment: "+a);this.j=a}},adornedLink:{get:function(){return this.Ts}},resegmentingDistance:{get:function(){return this.F},set:function(a){this.F=a}},originalPoint:{get:function(){return this.Fw}},originalPoints:{get:function(){return this.Yq}}}),Cr.prototype.setReshapingBehavior=Cr.prototype.om,Cr.prototype.getReshapingBehavior=Cr.prototype.Ru;var Jr=new wn(Cr,"None",0),fi=new wn(Cr,"Horizontal",1),Ni=new wn(Cr,"Vertical",2),Ki=new wn(Cr,"All",3);Cr.className="LinkReshapingTool",Cr.None=Jr,Cr.Horizontal=fi,Cr.Vertical=Ni,Cr.All=Ki,gr("linkReshapingTool",function(){return this.findTool("LinkReshaping")},function(a){this.gb("LinkReshaping",a,this.mouseDownTools)});function oi(){Ui.call(this),this.name="Resizing",this.o=new qn(1,1).freeze(),this.j=new qn(9999,9999).freeze(),this.yg=new qn(NaN,NaN).freeze(),this.V=!1,this.ia=!0,this.ue=null;var a=new pi;a.alignmentFocus=zi,a.figure="Rectangle",a.desiredSize=Ro,a.fill="lightblue",a.stroke="dodgerblue",a.strokeWidth=1,a.cursor="pointer",this.F=a,this.u=null,this.Xq=new Lt,this.Dw=new qn,this.Tn=new Lt,this.rt=new qn(0,0),this.qt=new qn(1/0,1/0),this.pt=new qn(1,1)}Zt(oi,Ui),oi.prototype.updateAdornments=function(a){if(!(a===null||a instanceof _n)){if(a.isSelected&&!this.diagram.isReadOnly){var y=a.resizeObject,x=a.Pj(this.name);if(y!==null&&a.canResize()&&a.actualBounds.w()&&a.isVisible()&&y.actualBounds.w()&&y.Ed()&&((x===null||x.adornedObject!==y)&&(x=this.makeAdornment(y)),x!==null)){y=y.li(),td(a)&&this.updateResizeHandles(x,y),a.bh(this.name,x);return}}a.Jf(this.name)}},oi.prototype.makeAdornment=function(a){var y=a.part.resizeAdornmentTemplate;if(y===null){y=new Vi,y.type=Xn.Spot,y.locationSpot=zi;var x=new Vs;x.isPanelMain=!0,y.add(x),y.add(this.makeHandle(a,Xa)),y.add(this.makeHandle(a,Bl)),y.add(this.makeHandle(a,ks)),y.add(this.makeHandle(a,tl)),y.add(this.makeHandle(a,ga)),y.add(this.makeHandle(a,Ya)),y.add(this.makeHandle(a,Ua)),y.add(this.makeHandle(a,La))}else if(Su(y),y=y.copy(),y===null)return null;return y.adornedObject=a,y},oi.prototype.makeHandle=function(a,y){return a=this.handleArchetype,a===null?null:(a=a.copy(),a.alignment=y,a)},oi.prototype.updateResizeHandles=function(a,y){if(a!==null){if(!a.alignment.Xb()&&(a.cursor==="pointer"||0<a.cursor.indexOf("resize")))e:{var x=a.alignment;if(x.Mc()&&(x=zi),0>=x.x)y=0>=x.y?y+225:1<=x.y?y+135:y+180;else if(1<=x.x)0>=x.y?y+=315:1<=x.y&&(y+=45);else if(0>=x.y)y+=270;else if(1<=x.y)y+=90;else break e;0>y?y+=360:360<=y&&(y-=360),a.cursor=22.5>y?"e-resize":67.5>y?"se-resize":112.5>y?"s-resize":157.5>y?"sw-resize":202.5>y?"w-resize":247.5>y?"nw-resize":292.5>y?"n-resize":337.5>y?"ne-resize":"e-resize"}else if(a instanceof Xn)for(a=a.elements;a.next();)this.updateResizeHandles(a.value,y)}},oi.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;return!a.isReadOnly&&a.allowResize&&a.lastInput.left?this.findToolHandleAt(a.firstInput.documentPoint,this.name)!==null:!1},oi.prototype.doActivate=function(){var a=this.diagram;this.handle===null&&(this.handle=this.findToolHandleAt(a.firstInput.documentPoint,this.name)),this.handle!==null&&(this.adornedObject=this.handle.part.adornedObject,this.adornedObject!==null&&(a.isMouseCaptured=!0,a.animationManager.Cc(),this.Ea(this.name),this.Xq.set(this.adornedObject.ga(this.handle.alignment.gv())),this.Tn.set(this.adornedObject.part.location),this.Dw.set(this.adornedObject.desiredSize),this.pt=this.computeCellSize(),this.rt=this.computeMinSize(),this.qt=this.computeMaxSize(),this.isActive=!0))},oi.prototype.doDeactivate=function(){var a=this.diagram;this.stopTransaction(),this.ue=this.handle=null,this.isActive=a.isMouseCaptured=!1},oi.prototype.stopTransaction=function(){var a=this.diagram,y=Ui.prototype.stopTransaction.call(this);return y&&a.undoManager.transactionToUndo!==null&&a.undoManager.transactionToUndo.ak(),y},oi.prototype.doCancel=function(){this.adornedObject!==null&&(this.adornedObject.desiredSize=this.originalDesiredSize,this.adornedObject.part.location=this.originalLocation),this.stopTool()},oi.prototype.doMouseMove=function(){var a=this.diagram;if(this.isActive){var y=this.rt,x=this.qt,b=this.pt,E=this.adornedObject.qs(a.lastInput.documentPoint,Lt.alloc()),te=this.computeReshape();y=this.computeResize(E,this.handle.alignment,y,x,b,te),this.resize(y),a.bd(),Lt.free(E)}},oi.prototype.doMouseUp=function(){var a=this.diagram;if(this.isActive){var y=this.rt,x=this.qt,b=this.pt,E=this.adornedObject.qs(a.lastInput.documentPoint,Lt.alloc()),te=this.computeReshape();y=this.computeResize(E,this.handle.alignment,y,x,b,te),this.resize(y),Lt.free(E),a.Ya(),this.transactionResult=this.name,a.R("PartResized",this.adornedObject,this.originalDesiredSize)}this.stopTool()},oi.prototype.resize=function(a){var y=this.diagram,x=this.adornedObject;if(x!==null){if(x.desiredSize=a.size,a=x.part,a.Va(),x=x.ga(this.handle.alignment.gv()),a instanceof ii){var b=new Dn;if(b.add(a),!this.dragsMembers&&a.placeholder===null){var E=new de;E.dragsMembers=!1}y.moveParts(b,this.oppositePoint.copy().re(x),!0,E)}else a.location=a.location.copy().re(x).add(this.oppositePoint);y.bd()}},oi.prototype.computeResize=function(a,y,x,b,E,te){y.Mc()&&(y=zi);var ne=this.adornedObject.naturalBounds,se=ne.x,he=ne.y,ve=ne.x+ne.width,Se=ne.y+ne.height,Be=1;if(!te){Be=ne.width;var Ve=ne.height;0>=Be&&(Be=1),0>=Ve&&(Ve=1),Be=Ve/Be}return Ve=Lt.alloc(),tn.No(a.x,a.y,se,he,E.width,E.height,Ve),a=ne.copy(),0>=y.x?0>=y.y?(a.x=Math.max(Ve.x,ve-b.width),a.x=Math.min(a.x,ve-x.width),a.width=Math.max(ve-a.x,x.width),a.y=Math.max(Ve.y,Se-b.height),a.y=Math.min(a.y,Se-x.height),a.height=Math.max(Se-a.y,x.height),te||(1<=a.height/a.width?(a.height=Math.max(Math.min(Be*a.width,b.height),x.height),a.width=a.height/Be):(a.width=Math.max(Math.min(a.height/Be,b.width),x.width),a.height=Be*a.width),a.x=ve-a.width,a.y=Se-a.height)):1<=y.y?(a.x=Math.max(Ve.x,ve-b.width),a.x=Math.min(a.x,ve-x.width),a.width=Math.max(ve-a.x,x.width),a.height=Math.max(Math.min(Ve.y-he,b.height),x.height),te||(1<=a.height/a.width?(a.height=Math.max(Math.min(Be*a.width,b.height),x.height),a.width=a.height/Be):(a.width=Math.max(Math.min(a.height/Be,b.width),x.width),a.height=Be*a.width),a.x=ve-a.width)):(a.x=Math.max(Ve.x,ve-b.width),a.x=Math.min(a.x,ve-x.width),a.width=ve-a.x,te||(a.height=Math.max(Math.min(Be*a.width,b.height),x.height),a.width=a.height/Be,a.y=he+.5*(Se-he-a.height))):1<=y.x?0>=y.y?(a.width=Math.max(Math.min(Ve.x-se,b.width),x.width),a.y=Math.max(Ve.y,Se-b.height),a.y=Math.min(a.y,Se-x.height),a.height=Math.max(Se-a.y,x.height),te||(1<=a.height/a.width?(a.height=Math.max(Math.min(Be*a.width,b.height),x.height),a.width=a.height/Be):(a.width=Math.max(Math.min(a.height/Be,b.width),x.width),a.height=Be*a.width),a.y=Se-a.height)):1<=y.y?(a.width=Math.max(Math.min(Ve.x-se,b.width),x.width),a.height=Math.max(Math.min(Ve.y-he,b.height),x.height),te||(1<=a.height/a.width?(a.height=Math.max(Math.min(Be*a.width,b.height),x.height),a.width=a.height/Be):(a.width=Math.max(Math.min(a.height/Be,b.width),x.width),a.height=Be*a.width))):(a.width=Math.max(Math.min(Ve.x-se,b.width),x.width),te||(a.height=Math.max(Math.min(Be*a.width,b.height),x.height),a.width=a.height/Be,a.y=he+.5*(Se-he-a.height))):0>=y.y?(a.y=Math.max(Ve.y,Se-b.height),a.y=Math.min(a.y,Se-x.height),a.height=Se-a.y,te||(a.width=Math.max(Math.min(a.height/Be,b.width),x.width),a.height=Be*a.width,a.x=se+.5*(ve-se-a.width))):1<=y.y&&(a.height=Math.max(Math.min(Ve.y-he,b.height),x.height),te||(a.width=Math.max(Math.min(a.height/Be,b.width),x.width),a.height=Be*a.width,a.x=se+.5*(ve-se-a.width))),Lt.free(Ve),a},oi.prototype.computeReshape=function(){var a=Rn;return this.adornedObject instanceof pi&&(a=E0(this.adornedObject)),!(a===yr||this.diagram.lastInput.shift)},oi.prototype.computeMinSize=function(){var a=this.adornedObject.minSize.copy(),y=this.minSize;return!isNaN(y.width)&&y.width>a.width&&(a.width=y.width),!isNaN(y.height)&&y.height>a.height&&(a.height=y.height),a},oi.prototype.computeMaxSize=function(){var a=this.adornedObject.maxSize.copy(),y=this.maxSize;return!isNaN(y.width)&&y.width<a.width&&(a.width=y.width),!isNaN(y.height)&&y.height<a.height&&(a.height=y.height),a},oi.prototype.computeCellSize=function(){var a=new qn(NaN,NaN),y=this.adornedObject.part;return y!==null&&(y=y.resizeCellSize,!isNaN(y.width)&&0<y.width&&(a.width=y.width),!isNaN(y.height)&&0<y.height&&(a.height=y.height)),y=this.cellSize,isNaN(a.width)&&!isNaN(y.width)&&0<y.width&&(a.width=y.width),isNaN(a.height)&&!isNaN(y.height)&&0<y.height&&(a.height=y.height),y=this.diagram,(isNaN(a.width)||isNaN(a.height))&&y&&(y=y.grid,y!==null&&y.visible&&this.isGridSnapEnabled&&(y=y.gridCellSize,isNaN(a.width)&&!isNaN(y.width)&&0<y.width&&(a.width=y.width),isNaN(a.height)&&!isNaN(y.height)&&0<y.height&&(a.height=y.height))),(isNaN(a.width)||a.width===0||a.width===1/0)&&(a.width=1),(isNaN(a.height)||a.height===0||a.height===1/0)&&(a.height=1),a},Pt.Object.defineProperties(oi.prototype,{handleArchetype:{get:function(){return this.F},set:function(a){this.F=a}},handle:{get:function(){return this.u},set:function(a){if(a!==null&&!(a.part instanceof Vi))throw Error("new handle is not in an Adornment: "+a);this.u=a}},adornedObject:{get:function(){return this.ue},set:function(a){if(a!==null&&a.part instanceof Vi)throw Error("new handle must not be in an Adornment: "+a);this.ue=a}},minSize:{get:function(){return this.o},set:function(a){if(!this.o.D(a)){var y=a.width;isNaN(y)&&(y=0),a=a.height,isNaN(a)&&(a=0),this.o.h(y,a)}}},maxSize:{get:function(){return this.j},set:function(a){if(!this.j.D(a)){var y=a.width;isNaN(y)&&(y=1/0),a=a.height,isNaN(a)&&(a=1/0),this.j.h(y,a)}}},cellSize:{get:function(){return this.yg},set:function(a){this.yg.D(a)||this.yg.assign(a)}},isGridSnapEnabled:{get:function(){return this.V},set:function(a){this.V=a}},dragsMembers:{get:function(){return this.ia},set:function(a){this.ia=a}},oppositePoint:{get:function(){return this.Xq},set:function(a){this.Xq.D(a)||this.Xq.assign(a)}},originalDesiredSize:{get:function(){return this.Dw}},originalLocation:{get:function(){return this.Tn}}}),oi.className="ResizingTool",gr("resizingTool",function(){return this.findTool("Resizing")},function(a){this.gb("Resizing",a,this.mouseDownTools)});function Di(){Ui.call(this),this.name="Rotating",this.ia=45,this.V=2,this.Tn=new Lt,this.ue=null;var a=new pi;a.figure="Ellipse",a.desiredSize=lo,a.fill="lightblue",a.stroke="dodgerblue",a.strokeWidth=1,a.cursor="pointer",this.o=a,this.j=null,this.Cw=0,this.kr=new Lt(NaN,NaN),this.u=0,this.F=50}Zt(Di,Ui),Di.prototype.updateAdornments=function(a){if(a!==null){if(a.ph()){var y=a.rotateObject;if(y===a||y===a.path||y.isPanelMain)return}if(a.isSelected&&!this.diagram.isReadOnly&&(y=a.rotateObject,y!==null&&a.canRotate()&&a.actualBounds.w()&&a.isVisible()&&y.actualBounds.w()&&y.Ed())){var x=a.Pj(this.name);if((x===null||x.adornedObject!==y)&&(x=this.makeAdornment(y)),x!==null){x.angle=y.li(),x.placeholder===null&&(x.location=this.computeAdornmentLocation(y)),a.bh(this.name,x);return}}a.Jf(this.name)}},Di.prototype.makeAdornment=function(a){var y=a.part.rotateAdornmentTemplate;if(y===null){y=new Vi,y.type=Xn.Position,y.locationSpot=zi;var x=this.handleArchetype;x!==null&&y.add(x.copy())}else if(Su(y),y=y.copy(),y===null)return null;return y.adornedObject=a,y},Di.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;return!a.isReadOnly&&a.allowRotate&&a.lastInput.left?this.findToolHandleAt(a.firstInput.documentPoint,this.name)!==null:!1},Di.prototype.doActivate=function(){var a=this.diagram;if(this.adornedObject===null){if(this.handle===null&&(this.handle=this.findToolHandleAt(a.firstInput.documentPoint,this.name)),this.handle===null)return;this.adornedObject=this.handle.part.adornedObject}this.adornedObject!==null&&(a.isMouseCaptured=!0,a.delaysLayout=!0,this.Ea(this.name),this.Cw=this.adornedObject.angle,this.kr=this.computeRotationPoint(this.adornedObject),this.Tn=this.adornedObject.part.location.copy(),this.isActive=!0)},Di.prototype.computeRotationPoint=function(a){var y=a.part,x=y.locationObject;return y.rotationSpot.sb()?a.ga(y.rotationSpot):a===y||a===x?x.ga(y.locationSpot):a.ga(zi)},Di.prototype.computeAdornmentLocation=function(a){var y=this.rotationPoint;y.w()||(y=this.computeRotationPoint(a)),y=a.qs(y);var x=this.handleAngle;0>x?x+=360:360<=x&&(x-=360),x=Math.round(45*Math.round(x/45));var b=this.handleDistance;return x===0?y.x=a.naturalBounds.width+b:x===45?(y.x=a.naturalBounds.width+b,y.y=a.naturalBounds.height+b):x===90?y.y=a.naturalBounds.height+b:x===135?(y.x=-b,y.y=a.naturalBounds.height+b):x===180?y.x=-b:x===225?(y.x=-b,y.y=-b):x===270?y.y=-b:x===315&&(y.x=a.naturalBounds.width+b,y.y=-b),a.ga(y)},Di.prototype.doDeactivate=function(){var a=this.diagram;this.stopTransaction(),this.ue=this.handle=null,this.kr=new Lt(NaN,NaN),this.isActive=a.isMouseCaptured=!1},Di.prototype.stopTransaction=function(){var a=this.diagram,y=Ui.prototype.stopTransaction.call(this);return y&&a.undoManager.transactionToUndo!==null&&a.undoManager.transactionToUndo.ak(),y},Di.prototype.doCancel=function(){this.diagram.delaysLayout=!1,this.rotate(this.originalAngle),this.stopTool()},Di.prototype.doMouseMove=function(){var a=this.diagram;this.isActive&&(a=this.computeRotate(a.lastInput.documentPoint),this.rotate(a))},Di.prototype.doMouseUp=function(){var a=this.diagram;if(this.isActive){a.delaysLayout=!1;var y=this.computeRotate(a.lastInput.documentPoint);this.rotate(y),a.Ya(),this.transactionResult=this.name,a.R("PartRotated",this.adornedObject,this.originalAngle)}this.stopTool()},Di.prototype.rotate=function(a){var y=this.adornedObject;if(y!==null){y.angle=a,y=y.part,y.Va();var x=y.locationObject,b=y.rotateObject;(x===b||x.rg(b))&&(x=this.Tn.copy(),y.location=x.re(this.rotationPoint).rotate(a-this.originalAngle).add(this.rotationPoint)),this.diagram.bd()}},Di.prototype.computeRotate=function(a){a=this.rotationPoint.ab(a)-this.handleAngle;var y=this.adornedObject.panel;y!==null&&(a-=y.li()),360<=a?a-=360:0>a&&(a+=360),y=Math.min(Math.abs(this.snapAngleMultiple),180);var x=Math.min(Math.abs(this.snapAngleEpsilon),y/2);return!this.diagram.lastInput.shift&&0<y&&0<x&&(a%y<x?a=Math.floor(a/y)*y:a%y>y-x&&(a=(Math.floor(a/y)+1)*y)),360<=a?a-=360:0>a&&(a+=360),a},Pt.Object.defineProperties(Di.prototype,{handleArchetype:{get:function(){return this.o},set:function(a){this.o=a}},handle:{get:function(){return this.j},set:function(a){if(a!==null&&!(a.part instanceof Vi))throw Error("new handle is not in an Adornment: "+a);this.j=a}},adornedObject:{get:function(){return this.ue},set:function(a){if(a!==null&&a.part instanceof Vi)throw Error("new handle must not be in an Adornment: "+a);this.ue=a}},snapAngleMultiple:{get:function(){return this.ia},set:function(a){this.ia=a}},snapAngleEpsilon:{get:function(){return this.V},set:function(a){this.V=a}},originalAngle:{get:function(){return this.Cw}},rotationPoint:{get:function(){return this.kr},set:function(a){this.kr=a.copy()}},handleAngle:{get:function(){return this.u},set:function(a){this.u=a}},handleDistance:{get:function(){return this.F},set:function(a){this.F=a}}}),Di.className="RotatingTool",gr("rotatingTool",function(){return this.findTool("Rotating")},function(a){this.gb("Rotating",a,this.mouseDownTools)});function mo(){Ui.call(this),this.name="ClickSelecting"}Zt(mo,Ui),mo.prototype.canStart=function(){return!(!this.isEnabled||this.isBeyondDragSize())},mo.prototype.doMouseUp=function(){this.isActive&&(this.standardMouseSelect(),!this.standardMouseClick()&&this.diagram.lastInput.isTouchEvent&&this.diagram.toolManager.doToolTip()),this.stopTool()},mo.className="ClickSelectingTool";function ci(){Ui.call(this),this.name="Action",this.pk=null}Zt(ci,Ui),ci.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram,y=a.lastInput,x=a.ic(y.documentPoint,function(b){for(;b.panel!==null&&!b.isActionable;)b=b.panel;return b});return x!==null&&x.isActionable?(this.pk=x,a.Ck=a.ic(y.documentPoint,null,null),!0):!1},ci.prototype.doMouseDown=function(){if(this.isActive){var a=this.diagram.lastInput,y=this.pk;y!==null&&(a.targetObject=y,y.actionDown!==null&&y.actionDown(a,y))}else this.canStart()&&this.doActivate()},ci.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram.lastInput,y=this.pk;y!==null&&(a.targetObject=y,y.actionMove!==null&&y.actionMove(a,y))}},ci.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram.lastInput,y=this.pk;if(y===null)return;a.targetObject=y,y.actionUp!==null&&y.actionUp(a,y),this.standardMouseClick(function(x){for(;x.panel!==null&&(!x.isActionable||x!==y);)x=x.panel;return x},function(x){return x===y})}this.stopTool()},ci.prototype.doCancel=function(){var a=this.diagram.lastInput,y=this.pk;y!==null&&(a.targetObject=y,y.actionCancel!==null&&y.actionCancel(a,y),this.stopTool())},ci.prototype.doStop=function(){this.pk=null},ci.className="ActionTool";function Ai(){Ui.call(this),this.name="ClickCreating",this.Ri=null,this.o=!0,this.j=!1,this.mw=new Lt(0,0)}Zt(Ai,Ui),Ai.prototype.canStart=function(){if(!this.isEnabled||this.archetypeNodeData===null)return!1;var a=this.diagram;if(a.isReadOnly||a.isModelReadOnly||!a.allowInsert||!a.lastInput.left||this.isBeyondDragSize())return!1;if(this.isDoubleClick){if(a.lastInput.clickCount===1&&(this.mw=a.lastInput.viewPoint.copy()),a.lastInput.clickCount!==2||this.isBeyondDragSize(this.mw))return!1}else if(a.lastInput.clickCount!==1)return!1;return!(a.currentTool!==this&&a.Ol(a.lastInput.documentPoint,!0)!==null)},Ai.prototype.doMouseUp=function(){var a=this.diagram;this.isActive&&this.insertPart(a.lastInput.documentPoint),this.stopTool()},Ai.prototype.insertPart=function(a){var y=this.diagram,x=this.archetypeNodeData;if(x===null)return null;var b=null;try{if(y.R("ChangingSelection",y.selection),this.Ea(this.name),x instanceof kr)x.Zc()&&(Su(x),b=x.copy(),b!==null&&y.add(b));else if(x!==null){var E=y.model.copyNodeData(x);sn(E)&&(y.model.xf(E),b=y.Lc(E))}if(b!==null){var te=Lt.allocAt(a.x,a.y);this.isGridSnapEnabled&&Qf(this.diagram,b,a,te),b.location=te,y.allowSelect&&(y.clearSelection(!0),b.isSelected=!0),Lt.free(te)}y.Ya(),this.transactionResult=this.name,y.R("PartCreated",b)}finally{this.stopTransaction(),y.R("ChangedSelection",y.selection)}return b},Pt.Object.defineProperties(Ai.prototype,{archetypeNodeData:{get:function(){return this.Ri},set:function(a){this.Ri=a}},isDoubleClick:{get:function(){return this.o},set:function(a){this.o=a}},isGridSnapEnabled:{get:function(){return this.j},set:function(a){this.j=a}}}),Ai.className="ClickCreatingTool";function ui(){Ui.call(this),this.name="DragSelecting",this.Ik=175,this.o=!1;var a=new kr;a.layerName="Tool",a.selectable=!1;var y=new pi;y.name="SHAPE",y.figure="Rectangle",y.fill=null,y.stroke="magenta",a.add(y),this.j=a}Zt(ui,Ui),ui.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(!a.allowSelect)return!1;var y=a.lastInput;return!(!y.left||a.currentTool!==this&&(!this.isBeyondDragSize()||y.timestamp-a.firstInput.timestamp<this.delay||a.Ol(y.documentPoint,!0)!==null))},ui.prototype.doActivate=function(){var a=this.diagram;this.isActive=!0,a.isMouseCaptured=!0,a.skipsUndoManager=!0,a.add(this.box),this.doMouseMove()},ui.prototype.doDeactivate=function(){var a=this.diagram;a.ug(),a.remove(this.box),a.skipsUndoManager=!1,this.isActive=a.isMouseCaptured=!1},ui.prototype.doMouseMove=function(){var a=this.diagram;if(this.isActive&&this.box!==null){var y=this.computeBoxBounds(),x=this.box.fb("SHAPE");x===null&&(x=this.box.Pb());var b=qn.alloc().h(y.width,y.height);x.desiredSize=b,this.box.mm(y.x,y.y,!1),qn.free(b),(a.allowHorizontalScroll||a.allowVerticalScroll)&&a.gs(a.lastInput.viewPoint)}},ui.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram;a.remove(this.box);try{a.currentCursor="wait",a.R("ChangingSelection",a.selection),this.selectInRect(this.computeBoxBounds()),a.R("ChangedSelection",a.selection)}finally{a.currentCursor=""}}this.stopTool()},ui.prototype.computeBoxBounds=function(){var a=this.diagram;return new Mn(a.firstInput.documentPoint,a.lastInput.documentPoint)},ui.prototype.selectInRect=function(a){var y=this.diagram,x=y.lastInput;if(a=y.ux(a,this.isPartialInclusion),Ur?x.meta:x.control)if(x.shift)for(a=a.iterator;a.next();)y=a.value,y.isSelected&&(y.isSelected=!1);else for(a=a.iterator;a.next();)y=a.value,y.isSelected=!y.isSelected;else if(x.shift)for(a=a.iterator;a.next();)y=a.value,y.isSelected||(y.isSelected=!0);else{for(x=new Dn,y=y.selection.iterator;y.next();){var b=y.value;a.contains(b)||x.add(b)}for(y=x.iterator;y.next();)y.value.isSelected=!1;for(a=a.iterator;a.next();)y=a.value,y.isSelected||(y.isSelected=!0)}},Pt.Object.defineProperties(ui.prototype,{delay:{get:function(){return this.Ik},set:function(a){this.Ik=a}},isPartialInclusion:{get:function(){return this.o},set:function(a){this.o=a}},box:{get:function(){return this.j},set:function(a){this.j=a}}}),ui.className="DragSelectingTool";function Zr(){Ui.call(this),this.name="Panning",this.Xt=new Lt,this.xy=new Lt,this.xg=!1;var a=this;this.Kw=function(){var y=a.diagram;y!==null&&y.removeEventListener(Dt.document,"scroll",a.Kw,!1),a.stopTool()}}Zt(Zr,Ui),Zr.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;return!(!a.allowHorizontalScroll&&!a.allowVerticalScroll||!a.lastInput.left||a.currentTool!==this&&!this.isBeyondDragSize())},Zr.prototype.doActivate=function(){var a=this.diagram;this.xg?(a.lastInput.bubbles=!0,a.addEventListener(Dt.document,"scroll",this.Kw,!1)):(a.currentCursor="move",a.isMouseCaptured=!0,this.Xt.assign(a.position)),this.isActive=!0},Zr.prototype.doDeactivate=function(){var a=this.diagram;a.currentCursor="",this.isActive=a.isMouseCaptured=!1},Zr.prototype.doCancel=function(){var a=this.diagram;a.position=this.Xt,a.isMouseCaptured=!1,this.stopTool()},Zr.prototype.doMouseMove=function(){this.move()},Zr.prototype.doMouseUp=function(){this.move(),this.stopTool()},Zr.prototype.move=function(){var a=this.diagram;if(this.isActive&&a)if(this.xg)a.lastInput.bubbles=!0;else{var y=a.position,x=a.firstInput.documentPoint,b=a.lastInput.documentPoint,E=y.x+x.x-b.x;x=y.y+x.y-b.y,a.allowHorizontalScroll||(E=y.x),a.allowVerticalScroll||(x=y.y),a.position=this.xy.h(E,x)}},Pt.Object.defineProperties(Zr.prototype,{bubbles:{get:function(){return this.xg},set:function(a){this.xg=a}},originalPosition:{get:function(){return this.Xt}}}),Zr.className="PanningTool",gr("clickCreatingTool",function(){return this.findTool("ClickCreating")},function(a){this.gb("ClickCreating",a,this.mouseUpTools)}),gr("clickSelectingTool",function(){return this.findTool("ClickSelecting")},function(a){this.gb("ClickSelecting",a,this.mouseUpTools)}),gr("panningTool",function(){return this.findTool("Panning")},function(a){this.gb("Panning",a,this.mouseMoveTools)}),gr("dragSelectingTool",function(){return this.findTool("DragSelecting")},function(a){this.gb("DragSelecting",a,this.mouseMoveTools)}),gr("actionTool",function(){return this.findTool("Action")},function(a){this.gb("Action",a,this.mouseDownTools)});function yi(){this.F=this.u=this.j=this.o=null}Pt.Object.defineProperties(yi.prototype,{mainElement:{get:function(){return this.u},set:function(a){this.u=a}},show:{get:function(){return this.o},set:function(a){this.o!==a&&(this.o=a)}},hide:{get:function(){return this.j},set:function(a){this.j!==a&&(this.j=a)}},valueFunction:{get:function(){return this.F},set:function(a){this.F=a}}}),yi.className="HTMLInfo";function Wi(a,y,x){this.text=a,this.hx=y,this.visible=x}Wi.className="ContextMenuButtonInfo";function $i(){Ui.call(this),this.name="ContextMenu",this.o=this.ht=this.j=null,this.yw=new Lt,this.jt=null,this.Et=!1;var a=this;this.tu=function(){a.stopTool()}}Zt($i,Ui);function to(a){var y=new yi;y.show=function(E,te,ne){ne.showDefaultContextMenu()},y.hide=function(E,te){te.hideDefaultContextMenu()},Io=y,a.tu=function(){a.stopTool()},y=Gn("div");var x=Gn("div");y.style.cssText="top: 0px;z-index:10002;position: fixed;display: none;text-align: center;left: 25%;width: 50%;background-color: #F5F5F5;padding: 16px;border: 16px solid #444;border-radius: 10px;margin-top: 10px",x.style.cssText="z-index:10001;position: fixed;display: none;top: 0;left: 0;width: 100%;height: 100%;background-color: black;opacity: 0.8;";var b=Gn("style");Dt.document.getElementsByTagName("head")[0].appendChild(b),b.sheet.insertRule(".goCXul { list-style: none; }",0),b.sheet.insertRule(".goCXli {font:700 1.5em Helvetica, Arial, sans-serif;position: relative;min-width: 60px; }",0),b.sheet.insertRule(".goCXa {color: #444;display: inline-block;padding: 4px;text-decoration: none;margin: 2px;border: 1px solid gray;border-radius: 10px; }",0),b=a.diagram,b!==null&&(b.addEventListener(y,"contextmenu",ai,!1),b.addEventListener(y,"selectstart",ai,!1),b.addEventListener(x,"contextmenu",ai,!1)),y.className="goCXforeground",x.className="goCXbackground",Dt.document.body&&(Dt.document.body.appendChild(y),Dt.document.body.appendChild(x)),xo=y,Ta=x,ka=!0}function ai(a){return a.preventDefault(),!1}$i.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;return this.isBeyondDragSize()||!a.lastInput.right||1<a.lastInput.clickCount?!1:!!(a.lastInput.isTouchEvent&&this.defaultTouchContextMenu!==null||this.findObjectWithContextMenu()!==null)},$i.prototype.doStart=function(){this.yw.set(this.diagram.firstInput.documentPoint)},$i.prototype.doStop=function(){this.hideContextMenu(),this.currentObject=null},$i.prototype.findObjectWithContextMenu=function(a){a===void 0&&(a=null);var y=this.diagram,x=y.lastInput,b=null;if(a instanceof hn||(a instanceof qt?b=a:b=y.ic(x.documentPoint,null,function(E){return!E.layer.isTemporary})),b!==null){for(a=b;a!==null;){if(a.contextMenu!==null)return a;a=a.panel}if(y.lastInput.isTouchEvent&&this.defaultTouchContextMenu)return b.part}else if(y.contextMenu!==null)return y;return null},$i.prototype.doActivate=function(){},$i.prototype.doMouseDown=function(){if(Ui.prototype.doMouseDown.call(this),this.isActive&&this.currentContextMenu instanceof Vi){var a=this.diagram.toolManager.findTool("Action");a!==null&&a.canStart()&&(a.doActivate(),a.doMouseDown(),a.doDeactivate())}this.diagram.toolManager.mouseDownTools.contains(this)&&yo(this)},$i.prototype.doMouseUp=function(){if(this.isActive&&this.currentContextMenu instanceof Vi){var a=this.diagram.toolManager.findTool("Action");a!==null&&a.canStart()&&(a.doActivate(),a.doCancel(),a.doDeactivate())}yo(this)};function yo(a){var y=a.diagram;if(a.isActive){var x=a.currentContextMenu;if(x!==null){var b=null;x instanceof yi||(b=y.ic(y.lastInput.documentPoint,null,null),b!==null&&b.rg(x)&&a.standardMouseClick(null,null)),a.maybeStopTool(b)}}else a.canStart()&&(Co(a,!0),a.isActive||a.stopTool())}$i.prototype.maybeStopTool=function(){this.stopTool(),this.canStart()&&(this.diagram.currentTool=this,this.doMouseUp())};function Co(a,y,x){if(x===void 0&&(x=null),!a.Et&&(a.Et=!0,y&&a.standardMouseSelect(),y=a.standardMouseClick(),a.Et=!1,!y)){if(a.isActive=!0,y=Io,x===null&&(x=a.findObjectWithContextMenu()),x!==null){var b=x.contextMenu;b!==null?(a.currentObject=x instanceof qt?x:null,a.showContextMenu(b,a.currentObject)):y!==null&&a.showContextMenu(y,a.currentObject)}else y!==null&&a.showContextMenu(y,null);a.currentContextMenu instanceof Vi&&!a.currentContextMenu.visible&&a.stopTool()}}$i.prototype.doMouseMove=function(){var a=this.diagram.toolManager.findTool("Action");a!==null&&a.doMouseMove(),this.isActive&&this.diagram.toolManager.doMouseMove()},$i.prototype.showContextMenu=function(a,y){var x=this.diagram;if(a!==this.currentContextMenu&&this.hideContextMenu(),a instanceof Vi){a.layerName="Tool",a.selectable=!1,a.scale=1/x.scale,a.category=this.name,a.placeholder!==null&&(a.placeholder.scale=x.scale);var b=a.diagram;b!==null&&b!==x&&b.remove(a),x.add(a),y!==null?a.adornedObject=y:a.data=x.model,a.Va(),this.positionContextMenu(a,y)}else a instanceof yi&&a.show(y,x,this);this.currentContextMenu=a},$i.prototype.positionContextMenu=function(a){if(a.placeholder===null){var y=this.diagram,x=y.lastInput.documentPoint.copy(),b=a.measuredBounds,E=y.viewportBounds;y.lastInput.isTouchEvent&&(x.x-=b.width),x.x+b.width>E.right&&(x.x-=b.width+5/y.scale),x.x<E.x&&(x.x=E.x),x.y+b.height>E.bottom&&(x.y-=b.height+5/y.scale),x.y<E.y&&(x.y=E.y),a.position=x}},$i.prototype.hideContextMenu=function(){var a=this.diagram,y=this.currentContextMenu;y!==null&&(y instanceof Vi?(a.remove(y),this.ht!==null&&this.ht.Jf(y.category),y.data=null,y.adornedObject=null):y instanceof yi&&(y.hide!==null?y.hide(a,this):y.mainElement!==null&&(y.mainElement.style.display="none")),this.currentContextMenu=null,this.standardMouseOver())};function qo(a){var y=new Dn;return y.add(new Wi("Copy",function(x){x.commandHandler.copySelection()},function(x){return x.commandHandler.canCopySelection()})),y.add(new Wi("Cut",function(x){x.commandHandler.cutSelection()},function(x){return x.commandHandler.canCutSelection()})),y.add(new Wi("Delete",function(x){x.commandHandler.deleteSelection()},function(x){return x.commandHandler.canDeleteSelection()})),y.add(new Wi("Paste",function(x){x.commandHandler.pasteSelection(a.mouseDownPoint)},function(x){return x.commandHandler.canPasteSelection(a.mouseDownPoint)})),y.add(new Wi("Select All",function(x){x.commandHandler.selectAll()},function(x){return x.commandHandler.canSelectAll()})),y.add(new Wi("Undo",function(x){x.commandHandler.undo()},function(x){return x.commandHandler.canUndo()})),y.add(new Wi("Redo",function(x){x.commandHandler.redo()},function(x){return x.commandHandler.canRedo()})),y.add(new Wi("Scroll To Part",function(x){x.commandHandler.scrollToPart()},function(x){return x.commandHandler.canScrollToPart()})),y.add(new Wi("Zoom To Fit",function(x){x.commandHandler.zoomToFit()},function(x){return x.commandHandler.canZoomToFit()})),y.add(new Wi("Reset Zoom",function(x){x.commandHandler.resetZoom()},function(x){return x.commandHandler.canResetZoom()})),y.add(new Wi("Group Selection",function(x){x.commandHandler.groupSelection()},function(x){return x.commandHandler.canGroupSelection()})),y.add(new Wi("Ungroup Selection",function(x){x.commandHandler.ungroupSelection()},function(x){return x.commandHandler.canUngroupSelection()})),y.add(new Wi("Edit Text",function(x){x.commandHandler.editTextBlock()},function(x){return x.commandHandler.canEditTextBlock()})),y}$i.prototype.showDefaultContextMenu=function(){var a=this.diagram;this.jt===null&&(this.jt=qo(this)),xo.innerHTML="",Ta.addEventListener("pointerdown",this.tu,!1);var y=this,x=Gn("ul");x.className="goCXul",xo.appendChild(x),x.innerHTML="";for(var b=this.jt.iterator;b.next();){var E=b.value,te=E.visible;if(typeof E.hx=="function"&&(typeof te!="function"||te(a))){te=Gn("li"),te.className="goCXli";var ne=Gn("a");ne.className="goCXa",ne.href="#",ne.ky=E.hx,ne.addEventListener("pointerdown",function(se){return this.ky(a),y.stopTool(),se.preventDefault(),!1},!1),ne.textContent=E.text,te.appendChild(ne),x.appendChild(te)}}xo.style.display="block",Ta.style.display="block"},$i.prototype.hideDefaultContextMenu=function(){if(this.currentContextMenu!==null&&this.currentContextMenu===Io){xo.style.display="none",Ta.style.display="none";var a=this.diagram;a!==null&&a.removeEventListener(Ta,"pointerdown",this.tu,!1),this.currentContextMenu=null}},Pt.Object.defineProperties($i.prototype,{currentContextMenu:{get:function(){return this.j},set:function(a){this.j=a,this.ht=a instanceof Vi?a.adornedPart:null}},defaultTouchContextMenu:{get:function(){return ka===!1&&Io===null&&ia&&to(this),Io},set:function(a){a===null&&(ka=!0),Io=a}},currentObject:{get:function(){return this.o},set:function(a){this.o=a}},mouseDownPoint:{get:function(){return this.yw}}});var Io=null,ka=!1,Ta=null,xo=null;$i.className="ContextMenuTool",gr("contextMenuTool",function(){return this.findTool("ContextMenu")},function(a){this.gb("ContextMenu",a,this.mouseUpTools)});function Gi(){Ui.call(this),this.name="TextEditing",this.Zh=new Lo,this.ia=null,this.V=Bi,this.vj=null,this.qa=Ii,this.u=1,this.F=!0,this.o=null,this.j=new yi,this.kt=null,Xo(this,this.j)}Zt(Gi,Ui);function Xo(a,y){if(ia){var x=Gn("textarea");a.kt=x,x.addEventListener("input",function(){if(a.textBlock!==null){var b=a.Lx(this.value);this.style.width=20+b.measuredBounds.width*this.wA+"px",this.rows=b.lineCount}},!1),x.addEventListener("keydown",function(b){if(!b.isComposing&&a.textBlock!==null){var E=b.key;E==="Enter"?(a.textBlock.isMultiline===!1&&b.preventDefault(),a.acceptText(Yi)):E==="Tab"?(a.acceptText(no),b.preventDefault()):E==="Escape"&&(a.doCancel(),a.diagram!==null&&a.diagram.doFocus())}},!1),x.addEventListener("focus",function(){if(a.currentTextEditor!==null&&a.state!==Ii){var b=a.kt;a.qa===vo&&(a.qa=Ho),typeof b.select=="function"&&a.selectsTextOnActivate&&(b.select(),b.setSelectionRange(0,9999))}},!1),x.addEventListener("blur",function(){if(a.currentTextEditor!==null&&a.state!==Ii){var b=a.kt;typeof b.focus=="function"&&b.focus(),typeof b.select=="function"&&a.selectsTextOnActivate&&(b.select(),b.setSelectionRange(0,9999))}},!1),y.valueFunction=function(){return x.value},y.mainElement=x,y.show=function(b,E,te){if(b instanceof Lo&&te instanceof Gi)if(te.state===Cs)x.style.border="3px solid red",x.focus();else{var ne=b.ga(zi),se=E.position,he=E.scale,ve=b.Df()*he;ve<te.minimumEditorScale&&(ve=te.minimumEditorScale);var Se=b.naturalBounds.width*ve+6,Be=b.naturalBounds.height*ve+2,Ve=(ne.x-se.x)*he;ne=(ne.y-se.y)*he,se=b.verticalAlignment,he=(b.lineHeight+b.spacingAbove+b.spacingBelow)*b.lineCount*ve,Be=se.y*Be-se.y*he+se.offsetY-(.5*Be-.5*he)-he/2,x.value=b.text,E.div.style.font=b.font,x.style.position="absolute",x.style.zIndex="100",x.style.font="inherit",x.style.fontSize=100*ve+"%",x.style.lineHeight="normal",x.style.width=Se+"px",x.style.left=(Ve-Se/2|0)-1+"px",x.style.top=(ne+Be|0)-1+"px",x.style.textAlign=b.textAlign,x.style.margin="0",x.style.padding="1px",x.style.border="0",x.style.outline="none",x.style.whiteSpace="pre-wrap",x.style.overflow="hidden",x.rows=b.lineCount,x.wA=ve,x.className="goTXarea",E.div.appendChild(x),x.focus(),te.selectsTextOnActivate&&(x.select(),x.setSelectionRange(0,9999))}},y.hide=function(b){b.div.removeChild(x)}}}Gi.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(a===null||a.isReadOnly||Us&&Us!==this&&(Us.acceptText(is),Us&&Us!==this)||!a.lastInput.left||this.isBeyondDragSize())return!1;var y=a.ic(a.lastInput.documentPoint);return y!==null&&y instanceof Lo&&y.editable&&y.part.canEdit()?(y=y.part,!(y===null||this.starting===Bi&&!y.isSelected||this.starting===Qo&&2>a.lastInput.clickCount)):!1},Gi.prototype.doStart=function(){Us=this,this.textBlock!==null&&this.doActivate()},Gi.prototype.doActivate=function(){if(!this.isActive){var a=this.diagram;if(a!==null){var y=this.textBlock;if(y===null&&(y=a.ic(a.lastInput.documentPoint)),y!==null&&y instanceof Lo&&(this.textBlock=y,y.part!==null)){a.animationManager.Cc(),this.isActive=!0,this.qa=vo;var x=this.defaultTextEditor;y.textEditor!==null&&(x=y.textEditor),this.Zh=this.textBlock.copy();var b=new Mn(this.textBlock.ga(Xa),this.textBlock.ga(ks));a.tv(b),x.show(y,a,this),this.currentTextEditor=x}}}},Gi.prototype.doCancel=function(){this.stopTool()},Gi.prototype.doMouseUp=function(){this.canStart()&&this.doActivate()},Gi.prototype.doMouseDown=function(){this.isActive&&this.acceptText(is)},Gi.prototype.acceptText=function(a){switch(a){case is:this.qa===ls?this.currentTextEditor instanceof HTMLElement&&this.currentTextEditor.focus():(this.qa===vo||this.qa===Cs||this.qa===Ho)&&(this.qa=Uo,Na(this));break;case wa:case Yi:case no:(Yi!==a||this.textBlock.isMultiline!==!0)&&(this.qa===vo||this.qa===Cs||this.qa===Ho)&&(this.qa=Uo,Na(this))}};function Na(a){var y=a.textBlock,x=a.diagram,b=a.currentTextEditor;if(y!==null&&b!==null){var E=y.text,te="";b.valueFunction!==null&&(te=b.valueFunction()),a.isValidText(y,E,te)?(a.Ea(a.name),a.qa=ls,a.transactionResult=a.name,y.text=te,a.doSuccess(E,te),x!==null&&x.R("TextEdited",y,E),a.stopTransaction(),a.stopTool(),x!==null&&x.doFocus()):(a.qa=Cs,a.doError(E,te))}}Gi.prototype.doError=function(a,y){var x=this.textBlock;x.errorFunction!==null&&x.errorFunction(this,a,y),(a=this.currentTextEditor)&&a.show(x,this.diagram,this)},Gi.prototype.doSuccess=function(a,y){var x=this.textBlock;x.textEdited!==null&&x.textEdited(x,a,y)},Gi.prototype.doDeactivate=function(){var a=this.diagram;a!==null&&(this.qa=Ii,this.currentTextEditor!==null&&this.currentTextEditor.hide(a,this),this.textBlock=null,this.isActive=!1)},Gi.prototype.doStop=function(){Us=null},Gi.prototype.isValidText=function(a,y,x){var b=this.textValidation;return b!==null&&!b(a,y,x)?!1:(b=a.textValidation,!!(b===null||b(a,y,x)))},Gi.prototype.Lx=function(a){var y=this.Zh;return y.text=a,y.measure(this.textBlock.Ih,1/0),y},Pt.Object.defineProperties(Gi.prototype,{textBlock:{get:function(){return this.ia},set:function(a){this.ia=a}},currentTextEditor:{get:function(){return this.o},set:function(a){this.o=a}},defaultTextEditor:{get:function(){return this.j},set:function(a){this.j=a}},starting:{get:function(){return this.V},set:function(a){this.V=a}},textValidation:{get:function(){return this.vj},set:function(a){this.vj=a}},minimumEditorScale:{get:function(){return this.u},set:function(a){this.u=a}},selectsTextOnActivate:{get:function(){return this.F},set:function(a){this.F=a}},state:{get:function(){return this.qa},set:function(a){this.qa!==a&&(this.qa=a)}}}),Gi.prototype.measureTemporaryTextBlock=Gi.prototype.Lx;var wa=new wn(Gi,"LostFocus",0),is=new wn(Gi,"MouseDown",1),no=new wn(Gi,"Tab",2),Yi=new wn(Gi,"Enter",3),ro=new wn(Gi,"SingleClick",0),Bi=new wn(Gi,"SingleClickSelected",1),Qo=new wn(Gi,"DoubleClick",2),Ii=new wn(Gi,"StateNone",0),vo=new wn(Gi,"StateActive",1),Ho=new wn(Gi,"StateEditing",2),Uo=new wn(Gi,"StateValidating",3),Cs=new wn(Gi,"StateInvalid",4),ls=new wn(Gi,"StateValidated",5),Us=null;Gi.className="TextEditingTool",Gi.LostFocus=wa,Gi.MouseDown=is,Gi.Tab=no,Gi.Enter=Yi,Gi.SingleClick=ro,Gi.SingleClickSelected=Bi,Gi.DoubleClick=Qo,Gi.StateNone=Ii,Gi.StateActive=vo,Gi.StateEditing=Ho,Gi.StateValidating=Uo,Gi.StateInvalid=Cs,Gi.StateValidated=ls,gr("textEditingTool",function(){return this.findTool("TextEditing")},function(a){this.gb("TextEditing",a,this.mouseUpTools)});function ea(a){El||(pl(),El=!0),this.H=Xu,this.Ok=this.zb=this.vq=this.bc=!1,this.Qw=!0,this.Pk=ql,this.Dm=!1,this.Gh=this.Jd=!0,this.Dg=600,this.cw=this.Ow=!1,this.Zd=new On,this.ce=new ra,this.ce.Yd=this,this.Ei=new On,this.pu=new On,this.Sr=new On,this.pr=new On,a&&Object.assign(this,a)}ea.prototype.Xe=function(a){this.H=a},ea.prototype.canStart=function(){return!0};function Ps(a,y){a.Jd&&a.canStart(y)&&(a.Zd.add(y),a.defaultAnimation.isAnimating&&a.Cc(),cs(a.H),a.zb=!0)}function ts(a){if(a.Jd&&a.zb){var y=a.ce,x=a.H,b=a.Zd.contains("Model");b&&(a.Ok=!0,a.Pk===ql?(y.isViewportUnconstrained=!0,y.vc.clear(),y.add(x,"position",x.position.copy().offset(0,-200),x.position),y.add(x,"opacity",0,1)):a.Pk===Hl&&y.vc.clear(),a.Qw=!!(a.Pk===eu&&x.du.D(x.pa)),x.R("InitialAnimationStarting",a)),b&&!a.Gh||y.vc.count===0?(a.Zd.clear(),a.zb=!1,y.vc.clear(),Ms(y,x),a.Ok=!1,x.N()):(a.Zd.clear(),x.kg=!1,b=y.vc.get(x),x.autoScale!==Bs&&b!==null&&(delete b.start.scale,delete b.end.scale),Dt.requestAnimationFrame(function(){a.zb===!1||y.bc||(x.Gf("temporaryPixelRatio")&&Ls(x),Ld(x),a.zb=!1,y.start(),y.bc&&(pa(a),x.Ya(),oc(y,0),ol(x,!0),Qa(a),x.R("AnimationStarting",a)))}))}}function ps(a){return a.Zd.contains("Trigger")&&a.Zd.count===1}function Ku(a,y,x,b){a.isTicking||ps(a)||y instanceof _n&&(y.fromNode!==null||y.toNode!==null)||a.ce.add(y,"position",x,b,!1)}ot=ea.prototype,ot.fv=function(a){return this.ce.fv(a)},ot.Xu=function(a){return this.ce.Xu(a)};function ta(a,y){function x(){if(0<E.Sr.count&&(b.addAll(E.Sr),E.Sr.clear(),E.bc=!0),E.bc!==!1&&b.count!==0){E.pu.addAll(b);for(var te=E.pu.iterator;te.next();){var ne=te.value;if(ne.bc!==!1){e:if(0<ne.yl.count)var se=!0;else{for(se=ne.vc.iterator;se.next();){var he=se.key;if(he instanceof qt&&he.diagram!==null||he instanceof hn){se=!0;break e}}se=!1}se?Ul(ne,!1):ne.Xk=!0}}E.pu.clear(),E.bc!==!1&&(pa(E),ol(E.H),Qa(E)),Dt.requestAnimationFrame(x)}}var b=a.Ei,E=a;a.bc?a.Sr.add(y):(a.bc=!0,b.add(y),Dt.requestAnimationFrame(function(){x()}))}function aa(a){for(a=a.Ei.iterator;a.next();)a.value.Xk=!1}function pa(a){if(!a.vq){var y=a.H;a.Ow=y.skipsUndoManager,a.cw=y.skipsModelSourceBindings,y.skipsUndoManager=!0,y.skipsModelSourceBindings=!0,a.vq=!0}}function Qa(a){var y=a.H;y.skipsUndoManager=a.Ow,y.skipsModelSourceBindings=a.cw,a.vq=!1}ot.Cc=function(a){var y=this.ce;if(this.zb===!0&&(this.Ok=this.zb=!1,this.Zd.clear(),0<y.vc.count&&this.H.$b()),this.bc){if(y.Ml(!0),y.vc.clear(),Ms(y,null),a===!0)for(a=this.Ei.Fa(),y=0;y<a.length;y++)a[y].Ml(!0)}else y.vc.clear(),Ms(y,this.H)},ot.Ml=function(a){a===this.defaultAnimation&&this.defaultAnimation.vc.clear(),this.Ei.remove(a),this.Ei.count===0&&(this.bc=!1,this.H.$b()),a===this.defaultAnimation&&(this.defaultAnimation.vc.clear(),this.H.R("AnimationFinished",this))},ot.Cj=function(a,y){this.zb&&(this.Zd.contains("Expand Tree")||this.Zd.contains("Expand SubGraph"))&&(this.ce.Cj(a,y),va(this,a))},ot.Aj=function(a,y){this.zb&&(this.Zd.contains("Collapse Tree")||this.Zd.contains("Collapse SubGraph"))&&(this.ce.Aj(a,y),Za(this.ce,y,"position",y.position,y.position),va(this,a))};function gs(a,y,x){!a.zb||y.D(x)||ps(a)||(a.H.pi||(y=x.copy()),Za(a.ce,a.H,"position",y,x))}function ko(a,y,x){y.fd&&(y.Tg=x,a.pr.add(y))}function va(a,y){for(y=y.findLinksConnected();y.next();){var x=y.value;x.fd&&(x.Tg=x.points.copy(),a.pr.add(x))}}function ms(a,y,x,b,E){a===null&&(a=[0,0,0,0]),y===null&&(y=[0,0,0,0]);var te=a[0],ne=a[1],se=a[2];a=a[3];var he=y[0],ve=y[1],Se=y[2];return y=y[3],se===0||se===100?(te=he,ne=ve):(Se===0||Se===100)&&(he=te,ve=ne),180<Math.abs(he-te)&&(he>te?te+=360:he+=360),te=E(x,te,he-te,b)%360,ne=E(x,ne,ve-ne,b),se=E(x,se,Se-se,b),x=E(x,a,y-a,b),"hsla("+te+", "+ne+"%, "+se+"%, "+x+")"}function pl(){function a(x,b,E,te,ne,se){x.position=new Lt(te(ne,b.x,E.x-b.x,se),te(ne,b.y,E.y-b.y,se))}var y=new pr;y.add("position:diagram",a),y.add("position",a),y.add("position:part",function(x,b,E,te,ne,se){ne<se?x.mm(te(ne,b.x,E.x-b.x,se),te(ne,b.y,E.y-b.y,se),!1):x.position=new Lt(te(ne,b.x,E.x-b.x,se),te(ne,b.y,E.y-b.y,se))}),y.add("location",function(x,b,E,te,ne,se){ne<se?x.mm(te(ne,b.x,E.x-b.x,se),te(ne,b.y,E.y-b.y,se),!0):x.location=new Lt(te(ne,b.x,E.x-b.x,se),te(ne,b.y,E.y-b.y,se))}),y.add("position:placeholder",function(x,b,E,te,ne,se){ne<se?x.mm(te(ne,b.x,E.x-b.x,se),te(ne,b.y,E.y-b.y,se),!1):x.position=new Lt(te(ne,b.x,E.x-b.x,se),te(ne,b.y,E.y-b.y,se))}),y.add("position:nodeCollapse",function(x,b,E,te,ne,se){var he=x.actualBounds,ve=E.actualBounds;E=ve.x+ve.width/2-he.width/2,he=ve.y+ve.height/2-he.height/2,ne<se?x.mm(te(ne,b.x,E-b.x,se),te(ne,b.y,he-b.y,se),!1):x.position=new Lt(te(ne,b.x,E-b.x,se),te(ne,b.y,he-b.y,se))}),y.add("desiredSize",function(x,b,E,te,ne,se){x.desiredSize=new Mn(te(ne,b.width,E.width-b.width,se),te(ne,b.height,E.height-b.height,se))}),y.add("width",function(x,b,E,te,ne,se){x.width=te(ne,b,E-b,se)}),y.add("height",function(x,b,E,te,ne,se){x.height=te(ne,b,E-b,se)}),y.add("fill",function(x,b,E,te,ne,se){x.fill=ms(b,E,ne,se,te)}),y.add("stroke",function(x,b,E,te,ne,se){x.stroke=ms(b,E,ne,se,te)}),y.add("strokeWidth",function(x,b,E,te,ne,se){x.strokeWidth=te(ne,b,E-b,se)}),y.add("strokeDashOffset",function(x,b,E,te,ne,se){x.strokeDashOffset=te(ne,b,E-b,se)}),y.add("background",function(x,b,E,te,ne,se){x.background=ms(b,E,ne,se,te)}),y.add("areaBackground",function(x,b,E,te,ne,se){x.areaBackground=ms(b,E,ne,se,te)}),y.add("opacity",function(x,b,E,te,ne,se){x.opacity=te(ne,b,E-b,se)}),y.add("scale",function(x,b,E,te,ne,se){x.scale=te(ne,b,E-b,se)}),y.add("angle",function(x,b,E,te,ne,se){x.angle=te(ne,b,E-b,se)}),Wl=y}Pt.Object.defineProperties(ea.prototype,{animationReasons:{get:function(){return this.Zd}},isEnabled:{get:function(){return this.Jd},set:function(a){(this.Jd=a)&&this.Ei.each(function(y){y.isAnimating||y.runCount!==1/0||y.start()})}},duration:{get:function(){return this.Dg},set:function(a){1>a&&Kn(a,">= 1",ea,"duration"),this.Dg=a}},isAnimating:{get:function(){return this.bc}},isTicking:{get:function(){return this.vq}},isInitial:{get:function(){return this.Gh},set:function(a){this.Gh=a}},defaultAnimation:{get:function(){return this.ce}},activeAnimations:{get:function(){return this.Ei}},initialAnimationStyle:{get:function(){return this.Pk},set:function(a){this.Pk=a}}}),ea.prototype.stopAnimation=ea.prototype.Cc;var Wl=null,El=!1,ql=new wn(ea,"Default",1),eu=new wn(ea,"AnimateLocations",2),Hl=new wn(ea,"None",3);ea.className="AnimationManager",ea.defineAnimationEffect=function(a,y){El||(pl(),El=!0),Wl.add(a,y)},ea.Default=ql,ea.AnimateLocations=eu,ea.None=Hl;function ra(a){this.vu=this.Nw=this.Yd=this.H=null,this.Xk=this.bc=this.j=!1,this.cn=this.Qd=0,this.Lp=this.ot=tu,this.Wk=this.ho=!1,this.cu=1,this.au=0,this.Gd=this.Dg=NaN,this.gw=0,this.dn=null,this.o=Li,this.vc=new pr,this.Tt=new pr,this.yl=new On,this.Ut=new On,this.dw=xh,a&&Object.assign(this,a)}ra.prototype.suspend=function(){this.Xk=!0},ra.prototype.advanceTo=function(a,y){y&&(this.Xk=!1),this.ho&&a>=this.Gd&&(this.Wk=!0,a-=this.Gd),this.gw=a,Ul(this,!0),pa(this.Yd),ol(this.H),Qa(this.Yd),this.H.redraw()};function Ms(a,y){if(a.Tt.clear(),a.Wk=!1,a.au=0,a.Gd=NaN,0<a.yl.count&&a.yl.clear(),0<a.Ut.count&&a.Ut.clear(),y!==null)for(a=y.links;a.next();)a.value.Tg=null}ot=ra.prototype,ot.start=function(){if(this.vc.count===0||this.bc)return this;for(var a=this.H,y=this.vc.iterator;y.next();){var x=y.key;a===null&&(x instanceof hn?a=x:x instanceof qt&&(a=x.diagram))}if(a!==null)this.H=a,this.Yd=a.animationManager;else return this;return y=this.Yd,y.isEnabled===!1?this:(this.Gd=isNaN(this.Dg)?y.duration:this.Dg,this.Lp=this.ot,y.Ok&&y.Pk===ql&&this===y.defaultAnimation&&(this.Lp=Mu,this.Gd=isNaN(this.Dg)?y.duration===600?900:y.duration:this.Dg),this.dw=a.scrollMode,this.isViewportUnconstrained&&(a.sj=vf),pa(y),this.yl.each(function(b){b.data=null,a.add(b)}),Qa(y),this.bc=!0,this.Qd=+new Date,this.cn=this.Qd+this.Gd,ta(y,this),this)},ot.Iy=function(a,y){return a.Zc()?(this.yl.add(a),this.H=y,this):this},ot.add=function(a,y,x,b,E){if(y==="position"&&x.Xa(b))return this;if(this.H===null&&(a instanceof hn?this.H=a:a instanceof qt&&a.diagram!==null&&(this.H=a.diagram)),a instanceof kr){if(!a.isAnimated)return this;y==="position"&&(y="position:part")}return Za(this,a,y,x,b,E),this};function Za(a,y,x,b,E,te){var ne=a.vc;if(y instanceof hn&&x==="position"&&(x="position:diagram"),(x==="fill"||x==="stroke"||x==="background"||x==="areaBackground")&&(eh(b),s0(),b=[Yl.j,Yl.u,Yl.o,Yl.F],eh(E),s0(),E=[Yl.j,Yl.u,Yl.o,Yl.F]),ne.contains(y)){var se=ne.I(y),he=se.start,ve=se.end;he[x]===void 0&&(he[x]=ya(b)),ve[x]=ya(E)}else he={},ve={},he[x]=ya(b),ve[x]=ya(E),se=he.position,y instanceof qt&&se instanceof Lt&&!se.w()&&y.diagram.animationManager.Zd.contains("Expand SubGraph")&&se.assign(ve.position),se=new Vu(he,ve,te),ne.add(y,se);ne=he[x],ne instanceof Lt&&!ne.w()&&ne.assign(a.o),te&&x.indexOf("position:")===0&&y instanceof kr?se.Ku.location=ya(y.location):te&&(se.Ku[x]=ya(b))}function ya(a){return a instanceof Lt||a instanceof qn?a.copy():a}ot.fv=function(a){return this.bc?(a=this.vc.I(a),a!==null&&a.nv):!1},ot.Xu=function(a){return this.bc?(a=this.vc.I(a),a!==null&&(a.start.position||a.start.location)):!1};function Ul(a,y){if(!a.Xk||y){var x=a.Yd;if(a.bc!==!1){var b=+new Date,E=b>a.cn?a.Gd:b-a.Qd;y&&(E=a.gw,E<a.Gd?(a.Qd=+new Date-E,a.cn=a.Qd+a.Gd):E=a.Gd),pa(x),oc(a,E),ol(a.H,!0),Qa(x),b>a.cn&&(a.ho&&!a.Wk?(a.Qd=+new Date,a.cn=a.Qd+a.Gd,a.Wk=!0):a.Ml(!1))}}}function oc(a,y){for(var x=a.Gd,b=a.vc.iterator,E=a.Wk;b.next();){var te=b.key;if(!(te instanceof qt&&te.diagram===null)){var ne=b.value,se=E?ne.end:ne.start;ne=E?ne.start:ne.end;var he=Wl,ve;for(ve in ne)ve==="position"&&(ne["position:placeholder"]||ne["position:nodeCollapse"])||he.get(ve)===null||he.get(ve)(te,se[ve],ne[ve],a.Lp,y,x,a)}}}ot.stop=function(){return this.bc?(this.Ml(!0),this):this},ot.Ml=function(a){if(this.vu!==null&&this.vu.jo.remove(this.Nw),this.bc){var y=this.H,x=this.Yd;this.Xk=this.bc=x.Ok=!1,pa(x);for(var b=this.vc,E=this.yl.iterator;E.next();)y.remove(E.value);for(E=this.Ut.iterator;E.next();)E.value.v();E=this.ho,b=b.iterator;for(var te=Wl;b.next();){var ne=b.key,se=b.value,he=E?se.end:se.start,ve=E?se.start:se.end,Se=se.Ku,Be;for(Be in ve)if(te.get(Be)!==null){var Ve=Be;!se.Hu||Ve!=="position:nodeCollapse"&&Ve!=="position:placeholder"||(Ve="position"),te.get(Ve)(ne,he[Be],Se[Be]!==void 0?Se[Be]:se.Hu?he[Be]:ve[Be],this.Lp,this.Gd,this.Gd,this)}se.Hu&&Se.location!==void 0&&ne instanceof kr&&(ne.location=Se.location),se.nv&&ne instanceof kr&&ne.Zb(!1)}if(y.As.clear(),Vh(y,!1),y.Ya(),y.N(),ol(y,!0),x.defaultAnimation===this){for(Be=x.pr.iterator;Be.next();)E=Be.value,E.Tg!==null&&(E.points=E.Tg,E.Tg=null);x.pr.clear()}ol(y,!0),this.isViewportUnconstrained&&(y.scrollMode=this.dw),Qa(x),this.au++,!a&&this.cu>this.au?(this.Wk=!1,this.start()):(this.dn&&this.dn(this),Ms(this,null),x.Ml(this),y.$b())}},ot.Cj=function(a,y){var x=y.actualBounds,b=null;if(y instanceof ii&&(b=y.placeholder),b!==null?(x=b.ga(Xa),b=b.padding,x.x+=b.left,x.y+=b.top,this.add(a,"position",x,a.position,!1)):this.add(a,"position",new Lt(x.x+x.width/2,x.y+x.height/2),a.position,!1),this.add(a,"scale",.01,a.scale,!1),a instanceof ii)for(a=a.memberParts;a.next();)b=a.value,b instanceof sr&&this.Cj(b,y)},ot.Aj=function(a,y){if(a.isVisible()){var x=null;if(y instanceof ii&&(x=y.placeholder),x!==null){var b=x.ga(Xa);x=x.padding,b.x+=x.left,b.y+=x.top,this.add(a,"position:placeholder",a.position,b,!0)}else this.add(a,"position:nodeCollapse",a.position,y,!0);if(this.add(a,"scale",a.scale,.01,!0),b=this.vc,b.contains(a)&&(b.I(a).nv=!0),a instanceof ii)for(a=a.memberParts;a.next();)b=a.value,b instanceof sr&&this.Aj(b,y)}},ot.Ez=function(a){var y=this.Tt.get(a);return y===null&&(y={},this.Tt.add(a,y)),y},Pt.Object.defineProperties(ra.prototype,{duration:{get:function(){return this.Dg},set:function(a){1>a&&Kn(a,">= 1",ra,"duration"),this.Dg=a}},reversible:{get:function(){return this.ho},set:function(a){this.ho=a}},runCount:{get:function(){return this.cu},set:function(a){0<a?this.cu=a:Ht("Animation.runCount value must be a positive integer.")}},finished:{get:function(){return this.dn},set:function(a){this.dn!==a&&(this.dn=a)}},easing:{get:function(){return this.ot},set:function(a){this.ot=a}},isViewportUnconstrained:{get:function(){return this.j},set:function(a){this.j=a}},isAnimating:{get:function(){return this.bc}}}),ra.prototype.getTemporaryState=ra.prototype.Ez,ra.prototype.stop=ra.prototype.stop,ra.prototype.add=ra.prototype.add,ra.prototype.addTemporaryPart=ra.prototype.Iy;function tu(a,y,x,b){return a/=b/2,1>a?x/2*a*a+y:-x/2*(--a*(a-2)-1)+y}function Mu(a,y,x,b){return a===b?y+x:x*(-Math.pow(2,-10*a/b)+1)+y}ra.className="Animation",ra.EaseLinear=function(a,y,x,b){return x*a/b+y},ra.EaseInOutQuad=tu,ra.EaseInQuad=function(a,y,x,b){return x*(a/=b)*a+y},ra.EaseOutQuad=function(a,y,x,b){return-x*(a/=b)*(a-2)+y},ra.EaseInExpo=function(a,y,x,b){return a===0?y:x*Math.pow(2,10*(a/b-1))+y},ra.EaseOutExpo=Mu;function Vu(a,y,x){this.start=a,this.end=y,this.Ku={},this.Hu=x,this.nv=!1}Vu.className="AnimationState";function Al(a,y,x){this.xd=null,this.rf=a,this.so=x||ba,this.uk=null,y!==void 0&&(this.uk=y,x===void 0&&(this.so=us))}Al.prototype.copy=function(){var a=new Al(this.rf);a.so=this.so;var y=this.uk;if(y!==null){var x={};y.duration!==void 0&&(x.duration=y.duration),y.finished!==void 0&&(x.finished=y.finished),y.easing!==void 0&&(x.easing=y.easing),a.uk=x}return a};function _o(a,y){a=a.uk,a!==null&&(a.duration&&(y.duration=a.duration),a.finished&&(y.finished=a.finished),a.easing&&(y.easing=a.easing))}Pt.Object.defineProperties(Al.prototype,{propertyName:{get:function(){return this.rf},set:function(a){this.rf=a}},animationSettings:{get:function(){return this.uk},set:function(a){this.uk=a}},startCondition:{get:function(){return this.so},set:function(a){this.so=a}}});var ba=new wn(Al,"Default",1),us=new wn(Al,"Immediate",2),Ca=new wn(Al,"Bundled",3);Al.className="AnimationTrigger",Al.Default=ba,Al.Immediate=us,Al.Bundled=Ca;function Vo(a){hi(this),this.H=null,this.Pa=new Dn,this.xa="",this.pb=1,this.o=!1,this.j=this.Uh=this.u=this.Oi=this.Ni=this.Mi=this.Li=this.Ji=this.Ki=this.Ii=this.Qi=this.Hi=this.Pi=this.Gi=this.Fi=!0,this.Zq=[],a&&Object.assign(this,a)}ot=Vo.prototype,ot.clear=function(){for(var a=this.Pa,y=0;y<a.length;y++){var x=a.s[y];x.Ig=null,Ds(x)}a.clear(),this.Zq.length=0},ot.Xe=function(a){this.H=a},ot.toString=function(a){a===void 0&&(a=0);var y='Layer "'+this.name+'"';if(0>=a)return y;for(var x=0,b=0,E=0,te=0,ne=0,se=this.Pa.iterator;se.next();){var he=se.value;he instanceof ii?E++:he instanceof sr?b++:he instanceof _n?te++:he instanceof Vi?ne++:x++}if(se="",0<x&&(se+=x+" Parts "),0<b&&(se+=b+" Nodes "),0<E&&(se+=E+" Groups "),0<te&&(se+=te+" Links "),0<ne&&(se+=ne+" Adornments "),1<a)for(a=this.Pa.iterator;a.next();)x=a.value,se+=`
`+x.toString(),b=x.data,b!==null&&_r(b)&&(se+=" #"+_r(b)),x instanceof sr?se+=" "+jn(b):x instanceof _n&&(se+=" "+jn(x.fromNode)+" "+jn(x.toNode));return y+" "+this.Pa.count+": "+se},ot.ic=function(a,y,x){if(y===void 0&&(y=null),x===void 0&&(x=null),this.Uh===!1)return null;var b=!1;this.diagram!==null&&this.diagram.viewportBounds.ca(a)&&(b=!0);for(var E=Lt.alloc(),te=this.Pa.s,ne=te.length;ne--;){var se=te[ne];if((b!==!0||td(se)!==!1)&&se.isVisible()&&(E.assign(a),bi(E,se.oe),se=se.ic(E,y,x),se!==null&&(y!==null&&(se=y(se)),se!==null&&(x===null||x(se)))))return Lt.free(E),se}return Lt.free(E),null},ot.ji=function(a,y,x,b){if(y===void 0&&(y=null),x===void 0&&(x=null),b instanceof Dn||b instanceof On||(b=new On),this.Uh===!1)return b;var E=!1;this.diagram!==null&&this.diagram.viewportBounds.ca(a)&&(E=!0);for(var te=Lt.alloc(),ne=this.Pa.s,se=ne.length;se--;){var he=ne[se];if((E!==!0||td(he)!==!1)&&he.isVisible()){te.assign(a),bi(te,he.oe);var ve=he;he.ji(te,y,x,b)&&(y!==null&&(ve=y(ve)),ve===null||x!==null&&!x(ve)||b.add(ve))}}return Lt.free(te),b},ot.Cf=function(a,y,x,b,E){if(y===void 0&&(y=null),x===void 0&&(x=null),b===void 0&&(b=!1),E instanceof Dn||E instanceof On||(E=new On),this.Uh===!1)return E;var te=!1;this.diagram!==null&&this.diagram.viewportBounds.Re(a)&&(te=!0);for(var ne=this.Pa.s,se=ne.length;se--;){var he=ne[se];if((te!==!0||td(he)!==!1)&&he.isVisible()){var ve=he;he.Cf(a,y,x,b,E)&&(y!==null&&(ve=y(ve)),ve===null||x!==null&&!x(ve)||E.add(ve))}}return E},ot.Nu=function(a,y,x,b,E,te,ne){if(this.Uh===!1)return E;for(var se=this.Pa.s,he=se.length;he--;){var ve=se[he];if((ne!==!0||td(ve)!==!1)&&te(ve)&&ve.isVisible()){var Se=ve;ve.Cf(a,y,x,b,E)&&(y!==null&&(Se=y(Se)),Se===null||x!==null&&!x(Se)||E.add(Se))}}return E},ot.og=function(a,y,x,b,E,te){if(x===void 0&&(x=null),b===void 0&&(b=null),E===void 0&&(E=!0),E!==!1&&E!==!0&&((E instanceof Dn||E instanceof On)&&(te=E),E=!0),te instanceof Dn||te instanceof On||(te=new On),this.Uh===!1)return te;var ne=!1;this.diagram!==null&&this.diagram.viewportBounds.ca(a)&&(ne=!0);for(var se=Lt.alloc(),he=Lt.alloc(),ve=this.Pa.s,Se=ve.length;Se--;){var Be=ve[Se];if((ne!==!0||td(Be)!==!1)&&Be.isVisible()){se.assign(a),bi(se,Be.oe),he.h(a.x+y,a.y),bi(he,Be.oe);var Ve=Be;Be.og(se,he,x,b,E,te)&&(x!==null&&(Ve=x(Ve)),Ve===null||b!==null&&!b(Ve)||te.add(Ve))}}return Lt.free(se),Lt.free(he),te},ot.Fd=function(a,y){if(this.visible){var x=this.Pa.s,b=x.length;if(b!==0){a=yn();for(var E=yn(),te=0;te<b;te++){var ne=x[te];if(ne.vw=te,ne instanceof _n){if(ne.fd===!1)continue}else if(ne instanceof Vi&&ne.adornedPart!==null)continue;var se=ne.actualBounds;ne.isVisible()&&Ao(se,y)?(ne.Fd(!0),a.push(ne)):(ne.Fd(!1),ne.adornments!==null&&0<ne.adornments.count&&E.push(ne))}for(y=0;y<a.length;y++)for(x=a[y],I0(x),x=x.adornments;x.next();)b=x.value,b.measure(1/0,1/0),b.arrange(),b.Fd(!0);for(y=0;y<E.length;y++)I0(E[y]);Tn(a),Tn(E)}}};function vs(a,y){var x=1;return a.pb!==1&&(x=y.globalAlpha,y.globalAlpha=x*a.pb),x}ot.gc=function(a,y,x){if(this.visible&&this.pb!==0&&(x===void 0&&(x=!0),x||!this.isTemporary)){x=this.Pa.s;var b=x.length;if(b!==0){if(a.isTemporary)for(var E=0;E<b;E++)x[E].Gj();E=vs(this,a);var te=this.Zq;te.length=0;for(var ne=y.scale,se=Mn.alloc(),he=0;he<b;he++)this.Oj(a,x[he],y,te,ne,se,!0);if(Mn.free(se),a.isTemporary)for(y=0;y<b;y++)x[y].Gj();a.globalAlpha=E}}};function gl(a,y,x,b,E){if(a.visible&&a.pb!==0&&(E||!a.isTemporary)){E=a.Pa.s;var te=E.length;if(te!==0){var ne=vs(a,y),se=a.Zq;se.length=0;for(var he=x.scale,ve=Mn.alloc(),Se=0;Se<te;Se++){var Be=E[Se];b.contains(Be)&&a.Oj(y,Be,x,se,he,ve,!1)}Mn.free(ve),y.globalAlpha=ne}}}ot.Oj=function(a,y,x,b,E,te,ne){if(ne&&!td(y))a.Hs(y);else{if(b!==null&&y instanceof _n&&(y.isOrthogonal&&b.push(y),y.fd===!1)){a.Hs(y);return}for(ne=!1,b=y.containingGroup;b!==null;)ne?b.tb!==null&&te.Ex(b.tb):b.tb!==null&&(ne=!0,te.assign(b.tb)),b=b.containingGroup;var se=y.actualBounds;if(b=!1,ne&&y.isVisible()){if(!te.Yc(se)){a.Hs(y);return}b=!te.Re(se)}b&&(a.save(),a instanceof Ml?a.bk=te.copy():(a.beginPath(),a.rect(te.x,te.y,te.width,te.height),a.clip())),se.width*E>x.Oq||se.height*E>x.Oq?y.gc(a,x):(E=y.actualBounds,te=y.naturalBounds,E.width===0||E.height===0||isNaN(E.x)||isNaN(E.y)||!y.isVisible()||(x=y.transform,y.areaBackground!==null&&(sa(y,a,y.areaBackground,!0,!0,te,E),a.fillRect(E.x,E.y,E.width,E.height)),y.areaBackground===null&&y.background===null&&(sa(y,a,"rgba(0,0,0,0.3)",!0,!1,te,E),a.fillRect(E.x,E.y,E.width,E.height)),y.background!==null&&(a.transform(x.m11,x.m12,x.m21,x.m22,x.dx,x.dy),sa(y,a,y.background,!0,!1,te,E),a.fillRect(0,0,te.width/2,te.height/2),x.ws()||(y=1/(x.m11*x.m22-x.m12*x.m21),a.transform(x.m22*y,-x.m12*y,-x.m21*y,x.m11*y,y*(x.m21*x.dy-x.m22*x.dx),y*(x.m12*x.dx-x.m11*x.dy)))))),b&&(a.restore(),a.Vc(!0))}},ot.g=function(a,y,x,b,E){var te=this.diagram;te!==null&&te.cb(Ko,a,this,y,x,b,E)},ot.oi=function(a,y,x){var b=this.Pa;if(y.Ig=this,this===null&&Ds(y),a>=b.count)a=b.count;else if(b.M(a)===y)return-1;return b.Gb(a,y),y.Vo(x),b=this.diagram,b!==null&&(x?b.N():b.oi(y)),gu(this,a,y),a},ot.pc=function(a,y,x){if(!x&&y.layer!==this&&y.layer!==null)return y.layer.pc(a,y,x);var b=this.Pa;if(0>a||a>=b.length){if(a=b.indexOf(y),0>a)return-1}else if(b.M(a)!==y&&(a=b.indexOf(y),0>a))return-1;return y.Wo(x),b.mb(a),b=this.diagram,b!==null&&(x?b.N():b.pc(y)),y.Ig=null,Ds(y),a};function gu(a,y,x){if(y=cf(a,y,x),x instanceof ii&&x!==null&&isNaN(x.zOrder)){if(x.memberParts.count!==0){for(var b=-1,E=a.Pa.s,te=E.length,ne=0;ne<te;ne++){var se=E[ne];if(se===x&&(y=ne,0<=b)||0>b&&se.containingGroup===x&&(b=ne,0<=y))break}!(0>b)&&b<y&&(E=a.Pa,E.mb(y),E.Gb(b,x))}y=x.containingGroup,y!==null&&gu(a,-1,y)}x.svg!==null&&x.svg.remove()}function cf(a,y,x){var b=x.zOrder;if(isNaN(b))return y;a=a.Pa;var E=a.count;if(1>=E)return y;if(0>y&&(y=a.indexOf(x)),0>y)return-1;for(var te=y-1,ne=NaN;0<=te&&(ne=a.M(te).zOrder,!!isNaN(ne));)te--;for(var se=y+1,he=NaN;se<E&&(he=a.M(se).zOrder,!!isNaN(he));)se++;if(!isNaN(ne)&&ne>b)for(;;){if(te===-1||ne<=b){if(te++,te===y)break;return a.mb(y),a.Gb(te,x),te}for(ne=NaN;0<=--te&&(ne=a.M(te).zOrder,isNaN(ne)););}else if(!isNaN(he)&&he<b)for(;;){if(se===E||he>=b){if(se--,se===y)break;return a.mb(y),a.Gb(se,x),se}for(he=NaN;++se<E&&(he=a.M(se).zOrder,isNaN(he)););}return y}Pt.Object.defineProperties(Vo.prototype,{parts:{get:function(){return this.Pa.iterator}},partsBackwards:{get:function(){return this.Pa.iteratorBackwards}},diagram:{get:function(){return this.H}},name:{get:function(){return this.xa},set:function(a){var y=this.xa;if(y!==a){var x=this.diagram;if(x!==null)for(y===""&&Ht("Cannot rename default Layer to: "+a),x=x.layers;x.next();)x.value.name===a&&Ht("Layer.name is already present in this diagram: "+a);for(this.xa=a,this.g("name",y,a),a=this.Pa.iterator;a.next();)a.value.layerName=this.xa}}},opacity:{get:function(){return this.pb},set:function(a){var y=this.pb;y!==a&&((0>a||1<a)&&Kn(a,"0 <= value <= 1",Vo,"opacity"),this.pb=a,this.g("opacity",y,a),a=this.diagram,a!==null&&a.N())}},isTemporary:{get:function(){return this.o},set:function(a){var y=this.o;y!==a&&((this.o=a)&&(this.isInDocumentBounds=!1),this.g("isTemporary",y,a))}},visible:{get:function(){return this.u},set:function(a){var y=this.u;if(y!==a){for(this.u=a,this.g("visible",y,a),y=this.Pa.iterator;y.next();)y.value.Zb(a);a=this.diagram,a!==null&&a.N()}}},pickable:{get:function(){return this.Uh},set:function(a){var y=this.Uh;y!==a&&(this.Uh=a,this.g("pickable",y,a))}},isInDocumentBounds:{get:function(){return this.j},set:function(a){this.j!==a&&(this.j=a,this.diagram!==null&&this.diagram.Ya())}},allowCopy:{get:function(){return this.Fi},set:function(a){var y=this.Fi;y!==a&&(this.Fi=a,this.g("allowCopy",y,a))}},allowDelete:{get:function(){return this.Gi},set:function(a){var y=this.Gi;y!==a&&(this.Gi=a,this.g("allowDelete",y,a))}},allowTextEdit:{get:function(){return this.Pi},set:function(a){var y=this.Pi;y!==a&&(this.Pi=a,this.g("allowTextEdit",y,a))}},allowGroup:{get:function(){return this.Hi},set:function(a){var y=this.Hi;y!==a&&(this.Hi=a,this.g("allowGroup",y,a))}},allowUngroup:{get:function(){return this.Qi},set:function(a){var y=this.Qi;y!==a&&(this.Qi=a,this.g("allowUngroup",y,a))}},allowLink:{get:function(){return this.Ii},set:function(a){var y=this.Ii;y!==a&&(this.Ii=a,this.g("allowLink",y,a))}},allowRelink:{get:function(){return this.Ki},set:function(a){var y=this.Ki;y!==a&&(this.Ki=a,this.g("allowRelink",y,a))}},allowMove:{get:function(){return this.Ji},set:function(a){var y=this.Ji;y!==a&&(this.Ji=a,this.g("allowMove",y,a))}},allowReshape:{get:function(){return this.Li},set:function(a){var y=this.Li;y!==a&&(this.Li=a,this.g("allowReshape",y,a))}},allowResize:{get:function(){return this.Mi},set:function(a){var y=this.Mi;y!==a&&(this.Mi=a,this.g("allowResize",y,a))}},allowRotate:{get:function(){return this.Ni},set:function(a){var y=this.Ni;y!==a&&(this.Ni=a,this.g("allowRotate",y,a))}},allowSelect:{get:function(){return this.Oi},set:function(a){var y=this.Oi;y!==a&&(this.Oi=a,this.g("allowSelect",y,a))}}}),Vo.prototype.findObjectsNear=Vo.prototype.og,Vo.prototype.findObjectsIn=Vo.prototype.Cf,Vo.prototype.findObjectsAt=Vo.prototype.ji,Vo.prototype.findObjectAt=Vo.prototype.ic,Vo.className="Layer";function hn(a,y){if(hm||(Ts(),hm=!0),hi(this),Xu=this,this.vb=!0,this.Ka=null,this.ya=this.Aa=0,this.ta=null,ia){var x=this,b=function(){x.removeEventListener(Dt.document,"DOMContentLoaded",b,!1),x.setRTL()};Dt.document.body!==null?this.setRTL():x.addEventListener(Dt.document,"DOMContentLoaded",b,!1)}this.ol=null,rp.add("Model",fo);var E=this;return this.Hb=function(te){var ne=E.partManager;if(te.model===ne.diagram.model&&ne.diagram.aa){ne.diagram.aa=!1;try{var se=te.change;te.modelChange===""&&se===Ko&&ne.updateDataBindings(te.object,te.propertyName)}finally{ne.diagram.aa=!0}}},this.Oc=function(te){E.partManager.doModelChanged(te)},this.hu=this.ku=null,hf(this),this.model=hy(),this.Wg=!0,Xh(this),this.layout=new Go,this.Wg=!1,this.ck=this.ek=this.fk=this.dk=this.ui=this.aA=this.$j=this.Ov=null,this.hk=function(){},this.preventDefault=null,this.rn=!1,this.Yf=new dm,a!==void 0&&(typeof a=="string"||Dt.Element&&a instanceof Element?Md(this,a):y=a),this.vb=!1,y&&this.nm(y),this}var Cc,Xu;function hf(a){a.Yd=new ea,a.Yd.Xe(a),a.Db=17,a.Gw=!1,a.tn=!1,a.bu="default",a.Wa=new Dn,a.pj=new pr,a.nl="default",a.Tx(),a.Sx(),a.pb=1,a.pa=new Lt(NaN,NaN).freeze(),a.du=new Lt(NaN,NaN),a.Ca=1,a.Pp=1,a.zt=new Lt(NaN,NaN).freeze(),a.At=NaN,a.Ot=1e-4,a.Mt=100,a.Ab=new mi,a.zu=new Lt(NaN,NaN).freeze(),a.ut=new Mn(NaN,NaN,NaN,NaN).freeze(),a.rj=new Or(0,0,0,0).freeze(),a.sj=xh,a.nu=!1,a.Zt=null,a.fu=null,a.yh=Bs,a.zk=io,a.Fg=Bs,a.pq=io,a.yt=Xa,a.Bt=Xa,a.Fc=!0,a.pn=!1,a.De=new On,a.Eh=new pr,a.Xm=!0,a.vp=250,a.vk=-1,a.xp=new Or(16,16,16,16).freeze(),a.kg=!1,a.Jk=!1,a.fn=!0,a.bq=new bs,a.bq.diagram=a,a.Qg=new bs,a.Qg.diagram=a,a.cj=new bs,a.cj.diagram=a,a.zg=null,a.pf=null,a.qu=!1,n0(a),a.ai=new On,a.Ht=!0,a.uu=wh,a.pw=!1,a.wu=mf,a.it="auto",a.Op="auto",a.zh=null,a.Fh=null,a.Bh=null,a.Qh=null,a.Oh=null,a.Nh=null,a.Qt=null,a.Lh=null,a.xt=!1,a.Mh=null,a.Ph=null,a.$h=null,a.Ch=null,a.Rt=!1,a.Yt={},a.oj=[null,null],a.Wg=!1,a.Iw=!1,a.ou=!1,a.lt=!1,a.rw=!0,a.ld=!1,a.$i=!1,a.Tw=!0,a.Ce=-2,a.Og=new pr,a.Xn=new Dn,a.Gg=!1,a.Jd=!0,a.Us=!0,a.Fi=!0,a.Gi=!0,a.Vs=!1,a.Ws=!0,a.Pi=!0,a.Hi=!0,a.Qi=!0,a.Ys=!0,a.Ii=!0,a.Ki=!0,a.Ji=!0,a.Li=!0,a.Mi=!0,a.Ni=!0,a.Oi=!0,a.Zs=!0,a.at=!0,a.qw=!1,a.Vk=!1,a.mn=!0,a.nn=!0,a.Xs=!0,a.$s=!0,a.iu=16,a.mu=16,a.qr=!1,a.gu=!1,a.lu=0,a.ju=0,a.yb=new Or(5).freeze(),a.Hw=new On().freeze(),a.Nt=999999999,a.nw=new On().freeze(),a.Zi=!0,a.Ee=!0,a.vd=!0,a.Be=!1,a.gf=!1,a.xh=!0,a.hf=!1,a.sy=new On,a.ow=new On,a.Xh=null,a.aw=new qn(8,8),a.bw=999,a.Bw=1,a.Jw=0,a.fc={scale:1,position:new Lt,bounds:new Mn,Py:new qn,bA:new qn,Oz:!1},a.fc.canvasSize=a.fc.Py,a.fc.newCanvasSize=a.fc.bA,a.fc.isScroll=!1,a.Rw=new Mn(NaN,NaN,NaN,NaN).freeze(),a.wo=new qn(NaN,NaN).freeze(),a.Sp=new Mn(NaN,NaN,NaN,NaN).freeze(),a.It=!1,a.Lg=new pr;var y=new sr,x=new Lo;x.bind(new Pa("text","",jn)),y.add(x),a.ny=y,a.Lg.add("",y),y=new sr,x=new Lo,x.stroke="brown",x.bind(new Pa("text","",jn)),y.add(x),a.Lg.add("Comment",y),y=new sr,y.selectable=!1,y.avoidable=!1,x=new pi,x.figure="Ellipse",x.fill="black",x.stroke=null,x.desiredSize=new qn(3,3).ja(),y.add(x),a.Lg.add("LinkLabel",y),a.Yi=new pr,y=new ii,y.selectionObjectName="GROUPPANEL",y.type=Xn.Vertical,x=new Lo,x.font="bold 12pt sans-serif",x.bind(new Pa("text","",jn)),y.add(x),x=new Xn(Xn.Auto),x.name="GROUPPANEL";var b=new pi;b.figure="Rectangle",b.fill="rgba(128,128,128,0.2)",b.stroke="black",x.add(b),b=new Vs,b.padding=new Or(5,5,5,5).ja(),x.add(b),y.add(x),a.ly=y,a.Yi.add("",y),a.Kh=new pr,y=new _n,x=new pi,x.isPanelMain=!0,y.add(x),x=new pi,x.toArrow="Standard",x.fill="black",x.stroke=null,x.strokeWidth=0,y.add(x),a.my=y,a.Kh.add("",y),y=new _n,x=new pi,x.isPanelMain=!0,x.stroke="brown",y.add(x),a.Kh.add("Comment",y),y=new Vi,y.type=Xn.Auto,x=new pi,x.fill=null,x.stroke="dodgerblue",x.strokeWidth=3,y.add(x),x=new Vs,x.margin=new Or(1.5,1.5,1.5,1.5).ja(),y.add(x),a.St=y,a.wt=y,y=new Vi,y.type=Xn.Link,x=new pi,x.isPanelMain=!0,x.fill=null,x.stroke="dodgerblue",x.strokeWidth=3,y.add(x),a.Kt=y,a.fe=null,a.mq=!1,a.Ck=null,a.partManager=new fo,a.toolManager=new Wo,a.toolManager.initializeStandardTools(),a.defaultTool=a.toolManager,a.currentTool=a.defaultTool,a.nt=null,a.Wm=new de,a.Vt=null,a.Wt=null,a.Mr=!1,a.commandHandler=Qc(),a.eq=null,a.fq=wo,a.Pw=!1,a.Mb=1,a.Yh=null,a.Oq=1,a.Sq=0,a.zw=[0,0,0,0,0],a.Tq=0,a.yq=1,a.tw=0,a.uw=new Lt,a.zy=500,a.wp=new Lt,a.wq=!1}hn.prototype.clear=function(){this.animationManager.Cc(),this.model.clear(),jd=null,_h="",gh(this,!1),this.Xn.clear(),mp(),this.Og.clear(),this.Xh=null,this.Ya(),this.Va(),this.N()};function gh(a,y){a.animationManager.Cc(!0),a.Hw=new On().freeze(),a.nw=new On().freeze();var x=a.skipsUndoManager,b=a.cc!==null&&a.cc!==void 0;b&&(a.skipsUndoManager=!0);var E=null;a.fe!==null&&(E=a.fe.part,E!==null&&a.remove(E));var te=[],ne=a.Wa.length;if(y){for(y=0;y<ne;y++)for(var se=a.Wa.s[y].parts;se.next();){var he=se.value;he!==E&&he.data===null&&te.push(he)}for(y=0;y<te.length;y++)a.remove(te[y])}for(y=0;y<ne;y++)a.Wa.s[y].clear();return a.partManager.clear(),a.De.clear(),a.Eh.clear(),a.ai.clear(),a.Ck=null,a.Xn.clear(),mp(),a.Og.clear(),Nr=[],E!==null&&(a.add(E),a.partManager.parts.remove(E)),b&&(a.skipsUndoManager=x),te}function Qc(){return null}hn.prototype.reset=function(){this.clear(),this.vb=!0,hf(this),lc(this),this.Wg=!0,Xh(this),this.layout=new Go,this.Wg=!1,this.model=hy(),this.model.undoManager=new Yo,this.vb=this.rn=!1,this.N()},hn.prototype.setRTL=function(a){a=a===void 0?this.div:a,a===null&&(a=Dt.document.body);var y=Gn("div");y.dir="rtl",y.style.cssText="font-size: 14px; width: 1px; height: 1px; position: absolute; top: -1000px; overflow: scroll;",y.textContent="A",a.appendChild(y);var x="reverse";0<y.scrollLeft?x="default":(y.scrollLeft=1,y.scrollLeft===0&&(x="negative")),a.removeChild(y),this.bu=x},hn.prototype.setScrollWidth=function(a){a=a===void 0?this.div:a,a===null&&(a=Dt.document.body);var y=0;if(ia){var x=cm;y=Cc,x===null&&(x=cm=Gn("p"),x.style.width="100%",x.style.height="200px",x.style.boxSizing="content-box",y=Cc=Gn("div"),y.style.position="absolute",y.style.visibility="hidden",y.style.width="200px",y.style.height="150px",y.style.boxSizing="content-box",y.appendChild(x)),y.style.overflow="hidden",a.appendChild(y);var b=x.offsetWidth;y.style.overflow="scroll",x=x.offsetWidth,b===x&&(x=y.clientWidth),a.removeChild(y),y=b-x,y!==0||Ur||(y=11)}this.Db=y,this.Gw=!0},hn.prototype.qb=function(a){a.classType===hn&&(this.autoScale=a)},hn.prototype.toString=function(a){a===void 0&&(a=0);var y="";if(this.div&&this.div.id&&(y=this.div.id),y='Diagram "'+y+'"',0>=a)return y;for(var x=this.Wa.iterator;x.next();)y+=`
`+x.value.toString(a-1);return y};function Md(a,y){if(ia){if(y!=null||Ht("Diagram setup requires an argument DIV."),a.Ka!==null&&Ht("Diagram has already completed setup."),typeof y=="string"?a.Ka=Dt.document.getElementById(y):y instanceof HTMLDivElement?a.Ka=y:Ht("No DIV or DIV id supplied: "+y),a.Ka===null&&Ht("Invalid DIV id; could not get element with id: "+y),a.Ka.H!==void 0&&Ht("Invalid div id; div already has a Diagram associated with it."),!a.ol&&Dt.ResizeObserver){var x=bn(function(){a.$b()},250);a.ol=new Dt.ResizeObserver(function(){x()}),a.ol.observe(a.Ka)}Dt.getComputedStyle(a.Ka,null).position==="static"&&(a.Ka.style.position="relative"),y=5;var b="rgba(2"+y+"5, 255, 255, 0)";y--,a.Ka.style["-webkit-tap-highlight-color"]=b,a.Ka.innerHTML="",a.Ka.H=a,a.Ka.goDiagram=a,a.Ka.go=Dt.go;var E=new yu(a);if(E.style!==void 0&&(E.style.position="absolute",E.style.top="0px",E.style.left="0px",Dt.getComputedStyle(a.Ka,null).getPropertyValue("direction")==="rtl"&&(a.tn=!0),E.style.zIndex="2",E.style.userSelect="none",E.style.MozUserSelect="none",E.style.touchAction="none",E.style.letterSpacing="normal !important",E.style.wordSpacing="normal !important"),a.ta=E,a.ib=E.context,b=a.ib,a.Mb=a.computePixelRatio(),a.viewSize.w()||(a.Aa=a.Ka.clientWidth||1,a.ya=a.Ka.clientHeight||1),Bd(a,a.Aa,a.ya),a.Ka.insertBefore(E.Oa,a.Ka.firstChild),E=new yu(null),E.width=1,E.height=1,a.jw=E,a.oy=E.context,ia){E=Gn("div");var te=Gn("div");E.style.position="absolute",E.style.overflow="auto",E.style.width=a.Aa+"px",E.style.height=a.ya+"px",E.style.zIndex="1",te.style.position="absolute",te.style.width="1px",te.style.height="1px",a.Ka.appendChild(E),E.appendChild(te),E.onscroll=Yf,E.addEventListener("pointerdown",ff),E.H=a,E.uy=!0,E.vy=!0,a.ku=E,a.hu=te}a.hk=bn(function(){a.Yh=null,a.N()},300),a.Ov=bn(function(){Ld(a)},250),a.preventDefault=function(ne){return ne.preventDefault(),!1},a.$j=function(ne){if(a.isEnabled){var se=ml(a,ne,!0);se.bubbles=!0;var he=0,ve=0;se.delta=0,ne.deltaX!==void 0?(ne.deltaX!==0&&(he=0<ne.deltaX?1:-1),ne.deltaY!==0&&(ve=0<ne.deltaY?1:-1),se.delta=Math.abs(ne.deltaX)>Math.abs(ne.deltaY)?-he:-ve):ne.wheelDeltaX!==void 0?(ne.wheelDeltaX!==0&&(he=0<ne.wheelDeltaX?-1:1),ne.wheelDeltaY!==0&&(ve=0<ne.wheelDeltaY?-1:1),se.delta=Math.abs(ne.wheelDeltaX)>Math.abs(ne.wheelDeltaY)?-he:-ve):ne.wheelDelta!==void 0&&ne.wheelDelta!==0&&(se.delta=0<ne.wheelDelta?1:-1),a.doMouseWheel(),Zl(se,ne)}},a.aA=function(ne){a.isEnabled&&(a.Vk=!1,ml(a,ne,!0),ne=a.currentTool,ne.cancelWaitAfter(),ne.standardMouseOver())},a.ui=function(ne){if(a.isEnabled){a.Vk=!0;var se=a.Yt;se[ne.pointerId]===void 0&&(se[ne.pointerId]=ne),se=a.oj;var he=!1;if(se[0]===null||se[0].pointerId!==ne.pointerId&&se[0].pointerType===ne.pointerType)if(se[1]!==null&&se[1].pointerId===ne.pointerId)se[1]=ne,he=!0;else if(se[0]===null)se[0]=ne;else if(se[1]===null)se[1]=ne,he=!0;else{ne.preventDefault();return}else se[0]=ne;(se=ne.pointerType==="touch"||ne.pointerType==="pen")&&(a.qu=!1,a.wq=!0);var ve=he;he=Dd(a,ne,!0,!1,!0,ve),yh(a,ne,he),he.targetDiagram=Fd(ne,ne.target),he.targetObject=null,ve||he.clone(a.bq),ve=a.uw,se=se?25:10,ne.timeStamp-a.tw<a.zy&&!(Math.abs(ve.x-ne.screenX)>se||Math.abs(ve.y-ne.screenY)>se)?a.yq++:a.yq=1,he.clickCount=a.yq,a.tw=ne.timeStamp,a.uw.sg(ne.screenX,ne.screenY),a.doMouseDown(),ne.button===1?ne.preventDefault():Zl(he,ne)}},a.dk=function(ne){if(a.isEnabled){a.Vk=!0;var se=a.oj;if(se[0]===null||se[0].pointerId!==ne.pointerId&&se[0].pointerType===ne.pointerType){if(se[1]!==null&&se[1].pointerId===ne.pointerId){se[1]=ne;return}if(se[0]===null)se[0]=ne;else return}else se[0]=ne;if(se[0].pointerId===ne.pointerId){se=Dd(a,ne,!1,!1,!1,se[1]!==null);var he=Dt.document.elementFromPoint(ne.clientX,ne.clientY)||null;he!==null&&he.shadowRoot!==void 0&&he.shadowRoot!==null&&(he=he.shadowRoot.elementFromPoint(ne.clientX,ne.clientY));var ve=a,Se=ne;he&&he.H&&(Se=ne,ve=he.H),se.targetDiagram=ve,yh(a,Se,se),se.targetObject=null,a.doMouseMove(),Zl(se,ne)}}},a.fk=function(ne){if(a.isEnabled){a.Vk=!0;var se=ne.pointerType==="touch"||ne.pointerType==="pen",he=a.Yt;if(se&&a.qu)delete he[ne.pointerId],ne.preventDefault();else if(he=a.oj,he[0]===null||he[0].pointerId!==ne.pointerId&&he[0].pointerType===ne.pointerType)he[1]!==null&&he[1].pointerId===ne.pointerId&&(he[1]=null);else{he[0]=null,he=Dd(a,ne,!1,!0,!0,!1);var ve=Dt.document.elementFromPoint(ne.clientX,ne.clientY)||null;ve!==null&&ve.shadowRoot!==void 0&&ve.shadowRoot!==null&&(ve=ve.shadowRoot.elementFromPoint(ne.clientX,ne.clientY)),ve!==null&&ve.H instanceof hn&&ve.H!==a&&yh(ve.H,ne,he),ve===null&&(ve=ne.target),yh(a,ne,he),he.clickCount=a.yq,he.targetDiagram=Fd(ne,ve),he.targetObject=null,a.doMouseUp(),Zl(he,ne),se&&(a.wq=!1)}}},a.ek=function(ne){if(a.isEnabled){a.Vk=!1;var se=a.Yt;se[ne.pointerId]&&delete se[ne.pointerId],se=a.oj,se[0]!==null&&se[0].pointerId===ne.pointerId&&(se[0]=null),se[1]!==null&&se[1].pointerId===ne.pointerId&&(se[1]=null),ne.pointerType!=="touch"&&ne.pointerType!=="pen"&&(ne=a.currentTool,ne.cancelWaitAfter(),ne.standardMouseOver())}},a.ck=function(ne){var se=a.oj;se[0]!==null&&se[0].pointerId===ne.pointerId?(se[0]=null,a.wq=!1):se[1]!==null&&se[1].pointerId===ne.pointerId&&(se[1]=null)},a.Vp=b.Z["d"+Sf[1]+Sf[2]+"wI"+zd.slice(1,5)]["b"+kx.slice(1,y)](b.Z,yf,y,y),b.Vc(!0),Vp(a),a.nl==="svg"&&(y=a.pj.get("svg"),a.Ka.appendChild(y.Oa),a.ib=y.context)}}hn.prototype.addEventListener=function(a,y,x,b){a.addEventListener(y,x,{capture:b,passive:!1})},hn.prototype.removeEventListener=function(a,y,x,b){a.removeEventListener(y,x,{capture:b})};function Vp(a){var y=a.ta.Oa;y instanceof HTMLCanvasElement||(y=a.div),a.addEventListener(y,"pointerdown",a.ui,!1),a.addEventListener(y,"pointermove",a.dk,!1),a.addEventListener(y,"pointerup",a.fk,!1),a.addEventListener(y,"pointerout",a.ek,!1),a.addEventListener(y,"pointercancel",a.ck,!1),a.addEventListener(y,"pointerenter",a.bz,!1),a.addEventListener(y,"pointerleave",a.cz,!1),a.addEventListener(y,"wheel",a.$j,!1),a.addEventListener(y,"keydown",a.Qz,!1),a.addEventListener(y,"keyup",a.Rz,!1),a.addEventListener(y,"blur",a.Ny,!1),a.addEventListener(y,"focus",a.Oy,!1),a.addEventListener(y,"selectstart",function(x){return x.preventDefault(),!1},!1),a.addEventListener(y,"contextmenu",function(x){return x.preventDefault(),!1},!1),a.addEventListener(Dt,"resize",a.Ov,!1)}function Ls(a){30<a.Sq&&(a.Yh=1)}function Vh(a,y){a.Yh!==null&&(a.Yh=null,y&&a.hk(),fr&&fr.nx||(a.Sq=0,a.zw=[0,0,0,0,0],a.Tq=0))}hn.prototype.computePixelRatio=function(){return this.Yh!==null?this.Yh:Dt.devicePixelRatio||1},hn.prototype.doMouseMove=function(){this.currentTool.doMouseMove()},hn.prototype.doMouseDown=function(){this.currentTool.doMouseDown()},hn.prototype.doMouseUp=function(){this.currentTool.doMouseUp()},hn.prototype.doMouseWheel=function(){this.currentTool.doMouseWheel()},hn.prototype.doKeyDown=function(){this.currentTool.doKeyDown()},hn.prototype.doKeyUp=function(){this.currentTool.doKeyUp()},hn.prototype.doFocus=function(){this.focus()},hn.prototype.focus=function(){if(this.ta)if(this.scrollsPageOnFocus)this.ta.focus();else{var a=Dt.scrollX||Dt.pageXOffset,y=Dt.scrollY||Dt.pageYOffset;this.ta.focus(),Dt.scrollTo(a,y)}},hn.prototype.Oy=function(){this.H.R("GainedFocus")},hn.prototype.Ny=function(){this.H.R("LostFocus")};function Ld(a){if(a.ta!==null){var y=a.Ka;if(y!==null&&y.clientWidth!==0&&y.clientHeight!==0){a.Gw||a.setScrollWidth();var x=a.gf?a.Db:0,b=a.Be?a.Db:0,E=a.Mb;a.Mb=a.computePixelRatio(),a.Mb!==E&&(a.pn=!0,a.$b()),(y.clientWidth!==a.Aa+x||y.clientHeight!==a.ya+b)&&(a.Ee=!0,a.Fc=!0,y=a.layout,y!==null&&y.isViewportSized&&a.autoScale===Bs&&(a.Jk=!0,y.C()),a.ld||a.$b())}}}function Xh(a){var y=new Vo;y.name="Background",a.Al(y),y=new Vo,y.name="",a.Al(y),y=new Vo,y.name="Foreground",a.Al(y),y=new Vo,y.name="Adornment",y.isTemporary=!0,y.isInDocumentBounds=!1,a.Al(y),y=new Vo,y.name="Tool",y.isTemporary=!0,y.isInDocumentBounds=!0,a.Al(y),y=new Vo,y.name="Grid",y.allowSelect=!1,y.pickable=!1,y.isTemporary=!0,y.isInDocumentBounds=!1,a.Ww(y,a.Qj("Background"))}function df(a){var y=new Xn(Xn.Grid);y.name="GRID";var x=new pi;return x.figure="LineH",x.stroke="lightgray",x.strokeWidth=.5,x.interval=1,y.add(x),x=new pi,x.figure="LineH",x.stroke="gray",x.strokeWidth=.5,x.interval=5,y.add(x),x=new pi,x.figure="LineH",x.stroke="gray",x.strokeWidth=1,x.interval=10,y.add(x),x=new pi,x.figure="LineV",x.stroke="lightgray",x.strokeWidth=.5,x.interval=1,y.add(x),x=new pi,x.figure="LineV",x.stroke="gray",x.strokeWidth=.5,x.interval=5,y.add(x),x=new pi,x.figure="LineV",x.stroke="gray",x.strokeWidth=1,x.interval=10,y.add(x),x=new kr,x.add(y),x.layerName="Grid",x.zOrder=0,x.isInDocumentBounds=!1,x.isAnimated=!1,x.pickable=!1,x.locationObjectName="GRID",a.add(x),a.partManager.parts.remove(x),y.visible=!1,y}function Yf(){this.H.gu?this.H.gu=!1:this.H.isEnabled?this.H.kx(this):Ac(this.H)}function ff(a){this.H.isEnabled?(this.H.lu=a.target.scrollTop,this.H.ju=a.target.scrollLeft):Ac(this.H)}hn.prototype.kx=function(a){if(this.ta!==null){var y=this.ku,x=this.hu;this.qr=!0;var b=this.documentBounds,E=this.viewportBounds,te=this.rj,ne=b.x-te.left,se=b.y-te.top,he=b.width+te.left+te.right,ve=b.height+te.top+te.bottom,Se=b.right+te.right;te=b.bottom+te.bottom;var Be=E.x;b=E.y;var Ve=E.width,nt=E.height,rt=E.right,ct=E.bottom;E=this.scale;var kt=a.scrollLeft;if(this.tn)switch(this.bu){case"negative":kt=kt+a.scrollWidth-a.clientWidth;break;case"reverse":kt=a.scrollWidth-kt-a.clientWidth}var Mt=kt;Ve<he||nt<ve?(kt=Lt.allocAt(this.position.x,this.position.y),this.allowHorizontalScroll&&this.ju!==Mt&&(kt.x=Mt/E+ne,this.ju=Mt),this.allowVerticalScroll&&this.lu!==a.scrollTop&&(kt.y=a.scrollTop/E+se,this.lu=a.scrollTop),this.position=kt,Lt.free(kt),this.Ee=this.qr=!1):(kt=Lt.alloc(),a.uy&&this.allowHorizontalScroll&&(ne<Be&&(this.position=kt.h(Mt+ne,this.position.y)),Se>rt&&(this.position=kt.h(-(y.scrollWidth-this.Aa)+Mt-this.Aa/E+Se,this.position.y))),a.vy&&this.allowVerticalScroll&&(se<b&&(this.position=kt.h(this.position.x,a.scrollTop+se)),te>ct&&(this.position=kt.h(this.position.x,-(y.scrollHeight-this.ya)+a.scrollTop-this.ya/E+te))),Lt.free(kt),this.vd=!0,this.Ee=this.qr=!1,b=this.documentBounds,E=this.viewportBounds,Se=b.right,rt=E.right,te=b.bottom,ct=E.bottom,ne=b.x,Be=E.x,se=b.y,b=E.y,Ve>=he&&ne>=Be&&Se<=rt&&(x.style.width="1px"),nt>=ve&&se>=b&&te<=ct&&(x.style.height="1px"))}},hn.prototype.computeBounds=function(a){return a===void 0&&(a=new Mn),cs(this),Td(this,a)};function Td(a,y){if(a.fixedBounds.w())return y.assign(a.fixedBounds),y.Co(a.yb),y;for(var x=!0,b=a.Wa.s,E=b.length,te=0;te<E;te++){var ne=b[te];if(ne.visible&&ne.isInDocumentBounds){ne=ne.Pa.s;for(var se=ne.length,he=0;he<se;he++){var ve=ne[he];ve.isInDocumentBounds&&ve.isVisible()&&(ve=ve.actualBounds,ve.w()&&(x?(x=!1,y.assign(ve)):y.ed(ve)))}}}return x&&y.h(0,0,0,0),y.Co(a.yb),y}hn.prototype.computePartsBounds=function(a,y){y===void 0&&(y=!1);var x=null;if(Cn(a))for(var b=0;b<a.length;b++){var E=a[b];!y&&E instanceof _n||(E.Va(),x===null?x=E.actualBounds.copy():x.ed(E.actualBounds))}else for(a=a.iterator;a.next();)b=a.value,!y&&b instanceof _n||(b.Va(),x===null?x=b.actualBounds.copy():x.ed(b.actualBounds));return x===null?new Mn(NaN,NaN,0,0):x};function Gl(a,y){if((y||a.hf)&&!a.vb&&a.ta!==null&&a.documentBounds.w()){if(a.vb=!0,y){var x=a.initialPosition;if(x.w()){a.vb=!1,a.position=x;return}x=Lt.alloc(),x.xi(a.documentBounds,a.initialDocumentSpot);var b=a.viewportBounds;b=Mn.allocAt(0,0,b.width,b.height);var E=Lt.alloc();E.xi(b,a.initialViewportSpot),E.h(x.x-E.x,x.y-E.y),a.position=E,Mn.free(b),Lt.free(E),Lt.free(x)}x=a.yh,y&&a.Fg!==Bs&&(x=a.Fg);var te=x!==Bs?mh(a,x):a.scale;x=a.pa.x,b=a.pa.y,E=a.Aa/te;var ne=a.ya/te,se=a.zk,he=a.pq;y&&!se.sb()&&(he.sb()||he.Xb())&&(se=he.Xb()?zi:he),pf(a,a.documentBounds,E,ne,se,y),y=a.scale,a.scale=te,a.vb=!1,te=a.viewportBounds,tn.B(te.x,x)&&tn.B(te.y,b)&&tn.B(te.width,E)&&tn.B(te.height,ne)||a.onViewportBoundsChanged(new Mn(x,b,E,ne),te,y,!1)}}function mh(a,y){var x=a.Pp;if(a.ta===null)return x;a.Va();var b=a.documentBounds;if(!b.w())return x;var E=b.width;b=b.height;var te=a.Aa+(a.gf?a.Db:0),ne=a.ya+(a.Be?a.Db:0),se=te/E,he=ne/b;return y===Kl?(y=Math.min(he,se),y>x&&(y=x),y<a.minScale&&(y=a.minScale),y>a.maxScale&&(y=a.maxScale),y):y===$h?(y=he>se?(ne-a.Db)/b:(te-a.Db)/E,y>x&&(y=x),y<a.minScale&&(y=a.minScale),y>a.maxScale&&(y=a.maxScale),y):a.scale}hn.prototype.zoomToFit=function(){var a=this.sj;this.sj=xh,this.scale=mh(this,Kl),a!==xh&&(Gl(this,!1),pf(this,this.documentBounds,this.Aa/this.Ca,this.ya/this.Ca,this.zk,!1)),this.sj=a},ot=hn.prototype,ot.BA=function(a,y){y===void 0&&(y=Kl);var x=a.width,b=a.height;if(!(x===0||b===0||isNaN(x)&&isNaN(b))){var E=1;if(y===Kl||y===$h)if(isNaN(x))E=this.viewportBounds.height*this.scale/b;else if(isNaN(b))E=this.viewportBounds.width*this.scale/x;else{E=this.Aa;var te=this.ya;E=y===$h?te/b>E/x?(te-(this.Be?this.Db:0))/b:(E-(this.gf?this.Db:0))/x:Math.min(te/b,E/x)}this.scale=E,this.position=new Lt(a.x,a.y)}},ot.Jy=function(a,y){this.Va();var x=this.documentBounds,b=this.viewportBounds;this.position=new Lt(x.x+(a.x*x.width+a.offsetX)-(y.x*b.width-y.offsetX),x.y+(a.y*x.height+a.offsetY)-(y.y*b.height-y.offsetY))},ot.zz=function(a){if(a instanceof qt){this.eq=a;var y=Lt.alloc();this.fq=this.op(a.ga(Xa,y)),Lt.free(y)}else this.eq=null,this.fq=wo};function pf(a,y,x,b,E,te){var ne=Lt.allocAt(a.pa.x,a.pa.y),se=ne.x,he=ne.y;if(a.eq!==null){var ve=Lt.alloc();ve=a.eq.ga(Xa,ve),se=ve.x-a.fq.x/a.scale,he=ve.y-a.fq.y/a.scale,E=ua,Lt.free(ve)}(te||a.scrollMode===xh)&&(E.sb()&&(x>y.width&&(se=y.x+(E.x*y.width+E.offsetX)-(E.x*x-E.offsetX)),b>y.height&&(he=y.y+(E.y*y.height+E.offsetY)-(E.y*b-E.offsetY))),E=a.rj,te=x-y.width,x<y.width+E.left+E.right?(se=Math.min(se+x/2,y.right+Math.max(te,E.right)-x/2),se=Math.max(se,y.left-Math.max(te,E.left)+x/2),se-=x/2):se>y.left?se=y.left:se<y.right-x&&(se=y.right-x),x=b-y.height,b<y.height+E.top+E.bottom?(he=Math.min(he+b/2,y.bottom+Math.max(x,E.bottom)-b/2),he=Math.max(he,y.top-Math.max(x,E.top)+b/2),he-=b/2):he>y.top?he=y.top:he<y.bottom-b&&(he=y.bottom-b)),ne.x=isFinite(se)?se:-a.yb.left,ne.y=isFinite(he)?he:-a.yb.top,a.positionComputation!==null&&(y=a.positionComputation(a,ne),ne.x=y.x,ne.y=y.y),gs(a.Yd,a.pa,ne),a.pa.h(ne.x,ne.y),lc(a),Lt.free(ne)}ot.Ol=function(a,y){if(y===void 0&&(y=!0),y){if(a=Lu(this,a,function(x){return x.part},function(x){return x.canSelect()}),a instanceof kr)return a}else if(a=Lu(this,a,function(x){return x.part}),a instanceof kr)return a;return null},ot.ic=function(a,y,x){y===void 0&&(y=null),x===void 0&&(x=null),cs(this);for(var b=this.Wa.iteratorBackwards;b.next();){var E=b.value;if(E.visible&&(E=E.ic(a,y,x),E!==null))return E}return null};function Lu(a,y,x,b){for(x===void 0&&(x=null),b===void 0&&(b=null),cs(a),a=a.Wa.iteratorBackwards;a.next();){var E=a.value;if(E.visible&&!E.isTemporary&&(E=E.ic(y,x,b),E!==null))return E}return null}ot.lz=function(a,y,x){return y===void 0&&(y=!0),Pc(this,a,function(b){return b.part},y?function(b){return b instanceof kr&&b.canSelect()}:null,x)};function Pc(a,y,x,b,E){for(x===void 0&&(x=null),b===void 0&&(b=null),E instanceof Dn||E instanceof On||(E=new On),cs(a),a=a.Wa.iteratorBackwards;a.next();){var te=a.value;te.visible&&!te.isTemporary&&te.ji(y,x,b,E)}return E}ot.ji=function(a,y,x,b){y===void 0&&(y=null),x===void 0&&(x=null),b instanceof Dn||b instanceof On||(b=new On),cs(this);for(var E=this.Wa.iteratorBackwards;E.next();){var te=E.value;te.visible&&te.ji(a,y,x,b)}return b},ot.ux=function(a,y,x,b){return y===void 0&&(y=!1),x===void 0&&(x=!0),vh(this,a,function(E){return E instanceof kr&&(!x||E.canSelect())},y,b)},ot.Cf=function(a,y,x,b,E){y===void 0&&(y=null),x===void 0&&(x=null),b===void 0&&(b=!1),E instanceof Dn||E instanceof On||(E=new On),cs(this);for(var te=this.Wa.iteratorBackwards;te.next();){var ne=te.value;ne.visible&&ne.Cf(a,y,x,b,E)}return E},ot.Nu=function(a,y,x,b,E,te){var ne=new On;cs(this);for(var se=this.Wa.iteratorBackwards;se.next();){var he=se.value;he.visible&&he.Nu(a,y,x,b,ne,E,te)}return ne};function vh(a,y,x,b,E){var te=null;for(te===void 0&&(te=null),x===void 0&&(x=null),b===void 0&&(b=!1),E instanceof Dn||E instanceof On||(E=new On),cs(a),a=a.Wa.iteratorBackwards;a.next();){var ne=a.value;ne.visible&&!ne.isTemporary&&ne.Cf(y,te,x,b,E)}return E}ot.mz=function(a,y,x,b,E){return x===void 0&&(x=!0),b===void 0&&(b=!0),_c(this,a,y,function(te){return te instanceof kr&&(!b||te.canSelect())},x,E)},ot.og=function(a,y,x,b,E,te){x===void 0&&(x=null),b===void 0&&(b=null),E===void 0&&(E=!0),E!==!1&&E!==!0&&((E instanceof Dn||E instanceof On)&&(te=E),E=!0),te instanceof Dn||te instanceof On||(te=new On),cs(this);for(var ne=this.Wa.iteratorBackwards;ne.next();){var se=ne.value;se.visible&&se.og(a,y,x,b,E,te)}return te};function _c(a,y,x,b,E,te){var ne=null;for(ne===void 0&&(ne=null),b===void 0&&(b=null),E===void 0&&(E=!0),E!==!1&&E!==!0&&((E instanceof Dn||E instanceof On)&&(te=E),E=!0),te instanceof Dn||te instanceof On||(te=new On),cs(a),a=a.Wa.iteratorBackwards;a.next();){var se=a.value;se.visible&&!se.isTemporary&&se.og(y,x,ne,b,E,te)}return te}hn.prototype.acceptEvent=function(a){return ml(this,a,a instanceof MouseEvent)};function ml(a,y,x){var b=a.Qg;return a.Qg=a.cj,a.cj=b,b.diagram=a,b.event=y,x?yh(a,y,b):(b.viewPoint=a.Qg.viewPoint,b.documentPoint=a.Qg.documentPoint),a=0,y.ctrlKey&&(a+=1),y.altKey&&(a+=2),y.shiftKey&&(a+=4),y.metaKey&&(a+=8),b.modifiers=a,b.button=y.button,y.buttons!==void 0&&(b.buttons=y.buttons),Ur&&y.button===0&&y.ctrlKey&&(b.button=2),b.down=!1,b.up=!1,b.clickCount=1,b.delta=0,b.handled=!1,b.bubbles=!1,b.timestamp=y.timeStamp,b.isMultiTouch=!1,b.targetDiagram=Fd(y,y.target),b.targetObject=null,b}function Fd(a,y){return y===null?null:(y=y.H)?y:((y=a.path)||typeof a.composedPath!="function"||(y=a.composedPath()),y&&y[0]&&y[0].H?y[0].H:null)}function Dd(a,y,x,b,E,te){var ne=a.Qg;return a.Qg=a.cj,a.cj=ne,ne.diagram=a,ne.clickCount=1,a=ne.delta=0,y.ctrlKey&&(a+=1),y.altKey&&(a+=2),y.shiftKey&&(a+=4),y.metaKey&&(a+=8),ne.modifiers=a,ne.event=y,ne.timestamp=y.timeStamp,ne.button=y.button,ne.buttons=y.buttons,Ur&&y.button===0&&y.ctrlKey&&(ne.button=2),ne.down=x,ne.up=b,ne.handled=!1,ne.bubbles=E,ne.isMultiTouch=te,ne}function Zl(a,y){return a.bubbles?!0:(y.stopPropagation!==void 0&&y.stopPropagation(),y.cancelable!==!1&&y.preventDefault(),y.cancelBubble=!0,!1)}hn.prototype.Qz=function(a){var y=this.H;if(!this.H.isEnabled)return!1;var x=ml(y,a,!1);switch(x.key=String.fromCharCode(a.which),x.down=!0,a.which){case 8:x.key="Backspace";break;case 33:x.key="PageUp";break;case 34:x.key="PageDown";break;case 35:x.key="End";break;case 36:x.key="Home";break;case 37:x.key="Left";break;case 38:x.key="Up";break;case 39:x.key="Right";break;case 40:x.key="Down";break;case 45:x.key="Insert";break;case 46:x.key="Del";break;case 48:x.key="0";break;case 187:case 61:case 107:x.key="Add";break;case 189:case 173:case 109:x.key="Subtract";break;case 27:x.key="Esc"}return y.doKeyDown(),Zl(x,a)},hn.prototype.Rz=function(a){var y=this.H;if(!y.isEnabled)return!1;var x=ml(y,a,!1);switch(x.key=String.fromCharCode(a.which),x.up=!0,a.which){case 8:x.key="Backspace";break;case 33:x.key="PageUp";break;case 34:x.key="PageDown";break;case 35:x.key="End";break;case 36:x.key="Home";break;case 37:x.key="Left";break;case 38:x.key="Up";break;case 39:x.key="Right";break;case 40:x.key="Down";break;case 45:x.key="Insert";break;case 46:x.key="Del"}return y.doKeyUp(),Zl(x,a)},hn.prototype.bz=function(a){var y=this.H;if(!y.isEnabled)return!1;var x=ml(y,a,!0);return y.mouseEnter!==null&&y.mouseEnter(x),y.currentTool.standardMouseOver(),Zl(x,a)},hn.prototype.cz=function(a){var y=this.H;if(!y.isEnabled)return!1;var x=ml(y,a,!0);return y.mouseLeave!==null&&y.mouseLeave(x),Zl(x,a)},hn.prototype.getMouse=function(a){var y=this.ta;if(y===null)return new Lt(0,0);var x=y.getBoundingClientRect();return y=a.clientX-this.Aa/x.width*x.left,a=a.clientY-this.ya/x.height*x.top,this.Ab!==null?bi(new Lt(y,a),this.Ab):new Lt(y,a)};function yh(a,y,x){var b=a.ta,E=a.Aa,te=a.ya,ne=0,se=0;b!==null&&(b=b.getBoundingClientRect(),ne=y.clientX-E/b.width*b.left,se=y.clientY-te/b.height*b.top),x.viewPoint.h(ne,se),a.Ab!==null?(y=Lt.allocAt(ne,se),a.Ab.Cd(y),x.documentPoint.assign(y),Lt.free(y)):x.documentPoint.h(ne,se)}function Od(a,y,x){if(a.oj[0]!==null){y=a.oj[y];var b=a.ta;b!==null&&(b=b.getBoundingClientRect(),x.h(y.clientX-a.Aa/b.width*b.left,y.clientY-a.ya/b.height*b.top))}}hn.prototype.Ya=function(){this.Zi||(this.Zi=!0,this.$b(!1))};function kd(a){a.ld||cs(a),a.Va()}hn.prototype.redraw=function(){this.vb||this.ld||(this.N(),this.bd())},ot=hn.prototype,ot.Pz=function(){return this.kg},ot.Xy=function(a){a===void 0&&(a=null);var y=this.animationManager,x=y.isEnabled;y.Cc(),y.isEnabled=!1,ol(this),this.hf=!1,this.du=new Lt(NaN,NaN),y.isEnabled=x,this.ld=!0;var b=this;a!==null&&kn(function(){b.ld=!1,Ps(y,"Model"),a(b)},1)},ot.$b=function(a){if(a===void 0&&(a=!1),this.kg!==!0&&!(this.vb||a===!1&&this.ld)){this.kg=!0;var y=this;Dt.requestAnimationFrame(function(){y.kg&&y.bd()})}},ot.bd=function(){(!this.fn||this.kg)&&(this.fn&&(this.fn=!1),ol(this))};function Ec(a,y,x){!a.Ee||a.vb||a.animationManager.defaultAnimation.isAnimating||Ac(a)||(y&&cs(a),x&&Gl(a,!1))}function ol(a,y){if(!a.ld&&(a.kg=!1,a.Ka!==null||a.wo.w())){a.ld=!0;var x=a.animationManager,b=a.Xn;if(!x.isAnimating&&b.length!==0){for(var E=b.s,te=E.length,ne=0;ne<te;ne++){var se=E[ne];Ia(se,!1),se.v()}b.clear()}b=a.ow,0<b.count&&(b.each(function(he){he.Nv()}),b.clear()),E=b=!1,x.defaultAnimation.isAnimating&&(E=!0,b=a.skipsUndoManager,a.skipsUndoManager=!0),x.zb||Ld(a),Ec(a,!1,!0),a.fe!==null&&(a.fe.visible&&!a.mq&&(sc(a),a.mq=!0),!a.fe.visible&&a.mq&&(a.mq=!1)),cs(a),te=!1,(!a.hf||a.xh)&&(a.hf?qp(a,!a.Jk):(a.Ea("Initial Layout"),x.isEnabled===!1&&x.Cc(),qp(a,!1)),te=!0),a.Jk=!1,cs(a),a.ou||kd(a),Ec(a,!0,!1),ne=!1,te?(x=Mn.alloc(),x.assign(a.viewportBounds),a.hf||(ne=a.hf=!0,a.skipsUndoManager||(a.undoManager.isPendingClear=!0),a.undoManager.isPendingUnmodified=!0,Nd(a)),a.R("LayoutCompleted"),Ec(a,!0,!1),Mn.free(x)):x.Ok&&x.Qw&&(a.Fg!==Bs?a.scale=mh(a,a.Fg):a.yh!==Bs?a.scale=mh(a,a.yh):(x=a.initialScale,isFinite(x)&&0<x&&(a.scale=x)),Gl(a,!0)),te&&ne&&a.eb("Initial Layout"),cs(a),y||a.gc(a.ib),E&&(a.skipsUndoManager=b),a.ld=!1}}function Nd(a){if(a.Fg!==Bs)a.scale=mh(a,a.Fg);else if(a.yh!==Bs)a.scale=mh(a,a.yh);else{var y=a.initialScale;isFinite(y)&&0<y&&(a.scale=y)}Gl(a,!0),y=a.Wa.s,a.Fd(y,y.length,a,a.viewportBounds),a.R("InitialLayoutCompleted"),a.du.assign(a.pa),sc(a)}function cs(a){if(a.De.count!==0&&(a.ld||!a.animationManager.isTicking)){for(var y=0;23>y;y++){var x=a.De.iterator;if(x===null||a.De.count===0)break;a.De=new On,a.Nv(x,a.De)}a.nodes.each(function(b){b instanceof ii&&b.U&65536&&(b.U=b.U^65536)})}}ot.Nv=function(a,y){for(a.reset();a.next();){var x=a.value;!x.Zc()||x instanceof ii||(x.si()?(x.measure(1/0,1/0),x.arrange()):y.add(x))}for(a.reset();a.next();)x=a.value,x instanceof ii&&x.isVisible()&&na(this,x);for(a.reset();a.next();)x=a.value,x instanceof _n&&x.isVisible()&&(x.si()?(x.measure(1/0,1/0),x.arrange()):y.add(x));for(a.reset();a.next();)x=a.value,x instanceof Vi&&x.isVisible()&&(x.si()?(x.measure(1/0,1/0),x.arrange()):y.add(x))};function na(a,y){for(var x=yn(),b=yn(),E=y.memberParts;E.next();){var te=E.value;te.isVisible()&&(te instanceof ii?(Xl(te)||Zs(te)||ed(te))&&na(a,te):te instanceof _n?te.fromNode===y||te.toNode===y?b.push(te):x.push(te):(te.measure(1/0,1/0),te.arrange()))}for(a=x.length,E=0;E<a;E++)te=x[E],te.measure(1/0,1/0),te.arrange();for(Tn(x),y.measure(1/0,1/0),y.arrange(),a=b.length,y=0;y<a;y++)x=b[y],x.measure(1/0,1/0),x.arrange();Tn(b)}ot.Fd=function(a,y,x,b){if(this.vd||this.animationManager.isAnimating)for(var E=0;E<y;E++)a[E].Fd(x,b)},ot.gc=function(a){if(this.Ka!==null){if(this.ta===null&&Ht("No canvas specified"),this.nl==="svg"){if(this.Ka!==null){var y=this.animationManager;if(!y.zb&&(!y.isAnimating||y.isTicking)){ru(this);var x=this.Aa,b=this.ya;if(a.Gv.resize(x,b,x,b),x=this.Wa.s,b=x.length,this.Fd(x,b,this,this.viewportBounds),this.Fc||y.isAnimating){y=this.pa;var E=this.Ca,te=Math.round(y.x*E)/E,ne=Math.round(y.y*E)/E,se=this.Ab;for(se.reset(),E!==1&&se.scale(E),y.x===0&&y.y===0||se.translate(-te,-ne),a.ti=null,Jy(a,se.m11,se.m12,se.m21,se.m22,se.dx,se.dy),this.pb!==1&&(a.globalAlpha=this.pb),Ns(this,a),y=this.Mb,this.ta.context.setTransform(y,0,0,y,0,0),this.ta.context.clearRect(0,0,this.Aa,this.ya),y=0;y<b;y++)x[y].gc(a,this);a=!1,this.Yf?Wd(this.Yf,this)&&(a=this.Vp()):a=!0,a&&(mi.prototype.Cd=mi.prototype.Eu),this.Fc=this.vd=!1}}}}else e:if(te=this.animationManager,!te.zb&&(!te.isAnimating||te.isTicking)&&(x=new Date,ru(this),this.Ka.style.opacity!=="0")){if(b=a!==this.ib,y=this.Wa.s,E=y.length,this.Fd(y,E,this,this.viewportBounds),b)a.Vc(!0),this.vd=!0;else if(!this.Fc&&!te.isAnimating)break e;te=this.Ab,te.reset(),ne=this.Mb,se=this.pa;var he=this.Ca,ve=Math.round(se.x*he)/he,Se=Math.round(se.y*he)/he;for(he!==1&&te.scale(he),se.x===0&&se.y===0||te.translate(-ve,-Se),a.setTransform(ne,0,0,ne,0,0),a.clearRect(0,0,this.Aa,this.ya),this.pb!==1&&(a.globalAlpha=this.pb),Ns(this,a),se=0;se<E;se++)a.setTransform(ne,0,0,ne,0,0),a.transform(te.m11,te.m12,te.m21,te.m22,te.dx,te.dy),a.yc(),y[se].gc(a,this);if(y=!1,this.Yf?Wd(this.Yf,this)&&(y=this.Vp()):y=!0,y&&(mi.prototype.Cd=mi.prototype.Eu),b?(this.ib.Vc(!0),this.vd=!0):this.Fc=this.vd=!1,y=+new Date-+x,b=fr&&fr.nx,x=this.zw,b||this.Yh===null){for(x[this.Tq]=y,this.Tq=(this.Tq+1)%x.length,E=y=0;E<x.length;E++)y+=x[E];this.Sq=y/x.length}if(this.pb!==1&&(a.globalAlpha=1),b)for(a.setTransform(1,0,0,1,0,0),b=0;b<x.length;b++)a.fillText(x[b].toString(),20,150+ +(20*b))}}};function Fa(a,y,x,b,E,te,ne,se,he,ve){if(a.Ka!==null){a.ta===null&&Ht("No canvas specified"),ne===void 0&&(ne=null),se===void 0&&(se=null),he===void 0&&(he=!1),ve===void 0&&(ve=!1),ru(a),a.ib.Vc(!0),a.vd=!0,a.$i=!0;var Se=a.Ca;a.Ca=E;var Be=a.Wa.s,Ve=Be.length;try{var nt=new Mn(te.x,te.y,b.width/E,b.height/E),rt=nt.copy();rt.Co(x),sc(a,rt),cs(a),a.Fd(Be,Ve,a,nt),y.setTransform(1,0,0,1,0,0),y.clearRect(0,0,b.width,b.height),se!==null&&se!==""&&(y.fillStyle=se,y.ox(0,0,b.width,b.height));var ct=a.Mb;y.scale(ct,ct);var kt=mi.alloc();kt.reset(),kt.translate(x.left,x.top),kt.scale(E),te.x===0&&te.y===0||kt.translate(-te.x,-te.y),y.setTransform(kt.m11,kt.m12,kt.m21,kt.m22,kt.dx,kt.dy),y.yc(),y instanceof Ml&&Jy(y,kt.m11,kt.m12,kt.m21,kt.m22,kt.dx,kt.dy),mi.free(kt),Ns(a,y),y.globalAlpha=a.pb;var Mt=a.Qj("Grid");if(ne){var Rt=new On,Ut=ne.iterator;for(Ut.reset();Ut.next();){var Yt=Ut.value;Yt instanceof kr&&(ve||Yt.layer!==Mt)&&(Yt.Gj(),Rt.add(Yt))}for(ve=0;ve<Ve;ve++)gl(Be[ve],y,a,Rt,he);Rt.each(function(dn){return dn.Gj()})}else for(Rt=0;Rt<Ve;Rt++){var $t=Be[Rt];$t===Mt?ve&&$t.gc(y,a,!0):$t.gc(y,a,he)}a.$i=!1,a.Yf&&Wd(a.Yf,a)&&a.Vp()}finally{a.Ca=Se,a.ib.Vc(!0),a.vd=!0,a.Fd(Be,Ve,a,a.viewportBounds),sc(a),a.ib instanceof Ml&&(a.ib.Nj.PA(),a.redraw())}}}ot.Gf=function(a){return this.Rg[a]},ot.Xx=function(a,y){a==="minDrawingLength"&&(this.Oq=y),this.Rg[a]=y,this.redraw()},ot.Tx=function(){this.Rg=new Ar,this.Rg.drawShadows=!0,this.Rg.textGreeking=!0,this.Rg.viewportOptimizations=!(Ur||Tr),this.Rg.temporaryPixelRatio=!0,this.Rg.pictureRatioOptimization=!0,this.Oq=this.Rg.minDrawingLength=1};function Ns(a,y){a=a.Rg,a!==null&&(a.imageSmoothingEnabled!==void 0&&y.Wx(!!a.imageSmoothingEnabled),a=a.defaultFont,a!=null&&(y.font=a))}ot.Ql=function(a){return this.on[a]},ot.sA=function(a,y){this.on[a]=y},ot.Sx=function(){this.on=new Ar,this.on.extraTouchArea=10,this.on.extraTouchThreshold=10,this.on.hasGestureZoom=!0},ot.set=function(a){return Object.assign(this,a),this},ot.Du=function(a){return this.nm(a)},ot.nm=function(a){return nu(this,a),this};function nu(a,y){var x=a instanceof Xn,b=a instanceof hn,E;for(E in y){E===""&&Ht("Setting properties requires non-empty property names");var te=a,ne=E;if(x||b){var se=E.indexOf(".");if(0<se){var he=E.substring(0,se);x?te=a.fb(he):(te=a[he],te==null&&(te=a.toolManager[he])),sn(te)?ne=E.substr(se+1):Ht("Unable to find object named: "+he+" in "+a.toString()+" when trying to set property: "+E)}}if(ne[0]!=="_"&&!Zn(te,ne))if(b&&ne==="ModelChanged"){a.Yw(y[ne]);continue}else if(b&&ne==="Changed"){a.Pe(y[ne]);continue}else if(b&&Zn(a.toolManager,ne))te=a.toolManager;else if(b&&sm(a,ne)){a.Bj(ne,y[ne]);continue}else if(a instanceof xr&&ne==="Changed"){a.Pe(y[ne]);continue}else Ht('Trying to set undefined property "'+ne+'" on object: '+te.toString());te[ne]=y[E],ne[0]==="_"&&te instanceof qt&&te.Vw(ne)}}ot.bx=function(){if(this.Eh.count!==0&&!(1<this.undoManager.transactionLevel)){for(;0<this.Eh.count;){var a=this.Eh;for(this.Eh=new pr,a=a.iterator;a.next();){var y=a.key;y.Xo(a.value),y.qc()}}this.N()}},ot.N=function(a){if(a===void 0)this.Fc=!0,this.$b();else{var y=this.viewportBounds;a.w()&&y.Yc(a)&&(this.Fc=!0,this.$b())}this.R("InvalidateDraw")},hn.prototype.invalidateViewport=function(a,y){if(this.Fc!==!0)if(this.Fc=!0,this.nl==="svg")this.bd();else{var x=this.Gf("temporaryPixelRatio")===!0;if(this.Gf("viewportOptimizations")===!0&&this.scrollMode!==vf&&this.rj.hi(0,0,0,0)&&y.width===a.width&&y.height===a.height){var b=this.scale,E=Math.max(a.y,y.y),te=Math.min(a.y+a.height,y.y+y.height);if(0<Math.max(0,Math.min(a.x+a.width,y.x+y.width)-Math.max(a.x,y.x))*b&&0<Math.max(0,te-E)*b){if(!(this.ld||(this.kg=!1,this.Ka===null||(this.ld=!0,this.documentBounds.w()||(b=Mn.alloc(),$p(this,this.computeBounds(b)),Mn.free(b)),b=this.ta,b===null||b instanceof uc)))){var ne=this.Mb;E=this.Aa*ne;var se=this.ya*ne,he=this.scale*ne;te=Math.round(Math.round(y.x*he)-Math.round(a.x*he)),y=Math.round(Math.round(y.y*he)-Math.round(a.y*he)),he=this.jw,a=this.oy,he.width!==E&&(he.width=E),he.height!==se&&(he.height=se),a.clearRect(0,0,E,se),he=190*ne;var ve=70*ne,Se=Math.max(te,0),Be=Math.max(y,0),Ve=Math.floor(E-Se),nt=Math.floor(se-Be);a.drawImage(b.Oa,Se,Be,Ve,nt,0,0,Ve,nt),Wd(this.Yf,this)&&a.clearRect(0,0,he,ve),b=yn(),a=yn(),nt=Math.abs(te),Ve=Math.abs(y);var rt=Se===0?0:E-nt;Se=Lt.allocAt(rt,0),nt=Lt.allocAt(nt+rt,se),a.push(new Mn(Math.min(Se.x,nt.x),Math.min(Se.y,nt.y),Math.abs(Se.x-nt.x),Math.abs(Se.y-nt.y)));var ct=this.Ab;if(ct.reset(),ct.scale(ne,ne),this.Ca!==1&&ct.scale(this.Ca),ne=this.pa,(ne.x!==0||ne.y!==0)&&isFinite(ne.x)&&isFinite(ne.y)&&ct.translate(-ne.x,-ne.y),bi(Se,ct),bi(nt,ct),b.push(new Mn(Math.min(Se.x,nt.x),Math.min(Se.y,nt.y),Math.abs(Se.x-nt.x),Math.abs(Se.y-nt.y))),rt=Be===0?0:se-Ve,Se.h(0,rt),nt.h(E,Ve+rt),a.push(new Mn(Math.min(Se.x,nt.x),Math.min(Se.y,nt.y),Math.abs(Se.x-nt.x),Math.abs(Se.y-nt.y))),bi(Se,ct),bi(nt,ct),b.push(new Mn(Math.min(Se.x,nt.x),Math.min(Se.y,nt.y),Math.abs(Se.x-nt.x),Math.abs(Se.y-nt.y))),Wd(this.Yf,this)&&(E=0<te?0:-te,se=0<y?0:-y,Se.h(E,se),nt.h(he+E,ve+se),a.push(new Mn(Math.min(Se.x,nt.x),Math.min(Se.y,nt.y),Math.abs(Se.x-nt.x),Math.abs(Se.y-nt.y))),bi(Se,ct),bi(nt,ct),b.push(new Mn(Math.min(Se.x,nt.x),Math.min(Se.y,nt.y),Math.abs(Se.x-nt.x),Math.abs(Se.y-nt.y)))),Lt.free(Se),Lt.free(nt),Ec(this,!1,!0),this.Ka===null&&Ht("No div specified"),this.ta===null&&Ht("No canvas specified"),!this.animationManager.zb&&(E=this.ib,this.Fc)){for(ru(this),se=this.Mb,E.setTransform(1,0,0,1,0,0),E.clearRect(0,0,this.Aa*se,this.ya*se),E.drawImage(this.jw.Oa,0<te?0:Math.round(-te),0<y?0:Math.round(-y)),te=this.pa,ne=this.Ca,he=Math.round(te.x*ne)/ne,ve=Math.round(te.y*ne)/ne,y=this.Ab,y.reset(),ne!==1&&y.scale(ne),te.x===0&&te.y===0||y.translate(-he,-ve),E.save(),E.beginPath(),te=a.length,ne=0;ne<te;ne++)he=a[ne],he.width!==0&&he.height!==0&&E.rect(Math.floor(he.x),Math.floor(he.y),Math.ceil(he.width),Math.ceil(he.height));for(E.clip(),E.setTransform(se,0,0,se,0,0),E.transform(y.m11,y.m12,y.m21,y.m22,y.dx,y.dy),E.yc(),y=this.Wa.s,te=y.length,this.Fd(y,te,this,this.viewportBounds),Ns(this,E),E.globalAlpha=this.pb,se=0;se<te;se++)if(ne=y[se],he=b,ne.visible&&ne.pb!==0){ve=vs(ne,E),Be=ne.Zq,Be.length=0,Se=this.scale,Ve=Mn.alloc(),nt=ne.Pa.s,ct=nt.length,rt=he.length;for(var kt=0;kt<ct;kt++){var Mt=nt[kt],Rt=Xd(Mt,Mt.actualBounds);e:{for(var Ut=2/Se,Yt=4/Se,$t=0;$t<rt;$t++){var dn=he[$t];if(dn.width!==0&&dn.height!==0&&Rt.Vu(dn.x-Ut,dn.y-Ut,dn.width+Yt,dn.height+Yt)){Rt=!0;break e}}Rt=!1}Rt&&ne.Oj(E,Mt,this,Be,Se,Ve,!0)}Mn.free(Ve),E.globalAlpha=ve}E.restore(),E.Vc(!0),this.Yf&&Wd(this.Yf,this)&&this.Vp(),this.Fc=this.vd=!1,this.hk()}Tn(b),Tn(a),this.ld=!1}}else this.bd();x&&(Ls(this),this.bd(),Vh(this,!0))}else x?(Ls(this),this.bd(),Vh(this,!0)):this.bd()}};function ru(a){a.pn!==!1&&(a.pn=!1,Bd(a,a.Aa,a.ya))}function Bd(a,y,x){lc(a);var b=a.Mb;a.ta.resize(y*b,x*b,y,x)&&(a.Fc=!0,a.ib.Vc(!0))}function Ac(a){var y=a.ta;if(y===null||a.wo.w())return!0;var x=a.Aa,b=a.ya,E=a.Ka,te=!1,ne=a.gf?a.Db:0,se=a.Be?a.Db:0,he=E.clientWidth||x+ne,ve=E.clientHeight||b+se,Se=a.viewportBounds;E=Se.x;var Be=Se.y,Ve=Se.width,nt=Se.height;if((he!==x+ne||ve!==b+se)&&(a.gf=!1,a.Be=!1,se=ne=0,a.Aa=he,a.ya=ve,te=a.pn=!0,lc(a)),!a.hf||!a.viewportBounds.w())return!0;var rt=a.ku,ct=a.hu;if(a.Ee=!1,!(te||a.gf||a.Be||a.mn||a.nn))return!0;var kt=a.documentBounds,Mt=0,Rt=0,Ut=0,Yt=0,$t=Se.width,dn=Se.height,rr=a.rj;a.contentAlignment.sb()?(kt.width>$t&&(Mt=rr.left,Rt=rr.right),kt.height>dn&&(Ut=rr.top,Yt=rr.bottom)):(Mt=rr.left,Rt=rr.right,Ut=rr.top,Yt=rr.bottom);var mr=kt.width+Mt+Rt,cr=kt.height+Ut+Yt;rr=a.scale;var Qn=mr>he/rr,Bn=cr>ve/rr;if(!(te||a.gf||a.Be||Qn||Bn))return!0;Mt=kt.x-Mt,he=Se.x,Rt=kt.right+Rt,ve=Se.right+ne,Ut=kt.y-Ut;var ti=Se.y;kt=kt.bottom+Yt,Se=Se.bottom+se;var Yr="1px";if(Yt="1px",a.scrollMode===xh&&(Qn||Bn)&&(Qn&&a.hasHorizontalScrollbar&&a.allowHorizontalScroll&&(Qn=1,Mt+1<he&&(Qn=Math.max((he-Mt)*rr+a.Aa,Qn)),Rt>ve+1&&(Qn=Math.max((Rt-ve)*rr+a.Aa,Qn)),$t+ne+1<mr&&(Qn=Math.max((mr-$t)*rr+a.Aa,Qn)),Yr=Qn.toString()+"px"),Bn&&a.hasVerticalScrollbar&&a.allowVerticalScroll&&(Qn=1,Ut+1<ti&&(Qn=Math.max((ti-Ut)*rr+a.ya,Qn)),kt>Se+1&&(Qn=Math.max((kt-Se)*rr+a.ya,Qn)),dn+se+1<cr&&(Qn=Math.max((cr-dn)*rr+a.ya,Qn)),Yt=Qn.toString()+"px")),Qn=Yr!=="1px",Bn=Yt!=="1px",Qn&&Bn||!Qn&&!Bn||(Bn&&(ve-=a.Db),Qn&&(Se-=a.Db),mr<$t+ne||!a.hasHorizontalScrollbar||!a.allowHorizontalScroll||(ne=1,Mt+1<he&&(ne=Math.max((he-Mt)*rr+a.Aa,ne)),Rt>ve+1&&(ne=Math.max((Rt-ve)*rr+a.Aa,ne)),$t+1<mr&&(ne=Math.max((mr-$t)*rr+a.Aa,ne)),Yr=ne.toString()+"px"),Qn=Yr!=="1px",ne=a.ya,Qn!==a.Be&&(ne=Qn?a.ya-a.Db:a.ya+a.Db),cr<dn+se||!a.hasVerticalScrollbar||!a.allowVerticalScroll||(se=1,Ut+1<ti&&(se=Math.max((ti-Ut)*rr+ne,se)),kt>Se+1&&(se=Math.max((kt-Se)*rr+ne,se)),dn+1<cr&&(se=Math.max((cr-dn)*rr+ne,se)),Yt=se.toString()+"px"),Bn=Yt!=="1px"),a.qr&&Qn===a.Be&&Bn===a.gf)return x===a.Aa&&b===a.ya||a.bd(),!1;if(Qn!==a.Be&&(Yr==="1px"?a.ya=a.ya+a.Db:a.ya=Math.max(a.ya-a.Db,1),te=!0),a.Be=Qn,ct.style.width=Yr,Bn!==a.gf&&(Yt==="1px"?a.Aa=a.Aa+a.Db:a.Aa=Math.max(a.Aa-a.Db,1),te=!0,a.tn&&(se=Lt.alloc(),Bn?(y.style.left=a.Db+"px",a.position=se.h(a.pa.x+a.Db/a.scale,a.pa.y)):(y.style.left="0px",a.position=se.h(a.pa.x-a.Db/a.scale,a.pa.y)),Lt.free(se))),te&&lc(a),a.gf=Bn,ct.style.height=Yt,a.gu=!0,te&&(a.pn=!0),y=rt.scrollLeft,a.hasHorizontalScrollbar&&a.allowHorizontalScroll&&($t+1<mr?y=(a.position.x-Mt)*rr:Mt+1<he?y=rt.scrollWidth-rt.clientWidth:Rt>ve+1&&(y=a.position.x*rr)),a.tn)switch(a.bu){case"negative":y=-(rt.scrollWidth-y-rt.clientWidth);break;case"reverse":y=rt.scrollWidth-y-rt.clientWidth}return rt.scrollLeft=y,a.hasVerticalScrollbar&&a.allowVerticalScroll&&(dn+1<cr?rt.scrollTop=(a.position.y-Ut)*rr:Ut+1<ti?rt.scrollTop=rt.scrollHeight-rt.clientHeight:kt>Se+1&&(rt.scrollTop=a.position.y*rr)),he=a.Aa,ve=a.ya,rt.style.width=he+(a.gf?a.Db:0)+"px",rt.style.height=ve+(a.Be?a.Db:0)+"px",x!==he||b!==ve||a.animationManager.zb?(x=Mn.allocAt(E,Be,Ve,nt),a.onViewportBoundsChanged(x,a.viewportBounds,rr,te),Mn.free(x),!1):!0}ot=hn.prototype,ot.add=function(a){var y=a.diagram;if(y!==this&&(y!==null&&Ht("Cannot add part "+a.toString()+" to "+this.toString()+". It is already a part of "+y.toString()),y=this.Qj(a.layerName),y===null&&(y=this.Qj("")),y===null&&Ht('Cannot add a Part when unable find a Layer named "'+a.layerName+'" and there is no default Layer'),a.layer!==y)){var x=y.oi(99999999,a,a.diagram===this);0<=x&&this.cb(fa,"parts",y,null,a,null,x),y.isTemporary||this.Ya(),a.C(1),x=a.layerChanged,x!==null&&x(a,null,y)}},ot.oi=function(a){this.partManager.oi(a);var y=this;Zd(a,function(x){Id(y,x)}),(a instanceof Vi||a instanceof ii&&a.placeholder!==null)&&a.v(),a.data!==null&&Zd(a,function(x){ly(y.partManager,x)}),Zs(a)!==!0&&ed(a)!==!0||this.De.add(a),R1(a,!0,this),W1(a)?(a.actualBounds.w()&&this.N(Xd(a,a.actualBounds)),this.Ya()):a.isVisible()&&a.actualBounds.w()&&this.N(Xd(a,a.actualBounds)),this.$b()},ot.pc=function(a){a.Ej(),this.partManager.pc(a);var y=this;a.data!==null&&Zd(a,function(x){uy(y.partManager,x,y)}),this.De.remove(a),W1(a)?(a.actualBounds.w()&&this.N(Xd(a,a.actualBounds)),this.Ya()):a.isVisible()&&a.actualBounds.w()&&this.N(Xd(a,a.actualBounds)),this.$b()},ot.remove=function(a){Yh(this,a,!0)};function Yh(a,y,x){var b=y.layer;b!==null&&b.diagram===a&&(y.isSelected=!1,y.isHighlighted=!1,y.C(2),x&&y.Lj(),x=b.pc(-1,y,!1),0<=x&&a.cb(Oa,"parts",b,y,null,x,null),a=y.layerChanged,a!==null&&a(y,b,null))}ot.Is=function(a,y){if(y===void 0&&(y=!1),Cn(a))for(var x=a.length,b=0;b<x;b++){var E=a[b];y&&!E.canDelete()||this.remove(E)}else for(x=new On,x.addAll(a),a=x.iterator;a.next();)x=a.value,y&&!x.canDelete()||this.remove(x)},ot.Kj=function(a,y,x){return x===void 0&&(x=!1),this.partManager.Kj(a,y,x)},hn.prototype.moveParts=function(a,y,x,b){if(x===void 0&&(x=!1),b===void 0&&(b=Jf(this)),this.toolManager!==null){var E=new pr;if(a!==null)if(Cn(a))for(var te=0;te<a.length;te++)mu(this,E,a[te],x,b);else for(a=a.iterator;a.next();)mu(this,E,a.value,x,b);else{for(a=this.parts;a.next();)mu(this,E,a.value,x,b);for(a=this.nodes;a.next();)mu(this,E,a.value,x,b);for(a=this.links;a.next();)mu(this,E,a.value,x,b)}ac(this,E,y,b,x)}};function mu(a,y,x,b,E,te){if(!y.contains(x)&&(te===void 0&&(te=!1),!b||te||x.canMove()||x.canCopy()))if(E===void 0&&(E=Jf(a)),x instanceof sr){if(y.add(x,a.Pd(E,x,x.location)),x instanceof ii&&(x.placeholder!==null||E.dragsMembers))for(te=x.memberParts;te.next();)mu(a,y,te.value,b,E,E.groupsAlwaysMove);for(te=x.linksConnected;te.next();){var ne=te.value;if(!y.contains(ne)){var se=ne.fromNode,he=ne.toNode;se!==null&&y.contains(se)&&he!==null&&y.contains(he)&&mu(a,y,ne,b,E)}}if(E.dragsTree)for(x=x.Ou();x.next();)mu(a,y,x.value,b,E)}else if(x instanceof _n)for(y.add(x,a.Pd(E,x)),x=x.labelNodes;x.next();)mu(a,y,x.value,b,E);else x instanceof Vi||y.add(x,a.Pd(E,x,x.location))}function ac(a,y,x,b,E){if(y!==null&&y.count!==0){var te=Lt.alloc(),ne=Lt.alloc();ne.assign(x),isNaN(ne.x)&&(ne.x=0),isNaN(ne.y)&&(ne.y=0),(x=a.Mr)||_f(a,y);for(var se=yn(),he=yn(),ve=y.iterator,Se=Lt.alloc();ve.next();){var Be=ve.key,Ve=ve.value;if(Be.Zc()){var nt=Xp(a,Be,y);nt!==null?se.push(new ie(Be,Ve,nt)):(!E||Be.canMove())&&(nt=Ve.point,te.assign(nt),a.computeMove(Be,te.add(ne),b,Se),Be.location=Se,Ve.shifted===void 0&&(Ve.shifted=new Lt),Ve.shifted.assign(Se.re(nt)))}else ve.key instanceof _n&&he.push(ve.sa)}for(Lt.free(Se),E=se.length,ve=0;ve<E;ve++)Be=se[ve],te.assign(Be.info.point),Be.Su.shifted===void 0&&(Be.Su.shifted=new Lt),Be.node.location=te.add(Be.Su.shifted);for(E=Lt.alloc(),ve=Lt.alloc(),Be=he.length,Ve=0;Ve<Be;Ve++){var rt=he[Ve];if(nt=rt.key,nt instanceof _n)if(nt.suspendsRouting){nt.Tg=null,Se=nt.fromNode;var ct=nt.toNode;if(a.draggedLink!==null&&b.dragsLink)if(ct=rt.value.point,nt.dragComputation===null)y.add(nt,a.Pd(b,nt,ne)),Lh(nt,ne.x-ct.x,ne.y-ct.y);else{rt=Lt.allocAt(0,0),(Se=nt.i(0))&&Se.w()&&rt.assign(Se);var kt=Se=Lt.alloc().assign(rt).add(ne);b.isGridSnapEnabled&&(b.isGridSnapRealtime||a.lastInput.up)&&(kt=Lt.alloc(),Qf(a,nt,Se,kt,b)),Se.assign(nt.dragComputation(nt,Se,kt)).re(rt),y.add(nt,a.Pd(b,nt,Se)),Lh(nt,Se.x-ct.x,Se.y-ct.y),Lt.free(rt),Lt.free(Se),kt!==Se&&Lt.free(kt)}else Se!==null&&(E.assign(Se.location),kt=y.I(Se),kt!==null&&E.re(kt.point)),ct!==null&&(ve.assign(ct.location),kt=y.I(ct),kt!==null&&ve.re(kt.point)),Se!==null&&ct!==null?E.Xa(ve)?(Se=rt.value.point,ct=te,ct.assign(E),ct.re(Se),y.add(nt,a.Pd(b,nt,E)),Lh(nt,ct.x,ct.y)):(nt.suspendsRouting=!1,nt.bb()):(rt=rt.value.point,Se=Se!==null?E:ct!==null?ve:ne,y.add(nt,a.Pd(b,nt,Se)),Lh(nt,Se.x-rt.x,Se.y-rt.y))}else(nt.fromNode===null||nt.toNode===null)&&(Se=rt.value.point,y.add(nt,a.Pd(b,nt,ne)),Lh(nt,ne.x-Se.x,ne.y-Se.y))}Lt.free(te),Lt.free(ne),Lt.free(E),Lt.free(ve),Tn(se),Tn(he),x||(cs(a),Jh(a,y))}}hn.prototype.computeMove=function(a,y,x,b){if(b===void 0&&(b=new Lt),b.assign(y),a===null)return b;var E=y,te=x.isGridSnapEnabled;te&&(x.isGridSnapRealtime||this.lastInput.up)&&(E=Lt.alloc(),Qf(this,a,y,E,x)),x=a.dragComputation!==null?a.dragComputation(a,y,E):E;var ne=a.minLocation,se=ne.x;isNaN(se)&&(se=te?Math.round(1e3*a.location.x)/1e3:a.location.x),ne=ne.y,isNaN(ne)&&(ne=te?Math.round(1e3*a.location.y)/1e3:a.location.y);var he=a.maxLocation,ve=he.x;return isNaN(ve)&&(ve=te?Math.round(1e3*a.location.x)/1e3:a.location.x),he=he.y,isNaN(he)&&(he=te?Math.round(1e3*a.location.y)/1e3:a.location.y),b.h(Math.max(se,Math.min(x.x,ve)),Math.max(ne,Math.min(x.y,he))),E!==y&&Lt.free(E),b};function Jf(a){var y=a.toolManager.findTool("Dragging");return y!==null?y.dragOptions:a.Wm}function Qf(a,y,x,b,E){if(E===void 0&&(E=Jf(a)),b.assign(x),y!==null){var te=a.grid;y=E.gridSnapCellSize,a=y.width,y=y.height;var ne=E.gridSnapOrigin,se=ne.x;if(ne=ne.y,E=E.gridSnapCellSpot,te!==null){var he=te.gridCellSize;isNaN(a)&&(a=he.width),isNaN(y)&&(y=he.height),te=te.gridOrigin,isNaN(se)&&(se=te.x),isNaN(ne)&&(ne=te.y)}te=Lt.allocAt(0,0),te.yi(0,0,a,y,E),tn.No(x.x,x.y,se+te.x,ne+te.y,a,y,b),Lt.free(te)}}function _f(a,y){if(y!==null)for(a.Mr=!0,a=y.iterator;a.next();)y=a.key,y instanceof _n&&(y.suspendsRouting=!0)}function Jh(a,y){if(y!==null){for(y=y.iterator;y.next();){var x=y.key;x instanceof _n&&(x.suspendsRouting=!1,Y0(x)&&x.bb())}a.Mr=!1}}function Xp(a,y,x){return y=y.containingGroup,y!==null&&(a=Xp(a,y,x),a!==null||(a=x.I(y),a!==null))?a:null}ot=hn.prototype,ot.Pd=function(a,y,x){if(x===void 0)return new $c(Li);var b=a.isGridSnapEnabled;return a.groupsSnapMembers||y.containingGroup===null||(b=!1),b?new $c(new Lt(Math.round(1e3*x.x)/1e3,Math.round(1e3*x.y)/1e3)):new $c(x.copy())};function Yp(a,y,x){if(y.diagram!==null&&y.diagram!==a&&Ht("Cannot share a Layer with another Diagram: "+y+" of "+y.diagram),x===null?y.diagram!==null&&Ht("Cannot add an existing Layer to this Diagram again: "+y):(x.diagram!==a&&Ht("Existing Layer must be in this Diagram: "+x+" not in "+x.diagram),y===x&&Ht("Cannot move a Layer before or after itself: "+y)),y.diagram!==a){y=y.name,a=a.Wa,x=a.count;for(var b=0;b<x;b++)a.M(b).name===y&&Ht("Cannot add Layer with the name '"+y+"'; a Layer with the same name is already present in this Diagram.")}}ot.Al=function(a){Yp(this,a,null),a.Xe(this);var y=this.Wa,x=y.count-1;if(!a.isTemporary)for(;0<=x&&y.M(x).isTemporary;)x--;return y.Gb(x+1,a),this.cc!==null&&this.cb(fa,"layers",this,null,a,null,x+1),this.N(),this.Ya(),this},ot.Ww=function(a,y){Yp(this,a,y),a.Xe(this);var x=this.Wa,b=x.indexOf(a);0<=b&&(x.remove(a),this.cc!==null&&this.cb(Oa,"layers",this,a,null,b,null));var E=x.count,te;for(te=0;te<E;te++)if(x.M(te)===y){x.Gb(te,a);break}return this.cc!==null&&this.cb(fa,"layers",this,null,a,null,te),this.N(),0>b&&this.Ya(),this},ot.Cy=function(a,y){Yp(this,a,y),a.Xe(this);var x=this.Wa,b=x.indexOf(a);0<=b&&(x.remove(a),this.cc!==null&&this.cb(Oa,"layers",this,a,null,b,null));var E=x.count,te;for(te=0;te<E;te++)if(x.M(te)===y){x.Gb(te+1,a);break}return this.cc!==null&&this.cb(fa,"layers",this,null,a,null,te+1),this.N(),0>b&&this.Ya(),this},ot.kA=function(a){if(a.diagram!==this&&Ht("Cannot remove a Layer from another Diagram: "+a+" of "+a.diagram),a.name!==""){var y=this.Wa,x=y.indexOf(a);if(y.remove(a)){for(y=a.Pa.copy().iterator;y.next();){var b=y.value,E=b.layerName;E!==a.name?b.layerName=E:b.layerName=""}this.cc!==null&&this.cb(Oa,"layers",this,a,null,x,null),this.N(),this.Ya()}}},ot.Qj=function(a){for(var y=this.layers;y.next();){var x=y.value;if(x.name===a)return x}return null},ot.Yw=function(a){return this.pf===null&&(this.pf=new Dn),this.pf.add(a),this.model.Pe(a),this},ot.mA=function(a){this.pf!==null&&(this.pf.remove(a),this.pf.count===0&&(this.pf=null)),this.model.ik(a)},ot.Pe=function(a){return this.zg===null&&(this.zg=new Dn),this.zg.add(a),this},ot.ik=function(a){this.zg!==null&&(this.zg.remove(a),this.zg.count===0&&(this.zg=null))},ot.ds=function(a){if(this.skipsUndoManager||this.model.skipsUndoManager||this.model.undoManager.Tu(a),a.change!==il&&(this.isModified=!0),this.zg!==null)for(var y=this.zg,x=y.length,b=0;b<x;b++)y.M(b)(a)},ot.cb=function(a,y,x,b,E,te,ne){te===void 0&&(te=null),ne===void 0&&(ne=null);var se=new Zo;se.diagram=this,se.change=a,se.propertyName=y,se.object=x,se.oldValue=b,se.oldParam=te,se.newValue=E,se.newParam=ne,this.ds(se)},ot.g=function(a,y,x,b,E){this.cb(Ko,a,this,y,x,b,E)},hn.prototype.changeState=function(a,y){if(a!==null&&a.diagram===this){var x=this.skipsModelSourceBindings;try{this.skipsModelSourceBindings=!0;var b=a.change;if(b===Ko){var E=a.object;if(jo(E,a.propertyName,a.I(y)),E instanceof qt){var te=E.part;te!==null&&te.Wb()}this.isModified=!0}else if(b===fa){var ne=a.object,se=a.newParam,he=a.newValue;if(ne instanceof Xn)if(typeof se=="number"&&he instanceof qt){y?ne.pc(se):ne.Gb(se,he);var ve=ne.part;ve!==null&&ve.Wb()}else typeof se=="number"&&he instanceof ja&&(he.isRow?h1(ne,se,y?void 0:he):d1(ne,se,y?void 0:he));else if(ne instanceof Vo){var Se=a.oldParam===!0;typeof se=="number"&&he instanceof kr&&(y?(he.isSelected=!1,he.isHighlighted=!1,he.Wb(),ne.pc(Se?se:-1,he,Se)):ne.oi(se,he,Se))}else ne instanceof hn?typeof se=="number"&&he instanceof Vo&&(y?this.Wa.mb(se):(he.Xe(this),this.Wa.Gb(se,he))):Ht("unknown ChangedEvent.Insert object: "+a.toString());this.isModified=!0}else if(b===Oa){var Be=a.object,Ve=a.oldParam,nt=a.oldValue;if(Be instanceof Xn)typeof Ve=="number"&&nt instanceof qt?y?Be.Gb(Ve,nt):Be.pc(Ve):typeof Ve=="number"&&nt instanceof ja&&(nt.isRow?h1(Be,Ve,y?nt:void 0):d1(Be,Ve,y?nt:void 0));else if(Be instanceof Vo){var rt=a.newParam===!0;typeof Ve=="number"&&nt instanceof kr&&(y?0>Be.Pa.indexOf(nt)&&Be.oi(Ve,nt,rt):(nt.isSelected=!1,nt.isHighlighted=!1,nt.Wb(),Be.pc(rt?Ve:-1,nt,rt)))}else Be instanceof hn?typeof Ve=="number"&&nt instanceof Vo&&(y?(nt.Xe(this),this.Wa.Gb(Ve,nt)):this.Wa.mb(Ve)):Ht("unknown ChangedEvent.Remove object: "+a.toString());this.isModified=!0}else b!==il&&Ht("unknown ChangedEvent: "+a.toString())}finally{this.skipsModelSourceBindings=x}}},hn.prototype.Ea=function(a){return this.undoManager.Ea(a)},hn.prototype.eb=function(a){return this.undoManager.eb(a)},hn.prototype.Kf=function(){return this.undoManager.Kf()},hn.prototype.commit=function(a,y){y===void 0&&(y="");var x=this.skipsUndoManager;y===null&&(this.skipsUndoManager=!0,y=""),this.undoManager.Ea(y);var b=!1;try{a(this),b=!0}finally{b?this.undoManager.eb(y):this.undoManager.Kf(),this.skipsUndoManager=x}},hn.prototype.updateAllTargetBindings=function(a){this.partManager.updateAllTargetBindings(a)},hn.prototype.rp=function(){this.partManager.rp()};function Jp(a,y,x){var b=a.animationManager;if(a.vb||a.ld)a.Ca=x,lc(a),a.N(),a.Ee=!0,b.zb&&(ps(b)||b.ce.add(b.H,"scale",y,a.Ca));else if(a.ta===null)a.Ca=x,lc(a);else{a.vb=!0;var E=a.viewportBounds.copy(),te=a.Aa,ne=a.ya,se=a.zoomPoint.x,he=a.zoomPoint.y,ve=a.contentAlignment;isNaN(se)&&(ve.$c()?ve.Hf(Ru)?se=0:ve.Hf(Ws)&&(se=te-1):se=ve.sb()?ve.x*(te-1):te/2),isNaN(he)&&(ve.$c()?ve.Hf(Eu)?he=0:ve.Hf(dl)&&(he=ne-1):he=ve.sb()?ve.y*(ne-1):ne/2),a.scaleComputation===null||a.animationManager.defaultAnimation.isAnimating||(x=a.scaleComputation(a,x)),x<a.minScale&&(x=a.minScale),x>a.maxScale&&(x=a.maxScale),te=Lt.allocAt(a.pa.x+se/y-se/x,a.pa.y+he/y-he/x),a.position=te,Lt.free(te),a.Ca=x,lc(a),a.vb=!1,a.onViewportBoundsChanged(E,a.viewportBounds,y,!1),Gl(a,!1),b.zb&&(ps(b)||b.ce.add(b.H,"scale",y,a.Ca))}}hn.prototype.onViewportBoundsChanged=function(a,y,x,b){if(!a.D(y)){b===void 0&&(b=!1),b||(this.Ee=!0),this.vd=!0;var E=this.layout;E===null||!E.isViewportSized||this.autoScale!==Bs||a.width===y.width&&a.height===y.height||E.C(),E=this.currentTool,this.Vk===!0&&E instanceof Wo&&(this.lastInput.documentPoint=this.Ps(this.lastInput.viewPoint),Zf(E,this)),this.vb||this.invalidateViewport(a,y),sc(this),this.fc.scale=x,this.fc.position.x=a.x,this.fc.position.y=a.y,this.fc.bounds.assign(a),this.fc.canvasSize.width=Math.round(a.width*x),this.fc.canvasSize.height=Math.round(a.height*x),this.fc.newCanvasSize.width=this.Aa,this.fc.newCanvasSize.height=this.ya,this.fc.isScroll=b,this.R("ViewportBoundsChanged",this.fc,a),this.isVirtualized&&this.links.each(function(te){te.isAvoiding&&te.actualBounds.Yc(y)&&te.bb()})}};function sc(a,y){var x=a.fe;if(x!==null&&x.visible){for(var b=qn.alloc(),E=1,te=1,ne=x.O.s,se=ne.length,he=0;he<se;he++){var ve=ne[he],Se=Math.abs(ve.interval);2>Se||(m0(ve.figure)?te=te*Se/tn.vx(te,Se):E=E*Se/tn.vx(E,Se))}if(ne=x.gridCellSize,b.h(te*ne.width,E*ne.height),y!==void 0)E=y.width,te=y.height,a=y.x,ne=y.y;else{if(y=Mn.alloc(),a=a.viewportBounds,y.h(a.x,a.y,a.width,a.height),!y.w()){Mn.free(y);return}E=y.width,te=y.height,a=y.x,ne=y.y,Mn.free(y)}x.width=E+2*b.width,x.height=te+2*b.height,y=Lt.alloc(),tn.No(a,ne,0,0,b.width,b.height,y),y.offset(-b.width,-b.height),qn.free(b),x.part.location=y,Lt.free(y)}}hn.prototype.clearSelection=function(a){a===void 0&&(a=!1);var y=this.selection;if(y.count!==0){a||this.R("ChangingSelection",y);for(var x=y.Fa(),b=x.length,E=0;E<b;E++)x[E].isSelected=!1;y.ka(),y.clear(),y.freeze(),a||this.R("ChangedSelection",y)}},hn.prototype.select=function(a){a!==null&&a.diagram===this&&(!a.isSelected||1<this.selection.count)&&(this.R("ChangingSelection",this.selection),this.clearSelection(!0),a.isSelected=!0,this.R("ChangedSelection",this.selection))},hn.prototype.rA=function(a){if(this.R("ChangingSelection",this.selection),this.clearSelection(!0),Cn(a))for(var y=a.length,x=0;x<y;x++){var b=a[x];b instanceof kr||Ht("Diagram.selectCollection given something that is not a Part: "+b),b.isSelected=!0}else for(a=a.iterator;a.next();)y=a.value,y instanceof kr||Ht("Diagram.selectCollection given something that is not a Part: "+y),y.isSelected=!0;this.R("ChangedSelection",this.selection)},hn.prototype.clearHighlighteds=function(){var a=this.highlighteds;if(0<a.count){for(var y=a.Fa(),x=y.length,b=0;b<x;b++)y[b].isHighlighted=!1;a.ka(),a.clear(),a.freeze()}},ot=hn.prototype,ot.Iz=function(a){a!==null&&a.diagram===this&&(!a.isHighlighted||1<this.highlighteds.count)&&(this.clearHighlighteds(),a.isHighlighted=!0)},ot.Jz=function(a){a=new On().addAll(a);for(var y=this.highlighteds.copy().hp(a).iterator;y.next();)y.value.isHighlighted=!1;for(a=a.iterator;a.next();)y=a.value,y instanceof kr||Ht("Diagram.highlightCollection given something that is not a Part: "+y),y.isHighlighted=!0},ot.scroll=function(a,y,x){x===void 0&&(x=1);var b=y==="up"||y==="down",E=0,te=Lt.alloc();if(a==="pixel")E=x;else if(a==="line")E=x*(b?this.scrollVerticalLineChange:this.scrollHorizontalLineChange);else if(a==="page")a=b?this.viewportBounds.height:this.viewportBounds.width,a*=this.scale,a!==0&&(E=x*Math.max(a-(b?this.scrollVerticalLineChange:this.scrollHorizontalLineChange),0));else{if(a==="document"){E=this.documentBounds,x=this.viewportBounds,y==="up"?this.position=te.h(x.x,E.y):y==="left"?this.position=te.h(E.x,x.y):y==="down"?this.position=te.h(x.x,E.bottom-x.height):y==="right"&&(this.position=te.h(E.right-x.width,x.y)),Lt.free(te);return}Ht("scrolling unit must be 'pixel', 'line', 'page', or 'document', not: "+a)}E/=this.scale,x=this.position,y==="up"?this.position=te.h(x.x,x.y-E):y==="down"?this.position=te.h(x.x,x.y+E):y==="left"?this.position=te.h(x.x-E,x.y):y==="right"?this.position=te.h(x.x+E,x.y):Ht("scrolling direction must be 'up', 'down', 'left', or 'right', not: "+y),Lt.free(te)},ot.tv=function(a){var y=this.viewportBounds;y.Re(a)||(a=a.center,a.x-=y.width/2,a.y-=y.height/2,this.position=a)},ot.es=function(a){var y=this.viewportBounds;a=a.center,a.x-=y.width/2,a.y-=y.height/2,this.position=a},ot.op=function(a){var y=this.Ab;y.reset(),this.Ca!==1&&y.scale(this.Ca);var x=this.pa;return(x.x!==0||x.y!==0)&&isFinite(x.x)&&isFinite(x.y)&&y.translate(-x.x,-x.y),a.copy().transform(this.Ab)},ot.zA=function(a){var y=this.Ab,x=a.x,b=a.y,E=x+a.width,te=b+a.height,ne=y.m11,se=y.m12,he=y.m21,ve=y.m22,Se=y.dx,Be=y.dy,Ve=x*ne+b*he+Se;y=x*se+b*ve+Be;var nt=E*ne+b*he+Se;return a=E*se+b*ve+Be,b=x*ne+te*he+Se,x=x*se+te*ve+Be,ne=E*ne+te*he+Se,E=E*se+te*ve+Be,te=Math.min(Ve,nt),Ve=Math.max(Ve,nt),nt=Math.min(y,a),y=Math.max(y,a),te=Math.min(te,b),Ve=Math.max(Ve,b),nt=Math.min(nt,x),y=Math.max(y,x),te=Math.min(te,ne),Ve=Math.max(Ve,ne),nt=Math.min(nt,E),y=Math.max(y,E),new Mn(te,nt,Ve-te,y-nt)},ot.Ps=function(a){var y=this.Ab;y.reset(),this.Ca!==1&&y.scale(this.Ca);var x=this.pa;return(x.x!==0||x.y!==0)&&isFinite(x.x)&&isFinite(x.y)&&y.translate(-x.x,-x.y),bi(a.copy(),this.Ab)};function om(a){var y=a.isModified;a.Tw!==y&&(a.Tw=y,a.R("Modified"))}function Qp(a){return a=rp.get(a),a!==null?new a:new fo}hn.prototype.doModelChanged=function(a){var y=this;if(a.model===this.model){var x=a.change,b=a.propertyName;if(x===il&&b[0]==="S")if(b==="StartingFirstTransaction"){var E=this;a=this.toolManager,a.mouseDownTools.each(function(he){return he.diagram=E}),a.mouseMoveTools.each(function(he){return he.diagram=E}),a.mouseUpTools.each(function(he){return he.diagram=E}),this.ld||this.hf||(this.Jk=!0,this.fn&&(this.kg=!0))}else b==="StartingUndo"||b==="StartingRedo"?(a=this.animationManager,a.defaultAnimation.isAnimating&&!this.skipsUndoManager&&a.Cc(),this.R("ChangingSelection",this.selection)):b==="StartedTransaction"&&(a=this.animationManager,a.defaultAnimation.isAnimating&&!this.skipsUndoManager&&a.Cc());else if(this.aa){this.aa=!1;try{if(a.modelChange===""&&x===il){(b==="FinishedUndo"||b==="FinishedRedo")&&(this.R("ChangedSelection",this.selection),cs(this));var te=this.animationManager;b==="RolledBackTransaction"&&te.Cc(),this.bx(),this.Jk=!0,this.bd(),this.undoManager.transactionLevel!==0&&this.undoManager.transactionLevel!==1||ts(te),b==="CommittedTransaction"&&this.undoManager.isJustDiscarded&&(this.Ce=Math.min(this.Ce,this.undoManager.historyIndex-1)),b!=="CommittedTransaction"&&b!=="RolledBackTransaction"||!this.undoManager.isPendingUnmodified||setTimeout(function(){y.isModified=!1},1);var ne=a.isTransactionFinished;if(ne&&(om(this),this.As.clear(),aa(this.animationManager)),!this.Rt&&ne&&this.lastInput.targetDiagram){this.Rt=!0;var se=this;kn(function(){se.currentTool.standardMouseOver(),se.Rt=!1},10)}}}finally{this.aa=!0}}}};function Id(a,y){y=y.O.s;for(var x=y.length,b=0;b<x;b++)Qh(a,y[b])}function Qh(a,y){if(y instanceof ul){var x=y.element;if(x!==null&&x instanceof HTMLImageElement){x.Bg instanceof On&&x.Bg.add(a);var b=y.Eg;if(b!==null&&b.sq===!0&&y.diagram!==null&&y.diagram.Xn.add(y),x.hn)if(x=x.getAttribute("src")||"",b=a.Og.I(x),b===null)b=[],b.push(y),a.Og.add(x,b);else{for(a=0;a<b.length;a++)if(b[a]===y)return;b.push(y)}}}}function _p(a,y){if(y instanceof ul){var x=y.element;if(x!==null&&x instanceof HTMLImageElement&&x.hn){var b=x.getAttribute("src")||"",E=a.Og.I(b);if(E!==null){for(var te=0;te<E.length;te++)if(E[te]===y){E.splice(te,1),E.length===0&&(a.Og.remove(b),x.Fq&&x.removeEventListener("load",x.Fq),x.Yp&&x.removeEventListener("error",x.Yp),delete x.Fq,delete x.Yp,x.Bg instanceof On&&x.Bg.remove(a),mp(b));break}}}}}hn.prototype.Wd=function(){this.partManager.Wd()},hn.prototype.Aj=function(a,y){this.Yd.Aj(a,y)},hn.prototype.Cj=function(a,y){this.Yd.Cj(a,y)},hn.prototype.findPartForKey=function(a){return this.partManager.findPartForKey(a)},hn.prototype.Vb=function(a){return this.partManager.Vb(a)},hn.prototype.findLinkForKey=function(a){return this.partManager.findLinkForKey(a)},ot=hn.prototype,ot.Lc=function(a){return this.partManager.Lc(a)},ot.ii=function(a){return this.partManager.ii(a)},ot.Kc=function(a){return this.partManager.Kc(a)},ot.ms=function(a){for(var y=[],x=0;x<arguments.length;++x)y[x]=arguments[x];return this.partManager.ms.apply(this.partManager,y instanceof Array?y:Ln(gi(y)))},ot.ls=function(a){for(var y=[],x=0;x<arguments.length;++x)y[x]=arguments[x];return this.partManager.ls.apply(this.partManager,y instanceof Array?y:Ln(gi(y)))};function lc(a){var y=a.pa,x=a.Ca;a.Rw.h(y.x,y.y,Math.max(a.Aa,0)/x,Math.max(a.ya,0)/x),a.vd=!0}function $p(a,y){a.Zi=!1;var x=a.Sp;x.D(y)||(x=x.copy(),a.Sp.assign(y),Gl(a,!1),a.R("DocumentBoundsChanged",void 0,x),a.Ee=!0,a.N())}ot.Va=function(){if(this.Zi){var a=Mn.alloc();$p(this,this.computeBounds(a)),Mn.free(a)}},ot.rz=function(){for(var a=new On,y=this.nodes;y.next();){var x=y.value;x.isTopLevel&&a.add(x)}for(y=this.links;y.next();)x=y.value,x.isTopLevel&&a.add(x);return a.iterator},ot.qz=function(){return this.ai.iterator},ot.Uz=function(a){cs(this),a&&$f(this,!0),this.ld?qp(this,!1):(this.Jk=!0,ol(this))};function $f(a,y){for(var x=a.ai.iterator;x.next();)am(a,x.value,y);a.layout&&(y?a.layout.isValidLayout=!1:a.layout.C())}function am(a,y,x){if(y!==null){for(var b=y.gl.iterator;b.next();)am(a,b.value,x);y.layout!==null&&(x?y.layout.isValidLayout=!1:y.layout.C())}}function qp(a,y){if(a.xh&&!a.lt){var x=a.aa;a.aa=!0;var b=a.undoManager.transactionLevel,E=a.layout,te=a.animationManager;try{b===0&&(a.undoManager.isInternalTransaction=!0,a.Ea("Layout")),1>=b&&!te.defaultAnimation.isAnimating&&!te.zb&&(y||Ps(te,"Layout")),a.xh=!1;for(var ne=a.ai.iterator;ne.next();)eg(a,ne.value,y,b);E.isValidLayout||(!y||E.isRealtime||E.isRealtime===null||b===0?(E.doLayout(a),cs(a),E.isValidLayout=!0):a.xh=!0)}finally{y=a.undoManager.isInternalTransaction,b===0&&(a.eb("Layout"),a.undoManager.isInternalTransaction=!1),!y||b!==0&&b!==1||ts(te),a.aa=x}}}function eg(a,y,x,b){if(y!==null){for(var E=y.gl.iterator;E.next();)eg(a,E.value,x,b);E=y.layout,E===null||E.isValidLayout||(!x||E.isRealtime||b===0?(y.rh=!y.location.w(),E.doLayout(y),y.C(32),na(a,y),E.isValidLayout=!0):a.xh=!0)}}ot.yz=function(){for(var a=new Dn,y=this.nodes;y.next();){var x=y.value;x.isTopLevel&&x.kh()===null&&a.add(x)}return a.iterator};function n0(a){function y(E){var te=E.toLowerCase(),ne=new Dn;x.add(E,ne),x.add(te,ne),b.add(E,E),b.add(te,E)}var x=new pr,b=new pr;y("InitialAnimationStarting"),y("AnimationStarting"),y("AnimationFinished"),y("BackgroundSingleClicked"),y("BackgroundDoubleClicked"),y("BackgroundContextClicked"),y("ClipboardChanged"),y("ClipboardPasted"),y("DocumentBoundsChanged"),y("ExternalObjectsDropped"),y("GainedFocus"),y("InitialLayoutCompleted"),y("LayoutCompleted"),y("LinkDrawn"),y("LinkRelinked"),y("LinkReshaped"),y("LostFocus"),y("Modified"),y("ObjectSingleClicked"),y("ObjectDoubleClicked"),y("ObjectContextClicked"),y("PartCreated"),y("PartResized"),y("PartRotated"),y("SelectionMoved"),y("SelectionCopied"),y("SelectionDeleting"),y("SelectionDeleted"),y("SelectionGrouped"),y("SelectionUngrouped"),y("ChangingSelection"),y("ChangedSelection"),y("SubGraphCollapsed"),y("SubGraphExpanded"),y("TextEdited"),y("TreeCollapsed"),y("TreeExpanded"),y("ViewportBoundsChanged"),y("InvalidateDraw"),a.iw=x,a.hw=b}function sm(a,y){var x=a.hw.I(y);return x!==null?x:a.hw.I(y.toLowerCase())}function qf(a,y){var x=a.iw.I(y);if(x!==null||(x=a.iw.I(y.toLowerCase()),x!==null))return x;Ht("Unknown DiagramEvent name: "+y)}ot.Bj=function(a,y){return a=qf(this,a),a!==null&&a.add(y),this},ot.am=function(a,y){a=qf(this,a),a!==null&&a.remove(y)},ot.R=function(a,y,x){var b=qf(this,a),E=new Vc;if(E.diagram=this,a=sm(this,a),a!==null&&(E.name=a),y!==void 0&&(E.subject=y),x!==void 0&&(E.parameter=x),y=b.length,y===1)b.M(0)(E);else if(y!==0)for(b=b.Fa(),x=0;x<y;x++)(0,b[x])(E)};function ep(a){if(a.animationManager.isTicking)return!1;var y=a.currentTool;return y===a.toolManager.findTool("Dragging")?!a.Mr||y.isComplexRoutingRealtime:!0}ot.Yj=function(a,y){return tp(this,!1,null,y||null).Yj(a.x,a.y,a.width,a.height)},hn.prototype.computeOccupiedArea=function(a){return this.isVirtualized?this.viewportBounds.copy():this.Zi?Td(this,a):a.assign(this.documentBounds)};function tp(a,y,x,b){var E=a.Xh;if(E===null&&(a.Xh=E=new Tg(a.avoidanceCellSize)),E.vs||E.group!==x||E.Yx!==b){if(E.Hx=Math.max(E.Os+1,Math.floor(a.avoidanceLimit/a.avoidanceCellSize.width)),E.Ix=Math.max(E.Os+1,Math.floor(a.avoidanceLimit/a.avoidanceCellSize.height)),x!==null&&(x=lm(a,x)),x===null){y=Mn.alloc(),a.computeOccupiedArea(y),y.Bc(100,100),E.initialize(y);for(var te=a.nodes;te.next();){var ne=te.value,se=ne.layer;se!==null&&se.visible&&!se.isTemporary&&np(a,ne,b,y)}Mn.free(y)}else{for(0<x.memberParts.count&&(y=a.computePartsBounds(x.memberParts,!1),y.Bc(20,20),E.initialize(y)),y=Mn.alloc(),te=x.memberParts;te.next();)ne=te.value,ne instanceof sr&&np(a,ne,b,y);Mn.free(y)}E.group=x,E.Yx=b,E.vs=!1}else y&&oS(E);return E}function lm(a,y){return y.avoidable&&!y.isLinkLabel?y:y.containingGroup!==null?lm(a,y.containingGroup):null}function np(a,y,x,b){if(y!==x&&y.isVisible()){if(y.avoidable&&!y.isLinkLabel){y=y.getAvoidableRect(b),a=a.Xh;var E=y.x,te=y.y;if(bp(a,E,te))for(x=(te-a.Od)/a.sc|0,b=Math.min((E+y.width-a.Nd)/a.rc|0,a.di),y=Math.min((te+y.height-a.Od)/a.sc|0,a.ei),E=(E-a.Nd)/a.rc|0;E<=b;E++)if(te=a.ac[E],te.fill)te.fill(Fh,x,y+1);else for(var ne=x;ne<=y;ne++)te[ne]=Fh}else if(y instanceof ii)for(y=y.memberParts;y.next();)E=y.value,E instanceof sr&&np(a,E,x,b)}}function Sh(a,y){a.Xh===null||a.Xh.vs||y!==void 0&&(!y.avoidable||y.isLinkLabel)||(a.Xh.vs=!0)}hn.prototype.gs=function(a){this.wp.assign(a),this.computeAutoScrollPosition(this.wp).Xa(this.position)?this.ug():tg(this)};function tg(a){a.vk===-1&&(a.vk=kn(function(){if(a.vk!==-1&&(a.ug(),a.lastInput.event!==null)){var y=a.computeAutoScrollPosition(a.wp);y.Xa(a.position)||(a.position=y,a.lastInput.documentPoint=a.Ps(a.wp),a.doMouseMove(),a.Zi=!0,y=Mn.alloc(),a.computeBounds(y),y.ed(a.documentBounds),$p(a,y),Mn.free(y),a.Fc=!0,a.bd(),tg(a))}},a.vp))}hn.prototype.ug=function(){this.vk!==-1&&(Dt.clearTimeout(this.vk),this.vk=-1)},hn.prototype.computeAutoScrollPosition=function(a){var y=this.position,x=this.xp;if(0>=x.top&&0>=x.left&&0>=x.right&&0>=x.bottom)return y;var b=this.viewportBounds,E=this.scale;b=Mn.allocAt(0,0,b.width*E,b.height*E);var te=Lt.allocAt(0,0);if(a.x>=b.x&&a.x<b.x+x.left&&this.allowHorizontalScroll){var ne=Math.max(this.scrollHorizontalLineChange,1);ne|=0,te.x-=ne,a.x<b.x+x.left/2&&(te.x-=ne),a.x<b.x+x.left/4&&(te.x-=4*ne)}else a.x<=b.x+b.width&&a.x>b.x+b.width-x.right&&this.allowHorizontalScroll&&(ne=Math.max(this.scrollHorizontalLineChange,1),ne|=0,te.x+=ne,a.x>b.x+b.width-x.right/2&&(te.x+=ne),a.x>b.x+b.width-x.right/4&&(te.x+=4*ne));return a.y>=b.y&&a.y<b.y+x.top&&this.allowVerticalScroll?(ne=Math.max(this.scrollVerticalLineChange,1),ne|=0,te.y-=ne,a.y<b.y+x.top/2&&(te.y-=ne),a.y<b.y+x.top/4&&(te.y-=4*ne)):a.y<=b.y+b.height&&a.y>b.y+b.height-x.bottom&&this.allowVerticalScroll&&(ne=Math.max(this.scrollVerticalLineChange,1),ne|=0,te.y+=ne,a.y>b.y+b.height-x.bottom/2&&(te.y+=ne),a.y>b.y+b.height-x.bottom/4&&(te.y+=4*ne)),te.Xa(Li)||(y=new Lt(y.x+te.x/E,y.y+te.y/E)),Mn.free(b),Lt.free(te),y},ot=hn.prototype,ot.Cs=function(){return null},ot.av=function(){return null},ot.bs=function(a,y){this.pj.add(a,y)},ot.Fu=function(a){(this.Pw=a)||this.nodes.each(function(y){y instanceof ii&&(y.$p=null)})};function gf(a,y,x){function b(){var Se=+new Date;for(te=!0,ne.reset();ne.next();)if(!ne.value[0].al){te=!1;break}te||Se-ve>he?y(x,E,se):Dt.requestAnimationFrame(b)}for(var E=x.callback,te=!0,ne=a.Og.iterator;ne.next();)if(!ne.value[0].al){te=!1;break}if(typeof E!="function"||te)return y(x,E,a);var se=a,he=x.callbackTimeout||300,ve=+new Date;return Dt.requestAnimationFrame(function(){b()}),null}ot.Wz=function(a){return ia?(a===void 0&&(a={}),a.returnType="Image",this.Jx(a)):null},ot.Jx=function(a){return a===void 0&&(a={}),gf(this,this.Xz,a)},ot.Xz=function(a,y,x){var b=um(x,a,"canvas",null);if(b===null)return null;x=b.Z.canvas;var E=null;if(x!==null)switch(E=a.returnType,E===void 0?E="string":E=E.toLowerCase(),E){case zd+"data":E=b.getImageData(0,0,x.width,x.height);break;case zd:b=(a.document||document).createElement("img"),b.src=x.toDataURL(a.type,a.details),E=b;break;case"blob":return typeof y!="function"&&Ht('Error: Diagram.makeImageData called with "returnType: toBlob", but no required "callback" function property defined.'),typeof x.toBlob=="function"?(x.toBlob(y,a.type,a.details),"toBlob"):(y(null),null);default:E=x.toDataURL(a.type,a.details)}return typeof y=="function"?(y(E),null):E};function um(a,y,x,b){if(a.animationManager.Cc(),a.bd(),a.ta===null)return null;typeof y!="object"&&Ht("properties argument must be an Object.");var E=y.size||null,te=y.scale||null;y.scale!==void 0&&isNaN(y.scale)&&(te="NaN");var ne=y.maxSize;y.maxSize===void 0&&(ne=x==="SVG"?new qn(1/0,1/0):new qn(2e3,2e3));var se=y.position||null,he=y.parts||null,ve=y.padding===void 0?1:y.padding,Se=y.background||null,Be=y.omitTemporary;Be===void 0&&(Be=!0);var Ve=y.document||document,nt=y.elementFinished||null,rt=y.showTemporary;rt===void 0&&(rt=!Be),y=y.showGrid,y===void 0&&(y=rt),E!==null&&isNaN(E.width)&&isNaN(E.height)&&(E=null),typeof ve=="number"?ve=new Or(ve):ve instanceof Or||Ht("MakeImage padding must be a Margin or a number."),ve.left=Math.max(ve.left,0),ve.right=Math.max(ve.right,0),ve.top=Math.max(ve.top,0),ve.bottom=Math.max(ve.bottom,0),a.ib.Vc(!0),Be=new yu(null,Ve,void 0,!0);var ct=Be.context;if(!(E||te||he||se))return Be.width=a.Aa+Math.ceil(ve.left+ve.right),Be.height=a.ya+Math.ceil(ve.top+ve.bottom),x==="SVG"?b===null?null:(b.resize(Be.width,Be.height,Be.width,Be.height),b.ownerDocument=Ve,b.hs=nt,Fa(a,b.context,ve,new qn(Be.width,Be.height),a.Ca,a.pa,he,Se,rt,y),b.context):(a.Xm=!1,Fa(a,ct,ve,new qn(Be.width,Be.height),a.Ca,a.pa,he,Se,rt,y),a.Xm=!0,Be.context);var kt=a.Pp,Mt=a.documentBounds.copy();if(Mt.Fv(a.yb),rt)for(var Rt=a.Wa.s,Ut=Rt.length,Yt=0;Yt<Ut;Yt++){var $t=Rt[Yt];if($t.visible&&$t.isTemporary){$t=$t.Pa.s;for(var dn=$t.length,rr=0;rr<dn;rr++){var mr=$t[rr];mr.isInDocumentBounds&&mr.isVisible()&&(mr=mr.actualBounds,mr.w()&&Mt.ed(mr))}}}if(Rt=new Lt(Mt.x,Mt.y),he!==null){for(Ut=new Mn(0,0,0,0),Yt=!0,$t=he.iterator,$t.reset();$t.next();)dn=$t.value,dn instanceof kr&&(rr=dn.layer,rr!==null&&!rr.visible||rr!==null&&!rt&&rr.isTemporary||!dn.isVisible()||(dn=dn.actualBounds,dn.w()&&(Yt?(Yt=!1,Ut.assign(dn)):Ut.ed(dn))));Mt.width=Ut.width,Mt.height=Ut.height,Rt.x=Ut.x,Rt.y=Ut.y}return se!==null&&se.w()&&(Rt=se,te||(te=kt)),Ut=se=0,ve!==null&&(se=ve.left+ve.right,Ut=ve.top+ve.bottom),Yt=$t=0,E!==null&&($t=E.width,Yt=E.height,isFinite($t)&&($t=Math.max(0,$t-se)),isFinite(Yt)&&(Yt=Math.max(0,Yt-Ut))),E!==null&&te!==null?(te==="NaN"&&(te=kt),E.w()?(E=$t,Mt=Yt):isNaN(Yt)?(E=$t,Mt=Mt.height*te):(E=Mt.width*te,Mt=Yt)):E!==null?E.w()?(te=Math.min($t/Mt.width,Yt/Mt.height),E=$t,Mt=Yt):isNaN(Yt)?(te=$t/Mt.width,E=$t,Mt=Mt.height*te):(te=Yt/Mt.height,E=Mt.width*te,Mt=Yt):te!==null?te==="NaN"&&ne.w()?(te=Math.min((ne.width-se)/Mt.width,(ne.height-Ut)/Mt.height),te>kt?(te=kt,E=Mt.width,Mt=Mt.height):(E=ne.width,Mt=ne.height)):(E=Mt.width*te,Mt=Mt.height*te):(te=kt,E=Mt.width,Mt=Mt.height),ve!==null?(E+=se,Mt+=Ut):ve=new Or(0),ne!==null&&(kt=ne.width,ne=ne.height,isNaN(kt)&&(kt=2e3),isNaN(ne)&&(ne=2e3),isFinite(kt)&&(E=Math.min(E,kt)),isFinite(ne)&&(Mt=Math.min(Mt,ne))),Be.width=Math.ceil(E),Be.height=Math.ceil(Mt),x==="SVG"?b===null?null:(b.resize(Be.width,Be.height,Be.width,Be.height),b.ownerDocument=Ve,b.hs=nt,Fa(a,b.context,ve,new qn(Math.ceil(E),Math.ceil(Mt)),te,Rt,he,Se,rt,y),b.context):(a.Xm=!1,Fa(a,ct,ve,new qn(Math.ceil(E),Math.ceil(Mt)),te,Rt,he,Se,rt,y),a.Xm=!0,Be.context)}Pt.Object.defineProperties(hn.prototype,{renderer:{get:function(){return this.nl},set:function(a){this instanceof Re||(a===""&&(a="default"),a=a.toLowerCase(),a!==this.nl&&(this.nl=a,a==="default"||a==="canvas"?(a=this.pj.get("svg"),a!==null&&a.Oa.remove(),this.ta&&(this.ib=this.ta.context)):a==="svg"?(this.pj.contains("svg")?a=this.pj.get("svg"):(a=new uc(this,Dt.document),this.bs("svg",a)),this.div!==null&&this.div.appendChild(a.Oa),this.ib=a.context,this.ta&&(this.ta.context.setTransform(this.Mb,0,0,this.Mb,0,0),this.ta.context.clearRect(0,0,this.Aa,this.ya))):a!=="debug"||this.pj.contains("SVG")||(a=new uc(this,Dt.document),this.bs("SVG",a),a.Oa.style.backgroundColor="whitesmoke",this.div!==null&&this.div.after(a.Oa)),this.hk()))}},div:{get:function(){return this.Ka},set:function(a){if(this.Ka!==a){var y=this.Ka;y!==null?(y.H=void 0,y.goDiagram=void 0,y.go=void 0,y.innerHTML="",this.ta!==null&&(y=this.ta.Oa,this.removeEventListener(y,"pointermove",this.dk,!1),this.removeEventListener(y,"pointerdown",this.ui,!1),this.removeEventListener(y,"pointerup",this.fk,!1),this.removeEventListener(y,"pointerout",this.ek,!1),this.removeEventListener(y,"pointercancel",this.ck,!1),this.ta.mx()),this.ol&&(this.ol.disconnect(),this.ol=null),y=this.toolManager,y!==null&&(y.mouseDownTools.each(function(x){x.cancelWaitAfter()}),y.mouseMoveTools.each(function(x){x.cancelWaitAfter()}),y.mouseUpTools.each(function(x){x.cancelWaitAfter()})),y.cancelWaitAfter(),this.currentTool.doCancel(),this.ta=null,this.removeEventListener(Dt,"resize",this.Ov,!1),this.removeEventListener(Dt,"wheel",this.$j,!0),Xu===this&&(Xu=null)):this.ui===null&&(this.hf=!1),this.Ka=null,a!==null&&((y=a.H)&&(y.div=null),Md(this,a),this.hk())}}},$w:{get:function(){return this.Sq}},pi:{get:function(){return this.hf}},draggedLink:{get:function(){return this.nt},set:function(a){this.nt!==a&&(this.nt=a,a!==null&&(this.Vt=a.fromPort,this.Wt=a.toPort))}},Mx:{get:function(){return this.Vt},set:function(a){this.Vt=a}},Nx:{get:function(){return this.Wt},set:function(a){this.Wt=a}},animationManager:{get:function(){return this.Yd}},undoManager:{get:function(){return this.cc.undoManager}},skipsUndoManager:{get:function(){return this.Wg},set:function(a){this.Wg=a,this.cc.skipsUndoManager=a}},delaysLayout:{get:function(){return this.lt},set:function(a){this.lt=a}},opacity:{get:function(){return this.pb},set:function(a){var y=this.pb;y!==a&&((0>a||1<a)&&Kn(a,"0 <= value <= 1",hn,"opacity"),this.pb=a,this.g("opacity",y,a),this.N())}},validCycle:{get:function(){return this.wu},set:function(a){var y=this.wu;y!==a&&(this.wu=a,this.g("validCycle",y,a))}},layers:{get:function(){return this.Wa.iterator}},isModelReadOnly:{get:function(){var a=this.cc;return a===null?!1:a.isReadOnly},set:function(a){var y=this.cc;y!==null&&(y.isReadOnly=a)}},isReadOnly:{get:function(){return this.Gg},set:function(a){var y=this.Gg;y!==a&&(this.Gg=a,this.g("isReadOnly",y,a))}},isEnabled:{get:function(){return this.Jd},set:function(a){var y=this.Jd;y!==a&&(this.Jd=a,this.g("isEnabled",y,a))}},allowClipboard:{get:function(){return this.Us},set:function(a){var y=this.Us;y!==a&&(this.Us=a,this.g("allowClipboard",y,a))}},allowCopy:{get:function(){return this.Fi},set:function(a){var y=this.Fi;y!==a&&(this.Fi=a,this.g("allowCopy",y,a))}},allowDelete:{get:function(){return this.Gi},set:function(a){var y=this.Gi;y!==a&&(this.Gi=a,this.g("allowDelete",y,a))}},allowDragOut:{get:function(){return this.Vs},set:function(a){var y=this.Vs;y!==a&&(this.Vs=a,this.g("allowDragOut",y,a))}},allowDrop:{get:function(){return this.Ws},set:function(a){var y=this.Ws;y!==a&&(this.Ws=a,this.g("allowDrop",y,a))}},allowTextEdit:{get:function(){return this.Pi},set:function(a){var y=this.Pi;y!==a&&(this.Pi=a,this.g("allowTextEdit",y,a))}},allowGroup:{get:function(){return this.Hi},set:function(a){var y=this.Hi;y!==a&&(this.Hi=a,this.g("allowGroup",y,a))}},allowUngroup:{get:function(){return this.Qi},set:function(a){var y=this.Qi;y!==a&&(this.Qi=a,this.g("allowUngroup",y,a))}},allowInsert:{get:function(){return this.Ys},set:function(a){var y=this.Ys;y!==a&&(this.Ys=a,this.g("allowInsert",y,a))}},allowLink:{get:function(){return this.Ii},set:function(a){var y=this.Ii;y!==a&&(this.Ii=a,this.g("allowLink",y,a))}},allowRelink:{get:function(){return this.Ki},set:function(a){var y=this.Ki;y!==a&&(this.Ki=a,this.g("allowRelink",y,a))}},allowMove:{get:function(){return this.Ji},set:function(a){var y=this.Ji;y!==a&&(this.Ji=a,this.g("allowMove",y,a))}},allowReshape:{get:function(){return this.Li},set:function(a){var y=this.Li;y!==a&&(this.Li=a,this.g("allowReshape",y,a))}},allowResize:{get:function(){return this.Mi},set:function(a){var y=this.Mi;y!==a&&(this.Mi=a,this.g("allowResize",y,a))}},allowRotate:{get:function(){return this.Ni},set:function(a){var y=this.Ni;y!==a&&(this.Ni=a,this.g("allowRotate",y,a))}},allowSelect:{get:function(){return this.Oi},set:function(a){var y=this.Oi;y!==a&&(this.Oi=a,this.g("allowSelect",y,a))}},allowUndo:{get:function(){return this.Zs},set:function(a){var y=this.Zs;y!==a&&(this.Zs=a,this.g("allowUndo",y,a))}},allowZoom:{get:function(){return this.at},set:function(a){var y=this.at;y!==a&&(this.at=a,this.g("allowZoom",y,a))}},hasVerticalScrollbar:{get:function(){return this.nn},set:function(a){var y=this.nn;y!==a&&(this.nn=a,this.Ee=!0,this.N(),this.g("hasVerticalScrollbar",y,a),Gl(this,!1))}},hasHorizontalScrollbar:{get:function(){return this.mn},set:function(a){var y=this.mn;y!==a&&(this.mn=a,this.Ee=!0,this.N(),this.g("hasHorizontalScrollbar",y,a),Gl(this,!1))}},allowHorizontalScroll:{get:function(){return this.Xs},set:function(a){var y=this.Xs;y!==a&&(this.Xs=a,this.g("allowHorizontalScroll",y,a),Gl(this,!1))}},allowVerticalScroll:{get:function(){return this.$s},set:function(a){var y=this.$s;y!==a&&(this.$s=a,this.g("allowVerticalScroll",y,a),Gl(this,!1))}},scrollHorizontalLineChange:{get:function(){return this.iu},set:function(a){var y=this.iu;y!==a&&(0>a&&Kn(a,">= 0",hn,"scrollHorizontalLineChange"),this.iu=a,this.g("scrollHorizontalLineChange",y,a))}},scrollVerticalLineChange:{get:function(){return this.mu},set:function(a){var y=this.mu;y!==a&&(0>a&&Kn(a,">= 0",hn,"scrollVerticalLineChange"),this.mu=a,this.g("scrollVerticalLineChange",y,a))}},lastInput:{get:function(){return this.cj},set:function(a){this.cj=a}},previousInput:{get:function(){return this.Qg},set:function(a){this.Qg=a}},firstInput:{get:function(){return this.bq},set:function(a){this.bq=a}},currentCursor:{get:function(){return this.it},set:function(a){if(a===""&&(a=this.Op),this.it!==a){var y=this.ta,x=this.Ka;if(y!==null&&x!==null){this.it=a;var b=y.style.cursor;y.style.cursor=a,x.style.cursor=a,y.style.cursor===b&&(y.style.cursor="-webkit-"+a,x.style.cursor="-webkit-"+a,y.style.cursor===b&&(y.style.cursor="-moz-"+a,x.style.cursor="-moz-"+a,y.style.cursor===b&&(y.style.cursor=a,x.style.cursor=a)))}}}},defaultCursor:{get:function(){return this.Op},set:function(a){a===""&&(a="auto");var y=this.Op;y!==a&&(this.Op=a,this.g("defaultCursor",y,a))}},click:{get:function(){return this.zh},set:function(a){var y=this.zh;y!==a&&(this.zh=a,this.g("click",y,a))}},doubleClick:{get:function(){return this.Fh},set:function(a){var y=this.Fh;y!==a&&(this.Fh=a,this.g("doubleClick",y,a))}},contextClick:{get:function(){return this.Bh},set:function(a){var y=this.Bh;y!==a&&(this.Bh=a,this.g("contextClick",y,a))}},mouseOver:{get:function(){return this.Qh},set:function(a){var y=this.Qh;y!==a&&(this.Qh=a,this.g("mouseOver",y,a))}},mouseHover:{get:function(){return this.Oh},set:function(a){var y=this.Oh;y!==a&&(this.Oh=a,this.g("mouseHover",y,a))}},mouseHold:{get:function(){return this.Nh},set:function(a){var y=this.Nh;y!==a&&(this.Nh=a,this.g("mouseHold",y,a))}},mouseDragOver:{get:function(){return this.Qt},set:function(a){var y=this.Qt;y!==a&&(this.Qt=a,this.g("mouseDragOver",y,a))}},mouseDrop:{get:function(){return this.Lh},set:function(a){var y=this.Lh;y!==a&&(this.Lh=a,this.g("mouseDrop",y,a))}},handlesDragDropForTopLevelParts:{get:function(){return this.xt},set:function(a){var y=this.xt;y!==a&&(this.xt=a,this.g("handlesDragDropForTopLevelParts",y,a))}},mouseEnter:{get:function(){return this.Mh},set:function(a){var y=this.Mh;y!==a&&(this.Mh=a,this.g("mouseEnter",y,a))}},mouseLeave:{get:function(){return this.Ph},set:function(a){var y=this.Ph;y!==a&&(this.Ph=a,this.g("mouseLeave",y,a))}},toolTip:{get:function(){return this.$h},set:function(a){var y=this.$h;y!==a&&(this.$h=a,this.g("toolTip",y,a))}},contextMenu:{get:function(){return this.Ch},set:function(a){var y=this.Ch;y!==a&&(this.Ch=a,this.g("contextMenu",y,a))}},commandHandler:{get:function(){return this.nb},set:function(a){this.nb!==a&&(this.nb=a,a.Xe(this))}},toolManager:{get:function(){return this.te},set:function(a){this.te!==a&&(this.te=a,a.diagram=this)}},defaultTool:{get:function(){return this.ob},set:function(a){var y=this.ob;y!==a&&(this.ob=a,a.diagram=this,this.currentTool===y&&(this.currentTool=a))}},currentTool:{get:function(){return this.hb},set:function(a){var y=this.hb;y&&(y.isActive&&y.doDeactivate(),y.cancelWaitAfter(),y.doStop()),a===null&&(a=this.defaultTool),a!==null&&(this.hb=a,a.diagram=this,a.doStart())}},selection:{get:function(){return this.Hw}},maxSelectionCount:{get:function(){return this.Nt},set:function(a){var y=this.Nt;if(y!==a)if(0<=a&&!isNaN(a)){if(this.Nt=a,this.g("maxSelectionCount",y,a),!this.undoManager.isUndoingRedoing&&(a=this.selection.count-a,0<a)){this.R("ChangingSelection",this.selection),y=this.selection.Fa();for(var x=0;x<a;x++)y[x].isSelected=!1;this.R("ChangedSelection",this.selection)}}else Kn(a,">= 0",hn,"maxSelectionCount")}},nodeSelectionAdornmentTemplate:{get:function(){return this.St},set:function(a){var y=this.St;y!==a&&(this.St=a,this.g("nodeSelectionAdornmentTemplate",y,a))}},groupSelectionAdornmentTemplate:{get:function(){return this.wt},set:function(a){var y=this.wt;y!==a&&(this.wt=a,this.g("groupSelectionAdornmentTemplate",y,a))}},linkSelectionAdornmentTemplate:{get:function(){return this.Kt},set:function(a){var y=this.Kt;y!==a&&(this.Kt=a,this.g("linkSelectionAdornmentTemplate",y,a))}},highlighteds:{get:function(){return this.nw}},isModified:{get:function(){var a=this.undoManager;return a.isEnabled?a.currentTransaction!==null?!0:this.rn&&this.Ce!==a.historyIndex:this.rn},set:function(a){if(this.rn!==a){this.rn=a;var y=this.undoManager;!a&&y.isEnabled&&(this.Ce=y.historyIndex),a||om(this)}}},model:{get:function(){return this.cc},set:function(a){var y=this.cc;if(y!==a){this.currentTool.doCancel(),y&&y.undoManager!==a.undoManager&&y.undoManager.isInTransaction&&Ht("Do not replace a Diagram.model while a transaction is in progress."),this.animationManager.Cc(!0);var x=gh(this,!0);this.hf=!1,this.fn=!0,this.Ce=-2,this.kg=!1;var b=this.vb;this.vb=!0,Ps(this.animationManager,"Model"),y&&(this.pf!==null&&this.pf.each(function(te){return y.ik(te)}),y.ik(this.Oc)),this.cc=a,this.partManager=Qp(this.cc.type);for(var E=0;E<x.length;E++)this.add(x[E]);a.Pe(this.Hb),this.partManager.addAllModeledParts(),a.ik(this.Hb),a.Pe(this.Oc),this.pf!==null&&this.pf.each(function(te){return a.Pe(te)}),this.vb=b,this.Ya(),this.vb||this.N(),y&&a.undoManager.copyProperties(y.undoManager)}}},aa:{get:function(){return this.rw},set:function(a){this.rw=a}},As:{get:function(){return this.sy}},skipsModelSourceBindings:{get:function(){return this.Iw},set:function(a){this.Iw=a}},Ns:{get:function(){return this.ou},set:function(a){this.ou=a}},nodeTemplate:{get:function(){return this.Lg.I("")},set:function(a){var y=this.Lg.I("");y!==a&&(this.Lg.add("",a),this.g("nodeTemplate",y,a),this.undoManager.isUndoingRedoing||this.Wd())}},nodeTemplateMap:{get:function(){return this.Lg},set:function(a){var y=this.Lg;y!==a&&(this.Lg=a,this.g("nodeTemplateMap",y,a),this.undoManager.isUndoingRedoing||this.Wd())}},groupTemplate:{get:function(){return this.Yi.I("")},set:function(a){var y=this.Yi.I("");y!==a&&(this.Yi.add("",a),this.g("groupTemplate",y,a),this.undoManager.isUndoingRedoing||this.Wd())}},groupTemplateMap:{get:function(){return this.Yi},set:function(a){var y=this.Yi;y!==a&&(this.Yi=a,this.g("groupTemplateMap",y,a),this.undoManager.isUndoingRedoing||this.Wd())}},linkTemplate:{get:function(){return this.Kh.I("")},set:function(a){var y=this.Kh.I("");y!==a&&(this.Kh.add("",a),this.g("linkTemplate",y,a),this.undoManager.isUndoingRedoing||this.Wd())}},linkTemplateMap:{get:function(){return this.Kh},set:function(a){var y=this.Kh;y!==a&&(this.Kh=a,this.g("linkTemplateMap",y,a),this.undoManager.isUndoingRedoing||this.Wd())}},isMouseCaptured:{get:function(){return this.qw},set:function(a){var y=this.ta;y!==null&&(y=y.Oa,y instanceof SVGElement||(a?(this.lastInput.bubbles=!1,this.removeEventListener(y,"pointermove",this.dk,!1),this.removeEventListener(y,"pointerdown",this.ui,!1),this.removeEventListener(y,"pointerup",this.fk,!1),this.removeEventListener(y,"pointerout",this.ek,!1),this.removeEventListener(y,"pointercancel",this.ck,!1),this.addEventListener(Dt,"pointermove",this.dk,!0),this.addEventListener(Dt,"pointerdown",this.ui,!0),this.addEventListener(Dt,"pointerup",this.fk,!0),this.addEventListener(Dt,"pointerout",this.ek,!0),this.addEventListener(Dt,"pointercancel",this.ck,!0),this.removeEventListener(y,"wheel",this.$j,!1),this.addEventListener(Dt,"wheel",this.$j,!0),this.addEventListener(Dt,"selectstart",this.preventDefault,!1)):(this.removeEventListener(Dt,"pointermove",this.dk,!0),this.removeEventListener(Dt,"pointerdown",this.ui,!0),this.removeEventListener(Dt,"pointerup",this.fk,!0),this.removeEventListener(Dt,"pointerout",this.ek,!0),this.removeEventListener(Dt,"pointercancel",this.ck,!0),this.addEventListener(y,"pointermove",this.dk,!1),this.addEventListener(y,"pointerdown",this.ui,!1),this.addEventListener(y,"pointerup",this.fk,!1),this.addEventListener(y,"pointerout",this.ek,!1),this.addEventListener(y,"pointercancel",this.ck,!1),this.removeEventListener(Dt,"wheel",this.$j,!0),this.removeEventListener(Dt,"selectstart",this.preventDefault,!1),this.addEventListener(y,"wheel",this.$j,!1)),this.qw=a))}},position:{get:function(){return this.pa},set:function(a){var y=Lt.alloc().assign(this.pa);if(!y.D(a)){var x=this.viewportBounds.copy();this.pa.assign(a),gs(this.animationManager,y,this.pa),this.vb||this.ta===null&&!this.wo.w()?lc(this):(this.vb=!0,a=this.scale,pf(this,this.Sp,this.Aa/a,this.ya/a,this.zk,!1),this.vb=!1),this.vb||this.onViewportBoundsChanged(x,this.viewportBounds,this.Ca,!1)}Lt.free(y)}},initialPosition:{get:function(){return this.zt},set:function(a){this.zt.D(a)||(this.zt=a.J())}},initialScale:{get:function(){return this.At},set:function(a){this.At!==a&&(this.At=a)}},grid:{get:function(){return this.fe===null&&(this.fe=df(this)),this.fe},set:function(a){var y=this.fe;if(y!==a){y===null&&(y=this.fe=df(this)),a.type!==Xn.Grid&&Ht("Diagram.grid must be a Panel of type Panel.Grid");var x=y.panel;x!==null&&x.remove(y),this.fe=a,a.name="GRID",x!==null&&x.add(a),sc(this),this.N(),this.g("grid",y,a)}}},viewportBounds:{get:function(){return this.Rw}},viewSize:{get:function(){return this.wo},set:function(a){var y=this.viewSize;y.D(a)||(this.wo=a=a.J(),this.ya=this.Aa=0,a.w()?(this.Aa=a.width,this.ya=a.height):this.Ka!==null&&(this.Aa=this.Ka.clientWidth||1,this.ya=this.Ka.clientHeight||1),lc(this),this.Ya(),this.g("viewSize",y,a),this.redraw())}},fixedBounds:{get:function(){return this.ut},set:function(a){var y=this.ut;y.D(a)||(a.width!==-1/0&&a.height!==1/0&&a.height!==-1/0||Ht("fixedBounds width/height must not be Infinity"),this.ut=a=a.J(),this.Ya(),this.g("fixedBounds",y,a))}},scrollMargin:{get:function(){return this.rj},set:function(a){typeof a=="number"&&(a=new Or(a));var y=this.rj;y.D(a)||(this.rj=a=a.J(),this.g("scrollMargin",y,a),this.hk())}},scrollMode:{get:function(){return this.sj},set:function(a){var y=this.sj;y!==a&&(this.sj=a,a===xh&&Gl(this,!1),this.g("scrollMode",y,a),this.Ee=!0,this.N())}},scrollsPageOnFocus:{get:function(){return this.nu},set:function(a){var y=this.nu;y!==a&&(this.nu=a,this.g("scrollsPageOnFocus",y,a))}},positionComputation:{get:function(){return this.Zt},set:function(a){var y=this.Zt;y!==a&&(this.Zt=a,Gl(this,!1),this.g("positionComputation",y,a))}},scaleComputation:{get:function(){return this.fu},set:function(a){var y=this.fu;y!==a&&(this.fu=a,Jp(this,this.scale,this.scale),this.g("scaleComputation",y,a))}},documentBounds:{get:function(){return this.Sp}},isVirtualized:{get:function(){return this.It},set:function(a){var y=this.It;y!==a&&(this.It=a,this.g("isVirtualized",y,a))}},scale:{get:function(){return this.Ca},set:function(a){var y=this.Ca;y!==a&&Jp(this,y,a)}},defaultScale:{get:function(){return this.Pp},set:function(a){this.Pp=a}},autoScale:{get:function(){return this.yh},set:function(a){var y=this.yh;y!==a&&(this.yh=a,this.g("autoScale",y,a),a!==Bs&&Gl(this,!1))}},initialAutoScale:{get:function(){return this.Fg},set:function(a){var y=this.Fg;y!==a&&(this.Fg=a,this.g("initialAutoScale",y,a))}},initialViewportSpot:{get:function(){return this.Bt},set:function(a){var y=this.Bt;y!==a&&(a.sb()||Ht("initialViewportSpot must be a specific Spot: "+a),this.Bt=a,this.g("initialViewportSpot",y,a))}},initialDocumentSpot:{get:function(){return this.yt},set:function(a){var y=this.yt;y!==a&&(a.sb()||Ht("initialViewportSpot must be a specific Spot: "+a),this.yt=a,this.g("initialDocumentSpot",y,a))}},minScale:{get:function(){return this.Ot},set:function(a){var y=this.Ot;y!==a&&(0<a?(this.Ot=a,this.g("minScale",y,a),a>this.scale&&(this.scale=a)):Kn(a,"> 0",hn,"minScale"))}},maxScale:{get:function(){return this.Mt},set:function(a){var y=this.Mt;y!==a&&(0<a?(this.Mt=a,this.g("maxScale",y,a),a<this.scale&&(this.scale=a)):Kn(a,"> 0",hn,"maxScale"))}},zoomPoint:{get:function(){return this.zu},set:function(a){this.zu.D(a)||(this.zu=a=a.J())}},contentAlignment:{get:function(){return this.zk},set:function(a){var y=this.zk;y.D(a)||(this.zk=a=a.J(),this.g("contentAlignment",y,a),Gl(this,!1))}},initialContentAlignment:{get:function(){return this.pq},set:function(a){var y=this.pq;y.D(a)||(this.pq=a=a.J(),this.g("initialContentAlignment",y,a))}},padding:{get:function(){return this.yb},set:function(a){typeof a=="number"&&(a=new Or(a));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.Ya(),this.g("padding",y,a))}},partManager:{get:function(){return this.Pc},set:function(a){var y=this.Pc;y!==a&&(a.diagram!==null&&Ht("Cannot share PartManagers between Diagrams: "+a.toString()),y&&y.Xe(null),this.Pc=a,a.Xe(this))}},nodes:{get:function(){return this.partManager.nodes.iterator}},links:{get:function(){return this.partManager.links.iterator}},parts:{get:function(){return this.partManager.parts.iterator}},layout:{get:function(){return this.Sc},set:function(a){var y=this.Sc;y!==a&&(this.Sc=a,a.diagram=this,a.group=null,this.xh=!0,this.g("layout",y,a),this.$b())}},isTreePathToChildren:{get:function(){return this.Ht},set:function(a){var y=this.Ht;if(y!==a&&(this.Ht=a,this.g("isTreePathToChildren",y,a),!this.undoManager.isUndoingRedoing))for(a=this.nodes;a.next();)Sg(a.value)}},treeCollapsePolicy:{get:function(){return this.uu},set:function(a){var y=this.uu;y!==a&&(a!==wh&&a!==Ba&&a!==ip&&Ht("Unknown Diagram.treeCollapsePolicy: "+a),this.uu=a,this.g("treeCollapsePolicy",y,a))}},Ue:{get:function(){return this.pw},set:function(a){this.pw=a}},avoidanceCellSize:{get:function(){return this.aw},set:function(a){this.Xh=null,this.aw=new qn(Math.max(1,a.width),Math.max(1,a.height))}},avoidanceLimit:{get:function(){return this.bw},set:function(a){this.bw=Math.max(1,a)}},autoScrollInterval:{get:function(){return this.vp},set:function(a){var y=this.vp;y!==a&&(this.vp=a,this.g("autoScrollInterval",y,a))}},autoScrollRegion:{get:function(){return this.xp},set:function(a){typeof a=="number"&&(a=new Or(a));var y=this.xp;y.D(a)||(this.xp=a=a.J(),this.Ya(),this.g("autoScrollRegion",y,a))}}}),Pt.Object.defineProperties(hn,{licenseKey:{get:function(){return sg.jc()},set:function(a){sg.add(a.replace(/\s/g,""))}},version:{get:function(){return Rd}}}),hn.prototype.makeImageData=hn.prototype.Jx,hn.prototype.makeImage=hn.prototype.Wz,hn.prototype.cacheGroupExternalLinks=hn.prototype.Fu,hn.prototype.addRenderer=hn.prototype.bs,hn.prototype.makeSVG=hn.prototype.av,hn.prototype.makeSvg=hn.prototype.Cs,hn.prototype.stopAutoScroll=hn.prototype.ug,hn.prototype.doAutoScroll=hn.prototype.gs,hn.prototype.isUnoccupied=hn.prototype.Yj,hn.prototype.raiseDiagramEvent=hn.prototype.R,hn.prototype.removeDiagramListener=hn.prototype.am,hn.prototype.addDiagramListener=hn.prototype.Bj,hn.prototype.findTreeRoots=hn.prototype.yz,hn.prototype.layoutDiagram=hn.prototype.Uz,hn.prototype.findTopLevelGroups=hn.prototype.qz,hn.prototype.findTopLevelNodesAndLinks=hn.prototype.rz,hn.prototype.ensureBounds=hn.prototype.Va,hn.prototype.findLinksByExample=hn.prototype.ls,hn.prototype.findNodesByExample=hn.prototype.ms,hn.prototype.findLinkForData=hn.prototype.Kc,hn.prototype.findNodeForData=hn.prototype.ii,hn.prototype.findPartForData=hn.prototype.Lc,hn.prototype.findLinkForKey=hn.prototype.findLinkForKey,hn.prototype.findNodeForKey=hn.prototype.Vb,hn.prototype.findPartForKey=hn.prototype.findPartForKey,hn.prototype.rebuildParts=hn.prototype.Wd,hn.prototype.transformViewToDoc=hn.prototype.Ps,hn.prototype.transformRectDocToView=hn.prototype.zA,hn.prototype.transformDocToView=hn.prototype.op,hn.prototype.centerRect=hn.prototype.es,hn.prototype.scrollToRect=hn.prototype.tv,hn.prototype.scroll=hn.prototype.scroll,hn.prototype.highlightCollection=hn.prototype.Jz,hn.prototype.highlight=hn.prototype.Iz,hn.prototype.selectCollection=hn.prototype.rA,hn.prototype.select=hn.prototype.select,hn.prototype.updateAllRelationshipsFromData=hn.prototype.rp,hn.prototype.updateAllTargetBindings=hn.prototype.updateAllTargetBindings,hn.prototype.commit=hn.prototype.commit,hn.prototype.rollbackTransaction=hn.prototype.Kf,hn.prototype.commitTransaction=hn.prototype.eb,hn.prototype.startTransaction=hn.prototype.Ea,hn.prototype.raiseChanged=hn.prototype.g,hn.prototype.raiseChangedEvent=hn.prototype.cb,hn.prototype.removeChangedListener=hn.prototype.ik,hn.prototype.addChangedListener=hn.prototype.Pe,hn.prototype.removeModelChangedListener=hn.prototype.mA,hn.prototype.addModelChangedListener=hn.prototype.Yw,hn.prototype.findLayer=hn.prototype.Qj,hn.prototype.removeLayer=hn.prototype.kA,hn.prototype.addLayerAfter=hn.prototype.Cy,hn.prototype.addLayerBefore=hn.prototype.Ww,hn.prototype.addLayer=hn.prototype.Al,hn.prototype.moveParts=hn.prototype.moveParts,hn.prototype.copyParts=hn.prototype.Kj,hn.prototype.removeParts=hn.prototype.Is,hn.prototype.remove=hn.prototype.remove,hn.prototype.add=hn.prototype.add,hn.prototype.clearDelayedGeometries=hn.prototype.bx,hn.prototype.setProperties=hn.prototype.nm,hn.prototype.attach=hn.prototype.Du,hn.prototype.set=hn.prototype.set,hn.prototype.resetInputOptions=hn.prototype.Sx,hn.prototype.setInputOption=hn.prototype.sA,hn.prototype.getInputOption=hn.prototype.Ql,hn.prototype.resetRenderingHints=hn.prototype.Tx,hn.prototype.setRenderingHint=hn.prototype.Xx,hn.prototype.getRenderingHint=hn.prototype.Gf,hn.prototype.maybeUpdate=hn.prototype.bd,hn.prototype.requestUpdate=hn.prototype.$b,hn.prototype.delayInitialization=hn.prototype.Xy,hn.prototype.isUpdateRequested=hn.prototype.Pz,hn.prototype.invalidateDocumentBounds=hn.prototype.Ya,hn.prototype.findObjectsNear=hn.prototype.og,hn.prototype.findPartsNear=hn.prototype.mz,hn.prototype.findObjectsIn=hn.prototype.Cf,hn.prototype.findPartsIn=hn.prototype.ux,hn.prototype.findObjectsAt=hn.prototype.ji,hn.prototype.findPartsAt=hn.prototype.lz,hn.prototype.findObjectAt=hn.prototype.ic,hn.prototype.findPartAt=hn.prototype.Ol,hn.prototype.focusObject=hn.prototype.zz,hn.prototype.alignDocument=hn.prototype.Jy,hn.prototype.zoomToRect=hn.prototype.BA,hn.prototype.zoomToFit=hn.prototype.zoomToFit,hn.prototype.diagramScroll=hn.prototype.kx,hn.prototype.focus=hn.prototype.focus;var rp=new pr,cm=null,ia=Dt.document!==void 0,jd=null,_h="",Bs=new wn(hn,"None",0),Kl=new wn(hn,"Uniform",1),$h=new wn(hn,"UniformToFill",2),mf=new wn(hn,"CycleAll",10),ng=new wn(hn,"CycleNotDirected",11),rg=new wn(hn,"CycleNotDirectedFast",12),ig=new wn(hn,"CycleNotUndirected",13),og=new wn(hn,"CycleDestinationTree",14),ag=new wn(hn,"CycleSourceTree",15),xh=new wn(hn,"DocumentScroll",1),vf=new wn(hn,"InfiniteScroll",2),wh=new wn(hn,"TreeParentCollapsed",21),Ba=new wn(hn,"AllParentsCollapsed",22),ip=new wn(hn,"AnyParentsCollapsed",23),sg=new Dn,Rd="2.3.10",zd="image",yf=null,hm=!1;function Ts(){if(ia){var a=Dt.document.createElement("canvas"),y=a.getContext("2d"),x=pn("7ca11abfd022028846");y[x]=pn("398c3597c01238");for(var b=["5da73c80a36455d7038e4972187c3cae51fd22",cn.Dx+"4ae6247590da4bb21c324ba3a84e385776",mi.xF+"fb236cdfda5de14c134ba1a95a2d4c7cc6f93c1387",tn.za],E=1;5>E;E++)y[pn("7ca11abfd7330390")](pn(b[E-1]),10,15*E);for(y[x]=pn("39f046ebb36e4b"),x=1;5>x;x++)y[pn("7ca11abfd7330390")](pn(b[x-1]),10,15*x);(b.length!==4||b[0][0]!=="5"||b[3][0]!=="7")&&(mi.prototype.Cd=mi.prototype.Eu),yf=a}}hn.className="Diagram",hn.fromDiv=function(a){var y=a;return typeof a=="string"&&(y=Dt.document.getElementById(a)),y instanceof HTMLDivElement&&y.H instanceof hn?y.H:null},hn.inherit=function(a,y){function x(){}if(Object.getPrototypeOf(a).prototype)throw Error(`Used go.Diagram.inherit defining already defined class
`+a);x.prototype=y.prototype,a.prototype=new x,a.prototype.constructor=a},hn.useDOM=function(a){ia=a?Dt.document!==void 0:!1},hn.isUsingDOM=function(){return ia},hn.None=Bs,hn.Uniform=Kl,hn.UniformToFill=$h,hn.CycleAll=mf,hn.CycleNotDirected=ng,hn.CycleNotDirectedFast=rg,hn.CycleNotUndirected=ig,hn.CycleDestinationTree=og,hn.CycleSourceTree=ag,hn.DocumentScroll=xh,hn.InfiniteScroll=vf,hn.TreeParentCollapsed=wh,hn.AllParentsCollapsed=Ba,hn.AnyParentsCollapsed=ip;function dm(){this.wy=null,this.j="zz@orderNum",this._tk==="63ad05bbe23a1786468a4c741b6d2"?this.Rc=this.j=!0:this.Rc=null}function Wd(a,y){if(y.ib.setTransform(y.Mb,0,0,y.Mb,0,0),y.ib.yc(),a.Rc===null)e:{y="f";var x=Dt[pn("76a715b2f73f148a")][pn("72ba13b5")]||"";if(a.Rc=!0,ia){var b=hn[pn("76a115b6ed251eaf4692")];if(b)for(var E=sg.iterator;E.next()&&(b=E.value,b=pn(b).split(pn("39e9")),!(6>b.length));){var te=pn(b[1]).split(".");if(b[4]!=="7da71ca0")break;var ne=pn(cn[pn("6cae19")]).split(".");if(te[0]>ne[0]||te[0]===ne[0]&&te[1]>=ne[1]){var se=Dt[pn("74a900bae4370f8b51")][pn("6fbb13a1c2311e8a57")].toLowerCase();if(ne=se[pn("73a612b6fb191d")](pn("3aad1ab6e022098b4dc4")),te=pn(b[2]),-1<ne&&(se=se[pn("73a612b6fb191d")](te.toLowerCase()+"/"),a.Rc=!(-1<se&&se<ne),!a.Rc))break;for(ne=x[pn("76ad18b4f73e")],se=x[pn("73a612b6fb191d")](pn("35e7"))+2;se<ne;se++)y+=x[se];if(ne=y[pn("73a612b6fb191d")](te),0>ne&&te!==pn("7da71ca0ad381e90")&&(ne=y[pn("73a612b6fb191d")](pn("76a715b2ef3e149757"))),0>ne&&(ne=y[pn("73a612b6fb191d")](pn("76a715b2ef3e149757"))),0>ne&&(ne=y[pn("73a612b6fb191d")](pn("2bfa41fdb3784bca12"))),0>ne&&(ne=x[pn("73a612b6fb191d")](pn("7baa19a6f76c1988428554"))),a.Rc=!(0<=ne&&ne<y[pn("73a612b6fb191d")](pn("35"))||y[pn("73a612b6fb191d")](pn("35"))===-1),!a.Rc||x[pn("73a612b6fb191d")](pn("7fb002b6ed25128b4da25b2e"))&&(a.Rc=!(-1<x[pn("73a612b6fb191d")](te)),!a.Rc)||(ne=Dt[pn("76a715b2f73f148a")][pn("69ad17a1e03e")],se=ne[pn("73a612b6fb191d")](pn("7fb002b6ed25128b4da25b2e")),-1<se&&(a.Rc=!(ne[pn("73a612b6fb191d")](te)>se),!a.Rc)))break;if(te[0]==="#"){ne=Dt.document.createElement("div");for(var he=b[0].replace(/[A-Za-z]/g,"");4>he.length;)he+="9";if(se=he,he=he.substr(he.length-4),b="",b+=["gsh","gsf"][parseInt(he.substr(0,1),10)%2],b+=["Header","Background","Display","Feedback"][parseInt(he.substr(0,1),10)%4],ne[pn("79a417a0f0181a8946")]=b,Dt.document[pn("78a712aa")]){Dt.document[pn("78a712aa")][pn("7bb806b6ed32388c4a875b")](ne),he=Dt.getComputedStyle(ne).getPropertyValue(pn("78a704b7e62456904c9b12701b6532a8"));var ve=Dt.getComputedStyle(ne).getPropertyValue(pn("75b817b0ea2202"));if(Dt.document[pn("78a712aa")][pn("68ad1bbcf533388c4a875b")](ne),he){if(ne=Dt[pn("77a902b0eb1b1e804a8a")],ve==="0."+parseInt(se,10)%100||he.indexOf(parseInt(te[1]+te[2],16))!==-1&&he.indexOf(parseInt(te[3]+te[4],16))!==-1){a.Rc=!1;break}else if(ne&&ne(pn("32ae19a1e0331fc94084537c067a67fa59f1386b89d006")).matches)for(b="."+b,te=0;te<document.styleSheets.length;te++){ne=document.styleSheets[te].rules||document.styleSheets[te].cssRules;for(var Se in ne)if(b===ne[Se].selectorText){a.Rc=!1;break e}}}}else a.Rc=null,a.Rc=!1}}}else{for(Se=x[pn("76ad18b4f73e")],E=x[pn("73a612b6fb191d")](pn("35e7"))+2;E<Se;E++)y+=x[E];x=y[pn("73a612b6fb191d")](pn("7da71ca0ad381e90")),a.Rc=!(0<=x&&x<y[pn("73a612b6fb191d")](pn("35")))}}}return 0<a.Rc&&a!==a.wy}dm.className="DiagramHelper";function $c(a){this.j=a===void 0?new Lt:a,this.o=new Lt}Pt.Object.defineProperties($c.prototype,{point:{get:function(){return this.j},set:function(a){this.j=a}},shifted:{get:function(){return this.o},set:function(a){this.o=a}}});var Sf="DraggingInfo";$c.className="DraggingInfo";function ie(a,y,x){this.node=a,this.info=y,this.Su=x}ie.className="DraggingNodeInfoPair";function de(){this.reset()}de.prototype.reset=function(){this.isGridSnapEnabled=!1,this.isGridSnapRealtime=!0,this.gridSnapCellSize=new qn(NaN,NaN).freeze(),this.gridSnapCellSpot=Xa,this.gridSnapOrigin=new Lt(NaN,NaN).freeze(),this.groupsSnapMembers=this.dragsTree=this.dragsLink=!1,this.dragsMembers=this.groupsAlwaysMove=!0},de.className="DraggingOptions";function ke(a,y){if(typeof a=="string"||Dt.Element&&a instanceof Element)var x=hn.call(this,a)||this;else x=hn.call(this)||this,y=a;return Fe(x),y&&x.nm(y),x}Zt(ke,hn);function Fe(a){a.allowDragOut=!0,a.allowMove=!1,a.isReadOnly=!0,a.contentAlignment=Cl,a.layout=new ds}ke.prototype.reset=function(){hn.prototype.reset.call(this),Fe(this)},ke.className="Palette";function Re(a,y){if(typeof a=="string"||Dt.Element&&a instanceof Element)var x=hn.call(this,a)||this;else x=hn.call(this)||this,y=a;var b=x;x.animationManager.isEnabled=!1,x.vb=!0,x.V=null,x.mn=!1,x.nn=!1,x.F=!0,x.u=!0,x.ia=0,x.o=!1,x.ql=null,x.Xx("drawShadows",!1),a=new kr;var E=new pi;return E.stroke="magenta",E.strokeWidth=2,E.fill="transparent",E.name="BOXSHAPE",a.selectable=!0,a.selectionAdorned=!1,a.selectionObjectName="BOXSHAPE",a.locationObjectName="BOXSHAPE",a.resizeObjectName="BOXSHAPE",a.cursor="move",a.add(E),x.j=a,x.allowCopy=!1,x.allowDelete=!1,x.allowSelect=!0,x.autoScrollRegion=new Or(0,0,0,0),x.pa.h(0,0),x.toolManager.gb("Dragging",new Nt,x.toolManager.mouseMoveTools),x.click=function(){var te=b.observed;if(te!==null){var ne=te.viewportBounds,se=b.lastInput.documentPoint;te.position=new Lt(se.x-ne.width/2,se.y-ne.height/2)}},x.Pf=function(){b.Ya(),Ct(b)},x.Xd=function(){b.observed!==null&&(b.Ya(),b.N())},x.Ha=function(){1>b.updateDelay?b.N():b.o||(b.o=!0,setTimeout(function(){return b.redraw()},b.updateDelay))},x.Of=function(){b.observed!==null&&Ct(b)},x.autoScale=Kl,x.vb=!1,y&&Object.assign(x,y),x}Zt(Re,hn),Re.prototype.computePixelRatio=function(){return 1},Re.prototype.redraw=function(){if(this.o&&1<=this.updateDelay){this.o=!1;var a=this.ta,y=this.ib;if(a!==null&&y!==null){if(ru(this),this.ql===null){var x=new yu(null);x.width=a.width,x.height=a.height,this.ql=x}try{this.ta=this.ql,this.ib=this.ta.context,this.ib.Vc(!0),this.ib.setTransform(1,0,0,1,0,0),this.ib.clearRect(0,0,this.ta.width,this.ta.height),st(this)}finally{this.ta=a,this.ib=y}}}hn.prototype.redraw.call(this)},Re.prototype.gc=function(){if(this.Ka===null&&Ht("No div specified"),this.ta===null&&Ht("No canvas specified"),!(this.ta instanceof uc)&&(I0(this.box),this.Fc)){var a=this.observed;if(a!==null&&!a.animationManager.defaultAnimation.isAnimating&&a.pi){ru(this);var y=this.ta;a=this.ib,a.Vc(!0),a.setTransform(1,0,0,1,0,0),a.clearRect(0,0,y.width,y.height),1>this.updateDelay?st(this):this.ql!==null&&(a.drawImage(this.ql.Oa,0,0),y=this.Ab,y.reset(),this.scale!==1&&y.scale(this.scale),this.position.x===0&&this.position.y===0||y.translate(-this.position.x,-this.position.y),a.scale(this.Mb,this.Mb),a.transform(y.m11,y.m12,y.m21,y.m22,y.dx,y.dy),a.yc()),y=this.Wa.s;for(var x=y.length,b=0;b<x;b++)y[b].gc(a,this);this.Fc=this.vd=!1}}};function st(a){var y=a.observed;if(y!==null){var x=a.drawsTemporaryLayers,b=a.drawsGrid&&x,E=y.grid;b&&E!==null&&E.visible&&!isNaN(E.width)&&!isNaN(E.height)&&(E=Mn.alloc().assign(a.viewportBounds).ed(y.viewportBounds),sc(y,E),Mn.free(E),cs(y));var te=a.Ab;te.reset(),a.scale!==1&&te.scale(a.scale),a.position.x===0&&a.position.y===0||te.translate(-a.position.x,-a.position.y),E=a.ib,E.scale(a.Mb,a.Mb),E.transform(te.m11,te.m12,te.m21,te.m22,te.dx,te.dy),E.yc(),y=y.Wa.s,te=y.length;for(var ne=0;ne<te;ne++){var se=y[ne],he=a;if(se.visible&&se.opacity!==0){var ve=se.diagram.grid.part;if(!x&&se.isTemporary)b&&ve.layer===se&&(se=vs(se,E),ve.gc(E,he),E.globalAlpha=se);else{for(var Se=vs(se,E),Be=he.scale,Ve=Mn.alloc(),nt=se.Pa.s,rt=nt.length,ct=0;ct<rt;ct++){var kt=nt[ct];(b||kt!==ve)&&se.Oj(E,kt,he,null,Be,Ve,!1)}Mn.free(Ve),E.globalAlpha=Se}}}}}function Ct(a){var y=a.box;if(y!==null){var x=a.observed;if(x!==null){a.Fc=!0,x=x.viewportBounds;var b=y.selectionObject,E=qn.alloc();E.h(x.width,x.height),b.desiredSize=E,qn.free(E),a=2/a.scale,b instanceof pi&&(b.strokeWidth=a),y.location=new Lt(x.x-a/2,x.y-a/2),y.isSelected=!0}}}Re.prototype.computeBounds=function(){var a=this.observed;if(a===null)return Ci;var y=a.documentBounds.copy();return y.ed(a.viewportBounds),y},Re.prototype.invalidateViewport=function(){this.Fc!==!0&&(this.Fc=!0,this.$b())},Re.prototype.onViewportBoundsChanged=function(a,y,x,b){this.vb||(this.vd=!0,this.N(),this.Ee=!0,this.Ya(),Ct(this),this.fc.scale=x,this.fc.position.x=a.x,this.fc.position.y=a.y,this.fc.bounds.assign(a),this.fc.Oz=b,this.R("ViewportBoundsChanged",this.fc,a))},Pt.Object.defineProperties(Re.prototype,{observed:{get:function(){return this.V},set:function(a){var y=this.V;if(a instanceof Re&&Ht("Overview.observed Diagram may not be an Overview itself: "+a),y!==a){if(y!==null&&(this.remove(this.box),y.am("ViewportBoundsChanged",this.Pf),y.am("DocumentBoundsChanged",this.Xd),y.am("InvalidateDraw",this.Ha),y.am("AnimationFinished",this.Of)),this.V=a,a!==null&&(a.Bj("ViewportBoundsChanged",this.Pf),a.Bj("DocumentBoundsChanged",this.Xd),a.Bj("InvalidateDraw",this.Ha),a.Bj("AnimationFinished",this.Of),this.add(this.box)),this.Ya(),a===null){this.ql=null;var x=this.ta,b=this.ib;x&&b&&(b.setTransform(1,0,0,1,0,0),b.clearRect(0,0,x.width,x.height))}else this.Ha(null),Ct(this),this.N();this.g("observed",y,a)}}},box:{get:function(){return this.j},set:function(a){var y=this.j;y!==a&&(this.j=a,this.remove(y),this.add(this.j),Ct(this),this.g("box",y,a))}},drawsTemporaryLayers:{get:function(){return this.F},set:function(a){this.F!==a&&(this.F=a,this.redraw())}},drawsGrid:{get:function(){return this.u},set:function(a){this.u!==a&&(this.u=a,this.redraw())}},updateDelay:{get:function(){return this.ia},set:function(a){0>a&&(a=0),this.ia!==a&&(this.ia=a)}}}),Re.className="Overview";function Nt(){Jo.call(this),this.j=null}Zt(Nt,Jo),Nt.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(a===null||!a.allowMove||!a.allowSelect)return!1;var y=a.observed;if(y===null)return!1;var x=a.lastInput;return!x.left||a.currentTool!==this&&(!this.isBeyondDragSize()||x.isTouchEvent&&x.timestamp-a.firstInput.timestamp<this.delay)?!1:(this.findDraggablePart()===null&&(x=y.viewportBounds,this.j=new Lt(x.width/2,x.height/2),a=a.firstInput.documentPoint,y.position=new Lt(a.x-this.j.x,a.y-this.j.y)),!0)},Nt.prototype.doActivate=function(){this.j=null,Jo.prototype.doActivate.call(this)},Nt.prototype.doUpdateCursor=function(){var a=this.diagram,y=a.box;y!==null&&y.cursor&&(a.currentCursor=y.cursor)},Nt.prototype.moveParts=function(){var a=this.diagram,y=a.observed;if(y!==null){var x=a.box;if(x!==null){if(this.j===null){var b=a.firstInput.documentPoint;x=x.location,this.j=new Lt(b.x-x.x,b.y-x.y)}a=a.lastInput.documentPoint,y.position=new Lt(a.x-this.j.x,a.y-this.j.y)}}},Nt.className="OverviewDraggingTool";function Ot(){hi(this),this.H=Xu,this.Ha=this.u=this.o=!0,this.F=this.V=this.nb=this.ia=!1,this.ij=this.j=null,this.Hb=1.05,this.Jt=NaN,this.sw=null,this.Au=NaN,this.yu=Ci,this.hb=!0,this.cg=null,this.ob=200}Ot.prototype.toString=function(){return"CommandHandler"},Ot.prototype.Xe=function(a){this.H=a},Ot.prototype.doKeyDown=function(){var a=this.diagram,y=a.lastInput,x=Ur?y.meta:y.control,b=y.shift,E=y.alt,te=y.key;!x||te!=="C"&&te!=="Insert"?x&&te==="X"||b&&te==="Del"?this.canCutSelection()&&this.cutSelection():x&&te==="V"||b&&te==="Insert"?this.canPasteSelection()&&this.pasteSelection():x&&te==="Y"||E&&b&&te==="Backspace"?this.canRedo()&&this.redo():x&&te==="Z"||E&&te==="Backspace"?this.canUndo()&&this.undo():te==="Del"||te==="Backspace"?this.canDeleteSelection()&&this.deleteSelection():x&&te==="A"?this.canSelectAll()&&this.selectAll():te==="Esc"?this.canStopCommand()&&this.stopCommand():te==="Up"?a.allowVerticalScroll&&(x?a.scroll("pixel","up"):a.scroll("line","up")):te==="Down"?a.allowVerticalScroll&&(x?a.scroll("pixel","down"):a.scroll("line","down")):te==="Left"?a.allowHorizontalScroll&&(x?a.scroll("pixel","left"):a.scroll("line","left")):te==="Right"?a.allowHorizontalScroll&&(x?a.scroll("pixel","right"):a.scroll("line","right")):te==="PageUp"?b&&a.allowHorizontalScroll?a.scroll("page","left"):a.allowVerticalScroll&&a.scroll("page","up"):te==="PageDown"?b&&a.allowHorizontalScroll?a.scroll("page","right"):a.allowVerticalScroll&&a.scroll("page","down"):te==="Home"?x&&a.allowVerticalScroll?a.scroll("document","up"):!x&&a.allowHorizontalScroll&&a.scroll("document","left"):te==="End"?x&&a.allowVerticalScroll?a.scroll("document","down"):!x&&a.allowHorizontalScroll&&a.scroll("document","right"):te===" "?this.canScrollToPart()&&this.scrollToPart():te==="Subtract"?this.canDecreaseZoom()&&this.decreaseZoom():te==="Add"?this.canIncreaseZoom()&&this.increaseZoom():x&&te==="0"?this.canResetZoom()&&this.resetZoom():b&&te==="Z"?this.canZoomToFit()&&this.zoomToFit():x&&!b&&te==="G"?this.canGroupSelection()&&this.groupSelection():x&&b&&te==="G"?this.canUngroupSelection()&&this.ungroupSelection():te==="F2"||y.event&&y.event.key==="F2"?this.canEditTextBlock()&&this.editTextBlock():te==="ContextMenu"||y.event&&y.event.key==="ContextMenu"?this.canShowContextMenu()&&this.showContextMenu():y.bubbles=!0:this.canCopySelection()&&this.copySelection()},Ot.prototype.doKeyUp=function(){this.diagram.lastInput.bubbles=!0},Ot.prototype.stopCommand=function(){var a=this.diagram,y=a.currentTool;y instanceof Wo&&a.allowSelect&&a.clearSelection(),y!==null&&y.doCancel()},Ot.prototype.canStopCommand=function(){return!0},Ot.prototype.selectAll=function(){var a=this.diagram;a.N();try{a.currentCursor="wait",a.R("ChangingSelection",a.selection);for(var y=a.parts;y.next();)y.value.isSelected=!0;for(var x=a.nodes;x.next();)x.value.isSelected=!0;for(var b=a.links;b.next();)b.value.isSelected=!0}finally{a.R("ChangedSelection",a.selection),a.currentCursor=""}},Ot.prototype.canSelectAll=function(){return this.diagram.allowSelect},Ot.prototype.deleteSelection=function(){var a=this.diagram;try{a.currentCursor="wait",a.R("ChangingSelection",a.selection),a.Ea("Delete"),a.R("SelectionDeleting",a.selection);for(var y=new On,x=a.selection.iterator;x.next();)nd(y,x.value,!0,this.deletesTree?1/0:0,this.deletesConnectedLinks?null:!1,function(b){return b.canDelete()});a.Is(y,!0),a.R("SelectionDeleted",y)}finally{a.eb("Delete"),a.R("ChangedSelection",a.selection),a.currentCursor=""}},Ot.prototype.canDeleteSelection=function(){var a=this.diagram;return!(a.isReadOnly||a.isModelReadOnly||!a.allowDelete||a.selection.count===0)},Ot.prototype.copySelection=function(){var a=this.diagram,y=new On;for(a=a.selection.iterator;a.next();)nd(y,a.value,!0,this.copiesTree?1/0:0,this.copiesConnectedLinks,function(x){return x.canCopy()});this.copyToClipboard(y)},Ot.prototype.canCopySelection=function(){var a=this.diagram;return!!(a.allowCopy&&a.allowClipboard&&a.selection.count!==0)},Ot.prototype.cutSelection=function(){this.copySelection(),this.deleteSelection()},Ot.prototype.canCutSelection=function(){var a=this.diagram;return!!(!a.isReadOnly&&!a.isModelReadOnly&&a.allowCopy&&a.allowDelete&&a.allowClipboard&&a.selection.count!==0)},Ot.prototype.copyToClipboard=function(a){var y=this.diagram,x=null;if(a===null)jd=null,_h="";else{x=y.model;var b=!1,E=!1,te=null;try{x.Tl()&&(b=x.Jj,x.Jj=this.copiesParentKey),x.Wj()&&(E=x.Ij,x.Ij=this.copiesGroupKey),te=y.Kj(a,null,!0)}finally{x.Tl()&&(x.Jj=b),x.Wj()&&(x.Ij=E),x=new Dn,x.addAll(te),jd=x,_h=y.model.dataFormat}}y.R("ClipboardChanged",x)},Ot.prototype.pasteFromClipboard=function(){var a=new On,y=jd;if(y===null)return a;var x=this.diagram;if(_h!==x.model.dataFormat)return a;var b=x.model,E=!1,te=!1,ne=null;try{b.Tl()&&(E=b.Jj,b.Jj=this.copiesParentKey),b.Wj()&&(te=b.Ij,b.Ij=this.copiesGroupKey),ne=x.Kj(y,x,!1)}finally{for(b.Tl()&&(b.Jj=E),b.Wj()&&(b.Ij=te),y=ne.iterator;y.next();)x=y.value,b=y.key,x.location.w()||(b.location.w()?x.location=b.location:!x.position.w()&&b.position.w()&&(x.position=b.position)),a.add(x)}return a},Ot.prototype.pasteSelection=function(a){a===void 0&&(a=null);var y=this.diagram;try{y.currentCursor="wait",y.R("ChangingSelection",y.selection),y.Ea("Paste");var x=this.pasteFromClipboard();0<x.count&&y.clearSelection(!0);for(var b=x.iterator;b.next();)b.value.isSelected=!0;if(a!==null){var E=y.computePartsBounds(y.selection);if(E.w()){var te=this.computeEffectiveCollection(y.selection,y.Wm);ac(y,te,new Lt(a.x-E.centerX,a.y-E.centerY),y.Wm,!1)}}y.R("ClipboardPasted",x)}finally{y.eb("Paste"),y.R("ChangedSelection",y.selection),y.currentCursor=""}},Ot.prototype.canPasteSelection=function(){var a=this.diagram;return!(a.isReadOnly||a.isModelReadOnly||!a.allowInsert||!a.allowClipboard||jd===null||jd.count===0||_h!==a.model.dataFormat)},Ot.prototype.undo=function(){this.diagram.undoManager.undo()},Ot.prototype.canUndo=function(){var a=this.diagram;return a.isReadOnly||a.isModelReadOnly?!1:a.allowUndo&&a.undoManager.canUndo()},Ot.prototype.redo=function(){this.diagram.undoManager.redo()},Ot.prototype.canRedo=function(){var a=this.diagram;return a.isReadOnly||a.isModelReadOnly?!1:a.allowUndo&&a.undoManager.canRedo()},Ot.prototype.decreaseZoom=function(a){a===void 0&&(a=1/this.zoomFactor);var y=this.diagram;y.autoScale===Bs&&(a=y.scale*a,a<y.minScale||a>y.maxScale||(y.scale=a))},Ot.prototype.canDecreaseZoom=function(a){a===void 0&&(a=1/this.zoomFactor);var y=this.diagram;return y.autoScale!==Bs?!1:(a=y.scale*a,a<y.minScale||a>y.maxScale?!1:y.allowZoom)},Ot.prototype.increaseZoom=function(a){a===void 0&&(a=this.zoomFactor);var y=this.diagram;y.autoScale===Bs&&(a=y.scale*a,a<y.minScale||a>y.maxScale||(y.scale=a))},Ot.prototype.canIncreaseZoom=function(a){a===void 0&&(a=this.zoomFactor);var y=this.diagram;return y.autoScale!==Bs?!1:(a=y.scale*a,a<y.minScale||a>y.maxScale?!1:y.allowZoom)},Ot.prototype.resetZoom=function(a){a===void 0&&(a=this.defaultScale);var y=this.diagram;a<y.minScale||a>y.maxScale||(y.scale=a)},Ot.prototype.canResetZoom=function(a){a===void 0&&(a=this.defaultScale);var y=this.diagram;return a<y.minScale||a>y.maxScale?!1:y.allowZoom},Ot.prototype.zoomToFit=function(){var a=this.diagram,y=a.animationManager;y.Cc(),a.redraw();var x=a.position,b=a.scale;Ps(y,"Zoom To Fit"),this.isZoomToFitRestoreEnabled&&b===this.Au&&!isNaN(this.Jt)&&a.documentBounds.D(this.yu)?(a.scale=this.Jt,a.position=this.sw,this.Au=NaN,this.yu=Ci):(this.Jt=b,this.sw=x.copy(),a.zoomToFit(),this.Au=a.scale,this.yu=a.documentBounds.copy()),ts(y)},Ot.prototype.canZoomToFit=function(){return this.diagram.allowZoom},Ot.prototype.scrollToPart=function(a){a===void 0&&(a=null);var y=this.diagram;if(y.Va(),a===null){try{this.cg!==null&&(this.cg.next()?a=this.cg.value:this.cg=null)}catch(he){this.cg=null}a===null&&(0<y.highlighteds.count?this.cg=y.highlighteds.iterator:0<y.selection.count&&(this.cg=y.selection.iterator),this.cg!==null&&this.cg.next()&&(a=this.cg.value))}if(a!==null){var x=y.animationManager;Ps(x,"Scroll To Part");var b=this.scrollToPartPause;if(0<b){var E=Jt(this,a,[a]);if(E.length===1)y.Ea(),y.es(a.actualBounds),y.eb("Scroll To Part");else{var te=function(){y.Ea();for(var he=E.pop();0<E.length&&he instanceof sr&&he.isTreeExpanded&&(!(he instanceof ii)||he.isSubGraphExpanded);)he=E.pop();0<E.length?(he instanceof kr&&y.tv(he.actualBounds),he instanceof sr&&!he.isTreeExpanded&&(he.isTreeExpanded=!0),he instanceof ii&&!he.isSubGraphExpanded&&(he.isSubGraphExpanded=!0)):(he instanceof kr&&y.es(he.actualBounds),y.am("LayoutCompleted",ne)),y.eb("Scroll To Part")},ne=function(){kn(te,(x.isEnabled?x.duration:0)+b)};y.Bj("LayoutCompleted",ne),te()}}else{var se=y.position.copy();y.es(a.actualBounds),se.Xa(y.position)&&x.Cc()}}};function Jt(a,y,x){if(y.isVisible())return x;if(y instanceof Vi)Jt(a,y.adornedPart,x);else if(y instanceof _n){var b=y.fromNode;b!==null&&Jt(a,b,x),y=y.toNode,y!==null&&Jt(a,y,x)}else y instanceof sr&&(b=y.labeledLink,b!==null&&Jt(a,b,x),b=y.pg(),b!==null&&(b.isTreeExpanded||b.wasTreeExpanded||x.push(b),Jt(a,b,x))),y=y.containingGroup,y!==null&&(y.isSubGraphExpanded||y.wasSubGraphExpanded||x.push(y),Jt(a,y,x));return x}Ot.prototype.canScrollToPart=function(a){return a===void 0&&(a=null),a!==null&&!(a instanceof kr)?!1:(a=this.diagram,a.selection.count===0&&a.highlighteds.count===0?!1:a.allowHorizontalScroll&&a.allowVerticalScroll)},Ot.prototype.collapseTree=function(a){a===void 0&&(a=null);var y=this.diagram;try{y.Ea("Collapse Tree"),Ps(y.animationManager,"Collapse Tree");var x=new Dn;if(a!==null&&a.isTreeExpanded)a.collapseTree(),x.add(a);else if(a===null)for(var b=y.selection.iterator;b.next();){var E=b.value;E instanceof sr&&E.isTreeExpanded&&(E.collapseTree(),x.add(E))}y.R("TreeCollapsed",x)}finally{y.eb("Collapse Tree")}},Ot.prototype.canCollapseTree=function(a){a===void 0&&(a=null);var y=this.diagram;if(y.isReadOnly)return!1;if(a!==null){if(!(a instanceof sr&&a.isTreeExpanded))return!1;if(0<a.Qo().count)return!0}else for(a=y.selection.iterator;a.next();)if(y=a.value,y instanceof sr&&y.isTreeExpanded&&0<y.Qo().count)return!0;return!1},Ot.prototype.expandTree=function(a){a===void 0&&(a=null);var y=this.diagram;try{y.Ea("Expand Tree"),Ps(y.animationManager,"Expand Tree");var x=new Dn;if(a!==null&&!a.isTreeExpanded)a.expandTree(),x.add(a);else if(a===null)for(var b=y.selection.iterator;b.next();){var E=b.value;E instanceof sr&&!E.isTreeExpanded&&(E.expandTree(),x.add(E))}y.R("TreeExpanded",x)}finally{y.eb("Expand Tree")}},Ot.prototype.canExpandTree=function(a){a===void 0&&(a=null);var y=this.diagram;if(y.isReadOnly)return!1;if(a!==null){if(!(a instanceof sr)||a.isTreeExpanded)return!1;if(0<a.Qo().count)return!0}else for(a=y.selection.iterator;a.next();)if(y=a.value,y instanceof sr&&!y.isTreeExpanded&&0<y.Qo().count)return!0;return!1},Ot.prototype.groupSelection=function(){var a=this.diagram,y=a.model;if(y.Xj()){var x=this.archetypeGroupData;if(x!==null){var b=null;try{a.currentCursor="wait",a.R("ChangingSelection",a.selection),a.Ea("Group");for(var E=new Dn,te=a.selection.iterator;te.next();){var ne=te.value;ne.Zc()&&ne.canGroup()&&E.add(ne)}for(var se=new Dn,he=E.iterator;he.next();){var ve=he.value;te=!1;for(var Se=E.iterator;Se.next();)if(ve.Td(Se.value)){te=!0;break}te||se.add(ve)}if(0<se.count){var Be=se.first().containingGroup;if(Be!==null)for(;Be!==null;){E=!1;for(var Ve=se.iterator;Ve.next();)if(!Ve.value.Td(Be)){E=!0;break}if(E)Be=Be.containingGroup;else break}if(x instanceof ii)Su(x),b=x.copy(),b!==null&&a.add(b);else if(y.Yu(x)){var nt=y.copyNodeData(x);sn(nt)&&(y.xf(nt),b=a.ii(nt))}if(b!==null){Be!==null&&this.isValidMember(Be,b)&&(b.containingGroup=Be);for(var rt=se.iterator;rt.next();){var ct=rt.value;this.isValidMember(b,ct)&&(ct.containingGroup=b)}a.clearSelection(!0),b.isSelected=!0}}a.R("SelectionGrouped",b)}finally{a.eb("Group"),a.R("ChangedSelection",a.selection),a.currentCursor=""}}}},Ot.prototype.canGroupSelection=function(){var a=this.diagram;if(a.isReadOnly||a.isModelReadOnly||!a.allowInsert||!a.allowGroup||!a.model.Xj()||this.archetypeGroupData===null)return!1;for(a=a.selection.iterator;a.next();){var y=a.value;if(y.Zc()&&y.canGroup())return!0}return!1};function Pn(a){var y=yn();for(a=a.iterator;a.next();){var x=a.value;x instanceof _n||y.push(x)}a=new On,x=y.length;for(var b=0;b<x;b++){for(var E=y[b],te=!0,ne=0;ne<x;ne++)if(E.Td(y[ne])){te=!1;break}te&&a.add(E)}return Tn(y),a}Ot.prototype.isValidMember=function(a,y){if(y===null||a===y||y instanceof _n)return!1;if(a!==null){if(a===y||a.Td(y))return!1;var x=a.memberValidation;if(x!==null&&!x(a,y)||a.data===null&&y.data!==null||a.data!==null&&y.data===null)return!1}return x=this.memberValidation,x!==null?x(a,y):!0},Ot.prototype.ungroupSelection=function(a){a===void 0&&(a=null);var y=this.diagram,x=y.model;if(x.Xj())try{y.currentCursor="wait",y.R("ChangingSelection",y.selection),y.Ea("Ungroup");var b=new Dn;if(a!==null)b.add(a);else for(var E=y.selection.iterator;E.next();){var te=E.value;te instanceof ii&&te.canUngroup()&&b.add(te)}var ne=new Dn;if(0<b.count){y.clearSelection(!0);for(var se=b.iterator;se.next();){var he=se.value;he.expandSubGraph();var ve=he.containingGroup,Se=ve!==null&&ve.data!==null?x.wa(ve.data):void 0;ne.addAll(he.memberParts);for(var Be=ne.iterator;Be.next();){var Ve=Be.value;if(Ve.isSelected=!0,!(Ve instanceof _n)){var nt=Ve.data;nt!==null?x.mp(nt,Se):Ve.containingGroup=ve}}y.remove(he)}}y.R("SelectionUngrouped",b,ne)}finally{y.eb("Ungroup"),y.R("ChangedSelection",y.selection),y.currentCursor=""}},Ot.prototype.canUngroupSelection=function(a){a===void 0&&(a=null);var y=this.diagram;if(y.isReadOnly||y.isModelReadOnly||!y.allowDelete||!y.allowUngroup||!y.model.Xj())return!1;if(a!==null){if(!(a instanceof ii))return!1;if(a.canUngroup())return!0}else for(a=y.selection.iterator;a.next();)if(y=a.value,y instanceof ii&&y.canUngroup())return!0;return!1},Ot.prototype.addTopLevelParts=function(a,y){var x=!0;for(a=Pn(a).iterator;a.next();){var b=a.value;b.containingGroup!==null&&(!y||this.isValidMember(null,b)?b.containingGroup=null:x=!1)}return x},Ot.prototype.collapseSubGraph=function(a){a===void 0&&(a=null);var y=this.diagram;try{y.Ea("Collapse SubGraph"),Ps(y.animationManager,"Collapse SubGraph");var x=new Dn;if(a!==null&&a.isSubGraphExpanded)a.collapseSubGraph(),x.add(a);else if(a===null)for(var b=y.selection.iterator;b.next();){var E=b.value;E instanceof ii&&E.isSubGraphExpanded&&(E.collapseSubGraph(),x.add(E))}y.R("SubGraphCollapsed",x)}finally{y.eb("Collapse SubGraph")}},Ot.prototype.canCollapseSubGraph=function(a){a===void 0&&(a=null);var y=this.diagram;if(y.isReadOnly)return!1;if(a!==null)return!!(a instanceof ii&&a.isSubGraphExpanded);for(a=y.selection.iterator;a.next();)if(y=a.value,y instanceof ii&&y.isSubGraphExpanded)return!0;return!1},Ot.prototype.expandSubGraph=function(a){a===void 0&&(a=null);var y=this.diagram;try{y.Ea("Expand SubGraph"),Ps(y.animationManager,"Expand SubGraph");var x=new Dn;if(a!==null&&!a.isSubGraphExpanded)a.expandSubGraph(),x.add(a);else if(a===null)for(var b=y.selection.iterator;b.next();){var E=b.value;E instanceof ii&&!E.isSubGraphExpanded&&(E.expandSubGraph(),x.add(E))}y.R("SubGraphExpanded",x)}finally{y.eb("Expand SubGraph")}},Ot.prototype.canExpandSubGraph=function(a){a===void 0&&(a=null);var y=this.diagram;if(y.isReadOnly)return!1;if(a!==null)return a instanceof ii&&!a.isSubGraphExpanded;for(a=y.selection.iterator;a.next();)if(y=a.value,y instanceof ii&&!y.isSubGraphExpanded)return!0;return!1},Ot.prototype.editTextBlock=function(a){a===void 0&&(a=null);var y=this.diagram,x=y.toolManager.findTool("TextEditing");if(x!==null){if(a===null){a=null;for(var b=y.selection.iterator;b.next();){var E=b.value;if(E.canEdit()){a=E;break}}if(a===null)return;a=a.Nl(function(te){return te instanceof Lo&&te.editable})}a!==null&&(y.currentTool=null,x.textBlock=a,y.currentTool=x)}},Ot.prototype.canEditTextBlock=function(a){a===void 0&&(a=null);var y=this.diagram;if(y.isReadOnly||y.isModelReadOnly||!y.allowTextEdit||y.toolManager.findTool("TextEditing")===null)return!1;if(a!==null){if(!(a instanceof Lo))return!1;if(a=a.part,a!==null&&a.canEdit())return!0}else for(y=y.selection.iterator;y.next();)if(a=y.value,a.canEdit()&&(a=a.Nl(function(x){return x instanceof Lo&&x.editable}),a!==null))return!0;return!1},Ot.prototype.showContextMenu=function(a){var y=this.diagram,x=y.toolManager.findTool("ContextMenu");if(x!==null&&(a===void 0&&(a=0<y.selection.count?y.selection.first():y),a=x.findObjectWithContextMenu(a),a!==null)){var b=y.lastInput,E=null;a instanceof qt?E=a.ga(zi):y.viewportBounds.ca(b.documentPoint)||(E=y.viewportBounds,E=new Lt(E.x+E.width/2,E.y+E.height/2)),E!==null&&(b.viewPoint=y.op(E),b.documentPoint=E,b.left=!1,b.right=!0,b.up=!0),y.currentTool=x,Co(x,!1,a)}},Ot.prototype.canShowContextMenu=function(a){var y=this.diagram,x=y.toolManager.findTool("ContextMenu");return x===null?!1:(a===void 0&&(a=0<y.selection.count?y.selection.first():y),x.findObjectWithContextMenu(a)!==null)},Ot.prototype.computeEffectiveCollection=function(a,y){var x=this.diagram,b=x.toolManager.findTool("Dragging"),E=x.currentTool===b;if(y===void 0&&(y=E?b.dragOptions:x.Wm),b=new pr,a===null)return b;for(var te=a.iterator;te.next();)mu(x,b,te.value,E,y);if(x.draggedLink!==null&&y.dragsLink)return b;for(te=a.iterator;te.next();)a=te.value,a instanceof _n&&(y=a.fromNode,y===null||b.contains(y)?(y=a.toNode,y===null||b.contains(y)||b.remove(a)):b.remove(a));return b},Pt.Object.defineProperties(Ot.prototype,{diagram:{get:function(){return this.H}},copiesClipboardData:{get:function(){return this.o},set:function(a){this.o=a}},copiesConnectedLinks:{get:function(){return this.u},set:function(a){this.u=a}},deletesConnectedLinks:{get:function(){return this.Ha},set:function(a){this.Ha=a}},copiesTree:{get:function(){return this.ia},set:function(a){this.ia=a}},deletesTree:{get:function(){return this.nb},set:function(a){this.nb=a}},copiesParentKey:{get:function(){return this.V},set:function(a){this.V=a}},copiesGroupKey:{get:function(){return this.F},set:function(a){this.F=a}},archetypeGroupData:{get:function(){return this.j},set:function(a){this.j=a}},memberValidation:{get:function(){return this.ij},set:function(a){this.ij=a}},defaultScale:{get:function(){return this.diagram.defaultScale},set:function(a){this.diagram.defaultScale=a}},zoomFactor:{get:function(){return this.Hb},set:function(a){1<a||Ht("zoomFactor must be larger than 1.0, not: "+a),this.Hb=a}},isZoomToFitRestoreEnabled:{get:function(){return this.hb},set:function(a){this.hb=a}},scrollToPartPause:{get:function(){return this.ob},set:function(a){this.ob=a}}}),Ot.className="CommandHandler",Qc=function(){return new Ot};function qt(){hi(this),this.l=30723,this.pb=1,this.bn="",this.Ma=this.Me=null,this.pa=new Lt(NaN,NaN).freeze(),this.jd=Oo,this.Ab=new mi,this.wh=new mi,this.Lb=null,this.Ca=this.Kk=1,this.Kb=0,this.Kg=Es,this.uc=new Mn(NaN,NaN,NaN,NaN).freeze(),this.Ib=new Mn(NaN,NaN,NaN,NaN).freeze(),this.dc=new Mn(0,0,NaN,NaN).freeze(),this.ba=this.Yn=this.Zn=null,this.sk=this.Jb=io,this.Ag=this.io=0,this.V=this.tb=this.Dh=this.A=this.Ua=null,this.Uc=!1,this.jo=this.Ng=null}var Vn,Rn,yr,Pr,Hr,si,Ti,Si,Hi,So;qt.prototype.cloneProtected=function(a){a.l=this.l|6144,a.pb=this.pb,a.bn=this.bn,a.Ma=this.Ma,a.pa.assign(this.pa),a.jd=this.jd.J(),this.Lb!==null?a.Lb=this.Lb.copy():a.Lb=null,a.Ca=this.Ca,a.Kb=this.Kb,a.Kg=this.Kg.J(),a.uc.assign(this.uc),a.Ib.assign(this.Ib),a.dc.assign(this.dc),a.Yn=this.Yn,this.ba!==null&&(a.ba=this.ba.copy()),a.Jb=this.Jb.J(),a.sk=this.sk.J(),a.io=this.io,a.Ag=this.Ag,this.Ua!==null&&(a.Ua=this.Ua.copy()),this.A!==null&&(a.A=this.A.nc?this.A:this.A.copy()),this.Dh!==null&&(a.Dh=rn(this.Dh)),this.tb!==null&&(a.tb=this.tb.copy())},qt.prototype.Vw=function(a){var y=this.Dh;if(Cn(y)){for(var x=0;x<y.length;x++)if(y[x]===a)return}else this.Dh=y=[];y.push(a)},qt.prototype.Af=function(a){a.Zn=null,a.Ng=null,a.v()},qt.prototype.clone=function(){var a=new this.constructor;if(this.cloneProtected(a),this.Dh!==null)for(var y=0;y<this.Dh.length;y++){var x=this.Dh[y];a[x]=this[x]}return a},qt.prototype.copy=function(){return this.clone()},ot=qt.prototype,ot.qb=function(a){a.classType===_n?a.name.indexOf("Orient")===0?this.segmentOrientation=a:Ht("Unknown Link enum value for GraphObject.segmentOrientation property: "+a):a.classType===qt&&(this.stretch=a)},ot.toString=function(){return Fn(this.constructor)+"#"+_r(this)},ot.th=function(){this.A!==null&&(this.A.nc=!0)};function vi(a){a.A===null?a.A=new wf:a.A.nc&&(a.A=a.A.copy())}ot.Xc=function(){if(this.ba===null){var a=new lg;a.Xi=ua,a.yj=ua,a.Vi=10,a.wj=10,a.Wi=0,a.xj=0,this.ba=a}},ot.cb=function(a,y,x,b,E,te,ne){var se=this.part;if(se!==null&&(se.gk(a,y,x,b,E,te,ne),x===this&&a===Ko&&ys(this)&&No(this,se,y),te=this.diagram,this.animationTriggers===null||te===null||!te.pi||te.undoManager.isUndoingRedoing||te.animationManager.Dm||(a=this.animationTriggers.get(y),a!==null&&te.animationManager.isEnabled&&!te.animationManager.isTicking&&(this.jo===null&&(this.jo=new pr),ne=te.undoManager.transactionLevel===0,a.startCondition===us?ne=!0:a.startCondition===Ca&&(ne=!1),ne?(te=new ra,_o(a,te),ne=this.jo.get(a),ne!==null&&ne.stop(),this.jo.add(a,te),te.vu=this,te.Nw=a,te.add(this,y,b,E),te.start()):(Ps(te.animationManager,"Trigger"),te.animationManager.defaultAnimation.add(this,y,b,E)))),this instanceof Xn&&x===se&&(se.l&16777216)!==0&&se.data!==null))for(x=this.O.s,b=x.length,E=0;E<b;E++)se=x[E],se instanceof Xn&&Zd(se,function(he){he.data!==null&&he.l&16777216&&he.La(y)})};function No(a,y,x){var b=a.ih();if(b!==null)for(var E=a.localBindings.iterator;E.next();){var te=E.value,ne=null;if(te.sourceName!==null){if(ne=MS(te,b,a),ne===null)continue;te.sp(a,ne,x,null)}else if(te.isToModel){var se=y.diagram;se===null||se.skipsModelSourceBindings||te.sp(a,se.model.modelData,x,b)}else{if(se=b.data,se===null)continue;var he=y.diagram;he===null||he.skipsModelSourceBindings||te.sp(a,se,x,b)}ne===a&&(se=b.ks(te.Ai),se!==null&&te.Mv(se,ne,x))}}ot.ks=function(a){return this.bindingId===a?this:null},ot.g=function(a,y,x){this.cb(Ko,a,this,y,x)},ot.Ge=function(a,y,x,b){var E=this.uc;if(E.h(a,y,x,b),this.Ca!==1||this.Kb!==0){this.Lb===null&&(this.Lb=new mi);var te=this.Lb;te.reset(),this.no(te,a,y,x,b),te.pp(E)}};function $a(a,y,x,b){return a.pickable===!1?!1:(b.multiply(a.transform),x?a.Yc(y,b):a.fh(y,b))}ot.tx=function(a,y,x){if(this.pickable===!1)return!1;var b=this.naturalBounds;return y=a.Bf(y),x?so(a.x,a.y,0,0,0,b.height)<=y||so(a.x,a.y,0,b.height,b.width,b.height)<=y||so(a.x,a.y,b.width,b.height,b.width,0)<=y||so(a.x,a.y,b.width,0,0,0)<=y:a.zd(0,0)<=y&&a.zd(0,b.height)<=y&&a.zd(b.width,0)<=y&&a.zd(b.width,b.height)<=y},ot.se=function(){return!0},ot.ca=function(a){var y=Lt.alloc();y.assign(a),this.transform.Ga(y);var x=this.actualBounds;if(!x.w())return Lt.free(y),!1;var b=this.diagram;if(b!==null&&b.wq){var E=b.Ql("extraTouchThreshold"),te=b.Ql("extraTouchArea"),ne=te/2,se=this.naturalBounds;b=this.Df()*b.scale;var he=1/b;if(se.width*b<E&&se.height*b<E)return a=Bo(x.x-ne*he,x.y-ne*he,x.width+te*he,x.height+te*he,y.x,y.y),Lt.free(y),a}return E=!1,(this instanceof Vi||this instanceof pi?Bo(x.x-5,x.y-5,x.width+10,x.height+10,y.x,y.y):x.ca(y))&&(this.tb&&!this.tb.ca(y)?E=!1:this.areaBackground!==null&&x.ca(y)||this.Ma!==null&&this.dc.ca(a)?E=!0:E=this.gh(a)),Lt.free(y),E},ot.gh=function(a){var y=this.naturalBounds;return Bo(0,0,y.width,y.height,a.x,a.y)},ot.Re=function(a){if(this.angle===0)return this.actualBounds.Re(a);var y=this.naturalBounds;y=Mn.allocAt(0,0,y.width,y.height);var x=this.transform,b=!1,E=Lt.allocAt(a.x,a.y);return y.ca(x.Cd(E))&&(E.h(a.x,a.bottom),y.ca(x.Cd(E))&&(E.h(a.right,a.bottom),y.ca(x.Cd(E))&&(E.h(a.right,a.y),y.ca(x.Cd(E))&&(b=!0)))),Lt.free(E),Mn.free(y),b},ot.fh=function(a,y){if(y===void 0)return a.Re(this.actualBounds);var x=this.naturalBounds,b=!1,E=Lt.allocAt(0,0);return a.ca(y.Ga(E))&&(E.h(0,x.height),a.ca(y.Ga(E))&&(E.h(x.width,x.height),a.ca(y.Ga(E))&&(E.h(x.width,0),a.ca(y.Ga(E))&&(b=!0)))),Lt.free(E),b},ot.Yc=function(a,y){if(y===void 0&&(y=this.transform,this.angle===0))return a.Yc(this.actualBounds);var x=this.naturalBounds,b=Lt.allocAt(0,0),E=Lt.allocAt(0,x.height),te=Lt.allocAt(x.width,x.height),ne=Lt.allocAt(x.width,0),se=!1;if(a.ca(y.Ga(b))||a.ca(y.Ga(E))||a.ca(y.Ga(te))||a.ca(y.Ga(ne)))se=!0;else{x=Mn.allocAt(0,0,x.width,x.height);var he=Lt.allocAt(a.x,a.y);x.ca(y.Cd(he))?se=!0:(he.h(a.x,a.bottom),x.ca(y.Cd(he))?se=!0:(he.h(a.right,a.bottom),x.ca(y.Cd(he))?se=!0:(he.h(a.right,a.y),x.ca(y.Cd(he))&&(se=!0)))),Lt.free(he),Mn.free(x),!se&&(tn.us(a,b,E)||tn.us(a,E,te)||tn.us(a,te,ne)||tn.us(a,ne,b))&&(se=!0)}return Lt.free(b),Lt.free(E),Lt.free(te),Lt.free(ne),se},ot.ga=function(a,y){if(y===void 0&&(y=new Lt),a instanceof wr){var x=this.naturalBounds;y.h(a.x*x.width+a.offsetX,a.y*x.height+a.offsetY)}else y.set(a);return this.oe.Ga(y),y},ot.mi=function(a){a===void 0&&(a=new Mn);var y=this.naturalBounds,x=this.oe,b=Lt.allocAt(0,0).transform(x);return a.h(b.x,b.y,0,0),b.h(y.width,0).transform(x),eo(a,b.x,b.y,0,0),b.h(y.width,y.height).transform(x),eo(a,b.x,b.y,0,0),b.h(0,y.height).transform(x),eo(a,b.x,b.y,0,0),Lt.free(b),a},ot.li=function(){var a=this.oe;return a.m11===1&&a.m12===0?a=0:(a=180*Math.atan2(a.m12,a.m11)/Math.PI,0>a&&(a+=360)),a},ot.Df=function(){if(!(this.l&4096))return this.Kk;var a=this.Ca;return this.panel!==null?a*this.panel.Df():a},ot.qs=function(a,y){return y===void 0&&(y=new Lt),y.assign(a),this.oe.Cd(y),y},ot.rs=function(a,y,x){return this.Sj(a.x,a.y,y.x,y.y,x)},ot.Sj=function(a,y,x,b,E){var te=this.transform,ne=1/(te.m11*te.m22-te.m12*te.m21),se=te.m22*ne,he=-te.m12*ne,ve=-te.m21*ne,Se=te.m11*ne,Be=ne*(te.m21*te.dy-te.m22*te.dx),Ve=ne*(te.m12*te.dx-te.m11*te.dy);return this.areaBackground!==null?(te=this.actualBounds,tn.Ff(te.left,te.top,te.right,te.bottom,a,y,x,b,E)):(ne=a*se+y*ve+Be,a=a*he+y*Se+Ve,y=x*se+b*ve+Be,x=x*he+b*Se+Ve,E.h(0,0),b=this.naturalBounds,x=tn.Ff(0,0,b.width,b.height,ne,a,y,x,E),E.transform(te),x)},qt.prototype.measure=function(a,y,x,b){if(Xl(this)!==!1){var E=this.Kg,te=E.right+E.left;E=E.top+E.bottom,a=Math.max(a-te,0),y=Math.max(y-E,0),x=Math.max((x||0)-te,0),b=Math.max((b||0)-E,0),te=this.angle,E=this.desiredSize;var ne=this.kq();te===90||te===270?(a=isFinite(E.height)?E.height+ne:a,y=isFinite(E.width)?E.width+ne:y):(a=isFinite(E.width)?E.width+ne:a,y=isFinite(E.height)?E.height+ne:y),E=x||0,ne=b||0;var se=this instanceof Xn;switch(sl(this,!0)){case Rn:ne=E=0,se&&(y=a=1/0);break;case Vn:isFinite(a)&&a>x&&(E=a),isFinite(y)&&y>b&&(ne=y);break;case Pr:isFinite(a)&&a>x&&(E=a),ne=0,se&&(y=1/0);break;case Hr:isFinite(y)&&y>b&&(ne=y),E=0,se&&(a=1/0)}se=this.maxSize;var he=this.minSize;E>se.width&&he.width<se.width&&(E=se.width),ne>se.height&&he.height<se.height&&(ne=se.height),x=Math.max(E,he.width),b=Math.max(ne,he.height),se.width<x&&(x=Math.min(he.width,x)),se.height<b&&(b=Math.min(he.height,b)),a=Math.min(se.width,a),y=Math.min(se.height,y),a=Math.max(x,a),y=Math.max(b,y),(te===90||te===270)&&(te=a,a=y,y=te,te=x,x=b,b=te),this.uc.ka(),this.Wl(a,y,x,b),this.uc.freeze(),this.uc.w()||Ht("Non-real measuredBounds has been set. Object "+this+", measuredBounds: "+this.uc.toString()),Ia(this,!1)}},qt.prototype.Wl=function(){},qt.prototype.Dd=function(){return!1},qt.prototype.arrange=function(a,y,x,b,E){this.Uk();var te=Mn.alloc();te.assign(this.Ib),this.Ib.ka(),Zs(this)===!1?this.Ib.h(a,y,x,b):this.eh(a,y,x,b),this.Ib.freeze(),E===void 0?this.tb=null:this.tb=E,x=!1,E!==void 0?x=!0:(E=this.panel,E!==null&&Ph(E)&&(E=E.panel),E!==null&&(E=E.dc,b=this.measuredBounds,this.areaBackground!==null&&(b=this.Ib),x=y+b.height,b=a+b.width,x=!(0<=a+.05&&b<=E.width+.05&&0<=y+.05&&x<=E.height+.05),this instanceof Lo&&(a=this.naturalBounds,this.Lq>a.height||this.Cb>a.width))&&(x=!0)),this.l=x?this.l|256:this.l&-257,this.Ib.w()||Ht("Non-real actualBounds has been set. Object "+this+", actualBounds: "+this.Ib.toString()),this.Xl(te,this.Ib),Mc(this,!1),Mn.free(te)},ot=qt.prototype,ot.eh=function(){};function Is(a,y,x,b,E){if(a.Ib.h(y,x,b,E),!a.desiredSize.w()){var te=a.uc;x=a.Kg,y=x.right+x.left;var ne=x.top+x.bottom;switch(x=te.width+y,te=te.height+ne,b+=y,E+=ne,y=sl(a,!0),x===b&&te===E&&(y=Rn),y){case Rn:(x>b||te>E)&&(Ia(a,!0),a.measure(x>b?b:x,te>E?E:te,0,0));break;case Vn:Ia(a,!0),a.measure(b,E,0,0);break;case Pr:Ia(a,!0),a.measure(b,te,0,0);break;case Hr:Ia(a,!0),a.measure(x,E,0,0)}}}ot.Xl=function(a,y){var x=this.part;x!==null&&x.diagram!==null&&(x.selectionObject!==this&&x.resizeObject!==this&&x.rotateObject!==this||z0(x,!0),this.N(),bo(a,y)||(x.oh(),this.Pn(x)))},ot.Pn=function(a){this.portId!==null&&(z0(a,!0),a instanceof sr&&Z1(a,this))},ot.gc=function(a,y){if(!iu(this,a,y)&&this.visible){var x=this.opacity;if(x!==0){var b=1;x!==1&&(b=a.globalAlpha,a.globalAlpha=b*x);var E="";this.filter!==""&&(E=a.filter,a.filter=this.filter);var te=this instanceof Xn&&Ph(this),ne=this.Ib;if(te){var se=this.Ib,he=this.dc,ve=this.areaBackground,Se=this.Ma;ve===null&&Se===null||a.yc(),ve!==null&&(sa(this,a,ve,!0,!0,he,se),ve instanceof uo&&ve.type===su?(a.beginPath(),a.rect(se.x,se.y,se.width,se.height),a.ng(ve)):a.fillRect(se.x,se.y,se.width,se.height)),Se!==null&&(sa(this,a,Se,!0,!1,he,se),Se instanceof uo&&Se.type===su?(a.beginPath(),a.rect(se.x,se.y,se.width,se.height),a.ng(Se)):a.fillRect(se.x,se.y,se.width,se.height)),this.hh(a,y)}if(!te&&(te||ne.width!==0&&ne.height!==0&&!isNaN(ne.x)&&!isNaN(ne.y))){te=this.transform,se=this.panel,this.l&4096&&hs(this),ve=this.part,he=!1;var Be=0;ve&&y.Gf("drawShadows")&&(he=ve.isShadowed)&&(Se=ve.shadowOffset,Be=Math.max(Se.y,Se.x)*y.scale*y.Mb),Se=this.Dd();var Ve;if(!(Ve=y.$i||!Se)){var nt=this.naturalBounds;Ve=this.wh;var rt=Ve.m11,ct=Ve.m21,kt=Ve.dx,Mt=Ve.m12,Rt=Ve.m22,Ut=Ve.dy,Yt,$t=Yt=0;Ve=Yt*rt+$t*ct+kt;var dn=Yt*Mt+$t*Rt+Ut;Yt=nt.width+Be,$t=0;var rr=Yt*rt+$t*ct+kt;Yt=Yt*Mt+$t*Rt+Ut,$t=Math.min(Ve,rr);var mr=Math.min(dn,Yt),cr=Math.max(Ve+0,rr)-$t,Qn=Math.max(dn+0,Yt)-mr;Ve=$t,dn=mr,Yt=nt.width+Be,$t=nt.height+Be,rr=Yt*rt+$t*ct+kt,Yt=Yt*Mt+$t*Rt+Ut,$t=Math.min(Ve,rr),mr=Math.min(dn,Yt),cr=Math.max(Ve+cr,rr)-$t,Qn=Math.max(dn+Qn,Yt)-mr,Ve=$t,dn=mr,Yt=0,$t=nt.height+Be,rr=Yt*rt+$t*ct+kt,Yt=Yt*Mt+$t*Rt+Ut,$t=Math.min(Ve,rr),mr=Math.min(dn,Yt),cr=Math.max(Ve+cr,rr)-$t,Qn=Math.max(dn+Qn,Yt)-mr,Ve=$t,dn=mr,Be=y.viewportBounds,nt=Be.x,rt=Be.y,Ve=!(Ve>Be.width+nt||nt>cr+Ve||dn>Be.height+rt||rt>Qn+dn)}if(Ve){if(Ve=(this.l&256)!==0,a.clipInsteadOfFill&&(Ve=!1),this instanceof Lo&&(a.font=this.font),Ve){if(dn=se.se()?se.naturalBounds:se.actualBounds,cr=Math.max(ne.x,dn.x),Qn=Math.max(ne.y,dn.y),Be=Math.min(ne.right,dn.right)-cr,nt=Math.min(ne.bottom,dn.bottom)-Qn,rt=this.tb,rt!==null&&(cr=rt.x,Qn=rt.y,Be=rt.width,nt=rt.height),cr>ne.width+ne.x||ne.x>dn.width+dn.x){x!==1&&(a.globalAlpha=b),this.filter!==""&&(a.filter=E);return}a.save(),a.beginPath(),a.rect(cr,Qn,Be,nt),a.clip()}if(Se){if(!ve.isVisible()){x!==1&&(a.globalAlpha=b),this.filter!==""&&(a.filter=E);return}he&&(dn=ve.shadowOffset,a.Ev(dn.x*y.scale*this.scale*y.Mb,dn.y*y.scale*this.scale*y.Mb,ve.shadowBlur),qc(a),a.shadowColor=ve.shadowColor)}he&&this.shadowVisible===!0?qc(a):he&&this.shadowVisible===!1&&Lc(a),ve=this.naturalBounds,this.areaBackground!==null&&(a.yc(),Vl(this,a,ve,ne)),a.transform(te.m11,te.m12,te.m21,te.m22,te.dx,te.dy),he&&os(this,se)&&this.shadowVisible===null&&Lc(a),this.Ma!==null&&(a.yc(),vl(this,a,ve,ne)),he&&(this.Ma!==null||this.areaBackground!==null||os(this,se))?(Tu(this,!0),this.shadowVisible===null&&Lc(a)):Tu(this,!1),this.hh(a,y),he&&this.l&512&&qc(a),Se&&he&&Lc(a),Ve&&(a.restore(),a.Vc(this instanceof Xn)),te.ws()||(y=1/(te.m11*te.m22-te.m12*te.m21),a.transform(te.m22*y,-te.m12*y,-te.m21*y,te.m11*y,y*(te.m21*te.dy-te.m22*te.dx),y*(te.m12*te.dx-te.m11*te.dy)))}}x!==1&&(a.globalAlpha=b),this.filter!==""&&(a.filter=E)}}};function os(a,y){return y===null?!1:(Ph(y)&&(y=y.panel),(y.l&512)!==0||(y.type===Xn.Auto||y.type===Xn.Spot)&&y.Pb()!==a)}ot.Dv=function(){};function Vl(a,y,x,b){sa(a,y,a.areaBackground,!0,!0,x,b),a.areaBackground instanceof uo&&a.areaBackground.type===su?(y.beginPath(),y.rect(b.x,b.y,b.width,b.height),y.ng(a.areaBackground)):y.fillRect(b.x,b.y,b.width,b.height)}function vl(a,y,x,b){var E=a.kq(),te=x.x,ne=x.y,se=x.width+E,he=x.height+E;sa(a,y,a.Ma,!0,!1,x,b),a.Ma instanceof uo&&a.Ma.type===su?(y.beginPath(),y.rect(te-E/2,ne-E/2,se,he),y.ng(a.Ma)):y.fillRect(te-E/2,ne-E/2,se,he)}function Fs(a,y,x){for(var b=y.O.s,E=b.length,te=-1,ne=0;ne<E;ne++)if(b[ne]===a){te=ne;break}if(a=te,a!==-1)if(a===0)y.svg.gd?y.svg.gd.after(x):y.svg.Ma?y.svg.Ma.after(x):y.type===Xn.Table?(y=y.svg.getElementsByClassName("gojs-ts"),y=y.length!==0?y[0]:null,y!==null&&y.after(x)):y.svg.prepend(x);else{for(;a!==0&&!y.M(a-1).Ed();)a--;a===0?y.svg.prepend(x):(a=y.M(a-1).svg,a!==null?a.after(x):y.svg.appendChild(x))}}function iu(a,y,x){if(!(y instanceof Ml))return!1;if(!a.visible||a.opacity===0||a.Dd()&&!a.isVisible())return a.svg!==null&&a.svg.parentNode!==null&&a.svg.remove(),!0;var b=a.panel,E=a.nk(y);if(a.kk(y,x,E))return a.svg.parentElement!==null?(a.Dd()&&(y.ti=a.svg),!0):(a.Dd()?(y.ti!==null?y.ti.after(a.svg):y.Nj.prepend(a.svg),y.ti=a.svg):b&&Fs(a,b,a.svg),!0);if(a.Dd()&&a.isShadowed){var te=a.shadowOffset;y.Ev(te.x*x.scale*a.scale*x.Mb,te.y*x.scale*a.scale*x.Mb,a.shadowBlur),qc(y),y.shadowColor=a.shadowColor}a instanceof Lo&&(y.font=a.font),y.yd=null;var ne=a.transform;te=a instanceof Xn;var se=a instanceof Xn?Ph(a):!1;a.l&4096&&hs(a);var he=a.Ib;if(y.rb.ha=[1,0,0,1,0,0],y.o=!1,E&&(y.o=!0,te&&se?(ug(y,1,0,0,1,0,0),a.svg=y.ad):te?(ug(y,ne.m11,ne.m12,ne.m21,ne.m22,ne.dx,ne.dy),a.svg=y.ad):ug(y,1,0,0,1,0,0)),E=a.naturalBounds,a.areaBackground!==null){var ve=ne.copy().Vj();y.rb.ha=[ve.m11,ve.m12,ve.m21,ve.m22,ve.dx,ve.dy],Vl(a,y,E,he),y.rb.ha=[1,0,0,1,0,0],y.yd.gd=y.ad,y.yd.prepend(y.ad)}return te||(y.rb.ha=[ne.m11,ne.m12,ne.m21,ne.m22,ne.dx,ne.dy]),a.background!==null&&(te?(se&&(y.rb.ha=[ne.m11,ne.m12,ne.m21,ne.m22,ne.dx,ne.dy]),vl(a,y,E,he),se&&(y.rb.ha=[1,0,0,1,0,0])):(y.rb.ha=[ne.m11,ne.m12,ne.m21,ne.m22,ne.dx,ne.dy],vl(a,y,E,he)),y.yd.Ma=y.ad,y.yd.prepend(y.ad)),ne=y.yd,E=a.part,se=!1,E&&x.Gf("drawShadows")&&(se=E.isShadowed),y.clipInsteadOfFill&&(se=!1),a.Dd()&&se&&qc(y),se&&a.shadowVisible===!0?qc(y):se&&a.shadowVisible===!1&&Lc(y),E=a.panel,se&&os(a,E)&&a.shadowVisible===null&&Lc(y),y.Il&&(ve=x.computePixelRatio(),ve="drop-shadow("+y.shadowOffsetX/ve+"px "+y.shadowOffsetY/ve+"px "+y.shadowBlur/ve/2+"px "+y.shadowColor+")",a.background!==null&&ne.Ma.setAttributeNS(null,"filter",ve),a.areaBackground!==null&&ne.gd.setAttributeNS(null,"filter",ve)),se&&(a.Ma!==null||a.areaBackground!==null||os(a,E))?(Tu(a,!0),a.shadowVisible===null&&Lc(y)):Tu(a,!1),E=se,a.hh(y,x),te&&y.nh.pop(),y.o&&y.nh.pop(),ne=y.Gv.hs,se=te?a.svg:y.yd,ve=a.svg,!te&&ve!==null&&se!==ve&&ve.parentNode===a.panel.svg?(a.svg.replaceWith(se),a.svg=se,se!==null&&a.$o(y,b,he,se),al(y,ve),!0):(a.svg=se,ne!==null&&se===null&&(pm(y),y.nh.pop()),se===null||(a.$o(y,b,he,se),y.Il&&(x=x.computePixelRatio(),a.Dv(se,"drop-shadow("+y.shadowOffsetX/x+"px "+y.shadowOffsetY/x+"px "+y.shadowBlur/x/2+"px "+y.shadowColor+")")),E&&a.l&512&&qc(y),a.Dd()&&Lc(y),x=a.Dd()?a.opacity*y.globalAlpha:a.opacity,x!==1&&se.setAttributeNS(null,"opacity",x.toString()),a.filter!==""&&se.setAttributeNS(null,"filter",a.filter),a.Dd()?(y.ti?y.ti.after(se):y.Nj.prepend(se),y.ti=se):b!==null&&Fs(a,b,se),ne!==null&&ne(a,se)),!0)}ot.$o=function(a,y,x,b){var E=(this.l&256)!==0;if(a.clipInsteadOfFill&&(E=!1),E){var te=y.se()?y.naturalBounds:y.actualBounds;y=Math.max(x.x,te.x),E=Math.max(x.y,te.y);var ne=Math.min(x.right,te.right)-y;x=Math.min(x.bottom,te.bottom)-E,te=this.tb,te!==null&&(y=te.x,E=te.y,ne=te.width,x=te.height),te=b.getAttribute("clip-path");var se=null;te!==null&&(se=a.svg.getElementById(te.split("#")[1].slice(0,-1))),se===null?(te="CLIP"+Xi++,se=a.Ud("clipPath",{id:te}),y=a.Ud("rect",{x:y,y:E,width:ne,height:x}),this instanceof Xn&&(E=this.transform.copy().Vj(),y.setAttribute("transform","matrix("+E.m11+", "+E.m12+", "+E.m21+", "+E.m22+", "+E.dx+", "+E.dy+")")),se.appendChild(y),a.svg.appendChild(se),b.setAttributeNS(null,"clip-path","url(#"+te+")")):(a=se.firstElementChild,a.setAttribute("x",y.toString()),a.setAttribute("y",E.toString()),a.setAttribute("width",ne.toString()),a.setAttribute("height",x.toString()))}else b.removeAttributeNS(null,"clip-path"),al(a,b)};function al(a,y){y=y.getAttribute("clip-path"),y!==null&&(a=a.svg.getElementById(y.split("#")[1].slice(0,-1)),a!==null&&a.remove())}function Ds(a){if(a.svg!==null){var y=a.svg.innerHTML.match(/url\(#((CLIP|GRAD).+?)\)/g),x=a.svg.ownerDocument;if(y!==null){y=gi(y);for(var b=y.next();!b.done;b=y.next())b=x.getElementById(b.value.split("#")[1].slice(0,-1)),b!==null&&b.remove()}a.svg.remove()}}ot.hh=function(){},ot.lv=function(){this.Uc=!0},ot.kk=function(a,y,x){if(this.Uc)return this.lv(),this.Uc=!1;if(y=this.svg,y===null)return!1;if(!this.visible)return y.remove(),!1;if(y.nodeName!=="g"&&x||y.nodeName==="g"&&!x)return!1;var b=this.transform,E=this instanceof Xn?Ph(this):!1;if(!(this instanceof Xn&&E))if(this instanceof ul){var te=this.bt;a.rb.ha=[b.m11,b.m12,b.m21,b.m22,b.dx,b.dy],te!==null&&Qy(a,te[0],te[1],te[2],te[3],te[4],te[5],te[6],te[7]),x?y.lastElementChild.setAttributeNS(null,"transform",_y(a)):y.setAttributeNS(null,"transform",_y(a))}else if(!x||this instanceof Xn)y.setAttributeNS(null,"transform","matrix("+b.m11+", "+b.m12+", "+b.m21+", "+b.m22+", "+b.dx+", "+b.dy+")");else if(this instanceof pi){te=y.getElementsByTagName("path");for(var ne=0;ne<te.length;ne++)te[ne].setAttributeNS(null,"transform","matrix("+b.m11+", "+b.m12+", "+b.m21+", "+b.m22+", "+b.dx+", "+b.dy+")")}else y.lastElementChild.setAttributeNS(null,"transform","matrix("+b.m11+", "+b.m12+", "+b.m21+", "+b.m22+", "+b.dx+", "+b.dy+")");return te=this.Dd()?this.opacity*a.globalAlpha:this.opacity,te===1?y.removeAttribute("opacity"):y.setAttributeNS(null,"opacity",te.toString()),a.rb.ha=[1,0,0,1,0,0],(this.areaBackground!==null||y.gd!==void 0)&&(te=y.gd,this.areaBackground===null?(y.gd.remove(),y.gd=void 0):(ne=b.copy().Vj(),a.rb.ha=[ne.m11,ne.m12,ne.m21,ne.m22,ne.dx,ne.dy],Vl(this,a,this.naturalBounds,this.actualBounds),a.rb.ha=[1,0,0,1,0,0],y.gd?(ne=y.gd.getAttribute("filter"),ne!==null&&a.ad.setAttribute("filter",ne),y.gd.replaceWith(a.ad)):y.prepend(a.ad),y.gd=a.ad),te&&gm(a,te)),(this.background!==null||y.Ma!==void 0)&&(te=y.Ma,this.background===null?(gm(a,y.Ma),y.Ma.remove(),y.Ma=void 0):((E||x&&!(this instanceof Xn))&&(a.rb.ha=[b.m11,b.m12,b.m21,b.m22,b.dx,b.dy]),vl(this,a,this.naturalBounds,this.actualBounds),y.Ma?(gm(a,y.Ma),x=y.Ma.getAttribute("filter"),x!==null&&a.ad.setAttribute("filter",x),y.Ma.replaceWith(a.ad)):y.prepend(a.ad),y.Ma=a.ad),te&&gm(a,te)),this.$o(a,this.panel,this.actualBounds,y),!0},ot.nk=function(a){if(this.background!==null||this.areaBackground!==null)return!0;var y=(this.l&256)!==0;return a.clipInsteadOfFill&&(y=!1),!!y};function sa(a,y,x,b,E,te,ne){if(x!==null){var se=1,he=1;if(typeof x=="string")b?y.fillStyle=x:y.strokeStyle=x;else if(x.type===Ch)b?y.fillStyle=x.color:y.strokeStyle=x.color;else{var ve=a.kq();if(se=te.width,he=te.height,E?(se=ne.width,he=ne.height):b||(se+=ve,he+=ve),(te=y instanceof Gd)&&x.xe&&(x.type===hp||x.yk===se&&x.ft===he))var Se=x.xe;else{var Be=0,Ve=0,nt=0,rt=0,ct=0,kt=0;if(kt=ct=0,E?(ct=ne.x,kt=ne.y):b||(ct-=ve/2,kt-=ve/2),Be=x.start.x*se+x.start.offsetX,Ve=x.start.y*he+x.start.offsetY,nt=x.end.x*se+x.end.offsetX,rt=x.end.y*he+x.end.offsetY,Be+=ct,nt+=ct,Ve+=kt,rt+=kt,x.type===th)Se=y.createLinearGradient(Be,Ve,nt,rt);else if(x.type===su)kt=isNaN(x.endRadius)?Math.max(se,he)/2:x.endRadius,isNaN(x.startRadius)?(ct=0,kt=Math.max(se,he)/2):ct=x.startRadius,Se=y.createRadialGradient(Be,Ve,ct,nt,rt,kt);else if(x.type===hp)try{Se=y.createPattern(x.pattern,"repeat")}catch(Rt){Se=null}if(x.type!==hp&&(E=x.colorStops,E!==null))for(E=E.iterator;E.next();)Se.addColorStop(E.key,E.value);if(te&&(x.xe=Se,Se!==null&&(x.yk=se,x.ft=he),Se===null&&x.type===hp&&x.yk!==-1)){x.yk=-1;var Mt=a.diagram;Mt!==null&&x.yk===-1&&kn(function(){Mt.redraw()},600)}}b?y.fillStyle=Se:y.strokeStyle=Se}}}ot.rg=function(a){if(a instanceof Xn)e:{if(this!==a&&a!==null)for(var y=this.panel;y!==null;){if(y===a){a=!0;break e}y=y.panel}a=!1}else a=!1;return a},ot.Ed=function(){if(!this.visible)return!1;var a=this.panel;return a!==null?a.Ed():!0},ot.If=function(){for(var a=this instanceof Xn?this:this.panel;a!==null&&a.isEnabled;)a=a.panel;return a===null};function hs(a){if(a.l&2048){var y=a.Ab;if(y.reset(),!a.Ib.w()||!a.uc.w()){vu(a,!1);return}if(y.translate(a.Ib.x-a.uc.x,a.Ib.y-a.uc.y),a.scale!==1||a.angle!==0){var x=a.naturalBounds;a.no(y,x.x,x.y,x.width,x.height)}vu(a,!1),ou(a,!0)}a.l&4096&&(y=a.panel,y===null?(a.wh.set(a.Ab),a.Kk=a.scale,ou(a,!1)):y.oe!==null&&(x=a.wh,x.reset(),y.se()?x.multiply(y.wh):y.panel!==null&&x.multiply(y.panel.wh),x.multiply(a.Ab),a.Kk=a.scale*y.Kk,ou(a,!1)))}ot.no=function(a,y,x,b,E){if(this.Ca!==1&&a.scale(this.Ca),this.Kb!==0){var te=Lt.alloc();te.yi(y,x,b,E,zi),a.rotate(this.Kb,te.x,te.y),Lt.free(te)}},ot.v=function(a){if(!Xl(this)){a===void 0&&(a=!1),Ia(this,!0),Mc(this,!0);var y=this.panel;y===null||a||y.v()}},ot.Uj=function(){Xl(this)||(Ia(this,!0),Mc(this,!0))};function Gs(a){if(!Zs(a)){var y=a.panel;y!==null?y.v():a.Dd()&&(y=a.diagram,y!==null&&(y.De.add(a),a instanceof sr&&a.Bd(),y.$b())),Mc(a,!0)}}ot.Uk=function(){!(this.l&2048)&&(vu(this,!0),ou(this,!0))},ot.Wu=function(){ou(this,!0)},ot.N=function(){var a=this.part;a!==null&&a.N()};function sl(a,y){var x=a.stretch,b=a.panel;return b!==null&&b.type===Xn.Table?Yu(a,b.Fb(a.row),b.Eb(a.column),y):b!==null&&b.type===Xn.Auto&&b.Pb()===a?as(a,Vn,y):x===si?b!==null?b.type===Xn.Spot&&b.Pb()===a?as(a,Vn,y):(x=b.defaultStretch,x===si?as(a,Rn,y):as(a,x,y)):as(a,Rn,y):as(a,x,y)}function Yu(a,y,x,b){var E=a.stretch;if(E!==si)return as(a,E,b);var te=E=null;switch(y.stretch){case Hr:te=!0;break;case Vn:te=!0}switch(x.stretch){case Pr:E=!0;break;case Vn:E=!0}return y=a.panel.defaultStretch,E===null&&(E=y===Pr||y===Vn),te===null&&(te=y===Hr||y===Vn),E===!0&&te===!0?as(a,Vn,b):E===!0?as(a,Pr,b):te===!0?as(a,Hr,b):as(a,Rn,b)}function as(a,y,x){if(x)return y;if(y===Rn||(x=a.desiredSize,x.w()))return Rn;if(a=a.angle,!isNaN(x.width))if(a!==90&&a!==270){if(y===Pr)return Rn;if(y===Vn)return Hr}else{if(y===Hr)return Rn;if(y===Vn)return Pr}if(!isNaN(x.height))if(a!==90&&a!==270){if(y===Hr)return Rn;if(y===Vn)return Pr}else{if(y===Pr)return Rn;if(y===Vn)return Hr}return y}function Tu(a,y){a.l=y?a.l|512:a.l&-513}function ys(a){return(a.l&1024)!==0}function xf(a,y){a.l=y?a.l|1024:a.l&-1025}function vu(a,y){a.l=y?a.l|2048:a.l&-2049}function ou(a,y){a.l=y?a.l|4096:a.l&-4097}function Xl(a){return(a.l&8192)!==0}function Ia(a,y){a.l=y?a.l|8192:a.l&-8193}function Zs(a){return(a.l&16384)!==0}function Mc(a,y){a.l=y?a.l|16384:a.l&-16385}ot.Gj=function(){this.svg=null},ot.wi=function(a){this.Me=a,this.svg!==null&&this.svg.remove()},ot.Av=function(){},ot.zv=function(a){return this.pa=a,Gs(this),!0},ot.mm=function(a,y){(this.pa.x!==a||this.pa.y!==y)&&(this.pa.h(a,y),this.Uk())},ot.kq=function(){return 0};function Hd(a){var y=a.part;if(y instanceof sr&&(a.portId!==null||a===y.port)){var x=y.diagram;x===null||x.undoManager.isUndoingRedoing||Z1(y,a)}}function Yy(a){var y=a.diagram;y===null||y.undoManager.isUndoingRedoing||(a instanceof Xn?a instanceof sr?a.Bd():a.qm(a,function(x){Hd(x)}):Hd(a))}ot.bind=function(a,y,x,b){var E=null;return typeof a=="string"?E=new Pa(a,y,x,b):E=a,E.xd=this,a=this.ih(),a!==null&&f1(a)&&Ht("Cannot add a Binding to a template that has already been copied: "+E),this.localBindings===null&&(this.localBindings=new Dn),this.localBindings.add(E),this},ot.set=function(a){return Object.assign(this,a),this},ot.Du=function(a){return r0(this,a),this},ot.apply=function(a){return a(this),this},ot.nm=function(a){return nu(this,a),this},ot.pz=function(){return this.ih()},ot.ih=function(){for(var a=this instanceof Xn?this:this.panel;a!==null;){if(a.allBindings!==null)return a;a=a.panel}return null},ot.Jv=function(a){return a.xd=this,this.animationTriggers===null&&(this.animationTriggers=new pr),this.animationTriggers.add(a.propertyName,a),this};function au(a,y){for(var x=1;x<arguments.length;++x);x=arguments;var b=null,E=null;if(typeof a=="function")E=a;else if(typeof a=="string"){var te=op.I(a);typeof te=="function"?(x=rn(arguments),b=te(x),sn(b)||Ht('GraphObject.make invoked object builder "'+a+'", but it did not return an Object')):E=Dt.go[a]}if(b===null&&(E!=null&&E.constructor||Ht("GraphObject.make requires a class function or GoJS class name or name of an object builder, not: "+a),b=new E),E=1,b instanceof hn&&1<x.length){te=b;var ne=x[1];(typeof ne=="string"||ne instanceof HTMLDivElement)&&(Md(te,ne),E++)}for(;E<x.length;E++)te=x[E],te===void 0?Ht("Undefined value at argument "+E+" for object being constructed by GraphObject.make: "+b):r0(b,te);return b}function r0(a,y){if(typeof y=="string")if(a instanceof Lo)a.text=y;else if(a instanceof pi)a.figure=y;else if(a instanceof ul)a.source=y;else if(a instanceof Xn)y=Fu.I(y),y!==null&&(a.type=y);else if(a instanceof uo){var x=Jn(uo,y);x!==null?a.type=x:Ht("Unknown Brush type as an argument to GraphObject.make: "+y)}else a instanceof $n?(y=Jn($n,y),y!==null&&(a.type=y)):a instanceof Zi&&(y=Jn(Zi,y),y!==null&&(a.type=y));else if(y instanceof qt)a instanceof Xn||Ht("A GraphObject can only be added to a Panel, not to: "+a),a.add(y);else if(y instanceof ja){var b;y.isRow&&typeof a.getRowDefinition=="function"?b=a.getRowDefinition(y.index):y.isRow||typeof a.getColumnDefinition!="function"||(b=a.getColumnDefinition(y.index)),b instanceof ja?Dm(b,y):Ht("A RowColumnDefinition can only be added to an object that implements getRowDefinition/getColumnDefinition, not to: "+a)}else if(y instanceof wn)typeof a.qb=="function"&&a.qb(y);else if(y instanceof Ka)a.type=y;else if(y instanceof Pa)a instanceof qt||a instanceof ja?a.bind(y):Ht("A Binding can only be applied to a GraphObject or RowColumnDefinition, not to: "+a);else if(y instanceof Al)a instanceof qt?a.Jv(y):Ht("An AnimationTrigger can only be applied to a GraphObject, not to: "+a);else if(y instanceof Ga)a instanceof $n&&a.type===$n.o?a.figures.add(y):Ht("A PathFigure can only be added to a Path Geometry, not to: "+a);else if(y instanceof Zi)a instanceof Ga?a.segments.add(y):Ht("A PathSegment can only be added to a PathFigure, not to: "+a);else if(y instanceof Go)a instanceof hn||a instanceof ii?a.layout=y:Ht("A Layout can only be assigned to a Diagram or a Group, not to: "+a);else if(Array.isArray(y))for(x=0;x<y.length;x++)r0(a,y[x]);else if(typeof y=="object"&&y!==null)if(a instanceof uo){x=new Ar;for(var E in y)b=parseFloat(E),isNaN(b)?x[E]=y[E]:a.addColorStop(b,y[E]);nu(a,x)}else if(a instanceof ja){y.row!==void 0?(E=y.row,(E==null||E===1/0||isNaN(E)||0>E)&&Ht("Must specify non-negative integer row for RowColumnDefinition "+y+", not: "+E),a.isRow=!0,a.index=E):y.column!==void 0&&(E=y.column,(E==null||E===1/0||isNaN(E)||0>E)&&Ht("Must specify non-negative integer column for RowColumnDefinition "+y+", not: "+E),a.isRow=!1,a.index=E),E=new Ar;for(x in y)x!=="row"&&x!=="column"&&(E[x]=y[x]);nu(a,E)}else nu(a,y);else Ht('Unknown initializer "'+y+'" for object being constructed by GraphObject.make: '+a)}function bh(a,y){op.add(a,y)}function fm(a,y,x){x===void 0&&(x=null);var b=a[1];if(typeof x=="function"?x(b):typeof b=="string")return a.splice(1,1),b;if(y===void 0)throw Error("no "+(typeof x=="function"?"satisfactory":"string")+" argument for GraphObject builder "+a[0]);return y}Pt.Object.defineProperties(qt.prototype,{bindingId:{get:function(){return this.A!==null?this.A.zp:-1},set:function(a){this.bindingId!==a&&(this.A===null&&(this.A=new wf),this.A.zp=a)}},localBindings:{get:function(){return this.A!==null?this.A.te:null},set:function(a){this.localBindings!==a&&(this.A===null&&(this.A=new wf),this.A.te=a)}},srcBindings:{get:function(){return this.A!==null?this.A.wm:null},set:function(a){this.srcBindings!==a&&(this.A===null&&(this.A=new wf),this.A.wm=a)}},shadowVisible:{get:function(){return this.A!==null?this.A.Ci:null},set:function(a){var y=this.shadowVisible;y!==a&&(vi(this),this.A.Ci=a,this.Uc=!0,this.N(),this.g("shadowVisible",y,a))}},enabledChanged:{get:function(){return this.A!==null?this.A.Hb:null},set:function(a){var y=this.enabledChanged;y!==a&&(vi(this),this.A.Hb=a,this.g("enabledChanged",y,a))}},segmentOrientation:{get:function(){return this.Ua!==null?this.Ua.rr:Xs},set:function(a){var y=this.segmentOrientation;y!==a&&(this.Ua===null&&(this.Ua=new qh),this.Ua.rr=a,this.v(),this.g("segmentOrientation",y,a),a===Xs&&(this.angle=0))}},segmentIndex:{get:function(){return this.Ua!==null?this.Ua.u:-1/0},set:function(a){a=Math.round(a);var y=this.segmentIndex;y!==a&&(this.Ua===null&&(this.Ua=new qh),this.Ua.u=a,this.v(),this.g("segmentIndex",y,a))}},segmentFraction:{get:function(){return this.Ua!==null?this.Ua.o:0},set:function(a){isNaN(a)||0>a?a=0:1<a&&(a=1);var y=this.segmentFraction;y!==a&&(this.Ua===null&&(this.Ua=new qh),this.Ua.o=a,this.v(),this.g("segmentFraction",y,a))}},segmentOffset:{get:function(){return this.Ua!==null?this.Ua.F:Li},set:function(a){var y=this.segmentOffset;y.D(a)||(a=a.J(),this.Ua===null&&(this.Ua=new qh),this.Ua.F=a,this.v(),this.g("segmentOffset",y,a))}},stretch:{get:function(){return this.A!==null?this.A.hg:si},set:function(a){var y=this.stretch;y!==a&&(vi(this),this.A.hg=a,this.v(),this.g("stretch",y,a))}},name:{get:function(){return this.A!==null?this.A.xa:""},set:function(a){var y=this.name;y!==a&&(vi(this),this.A.xa=a,this.part!==null&&(this.part.Rh=null),this.g("name",y,a))}},opacity:{get:function(){return this.pb},set:function(a){var y=this.pb;y!==a&&((0>a||1<a)&&Kn(a,"0 <= value <= 1",qt,"opacity"),this.pb=a,this.g("opacity",y,a),a=this.diagram,y=this.part,a!==null&&y!==null&&a.N(Xd(y,y.actualBounds)))}},filter:{get:function(){return this.bn},set:function(a){var y=this.bn;y!==a&&(this.bn=a,this.Uc=!0,this.g("filter",y,a),a=this.diagram,y=this.part,a!==null&&y!==null&&a.N(Xd(y,y.actualBounds)))}},visible:{get:function(){return(this.l&1)!==0},set:function(a){var y=(this.l&1)!==0;y!==a&&(this.l^=1,this.g("visible",y,a),y=this.panel,y!==null?y.v():this.Dd()&&this.Zb(a),this.N(),Yy(this))}},pickable:{get:function(){return(this.l&2)!==0},set:function(a){var y=(this.l&2)!==0;y!==a&&(this.l^=2,this.g("pickable",y,a))}},fromLinkableDuplicates:{get:function(){return(this.l&4)!==0},set:function(a){var y=(this.l&4)!==0;y!==a&&(this.l^=4,this.g("fromLinkableDuplicates",y,a))}},fromLinkableSelfNode:{get:function(){return(this.l&8)!==0},set:function(a){var y=(this.l&8)!==0;y!==a&&(this.l^=8,this.g("fromLinkableSelfNode",y,a))}},toLinkableDuplicates:{get:function(){return(this.l&16)!==0},set:function(a){var y=(this.l&16)!==0;y!==a&&(this.l^=16,this.g("toLinkableDuplicates",y,a))}},toLinkableSelfNode:{get:function(){return(this.l&32)!==0},set:function(a){var y=(this.l&32)!==0;y!==a&&(this.l^=32,this.g("toLinkableSelfNode",y,a))}},isPanelMain:{get:function(){return(this.l&64)!==0},set:function(a){var y=(this.l&64)!==0;y!==a&&(this.l^=64,this.v(),this.g("isPanelMain",y,a))}},isActionable:{get:function(){return(this.l&128)!==0},set:function(a){var y=(this.l&128)!==0;y!==a&&(this.l^=128,this.g("isActionable",y,a))}},areaBackground:{get:function(){return this.A!==null?this.A.gd:null},set:function(a){var y=this.areaBackground;y!==a&&(a!==null&&Cf(a,"GraphObject.areaBackground"),a instanceof uo&&a.freeze(),vi(this),this.A.gd=a,this.N(),this.g("areaBackground",y,a))}},background:{get:function(){return this.Ma},set:function(a){var y=this.Ma;y!==a&&(a!==null&&Cf(a,"GraphObject.background"),a instanceof uo&&a.freeze(),this.Ma=a,this.N(),this.g("background",y,a))}},part:{get:function(){if(this.Dd())return this;if(this.Ng!==null)return this.Ng;var a;for(a=this.panel;a;){if(a instanceof kr)return this.Ng=a;a=a.panel}return null}},svg:{get:function(){return this.V},set:function(a){this.V=a}},panel:{get:function(){return this.Me}},layer:{get:function(){var a=this.part;return a!==null?a.layer:null}},diagram:{get:function(){var a=this.part;return a!==null?a.diagram:null}},position:{get:function(){return this.pa},set:function(a){var y=a.x,x=a.y,b=this.pa,E=b.x;b=b.y,(E===y||isNaN(E)&&isNaN(y))&&(b===x||isNaN(b)&&isNaN(x))?this.Av():(a=a.copy(),this.zv(a,E,b)&&this.g("position",new Lt(E,b),a))}},actualBounds:{get:function(){return this.Ib}},scale:{get:function(){return this.Ca},set:function(a){var y=this.Ca;y!==a&&(0>=a&&Ht("GraphObject.scale for "+this+" must be greater than zero, not: "+a),this.Ca=a,this.v(),this.g("scale",y,a))}},angle:{get:function(){return this.Kb},set:function(a){var y=this.Kb;y!==a&&(a%=360,0>a&&(a+=360),y!==a&&(this.Kb=a,Yy(this),this.v(),this.g("angle",y,a)))}},desiredSize:{get:function(){return this.jd},set:function(a){var y=a.width,x=a.height,b=this.jd,E=b.width,te=b.height;(E===y||isNaN(E)&&isNaN(y))&&(te===x||isNaN(te)&&isNaN(x))||(this.jd=a=a.J(),this.v(),this instanceof pi&&this.qc(),this.g("desiredSize",b,a),ys(this)&&(a=this.part,a!==null&&(No(this,a,"width"),No(this,a,"height"))))}},width:{get:function(){return this.jd.width},set:function(a){var y=this.jd.width;y===a||isNaN(y)&&isNaN(a)||(y=this.jd,this.jd=a=new qn(a,this.jd.height).freeze(),this.v(),this instanceof pi&&this.qc(),this.g("desiredSize",y,a),ys(this)&&(a=this.part,a!==null&&No(this,a,"width")))}},height:{get:function(){return this.jd.height},set:function(a){var y=this.jd.height;y===a||isNaN(y)&&isNaN(a)||(y=this.jd,this.jd=a=new qn(this.jd.width,a).freeze(),this.v(),this instanceof pi&&this.qc(),this.g("desiredSize",y,a),ys(this)&&(a=this.part,a!==null&&No(this,a,"height")))}},minSize:{get:function(){return this.A!==null?this.A.u:li},set:function(a){var y=this.minSize;y.D(a)||(a=a.copy(),isNaN(a.width)&&(a.width=0),isNaN(a.height)&&(a.height=0),a.freeze(),vi(this),this.A.u=a,this.v(),this.g("minSize",y,a))}},maxSize:{get:function(){return this.A!==null?this.A.o:Do},set:function(a){var y=this.maxSize;y.D(a)||(a=a.copy(),isNaN(a.width)&&(a.width=1/0),isNaN(a.height)&&(a.height=1/0),a.freeze(),vi(this),this.A.o=a,this.v(),this.g("maxSize",y,a))}},measuredBounds:{get:function(){return this.uc}},naturalBounds:{get:function(){return this.dc}},margin:{get:function(){return this.Kg},set:function(a){typeof a=="number"&&(a=new Or(a));var y=this.Kg;y.D(a)||(this.Kg=a=a.J(),this.v(),this.g("margin",y,a))}},transform:{get:function(){return this.l&2048&&hs(this),this.Ab}},oe:{get:function(){return this.l&4096&&hs(this),this.wh}},animationTriggers:{get:function(){return this.A!==null?this.A.hb:null},set:function(a){this.animationTriggers!==a&&(vi(this),this.A.hb=a)}},reshapingBehavior:{get:function(){return this.A!==null?this.A.Pf:Rn},set:function(a){this.reshapingBehavior!==a&&(vi(this),this.A.Pf=a)}},alignment:{get:function(){return this.Jb},set:function(a){var y=this.Jb;y.D(a)||(a.Mc()&&!a.Xb()&&Ht("GraphObject.alignment for "+this+" must be a real Spot or Spot.Default, not: "+a),this.Jb=a=a.J(),Gs(this),this.g("alignment",y,a))}},column:{get:function(){return this.Ag},set:function(a){a=Math.round(a);var y=this.Ag;y!==a&&(0>a&&Kn(a,">= 0",qt,"column"),this.Ag=a,this.v(),this.g("column",y,a),this.svg!==null&&this.svg.remove())}},columnSpan:{get:function(){return this.A!==null?this.A.ob:1},set:function(a){a=Math.round(a);var y=this.columnSpan;y!==a&&(1>a&&Kn(a,">= 1",qt,"columnSpan"),vi(this),this.A.ob=a,this.v(),this.g("columnSpan",y,a))}},row:{get:function(){return this.io},set:function(a){a=Math.round(a);var y=this.io;y!==a&&(0>a&&Kn(a,">= 0",qt,"row"),this.io=a,this.v(),this.g("row",y,a),this.svg!==null&&this.svg.remove())}},rowSpan:{get:function(){return this.A!==null?this.A.Bi:1},set:function(a){a=Math.round(a);var y=this.rowSpan;y!==a&&(1>a&&Kn(a,">= 1",qt,"rowSpan"),vi(this),this.A.Bi=a,this.v(),this.g("rowSpan",y,a))}},spanAllocation:{get:function(){return this.A!==null?this.A.Di:null},set:function(a){var y=this.spanAllocation;y!==a&&(vi(this),this.A.Di=a,this.v(),this.g("spanAllocation",y,a))}},alignmentFocus:{get:function(){return this.sk},set:function(a){var y=this.sk;y.D(a)||(this.sk=a=a.J(),this.v(),this.g("alignmentFocus",y,a))}},portId:{get:function(){return this.Yn},set:function(a){var y=this.Yn;if(y!==a){var x=this.part;x===null||x instanceof sr||Ht("Cannot set portID on a Link: "+a),y!==null&&x!==null&&G0(x,this),this.Yn=a,a!==null&&x!==null&&(x.Te=!0,X1(x,this)),this.g("portId",y,a)}}},toSpot:{get:function(){return this.ba!==null?this.ba.yj:ua},set:function(a){var y=this.toSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.yj=a,this.g("toSpot",y,a),Hd(this))}},toEndSegmentLength:{get:function(){return this.ba!==null?this.ba.wj:10},set:function(a){var y=this.toEndSegmentLength;y!==a&&(0>a&&Kn(a,">= 0",qt,"toEndSegmentLength"),this.Xc(),this.ba.wj=a,this.g("toEndSegmentLength",y,a),Hd(this))}},toShortLength:{get:function(){return this.ba!==null?this.ba.xj:0},set:function(a){var y=this.toShortLength;y!==a&&(this.Xc(),this.ba.xj=a,this.g("toShortLength",y,a),Hd(this))}},toLinkable:{get:function(){return this.ba!==null?this.ba.Tr:null},set:function(a){var y=this.toLinkable;y!==a&&(this.Xc(),this.ba.Tr=a,this.g("toLinkable",y,a))}},toMaxLinks:{get:function(){return this.ba!==null?this.ba.Ur:1/0},set:function(a){var y=this.toMaxLinks;y!==a&&(0>a&&Kn(a,">= 0",qt,"toMaxLinks"),this.Xc(),this.ba.Ur=a,this.g("toMaxLinks",y,a))}},fromSpot:{get:function(){return this.ba!==null?this.ba.Xi:ua},set:function(a){var y=this.fromSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.Xi=a,this.g("fromSpot",y,a),Hd(this))}},fromEndSegmentLength:{get:function(){return this.ba!==null?this.ba.Vi:10},set:function(a){var y=this.fromEndSegmentLength;y!==a&&(0>a&&Kn(a,">= 0",qt,"fromEndSegmentLength"),this.Xc(),this.ba.Vi=a,this.g("fromEndSegmentLength",y,a),Hd(this))}},fromShortLength:{get:function(){return this.ba!==null?this.ba.Wi:0},set:function(a){var y=this.fromShortLength;y!==a&&(this.Xc(),this.ba.Wi=a,this.g("fromShortLength",y,a),Hd(this))}},fromLinkable:{get:function(){return this.ba!==null?this.ba.hq:null},set:function(a){var y=this.fromLinkable;y!==a&&(this.Xc(),this.ba.hq=a,this.g("fromLinkable",y,a))}},fromMaxLinks:{get:function(){return this.ba!==null?this.ba.iq:1/0},set:function(a){var y=this.fromMaxLinks;y!==a&&(0>a&&Kn(a,">= 0",qt,"fromMaxLinks"),this.Xc(),this.ba.iq=a,this.g("fromMaxLinks",y,a))}},cursor:{get:function(){return this.A!==null?this.A.j:""},set:function(a){var y=this.cursor;y!==a&&(vi(this),this.A.j=a,this.g("cursor",y,a))}},click:{get:function(){return this.A!==null?this.A.zh:null},set:function(a){var y=this.click;y!==a&&(vi(this),this.A.zh=a,this.g("click",y,a))}},doubleClick:{get:function(){return this.A!==null?this.A.Fh:null},set:function(a){var y=this.doubleClick;y!==a&&(vi(this),this.A.Fh=a,this.g("doubleClick",y,a))}},contextClick:{get:function(){return this.A!==null?this.A.Bh:null},set:function(a){var y=this.contextClick;y!==a&&(vi(this),this.A.Bh=a,this.g("contextClick",y,a))}},mouseEnter:{get:function(){return this.A!==null?this.A.Mh:null},set:function(a){var y=this.mouseEnter;y!==a&&(vi(this),this.A.Mh=a,this.g("mouseEnter",y,a))}},mouseLeave:{get:function(){return this.A!==null?this.A.Ph:null},set:function(a){var y=this.mouseLeave;y!==a&&(vi(this),this.A.Ph=a,this.g("mouseLeave",y,a))}},mouseOver:{get:function(){return this.A!==null?this.A.Qh:null},set:function(a){var y=this.mouseOver;y!==a&&(vi(this),this.A.Qh=a,this.g("mouseOver",y,a))}},mouseHover:{get:function(){return this.A!==null?this.A.Oh:null},set:function(a){var y=this.mouseHover;y!==a&&(vi(this),this.A.Oh=a,this.g("mouseHover",y,a))}},mouseHold:{get:function(){return this.A!==null?this.A.Nh:null},set:function(a){var y=this.mouseHold;y!==a&&(vi(this),this.A.Nh=a,this.g("mouseHold",y,a))}},mouseDragEnter:{get:function(){return this.A!==null?this.A.Of:null},set:function(a){var y=this.mouseDragEnter;y!==a&&(vi(this),this.A.Of=a,this.g("mouseDragEnter",y,a))}},mouseDragLeave:{get:function(){return this.A!==null?this.A.Xd:null},set:function(a){var y=this.mouseDragLeave;y!==a&&(vi(this),this.A.Xd=a,this.g("mouseDragLeave",y,a))}},mouseDrop:{get:function(){return this.A!==null?this.A.Lh:null},set:function(a){var y=this.mouseDrop;y!==a&&(vi(this),this.A.Lh=a,this.g("mouseDrop",y,a))}},actionDown:{get:function(){return this.A!==null?this.A.V:null},set:function(a){var y=this.actionDown;y!==a&&(vi(this),this.A.V=a,this.g("actionDown",y,a))}},actionMove:{get:function(){return this.A!==null?this.A.ia:null},set:function(a){var y=this.actionMove;y!==a&&(vi(this),this.A.ia=a,this.g("actionMove",y,a))}},actionUp:{get:function(){return this.A!==null?this.A.Ha:null},set:function(a){var y=this.actionUp;y!==a&&(vi(this),this.A.Ha=a,this.g("actionUp",y,a))}},actionCancel:{get:function(){return this.A!==null?this.A.F:null},set:function(a){var y=this.actionCancel;y!==a&&(vi(this),this.A.F=a,this.g("actionCancel",y,a))}},toolTip:{get:function(){return this.A!==null?this.A.$h:null},set:function(a){var y=this.toolTip;y!==a&&(vi(this),this.A.$h=a,this.g("toolTip",y,a))}},contextMenu:{get:function(){return this.A!==null?this.A.Ch:null},set:function(a){var y=this.contextMenu;y!==a&&(vi(this),this.A.Ch=a,this.g("contextMenu",y,a))}}}),qt.prototype.trigger=qt.prototype.Jv,qt.prototype.findBindingPanel=qt.prototype.ih,qt.prototype.findTemplateBinder=qt.prototype.pz,qt.prototype.setProperties=qt.prototype.nm,qt.prototype.apply=qt.prototype.apply,qt.prototype.attach=qt.prototype.Du,qt.prototype.set=qt.prototype.set,qt.prototype.isEnabledObject=qt.prototype.If,qt.prototype.isVisibleObject=qt.prototype.Ed,qt.prototype.isContainedBy=qt.prototype.rg,qt.prototype.getNearestIntersectionPoint=qt.prototype.rs,qt.prototype.getLocalPoint=qt.prototype.qs,qt.prototype.getDocumentScale=qt.prototype.Df,qt.prototype.getDocumentAngle=qt.prototype.li,qt.prototype.getDocumentBounds=qt.prototype.mi,qt.prototype.getDocumentPoint=qt.prototype.ga,qt.prototype.intersectsRect=qt.prototype.Yc,qt.prototype.containedInRect=qt.prototype.fh,qt.prototype.containsRect=qt.prototype.Re,qt.prototype.containsPoint=qt.prototype.ca,qt.prototype.raiseChanged=qt.prototype.g,qt.prototype.raiseChangedEvent=qt.prototype.cb,qt.prototype.addCopyProperty=qt.prototype.Vw;var op=null;qt.className="GraphObject",op=new pr,bh("Button",function(){function a(x,b){return x.diagram.ic(x.documentPoint,function(E){for(;E.panel!==null&&!E.isActionable;)E=E.panel;return E},function(E){return E===b})!==null}var y=au(Xn,Xn.Auto,{isActionable:!0,enabledChanged:function(x,b){if(x instanceof Xn){var E=x.fb("ButtonBorder");E!==null&&(E.fill=b?x._buttonFillNormal:x._buttonFillDisabled)}},cursor:"pointer",_buttonFillNormal:"#F5F5F5",_buttonStrokeNormal:"#BDBDBD",_buttonFillOver:"#E0E0E0",_buttonStrokeOver:"#9E9E9E",_buttonFillPressed:"#BDBDBD",_buttonStrokePressed:"#9E9E9E",_buttonFillDisabled:"#E5E5E5"},au(pi,{name:"ButtonBorder",figure:"RoundedRectangle",spot1:new wr(0,0,2.76142374915397,2.761423749153969),spot2:new wr(1,1,-2.76142374915397,-2.761423749153969),parameter1:2,parameter2:2,fill:"#F5F5F5",stroke:"#BDBDBD"}));return y.mouseEnter=function(x,b){if(b.If()&&b instanceof Xn&&(x=b.fb("ButtonBorder"),x instanceof pi)){var E=b._buttonFillOver;b._buttonFillNormal=x.fill,x.fill=E,E=b._buttonStrokeOver,b._buttonStrokeNormal=x.stroke,x.stroke=E}},y.mouseLeave=function(x,b){b.If()&&b instanceof Xn&&(x=b.fb("ButtonBorder"),x instanceof pi&&(x.fill=b._buttonFillNormal,x.stroke=b._buttonStrokeNormal))},y.actionDown=function(x,b){if(b.If()&&b instanceof Xn&&b._buttonFillPressed!==null&&x.button===0){var E=b.fb("ButtonBorder");if(E instanceof pi){x=x.diagram;var te=x.skipsUndoManager;x.skipsUndoManager=!0;var ne=b._buttonFillPressed;b._buttonFillOver=E.fill,E.fill=ne,ne=b._buttonStrokePressed,b._buttonStrokeOver=E.stroke,E.stroke=ne,x.skipsUndoManager=te}}},y.actionUp=function(x,b){if(b.If()&&b instanceof Xn&&b._buttonFillPressed!==null&&x.button===0){var E=b.fb("ButtonBorder");if(E instanceof pi){var te=x.diagram,ne=te.skipsUndoManager;te.skipsUndoManager=!0,a(x,b)?(E.fill=b._buttonFillOver,E.stroke=b._buttonStrokeOver):(E.fill=b._buttonFillNormal,E.stroke=b._buttonStrokeNormal),te.skipsUndoManager=ne}}},y.actionCancel=function(x,b){if(b.If()&&b instanceof Xn&&b._buttonFillPressed!==null){var E=b.fb("ButtonBorder");if(E instanceof pi){var te=x.diagram,ne=te.skipsUndoManager;te.skipsUndoManager=!0,a(x,b)?(E.fill=b._buttonFillOver,E.stroke=b._buttonStrokeOver):(E.fill=b._buttonFillNormal,E.stroke=b._buttonStrokeNormal),te.skipsUndoManager=ne}}},y.actionMove=function(x,b){if(b.If()&&b instanceof Xn&&b._buttonFillPressed!==null){var E=x.diagram;if(E.firstInput.button===0&&(E.currentTool.standardMouseOver(),a(x,b)&&(x=b.fb("ButtonBorder"),x instanceof pi))){var te=E.skipsUndoManager;E.skipsUndoManager=!0;var ne=b._buttonFillPressed;x.fill!==ne&&(x.fill=ne),ne=b._buttonStrokePressed,x.stroke!==ne&&(x.stroke=ne),E.skipsUndoManager=te}}},y}),bh("TreeExpanderButton",function(){var a=au("Button",{_treeExpandedFigure:"MinusLine",_treeCollapsedFigure:"PlusLine"},au(pi,{name:"ButtonIcon",figure:"MinusLine",stroke:"#424242",strokeWidth:2,desiredSize:lo},new Pa("figure","isTreeExpanded",function(y,x){return x=x.panel,y?x._treeExpandedFigure:x._treeCollapsedFigure}).cp()),{visible:!1},new Pa("visible","isTreeLeaf",function(y){return!y}).cp());return a.click=function(y,x){if(x=x.part,x instanceof Vi&&(x=x.adornedPart),x instanceof sr){var b=x.diagram;if(b!==null){if(b=b.commandHandler,x.isTreeExpanded){if(!b.canCollapseTree(x))return}else if(!b.canExpandTree(x))return;y.handled=!0,x.isTreeExpanded?b.collapseTree(x):b.expandTree(x)}}},a}),bh("SubGraphExpanderButton",function(){var a=au("Button",{_subGraphExpandedFigure:"MinusLine",_subGraphCollapsedFigure:"PlusLine"},au(pi,{name:"ButtonIcon",figure:"MinusLine",stroke:"#424242",strokeWidth:2,desiredSize:lo},new Pa("figure","isSubGraphExpanded",function(y,x){return x=x.panel,y?x._subGraphExpandedFigure:x._subGraphCollapsedFigure}).cp()));return a.click=function(y,x){if(x=x.part,x instanceof Vi&&(x=x.adornedPart),x instanceof ii){var b=x.diagram;if(b!==null){if(b=b.commandHandler,x.isSubGraphExpanded){if(!b.canCollapseSubGraph(x))return}else if(!b.canExpandSubGraph(x))return;y.handled=!0,x.isSubGraphExpanded?b.collapseSubGraph(x):b.expandSubGraph(x)}}},a}),bh("ToolTip",function(){return au(Vi,Xn.Auto,{isShadowed:!0,shadowColor:"rgba(0, 0, 0, .4)",shadowOffset:new Lt(0,3),shadowBlur:5},au(pi,{name:"Border",figure:"RoundedRectangle",parameter1:1,parameter2:1,fill:"#F5F5F5",stroke:"#F0F0F0",spot1:new wr(0,0,4,6),spot2:new wr(1,1,-4,-4)}))}),bh("ContextMenu",function(){return au(Vi,Xn.Vertical,{background:"#F5F5F5",isShadowed:!0,shadowColor:"rgba(0, 0, 0, .4)",shadowOffset:new Lt(0,3),shadowBlur:5},new Pa("background","",function(a){return a.adornedPart!==null&&a.placeholder!==null?null:"#F5F5F5"}))}),bh("ContextMenuButton",function(){var a=au("Button");a.stretch=Pr;var y=a.fb("ButtonBorder");return y instanceof pi&&(y.figure="Rectangle",y.strokeWidth=0,y.spot1=new wr(0,0,2,3),y.spot2=new wr(1,1,-2,-2)),a}),bh("PanelExpanderButton",function(a){var y=fm(a,"COLLAPSIBLE"),x=au("Button",{_buttonExpandedFigure:"M0 0 M0 6 L4 2 8 6 M8 8",_buttonCollapsedFigure:"M0 0 M0 2 L4 6 8 2 M8 8",_buttonFillNormal:"rgba(0, 0, 0, 0)",_buttonStrokeNormal:null,_buttonFillOver:"rgba(0, 0, 0, .2)",_buttonStrokeOver:null,_buttonFillPressed:"rgba(0, 0, 0, .4)",_buttonStrokePressed:null},au(pi,{name:"ButtonIcon",strokeWidth:2},new Pa("geometryString","visible",function(b){return b?x._buttonExpandedFigure:x._buttonCollapsedFigure}).cp(y)));return a=x.fb("ButtonBorder"),a instanceof pi&&(a.stroke=null,a.fill="rgba(0, 0, 0, 0)"),x.click=function(b,E){var te=E.diagram;if(te!==null&&!te.isReadOnly){var ne=E.ih();ne===null&&(ne=E.part),ne!==null&&(E=ne.fb(y),E!==null&&(b.handled=!0,te.Ea("Collapse/Expand Panel"),E.visible=!E.visible,te.eb("Collapse/Expand Panel")))}},x}),bh("CheckBoxButton",function(a){var y=fm(a);return a=au("Button",{desiredSize:new qn(14,14)},au(pi,{name:"ButtonIcon",geometryString:"M0 0 M0 8.85 L4.9 13.75 16.2 2.45 M16.2 16.2",strokeWidth:2,stretch:Vn,geometryStretch:yr,visible:!1},y!==""?new Pa("visible",y).Kx():[])),a.click=function(x,b){if(b instanceof Xn){var E=x.diagram;if(!(E===null||E.isReadOnly||y!==""&&E.model.isReadOnly)){x.handled=!0;var te=b.fb("ButtonIcon");E.Ea("checkbox"),te.visible=!te.visible,typeof b._doClick=="function"&&b._doClick(x,b),E.eb("checkbox")}}},a}),bh("CheckBox",function(a){a=fm(a),a=au("CheckBoxButton",a,{name:"Button",isActionable:!1,margin:new Or(0,1,0,0)});var y=au(Xn,"Horizontal",a,{isActionable:!0,cursor:a.cursor,margin:new Or(1),_buttonFillNormal:a._buttonFillNormal,_buttonStrokeNormal:a._buttonStrokeNormal,_buttonFillOver:a._buttonFillOver,_buttonStrokeOver:a._buttonStrokeOver,_buttonFillPressed:a._buttonFillPressed,_buttonStrokePressed:a._buttonStrokePressed,_buttonFillDisabled:a._buttonFillDisabled,mouseEnter:a.mouseEnter,mouseLeave:a.mouseLeave,actionDown:a.actionDown,actionUp:a.actionUp,actionCancel:a.actionCancel,actionMove:a.actionMove,click:a.click,_buttonClick:a.click});return a.mouseEnter=null,a.mouseLeave=null,a.actionDown=null,a.actionUp=null,a.actionCancel=null,a.actionMove=null,a.click=null,y}),qt.None=Rn=new wn(qt,"None",0),qt.Default=si=new wn(qt,"Default",0),qt.Vertical=Hr=new wn(qt,"Vertical",4),qt.Horizontal=Pr=new wn(qt,"Horizontal",5),qt.Fill=Vn=new wn(qt,"Fill",3),qt.Uniform=yr=new wn(qt,"Uniform",1),qt.UniformToFill=Ti=new wn(qt,"UniformToFill",2),qt.FlipVertical=Si=new wn(qt,"FlipVertical",1),qt.FlipHorizontal=Hi=new wn(qt,"FlipHorizontal",2),qt.FlipBoth=So=new wn(qt,"FlipBoth",3),qt.make=au,qt.getBuilders=function(){var a=new pr,y;for(y in op)if(y!==y.toLowerCase()){var x=op.I(y);typeof x=="function"&&a.add(y,x)}return a.freeze(),a},qt.defineBuilder=bh,qt.build=function(a,y,x){for(var b=[],E=2;E<arguments.length;++E)b[E-2]=arguments[E];if(E=op.I(a),typeof E=="function"&&(b=E([a].concat(b)),b instanceof qt))return y&&b.set(y),b;Ht('GraphObject.build invoked object builder "'+a+'", but it did not return an Object')},qt.takeBuilderArgument=fm;function wf(){this.nc=!1,this.xa="",this.zp=-1,this.nb=this.wm=this.te=null,this.j="",this.hb=this.Di=this.Hb=this.Ch=this.$h=this.F=this.Ha=this.ia=this.V=this.Lh=this.Xd=this.Of=this.Nh=this.Oh=this.Qh=this.Ph=this.Mh=this.Bh=this.Fh=this.zh=null,this.u=li,this.o=Do,this.hg=si,this.ob=this.Bi=1,this.Pf=Rn,this.Pc=this.Ci=this.gd=null,this.Oc="category"}wf.prototype.copy=function(){var a=new wf;return a.xa=this.xa,a.zp=this.zp,a.te=this.te,a.nb=this.nb,a.j=this.j,a.zh=this.zh,a.Fh=this.Fh,a.Bh=this.Bh,a.Mh=this.Mh,a.Ph=this.Ph,a.Qh=this.Qh,a.Oh=this.Oh,a.Nh=this.Nh,a.Of=this.Of,a.Xd=this.Xd,a.Lh=this.Lh,a.V=this.V,a.ia=this.ia,a.Ha=this.Ha,a.F=this.F,a.$h=this.$h,a.Ch=this.Ch,a.Hb=this.Hb,a.Di=this.Di,a.hb=this.hb,a.u=this.u.J(),a.o=this.o.J(),a.hg=this.hg,a.Bi=this.Bi,a.ob=this.ob,a.Pf=this.Pf,a.gd=this.gd,a.Ci=this.Ci,a.Pc=this.Pc,a.Oc=this.Oc,a};function qh(){this.u=-1/0,this.o=0,this.F=Li,this.rr=Xs,this.j=this.V="None"}qh.prototype.copy=function(){var a=new qh;return a.u=this.u,a.o=this.o,a.F=this.F.J(),a.rr=this.rr,a.V=this.V,a.j=this.j,a},qh.className="LinkElementSettings";function lg(){this.yj=this.Xi=io,this.xj=this.Wi=this.wj=this.Vi=NaN,this.Tr=this.hq=null,this.Ur=this.iq=1/0}lg.prototype.copy=function(){var a=new lg;return a.Xi=this.Xi.J(),a.yj=this.yj.J(),a.Vi=this.Vi,a.wj=this.wj,a.Wi=this.Wi,a.xj=this.xj,a.hq=this.hq,a.Tr=this.Tr,a.iq=this.iq,a.Ur=this.Ur,a},lg.className="LinkSettings";function Ud(){this.ha=[1,0,0,1,0,0]}Ud.prototype.copy=function(){var a=new Ud;return a.ha[0]=this.ha[0],a.ha[1]=this.ha[1],a.ha[2]=this.ha[2],a.ha[3]=this.ha[3],a.ha[4]=this.ha[4],a.ha[5]=this.ha[5],a},Ud.prototype.translate=function(a,y){this.ha[4]+=this.ha[0]*a+this.ha[2]*y,this.ha[5]+=this.ha[1]*a+this.ha[3]*y},Ud.prototype.scale=function(a,y){this.ha[0]*=a,this.ha[1]*=a,this.ha[2]*=y,this.ha[3]*=y},Ud.prototype.rotate=function(a,y,x){if(360<=a?a-=360:0>a&&(a+=360),a!==0){if(this.translate(y,x),a===90){a=0;var b=1}else a===180?(a=-1,b=0):a===270?(a=0,b=-1):(b=a*Math.PI/180,a=Math.cos(b),b=Math.sin(b));var E=this.ha[1]*a+this.ha[3]*b,te=this.ha[0]*-b+this.ha[2]*a,ne=this.ha[1]*-b+this.ha[3]*a;this.ha[0]=this.ha[0]*a+this.ha[2]*b,this.ha[1]=E,this.ha[2]=te,this.ha[3]=ne,this.translate(-y,-x)}},Ud.className="STransform";function bf(a){this.type=a,this.r2=this.y2=this.x2=this.r1=this.y1=this.x1=0,this.gx=[],this.pattern=null}bf.prototype.addColorStop=function(a,y){this.gx.push({offset:a,color:y})},bf.className="SGradient";function uc(a,y,x){this.ownerDocument=a=y===void 0?Dt.document:y,this.cA="http://www.w3.org/2000/svg",a!==void 0&&(this.Oa=this.Ud("svg",{width:"1px",height:"1px",viewBox:"0 0 1 1"}),this.style.display="block",this.style.letterSpacing="normal",this.style.wordSpacing="normal",this.Oa.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/svg"),this.Oa.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink")),this.hs=null,this.context=new Ml(this,x)}uc.prototype.resize=function(a,y,x,b){return this.width!==a||this.height!==y?(this.width=a,this.height=y,this.style.width=x+"px",this.style.height=b+"px",this.Oa.setAttributeNS(null,"width",x+"px"),this.Oa.setAttributeNS(null,"height",b+"px"),this.Oa.setAttributeNS(null,"viewBox","0 0 "+x+" "+b),this.context.ww.firstElementChild.setAttributeNS(null,"width",x+"px"),this.context.ww.firstElementChild.setAttributeNS(null,"height",b+"px"),!0):!1},uc.prototype.Ud=function(a,y,x){if(a=this.ownerDocument.createElementNS(this.cA,a),sn(y))for(var b in y)a.setAttributeNS(b==="href"?"http://www.w3.org/1999/xlink":"",b,y[b]);return x!==void 0&&(a.textContent=x),a},uc.prototype.getBoundingClientRect=function(){return this.Oa.getBoundingClientRect()},uc.prototype.focus=function(){this.Oa.focus()},uc.prototype.mx=function(){this.ownerDocument=null},Pt.Object.defineProperties(uc.prototype,{width:{get:function(){return this.Oa.width.baseVal.value},set:function(a){this.Oa.setAttribute("width",a+"px")}},height:{get:function(){return this.Oa.height.baseVal.value},set:function(a){this.Oa.setAttribute("height",a+"px")}},style:{get:function(){return this.Oa.style}}}),uc.className="SVGSurface";function Ml(a,y){this.Gv=a,this.svg=a.Oa,this.stack=[],this.nh=[],this.fillStyle="#000000",this.font="10px sans-serif",this.globalAlpha=1,this.lineCap="butt",this.lineDashOffset=0,this.lineJoin="miter",this.lineWidth=1,this.miterLimit=10,this.shadowBlur=0,this.shadowColor="rgba(0, 0, 0, 0)",this.shadowOffsetY=this.shadowOffsetX=0,this.Il=!1,this.strokeStyle="#000000",this.textAlign="start",this.clipInsteadOfFill=!1,this.Vg=this.Br=this.Ar=0,this.yd=this.ad=null,this.path=[],this.Yl={},this.Ct=!1,this.Yg=null,this.uj=0,this.rb=new Ud,this.j=pm(this),this.Nj=pm(this,"gojs-diagram"),this.Hl=this.ti=null;var x=Xi++,b=this.Ud("clipPath",{id:"mainClip"+x});b.appendChild(this.Ud("rect",{x:0,y:0,width:a.width,height:a.height})),this.ww=b,this.svg.appendChild(this.j),this.j.appendChild(this.Nj),this.svg.appendChild(b),this.j.setAttributeNS(null,"clip-path","url(#mainClip"+x+")"),this.eA={},this.isTemporary=!!y,this.filter="",this.bk=null}function Jy(a,y,x,b,E,te,ne){a.Nj===void 0?ug(a,y,x,b,E,te,ne):a.Nj.setAttribute("transform","matrix("+y+", "+x+", "+b+", "+E+", "+te+", "+ne+")")}ot=Ml.prototype,ot.arc=function(a,y,x,b,E,te,ne,se){var he=2*Math.PI,ve=he-1e-6,Se=x*Math.cos(b),Be=x*Math.sin(b),Ve=a+Se,nt=y+Be,rt=te?0:1;b=te?b-E:E-b,(1e-6<Math.abs(ne-Ve)||1e-6<Math.abs(se-nt))&&this.path.push(["L",Ve,+nt]),0>b&&(b=b%he+he),b>ve?(this.path.push(["A",x,x,0,1,rt,a-Se,y-Be]),this.path.push(["A",x,x,0,1,rt,Ve,nt])):1e-6<b&&this.path.push(["A",x,x,0,+(b>=Math.PI),rt,a+x*Math.cos(E),y+x*Math.sin(E)])},ot.beginPath=function(){this.path=[],this.Yl={stroke:"none",fill:"none"}},ot.Se=function(a){this.addPath(this.path,this.rb,a||0)},ot.bezierCurveTo=function(a,y,x,b,E,te){this.path.push(["C",a,y,x,b,E,te])},ot.clearRect=function(){},ot.clip=function(){this.Yl.clipPath=!0},ot.closePath=function(){this.path.push(["z"])},ot.createLinearGradient=function(a,y,x,b){var E=new bf("linear");return E.x1=a,E.y1=y,E.x2=x,E.y2=b,E},ot.createPattern=function(a){var y="";a instanceof HTMLCanvasElement&&(y=a.toDataURL()),a instanceof HTMLImageElement&&(y=a.getAttribute("src"));var x=this.eA;if(x[y])return"url(#"+x[y]+")";var b="PATTERN"+Xi++,E={x:0,y:0,width:a.width,height:a.height,href:y};return a=this.Ud("pattern",{width:a.width,height:a.height,id:b,patternUnits:"userSpaceOnUse"}),a.appendChild(this.Ud(zd,E)),this.svg.appendChild(a),x[y]=b,"url(#"+b+")"},ot.createRadialGradient=function(a,y,x,b,E,te){var ne=new bf("radial");return ne.x1=a,ne.y1=y,ne.r1=x,ne.x2=b,ne.y2=E,ne.r2=te,ne};function Qy(a,y,x,b,E,te,ne,se,he){b=se/b,E=he/E,te===0&&ne===0||a.rb.translate(te,ne),b===1&&E===1||a.rb.scale(b,E),y===0&&x===0||a.rb.translate(-y,-x)}ot.drawImage=function(a,y,x,b,E,te,ne,se,he){var ve="";a instanceof HTMLCanvasElement&&(ve=a.toDataURL()),a instanceof HTMLImageElement&&(ve=a.getAttribute("src"));var Se=a instanceof HTMLImageElement?a.naturalWidth:a.width;a=a instanceof HTMLImageElement?a.naturalHeight:a.height,b===void 0&&(te=y,ne=x,se=b=Se,he=E=a),b=b||0,E=E||0,se=se||0,he=he||0,Qy(this,y,x,b,E,te||0,ne||0,se,he),te={x:0,y:0,width:Se||b,height:a||E,href:ve},tn.$(b,se)&&tn.$(E,he)?ve.toLowerCase().indexOf(".svg")===-1&&ve.toLowerCase().indexOf("data:image/svg")===-1&&(te.preserveAspectRatio="xMidYMid slice"):te.preserveAspectRatio="none",(y!==0||x!==0||b!==Se||E!==a)&&(b+=y,E+=x,te["clip-path"]="path('M "+y+","+x+" L "+b+" "+x+" L "+b+" "+E+" L "+y+" "+E+" z')"),ap(this,zd,te,this.rb),this.addElement(zd,te)},ot.fill=function(a){a&&(this.Yl["fill-rule"]="evenodd"),i0(this,this.Yl)},ot.ng=function(a,y){this.clipInsteadOfFill?this.clip():this.fill(y)},ot.fillRect=function(a,y,x,b){a=[a,y,x,b],a={x:a[0],y:a[1],width:a[2],height:a[3]},ap(this,"fill",a,this.rb),this.addElement("rect",a)},ot.ox=function(a,y,x,b){a={x:a,y,width:x,height:b},ap(this,"fill",a,this.rb),i0(this,a),this.svg.prepend(this.Ud("rect",a))},ot.fillText=function(a,y,x){a=[a,y,x],y=this.textAlign,y==="left"?y="start":y==="right"?y="end":y==="center"&&(y="middle"),y={x:a[1],y:a[2],style:"font: "+this.font,"text-anchor":y},ap(this,"fill",y,this.rb),this.addElement("text",y,a[0])},ot.lineTo=function(a,y){this.path.push(["L",a,y])},ot.moveTo=function(a,y){this.path.push(["M",a,y])},ot.quadraticCurveTo=function(a,y,x,b){this.path.push(["Q",a,y,x,b])},ot.rect=function(a,y,x,b){this.path.push(["M",a,y],["L",a+x,y],["L",a+x,y+b],["L",a,y+b],["z"])},ot.restore=function(){this.rb=this.stack.pop(),this.path=this.stack.pop();var a=this.stack.pop();this.fillStyle=a.fillStyle,this.font=a.font,this.globalAlpha=a.globalAlpha,this.lineCap=a.lineCap,this.lineDashOffset=a.lineDashOffset,this.lineJoin=a.lineJoin,this.lineWidth=a.lineWidth,this.miterLimit=a.miterLimit,this.shadowBlur=a.shadowBlur,this.shadowColor=a.shadowColor,this.shadowOffsetX=a.shadowOffsetX,this.shadowOffsetY=a.shadowOffsetY,this.strokeStyle=a.strokeStyle,this.textAlign=a.textAlign,this.bk=a.bk},ot.save=function(){this.stack.push({fillStyle:this.fillStyle,font:this.font,globalAlpha:this.globalAlpha,lineCap:this.lineCap,lineDashOffset:this.lineDashOffset,lineJoin:this.lineJoin,lineWidth:this.lineWidth,miterLimit:this.miterLimit,shadowBlur:this.shadowBlur,shadowColor:this.shadowColor,shadowOffsetX:this.shadowOffsetX,shadowOffsetY:this.shadowOffsetY,strokeStyle:this.strokeStyle,textAlign:this.textAlign,bk:this.bk});for(var a=[],y=0;y<this.path.length;y++)a.push(this.path[y]);this.stack.push(a),this.stack.push(this.rb.copy())},ot.setTransform=function(a,y,x,b,E,te){a===1&&y===0&&x===0&&b===1&&E===0&&te===0||ug(this,a,y,x,b,E,te)};function _y(a){return a=a.rb.ha,"matrix("+a[0]+", "+a[1]+", "+a[2]+", "+a[3]+", "+a[4]+", "+a[5]+")"}ot.scale=function(a,y){this.rb.scale(a,y)},ot.translate=function(a,y){this.rb.translate(a,y)},ot.transform=function(){},ot.yc=function(){},ot.stroke=function(){qy(this,this.Yl)},ot.jk=function(){this.clipInsteadOfFill||this.stroke()},ot.Ud=function(a,y,x){return this.Gv.Ud(a,y,x)},ot.addElement=function(a,y,x){return a=this.Ud(a,y,x),this.yd!==null?this.yd.appendChild(a):this.yd=a,this.ad=a};function ap(a,y,x,b){y==="fill"?i0(a,x):y==="stroke"&&qy(a,x),b!==null&&(a=b.ha,x.transform="matrix("+a[0]+", "+a[1]+", "+a[2]+", "+a[3]+", "+a[4]+", "+a[5]+")")}function i0(a,y){a.fillStyle instanceof bf?y.fill=o0(a,a.fillStyle,!0):/^rgba\(/.test(a.fillStyle)?(a=/^\s*rgba\s*\(([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\)\s*$/i.exec(a.fillStyle),y.fill="rgb("+a[1]+","+a[2]+","+a[3]+")",y["fill-opacity"]=a[4]):y.fill=a.fillStyle}function $y(a,y,x){x=x?"fill":"stroke",a.fillStyle instanceof bf?y.setAttributeNS(null,"fill",o0(a,a.fillStyle,!0)):/^rgba\(/.test(a.fillStyle)?(a=/^\s*rgba\s*\(([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\)\s*$/i.exec(a.fillStyle),y.setAttributeNS(null,x,"rgb("+a[1]+","+a[2]+","+a[3]+")"),y.setAttributeNS(null,x+"-opacity",a[4])):y.setAttributeNS(null,x,a.fillStyle)}function qy(a,y){if(a.strokeStyle instanceof bf)y.stroke=o0(a,a.strokeStyle,!1);else if(/^rgba\(/.test(a.strokeStyle)){var x=/^\s*rgba\s*\(([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\)\s*$/i.exec(a.strokeStyle);y.stroke="rgb("+x[1]+","+x[2]+","+x[3]+")",y["stroke-opacity"]=x[4]}else y.stroke=a.strokeStyle;y["stroke-width"]=a.lineWidth,y["stroke-linecap"]=a.lineCap,y["stroke-linejoin"]=a.lineJoin,y["stroke-miterlimit"]=a.miterLimit,a.Ct&&(y["stroke-dasharray"]=a.Yg.toString(),y["stroke-dashoffset"]=a.uj)}function o0(a,y,x){var b="";if(b=a.Hl!==null?a.Hl.getAttribute(x?"fill":"stroke"):null,b!==null&&b.indexOf("GRAD")!==-1?(b=b.split("#")[1].slice(0,-1),x=a.svg.getElementById(b),x!==null&&x.remove()):b="GRAD"+Xi++,y.type==="linear")x=a.Ud("linearGradient",{x1:y.x1,x2:y.x2,y1:y.y1,y2:y.y2,id:b,gradientUnits:"userSpaceOnUse"});else if(y.type==="radial")x=a.Ud("radialGradient",{x1:y.x1,x2:y.x2,y1:y.y1,y2:y.y2,r1:y.r1,r2:y.r2,id:b});else throw Error("invalid gradient");var E=y.gx;y=E.length;for(var te=[],ne=0;ne<y;ne++){var se=E[ne],he=se.color;se={offset:se.offset,"stop-color":he},/^rgba\(/.test(he)&&(he=/^\s*rgba\s*\(([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\)\s*$/i.exec(he),se["stop-color"]="rgb("+he[1]+","+he[2]+","+he[3]+")",se["stop-opacity"]=he[4]),te.push(se)}for(te.sort(function(ve,Se){return ve.offset>Se.offset?1:-1}),E=0;E<y;E++)x.appendChild(a.Ud("stop",te[E]));return a.svg.appendChild(x),"url(#"+b+")"}ot.addPath=function(a,y,x){for(var b=[],E=0;E<a.length;E++){var te=rn(a[E]),ne=[te.shift()];if(ne[0]==="A")ne.push(te.shift()+","+te.shift(),te.shift(),te.shift()+","+te.shift(),te.shift()+","+te.shift());else for(;te.length;)ne.push(te.shift()+","+te.shift());b.push(ne.join(" "))}if(b=b.join(" "),a=this.Yl,a.clipPath)0<this.nh.length&&this.nh[this.nh.length-1].setAttributeNS(null,"clip-path",'path("'+b+'")');else if(a.d=b,ap(this,"",a,y),this.Hl!==null)if(y=this.Hl,y.nodeName!=="g")for(var se in a)se!=="transform"&&y.setAttributeNS(null,se,a[se]);else{se=y.getElementsByTagName("path");for(var he in a)he!=="transform"&&se[x].setAttributeNS(null,he,a[he])}else this.addElement("path",a)};function ug(a,y,x,b,E,te,ne){var se=new Ud;se.ha=[y,x,b,E,te,ne],y={},ap(a,"g",y,se),se=a.addElement("g",y),a.nh.push(se)}function pm(a,y){var x={};return y&&(x.class=y),y=a.addElement("g",x),a.nh.push(y),y}ot.Ev=function(a,y,x){this.Ar=a,this.Br=y,this.Vg=x};function Lc(a){a.Il=!1,a.shadowOffsetX=0,a.shadowOffsetY=0,a.shadowBlur=0}function qc(a){a.Il=!0,a.shadowOffsetX=a.Ar,a.shadowOffsetY=a.Br,a.shadowBlur=a.Vg}ot.js=function(a,y){this.Ct=!0,this.Yg=a,this.uj=y},ot.fs=function(){this.Ct=!1},ot.Vc=function(){},ot.Wx=function(){},Ml.prototype.rotate=function(a){this.rb.rotate(57.2958*a,0,0)},Ml.prototype.getImageData=function(){return null},Ml.prototype.measureText=function(){return null};function gm(a,y){y=y.getAttribute("fill"),y!==null&&(y=y.split("#"),y.length!==1&&(y=a.svg.getElementById(y[1].slice(0,-1)),y!==null&&a.svg.innerHTML.match(new RegExp(y.id,"g")).length===1&&y.remove()))}Ml.prototype.Hs=function(a){a.svg!==null&&a.svg.parentNode===this.Nj&&a.svg.remove()},Ml.className="SVGContext",hn.prototype.Cs=function(a){this.pj.contains("SVG")||this.bs("SVG",new uc(this,Dt.document));var y=new uc(this,Dt.document,!0);a===void 0&&(a=new Ar);var x=this;return gf(this,function(b,E){return b=um(x,b,"SVG",y),b=b!==null?b.svg:null,typeof E=="function"?(E(b),null):b},a)},hn.prototype.makeSvg=hn.prototype.Cs,hn.prototype.av=function(a){return this.Cs(a)},hn.prototype.makeSVG=hn.prototype.av;function yu(a,y,x,b){this.ownerDocument=y=y===void 0?Dt.document:y,this.hs=null,y=y.createElement("canvas"),y.tabIndex=0,this.Oa=y,this.context=new Gd(y,x,b),y.H=a}yu.prototype.resize=function(a,y,x,b){return this.width!==a||this.height!==y?(this.width=a,this.height=y,this.style.width=x+"px",this.style.height=b+"px",!0):!1},yu.prototype.toDataURL=function(a,y){return this.Oa.toDataURL(a,y)},yu.prototype.getBoundingClientRect=function(){return this.Oa.getBoundingClientRect()},yu.prototype.focus=function(){this.Oa.focus()},yu.prototype.mx=function(){this.ownerDocument=this.Oa.H=null},Pt.Object.defineProperties(yu.prototype,{width:{get:function(){return this.Oa.width},set:function(a){this.Oa.width=a}},height:{get:function(){return this.Oa.height},set:function(a){this.Oa.height=a}},style:{get:function(){return this.Oa.style}}}),yu.className="CanvasSurface";function Gd(a,y,x){this.Z=a.getContext?a.getContext("2d",y):null,this.Z===null&&Ht("Browser does not support HTML Canvas Element"),this.ct=this.et=this.dt="",this.Hm=!1,this.Vg=this.Br=this.Ar=0,this.Il=!1,this.El=new mi,this.isTemporary=!!x}ot=Gd.prototype,ot.Wx=function(a){this.Z.imageSmoothingEnabled=a},ot.arc=function(a,y,x,b,E,te){this.Z.arc(a,y,x,b,E,te)},ot.beginPath=function(){this.Z.beginPath()},ot.Se=function(){},ot.bezierCurveTo=function(a,y,x,b,E,te){this.Z.bezierCurveTo(a,y,x,b,E,te)},ot.clearRect=function(a,y,x,b){this.yc(),this.Z.clearRect(a,y,x,b)},ot.clip=function(){this.Z.clip()},ot.closePath=function(){this.Z.closePath()},ot.createLinearGradient=function(a,y,x,b){return this.Z.createLinearGradient(a,y,x,b)},ot.createPattern=function(a,y){return this.Z.createPattern(a,y)},ot.createRadialGradient=function(a,y,x,b,E,te){return this.Z.createRadialGradient(a,y,x,b,E,te)},ot.drawImage=function(a,y,x,b,E,te,ne,se,he){b===void 0?this.Z.drawImage(a,y,x):this.Z.drawImage(a,y,x,b,E,te,ne,se,he)},ot.fill=function(a){this.Z.fill(a?"evenodd":"nonzero")},ot.fillRect=function(a,y,x,b){this.Z.fillRect(a,y,x,b)},ot.ox=function(a,y,x,b){this.Z.fillRect(a,y,x,b)},ot.fillText=function(a,y,x){this.Z.fillText(a,y,x)},ot.getImageData=function(a,y,x,b){return this.Z.getImageData(a,y,x,b)},ot.lineTo=function(a,y){this.Z.lineTo(a,y)},ot.measureText=function(a){return this.Z.measureText(a)},ot.moveTo=function(a,y){this.Z.moveTo(a,y)},ot.quadraticCurveTo=function(a,y,x,b){this.Z.quadraticCurveTo(a,y,x,b)},ot.rect=function(a,y,x,b){this.Z.rect(a,y,x,b)},ot.restore=function(){this.Z.restore()},ot.save=function(){this.yc(),this.Z.save()},Gd.prototype.rotate=function(a){this.El.rotate(57.2958*a,0,0)},ot=Gd.prototype,ot.setTransform=function(a,y,x,b,E,te){this.El.setTransform(a,y,x,b,E,te)},ot.scale=function(a,y){this.El.scale(a,y)},ot.translate=function(a,y){this.El.translate(a,y)},ot.stroke=function(){this.Z.stroke()},ot.transform=function(a,y,x,b,E,te){if(a!==1||y!==0||x!==0||b!==1||E!==0||te!==0){var ne=this.El,se=ne.m11*a+ne.m21*y;a=ne.m12*a+ne.m22*y,y=ne.m11*x+ne.m21*b,x=ne.m12*x+ne.m22*b,ne.dx=ne.m11*E+ne.m21*te+ne.dx,ne.dy=ne.m12*E+ne.m22*te+ne.dy,ne.m11=se,ne.m12=a,ne.m21=y,ne.m22=x}},ot.yc=function(){var a=this.El;this.Z.setTransform(a.m11,a.m12,a.m21,a.m22,a.dx,a.dy)},ot.ng=function(a,y){if(a instanceof uo&&a.type===su){var x=a.yk;a=a.ft,a>x?(this.scale(x/a,1),this.translate((a-x)/2,0)):x>a&&(this.scale(1,a/x),this.translate(0,(x-a)/2)),this.Hm?this.clip():this.fill(y),a>x?(this.translate(-(a-x)/2,0),this.scale(1/(x/a),1)):x>a&&(this.translate(0,-(x-a)/2),this.scale(1,1/(a/x)))}else this.Hm?this.clip():this.fill(y)},ot.jk=function(){this.Hm||this.stroke()},ot.Ev=function(a,y,x){this.Ar=a,this.Br=y,this.Vg=x},ot.js=function(a,y){var x=this.Z;x.setLineDash!==void 0&&(x.setLineDash(a),x.lineDashOffset=y)},ot.fs=function(){var a=this.Z;a.setLineDash!==void 0&&(a.setLineDash(vx),a.lineDashOffset=0)},ot.Vc=function(a){a&&(this.dt=""),this.ct=this.et=""},ot.Hs=function(){},Pt.Object.defineProperties(Gd.prototype,{fillStyle:{get:function(){return this.Z.fillStyle},set:function(a){this.ct!==a&&(this.ct=this.Z.fillStyle=a)}},font:{get:function(){return this.Z.font},set:function(a){this.dt!==a&&(this.dt=this.Z.font=a)}},globalAlpha:{get:function(){return this.Z.globalAlpha},set:function(a){this.Z.globalAlpha=a}},lineCap:{get:function(){return this.Z.lineCap},set:function(a){this.Z.lineCap=a}},lineDashOffset:{get:function(){return this.Z.lineDashOffset},set:function(a){this.Z.lineDashOffset=a}},lineJoin:{get:function(){return this.Z.lineJoin},set:function(a){this.Z.lineJoin=a}},lineWidth:{get:function(){return this.Z.lineWidth},set:function(a){this.Z.lineWidth=a}},miterLimit:{get:function(){return this.Z.miterLimit},set:function(a){this.Z.miterLimit=a}},shadowBlur:{get:function(){return this.Z.shadowBlur},set:function(a){this.Z.shadowBlur=a}},shadowColor:{get:function(){return this.Z.shadowColor},set:function(a){this.Z.shadowColor=a}},shadowOffsetX:{get:function(){return this.Z.shadowOffsetX},set:function(a){this.Z.shadowOffsetX=a}},shadowOffsetY:{get:function(){return this.Z.shadowOffsetY},set:function(a){this.Z.shadowOffsetY=a}},strokeStyle:{get:function(){return this.Z.strokeStyle},set:function(a){this.et!==a&&(this.et=this.Z.strokeStyle=a)}},textAlign:{get:function(){return this.Z.textAlign},set:function(a){this.Z.textAlign=a}},imageSmoothingEnabled:{get:function(){return this.Z.imageSmoothingEnabled},set:function(a){this.Z.imageSmoothingEnabled=a}},filter:{get:function(){return this.Z.filter},set:function(a){this.Z.filter=a===""?"none":a}},clipInsteadOfFill:{get:function(){return this.Hm},set:function(a){this.Hm=a}}});var vx=Object.freeze([]);Gd.className="CanvasSurfaceContext";function cg(){this.F=this.o=this.u=this.j=0}cg.className="ColorNumbers";function uo(a,y){cp||(h0(),cp=!0),hi(this),this._isFrozen=!1,a===void 0?(this.na=Ch,this.xk="black"):typeof a=="string"?(this.na=Ch,this.xk=a):(this.na=a,this.xk="black"),a=this.na,a===th?(this.Qd=Cl,this.Lk=nl):this.Lk=a===su?this.Qd=zi:this.Qd=ua,this.Gr=0,this.Xp=NaN,this.xe=this.cr=this.we=null,this.ft=this.yk=0,y&&Object.assign(this,y)}uo.prototype.copy=function(){var a=new uo;return a.na=this.na,a.xk=this.xk,a.Qd=this.Qd.J(),a.Lk=this.Lk.J(),a.Gr=this.Gr,a.Xp=this.Xp,this.we!==null&&(a.we=this.we.copy()),a.cr=this.cr,a},ot=uo.prototype,ot.freeze=function(){return this._isFrozen=!0,this.we!==null&&this.we.freeze(),this},ot.ka=function(){return Object.isFrozen(this)&&Ht("cannot thaw constant: "+this),this._isFrozen=!1,this.we!==null&&this.we.ka(),this},ot.qb=function(a){a.classType===uo&&(this.type=a)},ot.toString=function(){var a="Brush(";if(this.type===Ch)a+=this.color;else if(a=this.type===th?a+"Linear ":this.type===su?a+"Radial ":this.type===hp?a+"Pattern ":a+"(unknown) ",a+=this.start+" "+this.end,this.colorStops!==null)for(var y=this.colorStops.iterator;y.next();)a+=" "+y.key+":"+y.value;return a+")"},ot.addColorStop=function(a,y){return this._isFrozen&&An(this),(typeof a!="number"||!isFinite(a)||1<a||0>a)&&Kn(a,"0 <= loc <= 1",uo,"addColorStop:loc"),this.we===null&&(this.we=new pr),this.we.add(a,y),this.na===Ch&&(this.type=th),this.xe=null,this},ot.Vz=function(a,y){if(this._isFrozen&&An(this),a=a===void 0||typeof a!="number"?.2:a,y=y===void 0?dp:y,this.type===Ch)eh(this.color),this.color=lp(a,y);else if((this.type===th||this.type===su)&&this.colorStops!==null)for(var x=this.colorStops.iterator;x.next();)eh(x.value),this.addColorStop(x.key,lp(a,y));return this};function e1(a,y,x){return y=y===void 0||typeof y!="number"?.2:y,x=x===void 0?dp:x,eh(a),lp(y,x)}ot.Wy=function(a,y){if(this._isFrozen&&An(this),a=a===void 0||typeof a!="number"?.2:a,y=y===void 0?dp:y,this.type===Ch)eh(this.color),this.color=lp(-a,y);else if((this.type===th||this.type===su)&&this.colorStops!==null)for(var x=this.colorStops.iterator;x.next();)eh(x.value),this.addColorStop(x.key,lp(-a,y));return this};function t1(a,y,x){return y=y===void 0||typeof y!="number"?.2:y,x=x===void 0?dp:x,eh(a),lp(-y,x)}function a0(a,y,x){eh(a),a=Fo.j;var b=Fo.u,E=Fo.o,te=Fo.F;return eh(y),x===void 0&&(x=.5),"rgba("+Math.round((Fo.j-a)*x+a)+", "+Math.round((Fo.u-b)*x+b)+", "+Math.round((Fo.o-E)*x+E)+", "+Math.round((Fo.F-te)*x+te)+")"}ot.Gx=function(){if(this.type===Ch)return sp(this.color);if((this.type===th||this.type===su)&&this.colorStops!==null){var a=this.colorStops;if(this.type===su)return sp(a.first().value);if(a.get(.5)!==null)return sp(a.get(.5));if(a.count===2)return a=a.Fa(),sp(a0(a[0].value,a[1].value));for(var y=a.iterator,x=-1,b=-1,E=1,te=1;y.next();){var ne=y.key,se=Math.abs(.5-y.key);E>te&&se<E?(x=ne,E=se):te>=E&&se<te&&(b=ne,te=se)}return x>b&&(te=x,x=b,b=te,te=E),E=b-x,sp(a0(a.get(x),a.get(b),1-te/E))}return!1};function sp(a){return a?a instanceof uo?a.Gx():(eh(a),128>(299*Fo.j+587*Fo.u+114*Fo.o)/1e3):!1}function lp(a,y){switch(y){case dp:y=100*l0(Fo.j);var x=100*l0(Fo.u),b=100*l0(Fo.o);return Ks.j=.4124564*y+.3575761*x+.1804375*b,Ks.u=.2126729*y+.7151522*x+.072175*b,Ks.o=.0193339*y+.119192*x+.9503041*b,Ks.F=Fo.F,y=c0(Ks.j/up[0]),x=c0(Ks.u/up[1]),b=c0(Ks.o/up[2]),Tc.j=116*x-16,Tc.u=500*(y-x),Tc.o=200*(x-b),Tc.F=Ks.F,Tc.j=Math.min(100,Math.max(0,Tc.j+100*a)),a=(Tc.j+16)/116,y=a-Tc.o/200,Ks.j=up[0]*n1(Tc.u/500+a),Ks.u=up[1]*(Tc.j>mm*d0?Math.pow(a,3):Tc.j/mm),Ks.o=up[2]*n1(y),Ks.F=Tc.F,a=-.969266*Ks.j+1.8760108*Ks.u+.041556*Ks.o,y=.0556434*Ks.j+-.2040259*Ks.u+1.0572252*Ks.o,Fo.j=255*u0((3.2404542*Ks.j+-1.5371385*Ks.u+-.4985314*Ks.o)/100),Fo.u=255*u0(a/100),Fo.o=255*u0(y/100),Fo.F=Ks.F,Fo.j=Math.round(Fo.j),255<Fo.j?Fo.j=255:0>Fo.j&&(Fo.j=0),Fo.u=Math.round(Fo.u),255<Fo.u?Fo.u=255:0>Fo.u&&(Fo.u=0),Fo.o=Math.round(Fo.o),255<Fo.o?Fo.o=255:0>Fo.o&&(Fo.o=0),"rgba("+Fo.j+", "+Fo.u+", "+Fo.o+", "+Fo.F+")";case r1:return s0(),Yl.o=Math.min(100,Math.max(0,Yl.o+100*a)),"hsla("+Yl.j+", "+Yl.u+"%, "+Yl.o+"%, "+Yl.F+")";default:Ht("Unknown color space: "+y)}}function eh(a){cp||(h0(),cp=!0);var y=f0;if(y!==null){y.clearRect(0,0,1,1),y.fillStyle="#000000";var x=y.fillStyle;y.fillStyle=a,y.fillStyle!==x?(y.fillRect(0,0,1,1),a=y.getImageData(0,0,1,1).data,Fo.j=a[0],Fo.u=a[1],Fo.o=a[2],Fo.F=a[3]/255):(y.fillStyle="#FFFFFF",y.fillStyle=a,Fo.j=0,Fo.u=0,Fo.o=0,Fo.F=1)}}function s0(){var a=Fo.j/255,y=Fo.u/255,x=Fo.o/255,b=Math.max(a,y,x),E=Math.min(a,y,x),te=b-E;if(E=(b+E)/2,te===0)var ne=a=0;else{switch(b){case a:ne=(y-x)/te%6;break;case y:ne=(x-a)/te+2;break;case x:ne=(a-y)/te+4}ne*=60,0>ne&&(ne+=360),a=te/(1-Math.abs(2*E-1))}Yl.j=Math.round(ne),Yl.u=Math.round(100*a),Yl.o=Math.round(100*E),Yl.F=Fo.F}function l0(a){return a/=255,.04045>=a?a/12.92:Math.pow((a+.055)/1.055,2.4)}function u0(a){return .0031308>=a?12.92*a:1.055*Math.pow(a,1/2.4)-.055}function c0(a){return a>d0?Math.pow(a,1/3):(mm*a+16)/116}function n1(a){var y=a*a*a;return y>d0?y:(116*a-16)/mm}function Cf(a,y){typeof a!="string"&&(a instanceof uo||Ht("Value for "+y+" must be a color string or a Brush, not "+a))}function h0(){f0=ia?new yu(null,void 0,{willReadFrequently:!0}).context:null}Pt.Object.defineProperties(uo.prototype,{type:{get:function(){return this.na},set:function(a){this._isFrozen&&An(this,a),this.na=a,this.start.Mc()&&(a===th?this.start=Cl:a===su&&(this.start=zi)),this.end.Mc()&&(a===th?this.end=nl:a===su&&(this.end=zi)),this.xe=null}},color:{get:function(){return this.xk},set:function(a){this._isFrozen&&An(this,a),this.xk=a,this.xe=null}},start:{get:function(){return this.Qd},set:function(a){this._isFrozen&&An(this,a),this.Qd=a.J(),this.xe=null}},end:{get:function(){return this.Lk},set:function(a){this._isFrozen&&An(this,a),this.Lk=a.J(),this.xe=null}},startRadius:{get:function(){return this.Gr},set:function(a){this._isFrozen&&An(this,a),0>a&&Kn(a,">= zero",uo,"startRadius"),this.Gr=a,this.xe=null}},endRadius:{get:function(){return this.Xp},set:function(a){this._isFrozen&&An(this,a),0>a&&Kn(a,">= zero",uo,"endRadius"),this.Xp=a,this.xe=null}},colorStops:{get:function(){return this.we},set:function(a){this._isFrozen&&An(this,a),this.we=a,this.xe=null}},pattern:{get:function(){return this.cr},set:function(a){this._isFrozen&&An(this,a),this.cr=a,this.xe=null}}}),uo.prototype.isDark=uo.prototype.Gx,uo.prototype.darkenBy=uo.prototype.Wy,uo.prototype.lightenBy=uo.prototype.Vz,uo.prototype.addColorStop=uo.prototype.addColorStop;var d0=216/24389,mm=24389/27,up=[95.047,100,108.883],f0=null,Fo=new cg,Yl=new cg,Ks=new cg,Tc=new cg,cp=!1;uo.className="Brush";var Ch;uo.Solid=Ch=new wn(uo,"Solid",0);var th;uo.Linear=th=new wn(uo,"Linear",1);var su;uo.Radial=su=new wn(uo,"Radial",2);var hp;uo.Pattern=hp=new wn(uo,"Pattern",4);var dp;uo.Lab=dp=new wn(uo,"Lab",5);var r1;uo.HSL=r1=new wn(uo,"HSL",6),uo.randomColor=function(a,y){a===void 0&&(a=128),y===void 0&&(y=Math.max(a,255));var x=Math.abs(y-a);y=Math.floor(a+Math.random()*x).toString(16);var b=Math.floor(a+Math.random()*x).toString(16);return a=Math.floor(a+Math.random()*x).toString(16),2>y.length&&(y="0"+y),2>b.length&&(b="0"+b),2>a.length&&(a="0"+a),"#"+y+b+a},uo.isValidColor=function(a){if(a==="black")return!0;if(a==="")return!1;cp||(h0(),cp=!0);var y=f0;if(y===null)return!0;y.fillStyle="#000000";var x=y.fillStyle;return y.fillStyle=a,y.fillStyle!==x?!0:(y.fillStyle="#FFFFFF",x=y.fillStyle,y.fillStyle=a,y.fillStyle!==x)},uo.lighten=function(a){return e1(a)},uo.lightenBy=e1,uo.darken=function(a){return t1(a)},uo.darkenBy=t1,uo.mix=a0,uo.isDark=sp;function Ka(){this.xa="Base"}Ka.prototype.measure=function(){},Ka.prototype.Yz=function(a,y,x,b,E){a.measure(y,x,b,E)},Ka.prototype.arrange=function(){},Ka.prototype.Ly=function(a,y,x,b,E,te){a.arrange(y,x,b,E,te)},Ka.prototype.iA=function(a){a.Uj()},Ka.prototype.gc=function(){},Pt.Object.defineProperties(Ka.prototype,{name:{get:function(){return this.xa},set:function(a){this.xa=a}},classType:{get:function(){return Xn}}}),Ka.prototype.remeasureObject=Ka.prototype.iA,Ka.prototype.arrangeElement=Ka.prototype.Ly,Ka.prototype.measureElement=Ka.prototype.Yz,Ka.className="PanelLayout";function vm(){this.xa="Base"}Zt(vm,Ka),vm.prototype.measure=function(a,y,x,b,E,te,ne){var se=b.length;a=nh(a);for(var he=0;he<se;he++){var ve=b[he];if(ve.visible||ve===a){var Se=ve.margin,Be=Se.right+Se.left;Se=Se.top+Se.bottom,ve.measure(y,x,te,ne);var Ve=ve.measuredBounds;Be=Math.max(Ve.width+Be,0),Se=Math.max(Ve.height+Se,0),Ve=ve.position.x;var nt=ve.position.y;isFinite(Ve)||(Ve=0),isFinite(nt)||(nt=0),ve instanceof pi&&ve.isGeometryPositioned&&(ve=ve.strokeWidth/2,Ve-=ve,nt-=ve),eo(E,Ve,nt,Be,Se)}}},vm.prototype.arrange=function(a,y,x){var b=y.length,E=a.padding;for(a=x.x-E.left,x=x.y-E.top,E=0;E<b;E++){var te=y[E],ne=te.measuredBounds,se=te.margin,he=te.position.x,ve=te.position.y;if(he=isNaN(he)?-a:he-a,ve=isNaN(ve)?-x:ve-x,te instanceof pi&&te.isGeometryPositioned){var Se=te.strokeWidth/2;he-=Se,ve-=Se}te.visible&&te.arrange(he+se.left,ve+se.top,ne.width,ne.height)}};function ym(){this.xa="Base"}Zt(ym,Ka),ym.prototype.measure=function(a,y,x,b,E,te,ne){var se=b.length;y=yn(),te=nh(a);for(var he=0;he<se;he++){var ve=b[he];if(ve.visible||ve===te){var Se=sl(ve,!1);if(Se!==Rn&&Se!==Pr)y.push(ve);else{ve.measure(1/0,x,0,ne),Se=ve.margin,ve=ve.measuredBounds;var Be=Math.max(ve.height+Se.top+Se.bottom,0);E.width+=Math.max(ve.width+Se.right+Se.left,0),E.height=Math.max(E.height,Be)}}}for(b=y.length,a.desiredSize.height?x=Math.min(a.desiredSize.height,a.maxSize.height):E.height!==0&&(x=Math.min(E.height,a.maxSize.height)),a=0;a<b;a++)he=y[a],(he.visible||he===te)&&(Se=he.margin,se=Se.right+Se.left,Se=Se.top+Se.bottom,he.measure(1/0,x,0,ne),he=he.measuredBounds,Se=Math.max(he.height+Se,0),E.width+=Math.max(he.width+se,0),E.height=Math.max(E.height,Se));Tn(y)},ym.prototype.arrange=function(a,y,x){for(var b=y.length,E=a.padding,te=E.top,ne=a.isOpposite,se=ne?x.width:E.left,he=0;he<b;he++){var ve=te,Se=y[he];if(Se.visible){var Be=Se.measuredBounds,Ve=Se.margin,nt=Ve.top+Ve.bottom,rt=te+E.bottom,ct=Be.height,kt=sl(Se,!1);(isNaN(Se.desiredSize.height)&&kt===Vn||kt===Hr)&&(ct=Math.max(x.height-nt-rt,0)),nt=ct+nt+rt,rt=Se.alignment,rt.Xb()&&(rt=a.defaultAlignment),rt.sb()||(rt=zi),ne&&(se-=Be.width+Ve.left+Ve.right),Se.arrange(se+rt.offsetX+Ve.left,ve+rt.offsetY+Ve.top+(x.height*rt.y-nt*rt.y),Be.width,ct),ne||(se+=Be.width+Ve.left+Ve.right)}}};function Sm(){this.xa="Base"}Zt(Sm,Ka),Sm.prototype.measure=function(a,y,x,b,E,te){var ne=b.length;x=yn();for(var se=nh(a),he=0;he<ne;he++){var ve=b[he];if(ve.visible||ve===se){var Se=sl(ve,!1);if(Se!==Rn&&Se!==Hr)x.push(ve);else{var Be=ve.margin;Se=Be.right+Be.left,Be=Be.top+Be.bottom,ve.measure(y,1/0,te,0),ve=ve.measuredBounds,ha(E,Math.max(E.width,Math.max(ve.width+Se,0)),E.height+Math.max(ve.height+Be,0))}}}if(b=x.length,b!==0){for(a.desiredSize.width?y=Math.min(a.desiredSize.width,a.maxSize.width):E.width!==0&&(y=Math.min(E.width,a.maxSize.width)),a=0;a<b;a++)he=x[a],(he.visible||he===se)&&(ve=he.margin,ne=ve.right+ve.left,ve=ve.top+ve.bottom,he.measure(y,1/0,te,0),he=he.measuredBounds,ve=Math.max(he.height+ve,0),E.width=Math.max(E.width,Math.max(he.width+ne,0)),E.height+=ve);Tn(x)}},Sm.prototype.arrange=function(a,y,x){for(var b=y.length,E=a.padding,te=E.left,ne=a.isOpposite,se=ne?x.height:E.top,he=0;he<b;he++){var ve=te,Se=y[he];if(Se.visible){var Be=Se.measuredBounds,Ve=Se.margin,nt=Ve.left+Ve.right,rt=te+E.right,ct=Be.width,kt=sl(Se,!1);(isNaN(Se.desiredSize.width)&&kt===Vn||kt===Pr)&&(ct=Math.max(x.width-nt-rt,0)),nt=ct+nt+rt,rt=Se.alignment,rt.Xb()&&(rt=a.defaultAlignment),rt.sb()||(rt=zi),ne&&(se-=Be.height+Ve.bottom+Ve.top),Se.arrange(ve+rt.offsetX+Ve.left+(x.width*rt.x-nt*rt.x),se+rt.offsetY+Ve.top,ct,Be.height),ne||(se+=Be.height+Ve.bottom+Ve.top)}}};function xm(){this.xa="Base"}Zt(xm,Ka),xm.prototype.measure=function(a,y,x,b,E,te,ne){var se=b.length,he=a.Pb(),ve=he.margin,Se=ve.right+ve.left,Be=ve.top+ve.bottom;he.measure(y,x,te,ne);var Ve=he.measuredBounds;te=Ve.width,ne=Ve.height;var nt=Math.max(te+Se,0),rt=Math.max(ne+Be,0),ct=a.isClipping,kt=Mn.allocAt(-ve.left,-ve.top,nt,rt),Mt=Mn.allocAt(0,0,te,ne);p0(he,Mt,!0),te=Mt.width,ne=Mt.height;for(var Rt=!0,Ut=nh(a),Yt=0;Yt<se;Yt++){var $t=b[Yt];Ve=y;var dn=x;if($t!==he&&($t.visible||$t===Ut)){ve=$t.margin;var rr=ve.left,mr=ve.top;switch(nt=ve.right+ve.left,rt=ve.top+ve.bottom,ve=sl($t,!1),ve){case Vn:Ve=te,dn=ne,mr=rr=rt=nt=0;break;case Pr:Ve=te,rr=nt=0;break;case Hr:dn=ne,mr=rt=0}$t.measure(Ve,dn,0,0),Ve=$t.measuredBounds,nt=Math.max(Ve.width+nt,0),rt=Math.max(Ve.height+rt,0),ve=$t.alignment,ve.Xb()&&(ve=a.defaultAlignment),ve.sb()||(ve=zi);var cr=$t.alignmentFocus;if(cr.Xb()&&(cr=zi),dn=null,$t instanceof Xn&&$t.$e!==""&&(dn=$t.fb($t.$e),dn===$t&&(dn=null)),rr=Mt.x-rr,mr=Mt.y-mr,dn!==null){for($t.arrange(0,0,Ve.width,Ve.height),Ve=dn.actualBounds,Ve=Lt.allocAt(Ve.x+(cr.x*Ve.width-cr.offsetX),Ve.y+(cr.y*Ve.height-cr.offsetY)),dn=dn.panel;dn!==$t;)dn.transform.Ga(Ve),dn=dn.panel;rr+=ve.x*te+ve.offsetX-Ve.x,mr+=ve.y*ne+ve.offsetY-Ve.y,Lt.free(Ve)}else rr+=ve.x*te+ve.offsetX-(cr.x*Ve.width+cr.offsetX),mr+=ve.y*ne+ve.offsetY-(cr.y*Ve.height+cr.offsetY);Rt?(Rt=!1,E.h(rr,mr,nt,rt)):eo(E,rr,mr,nt,rt)}}switch(Rt?E.assign(kt):ct?E.Uu(Mt.x,Mt.y,Mt.width,Mt.height):eo(E,kt.x,kt.y,kt.width,kt.height),Mn.free(kt),Mn.free(Mt),ve=he.stretch,ve===si&&(ve=sl(he,!1)),ve){case Rn:return;case Vn:if(!isFinite(y)&&!isFinite(x))return;break;case Pr:if(!isFinite(y))return;break;case Hr:if(!isFinite(x))return}for(Ve=he.measuredBounds,te=Ve.width,ne=Ve.height,nt=Math.max(te+Se,0),rt=Math.max(ne+Be,0),ve=he.margin,Mt=Mn.allocAt(-ve.left,-ve.top,nt,rt),p0(he,Mt,!0),te=Mt.width,ne=Mt.height,y=0;y<se;y++)x=b[y],x===he||!x.visible&&x!==Ut||(ve=x.margin,nt=ve.right+ve.left,rt=ve.top+ve.bottom,Ve=x.measuredBounds,nt=Math.max(Ve.width+nt,0),rt=Math.max(Ve.height+rt,0),Se=x.alignment,Se.Xb()&&(Se=a.defaultAlignment),Se.sb()||(Se=zi),x=x.alignmentFocus,x.Xb()&&(x=zi),Rt?(Rt=!1,E.h(Se.x*te+Se.offsetX-(x.x*Ve.width+x.offsetX)-ve.left,Se.y*ne+Se.offsetY-(x.y*Ve.height+x.offsetY)-ve.top,nt,rt)):eo(E,Se.x*te+Se.offsetX-(x.x*Ve.width+x.offsetX)-ve.left,Se.y*ne+Se.offsetY-(x.y*Ve.height+x.offsetY)-ve.top,nt,rt));Rt?E.assign(kt):ct?E.Uu(Mt.x,Mt.y,Mt.width,Mt.height):eo(E,kt.x,kt.y,kt.width,kt.height),Mn.free(Mt)},xm.prototype.arrange=function(a,y,x){var b=y.length,E=a.Pb(),te=E.measuredBounds,ne=te.width,se=te.height,he=a.padding;te=he.left,he=he.top;var ve=te-x.x,Se=he-x.y;for(E.arrange(ve,Se,ne,se),ne=Mn.allocAt(0,0,ne,se),p0(E,ne,!1),se=0;se<b;se++){var Be=y[se];if(Be!==E){ve=Be.measuredBounds;var Ve=ve.width,nt=ve.height;Se=Be.alignment,Se.Xb()&&(Se=a.defaultAlignment),Se.sb()||(Se=zi);var rt=Be.alignmentFocus;if(rt.Xb()&&(rt=zi),ve=null,Be instanceof Xn&&Be.$e!==""&&(ve=Be.fb(Be.$e),ve===Be&&(ve=null)),ve!==null){var ct=ve.actualBounds;for(rt=Lt.allocAt(ct.x+(rt.x*ct.width-rt.offsetX),ct.y+(rt.y*ct.height-rt.offsetY)),ve=ve.panel;ve!==Be;)ve.transform.Ga(rt),ve=ve.panel;ve=Se.x*ne.width+Se.offsetX-rt.x,Se=Se.y*ne.height+Se.offsetY-rt.y,Lt.free(rt)}else ve=Se.x*ne.width+Se.offsetX-(rt.x*Ve+rt.offsetX),Se=Se.y*ne.height+Se.offsetY-(rt.y*nt+rt.offsetY);ve+=ne.x-x.x,Se+=ne.y-x.y,Be.visible&&Be.arrange(te+ve,he+Se,Ve,nt)}}Mn.free(ne)};function p0(a,y,x){var b=null;if(a instanceof Xn&&a.$e!==""&&(b=a.fb(a.$e),b===a&&(b=null)),b!==null)for(x&&a.arrange(0,0,y.width,y.height),y.assign(b.actualBounds),b=b.panel;b!==a;)b.transform.pp(y),b=b.panel}function wm(){this.xa="Base"}Zt(wm,Ka),wm.prototype.measure=function(a,y,x,b,E,te,ne){var se=b.length,he=a.Pb(),ve=he.margin,Se=y,Be=x,Ve=ve.right+ve.left,nt=ve.top+ve.bottom;he.measure(y,x,te,ne),ve=he.measuredBounds;var rt=0,ct=null;he instanceof pi&&(ct=he,rt=ct.strokeWidth*ct.scale);var kt=Math.max(ve.width+Ve,0);ve=Math.max(ve.height+nt,0);var Mt=y0(he),Rt=Mt.x*kt+Mt.offsetX;Mt=Mt.y*ve+Mt.offsetY;var Ut=S0(he),Yt=Ut.x*kt+Ut.offsetX;for(Ut=Ut.y*ve+Ut.offsetY,isFinite(y)&&(Se=Math.max(Math.abs(Rt-Yt)-rt,0)),isFinite(x)&&(Be=Math.max(Math.abs(Mt-Ut)-rt,0)),rt=qn.alloc(),rt.h(0,0),a=nh(a),Ut=0;Ut<se;Ut++)Mt=b[Ut],Mt===he||!Mt.visible&&Mt!==a||(ve=Mt.margin,kt=ve.right+ve.left,Rt=ve.top+ve.bottom,Mt.measure(Se,Be,0,0),ve=Mt.measuredBounds,kt=Math.max(ve.width+kt,0),ve=Math.max(ve.height+Rt,0),rt.h(Math.max(kt,rt.width),Math.max(ve,rt.height)));if(se===1)E.width=kt,E.height=ve,qn.free(rt);else{switch(Mt=y0(he),Ut=S0(he),se=b=0,Ut.x!==Mt.x&&Ut.y!==Mt.y&&(b=rt.width/Math.abs(Ut.x-Mt.x),se=rt.height/Math.abs(Ut.y-Mt.y)),qn.free(rt),rt=0,ct!==null&&(rt=ct.strokeWidth*ct.scale,E0(ct)===yr&&(b=se=Math.max(b,se))),b+=Math.abs(Mt.offsetX)+Math.abs(Ut.offsetX)+rt,se+=Math.abs(Mt.offsetY)+Math.abs(Ut.offsetY)+rt,ct=he.stretch,ct===si&&(ct=sl(he,!1)),ct){case Rn:ne=te=0;break;case Vn:isFinite(y)&&(b=y),isFinite(x)&&(se=x);break;case Pr:isFinite(y)&&(b=y),ne=0;break;case Hr:te=0,isFinite(x)&&(se=x)}he.Uj(),he.measure(b,se,te,ne),E.width=he.measuredBounds.width+Ve,E.height=he.measuredBounds.height+nt}},wm.prototype.arrange=function(a,y){var x=y.length,b=a.Pb(),E=b.measuredBounds,te=Mn.alloc();te.h(0,0,1,1);var ne=b.margin,se=ne.left;ne=ne.top;var he=a.padding,ve=he.left;he=he.top,b.arrange(ve+se,he+ne,E.width,E.height);var Se=y0(b),Be=S0(b),Ve=Se.y*E.height+Se.offsetY,nt=Be.x*E.width+Be.offsetX;for(Be=Be.y*E.height+Be.offsetY,te.x=Se.x*E.width+Se.offsetX,te.y=Ve,eo(te,nt,Be,0,0),te.x+=se+ve,te.y+=ne+he,E=0;E<x;E++)se=y[E],se!==b&&(ve=se.measuredBounds,ne=se.margin,he=Math.max(ve.width+ne.right+ne.left,0),Se=Math.max(ve.height+ne.top+ne.bottom,0),Ve=se.alignment,Ve.Xb()&&(Ve=a.defaultAlignment),Ve.sb()||(Ve=zi),he=te.width*Ve.x+Ve.offsetX-he*Ve.x+ne.left+te.x,ne=te.height*Ve.y+Ve.offsetY-Se*Ve.y+ne.top+te.y,se.visible&&(Bo(te.x,te.y,te.width,te.height,he,ne,ve.width,ve.height)?se.arrange(he,ne,ve.width,ve.height):se.arrange(he,ne,ve.width,ve.height,new Mn(te.x,te.y,te.width,te.height))));Mn.free(te)};function bm(){this.xa="Base",this.name="Table"}Zt(bm,Ka),bm.prototype.measure=function(a,y,x,b,E){for(var te=b.length,ne=yn(),se=yn(),he=0;he<te;he++){var ve=b[he],Se=ve instanceof Xn?ve:null;if(Se!==null&&Ph(Se)&&ve.visible){se.push(Se);for(var Be=Se.O.s,Ve=Be.length,nt=0;nt<Ve;nt++){var rt=Be[nt];Se.type===Xn.TableRow?rt.row=ve.row:Se.type===Xn.TableColumn&&(rt.column=ve.column),ne.push(rt)}}else ne.push(ve)}te=ne.length,te===0&&(a.Fb(0),a.Eb(0));for(var ct=[],kt=0;kt<te;kt++){var Mt=ne[kt];Mt.visible&&(Ia(Mt,!0),Mc(Mt,!0),ct[Mt.row]||(ct[Mt.row]=[]),ct[Mt.row][Mt.column]||(ct[Mt.row][Mt.column]=[]),ct[Mt.row][Mt.column].push(Mt))}Tn(ne);var Rt=yn(),Ut=yn(),Yt=yn(),$t={count:0},dn={count:0},rr=y,mr=x,cr=a.rowDefs,Qn=a.colDefs,Bn=null;te=cr.length;for(var ti=0;ti<te;ti++)Bn=cr[ti],Bn!==void 0&&(Bn.actual=0);te=Qn.length;for(var Yr=0;Yr<te;Yr++)Bn=Qn[Yr],Bn!==void 0&&(Bn.actual=0);for(var Ji=ct.length,Eo=0,qa=0;qa<Ji;qa++)ct[qa]&&(Eo=Math.max(Eo,ct[qa].length));var rs=Math.min(a.topIndex,Ji-1),js=Math.min(a.leftIndex,Eo-1),es=0;Ji=ct.length;for(var Nh=nh(a),Ea=0;Ea<Ji;Ea++)if(ct[Ea]){Eo=ct[Ea].length;var qu=a.Fb(Ea);qu.actual=0;for(var Rs=qu.oc=0;Rs<Eo;Rs++)if(ct[Ea][Rs]){var Bh=a.Eb(Rs);Rt[Rs]===void 0&&(Bh.actual=0,Bh.oc=0,Rt[Rs]=!0);for(var _l=ct[Ea][Rs],bu=_l.length,Fl=0;Fl<bu;Fl++){var Sl=_l[Fl];if(Sl.visible||Sl===Nh){var fd=1<Sl.rowSpan||1<Sl.columnSpan;fd&&(Ea<rs||Rs<js||Ut.push(Sl));var ec=Sl.margin,Bp=ec.right+ec.left,Dl=ec.top+ec.bottom,zs=Yu(Sl,qu,Bh,!1),_g=Sl.desiredSize,Bf=!isNaN(_g.height),dc=!isNaN(_g.width)&&Bf;if(fd||zs===Rn||dc||Ea<rs||Rs<js||($t[Rs]!==void 0||zs!==Vn&&zs!==Pr||($t[Rs]=-1,$t.count++),dn[Ea]!==void 0||zs!==Vn&&zs!==Hr||(dn[Ea]=-1,dn.count++),Yt.push(Sl)),Sl.measure(1/0,1/0,0,0),!(Ea<rs||Rs<js)){var xl=Sl.measuredBounds,$d=Math.max(xl.width+Bp,0),Ol=Math.max(xl.height+Dl,0);if(Sl.rowSpan===1&&(zs===Rn||zs===Pr)){Bn=a.Fb(Ea);var pd=Bn.Wc();es=Math.max(Ol-Bn.actual,0),es+pd>mr&&(es=Math.max(mr-pd,0));var Kv=Bn.oa===0;Bn.oc=Bn.oc+es,Bn.actual=Bn.oa+es,mr=Math.max(mr-(es+(Kv?pd:0)),0)}if(Sl.columnSpan===1&&(zs===Rn||zs===Hr)){Bn=a.Eb(Rs);var $g=Bn.Wc();es=Math.max($d-Bn.actual,0),es+$g>rr&&(es=Math.max(rr-$g,0));var Hy=Bn.oa===0;Bn.oc=Bn.oc+es,Bn.actual=Bn.oa+es,rr=Math.max(rr-(es+(Hy?$g:0)),0)}fd&&Sl.Uj()}}}}}Tn(Rt);var Rc=0,oh=0;te=a.columnCount;for(var If=0;If<te;If++){var gd=Qn[If];gd!==void 0&&(Rc+=isNaN(gd.Hc)?gd.oc:gd.Hc,gd.oc!==0&&(Rc+=gd.Wc()))}te=a.rowCount;for(var Ip=0;Ip<te;Ip++){var md=cr[Ip];md!==void 0&&(oh+=isNaN(md.Hc)?md.oc:md.Hc,md.oc!==0&&(oh+=md.Wc()))}rr=Math.max(y-Rc,0);var zc=mr=Math.max(x-oh,0),Ih=rr;te=Yt.length;for(var wl=0;wl<te;wl++){var fc=Yt[wl],Vv=a.Fb(fc.row),ah=a.Eb(fc.column),jp=fc.measuredBounds,tc=fc.margin,qd=tc.right+tc.left,pc=tc.top+tc.bottom;$t[fc.column]=ah.oc===0&&$t[fc.column]!==void 0?Math.max(jp.width+qd,$t[fc.column]):null,dn[fc.row]=Vv.oc===0&&dn[fc.row]!==void 0?Math.max(jp.height+pc,dn[fc.row]):null}var jf=0,Rp=0,Iu;for(Iu in dn)Iu!=="count"&&(jf+=dn[Iu]);for(Iu in $t)Iu!=="count"&&(Rp+=$t[Iu]);for(var fs=qn.alloc(),qg=0;qg<te;qg++){var $s=Yt[qg];if($s.visible||$s===Nh){var Aa=a.Fb($s.row),el=a.Eb($s.column),sh=0;isFinite(el.width)?sh=el.width:(isFinite(rr)&&$t[$s.column]!==null?Rp===0?sh=el.actual+rr:sh=$t[$s.column]/Rp*Ih:$t[$s.column]!==null?sh=rr:sh=el.actual||rr,sh=Math.max(0,sh-el.Wc()));var jh=0;switch(isFinite(Aa.height)?jh=Aa.height:(isFinite(mr)&&dn[$s.row]!==null?jf===0?jh=Aa.actual+mr:jh=dn[$s.row]/jf*zc:dn[$s.row]!==null?jh=mr:jh=Aa.actual||mr,jh=Math.max(0,jh-Aa.Wc())),fs.h(Math.max(el.minimum,Math.min(sh,el.maximum)),Math.max(Aa.minimum,Math.min(jh,Aa.maximum))),zs=Yu($s,Aa,el,!1),zs){case Pr:fs.height=Math.max(fs.height,Aa.actual+mr);break;case Hr:fs.width=Math.max(fs.width,el.actual+rr)}var ef=$s.margin,Uy=ef.right+ef.left,Xv=ef.top+ef.bottom;$s.Uj(),$s.measure(fs.width,fs.height,el.minimum,Aa.minimum);var zp=$s.measuredBounds,tf=Math.max(zp.width+Uy,0),Rf=Math.max(zp.height+Xv,0);isFinite(rr)&&(tf=Math.min(tf,fs.width)),isFinite(mr)&&(Rf=Math.min(Rf,fs.height));var bl=0;bl=Aa.actual,Aa.actual=Math.max(Aa.actual,Rf),Aa.oc=Math.max(Aa.oc,Rf),es=Aa.actual-bl,mr=Math.max(mr-es,0),dn[$s.row]===null&&(zc=Math.max(zc-es,0)),bl=el.actual,el.actual=Math.max(el.actual,tf),el.oc=Math.max(el.oc,tf),es=el.actual-bl,rr=Math.max(rr-es,0),$t[$s.column]===null&&(Ih=Math.max(Ih-es,0))}}Tn(Yt);var lh=qn.alloc(),nc=yn(),du=yn();if(te=Ut.length,te!==0){for(var vd=0;vd<Ji;vd++)if(ct[vd]){Eo=ct[vd].length;var Wp=a.Fb(vd);nc[vd]=Wp.actual;for(var yd=0;yd<Eo;yd++)if(ct[vd][yd]){var Yv=a.Eb(yd);du[yd]=Yv.actual}}}for(var Hp=0;Hp<te;Hp++){var ca=Ut[Hp];if(ca.visible||ca===Nh){var ju=a.Fb(ca.row),Cu=a.Eb(ca.column);switch(fs.h(Math.max(Cu.minimum,Math.min(y,Cu.maximum)),Math.max(ju.minimum,Math.min(x,ju.maximum))),zs=Yu(ca,ju,Cu,!1),zs){case Vn:du[Cu.index]!==0&&(fs.width=Math.min(fs.width,du[Cu.index])),nc[ju.index]!==0&&(fs.height=Math.min(fs.height,nc[ju.index]));break;case Pr:du[Cu.index]!==0&&(fs.width=Math.min(fs.width,du[Cu.index]));break;case Hr:nc[ju.index]!==0&&(fs.height=Math.min(fs.height,nc[ju.index]))}isFinite(Cu.width)&&(fs.width=Cu.width),isFinite(ju.height)&&(fs.height=ju.height),lh.h(0,0);for(var Jv=Cu.minimum,kl=ju.minimum,Rh=1;Rh<ca.rowSpan&&!(ca.row+Rh>=a.rowCount);Rh++)Bn=a.Fb(ca.row+Rh),es=0,es=zs===Vn||zs===Hr?Math.max(Bn.minimum,nc[ca.row+Rh]===0?Bn.maximum:Math.min(nc[ca.row+Rh],Bn.maximum)):Math.max(Bn.minimum,isNaN(Bn.Hc)?Bn.maximum:Math.min(Bn.Hc,Bn.maximum)),lh.height+=es,kl+=Bn.minimum;for(var Pu=1;Pu<ca.columnSpan&&!(ca.column+Pu>=a.columnCount);Pu++)Bn=a.Eb(ca.column+Pu),es=0,es=zs===Vn||zs===Pr?Math.max(Bn.minimum,du[ca.column+Pu]===0?Bn.maximum:Math.min(du[ca.column+Pu],Bn.maximum)):Math.max(Bn.minimum,isNaN(Bn.Hc)?Bn.maximum:Math.min(Bn.Hc,Bn.maximum)),lh.width+=es,Jv+=Bn.minimum;fs.width+=lh.width,fs.height+=lh.height;var Up=ca.margin,Sd=Up.right+Up.left,em=Up.top+Up.bottom;ca.measure(fs.width,fs.height,Jv,kl);for(var Gp=ca.measuredBounds,gc=Math.max(Gp.width+Sd,0),nf=Math.max(Gp.height+em,0),xd=0,Zp=0;Zp<ca.rowSpan&&!(ca.row+Zp>=a.rowCount);Zp++)Bn=a.Fb(ca.row+Zp),xd+=Bn.total||0;if(xd<nf){var zh=nf-xd,Wc=nf-xd;if(ca.spanAllocation!==null)for(var Wh=ca.spanAllocation,uh=0;uh<ca.rowSpan&&!(0>=zh)&&!(ca.row+uh>=a.rowCount);uh++){Bn=a.Fb(ca.row+uh);var Hh=Bn.oa||0,rf=Wh(ca,Bn,Wc);Bn.actual=Math.min(Bn.maximum,Hh+rf),Bn.oa!==Hh&&(zh-=Bn.oa-Hh)}for(;0<zh;){var rc=Bn.oa||0;if(isNaN(Bn.height)&&Bn.maximum>rc&&(Bn.actual=Math.min(Bn.maximum,rc+zh),Bn.oa!==rc&&(zh-=Bn.oa-rc)),Bn.index===0)break;Bn=a.Fb(Bn.index-1)}}for(var zf=0,Uh=0;Uh<ca.columnSpan&&!(ca.column+Uh>=a.columnCount);Uh++)Bn=a.Eb(ca.column+Uh),zf+=Bn.total||0;if(zf<gc){var Wf=gc-zf,Gy=gc-zf;if(ca.spanAllocation!==null)for(var ch=ca.spanAllocation,of=0;of<ca.columnSpan&&!(0>=Wf)&&!(ca.column+of>=a.columnCount);of++){Bn=a.Eb(ca.column+of);var tm=Bn.oa||0,Zy=ch(ca,Bn,Gy);Bn.actual=Math.min(Bn.maximum,tm+Zy),Bn.oa!==tm&&(Wf-=Bn.oa-tm)}for(;0<Wf;){var Qv=Bn.oa||0;if(isNaN(Bn.width)&&Bn.maximum>Qv&&(Bn.actual=Math.min(Bn.maximum,Qv+Wf),Bn.oa!==Qv&&(Wf-=Bn.oa-Qv)),Bn.index===0)break;Bn=a.Eb(Bn.index-1)}}}}Tn(Ut),qn.free(lh),qn.free(fs),nc!==void 0&&Tn(nc),du!==void 0&&Tn(du);var Hf=0,Uf=0,_v=a.desiredSize,gx=a.maxSize;zs=sl(a,!0);var nm=oh=Rc=0,rm=0;te=a.columnCount;for(var $v=0;$v<te;$v++)Qn[$v]!==void 0&&(Bn=a.Eb($v),isFinite(Bn.width)?(nm+=Bn.width,nm+=Bn.Wc()):Om(Bn)===pg?(nm+=Bn.oa,nm+=Bn.Wc()):Bn.oa!==0&&(Rc+=Bn.oa,Rc+=Bn.Wc()));isFinite(_v.width)?Hf=Math.min(_v.width,gx.width):Hf=zs!==Rn&&isFinite(y)?y:Rc,Hf=Math.max(Hf,a.minSize.width),Hf=Math.max(Hf-nm,0);for(var $x=Rc===0?1:Math.max(Hf/Rc,1),qv=0;qv<te;qv++)Qn[qv]!==void 0&&(Bn=a.Eb(qv),isFinite(Bn.width)||Om(Bn)===pg||(Bn.actual=Bn.oa*$x),Bn.position=E.width,Bn.oa!==0&&(E.width+=Bn.oa,E.width+=Bn.Wc()));te=a.rowCount;for(var e0=0;e0<te;e0++)cr[e0]!==void 0&&(Bn=a.Fb(e0),isFinite(Bn.height)?(rm+=Bn.height,rm+=Bn.Wc()):Om(Bn)===pg?(rm+=Bn.oa,rm+=Bn.Wc()):Bn.oa!==0&&(oh+=Bn.oa,oh+=Bn.Wc()));isFinite(_v.height)?Uf=Math.min(_v.height,gx.height):Uf=zs!==Rn&&isFinite(x)?x:oh,Uf=Math.max(Uf,a.minSize.height),Uf=Math.max(Uf-rm,0);for(var qx=oh===0?1:Math.max(Uf/oh,1),t0=0;t0<te;t0++)cr[t0]!==void 0&&(Bn=a.Fb(t0),isFinite(Bn.height)||Om(Bn)===pg||(Bn.actual=Bn.oa*qx),Bn.position=E.height,Bn.oa!==0&&(E.height+=Bn.oa,E.height+=Bn.Wc()));te=se.length;for(var Ky=0;Ky<te;Ky++){var im=se[Ky],Vy=0,Xy=0;im.type===Xn.TableRow?(Vy=E.width,Bn=a.Fb(im.row),Xy=Bn.actual):(Bn=a.Eb(im.column),Vy=Bn.actual,Xy=E.height),im.measuredBounds.h(0,0,Vy,Xy),Ia(im,!1)}Tn(se),a.inRowsCols=ct},bm.prototype.arrange=function(a,y,x){var b=y.length,E=a.padding,te=E.left;E=E.top;var ne=a.inRowsCols;if(ne!==null){for(var se,he,ve=ne.length,Se=0,Be=0;Be<ve;Be++)ne[Be]&&(Se=Math.max(Se,ne[Be].length));he=a.rowDefs,se=a.colDefs;var Ve=Be=0,nt=Math.min(a.topIndex,ve-1);if(0<he.length){for(;nt!==ve&&(he[nt]===void 0||he[nt].oa===0);)nt++;nt=Math.max(Math.min(nt,ve-1),0),Be=-he[nt].position}var rt=Math.min(a.leftIndex,Se-1);if(0<se.length){for(;rt!==Se&&(se[rt]===void 0||se[rt].oa===0);)rt++;rt=Math.max(Math.min(rt,Se-1),0),Ve=-se[rt].position}for(var ct=0,kt=0;ct!==ve&&he[ct]===void 0;)ct++;for(;kt!==ve&&se[kt]===void 0;)kt++;Se=a.part,a.Fb(ct),a.Eb(kt);for(var Mt=0;Mt<y.length;Mt++){var Rt=y[Mt];if(Rt instanceof Xn&&Rt.visible&&Ph(Rt)){if(Rt.type===Xn.TableRow){se=a.Fb(Rt.row);var Ut=a.Eb(kt)}else se=a.Fb(ct),Ut=a.Eb(Rt.column);he=se.position+Be+E,se.oa!==0&&(he+=se.Io(Math.max(ct,nt))),se=Ut.position+Ve+te,Ut.oa!==0&&(se+=Ut.Io(Math.max(kt,rt))),Ut=Rt.measuredBounds,Rt.Uk(),Rt.actualBounds.ka();var Yt=Rt.actualBounds,$t=Mn.allocAt(Yt.x,Yt.y,Yt.width,Yt.height);Yt.x=Rt.type===Xn.TableRow?te:se,Yt.y=Rt.type===Xn.TableColumn?E:he,Yt.width=Ut.width,Yt.height=Ut.height,Rt.actualBounds.freeze(),Mc(Rt,!1),bo($t,Yt)||Se===null||(Se.oh(),Rt.Pn(Se)),Mn.free($t)}}for(Mt=qn.alloc(),Rt=0;Rt<ve;Rt++)if(ne[Rt]){for(Se=ne[Rt].length,Ut=a.Fb(Rt),he=Ut.position+Be+E,Ut.oa!==0&&(he+=Ut.Io(Math.max(ct,nt))),Yt=0;Yt<Se;Yt++)if(ne[Rt][Yt]){$t=a.Eb(Yt),se=$t.position+Ve+te,$t.oa!==0&&(se+=$t.Io(Math.max(kt,rt)));for(var dn=ne[Rt][Yt],rr=dn.length,mr=0;mr<rr;mr++){var cr=dn[mr],Qn=cr.measuredBounds;Mt.h(0,0);for(var Bn=1;Bn<cr.rowSpan&&!(Rt+Bn>=a.rowCount);Bn++){var ti=a.Fb(Rt+Bn);ti.oa!==0&&(Mt.height+=ti.total)}for(Bn=1;Bn<cr.columnSpan&&!(Yt+Bn>=a.columnCount);Bn++)ti=a.Eb(Yt+Bn),ti.oa!==0&&(Mt.width+=ti.total);var Yr=$t.oa+Mt.width,Ji=Ut.oa+Mt.height;Bn=se,ti=he;var Eo=Yr,qa=Ji,rs=se,js=he,es=Yr,Nh=Ji;se+Yr>x.width&&(es=Math.max(x.width-se,0)),he+Ji>x.height&&(Nh=Math.max(x.height-he,0));var Ea=cr.alignment;if(Ea.Xb()){Ea=a.defaultAlignment,Ea.sb()||(Ea=zi);var qu=Ea.x,Rs=Ea.y,Bh=Ea.offsetX;Ea=Ea.offsetY;var _l=$t.alignment,bu=Ut.alignment;_l.sb()&&(qu=_l.x,Bh=_l.offsetX),bu.sb()&&(Rs=bu.y,Ea=bu.offsetY)}else qu=Ea.x,Rs=Ea.y,Bh=Ea.offsetX,Ea=Ea.offsetY;(isNaN(qu)||isNaN(Rs))&&(Rs=qu=.5,Ea=Bh=0),_l=Qn.width,bu=Qn.height;var Fl=cr.margin,Sl=Fl.left+Fl.right,fd=Fl.top+Fl.bottom,ec=Yu(cr,Ut,$t,!1);!isNaN(cr.desiredSize.width)||ec!==Vn&&ec!==Pr||(_l=Math.max(Yr-Sl,0)),!isNaN(cr.desiredSize.height)||ec!==Vn&&ec!==Hr||(bu=Math.max(Ji-fd,0)),Yr=cr.maxSize,Ji=cr.minSize,_l=Math.min(Yr.width,_l),bu=Math.min(Yr.height,bu),_l=Math.max(Ji.width,_l),bu=Math.max(Ji.height,bu),Yr=bu+fd,Bn+=Eo*qu-(_l+Sl)*qu+Bh+Fl.left,ti+=qa*Rs-Yr*Rs+Ea+Fl.top,cr.visible&&(Bo(rs,js,es,Nh,Bn,ti,Qn.width,Qn.height)?cr.arrange(Bn,ti,_l,bu):cr.arrange(Bn,ti,_l,bu,new Mn(rs,js,es,Nh)))}}}for(qn.free(Mt),a=0;a<b;a++)x=y[a],te=x instanceof Xn?x:null,te!==null&&Ph(te)&&(te=x.actualBounds,x.naturalBounds.ka(),x.naturalBounds.h(0,0,te.width,te.height),x.naturalBounds.freeze())}};function Cm(){this.xa="Base"}Zt(Cm,Ka),Cm.prototype.measure=function(){},Cm.prototype.arrange=function(){};function Pm(){this.xa="Base"}Zt(Pm,Ka),Pm.prototype.measure=function(){},Pm.prototype.arrange=function(){};function Em(){this.xa="Base"}Zt(Em,Ka),Em.prototype.measure=function(a,y,x,b,E,te,ne){1<b.length&&Ht("Viewbox Panel cannot contain more than one GraphObject."),b=b[0],b.Ca=1,b.Uj(),b.measure(1/0,1/0,te,ne);var se=b.measuredBounds,he=b.margin,ve=he.right+he.left;if(he=he.top+he.bottom,isFinite(y)||isFinite(x)){var Se=b.scale,Be=se.width;se=se.height;var Ve=Math.max(y-ve,0),nt=Math.max(x-he,0),rt=1;a.viewboxStretch===yr?Be!==0&&se!==0&&(rt=Math.min(Ve/Be,nt/se)):Be!==0&&se!==0&&(rt=Math.max(Ve/Be,nt/se)),rt===0&&(rt=1e-4),b.Ca*=rt,Se!==b.scale&&(Ia(b,!0),b.measure(1/0,1/0,te,ne))}se=b.measuredBounds,E.width=isFinite(y)?y:Math.max(se.width+ve,0),E.height=isFinite(x)?x:Math.max(se.height+he,0)},Em.prototype.arrange=function(a,y,x){y=y[0];var b=y.measuredBounds,E=y.margin,te=Math.max(b.width+(E.right+E.left),0);E=Math.max(b.height+(E.top+E.bottom),0);var ne=y.alignment;ne.Xb()&&(ne=a.defaultAlignment),ne.sb()||(ne=zi),y.arrange(x.width*ne.x-te*ne.x+ne.offsetX,x.height*ne.y-E*ne.y+ne.offsetY,b.width,b.height)};function hg(){this.xa="Base"}Zt(hg,Ka),hg.prototype.measure=function(){},hg.prototype.arrange=function(){},hg.prototype.gc=function(a,y,x){x=a.Df()*x.scale,0>=x&&(x=1);var b=a.gridCellSize,E=b.width;b=b.height;var te=a.naturalBounds,ne=a.actualBounds,se=te.width,he=te.height,ve=Math.ceil(se/E),Se=Math.ceil(he/b),Be=a.gridOrigin,Ve=Be.x;Be=Be.y,y.save(),y.beginPath(),y.rect(0,0,se,he),y.clip(),y.Se();for(var nt=[],rt=a.O.s,ct=rt.length,kt=0;kt<ct;kt++){var Mt=rt[kt],Rt=[];if(nt.push(Rt),Mt.visible){var Ut=Mt.interval;if(!(0>Ut)){Mt=m0(Mt.figure);for(var Yt=0;Yt<ct;Yt++)if(Yt!==kt){var $t=rt[Yt];$t.visible&&m0($t.figure)===Mt&&($t=$t.interval,$t>Ut&&Rt.push($t))}}}}for(rt=a.O.s,ct=rt.length,kt=0;kt<ct;kt++){var dn=rt[kt];if(dn.visible&&(Rt=dn.interval||1,Mt=Math.abs(Rt),!(2>E*Mt*x))){if(Ut=dn.segmentIndex,(!isFinite(Ut)||isNaN(Ut))&&(Ut=0),0>Ut&&(Ut=Mt-Math.min(-Ut,Mt)),Ut=Math.round(Ut%Mt),Mt=dn.opacity,Yt=1,Mt!==1){if(Mt===0)continue;Yt=y.globalAlpha,y.globalAlpha=Yt*Mt}$t=nt[kt];var rr=!1,mr=dn.strokeDashArray;if(mr!==null&&(rr=!0,y.js(mr,dn.strokeDashOffset)),dn.figure==="LineV"&&dn.stroke!==null&&0<dn.strokeWidth){for(y.lineWidth=dn.strokeWidth,sa(a,y,dn.stroke,!1,!1,te,ne),y.beginPath(),mr=dn=Math.floor((Ve-E)/E);mr<=dn+ve;mr++){var cr=mr*E+Ve;0<=cr&&cr<=se&&Am(mr,Rt,Ut,$t)&&(y.moveTo(cr,0),y.lineTo(cr,he))}y.stroke(),y.Se()}else if(dn.figure==="LineH"&&dn.stroke!==null&&0<dn.strokeWidth){for(y.lineWidth=dn.strokeWidth,sa(a,y,dn.stroke,!1,!1,te,ne),y.beginPath(),mr=dn=Math.floor((Be-b)/b);mr<=dn+Se;mr++)cr=mr*b+Be,0<=cr&&cr<=he&&Am(mr,Rt,Ut,$t)&&(y.moveTo(0,cr),y.lineTo(se,cr));y.stroke(),y.Se()}else if(dn.figure==="BarV"&&dn.fill!==null)for(sa(a,y,dn.fill,!0,!1,te,ne),dn=dn.width,isNaN(dn)&&(dn=E),cr=mr=Math.floor((Ve-E)/E);cr<=mr+ve;cr++){var Qn=cr*E+Ve;0<=Qn+dn&&Qn<=se&&Am(cr,Rt,Ut,$t)&&y.fillRect(Qn,0,dn,he)}else if(dn.figure==="BarH"&&dn.fill!==null)for(sa(a,y,dn.fill,!0,!1,te,ne),dn=dn.height,isNaN(dn)&&(dn=b),cr=mr=Math.floor((Be-b)/b);cr<=mr+Se;cr++)Qn=cr*b+Be,0<=Qn+dn&&Qn<=he&&Am(cr,Rt,Ut,$t)&&y.fillRect(0,Qn,se,dn);rr&&y.fs(),Mt!==1&&(y.globalAlpha=Yt)}}y.restore(),y.Vc(!1)};function Am(a,y,x,b){if(0>y)return a%y===x;if(a%y!==x)return!1;y=b.length;for(var E=0;E<y;E++)if(a%b[E]===x)return!1;return!0}function Mm(){this.xa="Base"}Zt(Mm,Ka),Mm.prototype.measure=function(a,y,x,b,E){var te=b.length;if(a instanceof Vi||a instanceof _n){var ne=null,se=null;if(a instanceof _n&&(ne=a),a instanceof Vi&&(se=a,ne=se.adornedPart,a.j===null&&(a.j=[])),ne instanceof _n){var he=ne;if(te===0)ha(a.naturalBounds,0,0),a.measuredBounds.h(0,0,0,0);else{var ve=a instanceof Vi?null:ne.path;y=ne.routeBounds,x=a.jg,x.h(0,0,y.width,y.height);var Se=he.points,Be=ne.pointsCount;se!==null?se.Ul(!1):ne!==null&&ne.Ul(!1),se=y.width;var Ve=y.height,nt=a.j;if(nt.length=0,ve!==null){i1(a,se,Ve,ve);var rt=ve.measuredBounds;x.ed(rt),nt.push(rt)}rt=mi.alloc();for(var ct=Lt.alloc(),kt=Lt.alloc(),Mt=0;Mt<te;Mt++){var Rt=b[Mt];if(Rt!==ve)if(Rt.isPanelMain&&Rt instanceof pi){i1(a,se,Ve,Rt);var Ut=Rt.measuredBounds;x.ed(Ut),nt.push(Ut)}else if(2>Be)Rt.measure(1/0,1/0,0,0),Ut=Rt.measuredBounds,x.ed(Ut),nt.push(Ut);else{var Yt=Rt.segmentIndex,$t=Rt.segmentFraction,dn=Rt.alignmentFocus;dn.Mc()&&(dn=zi);var rr=Rt.segmentOrientation,mr=Rt.segmentOffset;if(isNaN(Yt)){var cr=he.ua;Ut=yn(),cr.Qu($t,Ut);var Qn=Lt.allocAt(Ut[0],Ut[1]);if(Qn.add(he.i(0)),cr.type===$n.j?Qn.offset(-cr.startX,-cr.startY):(cr=cr.figures.first(),cr!==null&&Qn.offset(-cr.startX,-cr.startY)),cr=Ut[2],rr!==Xs){var Bn=he.computeAngle(Rt,rr,cr);Rt.Kb=Bn}Bn=Qn.x-y.x;var ti=Qn.y-y.y;Lt.free(Qn),Tn(Ut)}else if(Yt<-Be||Yt>=Be)Ut=Lt.alloc(),he.vg(),he.computeMidPoint(Ut),cr=he.midAngle,rr!==Xs&&(Bn=he.computeAngle(Rt,rr,cr),Rt.Kb=Bn),Bn=Ut.x-y.x,ti=Ut.y-y.y,Lt.free(Ut);else{if(Bn=0,0<=Yt?(ti=Se.M(Yt),Ut=Yt<Be-1?Se.M(Yt+1):ti):(Bn=Be+Yt,ti=Se.M(Bn),Ut=0<Bn?Se.M(Bn-1):ti),ti.Xa(Ut)){0<=Yt?(cr=0<Yt?Se.M(Yt-1):ti,Bn=Yt<Be-2?Se.M(Yt+2):Ut):(cr=Bn<Be-1?Se.M(Bn+1):ti,Bn=1<Bn?Se.M(Bn-2):Ut),Qn=cr.Bf(ti);var Yr=Ut.Bf(Bn);cr=Qn>Yr+10?0<=Yt?cr.ab(ti):ti.ab(cr):Yr>Qn+10?0<=Yt?Ut.ab(Bn):Bn.ab(Ut):0<=Yt?cr.ab(Bn):Bn.ab(cr)}else cr=0<=Yt?ti.ab(Ut):Ut.ab(ti);rr!==Xs&&(Bn=he.computeAngle(Rt,rr,cr),Rt.Kb=Bn),Bn=ti.x+(Ut.x-ti.x)*$t-y.x,ti=ti.y+(Ut.y-ti.y)*$t-y.y}Rt.measure(1/0,1/0,0,0),Ut=Rt.measuredBounds,Qn=Rt.naturalBounds;var Ji=0;Rt instanceof pi&&(Ji=Rt.strokeWidth),Yr=Qn.width+Ji;var Eo=Qn.height+Ji;rt.reset(),rt.translate(-Ut.x,-Ut.y),rt.scale(Rt.scale,Rt.scale),rt.rotate(rr===Xs?Rt.angle:cr,Yr/2,Eo/2),rr!==Pg&&rr!==Ag||rt.rotate(90,Yr/2,Eo/2),rr!==Eg&&rr!==Mg||rt.rotate(-90,Yr/2,Eo/2),rr===rv&&(45<cr&&135>cr||225<cr&&315>cr)&&rt.rotate(-cr,Yr/2,Eo/2),Qn=new Mn(0,0,Yr,Eo),ct.xi(Qn,dn),rt.Ga(ct),dn=-ct.x+Ji/2*Rt.scale,Rt=-ct.y+Ji/2*Rt.scale,kt.assign(mr),Ji=isNaN(mr.x);var qa=isNaN(mr.y);if(Ji||qa){Yr=Yr/2+3,Eo=Eo/2+3;var rs=45<=cr&&135>=cr,js=225<=cr&&315>=cr;rr===Xs&&(rs||js)?(kt.x=qa?Yr:mr.y,kt.y=Ji?Eo:mr.x,rs?0<=Yt||isNaN(Yt)&&.5>$t||!Ji||(kt.y=-Eo):js&&((0<=Yt||isNaN(Yt)&&.5>$t)&&Ji&&(kt.y=-Eo),qa&&(kt.x=-Yr))):(Ji&&(kt.x=0<=Yt||isNaN(Yt)&&.5>$t?Yr:-Yr),qa&&(kt.y=-Eo),kt.rotate(cr))}else kt.rotate(cr);Bn+=kt.x,ti+=kt.y,Qn.set(Ut),Qn.h(Bn+dn,ti+Rt,Ut.width,Ut.height),nt.push(Qn),x.ed(Qn)}}if(ne!==null)for(b=ne.labelNodes;b.next();)b.value.measure(1/0,1/0);a.jg=x,a.position.h(y.x+x.x,y.y+x.y),ha(E,x.width||0,x.height||0),mi.free(rt),Lt.free(ct),Lt.free(kt)}}}},Mm.prototype.arrange=function(a,y){var x=y.length;if(a instanceof Vi||a instanceof _n){var b=a,E=null;a instanceof Vi&&(E=a,b=E.adornedPart);var te=a instanceof Vi?null:b.path,ne=a.j;if(ne.length!==0){var se=0;if(te!==null&&se<ne.length){var he=ne[se];se++,te.arrange(he.x-a.jg.x,he.y-a.jg.y,he.width,he.height)}for(he=0;he<x;he++){var ve=y[he];if(ve!==te&&se<ne.length){var Se=ne[se];se++,ve.arrange(Se.x-a.jg.x,Se.y-a.jg.y,Se.width,Se.height)}}}if(y=b.points,x=y.count,2<=x&&a instanceof _n)for(te=a.labelNodes;te.next();){var Be=a;ne=te.value,se=ne.segmentIndex,he=ne.segmentFraction;var Ve=ne.alignmentFocus;if(ve=ne.segmentOrientation,Se=ne.segmentOffset,isNaN(se)){var nt=Be.ua,rt=yn();nt.Qu(he,rt);var ct=Lt.allocAt(rt[0],rt[1]);ct.add(Be.i(0)),nt.type===$n.j||(nt=nt.figures.first()),ct.offset(-nt.startX,-nt.startY),nt=rt[2],ve!==Xs&&(Be=Be.computeAngle(ne,ve,nt),ne.angle=Be),Be=ct.x;var kt=ct.y;Lt.free(ct),Tn(rt)}else if(se<-x||se>=x)rt=Lt.alloc(),nt=Be,kt=rt,nt.vg(),nt.computeMidPoint(kt),nt=Be.midAngle,ve!==Xs&&(Be=Be.computeAngle(ne,ve,nt),ne.angle=Be),Be=rt.x,kt=rt.y,Lt.free(rt);else{if(ct=0,0<=se?(rt=y.s[se],kt=se<x-1?y.s[se+1]:rt):(ct=x+se,rt=y.s[ct],kt=0<ct?y.s[ct-1]:rt),rt.Xa(kt)){0<=se?(nt=0<se?y.s[se-1]:rt,ct=se<x-2?y.s[se+2]:kt):(nt=ct<x-1?y.s[ct+1]:rt,ct=1<ct?y.s[ct-2]:kt);var Mt=nt.Bf(rt),Rt=kt.Bf(ct);nt=Mt>Rt+10?0<=se?nt.ab(rt):rt.ab(nt):Rt>Mt+10?0<=se?kt.ab(ct):ct.ab(kt):0<=se?nt.ab(ct):ct.ab(nt)}else nt=0<=se?rt.ab(kt):kt.ab(rt);ve!==Xs&&(Be=Be.computeAngle(ne,ve,nt),ne.angle=Be),Be=rt.x+(kt.x-rt.x)*he,kt=rt.y+(kt.y-rt.y)*he}if(Ve.ys())ne.location=new Lt(Be,kt);else{Ve.Mc()&&(Ve=zi),rt=mi.alloc(),rt.reset(),rt.scale(ne.scale,ne.scale),rt.rotate(ne.angle,0,0);var Ut=ne.naturalBounds;ct=Mn.allocAt(0,0,Ut.width,Ut.height),Mt=Lt.alloc(),Mt.xi(ct,Ve),rt.Ga(Mt),Ve=-Mt.x,Rt=-Mt.y;var Yt=Ut.width,$t=Ut.height;Ut=Lt.alloc(),Ut.assign(Se);var dn=isNaN(Se.x),rr=isNaN(Se.y);if(dn||rr){Yt=Yt/2+3,$t=$t/2+3;var mr=45<=nt&&135>=nt,cr=225<=nt&&315>=nt;ve===Xs&&(mr||cr)?(Ut.x=rr?Yt:Se.y,Ut.y=dn?$t:Se.x,mr?0<=se||isNaN(se)&&.5>he||!dn||(Ut.y=-$t):cr&&((0<=se||isNaN(se)&&.5>he)&&dn&&(Ut.y=-$t),rr&&(Ut.x=-Yt))):(dn&&(Ut.x=0<=se||isNaN(se)&&.5>he?Yt:-Yt),rr&&(Ut.y=-$t),Ut.rotate(nt))}else Ut.rotate(nt);Be+=Ut.x,kt+=Ut.y,rt.pp(ct),Ve+=ct.x,Rt+=ct.y,se=Lt.allocAt(Be+Ve,kt+Rt),ne.move(se),Lt.free(se),Lt.free(Ut),Lt.free(Mt),Mn.free(ct),mi.free(rt)}}E!==null?E.Ul(!1):b.Ul(!1),b=k1(a),a.location.h(a.position.x+b.x,a.position.y+b.y),Lt.free(b)}};function i1(a,y,x,b){if(Xl(b)!==!1){var E=b.strokeWidth;E===0&&a instanceof Vi&&a.type===Xn.Link&&a.adornedObject instanceof pi&&(E=a.adornedObject.strokeWidth),E*=b.Ca,a instanceof _n&&a.ua!==null?(a=a.geometry.bounds,b.Ge(a.x-E/2,a.y-E/2,a.width+E,a.height+E)):a instanceof Vi&&a.adornedPart.ua!==null?(a=a.adornedPart.ua.bounds,b.Ge(a.x-E/2,a.y-E/2,a.width+E,a.height+E)):b.Ge(-(E/2),-(E/2),y+E,x+E),E=b.desiredSize,E.w()||b.ua===null?b.dc.h(0,0,E.width,E.height):b.dc.assign(b.ua.bounds),Ia(b,!1)}}function dg(){this.xa="Base"}Zt(dg,Ka),dg.prototype.measure=function(a,y,x,b,E,te,ne){var se=a.Pb();a.graduatedBounds=[];var he=se.margin,ve=he.right+he.left,Se=he.top+he.bottom;se.measure(y,x,te,ne);var Be=se.measuredBounds,Ve=new Mn(-he.left,-he.top,Math.max(Be.width+ve,0),Math.max(Be.height+Se,0));a.graduatedBounds.push(Ve),E.assign(Ve);for(var nt=se.geometry,rt=se.strokeWidth,ct=nt.flattenedSegments,kt=nt.flattenedLengths,Mt=nt.flattenedTotalLength,Rt=ct.length,Ut=0,Yt=0,$t=yn(),dn=0;dn<Rt;dn++){var rr=ct[dn],mr=[];Yt=Ut=0;for(var cr=rr.length,Qn=0;Qn<cr;Qn+=2){var Bn=rr[Qn],ti=rr[Qn+1];if(Qn!==0){var Yr=180*Math.atan2(ti-Yt,Bn-Ut)/Math.PI;0>Yr&&(Yr+=360),mr.push(Yr)}Ut=Bn,Yt=ti}$t.push(mr)}if(a.graduatedIntervals===null){for(var Ji=[],Eo=a.O.s,qa=Eo.length,rs=0;rs<qa;rs++){var js=Eo[rs],es=[];if(Ji.push(es),js.visible){var Nh=js.interval;if(!(0>Nh)){for(var Ea=0;Ea<qa;Ea++)if(Ea!==rs){var qu=Eo[Ea];if(qu.visible&&js.constructor===qu.constructor){var Rs=qu.interval;Rs>Nh&&es.push(Rs)}}}}}a.graduatedIntervals=Ji}var Bh=a.graduatedIntervals,_l=a.O.s,bu=_l.length,Fl=0,Sl=0,fd=Mt;a.graduatedMarks=[];for(var ec,Bp=0;Bp<bu;Bp++){var Dl=_l[Bp];if(ec=[],Dl.visible&&Dl!==se){var zs=Math.abs(Dl.interval),_g=a.graduatedTickUnit;if(!(2>_g*zs*Mt/a.graduatedRange&&Dl.graduatedSkip===null)){var Bf=kt[0][0],dc=0,xl=0;Sl=Mt*Dl.graduatedStart-1e-4,fd=Mt*Dl.graduatedEnd+1e-4;var $d=_g*zs,Ol=a.graduatedTickBase;if(Ol<a.graduatedMin){var pd=(a.graduatedMin-Ol)/$d;pd=pd%1===0?pd:Math.floor(pd+1),Ol+=pd*$d}else Ol>a.graduatedMin+$d&&(Ol-=Math.floor((Ol-a.graduatedMin)/$d)*$d);for(var Kv=Bh[Bp],$g=Ol,Hy=1e-6*a.graduatedMax,Rc=1;Ol<=a.graduatedMax+Hy;Rc++){e:{for(var oh=Kv.length,If=0;If<oh;If++){var gd=(Ol-a.graduatedTickBase)%(Kv[If]*a.graduatedTickUnit),Ip=1e-6*a.graduatedTickUnit;if(gd<Ip&&gd>-Ip){var md=!1;break e}}md=!0}if(md&&(Ol>a.graduatedMax&&(Ol=a.graduatedMax),Dl.graduatedSkip===null||Dl instanceof Lo&&!Dl.graduatedSkip(Ol,Dl)||Dl instanceof pi&&!Dl.graduatedSkip(Ol,Dl))&&(Fl=(Ol-a.graduatedMin)*Mt/a.graduatedRange,Fl>Mt&&(Fl=Mt),Sl<=Fl&&Fl<=fd)){for(var zc=$t[dc][xl],Ih=kt[dc][xl];dc<kt.length;){for(;Fl>Bf&&xl<kt[dc].length-1;)xl++,zc=$t[dc][xl],Ih=kt[dc][xl],Bf+=Ih;if(Fl<=Bf)break;dc++,xl=0,zc=$t[dc][xl],Ih=kt[dc][xl],Bf+=Ih}var wl=ct[dc],fc=wl[2*xl],Vv=wl[2*xl+1],ah=(Fl-(Bf-Ih))/Ih,jp=new Lt(fc+(wl[2*xl+2]-fc)*ah+rt/2-nt.bounds.x,Vv+(wl[2*xl+3]-Vv)*ah+rt/2-nt.bounds.y);jp.scale(se.scale,se.scale);e:{var tc=zc,qd=$t[dc];if(!(.5005>ah&&.4995<ah)){var pc=tc;if(.5>ah?0<xl?pc=qd[xl-1]:tn.$(wl[0],wl[wl.length-2])&&tn.$(wl[1],wl[wl.length-1])&&(pc=qd[qd.length-1]):.5<ah&&(xl+1<qd.length?pc=qd[xl+1]:tn.$(wl[0],wl[wl.length-2])&&tn.$(wl[1],wl[wl.length-1])&&(pc=qd[0])),tc!==pc){var jf=Math.abs(tc-pc);if(180<jf&&(tc<pc?tc+=360:pc+=360,jf=Math.abs(tc-pc)),5e-4>ah||.9995<ah){zc=(tc+pc)/2%360;break e}if(10>jf){var Rp=1-Math.abs(.5-ah);zc=(tc*Rp+pc*(1-Rp))%360;break e}}}zc=tc}if(Dl instanceof Lo){var Iu="";Dl.graduatedFunction!==null?(Iu=Dl.graduatedFunction(Ol,Dl),Iu=Iu!=null?Iu.toString():""):Iu=(+Ol.toFixed(2)).toString(),Iu!==""&&ec.push({$l:jp,angle:zc,text:Iu})}else ec.push({$l:jp,angle:zc})}Ol=$g+Rc*$d}}}a.graduatedMarks.push(ec)}Tn($t);var fs=a.graduatedMarks;if(fs!==null)for(var qg=b.length,$s=0;$s<qg;$s++){var Aa=b[$s],el=fs[$s];if(Aa.visible&&Aa!==se&&el.length!==0){if(Aa instanceof pi){var sh=a,jh=E,ef=Aa.alignmentFocus;ef.Mc()&&(ef=Cl);var Uy=Aa.angle;Aa.Kb=0,Aa.measure(1/0,1/0,0,0),Aa.Kb=Uy;var Xv=Aa.measuredBounds,zp=Xv.width,tf=Xv.height,Rf=Mn.allocAt(0,0,zp,tf),bl=Lt.alloc();bl.xi(Rf,ef),Mn.free(Rf);for(var lh=-bl.x,nc=-bl.y,du=new Mn,vd=el.length,Wp=0;Wp<vd;Wp++)for(var yd=el[Wp],Yv=yd.$l.x,Hp=yd.$l.y,ca=yd.angle,ju=0;4>ju;ju++){switch(ju){case 0:bl.h(lh,nc);break;case 1:bl.h(lh+zp,nc);break;case 2:bl.h(lh,nc+tf);break;case 3:bl.h(lh+zp,nc+tf)}bl.rotate(ca+Aa.angle),bl.offset(Yv,Hp),Wp===0&&ju===0?du.h(bl.x,bl.y,0,0):du.Ye(bl),bl.offset(-Yv,-Hp),bl.rotate(-ca-Aa.angle)}Lt.free(bl),sh.graduatedBounds!==null&&sh.graduatedBounds.push(du),eo(jh,du.x,du.y,du.width,du.height)}else if(Aa instanceof Lo){var Cu=a,Jv=E;Cu.temporaryTextBlock===null&&(Cu.temporaryTextBlock=new Lo);var kl=Cu.temporaryTextBlock;S1(kl,Aa);var Rh=Aa.alignmentFocus;Rh.Mc()&&(Rh=Cl);for(var Pu=Aa.segmentOrientation,Up=Aa.segmentOffset,Sd=new Mn,em=0,Gp=0,gc=0,nf=0,xd=0,Zp=el.length,zh=0;zh<Zp;zh++){var Wc=el[zh];em=Wc.$l.x,Gp=Wc.$l.y,gc=Wc.angle,xd=nf=Aa.angle,Pu!==Xs&&(xd=Pu===Cg||Pu===nv?gc+Aa.angle:gc,nf=_n.computeAngle(Pu,xd)),kl.Kb=nf,kl.text=Wc.text||"",kl.measure(1/0,1/0,0,0);var Wh=kl.measuredBounds,uh=kl.naturalBounds,Hh=uh.width,rf=uh.height,rc=mi.alloc();rc.reset(),rc.translate(-Wh.x,-Wh.y),rc.scale(kl.scale,kl.scale),rc.rotate(xd,Hh/2,rf/2),Pu!==Pg&&Pu!==Ag||rc.rotate(90,Hh/2,rf/2),Pu!==Eg&&Pu!==Mg||rc.rotate(-90,Hh/2,rf/2),Pu===rv&&(45<gc&&135>gc||225<gc&&315>gc)&&rc.rotate(-gc,Hh/2,rf/2);var zf=Mn.allocAt(0,0,Hh,rf),Uh=Lt.alloc();Uh.xi(zf,Rh),rc.Ga(Uh);var Wf=-Uh.x,Gy=-Uh.y,ch=Lt.alloc();ch.assign(Up),isNaN(ch.x)&&(ch.x=Hh/2+3),isNaN(ch.y)&&(ch.y=-(rf/2+3)),ch.rotate(gc),em+=ch.x+Wf,Gp+=ch.y+Gy;var of=new Mn(em,Gp,Wh.width,Wh.height),tm=new Mn(Wh.x,Wh.y,Wh.width,Wh.height),Zy=new Mn(uh.x,uh.y,uh.width,uh.height);Wc.Sz=nf,Wc.lineCount=kl.lineCount,Wc.lines=[kl.Cb,kl.Ih,kl.df,kl.Le,kl.Qc,kl.Qb,kl.ze],Wc.actualBounds=of,Wc.measuredBounds=tm,Wc.naturalBounds=Zy,zh===0?Sd.assign(of):Sd.ed(of),Lt.free(ch),Lt.free(Uh),Mn.free(zf),mi.free(rc)}Cu.graduatedBounds!==null&&Cu.graduatedBounds.push(Sd),eo(Jv,Sd.x,Sd.y,Sd.width,Sd.height)}Ia(Aa,!1)}}},dg.prototype.arrange=function(a,y,x){if(a.graduatedBounds!==null){var b=a.Pb(),E=a.graduatedMarks;if(E!==null){var te=a.graduatedBounds,ne=0,se=te[ne];ne++,b!==null&&b.arrange(se.x-x.x,se.y-x.y,se.width,se.height);for(var he=y.length,ve=0;ve<he;ve++){var Se=y[ve];se=E[ve],Se.visible&&Se!==b&&se.length!==0&&(se=te[ne],ne++,Se.arrange(se.x-x.x,se.y-x.y,se.width,se.height))}a.graduatedBounds=null}}},dg.prototype.gc=function(a,y,x){var b=x.$i;x.$i=!0;var E=a.naturalBounds,te=E.width,ne=E.height;E=y instanceof Ml,y.save(),y.beginPath(),y.rect(-1,-1,te+1,ne+1),y.clip(),y.Se(),te=a.Pb(),te.gc(y,x),ne=a.Df()*x.scale,0>=ne&&(ne=1);for(var se=te.actualBounds,he=a.O.s,ve=a.graduatedMarks,Se=he.length,Be=0;Be<Se;Be++){var Ve=he[Be],nt=ve[Be],rt=nt.length;if(Ve.visible&&Ve!==te&&nt.length!==0){if(Ve instanceof pi){if(!(2>a.graduatedTickUnit*Ve.interval*te.geometry.flattenedTotalLength/a.graduatedRange*ne&&Ve.graduatedSkip===null)){var ct=Ve.measuredBounds,kt=Ve.strokeWidth*Ve.scale,Mt=Ve.alignmentFocus;Mt.Mc()&&(Mt=Cl);for(var Rt=0;Rt<rt;Rt++){var Ut=nt[Rt].$l,Yt=nt[Rt].angle,$t=Mt,dn=Ve.Ab;dn.reset(),dn.translate(Ut.x+se.x,Ut.y+se.y),dn.rotate(Yt+Ve.angle,0,0),dn.translate(-ct.width*$t.x+$t.offsetX+kt/2,-ct.height*$t.y+$t.offsetY+kt/2),dn.scale(Ve.scale,Ve.scale),vu(Ve,!1),Ve.wh.set(Ve.Ab),Ve.Kk=Ve.scale,ou(Ve,!1),Ve.gc(y,x),E&&(a.svg.appendChild(Ve.svg),Ve.svg=null),Ve.Ab.reset()}}}else if(Ve instanceof Lo)for(a.temporaryTextBlock===null&&(a.temporaryTextBlock=new Lo),ct=a.temporaryTextBlock,S1(ct,Ve),kt=0;kt<rt;kt++)Mt=nt[kt],Mt.actualBounds&&Mt.measuredBounds&&Mt.naturalBounds&&(ct.ec=Mt.text||"",ct.Kb=Mt.Sz||0,ct.Gc=Mt.lineCount||0,Rt=Mt.lines,Rt!==void 0&&(ct.Cb=Rt[0],ct.Ih=Rt[1],ct.df=Rt[2],ct.Le=Rt[3],ct.Qc=Rt[4],ct.Qb=Rt[5],ct.ze=Rt[6]),Mt.naturalBounds&&(ct.dc=Mt.naturalBounds),Mt.actualBounds&&(Rt=Mt.actualBounds,ct.arrange(Rt.x,Rt.y,Rt.width,Rt.height)),Rt=Mt.actualBounds,ct.arrange(Rt.x,Rt.y,Rt.width,Rt.height),Ut=Mt.measuredBounds,Mt=Mt.naturalBounds,Yt=ct.Ab,Yt.reset(),Yt.translate(Rt.x+se.x,Rt.y+se.y),Yt.translate(-Ut.x,-Ut.y),ct.no(Yt,Mt.x,Mt.y,Mt.width,Mt.height),vu(ct,!1),ct.wh.set(ct.Ab),ct.Kk=ct.scale,ou(ct,!1),ct.Ng=Ve.part,ct.Me=Ve.panel,ct.gc(y,x),ct.Me=null,ct.Ng=null,E&&(a.svg.appendChild(ct.svg),ct.svg=null))}}x.$i=b,y.restore(),y.Vc(!0)};function Xn(a,y){if(qt.call(this),this.na=null,a===void 0)this.na=Xn.Position;else if(typeof a=="string"){var x=Fu.I(a);x!==null&&(this.na=x)}else a instanceof Ka?this.na=a:a&&(this.na=Xn.Position,y=a);this.na===null&&Ht("Panel type not specified or PanelLayout not loaded: "+a),this.l=this.l|4194304|(this.na===Xn.Grid?1048576:0),this.O=new Dn,this.yb=Es,this.Tm=io,this.Uf=si,this.$g=null,this.$e="",this.jg=new Mn(NaN,NaN,NaN,NaN),this.T=this.F=null,this.xo=yr,this.jn=Qi,this.kn=Li,this.ub=this.ra=null,this.zn=NaN,this.ge=this.Hh=null,y&&Object.assign(this,y)}Zt(Xn,qt),Xn.prototype.cloneProtected=function(a){qt.prototype.cloneProtected.call(this,a),a.na=this.na,a.yb=this.yb.J(),a.Tm=this.Tm.J(),a.Uf=this.Uf,a.$e=this.$e,a.jg.assign(this.jg),this.T!==null&&(a.T=this.T.copy(a)),a.xo=this.xo,a.jn=this.jn.J(),a.kn=this.kn.J(),this.ra!==null&&(a.ra=this.ra.copy()),a.ub=this.ub,a.zn=this.zn,a.Hh=this.Hh},Xn.prototype.Af=function(a){qt.prototype.Af.call(this,a),a.O=this.O;for(var y=a.O.s,x=y.length,b=0;b<x;b++)y[b].Me=a;a.$g=null},Xn.prototype.copy=function(){var a=qt.prototype.copy.call(this);if(a!==null){for(var y=this.O.s,x=y.length,b=0;b<x;b++){var E=y[b].copy();E.wi(a),E.Ng=null;var te=a.O,ne=te.count;if(te.Gb(ne,E),te=a.part,te!==null){te.Rh=null,E.portId!==null&&te instanceof sr&&(te.Te=!0);var se=a.diagram;se!==null&&se.undoManager.isUndoingRedoing||te.cb(fa,"elements",a,null,E,null,ne)}}return a}return null},ot=Xn.prototype,ot.toString=function(){return"Panel("+this.type.name+")#"+_r(this)},ot.Pn=function(a){qt.prototype.Pn.call(this,a);for(var y=this.O.s,x=y.length,b=0;b<x;b++)y[b].Pn(a)},ot.hh=function(a,y){if(this.na===Xn.Grid)a.yc(),this.na.gc(this,a,y);else if(this.na===Xn.Graduated)a.yc(),this.na.gc(this,a,y);else{if(this.na===Xn.Table)if(a.yc(),a instanceof Ml){var x=a.yd;a.yd=pm(a,"gojs-ts"),g0(this,a),a.nh.pop(),a.yd=x}else g0(this,a);(x=this.isClipping&&this.na===Xn.Spot)&&a.save();for(var b=this.Pb(),E=this.O.s,te=E.length,ne=0;ne<te;ne++){var se=E[ne];x&&se===b&&(a.clipInsteadOfFill=!0),se.gc(a,y),x&&se===b&&(a.clipInsteadOfFill=!1)}x&&(a.restore(),a.Vc(!0))}};function g0(a,y){y.lineCap="butt";var x=0<a.rowCount?a.rowDefs:null,b=0<a.columnCount?a.colDefs:null;x!==null&&Lm(a,y,!0,x,!0),b!==null&&Lm(a,y,!1,b,!0),x!==null&&o1(a,y,!0,x),b!==null&&o1(a,y,!1,b),x!==null&&Lm(a,y,!0,x,!1),b!==null&&Lm(a,y,!1,b,!1)}function o1(a,y,x,b){for(var E=b.length,te=a.actualBounds,ne=a.naturalBounds,se=!0,he=0;he<E;he++){var ve=b[he];if(ve!==void 0&&ve.actual!==0)if(se)se=!1;else{if(x){if(ve.position>ne.height)continue}else if(ve.position>ne.width)continue;var Se=ve.separatorStrokeWidth;isNaN(Se)&&(Se=x?a.defaultRowSeparatorStrokeWidth:a.defaultColumnSeparatorStrokeWidth);var Be=ve.separatorStroke;if(Be===null&&(Be=x?a.defaultRowSeparatorStroke:a.defaultColumnSeparatorStroke),Se!==0&&Be!==null){sa(a,y,Be,!1,!1,ne,te),Be=!1;var Ve=ve.separatorDashArray;Ve===null&&(Ve=x?a.defaultRowSeparatorDashArray:a.defaultColumnSeparatorDashArray),Ve!==null&&(Be=!0,y.js(Ve,0)),y.beginPath(),Ve=ve.position+Se,x?Ve>ne.height&&(Se-=Ve-ne.height):Ve>ne.width&&(Se-=Ve-ne.width),ve=ve.position+Se/2,y.lineWidth=Se,Se=a.yb,x?(ve+=Se.top,Ve=ne.width-Se.right,y.moveTo(Se.left,ve),y.lineTo(Ve,ve)):(ve+=Se.left,Ve=ne.height-Se.bottom,y.moveTo(ve,Se.top),y.lineTo(ve,Ve)),y.stroke(),y.Se(),Be&&y.fs()}}}}function Lm(a,y,x,b,E){for(var te=b.length,ne=a.actualBounds,se=a.naturalBounds,he=a1(a,!0),ve=a1(a,!1),Se=0;Se<te;Se++){var Be=b[Se];if(Be!==void 0&&Be.background!==null&&Be.coversSeparators!==E&&Be.actual!==0){var Ve=x?ne.height:ne.width;if(!(Be.position>Ve)){var nt=Be.Wc(),rt=Be.separatorStrokeWidth;isNaN(rt)&&(rt=x?a.defaultRowSeparatorStrokeWidth:a.defaultColumnSeparatorStrokeWidth);var ct=Be.separatorStroke;ct===null&&(ct=x?a.defaultRowSeparatorStroke:a.defaultColumnSeparatorStroke),(ct===null||Be.index===(x?he:ve))&&(rt=0),nt-=rt,rt=Be.position+rt,nt+=Be.actual,rt+nt>Ve&&(nt=Ve-rt),0>=nt||(Ve=a.yb,sa(a,y,Be.background,!0,!1,se,ne),x?y.fillRect(Ve.left,rt+Ve.top,ne.width-(Ve.left+Ve.right),nt):y.fillRect(rt+Ve.left,Ve.top,nt,ne.height-(Ve.top+Ve.bottom)))}}}}function a1(a,y){for(var x=y?a.rowCount:a.columnCount,b=0;b<x;b++){var E=y?a.rowDefs[b]:a.colDefs[b];if(E!==void 0)return E.index}return 0}function m0(a){return a==="LineV"||a==="BarV"}ot.lv=function(){for(var a=this.O.s,y=a.length,x=0;x<y;x++)a[x].lv();this.Uc=!0},ot.kk=function(a,y,x){if(!qt.prototype.kk.call(this,a,y,x))return!1;if(this.type===Xn.Table)x=this.svg.getElementsByClassName("gojs-ts"),x=x.length!==0?x[0]:null,x!==null&&(x.innerHTML=""),a.yd=x,g0(this,a),a.yd=null;else if(this.na===Xn.Grid||this.na===Xn.Graduated)return this.svg.innerHTML="",this.svg.remove(),!1;x=this.O.s;for(var b=x.length,E=0;E<b;E++)x[E].gc(a,y);return!0},ot.nk=function(){return!0},ot.$o=function(a,y,x,b){if(!this.isClipping)if(this.Dd()&&a.bk!==null){a=a.bk,y=this.O.s;for(var E=0,te=0,ne=0;ne<y.length;ne++)if(y[ne].Ed()){var se=y[ne].actualBounds;E=ne===0?se.x:Math.min(se.x,E),te=ne===0?se.y:Math.min(se.y,te)}b.setAttributeNS(null,"clip-path","path('M "+(a.x-x.x-E)+","+(a.y-x.y-te)+" l "+a.width+" 0 l 0 "+a.height+" l -"+a.width+" 0 z')")}else qt.prototype.$o.call(this,a,y,x,b)},ot.Sj=function(a,y,x,b,E){var te=this.se(),ne=this.transform,se=1/(ne.m11*ne.m22-ne.m12*ne.m21),he=ne.m22*se,ve=-ne.m12*se,Se=-ne.m21*se,Be=ne.m11*se,Ve=se*(ne.m21*ne.dy-ne.m22*ne.dx),nt=se*(ne.m12*ne.dx-ne.m11*ne.dy);if(this.areaBackground!==null)return ne=this.actualBounds,tn.Ff(ne.left,ne.top,ne.right,ne.bottom,a,y,x,b,E);if(this.background!==null)return te=a*he+y*Se+Ve,se=a*ve+y*Be+nt,a=x*he+b*Se+Ve,he=x*ve+b*Be+nt,E.h(0,0),x=this.naturalBounds,te=tn.Ff(0,0,x.width,x.height,te,se,a,he,E),E.transform(ne),te;te||(he=1,Se=ve=0,Be=1,nt=Ve=0),se=a*he+y*Se+Ve,a=a*ve+y*Be+nt,he=x*he+b*Se+Ve,x=x*ve+b*Be+nt,E.h(he,x),b=(he-se)*(he-se)+(x-a)*(x-a),ve=!1,Be=this.O.s,nt=Be.length,Se=Lt.alloc(),Ve=null,y=1/0;var rt=null,ct=this.isClipping&&this.na===Xn.Spot;ct&&(rt=Lt.alloc(),Ve=this.Pb(),(ve=Ve.Sj(se,a,he,x,rt))&&(y=(se-rt.x)*(se-rt.x)+(a-rt.y)*(a-rt.y)));for(var kt=0;kt<nt;kt++){var Mt=Be[kt];Mt.visible&&Mt!==Ve&&Mt.Sj(se,a,he,x,Se)&&(ve=!0,Mt=(se-Se.x)*(se-Se.x)+(a-Se.y)*(a-Se.y),Mt<b&&(b=Mt,E.set(Se)))}return ct&&(y>b&&E.set(rt),Lt.free(rt)),Lt.free(Se),te&&E.transform(ne),ve},ot.Gj=function(){for(var a=this.O.s,y=a.length,x=0;x<y;x++)a[x].Gj();qt.prototype.Gj.call(this)},ot.v=function(a){if(!Xl(this)){qt.prototype.v.call(this,a),a=null,(this.na===Xn.Auto||this.na===Xn.Link)&&(a=this.Pb());for(var y=this.O.s,x=y.length,b=0;b<x;b++){var E=y[b];if((E===a||E.isPanelMain)&&E.v(!0),!E.desiredSize.w()){var te=sl(E,!1);(E instanceof Vs||E instanceof Xn||E instanceof Lo||te!==Rn)&&E.v(!0)}}}},ot.Uj=function(){if(!Xl(this)){Ia(this,!0),Mc(this,!0);for(var a=this.O.s,y=a.length,x=0;x<y;x++)a[x].Uj()}},ot.Uk=function(){if(!(this.l&2048)){vu(this,!0),ou(this,!0);for(var a=this.O.s,y=a.length,x=0;x<y;x++)a[x].Wu()}},ot.Wu=function(){ou(this,!0);for(var a=this.O.s,y=a.length,x=0;x<y;x++)a[x].Wu()},ot.Wl=function(a,y,x,b){var E=this.jg;E.h(0,0,0,0);var te=this.desiredSize,ne=this.minSize;x===void 0&&(x=ne.width,b=ne.height),x=Math.max(x,ne.width),b=Math.max(b,ne.height);var se=this.maxSize;isNaN(te.width)||(a=Math.min(te.width,se.width)),isNaN(te.height)||(y=Math.min(te.height,se.height)),a=Math.max(x,a),y=Math.max(b,y);var he=this.yb;a=Math.max(a-he.left-he.right,0),y=Math.max(y-he.top-he.bottom,0);var ve=this.O.s;ve.length!==0&&this.na.measure(this,a,y,ve,E,x,b),a=E.width+he.left+he.right,he=E.height+he.top+he.bottom,isFinite(te.width)&&(a=te.width),isFinite(te.height)&&(he=te.height),a=Math.min(se.width,a),he=Math.min(se.height,he),a=Math.max(ne.width,a),he=Math.max(ne.height,he),a=Math.max(x,a),he=Math.max(b,he),ha(E,a,he),ha(this.naturalBounds,a,he),this.Ge(0,0,a,he)},ot.Pb=function(){if(this.$g===null){var a=this.O.s,y=a.length;if(y===0)return null;for(var x=0;x<y;x++){var b=a[x];if(b.isPanelMain===!0)return this.$g=b}this.$g=a[0]}return this.$g};function nh(a){return a.part!==null?a.part.locationObject:null}ot.eh=function(a,y,x,b){var E=this.O.s;if(this.actualBounds.h(a,y,x,b),E.length!==0){if(!this.desiredSize.w()){a=sl(this,!0);var te=this.measuredBounds;y=te.width,te=te.height;var ne=this.Kg,se=ne.left+ne.right;switch(ne=ne.top+ne.bottom,y===x&&te===b&&(a=Rn),a){case Rn:(y>x||te>b)&&(this.v(),this.measure(y>x?x:y,te>b?b:te,0,0));break;case Vn:this.v(!0),this.measure(x+se,b+ne,0,0);break;case Pr:this.v(!0),this.measure(x+se,te+ne,0,0);break;case Hr:this.v(!0),this.measure(y+se,b+ne,0,0)}}this.na.arrange(this,E,this.jg)}},ot.gh=function(a){var y=this.naturalBounds,x=nh(this);if(Bo(0,0,y.width,y.height,a.x,a.y)){y=this.O.s;for(var b=y.length,E=Lt.allocAt(0,0);b--;){var te=y[b];if((te.visible||te===x)&&(bi(E.set(a),te.transform),te.ca(E)))return Lt.free(E),!0}return Lt.free(E),!(this.Ma===null&&this.areaBackground===null)}return!1},ot.ks=function(a){if(this.bindingId===a)return this;for(var y=this.O.s,x=y.length,b=0;b<x;b++){var E=y[b].ks(a);if(E!==null)return E}return null},ot.qm=function(a,y){if(y(this,a),a instanceof Xn){a=a.O.s;for(var x=a.length,b=0;b<x;b++)this.qm(a[b],y)}};function Zd(a,y){s1(a,a,y)}function s1(a,y,x){x(y),y=y.O.s;for(var b=y.length,E=0;E<b;E++){var te=y[E];te instanceof Xn&&s1(a,te,x)}}function yx(a,y){l1(a,a,y)}function l1(a,y,x){if(x(y),y instanceof Xn){y=y.O.s;for(var b=y.length,E=0;E<b;E++)l1(a,y[E],x)}}ot.Nl=function(a){return u1(this,this,a)};function u1(a,y,x){if(x(y))return y;if(y instanceof Xn){y=y.O.s;for(var b=y.length,E=0;E<b;E++){var te=u1(a,y[E],x);if(te!==null)return te}}return null}ot.fb=function(a){if(this.name===a)return this;var y=this.O.s,x=y.length;this.Hh===null&&this.itemTemplateMap===null||(x=fg(this));for(var b=0;b<x;b++){var E=y[b];if(E instanceof Xn){var te=E.fb(a);if(te!==null)return te}if(E.name===a)return E}return null};function c1(a){a=a.O.s;for(var y=a.length,x=0,b=0;b<y;b++){var E=a[b];E instanceof Xn?x=Math.max(x,c1(E)):E instanceof pi&&(x=Math.max(x,E.ig/2*E.strokeMiterLimit*E.Df()))}return x}ot.se=function(){return!(this.type===Xn.TableRow||this.type===Xn.TableColumn)};function Ph(a){return a.type===Xn.TableRow||a.type===Xn.TableColumn}ot.ic=function(a,y,x){if(this.pickable===!1||(y===void 0&&(y=null),x===void 0&&(x=null),Zs(this)))return null;var b=this.naturalBounds,E=1/this.Df(),te=this.se(),ne=te?a:bi(Lt.allocAt(a.x,a.y),this.transform),se=this.diagram,he=10,ve=5;if(se!==null&&(he=se.Ql("extraTouchArea"),ve=he/2),Bo(-(ve*E),-(ve*E),b.width+he*E,b.height+he*E,ne.x,ne.y)){if(!this.isAtomic){E=this.O.s;var Se=E.length;if(se=Lt.alloc(),ve=(he=this.isClipping&&this.na===Xn.Spot)?this.Pb():null,he&&(ve.se()?bi(se.set(a),ve.transform):se.set(a),!ve.ca(se)))return Lt.free(se),te||Lt.free(ne),null;for(var Be=nh(this);Se--;){var Ve=E[Se];if((Ve.visible||Ve===Be)&&(Ve.se()?bi(se.set(a),Ve.transform):se.set(a),!he||Ve!==ve)){var nt=null;if(Ve instanceof Xn?nt=Ve.ic(se,y,x):Ve.pickable===!0&&Ve.ca(se)&&(nt=Ve),nt!==null&&(y!==null&&(nt=y(nt)),nt!==null&&(x===null||x(nt))))return Lt.free(se),te||Lt.free(ne),nt}}Lt.free(se)}return this.background===null&&this.areaBackground===null?(te||Lt.free(ne),null):(a=Bo(0,0,b.width,b.height,ne.x,ne.y)?this:null,te||Lt.free(ne),a)}return te||Lt.free(ne),null},ot.ji=function(a,y,x,b){if(this.pickable===!1)return!1;y===void 0&&(y=null),x===void 0&&(x=null);var E=this.naturalBounds,te=this.se(),ne=te?a:bi(Lt.allocAt(a.x,a.y),this.transform);if(E=Bo(0,0,E.width,E.height,ne.x,ne.y),Ph(this)||E){if(!this.isAtomic){for(var se=this.O.s,he=se.length,ve=Lt.alloc(),Se=nh(this);he--;){var Be=se[he];if(Be.visible||Be===Se){Be.se()?bi(ve.set(a),Be.transform):ve.set(a);var Ve=Be;Be=Be instanceof Xn?Be:null,(Be!==null?Be.ji(ve,y,x,b):Ve.ca(ve))&&Ve.pickable!==!1&&(y!==null&&(Ve=y(Ve)),Ve===null||x!==null&&!x(Ve)||b.add(Ve))}}Lt.free(ve)}return te||Lt.free(ne),E&&(this.background!==null||this.areaBackground!==null)}return te||Lt.free(ne),!1},ot.Cf=function(a,y,x,b,E,te){if(this.pickable===!1)return!1;y===void 0&&(y=null),x===void 0&&(x=null);var ne=te;if(te===void 0&&(ne=mi.alloc(),ne.reset()),ne.multiply(this.transform),this.fh(a,ne))return v0(this,y,x,E),te===void 0&&mi.free(ne),!0;if(this.Yc(a,ne)){if(!this.isAtomic)for(var se=nh(this),he=this.O.s,ve=he.length;ve--;){var Se=he[ve];if(Se.visible||Se===se){var Be=Se.actualBounds,Ve=this.naturalBounds;Be.x>Ve.width||Be.y>Ve.height||0>Be.x+Be.width||0>Be.y+Be.height||(Be=Se,Se=Se instanceof Xn?Se:null,Ve=mi.alloc(),Ve.set(ne),(Se!==null?Se.Cf(a,y,x,b,E,Ve):$a(Be,a,b,Ve))&&(y!==null&&(Be=y(Be)),Be===null||x!==null&&!x(Be)||E.add(Be)),mi.free(Ve))}}return te===void 0&&mi.free(ne),b}return te===void 0&&mi.free(ne),!1};function v0(a,y,x,b){for(var E=a.O.s,te=E.length;te--;){var ne=E[te];if(ne.visible){var se=ne.actualBounds,he=a.naturalBounds;se.x>he.width||se.y>he.height||0>se.x+se.width||0>se.y+se.height||(ne instanceof Xn&&v0(ne,y,x,b),y!==null&&(ne=y(ne)),ne===null||x!==null&&!x(ne)||b.add(ne))}}}ot.og=function(a,y,x,b,E,te){if(this.pickable===!1)return!1;x===void 0&&(x=null),b===void 0&&(b=null);var ne=this.naturalBounds,se=this.se(),he=se?a:bi(Lt.allocAt(a.x,a.y),this.transform),ve=se?y:bi(Lt.allocAt(y.x,y.y),this.transform),Se=he.Bf(ve),Be=0<he.x&&he.x<ne.width&&0<he.y&&he.y<ne.height||so(he.x,he.y,0,0,0,ne.height)<=Se||so(he.x,he.y,0,ne.height,ne.width,ne.height)<=Se||so(he.x,he.y,ne.width,ne.height,ne.width,0)<=Se||so(he.x,he.y,ne.width,0,0,0)<=Se;if(ne=he.zd(0,0)<=Se&&he.zd(0,ne.height)<=Se&&he.zd(ne.width,0)<=Se&&he.zd(ne.width,ne.height)<=Se,se||(Lt.free(he),Lt.free(ve)),Be){if(!this.isAtomic){he=Lt.alloc(),ve=Lt.alloc(),Se=nh(this);for(var Ve=this.O.s,nt=Ve.length;nt--;){var rt=Ve[nt];if(rt.visible||rt===Se){var ct=rt.actualBounds,kt=this.naturalBounds;(!se||!(ct.x>kt.width||ct.y>kt.height||0>ct.x+ct.width||0>ct.y+ct.height))&&(rt.se()?(ct=rt.transform,bi(he.set(a),ct),bi(ve.set(y),ct)):(he.set(a),ve.set(y)),ct=rt,rt=rt instanceof Xn?rt:null,(rt!==null?rt.og(he,ve,x,b,E,te):ct.tx(he,ve,E))&&(x!==null&&(ct=x(ct)),ct===null||b!==null&&!b(ct)||te.add(ct)))}}Lt.free(he),Lt.free(ve)}return E?Be:ne}return!1};function y0(a){var y=null;return a instanceof pi&&(y=a.spot1,y===io&&(y=null),a=a.geometry,a!==null&&y===null&&(y=a.spot1)),y===null&&(y=Xa),y}function S0(a){var y=null;return a instanceof pi&&(y=a.spot2,y===io&&(y=null),a=a.geometry,a!==null&&y===null&&(y=a.spot2)),y===null&&(y=ks),y}ot.add=function(a){for(var y=[],x=0;x<arguments.length;++x)y[x]=arguments[x];for(x=0;x<y.length;x++)this.Gb(this.O.count,y[x]);return this},ot.M=function(a){return this.O.M(a)},ot.Gb=function(a,y){y instanceof kr&&Ht("Cannot add a Part to a Panel: "+y+"; use a Panel instead"),(this===y||this.rg(y))&&(this===y&&Ht("Cannot make a Panel contain itself: "+this.toString()),Ht("Cannot make a Panel indirectly contain itself: "+this.toString()+" already contains "+y.toString()));var x=y.panel;if(x!==null&&x!==this&&Ht("Cannot add a GraphObject that already belongs to another Panel to this Panel: "+y.toString()+", already contained by "+x.toString()+", cannot be shared by this Panel: "+this.toString()),this.na!==Xn.Grid||y instanceof pi||Ht("Can only add Shapes to a Grid Panel, not: "+y),this.na!==Xn.Graduated||y instanceof pi||y instanceof Lo||Ht("Can only add Shapes or TextBlocks to a Graduated Panel, not: "+y),y.wi(this),y.Ng=null,this.itemArray!==null){var b=y.data;b!==null&&typeof b=="object"&&(this.ge===null&&(this.ge=new pr),this.ge.add(b,y))}var E=this.O;if(b=-1,x===this){for(var te=-1,ne=this.O.s,se=ne.length,he=0;he<se;he++)if(ne[he]===y){te=he;break}if(te!==-1){if(te===a||te+1>=E.count&&a>=E.count)return;E.mb(te),b=te}else Ht("element "+y.toString()+" has panel "+x.toString()+" but is not contained by it.")}(0>a||a>E.count)&&(a=E.count),E.Gb(a,y),(a===0||y.isPanelMain)&&(this.$g=null),Xl(this)||this.v(),y.v(!1),y.portId!==null?this.Te=!0:y instanceof Xn&&y.Te===!0&&(this.Te=!0),this.graduatedIntervals=null,this.If()||Fm(this,y,!1),x=this.part,x!==null&&(x.Rh=null,x.ag=NaN,this.Te&&x instanceof sr&&(x.Te=!0),x.Te&&x instanceof sr&&(x.wc=null),E=this.diagram,E!==null&&E.undoManager.isUndoingRedoing||(b!==-1&&x.cb(Oa,"elements",this,y,null,b,null),x.cb(fa,"elements",this,null,y,null,a)))};function x0(a,y){a.l=y?a.l|16777216:a.l&-16777217}ot.remove=function(a){for(var y=this.O.s,x=y.length,b=-1,E=0;E<x;E++)if(y[E]===a){b=E;break}b!==-1&&this.pc(b,!0)},ot.mb=function(a){0<=a&&this.pc(a,!0)},ot.pc=function(a,y){var x=this.O,b=x.M(a);if(b.Ng=null,b.wi(null),this.ge!==null){var E=b.data;typeof E=="object"&&this.ge.remove(E)}x.mb(a),Ia(this,!1),this.v(),this.$g===b&&(this.$g=null),this.graduatedIntervals=null;var te=this.part;te!==null&&(te.Rh=null,te.ag=NaN,te.Wb(),te instanceof sr&&(b instanceof Xn?b.qm(b,function(ne,se){G0(te,se,y)}):G0(te,b,y)),x=this.diagram,x!==null&&x.undoManager.isUndoingRedoing||te.cb(Oa,"elements",this,b,null,a,null))},ot.Fb=function(a){0>a&&Kn(a,">= 0",Xn,"getRowDefinition:idx"),a=Math.round(a);var y=this.rowDefs;if(y[a]===void 0){var x=new ja;x.wi(this),x.isRow=!0,x.index=a,y[a]=x,this.cb(fa,"rowdefs",this,null,x,null,a)}return y[a]},ot.oA=function(a){if(0>a&&Kn(a,">= 0",Xn,"removeRowDefinition:idx"),this.rowCount!==0){a=Math.round(a);var y=this.rowDefs,x=y[a];if(x){y[a]=void 0;for(var b=y.length-1;0<=b&&y[b--]===void 0;)y.length--;this.cb(Oa,"rowdefs",this,x,null,a,null),this.v()}}};function h1(a,y,x){var b=a.rowDefs;if(!(0>y)){if(b[y]=x instanceof ja?x:void 0,!x)for(y=b.length-1;0<=y&&b[y--]===void 0;)b.length--;a.v()}}ot.Eb=function(a){0>a&&Kn(a,">= 0",Xn,"getColumnDefinition:idx"),a=Math.round(a);var y=this.colDefs;if(y[a]===void 0){var x=new ja;x.wi(this),x.isRow=!1,x.index=a,y[a]=x,this.cb(fa,"coldefs",this,null,x,null,a)}return y[a]},ot.jA=function(a){if(0>a&&Kn(a,">= 0",Xn,"removeColumnDefinition:idx"),this.columnCount!==0){a=Math.round(a);var y=this.colDefs,x=y[a];if(x){y[a]=void 0;for(var b=y.length-1;0<=b&&y[b--]===void 0;)y.length--;this.cb(Oa,"coldefs",this,x,null,a,null),this.v()}}};function d1(a,y,x){var b=a.colDefs;if(!(0>y)){if(b[y]=x instanceof ja?x:void 0,!x)for(y=b.length-1;0<=y&&b[y--]===void 0;)b.length--;a.v()}}ot.Gy=function(a){var y=null;return a.isRow?y=this.Fb(a.index):a.isRow||(y=this.Eb(a.index)),y&&Dm(y,a),this},ot.Hy=function(a,y){return(a=this.Fb(a))&&Dm(a,new ja(y)),this},ot.By=function(a,y){return(a=this.Eb(a))&&Dm(a,new ja(y)),this},ot.nz=function(a){if(0>a||this.type!==Xn.Table||this.rowCount===0)return-1;for(var y=0,x=this.rowDefs,b=x.length,E=this.topIndex;E<b;E++){var te=x[E];if(te!==void 0&&(y+=te.total,a<y))break}return E},ot.fz=function(a){if(0>a||this.type!==Xn.Table||this.columnCount===0)return-1;for(var y=0,x=this.colDefs,b=x.length,E=this.leftIndex;E<b;E++){var te=x[E];if(te!==void 0&&(y+=te.total,a<y))break}return E},ot.Fz=function(a,y){if(y===void 0&&(y=new Lt(NaN,NaN)),this.type!==Xn.Graduated)return y.h(NaN,NaN),y;a=Math.min(Math.max(a,this.graduatedMin),this.graduatedMax);var x=this.Pb();return x.geometry.Pu((a-this.graduatedMin)/this.graduatedRange,y),x.transform.Ga(y)},ot.Gz=function(a){if(this.type!==Xn.Graduated)return NaN;var y=this.Pb();return y.transform.Cd(a),y.geometry.xx(a)*this.graduatedRange+this.graduatedMin};function f1(a){return a=a.allBindings,a!==null&&a._isFrozen}function Su(a){var y=a.allBindings;if(y===null)a.data!==null&&Ht("Template cannot have .data be non-null: "+a),a.allBindings=y=new Dn;else if(y._isFrozen)return;var x=new Dn;x0(a,!1),a.qm(a,function(ve,Se){Se.th();var Be=Se.localBindings;if(Be!==null)for(xf(Se,!1),Be=Be.iterator;Be.next();){var Ve=Be.value;Ve.mode===Bg&&xf(Se,!0);var nt=Ve.sourceName;nt!==null&&(nt==="/"&&x0(ve,!0),nt=MS(Ve,ve,Se),nt!==null&&(x.add(nt),nt.srcBindings===null&&(nt.srcBindings=new Dn),nt.srcBindings.add(Ve))),y.add(Ve)}if(Se instanceof Xn&&Se.type===Xn.Table){if(0<Se.rowCount){for(ve=Se.rowDefs,Be=ve.length,Ve=0;Ve<Be;Ve++)if(nt=ve[Ve],nt!==void 0&&nt.be!==null)for(var rt=nt.be.iterator;rt.next();){var ct=rt.value;ct.xd=nt,ct.to=2,ct.wl=nt.index,y.add(ct)}}if(0<Se.columnCount){for(Se=Se.colDefs,ve=Se.length,Be=0;Be<ve;Be++)if(Ve=Se[Be],Ve!==void 0&&Ve.be!==null)for(nt=Ve.be.iterator;nt.next();)rt=nt.value,rt.xd=Ve,rt.to=1,rt.wl=Ve.index,y.add(rt)}}});for(var b=x.iterator;b.next();){var E=b.value;if(E.srcBindings!==null){xf(E,!0);for(var te=E.srcBindings.iterator;te.next();){var ne=te.value;E.localBindings===null&&(E.localBindings=new Dn),E.localBindings.add(ne)}}E.srcBindings=null}for(b=y.iterator;b.next();)if(E=b.value,te=E.xd,te!==null){E.xd=null;var se=E.targetProperty,he=se.indexOf(".");0<he&&te instanceof Xn&&(ne=se.substring(0,he),se=se.substr(he+1),he=te.fb(ne),he!==null?(te=he,E.targetProperty=se):ir('Warning: unable to find GraphObject named "'+ne+'" for Binding: '+E.toString())),te instanceof ja?(ne=_r(te.panel),E.Ai=ne===void 0?-1:ne,te.panel.bindingId=E.Ai):te instanceof qt?(ne=_r(te),E.Ai=ne===void 0?-1:ne,te.bindingId=E.Ai):Ht("Unknown type of binding target: "+te)}y.freeze(),a instanceof kr&&a.Zc()&&a.Va()}ot.Uy=function(a){a===void 0&&(a=!1);var y=this.copy();return yx(y,function(x){x instanceof Xn&&(x.allBindings=null,x.ub=null);var b=x.localBindings;b!==null&&(x.localBindings=null,b.each(function(E){x.bind(E.copy())})),b=x.animationTriggers,b!==null&&(x.animationTriggers=null,b.each(function(E){x.Jv(E.value.copy())}))}),a&&Su(y),y},ot.La=function(a){var y=this.allBindings;if(y!==null)for(a===void 0&&(a=""),y=y.iterator;y.next();){var x=y.value,b=x.sourceProperty;if((a===""||b===""||b===a)&&(b=x.targetProperty,x.converter!==null||b!=="")){b=this.data;var E=x.sourceName;if(E!==null){if(E==="")b=this;else if(E==="/")b=this;else if(E===".")b=this;else if(E==="..")b=this;else if(b=this.fb(E),b===null)continue}else if(x.isToModel)if(b=this.diagram,b!==null)b=b.model.modelData;else continue;var te=this,ne=x.Ai;if(ne!==-1){if(te=this.ks(ne),te===null)continue}else x.xd!==null&&(te=x.xd);if(E==="/"?b=te.part:E==="."?b=te:E===".."&&(b=te.panel),E=x.to,E!==0){if(!(te instanceof Xn))continue;E===1?te=te.Eb(x.wl):E===2&&(te=te.Fb(x.wl))}te!==void 0&&x.Mv(te,b)}}},ot.sx=function(a){return a==null||this.ge===null?null:this.ge.I(a)};function Sx(a,y){a=a.O.s;for(var x=a.length,b=y.length,E=0,te=null;E<x&&(te=a[E],!(te instanceof Xn&&te.data!==null));)E++,te=a[E];if(x-E!==b)return!0;if(te===null)return 0<b;for(var ne=0;E<x&&ne<b;){if(te=a[E],!(te instanceof Xn)||te.data!==y[ne])return!0;E++,ne++}return!1}function fg(a){if(a.type===Xn.Spot||a.type===Xn.Auto)return Math.min(a.O.length,1);if(a.type===Xn.Link){a=a.O;for(var y=a.length,x=0;x<y;x++){var b=a.M(x);if(!(b instanceof pi&&b.isPanelMain))break}return x}return a.type===Xn.Table&&0<a.O.length&&(a=a.O.M(0),a.isPanelMain&&a instanceof Xn&&Ph(a))?1:0}ot.mv=function(){for(var a=fg(this);this.O.length>a;)this.pc(this.O.length-1,!1);p1(this,this.itemArray)};function p1(a,y){var x=fg(a);if(y===null||y.length===0)for(;a.O.length>x;)a.pc(a.O.length-1,!1);else if(a.O.length<=x){x=y.length;for(var b=0;b<x;b++)Tm(a,y[b],b,!0)}else{b=x;for(var E=0;E<y.length;E++,b++){var te=y[E],ne=b<a.O.length?a.O.M(b):null;if(ne instanceof Xn){if(ne.data!==te){var se=b0(a,ne.data),he=b0(a,te),ve=he!==se;ve||(se=C0(a,se),ve=C0(a,he)!==se),ve?(a.pc(b,!1),Tm(a,te,E,!1)):ne.data=te}}else Tm(a,te,E,!1)}for(;b<a.O.length;)a.pc(b,!1);a.$g=null,w0(a,x,0),Xl(a)||a.v(),a.graduatedIntervals=null,a.If()||Fm(a,a,!1),y=a.part,y!==null&&(y.Rh=null,y.ag=NaN,a.Te&&y instanceof sr&&(y.Te=!0),y.Te&&y instanceof sr&&(y.wc=null))}}function Tm(a,y,x,b){if(!(y==null||0>x)){var E=b0(a,y);if(E=C0(a,E),E!==null){if(Su(E),E=E.copy(),E.l&16777216){var te=a.ih();te!==null&&x0(te,!0)}typeof y=="object"&&(a.ge===null&&(a.ge=new pr),a.ge.add(y,E)),te=x+fg(a),a.Gb(te,E),b&&(E.ub=y,w0(a,te,x),E.ub=null),E.data=y}}}function w0(a,y,x){for(a=a.O;y<a.length;){var b=a.M(y);if(b instanceof Xn){var E=y,te=x;b.type===Xn.TableRow?b.row=E:b.type===Xn.TableColumn&&(b.column=E),b.itemIndex=te}y++,x++}}function b0(a,y){if(y===null)return"";if(a=a.itemCategoryProperty,typeof a=="function")a=a(y);else if(typeof a=="string"&&typeof y=="object"){if(a==="")return"";a=Sa(y,a)}else return"";if(a===void 0)return"";if(typeof a=="string")return a;Ht("Panel.getCategoryForItemData found a non-string category for "+y+": "+a)}function C0(a,y){var x=a.itemTemplateMap,b=null;return x!==null&&(b=x.I(y)),b===null&&(x!==null&&(b=x.I("")),b===null&&(g1||(g1=!0,ir('No item template Panel found for category "'+y+'" on '+a),ir(" Using default item template."),a=new Xn,y=new Lo,y.bind(new Pa("text","",jn)),a.add(y),m1=a),b=m1)),b}function Fm(a,y,x){var b=y.enabledChanged;if(b!==null&&b(y,x),y instanceof Xn){y=y.O.s,b=y.length;for(var E=0;E<b;E++){var te=y[E];x&&te instanceof Xn&&!te.isEnabled||Fm(a,te,x)}}}function cc(a,y){y.name=a,Fu.add(a,y)}Pt.Object.defineProperties(Xn.prototype,{type:{get:function(){return this.na},set:function(a){var y=this.na;y!==a&&(this.na=a,this.isAtomic=this.na===Xn.Grid,this.v(),this.g("type",y,a))}},elements:{get:function(){return this.O.iterator}},naturalBounds:{get:function(){return this.dc}},padding:{get:function(){return this.yb},set:function(a){typeof a=="number"?(0>a&&Kn(a,">= 0",Xn,"padding"),a=new Or(a)):(0>a.left&&Kn(a.left,">= 0",Xn,"padding:value.left"),0>a.right&&Kn(a.right,">= 0",Xn,"padding:value.right"),0>a.top&&Kn(a.top,">= 0",Xn,"padding:value.top"),0>a.bottom&&Kn(a.bottom,">= 0",Xn,"padding:value.bottom"));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.v(),this.g("padding",y,a))}},defaultAlignment:{get:function(){return this.Tm},set:function(a){var y=this.Tm;y.D(a)||(this.Tm=a=a.J(),this.v(),this.g("defaultAlignment",y,a))}},defaultStretch:{get:function(){return this.Uf},set:function(a){var y=this.Uf;y!==a&&(this.Uf=a,this.v(),this.g("defaultStretch",y,a))}},defaultSeparatorPadding:{get:function(){return this.T!==null?this.T.Qp:Es},set:function(a){typeof a=="number"&&(a=new Or(a));var y=this.defaultSeparatorPadding;y.D(a)||(a=a.J(),this.T===null&&(this.T=new lu),this.T.Qp=a,this.v(),this.g("defaultSeparatorPadding",y,a))}},defaultRowSeparatorStroke:{get:function(){return this.T!==null?this.T.ia:null},set:function(a){var y=this.defaultRowSeparatorStroke;y!==a&&(a===null||typeof a=="string"||a instanceof uo)&&(a instanceof uo&&a.freeze(),this.T===null&&(this.T=new lu),this.T.ia=a,this.N(),this.g("defaultRowSeparatorStroke",y,a))}},defaultRowSeparatorStrokeWidth:{get:function(){return this.T!==null?this.T.Ha:1},set:function(a){var y=this.defaultRowSeparatorStrokeWidth;y!==a&&isFinite(a)&&0<=a&&(this.T===null&&(this.T=new lu),this.T.Ha=a,this.v(),this.g("defaultRowSeparatorStrokeWidth",y,a))}},defaultRowSeparatorDashArray:{get:function(){return this.T!==null?this.T.V:null},set:function(a){var y=this.defaultRowSeparatorDashArray;if(y!==a){if(a!==null){for(var x=a.length,b=0,E=0;E<x;E++){var te=a[E];typeof te=="number"&&0<=te&&isFinite(te)||Ht("defaultRowSeparatorDashArray value "+te+" at index "+E+" must be a positive number or zero."),b+=te}if(b===0){if(y===null)return;a=null}}this.T===null&&(this.T=new lu),this.T.V=a,this.N(),this.g("defaultRowSeparatorDashArray",y,a)}}},defaultColumnSeparatorStroke:{get:function(){return this.T!==null?this.T.u:null},set:function(a){var y=this.defaultColumnSeparatorStroke;y!==a&&(a===null||typeof a=="string"||a instanceof uo)&&(a instanceof uo&&a.freeze(),this.T===null&&(this.T=new lu),this.T.u=a,this.N(),this.g("defaultColumnSeparatorStroke",y,a))}},defaultColumnSeparatorStrokeWidth:{get:function(){return this.T!==null?this.T.F:1},set:function(a){var y=this.defaultColumnSeparatorStrokeWidth;y!==a&&isFinite(a)&&0<=a&&(this.T===null&&(this.T=new lu),this.T.F=a,this.v(),this.g("defaultColumnSeparatorStrokeWidth",y,a))}},defaultColumnSeparatorDashArray:{get:function(){return this.T!==null?this.T.o:null},set:function(a){var y=this.defaultColumnSeparatorDashArray;if(y!==a){if(a!==null){for(var x=a.length,b=0,E=0;E<x;E++){var te=a[E];typeof te=="number"&&0<=te&&isFinite(te)||Ht("defaultColumnSeparatorDashArray value "+te+" at index "+E+" must be a positive number or zero."),b+=te}if(b===0){if(y===null)return;a=null}}this.T===null&&(this.T=new lu),this.T.o=a,this.N(),this.g("defaultColumnSeparatorDashArray",y,a)}}},inRowsCols:{get:function(){return this.T!==null?this.T.nb:null},set:function(a){this.T===null&&(this.T=new lu),this.T.nb=a}},viewboxStretch:{get:function(){return this.xo},set:function(a){var y=this.xo;y!==a&&(this.xo=a,this.v(),this.g("viewboxStretch",y,a))}},gridCellSize:{get:function(){return this.jn},set:function(a){var y=this.jn;if(!y.D(a)){a.w()&&a.width!==0&&a.height!==0||Ht("Invalid Panel.gridCellSize: "+a),this.jn=a.J();var x=this.diagram;x!==null&&this===x.grid&&sc(x),this.N(),this.g("gridCellSize",y,a)}}},gridOrigin:{get:function(){return this.kn},set:function(a){var y=this.kn;if(!y.D(a)){a.w()||Ht("Invalid Panel.gridOrigin: "+a),this.kn=a.J();var x=this.diagram;x!==null&&this===x.grid&&sc(x),this.N(),this.g("gridOrigin",y,a)}}},graduatedMin:{get:function(){return this.ra!==null?this.ra.lq:0},set:function(a){var y=this.graduatedMin;y!==a&&(this.ra===null&&(this.ra=new rh),this.ra.lq=a,this.v(),this.g("graduatedMin",y,a),ys(this)&&(a=this.part,a!==null&&No(this,a,"graduatedRange")))}},graduatedMax:{get:function(){return this.ra!==null?this.ra.F:100},set:function(a){var y=this.graduatedMax;y!==a&&(this.ra===null&&(this.ra=new rh),this.ra.F=a,this.v(),this.g("graduatedMax",y,a),ys(this)&&(a=this.part,a!==null&&No(this,a,"graduatedRange")))}},graduatedRange:{get:function(){return this.graduatedMax-this.graduatedMin}},graduatedTickUnit:{get:function(){return this.ra!==null?this.ra.ia:10},set:function(a){var y=this.graduatedTickUnit;y!==a&&0<a&&(this.ra===null&&(this.ra=new rh),this.ra.ia=a,this.v(),this.g("graduatedTickUnit",y,a))}},graduatedTickBase:{get:function(){return this.ra!==null?this.ra.V:0},set:function(a){var y=this.graduatedTickBase;y!==a&&(this.ra===null&&(this.ra=new rh),this.ra.V=a,this.v(),this.g("graduatedTickBase",y,a))}},graduatedMarks:{get:function(){return this.ra!==null?this.ra.u:null},set:function(a){this.ra!==null?this.ra.u=a:a!==null&&(this.ra=new rh,this.ra.u=a)}},graduatedBounds:{get:function(){return this.ra!==null?this.ra.j:null},set:function(a){this.ra!==null?this.ra.j=a:a!==null&&(this.ra=new rh,this.ra.j=a)}},graduatedIntervals:{get:function(){return this.ra!==null?this.ra.o:null},set:function(a){this.ra!==null?this.ra.o=a:a!==null&&(this.ra=new rh,this.ra.o=a)}},temporaryTextBlock:{get:function(){return this.ra!==null?this.ra.Zh:null},set:function(a){this.ra!==null?this.ra.Zh=a:a!==null&&(this.ra=new rh,this.ra.Zh=a)}},panelLayoutState:{get:function(){return this.F},set:function(a){this.F=a}},Te:{get:function(){return(this.l&8388608)!==0},set:function(a){(this.l&8388608)!==0!==a&&(this.l^=8388608)}},rowDefs:{get:function(){return this.T===null&&(this.T=new lu),this.T.Pc}},rowCount:{get:function(){return this.T===null?0:this.rowDefs.length}},colDefs:{get:function(){return this.T===null&&(this.T=new lu),this.T.Oc}},columnCount:{get:function(){return this.T===null?0:this.colDefs.length}},rowSizing:{get:function(){return this.T!==null?this.T.ob:km},set:function(a){var y=this.rowSizing;y!==a&&(this.T===null&&(this.T=new lu),this.T.ob=a,this.v(),this.g("rowSizing",y,a))}},columnSizing:{get:function(){return this.T!==null?this.T.j:km},set:function(a){var y=this.columnSizing;y!==a&&(this.T===null&&(this.T=new lu),this.T.j=a,this.v(),this.g("columnSizing",y,a))}},topIndex:{get:function(){return this.T!==null?this.T.Hb:0},set:function(a){var y=this.topIndex;y!==a&&((!isFinite(a)||0>a)&&Ht("Panel.topIndex must be greater than zero and a real number, not: "+a),this.T===null&&(this.T=new lu),this.T.Hb=a,this.v(),this.g("topIndex",y,a))}},leftIndex:{get:function(){return this.T!==null?this.T.hb:0},set:function(a){var y=this.leftIndex;y!==a&&((!isFinite(a)||0>a)&&Ht("Panel.leftIndex must be greater than zero and a real number, not: "+a),this.T===null&&(this.T=new lu),this.T.hb=a,this.v(),this.g("leftIndex",y,a))}},data:{get:function(){return this.ub},set:function(a){var y=this.ub;if(y!==a){var x=this instanceof kr&&!(this instanceof Vi);Su(this),this.ub=a;var b=this.diagram;b!==null&&(x?(x=b.partManager,this instanceof _n?(y!==null&&x.bf.remove(y),a!==null&&x.bf.add(a,this)):this instanceof kr&&(y!==null&&x.cf.remove(y),a!==null&&x.cf.add(a,this))):(x=this.panel,x!==null&&x.ge!==null&&(y!==null&&x.ge.remove(y),a!==null&&x.ge.add(a,this)))),this.g("data",y,a),b!==null&&b.undoManager.isUndoingRedoing||a!==null&&this.La()}}},itemIndex:{get:function(){return this.zn},set:function(a){var y=this.zn;y!==a&&(this.zn=a,this.g("itemIndex",y,a))}},allBindings:{get:function(){return this.A!==null?this.A.nb:null},set:function(a){this.localBindings!==a&&(this.A===null&&(this.A=new wf),this.A.nb=a)}},itemArray:{get:function(){return this.Hh},set:function(a){var y=this.Hh;if(y!==a||a!==null&&Sx(this,a)){var x=this.diagram;y!==a&&(x!==null&&y!==null&&uy(x.partManager,this,x),this.Hh=a,x!==null&&a!==null&&ly(x.partManager,this)),this.g("itemArray",y,a),x!==null&&x.undoManager.isUndoingRedoing||p1(this,a)}}},itemTemplate:{get:function(){return this.itemTemplateMap===null?null:this.itemTemplateMap.I("")},set:function(a){if(this.itemTemplateMap===null){if(a===null)return;this.itemTemplateMap=new pr}var y=this.itemTemplateMap.I("");y!==a&&((a instanceof kr||a.isPanelMain)&&Ht("Panel.itemTemplate must not be a Part or be Panel.isPanelMain: "+a),this.itemTemplateMap.add("",a),this.g("itemTemplate",y,a),a=this.diagram,a!==null&&a.undoManager.isUndoingRedoing||this.mv())}},itemTemplateMap:{get:function(){return this.A!==null?this.A.Pc:null},set:function(a){var y=this.itemTemplateMap;if(y!==a){for(var x=a.iterator;x.next(););vi(this),this.A.Pc=a,this.g("itemTemplateMap",y,a),a=this.diagram,a!==null&&a.undoManager.isUndoingRedoing||this.mv()}}},itemCategoryProperty:{get:function(){return this.A!==null?this.A.Oc:"category"},set:function(a){var y=this.itemCategoryProperty;y!==a&&(vi(this),this.A.Oc=a,this.g("itemCategoryProperty",y,a))}},isAtomic:{get:function(){return(this.l&1048576)!==0},set:function(a){var y=(this.l&1048576)!==0;y!==a&&(this.l^=1048576,this.g("isAtomic",y,a))}},isClipping:{get:function(){return(this.l&2097152)!==0},set:function(a){var y=(this.l&2097152)!==0;y!==a&&(this.l^=2097152,this instanceof ii&&(this.tb=null),this.v(),this.g("isClipping",y,a))}},isOpposite:{get:function(){return(this.l&33554432)!==0},set:function(a){var y=(this.l&33554432)!==0;y!==a&&(this.l^=33554432,this.v(),this.g("isOpposite",y,a))}},isEnabled:{get:function(){return(this.l&4194304)!==0},set:function(a){var y=(this.l&4194304)!==0;if(y!==a){var x=this.panel===null||this.panel.If();this.l^=4194304,this.g("isEnabled",y,a),y=this.diagram,y!==null&&y.undoManager.isUndoingRedoing||x&&Fm(this,this,a)}}},alignmentFocusName:{get:function(){return this.$e},set:function(a){var y=this.$e;y!==a&&(this.$e=a,this.v(),this.g("alignmentFocusName",y,a))}}}),Pt.Object.defineProperties(Xn,{Position:{get:function(){return Fu.I("Position")}},Horizontal:{get:function(){return Fu.I("Horizontal")}},Vertical:{get:function(){return Fu.I("Vertical")}},Spot:{get:function(){return Fu.I("Spot")}},Auto:{get:function(){return Fu.I("Auto")}},Table:{get:function(){return Fu.I("Table")}},Viewbox:{get:function(){return Fu.I("Viewbox")}},TableRow:{get:function(){return Fu.I("TableRow")}},TableColumn:{get:function(){return Fu.I("TableColumn")}},Link:{get:function(){return Fu.I("Link")}},Grid:{get:function(){return Fu.I("Grid")}},Graduated:{get:function(){return Fu.I("Graduated")}}}),Xn.prototype.rebuildItemElements=Xn.prototype.mv,Xn.prototype.findItemPanelForData=Xn.prototype.sx,Xn.prototype.updateTargetBindings=Xn.prototype.La,Xn.prototype.copyTemplate=Xn.prototype.Uy,Xn.prototype.graduatedValueForPoint=Xn.prototype.Gz,Xn.prototype.graduatedPointForValue=Xn.prototype.Fz,Xn.prototype.findColumnForLocalX=Xn.prototype.fz,Xn.prototype.findRowForLocalY=Xn.prototype.nz,Xn.prototype.addColumnDefinition=Xn.prototype.By,Xn.prototype.addRowDefinition=Xn.prototype.Hy,Xn.prototype.addRowColumnDefinition=Xn.prototype.Gy,Xn.prototype.removeColumnDefinition=Xn.prototype.jA,Xn.prototype.getColumnDefinition=Xn.prototype.Eb,Xn.prototype.removeRowDefinition=Xn.prototype.oA,Xn.prototype.getRowDefinition=Xn.prototype.Fb,Xn.prototype.removeAt=Xn.prototype.mb,Xn.prototype.remove=Xn.prototype.remove,Xn.prototype.insertAt=Xn.prototype.Gb,Xn.prototype.elt=Xn.prototype.M,Xn.prototype.add=Xn.prototype.add,Xn.prototype.findObject=Xn.prototype.fb,Xn.prototype.findInVisualTree=Xn.prototype.Nl,Xn.prototype.walkVisualTreeFrom=Xn.prototype.qm,Xn.prototype.findMainElement=Xn.prototype.Pb;var g1=!1,m1=null,Fu=new pr;Xn.className="Panel",Xn.definePanelLayout=cc,cc("Position",new vm),cc("Vertical",new Sm),cc("Auto",new wm),cc("Link",new Mm);function rh(){this.lq=0,this.F=100,this.ia=10,this.V=0,this.Zh=this.o=this.j=this.u=null}rh.prototype.copy=function(){var a=new rh;return a.lq=this.lq,a.F=this.F,a.ia=this.ia,a.V=this.V,a.u=this.u,a.j=this.j,a.o=this.o,a.Zh=this.Zh,a},rh.className="GradPanelSettings";function lu(){this.Pc=[],this.Oc=[],this.j=this.ob=km,this.hb=this.Hb=0,this.Qp=Es,this.Ha=1,this.V=this.ia=null,this.F=1,this.nb=this.o=this.u=null}lu.prototype.copy=function(a){for(var y=new lu,x=this.Pc,b=x.length,E=y.Pc,te=0;te<b;te++)if(x[te]!==void 0){var ne=x[te].copy();ne.wi(a),E[te]=ne}for(x=this.Oc,b=x.length,E=y.Oc,te=0;te<b;te++)x[te]!==void 0&&(ne=x[te].copy(),ne.wi(a),E[te]=ne);return y.ob=this.ob,y.j=this.j,y.Hb=this.Hb,y.hb=this.hb,y.Qp=this.Qp.J(),y.Ha=this.Ha,y.ia=this.ia,y.V=this.V,y.F=this.F,y.u=this.u,y.o=this.o,y.nb=this.nb,y},lu.className="TablePanelSettings";function ja(a){hi(this),this.Me=null,this.uq=!0,this.Za=0,this.Hc=NaN,this.jj=0,this.hj=1/0,this.Jb=io,this.pa=this.oc=this.oa=0,this.be=null,this.oo=P0,this.hg=si,this.lo=this.dg=null,this.mo=NaN,this.Ma=this.tj=null,this.Pm=!1,a&&(Object.assign(this,a),a.column!==void 0?(this.isRow=!1,this.index=a.column):a.row!==void 0&&(this.isRow=!0,this.index=a.row))}ja.prototype.copy=function(){var a=new ja;return a.uq=this.uq,a.Za=this.Za,a.Hc=this.Hc,a.jj=this.jj,a.hj=this.hj,a.Jb=this.Jb,a.oa=this.oa,a.oc=this.oc,a.pa=this.pa,a.hg=this.hg,a.oo=this.oo,this.dg===null?a.dg=null:a.dg=this.dg.J(),a.lo=this.lo,a.mo=this.mo,a.tj=null,this.tj!==null&&(a.separatorDashArray=rn(this.separatorDashArray)),a.Ma=this.Ma,a.Pm=this.Pm,a.be=this.be,a};function Dm(a,y){y.isRow?a.height=y.height:a.width=y.width,a.minimum=y.minimum,a.maximum=y.maximum,a.alignment=y.alignment,a.stretch=y.stretch,a.sizing=y.sizing,a.dg=y.separatorPadding===null?null:y.separatorPadding.J(),a.separatorStroke=y.separatorStroke,a.separatorStrokeWidth=y.separatorStrokeWidth,a.tj=null,y.separatorDashArray&&(a.tj=rn(y.separatorDashArray)),a.background=y.background,a.coversSeparators=y.coversSeparators,a.be=y.be}ot=ja.prototype,ot.qb=function(a){a.classType===ja&&(this.sizing=a)},ot.toString=function(){return"RowColumnDefinition "+(this.isRow?"(Row ":"(Column ")+this.index+") #"+_r(this)},ot.wi=function(a){this.Me=a},ot.Io=function(a){var y=0,x=this.Me;if(this.index!==a&&(a=this.separatorStroke,a===null&&x!==null&&(a=this.isRow?x.defaultRowSeparatorStroke:x.defaultColumnSeparatorStroke),a!==null&&(y=this.separatorStrokeWidth,isNaN(y)&&(x!==null?y=this.isRow?x.defaultRowSeparatorStrokeWidth:x.defaultColumnSeparatorStrokeWidth:y=0))),a=this.dg,a===null)if(x!==null)a=x.defaultSeparatorPadding;else return y;return y+(this.isRow?a.top:a.left)},ot.Wc=function(){var a=0,y=this.Me,x=0,b=this.isRow;if(y!==null&&y.type===Xn.Table)for(var E=b?y.rowDefs.length:y.colDefs.length,te=0;te<E;te++){var ne=b?y.rowDefs[te]:y.colDefs[te];if(ne!==void 0&&ne.oa!==0){x=ne.index;break}}if(this.index!==x&&(x=this.separatorStroke,x===null&&y!==null&&(x=b?y.defaultRowSeparatorStroke:y.defaultColumnSeparatorStroke),x!==null&&(a=this.separatorStrokeWidth,isNaN(a)&&(y!==null?a=b?y.defaultRowSeparatorStrokeWidth:y.defaultColumnSeparatorStrokeWidth:a=0))),b=this.dg,b===null)if(y!==null)b=y.defaultSeparatorPadding;else return a;return a+(this.isRow?b.top+b.bottom:b.left+b.right)},ot.Ob=function(a,y,x){var b=this.Me;if(b!==null&&(b.cb(Ko,a,this,y,x,void 0,void 0),this.be!==null&&(y=b.diagram,y!==null&&!y.skipsModelSourceBindings&&(b=b.ih(),b!==null&&(y=b.data,y!==null)))))for(x=this.be.iterator;x.next();)x.value.sp(this,y,a,b)};function Om(a){if(a.sizing===P0){var y=a.Me;return a.isRow?y.rowSizing:y.columnSizing}return a.sizing}ot.bind=function(a,y,x,b){var E=null;return typeof a=="string"?E=new Pa(a,y,x,b):E=a,E.xd=this,a=this.panel,a!==null&&(y=a.ih(),y!==null&&f1(y)&&Ht("Cannot add a Binding to a RowColumnDefinition that is already frozen: "+E+" on "+a)),this.be===null&&(this.be=new Dn),this.be.add(E),this},Pt.Object.defineProperties(ja.prototype,{panel:{get:function(){return this.Me}},isRow:{get:function(){return this.uq},set:function(a){this.uq=a}},index:{get:function(){return this.Za},set:function(a){this.Za=a}},height:{get:function(){return this.Hc},set:function(a){var y=this.Hc;y!==a&&(0>a&&Kn(a,">= 0",ja,"height"),this.Hc=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("height",y,a))}},width:{get:function(){return this.Hc},set:function(a){var y=this.Hc;y!==a&&(0>a&&Kn(a,">= 0",ja,"width"),this.Hc=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("width",y,a))}},minimum:{get:function(){return this.jj},set:function(a){var y=this.jj;y!==a&&((0>a||!isFinite(a))&&Kn(a,">= 0",ja,"minimum"),this.jj=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("minimum",y,a))}},maximum:{get:function(){return this.hj},set:function(a){var y=this.hj;y!==a&&(0>a&&Kn(a,">= 0",ja,"maximum"),this.hj=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("maximum",y,a))}},alignment:{get:function(){return this.Jb},set:function(a){var y=this.Jb;y.D(a)||(this.Jb=a.J(),this.panel!==null&&this.panel.v(),this.Ob("alignment",y,a))}},stretch:{get:function(){return this.hg},set:function(a){var y=this.hg;y!==a&&(this.hg=a,this.panel!==null&&this.panel.v(),this.Ob("stretch",y,a))}},separatorPadding:{get:function(){return this.dg},set:function(a){typeof a=="number"&&(a=new Or(a));var y=this.dg;a!==null&&y!==null&&y.D(a)||(a!==null&&(a=a.J()),this.dg=a,this.panel!==null&&this.panel.v(),this.Ob("separatorPadding",y,a))}},separatorStroke:{get:function(){return this.lo},set:function(a){var y=this.lo;y!==a&&(a!==null&&Cf(a,"RowColumnDefinition.separatorStroke"),a instanceof uo&&a.freeze(),this.lo=a,this.panel!==null&&this.panel.v(),this.Ob("separatorStroke",y,a))}},separatorStrokeWidth:{get:function(){return this.mo},set:function(a){var y=this.mo;y!==a&&(this.mo=a,this.panel!==null&&this.panel.v(),this.Ob("separatorStrokeWidth",y,a))}},separatorDashArray:{get:function(){return this.tj},set:function(a){var y=this.tj;if(y!==a){if(a!==null){for(var x=a.length,b=0,E=0;E<x;E++){var te=a[E];typeof te=="number"&&0<=te&&isFinite(te)||Ht("separatorDashArray value "+te+" at index "+E+" must be a positive number or zero."),b+=te}if(b===0){if(y===null)return;a=null}}this.tj=a,this.panel!==null&&this.panel.N(),this.Ob("separatorDashArray",y,a)}}},background:{get:function(){return this.Ma},set:function(a){var y=this.Ma;y!==a&&(a!==null&&Cf(a,"RowColumnDefinition.background"),a instanceof uo&&a.freeze(),this.Ma=a,this.panel!==null&&this.panel.N(),this.Ob("background",y,a))}},coversSeparators:{get:function(){return this.Pm},set:function(a){var y=this.Pm;y!==a&&(this.Pm=a,this.panel!==null&&this.panel.N(),this.Ob("coversSeparators",y,a))}},sizing:{get:function(){return this.oo},set:function(a){var y=this.oo;y!==a&&(this.oo=a,this.panel!==null&&this.panel.v(),this.Ob("sizing",y,a))}},actual:{get:function(){return this.oa},set:function(a){this.oa=isNaN(this.Hc)?Math.max(Math.min(this.hj,a),this.jj):Math.max(Math.min(this.hj,this.Hc),this.jj)}},measured:{get:function(){return this.oc},set:function(a){this.oc=a}},total:{get:function(){return this.oa+this.Wc()}},position:{get:function(){return this.pa},set:function(a){this.pa=a}}}),ja.prototype.computeEffectiveSpacing=ja.prototype.Wc,ja.prototype.computeEffectiveSpacingTop=ja.prototype.Io;var P0=new wn(ja,"Default",0),pg=new wn(ja,"None",1),km=new wn(ja,"ProportionalExtra",2);ja.className="RowColumnDefinition",ja.Default=P0,ja.None=pg,ja.ProportionalExtra=km;function pi(a,y){qt.call(this),this.Rd=this.ua=null,this.an="None",this.xc=this.Ui="black",this.ig=1,this.Na=this.Yg=null,this.Vn=this.Un=NaN,this.fa=null,typeof a=="string"?this.figure=a:a&&Object.assign(this,a),y&&Object.assign(this,y)}Zt(pi,qt),pi.prototype.cloneProtected=function(a){qt.prototype.cloneProtected.call(this,a),a.ua=this.ua,a.Rd=this.Rd,a.an=this.an,a.Ui=this.Ui,a.xc=this.xc,a.ig=this.ig,this.Yg!==null&&(a.Yg=rn(this.Yg)),this.Na!==null&&(a.Na=this.Na.nc?this.Na:this.Na.copy()),a.Un=this.Un,a.Vn=this.Vn,this.fa!==null&&(a.fa=this.fa.copy())};function Kd(a){a.Na===null?a.Na=new M0:a.Na.nc&&(a.Na=a.Na.copy())}ot=pi.prototype,ot.th=function(){qt.prototype.th.call(this),this.Na!==null&&(this.Na.nc=!0)},ot.qb=function(a){a===Rn||a===yr||a===Ti||a===si?this.geometryStretch=a:qt.prototype.qb.call(this,a)},ot.toString=function(){return"Shape("+(this.figure!=="None"?this.figure:this.toArrow!=="None"?this.toArrow:this.fromArrow)+")#"+_r(this)};function fp(a,y,x,b){var E=x.length;if(!(4>E)){var te=b.measuredBounds,ne=Math.max(1,te.width);te=te.height;for(var se=x[0],he=x[1],ve,Se,Be,Ve,nt,rt,ct=0,kt=yn(),Mt=2;Mt<E;Mt+=2)ve=x[Mt],Se=x[Mt+1],Be=ve-se,se=Se-he,Be===0&&(Be=.001),Ve=se/Be,nt=Math.atan2(se,Be),rt=Math.sqrt(Be*Be+se*se),kt.push([Be,nt,Ve,rt]),ct+=rt,se=ve,he=Se;se=x[0],he=x[1],Be=b.measuredBounds.width,b instanceof pi&&(Be-=b.strokeWidth),1>Be&&(Be=1),E=x=Be,ve=ne/2,Se=ve!==0,Mt=0,rt=kt[Mt],Be=rt[0],nt=rt[1],Ve=rt[2],rt=rt[3];for(var Rt=0;.1<=ct;){if(Rt===0&&(Se?(E=x,E-=ve,ct-=ve,Se=!1):E=x,E===0&&(E=1)),E>ct){Tn(kt);return}E>rt?(Rt=E-rt,E=rt):Rt=0;var Ut=Math.sqrt(E*E/(1+Ve*Ve));if(0>Be&&(Ut=-Ut),se+=Ut,he+=Ve*Ut,a.translate(se,he),a.rotate(nt),a.translate(-(ne/2),-(te/2)),Rt===0&&b.hh(a,y),a.translate(ne/2,te/2),a.rotate(-nt),a.translate(-se,-he),ct-=E,rt-=E,Rt!==0){if(Mt++,Mt===kt.length){Tn(kt);return}rt=kt[Mt],Be=rt[0],nt=rt[1],Ve=rt[2],rt=rt[3],E=Rt}}Tn(kt)}}ot.hh=function(a,y){var x=this.xc,b=this.Ui;if(x!==null||b!==null){var E=this.ua;if(E!==null){a.yc();var te=this.actualBounds,ne=this.naturalBounds;b!==null&&sa(this,a,b,!0,!1,ne,te);var se=this.part,he=this.ig;if(x===null||he!==0||se===null||!this.isPanelMain&&se.Pb()!==this||(he=se.type===Xn.Link&&se instanceof Vi&&se.category==="Selection"&&se.adornedObject instanceof pi&&se.adornedPart.Pb()===se.adornedObject?se.adornedObject.strokeWidth:0),he===0&&(x=null),x!==null&&he!==0&&(sa(this,a,x,!1,!1,ne,te),a.lineWidth=he,a.lineJoin=this.strokeJoin,a.lineCap=this.strokeCap,a.miterLimit=this.strokeMiterLimit),te=!1,se&&y.Gf("drawShadows")&&(te=se.isShadowed),a.Il===!1&&(te=!1),se=!0,x===null||b!==null&&b!=="transparent"||(se=!1),ne=!1,he=this.strokeDashArray,he!==null&&(ne=!0,a.js(he,this.strokeDashOffset)),E.type===$n.j)a.beginPath(),a.moveTo(E.startX,E.startY),a.lineTo(E.endX,E.endY),x!==null&&a.jk(),a.Se();else if(E.type===$n.u){var ve=E.startX;he=E.startY;var Se=E.endX,Be=E.endY;E=Math.min(ve,Se);var Ve=Math.min(he,Be);ve=Math.abs(Se-ve),he=Math.abs(Be-he),a.beginPath(),a.rect(E,Ve,ve,he),b!==null&&a.ng(b),x!==null&&(se&&te&&Lc(a),a.jk(),se&&te&&qc(a)),a.Se()}else if(E.type===$n.F)ve=E.startX,he=E.startY,Se=E.endX,Be=E.endY,E=Math.abs(Se-ve)/2,Ve=Math.abs(Be-he)/2,ve=Math.min(ve,Se)+E,he=Math.min(he,Be)+Ve,a.beginPath(),a.moveTo(ve,he-Ve),a.bezierCurveTo(ve+tn.wg*E,he-Ve,ve+E,he-tn.wg*Ve,ve+E,he),a.bezierCurveTo(ve+E,he+tn.wg*Ve,ve+tn.wg*E,he+Ve,ve,he+Ve),a.bezierCurveTo(ve-tn.wg*E,he+Ve,ve-E,he+tn.wg*Ve,ve-E,he),a.bezierCurveTo(ve-E,he-tn.wg*Ve,ve-tn.wg*E,he-Ve,ve,he-Ve),a.closePath(),b!==null&&a.ng(b),x!==null&&(se&&te&&Lc(a),a.jk(),se&&te&&qc(a)),a.Se();else if(E.type===$n.o)for(E=E.figures,he=E.length,Ve=0;Ve<he;Ve++){ve=E.s[Ve],a.beginPath(),a.moveTo(ve.startX,ve.startY),Se=ve.segments.s,Be=Se.length;for(var nt=null,rt=0;rt<Be;rt++){var ct=Se[rt];switch(ct.type){case xa:a.moveTo(ct.endX,ct.endY);break;case Mo:a.lineTo(ct.endX,ct.endY);break;case ss:a.bezierCurveTo(ct.point1X,ct.point1Y,ct.point2X,ct.point2Y,ct.endX,ct.endY);break;case Pl:a.quadraticCurveTo(ct.point1X,ct.point1Y,ct.endX,ct.endY);break;case ma:if(ct.radiusX===ct.radiusY){var kt=Math.PI/180;a.arc(ct.point1X,ct.point1Y,ct.radiusX,ct.startAngle*kt,(ct.startAngle+ct.sweepAngle)*kt,0>ct.sweepAngle,nt!==null?nt.endX:ve.startX,nt!==null?nt.endY:ve.startY)}else if(nt=rl(ct,ve),kt=nt.length,kt===0)a.lineTo(ct.centerX,ct.centerY);else for(var Mt=0;Mt<kt;Mt++){var Rt=nt[Mt];Mt===0&&a.lineTo(Rt[0],Rt[1]),a.bezierCurveTo(Rt[2],Rt[3],Rt[4],Rt[5],Rt[6],Rt[7])}break;case zl:if(Mt=kt=0,nt!==null&&nt.type===ma){if(nt=rl(nt,ve),Rt=nt.length,Rt===0){a.lineTo(ct.endX,ct.endY);break}nt=nt[Rt-1]||null,nt!==null&&(kt=nt[6],Mt=nt[7])}else kt=nt!==null?nt.endX:ve.startX,Mt=nt!==null?nt.endY:ve.startY;if(nt=Hs(ct,ve,kt,Mt),kt=nt.length,kt===0){a.lineTo(ct.endX,ct.endY);break}for(Mt=0;Mt<kt;Mt++)Rt=nt[Mt],a.bezierCurveTo(Rt[2],Rt[3],Rt[4],Rt[5],Rt[6],Rt[7]);break;default:Ht("Segment not of valid type: "+ct.type)}ct.isClosed&&a.closePath(),nt=ct}Se=ve.isFilled,te?ve.isShadowed?(Se===!0&&b!=="transparent"&&b!==null&&a.ng(b,ve.isEvenOdd),x!==null&&(Se&&se&&Lc(a),a.jk(),Se&&se&&qc(a))):(Lc(a),Se&&b!=="transparent"&&b!==null&&a.ng(b,ve.isEvenOdd),x!==null&&a.jk(),qc(a)):(Se&&b!==null&&a.ng(b,ve.isEvenOdd),x!==null&&a.jk()),a.Se(Ve)}if(ne&&a.fs(),this.pathPattern!==null){if(x=this.pathPattern,x.measure(1/0,1/0),b=x.measuredBounds,x.arrange(0,0,b.width,b.height),te=this.geometry,a.save(),a.beginPath(),b=yn(),te.type===$n.j)b.push(te.startX),b.push(te.startY),b.push(te.endX),b.push(te.endY),fp(a,y,b,x);else if(te.type===$n.o)for(te=te.figures.iterator;te.next();){for(se=te.value,b.length=0,b.push(se.startX),b.push(se.startY),ne=se.startX,E=se.startY,he=ne,Ve=E,ve=se.segments.s,Se=ve.length,Be=0;Be<Se;Be++){switch(rt=ve[Be],rt.type){case xa:fp(a,y,b,x),b.length=0,b.push(rt.endX),b.push(rt.endY),ne=rt.endX,E=rt.endY,he=ne,Ve=E;break;case Mo:b.push(rt.endX),b.push(rt.endY),ne=rt.endX,E=rt.endY;break;case ss:tn.Qe(ne,E,rt.point1X,rt.point1Y,rt.point2X,rt.point2Y,rt.endX,rt.endY,.5,b),ne=rt.endX,E=rt.endY;break;case Pl:tn.ep(ne,E,rt.point1X,rt.point1Y,rt.endX,rt.endY,.5,b),ne=rt.endX,E=rt.endY;break;case ma:if(ct=rl(rt,se),nt=ct.length,nt===0){b.push(rt.centerX),b.push(rt.centerY),ne=rt.centerX,E=rt.centerY;break}for(kt=0;kt<nt;kt++)Mt=ct[kt],tn.Qe(ne,E,Mt[2],Mt[3],Mt[4],Mt[5],Mt[6],Mt[7],.5,b),ne=Mt[6],E=Mt[7];break;case zl:if(ct=Hs(rt,se,ne,E),nt=ct.length,nt===0){b.push(rt.endX),b.push(rt.endY),ne=rt.endX,E=rt.endY;break}for(kt=0;kt<nt;kt++)Mt=ct[kt],tn.Qe(ne,E,Mt[2],Mt[3],Mt[4],Mt[5],Mt[6],Mt[7],.5,b),ne=Mt[6],E=Mt[7];break;default:Ht("Segment not of valid type: "+rt.type)}rt.isClosed&&(b.push(he),b.push(Ve),fp(a,y,b,x))}fp(a,y,b,x)}else if(te.type===$n.u)b.push(te.startX),b.push(te.startY),b.push(te.endX),b.push(te.startY),b.push(te.endX),b.push(te.endY),b.push(te.startX),b.push(te.endY),b.push(te.startX),b.push(te.startY),fp(a,y,b,x);else if(te.type===$n.F){if(E=new Ga,E.startX=te.endX,E.startY=(te.startY+te.endY)/2,ne=new Zi(ma),ne.startAngle=0,ne.sweepAngle=360,ne.centerX=(te.startX+te.endX)/2,ne.centerY=(te.startY+te.endY)/2,ne.radiusX=Math.abs(te.startX-te.endX)/2,ne.radiusY=Math.abs(te.startY-te.endY)/2,E.add(ne),te=rl(ne,E),se=te.length,se===0)b.push(ne.centerX),b.push(ne.centerY);else for(ne=E.startX,E=E.startY,he=0;he<se;he++)Ve=te[he],tn.Qe(ne,E,Ve[2],Ve[3],Ve[4],Ve[5],Ve[6],Ve[7],.5,b),ne=Ve[6],E=Ve[7];fp(a,y,b,x)}Tn(b),a.restore(),a.Vc(!1)}}}},ot.kk=function(a,y,x){return!qt.prototype.kk.call(this,a,y,x)||this.xc===null&&this.Ui===null||this.ua===null||this.pathPattern!==null||this.geometry.figures.length!==this.svg.getElementsByTagName("path").length?!1:(a.Hl=this.svg,this.hh(a,y),a.Hl=null,!0)},ot.nk=function(a){return this.geometry!==null&&1<this.geometry.figures.length||this.pathPattern!==null?!0:qt.prototype.nk.call(this,a)},ot.Dv=function(a,y){if(a.nodeName!=="g")a.setAttributeNS(null,"filter",y);else{a=a.getElementsByTagName("path");for(var x=0;x<a.length;x++)a[x].setAttributeNS(null,"filter",y)}},ot.ga=function(a,y){if(y===void 0&&(y=new Lt),a instanceof wr){a.Mc()&&Ht("getDocumentPoint Spot must be a real, specific Spot, not: "+a.toString());var x=this.naturalBounds,b=this.strokeWidth;y.h(a.x*(x.width+b)-b/2+x.x+a.offsetX,a.y*(x.height+b)-b/2+x.y+a.offsetY)}else y.set(a);return this.oe.Ga(y),y},ot.mi=function(a){a===void 0&&(a=new Mn);var y=this.naturalBounds,x=this.oe;y=Mn.allocAt(y.x,y.y,y.width,y.height);var b=this.strokeWidth;return y.Bc(b/2,b/2),b=Lt.allocAt(y.x,y.y).transform(x),a.h(b.x,b.y,0,0),b.h(y.right,y.y).transform(x),eo(a,b.x,b.y,0,0),b.h(y.right,y.bottom).transform(x),eo(a,b.x,b.y,0,0),b.h(y.x,y.bottom).transform(x),eo(a,b.x,b.y,0,0),Mn.free(y),Lt.free(b),a},ot.gh=function(a,y){var x=this.geometry;if(x===null||this.fill===null&&this.stroke===null)return!1;var b=x.bounds,E=this.strokeWidth/2;x.type!==$n.j||y||(E+=2);var te=Mn.alloc();if(te.assign(b),te.Bc(E+2,E+2),!te.ca(a))return Mn.free(te),!1;if(b=E+1e-4,x.type===$n.j)return this.stroke===null||(b=(x.endX-x.startX)*(a.x-x.startX)+(x.endY-x.startY)*(a.y-x.startY),0>(x.startX-x.endX)*(a.x-x.endX)+(x.startY-x.endY)*(a.y-x.endY)||0>b)?!1:(Mn.free(te),tn.Yb(x.startX,x.startY,x.endX,x.endY,E,a.x,a.y));if(x.type===$n.u){y=x.startX;var ne=x.startY,se=x.endX;if(x=x.endY,te.x=Math.min(y,se),te.y=Math.min(ne,x),te.width=Math.abs(se-y),te.height=Math.abs(x-ne),this.fill===null){if(te.Bc(-b,-b),te.ca(a))return Mn.free(te),!1;te.Bc(b,b)}return this.stroke!==null&&te.Bc(E,E),a=te.ca(a),Mn.free(te),a}if(x.type===$n.F){ne=x.startX,E=x.startY,se=x.endX;var he=x.endY;if(x=Math.min(ne,se),y=Math.min(E,he),ne=Math.abs(se-ne)/2,E=Math.abs(he-E)/2,x=a.x-(x+ne),y=a.y-(y+E),this.fill===null){if(ne-=b,E-=b,0>=ne||0>=E||1>=x*x/(ne*ne)+y*y/(E*E))return Mn.free(te),!1;ne+=b,E+=b}return this.stroke!==null&&(ne+=b,E+=b),Mn.free(te),0>=ne||0>=E?!1:1>=x*x/(ne*ne)+y*y/(E*E)}if(x.type===$n.o)return Mn.free(te),this.fill===null?ic(x,a.x,a.y,E):Hu(x,a,E,1<this.strokeWidth,y);Ht("Unknown Geometry type: "+x.type)},ot.Wl=function(a,y,x,b){var E=this.desiredSize,te=this.ig;if(a=Math.max(a,0),y=Math.max(y,0),this.Rd!==null)var ne=this.geometry.bounds;else{var se=this.figure,he=A0[se];if(he===void 0){var ve=tn.Ze[se];typeof ve=="string"&&(ve=tn.Ze[ve]),typeof ve=="function"?(he=ve(null,100,100),A0[se]=he):Ht("Unsupported Figure: "+se)}ne=he.bounds}se=ne.width,he=ne.height,ve=ne.width;var Se=ne.height;switch(sl(this,!0)){case Rn:b=x=0;break;case Vn:ve=Math.max(a-te,0),Se=Math.max(y-te,0);break;case Pr:ve=Math.max(a-te,0),b=0;break;case Hr:x=0,Se=Math.max(y-te,0)}isFinite(E.width)&&(ve=E.width),isFinite(E.height)&&(Se=E.height);var Be=this.maxSize,Ve=this.minSize;switch(x=Math.max(x-te,Ve.width),b=Math.max(b-te,Ve.height),ve=Math.min(Be.width,ve),Se=Math.min(Be.height,Se),ve=isFinite(ve)?Math.max(x,ve):Math.max(se,x),Se=isFinite(Se)?Math.max(b,Se):Math.max(he,b),x=E0(this),x){case Rn:break;case Vn:se=ve,he=Se;break;case yr:x=Math.min(ve/se,Se/he),isFinite(x)||(x=1),se*=x,he*=x;break;default:Ht(x+" is not a valid geometryStretch.")}this.Rd!==null?(se===0&&(se=.001),he===0&&(he=.001),x=this.Rd!==null?this.Rd:this.ua,ne=x.bounds,b=se/ne.width,ne=he/ne.height,isFinite(b)||(b=1),isFinite(ne)||(ne=1),this.ua=b===1&&ne===1?x:x.copy().scale(b,ne)):this.ua!==null&&tn.$(this.ua.Sk,a-te)&&tn.$(this.ua.Rk,y-te)||(this.ua=pi.makeGeometry(this,se,he)),ne=this.ua.bounds,a===1/0||y===1/0?this.Ge(ne.x-te/2,ne.y-te/2,a===0&&se===0?0:ne.width+te,y===0&&he===0?0:ne.height+te):this.Ge(-(te/2),-(te/2),ve+te,Se+te),E.w()?(ve=E.width,Se=E.height,ve=Math.min(Be.width,ve),Se=Math.min(Be.height,Se),ve=Math.max(Ve.width,ve),Se=Math.max(Ve.height,Se),this.dc.h(0,0,ve,Se)):this.dc.assign(ne)};function E0(a){var y=a.geometryStretch;return a.Rd!==null?y===si?Vn:y:y===si?A0[a.figure].defaultStretch:y}ot.eh=function(a,y,x,b){Is(this,a,y,x,b)},ot.rs=function(a,y,x){return this.Sj(a.x,a.y,y.x,y.y,x)},ot.Sj=function(a,y,x,b,E){var te=this.transform,ne=1/(te.m11*te.m22-te.m12*te.m21),se=te.m22*ne,he=-te.m12*ne,ve=-te.m21*ne,Se=te.m11*ne,Be=ne*(te.m21*te.dy-te.m22*te.dx),Ve=ne*(te.m12*te.dx-te.m11*te.dy);te=a*se+y*ve+Be,ne=a*he+y*Se+Ve,se=x*se+b*ve+Be,he=x*he+b*Se+Ve,Be=this.ig/2,ve=this.ua,ve===null&&(this.measure(1/0,1/0),ve=this.ua);var nt=ve.bounds;if(Se=!1,ve.type===$n.j)if(1.5>=this.strokeWidth)Se=tn.Ve(ve.startX,ve.startY,ve.endX,ve.endY,te,ne,se,he,E);else{if(ve.startX===ve.endX?(b=Be,Se=0):(y=(ve.endY-ve.startY)/(ve.endX-ve.startX),Se=Be/Math.sqrt(1+y*y),b=Se*y),y=yn(),a=new Lt,tn.Ve(ve.startX+b,ve.startY+Se,ve.endX+b,ve.endY+Se,te,ne,se,he,a)&&y.push(a),a=new Lt,tn.Ve(ve.startX-b,ve.startY-Se,ve.endX-b,ve.endY-Se,te,ne,se,he,a)&&y.push(a),a=new Lt,tn.Ve(ve.startX+b,ve.startY+Se,ve.startX-b,ve.startY-Se,te,ne,se,he,a)&&y.push(a),a=new Lt,tn.Ve(ve.endX+b,ve.endY+Se,ve.endX-b,ve.endY-Se,te,ne,se,he,a)&&y.push(a),se=y.length,se===0)return Tn(y),!1;for(Se=!0,he=1/0,b=0;b<se;b++)a=y[b],x=(a.x-te)*(a.x-te)+(a.y-ne)*(a.y-ne),x<he&&(he=x,E.x=a.x,E.y=a.y);Tn(y)}else if(ve.type===$n.u)Se=tn.Ff(nt.x-Be,nt.y-Be,nt.x+nt.width+Be,nt.y+nt.height+Be,te,ne,se,he,E);else if(ve.type===$n.F){y=Mn.allocAt(nt.x,nt.y,nt.width,nt.height).Bc(Be,Be);e:if(y.width===0)Se=tn.Ve(y.x,y.y,y.x,y.y+y.height,te,ne,se,he,E);else if(y.height===0)Se=tn.Ve(y.x,y.y,y.x+y.width,y.y,te,ne,se,he,E);else{if(a=y.width/2,ve=y.height/2,b=y.x+a,Se=y.y+ve,x=9999,te!==se&&(x=(ne-he)/(te-se)),9999>Math.abs(x)){if(he=ne-Se-x*(te-b),0>a*a*x*x+ve*ve-he*he){E.x=NaN,E.y=NaN,Se=!1;break e}Be=Math.sqrt(a*a*x*x+ve*ve-he*he),se=(-(a*a*x*he)+a*ve*Be)/(ve*ve+a*a*x*x)+b,a=(-(a*a*x*he)-a*ve*Be)/(ve*ve+a*a*x*x)+b,ve=x*(se-b)+he+Se,he=x*(a-b)+he+Se,Math.abs((te-se)*(te-se))+Math.abs((ne-ve)*(ne-ve))<Math.abs((te-a)*(te-a))+Math.abs((ne-he)*(ne-he))?(E.x=se,E.y=ve):(E.x=a,E.y=he)}else{if(se=ve*ve,he=te-b,se-=se/(a*a)*he*he,0>se){E.x=NaN,E.y=NaN,Se=!1;break e}he=Math.sqrt(se),se=Se+he,he=Se-he,Math.abs(se-ne)<Math.abs(he-ne)?(E.x=te,E.y=se):(E.x=te,E.y=he)}Se=!0}Mn.free(y)}else if(ve.type===$n.o){Ve=Lt.alloc();var rt=se-te,ct=he-ne,kt=rt*rt+ct*ct,Mt=te,Rt=ne;if(0<kt&&nt.contains(Mt,Rt)&&(Ve.x=Mt,Ve.y=Rt,this.ca(Ve)))for(rt!==0&&.5>Math.abs(rt)?(ct*=.5/rt,rt=.5):ct!==0&&.5>Math.abs(ct)&&(rt*=.5/ct,ct=.5),Mt-=rt,Rt-=ct;nt.contains(Mt,Rt);)Mt-=rt,Rt-=ct;for(E.x=se,E.y=he,ct=0;ct<ve.figures.count;ct++){var Ut=ve.figures.s[ct],Yt=Ut.isFilled?Mt:te,$t=Ut.isFilled?Rt:ne,dn=Ut.segments;nt=Ut.startX,rt=Ut.startY;for(var rr=nt,mr=rt,cr=0;cr<dn.count;cr++){var Qn=dn.s[cr],Bn=Qn.type,ti=Qn.endX,Yr=Qn.endY,Ji=!1;switch(Bn){case xa:rr=ti,mr=Yr;break;case Mo:Ji=Bm(nt,rt,ti,Yr,Yt,$t,se,he,Ve);break;case ss:Ji=tn.Eo(nt,rt,Qn.point1X,Qn.point1Y,Qn.point2X,Qn.point2Y,ti,Yr,Yt,$t,se,he,.6,Ve);break;case Pl:Ji=tn.Eo(nt,rt,nt+2/3*(Qn.point1X-nt),rt+2/3*(Qn.point1Y-rt),ti+2/3*(Qn.point1X-ti),Yr+2/3*(Qn.point1Y-Yr),ti,Yr,Yt,$t,se,he,.6,Ve);break;case ma:case zl:Bn=Qn.type===ma?rl(Qn,Ut):Hs(Qn,Ut,nt,rt);var Eo=Bn.length;if(Eo===0){Ji=Bm(nt,rt,Qn.type===ma?Qn.centerX:Qn.endX,Qn.type===ma?Qn.centerY:Qn.endY,Yt,$t,se,he,Ve);break}for(Yr=null,ti=0;ti<Eo;ti++){if(Yr=Bn[ti],ti===0&&Bm(nt,rt,Yr[0],Yr[1],Yt,$t,se,he,Ve)){var qa=Nm(Yt,$t,Ve,kt,E);qa<kt&&(kt=qa,Se=!0)}tn.Eo(Yr[0],Yr[1],Yr[2],Yr[3],Yr[4],Yr[5],Yr[6],Yr[7],Yt,$t,se,he,.6,Ve)&&(qa=Nm(Yt,$t,Ve,kt,E),qa<kt&&(kt=qa,Se=!0))}ti=Yr[6],Yr=Yr[7];break;default:Ht("Unknown Segment type: "+Bn)}nt=ti,rt=Yr,Ji&&(Ji=Nm(Yt,$t,Ve,kt,E),Ji<kt&&(kt=Ji,Se=!0)),Qn.isClosed&&(ti=rr,Yr=mr,Bm(nt,rt,ti,Yr,Yt,$t,se,he,Ve)&&(Qn=Nm(Yt,$t,Ve,kt,E),Qn<kt&&(kt=Qn,Se=!0)))}}te=x-a,ne=b-y,se=Math.sqrt(te*te+ne*ne),se!==0&&(te/=se,ne/=se),E.x-=te*Be,E.y-=ne*Be,Lt.free(Ve)}else Ht("Unknown Geometry type: "+ve.type);return Se?(this.transform.Ga(E),!0):!1};function Nm(a,y,x,b,E){return a=x.x-a,y=x.y-y,y=a*a+y*y,y<b?(E.x=x.x,E.y=x.y,y):b}function Bm(a,y,x,b,E,te,ne,se,he){if(tn.$(a,x)&&tn.$(y,b)||tn.$(E,ne)&&tn.$(te,se))return!1;var ve=!1,Se=(E-ne)*(y-b)-(te-se)*(a-x);return Se===0?!1:(he.x=((E*se-te*ne)*(a-x)-(E-ne)*(a*b-y*x))/Se,he.y=((E*se-te*ne)*(y-b)-(te-se)*(a*b-y*x))/Se,(a>x?a-x:x-a)<(y>b?y-b:b-y)?(a=y<b?y:b,y=y<b?b:y,(he.y>a||tn.$(he.y,a))&&(he.y<y||tn.$(he.y,y))&&(ve=!0)):(y=a<x?a:x,a=a<x?x:a,(he.x>y||tn.$(he.x,y))&&(he.x<a||tn.$(he.x,a))&&(ve=!0)),ve)}ot.fh=function(a,y){if(y===void 0)return a.Re(this.actualBounds);var x=this.ua;x===null&&(this.measure(1/0,1/0),x=this.ua),x=x.bounds;var b=this.strokeWidth/2,E=!1,te=Lt.alloc();return te.h(x.x-b,x.y-b),a.ca(y.Ga(te))&&(te.h(x.x-b,x.bottom+b),a.ca(y.Ga(te))&&(te.h(x.right+b,x.bottom+b),a.ca(y.Ga(te))&&(te.h(x.right+b,x.y-b),a.ca(y.Ga(te))&&(E=!0)))),Lt.free(te),E},ot.Yc=function(a,y){if(this.fh(a,y)||y===void 0&&(y=this.transform,a.Re(this.actualBounds)))return!0;var x=mi.alloc();x.set(y),x.Vj();var b=a.left,E=a.right,te=a.top;a=a.bottom;var ne=Lt.alloc();if(ne.h(b,te),x.Ga(ne),this.gh(ne,!0)||(ne.h(E,te),x.Ga(ne),this.gh(ne,!0))||(ne.h(b,a),x.Ga(ne),this.gh(ne,!0))||(ne.h(E,a),x.Ga(ne),this.gh(ne,!0)))return Lt.free(ne),!0;var se=Lt.alloc(),he=Lt.alloc();return x.set(y),x.bv(this.transform),x.Vj(),se.x=E,se.y=te,se.transform(x),ne.x=b,ne.y=te,ne.transform(x),y=!1,Vd(this,ne,se,he)?y=!0:(ne.x=E,ne.y=a,ne.transform(x),Vd(this,ne,se,he)?y=!0:(se.x=b,se.y=a,se.transform(x),Vd(this,ne,se,he)?y=!0:(ne.x=b,ne.y=te,ne.transform(x),Vd(this,ne,se,he)&&(y=!0)))),Lt.free(ne),mi.free(x),Lt.free(se),Lt.free(he),y};function Vd(a,y,x,b){if(!a.rs(y,x,b))return!1;a=y.x,y=y.y;var E=x.x,te=x.y;return x=b.x,b=b.y,a===E?(y<te?(a=y,y=te):a=te,b>=a&&b<=y):(a<E?(b=a,a=E):b=E,x>=b&&x<=a)}ot.tx=function(a,y,x){function b(kt,Mt){for(var Rt=kt.length,Ut=0;Ut<Rt;Ut+=2)if(Mt.zd(kt[Ut],kt[Ut+1])>E)return!0;return!1}if(x&&this.fill!==null&&this.gh(a,!0))return!0;var E=a.Bf(y),te=E;if(1.5<this.strokeWidth&&(E=this.strokeWidth/2+Math.sqrt(E),E*=E),y=this.ua,y===null&&(this.measure(1/0,1/0),y=this.ua,y===null))return!1;if(!x){var ne=y.bounds,se=ne.x,he=ne.y,ve=ne.x+ne.width;if(ne=ne.y+ne.height,Po(a.x,a.y,se,he)<=E&&Po(a.x,a.y,ve,he)<=E&&Po(a.x,a.y,se,ne)<=E&&Po(a.x,a.y,ve,ne)<=E)return!0}if(se=y.startX,he=y.startY,ve=y.endX,ne=y.endY,y.type===$n.j){if(x=(se-ve)*(a.x-ve)+(he-ne)*(a.y-ne),so(a.x,a.y,se,he,ve,ne)<=(0<=(ve-se)*(a.x-se)+(ne-he)*(a.y-he)&&0<=x?E:te))return!0}else{if(y.type===$n.u)return y=!1,x&&(y=so(a.x,a.y,se,he,se,ne)<=E||so(a.x,a.y,se,he,ve,he)<=E||so(a.x,a.y,ve,he,ve,ne)<=E||so(a.x,a.y,se,ne,ve,ne)<=E),y;if(y.type===$n.F){y=a.x-(se+ve)/2,te=a.y-(he+ne)/2;var Se=Math.abs(ve-se)/2,Be=Math.abs(ne-he)/2;if(Se===0||Be===0)return so(a.x,a.y,se,he,ve,ne)<=E;if(x){if(a=tn.$y(Se,Be,y,te),a*a<=E)return!0}else return!(Po(y,te,-Se,0)>=E||Po(y,te,0,-Be)>=E||Po(y,te,0,Be)>=E||Po(y,te,Se,0)>=E)}else if(y.type===$n.o){if(ve=y.bounds,te=ve.x,se=ve.y,he=ve.x+ve.width,ve=ve.y+ve.height,a.x>he&&a.x<te&&a.y>ve&&a.y<se&&so(a.x,a.y,te,se,te,ve)>E&&so(a.x,a.y,te,se,he,se)>E&&so(a.x,a.y,he,ve,te,ve)>E&&so(a.x,a.y,he,ve,he,se)>E)return!1;if(te=Math.sqrt(E),x){if(this.fill===null?ic(y,a.x,a.y,te):Hu(y,a,te,!0,!1))return!0}else{for(x=y.figures,y=0;y<x.count;y++){if(te=x.s[y],ne=te.startX,Se=te.startY,a.zd(ne,Se)>E)return!1;for(se=te.segments.s,he=se.length,ve=0;ve<he;ve++)switch(Be=se[ve],Be.type){case xa:case Mo:if(ne=Be.endX,Se=Be.endY,a.zd(ne,Se)>E)return!1;break;case ss:var Ve=yn();if(tn.Qe(ne,Se,Be.point1X,Be.point1Y,Be.point2X,Be.point2Y,Be.endX,Be.endY,.8,Ve),ne=b(Ve,a),Tn(Ve),ne||(ne=Be.endX,Se=Be.endY,a.zd(ne,Se)>E))return!1;break;case Pl:if(Ve=yn(),tn.ep(ne,Se,Be.point1X,Be.point1Y,Be.endX,Be.endY,.8,Ve),ne=b(Ve,a),Tn(Ve),ne||(ne=Be.endX,Se=Be.endY,a.zd(ne,Se)>E))return!1;break;case ma:case zl:Ve=Be.type===ma?rl(Be,te):Hs(Be,te,ne,Se);var nt=Ve.length;if(nt===0){if(ne=Be.type===ma?Be.centerX:Be.endX,Se=Be.type===ma?Be.centerY:Be.endY,a.zd(ne,Se)>E)return!1;break}Be=null;for(var rt=yn(),ct=0;ct<nt;ct++)if(Be=Ve[ct],rt.length=0,tn.Qe(Be[0],Be[1],Be[2],Be[3],Be[4],Be[5],Be[6],Be[7],.8,rt),b(rt,a))return Tn(rt),!1;Tn(rt),Be!==null&&(ne=Be[6],Se=Be[7]);break;default:Ht("Unknown Segment type: "+Be.type)}}return!0}}}return!1},ot.qc=function(){this.ua=null},ot.kq=function(){return this.ig};function v1(a){var y=a.diagram;y!==null&&y.undoManager.isUndoingRedoing||(a.segmentOrientation=Cg,a.toArrow!=="None"?(a.segmentIndex=-1,a.alignmentFocus=Ya):a.fromArrow!=="None"&&(a.segmentIndex=0,a.alignmentFocus=new wr(1-Ya.x,Ya.y)))}pi.makeGeometry=function(a,y,x){if(a.toArrow!=="None")var b=Fc[a.toArrow];else a.fromArrow!=="None"?b=Fc[a.fromArrow]:(b=tn.Ze[a.figure],typeof b=="string"&&(b=tn.Ze[b]),b===void 0&&Ht("Unknown Shape.figure: "+a.figure),b=b(a,y,x),b.Sk=y,b.Rk=x);if(b===null){var E=tn.Ze.Rectangle;typeof E=="function"&&(b=E(a,y,x))}return b};function y1(a){var y=Fc[a];if(y===void 0){var x=a.toLowerCase();if(x==="none")return"None";if(y=Fc[x],y===void 0){var b=null,E;for(E in tn.um)if(E.toLowerCase()===x){b=E;break}if(b!==null)return a=$n.parse(tn.um[b],!1),Fc[b]=a,x!==b&&(Fc[x]=b),b}}return typeof y=="string"?y:y instanceof $n?a:null}Pt.Object.defineProperties(pi.prototype,{geometry:{get:function(){return this.ua!==null?this.ua:this.Rd},set:function(a){var y=this.ua,x=this.Rd;if(y!==a){a!==null?this.Rd=this.ua=a.freeze():this.Rd=this.ua=null;var b=this.part;b!==null&&(b.ag=NaN),this.v(),this.g("geometry",y||x,a),ys(this)&&(a=this.part,a!==null&&No(this,a,"geometryString"))}}},geometryString:{get:function(){return this.geometry===null?"":this.geometry.toString()},set:function(a){a=$n.parse(a);var y=a.normalize();this.geometry=a,this.position=a=Lt.allocAt(-y.x,-y.y),Lt.free(a)}},isGeometryPositioned:{get:function(){return(this.l&1048576)!==0},set:function(a){var y=(this.l&1048576)!==0;y!==a&&(this.l^=1048576,this.v(),this.g("isGeometryPositioned",y,a))}},fill:{get:function(){return this.Ui},set:function(a){var y=this.Ui;y!==a&&(a!==null&&Cf(a,"Shape.fill"),a instanceof uo&&a.freeze(),this.Ui=a,this.N(),this.g("fill",y,a))}},stroke:{get:function(){return this.xc},set:function(a){var y=this.xc;y!==a&&(a!==null&&Cf(a,"Shape.stroke"),a instanceof uo&&a.freeze(),this.xc=a,this.N(),this.g("stroke",y,a))}},strokeWidth:{get:function(){return this.ig},set:function(a){var y=this.ig;if(y!==a)if(0<=a){this.ig=a,this.v();var x=this.part;x!==null&&(x.ag=NaN),this.g("strokeWidth",y,a)}else Kn(a,"value >= 0",pi,"strokeWidth:value")}},strokeCap:{get:function(){return this.Na!==null?this.Na.Hr:"butt"},set:function(a){var y=this.strokeCap;y!==a&&(typeof a!="string"||a!=="butt"&&a!=="round"&&a!=="square"?Kn(a,'"butt", "round", or "square"',pi,"strokeCap"):(Kd(this),this.Na.Hr=a,this.N(),this.g("strokeCap",y,a)))}},strokeJoin:{get:function(){return this.Na!==null?this.Na.Ir:"miter"},set:function(a){var y=this.strokeJoin;y!==a&&(typeof a!="string"||a!=="miter"&&a!=="bevel"&&a!=="round"?Kn(a,'"miter", "bevel", or "round"',pi,"strokeJoin"):(Kd(this),this.Na.Ir=a,this.N(),this.g("strokeJoin",y,a)))}},strokeMiterLimit:{get:function(){return this.Na!==null?this.Na.Jr:10},set:function(a){var y=this.strokeMiterLimit;if(y!==a&&1<=a){Kd(this),this.Na.Jr=a,this.N();var x=this.part;x!==null&&(x.ag=NaN),this.g("strokeMiterLimit",y,a)}}},strokeDashArray:{get:function(){return this.Yg},set:function(a){var y=this.Yg;if(y!==a){if(a!==null){for(var x=a.length,b=0,E=0;E<x;E++){var te=a[E];0<=te&&isFinite(te)||Ht("strokeDashArray:value "+te+" at index "+E+" must be a positive number or zero."),b+=te}if(b===0){if(y===null)return;a=null}}this.Yg=a,this.N(),this.g("strokeDashArray",y,a)}}},strokeDashOffset:{get:function(){return this.Na!==null?this.Na.uj:0},set:function(a){var y=this.strokeDashOffset;y!==a&&0<=a&&(Kd(this),this.Na.uj=a,this.N(),this.g("strokeDashOffset",y,a))}},figure:{get:function(){return this.an},set:function(a){var y=this.an;if(y!==a){var x=tn.Ze[a];typeof x=="function"?x=a:(x=tn.Ze[a.toLowerCase()])||Ht("Unknown Shape.figure: "+a),y!==x&&(a=this.part,a!==null&&(a.ag=NaN),this.an=x,this.Rd=null,this.qc(),this.v(),this.g("figure",y,x))}}},toArrow:{get:function(){return this.Ua!==null?this.Ua.V:"None"},set:function(a){var y=this.toArrow;if(a===!0?a="Standard":a===!1&&(a=""),y!==a){var x=y1(a);x===null?Ht("Unknown Shape.toArrow: "+a):y!==x&&(this.Ua===null&&(this.Ua=new qh),this.Ua.V=x,this.Rd=null,this.qc(),this.v(),v1(this),this.g("toArrow",y,x))}}},fromArrow:{get:function(){return this.Ua!==null?this.Ua.j:"None"},set:function(a){var y=this.fromArrow;if(a===!0?a="Standard":a===!1&&(a=""),y!==a){var x=y1(a);x===null?Ht("Unknown Shape.fromArrow: "+a):y!==x&&(this.Ua===null&&(this.Ua=new qh),this.Ua.j=x,this.Rd=null,this.qc(),this.v(),v1(this),this.g("fromArrow",y,x))}}},spot1:{get:function(){return this.Na!==null?this.Na.fg:io},set:function(a){var y=this.spot1;y.D(a)||(a=a.J(),Kd(this),this.Na.fg=a,this.v(),this.g("spot1",y,a))}},spot2:{get:function(){return this.Na!==null?this.Na.gg:io},set:function(a){var y=this.spot2;y.D(a)||(a=a.J(),Kd(this),this.Na.gg=a,this.v(),this.g("spot2",y,a))}},parameter1:{get:function(){return this.Un},set:function(a){var y=this.Un;y!==a&&(this.Un=a,this.qc(),this.v(),this.g("parameter1",y,a))}},parameter2:{get:function(){return this.Vn},set:function(a){var y=this.Vn;y!==a&&(this.Vn=a,this.qc(),this.v(),this.g("parameter2",y,a))}},naturalBounds:{get:function(){return this.dc}},pathPattern:{get:function(){return this.Na!==null?this.Na.br:null},set:function(a){var y=this.pathPattern;y!==a&&(Kd(this),this.Na.br=a,this.N(),this.g("pathPattern",y,a))}},geometryStretch:{get:function(){return this.Na!==null?this.Na.jq:si},set:function(a){var y=this.geometryStretch;y!==a&&(Kd(this),this.Na.jq=a,this.v(),this.g("geometryStretch",y,a))}},interval:{get:function(){return this.fa!==null?this.fa.Tk:1},set:function(a){var y=this.interval;if(a=Math.round(a),y!==a&&a!==0&&isFinite(a)){this.fa===null&&(this.fa=new Dc),this.fa.Tk=a;var x=this.diagram;x!==null&&this.panel===x.grid&&sc(x),this.v(),x=this.panel,x!==null&&(x.graduatedIntervals=null),this.g("interval",y,a)}}},graduatedStart:{get:function(){return this.fa!==null?this.fa.u:0},set:function(a){var y=this.graduatedStart;y!==a&&(0>a?a=0:1<a&&(a=1),this.fa===null&&(this.fa=new Dc),this.fa.u=a,this.v(),this.g("graduatedStart",y,a))}},graduatedEnd:{get:function(){return this.fa!==null?this.fa.j:1},set:function(a){var y=this.graduatedEnd;y!==a&&(0>a?a=0:1<a&&(a=1),this.fa===null&&(this.fa=new Dc),this.fa.j=a,this.v(),this.g("graduatedEnd",y,a))}},graduatedSkip:{get:function(){return this.fa!==null?this.fa.o:null},set:function(a){var y=this.graduatedSkip;y!==a&&(this.fa===null&&(this.fa=new Dc),this.fa.o=a,this.v(),this.g("graduatedSkip",y,a))}}}),pi.prototype.intersectsRect=pi.prototype.Yc,pi.prototype.containedInRect=pi.prototype.fh,pi.prototype.getNearestIntersectionPoint=pi.prototype.rs,pi.prototype.getDocumentBounds=pi.prototype.mi,pi.prototype.getDocumentPoint=pi.prototype.ga;var Fc=new Ar,A0=new Ar;pi.className="Shape",pi.getFigureGenerators=function(){var a=new pr,y;for(y in tn.Ze)y!==y.toLowerCase()&&a.add(y,tn.Ze[y]);return a.freeze(),a},pi.defineFigureGenerator=function(a,y){var x=a.toLowerCase(),b=tn.Ze;b[a]=y,b[x]=a},pi.getArrowheadGeometries=function(){var a=new pr;for(b in tn.um)if(Fc[b]===void 0){var y=$n.parse(tn.um[b],!1);Fc[b]=y,y=b.toLowerCase(),y!==b&&(Fc[y]=b)}for(var x in Fc)if(x!==x.toLowerCase()){var b=Fc[x];b instanceof $n&&a.add(x,b)}return a.freeze(),a},pi.defineArrowheadGeometry=function(a,y){var x=null;typeof y=="string"?x=$n.parse(y,!1):x=y,y=a.toLowerCase(),y!=="none"&&a!==y||Ht("Shape.defineArrowheadGeometry name must not be empty or None or all-lower-case: "+a);var b=Fc;b[a]=x,b[y]=a};function M0(){this.nc=!1,this.Hr="butt",this.Ir="miter",this.Jr=10,this.uj=0,this.br=null,this.jq=si,this.gg=this.fg=io}M0.prototype.copy=function(){var a=new M0;return a.Hr=this.Hr,a.Ir=this.Ir,a.Jr=this.Jr,a.uj=this.uj,a.br=this.br,a.jq=this.jq,a.fg=this.fg.J(),a.gg=this.gg.J(),a};function Lo(a,y){return qt.call(this),Wm||(ll=ia?new yu(null).context:null,Wm=!0),this.l|=2097152,this.ec="",this.xc="black",this.Ae="13px sans-serif",this.Lq=this.Cb=this.Gc=0,this.da=this.fa=this.Gm=null,this.Ih=0,this.df=null,this.Le=0,this.ze=this.Qb=this.Qc=null,typeof a=="string"?this.text=a:a&&Object.assign(this,a),y&&Object.assign(this,y),this}Zt(Lo,qt),Lo.prototype.cloneProtected=function(a){qt.prototype.cloneProtected.call(this,a),a.ec=this.ec,a.xc=this.xc,a.Ae=this.Ae,a.Gc=this.Gc,a.Cb=this.Cb,a.Lq=this.Lq,a.Gm=this.Gm,this.fa!==null&&(a.fa=this.fa.copy()),this.da!==null&&(a.da=this.da.nc?this.da:this.da.copy()),a.Ih=this.Ih,a.df=this.df,a.Le=this.Le,a.Qc=this.Qc,a.Qb=this.Qb,a.ze=this.ze};function hc(a){a.da===null?a.da=new N0:a.da.nc&&(a.da=a.da.copy())}ot=Lo.prototype,ot.th=function(){qt.prototype.th.call(this),this.da!==null&&(this.da.nc=!0)};function S1(a,y){a.l=y.l|6144,a.pb=y.opacity,a.Ma=y.background,a.areaBackground=y.areaBackground,a.jd=y.desiredSize.J(),a.minSize=y.minSize.J(),a.maxSize=y.maxSize.J(),y.Lb!==null?a.Lb=y.Lb.copy():a.Lb=null,a.Ca=y.scale,a.Kb=y.angle,a.stretch=y.stretch,a.Kg=y.margin.J(),a.Jb=y.alignment.J(),a.sk=y.alignmentFocus.J(),a.segmentFraction=y.segmentFraction,a.segmentOffset=y.segmentOffset.J(),a.segmentOrientation=y.segmentOrientation,y.tb!==null&&(a.tb=y.tb.copy()),a.shadowVisible=y.shadowVisible,a.ec=y.ec,a.xc=y.xc,a.Ae=y.Ae,a.fa!==null&&(a.fa=y.fa.copy()),y.da!==null&&(a.da=y.da.nc?y.da:y.da.copy()),a.Ih=y.Ih}ot.qb=function(a){a.classType===Lo?this.wrap=a:qt.prototype.qb.call(this,a)},ot.toString=function(){return 22<this.ec.length?'TextBlock("'+this.ec.substring(0,20)+'"...)':'TextBlock("'+this.ec+'")'},ot.v=function(){qt.prototype.v.call(this)},ot.hh=function(a,y){if(this.xc!==null&&this.ec.length!==0&&this.Ae!==null){var x=this.naturalBounds,b=this.actualBounds,E=x.width,te=x.height,ne=mg(this),se=a.textAlign=this.textAlign,he=y.tn;se==="start"?se=he?"right":"left":se==="end"&&(se=he?"left":"right"),he=this.isUnderline;var ve=this.isStrikethrough;sa(this,a,this.xc,!0,!1,x,b),(he||ve)&&sa(this,a,this.xc,!1,!1,x,b),b=0,x=!1;var Se=this.oe,Be=Se.dx-(ne*Se.m21+Se.dx);Se=Se.dy-(ne*Se.m22+Se.dy);var Ve=y.scale;switch(8>(Be*Be+Se*Se)*Ve*Ve&&(x=!0),y.ib!==a&&(x=!1),y.ib instanceof Ml&&(x=!1),y.Gf("textGreeking")===!1&&(x=!1),y=this.spacingAbove,Be=this.spacingBelow,this.flip){case Hi:a.translate(E,0),a.scale(-1,1);break;case Si:a.translate(0,te),a.scale(1,-1);break;case So:a.translate(E,te),a.scale(-1,-1)}if(a.yc(),Se=this.Gc,Ve=(y+ne+Be)*Se,te>Ve&&(b=this.verticalAlignment,b=b.y*te-b.y*Ve+b.offsetY),Se===1&&this.ze!==null)Be=this.Cb,Be>E&&(Be=E),this.Oj(this.ze,a,0,b+y,E,ne,Be,x,se,he,ve);else if(this.Qc!==null&&this.Qb!==null)for(Ve=0;Ve<Se;Ve++){var nt=this.Qc[Ve];nt>E&&(nt=E),b+=y,this.Oj(this.Qb[Ve],a,0,b,E,ne,nt,x,se,he,ve),b+=ne+Be}switch(this.flip){case Hi:a.scale(-1,1),a.translate(-E,0);break;case Si:a.scale(1,-1),a.translate(0,-te);break;case So:a.scale(-1,-1),a.translate(-E,-te)}}},ot.Oj=function(a,y,x,b,E,te,ne,se,he,ve,Se){var Be=0;if(se)he==="left"?Be=0:he==="right"?Be=E-ne:he==="center"&&(Be=(E-ne)/2),y.fillRect(x+Be,b+.25*te,ne,1);else{if(he==="left"?Be=0:he==="right"?Be=E:he==="center"&&(Be=E/2),E=Im!==null?Im(this,te):.75*te,y.fillText(a,x+Be,b+E),a=te/20|0,a===0&&(a=1),he==="right"?Be-=ne:he==="center"&&(Be-=ne/2),ve){se=jm!==null?jm(this,te):.8*te,he=x+Be,ve=b+se,E=x+Be+ne,se=b+se;var Ve=a;y.beginPath(),y.lineWidth=Ve,y.moveTo(he,ve),y.lineTo(E,se),y.stroke(),y.Se(),y instanceof Ml&&y.ad.classList.add("gojs-td")}Se&&(Se=b+te-te/2.2|0,a%2!==0&&(Se+=.5),b=x+Be,te=Se,x=x+Be+ne,ne=Se,Be=a,y.beginPath(),y.lineWidth=Be,y.moveTo(b,te),y.lineTo(x,ne),y.stroke(),y.Se(),y instanceof Ml&&y.ad.classList.add("gojs-td"))}},ot.kk=function(a,y,x){if(!qt.prototype.kk.call(this,a,y,x))return!1;if(sa(this,a,this.xc,!0,!1,this.naturalBounds,this.actualBounds),x){if(this.svg.getElementsByTagName("text").length===0)return!0;for(y=this.svg.getElementsByClassName("gojs-td"),x=0;x<y.length;x++)$y(a,y[x],!1)}else y=this.svg,y.innerHTML=this.text,$y(a,y,!0);return!0},ot.nk=function(a){return 1<this.lineCount||this.isUnderline||this.isStrikethrough?!0:qt.prototype.nk.call(this,a)},ot.Dv=function(a,y){if(a.nodeName!=="g")a.setAttributeNS(null,"filter",y);else{a=a.getElementsByTagName("text");for(var x=0;x<a.length;x++)a[x].setAttributeNS(null,"filter",y)}},ot.Wl=function(a,y,x,b){var E=this.Gc;this.Ih=a,this.l&=-16777217;var te=this.Ae;ll!==null&&A1!==te&&(A1=ll.font=te),this.Cb=this.Le=0,this.ze=this.Qb=this.Qc=this.df=null;var ne;if(isNaN(this.desiredSize.width)){if(te=this.ec.replace(/\r\n/g,`
`).replace(/\r/g,`
`),te.length===0)te=8;else if(this.isMultiline){for(var se=ne=0,he=!1;!he;){var ve=te.indexOf(`
`,se);ve===-1&&(ve=te.length,he=!0),se=te.substr(se,ve-se),this.formatting===vg&&(se=se.trim()),ne=Math.max(ne,Du(se)),se=ve+1}te=ne}else ne=te.indexOf(`
`,0),0<=ne&&(te=te.substr(0,ne)),te=Du(te);te=Math.min(te,a/this.scale)}else te=this.desiredSize.width;if(this.panel!==null&&(te=Math.min(te,this.panel.maxSize.width)),ne=w1(this,te),isNaN(this.desiredSize.height)?ne=Math.min(ne,y/this.scale):ne=this.desiredSize.height,he=ne,this.Cb!==0&&this.Qc!==null&&this.Qb!==null&&this.overflow===Rm&&(y=this.Ae,y=this.overflow===Rm?x1(y):0,ve=this.spacingAbove+this.spacingBelow,ve=Math.max(0,mg(this)+ve),he=Math.min(this.maxLines-1,Math.max(Math.floor(he/ve+.01)-1,0)),!(he+1>=this.Qb.length))){for(this.l|=16777216,ve=this.Qb[he],y=Math.max(1,a-y);Du(ve)>y&&1<ve.length;)ve=ve.substr(0,ve.length-1);ve+=yg,y=Du(ve),this.Qb[he]=ve,this.Qb=this.Qb.slice(0,he+1),this.Qc[he]=y,this.Qc=this.Qc.slice(0,he+1),this.Le=this.Qb.length,this.Cb=Math.max(this.Cb,y),this.Gc=this.Le,this.Gc===1&&(this.ze=this.Qb[0])}(this.wrap===b1||isNaN(this.desiredSize.width))&&(te=isNaN(a)?this.Cb:Math.min(a,this.Cb)),te=Math.max(x,te),ne=Math.max(b,ne),ha(this.dc,te,ne),this.Ge(0,0,te,ne),this.svg!==null&&E!==this.Gc&&(this.Uc=!0)},ot.eh=function(a,y,x,b){Is(this,a,y,x,b)};function gg(a,y,x){a.ze===null?(a.ze=y,a.Cb=x):((a.Qb===null||a.Qc===null)&&(a.Qb=[],a.Qc=[],a.Qb.push(a.ze),a.Qc.push(a.Cb)),a.Qb.push(y),a.Qc.push(x),a.Qb.length>a.maxLines&&(a.l|=16777216))}function L0(a,y,x,b){var E=a.formatting===vg;E&&(y=y.trim());var te=0,ne=a.Ae,se=a.spacingAbove+a.spacingBelow;se=Math.max(0,mg(a)+se);var he=a.overflow===Rm?x1(ne):0;if(a.Gc>=a.maxLines)b!==null&&b.h(0,se);else if(ne=y,a.wrap===T0){a.Le=1;var ve=Du(y);if(he===0||ve<=x)a.Cb=Math.max(a.Cb,ve),gg(a,y,a.Cb),b!==null&&b.h(ve,se);else{for(te=pp(a,ne),ne=ne.substr(te.length),y=pp(a,ne),ve=Du(te+y);0<y.length&&ve<=x;)te+=y,ne=ne.substr(y.length),y=pp(a,ne),ve=te+y,E&&(ve=ve.trim()),ve=Du(ve);for(E&&(y=y.trim()),te+=y,x=Math.max(1,x-he);Du(te)>x&&1<te.length;)te=te.substr(0,te.length-1);a.l|=16777216,te+=yg;var Se=Du(te);a.Cb=Se,gg(a,te,Se),b!==null&&b.h(Se,se)}}else{for(he=0,ne.length===0&&(he=1,gg(a,ne,0));0<ne.length;){for(y=pp(a,ne),ne=ne.substr(y.length);Du(y)>x;){var Be=1;for(ve=Du(y.substr(0,Be)),Se=0;ve<=x;)Be++,Se=ve,ve=Du(y.substr(0,Be));if(Be===1){var Ve=ve;te=Math.max(te,ve)}else Ve=Se,te=Math.max(te,Se);if(Be--,1>Be&&(Be=1),gg(a,y.substr(0,Be),Ve),he++,y=y.substr(Be),a.Gc+he>a.maxLines)break}for(Se=pp(a,ne),ve=Du(y+Se);0<Se.length&&ve<=x;)y+=Se,ne=ne.substr(Se.length),Se=pp(a,ne),ve=y+Se,E&&(ve=ve.trim()),ve=Du(ve);if(E&&(y=y.trim()),y!==""&&(y[y.length-1]==="\xAD"&&(y=y.substring(0,y.length-1)+"\u2010"),Se.length===0?(Be=ve,te=Math.max(te,ve)):(Be=Se=Du(y),te=Math.max(te,Se)),gg(a,y,Be),he++,a.Gc+he>a.maxLines))break}a.Le=Math.min(a.maxLines,he),a.Cb=Math.max(a.Cb,te),b!==null&&b.h(a.Cb,se*a.Le)}}function pp(a,y){if(a.wrap===C1)return y.substr(0,1);for(var x=y.length,b=0,E=xx;b<x&&!E.test(y.charAt(b));)b++;for(a.formatting===P1&&(x=Math.min(x,b+1));b<x&&E.test(y.charAt(b));)b++;return b>=y.length?y:y.substr(0,b)}function Du(a){return ll===null?8*a.length:ll.measureText(a).width}function mg(a){if(a.df!==null)return a.df;var y=a.Ae;if(ll===null){var x=16;return a.df=x}return O0[y]!==void 0&&5e3>E1?x=O0[y]:(x=1.3*ll.measureText("M").width,O0[y]=x,E1++),a.df=x}function x1(a){if(ll===null)return 6;if(zm[a]!==void 0&&5e3>k0)var y=zm[a];else y=ll.measureText(yg).width,zm[a]=y,k0++;return y}function w1(a,y){var x=a.ec.replace(/\r\n/g,`
`).replace(/\r/g,`
`),b=a.spacingAbove+a.spacingBelow;if(b=Math.max(0,mg(a)+b),x.length===0)return a.Cb=0,a.Gc=1,b;if(!a.isMultiline){var E=x.indexOf(`
`,0);0<=E&&(x=x.substr(0,E))}E=0;for(var te=a.Gc=0,ne,se=!1;!se;){if(ne=x.indexOf(`
`,te),ne===-1&&(ne=x.length,se=!0),te<=ne){if(te=x.substr(te,ne-te),a.wrap!==T0){a.Le=0;var he=qn.alloc();L0(a,te,y,he),E+=he.height,qn.free(he),a.Gc+=a.Le}else L0(a,te,y,null),E+=b,a.Gc++;a.Gc===a.maxLines&&(se=!0)}te=ne+1}return a.Lq=E}Pt.Object.defineProperties(Lo.prototype,{font:{get:function(){return this.Ae},set:function(a){var y=this.Ae;y!==a&&(this.Ae=a,this.df=null,this.v(),this.g("font",y,a))}},text:{get:function(){return this.ec},set:function(a){var y=this.ec;a!=null?a=a.toString():a="",y!==a&&(this.ec=a,this.v(),this.g("text",y,a),this.Uc=!0)}},textAlign:{get:function(){return this.da!==null?this.da.Or:"start"},set:function(a){var y=this.textAlign;y===a||a!=="start"&&a!=="end"&&a!=="left"&&a!=="right"&&a!=="center"||(hc(this),this.da.Or=a,this.N(),this.g("textAlign",y,a))}},flip:{get:function(){return this.da!==null?this.da.Xf:Rn},set:function(a){var y=this.flip;y!==a&&(hc(this),this.da.Xf=a,this.N(),this.g("flip",y,a))}},verticalAlignment:{get:function(){return this.da!==null?this.da.Yr:_a},set:function(a){var y=this.verticalAlignment;y.D(a)||(a=a.J(),hc(this),this.da.Yr=a,Gs(this),this.g("verticalAlignment",y,a))}},naturalBounds:{get:function(){if(!this.dc.w()){var a=qn.alloc();L0(this,this.ec,999999,a);var y=a.width;qn.free(a),a=w1(this,y);var x=this.desiredSize;isNaN(x.width)||(y=x.width),isNaN(x.height)||(a=x.height),ha(this.dc,y,a)}return this.dc}},isMultiline:{get:function(){return(this.l&2097152)!==0},set:function(a){var y=(this.l&2097152)!==0;y!==a&&(this.l^=2097152,this.v(),this.g("isMultiline",y,a))}},isUnderline:{get:function(){return(this.l&4194304)!==0},set:function(a){var y=(this.l&4194304)!==0;y!==a&&(this.l^=4194304,this.Uc=!0,this.N(),this.g("isUnderline",y,a))}},isStrikethrough:{get:function(){return(this.l&8388608)!==0},set:function(a){var y=(this.l&8388608)!==0;y!==a&&(this.l^=8388608,this.Uc=!0,this.N(),this.g("isStrikethrough",y,a))}},wrap:{get:function(){return this.da!==null?this.da.$r:F0},set:function(a){var y=this.wrap;y!==a&&(hc(this),this.da.$r=a,this.v(),this.g("wrap",y,a))}},overflow:{get:function(){return this.da!==null?this.da.$q:D0},set:function(a){var y=this.overflow;y!==a&&(hc(this),this.da.$q=a,this.v(),this.g("overflow",y,a))}},isOverflowed:{get:function(){return(this.l&16777216)!==0}},stroke:{get:function(){return this.xc},set:function(a){var y=this.xc;y!==a&&(a!==null&&Cf(a,"TextBlock.stroke"),a instanceof uo&&a.freeze(),this.xc=a,this.N(),this.g("stroke",y,a))}},lineCount:{get:function(){return this.Gc}},lineHeight:{get:function(){return mg(this)}},editable:{get:function(){return(this.l&1048576)!==0},set:function(a){var y=(this.l&1048576)!==0;y!==a&&(this.l^=1048576,this.g("editable",y,a))}},textEditor:{get:function(){return this.da!==null?this.da.Qr:null},set:function(a){var y=this.textEditor;y!==a&&(hc(this),this.da.Qr=a,this.g("textEditor",y,a))}},errorFunction:{get:function(){return this.da!==null?this.da.Hd:null},set:function(a){var y=this.errorFunction;y!==a&&(hc(this),this.da.Hd=a,this.g("errorFunction",y,a))}},interval:{get:function(){return this.fa!==null?this.fa.Tk:1},set:function(a){var y=this.interval;if(a=Math.round(a),y!==a&&a!==0&&isFinite(a)){this.fa===null&&(this.fa=new Dc),this.fa.Tk=a,this.v();var x=this.panel;x!==null&&(x.graduatedIntervals=null),this.g("interval",y,a)}}},graduatedStart:{get:function(){return this.fa!==null?this.fa.u:0},set:function(a){var y=this.graduatedStart;y!==a&&(0>a?a=0:1<a&&(a=1),this.fa===null&&(this.fa=new Dc),this.fa.u=a,this.v(),this.g("graduatedStart",y,a))}},graduatedEnd:{get:function(){return this.fa!==null?this.fa.j:1},set:function(a){var y=this.graduatedEnd;y!==a&&(0>a?a=0:1<a&&(a=1),this.fa===null&&(this.fa=new Dc),this.fa.j=a,this.v(),this.g("graduatedEnd",y,a))}},graduatedFunction:{get:function(){return this.fa!==null?this.fa.F:null},set:function(a){var y=this.graduatedFunction;y!==a&&(this.fa===null&&(this.fa=new Dc),this.fa.F=a,this.v(),this.g("graduatedFunction",y,a))}},graduatedSkip:{get:function(){return this.fa!==null?this.fa.o:null},set:function(a){var y=this.graduatedSkip;y!==a&&(this.fa===null&&(this.fa=new Dc),this.fa.o=a,this.v(),this.g("graduatedSkip",y,a))}},textValidation:{get:function(){return this.da!==null?this.da.vj:null},set:function(a){var y=this.textValidation;y!==a&&(hc(this),this.da.vj=a,this.g("textValidation",y,a))}},textEdited:{get:function(){return this.da!==null?this.da.Pr:null},set:function(a){var y=this.textEdited;y!==a&&(hc(this),this.da.Pr=a,this.g("textEdited",y,a))}},spacingAbove:{get:function(){return this.da!==null?this.da.Dr:0},set:function(a){var y=this.spacingAbove;y!==a&&(hc(this),this.da.Dr=a,this.v(),this.g("spacingAbove",y,a))}},spacingBelow:{get:function(){return this.da!==null?this.da.Er:0},set:function(a){var y=this.spacingBelow;y!==a&&(hc(this),this.da.Er=a,this.v(),this.g("spacingBelow",y,a))}},formatting:{get:function(){return this.da!==null?this.da.gq:vg},set:function(a){var y=this.formatting;y!==a&&(hc(this),this.da.gq=a,this.v(),this.g("formatting",y,a))}},maxLines:{get:function(){return this.da!==null?this.da.Jq:1/0},set:function(a){var y=this.maxLines;y!==a&&(a=Math.floor(a),0>=a&&Kn(a,"> 0",Lo,"maxLines"),hc(this),this.da.Jq=a,this.v(),this.g("maxLines",y,a))}},metrics:{get:function(){return{arrSize:this.Qc!==null?this.Qc:[this.Cb],arrText:this.Qb!==null?this.Qb:[this.ze],maxLineWidth:this.Cb,fontHeight:this.df}}},choices:{get:function(){return this.Gm},set:function(a){var y=this.Gm;y!==a&&(this.Gm=a,this.g("choices",y,a))}}});var Im=null,jm=null,T0=new wn(Lo,"None",0),b1=new wn(Lo,"WrapFit",1),F0=new wn(Lo,"WrapDesiredSize",2),C1=new wn(Lo,"WrapBreakAll",3),D0=new wn(Lo,"OverflowClip",0),Rm=new wn(Lo,"OverflowEllipsis",1),vg=new wn(Lo,"FormatTrim",0),P1=new wn(Lo,"FormatNone",0),xx=/[ \u200b\u00ad]/,O0=new Ar,E1=0,zm=new Ar,k0=0,yg="...",A1="",ll=null,Wm=!1;Lo.className="TextBlock";function N0(){this.nc=!1,this.Hd=null,this.Xf=Rn,this.gq=vg,this.Jq=1/0,this.$q=D0,this.Er=this.Dr=0,this.Or="start",this.vj=this.Qr=this.Pr=null,this.Yr=_a,this.$r=F0}N0.prototype.copy=function(){var a=new N0;return a.Hd=this.Hd,a.Xf=this.Xf,a.gq=this.gq,a.Jq=this.Jq,a.$q=this.$q,a.Dr=this.Dr,a.Er=this.Er,a.Or=this.Or,a.Pr=this.Pr,a.Qr=this.Qr,a.vj=this.vj,a.Yr=this.Yr,a.$r=this.$r,a},Lo.getEllipsis=function(){return yg},Lo.setEllipsis=function(a){yg=a,zm=new Ar,k0=0},Lo.getBaseline=function(){return Im},Lo.setBaseline=function(a){Im=a},Lo.getUnderline=function(){return jm},Lo.setUnderline=function(a){jm=a},Lo.isValidFont=function(a){if(Wm||(ll=ia?new yu(null).context:null,Wm=!0),ll===null)return!0;var y=ll.font;if(a===y||a==="10px sans-serif")return!0;ll.font="10px sans-serif",ll.font=a;var x=ll.font;if(x!=="10px sans-serif")return ll.font=y,!0;ll.font="19px serif";var b=ll.font;return ll.font=a,x=ll.font,ll.font=y,x!==b},Lo.FormatNone=P1,Lo.FormatTrim=vg,Lo.None=T0,Lo.OverflowClip=D0,Lo.OverflowEllipsis=Rm,Lo.WrapBreakAll=C1,Lo.WrapDesiredSize=F0,Lo.WrapFit=b1;function Dc(){this.Tk=1,this.u=0,this.j=1,this.o=this.F=null}Dc.prototype.copy=function(){var a=new Dc;return a.Tk=this.Tk,a.u=this.u,a.j=this.j,a.F=this.F,a.o=this.o,a},Dc.className="GradElementSettings";function ul(a,y){qt.call(this),this.Eg=null,this.qo="",this.Xg=ho,this.Nk=Vn,this.Zg=this.Hd=null,this.Mk=zi,this.Xf=Rn,this.vl=null,this.qn=!1,this.en=!0,this.al=!1,this.bt=this.rl=null,typeof a=="string"?this.source=a:a&&Object.assign(this,a),y&&Object.assign(this,y)}var gp;Zt(ul,qt),ul.prototype.cloneProtected=function(a){qt.prototype.cloneProtected.call(this,a),a.qo=this.qo,a.element=this.Eg,a.Xg=this.Xg.J(),a.Nk=this.Nk,a.Xf=this.Xf,a.Hd=this.Hd,a.Zg=this.Zg,a.Mk=this.Mk.J(),a.en=this.en,a.rl=this.rl},ul.prototype.qb=function(a){a===Rn||a===yr||a===Ti?this.imageStretch=a:qt.prototype.qb.call(this,a)},ul.prototype.toString=function(){return"Picture("+this.source+")#"+_r(this)};function mp(a){a===void 0&&(a=""),a!==""?gp[a]&&(delete gp[a],Hm--):(gp=new Ar,Hm=0)}function M1(a,y){y.qy||(y.Fq=function(x){y.sq=!0,y.ln=!1;var b=y.Bg.copy();if(b!=null){for(b=b.iterator;b.next();){var E=b.value;E.N();var te=y.getAttribute("src")||"",ne=E.Og.I(te);if(ne!==null)for(var se=ne.length,he=0;he<se;he++)te=ne[he],E.Xn.add(te),te.Uc=!0,E.$b(),y.hn&&(y.eu===void 0&&(y.eu=x),te.Zg!==null&&te.Zg(te,x))}y.Bg.clear()}a.desiredSize.w()||(Ia(a,!1),a.v())},y.Yp=function(x){y.ln=x;var b=y.Bg.copy();if(b!=null){for(b=b.iterator;b.next();){var E=b.value,te=y.getAttribute("src")||"",ne=E.Og.I(te);if(ne!==null){E=ne.length,te=yn();for(var se=0;se<E;se++)te.push(ne[se]);if(y.hn)for(se=0;se<E;se++)ne=te[se],ne.Hd!==null&&ne.Hd(ne,x);Tn(te)}}y.Bg.clear()}},y.addEventListener("load",y.Fq),y.addEventListener("error",y.Yp),y.qy=!0)}ul.prototype.hA=function(){if(this.source!==""){mp(this.source);var a=this.source;this.source="",this.source=a}},ul.prototype.redraw=function(){this.N(),this.Uc=!0},ul.prototype.hh=function(a,y){var x=this.Eg;if(x!==null){var b=x.getAttribute("src");if(!(x instanceof HTMLImageElement&&(b===null||b==="")||x.ln instanceof Event&&a instanceof Gd)){var E=a instanceof Ml;b=this.naturalBounds;var te=0,ne=0,se=this.qn,he=se?+x.width:x.naturalWidth;if(se=se?+x.height:x.naturalHeight,he===void 0&&x.videoWidth&&(he=x.videoWidth),se===void 0&&x.videoHeight&&(se=x.videoHeight),he=he||b.width,se=se||b.height,he!==0&&se!==0){var ve=he,Se=se;this.sourceRect.w()&&(te=this.Xg.x,ne=this.Xg.y,he=this.Xg.width,se=this.Xg.height);var Be=he,Ve=se,nt=this.Nk,rt=this.Mk;switch(nt){case Rn:if(this.sourceRect.w())break;Be>=b.width&&(te=te+rt.offsetX+(Be*rt.x-b.width*rt.x)),Ve>=b.height&&(ne=ne+rt.offsetY+(Ve*rt.y-b.height*rt.y)),he=Math.min(b.width,Be),se=Math.min(b.height,Ve);break;case Vn:Be=b.width,Ve=b.height;break;case yr:case Ti:nt===yr?(nt=Math.min(b.height/Ve,b.width/Be),Be*=nt,Ve*=nt):nt===Ti&&(nt=Math.max(b.height/Ve,b.width/Be),Be*=nt,Ve*=nt,Be>=b.width&&(te=(te+rt.offsetX+(Be*rt.x-b.width*rt.x)/Be)*he),Ve>=b.height&&(ne=(ne+rt.offsetY+(Ve*rt.y-b.height*rt.y)/Ve)*se),he*=1/(Be/b.width),se*=1/(Ve/b.height),Be=b.width,Ve=b.height)}nt=this.Df()*y.scale;var ct=Be*nt*Ve*nt,kt=he*se/ct,Mt=x.__goCache;nt=null;var Rt=wx;if(!E){if(x.sq&&Mt!==void 0&&4<ct&&kt>Rt*Rt)for(Mt.gi===null&&(T1(Mt,4,ve,Se,x),T1(Mt,16,ve,Se,x)),E=Mt.gi,ve=E.length,Se=0;Se<ve&&E[Se].ratio*E[Se].ratio<kt;Se++)nt=E[Se];if(!y.Xm){if(this.vl===null)if(this.Eg===null)this.vl=!1;else{E=new yu(null).context;try{E.drawImage(this.Eg,0,0)}catch(Ut){this.en=!1}try{E.getImageData(0,0,1,1).data[3]&&(this.vl=!1),this.vl=!1}catch(Ut){this.vl=!0}}if(this.vl)return}}switch(E=Be<b.width?rt.offsetX+(b.width*rt.x-Be*rt.x):0,rt=Ve<b.height?rt.offsetY+(b.height*rt.y-Ve*rt.y):0,this.flip){case Hi:a.translate(Math.min(b.width,Be),0),a.scale(-1,1);break;case Si:a.translate(0,Math.min(b.height,Ve)),a.scale(1,-1);break;case So:a.translate(Math.min(b.width,Be),Math.min(b.height,Ve)),a.scale(-1,-1)}if(a.yc(),y.Gf("pictureRatioOptimization")&&!y.$i&&Mt!==void 0&&nt!==null&&nt.ratio!==1){a.save(),y=nt.ratio;try{a.drawImage(nt.source,te/y,ne/y,Math.min(nt.source.width,he/y),Math.min(nt.source.height,se/y),E,rt,Math.min(b.width,Be),Math.min(b.height,Ve)),a instanceof Ml&&(this.bt=[te/y,ne/y,Math.min(nt.source.width,he/y),Math.min(nt.source.height,se/y),E,rt,Math.min(b.width,Be),Math.min(b.height,Ve)])}catch(Ut){this.en=!1}a.restore()}else try{a.drawImage(x,te,ne,he,se,E,rt,Math.min(b.width,Be),Math.min(b.height,Ve)),a instanceof Ml&&(this.bt=[te,ne,he,se,E,rt,Math.min(b.width,Be),Math.min(b.height,Ve)])}catch(Ut){this.en=!1}switch(this.flip){case Hi:a.scale(-1,1),a.translate(-Math.min(b.width,Be),0);break;case Si:a.scale(1,-1),a.translate(0,-Math.min(b.height,Ve));break;case So:a.scale(-1,-1),a.translate(-Math.min(b.width,Be),-Math.min(b.height,Ve))}}}}},ul.prototype.Wl=function(a,y,x,b){var E=this.desiredSize,te=sl(this,!0),ne=this.Eg,se=this.qn,he=0,ve=0;(se||!this.al&&ne&&ne.complete)&&(this.al=!0),ne===null?(isFinite(E.width)||(a=0),isFinite(E.height)||(y=0)):(he=se?+ne.width:ne.naturalWidth,ve=se?+ne.height:ne.naturalHeight),isFinite(E.width)||te===Vn||te===Pr?(isFinite(a)||(this.sourceRect.w()?a=this.sourceRect.width:ne!==null&&(a=he)),x=0):ne!==null&&this.al!==!1&&(a=this.sourceRect.w()?this.sourceRect.width:he),isFinite(E.height)||te===Vn||te===Hr?(isFinite(y)||(this.sourceRect.w()?y=this.sourceRect.height:ne!==null&&(y=ve)),b=0):ne!==null&&this.al!==!1&&(y=this.sourceRect.w()?this.sourceRect.height:ve),isFinite(E.width)&&(a=E.width),isFinite(E.height)&&(y=E.height),E=this.maxSize,te=this.minSize,x=Math.max(x||0,te.width),b=Math.max(b||0,te.height),a=Math.min(E.width,a),y=Math.min(E.height,y),a=Math.max(x,a),y=Math.max(b,y),ne===null||ne.complete||(isFinite(a)||(a=0),isFinite(y)||(y=0)),ha(this.dc,a,y),this.Ge(0,0,a,y)},ul.prototype.eh=function(a,y,x,b){Is(this,a,y,x,b)},Pt.Object.defineProperties(ul.prototype,{element:{get:function(){return this.Eg},set:function(a){var y=this.Eg;if(this.Uc=!0,y!==a){this.qn=a instanceof HTMLCanvasElement;var x=a instanceof HTMLImageElement;a===null||x||a instanceof HTMLVideoElement||this.qn||Ht("Picture.element must be an instance of Image, Canvas, or Video, not: "+a);var b=this.diagram;b!==null&&_p(b,this),this.Eg=a,a!==null&&x&&a.Bg===void 0&&(a.Bg=new On),b!==null&&x&&Qh(b,this),a!==null&&(this.qn||a.complete===!0?(a.hn&&(a.ln instanceof Event&&this.Hd!==null?this.Hd(this,a.ln):a.sq===!0&&!a.ln&&this.Zg!==null&&a.eu&&this.Zg(this,a.eu)),a.sq=!0,this.desiredSize.w()||(Ia(this,!1),this.v())):x&&M1(this,a)),this.g("element",y,a),this.N()}}},source:{get:function(){return this.qo},set:function(a){var y=this.qo;if(y!==a){this.Uc=!0,this.qo=a;var x=gp;if(ia){var b=null;if(x[a]!==void 0)b=x[a];else if(a!==""){30<Hm&&(mp(),x=gp),b=Gn("img"),b.hn=!0,M1(this,b);var E=this.rl;E!==null&&(b.crossOrigin=E(this)),b.src=a,x[a]=b,Hm++}this.element=b,b!==null&&b.__goCache===void 0&&(b.__goCache=new L1),this.v(),this.N()}this.g("source",y,a)}}},sourceCrossOrigin:{get:function(){return this.rl},set:function(a){if(this.rl!==a&&(this.rl=a,this.element!==null)){var y=this.element.getAttribute("src");a===null&&typeof y=="string"?this.element.crossOrigin=null:a!==null&&(this.element.crossOrigin=a(this)),this.element.src=y}}},sourceRect:{get:function(){return this.Xg},set:function(a){var y=this.Xg;y.D(a)||(this.Xg=a=a.J(),this.N(),this.g("sourceRect",y,a))}},imageStretch:{get:function(){return this.Nk},set:function(a){var y=this.Nk;y!==a&&(this.Nk=a,this.N(),this.g("imageStretch",y,a))}},flip:{get:function(){return this.Xf},set:function(a){var y=this.Xf;y!==a&&(this.Xf=a,this.N(),this.g("flip",y,a))}},imageAlignment:{get:function(){return this.Mk},set:function(a){var y=this.Mk;y.D(a)||(this.Mk=a=a.J(),this.N(),this.g("imageAlignment",y,a))}},errorFunction:{get:function(){return this.Hd},set:function(a){var y=this.Hd;y!==a&&(this.Hd=a,this.g("errorFunction",y,a))}},successFunction:{get:function(){return this.Zg},set:function(a){var y=this.Zg;y!==a&&(this.Zg=a,this.g("successFunction",y,a))}},naturalBounds:{get:function(){return this.dc}}}),ul.prototype.redraw=ul.prototype.redraw,ul.prototype.reloadSource=ul.prototype.hA;var Hm=0,wx=4;ul.className="Picture",gp=new Ar,ul.clearCache=mp;function L1(){this.gi=null}function T1(a,y,x,b,E){a.gi===null&&(a.gi=[]);var te=new yu(null),ne=te.context,se=1/y;te.width=x/y,te.height=b/y,te.width!==0&&te.height!==0&&(y=new F1(te.Oa,y),x=1,0<a.gi.length&&(x=a.gi[a.gi.length-1],E=x.source,x=x.ratio),ne.setTransform(se*x,0,0,se*x,0,0),ne.yc(),ne.drawImage(E,0,0),a.gi.push(y))}L1.className="PictureCacheArray";function F1(a,y){this.source=a,this.ratio=y}F1.className="PictureCacheInstance";function vp(){this.os=new $n,this.mc=null}vp.prototype.reset=function(a){a!==null?(a.ka(),this.os=a,a.figures.clear()):this.os=new $n,this.mc=null};function yp(a,y,x,b,E,te){a.mc=new Ga,a.mc.startX=y,a.mc.startY=x,a.mc.isFilled=b,a.mc.isEvenOdd=te||!1,a.os.figures.add(a.mc),E!==void 0&&(a.mc.isShadowed=E)}function bx(a){var y=a.mc.segments.length;0<y&&a.mc.segments.M(y-1).close()}vp.prototype.moveTo=function(a,y,x){x===void 0&&(x=!1);var b=new Zi(xa);b.endX=a,b.endY=y,x&&b.close(),this.mc.segments.add(b)},vp.prototype.lineTo=function(a,y,x){x===void 0&&(x=!1);var b=new Zi(Mo);b.endX=a,b.endY=y,x&&b.close(),this.mc.segments.add(b)};function Eh(a,y,x,b,E,te,ne){var se;se===void 0&&(se=!1);var he=new Zi(ss);he.point1X=y,he.point1Y=x,he.point2X=b,he.point2Y=E,he.endX=te,he.endY=ne,se&&he.close(),a.mc.segments.add(he)}function Um(a,y,x,b,E){var te;te===void 0&&(te=!1);var ne=new Zi(Pl);ne.point1X=y,ne.point1Y=x,ne.endX=b,ne.endY=E,te&&ne.close(),a.mc.segments.add(ne)}vp.prototype.arcTo=function(a,y,x,b,E,te,ne){te===void 0&&(te=0),ne===void 0&&(ne=!1);var se=new Zi(ma);se.startAngle=a,se.sweepAngle=y,se.centerX=x,se.centerY=b,se.radiusX=E,se.radiusY=te!==0?te:E,ne&&se.close(),this.mc.segments.add(se)};function Cx(a,y,x,b,E,te,ne,se){var he;he===void 0&&(he=!1),y=new Zi(zl,ne,se,y,x,b,E,te),he&&y.close(),a.mc.segments.add(y)}function D1(a){var y=Gm;return y!==null?(Gm=null,y.reset(a),y):(y=new vp,y.reset(a),y)}var Gm=null;vp.className="StreamGeometryContext";function Os(a,y){var x=a.toLowerCase(),b=tn.Ze;b[a]=y,b[x]=a}Os("Rectangle",function(a,y,x){a="r"+y+","+x;var b=tn.Mf[a];return b!==void 0||(b=new $n($n.u),b.endX=y,b.endY=x,tn.Nf<tn.vm&&(tn.Mf[a]=b,tn.Nf++)),b}),Os("Square",function(a,y,x){a="s"+y+","+x;var b=tn.Mf[a];return b!==void 0||(b=new $n($n.u),b.endX=y,b.endY=x,b.defaultStretch=yr,tn.Nf<tn.vm&&(tn.Mf[a]=b,tn.Nf++)),b}),Os("RoundedRectangle",function(a,y,x){a=a?a.parameter1:NaN,(isNaN(a)||0>a)&&(a=5),a=Math.min(a,y/3),a=Math.min(a,x/3);var b="rr"+y+","+x+","+a,E=tn.Mf[b];if(E!==void 0)return E;var te=a*tn.wg;return E=new $n().add(new Ga(a,0,!0).add(new Zi(Mo,y-a,0)).add(new Zi(ss,y,a,y-te,0,y,te)).add(new Zi(Mo,y,x-a)).add(new Zi(ss,y-a,x,y,x-te,y-te,x)).add(new Zi(Mo,a,x)).add(new Zi(ss,0,x-a,te,x,0,x-te)).add(new Zi(Mo,0,a)).add(new Zi(ss,a,0,0,te,te,0).close())),1<te&&(E.spot1=new wr(0,0,te,te),E.spot2=new wr(1,1,-te,-te)),tn.Nf<tn.vm&&(tn.Mf[b]=E,tn.Nf++),E}),Os("Border","RoundedRectangle"),Os("Ellipse",function(a,y,x){a="e"+y+","+x;var b=tn.Mf[a];return b!==void 0||(b=new $n($n.F),b.endX=y,b.endY=x,b.spot1=Wu,b.spot2=Rl,tn.Nf<tn.vm&&(tn.Mf[a]=b,tn.Nf++)),b}),Os("Circle",function(a,y,x){a="c"+y+","+x;var b=tn.Mf[a];return b!==void 0||(b=new $n($n.F),b.endX=y,b.endY=x,b.spot1=Wu,b.spot2=Rl,b.defaultStretch=yr,tn.Nf<tn.vm&&(tn.Mf[a]=b,tn.Nf++)),b}),Os("TriangleRight",function(a,y,x){return new $n().add(new Ga(0,0).add(new Zi(Mo,y,.5*x)).add(new Zi(Mo,0,x).close())).pm(0,.25,.5,.75)}),Os("TriangleDown",function(a,y,x){return new $n().add(new Ga(0,0).add(new Zi(Mo,y,0)).add(new Zi(Mo,.5*y,x).close())).pm(.25,0,.75,.5)}),Os("TriangleLeft",function(a,y,x){return new $n().add(new Ga(y,x).add(new Zi(Mo,0,.5*x)).add(new Zi(Mo,y,0).close())).pm(.5,.25,1,.75)}),Os("TriangleUp",function(a,y,x){return new $n().add(new Ga(y,x).add(new Zi(Mo,0,x)).add(new Zi(Mo,.5*y,0).close())).pm(.25,.5,.75,1)}),Os("Triangle","TriangleUp"),Os("Diamond",function(a,y,x){return new $n().add(new Ga(.5*y,0).add(new Zi(Mo,0,.5*x)).add(new Zi(Mo,.5*y,x)).add(new Zi(Mo,y,.5*x).close())).pm(.25,.25,.75,.75)}),Os("LineH",function(a,y,x){return a=new $n($n.j),a.startX=0,a.startY=x/2,a.endX=y,a.endY=x/2,a}),Os("LineV",function(a,y,x){return a=new $n($n.j),a.startX=y/2,a.startY=0,a.endX=y/2,a.endY=x,a}),Os("None","Rectangle"),Os("BarH","Rectangle"),Os("BarV","Rectangle"),Os("MinusLine","LineH"),Os("PlusLine",function(a,y,x){return new $n().add(new Ga(0,x/2,!1).add(new Zi(Mo,y,x/2)).add(new Zi(xa,y/2,0)).add(new Zi(Mo,y/2,x)))}),Os("XLine",function(a,y,x){return new $n().add(new Ga(0,x,!1).add(new Zi(Mo,y,0)).add(new Zi(xa,0,0)).add(new Zi(Mo,y,x)))}),Os("LineRight",function(a,y,x){return new $n().add(new Ga(.25*y,0,!1).add(new Zi(Mo,.75*y,.5*x)).add(new Zi(Mo,.25*y,x)))}),Os("LineDown",function(a,y,x){return new $n().add(new Ga(0,.25*x,!1).add(new Zi(Mo,.5*y,.75*x)).add(new Zi(Mo,y,.25*x)))}),Os("LineLeft",function(a,y,x){return new $n().add(new Ga(.75*y,0,!1).add(new Zi(Mo,.25*y,.5*x)).add(new Zi(Mo,.75*y,x)))}),Os("LineUp",function(a,y,x){return new $n().add(new Ga(0,.75*x,!1).add(new Zi(Mo,.5*y,.25*x)).add(new Zi(Mo,y,.75*x)))}),tn.um={"":"",Standard:"F1 m 0,0 l 8,4 -8,4 2,-4 z",Backward:"F1 m 8,0 l -2,4 2,4 -8,-4 z",Triangle:"F1 m 0,0 l 8,4.62 -8,4.62 z",BackwardTriangle:"F1 m 8,4 l 0,4 -8,-4 8,-4 0,4 z",Boomerang:"F1 m 0,0 l 8,4 -8,4 4,-4 -4,-4 z",BackwardBoomerang:"F1 m 8,0 l -8,4 8,4 -4,-4 4,-4 z",SidewaysV:"m 0,0 l 8,4 -8,4 0,-1 6,-3 -6,-3 0,-1 z",BackwardV:"m 8,0 l -8,4 8,4 0,-1 -6,-3 6,-3 0,-1 z",OpenTriangle:"m 0,0 l 8,4 -8,4",BackwardOpenTriangle:"m 8,0 l -8,4 8,4",OpenTriangleLine:"m 0,0 l 8,4 -8,4 m 8.5,0 l 0,-8",BackwardOpenTriangleLine:"m 8,0 l -8,4 8,4 m -8.5,0 l 0,-8",OpenTriangleTop:"m 0,0 l 8,4 m 0,4",BackwardOpenTriangleTop:"m 8,0 l -8,4 m 0,4",OpenTriangleBottom:"m 0,8 l 8,-4",BackwardOpenTriangleBottom:"m 0,4 l 8,4",HalfTriangleTop:"F1 m 0,0 l 0,4 8,0 z m 0,8",BackwardHalfTriangleTop:"F1 m 8,0 l 0,4 -8,0 z m 0,8",HalfTriangleBottom:"F1 m 0,4 l 0,4 8,-4 z",BackwardHalfTriangleBottom:"F1 m 8,4 l 0,4 -8,-4 z",ForwardSemiCircle:"m 4,0 b 270 180 0 4 4",BackwardSemiCircle:"m 4,8 b 90 180 0 -4 4",Feather:"m 0,0 l 3,4 -3,4",BackwardFeather:"m 3,0 l -3,4 3,4",DoubleFeathers:"m 0,0 l 3,4 -3,4 m 3,-8 l 3,4 -3,4",BackwardDoubleFeathers:"m 3,0 l -3,4 3,4 m 3,-8 l -3,4 3,4",TripleFeathers:"m 0,0 l 3,4 -3,4 m 3,-8 l 3,4 -3,4 m 3,-8 l 3,4 -3,4",BackwardTripleFeathers:"m 3,0 l -3,4 3,4 m 3,-8 l -3,4 3,4 m 3,-8 l -3,4 3,4",ForwardSlash:"m 0,8 l 5,-8",BackSlash:"m 0,0 l 5,8",DoubleForwardSlash:"m 0,8 l 4,-8 m -2,8 l 4,-8",DoubleBackSlash:"m 0,0 l 4,8 m -2,-8 l 4,8",TripleForwardSlash:"m 0,8 l 4,-8 m -2,8 l 4,-8 m -2,8 l 4,-8",TripleBackSlash:"m 0,0 l 4,8 m -2,-8 l 4,8 m -2,-8 l 4,8",Fork:"m 0,4 l 8,0 m -8,0 l 8,-4 m -8,4 l 8,4",BackwardFork:"m 8,4 l -8,0 m 8,0 l -8,-4 m 8,4 l -8,4",LineFork:"m 0,0 l 0,8 m 0,-4 l 8,0 m -8,0 l 8,-4 m -8,4 l 8,4",BackwardLineFork:"m 8,4 l -8,0 m 8,0 l -8,-4 m 8,4 l -8,4 m 8,-8 l 0,8",CircleFork:"F1 m 6,4 b 0 360 -3 0 3 z m 0,0 l 6,0 m -6,0 l 6,-4 m -6,4 l 6,4",BackwardCircleFork:"F1 m 0,4 l 6,0 m -6,-4 l 6,4 m -6,4 l 6,-4 m 6,0 b 0 360 -3 0 3",CircleLineFork:"F1 m 6,4 b 0 360 -3 0 3 z m 1,-4 l 0,8 m 0,-4 l 6,0 m -6,0 l 6,-4 m -6,4 l 6,4",BackwardCircleLineFork:"F1 m 0,4 l 6,0 m -6,-4 l 6,4 m -6,4 l 6,-4 m 0,-4 l 0,8 m 7,-4 b 0 360 -3 0 3",Circle:"F1 m 8,4 b 0 360 -4 0 4 z",Block:"F1 m 0,0 l 0,8 8,0 0,-8 z",StretchedDiamond:"F1 m 0,3 l 5,-3 5,3 -5,3 -5,-3 z",Diamond:"F1 m 0,4 l 4,-4 4,4 -4,4 -4,-4 z",Chevron:"F1 m 0,0 l 5,0 3,4 -3,4 -5,0 3,-4 -3,-4 z",StretchedChevron:"F1 m 0,0 l 8,0 3,4 -3,4 -8,0 3,-4 -3,-4 z",NormalArrow:"F1 m 0,2 l 4,0 0,-2 4,4 -4,4 0,-2 -4,0 z",X:"m 0,0 l 8,8 m 0,-8 l -8,8",TailedNormalArrow:"F1 m 0,0 l 2,0 1,2 3,0 0,-2 2,4 -2,4 0,-2 -3,0 -1,2 -2,0 1,-4 -1,-4 z",DoubleTriangle:"F1 m 0,0 l 4,4 -4,4 0,-8 z m 4,0 l 4,4 -4,4 0,-8 z",BigEndArrow:"F1 m 0,0 l 5,2 0,-2 3,4 -3,4 0,-2 -5,2 0,-8 z",ConcaveTailArrow:"F1 m 0,2 h 4 v -2 l 4,4 -4,4 v -2 h -4 l 2,-2 -2,-2 z",RoundedTriangle:"F1 m 0,1 a 1,1 0 0 1 1,-1 l 7,3 a 0.5,1 0 0 1 0,2 l -7,3 a 1,1 0 0 1 -1,-1 l 0,-6 z",SimpleArrow:"F1 m 1,2 l -1,-2 2,0 1,2 -1,2 -2,0 1,-2 5,0 0,-2 2,2 -2,2 0,-2 z",AccelerationArrow:"F1 m 0,0 l 0,8 0.2,0 0,-8 -0.2,0 z m 2,0 l 0,8 1,0 0,-8 -1,0 z m 3,0 l 2,0 2,4 -2,4 -2,0 0,-8 z",BoxArrow:"F1 m 0,0 l 4,0 0,2 2,0 0,-2 2,4 -2,4 0,-2 -2,0 0,2 -4,0 0,-8 z",TriangleLine:"F1 m 8,4 l -8,-4 0,8 8,-4 z m 0.5,4 l 0,-8",CircleEndedArrow:"F1 m 10,4 l -2,-3 0,2 -2,0 0,2 2,0 0,2 2,-3 z m -4,0 b 0 360 -3 0 3 z",DynamicWidthArrow:"F1 m 0,3 l 2,0 2,-1 2,-2 2,4 -2,4 -2,-2 -2,-1 -2,0 0,-2 z",EquilibriumArrow:"m 0,3 l 8,0 -3,-3 m 3,5 l -8,0 3,3",FastForward:"F1 m 0,0 l 3.5,4 0,-4 3.5,4 0,-4 1,0 0,8 -1,0 0,-4 -3.5,4 0,-4 -3.5,4 0,-8 z",Kite:"F1 m 0,4 l 2,-4 6,4 -6,4 -2,-4 z",HalfArrowTop:"F1 m 0,0 l 4,4 4,0 -8,-4 z m 0,8",HalfArrowBottom:"F1 m 0,8 l 4,-4 4,0 -8,4 z",OpposingDirectionDoubleArrow:"F1 m 0,4 l 2,-4 0,2 4,0 0,-2 2,4 -2,4 0,-2 -4,0 0,2 -2,-4 z",PartialDoubleTriangle:"F1 m 0,0 4,3 0,-3 4,4 -4,4 0,-3 -4,3 0,-8 z",LineCircle:"F1 m 0,0 l 0,8 m 7 -4 b 0 360 -3 0 3 z",DoubleLineCircle:"F1 m 0,0 l 0,8 m 2,-8 l 0,8 m 7 -4 b 0 360 -3 0 3 z",TripleLineCircle:"F1 m 0,0 l 0,8 m 2,-8 l 0,8 m 2,-8 l 0,8 m 7 -4 b 0 360 -3 0 3 z",CircleLine:"F1 m 6 4 b 0 360 -3 0 3 z m 1,-4 l 0,8",DiamondCircle:"F1 m 8,4 l -4,4 -4,-4 4,-4 4,4 m 8,0 b 0 360 -4 0 4 z",PlusCircle:"F1 m 8,4 b 0 360 -4 0 4 l -8 0 z m -4 -4 l 0 8",OpenRightTriangleTop:"m 8,0 l 0,4 -8,0 m 0,4",OpenRightTriangleBottom:"m 8,8 l 0,-4 -8,0",Line:"m 0,0 l 0,8",DoubleLine:"m 0,0 l 0,8 m 2,0 l 0,-8",TripleLine:"m 0,0 l 0,8 m 2,0 l 0,-8 m 2,0 l 0,8",PentagonArrow:"F1 m 8,4 l -4,-4 -4,0 0,8 4,0 4,-4 z"};function B0(){this.nc=!1,this.tr=this.Kp=this.zq=null,this.vr="",this.fr=this.oq=this.ur=null,this.hr="",this.gr=Oo,this.ir=null,this.jr="",this.lr=io,this.Gq="",this.Hq=Xa,this.Pq=ao,this.Kq=Pi,this.Up=null,this.Cq=127,this.zr=co,this.yr="gray",this.Vg=4}B0.prototype.copy=function(){var a=new B0;return a.zq=this.zq,a.Kp=this.Kp,a.tr=this.tr,a.vr=this.vr,a.ur=this.ur,a.oq=this.oq,a.fr=this.fr,a.hr=this.hr,a.gr=this.gr.J(),a.ir=this.ir,a.jr=this.jr,a.lr=this.lr.J(),a.Gq=this.Gq,a.Hq=this.Hq.J(),a.Pq=this.Pq.J(),a.Kq=this.Kq.J(),a.Up=this.Up,a.Cq=this.Cq,a.zr=this.zr.J(),a.yr=this.yr,a.Vg=this.Vg,a};function kr(a,y){a===void 0||a instanceof Ka||typeof a=="string"?Xn.call(this,a):(Xn.call(this),a&&(y=a)),this.G=2408959,this.Tf="",this.P=null,this.Jg="",this.Qf=this.Ug=null,this.ec="",this.Ah=this.Ig=null,this.ke=new Lt(NaN,NaN).freeze(),this.nf=null,this.Ao=NaN,this.vw=-1,this.py=new Mn,this.Rh=null,this.ag=NaN,y&&Object.assign(this,y)}Zt(kr,Xn),kr.prototype.cloneProtected=function(a){Xn.prototype.cloneProtected.call(this,a),a.G=this.G&-4097|49152,a.Tf=this.Tf,this.P!==null&&(a.P=this.P.nc?this.P:this.P.copy()),a.Jg=this.Jg,a.Qf=null,a.ec=this.ec,a.ke.assign(this.ke),a.Ao=this.Ao},ot=kr.prototype,ot.Af=function(a){Xn.prototype.Af.call(this,a),a.oh(),a.Ug=null,a.nf=null,a.Rh=null},ot.toString=function(){var a=Fn(this.constructor)+"#"+_r(this);return this.data!==null&&(a+="("+jn(this.data)+")"),a};function cl(a){a.P===null?a.P=new B0:a.P.nc&&(a.P=a.P.copy())}ot.th=function(){Xn.prototype.th.call(this),this.P!==null&&(this.P.nc=!0)},ot.gk=function(a,y,x,b,E,te,ne){var se=this.diagram;se!==null&&(a===fa&&y==="elements"?E instanceof Xn?Zd(E,function(he){ly(se.partManager,he),Id(se,he)}):Qh(se,E):a===Oa&&y==="elements"&&(E instanceof Xn?Zd(E,function(he){uy(se.partManager,he,se)}):_p(se,E)),se.cb(a,y,x,b,E,te,ne))},ot.La=function(a){if(Xn.prototype.La.call(this,a),this.data!==null){for(var y=this.O.s,x=y.length,b=0;b<x;b++){var E=y[b];E instanceof Xn&&Zd(E,function(te){te.data!==null&&te.La()})}for(y=this.adornments;y.next();)y.value.La(a)}},kr.prototype.updateRelationshipsFromData=function(){var a;this.data!==null&&((a=this.diagram)===null||a===void 0||a.partManager.updateRelationshipsFromData(this))},kr.prototype.Pj=function(a){var y=this.Qf;return y===null?null:y.I(a)},kr.prototype.bh=function(a,y){if(y!==null){var x=null,b=this.Qf;if(b!==null&&(x=b.I(a)),x!==y){if(x!==null){var E=x.diagram;E!==null&&E.remove(x)}b===null&&(this.Qf=b=new pr),y.Tf!==a&&(y.category=a),b.add(a,y),a=this.diagram,a!==null&&(a.add(y),a=y.adornedObject,a!==null&&(a=a.ih(),a!==null&&(y.data=a.data)))}}},kr.prototype.Jf=function(a){var y=this.Qf;if(y!==null){var x=y.I(a);if(x!==null){var b=x.diagram;b!==null&&b.remove(x)}y.remove(a),y.count===0&&(this.Qf=null)}},kr.prototype.Ej=function(){var a=this.Qf;if(a!==null){var y=yn();for(a=a.iterator;a.next();)y.push(a.key);a=y.length;for(var x=0;x<a;x++)this.Jf(y[x]);Tn(y)}},kr.prototype.updateAdornments=function(){var a=this.diagram;if(a!==null){for(var y=this.adornments;y.next();){var x=y.value;x.v(),x.placeholder&&x.placeholder.v()}e:{if(this.isSelected&&this.selectionAdorned&&(y=this.selectionObject,y!==null&&this.actualBounds.w()&&this.isVisible()&&y.Ed()&&y.actualBounds.w())){if(x=this.Pj("Selection"),x===null){if(x=this.selectionAdornmentTemplate,x===null&&(x=this.ph()?a.linkSelectionAdornmentTemplate:this instanceof ii?a.groupSelectionAdornmentTemplate:a.nodeSelectionAdornmentTemplate),!(x instanceof Vi))break e;Su(x),x=x.copy(),x!==null&&(this.ph()&&this.selectionObject===this.path&&(x.type=Xn.Link),x.adornedObject=y)}if(x!==null){x.type===Xn.Link&&x.v(),this.bh("Selection",x);break e}}this.Jf("Selection")}for(Px(this,a),y=this.adornments;y.next();)y.value.La()}},kr.prototype.Wb=function(){var a=this.diagram;a!==null&&(a.vd=!0,!(this.G&16384)&&(this.G|=16384))};function I0(a){a.G&16384&&(a.updateAdornments(),a.G&=-16385)}function Px(a,y){y.toolManager.mouseDownTools.each(function(x){x.isEnabled&&x.updateAdornments(a)}),y.toolManager.updateAdornments(a)}function Zm(a){if(ed(a)===!1){R0(a,!0),a.Uk();var y=a.diagram;y!==null&&(y.De.add(a),y.$b())}}function O1(a){if(a.G|=2097152,ed(a)!==!1){var y=a.position,x=a.location;x.w()&&y.w()||B1(a,y,x),x=a.Ib;var b=Mn.alloc().assign(x);x.ka(),x.x=y.x,x.y=y.y,x.freeze(),a.Xl(b,x),Mn.free(b),R0(a,!1)}}kr.prototype.Ge=function(a,y,x,b){var E=this.uc;E.h(a,y,x,b),this.Lb===null&&(this.Lb=new mi);var te=this.Lb;te.reset(),this.no(te,a,y,x,b),this.Lb=te,te.ws()||te.pp(E)},kr.prototype.no=function(a,y,x,b,E){if(this.Ca!==1&&a.scale(this.Ca),this.Kb!==0){var te=zi;this.locationSpot.sb()&&(te=this.locationSpot);var ne=Lt.alloc();if(this.locationObject!==this)for(y=this.locationObject,x=y.naturalBounds,ne.yi(x.x,x.y,x.width,x.height,te),y.Lb!==null&&y.Lb.Ga(ne),ne.offset(-y.measuredBounds.x,-y.measuredBounds.y),te=y.panel;te!==null&&te!==this;)te.Lb!==null&&te.Lb.Ga(ne),ne.offset(-te.measuredBounds.x,-te.measuredBounds.y),te=te.panel;else ne.yi(y,x,b,E,te);a.rotate(this.Kb,ne.x,ne.y),Lt.free(ne)}},kr.prototype.move=function(a,y){y===!0?this.location=a:this.position=a},kr.prototype.moveTo=function(a,y,x){a=Lt.allocAt(a,y),this.move(a,x),Lt.free(a)},kr.prototype.isVisible=function(){if(!this.visible)return!1;var a=this.layer;if(a!==null){if(!a.visible)return!1;if(a=a.diagram,a!==null&&a.animationManager.fv(this))return!0}return a=this.containingGroup,!!(a===null||a.isSubGraphExpanded&&a.isVisible())},kr.prototype.Zb=function(a){var y=this.diagram;a?(this.C(4),this.Wb(),y!==null&&y.De.add(this)):(this.C(8),this.Ej()),this.oh(),y!==null&&(y.Ya(),y.N())},kr.prototype.fb=function(a){if(this.name===a)return this;var y=this.Rh;if(y===null&&(this.Rh=y=new pr),y.I(a)!==null)return y.I(a);var x=Xn.prototype.fb.call(this,a);return x!==null?(y.set(a,x),x):(y.set(a,null),null)};function Ah(a,y,x,b){b===void 0&&(b=new Lt),x=x.Mc()?zi:x;var E=y.naturalBounds;if(b.h(E.width*x.x+x.offsetX,E.height*x.y+x.offsetY),y===null||y===a)return b;for(y.transform.Ga(b),y=y.panel;y!==null&&y!==a;)y.transform.Ga(b),y=y.panel;return a.Lb!==null&&a.Lb.Ga(b),b.offset(-a.uc.x,-a.uc.y),b}kr.prototype.mi=function(a){return a===void 0&&(a=new Mn),a.assign(this.actualBounds)},kr.prototype.Va=function(){this.measure(1/0,1/0),this.arrange()};function k1(a){var y=Lt.alloc(),x=a.locationObject,b=x.naturalBounds,E=x instanceof pi?x.strokeWidth:0;if(y.yi(0,0,b.width+E,b.height+E,a.locationSpot),x!==a)for(y.offset(-E/2,-E/2),x.transform.Ga(y),x=x.panel;x!==null&&x!==a;)x.transform.Ga(y),x=x.panel;return a.Lb!==null&&a.Lb.Ga(y),y.offset(-a.uc.x,-a.uc.y),y}function Xd(a,y){var x=a.py;isNaN(a.ag)&&(a.ag=c1(a));var b=a.ag,E=2*b;if(!a.isShadowed)return x.h(y.x-1-b,y.y-1-b,y.width+2+E,y.height+2+E),x;b=y.x,E=y.y;var te=y.width;y=y.height;var ne=a.shadowBlur;return a=a.shadowOffset,te+=ne,y+=ne,b-=ne/2,E-=ne/2,0<a.x?te+=a.x:(b+=a.x,te-=a.x),0<a.y?y+=a.y:(E+=a.y,y-=a.y),x.h(b-1,E-1,te+2,y+2),x}kr.prototype.arrange=function(){if(Zs(this)===!1)O1(this);else{Mc(this,!1);var a=this.Ib,y=Mn.alloc();y.assign(a);var x=td(this);this.eh(0,0,this.uc.width,this.uc.height);var b=this.position;B1(this,b,this.location),a.ka(),a.x=b.x,a.y=b.y,a.freeze(),this.Xl(y,a),y.D(a)?this.Fd(x):!this.Zc()||tn.B(y.width,a.width)&&tn.B(y.height,a.height)||0<=this.vw&&this.C(16),Mn.free(y),R0(this,!1)}},ot=kr.prototype,ot.Xl=function(a,y){var x=this.diagram;if(x!==null){var b=!1;if(x.Zi===!1&&a.w()){var E=Mn.alloc();E.assign(x.documentBounds),E.Fv(x.padding),a.x>E.x&&a.y>E.y&&a.right<E.right&&a.bottom<E.bottom&&y.x>E.x&&y.y>E.y&&y.right<E.right&&y.bottom<E.bottom&&(b=!0),Mn.free(E)}!(this.G&65536)&&a.D(y)||R1(this,b,x),x.N(),!a.w()&&!y.w()||bo(a,y)||(this instanceof sr&&!x.undoManager.isUndoingRedoing&&this.Bd(),this.oh())}},ot.zv=function(a,y,x){if(this.ph()||!a.w())return!1;var b=this.diagram;return b!==null&&N1(this,b,a,y,x),this.pa=a,this.G&=-2097153,!this.ke.w()||b!==null&&!b.animationManager.isTicking&&b.undoManager.isUndoingRedoing||(b=this.ke,this.ke=new Lt(b.x+(a.x-y),b.y+(a.y-x)),this.g("location",b,this.ke.copy())),ed(this)===!1&&Zs(this)===!1&&(Zm(this),O1(this)),!0};function N1(a,y,x,b,E){y===null||a instanceof Vi||(y=y.animationManager,y.zb&&Ku(y,a,new Lt(b,E),x))}ot.mm=function(a,y,x){var b=this.ke,E=this.pa;if(x){if(b.x===a&&b.y===y)return;ed(this)||Zs(this)?E.h(NaN,NaN):E.h(E.x+a-b.x,E.y+y-b.y),b.h(a,y)}else{if(E.x===a&&E.y===y)return;b.h(b.x+a-E.x,b.y+y-E.y),E.h(a,y)}Zm(this)},ot.Av=function(){this.G&=-2097153,Zm(this)};function B1(a,y,x){var b=k1(a),E=a.diagram,te=x.w(),ne=y.w();te&&ne?a.G&2097152?I1(a,y,x,E,b):j1(a,y,x,E,b):te?I1(a,y,x,E,b):ne&&j1(a,y,x,E,b),a.G|=2097152,Lt.free(b),a.Uk()}function I1(a,y,x,b,E){var te=y.x,ne=y.y;y.h(x.x-E.x,x.y-E.y),b!==null&&(x=b.animationManager,(b=x.defaultAnimation.isAnimating)||!x.zb||a instanceof Vi||Ku(x,a,new Lt(te,ne),y),b||y.x===te&&y.y===ne||a.g("position",new Lt(te,ne),y.copy()))}function j1(a,y,x,b,E){var te=x.copy();x.h(y.x+E.x,y.y+E.y),x.D(te)||b===null||a.g("location",te,x.copy())}function R1(a,y,x){z0(a,!1),a instanceof sr&&Sh(x,a),a.layer.isTemporary||y||x.Ya(),y=a.Ib;var b=x.viewportBounds;b.w()?td(a)?(Ao(y,b)||a.Fd(!1),a.updateAdornments()):a.isVisible()&&y.Yc(b)?(a.Fd(!0),a.updateAdornments()):a.Wb():x.vd=!0}ot.si=function(){return!0},ot.Zc=function(){return!0},ot.ph=function(){return!1},ot.Dd=function(){return!0};function j0(a,y,x,b){y.constructor===a.constructor||H1||(H1=!0,ir('Should not change the class of the Part when changing category from "'+x+'" to "'+b+'"'),ir(" Old class: "+Fn(a.constructor)+", new class: "+Fn(y.constructor)+", part: "+a.toString())),a.Ej();var E=a.data;x=a.layerName;var te=a.isSelected,ne=a.isHighlighted,se=!0,he=!0,ve=!1;a instanceof sr&&(se=a.isTreeLeaf,he=a.isTreeExpanded,ve=a.wasTreeExpanded),y.Af(a),y.cloneProtected(a),a.Tf=b,a.svg!==null&&(a.svg.remove(),a.svg=null,a.Uc=!0),a.v(),a.N(),y=a.diagram,b=!0,y!==null&&(b=y.skipsUndoManager,y.skipsUndoManager=!0),a.ub=E,a.G=te?a.G|4096:a.G&-4097,a.G=ne?a.G|524288:a.G&-524289,a instanceof sr&&(a.U=se?a.U|4:a.U&-5,a.U=he?a.U|1:a.U&-2,a.U=ve?a.U|2:a.U&-3),E!==null&&a.La(),E=a.layerName,E!==x&&(a.Jg=x,a.layerName=E),y!==null&&(y.skipsUndoManager=b),a.Zc()&&a.C(64)}kr.prototype.canCopy=function(){if(!this.copyable)return!1;var a=this.layer;return a===null?!0:a.allowCopy?(a=a.diagram,a===null?!0:!!a.allowCopy):!1},kr.prototype.canDelete=function(){if(!this.deletable)return!1;var a=this.layer;return a===null?!0:a.allowDelete?(a=a.diagram,a===null?!0:!!a.allowDelete):!1},kr.prototype.canEdit=function(){if(!this.textEditable)return!1;var a=this.layer;return a===null?!0:a.allowTextEdit?(a=a.diagram,a===null?!0:!!a.allowTextEdit):!1},kr.prototype.canGroup=function(){if(!this.groupable)return!1;var a=this.layer;return a===null?!0:a.allowGroup?(a=a.diagram,a===null?!0:!!a.allowGroup):!1},kr.prototype.canMove=function(){if(!this.movable)return!1;var a=this.layer;return a===null?!0:a.allowMove?(a=a.diagram,a===null?!0:!!a.allowMove):!1},kr.prototype.canReshape=function(){if(!this.reshapable)return!1;var a=this.layer;return a===null?!0:a.allowReshape?(a=a.diagram,a===null?!0:!!a.allowReshape):!1},kr.prototype.canResize=function(){if(!this.resizable)return!1;var a=this.layer;return a===null?!0:a.allowResize?(a=a.diagram,a===null?!0:!!a.allowResize):!1},kr.prototype.canRotate=function(){if(!this.rotatable)return!1;var a=this.layer;return a===null?!0:a.allowRotate?(a=a.diagram,a===null?!0:!!a.allowRotate):!1},kr.prototype.canSelect=function(){if(!this.selectable)return!1;var a=this.layer;return a===null?!0:a.allowSelect?(a=a.diagram,a===null?!0:!!a.allowSelect):!1};function ed(a){return(a.G&32768)!==0}function R0(a,y){a.G=y?a.G|32768:a.G&-32769}function z0(a,y){a.G=y?a.G|65536:a.G&-65537}function td(a){return(a.G&131072)!==0}ot=kr.prototype,ot.Fd=function(a){this.G=a?this.G|131072:this.G&-131073};function Km(a,y){a.G=y?a.G|1048576:a.G&-1048577}ot.oh=function(){var a=this.containingGroup;a!==null&&(a.v(),a.placeholder!==null&&a.placeholder.v(),a.Bd())},ot.N=function(){var a=this.diagram;a!==null&&!Zs(this)&&!ed(this)&&this.isVisible()&&this.Ib.w()&&a.N(Xd(this,this.Ib))},ot.v=function(){Xn.prototype.v.call(this);var a=this.diagram;a!==null&&(a.De.add(this),this instanceof sr&&this.labeledLink!==null&&Gs(this.labeledLink),a.$b(!0))},ot.Vo=function(a){a||(a=this.Ah,a!==null&&K0(a,this))},ot.Wo=function(a){a||(a=this.Ah,a!==null&&V0(a,this))},ot.Lj=function(){var a=this.data;if(a!==null){var y=this.diagram;y!==null&&(y=y.model,y!==null&&y.cm(a))}},ot.oz=function(){return W0(this,this)};function W0(a,y){var x=y.containingGroup;return x!==null?1+W0(a,x):y instanceof sr&&(y=y.labeledLink,y!==null)?W0(a,y):0}ot.sz=function(){return z1(this,this)};function z1(a,y){var x=y.containingGroup;return x!==null||y instanceof sr&&(x=y.labeledLink,x!==null)?z1(a,x):y}ot.Td=function(a){return a instanceof ii?H0(this,this,a):!1};function H0(a,y,x){if(y===x||x===null)return!1;var b=y.containingGroup;return b===null||b!==x&&!H0(a,b,x)?y instanceof sr&&(y=y.labeledLink,y!==null)?H0(a,y,x):!1:!0}ot.px=function(a){if(a===null)return null;if(this===a)return this.containingGroup;for(var y=this;y!==null;){if(y instanceof ii&&Km(y,!0),y instanceof sr){var x=y.labeledLink;x!==null&&(y=x)}y=y.containingGroup}for(x=null,y=a;y!==null;){if(y.G&1048576){x=y;break}y instanceof sr&&(a=y.labeledLink,a!==null&&(y=a)),y=y.containingGroup}for(y=this;y!==null;)y instanceof ii&&Km(y,!1),y instanceof sr&&(a=y.labeledLink,a!==null&&(y=a)),y=y.containingGroup;return x},kr.prototype.canLayout=function(){if(!this.isLayoutPositioned||!this.isVisible())return!1;var a=this.layer;return!(a!==null&&a.isTemporary||this instanceof sr&&this.isLinkLabel)},kr.prototype.C=function(a){if(a===void 0&&(a=16777215),this.isLayoutPositioned&&a&this.layoutConditions){var y=this.layer;y!==null&&y.isTemporary||this instanceof sr&&this.isLinkLabel?y=!1:(y=this.diagram,y=!(y!==null&&y.undoManager.isUndoingRedoing))}else y=!1;if(y)if(y=this.Ah,y!==null){var x=y.layout;x!==null?x.C():y.C(a)}else a=this.diagram,a!==null&&(a=a.layout,a!==null&&a.C())};function W1(a){return a.isVisible()?(a=a.layer,!(a!==null&&a.isTemporary)):!1}function nd(a,y,x,b,E,te){if(te===void 0&&(te=null),!(a.contains(y)||te!==null&&!te(y)||y instanceof Vi)){if(a.add(y),y instanceof sr){if(x&&y instanceof ii)for(var ne=y.memberParts;ne.next();)nd(a,ne.value,x,b,E,te);if(E!==!1)for(ne=y.linksConnected;ne.next();){var se=ne.value;if(!a.contains(se)){var he=se.fromNode,ve=se.toNode;he=he===null||a.contains(he),ve=ve===null||a.contains(ve),(E?he&&ve:he||ve)&&nd(a,se,x,b,E,te)}}if(1<b)for(y=y.Ou();y.next();)nd(a,y.value,x,b-1,E,te)}else if(y instanceof _n)for(y=y.labelNodes;y.next();)nd(a,y.value,x,b,E,te)}}Pt.Object.defineProperties(kr.prototype,{key:{get:function(){var a=this.diagram;if(a!==null)return a.model.wa(this.data)}},adornments:{get:function(){return this.Qf===null?Gr:this.Qf.iteratorValues}},layer:{get:function(){return this.Ig}},diagram:{get:function(){var a=this.Ig;return a==null?null:a.diagram}},layerName:{get:function(){return this.Jg},set:function(a){var y=this.Jg;if(y!==a){var x=this.diagram;if((x===null||x.Qj(a)!==null&&!x.partManager.addsToTemporaryLayer)&&(this.Jg=a,x!==null&&x.Ya(),this.g("layerName",y,a),y=this.layer,y!==null&&y.name!==a&&(x=y.diagram,x!==null&&(a=x.Qj(a),a!==null&&a!==y)))){var b=y.pc(-1,this,!0);if(0<=b&&x.cb(Oa,"parts",y,this,null,b,!0),b=a.oi(99999999,this,!0),y.visible!==a.visible&&this.Zb(a.visible),0<=b&&x.cb(fa,"parts",a,null,this,!0,b),b=this.layerChanged,b!==null){var E=x.aa;x.aa=!0,b(this,y,a),x.aa=E}}}}},layerChanged:{get:function(){return this.P!==null?this.P.zq:null},set:function(a){var y=this.layerChanged;y!==a&&(cl(this),this.P.zq=a,this.g("layerChanged",y,a))}},zOrder:{get:function(){return this.Ao},set:function(a){var y=this.Ao;if(y!==a){this.Ao=a;var x=this.layer;x!==null&&gu(x,-1,this),this.g("zOrder",y,a),a=this.diagram,a!==null&&a.N()}}},locationObject:{get:function(){if(this.nf===null){var a=this.locationObjectName;a!==""?(a=this.fb(a),a!==null?this.nf=a:this.nf=this):this instanceof Vi?this.type!==Xn.Link&&this.placeholder!==null?this.nf=this.placeholder:this.nf=this:this.nf=this}return this.nf.visible?this.nf:this}},minLocation:{get:function(){return this.P!==null?this.P.Pq:ao},set:function(a){var y=this.minLocation;y.D(a)||(a=a.J(),cl(this),this.P.Pq=a,this.g("minLocation",y,a))}},maxLocation:{get:function(){return this.P!==null?this.P.Kq:Pi},set:function(a){var y=this.maxLocation;y.D(a)||(a=a.J(),cl(this),this.P.Kq=a,this.g("maxLocation",y,a))}},locationObjectName:{get:function(){return this.P!==null?this.P.Gq:""},set:function(a){var y=this.locationObjectName;y!==a&&(cl(this),this.P.Gq=a,this.nf=null,this.v(),this.g("locationObjectName",y,a))}},locationSpot:{get:function(){return this.P!==null?this.P.Hq:Xa},set:function(a){var y=this.locationSpot;y.D(a)||(a=a.J(),cl(this),this.P.Hq=a,this.v(),this.g("locationSpot",y,a))}},location:{get:function(){return this.ke},set:function(a){var y=a.x,x=a.y,b=this.ke;if(!(b.x===y||isNaN(b.x)&&isNaN(y))||!(b.y===x||isNaN(b.y)&&isNaN(x))){if(a=a.copy(),y=a,this.ph())y=!1;else{if(this.ke=y,this.G|=2097152,Zs(this)===!1&&(Zm(this),x=this.pa,x.w())){var E=this.diagram;if(E===null||E.animationManager.isTicking||!E.undoManager.isUndoingRedoing){var te=x.copy();x.h(x.x+(y.x-b.x),x.y+(y.y-b.y)),N1(this,E,x,te.x,te.y),this.g("position",te,x.copy())}}y=!0}y&&this.g("location",b,a.copy())}}},category:{get:function(){return this.Tf},set:function(a){var y=this.Tf;if(y!==a){this.svg!==null&&(this.svg.remove(),this.Uc=!0);var x=this.diagram,b=this.data,E=null;if(x!==null&&b!==null&&!(this instanceof Vi)){var te=x.model.undoManager;te.isEnabled&&!te.isUndoingRedoing&&(E=this.clone(),E.O.addAll(this.O))}this.Tf=a,this.g("category",y,a),x===null||b===null||this instanceof Vi?this instanceof Vi&&(E=this.adornedPart,E!==null&&(a=E.Qf,a!==null&&a.remove(y),E.bh(this.category,this))):(te=x.model,te.undoManager.isUndoingRedoing||(this.ph()?(x.partManager.setLinkCategoryForData(b,a),x=x.partManager.findLinkTemplateForCategory(a),x!==null&&(Su(x),x=x.copy(),x!==null&&j0(this,x,y,a))):(te!==null&&te.jm(b,a),x=dS(x.partManager,b,a),x!==null&&(Su(x),x=x.copy(),x===null||x instanceof _n||(b=this.location.copy(),j0(this,x,y,a),this.location.w()||(this.location=b)))),E!==null&&(y=this.clone(),y.O.addAll(this.O),this.g("self",E,y))))}}},self:{get:function(){return this},set:function(a){j0(this,a,this.category,a.category)}},copyable:{get:function(){return(this.G&1)!==0},set:function(a){var y=(this.G&1)!==0;y!==a&&(this.G^=1,this.g("copyable",y,a))}},deletable:{get:function(){return(this.G&2)!==0},set:function(a){var y=(this.G&2)!==0;y!==a&&(this.G^=2,this.g("deletable",y,a))}},textEditable:{get:function(){return(this.G&4)!==0},set:function(a){var y=(this.G&4)!==0;y!==a&&(this.G^=4,this.g("textEditable",y,a),this.Wb())}},groupable:{get:function(){return(this.G&8)!==0},set:function(a){var y=(this.G&8)!==0;y!==a&&(this.G^=8,this.g("groupable",y,a))}},movable:{get:function(){return(this.G&16)!==0},set:function(a){var y=(this.G&16)!==0;y!==a&&(this.G^=16,this.g("movable",y,a))}},selectionAdorned:{get:function(){return(this.G&32)!==0},set:function(a){var y=(this.G&32)!==0;y!==a&&(this.G^=32,this.g("selectionAdorned",y,a),this.Wb())}},isInDocumentBounds:{get:function(){return(this.G&64)!==0},set:function(a){var y=(this.G&64)!==0;if(y!==a){this.G^=64;var x=this.diagram;x!==null&&x.Ya(),this.g("isInDocumentBounds",y,a)}}},isLayoutPositioned:{get:function(){return(this.G&128)!==0},set:function(a){var y=(this.G&128)!==0;y!==a&&(this.G^=128,this.g("isLayoutPositioned",y,a),this.C(a?4:8))}},selectable:{get:function(){return(this.G&256)!==0},set:function(a){var y=(this.G&256)!==0;y!==a&&(this.G^=256,this.g("selectable",y,a),this.Wb())}},reshapable:{get:function(){return(this.G&512)!==0},set:function(a){var y=(this.G&512)!==0;y!==a&&(this.G^=512,this.g("reshapable",y,a),this.Wb())}},resizable:{get:function(){return(this.G&1024)!==0},set:function(a){var y=(this.G&1024)!==0;y!==a&&(this.G^=1024,this.g("resizable",y,a),this.Wb())}},rotatable:{get:function(){return(this.G&2048)!==0},set:function(a){var y=(this.G&2048)!==0;y!==a&&(this.G^=2048,this.g("rotatable",y,a),this.Wb())}},isSelected:{get:function(){return(this.G&4096)!==0},set:function(a){var y=(this.G&4096)!==0;if(y!==a){var x=this.diagram;if(!a||this.canSelect()&&!(x!==null&&x.selection.count>=x.maxSelectionCount)){this.G^=4096;var b=!1;if(x!==null){b=x.skipsUndoManager,x.skipsUndoManager=!0;var E=x.selection;E.ka(),a?E.add(this):E.remove(this),E.freeze()}this.g("isSelected",y,a),this.Wb(),a=this.selectionChanged,a!==null&&a(this),x!==null&&(x.$b(),x.skipsUndoManager=b)}}}},isHighlighted:{get:function(){return(this.G&524288)!==0},set:function(a){var y=(this.G&524288)!==0;if(y!==a){this.G^=524288;var x=this.diagram;x!==null&&(x=x.highlighteds,x.ka(),a?x.add(this):x.remove(this),x.freeze()),this.g("isHighlighted",y,a),this.N(),a=this.highlightedChanged,a!==null&&a(this)}}},isShadowed:{get:function(){return(this.G&8192)!==0},set:function(a){var y=(this.G&8192)!==0;y!==a&&(this.G^=8192,this.Uc=!0,this.g("isShadowed",y,a),this.N())}},isAnimated:{get:function(){return(this.G&262144)!==0},set:function(a){var y=(this.G&262144)!==0;y!==a&&(this.G^=262144,this.g("isAnimated",y,a))}},highlightedChanged:{get:function(){return this.P!==null?this.P.oq:null},set:function(a){var y=this.highlightedChanged;y!==a&&(cl(this),this.P.oq=a,this.g("highlightedChanged",y,a))}},selectionObjectName:{get:function(){return this.P!==null?this.P.vr:""},set:function(a){var y=this.selectionObjectName;y!==a&&(cl(this),this.P.vr=a,this.Ug=null,this.g("selectionObjectName",y,a))}},selectionAdornmentTemplate:{get:function(){return this.P!==null?this.P.tr:null},set:function(a){var y=this.selectionAdornmentTemplate;y!==a&&(cl(this),this.P.tr=a,this.g("selectionAdornmentTemplate",y,a))}},selectionObject:{get:function(){if(this.Ug===null){var a=this.selectionObjectName;a!==null&&a!==""?(a=this.fb(a),a!==null?this.Ug=a:this.Ug=this):this instanceof _n?(a=this.path,a!==null?this.Ug=a:this.Ug=this):this.Ug=this}return this.Ug}},selectionChanged:{get:function(){return this.P!==null?this.P.ur:null},set:function(a){var y=this.selectionChanged;y!==a&&(cl(this),this.P.ur=a,this.g("selectionChanged",y,a))}},resizeAdornmentTemplate:{get:function(){return this.P!==null?this.P.fr:null},set:function(a){var y=this.resizeAdornmentTemplate;y!==a&&(cl(this),this.P.fr=a,this.g("resizeAdornmentTemplate",y,a))}},resizeObjectName:{get:function(){return this.P!==null?this.P.hr:""},set:function(a){var y=this.resizeObjectName;y!==a&&(cl(this),this.P.hr=a,this.g("resizeObjectName",y,a))}},resizeObject:{get:function(){var a=this.resizeObjectName;return a!==""&&(a=this.fb(a),a!==null)?a:this}},resizeCellSize:{get:function(){return this.P!==null?this.P.gr:Oo},set:function(a){var y=this.resizeCellSize;y.D(a)||(a=a.J(),cl(this),this.P.gr=a,this.g("resizeCellSize",y,a))}},rotateAdornmentTemplate:{get:function(){return this.P!==null?this.P.ir:null},set:function(a){var y=this.rotateAdornmentTemplate;y!==a&&(cl(this),this.P.ir=a,this.g("rotateAdornmentTemplate",y,a))}},rotateObjectName:{get:function(){return this.P!==null?this.P.jr:""},set:function(a){var y=this.rotateObjectName;y!==a&&(cl(this),this.P.jr=a,this.g("rotateObjectName",y,a))}},rotateObject:{get:function(){var a=this.rotateObjectName;return a!==""&&(a=this.fb(a),a!==null)?a:this}},rotationSpot:{get:function(){return this.P!==null?this.P.lr:io},set:function(a){var y=this.rotationSpot;y.D(a)||(a=a.J(),cl(this),this.P.lr=a,this.g("rotationSpot",y,a))}},text:{get:function(){return this.ec},set:function(a){var y=this.ec;y!==a&&(this.ec=a,this.g("text",y,a))}},containingGroup:{get:function(){return this.Ah},set:function(a){if(this.Zc()){var y=this.Ah;if(y!==a){a===null||this!==a&&!a.Td(this)||(this===a&&Ht("Cannot make a Group a member of itself: "+this.toString()),Ht("Cannot make a Group indirectly contain itself: "+this.toString()+" already contains "+a.toString())),this.C(2);var x=this.diagram;if(y!==null?V0(y,this):this instanceof ii&&x!==null&&x.ai.remove(this),this.Ah=a,a!==null?K0(a,this):this instanceof ii&&x!==null&&x.ai.add(this),this.C(1),x!==null&&x.aa){var b=this.data,E=x.model;if(b!==null&&E.Xj()){var te=E.wa(a!==null?a.data:null);E.mp(b,te)}}if(b=this.containingGroupChanged,b!==null&&(E=!0,x!==null&&(E=x.aa,x.aa=!0),b(this,y,a),x!==null&&(x.aa=E)),this instanceof ii){for(x=new On,nd(x,this,!0,0,!0),x=x.iterator;x.next();)if(b=x.value,b instanceof sr)for(b=b.linksConnected;b.next();)Sp(b.value)}if(this instanceof sr){for(x=this.linksConnected;x.next();)Sp(x.value);x=this.labeledLink,x!==null&&Sp(x)}this.g("containingGroup",y,a),a!==null&&(y=a.layer,y!==null&&gu(y,-1,a))}}else Ht("cannot set the Part.containingGroup of a Link or Adornment")}},containingGroupChanged:{get:function(){return this.P!==null?this.P.Kp:null},set:function(a){var y=this.containingGroupChanged;y!==a&&(cl(this),this.P.Kp=a,this.g("containingGroupChanged",y,a))}},isTopLevel:{get:function(){return!(this.containingGroup!==null||this instanceof sr&&this.labeledLink!==null)}},layoutConditions:{get:function(){return this.P!==null?this.P.Cq:127},set:function(a){var y=this.layoutConditions;y!==a&&(cl(this),this.P.Cq=a,this.g("layoutConditions",y,a))}},dragComputation:{get:function(){return this.P!==null?this.P.Up:null},set:function(a){var y=this.dragComputation;y!==a&&(cl(this),this.P.Up=a,this.g("dragComputation",y,a))}},shadowOffset:{get:function(){return this.P!==null?this.P.zr:co},set:function(a){var y=this.shadowOffset;y.D(a)||(a=a.J(),cl(this),this.P.zr=a,this.N(),this.g("shadowOffset",y,a))}},shadowColor:{get:function(){return this.P!==null?this.P.yr:"gray"},set:function(a){var y=this.shadowColor;y!==a&&(cl(this),this.P.yr=a,this.N(),this.g("shadowColor",y,a))}},shadowBlur:{get:function(){return this.P!==null?this.P.Vg:4},set:function(a){var y=this.shadowBlur;y!==a&&(cl(this),this.P.Vg=a,this.N(),this.g("shadowBlur",y,a))}}}),kr.prototype.invalidateLayout=kr.prototype.C,kr.prototype.findCommonContainingGroup=kr.prototype.px,kr.prototype.isMemberOf=kr.prototype.Td,kr.prototype.findTopLevelPart=kr.prototype.sz,kr.prototype.findSubGraphLevel=kr.prototype.oz,kr.prototype.ensureBounds=kr.prototype.Va,kr.prototype.getDocumentBounds=kr.prototype.mi,kr.prototype.findObject=kr.prototype.fb,kr.prototype.moveTo=kr.prototype.moveTo,kr.prototype.invalidateAdornments=kr.prototype.Wb,kr.prototype.clearAdornments=kr.prototype.Ej,kr.prototype.removeAdornment=kr.prototype.Jf,kr.prototype.addAdornment=kr.prototype.bh,kr.prototype.findAdornment=kr.prototype.Pj,kr.prototype.updateTargetBindings=kr.prototype.La;var H1=!1;kr.className="Part",kr.LayoutNone=0,kr.LayoutAdded=1,kr.LayoutRemoved=2,kr.LayoutShown=4,kr.LayoutHidden=8,kr.LayoutNodeSized=16,kr.LayoutGroupLayout=32,kr.LayoutNodeReplaced=64,kr.LayoutStandard=127,kr.LayoutAll=16777215;function Vi(a,y){a===void 0||a instanceof Ka||typeof a=="string"?kr.call(this,a):(kr.call(this),a&&(y=a)),this.G&=-257,this.Jg="Adornment",this.ue=null,this.Aw=0,this.Uw=!1,this.j=this.$a=null,y&&Object.assign(this,y)}Zt(Vi,kr),Vi.prototype.toString=function(){var a=this.adornedPart;return"Adornment("+this.category+")"+(a!==null?a.toString():"")},Vi.prototype.updateRelationshipsFromData=function(){},Vi.prototype.Ul=function(a){var y=this.adornedObject,x=y==null?void 0:y.part;if(x instanceof _n&&y instanceof pi){y=x.path,x.Ul(a),a=y.geometry,x=this.O.s,y=x.length;for(var b=0;b<y;b++){var E=x[b];E.isPanelMain&&E instanceof pi&&(E.ua=a)}}},Vi.prototype.si=function(){var a=this.ue;return a===null?!0:(a=a.part,a===null||!Zs(a))},Vi.prototype.Zc=function(){return!1},Vi.prototype.gk=function(a,y,x,b,E,te,ne){if(a===fa&&y==="elements"){if(E instanceof Vs)this.$a===null&&(this.$a=E);else if(E instanceof Xn){var se=E.Nl(function(he){return he instanceof Vs});se instanceof Vs&&this.$a===null&&(this.$a=se)}}else a===Oa&&y==="elements"&&this.$a!==null&&(b===this.$a?this.$a=null:b instanceof Xn&&this.$a.rg(b)&&(this.$a=null));kr.prototype.gk.call(this,a,y,x,b,E,te,ne)},Vi.prototype.updateAdornments=function(){},Vi.prototype.Lj=function(){},Pt.Object.defineProperties(Vi.prototype,{placeholder:{get:function(){return this.$a}},adornedObject:{get:function(){return this.ue},set:function(a){var y=this.adornedPart,x=null;a!==null&&(x=a.part),y===null||a!==null&&y===x||y.Jf(this.category),this.ue=a,x!==null&&x.bh(this.category,this)}},adornedPart:{get:function(){var a=this.ue;return a!==null?a.part:null}},containingGroup:{get:function(){return null}}}),Vi.className="Adornment";function U0(){this.nc=!1,this.Vr=this.gj=this.Eq=this.Dq=null,this.yp=Nl,this.er=Ym,this.Kr=this.ij=this.Nq=this.Mq=null}U0.prototype.copy=function(){var a=new U0;return a.Dq=this.Dq,a.Eq=this.Eq,a.gj=this.gj,a.Vr=this.Vr,a.yp=this.yp.J(),a.er=this.er,a.Mq=this.Mq,a.Nq=this.Nq,a.ij=this.ij,a.Kr=this.Kr,a};function sr(a,y){a===void 0||a instanceof Ka||typeof a=="string"?kr.call(this,a):(kr.call(this),a&&(y=a)),this.U=13,this.Ba=null,this.jb=new Dn,this.wc=this.af=this.Yk=null,this.ci=!1,y&&Object.assign(this,y)}Zt(sr,kr),sr.prototype.cloneProtected=function(a){kr.prototype.cloneProtected.call(this,a),a.U=this.U,this.Ba!==null&&(a.Ba=this.Ba.nc?this.Ba:this.Ba.copy())},ot=sr.prototype,ot.Af=function(a){kr.prototype.Af.call(this,a),a.Bd(),a.af=this.af,a.wc=null};function Mh(a){a.Ba===null?a.Ba=new U0:a.Ba.nc&&(a.Ba=a.Ba.copy())}ot.th=function(){kr.prototype.th.call(this),this.Ba!==null&&(this.Ba.nc=!0)};function U1(a,y){y!==null&&(a.af===null&&(a.af=new On),a.af.add(y))}function G1(a,y,x,b){if(y===null||a.af===null)return null;for(var E=a.af.iterator;E.next();){var te=E.value;if(te.Ds===a&&te.cv===y&&te.Ox===x&&te.Px===b||te.Ds===y&&te.cv===a&&te.Ox===b&&te.Px===x)return te}return null}ot.Lz=function(a,y,x){y==null&&(y=""),x==null&&(x=""),a=G1(this,a,y,x),a!==null&&a.Sl()},ot.gk=function(a,y,x,b,E,te,ne){a===fa&&y==="elements"?this.wc=null:a===Oa&&y==="elements"&&(this.wc=null),kr.prototype.gk.call(this,a,y,x,b,E,te,ne)},ot.Bd=function(a){for(var y=this.linksConnected;y.next();){var x=y.value;a!==void 0&&a.contains(x)||(Ll(x.fromPort),Ll(x.toPort),x.bb())}};function Z1(a,y){for(a=a.linksConnected;a.next();){var x=a.value;(x.fromPort===y||x.toPort===y)&&(Ll(x.fromPort),Ll(x.toPort),x.bb())}}function Ll(a){if(a!==null){var y=a.Zn;y!==null&&y.Sl(),a=a.part,y=a.containingGroup,y===null||a.isVisible()||Ll(y.port)}}ot.si=function(){return!0},sr.prototype.getAvoidableRect=function(a){return a.set(this.actualBounds),a.Co(this.avoidableMargin),a},sr.prototype.findVisibleNode=function(){for(var a=this;a!==null&&!a.isVisible();)a=a.containingGroup;return a},sr.prototype.isVisible=function(){if(!kr.prototype.isVisible.call(this))return!1;var a=!0,y=wh,x=this.diagram;if(x!==null&&(a=x.isTreePathToChildren,y=x.treeCollapsePolicy),y===wh){if(a=this.pg(),a!==null&&!a.isTreeExpanded)return!1}else if(y===Ba){if(a=a?this.Oo():this.Po(),0<a.count&&a.all(function(b){return!b.isTreeExpanded}))return!1}else if(y===ip&&(a=a?this.Oo():this.Po(),0<a.count&&a.any(function(b){return!b.isTreeExpanded})))return!1;return a=this.labeledLink,a!==null?a.isVisible():!0},sr.prototype.Zb=function(a){kr.prototype.Zb.call(this,a);for(var y=this.linksConnected;y.next();){var x=y.value;if(a&&this.containingGroup!==null){var b=x.To(this);b===null||b.Td(this.containingGroup)||x.bb()}x.Zb(a)}},sr.prototype.qx=function(){var a=new On,y=new On;return K1(this,this,a,y),y.iterator};function K1(a,y,x,b){if(y!==null&&!x.has(y)){x.add(y);var E=!0,te=a.diagram;te!==null&&(E=te.isTreePathToChildren),y.linksConnected.each(function(ne){ne.isTreeLink?(E?ne.fromNode===y:ne.toNode===y)&&K1(a,E?ne.toNode:ne.fromNode,x,b):b.add(ne)})}}sr.prototype.findLinksConnected=function(a){if(a===void 0&&(a=null),a===null)return this.jb.iterator;var y=new br(this.jb),x=this;return y.predicate=function(b){return b.fromNode===x&&b.fromPortId===a||b.toNode===x&&b.toPortId===a},y},ot=sr.prototype,ot.Mo=function(a){a===void 0&&(a=null);var y=new br(this.jb),x=this;return y.predicate=function(b){return b.fromNode!==x?!1:a===null?!0:b.fromPortId===a},y},ot.Sd=function(a){a===void 0&&(a=null);var y=new br(this.jb),x=this;return y.predicate=function(b){return b.toNode!==x?!1:a===null?!0:b.toPortId===a},y},ot.Mu=function(a){a===void 0&&(a=null);for(var y=null,x=null,b=this.jb.iterator;b.next();){var E=b.value;E.fromNode===this?(a===null||E.fromPortId===a)&&(E=E.toNode,y!==null?y.add(E):x!==null&&x!==E?(y=new On,y.add(x),y.add(E)):x=E):E.toNode!==this||a!==null&&E.toPortId!==a||(E=E.fromNode,y!==null?y.add(E):x!==null&&x!==E?(y=new On,y.add(x),y.add(E)):x=E)}return y!==null?y.iterator:x!==null?new Wr(x):Gr},ot.Po=function(a){a===void 0&&(a=null);for(var y=null,x=null,b=this.jb.iterator;b.next();){var E=b.value;E.fromNode!==this||a!==null&&E.fromPortId!==a||(E=E.toNode,y!==null?y.add(E):x!==null&&x!==E?(y=new On,y.add(x),y.add(E)):x=E)}return y!==null?y.iterator:x!==null?new Wr(x):Gr},ot.Oo=function(a){a===void 0&&(a=null);for(var y=null,x=null,b=this.jb.iterator;b.next();){var E=b.value;E.toNode!==this||a!==null&&E.toPortId!==a||(E=E.fromNode,y!==null?y.add(E):x!==null&&x!==E?(y=new On,y.add(x),y.add(E)):x=E)}return y!==null?y.iterator:x!==null?new Wr(x):Gr},ot.jz=function(a,y,x){y===void 0&&(y=null),x===void 0&&(x=null);var b=new br(this.jb),E=this;return b.predicate=function(te){return!((te.fromNode!==E||te.toNode!==a||y!==null&&te.fromPortId!==y||x!==null&&te.toPortId!==x)&&(te.fromNode!==a||te.toNode!==E||x!==null&&te.fromPortId!==x||y!==null&&te.toPortId!==y))},b},ot.kz=function(a,y,x){y===void 0&&(y=null),x===void 0&&(x=null);var b=new br(this.jb),E=this;return b.predicate=function(te){return!(te.fromNode!==E||te.toNode!==a||y!==null&&te.fromPortId!==y||x!==null&&te.toPortId!==x)},b};function Vm(a,y,x){Ll(x);var b=a.jb.contains(y);if(b||a.jb.add(y),!b||y.fromNode===y.toNode){var E=a.linkConnected;if(E!==null){var te=!0,ne=a.diagram;ne!==null&&(te=ne.aa,ne.aa=!0),E(a,y,x),ne!==null&&(ne.aa=te)}}!b&&y.isTreeLink&&(x=y.fromNode,y=y.toNode,x!==null&&y!==null&&x!==y&&(b=!0,a=a.diagram,a!==null&&(b=a.isTreePathToChildren),E=b?y:x,te=b?x:y,E.ci||(E.ci=te),!te.isTreeLeaf||a!==null&&a.undoManager.isUndoingRedoing||(b?x===te&&(te.isTreeLeaf=!1):y===te&&(te.isTreeLeaf=!1))))}function Xm(a,y,x){Ll(x);var b=a.jb.remove(y),E=null;if(b||y.toNode===y.fromNode){var te=a.linkDisconnected;if(E=a.diagram,te!==null){var ne=!0;E!==null&&(ne=E.aa,E.aa=!0),te(a,y,x),E!==null&&(E.aa=ne)}}b&&y.isTreeLink&&(x=!0,E!==null&&(x=E.isTreePathToChildren),a=x?y.toNode:y.fromNode,y=x?y.fromNode:y.toNode,a!==null&&(a.ci=!1),y===null||y.isTreeLeaf||(y.jb.count===0?(y.ci=null,E!==null&&E.undoManager.isUndoingRedoing||(y.isTreeLeaf=!0)):Sg(y)))}function Sg(a){if(a.ci=!1,a.jb.count!==0){var y=!0,x=a.diagram;if(x===null||!x.undoManager.isUndoingRedoing){for(x!==null&&(y=x.isTreePathToChildren),x=a.jb.iterator;x.next();){var b=x.value;if(b.isTreeLink){if(y){if(b.fromNode===a){a.isTreeLeaf=!1;return}}else if(b.toNode===a){a.isTreeLeaf=!1;return}}}a.isTreeLeaf=!0}}}sr.prototype.updateRelationshipsFromData=function(){var a=this.diagram;a!==null&&a.partManager.updateRelationshipsFromData(this)},ot=sr.prototype,ot.Vo=function(a){kr.prototype.Vo.call(this,a),a||(Sg(this),a=this.Yk,a!==null&&eS(a,this))},ot.Wo=function(a){kr.prototype.Wo.call(this,a),a||(a=this.Yk,a!==null&&a.wd!==null&&(a.wd.remove(this),a.v()))},ot.Lj=function(){if(0<this.jb.count){var a=this.diagram;if(a!==null)for(var y=a.commandHandler!==null?a.commandHandler.deletesConnectedLinks:!0,x=this.jb.copy().iterator;x.next();){var b=x.value;y?a.remove(b):(b.fromNode===this&&(b.fromNode=null),b.toNode===this&&(b.toNode=null))}}this.labeledLink=null,kr.prototype.Lj.call(this)},ot.ns=function(a){if(this.wc===null){if(a===""&&this.Te===!1)return this;V1(this)}var y=this.wc.I(a);return y!==null||a!==""&&(y=this.wc.I(""),y!==null)?y:this};function V1(a){a.wc===null?a.wc=new pr:a.wc.clear(),a.qm(a,function(y,x){X1(y,x)}),a.wc.count===0&&a.wc.add("",a)}function X1(a,y){var x=y.portId;x!==null&&a.wc!==null&&a.wc.add(x,y)}function G0(a,y,x){var b=y.portId;if(b!==null&&(a.wc!==null&&a.wc.remove(b),y=a.diagram,y!==null&&x)){for(x=null,a=a.findLinksConnected(b);a.next();)b=a.value,x===null&&(x=yn()),x.push(b);if(x!==null){for(a=0;a<x.length;a++)y.remove(x[a]);Tn(x)}}}ot.Nz=function(a){if(a===null||a===this)return!1;var y=!0,x=this.diagram;if(x!==null&&(y=x.isTreePathToChildren),x=this,y)for(;x!==a;){y=null;for(var b=x.jb.iterator;b.next();){var E=b.value;if(E.isTreeLink&&(y=E.fromNode,y!==x&&y!==this))break}if(y===this||y===null||y===x)return!1;x=y}else for(;x!==a;){for(y=null,b=x.jb.iterator;b.next()&&(E=b.value,!E.isTreeLink||(y=E.toNode,y===x||y===this)););if(y===this||y===null||y===x)return!1;x=y}return!0},ot.xz=function(){var a=!0,y=this.diagram;if(y!==null&&(a=y.isTreePathToChildren),y=this,a)for(;;){a=null;for(var x=y.jb.iterator;x.next();){var b=x.value;if(b.isTreeLink&&(a=b.fromNode,a!==y&&a!==this))break}if(a===this)return this;if(a===null||a===y)return y;y=a}else for(;;){for(a=null,x=y.jb.iterator;x.next()&&(b=x.value,!b.isTreeLink||(a=b.toNode,a===y||a===this)););if(a===this)return this;if(a===null||a===y)return y;y=a}},ot.gz=function(a){if(a===null)return null;if(this===a)return this;for(var y=this;y!==null;)Km(y,!0),y=y.pg();var x=null;for(y=a;y!==null;){if(y.G&1048576){x=y;break}y=y.pg()}for(y=this;y!==null;)Km(y,!1),y=y.pg();return x},ot.kh=function(){var a=!0,y=this.diagram;if(y!==null&&(a=y.isTreePathToChildren),y=this.jb.iterator,a){for(;y.next();)if(a=y.value,a.isTreeLink&&a.fromNode!==this)return a}else for(;y.next();)if(a=y.value,a.isTreeLink&&a.toNode!==this)return a;return null},ot.pg=function(){var a=this.ci;if(a===null)return null;if(a instanceof sr)return a;a=this.diagram,a=a!==null?a.isTreePathToChildren:!0;for(var y=this.jb.iterator;y.next();){var x=y.value;if(x.isTreeLink&&(x=a?x.fromNode:x.toNode,x!==this))return this.ci=x}return this.ci=null},ot.vz=function(){function a(x,b){b.add(x);var E=x.kh();E!==null&&(b.add(E),x=x.pg(),x!==null&&a(x,b))}var y=new On;return a(this,y),y},ot.uz=function(){return Y1(this,this)};function Y1(a,y){return y=y.pg(),y===null?0:1+Y1(a,y)}ot.Qo=function(){var a=!0,y=this.diagram;y!==null&&(a=y.isTreePathToChildren),y=new br(this.jb);var x=this;return y.predicate=a?function(b){return!!(b.isTreeLink&&b.fromNode===x)}:function(b){return!!(b.isTreeLink&&b.toNode===x)},y},ot.Ou=function(){var a=!0,y=this.diagram;y!==null&&(a=y.isTreePathToChildren);var x=y=null,b=this.jb.iterator;if(a)for(;b.next();)a=b.value,a.isTreeLink&&a.fromNode===this&&(a=a.toNode,y!==null?y.add(a):x!==null&&x!==a?(y=new Dn,y.add(x),y.add(a)):x=a);else for(;b.next();)a=b.value,a.isTreeLink&&a.toNode===this&&(a=a.fromNode,y!==null?y.add(a):x!==null&&x!==a?(y=new Dn,y.add(x),y.add(a)):x=a);return y!==null?y.iterator:x!==null?new Wr(x):Gr},ot.wz=function(a){a===void 0&&(a=1/0);var y=new On;return nd(y,this,!1,a,!0),y},sr.prototype.collapseTree=function(a){a===void 0&&(a=1),1>a&&(a=1);var y=this.diagram;if(y!==null&&!y.Ue){y.Ue=!0;var x=new On;x.add(this),J1(this,x,y.isTreePathToChildren,a,y,this,y.treeCollapsePolicy===wh),y.Ue=!1}};function J1(a,y,x,b,E,te,ne){if(1<b)for(var se=x?a.Mo():a.Sd();se.next();){var he=se.value;he.isTreeLink&&(he=he.To(a),he===null||he===a||y.contains(he)||(y.add(he),J1(he,y,x,b-1,E,te,ne)))}else Q1(a,y,x,E,te,ne)}function Q1(a,y,x,b,E,te){for(var ne=E===a?!0:a.isTreeExpanded,se=x?a.Mo():a.Sd(),he={};se.next();){var ve=se.value;if(ve.isTreeLink&&(ve=ve.To(a),ve!==null&&ve!==a)){var Se=y.contains(ve);if(Se||y.add(ve),ne){var Be=x?ve.Oo():ve.Po();he.uv=a,Be.all(function(Ve){return function(nt){return nt===Ve.uv||!nt.isTreeExpanded}}(he))&&b.Aj(ve,E),ve.oh(),ve.Zb(!1)}ve.isTreeExpanded&&(ve.wasTreeExpanded=ve.isTreeExpanded,Se||Q1(ve,y,x,b,E,te))}he={uv:he.uv}}a.isTreeExpanded=!1}sr.prototype.expandTree=function(a){a===void 0&&(a=2),2>a&&(a=2);var y=this.diagram;if(y!==null&&!y.Ue){y.Ue=!0;var x=new On;x.add(this),_1(this,x,y.isTreePathToChildren,a,y,this,y.treeCollapsePolicy===wh),y.Ue=!1}};function _1(a,y,x,b,E,te,ne){for(var se=te===a?!1:a.isTreeExpanded,he=x?a.Mo():a.Sd(),ve={};he.next();){var Se=he.value;if(Se.isTreeLink&&(se||Se.fd||Se.bb(),Se=Se.To(a),Se!==null&&Se!==a&&!y.contains(Se))){if(y.add(Se),!se){Se.Zb(!0),Se.oh();var Be=x?Se.Oo():Se.Po();ve.vv=a,Be.all(function(Ve){return function(nt){return nt===Ve.vv||!nt.isTreeExpanded}}(ve))&&E.Cj(Se,te)}(2<b||Se.wasTreeExpanded)&&(Se.wasTreeExpanded=!1,_1(Se,y,x,b-1,E,te,ne))}ve={vv:ve.vv}}a.isTreeExpanded=!0}Pt.Object.defineProperties(sr.prototype,{portSpreading:{get:function(){return this.Ba!==null?this.Ba.er:Ym},set:function(a){var y=this.portSpreading;y!==a&&(Mh(this),this.Ba.er=a,this.g("portSpreading",y,a),a=this.diagram,a!==null&&a.undoManager.isUndoingRedoing||this.Bd())}},avoidable:{get:function(){return(this.U&8)!==0},set:function(a){var y=(this.U&8)!==0;if(y!==a){this.U^=8;var x=this.diagram;x!==null&&Sh(x,this),this.g("avoidable",y,a)}}},avoidableMargin:{get:function(){return this.Ba!==null?this.Ba.yp:Nl},set:function(a){typeof a=="number"&&(a=new Or(a));var y=this.avoidableMargin;if(!y.D(a)){a=a.J(),Mh(this),this.Ba.yp=a;var x=this.diagram;x!==null&&Sh(x,this),this.g("avoidableMargin",y,a)}}},linksConnected:{get:function(){return this.jb.iterator}},linkConnected:{get:function(){return this.Ba!==null?this.Ba.Dq:null},set:function(a){var y=this.linkConnected;y!==a&&(Mh(this),this.Ba.Dq=a,this.g("linkConnected",y,a))}},linkDisconnected:{get:function(){return this.Ba!==null?this.Ba.Eq:null},set:function(a){var y=this.linkDisconnected;y!==a&&(Mh(this),this.Ba.Eq=a,this.g("linkDisconnected",y,a))}},linkValidation:{get:function(){return this.Ba!==null?this.Ba.gj:null},set:function(a){var y=this.linkValidation;y!==a&&(Mh(this),this.Ba.gj=a,this.g("linkValidation",y,a))}},isLinkLabel:{get:function(){return this.Yk!==null}},labeledLink:{get:function(){return this.Yk},set:function(a){var y=this.Yk;if(y!==a){var x=this.diagram,b=this.data;if(y!==null){if(y.wd!==null&&(y.wd.remove(this),y.v()),x!==null&&b!==null&&!x.undoManager.isUndoingRedoing){var E=y.data,te=x.model;if(E!==null&&te.ri()){var ne=te.wa(b);ne!==void 0&&te.Qx(E,ne)}}this.containingGroup=null}this.Yk=a,a!==null&&(eS(a,this),x===null||b===null||x.undoManager.isUndoingRedoing||(E=a.data,x=x.model,E!==null&&x.ri()&&(b=x.wa(b),b!==void 0&&x.Bu(E,b))),this.containingGroup=a.containingGroup),Gs(this),this.g("labeledLink",y,a)}}},port:{get:function(){return this.ns("")}},ports:{get:function(){return this.wc===null&&V1(this),this.wc.iteratorValues}},isTreeExpanded:{get:function(){return(this.U&1)!==0},set:function(a){var y=(this.U&1)!==0;if(y!==a){this.U^=1;var x=this.diagram;if(this.g("isTreeExpanded",y,a),y=this.treeExpandedChanged,y!==null){var b=!0;x!==null&&(b=x.aa,x.aa=!0),y(this),x!==null&&(x.aa=b)}x!==null&&x.undoManager.isUndoingRedoing?this.Zb(a):a?this.expandTree():this.collapseTree()}}},wasTreeExpanded:{get:function(){return(this.U&2)!==0},set:function(a){var y=(this.U&2)!==0;y!==a&&(this.U^=2,this.g("wasTreeExpanded",y,a))}},treeExpandedChanged:{get:function(){return this.Ba!==null?this.Ba.Vr:null},set:function(a){var y=this.treeExpandedChanged;y!==a&&(Mh(this),this.Ba.Vr=a,this.g("treeExpandedChanged",y,a))}},isTreeLeaf:{get:function(){return(this.U&4)!==0},set:function(a){var y=(this.U&4)!==0;y!==a&&(this.U^=4,this.g("isTreeLeaf",y,a))}}}),sr.prototype.expandTree=sr.prototype.expandTree,sr.prototype.collapseTree=sr.prototype.collapseTree,sr.prototype.findTreeParts=sr.prototype.wz,sr.prototype.findTreeChildrenNodes=sr.prototype.Ou,sr.prototype.findTreeChildrenLinks=sr.prototype.Qo,sr.prototype.findTreeLevel=sr.prototype.uz,sr.prototype.findTreeParentChain=sr.prototype.vz,sr.prototype.findTreeParentNode=sr.prototype.pg,sr.prototype.findTreeParentLink=sr.prototype.kh,sr.prototype.findCommonTreeParent=sr.prototype.gz,sr.prototype.findTreeRoot=sr.prototype.xz,sr.prototype.isInTreeOf=sr.prototype.Nz,sr.prototype.findPort=sr.prototype.ns,sr.prototype.findLinksTo=sr.prototype.kz,sr.prototype.findLinksBetween=sr.prototype.jz,sr.prototype.findNodesInto=sr.prototype.Oo,sr.prototype.findNodesOutOf=sr.prototype.Po,sr.prototype.findNodesConnected=sr.prototype.Mu,sr.prototype.findLinksInto=sr.prototype.Sd,sr.prototype.findLinksOutOf=sr.prototype.Mo,sr.prototype.findExternalTreeLinksConnected=sr.prototype.qx,sr.prototype.invalidateConnectedLinks=sr.prototype.Bd,sr.prototype.invalidateLinkBundle=sr.prototype.Lz;var Ex=new wn(sr,"SpreadingNone",10),Ym=new wn(sr,"SpreadingEvenly",11),Z0=new wn(sr,"SpreadingPacked",12);sr.className="Node",sr.SpreadingNone=Ex,sr.SpreadingEvenly=Ym,sr.SpreadingPacked=Z0;function ii(a,y){a===void 0||a instanceof Ka||typeof a=="string"?sr.call(this,a):(sr.call(this),a&&(y=a)),this.U|=4608,this.Gn=new On,this.$a=null,this.Sc=new Go,this.Sc.group=this,this.gl=new On,this.tb=this.$p=null,y&&Object.assign(this,y)}Zt(ii,sr),ii.prototype.cloneProtected=function(a){sr.prototype.cloneProtected.call(this,a),this.U=this.U&-32769;var y=a.Nl(function(x){return x instanceof Vs});y instanceof Vs?a.$a=y:a.$a=null,this.Sc!==null?(a.Sc=this.Sc.copy(),a.Sc.group=a):(a.Sc!==null&&(a.Sc.group=null),a.Sc=null),this.tb!==null&&(a.tb=this.tb.copy())},ot=ii.prototype,ot.Af=function(a){sr.prototype.Af.call(this,a);var y=a.Rj();for(a=a.memberParts;a.next();){var x=a.value;if(x.v(),x.C(8),x.Ej(),x instanceof sr)x.Bd(y);else if(x instanceof _n)for(x=x.labelNodes;x.next();)x.value.Bd(y)}},ot.gk=function(a,y,x,b,E,te,ne){if(a===fa&&y==="elements"){if(E instanceof Vs)this.$a===null?this.$a=E:this.$a!==E&&Ht("Cannot insert a second Placeholder into the visual tree of a Group.");else if(E instanceof Xn){var se=E.Nl(function(he){return he instanceof Vs});se instanceof Vs&&(this.$a===null?this.$a=se:this.$a!==se&&Ht("Cannot insert a second Placeholder into the visual tree of a Group."))}}else a===Oa&&y==="elements"&&this.$a!==null&&(b===this.$a?this.$a=null:b instanceof Xn&&this.$a.rg(b)&&(this.$a=null));sr.prototype.gk.call(this,a,y,x,b,E,te,ne)},ot.Xl=function(a,y){sr.prototype.Xl.call(this,a,y),this.isClipping&&this.type!==Xn.Spot&&this.isSubGraphExpanded&&(a=this.resizeObject,a instanceof Xn&&(a=a.Pb()),this.tb===null&&(this.tb=new Mn),a.mi(this.tb),a instanceof pi&&this.tb.Bc(-a.strokeWidth,-a.strokeWidth))},ot.eh=function(a,y,x,b){this.nf=this.$a,sr.prototype.eh.call(this,a,y,x,b)},ot.Va=function(){var a=this;a.isSubGraphExpanded&&this.memberParts.each(function(y){!a.computesBoundsIncludingLinks&&y instanceof _n||y.Va()}),sr.prototype.Va.call(this)},ot.si=function(){if(!sr.prototype.si.call(this))return!1;for(var a=this.memberParts;a.next();){var y=a.value;if(y instanceof sr){if(y.isVisible()&&Zs(y))return!1}else if(y instanceof _n&&y.isVisible()&&Zs(y)&&y.fromNode!==this&&y.toNode!==this)return!1}return!0};function K0(a,y){if(a.Gn.add(y)){y instanceof ii&&a.gl.add(y);var x=a.memberAdded;if(x!==null){var b=!0,E=a.diagram;E!==null&&(b=E.aa,E.aa=!0),x(a,y),E!==null&&(E.aa=b)}a.isVisible()&&a.isSubGraphExpanded||y.Zb(!1)}y instanceof _n&&!a.computesBoundsIncludingLinks||(y=a.$a,y===null&&(y=a),y.v())}function V0(a,y){if(a.Gn.remove(y)){y instanceof ii&&a.gl.remove(y);var x=a.memberRemoved;if(x!==null){var b=!0,E=a.diagram;E!==null&&(b=E.aa,E.aa=!0),x(a,y),E!==null&&(E.aa=b)}a.isVisible()&&a.isSubGraphExpanded||y.Zb(!0)}y instanceof _n&&!a.computesBoundsIncludingLinks||(y=a.$a,y===null&&(y=a),y.v())}ot.Lj=function(){if(0<this.Gn.count){var a=this.diagram;if(a!==null)for(var y=this.Gn.copy().iterator;y.next();)a.remove(y.value)}sr.prototype.Lj.call(this)},ii.prototype.canAddMembers=function(a){var y=this.diagram;if(y===null)return!1;for(y=y.commandHandler,a=Pn(a).iterator;a.next();)if(!y.isValidMember(this,a.value))return!1;return!0},ii.prototype.addMembers=function(a,y){var x=this.diagram;if(x===null)return!1;x=x.commandHandler;var b=!0;for(a=Pn(a).iterator;a.next();){var E=a.value;!y||x.isValidMember(this,E)?E.containingGroup=this:b=!1}return b},ii.prototype.canUngroup=function(){if(!this.ungroupable)return!1;var a=this.layer;return a===null||!a.allowUngroup?!1:(a=a.diagram,!!(a===null||a.allowUngroup))},ot=ii.prototype,ot.Bd=function(a){var y=(this.U&65536)!==0;if(sr.prototype.Bd.call(this,a),!y)for(!(this.U&65536)&&(this.U=this.U^65536),y=this.Lu();y.next();){var x=y.value;if(a===void 0||!a.contains(x)){var b=x.fromNode;b!==null&&b!==this&&b.Td(this)&&!b.isVisible()?(Ll(x.fromPort),Ll(x.toPort),x.bb()):(b=x.toNode,b!==null&&b!==this&&b.Td(this)&&!b.isVisible()&&(Ll(x.fromPort),Ll(x.toPort),x.bb()))}}},ot.Lu=function(){var a=this.diagram!==null&&this.diagram.Pw;if(a&&this.$p!==null)return this.$p.iterator;var y=this.Rj();y.add(this);for(var x=new On,b=y.iterator;b.next();){var E=b.value;if(E instanceof sr)for(E=E.linksConnected;E.next();){var te=E.value;y.contains(te)||x.add(te)}}return a&&(this.$p=x),x.iterator},ot.iz=function(){var a=this.Rj();a.add(this);for(var y=new On,x=a.iterator;x.next();){var b=x.value;if(b instanceof sr)for(b=b.linksConnected;b.next();){var E=b.value,te=E.fromNode;te===null||a.contains(te)&&te!==this||y.add(te),E=E.toNode,E===null||a.contains(E)&&E!==this||y.add(E)}}return y.iterator},ot.hz=function(){function a(x,b){x!==null&&(b.add(x),a(x.containingGroup,b))}var y=new On;return a(this,y),y},ot.Rj=function(){var a=new On;return nd(a,this,!0,0,!0),a.remove(this),a},ot.Zb=function(a){sr.prototype.Zb.call(this,a);for(var y=this.memberParts;y.next();)y.value.Zb(a)},ii.prototype.collapseSubGraph=function(){var a=this.diagram;if(a!==null&&!a.Ue){a.Ue=!0;var y=this.Rj();$1(this,y,a,this),a.Ue=!1}};function $1(a,y,x,b){for(var E=a.memberParts;E.next();){var te=E.value;if(te.Zb(!1),te instanceof ii&&te.isSubGraphExpanded&&(te.wasSubGraphExpanded=te.isSubGraphExpanded,$1(te,y,x,b)),te instanceof sr)te.Bd(y),x.Aj(te,b);else if(te instanceof _n)for(te=te.labelNodes;te.next();)te.value.Bd(y)}a.isSubGraphExpanded=!1}ii.prototype.expandSubGraph=function(){var a=this.diagram;if(a!==null&&!a.Ue){a.Ue=!0;var y=this.Rj();q1(this,y,a,this),a.Ue=!1}};function q1(a,y,x,b){for(var E=a.memberParts;E.next();){var te=E.value;if(te.Zb(!0),te instanceof ii&&te.wasSubGraphExpanded&&(te.wasSubGraphExpanded=!1,q1(te,y,x,b)),te instanceof sr)te.Bd(y),x.Cj(te,b);else if(te instanceof _n)for(te=te.labelNodes;te.next();)te.value.Bd(y)}a.isSubGraphExpanded=!0}ii.prototype.move=function(a,y){y===void 0&&(y=!1);var x=y?this.location:this.position,b=x.x;x=x.y;var E=a.x,te=a.y;if(!(b===E||isNaN(b)&&isNaN(E))||!(x===te||isNaN(x)&&isNaN(te))){for(b=E-(isNaN(b)?0:b),x=te-(isNaN(x)?0:x),te=Lt.alloc(),sr.prototype.move.call(this,a,y),a=new On,y=this.Rj().iterator;y.next();)E=y.value,E instanceof _n&&(E.suspendsRouting&&a.add(E),E.fd||E.fromNode!==this&&E.toNode!==this)&&(E.suspendsRouting=!0);for(y.reset();y.next();)if(E=y.value,!(E.ph()||E instanceof sr&&E.isLinkLabel)){var ne=E.position,se=E.location;ne.w()?(te.x=ne.x+b,te.y=ne.y+x,E.position=te):se.w()&&(te.x=se.x+b,te.y=se.y+x,E.location=te)}for(y.reset();y.next();)E=y.value,E instanceof _n&&(E.suspendsRouting=a.contains(E),E.fd||E.fromNode!==this&&E.toNode!==this)&&(ne=E.position,te.x=ne.x+b,te.y=ne.y+x,te.w()?E.move(te):E.bb(),Y0(E)&&E.bb());Lt.free(te)}},Pt.Object.defineProperties(ii.prototype,{placeholder:{get:function(){return this.$a}},computesBoundsAfterDrag:{get:function(){return(this.U&2048)!==0},set:function(a){var y=(this.U&2048)!==0;y!==a&&(this.U^=2048,this.g("computesBoundsAfterDrag",y,a))}},computesBoundsIncludingLinks:{get:function(){return(this.U&4096)!==0},set:function(a){var y=(this.U&4096)!==0;y!==a&&(this.U^=4096,this.g("computesBoundsIncludingLinks",y,a))}},computesBoundsIncludingLocation:{get:function(){return(this.U&8192)!==0},set:function(a){var y=(this.U&8192)!==0;y!==a&&(this.U^=8192,this.g("computesBoundsIncludingLocation",y,a))}},handlesDragDropForMembers:{get:function(){return(this.U&16384)!==0},set:function(a){var y=(this.U&16384)!==0;y!==a&&(this.U^=16384,this.g("handlesDragDropForMembers",y,a))}},memberParts:{get:function(){return this.Gn.iterator}},layout:{get:function(){return this.Sc},set:function(a){var y=this.Sc;if(y!==a){a!==null&&a.diagram!==null&&a.diagram.layout===a&&Ht("A layout cannot be both the Diagram.layout and a Group.layout: "+a),y!==null&&(y.diagram=null,y.group=null),this.Sc=a;var x=this.diagram;a!==null&&(a.diagram=x,a.group=this),x!==null&&(x.xh=!0),this.g("layout",y,a),x!==null&&x.$b()}}},memberAdded:{get:function(){return this.Ba!==null?this.Ba.Mq:null},set:function(a){var y=this.memberAdded;y!==a&&(Mh(this),this.Ba.Mq=a,this.g("memberAdded",y,a))}},memberRemoved:{get:function(){return this.Ba!==null?this.Ba.Nq:null},set:function(a){var y=this.memberRemoved;y!==a&&(Mh(this),this.Ba.Nq=a,this.g("memberRemoved",y,a))}},memberValidation:{get:function(){return this.Ba!==null?this.Ba.ij:null},set:function(a){var y=this.memberValidation;y!==a&&(Mh(this),this.Ba.ij=a,this.g("memberValidation",y,a))}},ungroupable:{get:function(){return(this.U&256)!==0},set:function(a){var y=(this.U&256)!==0;y!==a&&(this.U^=256,this.g("ungroupable",y,a))}},isSubGraphExpanded:{get:function(){return(this.U&512)!==0},set:function(a){var y=(this.U&512)!==0;if(y!==a){this.U^=512;var x=this.diagram;if(this.g("isSubGraphExpanded",y,a),y=this.subGraphExpandedChanged,y!==null){var b=!0;x!==null&&(b=x.aa,x.aa=!0),y(this),x!==null&&(x.aa=b)}x!==null&&x.undoManager.isUndoingRedoing?(this.$a!==null&&this.$a.v(),this.memberParts.each(function(E){E.updateAdornments()})):a?this.expandSubGraph():this.collapseSubGraph()}}},wasSubGraphExpanded:{get:function(){return(this.U&1024)!==0},set:function(a){var y=(this.U&1024)!==0;y!==a&&(this.U^=1024,this.g("wasSubGraphExpanded",y,a))}},subGraphExpandedChanged:{get:function(){return this.Ba!==null?this.Ba.Kr:null},set:function(a){var y=this.subGraphExpandedChanged;y!==a&&(Mh(this),this.Ba.Kr=a,this.g("subGraphExpandedChanged",y,a))}},rh:{get:function(){return(this.U&32768)!==0},set:function(a){(this.U&32768)!==0!==a&&(this.U^=32768)}}}),ii.prototype.expandSubGraph=ii.prototype.expandSubGraph,ii.prototype.collapseSubGraph=ii.prototype.collapseSubGraph,ii.prototype.findSubGraphParts=ii.prototype.Rj,ii.prototype.findContainingGroupChain=ii.prototype.hz,ii.prototype.findExternalNodesConnected=ii.prototype.iz,ii.prototype.findExternalLinksConnected=ii.prototype.Lu,ii.prototype.ensureBounds=ii.prototype.Va,ii.className="Group";function Vs(a){qt.call(this),this.yb=Es,this.ko=new Mn(NaN,NaN,NaN,NaN),a&&Object.assign(this,a)}Zt(Vs,qt),Vs.prototype.cloneProtected=function(a){qt.prototype.cloneProtected.call(this,a),a.yb=this.yb.J(),a.ko=this.ko.copy()},Vs.prototype.gh=function(a){if(this.background===null&&this.areaBackground===null)return!1;var y=this.naturalBounds;return Bo(0,0,y.width,y.height,a.x,a.y)},Vs.prototype.Wl=function(){var a=this.part;if(a!==null&&(a instanceof ii||a instanceof Vi)||Ht("Placeholder is not inside a Group or Adornment."),a instanceof ii){var y=this.computeBorder(this.ko),x=this.minSize,b=this.dc;for(ha(b,(isFinite(x.width)?Math.max(x.width,y.width):y.width)||0,(isFinite(x.height)?Math.max(x.height,y.height):y.height)||0),this.Ge(0,0,b.width,b.height),b=a.memberParts,x=!1;b.next();)if(b.value.isVisible()){x=!0;break}b=a.diagram,!x||b===null||b.animationManager.Xu(a)||isNaN(y.x)||isNaN(y.y)||(x=Lt.alloc(),x.xi(y,a.locationSpot),x.D(a.location)||(a.location=x),Lt.free(x))}else{y=this.dc,x=this.yb,b=x.left+x.right;var E=x.top+x.bottom,te=a.adornedObject;a.angle=te.li();var ne=0;te instanceof pi&&(ne=te.strokeWidth);var se=te.Df(),he=te.naturalBounds,ve=(he.width+ne)*se;ne=(he.height+ne)*se,a.type!==Xn.Link&&(se=te.ga(a.category==="Selection"?Xa:a.locationSpot,Lt.alloc()),a.location=se,Lt.free(se)),isNaN(ve)||isNaN(ne)?(a=te.ga(Xa,Lt.alloc()),ve=Mn.allocAt(a.x,a.y,0,0),ve.Ye(te.ga(ks,a)),ve.Ye(te.ga(Bl,a)),ve.Ye(te.ga(tl,a)),ha(y,ve.width+b||0,ve.height+E||0),this.Ge(-x.left,-x.top,y.width,y.height),Lt.free(a),Mn.free(ve)):(ha(y,ve+b||0,ne+E||0),this.Ge(-x.left,-x.top,y.width,y.height))}},Vs.prototype.eh=function(a,y,x,b){this.actualBounds.h(a,y,x,b)},Vs.prototype.computeBorder=function(a){var y=this.part,x=y.diagram,b=x===null||!x.animationManager.isAnimating;if(x!==null&&y instanceof ii&&!y.layer.isTemporary&&y.computesBoundsAfterDrag&&this.ko.w()){var E=x.toolManager.findTool("Dragging");if(E===x.currentTool&&(x=E.computeBorder(y,this.ko,a),x!==null))return x}x=Mn.alloc(),E=this.computeMemberBounds(x);var te=this.yb;return y instanceof ii&&!y.isSubGraphExpanded?a.h(E.x-te.left,E.y-te.top,0,0):a.h(E.x-te.left,E.y-te.top,Math.max(E.width+te.left+te.right,0),Math.max(E.height+te.top+te.bottom,0)),Mn.free(x),b&&y instanceof ii&&y.computesBoundsIncludingLocation&&y.location.w()&&a.Ye(y.location),a},Vs.prototype.computeMemberBounds=function(a){if(!(this.part instanceof ii))return a.h(0,0,0,0),a;for(var y=this.part,x=1/0,b=1/0,E=-1/0,te=-1/0,ne=y.memberParts;ne.next();){var se=ne.value;if(se.isVisible()){if(se instanceof _n&&(!y.computesBoundsIncludingLinks||Xl(se)||se.fromNode===y||se.toNode===y))continue;se=se.actualBounds,se.left<x&&(x=se.left),se.top<b&&(b=se.top),se.right>E&&(E=se.right),se.bottom>te&&(te=se.bottom)}}return isFinite(x)&&isFinite(b)?a.h(x,b,E-x,te-b):(y=y.location,a.h(y.x,y.y,0,0)),a},Pt.Object.defineProperties(Vs.prototype,{padding:{get:function(){return this.yb},set:function(a){typeof a=="number"&&(a=new Or(a));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.g("padding",y,a),this.v())}}}),Vs.className="Placeholder";function _n(a){kr.call(this,Xn.Link),this.Qa=8,this.ef=null,this.ff="",this.uf=this.gn=null,this.vf="",this.uo=null,this.qk=Xs,this.Om=0,this.Qm=Xs,this.Rm=NaN,this.qj=_0,this.po=.5,this.wd=null,this.Nb=new Dn().freeze(),this.Tg=this.Mg=null,this.ml=new Mn,this.ua=new $n,this.u=this.o=this.Sf=this.Wf=null,this.su=new Lt,this.cq=this.Mw=this.Lw=null,this.vt=NaN,this.ba=null,this.j=[],a&&Object.assign(this,a)}Zt(_n,kr),_n.prototype.cloneProtected=function(a){kr.prototype.cloneProtected.call(this,a),a.Qa=this.Qa&-113,a.ff=this.ff,a.gn=this.gn,a.vf=this.vf,a.uo=this.uo,a.qk=this.qk,a.Om=this.Om,a.Qm=this.Qm,a.Rm=this.Rm,a.qj=this.qj,a.po=this.po,this.ba!==null&&(a.ba=this.ba.copy())},ot=_n.prototype,ot.Af=function(a){kr.prototype.Af.call(this,a),this.ff=a.ff,this.vf=a.vf,a.Mg=null,a.bb(),a.Sf=this.Sf;var y=a.fromPort;y!==null&&Ll(y),a=a.toPort,a!==null&&Ll(a)},ot.qb=function(a){a.classType===_n?(a.value&2)===2?this.routing=a:a===Jl||a===Th||a===wp?this.curve=a:a===bg||a===ev||a===tv?this.adjusting=a:a!==_0&&a!==Xs&&Ht("Unknown Link enum value for a Link property: "+a):kr.prototype.qb.call(this,a)},ot.Xc=function(){this.ba===null&&(this.ba=new lg)},ot.si=function(){var a=this.fromNode;if(a!==null){var y=a.findVisibleNode();if(y!==null&&(a=y),Zs(a)||ed(a))return!1}return a=this.toNode,!(a!==null&&(y=a.findVisibleNode(),y!==null&&(a=y),Zs(a)||ed(a)))},ot.zv=function(){return!1},ot.Av=function(){},ot.Zc=function(){return!1},_n.prototype.computeAngle=function(a,y,x){return _n.computeAngle(y,x)},_n.computeAngle=function(a,y){switch(a){default:case Xs:a=0;break;case Cg:a=y;break;case Pg:a=y+90;break;case Eg:a=y-90;break;case $0:a=y+180;break;case nv:a=tn.bp(y),90<a&&270>a&&(a-=180);break;case Ag:a=tn.bp(y+90),90<a&&270>a&&(a-=180);break;case Mg:a=tn.bp(y-90),90<a&&270>a&&(a-=180);break;case rv:if(a=tn.bp(y),45<a&&135>a||225<a&&315>a)return 0;90<a&&270>a&&(a-=180)}return tn.bp(a)};function Sp(a){var y=a.fromNode,x=a.toNode,b=null;if(y!==null?b=x!==null?y.px(x):y.containingGroup:x!==null?b=x.containingGroup:b=null,y=b,x=a.Ah,x!==y){x!==null&&V0(x,a),a.Ah=y,y!==null&&K0(y,a);var E=a.containingGroupChanged;if(E!==null){var te=!0,ne=a.diagram;ne!==null&&(te=ne.aa,ne.aa=!0),E(a,x,y),ne!==null&&(ne.aa=te)}!a.fd||a.Lw!==x&&a.Mw!==x||a.bb()}if(a.isLabeledLink)for(a=a.labelNodes;a.next();)a.value.containingGroup=b}ot=_n.prototype,ot.oh=function(){var a=this.containingGroup;a!==null&&this.fromNode!==a&&this.toNode!==a&&a.computesBoundsIncludingLinks&&kr.prototype.oh.call(this)},ot.To=function(a){var y=this.fromNode;return a===y?this.toNode:y},ot.Cz=function(a){var y=this.fromPort;return a===y?this.toPort:y};function eS(a,y){a.wd===null&&(a.wd=new On),a.wd.add(y),a.v()}ot.Vo=function(a){if(kr.prototype.Vo.call(this,a),Yd(this)&&this.Xo(this.actualBounds),!a){a=this.ef;var y=null;a!==null&&(y=this.fromPort,Vm(a,this,y));var x=this.uf;if(x!==null){var b=this.toPort;x===a&&b===y||Vm(x,this,b)}xg(this)}},ot.Wo=function(a){if(kr.prototype.Wo.call(this,a),Yd(this)&&this.Xo(this.actualBounds),!a){a=this.ef;var y=null;a!==null&&(y=this.fromPort,Xm(a,this,y));var x=this.uf;if(x!==null){var b=this.toPort;x===a&&b===y||Xm(x,this,b)}wg(this)}},ot.Lj=function(){if(this.fd=!0,this.wd!==null){var a=this.diagram;if(a!==null)for(var y=this.wd.copy().iterator;y.next();)a.remove(y.value)}this.data!==null&&(a=this.diagram,a!==null&&a.partManager.removeDataForLink(this))},_n.prototype.updateRelationshipsFromData=function(){if(this.data!==null){var a=this.diagram;a!==null&&a.partManager.updateRelationshipsFromData(this)}},_n.prototype.move=function(a,y){var x=y?this.location:this.position,b=x.x;isNaN(b)&&(b=0);var E=x.y;for(isNaN(E)&&(E=0),b=a.x-b,E=a.y-E,y===!0?kr.prototype.move.call(this,a,!1):(a=Lt.allocAt(x.x+b,x.y+E),kr.prototype.move.call(this,a,!1),Lt.free(a)),Lh(this,b,E),a=this.labelNodes;a.next();)y=a.value,x=y.position,y.moveTo(x.x+b,x.y+E)},_n.prototype.canRelinkFrom=function(){if(!this.relinkableFrom)return!1;var a=this.layer;return a===null?!0:a.allowRelink?(a=a.diagram,!!(a===null||a.allowRelink)):!1},_n.prototype.canRelinkTo=function(){if(!this.relinkableTo)return!1;var a=this.layer;return a===null?!0:a.allowRelink?(a=a.diagram,!!(a===null||a.allowRelink)):!1},_n.prototype.computeMidPoint=function(a){var y=this.pointsCount;if(y===0)return a.assign(wo),a;if(y===1)return a.assign(this.i(0)),a;if(y===2){var x=this.i(0),b=this.i(1);return a.h((x.x+b.x)/2,(x.y+b.y)/2),a}if(this.isOrthogonal&&(15<=this.computeCorner()||this.computeCurve()===Jl))return this.ua.Pu(.5,a),a.add(this.i(0)),x=this.ua.figures.first(),a.offset(-x.startX,-x.startY),a;if(this.computeCurve()===Jl){if(y===3){x=this.i(0),b=this.i(1);var E=this.i(2);return tn.ax(x.x,x.y,b.x,b.y,b.x,b.y,E.x,E.y,a),a}if(b=(y-1)/3|0,x=3*(b/2|0),b%2===1){b=this.i(x),E=this.i(x+1);var te=this.i(x+2);x=this.i(x+3),tn.ax(b.x,b.y,E.x,E.y,te.x,te.y,x.x,x.y,a)}else a.assign(this.i(x));return a}var ne=this.flattenedLengths;for(x=this.flattenedTotalLength,E=te=b=0;b<x/2&&te<y&&(E=ne[te],!(b+E>x/2));)b+=E,te++;return y=this.i(te),te=this.i(te+1),1>Math.abs(y.x-te.x)?y.y>te.y?a.h(y.x,y.y-(x/2-b)):a.h(y.x,y.y+(x/2-b)):1>Math.abs(y.y-te.y)?y.x>te.x?a.h(y.x-(x/2-b),y.y):a.h(y.x+(x/2-b),y.y):(x=(x/2-b)/E,a.h(y.x+x*(te.x-y.x),y.y+x*(te.y-y.y))),a},_n.prototype.computeMidAngle=function(){var a=this.pointsCount;if(2>a)return NaN;if(a===2)return this.i(0).ab(this.i(1));if(this.isOrthogonal&&(15<=this.computeCorner()||this.computeCurve()===Jl))return this.ua.wx(.5);if(this.computeCurve()===Jl&&4<=a){var y=(a-1)/3|0,x=3*(y/2|0);if(y%2===1){x=Math.floor(x),a=this.i(x),y=this.i(x+1);var b=this.i(x+2);return x=this.i(x+3),tn.My(a.x,a.y,y.x,y.y,b.x,b.y,x.x,x.y)}if(0<x&&x+1<a)return this.i(x-1).ab(this.i(x+1))}y=this.flattenedLengths,b=this.flattenedTotalLength;var E=0;x=0;for(var te;E<b/2&&x<a&&(te=y[x],!(E+te>b/2));)E+=te,x++;if(y=this.i(x),b=this.i(x+1),1>Math.abs(y.x-b.x)&&1>Math.abs(y.y-b.y)){if(0<x&&x+2<a)return this.i(x-1).ab(this.i(x+2))}else{if(1>Math.abs(y.x-b.x))return y.y>b.y?270:90;if(1>Math.abs(y.y-b.y))return y.x>b.x?180:0}return y.ab(b)},ot=_n.prototype,ot.i=function(a){return this.Nb.s[a]},ot.dd=function(a,y){this.Nb.cd(a,y)},ot.L=function(a,y,x){this.Nb.cd(a,new Lt(y,x))},ot.Kz=function(a,y){this.Nb.Gb(a,y)},ot.m=function(a,y,x){this.Nb.Gb(a,new Lt(y,x))},ot.ne=function(a){this.Nb.add(a)},ot.yf=function(a,y){this.Nb.add(new Lt(a,y))},ot.pv=function(a){this.Nb.mb(a)},ot.Fj=function(){this.Nb.clear()};function Lh(a,y,x){if(y!==0||x!==0)if(a.pointsCount===0)a.defaultFromPoint&&a.defaultFromPoint.offset(y,x),a.defaultToPoint&&a.defaultToPoint.offset(y,x);else{for(var b=a.fd,E=new Dn,te=a.Nb.iterator;te.next();){var ne=te.value;E.add(new Lt(ne.x+y,ne.y+x).freeze())}E.freeze(),te=a.Nb,a.Nb=E,ne=a.diagram,isNaN(y)||isNaN(x)||ne!==null&&ne.animationManager.zb?a.v():(a.ke.h(a.ke.x+y,a.ke.y+x),a.pa.h(a.pa.x+y,a.pa.y+x),Gs(a)),b?Jm(a):(a.defaultFromPoint&&(a.defaultFromPoint=a.i(0)),a.defaultToPoint&&(a.defaultToPoint=a.i(a.pointsCount-1))),ne!==null&&ne.animationManager.zb&&ko(ne.animationManager,a,E),a.g("points",te,E)}}ot.uh=function(){this.Mg===null&&(this.Mg=this.Nb,this.Nb=this.Nb.copy())},ot.zf=function(){if(this.Mg!==null){for(var a=this.Mg,y=this.Nb,x=1/0,b=1/0,E=a.s,te=E.length,ne=0;ne<te;ne++){var se=E[ne];x=Math.min(se.x,x),b=Math.min(se.y,b)}se=ne=1/0;for(var he=y.s,ve=he.length,Se=0;Se<ve;Se++){var Be=he[Se];ne=Math.min(Be.x,ne),se=Math.min(Be.y,se),Be.freeze()}if(y.freeze(),ve===te){for(te=0;te<ve;te++)if(Se=E[te],Be=he[te],Se.x-x!==Be.x-ne||Se.y-b!==Be.y-se){this.qc();break}}else this.qc();this.Mg=null,x=this.diagram,x!==null&&x.animationManager.zb&&ko(x.animationManager,this,y),Jm(this),this.g("points",a,y)}},ot.rv=function(){this.Mg!==null&&(this.Nb=this.Mg,this.Mg=null)};function Jm(a){a.Nb.count===0?a.fd=!1:(a.fd=!0,a.cq=null,a.vt=NaN,a.defaultFromPoint=a.i(0),a.defaultToPoint=a.i(a.pointsCount-1),qm(a,!1))}ot.bb=function(){if(!this.suspendsRouting){var a=this.diagram;if(a){if(a.As.contains(this)||a.undoManager.isUndoingRedoing||(a=a.animationManager,a.isTicking&&!a.isAnimating))return;this.Tg===null||a.isTicking||(this.Tg=null)}a=this.path,a!==null&&(this.fd=!1,this.v(),a.v())}},ot.vg=function(){if(!this.fd&&!this.computingPoints){var a=!0;try{this.computingPoints=!0,this.uh(),a=this.computePoints()}catch(y){this.computingPoints=!1,this.rv()}finally{this.computingPoints=!1,a?this.zf():this.rv()}}},_n.prototype.computePoints=function(){if(this.diagram===null)return!1;var a=this.fromNode,y=null;if(a===null?(Af||(Af=new sr,Af.desiredSize=li,Af.Va()),this.defaultFromPoint&&(Af.location=this.defaultFromPoint,Af.Va(),y=a=Af)):y=this.fromPort,y!==null&&!a.isVisible()){var x=a.findVisibleNode();x!==null&&x!==a?(a=x,y=x.port):a=x}if(this.Lw=a,a===null||!a.location.w())return!1;for(;!(y===null||y.actualBounds.w()&&y.Ed());)y=y.panel;if(y===null)return!1;var b=this.toNode,E=null;if(b===null?(Mf||(Mf=new sr,Mf.desiredSize=li,Mf.Va()),this.defaultToPoint&&(Mf.location=this.defaultToPoint,Mf.Va(),E=b=Mf)):E=this.toPort,E===null||b.isVisible()||(x=b.findVisibleNode(),x!==null&&x!==b?(b=x,E=x.port):b=x),this.Mw=b,b===null||!b.location.w())return!1;for(;!(E===null||E.actualBounds.w()&&E.Ed());)E=E.panel;if(E===null)return!1;var te=this.pointsCount,ne=this.computeSpot(!0,y);x=this.computeSpot(!1,E);var se=xp(ne),he=xp(x),ve=y===E&&y!==null,Se=this.isOrthogonal,Be=this.curve===Jl;this.Wf=ve&&!Se?Be=!0:!1;var Ve=this.computeAdjusting()===Xs||ve;if(!Se&&!ve&&se&&he){if(se=!1,!Ve&&3<=te&&(Ve=this.getLinkPoint(a,y,ne,!0,!1,b,E),he=this.getLinkPoint(b,E,x,!1,!1,a,y),se=this.adjustPoints(0,Ve,te-1,he))&&(Ve=this.getLinkPoint(a,y,ne,!0,!1,b,E),he=this.getLinkPoint(b,E,x,!1,!1,a,y),this.adjustPoints(0,Ve,te-1,he)),!se)if(this.Fj(),Be){te=this.getLinkPoint(a,y,ne,!0,!1,b,E),Ve=this.getLinkPoint(b,E,x,!1,!1,a,y),se=Ve.x-te.x,he=Ve.y-te.y,ve=this.computeCurviness(),Be=Se=0;var nt=te.x+se/3,rt=te.y+he/3,ct=nt,kt=rt;tn.B(he,0)?kt=0<se?kt-ve:kt+ve:(Se=-se/he,Be=Math.sqrt(ve*ve/(Se*Se+1)),0>ve&&(Be=-Be),ct=(0>he?-1:1)*Be+nt,kt=Se*(ct-nt)+rt),nt=te.x+2*se/3,rt=te.y+2*he/3;var Mt=nt,Rt=rt;tn.B(he,0)?Rt=0<se?Rt-ve:Rt+ve:(Mt=(0>he?-1:1)*Be+nt,Rt=Se*(Mt-nt)+rt),this.Fj(),this.ne(te),this.yf(ct,kt),this.yf(Mt,Rt),this.ne(Ve),this.dd(0,this.getLinkPoint(a,y,ne,!0,!1,b,E)),this.dd(3,this.getLinkPoint(b,E,x,!1,!1,a,y))}else te=b,Ve=E,b=this.getLinkPoint(a,y,ne,!0,!1,te,Ve),E=this.getLinkPoint(te,Ve,x,!1,!1,a,y),this.hasCurviness()?(Ve=E.x-b.x,x=E.y-b.y,ne=this.computeCurviness(),a=b.x+Ve/2,y=b.y+x/2,te=a,se=y,tn.B(x,0)?se=0<Ve?se-ne:se+ne:(Ve=-Ve/x,te=Math.sqrt(ne*ne/(Ve*Ve+1)),0>ne&&(te=-te),te=(0>x?-1:1)*te+a,se=Ve*(te-a)+y),this.ne(b),this.yf(te,se),this.ne(E)):(this.ne(b),this.ne(E),se=Mn.alloc(),y.mi(se),he=se.ca(E),Ve.mi(se),ve=se.ca(b),(he||ve)&&(ne=y.ga(_m(ne),new Lt),this.dd(0,this.getLinkPointFromPoint(a,y,ne,E,!0,ne)),x=Ve.ga(_m(x),new Lt),this.dd(1,this.getLinkPointFromPoint(te,Ve,x,b,!1,x))),Mn.free(se))}else{Be=this.isAvoiding,Ve&&(Se&&Be||ve)&&this.Fj();var Ut=ve?this.computeCurviness():0;Be=this.getLinkPoint(a,y,ne,!0,Se,b,E),nt=ct=rt=0,(Se||!se||ve)&&(kt=this.computeEndSegmentLength(a,y,ne,!0),nt=this.getLinkDirection(a,y,Be,ne,!0,Se,b,E),ve&&(se||ne.D(x)||!Se&&ne.x+x.x===1&&ne.y+x.y===1)&&(nt-=Se?90:30,0>Ut&&(nt-=180)),0>nt?nt+=360:360<=nt&&(nt-=360),ve&&(kt+=Math.abs(Ut)*(Se?1:2)),nt===0?rt=kt:nt===90?ct=kt:nt===180?rt=-kt:nt===270?ct=-kt:(rt=kt*Math.cos(nt*Math.PI/180),ct=kt*Math.sin(nt*Math.PI/180)),ne.Mc()&&ve&&(kt=y.ga(zi,Lt.alloc()),Mt=Lt.allocAt(kt.x+1e3*rt,kt.y+1e3*ct),this.getLinkPointFromPoint(a,y,kt,Mt,!0,Be),Lt.free(kt),Lt.free(Mt))),kt=this.getLinkPoint(b,E,x,!1,Se,a,y);var Yt=Rt=Mt=0;if(Se||!he||ve){var $t=this.computeEndSegmentLength(b,E,x,!1);Yt=this.getLinkDirection(b,E,kt,x,!1,Se,a,y),ve&&(he||ne.D(x)||!Se&&ne.x+x.x===1&&ne.y+x.y===1)&&(Yt+=Se?0:30,0>Ut&&(Yt+=180)),0>Yt?Yt+=360:360<=Yt&&(Yt-=360),ve&&($t+=Math.abs(Ut)*(Se?1:2)),Yt===0?Mt=$t:Yt===90?Rt=$t:Yt===180?Mt=-$t:Yt===270?Rt=-$t:(Mt=$t*Math.cos(Yt*Math.PI/180),Rt=$t*Math.sin(Yt*Math.PI/180)),x.Mc()&&ve&&(x=E.ga(zi,Lt.alloc()),ne=Lt.allocAt(x.x+1e3*Mt,x.y+1e3*Rt),this.getLinkPointFromPoint(b,E,x,ne,!1,kt),Lt.free(x),Lt.free(ne))}x=Be,(Se||!se||ve)&&(x=new Lt(Be.x+rt,Be.y+ct)),ne=kt,(Se||!he||ve)&&(ne=new Lt(kt.x+Mt,kt.y+Rt)),!Ve&&!Se&&se&&3<te&&this.adjustPoints(0,Be,te-2,ne)?this.dd(te-1,kt):!Ve&&!Se&&he&&3<te&&this.adjustPoints(1,x,te-1,kt)?this.dd(0,Be):!Ve&&(Se?6<=te:4<te)&&this.adjustPoints(1,x,te-2,ne)?(this.dd(0,Be),this.dd(te-1,kt)):(this.Fj(),this.ne(Be),(Se||!se||ve)&&this.ne(x),Se&&this.addOrthoPoints(x,nt,ne,Yt,a,b),(Se||!he||ve)&&this.ne(ne),this.ne(kt))}return!0};function X0(a,y){return Math.abs(y.x-a.x)>Math.abs(y.y-a.y)?(y.x>=a.x?y.x=a.x+9e9:y.x=a.x-9e9,y.y=a.y):(y.y>=a.y?y.y=a.y+9e9:y.y=a.y-9e9,y.x=a.x),y}_n.prototype.getLinkPointFromPoint=function(a,y,x,b,E,te){if(te===void 0&&(te=new Lt),a===null||y===null)return te.assign(x),te;if(a.isVisible()||(E=a.findVisibleNode(),E!==null&&E!==a&&(y=E.port)),a=null,E=y.panel,E===null||E.se()||(E=E.panel),E===null){E=b.x,b=b.y;var ne=x.x;x=x.y}else{a=E.oe,E=1/(a.m11*a.m22-a.m12*a.m21),ne=a.m22*E;var se=-a.m12*E,he=-a.m21*E,ve=a.m11*E,Se=E*(a.m21*a.dy-a.m22*a.dx),Be=E*(a.m12*a.dx-a.m11*a.dy);E=b.x*ne+b.y*he+Se,b=b.x*se+b.y*ve+Be,ne=x.x*ne+x.y*he+Se,x=x.x*se+x.y*ve+Be}return y.Sj(E,b,ne,x,te),a!==null&&te.transform(a),te};function Qm(a,y){var x=y.Zn;return x===null&&(x=new Lf,x.port=y,x.node=y.part,y.Zn=x),lS(x,a)}_n.prototype.getLinkPoint=function(a,y,x,b,E,te,ne,se){if(se===void 0&&(se=new Lt),x.sb()&&!xp(x))return y.ga(x,se),se;if(x.$c()){var he=Qm(this,y);if(he!==null){if(se.assign(he.Zo),E&&this.routing===nS){var ve=Qm(this,ne);if(ve!==null&&he.Gl<ve.Gl){he=Lt.alloc(),ve=Lt.alloc();var Se=new Mn(y.ga(Xa,he),y.ga(ks,ve)),Be=this.computeSpot(!b,ne);a=this.getLinkPoint(te,ne,Be,!b,E,a,y,ve),(x.Hf(Ru)||x.Hf(Ws))&&a.y>=Se.y&&a.y<=Se.y+Se.height?se.y=a.y:(x.Hf(Eu)||x.Hf(dl))&&a.x>=Se.x&&a.x<=Se.x+Se.width&&(se.x=a.x),Lt.free(he),Lt.free(ve)}}return se}}return x=y.ga(_m(x),Lt.alloc()),this.pointsCount>(E?6:2)?(ne=b?this.i(1):this.i(this.pointsCount-2),E&&(ne=X0(x,ne.copy()))):(he=this.computeSpot(!b,ne),te=Lt.alloc(),ne=ne.ga(_m(he),te),E&&(ne=X0(x,ne)),Lt.free(te)),this.getLinkPointFromPoint(a,y,x,ne,b,se),Lt.free(x),se},_n.prototype.getLinkDirection=function(a,y,x,b,E,te,ne,se){e:if(b.sb())var he=b.x>b.y?b.x>1-b.y?0:b.x<1-b.y?270:315:b.x<b.y?b.x>1-b.y?90:b.x<1-b.y?180:135:.5>b.x?225:.5<b.x?45:0;else{if(b.$c()&&(he=Qm(this,y),he!==null))switch(he.Nc){case 1:he=270;break e;case 2:he=180;break e;default:case 4:he=0;break e;case 8:he=90;break e}he=y.ga(zi,Lt.alloc()),this.pointsCount>(te?6:2)?(se=E?this.i(1):this.i(this.pointsCount-2),se=te?X0(he,se.copy()):x):(x=Lt.alloc(),se=se.ga(zi,x),Lt.free(x)),x=Math.abs(se.x-he.x)>Math.abs(se.y-he.y)?se.x>=he.x?0:180:se.y>=he.y?90:270,Lt.free(he),he=x}return b.Mc()&&ne.Td(a)&&(he+=180,360<=he&&(he-=360)),xp(b)||(a=y.li(),a===0)||(45<=a&&135>a?he+=90:135<=a&&225>a?he+=180:225<=a&&315>a&&(he+=270),360<=he&&(he-=360)),he},_n.prototype.computeEndSegmentLength=function(a,y,x,b){return y!==null&&x.$c()&&(a=Qm(this,y),a!==null)?a.Ju:(a=b?this.fromEndSegmentLength:this.toEndSegmentLength,y!==null&&isNaN(a)&&(a=b?y.fromEndSegmentLength:y.toEndSegmentLength),isNaN(a)&&(a=10),a)},_n.prototype.computeSpot=function(a,y){return y===void 0&&(y=null),a?(a=y||this.fromPort,a===null?a=zi:(y=this.fromSpot,y.Xb()&&(y=a.fromSpot),a=y===io?ua:y)):(a=y||this.toPort,a===null?a=zi:(y=this.toSpot,y.Xb()&&(y=a.toSpot),a=y===io?ua:y)),a};function xp(a){return a===ua||a.x===.5&&a.y===.5}function _m(a){return a.x===.5&&a.y===.5?a:zi}_n.prototype.computeOtherPoint=function(a,y){return this.computeAdjusting()!==Xs&&4<this.pointsCount?this.computeMidPoint(new Lt):(a=y.Zn,a=a!==null?lS(a,this):null,a!==null?a.Zo:y.ga(zi))},_n.prototype.computeShortLength=function(a){if(a){if(a=this.fromShortLength,isNaN(a)){var y=this.fromPort;y!==null&&(a=y.fromShortLength)}return isNaN(a)?0:a}return a=this.toShortLength,isNaN(a)&&(y=this.toPort,y!==null&&(a=y.toShortLength)),isNaN(a)?0:a},_n.prototype.Cf=function(a,y,x,b,E,te){if(this.pickable===!1)return!1;y===void 0&&(y=null),x===void 0&&(x=null);var ne=te;if(te===void 0&&(ne=mi.alloc(),ne.reset()),ne.multiply(this.transform),this.fh(a,ne))return v0(this,y,x,E),te===void 0&&mi.free(ne),!0;if(this.Yc(a,ne)){var se=!1;if(!this.isAtomic)for(var he=this.O.s,ve=he.length;ve--;){var Se=he[ve];if(Se.visible||Se===this.locationObject){var Be=Se.actualBounds,Ve=this.naturalBounds;if(!(Be.x>Ve.width||Be.y>Ve.height||0>Be.x+Be.width||0>Be.y+Be.height)){if(Be=mi.alloc(),Be.set(ne),Se instanceof Xn)se=Se.Cf(a,y,x,b,E,Be);else if(this.path===Se){if(Se instanceof pi)if(se=a,Ve=b,Se.pickable===!1)se=!1;else if(Be.multiply(Se.transform),Ve)e:{var nt=se,rt=Be;if(Se.fh(nt,rt))se=!0;else{if(rt===void 0&&(rt=Se.transform,nt.Re(Se.actualBounds))){se=!0;break e}se=nt.left,Ve=nt.right;var ct=nt.top;nt=nt.bottom;var kt=Lt.alloc(),Mt=Lt.alloc(),Rt=Lt.alloc(),Ut=mi.alloc();Ut.set(rt),Ut.bv(Se.transform),Ut.Vj(),Mt.x=Ve,Mt.y=ct,Mt.transform(Ut),kt.x=se,kt.y=ct,kt.transform(Ut),rt=!1,Vd(Se,kt,Mt,Rt)?rt=!0:(kt.x=Ve,kt.y=nt,kt.transform(Ut),Vd(Se,kt,Mt,Rt)?rt=!0:(Mt.x=se,Mt.y=nt,Mt.transform(Ut),Vd(Se,kt,Mt,Rt)?rt=!0:(kt.x=se,kt.y=ct,kt.transform(Ut),Vd(Se,kt,Mt,Rt)&&(rt=!0)))),mi.free(Ut),Lt.free(kt),Lt.free(Mt),Lt.free(Rt),se=rt}}else se=Se.fh(se,Be)}else se=$a(Se,a,b,Be);se&&(Ve=Se,y!==null&&(Ve=y(Se)),Ve&&(x===null||x(Ve))&&E.add(Ve)),mi.free(Be)}}}return te===void 0&&mi.free(ne),se||this.background!==null||this.areaBackground!==null}return te===void 0&&mi.free(ne),!1},_n.prototype.computeCurve=function(){if(this.Wf===null){var a=this.fromPort,y=this.isOrthogonal;this.Wf=a!==null&&a===this.toPort&&!y}return this.Wf?Jl:this.curve},_n.prototype.computeCorner=function(){if(this.curve===Jl)return 0;var a=this.corner;return(isNaN(a)||0>a)&&(a=10),a},_n.prototype.findMidLabel=function(){for(var a=this.path,y=this.O.s,x=y.length,b=0;b<x;b++){var E=y[b];if(E!==a&&!E.isPanelMain&&(E.segmentIndex===-1/0||isNaN(E.segmentIndex)))return E}for(a=this.labelNodes;a.next();)if(y=a.value,y.segmentIndex===-1/0||isNaN(y.segmentIndex))return y;return null},_n.prototype.computeSpacing=function(){if(!this.isVisible())return 0;var a=iS;a=Math.max(a,this.computeThickness());var y=this.fromPort,x=this.toPort;if(y!==null&&x!==null){var b=this.findMidLabel();if(b!==null){var E=b.naturalBounds,te=b.margin,ne=isNaN(E.width)?30:E.width*b.scale+te.left+te.right;E=isNaN(E.height)?14:E.height*b.scale+te.top+te.bottom,b=b.segmentOrientation,b===Cg||b===nv||b===$0?a=Math.max(a,E):b===Eg||b===Mg||b===Pg||b===Ag?a=Math.max(a,ne):(y=y.ga(zi).ab(x.ga(zi))/180*Math.PI,a=Math.max(a,Math.abs(Math.sin(y)*ne)+Math.abs(Math.cos(y)*E)+1)),this.curve===Jl&&(a*=1.333)}}return a},_n.prototype.arrangeBundledLinks=function(a,y){if(y)for(y=0;y<a.length;y++){var x=a[y];x.computeAdjusting()===Xs&&x.bb()}},_n.prototype.computeCurviness=function(){var a=this.curviness;if(isNaN(a)){a=rS;var y=this.Sf;if(y!==null){for(var x=yn(),b=0,E=y.links,te=0;te<E.length;te++){var ne=E[te].computeSpacing();x.push(ne),b+=ne}for(b=-b/2,te=0;te<E.length;te++){if(E[te]===this){a=b+x[te]/2;break}b+=x[te]}y.Ds===this.fromNode&&(a=-a),Tn(x)}}return a},_n.prototype.computeThickness=function(){if(!this.isVisible())return 0;var a=this.path;return a!==null?Math.max(a.strokeWidth,1):1},_n.prototype.hasCurviness=function(){return!isNaN(this.curviness)||this.Sf!==null},_n.prototype.adjustPoints=function(a,y,x,b){var E=this.computeAdjusting();if(this.isOrthogonal){if(E===ev)return!1;E===tv&&(E=bg)}switch(E){case ev:var te=this.i(a),ne=this.i(x);if(!te.Xa(y)||!ne.Xa(b)){E=te.x,te=te.y;var se=ne.x-E,he=ne.y-te,ve=Math.sqrt(se*se+he*he);if(!tn.$(ve,0)){if(tn.$(se,0))var Se=0>he?-Math.PI/2:Math.PI/2;else Se=Math.atan(he/Math.abs(se)),0>se&&(Se=Math.PI-Se);ne=y.x;var Be=y.y;se=b.x-ne;var Ve=b.y-Be;for(he=Math.sqrt(se*se+Ve*Ve),tn.$(se,0)?Ve=0>Ve?-Math.PI/2:Math.PI/2:(Ve=Math.atan(Ve/Math.abs(se)),0>se&&(Ve=Math.PI-Ve)),ve=he/ve,Se=Ve-Se,this.dd(a,y),a+=1;a<x;a++)y=this.i(a),se=y.x-E,he=y.y-te,y=Math.sqrt(se*se+he*he),tn.$(y,0)||(tn.$(se,0)?he=0>he?-Math.PI/2:Math.PI/2:(he=Math.atan(he/Math.abs(se)),0>se&&(he=Math.PI-he)),se=he+Se,y*=ve,this.L(a,ne+y*Math.cos(se),Be+y*Math.sin(se)));this.dd(x,b)}}return!0;case tv:if(te=this.i(a),Be=this.i(x),!te.Xa(y)||!Be.Xa(b)){E=te.x,te=te.y,ne=Be.x,Be=Be.y,ve=(ne-E)*(ne-E)+(Be-te)*(Be-te),se=y.x,Se=y.y,he=b.x,Ve=b.y;var nt=1;if(he-se!==0){var rt=(Ve-Se)/(he-se);nt=Math.sqrt(1+1/(rt*rt))}else rt=9e9;for(this.dd(a,y),a+=1;a<x;a++){y=this.i(a);var ct=y.x,kt=y.y,Mt=.5;ve!==0&&(Mt=((E-ct)*(E-ne)+(te-kt)*(te-Be))/ve);var Rt=E+Mt*(ne-E),Ut=te+Mt*(Be-te);y=Math.sqrt((ct-Rt)*(ct-Rt)+(kt-Ut)*(kt-Ut)),kt<rt*(ct-Rt)+Ut&&(y=-y),0<rt&&(y=-y),ct=se+Mt*(he-se),Mt=Se+Mt*(Ve-Se),rt!==0?(y=ct+y/nt,this.L(a,y,Mt-(y-ct)/rt)):this.L(a,ct,Mt+y)}this.dd(x,b)}return!0;case bg:e:{if(this.isOrthogonal&&(E=this.i(a),te=this.i(a+1),ne=this.i(a+2),se=te.x,Se=te.y,Be=se,ve=Se,tn.B(E.y,te.y)?tn.B(te.x,ne.x)?Se=y.y:tn.B(te.y,ne.y)&&(se=y.x):tn.B(E.x,te.x)&&(tn.B(te.y,ne.y)?se=y.x:tn.B(te.x,ne.x)&&(Se=y.y)),this.L(a+1,se,Se),E=this.i(x),te=this.i(x-1),ne=this.i(x-2),se=te.x,Se=te.y,he=se,Ve=Se,tn.B(E.y,te.y)?tn.B(te.x,ne.x)?Se=b.y:tn.B(te.y,ne.y)&&(se=b.x):tn.B(E.x,te.x)&&(tn.B(te.y,ne.y)?se=b.x:tn.B(te.x,ne.x)&&(Se=b.y)),this.L(x-1,se,Se),Y0(this))){this.L(a+1,Be,ve),this.L(x-1,he,Ve),x=!1;break e}this.dd(a,y),this.dd(x,b),x=!0}return x;default:return!1}},_n.prototype.addOrthoPoints=function(a,y,x,b,E,te){0>y?y+=360:360<=y&&(y-=360),0>b?b+=360:360<=b&&(b-=360);var ne=b;y=315<=y||45>y?0:45<=y&&135>y?90:135<=y&&225>y?180:270,b=315<=b||45>b?0:45<=b&&135>b?90:135<=b&&225>b?180:270;var se=E.actualBounds.copy(),he=te.actualBounds.copy();if(se.w()&&he.w()){se.Bc(Lg,Lg),he.Bc(Lg,Lg),se.Ye(a),he.Ye(x);var ve=Lt.alloc(),Se=Lt.alloc();y===0?x.x>a.x||b===270&&x.y<a.y&&he.right>a.x||b===90&&x.y>a.y&&he.right>a.x?(ve.h(x.x,a.y),Se.h(x.x,(a.y+x.y)/2),b===180?(ve.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1),Se.x=ve.x,Se.y=x.y):b===270&&x.y<a.y||b===90&&x.y>a.y?(ve.x=a.x<he.left?this.computeMidOrthoPosition(a.x,a.y,he.left,x.y,!1):a.x<he.right&&(b===270&&a.y<he.top||b===90&&a.y>he.bottom)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):he.right,Se.x=ve.x,Se.y=x.y):b===0&&a.x<he.left&&a.y>he.top&&a.y<he.bottom&&(ve.x=a.x,ve.y=a.y<x.y?Math.min(x.y,he.top):Math.max(x.y,he.bottom),Se.y=ve.y)):(ve.h(a.x,x.y),Se.h((a.x+x.x)/2,x.y),(b===180||b===90&&x.y<se.top||b===270&&x.y>se.bottom)&&(b===180&&(he.ca(a)||se.ca(x))?ve.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):x.y<a.y&&(b===180||b===90)?ve.y=this.computeMidOrthoPosition(a.x,se.top,x.x,Math.max(x.y,he.bottom),!0):x.y>a.y&&(b===180||b===270)&&(ve.y=this.computeMidOrthoPosition(a.x,se.bottom,x.x,Math.min(x.y,he.top),!0)),Se.x=x.x,Se.y=ve.y),ve.y>se.top&&ve.y<se.bottom&&(x.x>=se.left&&x.x<=a.x||a.x<=he.right&&a.x>=x.x?(b===90||b===270)&&(ve.h(Math.max((a.x+x.x)/2,a.x),a.y),Se.h(ve.x,x.y)):(ve.y=b===270||(b===0||b===180)&&x.y<a.y?Math.min(x.y,b===0?se.top:Math.min(se.top,he.top)):Math.max(x.y,b===0?se.bottom:Math.max(se.bottom,he.bottom)),Se.x=x.x,Se.y=ve.y))):y===180?x.x<a.x||b===270&&x.y<a.y&&he.left<a.x||b===90&&x.y>a.y&&he.left<a.x?(ve.h(x.x,a.y),Se.h(x.x,(a.y+x.y)/2),b===0?(ve.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1),Se.x=ve.x,Se.y=x.y):b===270&&x.y<a.y||b===90&&x.y>a.y?(ve.x=a.x>he.right?this.computeMidOrthoPosition(a.x,a.y,he.right,x.y,!1):a.x>he.left&&(b===270&&a.y<he.top||b===90&&a.y>he.bottom)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):he.left,Se.x=ve.x,Se.y=x.y):b===180&&a.x>he.right&&a.y>he.top&&a.y<he.bottom&&(ve.x=a.x,ve.y=a.y<x.y?Math.min(x.y,he.top):Math.max(x.y,he.bottom),Se.y=ve.y)):(ve.h(a.x,x.y),Se.h((a.x+x.x)/2,x.y),(b===0||b===90&&x.y<se.top||b===270&&x.y>se.bottom)&&(b===0&&(he.ca(a)||se.ca(x))?ve.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):x.y<a.y&&(b===0||b===90)?ve.y=this.computeMidOrthoPosition(a.x,se.top,x.x,Math.max(x.y,he.bottom),!0):x.y>a.y&&(b===0||b===270)&&(ve.y=this.computeMidOrthoPosition(a.x,se.bottom,x.x,Math.min(x.y,he.top),!0)),Se.x=x.x,Se.y=ve.y),ve.y>se.top&&ve.y<se.bottom&&(x.x<=se.right&&x.x>=a.x||a.x>=he.left&&a.x<=x.x?(b===90||b===270)&&(ve.h(Math.min((a.x+x.x)/2,a.x),a.y),Se.h(ve.x,x.y)):(ve.y=b===270||(b===0||b===180)&&x.y<a.y?Math.min(x.y,b===180?se.top:Math.min(se.top,he.top)):Math.max(x.y,b===180?se.bottom:Math.max(se.bottom,he.bottom)),Se.x=x.x,Se.y=ve.y))):y===90?x.y>a.y||b===180&&x.x<a.x&&he.bottom>a.y||b===0&&x.x>a.x&&he.bottom>a.y?(ve.h(a.x,x.y),Se.h((a.x+x.x)/2,x.y),b===270?(ve.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0),Se.x=x.x,Se.y=ve.y):b===180&&x.x<a.x||b===0&&x.x>a.x?(ve.y=a.y<he.top?this.computeMidOrthoPosition(a.x,a.y,x.x,he.top,!0):a.y<he.bottom&&(b===180&&a.x<he.left||b===0&&a.x>he.right)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):he.bottom,Se.x=x.x,Se.y=ve.y):b===90&&a.y<he.top&&a.x>he.left&&a.x<he.right&&(ve.x=a.x<x.x?Math.min(x.x,he.left):Math.max(x.x,he.right),ve.y=a.y,Se.x=ve.x)):(ve.h(x.x,a.y),Se.h(x.x,(a.y+x.y)/2),(b===270||b===0&&x.x<se.left||b===180&&x.x>se.right)&&(b===270&&(he.ca(a)||se.ca(x))?ve.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):x.x<a.x&&(b===270||b===0)?ve.x=this.computeMidOrthoPosition(se.left,a.y,Math.max(x.x,he.right),x.y,!1):x.x>a.x&&(b===270||b===180)&&(ve.x=this.computeMidOrthoPosition(se.right,a.y,Math.min(x.x,he.left),x.y,!1)),Se.x=ve.x,Se.y=x.y),ve.x>se.left&&ve.x<se.right&&(x.y>=se.top&&x.y<=a.y||a.y<=he.bottom&&a.y>=x.y?(b===0||b===180)&&(ve.h(a.x,Math.max((a.y+x.y)/2,a.y)),Se.h(x.x,ve.y)):(ve.x=b===180||(b===90||b===270)&&x.x<a.x?Math.min(x.x,b===90?se.left:Math.min(se.left,he.left)):Math.max(x.x,b===90?se.right:Math.max(se.right,he.right)),Se.x=ve.x,Se.y=x.y))):x.y<a.y||b===180&&x.x<a.x&&he.top<a.y||b===0&&x.x>a.x&&he.top<a.y?(ve.h(a.x,x.y),Se.h((a.x+x.x)/2,x.y),b===90?(ve.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0),Se.x=x.x,Se.y=ve.y):b===180&&x.x<a.x||b===0&&x.x>=a.x?(ve.y=a.y>he.bottom?this.computeMidOrthoPosition(a.x,a.y,x.x,he.bottom,!0):a.y>he.top&&(b===180&&a.x<he.left||b===0&&a.x>he.right)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):he.top,Se.x=x.x,Se.y=ve.y):b===270&&a.y>he.bottom&&a.x>he.left&&a.x<he.right&&(ve.x=a.x<x.x?Math.min(x.x,he.left):Math.max(x.x,he.right),ve.y=a.y,Se.x=ve.x)):(ve.h(x.x,a.y),Se.h(x.x,(a.y+x.y)/2),(b===90||b===0&&x.x<se.left||b===180&&x.x>se.right)&&(b===90&&(he.ca(a)||se.ca(x))?ve.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):x.x<a.x&&(b===90||b===0)?ve.x=this.computeMidOrthoPosition(se.left,a.y,Math.max(x.x,he.right),x.y,!1):x.x>a.x&&(b===90||b===180)&&(ve.x=this.computeMidOrthoPosition(se.right,a.y,Math.min(x.x,he.left),x.y,!1)),Se.x=ve.x,Se.y=x.y),ve.x>se.left&&ve.x<se.right&&(x.y<=se.bottom&&x.y>=a.y||a.y>=he.top&&a.y<=x.y?(b===0||b===180)&&(ve.h(a.x,Math.min((a.y+x.y)/2,a.y)),Se.h(x.x,ve.y)):(ve.x=b===180||(b===90||b===270)&&x.x<a.x?Math.min(x.x,b===270?se.left:Math.min(se.left,he.left)):Math.max(x.x,b===270?se.right:Math.max(se.right,he.right)),Se.x=ve.x,Se.y=x.y)));var Be=x;if(this.isAvoiding){var Ve=this.diagram;if(Ve===null||E===te||this.layer.isTemporary||!ep(Ve)||se.ca(Be)&&!te.Td(E)||he.ca(a)&&!E.Td(te))y=!1;else{var nt=tp(Ve,!0,this.containingGroup,null);if(this.segmentIndex!==17&&nt.Yj(Math.min(a.x,ve.x),Math.min(a.y,ve.y),Math.abs(a.x-ve.x),Math.abs(a.y-ve.y))&&nt.Yj(Math.min(ve.x,Se.x),Math.min(ve.y,Se.y),Math.abs(ve.x-Se.x),Math.abs(ve.y-Se.y))&&nt.Yj(Math.min(Se.x,Be.x),Math.min(Se.y,Be.y),Math.abs(Se.x-Be.x),Math.abs(Se.y-Be.y)))y=!1;else{E=a,te=Be;var rt=x=null;if(Ve.isVirtualized){Ve=nt.bounds.copy(),Ve.Bc(-nt.Ho,-nt.Go);var ct=Lt.alloc();bp(nt,a.x,a.y)||(tn.Ff(Ve.x,Ve.y,Ve.x+Ve.width,Ve.y+Ve.height,a.x,a.y,ve.x,ve.y,ct)?(x=a=ct.copy(),y=ct.ab(ve)):tn.Ff(Ve.x,Ve.y,Ve.x+Ve.width,Ve.y+Ve.height,ve.x,ve.y,Se.x,Se.y,ct)?(x=a=ct.copy(),y=ct.ab(Se)):tn.Ff(Ve.x,Ve.y,Ve.x+Ve.width,Ve.y+Ve.height,Se.x,Se.y,Be.x,Be.y,ct)&&(x=a=ct.copy(),y=ct.ab(Be))),bp(nt,Be.x,Be.y)||(tn.Ff(Ve.x,Ve.y,Ve.x+Ve.width,Ve.y+Ve.height,Be.x,Be.y,Se.x,Se.y,ct)?(rt=Be=ct.copy(),b=Se.ab(ct)):tn.Ff(Ve.x,Ve.y,Ve.x+Ve.width,Ve.y+Ve.height,Se.x,Se.y,ve.x,ve.y,ct)?(rt=Be=ct.copy(),b=ve.ab(ct)):tn.Ff(Ve.x,Ve.y,Ve.x+Ve.width,Ve.y+Ve.height,ve.x,ve.y,a.x,a.y,ct)&&(rt=Be=ct.copy(),b=a.ab(ct))),Lt.free(ct)}se=se.copy().ed(he),se.Bc(nt.Ho*nt.Os,nt.Go*nt.Os),aS(nt,a,y,Be,b,se,!0),he=Oc(nt,Be.x,Be.y),!nt.abort&&he>=Cp&&(oS(nt),se.Bc(nt.Ho*nt.Hx,nt.Go*nt.Ix),aS(nt,a,y,Be,b,se,!1),he=Oc(nt,Be.x,Be.y)),!nt.abort&&he<Cp&&Oc(nt,Be.x,Be.y)!==Fh?(J0(this,nt,Be.x,Be.y,b,!0,ne),se=this.i(2),4>this.pointsCount?(y===0||y===180?(se.x=a.x,se.y=Be.y):(se.x=Be.x,se.y=a.y),this.L(2,se.x,se.y),this.m(3,se.x,se.y)):(ne=this.i(3),y===0||y===180?tn.B(se.x,ne.x)?(se=y===0?Math.max(se.x,a.x):Math.min(se.x,a.x),this.L(2,se,a.y),this.L(3,se,ne.y)):tn.B(se.y,ne.y)?(Math.abs(a.y-se.y)<=nt.Go/2&&(this.L(2,se.x,a.y),this.L(3,ne.x,a.y)),this.m(2,se.x,a.y)):this.L(2,a.x,se.y):(y===90||y===270)&&(tn.B(se.y,ne.y)?(se=y===90?Math.max(se.y,a.y):Math.min(se.y,a.y),this.L(2,a.x,se),this.L(3,ne.x,se)):tn.B(se.x,ne.x)?(Math.abs(a.x-se.x)<=nt.Ho/2&&(this.L(2,a.x,se.y),this.L(3,a.x,ne.y)),this.m(2,a.x,se.y)):this.L(2,se.x,a.y))),x!==null&&(a=this.i(1),ne=this.i(2),a.x!==ne.x&&a.y!==ne.y?y===0||y===180?this.m(2,a.x,ne.y):this.m(2,ne.x,a.y):y===0||y===180?this.m(2,E.x,x.y):this.m(2,x.x,E.y)),rt!==null&&(b===0||b===180?this.yf(te.x,rt.y):this.yf(rt.x,te.y)),y=!0):y=!1}}}else y=!1;y||(this.ne(ve.copy()),this.ne(Se.copy())),Lt.free(ve),Lt.free(Se)}},_n.prototype.computeMidOrthoPosition=function(a,y,x,b,E){var te=0;return!this.hasCurviness()||this.computeSpot(!0,this.fromPort).$c()||this.computeSpot(!1,this.toPort).$c()||(te=this.computeCurviness()),E?(y+b)/2+te:(a+x)/2+te};function Y0(a){if(a.diagram===null||!a.isAvoiding||!ep(a.diagram))return!1;var y=a.points.s,x=y.length;if(4>x)return!1;a=tp(a.diagram,!0,a.containingGroup,null);for(var b=1;b<x-2;b++){var E=y[b],te=y[b+1];if(!a.Yj(Math.min(E.x,te.x),Math.min(E.y,te.y),Math.abs(E.x-te.x),Math.abs(E.y-te.y)))return!0}return!1}function J0(a,y,x,b,E,te,ne){var se=y.Ho,he=y.Go,ve=Oc(y,x,b),Se=x,Be=b;for(E===0?Se+=se:E===90?Be+=he:E===180?Se-=se:Be-=he,E!==ne&&ve>Jd&&Oc(y,Se,Be)!==ve-1&&(Oc(y,x-se,b)===ve-1?(E=180,Se=x-se,Be=b):Oc(y,x+se,b)===ve-1?(E=0,Se=x+se,Be=b):Oc(y,x,b-he)===ve-1?(E=270,Se=x,Be=b-he):Oc(y,x,b+he)===ve-1&&(E=90,Se=x,Be=b+he));ve>Jd&&Oc(y,Se,Be)===ve-1;)x=Se,b=Be,E===0?Se+=se:E===90?Be+=he:E===180?Se-=se:Be-=he,--ve;te?ve>Jd&&(E===180||E===0?x=Math.floor(x/se)*se+se/2:(E===90||E===270)&&(b=Math.floor(b/he)*he+he/2)):(x=Math.floor(x/se)*se+se/2,b=Math.floor(b/he)*he+he/2),ve>Jd&&(te=E,ne=x,Se=b,E===0?(te=90,Se+=he):E===90?(te=180,ne-=se):E===180?(te=270,Se-=he):E===270&&(te=0,ne+=se),Oc(y,ne,Se)===ve-1?J0(a,y,ne,Se,te,!1,te):(ne=x,Se=b,E===0?(te=270,Se-=he):E===90?(te=0,ne+=se):E===180?(te=90,Se+=he):E===270&&(te=180,ne-=se),Oc(y,ne,Se)===ve-1&&J0(a,y,ne,Se,te,!1,te))),a.yf(x,b)}_n.prototype.ez=function(a){var y=a.x;a=a.y;for(var x=this.i(0),b=this.i(1),E=so(y,a,x.x,x.y,b.x,b.y),te=0,ne=1;ne<this.pointsCount-1;ne++){x=this.i(ne+1);var se=so(y,a,b.x,b.y,x.x,x.y);b=x,se<E&&(te=ne,E=se)}return te},_n.prototype.qc=function(){this.lk=!1,this.v()},_n.prototype.Ul=function(a){if(!(!a&&(this.fd===!1||(a=this.Pb(),this.lk&&(a===null||a.geometry!==null))))&&(2>this.pointsCount?this.lk=!0:this.ua=this.makeGeometry(),a=this.path,a!==null)){a.ua=this.ua;for(var y=this.O.s,x=y.length,b=0;b<x;b++){var E=y[b];E!==a&&E.isPanelMain&&E instanceof pi&&(E.ua=this.ua)}}},_n.prototype.makeGeometry=function(){var a=this.ua,y=this.pointsCount,x=!1,b=this.diagram;b!==null&&Yd(this)&&b.Eh.contains(this)&&(this.ml.width!==0||this.ml.height!==0)&&(b.animationManager.isAnimating||b.currentTool!==b.toolManager)&&(x=!0);var E=this.i(0).copy(),te=E.copy();b=this.Nb.s;var ne=this.computeCurve();if(ne===Jl&&3<=y&&!tn.$(this.smoothness,0))if(y===3){var se=this.i(1);b=Math.min(E.x,se.x);var he=Math.min(E.y,se.y);se=this.i(2),b=Math.min(b,se.x),he=Math.min(he,se.y)}else{if(this.isOrthogonal)for(he=0;he<y;he++)se=b[he],te.x=Math.min(se.x,te.x),te.y=Math.min(se.y,te.y);else for(b=3;b<y;b+=3)b+3>=y&&(b=y-1),he=this.i(b),te.x=Math.min(he.x,te.x),te.y=Math.min(he.y,te.y);b=te.x,he=te.y}else{for(he=0;he<y;he++)se=b[he],te.x=Math.min(se.x,te.x),te.y=Math.min(se.y,te.y);b=te.x,he=te.y}if(b-=this.su.x,he-=this.su.y,E.x-=b,E.y-=he,y!==2||Yd(this)){if(a.type=$n.o,se=D1(a),this.computeShortLength(!0)!==0&&(E=Pf(this,E,!0,te)),yp(se,E.x,E.y,!1),ne===Jl&&3<=y&&!tn.$(this.smoothness,0))if(y===3)x=this.i(1),y=x.x-b,x=x.y-he,E=this.i(2).copy(),E.x-=b,E.y-=he,this.computeShortLength(!1)!==0&&(E=Pf(this,E,!1,te)),Eh(se,y,x,y,x,E.x,E.y);else if(this.isOrthogonal){y=Lt.allocAt(b,he),x=Lt.alloc(),x.assign(this.i(1)),te=Lt.allocAt(b,he),E=Lt.allocAt(b,he),ne=this.i(0);for(var ve,Se=this.smoothness/3,Be=1;Be<this.pointsCount-1;Be++){ve=this.i(Be);var Ve=ne,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.5*(ve+Se.x),ne=.5*(ne+Se.y),Eh(se,E.x-b,E.y-he,ve-b,ne-he,Se.x-b,Se.y-he),Lt.free(y),Lt.free(x),Lt.free(te),Lt.free(E)}else for(x=3;x<y;x+=3)te=this.i(x-2),x+3>=y&&(x=y-1),E=this.i(x-1),ne=this.i(x),x===y-1&&this.computeShortLength(!1)!==0&&(ne=Pf(this,ne.copy(),!1,Li)),Eh(se,te.x-b,te.y-he,E.x-b,E.y-he,ne.x-b,ne.y-he);else{for(te=Lt.alloc(),te.assign(this.i(0)),E=Lt.alloc(),E.assign(te),ne=this.computeCorner(),Be=1,ve=0;Be<y;){if(Be=Q0(this,te,Be,1<Be),Se=this.i(Be),Be>=y-1){if(!te.D(Se))this.computeShortLength(!1)!==0&&(Se=Pf(this,Se.copy(),!1,Li)),Ef(this,se,-b,-he,te,Se,x);else if(ve===0)for(Be=1;Be<y;)E.assign(te),Se=this.i(Be++),Ef(this,se,-b,-he,te,Se,x),te.assign(Se);break}if(ve=Q0(this,Se,Be+1,Be<y-3),Be=-b,kt=-he,Ve=Se,Mt=this.i(ve),ct=x,tn.B(te.y,Ve.y)&&tn.B(Ve.x,Mt.x))if(rt=Math.min(ne,Math.abs(Ve.x-E.x)/2),rt=Ut=Math.min(rt,Math.abs(Mt.y-Ve.y)/2),tn.B(rt,0))Ef(this,se,Be,kt,te,Ve,ct),te.assign(Ve);else{var Yt=Ve.x,$t=Ve.y;nt=Yt,Rt=$t,Ve.x>te.x?Yt=Ve.x-rt:Yt=Ve.x+rt,Mt.y>Ve.y?Rt=Ve.y+Ut:Rt=Ve.y-Ut,Mt=Lt.allocAt(Yt,$t),Ef(this,se,Be,kt,te,Mt,ct),Lt.free(Mt),Um(se,Ve.x+Be,Ve.y+kt,nt+Be,Rt+kt),te.h(nt,Rt)}else tn.B(te.x,Ve.x)&&tn.B(Ve.y,Mt.y)?(rt=Math.min(ne,Math.abs(Ve.y-E.y)/2),rt=Ut=Math.min(rt,Math.abs(Mt.x-Ve.x)/2),tn.B(Ut,0)?(Ef(this,se,Be,kt,te,Ve,ct),te.assign(Ve)):(Yt=Ve.x,$t=Ve.y,nt=Yt,Rt=$t,Ve.y>te.y?$t=Ve.y-rt:$t=Ve.y+rt,Mt.x>Ve.x?nt=Ve.x+Ut:nt=Ve.x-Ut,Mt=Lt.allocAt(Yt,$t),Ef(this,se,Be,kt,te,Mt,ct),Lt.free(Mt),Um(se,Ve.x+Be,Ve.y+kt,nt+Be,Rt+kt),te.h(nt,Rt))):(Ef(this,se,Be,kt,te,Ve,ct),te.assign(Ve));E.assign(Se),Be=ve}Lt.free(te)}Gm=se}else se=this.i(1).copy(),se.x-=b,se.y-=he,this.computeShortLength(!0)!==0&&(E=Pf(this,E,!0,te)),this.computeShortLength(!1)!==0&&(se=Pf(this,se,!1,te)),a.type=$n.j,a.startX=E.x,a.startY=E.y,a.endX=se.x,a.endY=se.y;return this.lk=!0,a};function $m(a,y,x,b){return a=x-a,isNaN(a)||a===1/0||a===-1/0?NaN:(0>a&&(a=-a),y=b-y,isNaN(y)||y===1/0||y===-1/0?NaN:(0>y&&(y=-y),tn.$(a,0)?y:tn.$(y,0)?a:Math.sqrt(a*a+y*y)))}function Pf(a,y,x,b){var E=a.pointsCount;if(2>E)return y;if(x){var te=a.i(1);if(x=te.x-b.x,te=te.y-b.y,b=$m(y.x,y.y,x,te),b===0)return y;E=E===2?.5*b:b,a=a.computeShortLength(!0),a>E&&(a=E),E=a*(te-y.y)/b,y.x+=a*(x-y.x)/b,y.y+=E}else{if(te=a.i(E-2),x=te.x-b.x,te=te.y-b.y,b=$m(y.x,y.y,x,te),b===0)return y;E=E===2?.5*b:b,a=a.computeShortLength(!1),a>E&&(a=E),E=a*(y.y-te)/b,y.x-=a*(y.x-x)/b,y.y-=E}return y}function Q0(a,y,x,b){for(var E=a.pointsCount,te=y;tn.$(y.x,te.x)&&tn.$(y.y,te.y);){if(x>=E)return E-1;te=a.i(x++)}if(!tn.$(y.x,te.x)&&!tn.$(y.y,te.y))return x-1;for(var ne=te;tn.$(y.x,te.x)&&tn.$(te.x,ne.x)&&(!b||(y.y>=te.y?te.y>=ne.y:te.y<=ne.y))||tn.$(y.y,te.y)&&tn.$(te.y,ne.y)&&(!b||(y.x>=te.x?te.x>=ne.x:te.x<=ne.x));){if(x>=E)return E-1;ne=a.i(x++)}return x-2}_n.prototype.computeJumpLength=function(){return 10};function Ef(a,y,x,b,E,te,ne){if(!ne&&Yd(a)){ne=a.computeJumpLength();var se=ne/2,he=[],ve=0;if(a.isVisible()&&(ve=Ax(a,E,te,he)),0<ve){if(tn.B(E.y,te.y))if(E.x<te.x)for(var Se=0;Se<ve;){var Be=Math.max(E.x,Math.min(he[Se++]-se,te.x-ne));y.lineTo(Be+x,te.y+b);for(var Ve=Be+x,nt=Math.min(Be+ne,te.x);Se<ve&&(Be=he[Se],Be<nt+ne);)Se++,nt=Math.min(Be+se,te.x);Be=te.y-ne+b,nt+=x;var rt=te.y+b;a.curve===Th?yp(y,nt,rt,!1):Eh(y,Ve,Be,nt,Be,nt,rt)}else for(--ve;0<=ve;){for(Se=Math.min(E.x,Math.max(he[ve--]+se,te.x+ne)),y.lineTo(Se+x,te.y+b),Ve=Se+x,Be=Math.max(Se-ne,te.x);0<=ve&&(Se=he[ve],Se>Be-ne);)ve--,Be=Math.max(Se-se,te.x);Se=te.y-ne+b,Be+=x,nt=te.y+b,a.curve===Th?yp(y,Be,nt,!1):Eh(y,Ve,Se,Be,Se,Be,nt)}else if(tn.B(E.x,te.x))if(E.y<te.y)for(Se=0;Se<ve;){for(Be=Math.max(E.y,Math.min(he[Se++]-se,te.y-ne)),y.lineTo(te.x+x,Be+b),Ve=Be+b,Be=Math.min(Be+ne,te.y);Se<ve&&(nt=he[Se],nt<Be+ne);)Se++,Be=Math.min(nt+se,te.y);nt=te.x-ne+x,rt=te.x+x,Be+=b,a.curve===Th?yp(y,rt,Be,!1):Eh(y,nt,Ve,nt,Be,rt,Be)}else for(--ve;0<=ve;){for(Se=Math.min(E.y,Math.max(he[ve--]+se,te.y+ne)),y.lineTo(te.x+x,Se+b),Ve=Se+b,Se=Math.max(Se-ne,te.y);0<=ve&&(Be=he[ve],Be>Se-ne);)ve--,Se=Math.max(Be-se,te.y);Be=te.x-ne+x,nt=te.x+x,Se+=b,a.curve===Th?yp(y,nt,Se,!1):Eh(y,Be,Ve,Be,Se,nt,Se)}}}y.lineTo(te.x+x,te.y+b)}function Ax(a,y,x,b){var E=a.diagram;if(E===null||y.D(x))return 0;for(E=E.layers;E.next();){var te=E.value;if(te!==null&&te.visible){te=te.Pa.s;for(var ne=te.length,se=0;se<ne;se++){var he=te[se];if(he instanceof _n){if(he===a)return 0<b.length&&b.sort(function(Se,Be){return Se-Be}),b.length;if(he.isVisible()&&Yd(he)){var ve=he.routeBounds;ve.w()&&a.routeBounds.Yc(ve)&&!a.usesSamePort(he)&&(ve=he.path,ve!==null&&ve.Ed()&&Mx(y,x,b,he))}}}}}return 0<b.length&&b.sort(function(Se,Be){return Se-Be}),b.length}function Mx(a,y,x,b){for(var E=tn.B(a.y,y.y),te=b.pointsCount,ne=b.i(0),se=Lt.alloc(),he=1;he<te;he++){var ve=b.i(he);if(he<te-1){var Se=b.i(he+1);if(ne.y===ve.y&&ve.y===Se.y){if(ve.x>ne.x&&Se.x>=ve.x||ve.x<ne.x&&Se.x<=ve.x)continue}else if(ne.x===ve.x&&ve.x===Se.x&&(ve.y>ne.y&&Se.y>=ve.y||ve.y<ne.y&&Se.y<=ve.y))continue}e:{Se=a.x;var Be=a.y,Ve=y.x,nt=y.y,rt=ne.x;ne=ne.y;var ct=ve.x,kt=ve.y;if(tn.B(Se,Ve)){if(!tn.B(Be,nt)&&tn.B(ne,kt)&&Math.min(Be,nt)<ne&&Math.max(Be,nt)>ne&&Math.min(rt,ct)<Se&&Math.max(rt,ct)>Se&&!tn.B(rt,ct)){se.x=Se,se.y=ne,Se=!0;break e}}else if(tn.B(Be,nt)&&tn.B(rt,ct)&&Math.min(Se,Ve)<rt&&Math.max(Se,Ve)>rt&&Math.min(ne,kt)<Be&&Math.max(ne,kt)>Be&&!tn.B(ne,kt)){se.x=rt,se.y=Be,Se=!0;break e}se.x=0,se.y=0,Se=!1}Se&&(E?x.push(se.x):x.push(se.y)),ne=ve}Lt.free(se)}function Yd(a){return a=a.curve,a===wp||a===Th}function qm(a,y){(y||Yd(a))&&(y=a.diagram,y===null||y.animationManager.isTicking||y.Eh.contains(a)||a.ml.width===0&&a.ml.height===0||y.Eh.add(a,a.ml.copy()))}_n.prototype.Xo=function(a){var y=this.layer;if(y!==null&&y.visible&&!y.isTemporary){var x=y.diagram;if(x!==null&&!x.animationManager.isTicking){var b=!1;for(x=x.layers;x.next();){var E=x.value;if(E.visible){if(E===y){b=!0;var te=!1;E=E.Pa.s;for(var ne=E.length,se=0;se<ne;se++){var he=E[se];he instanceof _n&&(he===this?te=!0:te&&tS(this,he,a))}}else if(b)for(te=E.Pa.s,E=te.length,ne=0;ne<E;ne++)se=te[ne],se instanceof _n&&tS(this,se,a)}}}}};function tS(a,y,x){if(y!==null&&y.lk&&y.fd&&Yd(y)){var b=y.routeBounds;b.w()&&(a.routeBounds.Yc(b)||x.Yc(b))&&(a.usesSamePort(y)||y.qc())}}_n.prototype.usesSamePort=function(a){var y=this.pointsCount,x=a.pointsCount;if(0<y&&0<x){var b=this.i(0),E=a.i(0);if(b.Xa(E)||(y=this.i(y-1),a=a.i(x-1),y.Xa(a)||b.Xa(a)||y.Xa(E)))return!0}else if(this.fromNode===a.fromNode||this.toNode===a.toNode||this.fromNode===a.toNode||this.toNode===a.fromNode)return!0;return!1},_n.prototype.isVisible=function(){if(!kr.prototype.isVisible.call(this))return!1;var a=this.containingGroup,y=!0,x=this.diagram;if(x!==null&&(y=x.isTreePathToChildren),x=this.fromNode,x!==null){if(this.isTreeLink&&y&&!x.isTreeExpanded)return!1;if(x===a)return!0;for(var b=x;b!==null;){if(b.labeledLink===this)return!0;b=b.containingGroup}if(x=x.findVisibleNode(),x===null||x===a)return!1}if(x=this.toNode,x!==null){if(this.isTreeLink&&!y&&!x.isTreeExpanded)return!1;if(x===a)return!0;for(y=x;y!==null;){if(y.labeledLink===this)return!0;y=y.containingGroup}if(y=x.findVisibleNode(),y===null||y===a)return!1}return!0},_n.prototype.Zb=function(a){if(kr.prototype.Zb.call(this,a),a&&qm(this,!1),this.Sf!==null&&this.Sf.Sl(),this.wd!==null)for(var y=this.wd.iterator;y.next();)y.value.Zb(a)},_n.prototype.computeAdjusting=function(){return this.isAvoiding&&this.diagram!==null&&this.diagram.animationManager.defaultAnimation.isAnimating?bg:this.qk};function xg(a){var y=a.ef;if(y!==null){var x=a.uf;if(x!==null&&isNaN(a.curviness)){for(var b=a.ff,E=a.vf,te=a=null,ne=y.jb.s,se=ne.length,he=0;he<se;he++){var ve=ne[he];(ve.ef===y&&ve.ff===b&&ve.uf===x&&ve.vf===E||ve.ef===x&&ve.ff===E&&ve.uf===y&&ve.vf===b)&&(te===null?te=ve:(a===null&&(a=[],a.push(te)),a.push(ve)))}if(a!==null){for(te=G1(y,x,b,E),te===null&&(te=new iv(y,b,x,E),U1(y,te),U1(x,te)),te.links=a,y=0;y<a.length;y++)a[y].Sf=te;te.Sl()}}}}function wg(a){var y=a.Sf;y!==null&&isNaN(a.curviness)&&(a.Sf=null,a=y.links.indexOf(a),0<=a&&(vn(y.links,a),y.Sl()))}_n.prototype.ph=function(){return!0},Pt.Object.defineProperties(_n.prototype,{fromNode:{get:function(){return this.ef},set:function(a){var y=this.ef;if(y!==a){var x=this.fromPort;y!==null&&(this.uf!==y&&Xm(y,this,x),wg(this),this.C(2)),this.ef=a,a!==null&&this.Zb(a.isVisible()),this.Wf=null,this.bb();var b=this.diagram;b!==null&&b.aa&&b.partManager.setFromNodeForLink(this,a,y);var E=this.fromPort,te=this.fromPortChanged;if(te!==null){var ne=!0;b!==null&&(ne=b.aa,b.aa=!0),te(this,x,E),b!==null&&(b.aa=ne)}a!==null&&(this.uf!==a&&Vm(a,this,E),xg(this),this.C(1)),this.g("fromNode",y,a),Sp(this)}}},fromPortId:{get:function(){return this.ff},set:function(a){var y=this.ff;if(y!==a){var x=this.fromPort;x!==null&&Ll(x),wg(this),this.ff=a;var b=this.fromPort;b!==null&&Ll(b);var E=this.diagram;if(E!==null){var te=this.data,ne=E.model;te!==null&&ne.ri()&&ne.xv(te,a)}x!==b&&(this.Wf=null,this.bb(),te=this.fromPortChanged,te!==null&&(ne=!0,E!==null&&(ne=E.aa,E.aa=!0),te(this,x,b),E!==null&&(E.aa=ne))),xg(this),this.g("fromPortId",y,a)}}},fromPort:{get:function(){var a=this.ef;return a===null?null:a.ns(this.ff)}},fromPortChanged:{get:function(){return this.gn},set:function(a){var y=this.gn;y!==a&&(this.gn=a,this.g("fromPortChanged",y,a))}},toNode:{get:function(){return this.uf},set:function(a){var y=this.uf;if(y!==a){var x=this.toPort;y!==null&&(this.ef!==y&&Xm(y,this,x),wg(this),this.C(2)),this.uf=a,a!==null&&this.Zb(a.isVisible()),this.Wf=null,this.bb();var b=this.diagram;b!==null&&b.aa&&b.partManager.setToNodeForLink(this,a,y);var E=this.toPort,te=this.toPortChanged;if(te!==null){var ne=!0;b!==null&&(ne=b.aa,b.aa=!0),te(this,x,E),b!==null&&(b.aa=ne)}a!==null&&(this.ef!==a&&Vm(a,this,E),xg(this),this.C(1)),this.g("toNode",y,a),Sp(this)}}},toPortId:{get:function(){return this.vf},set:function(a){var y=this.vf;if(y!==a){var x=this.toPort;x!==null&&Ll(x),wg(this),this.vf=a;var b=this.toPort;b!==null&&Ll(b);var E=this.diagram;if(E!==null){var te=this.data,ne=E.model;te!==null&&ne.ri()&&ne.Cv(te,a)}x!==b&&(this.Wf=null,this.bb(),te=this.toPortChanged,te!==null&&(ne=!0,E!==null&&(ne=E.aa,E.aa=!0),te(this,x,b),E!==null&&(E.aa=ne))),xg(this),this.g("toPortId",y,a)}}},toPort:{get:function(){var a=this.uf;return a===null?null:a.ns(this.vf)}},toPortChanged:{get:function(){return this.uo},set:function(a){var y=this.uo;y!==a&&(this.uo=a,this.g("toPortChanged",y,a))}},fromSpot:{get:function(){return this.ba!==null?this.ba.Xi:io},set:function(a){var y=this.fromSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.Xi=a,this.g("fromSpot",y,a),(y.$c()||a.$c())&&this.fromNode!==null&&Ll(this.fromPort),this.bb())}},fromEndSegmentLength:{get:function(){return this.ba!==null?this.ba.Vi:NaN},set:function(a){var y=this.fromEndSegmentLength;y!==a&&(0>a&&Kn(a,">= 0",_n,"fromEndSegmentLength"),this.Xc(),this.ba.Vi=a,this.g("fromEndSegmentLength",y,a),this.bb())}},fromShortLength:{get:function(){return this.ba!==null?this.ba.Wi:NaN},set:function(a){var y=this.fromShortLength;y!==a&&(this.Xc(),this.ba.Wi=a,this.qc(),this.g("fromShortLength",y,a))}},toSpot:{get:function(){return this.ba!==null?this.ba.yj:io},set:function(a){var y=this.toSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.yj=a,this.g("toSpot",y,a),(y.$c()||a.$c())&&this.toNode!==null&&Ll(this.toPort),this.bb())}},toEndSegmentLength:{get:function(){return this.ba!==null?this.ba.wj:NaN},set:function(a){var y=this.toEndSegmentLength;y!==a&&(0>a&&Kn(a,">= 0",_n,"toEndSegmentLength"),this.Xc(),this.ba.wj=a,this.g("toEndSegmentLength",y,a),this.bb())}},toShortLength:{get:function(){return this.ba!==null?this.ba.xj:NaN},set:function(a){var y=this.toShortLength;y!==a&&(this.Xc(),this.ba.xj=a,this.qc(),this.g("toShortLength",y,a))}},isLabeledLink:{get:function(){return this.wd===null?!1:0<this.wd.count}},labelNodes:{get:function(){return this.wd===null?Gr:this.wd.iterator}},relinkableFrom:{get:function(){return(this.Qa&1)!==0},set:function(a){var y=(this.Qa&1)!==0;y!==a&&(this.Qa^=1,this.g("relinkableFrom",y,a),this.Wb())}},relinkableTo:{get:function(){return(this.Qa&2)!==0},set:function(a){var y=(this.Qa&2)!==0;y!==a&&(this.Qa^=2,this.g("relinkableTo",y,a),this.Wb())}},resegmentable:{get:function(){return(this.Qa&4)!==0},set:function(a){var y=(this.Qa&4)!==0;y!==a&&(this.Qa^=4,this.g("resegmentable",y,a),this.Wb())}},isTreeLink:{get:function(){return(this.Qa&8)!==0},set:function(a){var y=(this.Qa&8)!==0;y!==a&&(this.Qa^=8,this.g("isTreeLink",y,a),this.fromNode!==null&&Sg(this.fromNode),this.toNode!==null&&Sg(this.toNode))}},path:{get:function(){var a=this.Pb();return a instanceof pi?a:null}},routeBounds:{get:function(){this.vg();var a=this.ml,y=1/0,x=1/0,b=this.pointsCount;if(b===0)a.h(NaN,NaN,0,0);else{if(b===1)b=this.i(0),y=Math.min(b.x,y),x=Math.min(b.y,x),a.h(b.x,b.y,0,0);else if(b===2){b=this.i(0);var E=this.i(1);y=Math.min(b.x,E.x),x=Math.min(b.y,E.y),a.h(b.x,b.y,0,0),a.Ye(E)}else if(this.computeCurve()===Jl&&3<=b&&!this.isOrthogonal)if(E=this.i(0),y=E.x,x=E.y,a.h(y,x,0,0),b===3){b=this.i(1),y=Math.min(b.x,y),x=Math.min(b.y,x);var te=this.i(2);y=Math.min(te.x,y),x=Math.min(te.y,x),tn.Dl(E.x,E.y,b.x,b.y,b.x,b.y,te.x,te.y,.5,a)}else for(te=3;te<b;te+=3){var ne=this.i(te-2);te+3>=b&&(te=b-1);var se=this.i(te-1),he=this.i(te);tn.Dl(E.x,E.y,ne.x,ne.y,se.x,se.y,he.x,he.y,.5,a),y=Math.min(he.x,y),x=Math.min(he.y,x),E=he}else for(E=this.i(0),te=this.i(1),y=Math.min(E.x,te.x),x=Math.min(E.y,te.y),a.h(E.x,E.y,0,0),a.Ye(te),E=2;E<b;E++)te=this.i(E),y=Math.min(te.x,y),x=Math.min(te.y,x),a.Ye(te);this.su.h(y-a.x,x-a.y)}return a}},midPoint:{get:function(){return this.vg(),this.computeMidPoint(new Lt)}},midAngle:{get:function(){return this.vg(),this.computeMidAngle()}},flattenedLengths:{get:function(){if(this.cq===null){this.fd||Jm(this);for(var a=this.cq=[],y=this.pointsCount,x=0;x<y-1;x++){var b=this.i(x),E=this.i(x+1);tn.$(b.x,E.x)?(b=E.y-b.y,0>b&&(b=-b)):tn.$(b.y,E.y)?(b=E.x-b.x,0>b&&(b=-b)):b=Math.sqrt(b.Bf(E)),a.push(b)}}return this.cq}},flattenedTotalLength:{get:function(){var a=this.vt;if(isNaN(a)){for(var y=this.flattenedLengths,x=y.length,b=a=0;b<x;b++)a+=y[b];this.vt=a}return a}},points:{get:function(){return this.Nb},set:function(a){var y=this.Nb;if(y!==a){var x=null;if(Array.isArray(a)){var b=a.length%2===0;if(b){for(var E=0;E<a.length;E++)if(typeof a[E]!="number"||isNaN(a[E])){b=!1;break}}if(b)for(x=new Dn,b=0;b<a.length/2;b++)E=new Lt(a[2*b],a[2*b+1]).freeze(),x.add(E);else{for(b=!0,E=0;E<a.length;E++){var te=a[E];if(!sn(te)||typeof te.x!="number"||isNaN(te.x)||typeof te.y!="number"||isNaN(te.y)){b=!1;break}}if(b)for(x=new Dn,b=0;b<a.length;b++)E=a[b],x.add(new Lt(E.x,E.y).freeze())}}else if(a instanceof Dn)for(x=a.copy(),a=x.iterator;a.next();)a.value.freeze();else Ht("Link.points value is not an instance of List or Array: "+a);x.freeze(),this.Nb=x,this.qc(),Jm(this),a=this.diagram,a!==null&&(a.pi||a.undoManager.isUndoingRedoing||a.As.add(this),a.animationManager.zb&&ko(a.animationManager,this,x)),this.g("points",y,x)}}},pointsCount:{get:function(){return this.Nb.count}},fd:{get:function(){return(this.Qa&16)!==0},set:function(a){(this.Qa&16)!==0!==a&&(this.Qa^=16)}},suspendsRouting:{get:function(){return(this.Qa&32)!==0},set:function(a){(this.Qa&32)!==0!==a&&(this.Qa^=32)}},computingPoints:{get:function(){return(this.Qa&64)!==0},set:function(a){(this.Qa&64)!==0!==a&&(this.Qa^=64)}},defaultFromPoint:{get:function(){return this.o},set:function(a){this.o=a.copy()}},defaultToPoint:{get:function(){return this.u},set:function(a){this.u=a.copy()}},isOrthogonal:{get:function(){return(this.qj.value&2)===2}},isAvoiding:{get:function(){return(this.qj.value&4)===4}},lk:{get:function(){return(this.Qa&128)!==0},set:function(a){(this.Qa&128)!==0!==a&&(this.Qa^=128)}},geometry:{get:function(){if(!this.lk){if(this.vg(),2>this.pointsCount)return this.lk=!0,this.ua;this.ua=this.makeGeometry()}return this.ua}},firstPickIndex:{get:function(){return 2>=this.pointsCount?0:this.isOrthogonal||!xp(this.computeSpot(!0))?1:0}},lastPickIndex:{get:function(){var a=this.pointsCount;return a===0?0:2>=a?a-1:this.isOrthogonal||!xp(this.computeSpot(!1))?a-2:a-1}},adjusting:{get:function(){return this.qk},set:function(a){var y=this.qk;y!==a&&(this.qk=a,this.g("adjusting",y,a))}},corner:{get:function(){return this.Om},set:function(a){var y=this.Om;y!==a&&(this.Om=a,this.qc(),this.g("corner",y,a))}},curve:{get:function(){return this.Qm},set:function(a){var y=this.Qm;y!==a&&(this.Qm=a,this.bb(),this.qc(),qm(this,y===Th||y===wp||a===Th||a===wp),this.g("curve",y,a))}},curviness:{get:function(){return this.Rm},set:function(a){var y=this.Rm;y!==a&&(this.Rm=a,this.bb(),this.qc(),this.g("curviness",y,a))}},routing:{get:function(){return this.qj},set:function(a){var y=this.qj;y!==a&&(this.qj=a,this.Wf=null,this.bb(),qm(this,(y.value&2)===2||(a.value&2)===2),this.g("routing",y,a))}},smoothness:{get:function(){return this.po},set:function(a){var y=this.po;y!==a&&(this.po=a,this.qc(),this.g("smoothness",y,a))}},key:{get:function(){var a=this.diagram;if(a!==null&&a.model.ri())return a.model.Ac(this.data)}}}),_n.prototype.invalidateOtherJumpOvers=_n.prototype.Xo,_n.prototype.findClosestSegment=_n.prototype.ez,_n.prototype.updateRoute=_n.prototype.vg,_n.prototype.invalidateRoute=_n.prototype.bb,_n.prototype.rollbackRoute=_n.prototype.rv,_n.prototype.commitRoute=_n.prototype.zf,_n.prototype.startRoute=_n.prototype.uh,_n.prototype.clearPoints=_n.prototype.Fj,_n.prototype.removePoint=_n.prototype.pv,_n.prototype.addPointAt=_n.prototype.yf,_n.prototype.addPoint=_n.prototype.ne,_n.prototype.insertPointAt=_n.prototype.m,_n.prototype.insertPoint=_n.prototype.Kz,_n.prototype.setPointAt=_n.prototype.L,_n.prototype.setPoint=_n.prototype.dd,_n.prototype.getPoint=_n.prototype.i,_n.prototype.getOtherPort=_n.prototype.Cz,_n.prototype.getOtherNode=_n.prototype.To;var Af=null,Mf=null,_0=new wn(_n,"Normal",1),Lx=new wn(_n,"Orthogonal",2),Tx=new wn(_n,"AvoidsNodes",6),nS=new wn(_n,"AvoidsNodesStraight",7),Xs=new wn(_n,"None",0),Jl=new wn(_n,"Bezier",9),Th=new wn(_n,"JumpGap",10),wp=new wn(_n,"JumpOver",11),bg=new wn(_n,"End",17),ev=new wn(_n,"Scale",18),tv=new wn(_n,"Stretch",19),Cg=new wn(_n,"OrientAlong",21),Pg=new wn(_n,"OrientPlus90",22),Eg=new wn(_n,"OrientMinus90",23),$0=new wn(_n,"OrientOpposite",24),nv=new wn(_n,"OrientUpright",25),Ag=new wn(_n,"OrientPlus90Upright",26),Mg=new wn(_n,"OrientMinus90Upright",27),rv=new wn(_n,"OrientUpright45",28),rS=16,iS=14,Lg=8;_n.className="Link",_n.Normal=_0,_n.Orthogonal=Lx,_n.AvoidsNodes=Tx,_n.AvoidsNodesStraight=nS,_n.None=Xs,_n.Bezier=Jl,_n.JumpGap=Th,_n.JumpOver=wp,_n.End=bg,_n.Scale=ev,_n.Stretch=tv,_n.OrientAlong=Cg,_n.OrientPlus90=Pg,_n.OrientMinus90=Eg,_n.OrientOpposite=$0,_n.OrientUpright=nv,_n.OrientPlus90Upright=Ag,_n.OrientMinus90Upright=Mg,_n.OrientUpright45=rv,_n.EndSegmentStep=8,_n.CurvinessStart=rS,_n.SpacingMin=iS,_n.OrthoShortCut=Lg;function iv(a,y,x,b){hi(this),this.Fe=this.qq=!1,this.Ds=a,this.Ox=y,this.cv=x,this.Px=b,this.links=[]}iv.prototype.Sl=function(){if(!this.qq){var a=this.links;0<a.length&&(a=a[0].diagram,a!==null&&(a.ow.add(this),this.Fe=a.undoManager.isUndoingRedoing))}this.qq=!0},iv.prototype.Nv=function(){if(this.qq){this.qq=!1;var a=this.links;if(0<a.length){var y=a[0],x=y.diagram;x=x===null||x.pi&&!this.Fe,this.Fe=!1,y.arrangeBundledLinks(a,x),a.length===1&&(y.Sf=null,a.length=0)}a.length===0&&(a=this.Ds,this!==null&&a.af!==null&&a.af.remove(this),a=this.cv,this!==null&&a.af!==null&&a.af.remove(this))}},iv.className="LinkBundle";function Tg(a){hi(this),this.Yx=this.group=null,this.vs=!0,this.abort=!1,this.Od=this.Nd=1,this.Fn=this.En=-1,this.rc=a.width,this.sc=a.height,this.ac=null,this.ei=this.di=0,this.Os=11,this.Ix=this.Hx=22}Tg.prototype.initialize=function(a){if(!(0>=a.width||0>=a.height)){var y=a.y,x=a.x+a.width,b=a.y+a.height;if(this.Nd=Math.floor((a.x-this.rc)/this.rc)*this.rc,this.Od=Math.floor((y-this.sc)/this.sc)*this.sc,this.En=Math.ceil((x+2*this.rc)/this.rc)*this.rc,this.Fn=Math.ceil((b+2*this.sc)/this.sc)*this.sc,a=1+(Math.ceil((this.En-this.Nd)/this.rc)|0),y=1+(Math.ceil((this.Fn-this.Od)/this.sc)|0),this.ac===null||this.di<a-1||this.ei<y-1){for(x=[],b=0;b<=a;b++)x[b]=new Uint32Array(y);this.ac=x,this.di=a-1,this.ei=y-1}if(a=q0,this.ac!==null)for(y=0;y<=this.di;y++)if(x=this.ac[y],x.fill)x.fill(a);else for(b=0;b<=this.ei;b++)x[b]=a}};function bp(a,y,x){return a.Nd<=y&&y<=a.En&&a.Od<=x&&x<=a.Fn}function Oc(a,y,x){return bp(a,y,x)?(y-=a.Nd,y/=a.rc,x-=a.Od,x/=a.sc,a.ac[y|0][x|0]):q0}function oS(a){if(a.ac!==null)for(var y=0;y<=a.di;y++)for(var x=a.ac[y],b=0;b<=a.ei;b++)x[b]>=Jd&&(x[b]=q0)}Tg.prototype.Yj=function(a,y,x,b){if(a>this.En||a+x<this.Nd||y>this.Fn||y+b<this.Od)return!0;a=(a-this.Nd)/this.rc|0,y=(y-this.Od)/this.sc|0,x=Math.max(0,x)/this.rc+1|0;var E=Math.max(0,b)/this.sc+1|0;if(0>a&&(x+=a,a=0),0>y&&(E+=y,y=0),0>x||0>E)return!0;for(b=Math.min(a+x-1,this.di)|0,x=Math.min(y+E-1,this.ei)|0;a<=b;a++){E=this.ac[a];for(var te=y;te<=x;te++)if(E[te]===Fh)return!1}return!0};function kc(a,y,x,b,E,te,ne,se,he){if(!(y<te||y>ne||x<se||x>he)){var ve=y|0,Se=x|0,Be=a.ac[ve][Se];if(Be>=Jd&&Be<Cp)for(E?Se+=b:ve+=b,Be+=1;te<=ve&&ve<=ne&&se<=Se&&Se<=he&&!(Be>=a.ac[ve][Se]);)a.ac[ve][Se]=Be,Be+=1,E?Se+=b:ve+=b;if(ve=E?Se:ve,E)if(0<b)for(x+=b;x<ve;x+=b)kc(a,y,x,1,!E,te,ne,se,he),kc(a,y,x,-1,!E,te,ne,se,he);else for(x+=b;x>ve;x+=b)kc(a,y,x,1,!E,te,ne,se,he),kc(a,y,x,-1,!E,te,ne,se,he);else if(0<b)for(y+=b;y<ve;y+=b)kc(a,y,x,1,!E,te,ne,se,he),kc(a,y,x,-1,!E,te,ne,se,he);else for(y+=b;y>ve;y+=b)kc(a,y,x,1,!E,te,ne,se,he),kc(a,y,x,-1,!E,te,ne,se,he)}}function ov(a,y,x,b,E,te,ne,se,he){y|=0,x|=0;var ve=Fh,Se=Jd;for(a.ac[y][x]=Se;ve===Fh&&y>te&&y<ne&&x>se&&x<he;)Se+=1,a.ac[y][x]=Se,E?x+=b:y+=b,ve=a.ac[y][x]}function av(a,y,x,b,E,te,ne,se,he){y|=0,x|=0;var ve=Fh,Se=Cp;for(a.ac[y][x]=Se;ve===Fh&&y>te&&y<ne&&x>se&&x<he;)a.ac[y][x]=Se,E?x+=b:y+=b,ve=a.ac[y][x]}function aS(a,y,x,b,E,te,ne){if(a.ac!==null){a.abort=!1;var se=y.x,he=y.y;if(bp(a,se,he)){se-=a.Nd,se/=a.rc,he-=a.Od,he/=a.sc;var ve=b.x,Se=b.y;if(bp(a,ve,Se))if(ve-=a.Nd,ve/=a.rc,Se-=a.Od,Se/=a.sc,1>=Math.abs(se-ve)&&1>=Math.abs(he-Se))a.abort=!0;else{var Be=te.x;b=te.y,y=te.x+te.width;var Ve=te.y+te.height;Be-=a.Nd,Be/=a.rc,b-=a.Od,b/=a.sc,y-=a.Nd,y/=a.rc,Ve-=a.Od,Ve/=a.sc,te=Math.max(0,Math.min(a.di,Be|0)),y=Math.min(a.di,Math.max(0,y|0)),Be=Math.max(0,Math.min(a.ei,b|0)),Ve=Math.min(a.ei,Math.max(0,Ve|0)),b=a.ac,se|=0,he|=0,ve|=0,Se|=0;var nt=x===0||x===90?1:-1;if(x=x===90||x===270,b[se][he]===Fh?(ov(a,se,he,nt,x,te,y,Be,Ve),ov(a,se,he,1,!x,te,y,Be,Ve),ov(a,se,he,-1,!x,te,y,Be,Ve)):ov(a,se,he,nt,x,se,he,se,he),b[ve][Se]===Fh?(av(a,ve,Se,E===0||E===90?1:-1,E===90||E===270,te,y,Be,Ve),av(a,ve,Se,1,!(E===90||E===270),te,y,Be,Ve),av(a,ve,Se,-1,!(E===90||E===270),te,y,Be,Ve)):av(a,ve,Se,nt,x,ve,Se,ve,Se),x=yn(),ne&&sS(a,ve,Se,E,se,he,x))for((x[0]!==ve||x[1]!==Se)&&(x.unshift(Se),x.unshift(ve)),(x[x.length-2]!==se||x[x.length-1]!==he)&&(x.push(se),x.push(he)),a=Jd,E=x[x.length-2],ne=x[x.length-1],b[E][ne]=a++,te=x.length-4;0<=te;te-=2)for(E=x[te+2],ne=x[te+3],y=x[te],ve=x[te+1];y>E?E++:y<E?E--:ve>ne?ne++:ve<ne&&ne--,b[E][ne]=a++,E!==y||ne!==ve;);else kc(a,se,he,1,!1,te,y,Be,Ve),kc(a,se,he,-1,!1,te,y,Be,Ve),kc(a,se,he,1,!0,te,y,Be,Ve),kc(a,se,he,-1,!0,te,y,Be,Ve);Tn(x)}}}}function sS(a,y,x,b,E,te,ne){for(var se=a.ac,he=y,ve=x;;){if(he===E&&ve===te)return!0;var Se=he,Be=ve;if(b===0)if(Se<E)Se++;else break;else if(b===90)if(Be<te)Be++;else break;else if(b===180)if(Se>E)Se--;else break;else if(Be>te)Be--;else break;var Ve=se[Se][Be];if(Ve===0||Ve===ey)break;he=Se,ve=Be}for(;;){if(Se=b,Be=he,Ve=ve,b===0?Ve<te?(Se=90,Ve++):Ve>te&&(Se=270,Ve--):b===90?Be<E?(Se=0,Be++):Be>E&&(Se=180,Be--):b===180?Ve<te?(Se=90,Ve++):Ve>te&&(Se=270,Ve--):Be<E?(Se=0,Be++):Be>E&&(Se=180,Be--),Be=se[Be][Ve],Se!==b&&Be!==0&&Be!==ey){if(ne.push(he),ne.push(ve),sS(a,he,ve,Se,E,te,ne))return!0;ne.pop(),ne.pop()}if(se[he][ve]=ey,b===0){if(he===y)return!1;he--}else if(b===90){if(ve===x)return!1;ve--}else if(b===180){if(he===y)return!1;he++}else{if(ve===x)return!1;ve++}}}Pt.Object.defineProperties(Tg.prototype,{bounds:{get:function(){return new Mn(this.Nd,this.Od,this.En-this.Nd,this.Fn-this.Od)}},Ho:{get:function(){return this.rc},set:function(a){0<a&&a!==this.rc&&(this.rc=a,this.initialize(this.bounds))}},Go:{get:function(){return this.sc},set:function(a){0<a&&a!==this.sc&&(this.sc=a,this.initialize(this.bounds))}}});var Fh=0,Jd=1,Cp=999999,q0=Cp+1,ey=Cp+2;Tg.className="PositionArray";function Lf(){hi(this),this.port=this.node=null,this.pe=[],this.ap=!1}Lf.prototype.toString=function(){for(var a=this.pe,y=this.node.toString()+" "+a.length.toString()+":",x=0;x<a.length;x++){var b=a[x];b!==null&&(y+=`
`+b.toString())}return y};function Fx(a,y,x,b){switch(y=y.offsetY,y){case 8:return 90;case 2:return 180;case 1:return 270;case 4:return 0}switch(y){case 9:return 180<x?270:90;case 6:return 90<x&&270>=x?180:0}switch(a=180*Math.atan2(a.height,a.width)/Math.PI,y){case 3:return x>a&&x<=180+a?180:270;case 5:return x>180-a&&x<=360-a?270:0;case 12:return x>a&&x<=180+a?90:0;case 10:return x>180-a&&x<=360-a?180:90;case 7:return 90<x&&x<=180+a?180:x>180+a&&x<=360-a?270:0;case 13:return 180<x&&x<=360-a?270:x>a&&180>=x?90:0;case 14:return x>a&&x<=180-a?90:x>180-a&&270>=x?180:0;case 11:return x>180-a&&x<=180+a?180:x>180+a?270:90}return b&&y!==15&&(x-=15,0>x&&(x+=360)),x>a&&x<180-a?90:x>=180-a&&x<=180+a?180:x>180+a&&x<360-a?270:0}Lf.prototype.Sl=function(){this.pe.length=0};function lS(a,y){var x=a.pe;if(x.length===0){e:if(!a.ap){x=a.ap,a.ap=!0;var b=null,E=a.node,te=E instanceof ii?E:null;if(te===null||te.isSubGraphExpanded)var ne=E.isTreeExpanded?E.findLinksConnected(a.port.portId):E.qx();else{if(!te.actualBounds.w()){a.ap=x;break e}b=te,ne=b.Lu()}te=a.pe.length=0;var se=a.port.ga(Xa,Lt.alloc()),he=a.port.ga(ks,Lt.alloc());for(E=Mn.allocAt(se.x,se.y,0,0),E.Ye(he),Lt.free(se),Lt.free(he),se=Lt.allocAt(E.x+E.width/2,E.y+E.height/2),he=a.port.li(),ne=ne.iterator;ne.next();){var ve=ne.value;if(ve.isVisible()&&ve.fromPort!==ve.toPort){var Se=ve.fromPort===a.port||ve.fromNode!==null&&ve.fromNode.Td(b),Be=ve.computeSpot(Se,a.port);if(Be.$c()&&(Se=Se?ve.toPort:ve.fromPort,Se!==null)){var Ve=Se.part;if(Ve!==null){var nt=Ve.findVisibleNode();nt!==null&&nt!==Ve&&(Ve=nt,Se=Ve.port),Se=ve.computeOtherPoint(Ve,Se),Ve=se.ab(Se),Ve-=he,0>Ve?Ve+=360:360<=Ve&&(Ve-=360),Be=Fx(E,Be,Ve,ve.isOrthogonal),Be===0?(Be=4,180<Ve&&(Ve-=360)):Be===90?(Be=8,270<Ve&&(Ve-=360)):Be===180?Be=2:(Be=1,90>Ve&&(Ve+=360)),nt=a.pe[te],nt===void 0?(nt=new ty(ve,Ve,Be),a.pe[te]=nt):(nt.link=ve,nt.angle=Ve,nt.Nc=Be),nt.hv.set(Se),te++}}}}for(Lt.free(se),a.pe.sort(Lf.prototype.j),he=a.pe.length,b=-1,te=se=0;te<he;te++)ne=a.pe[te],ne!==void 0&&(ne.Nc!==b&&(b=ne.Nc,se=0),ne.Uo=se,se++);for(b=-1,se=0,te=he-1;0<=te;te--)he=a.pe[te],he!==void 0&&(he.Nc!==b&&(b=he.Nc,se=he.Uo+1),he.Gl=se);if(te=a.pe,Be=a.port,b=a.node.portSpreading,se=Lt.alloc(),he=Lt.alloc(),ne=Lt.alloc(),ve=Lt.alloc(),Be.ga(Xa,se),Be.ga(Bl,he),Be.ga(ks,ne),Be.ga(tl,ve),nt=Ve=Se=Be=0,b===Z0)for(var rt=0;rt<te.length;rt++){var ct=te[rt];if(ct!==null){var kt=ct.link.computeThickness();switch(ct.Nc){case 8:Ve+=kt;break;case 2:nt+=kt;break;case 1:Be+=kt;break;default:case 4:Se+=kt}}}var Mt=rt=0,Rt=1,Ut=ct=0;for(kt=0;kt<te.length;kt++){var Yt=te[kt];if(Yt!==null){if(rt!==Yt.Nc){switch(rt=Yt.Nc,rt){case 8:var $t=ne;Mt=ve;break;case 2:$t=ve,Mt=se;break;case 1:$t=se,Mt=he;break;default:case 4:$t=he,Mt=ne}switch(ct=Mt.x-$t.x,Ut=Mt.y-$t.y,rt){case 8:Ve>Math.abs(ct)?(Rt=Math.abs(ct)/Ve,Ve=Math.abs(ct)):Rt=1;break;case 2:nt>Math.abs(Ut)?(Rt=Math.abs(Ut)/nt,nt=Math.abs(Ut)):Rt=1;break;case 1:Be>Math.abs(ct)?(Rt=Math.abs(ct)/Be,Be=Math.abs(ct)):Rt=1;break;default:case 4:Se>Math.abs(Ut)?(Rt=Math.abs(Ut)/Se,Se=Math.abs(Ut)):Rt=1}Mt=0}var dn=Yt.Zo;if(b===Z0){switch(Yt=Yt.link.computeThickness(),Yt*=Rt,dn.set($t),rt){case 8:dn.x=$t.x+ct/2+Ve/2-Mt-Yt/2;break;case 2:dn.y=$t.y+Ut/2+nt/2-Mt-Yt/2;break;case 1:dn.x=$t.x+ct/2-Be/2+Mt+Yt/2;break;default:case 4:dn.y=$t.y+Ut/2-Se/2+Mt+Yt/2}Mt+=Yt}else{var rr=.5;b===Ym&&(rr=(Yt.Uo+1)/(Yt.Gl+1)),dn.x=$t.x+ct*rr,dn.y=$t.y+Ut*rr}}}for(Lt.free(se),Lt.free(he),Lt.free(ne),Lt.free(ve),$t=a.pe,te=0;te<$t.length;te++)b=$t[te],b!==null&&(b.Ju=a.computeEndSegmentLength(b));a.ap=x,Mn.free(E)}x=a.pe}for(a=0;a<x.length;a++)if(E=x[a],E!==null&&E.link===y)return E;return null}Lf.prototype.j=function(a,y){return a===y?0:a===null?-1:y===null?1:a.Nc<y.Nc?-1:a.Nc>y.Nc?1:a.angle<y.angle?-1:a.angle>y.angle?1:0},Lf.prototype.computeEndSegmentLength=function(a){var y=a.link,x=y.computeEndSegmentLength(this.node,this.port,ua,y.fromPort===this.port),b=a.Uo;if(0>b)return x;var E=a.Gl;if(1>=E||!y.isOrthogonal)return x;y=a.hv;var te=a.Zo;return(a.Nc===2||a.Nc===8)&&(b=E-1-b),((a=a.Nc===2||a.Nc===4)?y.y<te.y:y.x<te.x)?x+8*b:(a?y.y===te.y:y.x===te.x)?x:x+8*(E-1-b)},Lf.className="Knot";function ty(a,y,x){this.link=a,this.angle=y,this.Nc=x,this.hv=new Lt,this.Gl=this.Uo=0,this.Zo=new Lt,this.Ju=0}ty.prototype.toString=function(){return this.link.toString()+" "+this.angle.toString()+" "+this.Nc.toString()+":"+this.Uo.toString()+"/"+this.Gl.toString()+" "+this.Zo.toString()+" "+this.Ju.toString()+" "+this.hv.toString()},ty.className="LinkInfo";function Go(a){hi(this),this.o=this.H=null,this.Gh=this.sn=!0,this.yn=!1,this.Am=new Lt(0,0).freeze(),this.vn=!0,this.Em=this.un=null,this.xn=!1,this.j=null,a&&Object.assign(this,a)}Go.prototype.cloneProtected=function(a){a.sn=this.sn,a.Gh=this.Gh,a.yn=this.yn,a.Am.assign(this.Am),a.vn=this.vn,a.un=this.un,a.Em=this.Em,a.xn=!0},Go.prototype.copy=function(){var a=new this.constructor;return this.cloneProtected(a),a},Go.prototype.qb=function(){},Go.prototype.toString=function(){var a=Fn(this.constructor);return a+="(",this.group!==null&&(a+=" in "+this.group),this.diagram!==null&&(a+=" for "+this.diagram),a+")"},Go.prototype.C=function(){if(this.isValidLayout){var a=this.diagram;if(a!==null&&!a.undoManager.isUndoingRedoing){var y=a.animationManager;!y.isTicking&&(y.defaultAnimation.isAnimating&&y.Cc(),this.isOngoing&&a.pi||this.isInitial&&!a.pi)&&(this.isValidLayout=!1,a.$b())}}},Go.prototype.createNetwork=function(){return new To(this)},Go.prototype.makeNetwork=function(a){var y=this.createNetwork();return a instanceof hn?(y.lg(a.nodes,!0),y.lg(a.links,!0)):a instanceof ii?y.lg(a.memberParts):y.lg(a.iterator),y},Go.prototype.updateParts=function(){this.isValidLayout=!0;var a=this.diagram;if(a===null&&this.network!==null)for(var y=this.network.vertexes.iterator;y.next();){var x=y.value.node;if(x!==null&&(a=x.diagram,a!==null))break}try{a!==null&&a.Ea("Layout"),this.commitLayout()}finally{a!==null&&a.eb("Layout")}},Go.prototype.commitLayout=function(){if(this.network!==null){for(var a=this.network.vertexes.iterator;a.next();)a.value.commit();if(this.isRouting)for(a=this.network.edges.iterator;a.next();)a.value.commit()}},Go.prototype.doLayout=function(a){var y=new On;a instanceof hn?(rd(this,y,a.nodes,!0,this.rh,!0,!1,!0),rd(this,y,a.parts,!0,this.rh,!0,!1,!0)):a instanceof ii?rd(this,y,a.memberParts,!1,this.rh,!0,!1,!0):y.addAll(a.iterator),0<y.count&&(a=this.diagram,a!==null&&a.Ea("Layout"),this.doMinimalNoNetworkLayout(y),a!==null&&a.eb("Layout")),this.isValidLayout=!0},Go.prototype.doMinimalNoNetworkLayout=function(a){var y=Math.ceil(Math.sqrt(a.count));this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);var x=this.arrangementOrigin.x,b=x,E=this.arrangementOrigin.y,te=0,ne=0;for(a=a.iterator;a.next();){var se=a.value;Fg(se);var he=se.measuredBounds,ve=he.width;he=he.height,se.moveTo(b,E),se instanceof ii&&(se.rh=!1),b+=Math.max(ve,50)+20,ne=Math.max(ne,Math.max(he,50)),te>=y-1?(te=0,b=x,E+=ne+20,ne=0):te++}},Go.prototype.doMinimalNetworkLayout=function(){var a=Math.ceil(Math.sqrt(this.network.vertexes.count));this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);for(var y=this.arrangementOrigin.x,x=y,b=this.arrangementOrigin.y,E=0,te=0,ne=this.network.vertexes.iterator;ne.next();){var se=ne.value.node;if(!(se===null||se instanceof _n)&&(Fg(se),this.rh(se))){var he=se.measuredBounds,ve=he.width;he=he.height,se.moveTo(x,b),se instanceof ii&&(se.rh=!1),x+=Math.max(ve,50)+20,te=Math.max(te,Math.max(he,50)),E>=a-1?(E=0,x=y,b+=te+20,te=0):E++}}},Go.prototype.rh=function(a){return!!(!a.location.w()||a instanceof ii&&a.rh)};function rd(a,y,x,b,E,te,ne,se){for(x=x.iterator;x.next();){var he=x.value;b&&!he.isTopLevel||E!==null&&!E(he)||!he.canLayout()||(te&&he instanceof sr?he.isLinkLabel||(he instanceof ii&&he.layout===null?rd(a,y,he.memberParts,!1,E,te,ne,se):(Fg(he),y.add(he))):ne&&he instanceof _n?y.add(he):!se||!he.Zc()||he instanceof sr||(Fg(he),y.add(he)))}}function Fg(a){var y=a.actualBounds;(y.width===0||y.height===0||isNaN(y.width)||isNaN(y.height))&&a.Va()}Go.prototype.ni=function(a,y){var x=this.boundsComputation;return x!==null?(y||(y=new Mn),x(a,this,y)):y?(y.set(a.actualBounds),y):a.actualBounds},Go.prototype.ex=function(a){var y=new On;return a instanceof hn?(rd(this,y,a.nodes,!0,null,!0,!0,!0),rd(this,y,a.links,!0,null,!0,!0,!0),rd(this,y,a.parts,!0,null,!0,!0,!0)):a instanceof ii?rd(this,y,a.memberParts,!1,null,!0,!0,!0):rd(this,y,a.iterator,!1,null,!0,!0,!0),y},Go.prototype.initialOrigin=function(a){var y=this.group;if(y!==null){var x=y.position.copy();return(isNaN(x.x)||isNaN(x.y))&&x.set(a),y=y.placeholder,y!==null&&(x=y.ga(Xa),(isNaN(x.x)||isNaN(x.y))&&x.set(a),a=y.padding,x.x+=a.left,x.y+=a.top),x}return a},Pt.Object.defineProperties(Go.prototype,{diagram:{get:function(){return this.H},set:function(a){this.H=a}},group:{get:function(){return this.o},set:function(a){this.o!==a&&(this.o=a,a!==null&&(this.H=a.diagram))}},isOngoing:{get:function(){return this.sn},set:function(a){this.sn!==a&&(this.sn=a)}},isInitial:{get:function(){return this.Gh},set:function(a){this.Gh=a,a||(this.xn=!0)}},isViewportSized:{get:function(){return this.yn},set:function(a){this.yn!==a&&(this.yn=a)&&this.C()}},isRouting:{get:function(){return this.vn},set:function(a){this.vn!==a&&(this.vn=a)}},isRealtime:{get:function(){return this.un},set:function(a){this.un!==a&&(this.un=a)}},isValidLayout:{get:function(){return this.xn},set:function(a){this.xn!==a&&(this.xn=a,a||(a=this.diagram,a!==null&&(a.xh=!0)))}},network:{get:function(){return this.j},set:function(a){this.j!==a&&(this.j=a,a!==null&&(a.layout=this))}},boundsComputation:{get:function(){return this.Em},set:function(a){this.Em!==a&&(this.Em=a,this.C())}},arrangementOrigin:{get:function(){return this.Am},set:function(a){this.Am.D(a)||(this.Am.assign(a),this.C())}}}),Go.prototype.collectParts=Go.prototype.ex,Go.prototype.getLayoutBounds=Go.prototype.ni,Go.prototype.invalidateLayout=Go.prototype.C,Go.className="Layout";function To(a){hi(this),this.Sc=a,this.wf=new On,this.ye=new On,this.Es=new pr,this.zs=new pr}To.prototype.clear=function(){if(this.wf)for(var a=this.wf.iterator;a.next();)a.value.clear();if(this.ye)for(a=this.ye.iterator;a.next();)a.value.clear();this.wf=new On,this.ye=new On,this.Es=new pr,this.zs=new pr},To.prototype.toString=function(a){a===void 0&&(a=0);var y="LayoutNetwork"+(this.layout!==null?"("+this.layout.toString()+")":"");if(0>=a)return y;if(y+=" vertexes: "+this.wf.count+" edges: "+this.ye.count,1<a){for(var x=this.wf.iterator;x.next();)y+=`
`+x.value.toString(a-1);for(x=this.ye.iterator;x.next();)y+=`
`+x.value.toString(a-1)}return y},To.prototype.createVertex=function(){return new Va(this)},To.prototype.createEdge=function(){return new Tl(this)},To.prototype.lg=function(a,y,x){if(a!==null){for(y===void 0&&(y=!1),x===void 0&&(x=null),x===null&&(x=function(ne){if(ne instanceof sr)return!ne.isLinkLabel;if(ne instanceof _n){var se=ne.fromNode;return se===null||se.isLinkLabel?!1:(ne=ne.toNode,!(ne===null||ne.isLinkLabel))}return!1}),a=a.iterator;a.next();){var b=a.value;if(b instanceof sr&&(!y||b.isTopLevel)&&b.canLayout()&&x(b)){if(b instanceof ii&&b.layout===null)this.lg(b.memberParts,!1);else if(this.ki(b)===null){var E=this.createVertex();E.node=b,this.dh(E)}}}for(a.reset();a.next();)if(b=a.value,b instanceof _n&&(!y||b.isTopLevel)&&b.canLayout()&&x(b)&&this.Lo(b)===null){var te=b.fromNode;E=b.toNode,te!==null&&E!==null&&te!==E&&(te=this.findGroupVertex(te),E=this.findGroupVertex(E),te!==null&&E!==null&&this.Zj(te,E,b))}}},To.prototype.findGroupVertex=function(a){if(a===null)return null;var y=a.findVisibleNode();if(y===null)return null;if(a=this.ki(y),a!==null)return a;for(y=y.containingGroup;y!==null;){if(a=this.ki(y),a!==null)return a;y=y.containingGroup}return null},ot=To.prototype,ot.dh=function(a){if(a!==null){this.wf.add(a);var y=a.node;y!==null&&this.Es.add(y,a),a.network=this}},ot.Bl=function(a){if(a===null)return null;var y=this.ki(a);return y===null&&(y=this.createVertex(),y.node=a,this.dh(y)),y},ot.Iu=function(a){if(a!==null&&uS(this,a)){for(var y=a.tg,x=y.count-1;0<=x;x--){var b=y.M(x);this.Mj(b)}for(y=a.mg,a=y.count-1;0<=a;a--)x=y.M(a),this.Mj(x)}};function uS(a,y){if(y===null)return!1;var x=a.wf.remove(y);return x&&(y=y.node,y!==null&&a.Es.remove(y)),x}ot.Zy=function(a){a!==null&&(a=this.ki(a),a!==null&&this.Iu(a))},ot.ki=function(a){return a===null?null:this.Es.I(a)},ot.Bo=function(a){if(a!==null){ny(this,a);var y=a.toVertex;y!==null&&y.Cl(a),y=a.fromVertex,y!==null&&y.zl(a)}};function ny(a,y){if(y!==null){a.ye.add(y);var x=y.link;x!==null&&a.Lo(x)===null&&a.zs.add(x,y),y.network=a}}ot.Dy=function(a){if(a===null)return null;var y=a.fromNode,x=a.toNode,b=this.Lo(a);return b===null?(b=this.createEdge(),b.link=a,y!==null&&(b.fromVertex=this.Bl(y)),x!==null&&(b.toVertex=this.Bl(x)),this.Bo(b)):(y!==null?b.fromVertex=this.Bl(y):b.fromVertex=null,x!==null?b.toVertex=this.Bl(x):b.toVertex=null),b},ot.Mj=function(a){if(a!==null){var y=a.toVertex;y!==null&&y.Kl(a),y=a.fromVertex,y!==null&&y.Jl(a),ry(this,a)}};function ry(a,y){y!==null&&a.ye.remove(y)&&(y=y.link,y!==null&&a.zs.remove(y))}ot.Yy=function(a){a!==null&&(a=this.Lo(a),a!==null&&this.Mj(a))},ot.Lo=function(a){return a===null?null:this.zs.I(a)},ot.Zj=function(a,y,x){if(a===null||y===null)return null;if(a.network===this&&y.network===this){var b=this.createEdge();return b.link=x,b.fromVertex=a,b.toVertex=y,this.Bo(b),b}return null},ot.gm=function(a){if(a!==null){var y=a.fromVertex,x=a.toVertex;y!==null&&x!==null&&(y.Jl(a),x.Kl(a),a.gm(),y.Cl(a),x.zl(a))}},ot.Ko=function(){for(var a=yn(),y=this.ye.iterator;y.next();){var x=y.value;x.fromVertex===x.toVertex&&a.push(x)}for(y=a.length,x=0;x<y;x++)this.Mj(a[x]);Tn(a)},To.prototype.deleteArtificialVertexes=function(){for(var a=yn(),y=this.wf.iterator;y.next();){var x=y.value;x.node===null&&x.data===null&&a.push(x)}for(x=a.length,y=0;y<x;y++)this.Iu(a[y]);for(y=yn(),x=this.ye.iterator;x.next();){var b=x.value;b.link===null&&b.data===null&&y.push(b)}for(x=y.length,b=0;b<x;b++)this.Mj(y[b]);Tn(a),Tn(y)};function Dx(a){for(var y=yn(),x=a.ye.iterator;x.next();){var b=x.value;b.fromVertex!==null&&b.toVertex!==null||y.push(b)}for(x=y.length,b=0;b<x;b++)a.Mj(y[b]);Tn(y)}To.prototype.Zx=function(a){a===void 0&&(a=!0),a&&(this.deleteArtificialVertexes(),Dx(this),this.Ko()),a=new Dn;for(var y=!0;y;){y=!1;for(var x=this.wf.iterator;x.next();){var b=x.value;if(0<b.tg.count||0<b.mg.count){y=this.layout.createNetwork(),a.add(y),iy(this,y,b),y=!0;break}}}return a.sort(function(E,te){return E===null||te===null||E===te?0:te.vertexes.count-E.vertexes.count}),a};function iy(a,y,x){if(x!==null&&x.network!==y){uS(a,x),y.dh(x);for(var b=x.sourceEdges;b.next();){var E=b.value;E.network!==y&&(ry(a,E),ny(y,E),iy(a,y,E.fromVertex))}for(b=x.destinationEdges;b.next();)x=b.value,x.network!==y&&(ry(a,x),ny(y,x),iy(a,y,x.toVertex))}}To.prototype.dz=function(){for(var a=new On,y=this.wf.iterator;y.next();)a.add(y.value.node);for(y=this.ye.iterator;y.next();)a.add(y.value.link);return a},Pt.Object.defineProperties(To.prototype,{layout:{get:function(){return this.Sc},set:function(a){a!==null&&(this.Sc=a)}},vertexes:{get:function(){return this.wf}},edges:{get:function(){return this.ye}}}),To.prototype.findAllParts=To.prototype.dz,To.prototype.splitIntoSubNetworks=To.prototype.Zx,To.prototype.deleteSelfEdges=To.prototype.Ko,To.prototype.reverseEdge=To.prototype.gm,To.prototype.linkVertexes=To.prototype.Zj,To.prototype.findEdge=To.prototype.Lo,To.prototype.deleteLink=To.prototype.Yy,To.prototype.deleteEdge=To.prototype.Mj,To.prototype.addLink=To.prototype.Dy,To.prototype.addEdge=To.prototype.Bo,To.prototype.findVertex=To.prototype.ki,To.prototype.deleteNode=To.prototype.Zy,To.prototype.deleteVertex=To.prototype.Iu,To.prototype.addNode=To.prototype.Bl,To.prototype.addVertex=To.prototype.dh,To.prototype.addParts=To.prototype.lg,To.className="LayoutNetwork";function Va(a){hi(this),this.ob=a,this.j=new Mn(0,0,10,10).freeze(),this.o=new Lt(5,5).freeze(),this.Sh=this.ub=null,this.tg=new Dn,this.mg=new Dn}Va.prototype.clear=function(){this.Sh=this.ub=null,this.tg=new Dn,this.mg=new Dn},Va.prototype.toString=function(a){a===void 0&&(a=0);var y="LayoutVertex#"+_r(this);if(0<a&&(y+=this.node!==null?"("+this.node.toString()+")":"",1<a)){a="";for(var x=!0,b=this.tg.iterator;b.next();){var E=b.value;x?x=!1:a+=",",a+=E.toString(0)}for(E="",x=!0,b=this.mg.iterator;b.next();){var te=b.value;x?x=!1:E+=",",E+=te.toString(0)}y+=" sources: "+a+" destinations: "+E}return y},Va.prototype.commit=function(){var a=this.ub;if(a!==null){var y=this.bounds,x=a.bounds;sn(x)?(x.x=y.x,x.y=y.y,x.width=y.width,x.height=y.height):a.bounds=y.copy()}else if(a=this.node,a!==null){if(y=this.bounds,!(a instanceof ii)){x=Mn.alloc(),a.Va();var b=this.network.layout.ni(a,x),E=a.locationObject.ga(zi);if(b.w()&&E.w()){a.moveTo(y.x+this.focusX-(E.x-b.x),y.y+this.focusY-(E.y-b.y)),Mn.free(x);return}Mn.free(x)}a.moveTo(y.x,y.y)}},Va.prototype.Cl=function(a){a!==null&&(this.tg.contains(a)||this.tg.add(a))},Va.prototype.Kl=function(a){a!==null&&this.tg.remove(a)},Va.prototype.zl=function(a){a!==null&&(this.mg.contains(a)||this.mg.add(a))},Va.prototype.Jl=function(a){a!==null&&this.mg.remove(a)};function oy(a,y){return a=a.Sh,y=y.Sh,a?y?(a=a.text,y=y.text,a<y?-1:a>y?1:0):1:y!==null?-1:0}Pt.Object.defineProperties(Va.prototype,{sourceEdgesArrayAccess:{get:function(){return this.tg._dataArray}},destinationEdgesArrayAccess:{get:function(){return this.mg._dataArray}},data:{get:function(){return this.ub},set:function(a){if(this.ub=a,a!==null&&a.bounds){var y=a.bounds;a=y.x;var x=y.y,b=y.width;y=y.height,this.o.h(b/2,y/2),this.j.h(a,x,b,y)}}},node:{get:function(){return this.Sh},set:function(a){if(this.Sh!==a){this.Sh=a,a.Va();var y=this.network.layout,x=Mn.alloc(),b=y.ni(a,x);y=b.x;var E=b.y,te=b.width;if(b=b.height,isNaN(y)&&(y=0),isNaN(E)&&(E=0),this.j.h(y,E,te,b),Mn.free(x),!(a instanceof ii)&&(a=a.locationObject.ga(zi),a.w())){this.o.h(a.x-y,a.y-E);return}this.o.h(te/2,b/2)}}},bounds:{get:function(){return this.j},set:function(a){this.j.D(a)||this.j.assign(a)}},focus:{get:function(){return this.o},set:function(a){this.o.D(a)||this.o.assign(a)}},centerX:{get:function(){return this.j.x+this.o.x},set:function(a){var y=this.j;y.x+this.o.x!==a&&(y.ka(),y.x=a-this.o.x,y.freeze())}},centerY:{get:function(){return this.j.y+this.o.y},set:function(a){var y=this.j;y.y+this.o.y!==a&&(y.ka(),y.y=a-this.o.y,y.freeze())}},focusX:{get:function(){return this.o.x},set:function(a){var y=this.o;y.x!==a&&(y.ka(),y.x=a,y.freeze())}},focusY:{get:function(){return this.o.y},set:function(a){var y=this.o;y.y!==a&&(y.ka(),y.y=a,y.freeze())}},x:{get:function(){return this.j.x},set:function(a){var y=this.j;y.x!==a&&(y.ka(),y.x=a,y.freeze())}},y:{get:function(){return this.j.y},set:function(a){var y=this.j;y.y!==a&&(y.ka(),y.y=a,y.freeze())}},width:{get:function(){return this.j.width},set:function(a){var y=this.j;y.width!==a&&(y.ka(),y.width=a,y.freeze())}},height:{get:function(){return this.j.height},set:function(a){var y=this.j;y.height!==a&&(y.ka(),y.height=a,y.freeze())}},network:{get:function(){return this.ob},set:function(a){this.ob=a}},sourceVertexes:{get:function(){for(var a=new On,y=this.sourceEdges;y.next();)a.add(y.value.fromVertex);return a.iterator}},destinationVertexes:{get:function(){for(var a=new On,y=this.destinationEdges;y.next();)a.add(y.value.toVertex);return a.iterator}},vertexes:{get:function(){for(var a=new On,y=this.sourceEdges;y.next();)a.add(y.value.fromVertex);for(y=this.destinationEdges;y.next();)a.add(y.value.toVertex);return a.iterator}},sourceEdges:{get:function(){return this.tg.iterator}},destinationEdges:{get:function(){return this.mg.iterator}},edges:{get:function(){for(var a=new Dn,y=this.sourceEdges;y.next();)a.add(y.value);for(y=this.destinationEdges;y.next();)a.add(y.value);return a.iterator}},edgesCount:{get:function(){return this.tg.count+this.mg.count}}}),Va.prototype.deleteDestinationEdge=Va.prototype.Jl,Va.prototype.addDestinationEdge=Va.prototype.zl,Va.prototype.deleteSourceEdge=Va.prototype.Kl,Va.prototype.addSourceEdge=Va.prototype.Cl,Va.className="LayoutVertex",Va.standardComparer=oy,Va.smartComparer=function(a,y){if(a!==null){if(y!==null){a=a.Sh;var x=y.Sh;if(a!==null){if(x!==null){for(y=a.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/),a=x.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/),x=0;x<y.length;x++)if(a[x]!==""&&a[x]!==void 0){var b=parseFloat(y[x]),E=parseFloat(a[x]);if(isNaN(b))if(isNaN(E)){if(y[x].localeCompare(a[x])!==0)return y[x].localeCompare(a[x])}else return 1;else{if(isNaN(E))return-1;if(b-E!==0)return b-E}}else if(y[x]!=="")return 1;return a[x]!==""&&a[x]!==void 0?-1:0}return 1}return x!==null?-1:0}return 1}return y!==null?-1:0};function Tl(a){hi(this),this.nb=a,this.qd=this.kd=this.$k=this.ub=null}Tl.prototype.clear=function(){this.qd=this.kd=this.$k=this.ub=null},Tl.prototype.toString=function(a){a===void 0&&(a=0);var y="LayoutEdge#"+_r(this);return 0<a&&(y+=this.$k!==null?"("+this.$k.toString()+")":"",1<a&&(y+=" "+(this.kd?this.kd.toString():"null")+" --> "+(this.qd?this.qd.toString():"null"))),y},Tl.prototype.gm=function(){var a=this.kd;this.kd=this.qd,this.qd=a},Tl.prototype.commit=function(){},Tl.prototype.Ax=function(a){return this.qd===a?this.kd:this.kd===a?this.qd:null},Pt.Object.defineProperties(Tl.prototype,{network:{get:function(){return this.nb},set:function(a){this.nb=a}},data:{get:function(){return this.ub},set:function(a){this.ub!==a&&(this.ub=a)}},link:{get:function(){return this.$k},set:function(a){this.$k!==a&&(this.$k=a)}},fromVertex:{get:function(){return this.kd},set:function(a){this.kd!==a&&(this.kd=a)}},toVertex:{get:function(){return this.qd},set:function(a){this.qd!==a&&(this.qd=a)}}}),Tl.prototype.getOtherVertex=Tl.prototype.Ax,Tl.className="LayoutEdge";function ds(a){Go.call(this),this.isViewportSized=!0,this.yo=this.zo=NaN,this.yg=new qn(NaN,NaN).freeze(),this.tf=new qn(10,10).freeze(),this.Jb=Dg,this.Rb=lv,this.nd=Og,this.hd=cS,a&&Object.assign(this,a)}Zt(ds,Go),ds.prototype.cloneProtected=function(a){Go.prototype.cloneProtected.call(this,a),a.zo=this.zo,a.yo=this.yo,a.yg.assign(this.yg),a.tf.assign(this.tf),a.Jb=this.Jb,a.Rb=this.Rb,a.nd=this.nd,a.hd=this.hd},ds.prototype.qb=function(a){a.classType===ds?a===Og||a===cv||a===ay||a===uv?this.sorting=a:a===lv||a===Ju?this.arrangement=a:a===Dg||a===sv?this.alignment=a:Ht("Unknown enum value: "+a):Go.prototype.qb.call(this,a)},ds.prototype.doLayout=function(a){this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);var y=this.ex(a);a=this.diagram;for(var x=y.copy().iterator;x.next();){var b=x.value;if(!b.ph()||b.fromNode===null&&b.toNode===null){if(b.Va(),b instanceof ii)for(b=b.memberParts;b.next();)y.remove(b.value)}else y.remove(b)}var E=y.Fa();if(E.length!==0){switch(this.sorting){case uv:E.reverse();break;case Og:E.sort(this.comparer);break;case cv:E.sort(this.comparer),E.reverse()}var te=this.wrappingColumn;isNaN(te)&&(te=0);var ne=this.wrappingWidth;switch(isNaN(ne)&&a!==null?(y=a.padding,ne=Math.max(a.viewportBounds.width-y.left-y.right,0)):ne=Math.max(this.wrappingWidth,0),0>=te&&0>=ne&&(te=1),y=this.spacing.width,isFinite(y)||(y=0),x=this.spacing.height,isFinite(x)||(x=0),a!==null&&a.Ea("Layout"),b=[],this.alignment){case sv:var se=y,he=x,ve=Mn.alloc(),Se=Math.max(this.cellSize.width,1);if(!isFinite(Se))for(var Be=Se=0;Be<E.length;Be++){var Ve=this.ni(E[Be],ve);Se=Math.max(Se,Ve.width)}if(Se=Math.max(Se+se,1),Be=Math.max(this.cellSize.height,1),!isFinite(Be))for(Ve=Be=0;Ve<E.length;Ve++){var nt=this.ni(E[Ve],ve);Be=Math.max(Be,nt.height)}Be=Math.max(Be+he,1),Ve=this.arrangement;for(var rt=nt=this.arrangementOrigin.x,ct=this.arrangementOrigin.y,kt=0,Mt=0,Rt=0;Rt<E.length;Rt++){var Ut=E[Rt],Yt=this.ni(Ut,ve),$t=Math.ceil((Yt.width+se)/Se)*Se,dn=Math.ceil((Yt.height+he)/Be)*Be;switch(Ve){case Ju:var rr=Math.abs(rt-Yt.width);break;default:rr=rt+Yt.width}switch((0<te&&kt>te-1||0<ne&&0<kt&&rr-nt>ne)&&(b.push(new Mn(0,ct,ne+se,Mt)),kt=0,rt=nt,ct+=Mt,Mt=0),Mt=Math.max(Mt,dn),Ve){case Ju:Yt=-Yt.width;break;default:Yt=0}switch(Ut.moveTo(rt+Yt,ct),Ve){case Ju:rt-=$t;break;default:rt+=$t}kt++}b.push(new Mn(0,ct,ne+se,Mt)),Mn.free(ve);break;case Dg:for(he=ne,Se=te,Be=y,Ve=x,ne=Mn.alloc(),nt=Math.max(this.cellSize.width,1),te=ct=ve=0,se=Lt.alloc(),rt=0;rt<E.length;rt++)Mt=E[rt],kt=this.ni(Mt,ne),Mt=Ah(Mt,Mt.locationObject,Mt.locationSpot,se),ve=Math.max(ve,Mt.x),ct=Math.max(ct,kt.width-Mt.x),te=Math.max(te,Mt.y);switch(rt=this.arrangement,rt){case Ju:ve+=Be;break;default:ct+=Be}nt=isFinite(nt)?Math.max(nt+Be,1):Math.max(ve+ct,1);var mr=Mt=this.arrangementOrigin.x;for(Rt=this.arrangementOrigin.y,ct=0,he>=ve&&(he-=ve),ve=Ut=0,$t=Math.max(this.cellSize.height,1),Yt=te=0,dn=!0,kt=Lt.alloc(),rr=0;rr<E.length;rr++){var cr=E[rr],Qn=this.ni(cr,ne),Bn=Ah(cr,cr.locationObject,cr.locationSpot,se);if(0<ct)switch(rt){case Ju:mr=(mr-Mt-(Qn.width-Bn.x))/nt,mr=tn.$(Math.round(mr),mr)?Math.round(mr):Math.floor(mr),mr=mr*nt+Mt;break;default:mr=(mr-Mt+Bn.x)/nt,mr=tn.$(Math.round(mr),mr)?Math.round(mr):Math.ceil(mr),mr=mr*nt+Mt}else switch(rt){case Ju:Ut=mr+Bn.x+Qn.width;break;default:Ut=mr-Bn.x}switch(rt){case Ju:var ti=-(mr+Bn.x)+Ut;break;default:ti=mr+Qn.width-Bn.x-Ut}if(0<Se&&ct>Se-1||0<he&&0<ct&&ti>he){for(b.push(new Mn(0,dn?Rt-te:Rt,he+Be,Yt+te+Ve)),mr=0;mr<ct&&rr!==ct;mr++){ti=E[rr-ct+mr];var Yr=Ah(ti,ti.locationObject,ti.locationSpot,kt);ti.moveTo(ti.position.x,ti.position.y+te-Yr.y)}Yt+=Ve,Rt=dn?Rt+Yt:Rt+(Yt+te),ct=Yt=te=0,mr=Mt,dn=!1}switch(mr===Mt&&(ve=rt===Ju?Math.max(ve,Qn.width-Bn.x):Math.min(ve,-Bn.x)),te=Math.max(te,Bn.y),Yt=Math.max(Yt,Qn.height-Bn.y),isFinite($t)&&(Yt=Math.max(Yt,Math.max(Qn.height,$t)-Bn.y)),dn?cr.moveTo(mr-Bn.x,Rt-Bn.y):cr.moveTo(mr-Bn.x,Rt),rt){case Ju:mr-=Bn.x+Be;break;default:mr+=Qn.width-Bn.x+Be}ct++}if(b.push(new Mn(0,Rt,he+Be,(dn?Yt:Yt+te)+Ve)),E.length!==ct)for(he=0;he<ct;he++)Se=E[E.length-ct+he],Be=Ah(Se,Se.locationObject,Se.locationSpot,se),Se.moveTo(Se.position.x,Se.position.y+te-Be.y);if(Lt.free(se),Lt.free(kt),rt===Ju)for(E=0;E<b.length;E++)te=b[E],te.width+=ve,te.x-=ve;else for(E=0;E<b.length;E++)te=b[E],te.x>ve&&(te.width+=te.x-ve,te.x=ve);Mn.free(ne)}for(se=te=ne=E=0;se<b.length;se++)he=b[se],E=Math.min(E,he.x),ne=Math.min(ne,he.y),te=Math.max(te,he.x+he.width);this.arrangement===Ju?this.commitLayers(b,new Lt(E+y/2-(te+E),ne-x/2)):this.commitLayers(b,new Lt(E-y/2,ne-x/2)),a!==null&&a.eb("Layout"),this.isValidLayout=!0}},ds.prototype.commitLayers=function(){};function cS(a,y){return a=a.text,y=y.text,a<y?-1:a>y?1:0}Pt.Object.defineProperties(ds.prototype,{wrappingWidth:{get:function(){return this.zo},set:function(a){this.zo!==a&&(0<a||isNaN(a))&&(this.zo=a,this.isViewportSized=isNaN(a),this.C())}},wrappingColumn:{get:function(){return this.yo},set:function(a){this.yo!==a&&(0<a||isNaN(a))&&(this.yo=a,this.C())}},cellSize:{get:function(){return this.yg},set:function(a){this.yg.D(a)||(this.yg.assign(a),this.C())}},spacing:{get:function(){return this.tf},set:function(a){this.tf.D(a)||(this.tf.assign(a),this.C())}},alignment:{get:function(){return this.Jb},set:function(a){this.Jb===a||a!==Dg&&a!==sv||(this.Jb=a,this.C())}},arrangement:{get:function(){return this.Rb},set:function(a){this.Rb===a||a!==lv&&a!==Ju||(this.Rb=a,this.C())}},sorting:{get:function(){return this.nd},set:function(a){this.nd===a||a!==ay&&a!==uv&&a!==Og&&a!==cv||(this.nd=a,this.C())}},comparer:{get:function(){return this.hd},set:function(a){this.hd!==a&&(this.hd=a,this.C())}}});var sv=new wn(ds,"Position",0),Dg=new wn(ds,"Location",1),lv=new wn(ds,"LeftToRight",2),Ju=new wn(ds,"RightToLeft",3),ay=new wn(ds,"Forward",4),uv=new wn(ds,"Reverse",5),Og=new wn(ds,"Ascending",6),cv=new wn(ds,"Descending",7);ds.className="GridLayout",ds.standardComparer=cS,ds.smartComparer=function(a,y){if(a!==null){if(y!==null){a=a.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/),y=y.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/);for(var x=0;x<a.length;x++)if(y[x]!==""&&y[x]!==void 0){var b=parseFloat(a[x]),E=parseFloat(y[x]);if(isNaN(b))if(isNaN(E)){if(a[x].localeCompare(y[x])!==0)return a[x].localeCompare(y[x])}else return 1;else{if(isNaN(E))return-1;if(b-E!==0)return b-E}}else if(a[x]!=="")return 1;return y[x]!==""&&y[x]!==void 0?-1:0}return 1}return y!==null?-1:0},ds.Position=sv,ds.Location=Dg,ds.LeftToRight=lv,ds.RightToLeft=Ju,ds.Forward=ay,ds.Reverse=uv,ds.Ascending=Og,ds.Descending=cv;function fo(){this.On=new On,this.Dn=new On,this.Pa=new On,this.cf=new pr,this.bf=new pr,this.aj=new pr,this.H=null,this.tp=!1}ot=fo.prototype,ot.clear=function(){this.On.clear(),this.Dn.clear(),this.Pa.clear(),this.cf.clear(),this.bf.clear(),this.aj.clear()},ot.Xe=function(a){this.H=a},ot.oi=function(a){if(a instanceof sr){if(this.On.add(a),a instanceof ii){var y=a.containingGroup;y===null?this.H.ai.add(a):y.gl.add(a),y=a.layout,y!==null&&(y.diagram=this.H)}}else a instanceof _n?this.Dn.add(a):a instanceof Vi||this.Pa.add(a);y=a.data,y===null||a instanceof Vi||(a instanceof _n?this.bf.add(y,a):this.cf.add(y,a))},ot.pc=function(a){if(a.Ej(),a instanceof sr){if(this.On.remove(a),a instanceof ii){var y=a.containingGroup;y===null?this.H.ai.remove(a):y.gl.remove(a),y=a.layout,y!==null&&(y.diagram=null)}}else a instanceof _n?this.Dn.remove(a):a instanceof Vi||this.Pa.remove(a);y=a.data,y===null||a instanceof Vi||(a instanceof _n?this.bf.remove(y):this.cf.remove(y))},ot.Wd=function(){var a=this.H;if(a!==null){for(var y=a.nodeTemplateMap.iterator;y.next();){var x=y.value,b=y.key;(!x.Zc()||x instanceof ii)&&Ht('Invalid node template in Diagram.nodeTemplateMap: template for "'+b+'" must be a Node or a simple Part, not a Group or Link: '+x)}for(y=a.groupTemplateMap.iterator;y.next();)x=y.value,b=y.key,x instanceof ii||Ht('Invalid group template in Diagram.groupTemplateMap: template for "'+b+'" must be a Group, not a normal Node or Link: '+x);for(y=a.linkTemplateMap.iterator;y.next();)x=y.value,b=y.key,x instanceof _n||Ht('Invalid link template in Diagram.linkTemplateMap: template for "'+b+'" must be a Link, not a normal Node or simple Part: '+x);for(y=yn(),x=a.selection.iterator;x.next();)(b=x.value.data)&&y.push(b);for(x=yn(),a=a.highlighteds.iterator;a.next();)(b=a.value.data)&&x.push(b);for(a=yn(),b=this.nodes.iterator;b.next();){var E=b.value;E.data!==null&&(a.push(E.data),a.push(E.location))}for(b=this.links.iterator;b.next();)E=b.value,E.data!==null&&(a.push(E.data),a.push(E.location));for(b=this.parts.iterator;b.next();)E=b.value,E.data!==null&&(a.push(E.data),a.push(E.location));for(this.removeAllModeledParts(),this.addAllModeledParts(),b=0;b<y.length;b++)E=this.Lc(y[b]),E!==null&&(E.isSelected=!0);for(b=0;b<x.length;b++)E=this.Lc(x[b]),E!==null&&(E.isHighlighted=!0);for(b=0;b<a.length;b+=2)E=this.Lc(a[b]),E!==null&&(E.location=a[b+1]);Tn(y),Tn(x),Tn(a)}},fo.prototype.addAllModeledParts=function(){this.addModeledParts(this.diagram.model.nodeDataArray)},fo.prototype.addModeledParts=function(a,y){var x=this,b=this.diagram.model;a.forEach(function(E){b.lb(E)&&hS(x,E,!1)}),a.forEach(function(E){b.lb(E)&&x.resolveReferencesForData(E)}),y!==!1&&$f(this.diagram,!1)};function hS(a,y,x){if(y!=null&&!a.diagram.undoManager.isUndoingRedoing&&!a.cf.contains(y)){x===void 0&&(x=!0);e:{if(y!=null&&!a.H.undoManager.isUndoingRedoing&&!a.cf.contains(y)){var b=a.Ro(y),E=dS(a,y,b);if(E!==null&&(Su(E),E=E.copy(),E!==null)){var te=a.diagram.skipsModelSourceBindings;a.diagram.skipsModelSourceBindings=!0,E.Tf=b,E.ub=y,a.tp&&(E.Jg="Tool"),a.diagram.add(E),E.ub=null,E.data=y,a.diagram.skipsModelSourceBindings=te,b=E;break e}}b=null}b!==null&&x&&a.resolveReferencesForData(y)}}fo.prototype.insertLink=function(){return null},fo.prototype.resolveReferencesForData=function(){},fo.prototype.Ro=function(a){return this.H.model.Ro(a)};function dS(a,y,x){a=a.H;var b=a.model;return b.Xj()&&b.Yu(y)?(y=a.groupTemplateMap.I(x),y===null&&(y=a.groupTemplateMap.I(""),y===null&&(gS||(gS=!0,ir('No Group template found for category "'+x+'"'),ir(" Using default group template")),y=a.ly))):(y=a.nodeTemplateMap.I(x),y===null&&(y=a.nodeTemplateMap.I(""),y===null&&(pS||(pS=!0,ir('No Node template found for category "'+x+'"'),ir(" Using default node template")),y=a.ny))),y}fo.prototype.getLinkCategoryForData=function(){return""},fo.prototype.setLinkCategoryForData=function(){},fo.prototype.setFromNodeForLink=function(){},fo.prototype.setToNodeForLink=function(){},fo.prototype.findLinkTemplateForCategory=function(a){var y=this.H,x=y.linkTemplateMap.I(a);return x===null&&(x=y.linkTemplateMap.I(""),x===null&&(mS||(mS=!0,ir('No Link template found for category "'+a+'"'),ir(" Using default link template")),x=y.my)),x},fo.prototype.removeAllModeledParts=function(){this.Gs(this.diagram.model.nodeDataArray)},fo.prototype.Gs=function(a){var y=this;a.forEach(function(x){y.ip(x)})},fo.prototype.ip=function(a){a=this.Lc(a),a!==null&&(Yh(this.diagram,a,!1),this.unresolveReferencesForPart(a))},fo.prototype.unresolveReferencesForPart=function(){},fo.prototype.removeDataForLink=function(){},fo.prototype.findPartForKey=function(a){return a==null?null:(a=this.H.model.hc(a),a!==null?this.cf.I(a):null)},fo.prototype.Vb=function(a){return a==null||(a=this.H.model.hc(a),a===null)?null:(a=this.cf.I(a),a instanceof sr?a:null)},fo.prototype.findLinkForKey=function(){return null},ot=fo.prototype,ot.Lc=function(a){if(a===null)return null;var y=this.cf.I(a);return y!==null?y:y=this.bf.I(a)},ot.ii=function(a){return a===null?null:(a=this.cf.I(a),a instanceof sr?a:null)},ot.Kc=function(a){return a===null?null:this.bf.I(a)},ot.ms=function(a){for(var y=0;y<arguments.length;++y);y=new On;for(var x=this.On.iterator;x.next();){var b=x.value,E=b.data;if(E!==null)for(var te=0;te<arguments.length;te++){var ne=arguments[te];if(sn(ne)&&sy(this,E,ne)){y.add(b);break}}}return y.iterator},ot.ls=function(a){for(var y=0;y<arguments.length;++y);y=new On;for(var x=this.Dn.iterator;x.next();){var b=x.value,E=b.data;if(E!==null)for(var te=0;te<arguments.length;te++){var ne=arguments[te];if(sn(ne)&&sy(this,E,ne)){y.add(b);break}}}return y.iterator};function sy(a,y,x){for(var b in x){var E=y[b],te=x[b];if(Cn(te)){if(!Cn(E)||E.length<te.length)return!1;for(var ne=0;ne<E.length;ne++){var se=te[ne];if(se!==void 0&&!fS(a,E[ne],se))return!1}}else if(!fS(a,E,te))return!1}return!0}function fS(a,y,x){if(typeof x=="function"){if(!x(y))return!1}else if(x instanceof RegExp){if(!y||!x.test(y.toString()))return!1}else if(sn(y)&&sn(x)){if(!sy(a,y,x))return!1}else if(y!==x)return!1;return!0}fo.prototype.doModelChanged=function(a){if(this.H){var y=this.H;if(a.model===y.model){var x=a.change;if(y.doModelChanged(a),y.aa){y.aa=!1;try{var b=a.modelChange;if(b!=="")if(x===Ko){if(b==="nodeCategory"){var E=this.Lc(a.object),te=a.newValue;E!==null&&typeof te=="string"&&(E.category=te)}else b==="nodeDataArray"&&(this.Gs(a.oldValue),this.addModeledParts(a.newValue));y.isModified=!0}else if(x===fa){var ne=a.newValue;b==="nodeDataArray"&&sn(ne)&&hS(this,ne),y.isModified=!0}else if(x===Oa){var se=a.oldValue;b==="nodeDataArray"&&sn(se)&&this.ip(se),y.isModified=!0}else x===il&&(b==="SourceChanged"?a.object!==null?this.updateDataBindings(a.object,a.propertyName):(this.rp(),this.updateAllTargetBindings()):b==="ModelDisplaced"&&this.Wd());else if(x===Ko){var he=a.propertyName,ve=a.object;ve===y.model?(he==="nodeKeyProperty"||he==="nodeCategoryProperty")&&(y.undoManager.isUndoingRedoing||this.Wd()):this.updateDataBindings(ve,he),y.isModified=!0}else if(x===fa||x===Oa){var Se=a.change===fa,Be=Se?a.newParam:a.oldParam,Ve=Se?a.newValue:a.oldValue,nt=this.aj.I(a.object);if(Array.isArray(nt))for(a=0;a<nt.length;a++){var rt=nt[a];if(Se)Tm(rt,Ve,Be,!0);else if(!(0>Be)){var ct=Be+fg(rt);rt.pc(ct,!0),w0(rt,ct,Be)}}y.isModified=!0}}finally{y.aa=!0}}}}},fo.prototype.updateAllTargetBindings=function(a){a===void 0&&(a="");for(var y=this.parts.iterator;y.next();)y.value.La(a);for(y=this.nodes.iterator;y.next();)y.value.La(a);for(y=this.links.iterator;y.next();)y.value.La(a)},fo.prototype.rp=function(){for(var a=this.H.model,y=new On,x=a.nodeDataArray,b=0;b<x.length;b++)y.add(x[b]);var E=[];for(this.nodes.each(function(ne){ne.data===null||y.contains(ne.data)||E.push(ne.data)}),this.parts.each(function(ne){ne.data===null||y.contains(ne.data)||E.push(ne.data)}),E.forEach(function(ne){ES(a,ne,!1)}),b=0;b<x.length;b++){var te=x[b];this.Lc(te)===null&&PS(a,te,!1)}for(this.refreshDataBoundLinks(),x=this.parts.iterator;x.next();)x.value.updateRelationshipsFromData();for(x=this.nodes.iterator;x.next();)x.value.updateRelationshipsFromData();for(x=this.links.iterator;x.next();)x.value.updateRelationshipsFromData()},fo.prototype.refreshDataBoundLinks=function(){},fo.prototype.updateRelationshipsFromData=function(){},fo.prototype.updateDataBindings=function(a,y){if(typeof y=="string"){var x=this.Lc(a);if(x!==null)x.La(y);else{x=null;for(var b=this.aj.iterator;b.next();){for(var E=b.value,te=0;te<E.length;te++){var ne=E[te].sx(a);ne!==null&&(x===null&&(x=yn()),x.push(ne))}if(x!==null)break}if(x!==null){for(b=0;b<x.length;b++)x[b].La(y);Tn(x)}}a===this.diagram.model.modelData&&this.updateAllTargetBindings(y)}};function ly(a,y){var x=y.Hh;if(Cn(x)){var b=a.aj.I(x);if(b===null)b=[],b.push(y),a.aj.add(x,b);else{for(a=0;a<b.length;a++)if(b[a]===y)return;b.push(y)}}}function uy(a,y,x){Zd(y,function(ne){ne=ne.O.s;for(var se=ne.length,he=0;he<se;he++)_p(x,ne[he])});var b=y.Hh;if(Cn(b)){var E=a.aj.I(b);if(E!==null){for(var te=0;te<E.length;te++)if(E[te]===y){E.splice(te,1),E.length===0&&a.aj.remove(b);break}}}}fo.prototype.Kj=function(a,y,x){x===void 0&&(x=!1);var b=new pr;if(Cn(a))for(var E=0;E<a.length;E++)hv(this,a[E],y,b,x);else for(a=a.iterator;a.next();)hv(this,a.value,y,b,x);if(y!==null){x=y.model,a=y.toolManager.findTool("Dragging"),a=a!==null?a.dragOptions.dragsLink:y.Wm.dragsLink,E=new On;for(var te=new pr,ne=b.iterator;ne.next();){var se=ne.value;if(se instanceof _n)a||se.fromNode!==null&&se.toNode!==null||E.add(se);else if(se instanceof sr&&se.data!==null&&x.Tl()){var he=se;se=ne.key;var ve=se.pg();ve!==null&&(ve=b.I(ve),ve!==null?(x.qe(he.data,x.wa(ve.data)),he=y.Kc(he.data),se=se.kh(),se!==null&&he!==null&&te.add(se,he)):x.qe(he.data,void 0))}}if(0<E.count&&y.Is(E,!1),0<te.count)for(x=te.iterator;x.next();)b.add(x.key,x.value)}if(y!==null&&this.H!==null&&(y=y.model,x=y.afterCopyFunction,x!==null)){var Se=new pr;b.each(function(Be){Be.key.data!==null&&Se.add(Be.key.data,Be.value.data)}),x(Se,y,this.H.model)}for(y=b.iterator;y.next();)y.value.La();return b};function hv(a,y,x,b,E){if(y===null||E&&!y.canCopy())return null;if(b.contains(y))return b.I(y);var te=a.copyPartData(y,x);if(!(te instanceof kr))return null;if(te.isSelected=!1,te.isHighlighted=!1,b.add(y,te),y instanceof sr){for(var ne=y.linksConnected;ne.next();){var se=ne.value;if(se.fromNode===y){var he=b.I(se);he!==null&&(he.fromNode=te)}se.toNode===y&&(se=b.I(se),se!==null&&(se.toNode=te))}if(y instanceof ii&&te instanceof ii)for(y=y.memberParts;y.next();)ne=hv(a,y.value,x,b,E),ne instanceof _n||ne===null||(ne.containingGroup=te)}else if(y instanceof _n&&te instanceof _n)for(ne=y.fromNode,ne!==null&&(ne=b.I(ne),ne!==null&&(te.fromNode=ne)),ne=y.toNode,ne!==null&&(ne=b.I(ne),ne!==null&&(te.toNode=ne)),y=y.labelNodes;y.next();)ne=hv(a,y.value,x,b,E),ne!==null&&ne instanceof sr&&(ne.labeledLink=te);return te}fo.prototype.copyPartData=function(a,y){var x=null,b=a.data;if(b!==null&&y!==null){var E=y.model;a instanceof _n||(b=E.copyNodeData(b),sn(b)&&(E.xf(b),x=y.Lc(b)))}else Su(a),x=a.copy(),x!==null&&(E=this.H,y!==null?y.add(x):b!==null&&E!==null&&E.commandHandler!==null&&E.commandHandler.copiesClipboardData&&(y=E.model,E=null,x instanceof _n||(E=y.copyNodeData(b)),sn(E)&&(x.data=E)));return x},Pt.Object.defineProperties(fo.prototype,{nodes:{get:function(){return this.On}},links:{get:function(){return this.Dn}},parts:{get:function(){return this.Pa}},diagram:{get:function(){return this.H}},addsToTemporaryLayer:{get:function(){return this.tp},set:function(a){this.tp=a}}}),fo.prototype.updateAllRelationshipsFromData=fo.prototype.rp,fo.prototype.findLinksByExample=fo.prototype.ls,fo.prototype.findNodesByExample=fo.prototype.ms,fo.prototype.findLinkForData=fo.prototype.Kc,fo.prototype.findNodeForData=fo.prototype.ii,fo.prototype.findPartForData=fo.prototype.Lc,fo.prototype.findNodeForKey=fo.prototype.Vb,fo.prototype.removeModeledPart=fo.prototype.ip,fo.prototype.removeModeledParts=fo.prototype.Gs,fo.prototype.rebuildParts=fo.prototype.Wd;var pS=!1,gS=!1,mS=!1;fo.className="PartManager";function ns(a){fo.apply(this,arguments)}Zt(ns,fo),ns.prototype.addAllModeledParts=function(){var a=this.diagram.model;this.addModeledParts(a.nodeDataArray),vS(this,a.linkDataArray)},ns.prototype.addModeledParts=function(a){for(fo.prototype.addModeledParts.call(this,a,!1),a=this.links.iterator;a.next();)Sp(a.value);$f(this.diagram,!1)};function vS(a,y){y.forEach(function(x){yS(a,x)}),$f(a.diagram,!1)}function yS(a,y){if(y!=null&&!a.diagram.undoManager.isUndoingRedoing&&!a.bf.contains(y)){var x=a.getLinkCategoryForData(y),b=a.findLinkTemplateForCategory(x);if(b!==null){Su(b);var E=b.copy();if(E!==null){b=a.diagram.skipsModelSourceBindings,a.diagram.skipsModelSourceBindings=!0,E.Tf=x,E.ub=y,x=a.diagram.model;var te=gv(x,y,!0);te!==""&&(E.fromPortId=te),te=Ql(x,y,!0),te!==void 0&&(te=a.Vb(te),te instanceof sr&&(E.fromNode=te)),te=gv(x,y,!1),te!==""&&(E.toPortId=te),te=Ql(x,y,!1),te!==void 0&&(te=a.Vb(te),te instanceof sr&&(E.toNode=te)),x=x.Ef(y),Array.isArray(x)&&x.forEach(function(ne){ne=a.Vb(ne),ne!==null&&(ne.labeledLink=E)}),a.tp&&(E.Jg="Tool"),a.diagram.add(E),E.ub=null,E.data=y,a.diagram.skipsModelSourceBindings=b}}}}ns.prototype.removeAllModeledParts=function(){var a=this.diagram.model;SS(this,a.linkDataArray),this.Gs(a.nodeDataArray)};function SS(a,y){y.forEach(function(x){a.ip(x)})}ns.prototype.getLinkCategoryForData=function(a){return this.diagram.model.ps(a)},ns.prototype.setLinkCategoryForData=function(a,y){return this.diagram.model.lp(a,y)},ns.prototype.setFromNodeForLink=function(a,y){var x=this.diagram.model;x.wv(a.data,x.wa(y!==null?y.data:null))},ns.prototype.setToNodeForLink=function(a,y){var x=this.diagram.model;x.Bv(a.data,x.wa(y!==null?y.data:null))},ns.prototype.removeDataForLink=function(a){this.diagram.model.bm(a.data)},ns.prototype.findPartForKey=function(a){var y=fo.prototype.findPartForKey.call(this,a);return y===null&&(a=this.diagram.model.jh(a),a!==null)?this.bf.I(a):y},ns.prototype.findLinkForKey=function(a){return a==null?null:(a=this.diagram.model.jh(a),a!==null?this.bf.I(a):null)},ns.prototype.doModelChanged=function(a){var y=this;if(fo.prototype.doModelChanged.call(this,a),this.diagram){var x=this.diagram;if(a.model===x.model){var b=a.change;if(x.aa){x.aa=!1;try{var E=a.modelChange;if(E!==""){if(b===Ko){if(E==="linkFromKey"){var te=this.Kc(a.object);if(te!==null){var ne=this.Vb(a.newValue);te.fromNode=ne}}else if(E==="linkToKey"){var se=this.Kc(a.object);if(se!==null){var he=this.Vb(a.newValue);se.toNode=he}}else if(E==="linkFromPortId"){var ve=this.Kc(a.object);if(ve!==null){var Se=a.newValue;typeof Se=="string"&&(ve.fromPortId=Se)}}else if(E==="linkToPortId"){var Be=this.Kc(a.object);if(Be!==null){var Ve=a.newValue;typeof Ve=="string"&&(Be.toPortId=Ve)}}else if(E==="nodeGroupKey"){var nt=this.Lc(a.object);if(nt!==null){var rt=a.newValue;if(rt!==void 0){var ct=this.Vb(rt);ct instanceof ii?nt.containingGroup=ct:nt.containingGroup=null}else nt.containingGroup=null}}else if(E==="linkLabelKeys"){var kt=this.Kc(a.object);if(kt!==null){var Mt=a.oldValue,Rt=a.newValue;Array.isArray(Mt)&&Mt.forEach(function(Bn){0<=Rt.indexOf(Bn)||(Bn=y.Vb(Bn),Bn!==null&&(Bn.labeledLink=null))}),Array.isArray(Rt)&&Rt.forEach(function(Bn){Bn=y.Vb(Bn),Bn!==null&&(Bn.labeledLink=kt)})}}else if(E==="linkCategory"){var Ut=this.Kc(a.object),Yt=a.newValue;Ut!==null&&typeof Yt=="string"&&(Ut.category=Yt)}else E==="linkDataArray"&&(SS(this,a.oldValue),vS(this,a.newValue));x.isModified=!0}else if(b===fa){var $t=a.newValue;if(E==="linkDataArray"&&typeof $t=="object"&&$t!==null)yS(this,$t);else if(E==="linkLabelKeys"&&od($t)){var dn=this.Kc(a.object),rr=this.Vb($t);dn!==null&&rr!==null&&(rr.labeledLink=dn)}x.isModified=!0}else if(b===Oa){var mr=a.oldValue;if(E==="linkDataArray"&&typeof mr=="object"&&mr!==null)this.ip(mr);else if(E==="linkLabelKeys"&&od(mr)){var cr=this.Vb(mr);cr!==null&&(cr.labeledLink=null)}x.isModified=!0}}else if(b===Ko){var Qn=a.propertyName;a.object!==x.model||Qn!=="linkFromKeyProperty"&&Qn!=="linkToKeyProperty"&&Qn!=="linkFromPortIdProperty"&&Qn!=="linkToPortIdProperty"&&Qn!=="linkLabelKeysProperty"&&Qn!=="nodeIsGroupProperty"&&Qn!=="nodeGroupKeyProperty"&&Qn!=="linkCategoryProperty"||x.undoManager.isUndoingRedoing||this.Wd(),x.isModified=!0}}finally{x.aa=!0}}}}},ns.prototype.refreshDataBoundLinks=function(){var a=this,y=this.diagram.model,x=new On,b=y.linkDataArray;b.forEach(function(te){x.add(te)});var E=[];this.links.each(function(te){te.data===null||x.contains(te.data)||E.push(te.data)}),E.forEach(function(te){DS(y,te,!1)}),b.forEach(function(te){a.Kc(te)===null&&FS(y,te,!1)})},ns.prototype.updateRelationshipsFromData=function(a){var y=a.data;if(y!==null){var x=a.diagram;if(x!==null){var b=x.model;if(a instanceof _n){var E=Ql(b,y,!0);if(E=x.Vb(E),a.fromNode=E,E=Ql(b,y,!1),E=x.Vb(E),a.toNode=E,y=b.Ef(y),0<y.length||0<a.labelNodes.count){if(y.length===1&&a.labelNodes.count===1){E=y[0];var te=a.labelNodes.first();if(b.wa(te.data)===E)return}E=new On().addAll(y);var ne=new On;a.labelNodes.each(function(se){se.data!==null&&(se=b.wa(se.data),se!==void 0&&ne.add(se))}),y=ne.copy(),y.hp(E),E=E.copy(),E.hp(ne),(0<y.count||0<E.count)&&(y.each(function(se){se=x.Vb(se),se!==null&&se.labeledLink===a&&(se.labeledLink=null)}),E.each(function(se){se=x.Vb(se),se!==null&&se.labeledLink!==a&&(se.labeledLink=a)}))}}else!(a instanceof Vi)&&(y=b.lh(y),y=x.findPartForKey(y),y===null||y instanceof ii)&&(a.containingGroup=y)}}},ns.prototype.resolveReferencesForData=function(a){var y=this.diagram.model,x=y.wa(a);if(x!==void 0){var b=kg(y,x),E=this.Lc(a);if(b!==null&&E!==null){b=b.iterator;for(var te={};b.next();){var ne=b.value;y.lb(ne)?E instanceof ii&&y.lh(ne)===x&&(ne=this.Lc(ne),ne!==null&&(ne.containingGroup=E)):(te.link=this.Kc(ne),te.link!==null&&E instanceof sr&&(Ql(y,ne,!0)===x&&(te.link.fromNode=E),Ql(y,ne,!1)===x&&(te.link.toNode=E),ne=y.Ef(ne),Array.isArray(ne)&&ne.some(function(se){return function(he){return he===x?(E.labeledLink=se.link,!0):!1}}(te)))),te={link:te.link}}_u(y,x)}a=y.lh(a),a!==void 0&&(a=this.Vb(a),a instanceof ii&&(E.containingGroup=a))}},ns.prototype.unresolveReferencesForPart=function(a){var y=this.diagram.model;if(a instanceof sr){var x=y.wa(a.data);if(x!==void 0){for(var b=a.linksConnected;b.next();)Qu(y,x,b.value.data);if(a.isLinkLabel&&(b=a.labeledLink,b!==null&&Qu(y,x,b.data)),a instanceof ii)for(a=a.memberParts;a.next();)b=a.value.data,y.lb(b)&&Qu(y,x,b)}}},ns.prototype.copyPartData=function(a,y){var x=fo.prototype.copyPartData.call(this,a,y);if(a instanceof _n)if(a=a.data,a!==null&&y!==null){var b=y.model;a=b.Jo(a),typeof a=="object"&&a!==null&&(b.fi(a),x=y.Kc(a))}else x!==null&&(y=this.diagram,a!==null&&y!==null&&y.commandHandler!==null&&y.commandHandler.copiesClipboardData&&(y=y.model.Jo(a),typeof y=="object"&&y!==null&&(x.data=y)));return x},ns.prototype.insertLink=function(a,y,x,b){var E=this.diagram,te=E.model,ne=E.toolManager.findTool("Linking"),se="";if(a!==null&&(y===null&&(y=a),se=y.portId,se===null&&(se="")),y="",x!==null&&(b===null&&(b=x),y=b.portId,y===null&&(y="")),b=ne.archetypeLinkData,b instanceof _n){if(Su(b),te=b.copy(),te!==null)return te.fromNode=a,te.fromPortId=se,te.toNode=x,te.toPortId=y,E.add(te),a=ne.archetypeLabelNodeData,a instanceof sr&&(Su(a),a=a.copy(),a!==null&&(a.labeledLink=te,E.add(a))),te}else if(b!==null&&(b=te.Jo(b),typeof b=="object"&&b!==null))return a!==null&&Ep(te,b,te.wa(a.data),!0),Ap(te,b,se,!0),x!==null&&Ep(te,b,te.wa(x.data),!1),Ap(te,b,y,!1),te.fi(b),a=ne.archetypeLabelNodeData,a===null||a instanceof sr||(a=te.copyNodeData(a),typeof a=="object"&&a!==null&&(te.xf(a),a=te.wa(a),a!==void 0&&te.Bu(b,a))),E.Kc(b);return null},ns.prototype.findLinkForKey=ns.prototype.findLinkForKey,ns.prototype.findPartForKey=ns.prototype.findPartForKey,ns.prototype.removeAllModeledParts=ns.prototype.removeAllModeledParts,ns.prototype.addModeledParts=ns.prototype.addModeledParts,ns.prototype.addAllModeledParts=ns.prototype.addAllModeledParts,ns.className="GraphLinksPartManager";function uu(){fo.apply(this,arguments),this.Sg=null}Zt(uu,fo);function dv(a,y,x){if(y!==null&&x!==null&&x.kh()===null){var b=a.diagram.toolManager.findTool("Linking"),E=y,te=x;if(a.diagram.isTreePathToChildren||(E=x,te=y),(b===null||!Hn(b,E,te,null,!0))&&(y=a.getLinkCategoryForData(x.data),b=a.findLinkTemplateForCategory(y),b!==null&&(Su(b),b=b.copy(),b!==null))){var ne=a.diagram.skipsModelSourceBindings;a.diagram.skipsModelSourceBindings=!0,b.Tf=y,b.ub=x.data,b.fromNode=E,b.toNode=te,a.diagram.add(b),b.ub=null,b.data=x.data,a.diagram.skipsModelSourceBindings=ne}}}uu.prototype.getLinkCategoryForData=function(a){return this.diagram.model.ss(a)},uu.prototype.setLinkCategoryForData=function(a,y){this.diagram.model.Ms(a,y)},uu.prototype.setFromNodeForLink=function(a,y,x){var b=this.diagram.model;if(x===void 0&&(x=null),y=y!==null?y.data:null,this.diagram.isTreePathToChildren)b.qe(a.data,b.wa(y));else{var E=this.Sg;this.Sg=a,x!==null&&b.qe(x.data,void 0),b.qe(y,b.wa(a.toNode!==null?a.toNode.data:null)),this.Sg=E}},uu.prototype.setToNodeForLink=function(a,y,x){var b=this.diagram.model;if(x===void 0&&(x=null),y=y!==null?y.data:null,this.diagram.isTreePathToChildren){var E=this.Sg;this.Sg=a,x!==null&&b.qe(x.data,void 0),b.qe(y,b.wa(a.fromNode!==null?a.fromNode.data:null)),this.Sg=E}else b.qe(a.data,b.wa(y))},uu.prototype.removeDataForLink=function(a){this.diagram.model.qe(a.data,void 0)},uu.prototype.findLinkForKey=function(a){return a==null?null:(a=this.diagram.model.hc(a),a!==null?this.bf.I(a):null)},uu.prototype.doModelChanged=function(a){if(fo.prototype.doModelChanged.call(this,a),this.diagram){var y=this.diagram;if(a.model===y.model){var x=a.change;if(y.aa){y.aa=!1;try{var b=a.modelChange;if(b!==""){if(x===Ko){if(b==="nodeParentKey"){var E=a.object,te=this.Vb(a.newValue),ne=this.ii(E);if(this.Sg!==null)te!==null&&(this.Sg.data=E,this.Sg.category=this.getLinkCategoryForData(E));else if(ne!==null){var se=ne.kh();se!==null?te===null?y.remove(se):y.isTreePathToChildren?se.fromNode=te:se.toNode=te:dv(this,te,ne)}}else if(b==="parentLinkCategory"){var he=this.ii(a.object),ve=a.newValue;if(he!==null&&typeof ve=="string"){var Se=he.kh();Se!==null&&(Se.category=ve)}}y.isModified=!0}}else if(x===Ko){var Be=a.propertyName;a.object===y.model&&Be==="nodeParentKeyProperty"&&(y.undoManager.isUndoingRedoing||this.Wd()),y.isModified=!0}}finally{y.aa=!0}}}}},uu.prototype.updateRelationshipsFromData=function(a){var y=a.data;if(y!==null){var x=a.diagram;if(x!==null){var b=x.model;a instanceof sr&&(y=b.mh(y),y=x.Vb(y),b=a.pg(),y!==b&&(b=a.kh(),y!==null?b!==null?x.isTreePathToChildren?b.fromNode=y:b.toNode=y:dv(this,y,a):b!==null&&Yh(x,b,!1)))}}},uu.prototype.updateDataBindings=function(a,y){fo.prototype.updateDataBindings.call(this,a,y),typeof y=="string"&&this.Lc(a)!==null&&(a=this.Kc(a),a!==null&&a.La(y))},uu.prototype.resolveReferencesForData=function(a){var y=this.diagram.model,x=y.wa(a);if(x!==void 0){var b=kg(y,x),E=this.Lc(a);if(b!==null&&E!==null){for(b=b.iterator;b.next();){var te=b.value;y.lb(te)&&E instanceof sr&&y.mh(te)===x&&dv(this,E,this.ii(te))}_u(y,x)}a=y.mh(a),a!==void 0&&E instanceof sr&&(a=this.Vb(a),dv(this,a,E))}},uu.prototype.unresolveReferencesForPart=function(a){var y=this.diagram.model;if(a instanceof sr){var x=y.wa(a.data),b=this.Kc(a.data);if(b!==null){b.isSelected=!1,b.isHighlighted=!1;var E=b.layer;if(E!==null){var te=E.pc(-1,b,!1);0<=te&&this.diagram.cb(Oa,"parts",E,b,null,te,null),te=b.layerChanged,te!==null&&te(b,E,null)}}for(b=this.diagram.isTreePathToChildren,a=a.linksConnected;a.next();)E=a.value,E=(b?E.toNode:E.fromNode).data,y.lb(E)&&Qu(y,x,E)}},uu.prototype.insertLink=function(a,y,x){y=this.diagram.model;var b=a,E=x;return this.diagram.isTreePathToChildren||(b=x,E=a),b!==null&&E!==null?(y.qe(E.data,y.wa(b.data)),E.kh()):null},uu.prototype.findLinkForKey=uu.prototype.findLinkForKey,uu.className="TreePartManager";function xr(a,y){this.kl=new On,this.il=new On,this.Wv=`,
"insertedNodeKeys": `,this.jy=`,
"modifiedNodeData": `,this.Yv=`,
"removedNodeKeys": `,this.vh=null,hi(this),this.Sm=this.xa="",this.Gg=!1,this.j={},this.Tc=[],this.kb=new pr,this.Th="key",this.Bk=this.bl=null,this.Jm=this.Km=!1,this.Mm=!0,this.xm=null,this.lj="category",this.Vf=new pr,this.Lt=new Dn,this.Wg=!1,this.o=null,this.undoManager=new Yo,a!==void 0&&(Cn(a)?this.nodeDataArray=a:y=a),y&&(Object.assign(this,y),a=y.Changed)&&(delete this.Changed,this.Pe(a))}xr.prototype.cloneProtected=function(a){a.xa=this.xa,a.Sm=this.Sm,a.Gg=this.Gg,a.Th=this.Th,a.bl=this.bl,a.Bk=this.Bk,a.Km=this.Km,a.Jm=this.Jm,a.Mm=this.Mm,a.xm=this.xm,a.lj=this.lj},xr.prototype.copy=function(){var a=new this.constructor;return this.cloneProtected(a),a},xr.prototype.clear=function(){this.Tc=[],this.kb.clear(),this.Vf.clear(),this.undoManager.clear()},xr.prototype.toString=function(a){if(a===void 0&&(a=0),1<a)return this.np();var y=(this.name!==""?this.name:"")+" Model";if(0<a){y+=`
node data:`,a=this.nodeDataArray;for(var x=a.length,b=0;b<x;b++){var E=a[b];y+=" "+this.wa(E)+":"+jn(E)}}return y},xr.prototype.xA=function(a){a.change!==il&&Ht("Model.toIncrementalData argument is not a Transaction ChangedEvent:"+a.toString());var y=a.object;return a.isTransactionFinished&&y instanceof Ja?(wS(this,y),a=this.Qv(y,a.propertyName==="FinishedUndo"),this.vh=null,a):null},xr.prototype.Qv=function(a,y){var x=this,b=!1,E=new On,te=new On,ne=new On,se=this.vh;a.changes.each(function(Be){Be.model===x&&(Be.modelChange==="nodeDataArray"?Be.change===fa?E.add(Be.newValue):Be.change===Oa&&ne.add(Be.oldValue):x.lb(Be.object)?te.add(Be.object):Be.change!==Ko||x.modelData!==Be.object&&Be.propertyName!=="modelData"?Be.object!==null&&(se&&se.contains(Be.object)?se.get(Be.object).each(function(Ve){x.lb(Ve)&&te.add(Ve)}):Be.object instanceof xr||x.ri()&&x.Jc(Be.object)||bS(x,Be.object).each(function(Ve){te.add(Ve)})):b=!0)});var he=this.il;he.clear(),E.each(function(Be){he.add(x.wa(Be)),y||te.add(Be)});var ve=this.kl;ve.clear(),ne.each(function(Be){ve.add(x.wa(Be)),y&&te.add(Be)}),a=x.cloneDeep(te.Fa());var Se=null;return b&&(Se===null&&(Se={}),Se.modelData=this.cloneDeep(this.modelData)),0<he.count&&(Se===null&&(Se={}),y?Se.removedNodeKeys=he.Fa():Se.insertedNodeKeys=he.Fa()),0<a.length&&(Se===null&&(Se={}),Se.modifiedNodeData=a),0<ve.count&&(Se===null&&(Se={}),y?Se.insertedNodeKeys=ve.Fa():Se.removedNodeKeys=ve.Fa()),ve.clear(),he.clear(),Se},xr.prototype.cloneDeep=function(a){return Pp(this,a,!0)};function Pp(a,y,x,b,E,te){function ne(Be,Ve){se?(Be.__gohashid===void 0&&te.push(Be),b.set(Be,Ve)):(Be=Xi++,b.set(Be,Ve),E.set(Be,y))}if(!sn(y))return y;te||(te=[]);var se=Object.isExtensible(y);if(b||(b=new pr),se){var he=b.get(y);if(he)return he}else for(E||(E=new pr),he=E.iterator;he.next();){var ve=he.key;if(he.value===y&&(ve=b.get(ve)))return ve}if(Array.isArray(y)){he=[],ne(y,he);for(var Se=0;Se<y.length;Se++)he.push(Pp(a,y[Se],!1,b,E,te))}else if(y instanceof Lt||y instanceof qn||y instanceof Mn||y instanceof Or||y instanceof wr)he=y.copy(),ne(y,he);else{if(y instanceof uo||y instanceof $n||y instanceof wn)return y;if(y instanceof Dn)he=new Dn().addAll(Pp(a,y.Fa(),!1,b,E,te)),ne(y,he);else if(y instanceof On)he=new On().addAll(Pp(a,y.Fa(),!1,b,E,te)),ne(y,he);else if(y instanceof pr)he=new pr().addAll(Pp(a,y.Fa(),!1,b,E,te)),ne(y,he);else if(y instanceof Date)he=new Date(y.getTime()),ne(y,he);else if(y instanceof RegExp)he=new RegExp(y),ne(y,he),he.lastIndex=y.lastIndex;else if(typeof y.copy=="function")he=y.copy(),ne(y,he);else for(Se in he={},ne(y,he),y)Se!=="__gohashid"&&(he[Se]=Pp(a,y[Se],!1,b,E,te))}return x&&te.forEach(function(Be){delete Be.__gohashid}),he}ot=xr.prototype,ot.quote=function(a){return JSON.stringify(a).replace(/[\u007F-\uFFFF]/g,function(y){return"\\u"+("0000"+y.charCodeAt(0).toString(16)).substr(-4)})},ot.rm=function(){var a="";return this.name!==""&&(a+=`,
"name": `+this.quote(this.name)),this.dataFormat!==""&&(a+=`,
"dataFormat": `+this.quote(this.dataFormat)),this.isReadOnly&&(a+=`,
"isReadOnly": `+this.isReadOnly),this.nodeKeyProperty!=="key"&&typeof this.nodeKeyProperty=="string"&&(a+=`,
"nodeKeyProperty": `+this.quote(this.nodeKeyProperty)),this.copiesArrays&&(a+=`,
"copiesArrays": true`),this.copiesArrayObjects&&(a+=`,
"copiesArrayObjects": true`),this.copiesKey||(a+=`,
"copiesKey": false`),this.nodeCategoryProperty!=="category"&&typeof this.nodeCategoryProperty=="string"&&(a+=`,
"nodeCategoryProperty": `+this.quote(this.nodeCategoryProperty)),a},ot.gp=function(a){a.name&&(this.name=a.name),a.dataFormat&&(this.dataFormat=a.dataFormat),a.isReadOnly&&(this.isReadOnly=!0),a.nodeKeyProperty&&(this.nodeKeyProperty=a.nodeKeyProperty),a.copiesArrays&&(this.copiesArrays=!0),a.copiesArrayObjects&&(this.copiesArrayObjects=!0),a.copiesKey===!1&&(this.copiesKey=!1),a.nodeCategoryProperty&&(this.nodeCategoryProperty=a.nodeCategoryProperty)};function xS(a,y){y=y.modelData,sn(y)&&(a.dm(y),a.modelData=y)}ot.Rv=function(){var a=this.modelData,y=!1,x;for(x in a)if(!CS(x,a[x])){y=!0;break}return a="",y&&(a=`,
"modelData": `+cy(this,this.modelData)),a+`,
"nodeDataArray": `+id(this,this.nodeDataArray,!0)},ot.kv=function(a){xS(this,a),a=a.nodeDataArray,Cn(a)&&(this.dm(a),this.nodeDataArray=a)};function wS(a,y){function x(E,te){if((te=te.part)&&(te=te.data,E!==te)){var ne=b.get(E);ne===null?(ne=new On,ne.add(te),b.add(E,ne)):ne.add(te)}}var b=a.vh;b===null&&(b=new pr,y.changes.each(function(E){if(E.diagram!==null){var te=E.change;te===Ko?(E=E.object.panel)&&(te=E.data)&&x(te,E):(te===fa||te===Oa)&&(E=E.object,(te=E.itemArray)&&x(te,E))}}),a.vh=b)}function bS(a,y){for(var x=new On,b=0;b<a.nodeDataArray.length;b++){var E=a.nodeDataArray[b];fv(a,y,E,E,x)}return x}function fv(a,y,x,b,E){if(Array.isArray(x))for(var te=0;te<x.length;te++){var ne=x[te];if(ne===y)return E.add(b),!0;if(fv(a,y,ne,b,E))return!0}else if(sn(x)&&Object.getPrototypeOf(x)===Object.prototype)for(te in x){if(ne=x[te],ne===y)return E.add(b),!0;if(fv(a,y,ne,b,E))return!0}return!1}ot.Pv=function(a,y){var x=this,b=!1,E=new On,te=new On,ne=new On,se=this.vh;a.changes.each(function(Se){Se.model===x&&(Se.modelChange==="nodeDataArray"?Se.change===fa?E.add(Se.newValue):Se.change===Oa&&ne.add(Se.oldValue):x.lb(Se.object)?te.add(Se.object):Se.change!==Ko||x.modelData!==Se.object&&Se.propertyName!=="modelData"?Se.object!==null&&(se&&se.contains(Se.object)?se.get(Se.object).each(function(Be){x.lb(Be)&&te.add(Be)}):Se.object instanceof xr||x.ri()&&x.Jc(Se.object)||bS(x,Se.object).each(function(Be){te.add(Be)})):b=!0)});var he=this.il;he.clear(),E.each(function(Se){he.add(x.wa(Se)),y||te.add(Se)});var ve=this.kl;return ve.clear(),ne.each(function(Se){ve.add(x.wa(Se)),y&&te.add(Se)}),a="",b&&(a+=`,
"modelData": `+cy(this,this.modelData)),0<he.count&&(a+=(y?this.Yv:this.Wv)+id(this,he.Fa(),!0)),0<te.count&&(a+=this.jy+id(this,te.Fa(),!0)),0<ve.count&&(a+=(y?this.Wv:this.Yv)+id(this,ve.Fa(),!0)),ve.clear(),he.clear(),a},ot.fp=function(a){(a.name!==void 0&&a.name!==this.name||a.dataFormat!==void 0&&a.dataFormat!==this.dataFormat||a.isReadOnly!==void 0&&a.isReadOnly!==this.isReadOnly||a.nodeKeyProperty!==void 0&&a.nodeKeyProperty!==this.nodeKeyProperty||a.copiesArrays!==void 0&&a.copiesArrays!==this.copiesArrays||a.copiesArrayObjects!==void 0&&a.copiesArrayObjects!==this.copiesArrayObjects||a.copiesKey!==void 0&&a.copiesKey!==this.copiesKey||a.nodeCategoryProperty!==void 0&&a.nodeCategoryProperty!==this.nodeCategoryProperty)&&Ht("applyIncrementalJson cannot change Model properties"),xS(this,a);var y=a.insertedNodeKeys,x=a.modifiedNodeData,b=new pr;if(Array.isArray(x))for(var E=0;E<x.length;E++){var te=x[E],ne=this.wa(te);ne!=null&&b.set(ne,te)}if(Array.isArray(y))for(E=y.length,te=0;te<E;te++){ne=y[te];var se=this.hc(ne);se===null&&(se=(se=b.get(ne))?se:this.copyNodeData({}),this.km(se,ne),this.xf(se))}if(Array.isArray(x)){for(y=x.length,b=0;b<y;b++)if(E=x[b],te=this.wa(E),te=this.hc(te),te!==null){for(var he in E)he==="__gohashid"||he===this.nodeKeyProperty||this.Wj()&&he===this.nodeIsGroupProperty||this.setDataProperty(te,he,E[he]);this.lm(E,te)}}if(a=a.removedNodeKeys,Array.isArray(a))for(x=a.length,he=0;he<x;he++)y=this.hc(a[he]),y!==null&&this.cm(y)},ot.$x=function(a,y){a.change!==il&&Ht("Model.toIncrementalJson argument is not a Transaction ChangedEvent:"+a.toString());var x=a.object;return a.isTransactionFinished&&x instanceof Ja?(y===void 0&&(y=Ng(this,this)),wS(this,x),a=this.Pv(x,a.propertyName==="FinishedUndo"),this.vh=null,y==="2"?'{ "incremental": 2'+a+"}":'{ "class": '+this.quote(y)+', "incremental": 1'+this.rm()+a+"}"):'{ "incremental": 0 }'},ot.yA=function(a,y){return this.$x(a,y)},ot.np=function(a){return a===void 0&&(a=Ng(this,this)),'{ "class": '+this.quote(a)+this.rm()+this.Rv()+"}"},ot.toJSON=function(a){return this.np(a)},ot.Zw=function(a){var y=null;if(typeof a=="string")try{y=Dt.JSON.parse(a)}catch(b){}else typeof a=="object"?y=a:Ht("Unable to modify a Model from: "+a);var x=y.incremental;typeof x!="number"&&Ht("Unable to apply non-incremental changes to Model: "+a),x!==0&&(this.Ea("applyIncrementalJson"),this.fp(y),this.eb("applyIncrementalJson"))},ot.Ky=function(a){return this.Zw(a)},xr.constructGraphLinksModel=function(){return new xr},ot=xr.prototype,ot.dm=function(a){if(Cn(a))for(var y=a.length,x=0;x<y;x++){var b=a[x];if(sn(b)){var E=x;b=this.dm(b),Array.isArray(a)?a[E]=b:Ht("Cannot replace an object in an HTMLCollection or NodeList at "+E)}}else if(sn(a)){for(y in a)if(x=a[y],sn(x)&&(x=this.dm(x),a[y]=x,y==="points"&&Array.isArray(x))){for(E=x.length%2===0,b=0;b<x.length;b++)if(typeof x[b]!="number"){E=!1;break}if(E){for(E=new Dn,b=0;b<x.length/2;b++)E.add(new Lt(x[2*b],x[2*b+1]));E.freeze(),a[y]=E}}return Ox(a)}return a},ot.sm=function(a){return a===void 0?"undefined":a===null?"null":a===!0?"true":a===!1?"false":typeof a=="string"?this.quote(a):typeof a=="number"?a===1/0?"9e9999":a===-1/0?"-9e9999":isNaN(a)?'{"class":"NaN"}':a.toString():a instanceof Date?'{"class":"Date", "value":"'+a.toJSON()+'"}':a instanceof Number?this.sm(a.valueOf()):Cn(a)?id(this,a):sn(a)?cy(this,a):typeof a=="function"?"null":a.toString()};function id(a,y,x){x===void 0&&(x=!1);var b=y.length;if(0>=b)return"[]";var E=new dr;E.add("["),x&&1<b&&E.add(`
`);for(var te=0;te<b;te++){var ne=y[te];ne!==void 0&&(0<te&&(E.add(","),x&&E.add(`
`)),E.add(a.sm(ne)))}return x&&1<b&&E.add(`
`),E.add("]"),E.toString()}function CS(a,y){return y===void 0||a==="__gohashid"||a[0]==="_"||typeof y=="function"}function Ys(a){return isNaN(a)?"NaN":a===1/0?"9e9999":a===-1/0?"-9e9999":a}function cy(a,y){var x=y;if(x instanceof Lt)y={class:"go.Point",x:Ys(x.x),y:Ys(x.y)};else if(x instanceof qn)y={class:"go.Size",width:Ys(x.width),height:Ys(x.height)};else if(x instanceof Mn)y={class:"go.Rect",x:Ys(x.x),y:Ys(x.y),width:Ys(x.width),height:Ys(x.height)};else if(x instanceof Or)y={class:"go.Margin",top:Ys(x.top),right:Ys(x.right),bottom:Ys(x.bottom),left:Ys(x.left)};else if(x instanceof wr)x.sb()?y={class:"go.Spot",x:Ys(x.x),y:Ys(x.y),offsetX:Ys(x.offsetX),offsetY:Ys(x.offsetY)}:y={class:"go.Spot",enum:x.toString()};else if(x instanceof uo){if(y={class:"go.Brush",type:x.type.name},x.type===Ch?y.color=x.color:(x.type===th||x.type===su)&&(y.start=x.start,y.end=x.end,x.type===su&&(x.startRadius!==0&&(y.startRadius=Ys(x.startRadius)),isNaN(x.endRadius)||(y.endRadius=Ys(x.endRadius)))),x.colorStops!==null){var b={};for(x=x.colorStops.iterator;x.next();)b[x.key]=x.value;y.colorStops=b}}else x instanceof $n?(y={class:"go.Geometry",type:x.type.name},x.startX!==0&&(y.startX=Ys(x.startX)),x.startY!==0&&(y.startY=Ys(x.startY)),x.endX!==0&&(y.endX=Ys(x.endX)),x.endY!==0&&(y.endY=Ys(x.endY)),x.spot1.D(Xa)||(y.spot1=x.spot1),x.spot2.D(ks)||(y.spot2=x.spot2),x.type===$n.o&&(y.path=$n.ia(x))):x instanceof wn&&(y={class:"go.EnumValue",classType:Ng(a,x.classType),name:x.name});b="{",x=!0;for(var E in y){var te=Sa(y,E);if(!CS(E,te))if(x?x=!1:b+=",",b+=a.quote(E)+":",E==="points"&&te instanceof Dn){var ne="[";for(te=te.iterator;te.next();){var se=te.value;1<ne.length&&(ne+=","),ne+=a.sm(se.x),ne+=",",ne+=a.sm(se.y)}ne+="]",b+=ne}else b+=a.sm(te)}return b+"}"}function Js(a){return typeof a=="number"?a:a==="NaN"?NaN:a==="9e9999"?1/0:a==="-9e9999"?-1/0:parseFloat(a)}function Ox(a){if(typeof a!="object")return a;var y=a.class||"";if(y==="NaN")return NaN;if(y==="Date")return new Date(a.value);if(y.indexOf("go.")!==0)return a;y=y.substr(3);var x=a;if(y==="Point")x=new Lt(Js(a.x),Js(a.y));else if(y==="Size")x=new qn(Js(a.width),Js(a.height));else if(y==="Rect")x=new Mn(Js(a.x),Js(a.y),Js(a.width),Js(a.height));else if(y==="Margin")x=new Or(Js(a.top),Js(a.right),Js(a.bottom),Js(a.left));else if(y==="Spot")typeof a.enum=="string"?x=wd(a.enum):x=new wr(Js(a.x),Js(a.y),Js(a.offsetX),Js(a.offsetY));else if(y==="Brush"){if(x=new uo,x.type=Jn(uo,a.type),typeof a.color=="string"&&(x.color=a.color),a.start instanceof wr&&(x.start=a.start),a.end instanceof wr&&(x.end=a.end),typeof a.startRadius=="number"&&(x.startRadius=Js(a.startRadius)),typeof a.endRadius=="number"&&(x.endRadius=Js(a.endRadius)),a=a.colorStops,sn(a))for(var b in a)x.addColorStop(parseFloat(b),a[b])}else y==="Geometry"?(x=null,typeof a.path=="string"?x=$n.parse(a.path):x=new $n,x.type=Jn($n,a.type),typeof a.startX=="number"&&(x.startX=Js(a.startX)),typeof a.startY=="number"&&(x.startY=Js(a.startY)),typeof a.endX=="number"&&(x.endX=Js(a.endX)),typeof a.endY=="number"&&(x.endY=Js(a.endY)),a.spot1 instanceof wr&&(x.spot1=a.spot1),a.spot2 instanceof wr&&(x.spot2=a.spot2)):y==="EnumValue"&&(b=a.classType,b.indexOf("go.")===0&&(b=b.substr(3)),b=dy(b),typeof b=="function"&&(x=Jn(b,a.name)));return x}ot.Pe=function(a){return this.Lt.add(a),this},ot.ik=function(a){this.Lt.remove(a)},ot.ds=function(a){this.skipsUndoManager||this.undoManager.Tu(a);for(var y=this.Lt,x=y.length,b=0;b<x;b++)y.M(b)(a)},ot.cb=function(a,y,x,b,E,te,ne){Ra(this,"",a,y,x,b,E,te,ne)},ot.g=function(a,y,x,b,E){Ra(this,"",Ko,a,this,y,x,b,E)},ot.Fs=function(a,y,x,b,E,te){Ra(this,"",Ko,y,a,x,b,E,te)};function Ra(a,y,x,b,E,te,ne,se,he){se===void 0&&(se=null),he===void 0&&(he=null);var ve=new Zo;ve.model=a,ve.change=x,ve.modelChange=y,ve.propertyName=b,ve.object=E,ve.oldValue=te,ve.oldParam=se,ve.newValue=ne,ve.newParam=he,a.ds(ve)}xr.prototype.changeState=function(a,y){if(a!==null&&a.model===this)if(a.change===Ko){var x=a.object,b=a.propertyName,E=a.I(y);b===this.nodeKeyProperty&&this.lb(x)&&(y=a.I(!y),y!==void 0&&this.kb.remove(y),E!==void 0&&this.kb.add(E,x)),jo(x,b,E)}else a.change===fa?(x=a.newParam,a.modelChange==="nodeDataArray"?(a=a.newValue,sn(a)&&typeof x=="number"&&(b=this.wa(a),y?(this.Tc[x]===a&&vn(this.Tc,x),b!==void 0&&this.kb.remove(b)):(this.Tc[x]!==a&&Sn(this.Tc,x,a),b!==void 0&&this.kb.add(b,a)))):a.modelChange===""?((b=a.object)&&!Cn(b)&&a.propertyName&&(b=Sa(a.object,a.propertyName)),Cn(b)&&typeof x=="number"&&(a=a.newValue,y?vn(b,x):Sn(b,x,a))):Ht("unknown ChangedEvent.Insert modelChange: "+a.toString())):a.change===Oa?(x=a.oldParam,a.modelChange==="nodeDataArray"?(a=a.oldValue,sn(a)&&typeof x=="number"&&(b=this.wa(a),y?(this.Tc[x]!==a&&Sn(this.Tc,x,a),b!==void 0&&this.kb.add(b,a)):(this.Tc[x]===a&&vn(this.Tc,x),b!==void 0&&this.kb.remove(b)))):a.modelChange===""?((b=a.object)&&!Cn(b)&&a.propertyName&&(b=Sa(a.object,a.propertyName)),Cn(b)&&typeof x=="number"&&(a=a.oldValue,y?Sn(b,x,a):vn(b,x))):Ht("unknown ChangedEvent.Remove modelChange: "+a.toString())):a.change!==il&&Ht("unknown ChangedEvent: "+a.toString())},xr.prototype.Ea=function(a){return this.undoManager.Ea(a)},xr.prototype.eb=function(a){return this.undoManager.eb(a)},xr.prototype.Kf=function(){return this.undoManager.Kf()},xr.prototype.commit=function(a,y){y===void 0&&(y="");var x=this.skipsUndoManager;y===null&&(this.skipsUndoManager=!0,y=""),this.undoManager.Ea(y);var b=!1;try{a(this),b=!0}finally{b?this.undoManager.eb(y):this.undoManager.Kf(),this.skipsUndoManager=x}},ot=xr.prototype,ot.La=function(a,y){y===void 0&&(y=""),Ra(this,"SourceChanged",il,y,a,null,null)},ot.wa=function(a){if(a!==null){var y=this.Th;if(y!==""&&(y=Sa(a,y),y!==void 0)){if(od(y))return y;Ht("Key value for node data "+a+" is not a number or a string: "+y)}}},ot.km=function(a,y){if(a!==null){var x=this.Th;if(x!=="")if(this.lb(a)){var b=Sa(a,x);b!==y&&this.hc(y)===null&&(jo(a,x,y),b!==void 0&&this.kb.remove(b),this.kb.add(y,a),Ra(this,"nodeKey",Ko,x,a,b,y),typeof x=="string"&&this.La(a,x),this.jp(b,y))}else jo(a,x,y)}};function od(a){return typeof a=="number"||typeof a=="string"}ot.lb=function(a){var y=this.wa(a);return y===void 0?!1:this.kb.I(y)===a},ot.hc=function(a){return a===null&&Ht("Model.findNodeDataForKey:key must not be null"),a!==void 0&&od(a)?this.kb.I(a):null},ot.$u=function(a){if(a!==null){var y=this.Th;if(y!==""){var x=this.wa(a);if(x===void 0||this.kb.contains(x)){var b=this.bl;if(b!==null&&(x=b(this,a),x!=null&&!this.kb.contains(x))){jo(a,y,x);return}if(typeof x=="string"){for(b=2;this.kb.contains(x+b);)b++;jo(a,y,x+b)}else if(x===void 0||typeof x=="number"){for(x=-this.kb.count-1;this.kb.contains(x);)x--;jo(a,y,x)}}}}},ot.xf=function(a){a!==null&&(Ri(a),this.lb(a)||PS(this,a,!0))};function PS(a,y,x){var b=a.wa(y);(b===void 0||a.kb.I(b)!==y)&&(a.$u(y),b=a.wa(y),b===void 0&&Ht("Model.makeNodeDataKeyUnique failed on "+y+". Data not added to Model."),a.kb.add(b,y),b=null,x&&(b=a.Tc.length,Sn(a.Tc,b,y)),Ra(a,"nodeDataArray",fa,"nodeDataArray",a,null,y,null,b),a.fm(y),a.em(y))}ot.Fy=function(a){if(Cn(a))for(var y=a.length,x=0;x<y;x++)this.xf(a[x]);else for(a=a.iterator;a.next();)this.xf(a.value)},ot.cm=function(a){a!==null&&ES(this,a,!0)};function ES(a,y,x){var b=a.wa(y);if(b!==void 0&&a.kb.remove(b),b=null,x){e:if(x=a.Tc,Array.isArray(x))b=x.indexOf(y);else{b=x.length;for(var E=0;E<b;E++)if(x[E]===y){b=E;break e}b=-1}if(0>b)return;vn(a.Tc,b)}Ra(a,"nodeDataArray",Oa,"nodeDataArray",a,y,null,b,null),a.qp(y)}ot.nA=function(a){if(Cn(a))for(var y=a.length,x=0;x<y;x++)this.cm(a[x]);else for(a=a.iterator;a.next();)this.cm(a.value)},ot.$z=function(a){if(a!==this.nodeDataArray&&Cn(a)){var y=this.kl;y.clear(),y.addAll(this.kb.iteratorKeys);var x=this.il;x.clear();for(var b=a.length,E=0;E<b;E++){var te=a[E],ne=this.wa(te);if(ne!==void 0){x.add(ne);var se=this.hc(ne);se!==te&&(se!==null?(this.Do(se,te),this.lm(te,se)):(te=this.cloneDeep(te),this.km(te,ne),this.xf(te)))}else ne=this.cloneDeep(te),this.xf(ne),x.add(this.wa(ne))}for(a=y.iterator;a.next();)b=a.value,x.contains(b)||(b=this.hc(b))&&this.cm(b);y.clear(),x.clear()}},ot.jp=function(a,y){y!==void 0&&(a=kg(this,a),a instanceof On&&this.Vf.add(y,a))},ot.Lv=function(){},ot.fm=function(){},ot.em=function(){},ot.qp=function(){};function Qu(a,y,x){if(y!==void 0){var b=a.Vf.I(y);b===null&&(b=new On,a.Vf.add(y,b)),b.add(x)}}function _u(a,y,x){if(y!==void 0){var b=a.Vf.I(y);b instanceof On&&(x==null?a.Vf.remove(y):(b.remove(x),b.count===0&&a.Vf.remove(y)))}}function kg(a,y){return y===void 0?null:(a=a.Vf.I(y),a instanceof On?a:null)}ot.Qy=function(a){a===void 0?this.Vf.clear():this.Vf.remove(a)},xr.prototype.copyNodeData=function(a){if(a===null)return null;var y=this.Bk;return a=y!==null?y(a,this):pv(this,a,!0),sn(a)&&hi(a),a};function pv(a,y,x){if(a.copiesArrays&&Array.isArray(y)){var b=[];for(x=0;x<y.length;x++){var E=pv(a,y[x],a.copiesArrayObjects);b.push(E)}return hi(b),b}if(x&&sn(y)){x=(x=y.constructor)?new x:{},E=a.copiesKey||typeof a.nodeKeyProperty!="string"?null:a.nodeKeyProperty;for(b in y)if(b==="__gohashid")x.__gohashid=void 0;else if(b===E)x[E]=void 0;else{var te=Sa(y,b),ne=Ng(a,te);ne==="GraphObject"||ne==="Diagram"||ne==="Layer"||ne==="RowColumnDefinition"||ne==="AnimationManager"||ne==="Tool"||ne==="CommandHandler"||ne==="Layout"||ne==="InputEvent"||ne==="DiagramEvent"||te instanceof xr||te instanceof Yo||te instanceof Ja||te instanceof Zo||(te=pv(a,te,!1)),jo(x,b,te)}return hi(x),x}return y instanceof Lt||y instanceof qn||y instanceof Mn||y instanceof wr||y instanceof Or?y.copy():y}xr.prototype.setDataProperty=function(a,y,x){if(this.lb(a)){if(y===this.nodeKeyProperty){this.km(a,x);return}if(y===this.nodeCategoryProperty){this.jm(a,x);return}}else!AS&&a instanceof qt&&(AS=!0,ir('Model.setDataProperty is modifying a GraphObject, "'+a.toString()+'"'),ir(" Is that really your intent?"));var b=Sa(a,y);b!==x&&(jo(a,y,x),this.Fs(a,y,b,x))},ot=xr.prototype,ot.set=function(a,y,x){this.setDataProperty(a,y,x)},ot.Do=function(a,y){if(y){var x=this.lb(a),b;for(b in y)b==="__gohashid"||x&&b===this.nodeKeyProperty||this.setDataProperty(a,b,y[b])}},ot.Ay=function(a,y){this.ts(a,-1,y)},ot.ts=function(a,y,x){0>y&&(y=a.length),Sn(a,y,x),Ra(this,"",fa,"",a,null,x,null,y)},ot.ov=function(a,y){y===void 0&&(y=-1),a===this.Tc&&Ht("Model.removeArrayItem should not be called on the Model.nodeDataArray"),y===-1&&(y=a.length-1);var x=a[y];vn(a,y),Ra(this,"",Oa,"",a,x,null,y,null)},ot.Ro=function(a){if(a===null)return"";var y=this.lj;if(y===""||(y=Sa(a,y),y===void 0))return"";if(typeof y=="string")return y;Ht("getCategoryForNodeData found a non-string category for "+a+": "+y)},ot.jm=function(a,y){if(a!==null){var x=this.lj;if(x!=="")if(this.lb(a)){var b=Sa(a,x);b===void 0&&(b=""),b!==y&&(jo(a,x,y),Ra(this,"nodeCategory",Ko,x,a,b,y))}else jo(a,x,y)}},ot.lm=function(a,y){this.jm(y,this.Ro(a))},ot.Tl=function(){return!1},ot.Wj=function(){return!1},ot.ri=function(){return!1},ot.xs=function(){return!1},ot.Xj=function(){return!1};function hy(){return new xr}function Ng(a,y){if(typeof y=="function"){if(y.className)return y.className;if(y.name)return y.name}else if(typeof y=="object"&&y!==null&&y.constructor)return Ng(a,y.constructor);return typeof y}function dy(a){return Ou[a]?Ou[a]:Dt.go!==void 0&&Dt.go[a]?Dt.go[a]:null}function Sa(a,y){if(!a||!y)return null;try{if(typeof y=="function")var x=y(a);else typeof a.getAttribute=="function"?(x=a.getAttribute(y),x===null&&(x=void 0)):x=a[y]}catch(b){}return x}function jo(a,y,x){if(a&&y)try{typeof y=="function"?y(a,x):typeof a.setAttribute=="function"?a.setAttribute(y,x):a[y]=x}catch(b){}}Pt.Object.defineProperties(xr.prototype,{name:{get:function(){return this.xa},set:function(a){var y=this.xa;y!==a&&(this.xa=a,this.g("name",y,a))}},dataFormat:{get:function(){return this.Sm},set:function(a){var y=this.Sm;y!==a&&(this.Sm=a,this.g("dataFormat",y,a))}},isReadOnly:{get:function(){return this.Gg},set:function(a){var y=this.Gg;y!==a&&(this.Gg=a,this.g("isReadOnly",y,a))}},modelData:{get:function(){return this.j},set:function(a){var y=this.j;y!==a&&(this.j=a,this.g("modelData",y,a),this.La(a))}},undoManager:{get:function(){return this.o},set:function(a){var y=this.o;y!==a&&(y!==null&&y.Rx(this),this.o=a,a!==null&&a.Xw(this))}},skipsUndoManager:{get:function(){return this.Wg},set:function(a){this.Wg=a}},nodeKeyProperty:{get:function(){return this.Th},set:function(a){var y=this.Th;y!==a&&(a===""&&Ht("Model.nodeKeyProperty may not be the empty string"),0<this.kb.count&&Ht("Cannot set Model.nodeKeyProperty when there is existing node data"),this.Th=a,this.g("nodeKeyProperty",y,a))}},makeUniqueKeyFunction:{get:function(){return this.bl},set:function(a){var y=this.bl;y!==a&&(this.bl=a,this.g("makeUniqueKeyFunction",y,a))}},nodeDataArray:{get:function(){return this.Tc},set:function(a){var y=this.Tc;if(y!==a){this.kb.clear(),this.Lv();for(var x=a.length,b=0;b<x;b++){var E=a[b];sn(E)||Ht("Model.nodeDataArray must only contain Objects, not: "+E),Ri(E)}for(this.Tc=a,b=new Dn,E=0;E<x;E++){var te=a[E],ne=this.wa(te);ne===void 0||this.kb.I(ne)!==null?b.add(te):this.kb.add(ne,te)}for(b=b.iterator;b.next();)E=b.value,this.$u(E),te=this.wa(E),te!==void 0&&this.kb.add(te,E);for(Ra(this,"nodeDataArray",Ko,"nodeDataArray",this,y,a),y=0;y<x;y++)b=a[y],this.fm(b),this.em(b);Array.isArray(a)||(this.isReadOnly=!0)}}},copyNodeDataFunction:{get:function(){return this.Bk},set:function(a){var y=this.Bk;y!==a&&(this.Bk=a,this.g("copyNodeDataFunction",y,a))}},copiesArrays:{get:function(){return this.Km},set:function(a){var y=this.Km;y!==a&&(this.Km=a,this.g("copiesArrays",y,a))}},copiesArrayObjects:{get:function(){return this.Jm},set:function(a){var y=this.Jm;y!==a&&(this.Jm=a,this.g("copiesArrayObjects",y,a))}},copiesKey:{get:function(){return this.Mm},set:function(a){var y=this.Mm;y!==a&&(this.Mm=a,this.g("copiesKey",y,a))}},afterCopyFunction:{get:function(){return this.xm},set:function(a){var y=this.xm;y!==a&&(this.xm=a,this.g("afterCopyFunction",y,a))}},nodeCategoryProperty:{get:function(){return this.lj},set:function(a){var y=this.lj;y!==a&&(this.lj=a,this.g("nodeCategoryProperty",y,a))}},type:{get:function(){return"Model"}}}),xr.prototype.setCategoryForNodeData=xr.prototype.jm,xr.prototype.getCategoryForNodeData=xr.prototype.Ro,xr.prototype.removeArrayItem=xr.prototype.ov,xr.prototype.insertArrayItem=xr.prototype.ts,xr.prototype.addArrayItem=xr.prototype.Ay,xr.prototype.assignAllDataProperties=xr.prototype.Do,xr.prototype.set=xr.prototype.set,xr.prototype.clearUnresolvedReferences=xr.prototype.Qy,xr.prototype.mergeNodeDataArray=xr.prototype.$z,xr.prototype.removeNodeDataCollection=xr.prototype.nA,xr.prototype.removeNodeData=xr.prototype.cm,xr.prototype.addNodeDataCollection=xr.prototype.Fy,xr.prototype.addNodeData=xr.prototype.xf,xr.prototype.makeNodeDataKeyUnique=xr.prototype.$u,xr.prototype.findNodeDataForKey=xr.prototype.hc,xr.prototype.containsNodeData=xr.prototype.lb,xr.prototype.setKeyForNodeData=xr.prototype.km,xr.prototype.getKeyForNodeData=xr.prototype.wa,xr.prototype.updateTargetBindings=xr.prototype.La,xr.prototype.commit=xr.prototype.commit,xr.prototype.rollbackTransaction=xr.prototype.Kf,xr.prototype.commitTransaction=xr.prototype.eb,xr.prototype.startTransaction=xr.prototype.Ea,xr.prototype.raiseDataChanged=xr.prototype.Fs,xr.prototype.raiseChanged=xr.prototype.g,xr.prototype.raiseChangedEvent=xr.prototype.cb,xr.prototype.removeChangedListener=xr.prototype.ik,xr.prototype.addChangedListener=xr.prototype.Pe,xr.prototype.writeJsonValue=xr.prototype.sm,xr.prototype.replaceJsonObjects=xr.prototype.dm,xr.prototype.applyIncrementalJSON=xr.prototype.Ky,xr.prototype.applyIncrementalJson=xr.prototype.Zw,xr.prototype.toJSON=xr.prototype.toJSON,xr.prototype.toJson=xr.prototype.np,xr.prototype.toIncrementalJSON=xr.prototype.yA,xr.prototype.toIncrementalJson=xr.prototype.$x,xr.prototype.toIncrementalData=xr.prototype.xA,xr.prototype.clear=xr.prototype.clear;var AS=!1,Ou={};xr.className="Model",xr.fromJSON=xr.fromJson=function(a,y){y===void 0&&(y=null);var x=null;if(typeof a=="string")try{x=Dt.JSON.parse(a)}catch(te){}else typeof a=="object"?x=a:Ht("Unable to construct a Model from: "+a);if(y===null){a=null;var b=x.class;if(typeof b=="string")try{var E=null;b.indexOf("go.")===0?(b=b.substr(3),E=dy(b)):(E=dy(b),E===null&&(E=Dt[b])),typeof E=="function"&&(a=new E)}catch(te){}a===null||a instanceof xr?y=a:Ht("Unable to construct a Model of declared class: "+x.class)}return y===null&&(y=xr.constructGraphLinksModel()),y.gp(x),y.kv(x),y},xr.safePropertyValue=Sa,xr.safePropertySet=jo,Ou.Brush=uo,Ou.ChangedEvent=Zo,Ou.Geometry=$n,Ou.Margin=Or,Ou.Panel=Xn,Ou.Point=Lt,Ou.Rect=Mn,Ou.Size=qn,Ou.Spot=wr,Ou.Transaction=Ja,Ou.UndoManager=Yo;function Pa(a,y,x,b){hi(this),this._isFrozen=!1,a===void 0&&(a=""),y===void 0&&(y=a),x===void 0&&(x=null),this.j=-1,this.xd=null,this.xl=a,this.wl=this.to=0,this.Cr=null,this.wn=!1,this.sl=y,this.Im=x,b===void 0?(this.el=LS,this.wk=null):(this.el=Bg,this.wk=b),this.st=new On}Pa.prototype.copy=function(){var a=new Pa;return a.xl=this.xl,a.to=this.to,a.wl=this.wl,a.Cr=this.Cr,a.wn=this.wn,a.sl=this.sl,a.Im=this.Im,a.el=this.el,a.wk=this.wk,a},ot=Pa.prototype,ot.qb=function(a){a.classType===Pa&&(this.mode=a)},ot.toString=function(){return"Binding("+this.targetProperty+":"+this.sourceProperty+(this.Ai!==-1?" "+this.Ai:"")+" "+this.mode.name+")"},ot.freeze=function(){return this._isFrozen=!0,this},ot.ka=function(){return this._isFrozen=!1,this},ot.Kx=function(a){return a===void 0&&(a=null),this.mode=Bg,this.backConverter=a,this},ot.cp=function(a){return a===void 0&&(a=""),this.sourceName=a,this.isToModel=!1,this},ot.dA=function(){return this.sourceName=null,this.isToModel=!0,this};function MS(a,y,x){return a=a.sourceName,a===null||a===""?y:a==="/"?x.part:a==="."?x:a===".."?x.panel:y.fb(a)}ot.Mv=function(a,y,x){var b=this.sl;if(x===void 0||b===""||b===x){x=this.xl;var E=this.Im;if(E===null&&x==="")ir("Binding error: target property is the empty string: "+this.toString());else{var te=y;if(b!==""&&(te=Sa(y,b)),te!==void 0)if(E===null)x!==""&&jo(a,x,te);else try{if(x!==""){var ne=E(te,a);jo(a,x,ne)}else E(te,a)}catch(se){}}}},ot.sp=function(a,y,x,b){if(this.el===Bg){var E=this.xl;if(x===void 0||E===x){x=this.sl;var te=this.wk,ne=a;if(E!==""&&(ne=Sa(a,E)),ne!==void 0&&!this.st.contains(a))try{this.st.add(a);var se=b!==null?b.diagram:null,he=se!==null?se.model:null;if(te===null){if(x!=="")he!==null?he.setDataProperty(y,x,ne):jo(y,x,ne);else if(he!==null&&b!==null&&0<=b.itemIndex&&b.panel!==null&&Array.isArray(b.panel.itemArray)){var ve=b.itemIndex,Se=b.panel.itemArray;he.ov(Se,ve),he.ts(Se,ve,ne)}}else try{if(x!==""){var Be=te(ne,y,he);he!==null?he.setDataProperty(y,x,Be):jo(y,x,Be)}else{var Ve=te(ne,y,he);if(Ve!==void 0&&he!==null&&b!==null&&0<=b.itemIndex&&b.panel!==null&&Array.isArray(b.panel.itemArray)){var nt=b.itemIndex,rt=b.panel.itemArray;he.ov(rt,nt),he.ts(rt,nt,Ve)}}}catch(ct){}}finally{this.st.remove(a)}}}},Pt.Object.defineProperties(Pa.prototype,{Ai:{get:function(){return this.j},set:function(a){this._isFrozen&&An(this),this.j=a}},targetProperty:{get:function(){return this.xl},set:function(a){this._isFrozen&&An(this),this.xl=a}},sourceName:{get:function(){return this.Cr},set:function(a){this._isFrozen&&An(this),this.Cr=a,a!==null&&(this.wn=!1)}},isToModel:{get:function(){return this.wn},set:function(a){this._isFrozen&&An(this),this.wn=a}},sourceProperty:{get:function(){return this.sl},set:function(a){this._isFrozen&&An(this),this.sl=a}},converter:{get:function(){return this.Im},set:function(a){this._isFrozen&&An(this),this.Im=a}},backConverter:{get:function(){return this.wk},set:function(a){this._isFrozen&&An(this),this.wk=a}},mode:{get:function(){return this.el},set:function(a){this._isFrozen&&An(this),this.el=a}}}),Pa.prototype.updateSource=Pa.prototype.sp,Pa.prototype.updateTarget=Pa.prototype.Mv,Pa.prototype.ofModel=Pa.prototype.dA,Pa.prototype.ofObject=Pa.prototype.cp,Pa.prototype.makeTwoWay=Pa.prototype.Kx;var kx="Binding",LS=new wn(Pa,"OneWay",1),Bg=new wn(Pa,"TwoWay",2);Pa.className="Binding",Pa.parseEnum=function(a,y){return function(x){return x=Jn(a,x),x===null?y:x}},Pa.toString=jn,Pa.OneWay=LS,Pa.TwoWay=Bg;function ji(a,y,x){xr.call(this),this.Vv=`,
"insertedLinkKeys": `,this.iy=`,
"modifiedLinkData": `,this.Xv=`,
"removedLinkKeys": `,this.md=[],this.$f=new On,this.wb=new pr,this.Jh="",this.Ri=this.Ak=this.cl=null,this.lf="from",this.mf="to",this.fj=this.ej="",this.dj="category",this.je="",this.jl="isGroup",this.Je="group",this.Lm=!1,y!==void 0&&(this.linkDataArray=y),a!==void 0&&(Cn(a)?this.nodeDataArray=a:x=a),x&&(Object.assign(this,x),a=x.Changed)&&(delete this.Changed,this.Pe(a))}Zt(ji,xr),ji.constructGraphLinksModel=xr.constructGraphLinksModel,ji.prototype.cloneProtected=function(a){xr.prototype.cloneProtected.call(this,a),a.Jh=this.Jh,a.cl=this.cl,a.Ak=this.Ak,a.lf=this.lf,a.mf=this.mf,a.ej=this.ej,a.fj=this.fj,a.dj=this.dj,a.je=this.je,a.jl=this.jl,a.Je=this.Je,a.Lm=this.Lm},ot=ji.prototype,ot.clear=function(){xr.prototype.clear.call(this),this.md=[],this.wb.clear(),this.$f.clear()},ot.toString=function(a){if(a===void 0&&(a=0),2<=a)return this.np();var y=(this.name!==""?this.name:"")+" GraphLinksModel";if(0<a){y+=`
node data:`,a=this.nodeDataArray;var x=a.length,b;for(b=0;b<x;b++){var E=a[b];y+=" "+this.wa(E)+":"+jn(E)}for(y+=`
link data:`,a=this.linkDataArray,x=a.length,b=0;b<x;b++)E=a[b],y+=" "+Ql(this,E,!0)+"-->"+Ql(this,E,!1)}return y},ot.Qv=function(a,y){this.linkKeyProperty===""&&Ht("GraphLinksModel.linkKeyProperty must not be an empty string for .toIncrementalData() to succeed.");var x=xr.prototype.Qv.call(this,a,y),b=this,E=new On,te=new On,ne=new On,se=this.vh;a.changes.each(function(Se){Se.model===b&&(Se.modelChange==="linkDataArray"?Se.change===fa?E.add(Se.newValue):Se.change===Oa&&ne.add(Se.oldValue):b.Jc(Se.object)?te.add(Se.object):Se.object!==null&&(Se.object!==null&&se&&se.contains(Se.object)?se.get(Se.object).each(function(Be){b.Jc(Be)&&te.add(Be)}):Se.object instanceof xr||b.lb(Se.object)||TS(b,Se.object).each(function(Be){te.add(Be)})))});var he=this.il;he.clear(),E.each(function(Se){he.add(b.Ac(Se)),y||te.add(Se)});var ve=this.kl;return ve.clear(),ne.each(function(Se){ve.add(b.Ac(Se)),y&&te.add(Se)}),a=b.cloneDeep(te.Fa()),0<he.count&&(x===null&&(x={}),y?x.removedLinkKeys=he.Fa():x.insertedLinkKeys=he.Fa()),0<a.length&&(x===null&&(x={}),x.modifiedLinkData=a),0<ve.count&&(x===null&&(x={}),y?x.insertedLinkKeys=ve.Fa():x.removedLinkKeys=ve.Fa()),ve.clear(),he.clear(),x},ot.rm=function(){var a=xr.prototype.rm.call(this),y="";return this.linkCategoryProperty!=="category"&&typeof this.linkCategoryProperty=="string"&&(y+=`,
"linkCategoryProperty": `+this.quote(this.linkCategoryProperty)),this.linkKeyProperty!==""&&typeof this.linkKeyProperty=="string"&&(y+=`,
"linkKeyProperty": `+this.quote(this.linkKeyProperty)),this.linkFromKeyProperty!=="from"&&typeof this.linkFromKeyProperty=="string"&&(y+=`,
"linkFromKeyProperty": `+this.quote(this.linkFromKeyProperty)),this.linkToKeyProperty!=="to"&&typeof this.linkToKeyProperty=="string"&&(y+=`,
"linkToKeyProperty": `+this.quote(this.linkToKeyProperty)),this.linkFromPortIdProperty!==""&&typeof this.linkFromPortIdProperty=="string"&&(y+=`,
"linkFromPortIdProperty": `+this.quote(this.linkFromPortIdProperty)),this.linkToPortIdProperty!==""&&typeof this.linkToPortIdProperty=="string"&&(y+=`,
"linkToPortIdProperty": `+this.quote(this.linkToPortIdProperty)),this.linkLabelKeysProperty!==""&&typeof this.linkLabelKeysProperty=="string"&&(y+=`,
"linkLabelKeysProperty": `+this.quote(this.linkLabelKeysProperty)),this.nodeIsGroupProperty!=="isGroup"&&typeof this.nodeIsGroupProperty=="string"&&(y+=`,
"nodeIsGroupProperty": `+this.quote(this.nodeIsGroupProperty)),this.nodeGroupKeyProperty!=="group"&&typeof this.nodeGroupKeyProperty=="string"&&(y+=`,
"nodeGroupKeyProperty": `+this.quote(this.nodeGroupKeyProperty)),a+y},ot.gp=function(a){xr.prototype.gp.call(this,a),a.linkKeyProperty&&(this.linkKeyProperty=a.linkKeyProperty),a.linkFromKeyProperty&&(this.linkFromKeyProperty=a.linkFromKeyProperty),a.linkToKeyProperty&&(this.linkToKeyProperty=a.linkToKeyProperty),a.linkFromPortIdProperty&&(this.linkFromPortIdProperty=a.linkFromPortIdProperty),a.linkToPortIdProperty&&(this.linkToPortIdProperty=a.linkToPortIdProperty),a.linkCategoryProperty&&(this.linkCategoryProperty=a.linkCategoryProperty),a.linkLabelKeysProperty&&(this.linkLabelKeysProperty=a.linkLabelKeysProperty),a.nodeIsGroupProperty&&(this.nodeIsGroupProperty=a.nodeIsGroupProperty),a.nodeGroupKeyProperty&&(this.nodeGroupKeyProperty=a.nodeGroupKeyProperty)},ot.Rv=function(){var a=xr.prototype.Rv.call(this),y=`,
"linkDataArray": `+id(this,this.linkDataArray,!0);return a+y},ot.kv=function(a){xr.prototype.kv.call(this,a),a=a.linkDataArray,Array.isArray(a)&&(this.dm(a),this.linkDataArray=a)};function TS(a,y){for(var x=new On,b=0;b<a.linkDataArray.length;b++){var E=a.linkDataArray[b];fv(a,y,E,E,x)}return x}ot.Pv=function(a,y){this.linkKeyProperty===""&&Ht("GraphLinksModel.linkKeyProperty must not be an empty string for .toIncrementalJson() to succeed.");var x=xr.prototype.Pv.call(this,a,y),b=this,E=new On,te=new On,ne=new On,se=this.vh;a.changes.each(function(Se){Se.model===b&&(Se.modelChange==="linkDataArray"?Se.change===fa?E.add(Se.newValue):Se.change===Oa&&ne.add(Se.oldValue):b.Jc(Se.object)?te.add(Se.object):Se.object!==null&&(Se.object!==null&&se&&se.contains(Se.object)?se.get(Se.object).each(function(Be){b.Jc(Be)&&te.add(Be)}):Se.object instanceof xr||b.lb(Se.object)||TS(b,Se.object).each(function(Be){te.add(Be)})))});var he=this.il;he.clear(),E.each(function(Se){he.add(b.Ac(Se)),y||te.add(Se)});var ve=this.kl;return ve.clear(),ne.each(function(Se){ve.add(b.Ac(Se)),y&&te.add(Se)}),a=x,0<he.count&&(a+=(y?this.Xv:this.Vv)+id(this,he.Fa(),!0)),0<te.count&&(a+=this.iy+id(this,te.Fa(),!0)),0<ve.count&&(a+=(y?this.Vv:this.Xv)+id(this,ve.Fa(),!0)),ve.clear(),he.clear(),a},ot.fp=function(a){(a.linkCategoryProperty!==void 0&&a.linkCategoryProperty!==this.linkCategoryProperty||a.linkKeyProperty!==void 0&&a.linkKeyProperty!==this.linkKeyProperty||a.linkFromKeyProperty!==void 0&&a.linkFromKeyProperty!==this.linkFromKeyProperty||a.linkToKeyProperty!==void 0&&a.linkToKeyProperty!==this.linkToKeyProperty||a.linkFromPortIdProperty!==void 0&&a.linkFromPortIdProperty!==this.linkFromPortIdProperty||a.linkToPortIdProperty!==void 0&&a.linkToPortIdProperty!==this.linkToPortIdProperty||a.linkLabelKeysProperty!==void 0&&a.linkLabelKeysProperty!==this.linkLabelKeysProperty||a.nodeIsGroupProperty!==void 0&&a.nodeIsGroupProperty!==this.nodeIsGroupProperty||a.nodeGroupKeyProperty!==void 0&&a.nodeGroupKeyProperty!==this.nodeGroupKeyProperty)&&Ht("applyIncrementalJson cannot change Model properties"),xr.prototype.fp.call(this,a);var y=a.insertedLinkKeys;if(Array.isArray(y))for(var x=y.length,b=0;b<x;b++){var E=y[b],te=this.jh(E);te===null&&(te=this.Jo({}),this.Ks(te,E),this.fi(te))}if(y=a.modifiedLinkData,Array.isArray(y)){for(x=y.length,b=0;b<x;b++)if(E=y[b],te=this.Ac(E),te=this.jh(te),te!==null){for(var ne in E)ne!=="__gohashid"&&ne!==this.linkKeyProperty&&this.setDataProperty(te,ne,E[ne]);OS(this,E,te)}}if(a=a.removedLinkKeys,Array.isArray(a))for(ne=a.length,y=0;y<ne;y++)x=this.jh(a[y]),x!==null&&this.bm(x)},ji.prototype.changeState=function(a,y){if(a!==null&&a.model===this){if(a.change===Ko){var x=a.object,b=a.propertyName;if(b===this.linkKeyProperty&&this.Jc(x)){var E=a.I(y);y=a.I(!y),y!==void 0&&this.wb.remove(y),E!==void 0&&this.wb.add(E,x),jo(x,b,E);return}}else if(a.change===fa){if(x=a.newParam,a.modelChange==="linkDataArray"){a=a.newValue,sn(a)&&typeof x=="number"&&(b=this.Ac(a),y?(this.$f.remove(a),this.md[x]===a&&this.md.splice(x,1),b!==void 0&&this.wb.remove(b)):(this.$f.add(a),this.md[x]!==a&&this.md.splice(x,0,a),b!==void 0&&this.wb.add(b,a)));return}if(a.modelChange==="linkLabelKeys"){b=this.Ef(a.object),Array.isArray(b)&&typeof x=="number"&&(y?(x=b.indexOf(a.newValue),0<=x&&b.splice(x,1)):0>b.indexOf(a.newValue)&&b.splice(x,0,a.newValue));return}}else if(a.change===Oa){if(x=a.oldParam,a.modelChange==="linkDataArray"){a=a.oldValue,sn(a)&&typeof x=="number"&&(b=this.Ac(a),y?(this.$f.add(a),this.md[x]!==a&&this.md.splice(x,0,a),b!==void 0&&this.wb.add(b,a)):(this.$f.remove(a),this.md[x]===a&&this.md.splice(x,1),b!==void 0&&this.wb.remove(b)));return}if(a.modelChange==="linkLabelKeys"){b=this.Ef(a.object),Array.isArray(b)&&typeof x=="number"&&(y?0>b.indexOf(a.newValue)&&b.splice(x,0,a.newValue):(x=b.indexOf(a.newValue),0<=x&&b.splice(x,1)));return}}xr.prototype.changeState.call(this,a,y)}},ot=ji.prototype,ot.Vl=function(a){if(a!==void 0){var y=this.Ri;if(y!==null){var x=this.hc(a);x===null&&(x=this.copyNodeData(y),jo(x,this.nodeKeyProperty,a),this.xf(x))}return a}},ot.yx=function(a){return Ql(this,a,!0)},ot.wv=function(a,y){Ep(this,a,y,!0)},ot.Bx=function(a){return Ql(this,a,!1)},ot.Bv=function(a,y){Ep(this,a,y,!1)};function Ql(a,y,x){if(y!==null&&(a=x?a.lf:a.mf,a!==""&&(a=Sa(y,a),a!==void 0))){if(od(a))return a;Ht((x?"FromKey":"ToKey")+" value for link data "+y+" is not a number or a string: "+a)}}function Ep(a,y,x,b){if(x===null&&(x=void 0),y!==null){var E=b?a.lf:a.mf;if(E!=="")if(x=a.Vl(x),a.Jc(y)){var te=Sa(y,E);te!==x&&(_u(a,te,y),jo(y,E,x),a.hc(x)===null&&Qu(a,x,y),Ra(a,b?"linkFromKey":"linkToKey",Ko,E,y,te,x),typeof E=="string"&&a.La(y,E))}else jo(y,E,x)}}ot.zx=function(a){return gv(this,a,!0)},ot.xv=function(a,y){Ap(this,a,y,!0)},ot.Cx=function(a){return gv(this,a,!1)},ot.Cv=function(a,y){Ap(this,a,y,!1)};function gv(a,y,x){return y===null||(a=x?a.ej:a.fj,a==="")?"":(y=Sa(y,a),y===void 0?"":y)}function Ap(a,y,x,b){if(y!==null){var E=b?a.ej:a.fj;if(E!=="")if(a.Jc(y)){var te=Sa(y,E);te===void 0&&(te=""),te!==x&&(jo(y,E,x),Ra(a,b?"linkFromPortId":"linkToPortId",Ko,E,y,te,x),typeof E=="string"&&a.La(y,E))}else jo(y,E,x)}}ot.Ef=function(a){if(a===null)return mv;var y=this.je;return y===""?mv:(a=Sa(a,y),a===void 0?mv:a)},ot.Ls=function(a,y){if(a!==null){var x=this.je;if(x!=="")if(this.Jc(a)){var b=Sa(a,x);if(b===void 0&&(b=mv),b!==y){if(Array.isArray(b))for(var E=b.length,te=0;te<E;te++)_u(this,b[te],a);for(jo(a,x,y),E=y.length,te=0;te<E;te++){var ne=y[te];this.hc(ne)===null&&Qu(this,ne,a)}Ra(this,"linkLabelKeys",Ko,x,a,b,y),typeof x=="string"&&this.La(a,x)}}else jo(a,x,y)}},ot.Bu=function(a,y){if(y!=null&&a!==null){var x=this.je;if(x!==""){var b=Sa(a,x);if(b===void 0)x=[],x.push(y),this.Ls(a,x);else if(Array.isArray(b)){var E=b.indexOf(y);0<=E||(E=b.length,b.push(y),this.Jc(a)&&(this.hc(y)===null&&Qu(this,y,a),Ra(this,"linkLabelKeys",fa,x,a,null,y,null,E)))}else Ht(x+" property is not an Array; cannot addLabelKeyForLinkData: "+a)}}},ot.Qx=function(a,y){if(y!=null&&a!==null){var x=this.je;if(x!==""){var b=Sa(a,x);if(Array.isArray(b)){var E=b.indexOf(y);0>E||(b.splice(E,1),this.Jc(a)&&(_u(this,y,a),Ra(this,"linkLabelKeys",Oa,x,a,y,null,E,null)))}else b!==void 0&&Ht(x+" property is not an Array; cannot removeLabelKeyforLinkData: "+a)}}},ot.Ac=function(a){if(a!==null){var y=this.Jh;if(y!==""&&(y=Sa(a,y),y!==void 0)){if(od(y))return y;Ht("Key value for link data "+a+" is not a number or a string: "+y)}}},ot.Ks=function(a,y){if(a!==null){var x=this.Jh;if(x!=="")if(this.Jc(a)){var b=Sa(a,x);b!==y&&this.jh(y)===null&&(jo(a,x,y),b!==void 0&&this.wb.remove(b),this.wb.add(y,a),Ra(this,"linkKey",Ko,x,a,b,y),typeof x=="string"&&this.La(a,x))}else jo(a,x,y)}},ot.jh=function(a){return a===null&&Ht("GraphLinksModel.findLinkDataForKey:key must not be null"),a!==void 0&&od(a)?this.wb.I(a):null},ot.Bs=function(a){if(a!==null){var y=this.Jh;if(y!==""){var x=this.Ac(a);if(x===void 0||this.wb.contains(x)){var b=this.cl;if(b!==null&&(x=b(this,a),x!=null&&!this.wb.contains(x))){jo(a,y,x);return}if(typeof x=="string"){for(b=2;this.wb.contains(x+b);)b++;jo(a,y,x+b)}else if(x===void 0||typeof x=="number"){for(x=-this.wb.count-1;this.wb.contains(x);)x--;jo(a,y,x)}}}}},ot.Jc=function(a){return a===null?!1:this.$f.contains(a)},ot.fi=function(a){a!==null&&(Ri(a),this.Jc(a)||FS(this,a,!0))};function FS(a,y,x){if(a.linkKeyProperty!==""){var b=a.Ac(y);if(b!==void 0&&a.wb.I(b)===y)return;a.Bs(y),b=a.Ac(y),b===void 0&&Ht("GraphLinksModel.makeLinkDataKeyUnique failed on "+y+". Data not added to model."),a.wb.add(b,y)}a.$f.add(y),b=null,x&&(b=a.md.length,a.md.splice(b,0,y)),Ra(a,"linkDataArray",fa,"linkDataArray",a,null,y,null,b),fy(a,y)}ot.Ey=function(a){if(Array.isArray(a))for(var y=a.length,x=0;x<y;x++)this.fi(a[x]);else for(a=a.iterator;a.next();)this.fi(a.value)},ot.bm=function(a){a!==null&&DS(this,a,!0)};function DS(a,y,x){a.$f.remove(y);var b=a.Ac(y);if(b!==void 0&&a.wb.remove(b),b=null,x){if(b=a.md.indexOf(y),0>b)return;a.md.splice(b,1)}if(Ra(a,"linkDataArray",Oa,"linkDataArray",a,y,null,b,null),x=Ql(a,y,!0),_u(a,x,y),x=Ql(a,y,!1),_u(a,x,y),b=a.Ef(y),Array.isArray(b))for(var E=b.length,te=0;te<E;te++)x=b[te],_u(a,x,y)}ot.lA=function(a){if(Array.isArray(a))for(var y=a.length,x=0;x<y;x++)this.bm(a[x]);else for(a=a.iterator;a.next();)this.bm(a.value)},ot.Zz=function(a){if(this.linkKeyProperty===""&&Ht("GraphLinksModel.linkKeyProperty must not be an empty string for .mergeLinkDataArray() to succeed."),a!==this.linkDataArray&&Cn(a)){var y=this.kl;y.clear(),y.addAll(this.wb.iteratorKeys);var x=this.il;x.clear();for(var b=a.length,E=0;E<b;E++){var te=a[E],ne=this.Ac(te);if(ne!==void 0){x.add(ne);var se=this.jh(ne);se!==te&&(se!==null?(this.Do(se,te),OS(this,te,se)):(te=this.cloneDeep(te),this.Ks(te,ne),this.fi(te)))}else ne=this.cloneDeep(te),this.fi(ne),x.add(this.Ac(ne))}for(a=y.iterator;a.next();)b=a.value,x.contains(b)||(b=this.jh(b))&&this.bm(b);y.clear(),x.clear()}};function fy(a,y){var x=Ql(a,y,!0);x=a.Vl(x),a.hc(x)===null&&Qu(a,x,y),x=Ql(a,y,!1),x=a.Vl(x),a.hc(x)===null&&Qu(a,x,y);var b=a.Ef(y);if(Array.isArray(b))for(var E=b.length,te=0;te<E;te++)x=b[te],a.hc(x)===null&&Qu(a,x,y)}ot.Jo=function(a){if(a===null)return null;var y=this.Ak;return a=y!==null?y(a,this):pv(this,a,!0),sn(a)&&(hi(a),this.lf!==""&&jo(a,this.lf,void 0),this.mf!==""&&jo(a,this.mf,void 0),this.je!==""&&jo(a,this.je,[])),a},ot.Yu=function(a){if(a===null)return!1;var y=this.jl;return y===""?!1:!!Sa(a,y)},ot.lh=function(a){if(a!==null){var y=this.Je;if(y!==""&&(y=Sa(a,y),y!==void 0)){if(od(y))return y;Ht("GroupKey value for node data "+a+" is not a number or a string: "+y)}}},ot.mp=function(a,y){if(y===null&&(y=void 0),a!==null){var x=this.Je;if(x!=="")if(this.lb(a)){var b=Sa(a,x);b!==y&&(_u(this,b,a),jo(a,x,y),this.hc(y)===null&&Qu(this,y,a),Ra(this,"nodeGroupKey",Ko,x,a,b,y),typeof x=="string"&&this.La(a,x))}else jo(a,x,y)}},ji.prototype.copyNodeData=function(a){return a===null?null:(a=xr.prototype.copyNodeData.call(this,a),this.Ij||this.Je===""||Sa(a,this.Je)===void 0||jo(a,this.Je,void 0),a)},ji.prototype.setDataProperty=function(a,y,x){if(this.lb(a)){if(y===this.nodeKeyProperty){this.km(a,x);return}if(y===this.nodeCategoryProperty){this.jm(a,x);return}if(y===this.nodeGroupKeyProperty){this.mp(a,x);return}}else if(this.Jc(a)){if(y===this.linkFromKeyProperty){Ep(this,a,x,!0);return}if(y===this.linkToKeyProperty){Ep(this,a,x,!1);return}if(y===this.linkFromPortIdProperty){Ap(this,a,x,!0);return}if(y===this.linkToPortIdProperty){Ap(this,a,x,!1);return}if(y===this.linkKeyProperty){this.Ks(a,x);return}if(y===this.linkCategoryProperty){this.lp(a,x);return}if(y===this.linkLabelKeysProperty){this.Ls(a,x);return}}var b=Sa(a,y);b!==x&&(jo(a,y,x),this.Fs(a,y,b,x))},ot=ji.prototype,ot.Do=function(a,y){if(y){var x=this.lb(a),b=this.Jc(a),E;for(E in y)E==="__gohashid"||x&&E===this.nodeKeyProperty||x&&E===this.nodeIsGroupProperty&&Sa(a,E)===y[E]||b&&E===this.linkKeyProperty||this.setDataProperty(a,E,y[E])}},ot.jp=function(a,y){xr.prototype.jp.call(this,a,y);for(var x=this.kb.iterator;x.next();)this.qv(x.value,a,y);for(x=this.$f.iterator;x.next();){var b=x.value,E=a,te=y;if(Ql(this,b,!0)===E){var ne=this.lf;jo(b,ne,te),Ra(this,"linkFromKey",Ko,ne,b,E,te),typeof ne=="string"&&this.La(b,ne)}if(Ql(this,b,!1)===E&&(ne=this.mf,jo(b,ne,te),Ra(this,"linkToKey",Ko,ne,b,E,te),typeof ne=="string"&&this.La(b,ne)),ne=this.Ef(b),Array.isArray(ne))for(var se=ne.length,he=this.je,ve=0;ve<se;ve++)ne[ve]===E&&(ne[ve]=te,Ra(this,"linkLabelKeys",fa,he,b,E,te,ve,ve))}},ot.qv=function(a,y,x){if(this.lh(a)===y){var b=this.Je;jo(a,b,x),Ra(this,"nodeGroupKey",Ko,b,a,y,x),typeof b=="string"&&this.La(a,b)}},ot.Lv=function(){xr.prototype.Lv.call(this);for(var a=this.linkDataArray,y=a.length,x=0;x<y;x++)fy(this,a[x])},ot.fm=function(a){xr.prototype.fm.call(this,a),a=this.wa(a);var y=kg(this,a);if(y!==null){var x=yn();for(y=y.iterator;y.next();){var b=y.value;if(this.lb(b)){if(this.lh(b)===a){var E=this.Je;Ra(this,"nodeGroupKey",Ko,E,b,a,a),typeof E=="string"&&this.La(b,E),x.push(b)}}else if(Ql(this,b,!0)===a&&(E=this.lf,Ra(this,"linkFromKey",Ko,E,b,a,a),typeof E=="string"&&this.La(b,E),x.push(b)),Ql(this,b,!1)===a&&(E=this.mf,Ra(this,"linkToKey",Ko,E,b,a,a),typeof E=="string"&&this.La(b,E),x.push(b)),E=this.Ef(b),Array.isArray(E))for(var te=E.length,ne=this.je,se=0;se<te;se++)E[se]===a&&(Ra(this,"linkLabelKeys",fa,ne,b,a,a,se,se),x.push(b))}for(y=0;y<x.length;y++)_u(this,a,x[y]);Tn(x)}},ot.em=function(a){xr.prototype.em.call(this,a);var y=this.lh(a);this.hc(y)===null&&Qu(this,y,a)},ot.qp=function(a){xr.prototype.qp.call(this,a);var y=this.lh(a);_u(this,y,a)},ot.ps=function(a){if(a===null)return"";var y=this.dj;if(y===""||(y=Sa(a,y),y===void 0))return"";if(typeof y=="string")return y;Ht("getCategoryForLinkData found a non-string category for "+a+": "+y)},ji.prototype.getLinkCategoryForData=function(a){return this.ps(a)},ji.prototype.lp=function(a,y){if(a!==null){var x=this.dj;if(x!=="")if(this.Jc(a)){var b=Sa(a,x);b===void 0&&(b=""),b!==y&&(jo(a,x,y),Ra(this,"linkCategory",Ko,x,a,b,y),typeof x=="string"&&this.La(a,x))}else jo(a,x,y)}},ji.prototype.setLinkCategoryForData=function(a,y){this.lp(a,y)},ot=ji.prototype,ot.lm=function(a,y){xr.prototype.lm.call(this,a,y),this.mp(y,this.lh(a))};function OS(a,y,x){a.lp(x,a.ps(y)),a.wv(x,a.yx(y)),a.Bv(x,a.Bx(y)),a.Ls(x,a.Ef(y)),a.xv(x,a.zx(y)),a.Cv(x,a.Cx(y))}ot.Wj=function(){return!0},ot.ri=function(){return!0},ot.xs=function(){return!0},ot.Xj=function(){return!0},Pt.Object.defineProperties(ji.prototype,{archetypeNodeData:{get:function(){return this.Ri},set:function(a){var y=this.Ri;y!==a&&(this.Ri=a,this.g("archetypeNodeData",y,a))}},linkFromKeyProperty:{get:function(){return this.lf},set:function(a){var y=this.lf;y!==a&&(this.lf=a,this.g("linkFromKeyProperty",y,a))}},linkToKeyProperty:{get:function(){return this.mf},set:function(a){var y=this.mf;y!==a&&(this.mf=a,this.g("linkToKeyProperty",y,a))}},linkFromPortIdProperty:{get:function(){return this.ej},set:function(a){var y=this.ej;y!==a&&(this.ej=a,this.g("linkFromPortIdProperty",y,a))}},linkToPortIdProperty:{get:function(){return this.fj},set:function(a){var y=this.fj;y!==a&&(this.fj=a,this.g("linkToPortIdProperty",y,a))}},linkLabelKeysProperty:{get:function(){return this.je},set:function(a){var y=this.je;y!==a&&(this.je=a,this.g("linkLabelKeysProperty",y,a))}},linkDataArray:{get:function(){return this.md},set:function(a){var y=this.md;if(y!==a){this.wb.clear();for(var x=a.length,b=0;b<x;b++){var E=a[b];sn(E)||Ht("GraphLinksModel.linkDataArray must only contain Objects, not: "+E),Ri(E)}if(this.md=a,this.linkKeyProperty!==""){for(b=new Dn,E=0;E<x;E++){var te=a[E],ne=this.Ac(te);ne===void 0||this.wb.I(ne)!==null?b.add(te):this.wb.add(ne,te)}for(b=b.iterator;b.next();)E=b.value,this.Bs(E),te=this.Ac(E),te!==void 0&&this.wb.add(te,E)}for(b=new On,E=0;E<x;E++)b.add(a[E]);for(this.$f=b,Ra(this,"linkDataArray",Ko,"linkDataArray",this,y,a),y=0;y<x;y++)fy(this,a[y])}}},linkKeyProperty:{get:function(){return this.Jh},set:function(a){var y=this.Jh;if(y!==a){this.Jh=a,this.wb.clear();for(var x=this.linkDataArray.length,b=0;b<x;b++){var E=this.linkDataArray[b],te=this.Ac(E);te===void 0&&(this.Bs(E),te=this.Ac(E)),te!==void 0&&this.wb.add(te,E)}this.g("linkKeyProperty",y,a)}}},makeUniqueLinkKeyFunction:{get:function(){return this.cl},set:function(a){var y=this.cl;y!==a&&(this.cl=a,this.g("makeUniqueLinkKeyFunction",y,a))}},copyLinkDataFunction:{get:function(){return this.Ak},set:function(a){var y=this.Ak;y!==a&&(this.Ak=a,this.g("copyLinkDataFunction",y,a))}},nodeIsGroupProperty:{get:function(){return this.jl},set:function(a){var y=this.jl;y!==a&&(this.jl=a,this.g("nodeIsGroupProperty",y,a))}},nodeGroupKeyProperty:{get:function(){return this.Je},set:function(a){var y=this.Je;y!==a&&(this.Je=a,this.g("nodeGroupKeyProperty",y,a))}},Ij:{get:function(){return this.Lm},set:function(a){this.Lm!==a&&(this.Lm=a)}},linkCategoryProperty:{get:function(){return this.dj},set:function(a){var y=this.dj;y!==a&&(this.dj=a,this.g("linkCategoryProperty",y,a))}},type:{get:function(){return"GraphLinksModel"}}}),ji.prototype.setCategoryForLinkData=ji.prototype.lp,ji.prototype.getCategoryForLinkData=ji.prototype.ps,ji.prototype.assignAllDataProperties=ji.prototype.Do,ji.prototype.setGroupKeyForNodeData=ji.prototype.mp,ji.prototype.getGroupKeyForNodeData=ji.prototype.lh,ji.prototype.isGroupForNodeData=ji.prototype.Yu,ji.prototype.copyLinkData=ji.prototype.Jo,ji.prototype.mergeLinkDataArray=ji.prototype.Zz,ji.prototype.removeLinkDataCollection=ji.prototype.lA,ji.prototype.removeLinkData=ji.prototype.bm,ji.prototype.addLinkDataCollection=ji.prototype.Ey,ji.prototype.addLinkData=ji.prototype.fi,ji.prototype.containsLinkData=ji.prototype.Jc,ji.prototype.makeLinkDataKeyUnique=ji.prototype.Bs,ji.prototype.findLinkDataForKey=ji.prototype.jh,ji.prototype.setKeyForLinkData=ji.prototype.Ks,ji.prototype.getKeyForLinkData=ji.prototype.Ac,ji.prototype.removeLabelKeyForLinkData=ji.prototype.Qx,ji.prototype.addLabelKeyForLinkData=ji.prototype.Bu,ji.prototype.setLabelKeysForLinkData=ji.prototype.Ls,ji.prototype.getLabelKeysForLinkData=ji.prototype.Ef,ji.prototype.setToPortIdForLinkData=ji.prototype.Cv,ji.prototype.getToPortIdForLinkData=ji.prototype.Cx,ji.prototype.setFromPortIdForLinkData=ji.prototype.xv,ji.prototype.getFromPortIdForLinkData=ji.prototype.zx,ji.prototype.setToKeyForLinkData=ji.prototype.Bv,ji.prototype.getToKeyForLinkData=ji.prototype.Bx,ji.prototype.setFromKeyForLinkData=ji.prototype.wv,ji.prototype.getFromKeyForLinkData=ji.prototype.yx,ji.prototype.clear=ji.prototype.clear;var mv=Object.freeze([]);ji.className="GraphLinksModel",Ou.GraphLinksModel=ji,xr.constructGraphLinksModel=xr.constructGraphLinksModel=function(){return new ji},xr.initDiagramModel=hy=function(){return new ji};function Qs(a,y){xr.call(this),this.Ke="parent",this.Nm=!1,this.nj="parentLinkCategory",a!==void 0&&(Cn(a)?this.nodeDataArray=a:y=a),y&&(Object.assign(this,y),a=y.Changed)&&(delete this.Changed,this.Pe(a))}Zt(Qs,xr),Qs.constructGraphLinksModel=xr.constructGraphLinksModel,Qs.prototype.cloneProtected=function(a){xr.prototype.cloneProtected.call(this,a),a.Ke=this.Ke,a.Nm=this.Nm,a.nj=this.nj},ot=Qs.prototype,ot.toString=function(a){if(a===void 0&&(a=0),2<=a)return this.np();var y=(this.name!==""?this.name:"")+" TreeModel";if(0<a){y+=`
node data:`,a=this.nodeDataArray;for(var x=a.length,b=0;b<x;b++){var E=a[b];y+=" "+this.wa(E)+":"+jn(E)}}return y},ot.rm=function(){var a=xr.prototype.rm.call(this),y="";return this.nodeParentKeyProperty!=="parent"&&typeof this.nodeParentKeyProperty=="string"&&(y+=`,
"nodeParentKeyProperty": `+this.quote(this.nodeParentKeyProperty)),a+y},ot.gp=function(a){xr.prototype.gp.call(this,a),a.nodeParentKeyProperty&&(this.nodeParentKeyProperty=a.nodeParentKeyProperty)},ot.fp=function(a){a.nodeParentKeyProperty!==void 0&&a.nodeParentKeyProperty!==this.nodeParentKeyProperty&&Ht("applyIncrementalJson cannot change Model properties"),xr.prototype.fp.call(this,a)},ot.Vl=function(a){return a},ot.mh=function(a){if(a!==null){var y=this.Ke;if(y!==""&&(y=Sa(a,y),y!==void 0)){if(od(y))return y;Ht("ParentKey value for node data "+a+" is not a number or a string: "+y)}}},ot.qe=function(a,y){if(y===null&&(y=void 0),a!==null){var x=this.Ke;if(x!=="")if(y=this.Vl(y),this.lb(a)){var b=Sa(a,x);b!==y&&(_u(this,b,a),jo(a,x,y),this.hc(y)===null&&Qu(this,y,a),Ra(this,"nodeParentKey",Ko,x,a,b,y),typeof x=="string"&&this.La(a,x))}else jo(a,x,y)}},ot.ss=function(a){if(a===null)return"";var y=this.nj;return y===""||(y=Sa(a,y),y===void 0)?"":typeof y=="string"?y:(Ht("getParentLinkCategoryForNodeData found a non-string category for "+a+": "+y),"")},Qs.prototype.getLinkCategoryForData=function(a){return this.ss(a)},Qs.prototype.Ms=function(a,y){if(a!==null){var x=this.nj;if(x!=="")if(this.lb(a)){var b=Sa(a,x);b===void 0&&(b=""),b!==y&&(jo(a,x,y),Ra(this,"parentLinkCategory",Ko,x,a,b,y),typeof x=="string"&&this.La(a,x))}else jo(a,x,y)}},Qs.prototype.setLinkCategoryForData=function(a,y){this.Ms(a,y)},Qs.prototype.copyNodeData=function(a){return a===null?null:(a=xr.prototype.copyNodeData.call(this,a),this.Jj||this.Ke===""||Sa(a,this.Ke)===void 0||jo(a,this.Ke,void 0),a)},Qs.prototype.setDataProperty=function(a,y,x){if(this.lb(a)){if(y===this.nodeKeyProperty){this.km(a,x);return}if(y===this.nodeCategoryProperty){this.jm(a,x);return}if(y===this.nodeParentKeyProperty){this.qe(a,x);return}}var b=Sa(a,y);b!==x&&(jo(a,y,x),this.Fs(a,y,b,x))},ot=Qs.prototype,ot.jp=function(a,y){xr.prototype.jp.call(this,a,y);for(var x=this.kb.iterator;x.next();)this.qv(x.value,a,y)},ot.qv=function(a,y,x){if(this.mh(a)===y){var b=this.Ke;jo(a,b,x),Ra(this,"nodeParentKey",Ko,b,a,y,x),typeof b=="string"&&this.La(a,b)}},ot.fm=function(a){xr.prototype.fm.call(this,a),a=this.wa(a);var y=kg(this,a);if(y!==null){var x=yn();for(y=y.iterator;y.next();){var b=y.value;if(this.lb(b)&&this.mh(b)===a){var E=this.Ke;Ra(this,"nodeParentKey",Ko,E,b,a,a),typeof E=="string"&&this.La(b,E),x.push(b)}}for(y=0;y<x.length;y++)_u(this,a,x[y]);Tn(x)}},ot.em=function(a){xr.prototype.em.call(this,a);var y=this.mh(a);y=this.Vl(y),this.hc(y)===null&&Qu(this,y,a)},ot.qp=function(a){xr.prototype.qp.call(this,a);var y=this.mh(a);_u(this,y,a)},ot.lm=function(a,y){xr.prototype.lm.call(this,a,y),this.Ms(y,this.ss(a)),this.qe(y,this.mh(a))},ot.Tl=function(){return!0},ot.xs=function(){return!0},Pt.Object.defineProperties(Qs.prototype,{nodeParentKeyProperty:{get:function(){return this.Ke},set:function(a){var y=this.Ke;y!==a&&(this.Ke=a,this.g("nodeParentKeyProperty",y,a))}},Jj:{get:function(){return this.Nm},set:function(a){this.Nm!==a&&(this.Nm=a)}},parentLinkCategoryProperty:{get:function(){return this.nj},set:function(a){var y=this.nj;y!==a&&(this.nj=a,this.g("parentLinkCategoryProperty",y,a))}},linkCategoryProperty:{get:function(){return this.parentLinkCategoryProperty},set:function(a){this.parentLinkCategoryProperty=a}},type:{get:function(){return"TreeModel"}}}),Qs.prototype.setParentLinkCategoryForNodeData=Qs.prototype.Ms,Qs.prototype.getParentLinkCategoryForNodeData=Qs.prototype.ss,Qs.prototype.setParentKeyForNodeData=Qs.prototype.qe,Qs.prototype.getParentKeyForNodeData=Qs.prototype.mh,Qs.className="TreeModel",Ou.TreeModel=Qs;function $o(a){Go.call(this),this.lw=this.Zm=this.lc=0,this.Wp=360,this.kw=ku,this.Ti=0,this.Zv=new Lt,this.Jp=this.me=0,this.Xr=new zg,this.gt=this.mj=0,this.ty=600,this.eo=NaN,this.Cm=1,this.ro=0,this.ul=360,this.Rb=ku,this.K=_s,this.nd=Lp,this.hd=oy,this.tf=6,this.Nn=Cv,a&&Object.assign(this,a)}Zt($o,Go),$o.prototype.cloneProtected=function(a){Go.prototype.cloneProtected.call(this,a),a.eo=this.eo,a.Cm=this.Cm,a.ro=this.ro,a.ul=this.ul,a.Rb=this.Rb,a.K=this.K,a.nd=this.nd,a.hd=this.hd,a.tf=this.tf,a.Nn=this.Nn},$o.prototype.qb=function(a){a.classType===$o?a===wv||a===bv||a===Sv||a===xv||a===Lp?this.sorting=a:a===Qd||a===Mp||a===_s||a===sd?this.direction=a:a===Dh||a===ad||a===ku||a===Nu?this.arrangement=a:(a===Tf||a===Cv)&&(this.nodeDiameterFormula=a):Go.prototype.qb.call(this,a)},$o.prototype.createNetwork=function(){return new Tp(this)},$o.prototype.doLayout=function(a){if(this.network===null&&(this.network=this.makeNetwork(a)),this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin),a=this.network.vertexes,1>=a.count)a.count===1&&(a=a.first(),a.centerX=0,a.centerY=0);else{var y=new Dn;y.addAll(a.iterator),a=new Dn;var x=new Dn,b=this.sort(y),E,te,ne=this.Jp,se=this.arrangement,he=this.nodeDiameterFormula,ve=this.radius;(!isFinite(ve)||0>=ve)&&(ve=NaN);var Se=this.aspectRatio;(!isFinite(Se)||0>=Se)&&(Se=1);var Be=this.startAngle;isFinite(Be)||(Be=0);var Ve=this.sweepAngle;if((!isFinite(Ve)||360<Ve||1>Ve)&&(Ve=360),y=this.spacing,isFinite(y)||(y=NaN),se===Nu&&he===Tf?se=ku:se===Nu&&he!==Tf&&(se=this.arrangement),(this.direction===Qd||this.direction===Mp)&&this.sorting!==Lp){for(he=0;!(he>=b.length)&&(a.add(b.M(he)),!(he+1>=b.length));he+=2)x.add(b.M(he+1));this.direction===Qd?(this.arrangement===Nu&&a.reverse(),b=new Dn,b.addAll(a),b.addAll(x)):(this.arrangement===Nu&&x.reverse(),b=new Dn,b.addAll(x),b.addAll(a))}he=b.length;for(var nt=te=E=0;nt<b.length;nt++){var rt=Be+Ve*te*(this.direction===_s?1:-1)/he,ct=b.M(nt).diameter;isNaN(ct)&&(ct=ld(b.M(nt),rt)),360>Ve&&(nt===0||nt===b.length-1)&&(ct/=2),E+=ct,te++}if(isNaN(ve)||se===Nu){if(isNaN(y)&&(y=6),se!==ku&&se!==Nu){for(te=-1/0,ne=0;ne<he;ne++)nt=b.M(ne),E=b.M(ne===he-1?0:ne+1),isNaN(nt.diameter)&&ld(nt,0),isNaN(E.diameter)&&ld(E,0),te=Math.max(te,(nt.diameter+E.diameter)/2);ne=te+y,se===Dh?ve=(te+y)/(2*Math.PI/he):ve=vv(this,ne*(360<=Ve?he:he-1),Se,Be*Math.PI/180,Ve*Math.PI/180)}else ve=vv(this,E+(360<=Ve?he:he-1)*(se!==Nu?y:1.6*y),Se,Be*Math.PI/180,Ve*Math.PI/180);te=ve*Se}else if(te=ve*Se,nt=py(this,ve,te,Be*Math.PI/180,Ve*Math.PI/180),isNaN(y))(se===ku||se===Nu)&&(y=(nt-E)/(360<=Ve?he:he-1));else if(se===ku||se===Nu)nt=(nt-E)/(360<=Ve?he:he-1),nt<y?(ve=vv(this,E+y*(360<=Ve?he:he-1),Se,Be*Math.PI/180,Ve*Math.PI/180),te=ve*Se):y=nt;else{for(ne=-1/0,E=0;E<he;E++)rt=b.M(E),ct=b.M(E===he-1?0:E+1),isNaN(rt.diameter)&&ld(rt,0),isNaN(ct.diameter)&&ld(ct,0),ne=Math.max(ne,(rt.diameter+ct.diameter)/2);ne+=y,E=vv(this,ne*(360<=Ve?he:he-1),Se,Be*Math.PI/180,Ve*Math.PI/180),E>ve?(ve=E,te=ve*Se):ne=nt/(360<=Ve?he:he-1)}if(this.kw=se,this.lc=ve,this.Zm=Se,this.lw=Be,this.Wp=Ve,this.Ti=y,this.me=te,this.Jp=ne,y=b,b=this.kw,se=this.lc,ve=this.lw,Se=this.Wp,Be=this.Ti,Ve=this.me,he=this.Jp,this.direction!==Qd&&this.direction!==Mp||b!==Nu)if(this.direction===Qd||this.direction===Mp){switch(ne=0,b){case ad:ne=180*yv(this,se,Ve,ve,he)/Math.PI;break;case ku:he=y=0,ne=a.first(),ne!==null&&(y=ld(ne,Math.PI/2)),ne=x.first(),ne!==null&&(he=ld(ne,Math.PI/2)),ne=180*yv(this,se,Ve,ve,Be+(y+he)/2)/Math.PI;break;case Dh:ne=Se/y.length}if(this.direction===Qd){switch(b){case ad:Rg(this,a,ve,sd);break;case ku:jg(this,a,ve,sd);break;case Dh:Ig(this,a,Se/2,ve,sd)}switch(b){case ad:Rg(this,x,ve+ne,_s);break;case ku:jg(this,x,ve+ne,_s);break;case Dh:Ig(this,x,Se/2,ve+ne,_s)}}else{switch(b){case ad:Rg(this,x,ve,sd);break;case ku:jg(this,x,ve,sd);break;case Dh:Ig(this,x,Se/2,ve,sd)}switch(b){case ad:Rg(this,a,ve+ne,_s);break;case ku:jg(this,a,ve+ne,_s);break;case Dh:Ig(this,a,Se/2,ve+ne,_s)}}}else switch(b){case ad:Rg(this,y,ve,this.direction);break;case ku:jg(this,y,ve,this.direction);break;case Dh:Ig(this,y,Se,ve,this.direction);break;case Nu:kS(this,y,Se,ve,this.direction)}else kS(this,y,Se,ve-Se/2,_s)}this.updateParts(),this.network=null,this.isValidLayout=!0};function Ig(a,y,x,b,E){var te=a.Wp,ne=a.lc;a=a.me,b=b*Math.PI/180,x=x*Math.PI/180;for(var se=y.length,he=0;he<se;he++){var ve=b+(E===_s?he*x/(360<=te?se:se-1):-(he*x)/se),Se=y.M(he),Be=ne*Math.tan(ve)/a;Be=Math.sqrt((ne*ne+a*a*Be*Be)/(1+Be*Be)),Se.centerX=Be*Math.cos(ve),Se.centerY=Be*Math.sin(ve),Se.actualAngle=180*ve/Math.PI}}function jg(a,y,x,b){var E=a.lc,te=a.me,ne=a.Ti;x=x*Math.PI/180;for(var se=y.length,he=0;he<se;he++){var ve=y.M(he),Se=y.M(he===se-1?0:he+1),Be=te*Math.sin(x);ve.centerX=E*Math.cos(x),ve.centerY=Be,ve.actualAngle=180*x/Math.PI,isNaN(ve.diameter)&&ld(ve,0),isNaN(Se.diameter)&&ld(Se,0),ve=yv(a,E,te,b===_s?x:-x,(ve.diameter+Se.diameter)/2+ne),x+=b===_s?ve:-ve}}function Rg(a,y,x,b){var E=a.lc,te=a.me,ne=a.Jp;x=x*Math.PI/180;for(var se=y.length,he=0;he<se;he++){var ve=y.M(he);ve.centerX=E*Math.cos(x),ve.centerY=te*Math.sin(x),ve.actualAngle=180*x/Math.PI,ve=yv(a,E,te,b===_s?x:-x,ne),x+=b===_s?ve:-ve}}function kS(a,y,x,b,E){var te=a.Wp;if(a.mj=0,a.Xr=new zg,360>x){for(te=b+(E===_s?te:-te);0>te;)te+=360;te%=360,180<te&&(te-=360),te*=Math.PI/180,a.gt=te,BS(a,y,x,b,E)}else NS(a,y,x,b,E);a.Xr.commit(y)}function NS(a,y,x,b,E){var te=a.lc,ne=a.Ti,se=a.Zm,he=te*Math.cos(b*Math.PI/180),ve=a.me*Math.sin(b*Math.PI/180),Se=y.Fa();if(Se.length===3)Se[0].centerX=te,Se[0].centerY=0,Se[1].centerX=Se[0].centerX-Se[0].width/2-Se[1].width/2-ne,Se[1].y=Se[0].y,Se[2].centerX=(Se[0].centerX+Se[1].centerX)/2,Se[2].y=Se[0].y-Se[2].height-ne;else if(Se.length===4)Se[0].centerX=te,Se[0].centerY=0,Se[2].centerX=-Se[0].centerX,Se[2].centerY=Se[0].centerY,Se[1].centerX=0,Se[1].y=Math.min(Se[0].y,Se[2].y)-Se[1].height-ne,Se[3].centerX=0,Se[3].y=Math.max(Se[0].y+Se[0].height+ne,Se[2].y+Se[2].height+ne);else{te=Lt.alloc();for(var Be=0;Be<Se.length&&(Se[Be].centerX=he,Se[Be].centerY=ve,!(Be>=Se.length-1));Be++)IS(a,he,ve,Se,Be,E,te)||jS(a,he,ve,Se,Be,E,te),he=te.x,ve=te.y;if(Lt.free(te),a.mj++,!(23<a.mj)){he=Se[0].centerX,ve=Se[0].centerY,te=Se[Se.length-1].centerX,Be=Se[Se.length-1].centerY;var Ve=Math.abs(he-te)-((Se[0].width+Se[Se.length-1].width)/2+ne),nt=Math.abs(ve-Be)-((Se[0].height+Se[Se.length-1].height)/2+ne);ne=0,1>Math.abs(nt)?Math.abs(he-te)<(Se[0].width+Se[Se.length-1].width)/2&&(ne=0):ne=0<nt?nt:1>Math.abs(Ve)?0:Ve,he=Math.abs(te)>Math.abs(Be)?0<te!=ve>Be:0<Be!=he<te,(he=E===_s?he:!he)&&(ne=-Math.abs(ne),ne=Math.min(ne,-Se[Se.length-1].width),ne=Math.min(ne,-Se[Se.length-1].height)),a.Xr.compare(ne,Se),1<Math.abs(ne)&&(a.lc=8>a.mj?a.lc-ne/(2*Math.PI):5>Se.length&&10<ne?a.lc/2:a.lc-(0<ne?1.7:-2.3),a.me=a.lc*se,NS(a,y,x,b,E))}}}function BS(a,y,x,b,E){for(var te=a.lc,ne=a.me,se=a.Zm,he=te*Math.cos(b*Math.PI/180),ve=ne*Math.sin(b*Math.PI/180),Se=Lt.alloc(),Be=y.Fa(),Ve=0;Ve<Be.length&&(Be[Ve].centerX=he,Be[Ve].centerY=ve,!(Ve>=Be.length-1));Ve++)IS(a,he,ve,Be,Ve,E,Se)||jS(a,he,ve,Be,Ve,E,Se),he=Se.x,ve=Se.y;if(Lt.free(Se),a.mj++,!(23<a.mj)){if(he=Math.atan2(ve,he),he=E===_s?a.gt-he:he-a.gt,he=Math.abs(he)<Math.abs(he-2*Math.PI)?he:he-2*Math.PI,te=he*(te+ne)/2,ne=a.Xr,Math.abs(te)<Math.abs(ne.Pl))for(ne.Pl=te,ne.mk=[],ne.tm=[],he=0;he<Be.length;he++)ne.mk[he]=Be[he].bounds.x,ne.tm[he]=Be[he].bounds.y;1<Math.abs(te)&&(a.lc=8>a.mj?a.lc-te/(2*Math.PI):a.lc-(0<te?1.7:-2.3),a.me=a.lc*se,BS(a,y,x,b,E))}}function IS(a,y,x,b,E,te,ne){var se=a.lc,he=a.me,ve=0;a=(b[E].width+b[E+1].width)/2+a.Ti;var Se=!1;if(0<=x!=(te===_s)){if(te=y+a,te>se){if(te=y-a,te<-se)return ne.x=te,ne.y=ve,!1;Se=!0}}else if(te=y-a,te<-se){if(te=y+a,te>se)return ne.x=te,ne.y=ve,!1;Se=!0}return ve=Math.sqrt(1-Math.min(1,te*te/(se*se)))*he,0>x!==Se&&(ve=-ve),Math.abs(x-ve)>(b[E].height+b[E+1].height)/2?(ne.x=te,ne.y=ve,!1):(ne.x=te,ne.y=ve,!0)}function jS(a,y,x,b,E,te,ne){var se=a.lc,he=a.me,ve=0;if(a=(b[E].height+b[E+1].height)/2+a.Ti,b=!1,0<=y!=(te===_s)){if(te=x-a,te<-he){if(te=x+a,te>he){ne.x=ve,ne.y=te;return}b=!0}}else if(te=x+a,te>he){if(te=x-a,te<-he){ne.x=ve,ne.y=te;return}b=!0}ve=Math.sqrt(1-Math.min(1,te*te/(he*he)))*se,0>y!==b&&(ve=-ve),ne.x=ve,ne.y=te}$o.prototype.commitLayout=function(){this.commitNodes(),this.isRouting&&this.commitLinks()},$o.prototype.commitNodes=function(){var a=this.group!==null&&this.group.placeholder!==null&&this.group.isSubGraphExpanded,y=a?this.group.location.copy():null,x=this.actualCenter;a?x=new Lt(0,0):(x.x=this.arrangementOrigin.x+this.lc,x.y=this.arrangementOrigin.y+this.me);for(var b=this.network.vertexes.iterator;b.next();){var E=b.value;E.x+=x.x,E.y+=x.y,E.commit()}a&&(this.group.Va(),a=this.group.position.copy(),x=this.group.location.copy(),y=y.re(x.re(a)),this.group.move(y),this.Zv=y.re(a))},$o.prototype.commitLinks=function(){for(var a=this.network.edges.iterator;a.next();)a.value.commit()};function py(a,y,x,b,E){var te=a.ty;if(.001>Math.abs(a.Zm-1))return b!==void 0&&E!==void 0?E*y:2*Math.PI*y;a=y>x?Math.sqrt(y*y-x*x)/y:Math.sqrt(x*x-y*y)/x;for(var ne=0,se=b!==void 0&&E!==void 0?E/(te+1):Math.PI/(2*(te+1)),he=0,ve=0;ve<=te;ve++){b!==void 0&&E!==void 0?he=b+ve*E/te:he=ve*Math.PI/(2*te);var Se=Math.sin(he);ne+=Math.sqrt(1-a*a*Se*Se)*se}return b!==void 0&&E!==void 0?(y>x?y:x)*ne:4*(y>x?y:x)*ne}function vv(a,y,x,b,E){return y/(b!==void 0&&E!==void 0?py(a,1,x,b,E):py(a,1,x))}function yv(a,y,x,b,E){if(.001>Math.abs(a.Zm-1))return E/y;var te=y>x?Math.sqrt(y*y-x*x)/y:Math.sqrt(x*x-y*y)/x,ne=0;a=2*Math.PI/(700*a.network.vertexes.count),y>x&&(b+=Math.PI/2);for(var se=0;;se++){var he=Math.sin(b+se*a);if(ne+=(y>x?y:x)*Math.sqrt(1-te*te*he*he)*a,ne>=E)return se*a}}$o.prototype.sort=function(a){switch(this.sorting){case Sv:break;case xv:a.reverse();break;case wv:a.sort(this.comparer);break;case bv:a.sort(this.comparer),a.reverse();break;case Lp:return this.ak(Nx(a));default:Ht("Invalid sorting type.")}return a};function Nx(a){for(var y=[],x=0;x<a.length;x++)y.push(0);x=new Dn;for(var b=0;b<a.length;b++){var E=-1,te=-1;if(b===0)for(var ne=0;ne<a.length;ne++){var se=a.M(ne).edgesCount;se>E&&(E=se,te=ne)}else for(ne=0;ne<a.length;ne++)se=y[ne],se>E&&(E=se,te=ne);for(x.add(a.M(te)),y[te]=-1,te=a.M(te),ne=te.sourceEdges;ne.next();)E=a.indexOf(ne.value.fromVertex),0>E||0<=y[E]&&y[E]++;for(te=te.destinationEdges;te.next();)E=a.indexOf(te.value.toVertex),0>E||0<=y[E]&&y[E]++}return x}$o.prototype.ak=function(a){for(var y=[],x=0;x<a.length;x++){var b=a.M(x);y[x]=[];for(var E,te=b.destinationEdges;te.next();)E=a.indexOf(te.value.toVertex),E!==x&&0>y[x].indexOf(E)&&y[x].push(E);for(b=b.sourceEdges;b.next();)E=a.indexOf(b.value.fromVertex),E!==x&&0>y[x].indexOf(E)&&y[x].push(E)}for(te=[],x=0;x<y.length;x++)te[x]=0;x=[];var ne=[],se=[];b=[],E=new Dn;for(var he=0,ve=0;ve<y.length;ve++){var Se=y[ve].length;if(Se===1)b.push(ve);else if(Se===0)E.add(a.M(ve));else{if(he===0)x.push(ve);else{for(var Be=Se=1/0,Ve=-1,nt=[],rt=0;rt<x.length;rt++)0>y[x[rt]].indexOf(x[rt===x.length-1?0:rt+1])&&nt.push(rt===x.length-1?0:rt+1);if(nt.length===0)for(rt=0;rt<x.length;rt++)nt.push(rt);for(rt=0;rt<nt.length;rt++){for(var ct=nt[rt],kt=y[ve],Mt=0,Rt=0;Rt<ne.length;Rt++){var Ut=te[ne[Rt]],Yt=te[se[Rt]];if(Ut<Yt){var $t=Ut;Ut=Yt}else $t=Yt;if($t<ct&&ct<=Ut)for(Yt=0;Yt<kt.length;Yt++){var dn=kt[Yt];0>x.indexOf(dn)||$t<te[dn]&&te[dn]<Ut||$t===te[dn]||Ut===te[dn]||Mt++}else for(Yt=0;Yt<kt.length;Yt++)dn=kt[Yt],0>x.indexOf(dn)||$t<te[dn]&&te[dn]<Ut&&$t!==te[dn]&&Ut!==te[dn]&&Mt++}for(kt=Mt,Rt=Mt=0;Rt<y[ve].length;Rt++)$t=x.indexOf(y[ve][Rt]),0<=$t&&($t=Math.abs(ct-($t>=ct?$t+1:$t)),Mt+=$t<x.length+1-$t?$t:x.length+1-$t);for(Rt=0;Rt<ne.length;Rt++)$t=te[ne[Rt]],Ut=te[se[Rt]],$t>=ct&&$t++,Ut>=ct&&Ut++,$t>Ut&&(Yt=Ut,Ut=$t,$t=Yt),Ut-$t<(x.length+2)/2==($t<ct&&ct<=Ut)&&Mt++;(kt<Se||kt===Se&&Mt<Be)&&(Se=kt,Be=Mt,Ve=ct)}for(x.splice(Ve,0,ve),Se=0;Se<x.length;Se++)te[x[Se]]=Se;for(Se=0;Se<y[ve].length;Se++)Be=y[ve][Se],0<=x.indexOf(Be)&&(ne.push(ve),se.push(Be))}he++}}for(ne=x.length;;){for(te=!0,se=0;se<b.length;se++)if(he=b[se],ve=y[he][0],Se=x.indexOf(ve),0<=Se){for(Ve=Be=0;Ve<y[ve].length;Ve++)nt=x.indexOf(y[ve][Ve]),0>nt||nt===Se||(rt=nt>Se?nt-Se:Se-nt,Be+=nt<Se!=rt>ne-rt?1:-1);x.splice(0>Be?Se:Se+1,0,he),b.splice(se,1),se--}else te=!1;if(te)break;x.push(b[0]),b.splice(0,1)}for(y=0;y<x.length;y++)E.add(a.M(x[y]));return E},Pt.Object.defineProperties($o.prototype,{radius:{get:function(){return this.eo},set:function(a){this.eo!==a&&(0<a||isNaN(a))&&(this.eo=a,this.C())}},aspectRatio:{get:function(){return this.Cm},set:function(a){this.Cm!==a&&0<a&&(this.Cm=a,this.C())}},startAngle:{get:function(){return this.ro},set:function(a){this.ro!==a&&(this.ro=a,this.C())}},sweepAngle:{get:function(){return this.ul},set:function(a){this.ul!==a&&(0<a&&360>=a?this.ul=a:this.ul=360,this.C())}},arrangement:{get:function(){return this.Rb},set:function(a){this.Rb===a||a!==Nu&&a!==ku&&a!==ad&&a!==Dh||(this.Rb=a,this.C())}},direction:{get:function(){return this.K},set:function(a){this.K===a||a!==_s&&a!==sd&&a!==Qd&&a!==Mp||(this.K=a,this.C())}},sorting:{get:function(){return this.nd},set:function(a){this.nd===a||a!==Sv&&a!==xv&&a!==wv&&!bv&&a!==Lp||(this.nd=a,this.C())}},comparer:{get:function(){return this.hd},set:function(a){this.hd!==a&&(this.hd=a,this.C())}},spacing:{get:function(){return this.tf},set:function(a){this.tf!==a&&(this.tf=a,this.C())}},nodeDiameterFormula:{get:function(){return this.Nn},set:function(a){this.Nn===a||a!==Cv&&a!==Tf||(this.Nn=a,this.C())}},actualXRadius:{get:function(){return this.lc}},actualYRadius:{get:function(){return this.me}},actualSpacing:{get:function(){return this.Ti}},actualCenter:{get:function(){return this.Zv}}});var ku=new wn($o,"ConstantSpacing",0),ad=new wn($o,"ConstantDistance",1),Dh=new wn($o,"ConstantAngle",2),Nu=new wn($o,"Packed",3),_s=new wn($o,"Clockwise",4),sd=new wn($o,"Counterclockwise",5),Qd=new wn($o,"BidirectionalLeft",6),Mp=new wn($o,"BidirectionalRight",7),Sv=new wn($o,"Forwards",8),xv=new wn($o,"Reverse",9),wv=new wn($o,"Ascending",10),bv=new wn($o,"Descending",11),Lp=new wn($o,"Optimized",12),Cv=new wn($o,"Pythagorean",13),Tf=new wn($o,"Circular",14);$o.className="CircularLayout",$o.ConstantSpacing=ku,$o.ConstantDistance=ad,$o.ConstantAngle=Dh,$o.Packed=Nu,$o.Clockwise=_s,$o.Counterclockwise=sd,$o.BidirectionalLeft=Qd,$o.BidirectionalRight=Mp,$o.Forwards=Sv,$o.Reverse=xv,$o.Ascending=wv,$o.Descending=bv,$o.Optimized=Lp,$o.Pythagorean=Cv,$o.Circular=Tf;function zg(){this.Pl=-1/0,this.tm=this.mk=null}zg.prototype.compare=function(a,y){if(0<a&&0>this.Pl||Math.abs(a)<Math.abs(this.Pl)&&!(0>a&&0<this.Pl))for(this.Pl=a,this.mk=[],this.tm=[],a=0;a<y.length;a++)this.mk[a]=y[a].bounds.x,this.tm[a]=y[a].bounds.y},zg.prototype.commit=function(a){if(this.mk!==null&&this.tm!==null)for(var y=0;y<this.mk.length;y++){var x=a.M(y);x.x=this.mk[y],x.y=this.tm[y]}},zg.className="VertexArrangement";function Tp(a){To.call(this,a)}Zt(Tp,To),Tp.prototype.createVertex=function(){return new Wg(this)},Tp.prototype.createEdge=function(){return new Pv(this)},Tp.className="CircularNetwork";function Wg(a){Va.call(this,a),this.u=this.Si=NaN}Zt(Wg,Va);function ld(a,y){var x=a.network;if(x===null)return NaN;if(x=x.layout,x===null)return NaN;if(x.arrangement===Nu)if(x.nodeDiameterFormula===Tf)a.Si=Math.max(a.width,a.height);else{if(x=Math.abs(Math.sin(y)),y=Math.abs(Math.cos(y)),x===0)return a.width;if(y===0)return a.height;a.Si=Math.min(a.height/x,a.width/y)}else a.Si=x.nodeDiameterFormula===Tf?Math.max(a.width,a.height):Math.sqrt(a.width*a.width+a.height*a.height);return a.Si}Pt.Object.defineProperties(Wg.prototype,{diameter:{get:function(){return this.Si},set:function(a){this.Si!==a&&(this.Si=a)}},actualAngle:{get:function(){return this.u},set:function(a){this.u!==a&&(this.u=a)}}}),Wg.className="CircularVertex";function Pv(a){Tl.call(this,a)}Zt(Pv,Tl),Pv.className="CircularEdge";function Ss(a){Go.call(this),this.ah=null,this.An=0,this.$d=new qn(100,100).freeze(),this.Bm=!1,this.sf=!0,this.td=!1,this.dl=100,this.$m=1,this.Zf=1e3,this.In=10,this.fo=Math,this.Hk=.05,this.Gk=50,this.Ek=150,this.Fk=0,this.Vm=10,this.Um=5,a&&Object.assign(this,a)}Zt(Ss,Go),Ss.prototype.cloneProtected=function(a){Go.prototype.cloneProtected.call(this,a),a.$d.assign(this.$d),a.Bm=this.Bm,a.sf=this.sf,a.td=this.td,a.dl=this.dl,a.$m=this.$m,a.Zf=this.Zf,a.In=this.In,a.fo=this.fo,a.Hk=this.Hk,a.Gk=this.Gk,a.Ek=this.Ek,a.Fk=this.Fk,a.Vm=this.Vm,a.Um=this.Um},Ss.prototype.createNetwork=function(){return new Ff(this)},Ss.prototype.doLayout=function(a){if(this.network===null&&(this.network=this.makeNetwork(a)),a=this.maxIterations,0<this.network.vertexes.count){this.network.Ko();for(var y=this.network.vertexes.iterator;y.next();){var x=y.value;x.charge=this.electricalCharge(x),x.mass=this.gravitationalMass(x)}for(y=this.network.edges.iterator;y.next();)x=y.value,x.stiffness=this.springStiffness(x),x.length=this.springLength(x);if(this.Cu(),this.An=0,this.needsClusterLayout()){y=this.network,x=y.Zx();for(var b=x.iterator;b.next();){this.network=b.value;for(var E=this.network.vertexes.iterator;E.next();){var te=E.value;te.Vd=te.vertexes.count,te.sh=1,te.Hj=null,te.We=null}RS(this,0,a)}this.network=y;var ne=b=x.iterator;b=this.arrangementSpacing;var se=ne.count,he=!0;te=E=0;for(var ve=yn(),Se=0;Se<se+y.vertexes.count+2;Se++)ve[Se]=null;se=0,ne.reset();for(var Be=Mn.alloc();ne.next();)if(Se=ne.value,this.computeBounds(Se,Be),he)he=!1,E=Be.x+Be.width/2,te=Be.y+Be.height/2,ve[0]=new Lt(Be.x+Be.width+b.width,Be.y),ve[1]=new Lt(Be.x,Be.y+Be.height+b.height),se=2;else{var Ve=zS(ve,se,E,te,Be.width,Be.height,b),nt=ve[Ve],rt=new Lt(nt.x+Be.width+b.width,nt.y),ct=new Lt(nt.x,nt.y+Be.height+b.height);for(Ve+1<se&&ve.splice(Ve+1,0,null),ve[Ve]=rt,ve[Ve+1]=ct,se++,Ve=nt.x-Be.x,nt=nt.y-Be.y,Se=Se.vertexes.iterator;Se.next();)rt=Se.value,rt.centerX+=Ve,rt.centerY+=nt}for(Mn.free(Be),Se=y.vertexes.iterator;Se.next();)ne=Se.value,Ve=ne.bounds,2>se?(E=Ve.x+Ve.width/2,te=Ve.y+Ve.height/2,ve[0]=new Lt(Ve.x+Ve.width+b.width,Ve.y),ve[1]=new Lt(Ve.x,Ve.y+Ve.height+b.height),se=2):(he=zS(ve,se,E,te,Ve.width,Ve.height,b),Be=ve[he],nt=new Lt(Be.x+Ve.width+b.width,Be.y),Ve=new Lt(Be.x,Be.y+Ve.height+b.height),he+1<se&&ve.splice(he+1,0,null),ve[he]=nt,ve[he+1]=Ve,se++,ne.centerX=Be.x+ne.width/2,ne.centerY=Be.y+ne.height/2);for(Tn(ve),b=x.iterator;b.next();){for(x=b.value,E=x.vertexes.iterator;E.next();)y.dh(E.value);for(x=x.edges.iterator;x.next();)y.Bo(x.value)}}HS(this,a),this.updateParts()}this.dl=a,this.network=null,this.isValidLayout=!0},Ss.prototype.needsClusterLayout=function(){if(3>this.network.vertexes.count)return!1;for(var a=0,y=0,x=this.network.vertexes.first().bounds,b=this.network.vertexes.iterator;b.next();){if(b.value.bounds.Yc(x)&&(a++,2<a))return!0;if(10<y)break;y++}return!1},Ss.prototype.computeBounds=function(a,y){var x=!0;for(a=a.vertexes.iterator;a.next();){var b=a.value;x?(x=!1,y.set(b.bounds)):y.ed(b.bounds)}return y};function RS(a,y,x){if(Bx(a,y)){var b=a.Zf;a.Zf*=1+1/(y+1);var E=Ix(a,y),te=Math.max(0,Math.max(Math.min(a.network.vertexes.count,x*(y+1)/11),10));for(a.maxIterations+=te,RS(a,y+1,x),HS(a,te),jx(a,E),y=E.vertexes.Fa(),y.sort(function(ne,se){return ne===null||se===null||ne===se?0:se.Vd-ne.Vd}),x=0;x<y.length;x++)Rx(a,y[x]);a.Zf=b}}function Bx(a,y){if(10<y||3>a.network.vertexes.count)return!1;for(a.ah=a.network.vertexes.Fa(),a=a.ah,a.sort(function(x,b){return x===null||b===null||x===b?0:b.Vd-x.Vd}),y=a.length-1;0<=y&&1>=a[y].Vd;)y--;return 1<a.length-y}function Ix(a,y){for(var x=a.network,b=new Ff(a),E=0;E<a.ah.length;E++){var te=a.ah[E];if(1<te.Vd){b.dh(te);var ne=new US;ne.Rs=te.Vd,ne.Ss=te.width,ne.Qs=te.height,ne.Sv=te.focus.x,ne.Tv=te.focus.y,te.We===null&&(te.We=new Dn),te.We.add(ne),te.sv=te.We.count-1}else break}for(te=x.edges.iterator;te.next();){var se=te.value;E=se.fromVertex,ne=se.toVertex,E.network===b&&ne.network===b?b.Bo(se):E.network===b?(se=E.Hj,se===null&&(se=new Dn,E.Hj=se),se.add(ne),E.Vd--,E.sh+=ne.sh):ne.network===b&&(se=ne.Hj,se===null&&(se=new Dn,ne.Hj=se),se.add(E),ne.Vd--,ne.sh+=E.sh)}for(E=b.edges.iterator;E.next();)te=E.value,te.length*=Math.max(1,tn.sqrt((te.fromVertex.sh+te.toVertex.sh)/(4*y+1)));for(y=b.vertexes.iterator;y.next();){E=y.value;var he=E.Hj;if(he!==null&&0<he.count&&(ne=E.We.M(E.We.count-1).Rs-E.Vd,!(0>=ne))){for(var ve=se=0,Se=he.count-ne;Se<he.count;Se++){var Be=he.M(Se),Ve=null;for(te=Be.edges.iterator;te.next();){var nt=te.value;if(nt.Ax(Be)===E){Ve=nt;break}}Ve!==null&&(ve+=Ve.length,se+=Be.width*Be.height)}te=E.centerX,he=E.centerY,Se=E.width,Be=E.height,Ve=E.focus,nt=Se*Be,1>nt&&(nt=1),se=tn.sqrt((se+nt+ve*ve*4/(ne*ne))/nt),ne=(se-1)*Se/2,se=(se-1)*Be/2,E.bounds=new Mn(te-Ve.x-ne,he-Ve.y-se,Se+2*ne,Be+2*se),E.focus=new Lt(Ve.x+ne,Ve.y+se)}}return a.network=b,x}function jx(a,y){for(var x=a.network.vertexes.iterator;x.next();){var b=x.value;if(b.network=y,b.We!==null){var E=b.We.M(b.sv);b.Vd=E.Rs;var te=E.Sv,ne=E.Tv;b.bounds=new Mn(b.centerX-te,b.centerY-ne,E.Ss,E.Qs),b.focus=new Lt(te,ne),b.sv--}}for(x=a.network.edges.iterator;x.next();)x.value.network=y;a.network=y}function Rx(a,y){var x=y.Hj;if(x!==null&&x.count!==0){var b=y.centerX,E=y.centerY,te=y.width,ne=y.height;y.We!==null&&0<y.We.count&&(ne=y.We.M(0),te=ne.Ss,ne=ne.Qs),te=tn.sqrt(te*te+ne*ne)/2;for(var se=!1,he=ne=0,ve=0,Se=y.vertexes.iterator;Se.next();){var Be=Se.value;1>=Be.Vd?he++:(se=!0,ve++,ne+=Math.atan2(y.centerY-Be.centerY,y.centerX-Be.centerX))}if(he!==0){for(0<ve&&(ne/=ve),ve=y=0,y=se?2*Math.PI/(he+1):2*Math.PI/he,he%2===0&&(ve=y/2),1<x.count&&x.sort(function(nt,rt){return nt===null||rt===null||nt===rt?0:rt.width*rt.height-nt.width*nt.height}),se=he%2===0?0:1,x=x.iterator;x.next();)if(he=x.value,!(1<he.Vd||a.isFixed(he))){for(Se=null,Be=he.edges.iterator;Be.next();){Se=Be.value;break}Be=he.width;var Ve=he.height;Be=tn.sqrt(Be*Be+Ve*Ve)/2,Se=te+Se.length+Be,Be=ne+(y*(se/2>>1)+ve)*(se%2===0?1:-1),he.centerX=b+Se*Math.cos(Be),he.centerY=E+Se*Math.sin(Be),se++}}}}function zS(a,y,x,b,E,te,ne){var se=9e19,he=-1,ve=0;e:for(;ve<y;ve++){var Se=a[ve],Be=Se.x-x,Ve=Se.y-b;if(Be=Be*Be+Ve*Ve,Be<se){for(Ve=ve-1;0<=Ve;Ve--)if(a[Ve].y>Se.y&&a[Ve].x-Se.x<E+ne.width)continue e;for(Ve=ve+1;Ve<y;Ve++)if(a[Ve].x>Se.x&&a[Ve].y-Se.y<te+ne.height)continue e;he=ve,se=Be}}return he}Ss.prototype.Cu=function(){if(this.comments)for(var a=this.network.vertexes.iterator;a.next();)this.addComments(a.value)},Ss.prototype.addComments=function(a){var y=a.node;if(y!==null)for(y=y.Mu();y.next();){var x=y.value;if(x.category==="Comment"&&x.isVisible()){var b=this.network.ki(x);b===null&&(b=this.network.Bl(x)),b.charge=this.defaultCommentElectricalCharge,x=null;for(var E=b.destinationEdges;E.next();){var te=E.value;if(te.toVertex===a){x=te;break}}if(x===null){for(E=b.sourceEdges;E.next();)if(te=E.value,te.fromVertex===a){x=te;break}}x===null&&(x=this.network.Zj(a,b,null)),x.length=this.defaultCommentSpringLength}}};function WS(a,y){var x=a.bounds,b=x.x;a=x.y;var E=x.width;x=x.height;var te=y.bounds,ne=te.x;y=te.y;var se=te.width;return te=te.height,b+E<ne?a>y+te?(x=b+E-ne,a=a-y-te,tn.sqrt(x*x+a*a)):a+x<y?(b=b+E-ne,a=a+x-y,tn.sqrt(b*b+a*a)):ne-(b+E):b>ne+se?a>y+te?(x=b-ne-se,a=a-y-te,tn.sqrt(x*x+a*a)):a+x<y?(b=b-ne-se,a=a+x-y,tn.sqrt(b*b+a*a)):b-(ne+se):a>y+te?a-(y+te):a+x<y?y-(a+x):.1}function HS(a,y){for(a.ah=null,y=a.An+y;a.An<y&&(a.An++,zx(a)););a.ah=null}function zx(a){a.ah===null&&(a.ah=a.network.vertexes.Fa());var y=a.ah;if(0>=y.length)return!1;var x=y[0];x.forceX=0,x.forceY=0;for(var b=x.centerX,E=b,te=x=x.centerY,ne=1;ne<y.length;ne++){var se=y[ne];se.forceX=0,se.forceY=0;var he=se.centerX;se=se.centerY,b=Math.min(b,he),E=Math.max(E,he),x=Math.min(x,se),te=Math.max(te,se)}(E=E-b>te-x)?y.sort(function(ct,kt){return ct===null||kt===null||ct===kt?0:ct.centerX-kt.centerX}):y.sort(function(ct,kt){return ct===null||kt===null||ct===kt?0:ct.centerY-kt.centerY}),x=a.Zf;var ve=b=se=0;for(te=0;te<y.length;te++){ne=y[te],b=ne.bounds,se=ne.focus,he=b.x+se.x;var Se=b.y+se.y;b=ne.charge*a.electricalFieldX(he,Se),ve=ne.charge*a.electricalFieldY(he,Se),b+=ne.mass*a.gravitationalFieldX(he,Se),ve+=ne.mass*a.gravitationalFieldY(he,Se),ne.forceX+=b,ne.forceY+=ve;for(var Be=te+1;Be<y.length;Be++){var Ve=y[Be];if(Ve!==ne){b=Ve.bounds,se=Ve.focus,ve=b.x+se.x;var nt=b.y+se.y;if(he-ve>x||ve-he>x){if(E)break}else if(Se-nt>x||nt-Se>x){if(!E)break}else{var rt=WS(ne,Ve);1>rt?(b=a.randomNumberGenerator,b===null&&(a.randomNumberGenerator=b=new Ev),rt=b.random(),se=b.random(),he>ve?(b=Math.abs(Ve.bounds.right-ne.bounds.x),b=(1+b)*rt):he<ve?(b=Math.abs(Ve.bounds.x-ne.bounds.right),b=-(1+b)*rt):(b=Math.max(Ve.width,ne.width),b=(1+b)*rt-b/2),Se>nt?(ve=Math.abs(Ve.bounds.bottom-ne.bounds.y),ve=(1+ve)*se):he<ve?(ve=Math.abs(Ve.bounds.y-ne.bounds.bottom),ve=-(1+ve)*se):(ve=Math.max(Ve.height,ne.height),ve=(1+ve)*se-ve/2)):(se=-(ne.charge*Ve.charge)/(rt*rt),b=(ve-he)/rt*se,ve=(nt-Se)/rt*se),ne.forceX+=b,ne.forceY+=ve,Ve.forceX-=b,Ve.forceY-=ve}}}}for(E=a.network.edges.iterator;E.next();)se=E.value,x=se.fromVertex,te=se.toVertex,ne=x.bounds,he=x.focus,b=ne.x+he.x,ne=ne.y+he.y,Se=te.bounds,Be=te.focus,he=Se.x+Be.x,Se=Se.y+Be.y,Be=WS(x,te),1>Be?(Be=a.randomNumberGenerator,Be===null&&(a.randomNumberGenerator=Be=new Ev),se=Be.random(),Be=Be.random(),b=(b>he?1:-1)*(1+(te.width>x.width?te.width:x.width))*se,ve=(ne>Se?1:-1)*(1+(te.height>x.height?te.height:x.height))*Be):(se=se.stiffness*(Be-se.length),b=(he-b)/Be*se,ve=(Se-ne)/Be*se),x.forceX+=b,x.forceY+=ve,te.forceX-=b,te.forceY-=ve;for(E=b=0;E<y.length;E++)x=y[E],a.isFixed(x)?a.moveFixedVertex(x):b=Math.max(b,a.moveVertex(x)||0);return b>a.epsilonDistance*a.epsilonDistance}Ss.prototype.moveVertex=function(a){var y=a.forceX,x=a.forceY,b=this.moveLimit;return y<-b?y=-b:y>b&&(y=b),x<-b?x=-b:x>b&&(x=b),a.centerX+=y,a.centerY+=x,y*y+x*x},Ss.prototype.moveFixedVertex=function(){},Ss.prototype.commitLayout=function(){this.yv(),this.commitNodes(),this.isRouting&&this.commitLinks()},Ss.prototype.yv=function(){if(this.setsPortSpots)for(var a=this.network.edges.iterator;a.next();){var y=a.value.link;y!==null&&(y.fromSpot=io,y.toSpot=io)}},Ss.prototype.commitNodes=function(){var a=0,y=0;if(this.arrangesToOrigin){var x=Mn.alloc();this.computeBounds(this.network,x),y=this.arrangementOrigin,a=y.x-x.x,y=y.y-x.y,Mn.free(x)}x=Mn.alloc();for(var b=this.network.vertexes.iterator;b.next();){var E=b.value;(a!==0||y!==0)&&(x.assign(E.bounds),x.x+=a,x.y+=y,E.bounds=x),E.commit()}Mn.free(x)},Ss.prototype.commitLinks=function(){for(var a=this.network.edges.iterator;a.next();)a.value.commit()},Ss.prototype.springStiffness=function(a){return a=a.stiffness,isNaN(a)?this.Hk:a},Ss.prototype.springLength=function(a){return a=a.length,isNaN(a)?this.Gk:a},Ss.prototype.electricalCharge=function(a){return a=a.charge,isNaN(a)?this.Ek:a},Ss.prototype.electricalFieldX=function(){return 0},Ss.prototype.electricalFieldY=function(){return 0},Ss.prototype.gravitationalMass=function(a){return a=a.mass,isNaN(a)?this.Fk:a},Ss.prototype.gravitationalFieldX=function(){return 0},Ss.prototype.gravitationalFieldY=function(){return 0},Ss.prototype.isFixed=function(a){return a.isFixed},Pt.Object.defineProperties(Ss.prototype,{currentIteration:{get:function(){return this.An}},arrangementSpacing:{get:function(){return this.$d},set:function(a){this.$d.D(a)||(this.$d.assign(a),this.C())}},arrangesToOrigin:{get:function(){return this.Bm},set:function(a){this.Bm!==a&&(this.Bm=a,this.C())}},setsPortSpots:{get:function(){return this.sf},set:function(a){this.sf!==a&&(this.sf=a,this.C())}},comments:{get:function(){return this.td},set:function(a){this.td!==a&&(this.td=a,this.C())}},maxIterations:{get:function(){return this.dl},set:function(a){this.dl!==a&&0<=a&&(this.dl=a,this.C())}},epsilonDistance:{get:function(){return this.$m},set:function(a){this.$m!==a&&0<a&&(this.$m=a,this.C())}},infinityDistance:{get:function(){return this.Zf},set:function(a){this.Zf!==a&&1<a&&(this.Zf=a,this.C())}},moveLimit:{get:function(){return this.In},set:function(a){this.In!==a&&1<a&&(this.In=a,this.C())}},randomNumberGenerator:{get:function(){return this.fo},set:function(a){this.fo!==a&&(a!==null&&typeof a.random!="function"&&Ht('ForceDirectedLayout.randomNumberGenerator must have a "random()" function on it: '+a),this.fo=a)}},defaultSpringStiffness:{get:function(){return this.Hk},set:function(a){this.Hk!==a&&(this.Hk=a,this.C())}},defaultSpringLength:{get:function(){return this.Gk},set:function(a){this.Gk!==a&&(this.Gk=a,this.C())}},defaultElectricalCharge:{get:function(){return this.Ek},set:function(a){this.Ek!==a&&(this.Ek=a,this.C())}},defaultGravitationalMass:{get:function(){return this.Fk},set:function(a){this.Fk!==a&&(this.Fk=a,this.C())}},defaultCommentSpringLength:{get:function(){return this.Vm},set:function(a){this.Vm!==a&&(this.Vm=a,this.C())}},defaultCommentElectricalCharge:{get:function(){return this.Um},set:function(a){this.Um!==a&&(this.Um=a,this.C())}}}),Ss.className="ForceDirectedLayout";function US(){this.Tv=this.Sv=this.Qs=this.Ss=this.Rs=0}US.className="ForceDirectedSubnet";function Ff(a){To.call(this,a)}Zt(Ff,To),Ff.prototype.createVertex=function(){return new Hg(this)},Ff.prototype.createEdge=function(){return new Ug(this)},Ff.className="ForceDirectedNetwork";function Hg(a){Va.call(this,a),this.ia=!1,this.Ha=this.u=NaN,this.sh=this.Vd=this.V=this.F=0,this.We=this.Hj=null,this.sv=0}Zt(Hg,Va),Pt.Object.defineProperties(Hg.prototype,{isFixed:{get:function(){return this.ia},set:function(a){this.ia!==a&&(this.ia=a)}},charge:{get:function(){return this.u},set:function(a){this.u!==a&&(this.u=a)}},mass:{get:function(){return this.Ha},set:function(a){this.Ha!==a&&(this.Ha=a)}},forceX:{get:function(){return this.F},set:function(a){this.F!==a&&(this.F=a)}},forceY:{get:function(){return this.V},set:function(a){this.V!==a&&(this.V=a)}}}),Hg.className="ForceDirectedVertex";function Ug(a){Tl.call(this,a),this.j=this.o=NaN}Zt(Ug,Tl),Pt.Object.defineProperties(Ug.prototype,{stiffness:{get:function(){return this.o},set:function(a){this.o!==a&&(this.o=a)}},length:{get:function(){return this.j},set:function(a){this.j!==a&&(this.j=a)}}}),Ug.className="ForceDirectedEdge";function Ev(){var a=0;a===void 0&&(a=42),this.seed=a,this.ay=48271,this.ey=2147483647,this.Q=44488.07041494893,this.gy=3399,this.by=1/2147483647,this.random()}Ev.prototype.random=function(){var a=this.seed%this.Q*this.ay-this.seed/this.Q*this.gy;return 0<a?this.seed=a:this.seed=a+this.ey,this.seed*this.by},Ev.className="RandomNumberGenerator";function po(a){Go.call(this),this.kc=this.ie=25,this.K=0,this.Dk=Fv,this.Zk=Dv,this.Qk=Ov,this.bj=4,this.rk=kv,this.bg=15,this.sf=!0,this.Cn=4,this.Ra=this.Iq=this.Ia=-1,this.Md=this.Hn=0,this.Ta=this.Kd=this.Ld=this.he=this.tc=null,this.Kn=0,this.Jn=this.kj=null,this.le=0,this.fl=null,this.Rf=new Lt,this.He=[],this.He.length=100,this.xw=this.ve=0,a&&Object.assign(this,a)}Zt(po,Go),po.prototype.cloneProtected=function(a){Go.prototype.cloneProtected.call(this,a),a.ie=this.ie,a.kc=this.kc,a.K=this.K,a.Dk=this.Dk,a.Zk=this.Zk,a.Qk=this.Qk,a.bj=this.bj,a.rk=this.rk,a.bg=this.bg,a.sf=this.sf,a.Cn=this.Cn,a.ve=this.ve},po.prototype.qb=function(a){a.classType===po?a.name.indexOf("Aggressive")===0?this.aggressiveOption=a:a.name.indexOf("Cycle")===0?this.cycleRemoveOption=a:a.name.indexOf("Init")===0?this.initializeOption=a:a.name.indexOf("Layer")===0?this.layeringOption=a:Ht("Unknown enum value: "+a):Go.prototype.qb.call(this,a)},po.prototype.createNetwork=function(){return new Dp(this)},po.prototype.doLayout=function(a){for(this.network===null&&(this.network=this.makeNetwork(a)),this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin),this.Iq=-1,this.Md=this.Hn=0,this.fl=this.Jn=this.kj=null,a=0;a<this.He.length;a++)this.He[a]=null;if(0<this.network.vertexes.count){for(this.network.Ko(),this.cycleRemoveOption!==Zg&&this.removeCycles(),a=this.network.vertexes.iterator;a.next();)a.value.layer=-1;for(this.Ia=-1,this.assignLayers(),a.reset();a.next();)this.Ia=Math.max(this.Ia,a.value.layer);this.cycleRemoveOption===Zg&&this.removeCycles(),a=this.network;for(var y=[],x=a.edges.iterator;x.next();){var b=x.value;b.valid=!1,y.push(b)}for(x=0;x<y.length;x++){b=y[x];var E=b.fromVertex,te=b.toVertex;if(!(b.valid||(E.node===null&&E.data===null||te.node===null&&te.data===null)&&E.layer===te.layer)){var ne=0,se=0,he=0,ve=0;if(b.link!==null){if(se=b.link,se===null)continue;var Se=E.node;if(ne=te.node,Se===null||ne===null)continue;var Be=se.fromNode;he=se.toNode;for(var Ve=se.fromPort;Ve!==null&&!Ve.Ed();)Ve=Ve.panel;for(se=se.toPort;se!==null&&!se.Ed();)se=se.panel;if(b.rev){ve=Be;var nt=Ve;Be=he,Ve=se,he=ve,se=nt}var rt=E.focus;ve=te.focus;var ct=b.rev?te.bounds:E.bounds;nt=Lt.alloc(),Se!==Be?ct.w()&&Be.isVisible()?Be.actualBounds.w()?(Ah(Be,Ve,zi,nt),nt.x+=Be.actualBounds.x-ct.x,nt.y+=Be.actualBounds.y-ct.y):(Ah(Be,Ve,zi,nt),nt.w()||nt.assign(rt)):nt.assign(rt):ct.w()?(Ah(Be,Ve,zi,nt),nt.w()||nt.assign(rt)):nt.assign(rt),Be=b.rev?E.bounds:te.bounds,Se=Lt.alloc(),ne!==he?Be.w()&&he.isVisible()?he.actualBounds.w()?(Ah(he,se,zi,Se),Se.x+=he.actualBounds.x-Be.x,Se.y+=he.actualBounds.y-Be.y):(Ah(he,se,zi,Se),Se.w()||Se.assign(ve)):Se.assign(ve):Be.w()?(Ah(he,se,zi,Se),Se.w()||Se.assign(ve)):Se.assign(ve),this.K===90||this.K===270?(ne=Math.round((nt.x-rt.x)/this.kc),he=nt.x,se=Math.round((Se.x-ve.x)/this.kc),ve=Se.x):(ne=Math.round((nt.y-rt.y)/this.kc),he=nt.y,se=Math.round((Se.y-ve.y)/this.kc),ve=Se.y),Lt.free(nt),Lt.free(Se),b.portFromColOffset=ne,b.portFromPos=he,b.portToColOffset=se,b.portToPos=ve}else b.portFromColOffset=0,b.portFromPos=0,b.portToColOffset=0,b.portToPos=0;if(nt=E.layer,Se=te.layer,Be=0,ct=b.link,ct!==null){var kt=ct.fromPort,Mt=ct.toPort;if(kt!==null&&Mt!==null){var Rt=ct.fromNode;if(Ve=ct.toNode,Rt!==null&&Ve!==null){var Ut=Tv(this,!0),Yt=Tv(this,!1),$t=this.setsPortSpots?Ut:ct.computeSpot(!0,kt);rt=this.setsPortSpots?Yt:ct.computeSpot(!1,Mt);var dn=ct.isOrthogonal;$t.$c()&&$t.Hf(Yt)&&rt.$c()&&rt.Hf(Ut)?Be=0:(Ut=ct.getLinkPoint(Rt,kt,$t,!0,dn,Ve,Mt,Lt.alloc()),Yt=ct.getLinkDirection(Rt,kt,Ut,$t,!0,dn,Ve,Mt),Lt.free(Ut),$t.ys()||Yt!==_S(this,b,!0)?this.setsPortSpots&&Rt!==null&&Rt.ports.count===1&&b.rev&&(Be+=1):Be+=1,$t=ct.getLinkPoint(Ve,Mt,rt,!1,dn,Rt,kt,Lt.alloc()),ct=ct.getLinkDirection(Ve,Mt,$t,rt,!1,dn,Rt,kt),Lt.free($t),rt.ys()||ct!==_S(this,b,!1)?this.setsPortSpots&&Ve!==null&&Ve.ports.count===1&&b.rev&&(Be+=2):Be+=2)}}}if(Ve=Be,Be=Ve===1||Ve===3,(Ve=Ve===2||Ve===3)&&(rt=a.createVertex(),rt.node=null,rt.Dj=1,rt.layer=nt,rt.near=E,a.dh(rt),E=a.Zj(E,rt,b.link),E.valid=!1,E.rev=b.rev,E.portFromColOffset=ne,E.portToColOffset=0,E.portFromPos=he,E.portToPos=0,E=rt),ct=1,Be&&ct--,nt-Se>ct&&0<nt){for(b.valid=!1,rt=a.createVertex(),rt.node=null,rt.Dj=2,rt.layer=nt-1,a.dh(rt),E=a.Zj(E,rt,b.link),E.valid=!0,E.rev=b.rev,E.portFromColOffset=Ve?0:ne,E.portToColOffset=0,E.portFromPos=Ve?0:he,E.portToPos=0,E=rt,nt--;nt-Se>ct&&0<nt;)rt=a.createVertex(),rt.node=null,rt.Dj=3,rt.layer=nt-1,a.dh(rt),E=a.Zj(E,rt,b.link),E.valid=!0,E.rev=b.rev,E.portFromColOffset=0,E.portToColOffset=0,E.portFromPos=0,E.portToPos=0,E=rt,nt--;E=a.Zj(rt,te,b.link),E.valid=!Be,Be&&(rt.near=te),E.rev=b.rev,E.portFromColOffset=0,E.portToColOffset=se,E.portFromPos=0,E.portToPos=ve}else b.valid=!0}}for(a=this.tc=[],y=0;y<=this.Ia;y++)a[y]=0;for(y=this.network.vertexes.iterator;y.next();)y.value.index=-1;for(this.initializeIndices(),this.Iq=-1,x=this.Md=this.Hn=0;x<=this.Ia;x++)a[x]>a[this.Md]&&(this.Iq=a[x]-1,this.Md=x),a[x]<a[this.Hn]&&(this.Hn=x);for(this.fl=[],x=0;x<a.length;x++)this.fl[x]=[];for(y.reset();y.next();)a=y.value,this.fl[a.layer][a.index]=a;for(this.Ra=-1,a=0;a<=this.Ia;a++){for(y=ud(this,a),x=0,b=this.tc[a],te=0;te<b;te++)E=y[te],x+=this.nodeMinColumnSpace(E,!0),E.column=x,x+=1,x+=this.nodeMinColumnSpace(E,!1);this.Ra=Math.max(this.Ra,x-1),cd(this,a,y)}this.reduceCrossings(),this.straightenAndPack(),this.updateParts()}this.network=null,this.isValidLayout=!0},po.prototype.linkMinLength=function(){return 1};function gy(a){var y=a.fromVertex.node||a.fromVertex.data;return a=a.toVertex.node||a.toVertex.data,y===null&&a===null?8:y===null||a===null?4:1}po.prototype.nodeMinLayerSpace=function(a,y){return a.node===null&&a.data===null?0:this.K===90||this.K===270?y?a.focus.y+10:a.bounds.height-a.focus.y+10:y?a.focus.x+10:a.bounds.width-a.focus.x+10},po.prototype.nodeMinColumnSpace=function(a,y){if(a.node===null&&a.data===null)return 0;var x=y?a.ev:a.dv;return x!==null?x:(x=this.K,x===90||x===270?y?a.ev=a.focus.x/this.kc+1|0:a.dv=(a.bounds.width-a.focus.x)/this.kc+1|0:y?a.ev=a.focus.y/this.kc+1|0:a.dv=(a.bounds.height-a.focus.y)/this.kc+1|0)};function hl(a){a.kj===null&&(a.kj=[]);for(var y=0,x=a.network.vertexes.iterator;x.next();){var b=x.value;a.kj[y]=b.layer,y++,a.kj[y]=b.column,y++,a.kj[y]=b.index,y++}return a.kj}function cu(a,y){var x=0;for(a=a.network.vertexes.iterator;a.next();){var b=a.value;b.layer=y[x],x++,b.column=y[x],x++,b.index=y[x],x++}}function GS(a,y,x){var b=ud(a,y),E=a.tc[y];(a.Jn===null||a.Jn.length<E*E)&&(a.Jn=[]);for(var te=a.Jn,ne=0;ne<E;ne++){var se=0,he=b[ne],ve=he.near;if(ve!==null&&ve.layer===he.layer)if(he=ve.index,he>ne)for(var Se=ne+1;Se<he;Se++){var Be=b[Se];Be.near===ve&&Be.Dj===ve.Dj||se++}else for(Se=ne-1;Se>he;Se--)Be=b[Se],Be.near===ve&&Be.Dj===ve.Dj||se++;var Ve;if(0<=x)for(he=b[ne].sourceEdgesArrayAccess,ve=0;ve<he.length;ve++){var nt=he[ve];if(nt.valid&&nt.fromVertex.layer!==y)for(Be=nt.fromVertex.index,Se=nt.portToPos,nt=nt.portFromPos,Ve=ve+1;Ve<he.length;Ve++){var rt=he[Ve];if(rt.valid&&rt.fromVertex.layer!==y){var ct=rt.fromVertex.index,kt=rt.portToPos;rt=rt.portFromPos,Se<kt&&(Be>ct||Be===ct&&nt>rt)&&se++,kt<Se&&(ct>Be||ct===Be&&rt>nt)&&se++}}}if(0>=x){for(he=b[ne].destinationEdgesArrayAccess,ve=0;ve<he.length;ve++)if(nt=he[ve],nt.valid&&nt.toVertex.layer!==y)for(Be=nt.toVertex.index,Se=nt.portToPos,nt=nt.portFromPos,Ve=ve+1;Ve<he.length;Ve++)rt=he[Ve],rt.valid&&rt.toVertex.layer!==y&&(ct=rt.toVertex.index,kt=rt.portToPos,rt=rt.portFromPos,nt<rt&&(Be>ct||Be===ct&&Se>kt)&&se++,rt<nt&&(ct>Be||ct===Be&&kt>Se)&&se++)}for(te[ne*E+ne]=se,he=ne+1;he<E;he++){var Mt=0,Rt=0;if(0<=x){se=b[ne].sourceEdgesArrayAccess;var Ut=b[he].sourceEdgesArrayAccess;for(ve=0;ve<se.length;ve++)if(nt=se[ve],nt.valid&&nt.fromVertex.layer!==y)for(Be=nt.fromVertex.index,nt=nt.portFromPos,Ve=0;Ve<Ut.length;Ve++)rt=Ut[Ve],rt.valid&&rt.fromVertex.layer!==y&&(ct=rt.fromVertex.index,rt=rt.portFromPos,(Be<ct||Be===ct&&nt<rt)&&Rt++,(ct<Be||ct===Be&&rt<nt)&&Mt++)}if(0>=x){for(se=b[ne].destinationEdgesArrayAccess,Ut=b[he].destinationEdgesArrayAccess,ve=0;ve<se.length;ve++)if(nt=se[ve],nt.valid&&nt.toVertex.layer!==y)for(Be=nt.toVertex.index,Se=nt.portToPos,Ve=0;Ve<Ut.length;Ve++)rt=Ut[Ve],rt.valid&&rt.toVertex.layer!==y&&(ct=rt.toVertex.index,kt=rt.portToPos,(Be<ct||Be===ct&&Se<kt)&&Rt++,(ct<Be||ct===Be&&kt<Se)&&Mt++)}te[ne*E+he]=Mt,te[he*E+ne]=Rt}}return cd(a,y,b),te}po.prototype.countCrossings=function(){for(var a=0,y=0;y<=this.Ia;y++)for(var x=GS(this,y,1),b=this.tc[y],E=0;E<b;E++)for(var te=E;te<b;te++)a+=x[E*b+te];return a};function Av(a){for(var y=0,x=0;x<=a.Ia;x++){for(var b=a,E=x,te=ud(b,E),ne=b.tc[E],se=0,he=0;he<ne;he++){var ve=te[he].destinationEdgesArrayAccess;if(ve!==null)for(var Se=0;Se<ve.length;Se++){var Be=ve[Se];if(Be.valid&&Be.toVertex.layer!==E){var Ve=Be.fromVertex.column+Be.portFromColOffset,nt=Be.toVertex.column+Be.portToColOffset;se+=(Math.abs(Ve-nt)+1)*gy(Be)}}}cd(b,E,te),y+=se}return y}po.prototype.normalize=function(){var a=1/0;this.Ra=-1;for(var y=this.network.vertexes.iterator;y.next();){var x=y.value;a=Math.min(a,x.column-this.nodeMinColumnSpace(x,!0)),this.Ra=Math.max(this.Ra,x.column+this.nodeMinColumnSpace(x,!1))}for(y.reset();y.next();)y.value.column-=a;this.Ra-=a};function my(a,y,x){for(var b=ud(a,y),E=a.tc[y],te=[],ne=0;ne<E;ne++){var se=b[ne],he=null;0>=x&&(he=se.sourceEdgesArrayAccess);var ve=null;0<=x&&(ve=se.destinationEdgesArrayAccess);var Se=0,Be=0,Ve=se.near;if(Ve!==null&&Ve.layer===se.layer&&(Se+=Ve.column-1,Be++),he!==null)for(Ve=0;Ve<he.length;Ve++){se=he[Ve];var nt=se.fromVertex;se.valid&&!se.rev&&nt.layer!==y&&(Se+=nt.column,Be++)}if(ve!==null)for(he=0;he<ve.length;he++)se=ve[he],Ve=se.toVertex,se.valid&&!se.rev&&Ve.layer!==y&&(Se+=Ve.column,Be++);te[ne]=Be===0?-1:Se/Be}return cd(a,y,b),te}function ZS(a,y,x){for(var b=ud(a,y),E=a.tc[y],te=[],ne=0;ne<E;ne++){var se=b[ne],he=null;0>=x&&(he=se.sourceEdgesArrayAccess);var ve=null;0<=x&&(ve=se.destinationEdgesArrayAccess);var Se=0,Be=[],Ve=se.near;if(Ve!==null&&Ve.layer===se.layer&&(Be[Se]=Ve.column-1,Se++),se=void 0,he!==null)for(Ve=0;Ve<he.length;Ve++){se=he[Ve];var nt=se.fromVertex;se.valid&&!se.rev&&nt.layer!==y&&(Be[Se]=nt.column+se.portFromColOffset,Se++)}if(ve!==null)for(he=0;he<ve.length;he++)se=ve[he],Ve=se.toVertex,se.valid&&!se.rev&&Ve.layer!==y&&(Be[Se]=Ve.column+se.portToColOffset,Se++);Se===0?te[ne]=-1:(Be.sort(function(rt,ct){return rt-ct}),ve=Se>>1,te[ne]=Se&1?Be[ve]:Be[ve-1]+Be[ve]>>1)}return cd(a,y,b),te}function Gg(a,y,x,b,E,te){if(y.component===b){if(y.component=x,E)for(var ne=y.destinationEdges;ne.next();){var se=ne.value,he=se.toVertex,ve=y.layer-he.layer;se=a.linkMinLength(se),ve===se&&Gg(a,he,x,b,E,te)}if(te)for(ne=y.sourceEdges;ne.next();)se=ne.value,he=se.fromVertex,ve=he.layer-y.layer,se=a.linkMinLength(se),ve===se&&Gg(a,he,x,b,E,te)}}function vy(a,y,x,b,E,te){if(y.component===b){if(y.component=x,E)for(var ne=y.destinationEdges;ne.next();)vy(a,ne.value.toVertex,x,b,E,te);if(te)for(y=y.sourceEdges;y.next();)vy(a,y.value.fromVertex,x,b,E,te)}}po.prototype.removeCycles=function(){for(var a=this.network.edges.iterator;a.next();)a.value.rev=!1;switch(this.Dk){default:case xy:a=this.network;var y=0,x=a.vertexes.count-1,b=[];b.length=x+1;for(var E=a.vertexes.iterator;E.next();)E.value.valid=!0;for(;Wx(a)!==null;){for(E=KS(a);E!==null;)b[x]=E,x--,E.valid=!1,E=KS(a);for(E=VS(a);E!==null;)b[y]=E,y++,E.valid=!1,E=VS(a);E=null;for(var te=0,ne=this.network.vertexes.iterator;ne.next();){var se=ne.value;if(se.valid){for(var he=0,ve=se.destinationEdges;ve.next();)ve.value.toVertex.valid&&he++;ve=0;for(var Se=se.sourceEdges;Se.next();)Se.value.fromVertex.valid&&ve++;(E===null||te<he-ve)&&(E=se,te=he-ve)}}E!==null&&(b[y]=E,y++,E.valid=!1)}for(y=0;y<a.vertexes.count;y++)b[y].index=y;for(b=a.edges.iterator;b.next();)y=b.value,y.fromVertex.index>y.toVertex.index&&(a.gm(y),y.rev=!0);break;case Fv:for(b=this.network.vertexes.iterator;b.next();)a=b.value,a.Ll=-1,a.finish=-1;for(a=this.network.edges.iterator;a.next();)a.value.forest=!1;for(this.Kn=0,b.reset();b.next();)y=b.value,y.sourceEdges.count===0&&yy(this,y);for(b.reset();b.next();)y=b.value,y.Ll===-1&&yy(this,y);for(a.reset();a.next();)b=a.value,b.forest||(y=b.fromVertex,x=y.finish,E=b.toVertex,te=E.finish,E.Ll<y.Ll&&x<te&&(this.network.gm(b),b.rev=!0));break;case Zg:for(a=this.network,y=a.vertexes.iterator,b=1/0;y.next();)b=Math.min(b,y.value.layer);if(1/0>b){if(0>b)for(y.reset();y.next();)y.value.layer-=b;for(b=[],y.reset();y.next();)x=y.value,E=b[x.layer],E===void 0?b[x.layer]=[x]:E.push(x);for(x=y=0;x<b.length;x++)if(E=b[x],!E||E.length===0)y++;else if(0<x)for(te=0;te<E.length;te++)E[te].layer-=y;for(b=a.edges.iterator;b.next();)y=b.value,y.fromVertex.layer<y.toVertex.layer&&(a.gm(y),y.rev=!0)}}};function Wx(a){for(a=a.vertexes.iterator;a.next();){var y=a.value;if(y.valid)return y}return null}function KS(a){for(a=a.vertexes.iterator;a.next();){var y=a.value;if(y.valid){for(var x=!0,b=y.destinationEdges;b.next();)if(b.value.toVertex.valid){x=!1;break}if(x)return y}}return null}function VS(a){for(a=a.vertexes.iterator;a.next();){var y=a.value;if(y.valid){for(var x=!0,b=y.sourceEdges;b.next();)if(b.value.fromVertex.valid){x=!1;break}if(x)return y}}return null}function yy(a,y){y.Ll=a.Kn,a.Kn++;for(var x=y.destinationEdges;x.next();){var b=x.value,E=b.toVertex;E.Ll===-1&&(b.forest=!0,yy(a,E))}y.finish=a.Kn,a.Kn++}po.prototype.assignLayers=function(){switch(this.Zk){case wy:XS(this);break;case by:for(var a,y=this.network.vertexes.iterator;y.next();)a=JS(this,y.value),this.Ia=Math.max(a,this.Ia);for(y.reset();y.next();)a=y.value,a.layer=this.Ia-a.layer;break;default:case Dv:for(XS(this),y=this.network.vertexes.iterator;y.next();)y.value.valid=!1;for(y.reset();y.next();)a=y.value,a.sourceEdges.count===0&&QS(this,a);for(a=1/0,y.reset();y.next();)a=Math.min(a,y.value.layer);for(this.Ia=-1,y.reset();y.next();){var x=y.value;x.layer-=a,this.Ia=Math.max(this.Ia,x.layer)}}};function XS(a){for(var y=a.network.vertexes.iterator;y.next();){var x=YS(a,y.value);a.Ia=Math.max(x,a.Ia)}}function YS(a,y){var x=0;if(y.layer===-1){for(var b=y.destinationEdges;b.next();){var E=b.value,te=E.toVertex;E=a.linkMinLength(E),x=Math.max(x,YS(a,te)+E)}y.layer=x}else x=y.layer;return x}function JS(a,y){var x=0;if(y.layer===-1){for(var b=y.sourceEdges;b.next();){var E=b.value,te=E.fromVertex;E=a.linkMinLength(E),x=Math.max(x,JS(a,te)+E)}y.layer=x}else x=y.layer;return x}function QS(a,y){if(!y.valid){y.valid=!0;for(var x=y.destinationEdges;x.next();)QS(a,x.value.toVertex);for(x=a.network.vertexes.iterator;x.next();)x.value.component=-1;for(var b=y.sourceEdgesArrayAccess,E=b.length,te=0;te<E;te++){var ne=b[te],se=ne.fromVertex,he=ne.toVertex;ne=a.linkMinLength(ne),se.layer-he.layer>ne&&Gg(a,se,0,-1,!0,!1)}for(Gg(a,y,1,-1,!0,!0);y.component!==0;){for(te=0,b=1/0,se=0,he=null,ne=a.network.vertexes.iterator;ne.next();){var ve=ne.value;if(ve.component===1){var Se=0,Be=!1,Ve=ve.sourceEdgesArrayAccess;E=Ve.length;for(var nt=0;nt<E;nt++){var rt=Ve[nt],ct=rt.fromVertex;Se+=1,ct.component!==1&&(te+=1,ct=ct.layer-ve.layer,rt=a.linkMinLength(rt),b=Math.min(b,ct-rt))}for(Ve=ve.destinationEdgesArrayAccess,E=Ve.length,nt=0;nt<E;nt++)rt=Ve[nt].toVertex,--Se,rt.component!==1?--te:Be=!0;(he===null||Se<se)&&!Be&&(he=ve,se=Se)}}if(0<te){for(x.reset();x.next();)E=x.value,E.component===1&&(E.layer+=b);y.component=0}else he.component=0}for(x=a.network.vertexes.iterator;x.next();)x.value.component=-1;for(Gg(a,y,1,-1,!0,!1);y.component!==0;){for(b=0,E=1/0,te=0,se=null,he=a.network.vertexes.iterator;he.next();)if(ne=he.value,ne.component===1){for(ve=0,Se=!1,Ve=ne.sourceEdgesArrayAccess,Be=Ve.length,nt=0;nt<Be;nt++)rt=Ve[nt].fromVertex,ve+=1,rt.component!==1?b+=1:Se=!0;for(Ve=ne.destinationEdgesArrayAccess,Be=Ve.length,nt=0;nt<Be;nt++)rt=Ve[nt],ct=rt.toVertex,--ve,ct.component!==1&&(--b,ct=ne.layer-ct.layer,rt=a.linkMinLength(rt),E=Math.min(E,ct-rt));(se===null||ve>te)&&!Se&&(se=ne,te=ve)}if(0>b){for(x.reset();x.next();)b=x.value,b.component===1&&(b.layer-=E);y.component=0}else se.component=0}}}function _S(a,y,x){return a.K===90?x&&!y.rev||!x&&y.rev?270:90:a.K===180?x&&!y.rev||!x&&y.rev?0:180:a.K===270?x&&!y.rev||!x&&y.rev?90:270:x&&!y.rev||!x&&y.rev?180:0}po.prototype.initializeIndices=function(){switch(this.Qk){default:case Py:for(var a=this.network.vertexes.iterator;a.next();){var y=a.value,x=y.layer;y.index=this.tc[x],this.tc[x]++}break;case Ov:for(a=this.network.vertexes.iterator,y=this.Ia;0<=y;y--)for(a.reset();a.next();)x=a.value,x.layer===y&&x.index===-1&&$S(this,x);break;case Cy:for(a=this.network.vertexes.iterator,y=0;y<=this.Ia;y++)for(a.reset();a.next();)x=a.value,x.layer===y&&x.index===-1&&qS(this,x)}};function $S(a,y){var x=y.layer;for(y.index=a.tc[x],a.tc[x]++,y=y.destinationEdgesArrayAccess,x=!0;x;){x=!1;for(var b=0;b<y.length-1;b++){var E=y[b],te=y[b+1];E.portFromColOffset>te.portFromColOffset&&(x=!0,y[b]=te,y[b+1]=E)}}for(x=0;x<y.length;x++)b=y[x],b.valid&&(b=b.toVertex,b.index===-1&&$S(a,b))}function qS(a,y){var x=y.layer;y.index=a.tc[x],a.tc[x]++,y=y.sourceEdgesArrayAccess;for(var b=!0;b;)for(b=!1,x=0;x<y.length-1;x++){var E=y[x],te=y[x+1];E.portToColOffset>te.portToColOffset&&(b=!0,y[x]=te,y[x+1]=E)}for(x=0;x<y.length;x++)b=y[x],b.valid&&(b=b.fromVertex,b.index===-1&&qS(a,b))}po.prototype.reduceCrossings=function(){var a=this.countCrossings(),y=hl(this),x,b;for(x=0;x<this.bj;x++){for(b=0;b<=this.Ia;b++)Mv(this,b,1),xu(this,b,1);var E=this.countCrossings();for(E<a&&(a=E,y=hl(this)),b=this.Ia;0<=b;b--)Mv(this,b,-1),xu(this,b,-1);E=this.countCrossings(),E<a&&(a=E,y=hl(this))}for(cu(this,y),x=0;x<this.bj;x++){for(b=0;b<=this.Ia;b++)Mv(this,b,0),xu(this,b,0);for(E=this.countCrossings(),E<a&&(a=E,y=hl(this)),b=this.Ia;0<=b;b--)Mv(this,b,0),xu(this,b,0);E=this.countCrossings(),E<a&&(a=E,y=hl(this))}cu(this,y);var te,ne,se;switch(this.rk){case Ey:break;case Ay:for(se=a+1;(b=this.countCrossings())<se;)for(se=b,x=this.Ia;0<=x;x--)for(ne=0;ne<=x;ne++){for(te=!0;te;)for(te=!1,b=x;b>=ne;b--)te=xu(this,b,-1)||te;for(E=this.countCrossings(),E>=a?cu(this,y):(a=E,y=hl(this)),te=!0;te;)for(te=!1,b=x;b>=ne;b--)te=xu(this,b,1)||te;for(E=this.countCrossings(),E>=a?cu(this,y):(a=E,y=hl(this)),te=!0;te;)for(te=!1,b=ne;b<=x;b++)te=xu(this,b,1)||te;for(E>=a?cu(this,y):(a=E,y=hl(this)),te=!0;te;)for(te=!1,b=ne;b<=x;b++)te=xu(this,b,-1)||te;for(E>=a?cu(this,y):(a=E,y=hl(this)),te=!0;te;)for(te=!1,b=x;b>=ne;b--)te=xu(this,b,0)||te;for(E>=a?cu(this,y):(a=E,y=hl(this)),te=!0;te;)for(te=!1,b=ne;b<=x;b++)te=xu(this,b,0)||te;E>=a?cu(this,y):(a=E,y=hl(this))}break;default:case kv:for(x=this.Ia,ne=0,se=a+1;(b=this.countCrossings())<se;){for(se=b,te=!0;te;)for(te=!1,b=x;b>=ne;b--)te=xu(this,b,-1)||te;for(E=this.countCrossings(),E>=a?cu(this,y):(a=E,y=hl(this)),te=!0;te;)for(te=!1,b=x;b>=ne;b--)te=xu(this,b,1)||te;for(E=this.countCrossings(),E>=a?cu(this,y):(a=E,y=hl(this)),te=!0;te;)for(te=!1,b=ne;b<=x;b++)te=xu(this,b,1)||te;for(E>=a?cu(this,y):(a=E,y=hl(this)),te=!0;te;)for(te=!1,b=ne;b<=x;b++)te=xu(this,b,-1)||te;for(E>=a?cu(this,y):(a=E,y=hl(this)),te=!0;te;)for(te=!1,b=x;b>=ne;b--)te=xu(this,b,0)||te;for(E>=a?cu(this,y):(a=E,y=hl(this)),te=!0;te;)for(te=!1,b=ne;b<=x;b++)te=xu(this,b,0)||te;E>=a?cu(this,y):(a=E,y=hl(this))}}cu(this,y)};function Mv(a,y,x){var b=ud(a,y),E=a.tc[y],te=ZS(a,y,x),ne=my(a,y,x);for(x=0;x<E;x++)ne[x]===-1&&(ne[x]=b[x].column),te[x]===-1&&(te[x]=b[x].column);for(var se=!0,he;se;)for(se=!1,x=0;x<E-1;x++)(te[x+1]<te[x]||te[x+1]===te[x]&&ne[x+1]<ne[x])&&(se=!0,he=te[x],te[x]=te[x+1],te[x+1]=he,he=ne[x],ne[x]=ne[x+1],ne[x+1]=he,he=b[x],b[x]=b[x+1],b[x+1]=he);for(x=te=0;x<E;x++)he=b[x],he.index=x,te+=a.nodeMinColumnSpace(he,!0),he.column=te,te+=1,te+=a.nodeMinColumnSpace(he,!1);cd(a,y,b)}function xu(a,y,x){var b=ud(a,y),E=a.tc[y];x=GS(a,y,x);var te,ne=[];for(te=0;te<E;te++)ne[te]=-1;var se=[];for(te=0;te<E;te++)se[te]=-1;for(var he=!1,ve=!0;ve;)for(ve=!1,te=0;te<E-1;te++){var Se=x[b[te].index*E+b[te+1].index],Be=x[b[te+1].index*E+b[te].index],Ve=0,nt=0,rt=b[te].column,ct=b[te+1].column,kt=a.nodeMinColumnSpace(b[te],!0),Mt=a.nodeMinColumnSpace(b[te],!1),Rt=a.nodeMinColumnSpace(b[te+1],!0),Ut=a.nodeMinColumnSpace(b[te+1],!1);kt=rt-kt+Rt,Mt=ct-Mt+Ut;var Yt=b[te].sourceEdges.iterator;for(Yt.reset();Yt.next();)if(Rt=Yt.value,Ut=Rt.fromVertex,Rt.valid&&Ut.layer===y){for(Rt=0;b[Rt]!==Ut;)Rt++;Rt<te&&(Ve+=2*(te-Rt),nt+=2*(te+1-Rt)),Rt===te+1&&(Ve+=1),Rt>te+1&&(Ve+=4*(Rt-te),nt+=4*(Rt-(te+1)))}for(Yt=b[te].destinationEdges.iterator,Yt.reset();Yt.next();)if(Rt=Yt.value,Ut=Rt.toVertex,Rt.valid&&Ut.layer===y){for(Rt=0;b[Rt]!==Ut;)Rt++;Rt===te+1&&(nt+=1)}for(Yt=b[te+1].sourceEdges.iterator,Yt.reset();Yt.next();)if(Rt=Yt.value,Ut=Rt.fromVertex,Rt.valid&&Ut.layer===y){for(Rt=0;b[Rt]!==Ut;)Rt++;Rt<te&&(Ve+=2*(te+1-Rt),nt+=2*(te-Rt)),Rt===te&&(nt+=1),Rt>te+1&&(Ve+=4*(Rt-(te+1)),nt+=4*(Rt-te))}for(Yt=b[te+1].destinationEdges.iterator,Yt.reset();Yt.next();)if(Rt=Yt.value,Ut=Rt.toVertex,Rt.valid&&Ut.layer===y){for(Rt=0;b[Rt]!==Ut;)Rt++;Rt===te&&(Ve+=1)}Rt=Ut=0,Yt=ne[b[te].index];var $t=se[b[te].index],dn=ne[b[te+1].index],rr=se[b[te+1].index];Yt!==-1&&(Ut+=Math.abs(Yt-rt),Rt+=Math.abs(Yt-Mt)),$t!==-1&&(Ut+=Math.abs($t-rt),Rt+=Math.abs($t-Mt)),dn!==-1&&(Ut+=Math.abs(dn-ct),Rt+=Math.abs(dn-kt)),rr!==-1&&(Ut+=Math.abs(rr-ct),Rt+=Math.abs(rr-kt)),(nt<Ve-.5||nt===Ve&&Be<Se-.5||nt===Ve&&Be===Se&&Rt<Ut-.5)&&(ve=he=!0,b[te].column=Mt,b[te+1].column=kt,Se=b[te],b[te]=b[te+1],b[te+1]=Se)}for(te=0;te<E;te++)b[te].index=te;return cd(a,y,b),he}po.prototype.straightenAndPack=function(){if(this.ve===0){var a=(this.bg&1)!==0,y=(this.bg&Yx)!==0;if(1e3<this.network.edges.count&&y&&(a=!1),a){var x=[];for(y=0;y<=this.Ia;y++)x[y]=0;for(var b,E=this.network.vertexes.iterator;E.next();){var te=E.value;y=te.layer,b=te.column,te=this.nodeMinColumnSpace(te,!1),x[y]=Math.max(x[y],b+te)}for(E.reset();E.next();)te=E.value,y=te.layer,b=te.column,te.column=(8*(this.Ra-x[y])>>1)+8*b;this.Ra*=8}if(this.bg&2)for(x=!0;x;){for(x=!1,y=this.Md+1;y<=this.Ia;y++)x=Fp(this,y,1)||x;for(y=this.Md-1;0<=y;y--)x=Fp(this,y,-1)||x;x=Fp(this,this.Md,0)||x}if(this.bg&4){for(y=this.Md+1;y<=this.Ia;y++)Sy(this,y,1);for(y=this.Md-1;0<=y;y--)Sy(this,y,-1);Sy(this,this.Md,0)}if(a&&(ex(this,-1),ex(this,1)),this.bg&2)for(x=!0;x;){for(x=!1,x=Fp(this,this.Md,0)||x,y=this.Md+1;y<=this.Ia;y++)x=Fp(this,y,0)||x;for(y=this.Md-1;0<=y;y--)x=Fp(this,y,0)||x}}else Zx(this)};function Fp(a,y,x){for(var b=!1;Hx(a,y,x);)b=!0;return b}function Hx(a,y,x){var b,E=ud(a,y),te=a.tc[y],ne=my(a,y,-1);if(0<x)for(b=0;b<te;b++)ne[b]=-1;var se=my(a,y,1);if(0>x)for(b=0;b<te;b++)se[b]=-1;for(var he=!1,ve=!0;ve;)for(ve=!1,b=0;b<te;b++){var Se=E[b].column,Be=a.nodeMinColumnSpace(E[b],!0),Ve=a.nodeMinColumnSpace(E[b],!1),nt=0;0>b-1||Se-E[b-1].column-1>Be+a.nodeMinColumnSpace(E[b-1],!1)?nt=Se-1:nt=Se,Be=b+1>=te||E[b+1].column-Se-1>Ve+a.nodeMinColumnSpace(E[b+1],!0)?Se+1:Se;var rt=Ve=0,ct=0;if(0>=x)for(var kt=E[b].sourceEdges.iterator;kt.next();){var Mt=kt.value,Rt=Mt.fromVertex;if(Mt.valid&&Rt.layer!==y){var Ut=gy(Mt),Yt=Mt.portFromColOffset;Mt=Mt.portToColOffset,Rt=Rt.column,Ve+=(Math.abs(Se+Mt-(Rt+Yt))+1)*Ut,rt+=(Math.abs(nt+Mt-(Rt+Yt))+1)*Ut,ct+=(Math.abs(Be+Mt-(Rt+Yt))+1)*Ut}}if(0<=x)for(kt=E[b].destinationEdges.iterator;kt.next();)Mt=kt.value,Rt=Mt.toVertex,Mt.valid&&Rt.layer!==y&&(Ut=gy(Mt),Yt=Mt.portFromColOffset,Mt=Mt.portToColOffset,Rt=Rt.column,Ve+=(Math.abs(Se+Yt-(Rt+Mt))+1)*Ut,rt+=(Math.abs(nt+Yt-(Rt+Mt))+1)*Ut,ct+=(Math.abs(Be+Yt-(Rt+Mt))+1)*Ut);Mt=Yt=Ut=0,kt=ne[E[b].index],Rt=se[E[b].index],kt!==-1&&(Ut+=Math.abs(kt-Se),Yt+=Math.abs(kt-nt),Mt+=Math.abs(kt-Be)),Rt!==-1&&(Ut+=Math.abs(Rt-Se),Yt+=Math.abs(Rt-nt),Mt+=Math.abs(Rt-Be)),rt<Ve||rt===Ve&&Yt<Ut?(ve=he=!0,E[b].column=nt):(ct<Ve||ct===Ve&&Mt<Ut)&&(ve=he=!0,E[b].column=Be)}return cd(a,y,E),a.normalize(),he}function Sy(a,y,x){var b=ud(a,y),E=a.tc[y],te=ZS(a,y,x),ne=[];for(x=0;x<E;x++)ne[x]=te[x];for(te=!0;te;)for(te=!1,x=0;x<E;x++){var se=b[x].column,he=a.nodeMinColumnSpace(b[x],!0),ve=a.nodeMinColumnSpace(b[x],!1),Se=0;if(ne[x]===-1)if(x===0&&x===E-1)Se=se;else if(x===0){var Be=b[x+1].column;Be-se===ve+a.nodeMinColumnSpace(b[x+1],!0)?Se=se-1:Se=se}else x===E-1?(Be=b[x-1].column,Se=se-Be===he+a.nodeMinColumnSpace(b[x-1],!1)?se+1:se):(Be=b[x-1].column,he=Be+a.nodeMinColumnSpace(b[x-1],!1)+he+1,Be=b[x+1].column,ve=Be-a.nodeMinColumnSpace(b[x+1],!0)-ve-1,Se=(he+ve)/2|0);else x===0&&x===E-1?Se=ne[x]:x===0?(Be=b[x+1].column,ve=Be-a.nodeMinColumnSpace(b[x+1],!0)-ve-1,Se=Math.min(ne[x],ve)):x===E-1?(Be=b[x-1].column,he=Be+a.nodeMinColumnSpace(b[x-1],!1)+he+1,Se=Math.max(ne[x],he)):(Be=b[x-1].column,he=Be+a.nodeMinColumnSpace(b[x-1],!1)+he+1,Be=b[x+1].column,ve=Be-a.nodeMinColumnSpace(b[x+1],!0)-ve-1,he<ne[x]&&ne[x]<ve?Se=ne[x]:he>=ne[x]?Se=he:ve<=ne[x]&&(Se=ve));Se!==se&&(te=!0,b[x].column=Se)}cd(a,y,b),a.normalize()}function Ux(a,y){for(var x=!0,b=a.network.vertexes.iterator;b.next();){var E=b.value,te=a.nodeMinColumnSpace(E,!0),ne=a.nodeMinColumnSpace(E,!1);if(E.column-te<=y&&E.column+ne>=y){x=!1;break}}if(a=!1,x)for(b.reset();b.next();)x=b.value,x.column>y&&(--x.column,a=!0);return a}function Gx(a,y){var x=y+1,b,E=[],te=[];for(b=0;b<=a.Ia;b++)E[b]=!1,te[b]=!1;for(var ne=a.network.vertexes.iterator;ne.next();){b=ne.value;var se=b.column-a.nodeMinColumnSpace(b,!0),he=b.column+a.nodeMinColumnSpace(b,!1);se<=y&&he>=y&&(E[b.layer]=!0),se<=x&&he>=x&&(te[b.layer]=!0)}for(se=!0,x=!1,b=0;b<=a.Ia;b++)se=se&&!(E[b]&&te[b]);if(se)for(ne.reset();ne.next();)a=ne.value,a.column>y&&(--a.column,x=!0);return x}function ex(a,y){for(var x=0;x<=a.Ra;x++)for(;Ux(a,x););for(a.normalize(),x=0;x<a.Ra;x++)for(;Gx(a,x););a.normalize();var b;if(0<y)for(x=0;x<=a.Ra;x++){var E=hl(a),te=Av(a);for(b=te+1;te<b;){b=te,tx(a,x,1);var ne=Av(a);ne>te?cu(a,E):ne<te&&(te=ne,E=hl(a))}}if(0>y)for(x=a.Ra;0<=x;x--)for(E=hl(a),te=Av(a),b=te+1;te<b;)b=te,tx(a,x,-1),ne=Av(a),ne>te?cu(a,E):ne<te&&(te=ne,E=hl(a));a.normalize()}function tx(a,y,x){a.le=0;for(var b=a.network.vertexes.iterator;b.next();)b.value.component=-1;if(0<x)for(b.reset();b.next();){var E=b.value;E.column-a.nodeMinColumnSpace(E,!0)<=y&&(E.component=a.le)}if(0>x)for(b.reset();b.next();)E=b.value,E.column+a.nodeMinColumnSpace(E,!1)>=y&&(E.component=a.le);for(a.le++,b.reset();b.next();)y=b.value,y.component===-1&&(vy(a,y,a.le,-1,!0,!0),a.le++);var te;for(y=[],te=0;te<a.le*a.le;te++)y[te]=!1;for(E=[],te=0;te<(a.Ia+1)*(a.Ra+1);te++)E[te]=-1;for(b.reset();b.next();){te=b.value;for(var ne=te.layer,se=Math.max(0,te.column-a.nodeMinColumnSpace(te,!0)),he=Math.min(a.Ra,te.column+a.nodeMinColumnSpace(te,!1));se<=he;se++)E[ne*(a.Ra+1)+se]=te.component}for(te=0;te<=a.Ia;te++){if(0<x)for(ne=0;ne<a.Ra;ne++)E[te*(a.Ra+1)+ne]!==-1&&E[te*(a.Ra+1)+ne+1]!==-1&&E[te*(a.Ra+1)+ne]!==E[te*(a.Ra+1)+ne+1]&&(y[E[te*(a.Ra+1)+ne]*a.le+E[te*(a.Ra+1)+ne+1]]=!0);if(0>x)for(ne=a.Ra;0<ne;ne--)E[te*(a.Ra+1)+ne]!==-1&&E[te*(a.Ra+1)+ne-1]!==-1&&E[te*(a.Ra+1)+ne]!==E[te*(a.Ra+1)+ne-1]&&(y[E[te*(a.Ra+1)+ne]*a.le+E[te*(a.Ra+1)+ne-1]]=!0)}for(E=[],te=0;te<a.le;te++)E[te]=!0;for(ne=[],ne.push(0);ne.length!==0;)if(he=ne[ne.length-1],ne.pop(),E[he])for(E[he]=!1,te=0;te<a.le;te++)y[he*a.le+te]&&ne.splice(0,0,te);if(0<x)for(b.reset();b.next();)a=b.value,E[a.component]&&--a.column;if(0>x)for(b.reset();b.next();)x=b.value,E[x.component]&&(x.column+=1)}function Zx(a){for(var y=yn(),x=a.fl.length,b=0;b<=x;b++)y[b]=[];for(b=a.network.vertexes.iterator;b.next();){var E=b.value;y[x-E.layer][E.index]=E}x=new On,Kx(y,x);var te=null,ne=null,se=null,he=null,ve=(a.ve&1)!==0,Se=(a.ve&2)!==0,Be=(a.ve&4)!==0,Ve=(a.ve&8)!==0;for(ve&&(a.verticalAlignment(y,x,!0),te=Lv(a,y,!0,!1)),y.reverse(),Be&&(a.verticalAlignment(y,x,!1),se=Lv(a,y,!1,!1)),b=gi(y),E=b.next();!E.done;E=b.next())E.value.reverse();Ve&&(a.verticalAlignment(y,x,!1),he=Lv(a,y,!1,!0)),y.reverse(),Se&&(a.verticalAlignment(y,x,!0),ne=Lv(a,y,!0,!0)),Tn(y),a.u(te,ne,se,he),a.network.vertexes.each(function(nt){var rt=yn();ve&&rt.push(te.get(nt)),Se&&rt.push(ne.get(nt)),Be&&rt.push(se.get(nt)),Ve&&rt.push(he.get(nt)),rt.sort(function(kt,Mt){return kt-Mt});var ct=rt.length;ct=(rt[Math.floor((ct-1)/2)]+rt[Math.ceil((ct-1)/2)])/2,Tn(rt),nt.zc=ct})}function Kx(a,y){for(var x=a.length,b=1;b<x-1;b++)for(var E=0,te=0,ne=a[b],se=a[b+1],he=0;te<se.length;he++){var ve=se[he];e:{if(ve.node===null){var Se=My(ve);if(0<Se.length){Se=Se[0].node===null;break e}}Se=!1}var Be=Se;if(he===se.length-1||Be){for(Se=ne.length-1,Be&&(Se=My(ve)[0].index);te<=he;){if(ve=se[te],!ve.bo){Be=[];for(var Ve=gi(ve.sourceEdgesArrayAccess),nt=Ve.next();!nt.done;nt=Ve.next())nt=nt.value,nt.valid&&Be.push(nt);ve.bo=Be}for(ve=gi(ve.bo),Be=ve.next();!Be.done;Be=ve.next())Be=Be.value,Ve=Be.fromVertex.index,(Ve<E||Ve>Se)&&y.add(Be);te++}E=Se}}}po.prototype.verticalAlignment=function(a,y,x){Vx(a),a=gi(a);for(var b=a.next();!b.done;b=a.next()){var E=-1;b=gi(b.value);for(var te=b.next();!te.done;te=b.next()){te=te.value;var ne=x?My(te):Jx(te),se=ne.length;if(0<se){ne.sort(function(Be,Ve){return Be.vi-Ve.vi});var he=(se-1)/2;for(se=Math.floor(he),he=Math.ceil(he);se<=he;se++)if(te.align===te){var ve=ne[se],Se=void 0;Se=x?Nv(ve,te):Nv(te,ve),!y.contains(Se)&&E<ve.vi&&(ve.align=te,te.root=ve.root,te.align=ve.root,E=ve.vi)}}}}};function Vx(a){for(var y=0;y<a.length;y++)for(var x=a[y],b=0;b<x.length;b++){var E=x[b];E.root=E,E.align=E,E.Tz=y,E.vi=b}}function Lv(a,y,x,b){for(var E=a.K===90||a.K===270,te=gi(y),ne=te.next();!ne.done;ne=te.next()){var se=gi(ne.value);for(ne=se.next();!ne.done;ne=se.next())ne=ne.value,ne.sd=ne,ne.shift=1/0,ne.zc=NaN,ne.qg=0}for(ne=a.K===90||a.K===270,te=gi(y),se=te.next();!se.done;se=te.next()){se=gi(se.value);for(var he=se.next();!he.done;he=se.next())if(he=he.value,he.root===he){for(var ve=0,Se=he;Se.align!==he;){var Be=Se.align,Ve=ne?Se.width:Se.height,nt=ne?Be.width:Be.height;if(x){var rt=Nv(Se,Be),ct=rt.portFromPos,kt=rt.portToPos;rt.link!==null&&(Se.node&&Se.node!==rt.link.fromNode&&(ct=ne?Se.focusX:Se.focusY),Be.node&&Be.node!==rt.link.toNode&&(kt=ne?Be.focusX:Be.focusY))}else rt=Nv(Be,Se),ct=rt.portToPos,kt=rt.portFromPos,rt.link!==null&&(Se.node&&Se.node!==rt.link.toNode&&(ct=ne?Se.focusX:Se.focusY),Be.node&&Be.node!==rt.link.fromNode&&(kt=ne?Be.focusX:Be.focusY));Ve=b?Se.qg+(Ve-ct)-(nt-kt):Se.qg+ct-kt,Be.qg=Ve,ve=Math.min(ve,Ve),Se=Se.align}Se=he;do Se.qg=Se.qg-ve,Se=Se.align;while(Se!==he)}}for(x=gi(y),ne=x.next();!ne.done;ne=x.next())for(te=gi(ne.value),ne=te.next();!ne.done;ne=te.next())ne=ne.value,ne.root===ne&&nx(a,ne,y);for(x=0;x<y.length;x++)if(!(0>=y[x].length)&&(ne=y[x][0],ne.sd===ne)){ne.sd.shift===1/0&&(ne.sd.shift=0),ne=x,se=0;do{for(te=y[ne][se];te.align!==te.root;)te=te.align,ne++,0<te.vi&&(se=rx(te,y),se.sd.shift=Math.min(se.sd.shift,te.sd.shift+te.zc+te.qg-(se.zc+se.qg+(E?se.width:se.height)+a.columnSpacing)));se=te.vi+1}while(ne<y.length&&se<y[ne].length&&te.sd===y[ne][se].sd)}for(a=new pr,y=gi(y),ne=y.next();!ne.done;ne=y.next())for(x=gi(ne.value),ne=x.next();!ne.done;ne=x.next())ne=ne.value,ne.zc=ne.zc+ne.sd.shift+ne.qg,te=E?ne.width:ne.height,a.add(ne,b?-ne.zc-te:ne.zc);return a}function nx(a,y,x){if(isNaN(y.zc)){y.zc=0;var b=y;do{if(0<b.vi){var E=rx(b,x),te=E.root;nx(a,te,x),y.sd===y&&(y.sd=te.sd);var ne=a.K===90||a.K===270?E.width:E.height;y.sd===te.sd&&(y.zc=Math.max(y.zc,te.zc+E.qg+ne-b.qg+a.columnSpacing))}b=b.align}while(b!==y);for(;b.align!==y;)b=b.align,b.zc=y.zc,b.sd=y.sd}}function rx(a,y){var x=a.Tz;return a=a.vi,1>a&&Ht("Could not determine previous vertex in layer"),y[x][a-1]}po.prototype.u=function(a){for(var y=[],x=0;x<arguments.length;++x)y[x]=arguments[x];x=-1;for(var b=yn(),E=yn(),te=1/0,ne=0;4>ne;ne++)if(y[ne]){var se=Xx(this,y[ne],b,E,ne);se<te&&(x=ne,te=se)}for(te={},ne=0;4>ne;te={delta:te.delta},ne++)y[ne]&&(te.delta=ne===0||ne===2?b[x]-b[ne]:E[x]-E[ne],te.delta!==0&&y[ne].each(function(he){return function(ve){ve.value+=he.delta}}(te)));Tn(b),Tn(E)};function Xx(a,y,x,b,E){if(!y||y.count===0)return x[E]=0,b[E]=0,1/0;var te=1/0,ne=-1/0;return y.each(function(se){var he=se.key;se=se.value,he=a.K===90||a.K===270?he.width:he.height,se<te&&(te=se),se+he>ne&&(ne=se+he)}),x[E]=te,b[E]=ne,ne-te}po.prototype.commitLayout=function(){if(this.setsPortSpots)for(var a=Tv(this,!0),y=Tv(this,!1),x=this.network.edges.iterator;x.next();){var b=x.value.link;b!==null&&(b.fromSpot=a,b.toSpot=y)}this.commitNodes(),this.Gu(),this.isRouting&&this.commitLinks()};function Tv(a,y){return a.K===270?y?ga:Ua:a.K===90?y?Ua:ga:a.K===180?y?La:Ya:y?Ya:La}po.prototype.commitNodes=function(){this.he=[],this.Ld=[],this.Kd=[],this.Ta=[];for(var a=0;a<=this.Ia;a++)this.he[a]=0,this.Ld[a]=0,this.Kd[a]=0,this.Ta[a]=0;for(a=this.network.vertexes.iterator;a.next();){var y=a.value,x=y.layer;this.he[x]=Math.max(this.he[x],this.nodeMinLayerSpace(y,!0)),this.Ld[x]=Math.max(this.Ld[x],this.nodeMinLayerSpace(y,!1))}y=0,x=this.ie;for(var b=0;b<=this.Ia;b++){var E=x;0>=this.he[b]+this.Ld[b]&&(E=0),0<b&&(y+=E/2),this.K===90||this.K===0?(y+=this.Ld[b],this.Kd[b]=y,y+=this.he[b]):(y+=this.he[b],this.Kd[b]=y,y+=this.Ld[b]),b<this.Ia&&(y+=E/2),this.Ta[b]=y}for(x=y,y=this.arrangementOrigin,b=0;b<=this.Ia;b++)this.K===270?this.Kd[b]=y.y+this.Kd[b]:this.K===90?(this.Kd[b]=y.y+x-this.Kd[b],this.Ta[b]=x-this.Ta[b]):this.K===180?this.Kd[b]=y.x+this.Kd[b]:(this.Kd[b]=y.x+x-this.Kd[b],this.Ta[b]=x-this.Ta[b]);x=this.ve!==0,a.reset(),b=this.K===270||this.K===90;for(var te=1/0,ne=E=1/0,se=-1/0;a.next();){var he=a.value,ve=he.layer,Se=he.column|0;b?(ne=y.x+this.kc*Se,ve=this.Kd[ve]):(ne=this.Kd[ve],ve=y.y+this.kc*Se),he.centerX=ne,he.centerY=ve,x&&isFinite(he.zc)&&(b?he.node?he.x=y.x+he.zc:he.centerX=y.x+he.zc:he.node?he.y=y.y+he.zc:he.centerY=y.y+he.zc),te=Math.min(he.x,te),E=Math.min(he.y,E),b?(ne=te,se=Math.max(se,he.bounds.right)):(ne=E,se=Math.max(se,he.bounds.bottom))}for(this.xw=se-ne,te=y.x-te,y=y.y-E,this.Rf=new Lt(x&&b?0:te,x&&!b?0:y),a.reset();a.next();)x=a.value,x.x+=te,x.y+=y,x.commit()},po.prototype.Gu=function(){for(var a=0,y=this.ie,x=0;x<=this.Ia;x++)a+=this.he[x],a+=this.Ld[x];a+=this.Ia*y,y=[],x=this.ve!==0?this.xw:this.kc*this.Ra;for(var b=this.maxLayer;0<=b;b--)this.K===270?b===0?y.push(new Mn(0,0,x,Math.abs(this.Ta[0]))):y.push(new Mn(0,this.Ta[b-1],x,Math.abs(this.Ta[b-1]-this.Ta[b]))):this.K===90?b===0?y.push(new Mn(0,this.Ta[0],x,Math.abs(this.Ta[0]-a))):y.push(new Mn(0,this.Ta[b],x,Math.abs(this.Ta[b-1]-this.Ta[b]))):this.K===180?b===0?y.push(new Mn(0,0,Math.abs(this.Ta[0]),x)):y.push(new Mn(this.Ta[b-1],0,Math.abs(this.Ta[b-1]-this.Ta[b]),x)):b===0?y.push(new Mn(this.Ta[0],0,Math.abs(this.Ta[0]-a),x)):y.push(new Mn(this.Ta[b],0,Math.abs(this.Ta[b-1]-this.Ta[b]),x));this.commitLayers(y,this.Rf)},po.prototype.commitLayers=function(){},po.prototype.commitLinks=function(){for(var a=this.network.edges.iterator,y;a.next();)y=a.value.link,y!==null&&(y.uh(),y.Fj(),y.zf());for(a.reset();a.next();)y=a.value.link,y!==null&&y.vg();for(a.reset();a.next();){var x=a.value;if(y=x.link,y!==null){y.uh();var b=y,E=b.fromNode,te=b.toNode,ne=b.fromPort,se=b.toPort;if(E!==null){var he=E.findVisibleNode();he!==null&&he!==E&&(E=he,ne=he.port)}te!==null&&(he=te.findVisibleNode(),he!==null&&he!==te&&(te=he,se=he.port));var ve=y.computeSpot(!0,ne);he=y.computeSpot(!1,se);var Se=x.fromVertex,Be=x.toVertex;if(x.valid)y.curve===Jl&&y.pointsCount===4&&(Se.column===Be.column&&this.alignOption===0?(x=y.getLinkPoint(E,ne,ve,!0,!1,te,se),se=y.getLinkPoint(te,se,he,!1,!1,E,ne),x.w()||x.set(E.actualBounds.center),se.w()||se.set(te.actualBounds.center),y.Fj(),y.yf(x.x,x.y),y.yf((2*x.x+se.x)/3,(2*x.y+se.y)/3),y.yf((x.x+2*se.x)/3,(x.y+2*se.y)/3),y.yf(se.x,se.y)):(x=b=!1,ne!==null&&ve===ua&&(b=!0),se!==null&&he===ua&&(x=!0),(b||x)&&(he=null,b&&(he=y.getLinkPointFromPoint(E,ne,ne.ga(zi),y.i(3),!0),he.w()||he.set(E.actualBounds.center),y.L(0,he.x,he.y)),E=null,x&&(E=y.getLinkPointFromPoint(te,se,se.ga(zi),y.i(0),!1),E.w()||E.set(te.actualBounds.center),y.L(3,E.x,E.y)),he&&(te=y.i(2),y.L(1,(2*he.x+te.x)/3,(2*he.y+te.y)/3)),E&&(te=y.i(1),y.L(2,(2*E.x+te.x)/3,(2*E.y+te.y)/3))))),y.zf();else if(Se.layer===Be.layer)y.zf();else{var Ve=!1,nt=!1,rt=this.ie,ct=y.firstPickIndex+1;if(y.isOrthogonal){nt=!0;var kt=y.pointsCount;4<kt&&y.points.removeRange(2,kt-3)}else if(y.curve===Jl)Ve=!0,kt=y.pointsCount,4<kt&&y.points.removeRange(2,kt-3),kt===4&&(ct=2);else{kt=y.pointsCount;var Mt=ve===ua,Rt=he===ua;2<kt&&Mt&&Rt?y.points.removeRange(1,kt-2):3<kt&&Mt&&!Rt?y.points.removeRange(1,kt-3):3<kt&&!Mt&&Rt?y.points.removeRange(2,kt-2):4<kt&&!Mt&&!Rt&&y.points.removeRange(2,kt-3)}if(x.rev){for(;Be!==null&&Se!==Be;){var Ut=kt=null;for(Mt=Be.sourceEdges.iterator;Mt.next()&&(Rt=Mt.value,Rt.link!==x.link||(kt=Rt.fromVertex,Ut=Rt.toVertex,kt.node!==null)););if(kt===null)break;if(kt!==Se){Mt=y.i(ct-1).x,Rt=y.i(ct-1).y;var Yt=kt.centerX,$t=kt.centerY;if(nt)this.K===180||this.K===0?ct===y.firstPickIndex+1?(y.m(ct++,Mt,Rt),y.m(ct++,Mt,$t)):(Ut!==null?Ut.centerY:Rt)!==$t&&(Ut=this.Ta[kt.layer-1]+this.Rf.x,y.m(ct++,Ut,Rt),y.m(ct++,Ut,$t)):ct===y.firstPickIndex+1?(y.m(ct++,Mt,Rt),y.m(ct++,Yt,Rt)):(Ut!==null?Ut.centerX:Mt)!==Yt&&(Ut=this.Ta[kt.layer-1]+this.Rf.y,y.m(ct++,Mt,Ut),y.m(ct++,Yt,Ut));else if(ct===y.firstPickIndex+1){Ut=Math.max(10,this.he[Be.layer]);var dn=Math.max(10,this.Ld[Be.layer]);if(Ve)this.K===180?Yt<=Be.bounds.x?(Be=Be.bounds.x,y.m(ct++,Be-Ut,$t),y.m(ct++,Be,$t),y.m(ct++,Be+dn,$t)):(y.m(ct++,Yt-Ut,$t),y.m(ct++,Yt,$t),y.m(ct++,Yt+dn,$t)):this.K===90?$t>=Be.bounds.bottom?(Be=Be.bounds.y+Be.bounds.height,y.m(ct++,Yt,Be+dn),y.m(ct++,Yt,Be),y.m(ct++,Yt,Be-Ut)):(y.m(ct++,Yt,$t+dn),y.m(ct++,Yt,$t),y.m(ct++,Yt,$t-Ut)):this.K===270?$t<=Be.bounds.y?(Be=Be.bounds.y,y.m(ct++,Yt,Be-Ut),y.m(ct++,Yt,Be),y.m(ct++,Yt,Be+dn)):(y.m(ct++,Yt,$t-Ut),y.m(ct++,Yt,$t),y.m(ct++,Yt,$t+dn)):this.K===0&&(Yt>=Be.bounds.right?(Be=Be.bounds.x+Be.bounds.width,y.m(ct++,Be+dn,$t),y.m(ct++,Be,$t),y.m(ct++,Be-Ut,$t)):(y.m(ct++,Yt+dn,$t),y.m(ct++,Yt,$t),y.m(ct++,Yt-Ut,$t)));else{y.m(ct++,Mt,Rt);var rr=0;this.K===180||this.K===0?((this.K===180?Yt>=Be.bounds.right:Yt<=Be.bounds.x)&&(rr=(this.K===0?-Ut:dn)/2),y.m(ct++,Mt+rr,$t)):((this.K===270?$t>=Be.bounds.bottom:$t<=Be.bounds.y)&&(rr=(this.K===90?-Ut:dn)/2),y.m(ct++,Yt,Rt+rr)),y.m(ct++,Yt,$t)}}else Ut=Math.max(10,this.he[kt.layer]),dn=Math.max(10,this.Ld[kt.layer]),Ve?this.K===180?(y.m(ct++,Yt-Ut-rt,$t),y.m(ct++,Math.min(Yt-Ut+rt/2,Yt),$t),y.m(ct++,Yt,$t),y.m(ct++,Yt,$t),y.m(ct++,Math.max(Yt+dn-rt/2,Yt),$t),y.m(ct++,Yt+dn+rt,$t)):this.K===90?(y.m(ct++,Yt,$t+dn+rt),y.m(ct++,Yt,Math.max($t+dn-rt/2,$t)),y.m(ct++,Yt,$t),y.m(ct++,Yt,$t),y.m(ct++,Yt,Math.min($t-Ut+rt/2,$t)),y.m(ct++,Yt,$t-Ut-rt)):this.K===270?(y.m(ct++,Yt,$t-Ut-rt),y.m(ct++,Yt,Math.min($t-Ut+rt/2,$t)),y.m(ct++,Yt,$t),y.m(ct++,Yt,$t),y.m(ct++,Yt,Math.max($t+dn-rt/2,$t)),y.m(ct++,Yt,$t+dn+rt)):(y.m(ct++,Yt+dn+rt,$t),y.m(ct++,Math.max(Yt+dn-rt/2,Yt),$t),y.m(ct++,Yt,$t),y.m(ct++,Yt,$t),y.m(ct++,Math.min(Yt-Ut+rt/2,Yt),$t),y.m(ct++,Yt-Ut-rt,$t)):y.m(ct++,Yt,$t)}Be=kt}(se===null||ve!==ua||nt)&&(Mt=y.i(ct-1).x,Rt=y.i(ct-1).y,Yt=y.i(ct).x,$t=y.i(ct).y,nt?(rt=this.Ld[Se.layer],this.K===180||this.K===0?(nt=Rt,nt>=Se.bounds.y&&nt<=Se.bounds.bottom&&(this.K===180?Yt>=Se.bounds.x:Yt<=Se.bounds.right)&&(Be=Se.centerX+(this.K===180?-rt:rt),nt<Se.bounds.y+Se.bounds.height/2?nt=Se.bounds.y-this.kc/2:nt=Se.bounds.bottom+this.kc/2,y.m(ct++,Be,Rt),y.m(ct++,Be,nt)),y.m(ct++,Yt,nt)):(nt=Mt,nt>=Se.bounds.x&&nt<=Se.bounds.right&&(this.K===270?$t>=Se.bounds.y:$t<=Se.bounds.bottom)&&(Be=Se.centerY+(this.K===270?-rt:rt),nt<Se.bounds.x+Se.bounds.width/2?nt=Se.bounds.x-this.kc/2:nt=Se.bounds.right+this.kc/2,y.m(ct++,Mt,Be),y.m(ct++,nt,Be)),y.m(ct++,nt,$t)),y.m(ct++,Yt,$t)):Ve?(Ut=Math.max(10,this.he[Se.layer]),dn=Math.max(10,this.Ld[Se.layer]),this.K===180&&Yt>=Se.bounds.x?(Be=Se.bounds.x+Se.bounds.width,y.L(ct-2,Be,Rt),y.L(ct-1,Be+dn,Rt)):this.K===90&&$t<=Se.bounds.bottom?(Be=Se.bounds.y,y.L(ct-2,Mt,Be),y.L(ct-1,Mt,Be-Ut)):this.K===270&&$t>=Se.bounds.y?(Be=Se.bounds.y+Se.bounds.height,y.L(ct-2,Mt,Be),y.L(ct-1,Mt,Be+dn)):this.K===0&&Yt<=Se.bounds.right&&(Be=Se.bounds.x,y.L(ct-2,Be,Rt),y.L(ct-1,Be-Ut,Rt))):(Ut=Math.max(10,this.he[Se.layer]),dn=Math.max(10,this.Ld[Se.layer]),nt=0,this.K===180||this.K===0?((this.K===180?Yt<=Se.bounds.x:Yt>=Se.bounds.right)&&(nt=(this.K===0?dn:-Ut)/2),y.m(ct++,Yt+nt,Rt)):((this.K===270?$t<=Se.bounds.y:$t>=Se.bounds.bottom)&&(nt=(this.K===90?dn:-Ut)/2),y.m(ct++,Mt,$t+nt)),y.m(ct++,Yt,$t)))}else{for(;Se!==null&&Se!==Be;){for(Ut=kt=null,Se=Se.destinationEdges.iterator;Se.next()&&(Mt=Se.value,Mt.link!==x.link||(kt=Mt.toVertex,Ut=Mt.fromVertex,Ut.node!==null&&(Ut=null),kt.node!==null)););if(kt===null)break;kt!==Be&&(Mt=y.i(ct-1).x,Rt=y.i(ct-1).y,Yt=kt.centerX,$t=kt.centerY,nt?this.K===180||this.K===0?(Ut!==null?Ut.centerY:Rt)!==$t&&(Ut=this.Ta[kt.layer]+this.Rf.x,ct===y.firstPickIndex+1&&(Ut=this.K===0?Math.max(Ut,Mt):Math.min(Ut,Mt)),y.m(ct++,Ut,Rt),y.m(ct++,Ut,$t)):(Ut!==null?Ut.centerX:Mt)!==Yt&&(Ut=this.Ta[kt.layer]+this.Rf.y,ct===y.firstPickIndex+1&&(Ut=this.K===90?Math.max(Ut,Rt):Math.min(Ut,Rt)),y.m(ct++,Mt,Ut),y.m(ct++,Yt,Ut)):(Ut=Math.max(10,this.he[kt.layer]),dn=Math.max(10,this.Ld[kt.layer]),Ve?this.K===180?(y.m(ct++,Yt+dn+rt,$t),y.m(ct++,Math.max(Yt+dn-rt/2,Yt),$t),y.m(ct++,Yt,$t),y.m(ct++,Yt,$t),y.m(ct++,Math.min(Yt-Ut+rt/2,Yt),$t),y.m(ct++,Yt-Ut-rt,$t)):this.K===90?(y.m(ct++,Yt,$t-Ut-rt),y.m(ct++,Yt,Math.min($t-Ut+rt/2,$t)),y.m(ct++,Yt,$t),y.m(ct++,Yt,$t),y.m(ct++,Yt,Math.max($t+dn-rt/2,$t)),y.m(ct++,Yt,$t+dn+rt)):this.K===270?(y.m(ct++,Yt,$t+dn+rt),y.m(ct++,Yt,Math.max($t+dn-rt/2,$t)),y.m(ct++,Yt,$t),y.m(ct++,Yt,$t),y.m(ct++,Yt,Math.min($t-Ut+rt/2,$t)),y.m(ct++,Yt,$t-Ut-rt)):(y.m(ct++,Yt-Ut-rt,$t),y.m(ct++,Math.min(Yt-Ut+rt/2,Yt),$t),y.m(ct++,Yt,$t),y.m(ct++,Yt,$t),y.m(ct++,Math.max(Yt+dn-rt/2,Yt),$t),y.m(ct++,Yt+dn+rt,$t)):this.K===180?(y.m(ct++,Yt+dn,$t),y.m(ct++,Yt-Ut,$t)):this.K===90?(y.m(ct++,Yt,$t-Ut),y.m(ct++,Yt,$t+dn)):this.K===270?(y.m(ct++,Yt,$t+dn),y.m(ct++,Yt,$t-Ut)):(y.m(ct++,Yt-Ut,$t),y.m(ct++,Yt+dn,$t)))),Se=kt}nt&&(Mt=y.i(ct-1).x,Rt=y.i(ct-1).y,Yt=y.i(ct).x,$t=y.i(ct).y,this.K===180||this.K===0?Rt!==$t&&(Ut=this.K===0?Math.min(Math.max((Yt+Mt)/2,this.Ta[Be.layer]+this.Rf.x),Yt):Math.max(Math.min((Yt+Mt)/2,this.Ta[Be.layer]+this.Rf.x),Yt),y.m(ct++,Ut,Rt),y.m(ct++,Ut,$t)):Mt!==Yt&&(Ut=this.K===90?Math.min(Math.max(($t+Rt)/2,this.Ta[Be.layer]+this.Rf.y),$t):Math.max(Math.min(($t+Rt)/2,this.Ta[Be.layer]+this.Rf.y),$t),y.m(ct++,Mt,Ut),y.m(ct++,Yt,Ut)))}b!==null&&Ve&&4<=y.pointsCount&&(ne!==null&&(ne=ve===ua?y.getLinkPointFromPoint(E,ne,ne.ga(zi),y.i(3),!0):y.i(0),ve===ua&&(ve=y.i(2),b=y.i(3),this.direction===90||this.direction===270?(y.L(1,(ne.x+ve.x)/2,ve.y),y.L(2,b.x,(ve.y+b.y)/2)):(y.L(1,ve.x,(ne.y+ve.y)/2),y.L(2,(ve.x+b.x)/2,b.y))),ne.w()||ne.set(E.actualBounds.center),y.L(0,ne.x,ne.y)),se!==null&&(E=he===ua?y.getLinkPointFromPoint(te,se,se.ga(zi),y.i(y.pointsCount-4),!1):y.i(y.pointsCount-1),he===ua&&(se=y.i(y.pointsCount-3),he=y.i(y.pointsCount-4),this.direction===90||this.direction===270?(y.L(y.pointsCount-2,(E.x+se.x)/2,se.y),y.L(y.pointsCount-2,he.x,(se.y+he.y)/2)):(y.L(y.pointsCount-2,se.x,(E.y+se.y)/2),y.L(y.pointsCount-3,(se.x+he.x)/2,he.y))),E.w()||E.set(te.actualBounds.center),y.L(y.pointsCount-1,E.x,E.y))),y.zf(),x.commit()}}}this.avoidOrthogonalOverlaps()},po.prototype.avoidOrthogonalOverlaps=function(){if(!(0>=this.linkSpacing)){for(var a=new Dn,y=this.network.edges.iterator;y.next();){var x=y.value.link;x!==null&&x.isOrthogonal&&!a.contains(x)&&a.add(x)}if(0<a.count)if(this.K===90||this.K===270){for(y=0,x=[],a=a.iterator;a.next();){var b=a.value;if(b!==null&&b.isOrthogonal)for(var E=2;E<b.pointsCount-3;E++){var te=b.i(E),ne=b.i(E+1);if(this.B(te.y,ne.y)&&!this.B(te.x,ne.x)){var se=new hd;se.layer=Math.floor(te.y/2);var he=b.i(0),ve=b.i(b.pointsCount-1);if(se.first=he.x*he.x+he.y,se.jc=ve.x*ve.x+ve.y,se.rd=Math.min(te.x,ne.x),se.Ic=Math.max(te.x,ne.x),se.index=E,se.link=b,E+2<b.pointsCount){he=b.i(E-1),ve=b.i(E+2);var Se=0;he.y<te.y?Se=ve.y<te.y?3:te.x<ne.x?2:1:he.y>te.y&&(Se=ve.y>te.y?0:ne.x<te.x?2:1),se.j=Se}x.push(se)}}}if(1<x.length)for(x.sort(this.Vx),a=0;a<x.length;){for(te=x[a].layer,b=a+1;b<x.length&&x[b].layer===te;)b++;if(1<b-a)for(te=a;te<b;){for(ne=x[te].Ic,E=a+1;E<b&&x[E].rd<ne;)ne=Math.max(ne,x[E].Ic),E++;if(ne=E-te,1<ne){for(this.zi(x,this.Js,te,te+ne),Se=1,se=x[te].jc,he=te;he<E;he++)ve=x[he],ve.jc!==se&&(Se++,se=ve.jc);this.zi(x,this.Ux,te,te+ne);var Be=1;for(se=x[te].first,he=te;he<E;he++)ve=x[he],ve.first!==se&&(Be++,se=ve.first);for(he=!0,ve=Be,Se<Be?(he=!1,ve=Se,se=x[te].jc,this.zi(x,this.Js,te,te+ne)):se=x[te].first,Se=0,Be=te;Be<E;Be++){var Ve=x[Be];(he?Ve.first:Ve.jc)!==se&&(Se++,se=he?Ve.first:Ve.jc);var nt=Ve.link;te=nt.i(Ve.index),ne=nt.i(Ve.index+1);var rt=this.linkSpacing*(Se-(ve-1)/2);y++,nt.uh(),nt.L(Ve.index,te.x,te.y+rt),nt.L(Ve.index+1,ne.x,ne.y+rt),nt.zf()}}te=E}a=b}}else{for(y=0,x=[],a=a.iterator;a.next();)if(b=a.value,b!==null&&b.isOrthogonal)for(E=2;E<b.pointsCount-3;E++)te=b.i(E),ne=b.i(E+1),this.B(te.x,ne.x)&&!this.B(te.y,ne.y)&&(se=new hd,se.layer=Math.floor(te.x/2),he=b.i(0),ve=b.i(b.pointsCount-1),se.first=he.x+he.y*he.y,se.jc=ve.x+ve.y*ve.y,se.rd=Math.min(te.y,ne.y),se.Ic=Math.max(te.y,ne.y),se.index=E,se.link=b,E+2<b.pointsCount&&(he=b.i(E-1),ve=b.i(E+2),Se=0,he.x<te.x?Se=ve.x<te.x?3:te.y<ne.y?2:1:he.x>te.x&&(Se=ve.x>te.x?0:ne.y<te.y?2:1),se.j=Se),x.push(se));if(1<x.length)for(x.sort(this.Vx),a=0;a<x.length;){for(te=x[a].layer,b=a+1;b<x.length&&x[b].layer===te;)b++;if(1<b-a)for(te=a;te<b;){for(ne=x[te].Ic,E=a+1;E<b&&x[E].rd<ne;)ne=Math.max(ne,x[E].Ic),E++;if(ne=E-te,1<ne){for(this.zi(x,this.Js,te,te+ne),Se=1,se=x[te].jc,he=te;he<E;he++)ve=x[he],ve.jc!==se&&(Se++,se=ve.jc);for(this.zi(x,this.Ux,te,te+ne),Be=1,se=x[te].first,he=te;he<E;he++)ve=x[he],ve.first!==se&&(Be++,se=ve.first);for(he=!0,ve=Be,Se<Be?(he=!1,ve=Se,se=x[te].jc,this.zi(x,this.Js,te,te+ne)):se=x[te].first,Se=0,Be=te;Be<E;Be++)Ve=x[Be],(he?Ve.first:Ve.jc)!==se&&(Se++,se=he?Ve.first:Ve.jc),nt=Ve.link,te=nt.i(Ve.index),ne=nt.i(Ve.index+1),rt=this.linkSpacing*(Se-(ve-1)/2),y++,nt.uh(),nt.L(Ve.index,te.x+rt,te.y),nt.L(Ve.index+1,ne.x+rt,ne.y),nt.zf()}te=E}a=b}}}},ot=po.prototype,ot.Vx=function(a,y){return a instanceof hd&&y instanceof hd&&a!==y?a.layer<y.layer?-1:a.layer>y.layer?1:a.rd<y.rd?-1:a.rd>y.rd?1:a.Ic<y.Ic?-1:a.Ic>y.Ic?1:0:0},ot.Ux=function(a,y){return a instanceof hd&&y instanceof hd&&a!==y?a.first<y.first?-1:a.first>y.first||a.j<y.j?1:a.j>y.j||a.rd<y.rd?-1:a.rd>y.rd?1:a.Ic<y.Ic?-1:a.Ic>y.Ic?1:0:0},ot.Js=function(a,y){return a instanceof hd&&y instanceof hd&&a!==y?a.jc<y.jc?-1:a.jc>y.jc||a.j<y.j?1:a.j>y.j||a.rd<y.rd?-1:a.rd>y.rd?1:a.Ic<y.Ic?-1:a.Ic>y.Ic?1:0:0},ot.B=function(a,y){return a-=y,-1<a&&1>a},ot.zi=function(a,y,x,b){var E=a.length,te=b-x;if(!(1>=te))if((0>x||x>=E-1)&&Ht("not in range 0 <= from < length: "+x),te===2)b=a[x],E=a[x+1],0<y(b,E)&&(a[x]=E,a[x+1]=b);else if(x===0)if(b>=E)a.sort(y);else for(x=a.slice(0,b),x.sort(y),y=0;y<b;y++)a[y]=x[y];else if(b>=E)for(b=a.slice(x),b.sort(y),y=x;y<E;y++)a[y]=b[y-x];else for(E=a.slice(x,b),E.sort(y),y=x;y<b;y++)a[y]=E[y-x]};function ud(a,y){var x=a.tc[y];if(x>=a.He.length){for(var b=[],E=0;E<a.He.length;E++)b[E]=a.He[E];a.He=b}for(a.He[x]===void 0||a.He[x]===null?b=[]:(b=a.He[x],a.He[x]=null),a=a.fl[y],y=0;y<a.length;y++)x=a[y],b[x.index]=x;return b}function cd(a,y,x){a.He[a.tc[y]]=x}Pt.Object.defineProperties(po.prototype,{layerSpacing:{get:function(){return this.ie},set:function(a){this.ie!==a&&0<=a&&(this.ie=a,this.C())}},columnSpacing:{get:function(){return this.kc},set:function(a){this.kc!==a&&0<a&&(this.kc=a,this.C())}},direction:{get:function(){return this.K},set:function(a){this.K!==a&&(a===0||a===90||a===180||a===270?(this.K=a,this.C()):Ht("LayeredDigraphLayout.direction must be 0, 90, 180, or 270"))}},cycleRemoveOption:{get:function(){return this.Dk},set:function(a){this.Dk===a||a!==xy&&a!==Fv&&a!==Zg||(this.Dk=a,this.C())}},layeringOption:{get:function(){return this.Zk},set:function(a){this.Zk===a||a!==Dv&&a!==wy&&a!==by||(this.Zk=a,this.C())}},initializeOption:{get:function(){return this.Qk},set:function(a){this.Qk===a||a!==Ov&&a!==Cy&&a!==Py||(this.Qk=a,this.C())}},iterations:{get:function(){return this.bj},set:function(a){this.bj!==a&&0<=a&&(this.bj=a,this.C())}},aggressiveOption:{get:function(){return this.rk},set:function(a){this.rk===a||a!==Ey&&a!==kv&&a!==Ay||(this.rk=a,this.C())}},packOption:{get:function(){return this.bg},set:function(a){this.bg!==a&&0<=a&&8>a&&(this.bg=a,this.C())}},alignOption:{get:function(){return this.ve},set:function(a){this.ve!==a&&0<=a&&16>a&&(this.ve=a,this.C())}},setsPortSpots:{get:function(){return this.sf},set:function(a){this.sf!==a&&(this.sf=a,this.C())}},linkSpacing:{get:function(){return this.Cn},set:function(a){this.Cn!==a&&0<=a&&(this.Cn=a,this.C())}},maxLayer:{get:function(){return this.Ia}},maxIndex:{get:function(){return this.Iq}},maxColumn:{get:function(){return this.Ra}},minIndexLayer:{get:function(){return this.Hn}},maxIndexLayer:{get:function(){return this.Md}}});var Fv=new wn(po,"CycleDepthFirst",0),xy=new wn(po,"CycleGreedy",1),Zg=new wn(po,"CycleFromLayers",2),Dv=new wn(po,"LayerOptimalLinkLength",0),wy=new wn(po,"LayerLongestPathSink",1),by=new wn(po,"LayerLongestPathSource",2),Ov=new wn(po,"InitDepthFirstOut",0),Cy=new wn(po,"InitDepthFirstIn",1),Py=new wn(po,"InitNaive",2),Ey=new wn(po,"AggressiveNone",0),kv=new wn(po,"AggressiveLess",1),Ay=new wn(po,"AggressiveMore",2),Yx=8;po.className="LayeredDigraphLayout",po.CycleDepthFirst=Fv,po.CycleGreedy=xy,po.CycleFromLayers=Zg,po.LayerOptimalLinkLength=Dv,po.LayerLongestPathSink=wy,po.LayerLongestPathSource=by,po.InitDepthFirstOut=Ov,po.InitDepthFirstIn=Cy,po.InitNaive=Py,po.AggressiveNone=Ey,po.AggressiveLess=kv,po.AggressiveMore=Ay,po.PackNone=0,po.PackExpand=1,po.PackStraighten=2,po.PackMedian=4,po.PackAll=15,po.AlignNone=0,po.AlignUpperLeft=1,po.AlignUpperRight=2,po.AlignLowerLeft=4,po.AlignLowerRight=8,po.AlignAll=15;function hd(){this.index=this.Ic=this.rd=this.jc=this.first=this.layer=0,this.link=null,this.j=0}hd.className="SegInfo";function Dp(a){To.call(this,a)}Zt(Dp,To),Dp.prototype.createVertex=function(){return new hu(this)},Dp.prototype.createEdge=function(){return new Kg(this)},Dp.className="LayeredDigraphNetwork";function hu(a){Va.call(this,a),this.$n=this.bo=this.ao=this.co=null,this.Za=this.Ag=this.Ig=-1,this.u=NaN,this.F=null,this.valid=!1,this.finish=this.Ll=NaN,this.Dj=0,this.dv=this.ev=null}Zt(hu,Va);function ix(a,y){return a.index-y.index}function Nv(a,y){if(!a.$n){for(var x=[],b=gi(a.destinationEdgesArrayAccess),E=b.next();!E.done;E=b.next())E=E.value,E.valid&&x.push(E);a.$n=x}for(a=gi(a.$n),x=a.next();!x.done;x=a.next())if(x=x.value,x.toVertex===y)return x;Ht("Unable to find destination edge to given vertex")}function My(a){if(!a.co){for(var y=[],x=gi(a.sourceEdgesArrayAccess),b=x.next();!b.done;b=x.next())b=b.value,b.valid&&y.push(b.fromVertex);y.sort(ix),a.co=y}return a.co}function Jx(a){if(!a.ao){for(var y=[],x=gi(a.destinationEdgesArrayAccess),b=x.next();!b.done;b=x.next())b=b.value,b.valid&&y.push(b.toVertex);y.sort(ix),a.ao=y}return a.ao}hu.prototype.Cl=function(a){Va.prototype.Cl.call(this,a),this.bo=this.co=null},hu.prototype.Kl=function(a){Va.prototype.Kl.call(this,a),this.bo=this.co=null},hu.prototype.zl=function(a){Va.prototype.zl.call(this,a),this.$n=this.ao=null},hu.prototype.Jl=function(a){Va.prototype.Jl.call(this,a),this.$n=this.ao=null},Pt.Object.defineProperties(hu.prototype,{layer:{get:function(){return this.Ig},set:function(a){this.Ig!==a&&(this.Ig=a)}},column:{get:function(){return this.Ag},set:function(a){this.Ag!==a&&(this.Ag=a)}},index:{get:function(){return this.Za},set:function(a){this.Za!==a&&(this.Za=a)}},component:{get:function(){return this.u},set:function(a){this.u!==a&&(this.u=a)}},near:{get:function(){return this.F},set:function(a){this.F!==a&&(this.F=a)}}}),hu.prototype.deleteDestinationEdge=hu.prototype.Jl,hu.prototype.addDestinationEdge=hu.prototype.zl,hu.prototype.deleteSourceEdge=hu.prototype.Kl,hu.prototype.addSourceEdge=hu.prototype.Cl,hu.className="LayeredDigraphVertex";function Kg(a){Tl.call(this,a),this.j=this.ia=this.Ha=!1,this.V=this.u=NaN,this.F=this.o=0}Zt(Kg,Tl),Pt.Object.defineProperties(Kg.prototype,{fromVertex:{get:function(){return this.kd},set:function(a){this.kd!==a&&(this.kd=a)}},toVertex:{get:function(){return this.qd},set:function(a){this.qd!==a&&(this.qd=a)}},valid:{get:function(){return this.Ha},set:function(a){this.Ha!==a&&(this.Ha=a)}},rev:{get:function(){return this.ia},set:function(a){this.ia!==a&&(this.ia=a)}},forest:{get:function(){return this.j},set:function(a){this.j!==a&&(this.j=a)}},portFromPos:{get:function(){return this.u},set:function(a){this.u!==a&&(this.u=a)}},portToPos:{get:function(){return this.V},set:function(a){this.V!==a&&(this.V=a)}},portFromColOffset:{get:function(){return this.o},set:function(a){this.o!==a&&(this.o=a)}},portToColOffset:{get:function(){return this.F},set:function(a){this.F!==a&&(this.F=a)}}}),Kg.className="LayeredDigraphEdge";function Mi(a){Go.call(this),this.Ub=new On,this.Wn=Rv,this.ud=Nc,this.vo=Wv,this.Bq=Ry,this.$v=[],this.td=!0,this.Rb=Hv,this.$d=new qn(10,10).freeze();var y=new Nf(this);this.W=new wu(y),this.Y=new wu(y),this.ru=[],a&&Object.assign(this,a)}Zt(Mi,Go),Mi.prototype.cloneProtected=function(a){Go.prototype.cloneProtected.call(this,a),a.Wn=this.Wn,a.vo=this.vo,a.Bq=this.Bq,a.td=this.td,a.Rb=this.Rb,a.$d.assign(this.$d),a.W.copyInheritedPropertiesFrom(this.W),a.Y.copyInheritedPropertiesFrom(this.Y)},Mi.prototype.qb=function(a){a.classType===Mi?a.name.indexOf("Alignment")===0?this.alignment=a:a.name.indexOf("Arrangement")===0?this.arrangement=a:a.name.indexOf("Compaction")===0?this.compaction=a:a.name.indexOf("Path")===0?this.path=a:a.name.indexOf("Sorting")===0?this.sorting=a:a.name.indexOf("Style")===0?this.treeStyle=a:Ht("Unknown enum value: "+a):Go.prototype.qb.call(this,a)},Mi.prototype.createNetwork=function(){return new Nf(this)},Mi.prototype.makeNetwork=function(a){function y(b){if(b instanceof sr)return!b.isLinkLabel&&b.category!=="Comment";if(b instanceof _n){var E=b.fromNode;return E===null||E.isLinkLabel||E.category==="Comment"?!1:(b=b.toNode,!(b===null||b.isLinkLabel||b.category==="Comment"))}return!1}var x=this.createNetwork();return a instanceof hn?(x.lg(a.nodes,!0,y),x.lg(a.links,!0,y)):a instanceof ii?x.lg(a.memberParts,!1,y):x.lg(a.iterator,!1,y),x},Mi.prototype.doLayout=function(a){this.network===null&&(this.network=this.makeNetwork(a)),this.arrangement!==Uv&&(this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin));var y=this.diagram;if(y===null&&a instanceof hn&&(y=a),this.path===Rv&&y!==null?this.ud=y.isTreePathToChildren?Nc:Of:this.ud=this.path===Rv?Nc:this.path,0<this.network.vertexes.count){for(this.network.Ko(),a=this.network.vertexes.iterator;a.next();)y=a.value,y.initialized=!1,y.level=0,y.parent=null,y.children=[];if(0<this.Ub.count){for(a=new On,y=this.Ub.iterator;y.next();){var x=y.value;x instanceof sr?(x=this.network.ki(x),x!==null&&a.add(x)):x instanceof wu&&a.add(x)}this.Ub=a}for(this.Ub.count===0&&this.findRoots(),a=this.Ub.copy().iterator;a.next();)y=a.value,y.initialized||(y.initialized=!0,Ly(this,y));for(y=this.network.vertexes,a=null;a=Qx(y),0<a.count;)y=ox(this,a),y!==null&&this.Ub.add(y),y.initialized=!0,Ly(this,y),y=a;for(a=this.Ub.iterator;a.next();)y=a.value,y instanceof wu&&sx(this,y);for(a=this.Ub.iterator;a.next();)y=a.value,y instanceof wu&&lx(this,y);for(a=this.Ub.iterator;a.next();)y=a.value,y instanceof wu&&ux(this,y);if(this.Cu(),this.layerStyle===Gv){for(a=[],y=this.network.vertexes.iterator;y.next();){x=y.value;var b=x.parent;b===null&&(b=x),b=b.angle===0||b.angle===180;var E=a[x.level];E===void 0&&(E=0),a[x.level]=Math.max(E,b?x.width:x.height)}for(y=0;y<a.length;y++)a[y]===void 0&&(a[y]=0);for(this.$v=a,y=this.network.vertexes.iterator;y.next();)x=y.value,b=x.parent,b===null&&(b=x),b.angle===0||b.angle===180?(b.angle===180&&(x.focusX+=a[x.level]-x.width),x.width=a[x.level]):(b.angle===270&&(x.focusY+=a[x.level]-x.height),x.height=a[x.level])}else if(this.layerStyle===zy)for(a=this.network.vertexes.iterator;a.next();){for(y=a.value,x=y.angle===0||y.angle===180,b=-1,E=0;E<y.children.length;E++){var te=y.children[E];b=Math.max(b,x?te.width:te.height)}if(0<=b)for(E=0;E<y.children.length;E++)te=y.children[E],x?(y.angle===180&&(te.focusX+=b-te.width),te.width=b):(y.angle===270&&(te.focusY+=b-te.height),te.height=b)}for(a=this.Ub.iterator;a.next();)y=a.value,y instanceof wu&&this.layoutTree(y);this.arrangeTrees(),this.updateParts()}this.network=null,this.Ub=new On,this.isValidLayout=!0};function Qx(a){var y=new On;for(a=a.iterator;a.next();){var x=a.value;x.initialized||y.add(x)}return y}Mi.prototype.findRoots=function(){for(var a=this.network.vertexes,y=a.iterator;y.next();){var x=y.value;switch(this.ud){case Nc:x.sourceEdges.count===0&&this.Ub.add(x);break;case Of:x.destinationEdges.count===0&&this.Ub.add(x);break;default:Ht("Unhandled path value "+this.ud.toString())}}this.Ub.count===0&&(a=ox(this,a),a!==null&&this.Ub.add(a))};function ox(a,y){var x=999999,b=null;for(y=y.iterator;y.next();){var E=y.value;switch(a.ud){case Nc:E.sourceEdges.count<x&&(x=E.sourceEdges.count,b=E);break;case Of:E.destinationEdges.count<x&&(x=E.destinationEdges.count,b=E);break;default:Ht("Unhandled path value "+a.ud.toString())}}return b}function Ly(a,y){if(y!==null){switch(a.ud){case Nc:if(0<y.destinationEdges.count){for(var x=new Dn,b=y.destinationVertexes;b.next();){var E=b.value;ax(a,y,E)&&x.add(E)}0<x.count&&(y.children=x.Fa())}break;case Of:if(0<y.sourceEdges.count){for(x=new Dn,b=y.sourceVertexes;b.next();)E=b.value,ax(a,y,E)&&x.add(E);0<x.count&&(y.children=x.Fa())}break;default:Ht("Unhandled path value"+a.ud.toString())}for(x=y.children,b=x.length,E=0;E<b;E++){var te=x[E];te.initialized=!0,te.level=y.level+1,te.parent=y,a.Ub.remove(te)}for(y=0;y<b;y++)Ly(a,x[y])}}function ax(a,y,x){if(x.initialized){if(y===null)var b=!1;else{for(b=y.parent;b!==null&&b!==x;)b=b.parent;b=b===x}if(b||x.level>y.level)return!1;a.removeChild(x.parent,x)}return!0}Mi.prototype.removeChild=function(a,y){if(a!==null&&y!==null){for(var x=a.children,b=0,E=0;E<x.length;E++)x[E]===y&&b++;if(0<b){b=Array(x.length-b);for(var te=E=0;te<x.length;te++)x[te]!==y&&(b[E++]=x[te]);a.children=b}}};function sx(a,y){if(y!==null){a.initializeTreeVertexValues(y),y.alignment===jc&&a.sortTreeVertexChildren(y);for(var x=0,b=y.childrenCount,E=0,te=y.children,ne=te.length,se=0;se<ne;se++){var he=te[se];sx(a,he),x+=he.descendantCount+1,b=Math.max(b,he.maxChildrenCount),E=Math.max(E,he.maxGenerationCount)}y.descendantCount=x,y.maxChildrenCount=b,y.maxGenerationCount=0<b?E+1:0}}function _x(a,y){switch(a.vo){default:case Wv:return y.parent!==null?y.parent:a.W;case Iy:return y.parent===null?a.W:y.parent.parent===null?a.Y:y.parent;case By:return y.parent!==null?y.parent.parent!==null?y.parent.parent:a.Y:a.W;case Ny:var x=!0;if(y.childrenCount===0)x=!1;else for(var b=y.children,E=b.length,te=0;te<E;te++)if(0<b[te].childrenCount){x=!1;break}return x&&y.parent!==null?a.Y:y.parent!==null?y.parent:a.W}}Mi.prototype.initializeTreeVertexValues=function(a){if(a.copyInheritedPropertiesFrom(_x(this,a)),a.parent!==null&&a.parent.alignment===jc){for(var y=a.angle,x=a.parent.children,b=0;b<x.length&&a!==x[b];)b++;b%2===0?b!==x.length-1&&(y=y===90?180:y===180?270:y===270?180:270):y=y===90?0:y===180?90:y===270?0:90,a.angle=y}a.initialized=!0};function lx(a,y){if(y!==null){a.assignTreeVertexValues(y),y=y.children;for(var x=y.length,b=0;b<x;b++)lx(a,y[b])}}Mi.prototype.assignTreeVertexValues=function(){};function ux(a,y){if(y!==null){y.alignment!==jc&&a.sortTreeVertexChildren(y),y=y.children;for(var x=y.length,b=0;b<x;b++)ux(a,y[b])}}Mi.prototype.sortTreeVertexChildren=function(a){switch(a.sorting){case Op:break;case Xg:a.children.reverse();break;case Yg:a.children.sort(a.comparer);break;case Jg:a.children.sort(a.comparer),a.children.reverse();break;default:Ht("Unhandled sorting value "+a.sorting.toString())}},Mi.prototype.Cu=function(){if(this.comments)for(var a=this.network.vertexes.iterator;a.next();)this.addComments(a.value)},Mi.prototype.addComments=function(a){var y=a.angle,x=a.parent,b=0,E=!1;x!==null&&(b=x.angle,E=x.alignment,E=dd(E)),y=y===90||y===270,b=b===90||b===270,x=a.childrenCount===0;var te=0,ne=0,se=0,he=a.commentSpacing;if(a.node!==null)for(var ve=a.node.Mu();ve.next();){var Se=ve.value;Se.category==="Comment"&&Se.canLayout()&&(a.comments===null&&(a.comments=[]),a.comments.push(Se),Se.Va(),Se=Se.measuredBounds,y&&!x||!E&&!b&&x||E&&b&&x?(te=Math.max(te,Se.width),ne+=Se.height+Math.abs(se)):(te+=Se.width+Math.abs(se),ne=Math.max(ne,Se.height)),se=he)}a.comments!==null&&(y&&!x||!E&&!b&&x||E&&b&&x?(te+=Math.abs(a.commentMargin),ne=Math.max(0,ne-a.height)):(ne+=Math.abs(a.commentMargin),te=Math.max(0,te-a.width)),E=Mn.allocAt(0,0,a.bounds.width+te,a.bounds.height+ne),a.bounds=E,Mn.free(E))};function dd(a){return a===Oh||a===jc||a===kh||a===ih}function Vg(a){return a===Oh||a===jc}function Ty(a){var y=a.parent;if(y!==null){var x=y.alignment;if(dd(x)){if(Vg(x)){for(y=y.children,x=0;x<y.length&&a!==y[x];)x++;return x%2===0}if(x===kh)return!0}}return!1}Mi.prototype.layoutComments=function(a){if(a.comments!==null){var y=a.node.measuredBounds,x=a.parent,b=a.angle,E=0,te=!1;x!==null&&(E=x.angle,te=x.alignment,te=dd(te)),b=b===90||b===270,x=E===90||E===270;for(var ne=a.childrenCount===0,se=Ty(a),he=0,ve=a.comments,Se=ve.length,Be=Lt.alloc(),Ve=0;Ve<Se;Ve++){var nt=ve[Ve],rt=nt.measuredBounds;if(b&&!ne||!te&&!x&&ne||te&&x&&ne){if(135<E&&!te||x&&se)if(0<=a.commentMargin)for(Be.h(a.bounds.x-a.commentMargin-rt.width,a.bounds.y+he),nt.move(Be),nt=nt.Sd();nt.next();){var ct=nt.value;ct.fromSpot=La,ct.toSpot=Ya}else for(Be.h(a.bounds.x+2*a.focus.x-a.commentMargin,a.bounds.y+he),nt.move(Be),nt=nt.Sd();nt.next();)ct=nt.value,ct.fromSpot=Ya,ct.toSpot=La;else if(0<=a.commentMargin)for(Be.h(a.bounds.x+2*a.focus.x+a.commentMargin,a.bounds.y+he),nt.move(Be),nt=nt.Sd();nt.next();)ct=nt.value,ct.fromSpot=Ya,ct.toSpot=La;else for(Be.h(a.bounds.x+a.commentMargin-rt.width,a.bounds.y+he),nt.move(Be),nt=nt.Sd();nt.next();)ct=nt.value,ct.fromSpot=La,ct.toSpot=Ya;he=0<=a.commentSpacing?he+(rt.height+a.commentSpacing):he+(a.commentSpacing-rt.height)}else{if(135<E&&!te||!x&&se)if(0<=a.commentMargin)for(Be.h(a.bounds.x+he,a.bounds.y-a.commentMargin-rt.height),nt.move(Be),nt=nt.Sd();nt.next();)ct=nt.value,ct.fromSpot=ga,ct.toSpot=Ua;else for(Be.h(a.bounds.x+he,a.bounds.y+2*a.focus.y-a.commentMargin),nt.move(Be),nt=nt.Sd();nt.next();)ct=nt.value,ct.fromSpot=Ua,ct.toSpot=ga;else if(0<=a.commentMargin)for(Be.h(a.bounds.x+he,a.bounds.y+2*a.focus.y+a.commentMargin),nt.move(Be),nt=nt.Sd();nt.next();)ct=nt.value,ct.fromSpot=Ua,ct.toSpot=ga;else for(Be.h(a.bounds.x+he,a.bounds.y+a.commentMargin-rt.height),nt.move(Be),nt=nt.Sd();nt.next();)ct=nt.value,ct.fromSpot=ga,ct.toSpot=Ua;he=0<=a.commentSpacing?he+(rt.width+a.commentSpacing):he+(a.commentSpacing-rt.width)}}if(Lt.free(Be),y=he-a.commentSpacing-(b?y.height:y.width),this.ud===Nc)for(a=a.destinationEdges;a.next();)E=a.value.link,E===null||E.isAvoiding||(E.fromEndSegmentLength=0<y?y:NaN);else for(a=a.sourceEdges;a.next();)E=a.value.link,E===null||E.isAvoiding||(E.toEndSegmentLength=0<y?y:NaN)}},Mi.prototype.layoutTree=function(a){if(a!==null){for(var y=a.children,x=y.length,b=0;b<x;b++)this.layoutTree(y[b]);switch(a.compaction){case zv:cx(this,a);break;case Qg:if(a.alignment===jc)cx(this,a);else if(a.childrenCount===0)b=a.parent,x=!1,y=0,b!==null&&(y=b.angle,x=b.alignment,x=dd(x)),b=Ty(a),a.S.h(0,0),a.Da.h(a.width,a.height),a.parent===null||a.comments===null||(y!==180&&y!==270||x)&&!b?a.la.h(0,0):y===180&&!x||(y===90||y===270)&&b?a.la.h(a.width-2*a.focus.x,0):a.la.h(0,a.height-2*a.focus.y),a.Yo=null,a.kp=null;else{var E=Bu(a);y=E===90||E===270;var te=0,ne=a.children,se=ne.length;for(x=0;x<se;x++)b=ne[x],te=Math.max(te,y?b.Da.width:b.Da.height);var he=a.alignment;b=he===Bc;var ve=he===Ic,Se=dd(he),Be=Math.max(0,a.breadthLimit);x=this.computeLayerSpacing(a);var Ve=a.nodeSpacing,nt=this.computeNodeIndent(a),rt=a.rowSpacing,ct=0;(b||ve||a.hm||a.im&&a.maxGenerationCount===1)&&(ct=Math.max(0,a.rowIndent)),b=a.width;var kt=a.height,Mt=0,Rt=0,Ut=0,Yt=null,$t=null,dn=0,rr=0,mr=0,cr=0,Qn=0,Bn=0,ti=0,Yr=0;if(Se&&!Vg(he)&&135<E&&ne.reverse(),Vg(he))if(1<se)for(var Ji=0;Ji<se;Ji++)Ji%2===0&&Ji!==se-1&&(Yr=Math.max(Yr,y?ne[Ji].Da.width:ne[Ji].Da.height));else se===1&&(Yr=y?ne[0].Da.width:ne[0].Da.height);if(Se){switch(he){case Oh:Rt=135>E?hx(this,a,ne,Yr,Mt,Rt):dx(this,a,ne,Yr,Mt,Rt),Yr=Rt.x,Mt=Rt.width,Rt=Rt.height;break;case kh:for(Yt=0;Yt<se;Yt++)$t=ne[Yt],Be=$t.Da,Ut=Bn===0?0:rt,y?($t.S.h(te-Be.width,cr+Ut),Mt=Math.max(Mt,Be.width),Rt=Math.max(Rt,cr+Ut+Be.height),cr+=Ut+Be.height):($t.S.h(mr+Ut,te-Be.height),Mt=Math.max(Mt,mr+Ut+Be.width),Rt=Math.max(Rt,Be.height),mr+=Ut+Be.width),Bn++;break;case ih:for(Yt=0;Yt<se;Yt++)$t=ne[Yt],te=$t.Da,Be=Bn===0?0:rt,y?($t.S.h(Ve/2+a.focus.x,cr+Be),Mt=Math.max(Mt,te.width),Rt=Math.max(Rt,cr+Be+te.height),cr+=Be+te.height):($t.S.h(mr+Be,Ve/2+a.focus.y),Mt=Math.max(Mt,mr+Be+te.width),Rt=Math.max(Rt,te.height),mr+=Be+te.width),Bn++}Yt=yl(this,2),$t=yl(this,2),y?(Yt[0].h(0,0),Yt[1].h(0,Rt),$t[0].h(Mt,0)):(Yt[0].h(0,0),Yt[1].h(Mt,0),$t[0].h(0,Rt)),$t[1].h(Mt,Rt)}else for(Ji=0;Ji<se;Ji++){var Eo=ne[Ji],qa=Eo.Da;if(y){0<Be&&0<Bn&&mr+Ve+qa.width>Be&&(mr<te&&_d(a,he,te-mr,0,ti,Ji-1),Qn++,Bn=0,ti=Ji,Ut=Rt,mr=0,cr=135<E?-Rt-rt:Rt+rt),Iv(this,Eo,0,cr);var rs=0;if(Bn===0)Yt=Eo.Yo,$t=Eo.kp,dn=qa.width,rr=qa.height,(Yt===null||$t===null||E!==Bu(Eo))&&(Yt=yl(this,2),$t=yl(this,2),Yt[0].h(0,0),Yt[1].h(0,rr),$t[0].h(dn,0),$t[1].h(dn,rr));else{var js=yn();rr=fx(this,a,Eo,Yt,$t,dn,rr,js),rs=rr.x,Yt=js[0],$t=js[1],dn=rr.width,rr=rr.height,Tn(js),mr<qa.width&&0>rs&&(Df(a,-rs,0,ti,Ji-1),jv(Yt,-rs,0),jv($t,-rs,0),rs=0)}Eo.S.h(rs,cr),Mt=Math.max(Mt,dn),Rt=Math.max(Rt,Ut+(Qn===0?0:rt)+qa.height),mr=dn}else 0<Be&&0<Bn&&cr+Ve+qa.height>Be&&(cr<te&&_d(a,he,0,te-cr,ti,Ji-1),Qn++,Bn=0,ti=Ji,Ut=Mt,cr=0,mr=135<E?-Mt-rt:Mt+rt),Iv(this,Eo,mr,0),rs=0,Bn===0?(Yt=Eo.Yo,$t=Eo.kp,dn=qa.width,rr=qa.height,(Yt===null||$t===null||E!==Bu(Eo))&&(Yt=yl(this,2),$t=yl(this,2),Yt[0].h(0,0),Yt[1].h(dn,0),$t[0].h(0,rr),$t[1].h(dn,rr))):(js=yn(),rr=fx(this,a,Eo,Yt,$t,dn,rr,js),rs=rr.x,Yt=js[0],$t=js[1],dn=rr.width,rr=rr.height,Tn(js),cr<qa.height&&0>rs&&(Df(a,0,-rs,ti,Ji-1),jv(Yt,0,-rs),jv($t,0,-rs),rs=0)),Eo.S.h(mr,rs),Rt=Math.max(Rt,rr),Mt=Math.max(Mt,Ut+(Qn===0?0:rt)+qa.width),cr=rr;Bn++}switch(0<Qn&&(y?(Rt+=Math.max(0,x),mr<Mt&&_d(a,he,Mt-mr,0,ti,se-1),0<ct&&(ve||Df(a,ct,0,0,se-1),Mt+=ct)):(Mt+=Math.max(0,x),cr<Rt&&_d(a,he,0,Rt-cr,ti,se-1),0<ct&&(ve||Df(a,0,ct,0,se-1),Rt+=ct))),ct=ve=0,he){case kp:y?ve+=Mt/2-a.focus.x-nt/2:ct+=Rt/2-a.focus.y-nt/2;break;case kf:0<Qn?y?ve+=Mt/2-a.focus.x-nt/2:ct+=Rt/2-a.focus.y-nt/2:y?(Yr=ne[0].S.x+ne[0].la.x,ve+=Yr+(ne[se-1].S.x+ne[se-1].la.x+2*ne[se-1].focus.x-Yr)/2-a.focus.x-nt/2):(Yr=ne[0].S.y+ne[0].la.y,ct+=Yr+(ne[se-1].S.y+ne[se-1].la.y+2*ne[se-1].focus.y-Yr)/2-a.focus.y-nt/2);break;case Bc:y?(ve-=nt,Mt+=nt):(ct-=nt,Rt+=nt);break;case Ic:y?(ve+=Mt-a.width+nt,Mt+=nt):(ct+=Rt-a.height+nt,Rt+=nt);break;case Oh:y?1<se?ve+=Yr+Ve/2-a.focus.x:ve+=ne[0].focus.x-a.focus.x+ne[0].la.x:1<se?ct+=Yr+Ve/2-a.focus.y:ct+=ne[0].focus.y-a.focus.y+ne[0].la.y;break;case kh:y?ve+=Mt+Ve/2-a.focus.x:ct+=Rt+Ve/2-a.focus.y;break;case ih:break;default:Rt=this.customAlignment(a,ve,ct,Mt,Rt),ve=Rt[0],ct=Rt[1],Mt=Rt[2],Rt=Rt[3]}for(nt=0;nt<se;nt++)Yr=ne[nt],y?Yr.S.h(Yr.S.x+Yr.la.x-ve,Yr.S.y+(135<E?(Se?-Rt:-Yr.Da.height)+Yr.la.y-x:kt+x+Yr.la.y)):Yr.S.h(Yr.S.x+(135<E?(Se?-Mt:-Yr.Da.width)+Yr.la.x-x:b+x+Yr.la.x),Yr.S.y+Yr.la.y-ct);if(se=ne=0,Se?y?(Mt=Fy(a,Mt,ve),0>ve&&(ve=0),135<E&&(ct+=Rt+x),Rt+=kt+x,he===ih&&(ne+=Ve/2+a.focus.x),se+=kt+x):(135<E&&(ve+=Mt+x),Mt+=b+x,Rt=Dy(a,Rt,ct),0>ct&&(ct=0),he===ih&&(se+=Ve/2+a.focus.y),ne+=b+x):y?(a.comments===null?b>Mt&&(Mt=Oy(he,b-Mt,0),ne=Mt.x,se=Mt.y,Mt=b,ve=0):Mt=Fy(a,Mt,ve),0>ve&&(ne-=ve,ve=0),135<E&&(ct+=Rt+x),Rt=Math.max(Math.max(Rt,kt),Rt+kt+x),se+=kt+x):(135<E&&(ve+=Mt+x),Mt=Math.max(Math.max(Mt,b),Mt+b+x),a.comments===null?kt>Rt&&(Rt=Oy(he,0,kt-Rt),ne=Rt.x,se=Rt.y,Rt=kt,ct=0):Rt=Dy(a,Rt,ct),0>ct&&(se-=ct,ct=0),ne+=b+x),0<Qn)E=yl(this,4),Qn=yl(this,4),y?(E[2].h(0,kt+x),E[3].h(E[2].x,Rt),Qn[2].h(Mt,E[2].y),Qn[3].h(Qn[2].x,E[3].y)):(E[2].h(b+x,0),E[3].h(Mt,E[2].y),Qn[2].h(E[2].x,Rt),Qn[3].h(E[3].x,Qn[2].y));else{for(E=yl(this,Yt.length+2),Qn=yl(this,$t.length+2),he=0;he<Yt.length;he++)Se=Yt[he],E[he+2].h(Se.x+ne,Se.y+se);for(he=0;he<$t.length;he++)Se=$t[he],Qn[he+2].h(Se.x+ne,Se.y+se)}y?(E[0].h(ve,0),E[1].h(E[0].x,kt),E[2].y<E[1].y&&(E[2].x>E[0].x?E[2].assign(E[1]):E[1].assign(E[2])),E[3].y<E[2].y&&(E[3].x>E[0].x?E[3].assign(E[2]):E[2].assign(E[3])),Qn[0].h(ve+b,0),Qn[1].h(Qn[0].x,kt),Qn[2].y<Qn[1].y&&(Qn[2].x<Qn[0].x?Qn[2].assign(Qn[1]):Qn[1].assign(Qn[2])),Qn[3].y<Qn[2].y&&(Qn[3].x<Qn[0].x?Qn[3].assign(Qn[2]):Qn[2].assign(Qn[3])),E[2].y-=x/2,Qn[2].y-=x/2):(E[0].h(0,ct),E[1].h(b,E[0].y),E[2].x<E[1].x&&(E[2].y>E[0].y?E[2].assign(E[1]):E[1].assign(E[2])),E[3].x<E[2].x&&(E[3].y>E[0].y?E[3].assign(E[2]):E[2].assign(E[3])),Qn[0].h(0,ct+kt),Qn[1].h(b,Qn[0].y),Qn[2].x<Qn[1].x&&(Qn[2].y<Qn[0].y?Qn[2].assign(Qn[1]):Qn[1].assign(Qn[2])),Qn[3].x<Qn[2].x&&(Qn[3].y<Qn[0].y?Qn[3].assign(Qn[2]):Qn[2].assign(Qn[3])),E[2].x-=x/2,Qn[2].x-=x/2),$u(this,Yt),$u(this,$t),a.Yo=E,a.kp=Qn,a.la.h(ve,ct),a.Da.h(Mt,Rt)}break;default:Ht("Unhandled compaction value "+a.compaction.toString())}}};function cx(a,y){if(y.childrenCount===0){var x=!1,b=0;y.parent!==null&&(b=y.parent.angle,x=y.parent.alignment,x=dd(x));var E=Ty(y);y.S.h(0,0),y.Da.h(y.width,y.height),y.parent===null||y.comments===null||(b!==180&&b!==270||x)&&!E?y.la.h(0,0):b===180&&!x||(b===90||b===270)&&E?y.la.h(y.width-2*y.focus.x,0):y.la.h(0,y.height-2*y.focus.y)}else{b=Bu(y),x=b===90||b===270;var te=0;E=y.children;for(var ne=E.length,se=0;se<ne;se++){var he=E[se];te=Math.max(te,x?he.Da.width:he.Da.height)}var ve=y.alignment,Se=ve===Bc,Be=ve===Ic;se=dd(ve);var Ve=Math.max(0,y.breadthLimit);he=a.computeLayerSpacing(y);var nt=y.nodeSpacing,rt=a.computeNodeIndent(y),ct=Se||Be?0:rt/2,kt=y.rowSpacing,Mt=0;(Se||Be||y.hm||y.im&&y.maxGenerationCount===1)&&(Mt=Math.max(0,y.rowIndent)),Se=y.width;var Rt=y.height,Ut=0,Yt=0,$t=0,dn=0,rr=0,mr=0,cr=0,Qn=0,Bn=0,ti=0;if(se&&!Vg(ve)&&135<b&&E.reverse(),Vg(ve))if(1<ne)for(var Yr=0;Yr<ne;Yr++){var Ji=E[Yr],Eo=Ji.Da;Yr%2===0&&Yr!==ne-1?Bn=Math.max(Bn,(x?Eo.width:Eo.height)+a.computeBusNodeSpacing(Ji)-nt):Yr%2!==0&&(ti=Math.max(ti,(x?Eo.width:Eo.height)+a.computeBusNodeSpacing(Ji)-nt))}else ne===1&&(Bn=x?E[0].Da.width:E[0].Da.height);if(se)switch(ve){case Oh:case jc:Yt=135>b?hx(a,y,E,Bn,Ut,Yt):dx(a,y,E,Bn,Ut,Yt),Bn=Yt.x,Ut=Yt.width,Yt=Yt.height;break;case kh:for(Ve=0;Ve<ne;Ve++)ct=E[Ve],$t=ct.Da,ti=cr===0?0:kt,x?(ct.S.h(te-$t.width,rr+ti),Ut=Math.max(Ut,$t.width),Yt=Math.max(Yt,rr+ti+$t.height),rr+=ti+$t.height):(ct.S.h(dn+ti,te-$t.height),Ut=Math.max(Ut,dn+ti+$t.width),Yt=Math.max(Yt,$t.height),dn+=ti+$t.width),cr++;break;case ih:for(te=0;te<ne;te++)Ve=E[te],ct=Ve.Da,$t=cr===0?0:kt,x?(Ve.S.h(nt/2+y.focus.x,rr+$t),Ut=Math.max(Ut,ct.width),Yt=Math.max(Yt,rr+$t+ct.height),rr+=$t+ct.height):(Ve.S.h(dn+$t,nt/2+y.focus.y),Ut=Math.max(Ut,dn+$t+ct.width),Yt=Math.max(Yt,ct.height),dn+=$t+ct.width),cr++}else for(ti=0;ti<ne;ti++)Yr=E[ti],Ji=Yr.Da,x?(0<Ve&&0<cr&&dn+nt+Ji.width>Ve&&(dn<te&&_d(y,ve,te-dn,0,Qn,ti-1),mr++,cr=0,Qn=ti,$t=Yt,dn=0,rr=135<b?-Yt-kt:Yt+kt),Eo=cr===0?ct:nt,Iv(a,Yr,0,rr),Yr.S.h(dn+Eo,rr),Ut=Math.max(Ut,dn+Eo+Ji.width),Yt=Math.max(Yt,$t+(mr===0?0:kt)+Ji.height),dn+=Eo+Ji.width):(0<Ve&&0<cr&&rr+nt+Ji.height>Ve&&(rr<te&&_d(y,ve,0,te-rr,Qn,ti-1),mr++,cr=0,Qn=ti,$t=Ut,rr=0,dn=135<b?-Ut-kt:Ut+kt),Eo=cr===0?ct:nt,Iv(a,Yr,dn,0),Yr.S.h(dn,rr+Eo),Yt=Math.max(Yt,rr+Eo+Ji.height),Ut=Math.max(Ut,$t+(mr===0?0:kt)+Ji.width),rr+=Eo+Ji.height),cr++;switch(0<mr&&(x?(Yt+=Math.max(0,he),dn<Ut&&_d(y,ve,Ut-dn,0,Qn,ne-1),0<Mt&&(Be||Df(y,Mt,0,0,ne-1),Ut+=Mt)):(Ut+=Math.max(0,he),rr<Yt&&_d(y,ve,0,Yt-rr,Qn,ne-1),0<Mt&&(Be||Df(y,0,Mt,0,ne-1),Yt+=Mt))),Mt=Be=0,ve){case kp:x?Be+=Ut/2-y.focus.x-rt/2:Mt+=Yt/2-y.focus.y-rt/2;break;case kf:0<mr?x?Be+=Ut/2-y.focus.x-rt/2:Mt+=Yt/2-y.focus.y-rt/2:x?(a=E[0].S.x+E[0].la.x,Be+=a+(E[ne-1].S.x+E[ne-1].la.x+2*E[ne-1].focus.x-a)/2-y.focus.x-rt/2):(a=E[0].S.y+E[0].la.y,Mt+=a+(E[ne-1].S.y+E[ne-1].la.y+2*E[ne-1].focus.y-a)/2-y.focus.y-rt/2);break;case Bc:x?(Be-=rt,Ut+=rt):(Mt-=rt,Yt+=rt);break;case Ic:x?(Be+=Ut-y.width+rt,Ut+=rt):(Mt+=Yt-y.height+rt,Yt+=rt);break;case Oh:case jc:x?1<ne?Be+=Bn+nt/2-y.focus.x:Be+=E[0].focus.x-y.focus.x+E[0].la.x:1<ne?Mt+=Bn+nt/2-y.focus.y:Mt+=E[0].focus.y-y.focus.y+E[0].la.y;break;case kh:x?Be+=Ut+nt/2-y.focus.x:Mt+=Yt+nt/2-y.focus.y;break;case ih:break;default:a=a.customAlignment(y,Be,Mt,Ut,Yt),Be=a[0],Mt=a[1],Ut=a[2],Yt=a[3]}for(a=0;a<ne;a++)rt=E[a],x?rt.S.h(rt.S.x+rt.la.x-Be,rt.S.y+(135<b?(se?-Yt:-rt.Da.height)+rt.la.y-he:Rt+he+rt.la.y)):rt.S.h(rt.S.x+(135<b?(se?-Ut:-rt.Da.width)+rt.la.x-he:Se+he+rt.la.x),rt.S.y+rt.la.y-Mt);x?(Ut=Fy(y,Ut,Be),0>Be&&(Be=0),135<b&&(Mt+=Yt+he),Yt=Math.max(Math.max(Yt,Rt),Yt+Rt+he)):(135<b&&(Be+=Ut+he),Ut=Math.max(Math.max(Ut,Se),Ut+Se+he),Yt=Dy(y,Yt,Mt),0>Mt&&(Mt=0)),y.la.h(Be,Mt),y.Da.h(Ut,Yt)}}Mi.prototype.customAlignment=function(a,y,x,b,E){return[y,x,b,E]};function hx(a,y,x,b,E,te){var ne=x.length;if(ne===0)return new Mn(b,0,E,te);if(ne===1)return y=x[0],E=y.Da.width,te=y.Da.height,new Mn(b,0,E,te);for(var se=y.nodeSpacing,he=y.rowSpacing,ve=Bu(y)===90,Se=0,Be=0,Ve=0,nt=0;nt<ne;nt++)if(!(nt%2!==0||1<ne&&nt===ne-1)){var rt=x[nt],ct=rt.Da,kt=Se===0?0:he;if(ve){var Mt=a.computeBusNodeSpacing(rt)-se;rt.S.h(b-(ct.width+Mt),Ve+kt),E=Math.max(E,ct.width+Mt),te=Math.max(te,Ve+kt+ct.height),Ve+=kt+ct.height}else Mt=a.computeBusNodeSpacing(rt)-se,rt.S.h(Be+kt,b-(ct.height+Mt)),te=Math.max(te,ct.height+Mt),E=Math.max(E,Be+kt+ct.width),Be+=kt+ct.width;Se++}for(Se=0,rt=Be,nt=Ve,ve?(Be=b+se,Ve=0):(Be=0,Ve=b+se),ct=0;ct<ne;ct++)if(ct%2!==0){kt=x[ct],Mt=kt.Da;var Rt=Se===0?0:he;if(ve){var Ut=a.computeBusNodeSpacing(kt)-se;kt.S.h(Be+Ut,Ve+Rt),E=Math.max(E,Be+Mt.width+Ut),te=Math.max(te,Ve+Rt+Mt.height),Ve+=Rt+Mt.height}else Ut=a.computeBusNodeSpacing(kt)-se,kt.S.h(Be+Rt,Ve+Ut),E=Math.max(E,Be+Rt+Mt.width),te=Math.max(te,Ve+Mt.height+Ut),Be+=Rt+Mt.width;Se++}return 1<ne&&ne%2===1&&(x=x[ne-1],ne=x.Da,a=a.computeBusLastRowSpacing(x,ve?Math.max(Math.abs(nt),Math.abs(Ve)):Math.max(Math.abs(rt),Math.abs(Be))),ve?(x.S.h(b+se/2-x.focus.x-x.la.x,te+a),ve=b+se/2-x.focus.x-x.la.x,E=Math.max(E,ve+ne.width),0>ve&&(E-=ve),te=Math.max(te,Math.max(nt,Ve)+a+ne.height),0>x.S.x&&(b=Bv(y,x.S.x,!1,b,se))):(x.S.h(E+a,b+se/2-x.focus.y-x.la.y),E=Math.max(E,Math.max(rt,Be)+a+ne.width),Ve=b+se/2-x.focus.y-x.la.y,te=Math.max(te,Ve+ne.height),0>Ve&&(te-=Ve),0>x.S.y&&(b=Bv(y,x.S.y,!0,b,se)))),new Mn(b,0,E,te)}function dx(a,y,x,b,E,te){var ne=x.length;if(ne===0)return new Mn(b,0,E,te);if(ne===1)return x=x[0],E=x.Da.width,te=x.Da.height,new Mn(b,0,E,te);for(var se=y.nodeSpacing,he=y.rowSpacing,ve=Bu(y)===270,Se=0,Be=0,Ve=0,nt=0;nt<ne;nt++)if(!(nt%2!==0||1<ne&&nt===ne-1)){var rt=x[nt],ct=rt.Da,kt=Se===0?0:he;if(ve){var Mt=a.computeBusNodeSpacing(rt)-se;Ve-=kt+ct.height,rt.S.h(b-(ct.width+Mt),Ve),E=Math.max(E,ct.width+Mt),te=Math.max(te,Math.abs(Ve))}else Mt=a.computeBusNodeSpacing(rt)-se,Be-=kt+ct.width,rt.S.h(Be,b-(ct.height+Mt)),te=Math.max(te,ct.height+Mt),E=Math.max(E,Math.abs(Be));Se++}for(Se=0,rt=Be,nt=Ve,ve?(Be=b+se,Ve=0):(Be=0,Ve=b+se),ct=0;ct<ne;ct++)if(ct%2!==0){kt=x[ct],Mt=kt.Da;var Rt=Se===0?0:he;if(ve){var Ut=a.computeBusNodeSpacing(kt)-se;Ve-=Rt+Mt.height,kt.S.h(Be+Ut,Ve),E=Math.max(E,Be+Mt.width+Ut),te=Math.max(te,Math.abs(Ve))}else Ut=a.computeBusNodeSpacing(kt)-se,Be-=Rt+Mt.width,kt.S.h(Be,Ve+Ut),te=Math.max(te,Ve+Mt.height+Ut),E=Math.max(E,Math.abs(Be));Se++}for(1<ne&&ne%2===1&&(he=x[ne-1],Se=he.Da,a=a.computeBusLastRowSpacing(he,ve?Math.max(Math.abs(nt),Math.abs(Ve)):Math.max(Math.abs(rt),Math.abs(Be))),ve?(he.S.h(b+se/2-he.focus.x-he.la.x,-te-Se.height-a),Be=b+se/2-he.focus.x-he.la.x,E=Math.max(E,Be+Se.width),0>Be&&(E-=Be),te=Math.max(te,Math.abs(Math.min(nt,Ve))+a+Se.height),0>he.S.x&&(b=Bv(y,he.S.x,!1,b,se))):(he.S.h(-E-Se.width-a,b+se/2-he.focus.y-he.la.y),E=Math.max(E,Math.abs(Math.min(rt,Be))+a+Se.width),Ve=b+se/2-he.focus.y-he.la.y,te=Math.max(te,Ve+Se.height),0>Ve&&(te-=Ve),0>he.S.y&&(b=Bv(y,he.S.y,!0,b,se)))),y=0;y<ne;y++)se=x[y],ve?se.S.h(se.S.x,se.S.y+te):se.S.h(se.S.x+E,se.S.y);return new Mn(b,0,E,te)}Mi.prototype.computeBusNodeSpacing=function(a){return a.parent===null?0:a.parent.nodeSpacing},Mi.prototype.computeBusLastRowSpacing=function(a){return a.parent===null?0:a.parent.rowSpacing};function Bv(a,y,x,b,E){a=a.children;for(var te=a.length,ne=0;ne<te;ne++)x?a[ne].S.h(a[ne].S.x,a[ne].S.y-y):a[ne].S.h(a[ne].S.x-y,a[ne].S.y);return y=a[te-1],Math.max(b,x?y.la.y+y.focus.y-E/2:y.la.x+y.focus.x-E/2)}function Fy(a,y,x){switch(a.alignment){case kf:case kp:return x+a.width>y&&(y=x+a.width),0>x&&(y-=x),y;case Bc:return a.width>y?a.width:y;case Ic:return 2*a.focus.x>y?a.width:y+a.width-2*a.focus.x;case Oh:case jc:return Math.max(a.width,Math.max(y,x+a.width)-Math.min(0,x));case kh:return a.width-a.focus.x+a.nodeSpacing/2+y;case ih:return Math.max(a.width,a.focus.x+a.nodeSpacing/2+y);default:return y}}function Dy(a,y,x){switch(a.alignment){case kf:case kp:return x+a.height>y&&(y=x+a.height),0>x&&(y-=x),y;case Bc:return a.height>y?a.height:y;case Ic:return 2*a.focus.y>y?a.height:y+a.height-2*a.focus.y;case Oh:case jc:return Math.max(a.height,Math.max(y,x+a.height)-Math.min(0,x));case kh:return a.height-a.focus.y+a.nodeSpacing/2+y;case ih:return Math.max(a.height,a.focus.y+a.nodeSpacing/2+y);default:return y}}function Oy(a,y,x){switch(a){case kp:y/=2,x/=2;break;case kf:y/=2,x/=2;break;case Bc:x=y=0;break;case Ic:break;default:Ht("Unhandled alignment value "+a.toString())}return new Lt(y,x)}function _d(a,y,x,b,E,te){y=Oy(y,x,b),Df(a,y.x,y.y,E,te)}function Df(a,y,x,b,E){if(y!==0||x!==0)for(a=a.children;b<=E;b++){var te=a[b].S;te.x+=y,te.y+=x}}function Iv(a,y,x,b){var E=y.parent;switch(a.ud){case Nc:for(a=y.sourceEdges;a.next();)y=a.value,y.fromVertex===E&&y.relativePoint.h(x,b);break;case Of:for(a=y.destinationEdges;a.next();)y=a.value,y.toVertex===E&&y.relativePoint.h(x,b);break;default:Ht("Unhandled path value "+a.ud.toString())}}function jv(a,y,x){for(var b=0;b<a.length;b++){var E=a[b];E.x+=y,E.y+=x}}function fx(a,y,x,b,E,te,ne,se){var he=Bu(y),ve=he===90||he===270,Se=y.nodeSpacing;y=b;var Be=E;b=te;var Ve=ne,nt=x.Yo,rt=x.kp;ne=x.Da;var ct=ve?Math.max(Ve,ne.height):Math.max(b,ne.width);if((nt===null||he!==Bu(x))&&(nt=yl(a,2),rt=yl(a,2),ve?(nt[0].h(0,0),nt[1].h(0,ne.height),rt[0].h(ne.width,0),rt[1].h(rt[0].x,nt[1].y)):(nt[0].h(0,0),nt[1].h(ne.width,0),rt[0].h(0,ne.height),rt[1].h(nt[1].x,rt[0].y))),ve){if(Ve=9999999,!(Be===null||2>Be.length||nt===null||2>nt.length))for(E=x=0;x<Be.length&&E<nt.length;){te=Be[x];var kt=nt[E];he=kt.x,ve=kt.y,he+=b;var Mt=te;x+1<Be.length&&(Mt=Be[x+1]);var Rt=kt;kt=Rt.x,Rt=Rt.y,E+1<nt.length&&(Rt=nt[E+1],kt=Rt.x,Rt=Rt.y,kt+=b);var Ut=Ve;te.y===ve?Ut=he-te.x:te.y>ve&&te.y<Rt?Ut=he+(te.y-ve)/(Rt-ve)*(kt-he)-te.x:ve>te.y&&ve<Mt.y&&(Ut=he-(te.x+(ve-te.y)/(Mt.y-te.y)*(Mt.x-te.x))),Ut<Ve&&(Ve=Ut),Mt.y<=te.y?x++:Rt<=ve?E++:(Mt.y<=Rt&&x++,Rt<=Mt.y&&E++)}if(Ve=b-Ve,Ve+=Se,x=nt,E=Ve,y===null||2>y.length||x===null||2>x.length)b=null;else{for(Se=yl(a,y.length+x.length),b=te=he=0;te<x.length&&x[te].y<y[0].y;)ve=x[te++],Se[b++].h(ve.x+E,ve.y);for(;he<y.length;)ve=y[he++],Se[b++].h(ve.x,ve.y);for(he=y[y.length-1].y;te<x.length&&x[te].y<=he;)te++;for(;te<x.length&&x[te].y>he;)ve=x[te++],Se[b++].h(ve.x+E,ve.y);for(x=yl(a,b),he=0;he<b;he++)x[he].assign(Se[he]);$u(a,Se),b=x}if(te=rt,he=Ve,Be===null||2>Be.length||te===null||2>te.length)E=null;else{for(Se=yl(a,Be.length+te.length),E=ve=x=0;x<Be.length&&Be[x].y<te[0].y;)Mt=Be[x++],Se[E++].h(Mt.x,Mt.y);for(;ve<te.length;)Mt=te[ve++],Se[E++].h(Mt.x+he,Mt.y);for(te=te[te.length-1].y;x<Be.length&&Be[x].y<=te;)x++;for(;x<Be.length&&Be[x].y>te;)he=Be[x++],Se[E++].h(he.x,he.y);for(te=yl(a,E),x=0;x<E;x++)te[x].assign(Se[x]);$u(a,Se),E=te}return te=Math.max(0,Ve)+ne.width,ne=ct,$u(a,y),$u(a,nt),$u(a,Be),$u(a,rt),se[0]=b,se[1]=E,new Mn(Ve,0,te,ne)}if(b=9999999,!(Be===null||2>Be.length||nt===null||2>nt.length))for(E=x=0;x<Be.length&&E<nt.length;)te=Be[x],kt=nt[E],he=kt.x,ve=kt.y,ve+=Ve,Mt=te,x+1<Be.length&&(Mt=Be[x+1]),Rt=kt,kt=Rt.x,Rt=Rt.y,E+1<nt.length&&(Rt=nt[E+1],kt=Rt.x,Rt=Rt.y,Rt+=Ve),Ut=b,te.x===he?Ut=ve-te.y:te.x>he&&te.x<kt?Ut=ve+(te.x-he)/(kt-he)*(Rt-ve)-te.y:he>te.x&&he<Mt.x&&(Ut=ve-(te.y+(he-te.x)/(Mt.x-te.x)*(Mt.y-te.y))),Ut<b&&(b=Ut),Mt.x<=te.x?x++:kt<=he?E++:(Mt.x<=kt&&x++,kt<=Mt.x&&E++);if(Ve-=b,Ve+=Se,x=nt,E=Ve,y===null||2>y.length||x===null||2>x.length)b=null;else{for(Se=yl(a,y.length+x.length),b=te=he=0;te<x.length&&x[te].x<y[0].x;)ve=x[te++],Se[b++].h(ve.x,ve.y+E);for(;he<y.length;)ve=y[he++],Se[b++].h(ve.x,ve.y);for(he=y[y.length-1].x;te<x.length&&x[te].x<=he;)te++;for(;te<x.length&&x[te].x>he;)ve=x[te++],Se[b++].h(ve.x,ve.y+E);for(x=yl(a,b),he=0;he<b;he++)x[he].assign(Se[he]);$u(a,Se),b=x}if(te=rt,he=Ve,Be===null||2>Be.length||te===null||2>te.length)E=null;else{for(Se=yl(a,Be.length+te.length),E=ve=x=0;x<Be.length&&Be[x].x<te[0].x;)Mt=Be[x++],Se[E++].h(Mt.x,Mt.y);for(;ve<te.length;)Mt=te[ve++],Se[E++].h(Mt.x,Mt.y+he);for(te=te[te.length-1].x;x<Be.length&&Be[x].x<=te;)x++;for(;x<Be.length&&Be[x].x>te;)he=Be[x++],Se[E++].h(he.x,he.y);for(te=yl(a,E),x=0;x<E;x++)te[x].assign(Se[x]);$u(a,Se),E=te}return te=ct,ne=Math.max(0,Ve)+ne.height,$u(a,y),$u(a,nt),$u(a,Be),$u(a,rt),se[0]=b,se[1]=E,new Mn(Ve,0,te,ne)}function yl(a,y){if(a=a.ru[y],a!==void 0&&(a=a.pop(),a!==void 0))return a;a=[];for(var x=0;x<y;x++)a[x]=new Lt;return a}function $u(a,y){var x=y.length,b=a.ru[x];b===void 0&&(b=[],a.ru[x]=b),b.push(y)}Mi.prototype.arrangeTrees=function(){if(this.Rb===Uv)for(var a=this.Ub.iterator;a.next();){var y=a.value;if(y instanceof wu){var x=y.node;if(x!==null){var b=x.position;x=b.x,b=b.y,isFinite(x)||(x=0),isFinite(b)||(b=0),ky(this,y,x,b)}}}else{for(a=[],y=this.Ub.iterator;y.next();)x=y.value,x instanceof wu&&a.push(x);switch(this.sorting){case Op:break;case Xg:a.reverse();break;case Yg:a.sort(this.comparer);break;case Jg:a.sort(this.comparer),a.reverse();break;default:Ht("Unhandled sorting value "+this.sorting.toString())}for(x=this.arrangementOrigin,y=x.x,x=x.y,b=0;b<a.length;b++){var E=a[b];switch(ky(this,E,y+E.la.x,x+E.la.y),this.Rb){case Hv:x+=E.Da.height+this.$d.height;break;case jy:y+=E.Da.width+this.$d.width;break;default:Ht("Unhandled arrangement value "+this.Rb.toString())}}}};function ky(a,y,x,b){if(y!==null){y.x=x,y.y=b,y=y.children;for(var E=y.length,te=0;te<E;te++){var ne=y[te];ky(a,ne,x+ne.S.x,b+ne.S.y)}}}Mi.prototype.commitLayout=function(){this.yv(),this.commitNodes(),this.Gu(),this.isRouting&&this.commitLinks()},Mi.prototype.commitNodes=function(){for(var a=this.network.vertexes.iterator;a.next();)a.value.commit();for(a.reset();a.next();)this.layoutComments(a.value)},Mi.prototype.Gu=function(){if(this.layerStyle===Gv){for(var a=this.$v,y=[],x=null,b=this.network.vertexes.iterator;b.next();){var E=b.value;x===null?x=E.bounds.copy():x.ed(E.bounds);var te=y[E.level];te===void 0?te=this.computeLayerSpacing(E):te=Math.max(te,this.computeLayerSpacing(E)),y[E.level]=te}for(b=0;b<y.length;b++)y[b]===void 0&&(y[b]=0);if(this.angle===90||this.angle===270?(x.Bc(this.nodeSpacing/2,this.layerSpacing),b=new Lt(-this.nodeSpacing/2,-this.layerSpacing/2)):(x.Bc(this.layerSpacing,this.nodeSpacing/2),b=new Lt(-this.layerSpacing/2,-this.nodeSpacing/2)),E=[],x=this.angle===90||this.angle===270?x.width:x.height,te=0,this.angle===180||this.angle===270)for(var ne=0;ne<a.length;ne++)te+=a[ne]+y[ne];for(ne=0;ne<a.length;ne++){var se=a[ne]+y[ne];this.angle===270?(te-=se,E.push(new Mn(0,te,x,se))):this.angle===90?(E.push(new Mn(0,te,x,se)),te+=se):this.angle===180?(te-=se,E.push(new Mn(te,0,se,x))):(E.push(new Mn(te,0,se,x)),te+=se)}this.commitLayers(E,b)}},Mi.prototype.commitLayers=function(){},Mi.prototype.commitLinks=function(){for(var a=this.network.edges.iterator;a.next();)a.value.commit()},Mi.prototype.yv=function(){for(var a=this.Ub.iterator;a.next();){var y=a.value;y instanceof wu&&px(this,y)}};function px(a,y){if(y!==null){a.setPortSpots(y),y=y.children;for(var x=y.length,b=0;b<x;b++)px(a,y[b])}}Mi.prototype.setPortSpots=function(a){var y=a.alignment;if(dd(y)){var x=this.ud===Nc,b=Bu(a);switch(b){case 0:var E=Ya;break;case 90:E=Ua;break;case 180:E=La;break;default:E=ga}var te=a.children,ne=te.length;switch(y){case Oh:case jc:for(y=0;y<ne;y++){var se=te[y];if(se=(x?se.sourceEdges:se.destinationEdges).first(),se!==null&&(se=se.link,se!==null)){var he=b===90||b===270?La:ga;if(ne===1||y===ne-1&&ne%2===1)switch(b){case 0:he=La;break;case 90:he=ga;break;case 180:he=Ya;break;default:he=Ua}else y%2===0&&(he=b===90||b===270?Ya:Ua);x?(a.setsPortSpot&&(se.fromSpot=E),a.setsChildPortSpot&&(se.toSpot=he)):(a.setsPortSpot&&(se.fromSpot=he),a.setsChildPortSpot&&(se.toSpot=E))}}break;case kh:for(b=b===90||b===270?Ya:Ua,te=x?a.destinationEdges:a.sourceEdges;te.next();)ne=te.value.link,ne!==null&&(x?(a.setsPortSpot&&(ne.fromSpot=E),a.setsChildPortSpot&&(ne.toSpot=b)):(a.setsPortSpot&&(ne.fromSpot=b),a.setsChildPortSpot&&(ne.toSpot=E)));break;case ih:for(b=b===90||b===270?La:ga,te=x?a.destinationEdges:a.sourceEdges;te.next();)ne=te.value.link,ne!==null&&(x?(a.setsPortSpot&&(ne.fromSpot=E),a.setsChildPortSpot&&(ne.toSpot=b)):(a.setsPortSpot&&(ne.fromSpot=b),a.setsChildPortSpot&&(ne.toSpot=E)))}}else if(x=Bu(a),this.ud===Nc){for(E=a.destinationEdges;E.next();)if(b=E.value.link,b!==null){if(a.setsPortSpot)if(a.portSpot.Xb())switch(x){case 0:b.fromSpot=Ya;break;case 90:b.fromSpot=Ua;break;case 180:b.fromSpot=La;break;default:b.fromSpot=ga}else b.fromSpot=a.portSpot;if(a.setsChildPortSpot)if(a.childPortSpot.Xb())switch(x){case 0:b.toSpot=La;break;case 90:b.toSpot=ga;break;case 180:b.toSpot=Ya;break;default:b.toSpot=Ua}else b.toSpot=a.childPortSpot}}else for(E=a.sourceEdges;E.next();)if(b=E.value.link,b!==null){if(a.setsPortSpot)if(a.portSpot.Xb())switch(x){case 0:b.toSpot=Ya;break;case 90:b.toSpot=Ua;break;case 180:b.toSpot=La;break;default:b.toSpot=ga}else b.toSpot=a.portSpot;if(a.setsChildPortSpot)if(a.childPortSpot.Xb())switch(x){case 0:b.fromSpot=La;break;case 90:b.fromSpot=ga;break;case 180:b.fromSpot=Ya;break;default:b.fromSpot=Ua}else b.fromSpot=a.childPortSpot}};function Bu(a){return a=a.angle,45>=a?0:135>=a?90:225>=a?180:315>=a?270:0}Mi.prototype.computeLayerSpacing=function(a){var y=Bu(a);y=y===90||y===270;var x=a.layerSpacing;if(0<a.layerSpacingParentOverlap){var b=Math.min(1,a.layerSpacingParentOverlap);x-=y?a.height*b:a.width*b}return x<(y?-a.height:-a.width)&&(x=y?-a.height:-a.width),x},Mi.prototype.computeNodeIndent=function(a){var y=Bu(a),x=a.nodeIndent;if(0<a.nodeIndentPastParent){var b=Math.min(1,a.nodeIndentPastParent);x+=y===90||y===270?a.width*b:a.height*b}return x=Math.max(0,x)},Pt.Object.defineProperties(Mi.prototype,{roots:{get:function(){return this.Ub},set:function(a){this.Ub!==a&&(this.Ub=a,this.C())}},path:{get:function(){return this.Wn},set:function(a){this.Wn!==a&&(this.Wn=a,this.C())}},treeStyle:{get:function(){return this.vo},set:function(a){this.Rb===a||a!==Wv&&a!==By&&a!==Ny&&a!==Iy||(this.vo=a,this.C())}},layerStyle:{get:function(){return this.Bq},set:function(a){this.Rb===a||a!==Ry&&a!==zy&&a!==Gv||(this.Bq=a,this.C())}},comments:{get:function(){return this.td},set:function(a){this.td!==a&&(this.td=a,this.C())}},arrangement:{get:function(){return this.Rb},set:function(a){this.Rb===a||a!==Hv&&a!==jy&&a!==Uv||(this.Rb=a,this.C())}},arrangementSpacing:{get:function(){return this.$d},set:function(a){this.$d.D(a)||(this.$d.assign(a),this.C())}},rootDefaults:{get:function(){return this.W},set:function(a){this.W!==a&&(this.W=a,this.C())}},alternateDefaults:{get:function(){return this.Y},set:function(a){this.Y!==a&&(this.Y=a,this.C())}},sorting:{get:function(){return this.W.sorting},set:function(a){this.W.sorting===a||a!==Op&&a!==Xg&&a!==Yg&&!Jg||(this.W.sorting=a,this.C())}},comparer:{get:function(){return this.W.comparer},set:function(a){this.W.comparer!==a&&(this.W.comparer=a,this.C())}},angle:{get:function(){return this.W.angle},set:function(a){this.W.angle!==a&&(a===0||a===90||a===180||a===270?(this.W.angle=a,this.C()):Ht("TreeLayout.angle must be 0, 90, 180, or 270"))}},alignment:{get:function(){return this.W.alignment},set:function(a){this.W.alignment!==a&&(this.W.alignment=a,this.C())}},nodeIndent:{get:function(){return this.W.nodeIndent},set:function(a){this.W.nodeIndent!==a&&0<=a&&(this.W.nodeIndent=a,this.C())}},nodeIndentPastParent:{get:function(){return this.W.nodeIndentPastParent},set:function(a){this.W.nodeIndentPastParent!==a&&0<=a&&1>=a&&(this.W.nodeIndentPastParent=a,this.C())}},nodeSpacing:{get:function(){return this.W.nodeSpacing},set:function(a){this.W.nodeSpacing!==a&&(this.W.nodeSpacing=a,this.C())}},layerSpacing:{get:function(){return this.W.layerSpacing},set:function(a){this.W.layerSpacing!==a&&(this.W.layerSpacing=a,this.C())}},layerSpacingParentOverlap:{get:function(){return this.W.layerSpacingParentOverlap},set:function(a){this.W.layerSpacingParentOverlap!==a&&0<=a&&1>=a&&(this.W.layerSpacingParentOverlap=a,this.C())}},compaction:{get:function(){return this.W.compaction},set:function(a){this.W.compaction===a||a!==zv&&a!==Qg||(this.W.compaction=a,this.C())}},breadthLimit:{get:function(){return this.W.breadthLimit},set:function(a){this.W.breadthLimit!==a&&0<=a&&(this.W.breadthLimit=a,this.C())}},rowSpacing:{get:function(){return this.W.rowSpacing},set:function(a){this.W.rowSpacing!==a&&(this.W.rowSpacing=a,this.C())}},rowIndent:{get:function(){return this.W.rowIndent},set:function(a){this.W.rowIndent!==a&&0<=a&&(this.W.rowIndent=a,this.C())}},commentSpacing:{get:function(){return this.W.commentSpacing},set:function(a){this.W.commentSpacing!==a&&(this.W.commentSpacing=a,this.C())}},commentMargin:{get:function(){return this.W.commentMargin},set:function(a){this.W.commentMargin!==a&&(this.W.commentMargin=a,this.C())}},setsPortSpot:{get:function(){return this.W.setsPortSpot},set:function(a){this.W.setsPortSpot!==a&&(this.W.setsPortSpot=a,this.C())}},portSpot:{get:function(){return this.W.portSpot},set:function(a){this.W.portSpot.D(a)||(this.W.portSpot=a,this.C())}},setsChildPortSpot:{get:function(){return this.W.setsChildPortSpot},set:function(a){this.W.setsChildPortSpot!==a&&(this.W.setsChildPortSpot=a,this.C())}},childPortSpot:{get:function(){return this.W.childPortSpot},set:function(a){this.W.childPortSpot.D(a)||(this.W.childPortSpot=a,this.C())}},alternateSorting:{get:function(){return this.Y.sorting},set:function(a){this.Y.sorting===a||a!==Op&&a!==Xg&&a!==Yg&&!Jg||(this.Y.sorting=a,this.C())}},alternateComparer:{get:function(){return this.Y.comparer},set:function(a){this.Y.comparer!==a&&(this.Y.comparer=a,this.C())}},alternateAngle:{get:function(){return this.Y.angle},set:function(a){this.Y.angle===a||a!==0&&a!==90&&a!==180&&a!==270||(this.Y.angle=a,this.C())}},alternateAlignment:{get:function(){return this.Y.alignment},set:function(a){this.Y.alignment!==a&&(this.Y.alignment=a,this.C())}},alternateNodeIndent:{get:function(){return this.Y.nodeIndent},set:function(a){this.Y.nodeIndent!==a&&0<=a&&(this.Y.nodeIndent=a,this.C())}},alternateNodeIndentPastParent:{get:function(){return this.Y.nodeIndentPastParent},set:function(a){this.Y.nodeIndentPastParent!==a&&0<=a&&1>=a&&(this.Y.nodeIndentPastParent=a,this.C())}},alternateNodeSpacing:{get:function(){return this.Y.nodeSpacing},set:function(a){this.Y.nodeSpacing!==a&&(this.Y.nodeSpacing=a,this.C())}},alternateLayerSpacing:{get:function(){return this.Y.layerSpacing},set:function(a){this.Y.layerSpacing!==a&&(this.Y.layerSpacing=a,this.C())}},alternateLayerSpacingParentOverlap:{get:function(){return this.Y.layerSpacingParentOverlap},set:function(a){this.Y.layerSpacingParentOverlap!==a&&0<=a&&1>=a&&(this.Y.layerSpacingParentOverlap=a,this.C())}},alternateCompaction:{get:function(){return this.Y.compaction},set:function(a){this.Y.compaction===a||a!==zv&&a!==Qg||(this.Y.compaction=a,this.C())}},alternateBreadthLimit:{get:function(){return this.Y.breadthLimit},set:function(a){this.Y.breadthLimit!==a&&0<=a&&(this.Y.breadthLimit=a,this.C())}},alternateRowSpacing:{get:function(){return this.Y.rowSpacing},set:function(a){this.Y.rowSpacing!==a&&(this.Y.rowSpacing=a,this.C())}},alternateRowIndent:{get:function(){return this.Y.rowIndent},set:function(a){this.Y.rowIndent!==a&&0<=a&&(this.Y.rowIndent=a,this.C())}},alternateCommentSpacing:{get:function(){return this.Y.commentSpacing},set:function(a){this.Y.commentSpacing!==a&&(this.Y.commentSpacing=a,this.C())}},alternateCommentMargin:{get:function(){return this.Y.commentMargin},set:function(a){this.Y.commentMargin!==a&&(this.Y.commentMargin=a,this.C())}},alternateSetsPortSpot:{get:function(){return this.Y.setsPortSpot},set:function(a){this.Y.setsPortSpot!==a&&(this.Y.setsPortSpot=a,this.C())}},alternatePortSpot:{get:function(){return this.Y.portSpot},set:function(a){this.Y.portSpot.D(a)||(this.Y.portSpot=a,this.C())}},alternateSetsChildPortSpot:{get:function(){return this.Y.setsChildPortSpot},set:function(a){this.Y.setsChildPortSpot!==a&&(this.Y.setsChildPortSpot=a,this.C())}},alternateChildPortSpot:{get:function(){return this.Y.childPortSpot},set:function(a){this.Y.childPortSpot.D(a)||(this.Y.childPortSpot=a,this.C())}}});var Rv=new wn(Mi,"PathDefault",-1),Nc=new wn(Mi,"PathDestination",0),Of=new wn(Mi,"PathSource",1),Op=new wn(Mi,"SortingForwards",10),Xg=new wn(Mi,"SortingReverse",11),Yg=new wn(Mi,"SortingAscending",12),Jg=new wn(Mi,"SortingDescending",13),kp=new wn(Mi,"AlignmentCenterSubtrees",20),kf=new wn(Mi,"AlignmentCenterChildren",21),Bc=new wn(Mi,"AlignmentStart",22),Ic=new wn(Mi,"AlignmentEnd",23),Oh=new wn(Mi,"AlignmentBus",24),jc=new wn(Mi,"AlignmentBusBranching",25),kh=new wn(Mi,"AlignmentTopLeftBus",26),ih=new wn(Mi,"AlignmentBottomRightBus",27),zv=new wn(Mi,"CompactionNone",30),Qg=new wn(Mi,"CompactionBlock",31),Wv=new wn(Mi,"StyleLayered",40),Ny=new wn(Mi,"StyleLastParents",41),By=new wn(Mi,"StyleAlternating",42),Iy=new wn(Mi,"StyleRootOnly",43),Hv=new wn(Mi,"ArrangementVertical",50),jy=new wn(Mi,"ArrangementHorizontal",51),Uv=new wn(Mi,"ArrangementFixedRoots",52),Ry=new wn(Mi,"LayerIndividual",60),zy=new wn(Mi,"LayerSiblings",61),Gv=new wn(Mi,"LayerUniform",62);Mi.className="TreeLayout",Mi.PathDefault=Rv,Mi.PathDestination=Nc,Mi.PathSource=Of,Mi.SortingForwards=Op,Mi.SortingReverse=Xg,Mi.SortingAscending=Yg,Mi.SortingDescending=Jg,Mi.AlignmentCenterSubtrees=kp,Mi.AlignmentCenterChildren=kf,Mi.AlignmentStart=Bc,Mi.AlignmentEnd=Ic,Mi.AlignmentBus=Oh,Mi.AlignmentBusBranching=jc,Mi.AlignmentTopLeftBus=kh,Mi.AlignmentBottomRightBus=ih,Mi.CompactionNone=zv,Mi.CompactionBlock=Qg,Mi.StyleLayered=Wv,Mi.StyleLastParents=Ny,Mi.StyleAlternating=By,Mi.StyleRootOnly=Iy,Mi.ArrangementVertical=Hv,Mi.ArrangementHorizontal=jy,Mi.ArrangementFixedRoots=Uv,Mi.LayerIndividual=Ry,Mi.LayerSiblings=zy,Mi.LayerUniform=Gv;function Nf(a){To.call(this,a)}Zt(Nf,To),Nf.prototype.createVertex=function(){return new wu(this)},Nf.prototype.createEdge=function(){return new Np(this)},Nf.className="TreeNetwork";function wu(a){Va.call(this,a),this.V=!1,this.hb=null,this.u=[],this.nb=this.Ha=this.F=this.ia=0,this.td=null,this.S=new Lt(0,0),this.Da=new qn(0,0),this.la=new Lt(0,0),this.im=this.hm=this.qA=!1,this.kp=this.Yo=null,this.nd=Op,this.hd=oy,this.Kb=0,this.Jb=kf,this.Vq=this.Uq=0,this.Wq=20,this.ie=50,this.Aq=0,this.Hp=Qg,this.Ap=0,this.nr=25,this.Gp=this.mr=10,this.Fp=20,this.xr=!0,this.dr=io,this.wr=!0,this.Dp=io}Zt(wu,Va),wu.prototype.copyInheritedPropertiesFrom=function(a){a!==null&&(this.nd=a.sorting,this.hd=a.comparer,this.Kb=a.angle,this.Jb=a.alignment,this.Uq=a.nodeIndent,this.Vq=a.nodeIndentPastParent,this.Wq=a.nodeSpacing,this.ie=a.layerSpacing,this.Aq=a.layerSpacingParentOverlap,this.Hp=a.compaction,this.Ap=a.breadthLimit,this.nr=a.rowSpacing,this.mr=a.rowIndent,this.Gp=a.commentSpacing,this.Fp=a.commentMargin,this.xr=a.setsPortSpot,this.dr=a.portSpot,this.wr=a.setsChildPortSpot,this.Dp=a.childPortSpot)},Pt.Object.defineProperties(wu.prototype,{initialized:{get:function(){return this.V},set:function(a){this.V!==a&&(this.V=a)}},parent:{get:function(){return this.hb},set:function(a){this.hb!==a&&(this.hb=a)}},children:{get:function(){return this.u},set:function(a){if(this.u!==a){if(a!==null)for(var y=a.length,x=0;x<y;x++);this.u=a}}},level:{get:function(){return this.ia},set:function(a){this.ia!==a&&(this.ia=a)}},descendantCount:{get:function(){return this.F},set:function(a){this.F!==a&&(this.F=a)}},maxChildrenCount:{get:function(){return this.Ha},set:function(a){this.Ha!==a&&(this.Ha=a)}},maxGenerationCount:{get:function(){return this.nb},set:function(a){this.nb!==a&&(this.nb=a)}},comments:{get:function(){return this.td},set:function(a){if(this.td!==a){if(a!==null)for(var y=a.length,x=0;x<y;x++);this.td=a}}},sorting:{get:function(){return this.nd},set:function(a){this.nd!==a&&(this.nd=a)}},comparer:{get:function(){return this.hd},set:function(a){this.hd!==a&&(this.hd=a)}},angle:{get:function(){return this.Kb},set:function(a){this.Kb!==a&&(this.Kb=a)}},alignment:{get:function(){return this.Jb},set:function(a){this.Jb!==a&&(this.Jb=a)}},nodeIndent:{get:function(){return this.Uq},set:function(a){this.Uq!==a&&(this.Uq=a)}},nodeIndentPastParent:{get:function(){return this.Vq},set:function(a){this.Vq!==a&&(this.Vq=a)}},nodeSpacing:{get:function(){return this.Wq},set:function(a){this.Wq!==a&&(this.Wq=a)}},layerSpacing:{get:function(){return this.ie},set:function(a){this.ie!==a&&(this.ie=a)}},layerSpacingParentOverlap:{get:function(){return this.Aq},set:function(a){this.Aq!==a&&(this.Aq=a)}},compaction:{get:function(){return this.Hp},set:function(a){this.Hp!==a&&(this.Hp=a)}},breadthLimit:{get:function(){return this.Ap},set:function(a){this.Ap!==a&&(this.Ap=a)}},rowSpacing:{get:function(){return this.nr},set:function(a){this.nr!==a&&(this.nr=a)}},rowIndent:{get:function(){return this.mr},set:function(a){this.mr!==a&&(this.mr=a)}},commentSpacing:{get:function(){return this.Gp},set:function(a){this.Gp!==a&&(this.Gp=a)}},commentMargin:{get:function(){return this.Fp},set:function(a){this.Fp!==a&&(this.Fp=a)}},setsPortSpot:{get:function(){return this.xr},set:function(a){this.xr!==a&&(this.xr=a)}},portSpot:{get:function(){return this.dr},set:function(a){this.dr.D(a)||(this.dr=a)}},setsChildPortSpot:{get:function(){return this.wr},set:function(a){this.wr!==a&&(this.wr=a)}},childPortSpot:{get:function(){return this.Dp},set:function(a){this.Dp.D(a)||(this.Dp=a)}},childrenCount:{get:function(){return this.children.length}},relativePosition:{get:function(){return this.S},set:function(a){this.S.set(a)}},subtreeSize:{get:function(){return this.Da},set:function(a){this.Da.set(a)}},subtreeOffset:{get:function(){return this.la},set:function(a){this.la.set(a)}}}),wu.className="TreeVertex";function Np(a){Tl.call(this,a),this.$t=new Lt(0,0)}Zt(Np,Tl),Np.prototype.commit=function(){var a=this.link;if(a!==null&&!a.isAvoiding){var y=this.network.layout,x=null,b=null;switch(y.ud){case Nc:x=this.fromVertex,b=this.toVertex;break;case Of:x=this.toVertex,b=this.fromVertex;break;default:Ht("Unhandled path value "+y.ud.toString())}if(x!==null&&b!==null){var E=this.$t;if(E.x!==0||E.y!==0||x.qA){b=x.bounds;var te=Bu(x),ne=y.computeLayerSpacing(x),se=x.rowSpacing;a.vg();var he=a.curve===Jl,ve=a.isOrthogonal,Se;if(a.uh(),ve||he){for(Se=2;4<a.pointsCount;)a.pv(2);var Be=a.i(1),Ve=a.i(2)}else{for(Se=1;3<a.pointsCount;)a.pv(1);Be=a.i(0),Ve=a.i(a.pointsCount-1)}var nt=a.i(a.pointsCount-1);te===0?(x.alignment===Ic?(te=b.bottom+E.y,E.y===0&&Be.y>nt.y+x.rowIndent&&(te=Math.min(te,Math.max(Be.y,te-y.computeNodeIndent(x))))):x.alignment===Bc?(te=b.top+E.y,E.y===0&&Be.y<nt.y-x.rowIndent&&(te=Math.max(te,Math.min(Be.y,te+y.computeNodeIndent(x))))):te=x.hm||x.im&&x.maxGenerationCount===1?b.top-x.la.y+E.y:b.y+b.height/2+E.y,he?(a.m(Se,Be.x,te),Se++,a.m(Se,b.right+ne,te),Se++,a.m(Se,b.right+ne+(E.x-se)/3,te),Se++,a.m(Se,b.right+ne+2*(E.x-se)/3,te),Se++,a.m(Se,b.right+ne+(E.x-se),te),Se++,a.m(Se,Ve.x,te)):(ve&&(a.m(Se,b.right+ne/2,Be.y),Se++),a.m(Se,b.right+ne/2,te),Se++,a.m(Se,b.right+ne+E.x-(ve?se/2:se),te),Se++,ve&&a.m(Se,a.i(Se-1).x,Ve.y))):te===90?(x.alignment===Ic?(te=b.right+E.x,E.x===0&&Be.x>nt.x+x.rowIndent&&(te=Math.min(te,Math.max(Be.x,te-y.computeNodeIndent(x))))):x.alignment===Bc?(te=b.left+E.x,E.x===0&&Be.x<nt.x-x.rowIndent&&(te=Math.max(te,Math.min(Be.x,te+y.computeNodeIndent(x))))):te=x.hm||x.im&&x.maxGenerationCount===1?b.left-x.la.x+E.x:b.x+b.width/2+E.x,he?(a.m(Se,te,Be.y),Se++,a.m(Se,te,b.bottom+ne),Se++,a.m(Se,te,b.bottom+ne+(E.y-se)/3),Se++,a.m(Se,te,b.bottom+ne+2*(E.y-se)/3),Se++,a.m(Se,te,b.bottom+ne+(E.y-se)),Se++,a.m(Se,te,Ve.y)):(ve&&(a.m(Se,Be.x,b.bottom+ne/2),Se++),a.m(Se,te,b.bottom+ne/2),Se++,a.m(Se,te,b.bottom+ne+E.y-(ve?se/2:se)),Se++,ve&&a.m(Se,Ve.x,a.i(Se-1).y))):te===180?(x.alignment===Ic?(te=b.bottom+E.y,E.y===0&&Be.y>nt.y+x.rowIndent&&(te=Math.min(te,Math.max(Be.y,te-y.computeNodeIndent(x))))):x.alignment===Bc?(te=b.top+E.y,E.y===0&&Be.y<nt.y-x.rowIndent&&(te=Math.max(te,Math.min(Be.y,te+y.computeNodeIndent(x))))):te=x.hm||x.im&&x.maxGenerationCount===1?b.top-x.la.y+E.y:b.y+b.height/2+E.y,he?(a.m(Se,Be.x,te),Se++,a.m(Se,b.left-ne,te),Se++,a.m(Se,b.left-ne+(E.x+se)/3,te),Se++,a.m(Se,b.left-ne+2*(E.x+se)/3,te),Se++,a.m(Se,b.left-ne+(E.x+se),te),Se++,a.m(Se,Ve.x,te)):(ve&&(a.m(Se,b.left-ne/2,Be.y),Se++),a.m(Se,b.left-ne/2,te),Se++,a.m(Se,b.left-ne+E.x+(ve?se/2:se),te),Se++,ve&&a.m(Se,a.i(Se-1).x,Ve.y))):te===270?(x.alignment===Ic?(te=b.right+E.x,E.x===0&&Be.x>nt.x+x.rowIndent&&(te=Math.min(te,Math.max(Be.x,te-y.computeNodeIndent(x))))):x.alignment===Bc?(te=b.left+E.x,E.x===0&&Be.x<nt.x-x.rowIndent&&(te=Math.max(te,Math.min(Be.x,te+y.computeNodeIndent(x))))):te=x.hm||x.im&&x.maxGenerationCount===1?b.left-x.la.x+E.x:b.x+b.width/2+E.x,he?(a.m(Se,te,Be.y),Se++,a.m(Se,te,b.top-ne),Se++,a.m(Se,te,b.top-ne+(E.y+se)/3),Se++,a.m(Se,te,b.top-ne+2*(E.y+se)/3),Se++,a.m(Se,te,b.top-ne+(E.y+se)),Se++,a.m(Se,te,Ve.y)):(ve&&(a.m(Se,Be.x,b.top-ne/2),Se++),a.m(Se,te,b.top-ne/2),Se++,a.m(Se,te,b.top-ne+E.y+(ve?se/2:se)),Se++,ve&&a.m(Se,Ve.x,a.i(Se-1).y))):Ht("Invalid angle "+te),a.zf()}else E=b,a=this.link,b=this.network.layout,y=Bu(x),y!==Bu(E)&&(ne=b.computeLayerSpacing(x),se=x.bounds,x=E.bounds,y===0&&x.left-se.right<ne+1||y===90&&x.top-se.bottom<ne+1||y===180&&se.left-x.right<ne+1||y===270&&se.top-x.bottom<ne+1||(a.vg(),x=a.curve===Jl,E=a.isOrthogonal,b=dd(this.fromVertex.alignment),a.uh(),y===0?(y=se.right+ne/2,x?a.pointsCount===4&&(x=a.i(3).y,a.L(1,y-20,a.i(1).y),a.m(2,y-20,x),a.m(3,y,x),a.m(4,y+20,x),a.L(5,a.i(5).x,x)):E?b?a.L(3,a.i(2).x,a.i(4).y):a.pointsCount===6&&(a.L(2,y,a.i(2).y),a.L(3,y,a.i(3).y)):a.pointsCount===4?a.m(2,y,a.i(2).y):a.pointsCount===3?a.L(1,y,a.i(2).y):a.pointsCount===2&&a.m(1,y,a.i(1).y)):y===90?(y=se.bottom+ne/2,x?a.pointsCount===4&&(x=a.i(3).x,a.L(1,a.i(1).x,y-20),a.m(2,x,y-20),a.m(3,x,y),a.m(4,x,y+20),a.L(5,x,a.i(5).y)):E?b?a.L(3,a.i(2).x,a.i(4).y):a.pointsCount===6&&(a.L(2,a.i(2).x,y),a.L(3,a.i(3).x,y)):a.pointsCount===4?a.m(2,a.i(2).x,y):a.pointsCount===3?a.L(1,a.i(2).x,y):a.pointsCount===2&&a.m(1,a.i(1).x,y)):y===180?(y=se.left-ne/2,x?a.pointsCount===4&&(x=a.i(3).y,a.L(1,y+20,a.i(1).y),a.m(2,y+20,x),a.m(3,y,x),a.m(4,y-20,x),a.L(5,a.i(5).x,x)):E?b?a.L(3,a.i(2).x,a.i(4).y):a.pointsCount===6&&(a.L(2,y,a.i(2).y),a.L(3,y,a.i(3).y)):a.pointsCount===4?a.m(2,y,a.i(2).y):a.pointsCount===3?a.L(1,y,a.i(2).y):a.pointsCount===2&&a.m(1,y,a.i(1).y)):y===270&&(y=se.top-ne/2,x?a.pointsCount===4&&(x=a.i(3).x,a.L(1,a.i(1).x,y+20),a.m(2,x,y+20),a.m(3,x,y),a.m(4,x,y-20),a.L(5,x,a.i(5).y)):E?b?a.L(3,a.i(2).x,a.i(4).y):a.pointsCount===6&&(a.L(2,a.i(2).x,y),a.L(3,a.i(3).x,y)):a.pointsCount===4?a.m(2,a.i(2).x,y):a.pointsCount===3?a.L(1,a.i(2).x,y):a.pointsCount===2&&a.m(1,a.i(1).x,y)),a.zf()))}}},Pt.Object.defineProperties(Np.prototype,{fromVertex:{get:function(){return this.kd},set:function(a){this.kd!==a&&(this.kd=a)}},toVertex:{get:function(){return this.qd},set:function(a){this.qd!==a&&(this.qd=a)}},relativePoint:{get:function(){return this.$t},set:function(a){this.$t.set(a)}}}),Np.className="TreeEdge",Wo.prototype.initializeStandardTools=function(){this.gb("Action",new ci,this.mouseDownTools),this.gb("Relinking",new Sr,this.mouseDownTools),this.gb("LinkReshaping",new Cr,this.mouseDownTools),this.gb("Rotating",new Di,this.mouseDownTools),this.gb("Resizing",new oi,this.mouseDownTools),this.gb("Linking",new lr,this.mouseMoveTools),this.gb("Dragging",new Jo,this.mouseMoveTools),this.gb("DragSelecting",new ui,this.mouseMoveTools),this.gb("Panning",new Zr,this.mouseMoveTools),this.gb("ContextMenu",new $i,this.mouseUpTools),this.gb("TextEditing",new Gi,this.mouseUpTools),this.gb("ClickCreating",new Ai,this.mouseUpTools),this.gb("ClickSelecting",new mo,this.mouseUpTools)},cc("Horizontal",new ym),cc("Spot",new xm),cc("Table",new bm),cc("Viewbox",new Em),cc("TableRow",new Cm),cc("TableColumn",new Pm),cc("Graduated",new dg),cc("Grid",new hg),rp.add("GraphLinksModel",ns),rp.add("TreeModel",uu);var Zv=Dt.go,Wy={get licenseKey(){return hn.licenseKey},set licenseKey(a){hn.licenseKey=a},get version(){return hn.version},Group:ii,EnumValue:wn,List:Dn,Set:On,Map:pr,Point:Lt,Size:qn,Rect:Mn,Margin:Or,Spot:wr,Geometry:$n,PathFigure:Ga,PathSegment:Zi,InputEvent:bs,DiagramEvent:Vc,ChangedEvent:Zo,Model:xr,GraphLinksModel:ji,TreeModel:Qs,Binding:Pa,Transaction:Ja,UndoManager:Yo,CommandHandler:Ot,Tool:Ui,DraggingTool:Jo,DraggingInfo:$c,DraggingOptions:de,LinkingBaseTool:mn,LinkingTool:lr,RelinkingTool:Sr,LinkReshapingTool:Cr,ResizingTool:oi,RotatingTool:Di,ClickSelectingTool:mo,ActionTool:ci,ClickCreatingTool:Ai,HTMLInfo:yi,ContextMenuTool:$i,DragSelectingTool:ui,PanningTool:Zr,TextEditingTool:Gi,ToolManager:Wo,Animation:ra,AnimationManager:ea,AnimationTrigger:Al,Layer:Vo,Diagram:hn,Palette:ke,Overview:Re,Brush:uo,GraphObject:qt,Panel:Xn,RowColumnDefinition:ja,Shape:pi,TextBlock:Lo,Picture:ul,Part:kr,Adornment:Vi,Node:sr,Link:_n,Placeholder:Vs,Layout:Go,LayoutNetwork:To,LayoutVertex:Va,LayoutEdge:Tl,GridLayout:ds,PanelLayout:Ka,CircularLayout:$o,CircularNetwork:Tp,CircularVertex:Wg,CircularEdge:Pv,ForceDirectedLayout:Ss,ForceDirectedNetwork:Ff,ForceDirectedVertex:Hg,ForceDirectedEdge:Ug,LayeredDigraphLayout:po,LayeredDigraphNetwork:Dp,LayeredDigraphVertex:hu,LayeredDigraphEdge:Kg,TreeLayout:Mi,TreeNetwork:Nf,TreeVertex:wu,TreeEdge:Np};typeof Zv=="object"&&Zv.version&&ir("WARNING: a `go` object on the root object is already defined. "+("Debug"in Zv?"debug ":"")+"version: "+Zv.version+", replaced with version: "+Wy.version),hn.prototype.go=Wy,Dt.go=Wy,typeof Nn.exports=="object"&&(Nn.exports=typeof We.g!="undefined"?We.g.go:self.go)}();var He=typeof We.g!="undefined"?We.g.go:self.go;const gt=typeof We.g!="undefined"?We.g.go:self.go,oe=gt.Group,Ze=gt.EnumValue,Ne=gt.List,ge=gt.Set,ce=gt.Map,Ee=gt.Point,Ae=gt.Size,ye=gt.Rect,De=gt.Margin,me=gt.Spot,xe=gt.Geometry,fe=gt.PathFigure,z=gt.PathSegment,ee=gt.InputEvent,ae=gt.DiagramEvent,re=gt.ChangedEvent,le=gt.Model,ue=gt.GraphLinksModel,pe=gt.TreeModel,Pe=gt.Binding,be=gt.Transaction,Ie=gt.UndoManager,Me=gt.CommandHandler,Oe=gt.Tool,Te=gt.DraggingTool,je=gt.DraggingInfo,ze=gt.LinkingBaseTool,$e=gt.LinkingTool,Ue=gt.RelinkingTool,qe=gt.LinkReshapingTool,et=gt.ResizingTool,lt=gt.RotatingTool,ut=gt.ClickSelectingTool,vt=gt.ActionTool,tt=gt.ClickCreatingTool,at=gt.HTMLInfo,dt=gt.ContextMenuTool,St=gt.DragSelectingTool,xt=gt.PanningTool,ft=gt.TextEditingTool,pt=gt.ToolManager,yt=gt.Animation,Tt=gt.AnimationManager,At=gt.AnimationTrigger,Gt=gt.Layer,wt=gt.Diagram,bt=gt.Palette,it=gt.Overview,_e=gt.Brush,we=gt.GraphObject,Ce=gt.Panel,Ye=gt.RowColumnDefinition,Je=gt.Shape,Le=gt.TextBlock,Ge=gt.TextBlockMetrics,Ke=gt.Picture,Xe=gt.Part,Qe=gt.Adornment,ht=gt.Node,Et=gt.Link,mt=gt.Placeholder,Ft=gt.Layout,Kt=gt.LayoutNetwork,jt=gt.LayoutVertex,Wt=gt.LayoutEdge,Vt=gt.GridLayout,nn=gt.PanelLayout,Bt=gt.CircularLayout,_t=gt.CircularNetwork,en=gt.CircularVertex,on=gt.CircularEdge,xn=gt.ForceDirectedLayout,zn=gt.ForceDirectedNetwork,tr=gt.ForceDirectedVertex,er=gt.ForceDirectedEdge,ur=gt.LayeredDigraphLayout,Dr=gt.LayeredDigraphNetwork,Mr=gt.LayeredDigraphVertex,Br=gt.LayeredDigraphEdge,qr=gt.TreeLayout,Qr=gt.TreeNetwork,Lr=gt.TreeVertex,ei=gt.TreeEdge,Er=gt.version},2859:function(Nn,fn,We){"use strict";We.d(fn,{hP:function(){return it}});var He=function(_e,we){return(He=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ce,Ye){Ce.__proto__=Ye}||function(Ce,Ye){for(var Je in Ye)Object.prototype.hasOwnProperty.call(Ye,Je)&&(Ce[Je]=Ye[Je])})(_e,we)};function gt(_e,we){function Ce(){this.constructor=_e}He(_e,we),_e.prototype=we===null?Object.create(we):(Ce.prototype=we.prototype,new Ce)}function oe(_e,we,Ce,Ye){return new(Ce||(Ce=Promise))(function(Je,Le){function Ge(Qe){try{Xe(Ye.next(Qe))}catch(ht){Le(ht)}}function Ke(Qe){try{Xe(Ye.throw(Qe))}catch(ht){Le(ht)}}function Xe(Qe){var ht;Qe.done?Je(Qe.value):(ht=Qe.value,ht instanceof Ce?ht:new Ce(function(Et){Et(ht)})).then(Ge,Ke)}Xe((Ye=Ye.apply(_e,we||[])).next())})}function Ze(_e,we){var Ce,Ye,Je,Le,Ge={label:0,sent:function(){if(1&Je[0])throw Je[1];return Je[1]},trys:[],ops:[]};return Le={next:Ke(0),throw:Ke(1),return:Ke(2)},typeof Symbol=="function"&&(Le[Symbol.iterator]=function(){return this}),Le;function Ke(Xe){return function(Qe){return function(ht){if(Ce)throw new TypeError("Generator is already executing.");for(;Ge;)try{if(Ce=1,Ye&&(Je=2&ht[0]?Ye.return:ht[0]?Ye.throw||((Je=Ye.return)&&Je.call(Ye),0):Ye.next)&&!(Je=Je.call(Ye,ht[1])).done)return Je;switch(Ye=0,Je&&(ht=[2&ht[0],Je.value]),ht[0]){case 0:case 1:Je=ht;break;case 4:return Ge.label++,{value:ht[1],done:!1};case 5:Ge.label++,Ye=ht[1],ht=[0];continue;case 7:ht=Ge.ops.pop(),Ge.trys.pop();continue;default:if(Je=Ge.trys,!((Je=Je.length>0&&Je[Je.length-1])||ht[0]!==6&&ht[0]!==2)){Ge=0;continue}if(ht[0]===3&&(!Je||ht[1]>Je[0]&&ht[1]<Je[3])){Ge.label=ht[1];break}if(ht[0]===6&&Ge.label<Je[1]){Ge.label=Je[1],Je=ht;break}if(Je&&Ge.label<Je[2]){Ge.label=Je[2],Ge.ops.push(ht);break}Je[2]&&Ge.ops.pop(),Ge.trys.pop();continue}ht=we.call(_e,Ge)}catch(Et){ht=[6,Et],Ye=0}finally{Ce=Je=0}if(5&ht[0])throw ht[1];return{value:ht[0]?ht[1]:void 0,done:!0}}([Xe,Qe])}}}function Ne(){for(var _e=0,we=0,Ce=arguments.length;we<Ce;we++)_e+=arguments[we].length;var Ye=Array(_e),Je=0;for(we=0;we<Ce;we++)for(var Le=arguments[we],Ge=0,Ke=Le.length;Ge<Ke;Ge++,Je++)Ye[Je]=Le[Ge];return Ye}var ge=function(){function _e(){}return _e.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},_e.setAttributes=function(we,Ce){for(var Ye=0,Je=Ce;Ye<Je.length;Ye++){var Le=Je[Ye],Ge=Le[0],Ke=Le[1];we.setAttribute(Ge,Ke)}},_e.createRect=function(we,Ce,Ye){var Je=document.createElementNS("http://www.w3.org/2000/svg","rect");return Je.setAttribute("width",we.toString()),Je.setAttribute("height",Ce.toString()),Ye&&_e.setAttributes(Je,Ye),Je},_e.createLine=function(we,Ce,Ye,Je,Le){var Ge=document.createElementNS("http://www.w3.org/2000/svg","line");return Ge.setAttribute("x1",we.toString()),Ge.setAttribute("y1",Ce.toString()),Ge.setAttribute("x2",Ye.toString()),Ge.setAttribute("y2",Je.toString()),Le&&_e.setAttributes(Ge,Le),Ge},_e.createPolygon=function(we,Ce){var Ye=document.createElementNS("http://www.w3.org/2000/svg","polygon");return Ye.setAttribute("points",we),Ce&&_e.setAttributes(Ye,Ce),Ye},_e.createCircle=function(we,Ce){var Ye=document.createElementNS("http://www.w3.org/2000/svg","circle");return Ye.setAttribute("cx",(we/2).toString()),Ye.setAttribute("cy",(we/2).toString()),Ye.setAttribute("r",we.toString()),Ce&&_e.setAttributes(Ye,Ce),Ye},_e.createEllipse=function(we,Ce,Ye){var Je=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return Je.setAttribute("cx",(we/2).toString()),Je.setAttribute("cy",(Ce/2).toString()),Je.setAttribute("rx",(we/2).toString()),Je.setAttribute("ry",(Ce/2).toString()),Ye&&_e.setAttributes(Je,Ye),Je},_e.createGroup=function(we){var Ce=document.createElementNS("http://www.w3.org/2000/svg","g");return we&&_e.setAttributes(Ce,we),Ce},_e.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},_e.createMarker=function(we,Ce,Ye,Je,Le,Ge,Ke){var Xe=document.createElementNS("http://www.w3.org/2000/svg","marker");return _e.setAttributes(Xe,[["id",we],["orient",Ce],["markerWidth",Ye.toString()],["markerHeight",Je.toString()],["refX",Le.toString()],["refY",Ge.toString()]]),Xe.appendChild(Ke),Xe},_e.createText=function(we){var Ce=document.createElementNS("http://www.w3.org/2000/svg","text");return Ce.setAttribute("x","0"),Ce.setAttribute("y","0"),we&&_e.setAttributes(Ce,we),Ce},_e.createTSpan=function(we,Ce){var Ye=document.createElementNS("http://www.w3.org/2000/svg","tspan");return Ye.textContent=we,Ce&&_e.setAttributes(Ye,Ce),Ye},_e.createImage=function(we){var Ce=document.createElementNS("http://www.w3.org/2000/svg","image");return we&&_e.setAttributes(Ce,we),Ce},_e.createPoint=function(we,Ce){var Ye=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return Ye.x=we,Ye.y=Ce,Ye},_e.createPath=function(we,Ce){var Ye=document.createElementNS("http://www.w3.org/2000/svg","path");return Ye.setAttribute("d",we),Ce&&_e.setAttributes(Ye,Ce),Ye},_e}(),ce=function(){function _e(){}return _e.addKey=function(we){_e.key=we},Object.defineProperty(_e,"isLicensed",{get:function(){return!!_e.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(_e.key)},enumerable:!1,configurable:!0}),_e}(),Ee=function(){function _e(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return _e.prototype.rasterize=function(we,Ce,Ye){var Je=this;return new Promise(function(Le){var Ge=Ye!==void 0?Ye:document.createElement("canvas");we===null&&(Je.markersOnly=!0,Je.naturalSize=!1);var Ke=document.createElementNS("http://www.w3.org/2000/svg","svg");Ke.setAttribute("xmlns","http://www.w3.org/2000/svg"),Ke.setAttribute("width",Ce.width.baseVal.valueAsString),Ke.setAttribute("height",Ce.height.baseVal.valueAsString),Ke.setAttribute("viewBox","0 0 "+Ce.viewBox.baseVal.width.toString()+" "+Ce.viewBox.baseVal.height.toString()),Ke.innerHTML=Ce.innerHTML,Je.naturalSize===!0?(Ke.width.baseVal.value=we.naturalWidth,Ke.height.baseVal.value=we.naturalHeight):Je.width!==void 0&&Je.height!==void 0&&(Ke.width.baseVal.value=Je.width,Ke.height.baseVal.value=Je.height),Ge.width=Ke.width.baseVal.value,Ge.height=Ke.height.baseVal.value;var Xe=Ke.outerHTML,Qe=Ge.getContext("2d");Je.markersOnly!==!0&&Qe.drawImage(we,0,0,Ge.width,Ge.height);var ht=window.URL,Et=new Image(Ge.width,Ge.height);Et.setAttribute("crossOrigin","anonymous");var mt=new Blob([Xe],{type:"image/svg+xml"}),Ft=ht.createObjectURL(mt);Et.onload=function(){Qe.drawImage(Et,0,0),ht.revokeObjectURL(Ft);var Kt=Ge.toDataURL(Je.imageType,Je.imageQuality);Le(Kt)},Et.src=Ft})},_e}(),Ae=function(){},ye=function(){function _e(we){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+we+"_"}return Object.defineProperty(_e.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"defaultSettings",{get:function(){return{canvasBackgroundColor:"#ffffff",toolbarBackgroundColor:"#111111",toolbarBackgroundHoverColor:"#333333",toolbarColor:"#eeeeee",toolbarHeight:40,toolboxColor:"#eeeeee",toolboxAccentColor:"#3080c3",undoButtonVisible:!0,redoButtonVisible:!1,zoomButtonVisible:!1,zoomOutButtonVisible:!1,clearButtonVisible:!1,resultButtonBlockVisible:!0,logoPosition:"left"}},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),_e.prototype.addClass=function(we){return this.styleSheet===void 0&&this.addStyleSheet(),we.name=""+this.classNamePrefix+we.localName,this.classes.push(we),this.styleSheet.sheet.insertRule("."+we.name+" {"+we.style+"}",this.styleSheet.sheet.cssRules.length),we},_e.prototype.addRule=function(we){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(we),this.styleSheet.sheet.insertRule(we.selector+" {"+we.style+"}",this.styleSheet.sheet.cssRules.length)},_e.prototype.addStyleSheet=function(){var we;this.styleSheet=document.createElement("style"),((we=this.styleSheetRoot)!==null&&we!==void 0?we:document.head).appendChild(this.styleSheet),this.addRule(new De("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new De("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
from {
opacity: 0;
}
to {
opacity: 1;
}
`)),this.addRule(new De("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
from {
opacity: 1;
}
to {
opacity: 0;
}
`)),this.addClass(new me("fade_in",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
`)),this.addClass(new me("fade_out",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
`))},_e.prototype.removeStyleSheet=function(){var we;this.styleSheet&&(((we=this.styleSheetRoot)!==null&&we!==void 0?we:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},_e}(),De=function(_e,we){this.selector=_e,this.style=we},me=function(_e,we){this.localName=_e,this.style=we},xe=function(){function _e(we,Ce,Ye,Je,Le){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=we,this.displayMode=Ce,this.markerItems=Ye,this.uiStyleSettings=Je,this.styles=Le,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return _e.prototype.show=function(we){var Ce=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=we,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var Ye=document.createElement("div");Ye.className=this.toolbarBlockStyleClass.name,Ye.style.whiteSpace="nowrap",this.uiContainer.appendChild(Ye),this.addActionButton(Ye,'<svg viewBox="0 0 24 24"><path d="M10.07 14.27a.997.997 0 011.33.48l2.3 4.99 1.8-.85-2.31-4.98c-.24-.5-.02-1.1.48-1.33l.28-.08 2.3-.45L8 5.12V15.9l1.82-1.47.25-.16m3.57 7.7a.99.99 0 01-1.33-.47l-2.18-4.74-2.51 2.02c-.17.14-.38.22-.62.22a1 1 0 01-1-1V3a1 1 0 011-1c.24 0 .47.09.64.23l.01-.01 11.49 9.64a1.001 1.001 0 01-.44 1.75l-3.16.62 2.2 4.73c.26.5.02 1.09-.48 1.32l-3.62 1.69z"/></svg>',"select"),this.addActionButton(Ye,'<svg viewBox="0 0 24 24"><path d="M9 3v1H4v2h1v13a2 2 0 002 2h10a2 2 0 002-2V6h1V4h-5V3H9M7 6h10v13H7V6m2 2v9h2V8H9m4 0v9h2V8h-2z"/></svg>',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(Ye,'<svg viewBox="0 0 24 24"><path d="M19.36 2.72l1.42 1.42-5.72 5.71c1.07 1.54 1.22 3.39.32 4.59L9.06 8.12c1.2-.9 3.05-.75 4.59.32l5.71-5.72M5.93 17.57c-2.01-2.01-3.24-4.41-3.58-6.65l4.88-2.09 7.44 7.44-2.09 4.88c-2.24-.34-4.64-1.57-6.65-3.58z"/></svg>',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(Ye,'<svg viewBox="0 0 24 24"><path d="M12.5 8c-2.65 0-5.05 1-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"/></svg>',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(Ye,'<svg viewBox="0 0 24 24"><path d="M18.4 10.6C16.55 9 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16a8.002 8.002 0 017.6-5.5c1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"/></svg>',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(Ye,'<svg viewBox="0 0 24 24"><path d="M15.5 14l5 5-1.5 1.5-5-5v-.79l-.27-.28A6.471 6.471 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3 6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.57 4.23l.28.27h.79m-6 0C12 14 14 12 14 9.5S12 5 9.5 5 5 7 5 9.5 7 14 9.5 14m2.5-4h-2v2H9v-2H7V9h2V7h1v2h2v1z"/></svg>',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(Ye,'<svg viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 009.5 3 6.5 6.5 0 003 9.5 6.5 6.5 0 009.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 5 1.5-1.5-5-5m-6 0C7 14 5 12 5 9.5S7 5 9.5 5 14 7 14 9.5 12 14 9.5 14M7 9h5v1H7V9z"/></svg>',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(Ye,'<svg viewBox="0 0 24 24"><path d="M18.13 12l1.26-1.26c.44-.44 1-.68 1.61-.74V9l-6-6H5c-1.11 0-2 .89-2 2v14a2 2 0 002 2h6v-1.87l.13-.13H5V5h7v7h6.13M14 4.5l5.5 5.5H14V4.5m5.13 9.33l2.04 2.04L15.04 22H13v-2.04l6.13-6.13m3.72.36l-.98.98-2.04-2.04.98-.98c.19-.2.52-.2.72 0l1.32 1.32c.2.2.2.53 0 .72z"/></svg>',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(Le){var Ge=document.createElement("div");Ge.className=""+Ce.toolbarButtonStyleClass.name,Ge.setAttribute("data-type-name",Le.typeName),Ge.innerHTML=Le.icon,Ge.addEventListener("click",function(){Ce.markerToolbarButtonClicked(Ge,Le)}),Ce.buttons.push(Ge),Ce.markerButtons.push(Ge)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='<svg viewBox="0 0 24 24"><path d="M12 16a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2z"/></svg>',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var Je=document.createElement("div");Je.className=this.toolbarBlockStyleClass.name,Je.style.whiteSpace="nowrap",Je.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(Je),this.addActionButton(Je,'<svg viewBox="0 0 24 24"><path d="M9 20.42l-6.21-6.21 2.83-2.83L9 14.77l9.88-9.89 2.83 2.83L9 20.42z"/></svg>',"render"),this.addActionButton(Je,'<svg viewBox="0 0 24 24"><path d="M20 6.91L17.09 4 12 9.09 6.91 4 4 6.91 9.09 12 4 17.09 6.91 20 12 14.91 17.09 20 20 17.09 14.91 12 20 6.91z"/></svg>',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},_e.prototype.addButtonClickListener=function(we){this.buttonClickListeners.push(we)},_e.prototype.removeButtonClickListener=function(we){this.buttonClickListeners.indexOf(we)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(we),1)},_e.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},_e.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var we=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var Ce=0;Ce<this.markerButtons.length;Ce++)Ce<we||Ce===we&&this.markerButtons.length-1===we?this.markerButtonBlock.appendChild(this.markerButtons[Ce]):(Ce===we&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[Ce]))}},_e.prototype.overflowButtonClicked=function(){this.markerButtonOverflowBlock.style.display!=="none"?(this.markerButtonOverflowBlock.className=this.markerButtonOverflowBlock.className.replace(this.styles.fadeInAnimationClassName,""),this.markerButtonOverflowBlock.style.display="none"):(this.markerButtonOverflowBlock.className+=" "+this.styles.fadeInAnimationClassName,this.markerButtonOverflowBlock.style.top=this.uiContainer.offsetTop+this.overflowButton.offsetHeight+"px",this.markerButtonOverflowBlock.style.right=this.uiContainer.offsetWidth-this.overflowButton.offsetLeft-this.overflowButton.offsetWidth+2*this.uiContainer.offsetLeft+"px",this.markerButtonOverflowBlock.style.display="inline-block")},_e.prototype.resetButtonStyles=function(){var we=this;this.buttons.forEach(function(Ce){Ce.className=Ce.className.replace(we.uiStyleSettings.toolbarButtonStyleColorsClassName?we.uiStyleSettings.toolbarButtonStyleColorsClassName:we.toolbarButtonStyleColorsClass.name,"").trim(),Ce.className=Ce.className.replace(we.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?we.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:we.toolbarActiveButtonStyleColorsClass.name,"").trim(),Ce.className+=" "+(we.uiStyleSettings.toolbarButtonStyleColorsClassName?we.uiStyleSettings.toolbarButtonStyleColorsClassName:we.toolbarButtonStyleColorsClass.name)})},_e.prototype.addActionButton=function(we,Ce,Ye){var Je=this,Le=document.createElement("div");switch(Le.className=""+this.toolbarButtonStyleClass.name,Le.innerHTML=Ce,Le.setAttribute("data-action",Ye),Le.addEventListener("click",function(){Je.actionToolbarButtonClicked(Le,Ye)}),Ye){case"select":Le.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":Le.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":Le.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":Le.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":Le.style.fill=this.uiStyleSettings.closeButtonColor}we.appendChild(Le),this.buttons.push(Le)},_e.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new me("toolbar",`
width: 100%;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
height: `+this.uiStyleSettings.toolbarHeight+`px;
box-sizing: content-box;
`+(this.displayMode==="inline"?"border-top-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
`+(this.displayMode==="inline"?"border-top-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
overflow: hidden;
`)),this.toolbarStyleColorsClass=this.styles.addClass(new me("toolbar_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
`)),this.toolbarBlockStyleClass=this.styles.addClass(new me("toolbar-block",`
display: inline-block;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new me("toolbar-overflow-block",`
position: absolute;
top: `+this.uiStyleSettings.toolbarHeight+`px;
max-width: `+2*this.uiStyleSettings.toolbarHeight+`px;
z-index: 10;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleColorsClass=this.styles.addClass(new me("toolbar-overflow-block_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`));var we=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new me("toolbar_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*we)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*we)+`px;
padding: `+we+`px;
box-sizing: content-box;
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new me("toolbar_button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new me("toolbar_active_button",`
fill: `+this.uiStyleSettings.toolbarColor+`;
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new De("."+this.toolbarButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`)),this.styles.addRule(new De("."+this.toolbarButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`))},_e.prototype.markerToolbarButtonClicked=function(we,Ce){this.setActiveButton(we),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(Ye){return Ye("marker",Ce)}),this.markerButtonOverflowBlock.style.display="none"},_e.prototype.actionToolbarButtonClicked=function(we,Ce){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(Ye){return Ye("action",Ce)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},_e.prototype.setActiveButton=function(we){this.resetButtonStyles(),we.className=we.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),we.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},_e.prototype.setActiveMarkerButton=function(we){var Ce=this.markerButtons.find(function(Ye){return Ye.getAttribute("data-type-name")===we});Ce&&this.setActiveButton(Ce)},_e.prototype.setCurrentMarker=function(we){var Ce=this;this.currentMarker=we,this.buttons.filter(function(Ye){return/delete|notes/.test(Ye.getAttribute("data-action"))}).forEach(function(Ye){Ce.currentMarker===void 0?(Ye.style.fillOpacity="0.4",Ye.style.pointerEvents="none"):(Ye.style.fillOpacity="1",Ye.style.pointerEvents="all")})},_e}(),fe=function(){function _e(we,Ce,Ye,Je){this.panels=[],this.panelButtons=[],this.markerjsContainer=we,this.displayMode=Ce,this.uiStyleSettings=Ye,this.styles=Je,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return _e.prototype.addStyles=function(){var we;this.toolboxStyleClass=this.styles.addClass(new me("toolbox",`
width: 100%;
flex-shrink: 0;
display: flex;
flex-direction: column;
font-family: sans-serif;
`+(this.displayMode==="popup"?"height:"+2.5*this.uiStyleSettings.toolbarHeight+"px;":"")+`
box-sizing: content-box;
`+(this.displayMode==="popup"?"background-color: "+this.uiStyleSettings.canvasBackgroundColor+";":"")+`
`+(this.displayMode==="inline"?"border-bottom-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
`+(this.displayMode==="inline"?"border-bottom-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
overflow: hidden;
`)),this.toolboxStyleColorsClass=this.styles.addClass(new me("toolbox_colors",`
color: `+this.uiStyleSettings.toolboxColor+`;
`));var Ce=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new me("toolbox-button-row",`
display: flex;
cursor: default;
box-sizing: content-box;
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new me("toolbox-button-row_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new me("toolbox-panel-row",`
display: flex;
`+(this.displayMode==="inline"?"position: absolute;":"")+`
`+(this.displayMode==="inline"?"bottom: "+this.uiStyleSettings.toolbarHeight+"px;":"")+`
cursor: default;
height: `+1.5*this.uiStyleSettings.toolbarHeight+`px;
`+(this.displayMode==="inline"?"width: 100%;":"")+`
box-sizing: content-box;
`)),this.toolboxPanelRowStyleColorsClass=this.styles.addClass(new me("toolbox-panel-row_colors",`
background-color: `+((we=this.uiStyleSettings.toolboxBackgroundColor)!==null&&we!==void 0?we:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
`)),this.toolboxButtonStyleClass=this.styles.addClass(new me("toolbox_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*Ce)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*Ce)+`px;
padding: `+Ce+`px;
box-sizing: content-box;
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new me("toolbox-button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new me("toolbox-active-button_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.styles.addRule(new De("."+this.toolboxButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new De("."+this.toolboxButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`))},_e.prototype.show=function(we){var Ce;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=we,this.uiContainer.className=this.toolboxStyleClass.name+" "+((Ce=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&Ce!==void 0?Ce:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},_e.prototype.setPanelButtons=function(we){var Ce,Ye,Je=this;this.panels=we,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((Ce=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&Ce!==void 0?Ce:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((Ye=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&Ye!==void 0?Ye:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(Le){var Ge;Le.uiStyleSettings=Je.uiStyleSettings;var Ke=document.createElement("div");Ke.className=Je.toolboxButtonStyleClass.name+" "+((Ge=Je.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Ge!==void 0?Ge:Je.toolboxButtonStyleColorsClass.name),Ke.innerHTML=Le.icon,Ke.title=Le.title,Ke.addEventListener("click",function(){Je.panelButtonClick(Le)}),Je.panelButtons.push(Ke),Je.buttonRow.appendChild(Ke)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},_e.prototype.panelButtonClick=function(we){var Ce=this,Ye=-1;if(we!==this.activePanel){Ye=this.panels.indexOf(we),this.panelRow.innerHTML="";var Je=we.getUi();Je.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(Je),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=we}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){Ce.displayMode==="inline"?Ce.panelRow.style.display="none":Ce.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(Le,Ge){var Ke,Xe;Le.className=Ce.toolboxButtonStyleClass.name+" "+(Ge===Ye?""+((Ke=Ce.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&Ke!==void 0?Ke:Ce.toolboxActiveButtonStyleColorsClass.name):""+((Xe=Ce.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Xe!==void 0?Xe:Ce.toolboxButtonStyleColorsClass.name))})},_e}(),z=function(_e,we){this.title=_e,this.icon=we},ee=function(_e){function we(Ce,Ye,Je,Le){var Ge=_e.call(this,Ce,Le||'<svg viewBox="0 0 24 24"><path d="M17.5 12a1.5 1.5 0 01-1.5-1.5A1.5 1.5 0 0117.5 9a1.5 1.5 0 011.5 1.5 1.5 1.5 0 01-1.5 1.5m-3-4A1.5 1.5 0 0113 6.5 1.5 1.5 0 0114.5 5 1.5 1.5 0 0116 6.5 1.5 1.5 0 0114.5 8m-5 0A1.5 1.5 0 018 6.5 1.5 1.5 0 019.5 5 1.5 1.5 0 0111 6.5 1.5 1.5 0 019.5 8m-3 4A1.5 1.5 0 015 10.5 1.5 1.5 0 016.5 9 1.5 1.5 0 018 10.5 1.5 1.5 0 016.5 12M12 3a9 9 0 00-9 9 9 9 0 009 9 1.5 1.5 0 001.5-1.5c0-.39-.15-.74-.39-1-.23-.27-.38-.62-.38-1a1.5 1.5 0 011.5-1.5H16a5 5 0 005-5c0-4.42-4.03-8-9-8z"/></svg>')||this;return Ge.colors=[],Ge.addTransparent=!1,Ge.colorBoxes=[],Ge.colors=Ye,Ge.currentColor=Je,Ge.setCurrentColor=Ge.setCurrentColor.bind(Ge),Ge.getColorBox=Ge.getColorBox.bind(Ge),Ge}return gt(we,_e),we.prototype.getUi=function(){var Ce=this,Ye=document.createElement("div");return Ye.style.overflow="hidden",Ye.style.whiteSpace="nowrap",this.colors.forEach(function(Je){var Le=Ce.getColorBox(Je);Ye.appendChild(Le),Ce.colorBoxes.push(Le)}),Ye},we.prototype.getColorBox=function(Ce){var Ye=this,Je=this.uiStyleSettings.toolbarHeight/4,Le=this.uiStyleSettings.toolbarHeight-Je,Ge=document.createElement("div");Ge.style.display="inline-block",Ge.style.boxSizing="content-box",Ge.style.width=Le-2+"px",Ge.style.height=Le-2+"px",Ge.style.padding="1px",Ge.style.marginRight="2px",Ge.style.marginBottom="2px",Ge.style.borderWidth="2px",Ge.style.borderStyle="solid",Ge.style.borderRadius=(Le+2)/2+"px",Ge.style.borderColor=Ce===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",Ge.addEventListener("click",function(){Ye.setCurrentColor(Ce,Ge)});var Ke=document.createElement("div");return Ke.style.display="inline-block",Ke.style.width=Le-2+"px",Ke.style.height=Le-2+"px",Ke.style.backgroundColor=Ce,Ke.style.borderRadius=Le/2+"px",Ce==="transparent"&&(Ke.style.fill=this.uiStyleSettings.toolboxAccentColor,Ke.innerHTML=`<svg viewBox="0 0 24 24">
<path d="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z" />
</svg>`),Ge.appendChild(Ke),Ge},we.prototype.setCurrentColor=function(Ce,Ye){var Je=this;this.currentColor=Ce,this.colorBoxes.forEach(function(Le){Le.style.borderColor=Le===Ye?Je.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(Ce)},we}(z),ae=function(){function _e(we,Ce,Ye){this._state="new",this._isSelected=!1,this._container=we,this._overlayContainer=Ce,this.globalSettings=Ye,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(_e.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),_e.prototype.ownsTarget=function(we){return!1},Object.defineProperty(_e.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),_e.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},_e.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},_e.prototype.pointerDown=function(we,Ce){},_e.prototype.dblClick=function(we,Ce){},_e.prototype.manipulate=function(we){},_e.prototype.pointerUp=function(we){this.stateChanged()},_e.prototype.dispose=function(){},_e.prototype.addMarkerVisualToContainer=function(we){this.container.childNodes.length>0?this.container.insertBefore(we,this.container.childNodes[0]):this.container.appendChild(we)},_e.prototype.getState=function(){return{typeName:_e.typeName,state:this.state,notes:this.notes}},_e.prototype.restoreState=function(we){this._state=we.state,this.notes=we.notes},_e.prototype.scale=function(we,Ce){},_e.prototype.colorChanged=function(we){this.onColorChanged&&this.onColorChanged(we),this.stateChanged()},_e.prototype.fillColorChanged=function(we){this.onFillColorChanged&&this.onFillColorChanged(we),this.stateChanged()},_e.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var we=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),we.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(we)&&this.onStateChanged(this)}},_e.typeName="MarkerBase",_e}(),re=function(){function _e(){this.findGripByVisual=this.findGripByVisual.bind(this)}return _e.prototype.findGripByVisual=function(we){return this.topLeft.ownsTarget(we)?this.topLeft:this.topCenter.ownsTarget(we)?this.topCenter:this.topRight.ownsTarget(we)?this.topRight:this.centerLeft.ownsTarget(we)?this.centerLeft:this.centerRight.ownsTarget(we)?this.centerRight:this.bottomLeft.ownsTarget(we)?this.bottomLeft:this.bottomCenter.ownsTarget(we)?this.bottomCenter:this.bottomRight.ownsTarget(we)?this.bottomRight:void 0},_e}(),le=function(){function _e(){this.GRIP_SIZE=10,this.visual=ge.createGroup(),this.visual.appendChild(ge.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(ge.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return _e.prototype.ownsTarget=function(we){return we===this.visual||we===this.visual.childNodes[0]||we===this.visual.childNodes[1]},_e}(),ue=function(){function _e(){}return _e.toITransformMatrix=function(we){return{a:we.a,b:we.b,c:we.c,d:we.d,e:we.e,f:we.f}},_e.toSVGMatrix=function(we,Ce){return we.a=Ce.a,we.b=Ce.b,we.c=Ce.c,we.d=Ce.d,we.e=Ce.e,we.f=Ce.f,we},_e}(),pe=function(_e){function we(Ce,Ye,Je){var Le=_e.call(this,Ce,Ye,Je)||this;return Le.left=0,Le.top=0,Le.width=0,Le.height=0,Le.defaultSize={x:50,y:20},Le.offsetX=0,Le.offsetY=0,Le.rotationAngle=0,Le.CB_DISTANCE=10,Le._suppressMarkerCreateEvent=!1,Le.container.transform.baseVal.appendItem(ge.createTransform()),Le.setupControlBox(),Le}return gt(we,_e),Object.defineProperty(we.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"visual",{get:function(){return this._visual},set:function(Ce){this._visual=Ce;var Ye=ge.createTransform();this._visual.transform.baseVal.appendItem(Ye)},enumerable:!1,configurable:!0}),we.prototype.ownsTarget=function(Ce){return!!_e.prototype.ownsTarget.call(this,Ce)||!!(this.controlGrips.findGripByVisual(Ce)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(Ce))},we.prototype.pointerDown=function(Ce,Ye){_e.prototype.pointerDown.call(this,Ce,Ye),this.state==="new"&&(this.left=Ce.x,this.top=Ce.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var Je=this.unrotatePoint(Ce);if(this.manipulationStartX=Je.x,this.manipulationStartY=Je.y,this.offsetX=Je.x-this.left,this.offsetY=Je.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(Ye),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(Ye)){this.activeGrip=this.rotatorGrip;var Le=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=Le.x-this.width/2,this.top=Le.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var Ge=this.container.transform.baseVal.getItem(0);Ge.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(Ge,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},we.prototype.pointerUp=function(Ce){var Ye=this.state;_e.prototype.pointerUp.call(this,Ce),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(Ce),this._state="select",Ye==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},we.prototype.moveVisual=function(Ce){this.visual.style.transform="translate("+Ce.x+"px, "+Ce.y+"px)"},we.prototype.manipulate=function(Ce){var Ye=this.unrotatePoint(Ce);this.state==="creating"?this.resize(Ce):this.state==="move"?(this.left=this.manipulationStartLeft+(Ye.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(Ye.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(Ye):this.state==="rotate"&&this.rotate(Ce)},we.prototype.resize=function(Ce){var Ye=this.manipulationStartLeft,Je=this.manipulationStartWidth,Le=this.manipulationStartTop,Ge=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:Ye=this.manipulationStartLeft+Ce.x-this.manipulationStartX,Je=this.manipulationStartWidth+this.manipulationStartLeft-Ye;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:Je=this.manipulationStartWidth+Ce.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:Le=this.manipulationStartTop+Ce.y-this.manipulationStartY,Ge=this.manipulationStartHeight+this.manipulationStartTop-Le;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:Ge=this.manipulationStartHeight+Ce.y-this.manipulationStartY}Je>=0?(this.left=Ye,this.width=Je):(this.left=Ye+Je,this.width=-Je),Ge>=0?(this.top=Le,this.height=Ge):(this.top=Le+Ge,this.height=-Ge),this.setSize()},we.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},we.prototype.rotate=function(Ce){if(Math.abs(Ce.x-this.centerX)>.1){var Ye=Math.sign(Ce.x-this.centerX);this.rotationAngle=180*Math.atan((Ce.y-this.centerY)/(Ce.x-this.centerX))/Math.PI+90*Ye,this.applyRotation()}},we.prototype.applyRotation=function(){var Ce=this.container.transform.baseVal.getItem(0);Ce.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(Ce,0)},we.prototype.rotatePoint=function(Ce){if(this.rotationAngle===0)return Ce;var Ye=this.container.getCTM(),Je=ge.createPoint(Ce.x,Ce.y);return{x:(Je=Je.matrixTransform(Ye)).x,y:Je.y}},we.prototype.unrotatePoint=function(Ce){if(this.rotationAngle===0)return Ce;var Ye=this.container.getCTM();Ye=Ye.inverse();var Je=ge.createPoint(Ce.x,Ce.y);return{x:(Je=Je.matrixTransform(Ye)).x,y:Je.y}},we.prototype.select=function(){_e.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},we.prototype.deselect=function(){_e.prototype.deselect.call(this),this.controlBox.style.display="none"},we.prototype.setupControlBox=function(){this.controlBox=ge.createGroup();var Ce=ge.createTransform();Ce.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(Ce),this.container.appendChild(this.controlBox),this.controlRect=ge.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=ge.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new re,this.addControlGrips(),this.controlBox.style.display="none"},we.prototype.adjustControlBox=function(){var Ce=this.controlBox.transform.baseVal.getItem(0);Ce.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(Ce,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},we.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},we.prototype.createGrip=function(){var Ce=new le;return Ce.visual.transform.baseVal.appendItem(ge.createTransform()),this.controlBox.appendChild(Ce.visual),Ce},we.prototype.positionGrips=function(){var Ce=this.controlGrips.topLeft.GRIP_SIZE,Ye=-Ce/2,Je=Ye,Le=(this.width+this.CB_DISTANCE)/2-Ce/2,Ge=(this.height+this.CB_DISTANCE)/2-Ce/2,Ke=this.height+this.CB_DISTANCE-Ce/2,Xe=this.width+this.CB_DISTANCE-Ce/2;this.positionGrip(this.controlGrips.topLeft.visual,Ye,Je),this.positionGrip(this.controlGrips.topCenter.visual,Le,Je),this.positionGrip(this.controlGrips.topRight.visual,Xe,Je),this.positionGrip(this.controlGrips.centerLeft.visual,Ye,Ge),this.positionGrip(this.controlGrips.centerRight.visual,Xe,Ge),this.positionGrip(this.controlGrips.bottomLeft.visual,Ye,Ke),this.positionGrip(this.controlGrips.bottomCenter.visual,Le,Ke),this.positionGrip(this.controlGrips.bottomRight.visual,Xe,Ke),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,Le,Je-3*this.CB_DISTANCE)},we.prototype.positionGrip=function(Ce,Ye,Je){var Le=Ce.transform.baseVal.getItem(0);Le.setTranslate(Ye,Je),Ce.transform.baseVal.replaceItem(Le,0)},we.prototype.hideControlBox=function(){this.controlBox.style.display="none"},we.prototype.showControlBox=function(){this.controlBox.style.display=""},we.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:ue.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:ue.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},_e.prototype.getState.call(this))},we.prototype.restoreState=function(Ce){_e.prototype.restoreState.call(this,Ce);var Ye=Ce;this.left=Ye.left,this.top=Ye.top,this.width=Ye.width,this.height=Ye.height,this.rotationAngle=Ye.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(ue.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,Ye.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(ue.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,Ye.containerTransformMatrix))},we.prototype.scale=function(Ce,Ye){_e.prototype.scale.call(this,Ce,Ye);var Je=this.rotatePoint({x:this.left,y:this.top}),Le=this.unrotatePoint({x:Je.x*Ce,y:Je.y*Ye});this.left=Le.x,this.top=Le.y,this.width=this.width*Ce,this.height=this.height*Ye,this.adjustControlBox()},we}(ae),Pe=function(_e){function we(Ce,Ye,Je){var Le=_e.call(this,Ce,Ye,Je)||this;return Le.fillColor="transparent",Le.strokeColor="transparent",Le.strokeWidth=0,Le.strokeDasharray="",Le.opacity=1,Le.setStrokeColor=Le.setStrokeColor.bind(Le),Le.setFillColor=Le.setFillColor.bind(Le),Le.setStrokeWidth=Le.setStrokeWidth.bind(Le),Le.setStrokeDasharray=Le.setStrokeDasharray.bind(Le),Le.createVisual=Le.createVisual.bind(Le),Le}return gt(we,_e),we.prototype.ownsTarget=function(Ce){return!(!_e.prototype.ownsTarget.call(this,Ce)&&Ce!==this.visual)},we.prototype.createVisual=function(){this.visual=ge.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},we.prototype.pointerDown=function(Ce,Ye){_e.prototype.pointerDown.call(this,Ce,Ye),this.state==="new"&&(this.createVisual(),this.moveVisual(Ce),this._state="creating")},we.prototype.manipulate=function(Ce){_e.prototype.manipulate.call(this,Ce)},we.prototype.resize=function(Ce){_e.prototype.resize.call(this,Ce),this.setSize()},we.prototype.setSize=function(){_e.prototype.setSize.call(this),ge.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},we.prototype.pointerUp=function(Ce){_e.prototype.pointerUp.call(this,Ce),this.setSize()},we.prototype.setStrokeColor=function(Ce){this.strokeColor=Ce,this.visual&&ge.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(Ce),this.stateChanged()},we.prototype.setFillColor=function(Ce){this.fillColor=Ce,this.visual&&ge.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},we.prototype.setStrokeWidth=function(Ce){this.strokeWidth=Ce,this.visual&&ge.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},we.prototype.setStrokeDasharray=function(Ce){this.strokeDasharray=Ce,this.visual&&ge.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},we.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},_e.prototype.getState.call(this))},we.prototype.restoreState=function(Ce){var Ye=Ce;this.fillColor=Ye.fillColor,this.strokeColor=Ye.strokeColor,this.strokeWidth=Ye.strokeWidth,this.strokeDasharray=Ye.strokeDasharray,this.opacity=Ye.opacity,this.createVisual(),_e.prototype.restoreState.call(this,Ce),this.setSize()},we.prototype.scale=function(Ce,Ye){_e.prototype.scale.call(this,Ce,Ye),this.setSize()},we.title="Rectangle marker",we}(pe),be=function(_e){function we(Ce,Ye,Je,Le){var Ge=_e.call(this,Ce,Le||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return Ge.widths=[],Ge.widthBoxes=[],Ge.widths=Ye,Ge.currentWidth=Je,Ge.setCurrentWidth=Ge.setCurrentWidth.bind(Ge),Ge}return gt(we,_e),we.prototype.getUi=function(){var Ce=this,Ye=document.createElement("div");return Ye.style.display="flex",Ye.style.overflow="hidden",Ye.style.flexGrow="2",this.widths.forEach(function(Je){var Le=document.createElement("div");Le.style.display="flex",Le.style.flexGrow="2",Le.style.alignItems="center",Le.style.justifyContent="space-between",Le.style.padding="5px",Le.style.borderWidth="2px",Le.style.borderStyle="solid",Le.style.borderColor=Je===Ce.currentWidth?Ce.uiStyleSettings.toolboxAccentColor:"transparent",Le.addEventListener("click",function(){Ce.setCurrentWidth(Je,Le)}),Ye.appendChild(Le);var Ge=document.createElement("div");Ge.innerText=Je.toString(),Ge.style.marginRight="5px",Le.appendChild(Ge);var Ke=document.createElement("div");Ke.style.minHeight="20px",Ke.style.flexGrow="2",Ke.style.display="flex",Ke.style.alignItems="center";var Xe=document.createElement("hr");Xe.style.minWidth="20px",Xe.style.border="0px",Xe.style.borderTop=Je+"px solid "+Ce.uiStyleSettings.toolboxColor,Xe.style.flexGrow="2",Ke.appendChild(Xe),Le.appendChild(Ke),Ce.widthBoxes.push(Le)}),Ye},we.prototype.setCurrentWidth=function(Ce,Ye){var Je=this;this.currentWidth=Ce,this.widthBoxes.forEach(function(Le){Le.style.borderColor=Le===Ye?Je.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},we}(z),Ie=function(_e){function we(Ce,Ye,Je,Le){var Ge=_e.call(this,Ce,Le||'<svg viewBox="0 0 24 24"><path d="M3 16h5v-2H3v2m6.5 0h5v-2h-5v2m6.5 0h5v-2h-5v2M3 20h2v-2H3v2m4 0h2v-2H7v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2M3 12h8v-2H3v2m10 0h8v-2h-8v2M3 4v4h18V4H3z"/></svg>')||this;return Ge.styles=[],Ge.styleBoxes=[],Ge.styles=Ye,Ge.currentStyle=Je,Ge.setCurrentStyle=Ge.setCurrentStyle.bind(Ge),Ge}return gt(we,_e),we.prototype.getUi=function(){var Ce=this,Ye=document.createElement("div");return Ye.style.display="flex",Ye.style.overflow="hidden",Ye.style.flexGrow="2",this.styles.forEach(function(Je){var Le=document.createElement("div");Le.style.display="flex",Le.style.alignItems="center",Le.style.justifyContent="space-between",Le.style.padding="5px",Le.style.borderWidth="2px",Le.style.borderStyle="solid",Le.style.overflow="hidden",Le.style.maxWidth=100/Ce.styles.length-5+"%",Le.style.borderColor=Je===Ce.currentStyle?Ce.uiStyleSettings.toolboxAccentColor:"transparent",Le.addEventListener("click",function(){Ce.setCurrentStyle(Je,Le)}),Ye.appendChild(Le);var Ge=document.createElement("div");Ge.style.minHeight="20px",Ge.style.flexGrow="2",Ge.style.overflow="hidden";var Ke=`<svg width="100" height="20">
<line x1="0" y1="10" x2="100" y2="10" stroke="`+Ce.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(Je!==""?'stroke-dasharray="'+Je+'"':"")+` />
</svg>`;Ge.innerHTML=Ke,Le.appendChild(Ge),Ce.styleBoxes.push(Le)}),Ye},we.prototype.setCurrentStyle=function(Ce,Ye){var Je=this;this.currentStyle=Ce,this.styleBoxes.forEach(function(Le){Le.style.borderColor=Le===Ye?Je.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},we}(z),Me=function(_e){function we(Ce,Ye,Je){var Le=_e.call(this,Ce,Ye,Je)||this;return Le.strokeColor=Je.defaultColor,Le.strokeWidth=Je.defaultStrokeWidth,Le.strokeDasharray=Je.defaultStrokeDasharray,Le.strokePanel=new ee("Line color",Je.defaultColorSet,Je.defaultColor),Le.strokePanel.onColorChanged=Le.setStrokeColor,Le.strokeWidthPanel=new be("Line width",Je.defaultStrokeWidths,Je.defaultStrokeWidth),Le.strokeWidthPanel.onWidthChanged=Le.setStrokeWidth,Le.strokeStylePanel=new Ie("Line style",Je.defaultStrokeDasharrays,Je.defaultStrokeDasharray),Le.strokeStylePanel.onStyleChanged=Le.setStrokeDasharray,Le}return gt(we,_e),Object.defineProperty(we.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),we.prototype.getState=function(){var Ce=_e.prototype.getState.call(this);return Ce.typeName=we.typeName,Ce},we.typeName="FrameMarker",we.title="Frame marker",we.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',we}(Pe),Oe=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},Te=function(_e){function we(Ce,Ye,Je){var Le=_e.call(this,Ce,Ye,Je)||this;return Le.x1=0,Le.y1=0,Le.x2=0,Le.y2=0,Le.defaultLength=50,Le.manipulationStartX=0,Le.manipulationStartY=0,Le.manipulationStartX1=0,Le.manipulationStartY1=0,Le.manipulationStartX2=0,Le.manipulationStartY2=0,Le.setupControlBox(),Le}return gt(we,_e),we.prototype.ownsTarget=function(Ce){return!!_e.prototype.ownsTarget.call(this,Ce)||!(!this.grip1.ownsTarget(Ce)&&!this.grip2.ownsTarget(Ce))},we.prototype.pointerDown=function(Ce,Ye){_e.prototype.pointerDown.call(this,Ce,Ye),this.manipulationStartX=Ce.x,this.manipulationStartY=Ce.y,this.state==="new"&&(this.x1=Ce.x,this.y1=Ce.y,this.x2=Ce.x,this.y2=Ce.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(Ye)?this.activeGrip=this.grip1:this.grip2.ownsTarget(Ye)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},we.prototype.pointerUp=function(Ce){var Ye=this.state;_e.prototype.pointerUp.call(this,Ce),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(Ce),this._state="select",Ye==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},we.prototype.adjustVisual=function(){},we.prototype.manipulate=function(Ce){this.state==="creating"?this.resize(Ce):this.state==="move"?(this.x1=this.manipulationStartX1+Ce.x-this.manipulationStartX,this.y1=this.manipulationStartY1+Ce.y-this.manipulationStartY,this.x2=this.manipulationStartX2+Ce.x-this.manipulationStartX,this.y2=this.manipulationStartY2+Ce.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(Ce)},we.prototype.resize=function(Ce){switch(this.activeGrip){case this.grip1:this.x1=Ce.x,this.y1=Ce.y;break;case this.grip2:case void 0:this.x2=Ce.x,this.y2=Ce.y}this.adjustVisual(),this.adjustControlBox()},we.prototype.select=function(){_e.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},we.prototype.deselect=function(){_e.prototype.deselect.call(this),this.controlBox.style.display="none"},we.prototype.setupControlBox=function(){this.controlBox=ge.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},we.prototype.adjustControlBox=function(){this.positionGrips()},we.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},we.prototype.createGrip=function(){var Ce=new le;return Ce.visual.transform.baseVal.appendItem(ge.createTransform()),this.controlBox.appendChild(Ce.visual),Ce},we.prototype.positionGrips=function(){var Ce=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-Ce/2,this.y1-Ce/2),this.positionGrip(this.grip2.visual,this.x2-Ce/2,this.y2-Ce/2)},we.prototype.positionGrip=function(Ce,Ye,Je){var Le=Ce.transform.baseVal.getItem(0);Le.setTranslate(Ye,Je),Ce.transform.baseVal.replaceItem(Le,0)},we.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},_e.prototype.getState.call(this))},we.prototype.restoreState=function(Ce){_e.prototype.restoreState.call(this,Ce);var Ye=Ce;this.x1=Ye.x1,this.y1=Ye.y1,this.x2=Ye.x2,this.y2=Ye.y2},we.prototype.scale=function(Ce,Ye){_e.prototype.scale.call(this,Ce,Ye),this.x1=this.x1*Ce,this.y1=this.y1*Ye,this.x2=this.x2*Ce,this.y2=this.y2*Ye,this.adjustVisual(),this.adjustControlBox()},we}(ae),je=function(_e){function we(Ce,Ye,Je){var Le=_e.call(this,Ce,Ye,Je)||this;return Le.strokeColor="transparent",Le.strokeWidth=0,Le.strokeDasharray="",Le.setStrokeColor=Le.setStrokeColor.bind(Le),Le.setStrokeWidth=Le.setStrokeWidth.bind(Le),Le.setStrokeDasharray=Le.setStrokeDasharray.bind(Le),Le.strokeColor=Je.defaultColor,Le.strokeWidth=Je.defaultStrokeWidth,Le.strokeDasharray=Je.defaultStrokeDasharray,Le.strokePanel=new ee("Line color",Je.defaultColorSet,Je.defaultColor),Le.strokePanel.onColorChanged=Le.setStrokeColor,Le.strokeWidthPanel=new be("Line width",Je.defaultStrokeWidths,Je.defaultStrokeWidth),Le.strokeWidthPanel.onWidthChanged=Le.setStrokeWidth,Le.strokeStylePanel=new Ie("Line style",Je.defaultStrokeDasharrays,Je.defaultStrokeDasharray),Le.strokeStylePanel.onStyleChanged=Le.setStrokeDasharray,Le}return gt(we,_e),we.prototype.ownsTarget=function(Ce){return!(!_e.prototype.ownsTarget.call(this,Ce)&&Ce!==this.visual&&Ce!==this.selectorLine&&Ce!==this.visibleLine)},we.prototype.createVisual=function(){this.visual=ge.createGroup(),this.selectorLine=ge.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=ge.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},we.prototype.pointerDown=function(Ce,Ye){_e.prototype.pointerDown.call(this,Ce,Ye),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},we.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),ge.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),ge.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),ge.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},we.prototype.setStrokeColor=function(Ce){this.strokeColor=Ce,this.adjustVisual(),this.colorChanged(Ce)},we.prototype.setStrokeWidth=function(Ce){this.strokeWidth=Ce,this.adjustVisual()},we.prototype.setStrokeDasharray=function(Ce){this.strokeDasharray=Ce,this.adjustVisual(),this.stateChanged()},Object.defineProperty(we.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),we.prototype.getState=function(){var Ce=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},_e.prototype.getState.call(this));return Ce.typeName=we.typeName,Ce},we.prototype.restoreState=function(Ce){_e.prototype.restoreState.call(this,Ce);var Ye=Ce;this.strokeColor=Ye.strokeColor,this.strokeWidth=Ye.strokeWidth,this.strokeDasharray=Ye.strokeDasharray,this.createVisual(),this.adjustVisual()},we.typeName="LineMarker",we.title="Line marker",we.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',we}(Te),ze=function(_e){function we(Ce,Ye,Je,Le){var Ge=_e.call(this,Ce,Le||'<svg viewBox="0 0 24 24"><path d="M17 8h3v12h1v1h-4v-1h1v-3h-4l-1.5 3H14v1h-4v-1h1l6-12m1 1l-3.5 7H18V9M5 3h5c1.11 0 2 .89 2 2v11H9v-5H6v5H3V5c0-1.11.89-2 2-2m1 2v4h3V5H6z"/></svg>')||this;return Ge.fonts=[],Ge.fontBoxes=[],Ge.fonts=Ye,Ge.currentFont=Je,Ge.setCurrentFont=Ge.setCurrentFont.bind(Ge),Ge}return gt(we,_e),we.prototype.getUi=function(){var Ce=this,Ye=document.createElement("div");return Ye.style.overflow="hidden",Ye.style.flexGrow="2",this.fonts.forEach(function(Je){var Le=document.createElement("div");Le.style.display="inline-block",Le.style.alignItems="center",Le.style.justifyContent="space-between",Le.style.padding="5px",Le.style.borderWidth="2px",Le.style.borderStyle="solid",Le.style.overflow="hidden",Le.style.maxWidth=100/Ce.fonts.length-5+"%",Le.style.borderColor=Je===Ce.currentFont?Ce.uiStyleSettings.toolboxAccentColor:"transparent",Le.addEventListener("click",function(){Ce.setCurrentFont(Je,Le)}),Ye.appendChild(Le);var Ge=document.createElement("div");Ge.style.display="flex",Ge.style.minHeight="20px",Ge.style.flexGrow="2",Ge.style.fontFamily=Je,Ge.style.overflow="hidden";var Ke=document.createElement("div");Ke.style.whiteSpace="nowrap",Ke.style.overflow="hidden",Ke.style.textOverflow="ellipsis",Ke.innerHTML="The quick brown fox jumps over the lazy dog",Ge.appendChild(Ke),Le.appendChild(Ge),Ce.fontBoxes.push(Le)}),Ye},we.prototype.setCurrentFont=function(Ce,Ye){var Je=this;this.currentFont=Ce,this.fontBoxes.forEach(function(Le){Le.style.borderColor=Le===Ye?Je.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},we}(z),$e=function(_e){function we(Ce,Ye,Je){var Le=_e.call(this,Ce,Ye,Je)||this;return Le.color="transparent",Le.padding=5,Le.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",Le.text=Le.DEFAULT_TEXT,Le.isMoved=!1,Le.color=Je.defaultColor,Le.fontFamily=Je.defaultFontFamily,Le.defaultSize={x:100,y:30},Le.setColor=Le.setColor.bind(Le),Le.setFont=Le.setFont.bind(Le),Le.renderText=Le.renderText.bind(Le),Le.sizeText=Le.sizeText.bind(Le),Le.textEditDivClicked=Le.textEditDivClicked.bind(Le),Le.showTextEditor=Le.showTextEditor.bind(Le),Le.setSize=Le.setSize.bind(Le),Le.positionTextEditor=Le.positionTextEditor.bind(Le),Le.colorPanel=new ee("Color",Je.defaultColorSet,Je.defaultColor),Le.colorPanel.onColorChanged=Le.setColor,Le.fontFamilyPanel=new ze("Font",Je.defaultFontFamilies,Je.defaultFontFamily),Le.fontFamilyPanel.onFontChanged=Le.setFont,Le}return gt(we,_e),we.prototype.ownsTarget=function(Ce){if(_e.prototype.ownsTarget.call(this,Ce)||Ce===this.visual||Ce===this.textElement||Ce===this.bgRectangle)return!0;var Ye=!1;return this.textElement.childNodes.forEach(function(Je){Je===Ce&&(Ye=!0)}),Ye},we.prototype.createVisual=function(){this.visual=ge.createGroup(),this.bgRectangle=ge.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=ge.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(ge.createTransform()),this.textElement.transform.baseVal.appendItem(ge.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},we.prototype.pointerDown=function(Ce,Ye){_e.prototype.pointerDown.call(this,Ce,Ye),this.isMoved=!1,this.pointerDownPoint=Ce,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(Ce),this._state="creating")},we.prototype.renderText=function(){var Ce=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(Ye){Ce.textElement.appendChild(ge.createTSpan(Ye.trim()===""?" ":Ye.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},we.prototype.getTextScale=function(){var Ce=this.textElement.getBBox(),Ye=1;if(Ce.width>0&&Ce.height>0){var Je=(1*this.width-this.width*this.padding*2/100)/Ce.width,Le=(1*this.height-this.height*this.padding*2/100)/Ce.height;Ye=Math.min(Je,Le)}return Ye},we.prototype.getTextPosition=function(Ce){var Ye=this.textElement.getBBox(),Je=0,Le=0;return Ye.width>0&&Ye.height>0&&(Je=(this.width-Ye.width*Ce)/2,Le=this.height/2-Ye.height*Ce/2),{x:Je,y:Le}},we.prototype.sizeText=function(){var Ce=this.textElement.getBBox(),Ye=this.getTextScale(),Je=this.getTextPosition(Ye);Je.y-=Ce.y*Ye,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+Je.x+"px, "+Je.y+"px) scale("+Ye+", "+Ye+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(Je.x,Je.y),this.textElement.transform.baseVal.getItem(1).setScale(Ye,Ye))},we.prototype.manipulate=function(Ce){_e.prototype.manipulate.call(this,Ce),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(Ce.x-this.pointerDownPoint.x)>5||Math.abs(Ce.y-this.pointerDownPoint.y)>5)},we.prototype.resize=function(Ce){_e.prototype.resize.call(this,Ce),this.isMoved=!0,this.setSize(),this.sizeText()},we.prototype.setSize=function(){_e.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(ge.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),ge.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},we.prototype.pointerUp=function(Ce){var Ye=this.state;Ye==="creating"&&(this._suppressMarkerCreateEvent=!0),_e.prototype.pointerUp.call(this,Ce),this.setSize(),(Ye==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},we.prototype.showTextEditor=function(){var Ce=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(Ye){Ye.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var Ye=Number.parseFloat(Ce.textEditor.style.fontSize);Ce.textEditor.clientWidth>=Number.parseInt(Ce.textEditor.style.maxWidth)&&Ye>.9;)Ye-=.1,Ce.textEditor.style.fontSize=Math.max(Ye,.9)+"em"}),this.textEditor.addEventListener("keyup",function(Ye){Ye.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(Ye){if(Ye.clipboardData){var Je=Ye.clipboardData.getData("text"),Le=window.getSelection();if(!Le.rangeCount)return!1;Le.deleteFromDocument(),Le.getRangeAt(0).insertNode(document.createTextNode(Je)),Ye.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){Ce.textEditDivClicked(Ce.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},we.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var Ce=this.getTextScale(),Ye=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),Je=this.textElement.getBBox(),Le={x:Je.width*Ce,y:Je.height*Ce};Ye.x-=Le.x/2,Ye.y-=Le.y/2,this.textEditor.style.top=Ye.y+"px",this.textEditor.style.left=Ye.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-Ye.x+"px",this.textEditor.style.fontSize=Math.max(16*Ce,12)+"px",this.textElement.style.display="none"}},we.prototype.textEditDivClicked=function(Ce){this.text=Ce.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},we.prototype.select=function(){_e.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},we.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),_e.prototype.deselect.call(this)},we.prototype.dblClick=function(Ce,Ye){_e.prototype.dblClick.call(this,Ce,Ye),this.showTextEditor()},we.prototype.setColor=function(Ce){this.textElement&&ge.setAttributes(this.textElement,[["fill",Ce]]),this.color=Ce,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(Ce)},we.prototype.setFont=function(Ce){this.textElement&&ge.setAttributes(this.textElement,[["font-family",Ce]]),this.fontFamily=Ce,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},we.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},we.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(we.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),we.prototype.getState=function(){var Ce=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},_e.prototype.getState.call(this));return Ce.typeName=we.typeName,Ce},we.prototype.restoreState=function(Ce){var Ye=Ce;this.color=Ye.color,this.fontFamily=Ye.fontFamily,this.padding=Ye.padding,this.text=Ye.text,this.createVisual(),_e.prototype.restoreState.call(this,Ce),this.setSize()},we.prototype.scale=function(Ce,Ye){_e.prototype.scale.call(this,Ce,Ye),this.setSize(),this.sizeText(),this.positionTextEditor()},we.typeName="TextMarker",we.title="Text marker",we.icon='<svg viewBox="0 0 24 24"><path d="M9.6 14L12 7.7l2.4 6.3M11 5L5.5 19h2.2l1.1-3H15l1.1 3h2.2L13 5h-2z"/></svg>',we}(pe),Ue=function(_e){function we(Ce,Ye,Je){var Le=_e.call(this,Ce,Ye,Je)||this;return Le.color="transparent",Le.lineWidth=3,Le.drawing=!1,Le.pixelRatio=1,Le.color=Je.defaultColor,Le.lineWidth=Je.defaultStrokeWidth,Le.pixelRatio=Je.freehandPixelRatio,Le.setColor=Le.setColor.bind(Le),Le.addCanvas=Le.addCanvas.bind(Le),Le.finishCreation=Le.finishCreation.bind(Le),Le.setLineWidth=Le.setLineWidth.bind(Le),Le.colorPanel=new ee("Color",Je.defaultColorSet,Je.defaultColor),Le.colorPanel.onColorChanged=Le.setColor,Le.lineWidthPanel=new be("Line width",Je.defaultStrokeWidths,Je.defaultStrokeWidth),Le.lineWidthPanel.onWidthChanged=Le.setLineWidth,Le}return gt(we,_e),we.prototype.ownsTarget=function(Ce){return!(!_e.prototype.ownsTarget.call(this,Ce)&&Ce!==this.visual&&Ce!==this.drawingImage)},we.prototype.createVisual=function(){this.visual=ge.createGroup(),this.drawingImage=ge.createImage(),this.visual.appendChild(this.drawingImage);var Ce=ge.createTransform();this.visual.transform.baseVal.appendItem(Ce),this.addMarkerVisualToContainer(this.visual)},we.prototype.pointerDown=function(Ce,Ye){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(Ce.x,Ce.y),this.drawing=!0):_e.prototype.pointerDown.call(this,Ce,Ye)},we.prototype.manipulate=function(Ce){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(Ce.x,Ce.y),this.canvasContext.stroke()):_e.prototype.manipulate.call(this,Ce)},we.prototype.resize=function(Ce){_e.prototype.resize.call(this,Ce),ge.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),ge.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},we.prototype.pointerUp=function(Ce){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):_e.prototype.pointerUp.call(this,Ce)},we.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},we.prototype.select=function(){this.state==="creating"&&this.finishCreation(),_e.prototype.select.call(this)},we.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),_e.prototype.deselect.call(this)},we.prototype.finishCreation=function(){for(var Ce=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),Ye=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],Je=Ye[0],Le=Ye[1],Ge=Ye[2],Ke=Ye[3],Xe=!1,Qe=0;Qe<this.canvasElement.height;Qe++)for(var ht=0;ht<this.canvasElement.width;ht++)Ce.data[Qe*this.canvasElement.width*4+4*ht+3]>0&&(Xe=!0,Qe<Le&&(Le=Qe),ht<Je&&(Je=ht),Qe>Ke&&(Ke=Qe),ht>Ge&&(Ge=ht));if(Xe){this.left=Je/this.pixelRatio,this.top=Le/this.pixelRatio,this.width=(Ge-Je)/this.pixelRatio,this.height=(Ke-Le)/this.pixelRatio;var Et=document.createElement("canvas");Et.width=Ge-Je,Et.height=Ke-Le,Et.getContext("2d").putImageData(this.canvasContext.getImageData(Je,Le,Ge-Je,Ke-Le),0,0),this.drawingImgUrl=Et.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},we.prototype.setDrawingImage=function(){ge.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),ge.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},we.prototype.setColor=function(Ce){this.color=Ce,this.colorChanged(Ce)},we.prototype.setLineWidth=function(Ce){this.lineWidth=Ce},Object.defineProperty(we.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),we.prototype.getState=function(){var Ce=Object.assign({drawingImgUrl:this.drawingImgUrl},_e.prototype.getState.call(this));return Ce.typeName=we.typeName,Ce},we.prototype.restoreState=function(Ce){this.createVisual(),_e.prototype.restoreState.call(this,Ce),this.drawingImgUrl=Ce.drawingImgUrl,this.setDrawingImage()},we.prototype.scale=function(Ce,Ye){_e.prototype.scale.call(this,Ce,Ye),this.setDrawingImage()},we.typeName="FreehandMarker",we.title="Freehand marker",we.icon='<svg viewBox="0 0 24 24"><path d="M9.75 20.85c1.78-.7 1.39-2.63.49-3.85-.89-1.25-2.12-2.11-3.36-2.94A9.817 9.817 0 014.54 12c-.28-.33-.85-.94-.27-1.06.59-.12 1.61.46 2.13.68.91.38 1.81.82 2.65 1.34l1.01-1.7C8.5 10.23 6.5 9.32 4.64 9.05c-1.06-.16-2.18.06-2.54 1.21-.32.99.19 1.99.77 2.77 1.37 1.83 3.5 2.71 5.09 4.29.34.33.75.72.95 1.18.21.44.16.47-.31.47-1.24 0-2.79-.97-3.8-1.61l-1.01 1.7c1.53.94 4.09 2.41 5.96 1.79m11.09-15.6c.22-.22.22-.58 0-.79l-1.3-1.3a.562.562 0 00-.78 0l-1.02 1.02 2.08 2.08M11 10.92V13h2.08l6.15-6.15-2.08-2.08L11 10.92z"/></svg>',we}(pe),qe=function(_e){function we(Ce,Ye,Je){var Le=_e.call(this,Ce,Je||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return Le.typeBoxes=[],Le.currentType=Ye,Le.setCurrentType=Le.setCurrentType.bind(Le),Le}return gt(we,_e),we.prototype.getUi=function(){var Ce=this,Ye=document.createElement("div");Ye.style.display="flex",Ye.style.overflow="hidden",Ye.style.flexGrow="2";for(var Je=function(Ke){var Xe="both";switch(Ke){case 0:Xe="both";break;case 1:Xe="start";break;case 2:Xe="end";break;case 3:Xe="none"}var Qe=document.createElement("div");if(Qe.style.display="flex",Qe.style.flexGrow="2",Qe.style.alignItems="center",Qe.style.justifyContent="space-between",Qe.style.padding="5px",Qe.style.borderWidth="2px",Qe.style.borderStyle="solid",Qe.style.borderColor=Xe===Le.currentType?Le.uiStyleSettings.toolboxAccentColor:"transparent",Qe.addEventListener("click",function(){Ce.setCurrentType(Xe,Qe)}),Ye.appendChild(Qe),Xe==="both"||Xe==="start"){var ht=document.createElement("div");ht.style.display="flex",ht.style.alignItems="center",ht.style.minHeight="20px",ht.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
<polygon points="0,5 10,0 10,10" fill="`+(Le.uiStyleSettings!==void 0?Le.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,ht.style.marginLeft="5px",Qe.appendChild(ht)}var Et=document.createElement("div");Et.style.display="flex",Et.style.alignItems="center",Et.style.minHeight="20px",Et.style.flexGrow="2";var mt=document.createElement("hr");if(mt.style.minWidth="20px",mt.style.border="0px",mt.style.borderTop="3px solid "+(Le.uiStyleSettings!==void 0?Le.uiStyleSettings.toolboxColor:"#eeeeee"),mt.style.flexGrow="2",Et.appendChild(mt),Qe.appendChild(Et),Xe==="both"||Xe==="end"){var Ft=document.createElement("div");Ft.style.display="flex",Ft.style.alignItems="center",Ft.style.minHeight="20px",Ft.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
<polygon points="0,0 10,5 0,10" fill="`+(Le.uiStyleSettings!==void 0?Le.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,Ft.style.marginRight="5px",Qe.appendChild(Ft)}Le.typeBoxes.push(Qe)},Le=this,Ge=0;Ge<4;Ge++)Je(Ge);return Ye},we.prototype.setCurrentType=function(Ce,Ye){var Je=this;this.currentType=Ce,this.typeBoxes.forEach(function(Le){Le.style.borderColor=Le===Ye?Je.uiStyleSettings!==void 0?Je.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},we}(z),et=function(_e){function we(Ce,Ye,Je){var Le=_e.call(this,Ce,Ye,Je)||this;return Le.arrowType="end",Le.arrowBaseHeight=10,Le.arrowBaseWidth=10,Le.getArrowPoints=Le.getArrowPoints.bind(Le),Le.setArrowType=Le.setArrowType.bind(Le),Le.arrowTypePanel=new qe("Arrow type","end"),Le.arrowTypePanel.onArrowTypeChanged=Le.setArrowType,Le}return gt(we,_e),we.prototype.ownsTarget=function(Ce){return!(!_e.prototype.ownsTarget.call(this,Ce)&&Ce!==this.arrow1&&Ce!==this.arrow2)},we.prototype.getArrowPoints=function(Ce,Ye){var Je=this.arrowBaseWidth+2*this.strokeWidth,Le=this.arrowBaseHeight+2*this.strokeWidth;return Ce-Je/2+","+(Ye+Le/2)+" "+Ce+","+(Ye-Le/2)+" "+(Ce+Je/2)+","+(Ye+Le/2)},we.prototype.createTips=function(){this.arrow1=ge.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(ge.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=ge.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(ge.createTransform()),this.visual.appendChild(this.arrow2)},we.prototype.pointerDown=function(Ce,Ye){_e.prototype.pointerDown.call(this,Ce,Ye),this.state==="creating"&&this.createTips()},we.prototype.adjustVisual=function(){if(_e.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",ge.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),ge.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var Ce=0;Math.abs(this.x1-this.x2)>.1&&(Ce=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var Ye=this.arrow1.transform.baseVal.getItem(0);Ye.setRotate(Ce,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(Ye,0);var Je=this.arrow2.transform.baseVal.getItem(0);Je.setRotate(Ce+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(Je,0)}},we.prototype.setArrowType=function(Ce){this.arrowType=Ce,this.adjustVisual(),this.stateChanged()},Object.defineProperty(we.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),we.prototype.getState=function(){var Ce=Object.assign({arrowType:this.arrowType},_e.prototype.getState.call(this));return Ce.typeName=we.typeName,Ce},we.prototype.restoreState=function(Ce){_e.prototype.restoreState.call(this,Ce);var Ye=Ce;this.arrowType=Ye.arrowType,this.createTips(),this.adjustVisual()},we.typeName="ArrowMarker",we.title="Arrow marker",we.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',we}(je),lt=function(_e){function we(Ce,Ye,Je){var Le=_e.call(this,Ce,Ye,Je)||this;return Le.fillColor=Je.defaultFillColor,Le.strokeWidth=0,Le.fillPanel=new ee("Color",Je.defaultColorSet,Je.defaultFillColor),Le.fillPanel.onColorChanged=Le.setFillColor,Le}return gt(we,_e),Object.defineProperty(we.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),we.prototype.getState=function(){var Ce=_e.prototype.getState.call(this);return Ce.typeName=we.typeName,Ce},we.typeName="CoverMarker",we.title="Cover marker",we.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',we}(Pe),ut=function(_e){function we(Ce,Ye,Je,Le){var Ge=_e.call(this,Ce,Le||'<svg viewBox="0 0 24 24"><path d="M17.66 8L12 2.35 6.34 8A8.02 8.02 0 004 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0011.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8M6 14c0-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 18 12 18 14H6z"/></svg>')||this;return Ge.opacities=[],Ge.opacityBoxes=[],Ge.opacities=Ye,Ge.currentOpacity=Je,Ge.setCurrentOpacity=Ge.setCurrentOpacity.bind(Ge),Ge}return gt(we,_e),we.prototype.getUi=function(){var Ce=this,Ye=document.createElement("div");return Ye.style.display="flex",Ye.style.overflow="hidden",Ye.style.flexGrow="2",Ye.style.justifyContent="space-between",this.opacities.forEach(function(Je){var Le=document.createElement("div");Le.style.display="flex",Le.style.alignItems="center",Le.style.justifyContent="center",Le.style.padding="5px",Le.style.borderWidth="2px",Le.style.borderStyle="solid",Le.style.borderColor=Je===Ce.currentOpacity?Ce.uiStyleSettings.toolboxAccentColor:"transparent",Le.addEventListener("click",function(){Ce.setCurrentOpacity(Je,Le)}),Ye.appendChild(Le);var Ge=document.createElement("div");Ge.innerText=100*Je+"%",Le.appendChild(Ge),Ce.opacityBoxes.push(Le)}),Ye},we.prototype.setCurrentOpacity=function(Ce,Ye){var Je=this;this.currentOpacity=Ce,this.opacityBoxes.forEach(function(Le){Le.style.borderColor=Le===Ye?Je.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},we}(z),vt=function(_e){function we(Ce,Ye,Je){var Le=_e.call(this,Ce,Ye,Je)||this;return Le.setOpacity=Le.setOpacity.bind(Le),Le.fillColor=Je.defaultHighlightColor,Le.strokeWidth=0,Le.opacity=Je.defaultHighlightOpacity,Le.fillPanel=new ee("Color",Je.defaultColorSet,Le.fillColor),Le.fillPanel.onColorChanged=Le.setFillColor,Le.opacityPanel=new ut("Opacity",Je.defaultOpacitySteps,Le.opacity),Le.opacityPanel.onOpacityChanged=Le.setOpacity,Le}return gt(we,_e),we.prototype.setOpacity=function(Ce){this.opacity=Ce,this.visual&&ge.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(we.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),we.prototype.getState=function(){var Ce=_e.prototype.getState.call(this);return Ce.typeName=we.typeName,Ce},we.typeName="HighlightMarker",we.title="Highlight marker",we.icon='<svg viewBox="0 0 24 24"><path d="M18.5 1.15c-.53 0-1.04.19-1.43.58l-5.81 5.82 5.65 5.65 5.82-5.81c.77-.78.77-2.04 0-2.83l-2.84-2.83c-.39-.39-.89-.58-1.39-.58M10.3 8.5l-5.96 5.96c-.78.78-.78 2.04.02 2.85C3.14 18.54 1.9 19.77.67 21h5.66l.86-.86c.78.76 2.03.75 2.81-.02l5.95-5.96"/></svg>',we}(lt),tt='<svg viewBox="0 0 24 24"><path d="M9.62 12L12 5.67 14.37 12M11 3L5.5 17h2.25l1.12-3h6.25l1.13 3h2.25L13 3h-2z"/></svg>',at='<svg viewBox="0 0 24 24"><path d="M19 11.5s-2 2.17-2 3.5a2 2 0 002 2 2 2 0 002-2c0-1.33-2-3.5-2-3.5M5.21 10L10 5.21 14.79 10m1.77-1.06L7.62 0 6.21 1.41l2.38 2.38-5.15 5.15c-.59.56-.59 1.53 0 2.12l5.5 5.5c.29.29.68.44 1.06.44s.77-.15 1.06-.44l5.5-5.5c.59-.59.59-1.56 0-2.12z"/></svg>',dt=function(_e){function we(Ce,Ye,Je){var Le=_e.call(this,Ce,Ye,Je)||this;return Le.bgColor="transparent",Le.tipPosition={x:0,y:0},Le.tipBase1Position={x:0,y:0},Le.tipBase2Position={x:0,y:0},Le.tipMoving=!1,Le.color=Je.defaultStrokeColor,Le.bgColor=Je.defaultFillColor,Le.fontFamily=Je.defaultFontFamily,Le.defaultSize={x:100,y:30},Le.setBgColor=Le.setBgColor.bind(Le),Le.getTipPoints=Le.getTipPoints.bind(Le),Le.positionTip=Le.positionTip.bind(Le),Le.setTipPoints=Le.setTipPoints.bind(Le),Le.colorPanel=new ee("Text color",Je.defaultColorSet,Le.color,tt),Le.colorPanel.onColorChanged=Le.setColor,Le.bgColorPanel=new ee("Fill color",Je.defaultColorSet,Le.bgColor,at),Le.bgColorPanel.onColorChanged=Le.setBgColor,Le.fontFamilyPanel=new ze("Font",Je.defaultFontFamilies,Je.defaultFontFamily),Le.fontFamilyPanel.onFontChanged=Le.setFont,Le.tipGrip=new le,Le.tipGrip.visual.transform.baseVal.appendItem(ge.createTransform()),Le.controlBox.appendChild(Le.tipGrip.visual),Le}return gt(we,_e),we.prototype.ownsTarget=function(Ce){return _e.prototype.ownsTarget.call(this,Ce)||this.tipGrip.ownsTarget(Ce)||this.tip===Ce},we.prototype.createTip=function(){ge.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=ge.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},we.prototype.pointerDown=function(Ce,Ye){this.state==="new"&&_e.prototype.pointerDown.call(this,Ce,Ye),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(Ye)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):_e.prototype.pointerDown.call(this,Ce,Ye)},we.prototype.pointerUp=function(Ce){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,_e.prototype.pointerUp.call(this,Ce);else{var Ye=this.state==="creating";_e.prototype.pointerUp.call(this,Ce),this.setTipPoints(Ye),this.positionTip()}},we.prototype.manipulate=function(Ce){if(this.tipMoving){var Ye=this.unrotatePoint(Ce);this.tipPosition={x:Ye.x-this.manipulationStartLeft,y:Ye.y-this.manipulationStartTop},this.positionTip()}else _e.prototype.manipulate.call(this,Ce)},we.prototype.setBgColor=function(Ce){this.bgRectangle&&this.tip&&(ge.setAttributes(this.bgRectangle,[["fill",Ce]]),ge.setAttributes(this.tip,[["fill",Ce]])),this.bgColor=Ce,this.fillColorChanged(Ce)},we.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},we.prototype.setTipPoints=function(Ce){Ce===void 0&&(Ce=!1);var Ye=Math.min(this.height/2,15),Je=this.height/5;Ce&&(this.tipPosition={x:Ye+Je/2,y:this.height+20});var Le=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?Le<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(Je=this.width/5,Ye=Math.min(this.width/2,15),this.tipBase1Position={x:Ye,y:0},this.tipBase2Position={x:Ye+Je,y:0}):(this.tipBase1Position={x:0,y:Ye},this.tipBase2Position={x:0,y:Ye+Je}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?Le<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(Je=this.width/5,Ye=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-Ye-Je,y:0},this.tipBase2Position={x:this.width-Ye,y:0}):(this.tipBase1Position={x:this.width,y:Ye},this.tipBase2Position={x:this.width,y:Ye+Je}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?Le<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(Je=this.width/5,Ye=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-Ye-Je,y:this.height},this.tipBase2Position={x:this.width-Ye,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-Ye-Je},this.tipBase2Position={x:this.width,y:this.height-Ye}):Le<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(Je=this.width/5,Ye=Math.min(this.width/2,15),this.tipBase1Position={x:Ye,y:this.height},this.tipBase2Position={x:Ye+Je,y:this.height}):(this.tipBase1Position={x:0,y:this.height-Ye},this.tipBase2Position={x:0,y:this.height-Ye-Je})},we.prototype.resize=function(Ce){_e.prototype.resize.call(this,Ce),this.positionTip()},we.prototype.positionTip=function(){ge.setAttributes(this.tip,[["points",this.getTipPoints()]]);var Ce=this.tipGrip.visual.transform.baseVal.getItem(0);Ce.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(Ce,0)},Object.defineProperty(we.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),we.prototype.select=function(){this.positionTip(),_e.prototype.select.call(this)},we.prototype.getState=function(){var Ce=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},_e.prototype.getState.call(this));return Ce.typeName=we.typeName,Ce},we.prototype.restoreState=function(Ce){var Ye=Ce;this.bgColor=Ye.bgColor,this.tipPosition=Ye.tipPosition,_e.prototype.restoreState.call(this,Ce),this.createTip(),this.setTipPoints()},we.prototype.scale=function(Ce,Ye){_e.prototype.scale.call(this,Ce,Ye),this.tipPosition={x:this.tipPosition.x*Ce,y:this.tipPosition.y*Ye},this.positionTip()},we.typeName="CalloutMarker",we.title="Callout marker",we.icon='<svg viewBox="0 0 24 24"><path d="M4 2h16a2 2 0 012 2v12a2 2 0 01-2 2h-4l-4 4-4-4H4a2 2 0 01-2-2V4a2 2 0 012-2m0 2v12h4.83L12 19.17 15.17 16H20V4H4m2 3h12v2H6V7m0 4h10v2H6v-2z"/></svg>',we}($e),St=function(_e){function we(Ce,Ye,Je){var Le=_e.call(this,Ce,Ye,Je)||this;return Le.fillColor="transparent",Le.strokeColor="transparent",Le.strokeWidth=0,Le.strokeDasharray="",Le.opacity=1,Le.strokeColor=Je.defaultColor,Le.strokeWidth=Je.defaultStrokeWidth,Le.strokeDasharray=Je.defaultStrokeDasharray,Le.fillColor=Je.defaultFillColor,Le.setStrokeColor=Le.setStrokeColor.bind(Le),Le.setFillColor=Le.setFillColor.bind(Le),Le.setStrokeWidth=Le.setStrokeWidth.bind(Le),Le.setStrokeDasharray=Le.setStrokeDasharray.bind(Le),Le.setOpacity=Le.setOpacity.bind(Le),Le.createVisual=Le.createVisual.bind(Le),Le.strokePanel=new ee("Line color",Ne(Je.defaultColorSet,["transparent"]),Je.defaultColor),Le.strokePanel.onColorChanged=Le.setStrokeColor,Le.fillPanel=new ee("Fill color",Ne(Je.defaultColorSet,["transparent"]),Le.fillColor,at),Le.fillPanel.onColorChanged=Le.setFillColor,Le.strokeWidthPanel=new be("Line width",Je.defaultStrokeWidths,Je.defaultStrokeWidth),Le.strokeWidthPanel.onWidthChanged=Le.setStrokeWidth,Le.strokeStylePanel=new Ie("Line style",Je.defaultStrokeDasharrays,Je.defaultStrokeDasharray),Le.strokeStylePanel.onStyleChanged=Le.setStrokeDasharray,Le.opacityPanel=new ut("Opacity",Je.defaultOpacitySteps,Le.opacity),Le.opacityPanel.onOpacityChanged=Le.setOpacity,Le}return gt(we,_e),we.prototype.ownsTarget=function(Ce){return!(!_e.prototype.ownsTarget.call(this,Ce)&&Ce!==this.visual)},we.prototype.createVisual=function(){this.visual=ge.createEllipse(this.width/2,this.height/2,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},we.prototype.pointerDown=function(Ce,Ye){_e.prototype.pointerDown.call(this,Ce,Ye),this.state==="new"&&(this.createVisual(),this.moveVisual(Ce),this._state="creating")},we.prototype.manipulate=function(Ce){_e.prototype.manipulate.call(this,Ce)},we.prototype.resize=function(Ce){_e.prototype.resize.call(this,Ce),this.setSize()},we.prototype.setSize=function(){_e.prototype.setSize.call(this),ge.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},we.prototype.pointerUp=function(Ce){_e.prototype.pointerUp.call(this,Ce),this.setSize()},we.prototype.setStrokeColor=function(Ce){this.strokeColor=Ce,this.visual&&ge.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(Ce),this.stateChanged()},we.prototype.setFillColor=function(Ce){this.fillColor=Ce,this.visual&&ge.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(Ce),this.stateChanged()},we.prototype.setStrokeWidth=function(Ce){this.strokeWidth=Ce,this.visual&&ge.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},we.prototype.setStrokeDasharray=function(Ce){this.strokeDasharray=Ce,this.visual&&ge.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},we.prototype.setOpacity=function(Ce){this.opacity=Ce,this.visual&&ge.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(we.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),we.prototype.getState=function(){var Ce=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},_e.prototype.getState.call(this));return Ce.typeName=we.typeName,Ce},we.prototype.restoreState=function(Ce){var Ye=Ce;this.fillColor=Ye.fillColor,this.strokeColor=Ye.strokeColor,this.strokeWidth=Ye.strokeWidth,this.strokeDasharray=Ye.strokeDasharray,this.opacity=Ye.opacity,this.createVisual(),_e.prototype.restoreState.call(this,Ce),this.setSize()},we.prototype.scale=function(Ce,Ye){_e.prototype.scale.call(this,Ce,Ye),this.setSize()},we.typeName="EllipseMarker",we.title="Ellipse marker",we.icon='<svg viewBox="0 0 24 24"><path d="M12 4C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',we}(pe),xt=function(_e){function we(Ce,Ye,Je){return _e.call(this,Ce,Ye,Je)||this}return gt(we,_e),Object.defineProperty(we.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),we.prototype.ownsTarget=function(Ce){return!(!_e.prototype.ownsTarget.call(this,Ce)&&Ce!==this.tip1&&Ce!==this.tip2)},we.prototype.createTips=function(){this.tip1=ge.createLine(this.x1-this.tipLength/2,this.y1,this.x1+this.tipLength/2,this.y1,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip1.transform.baseVal.appendItem(ge.createTransform()),this.visual.appendChild(this.tip1),this.tip2=ge.createLine(this.x2-this.tipLength/2,this.y2,this.x2+this.tipLength/2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip2.transform.baseVal.appendItem(ge.createTransform()),this.visual.appendChild(this.tip2)},we.prototype.pointerDown=function(Ce,Ye){_e.prototype.pointerDown.call(this,Ce,Ye),this.state==="creating"&&this.createTips()},we.prototype.adjustVisual=function(){if(_e.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(ge.setAttributes(this.tip1,[["x1",(this.x1-this.tipLength/2).toString()],["y1",this.y1.toString()],["x2",(this.x1+this.tipLength/2).toString()],["y2",this.y1.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),ge.setAttributes(this.tip2,[["x1",(this.x2-this.tipLength/2).toString()],["y1",this.y2.toString()],["x2",(this.x2+this.tipLength/2).toString()],["y2",this.y2.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),Math.abs(this.x1-this.x2)>.1)){var Ce=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),Ye=this.tip1.transform.baseVal.getItem(0);Ye.setRotate(Ce,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(Ye,0);var Je=this.tip2.transform.baseVal.getItem(0);Je.setRotate(Ce+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(Je,0)}},Object.defineProperty(we.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),we.prototype.getState=function(){var Ce=_e.prototype.getState.call(this);return Ce.typeName=we.typeName,Ce},we.prototype.restoreState=function(Ce){_e.prototype.restoreState.call(this,Ce),this.createTips(),this.adjustVisual()},we.typeName="MeasurementMarker",we.title="Measurement marker",we.icon='<svg viewBox="0 0 24 24"><path d="M1.39 18.36l1.77-1.76L4.58 18l1.06-1.05-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.42 1.41L10.59 12l-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.41 1.41 1.07-1.06-1.42-1.41 1.42-1.42L18 6.7l1.07-1.06-2.47-2.48 1.76-1.77 4.25 4.25L5.64 22.61l-4.25-4.25z"/></svg>',we}(je),ft=function(_e){function we(Ce,Ye,Je){var Le=_e.call(this,Ce,Ye,Je)||this;return Le.strokePanel.colors=Je.defaultColorSet,Le.fillColor="transparent",Le}return gt(we,_e),Object.defineProperty(we.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),we.prototype.getState=function(){var Ce=_e.prototype.getState.call(this);return Ce.typeName=we.typeName,Ce},we.typeName="EllipseFrameMarker",we.title="Ellipse frame marker",we.icon='<svg viewBox="0 0 24 24"><path d="M12 6c4.41 0 8 2.69 8 6s-3.59 6-8 6-8-2.69-8-6 3.59-6 8-6m0-2C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',we}(St),pt=function(){function _e(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(_e.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),_e.prototype.addUndoStep=function(we){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(we)||(this.undoStack.push(we),JSON.stringify(this.lastRedoStep)!==JSON.stringify(we)&&this.redoStack.splice(0,this.redoStack.length))},_e.prototype.replaceLastUndoStep=function(we){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=we)},_e.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},_e.prototype.undo=function(){if(this.undoStack.length>1){var we=this.undoStack.pop();return we!==void 0&&this.redoStack.push(we),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},_e.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},_e}(),yt=function(_e){function we(Ce,Ye,Je){var Le=_e.call(this,Ce,Ye,Je)||this;return Le.strokeColor="transparent",Le.strokeWidth=0,Le.strokeDasharray="",Le.curveX=0,Le.curveY=0,Le.manipulationStartCurveX=0,Le.manipulationStartCurveY=0,Le.setStrokeColor=Le.setStrokeColor.bind(Le),Le.setStrokeWidth=Le.setStrokeWidth.bind(Le),Le.setStrokeDasharray=Le.setStrokeDasharray.bind(Le),Le.positionGrips=Le.positionGrips.bind(Le),Le.addControlGrips=Le.addControlGrips.bind(Le),Le.adjustVisual=Le.adjustVisual.bind(Le),Le.setupControlBox=Le.setupControlBox.bind(Le),Le.resize=Le.resize.bind(Le),Le.strokeColor=Je.defaultColor,Le.strokeWidth=Je.defaultStrokeWidth,Le.strokeDasharray=Je.defaultStrokeDasharray,Le.strokePanel=new ee("Line color",Je.defaultColorSet,Je.defaultColor),Le.strokePanel.onColorChanged=Le.setStrokeColor,Le.strokeWidthPanel=new be("Line width",Je.defaultStrokeWidths,Je.defaultStrokeWidth),Le.strokeWidthPanel.onWidthChanged=Le.setStrokeWidth,Le.strokeStylePanel=new Ie("Line style",Je.defaultStrokeDasharrays,Je.defaultStrokeDasharray),Le.strokeStylePanel.onStyleChanged=Le.setStrokeDasharray,Le}return gt(we,_e),we.prototype.ownsTarget=function(Ce){return!(!_e.prototype.ownsTarget.call(this,Ce)&&Ce!==this.visual&&Ce!==this.selectorCurve&&Ce!==this.visibleCurve&&!this.curveGrip.ownsTarget(Ce))},we.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},we.prototype.createVisual=function(){this.visual=ge.createGroup(),this.selectorCurve=ge.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=ge.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},we.prototype.pointerDown=function(Ce,Ye){_e.prototype.pointerDown.call(this,Ce,Ye),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=Ce.x,this.curveY=Ce.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(Ye)&&(this.activeGrip=this.curveGrip,this._state="resize")},we.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),ge.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),ge.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),ge.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},we.prototype.setupControlBox=function(){_e.prototype.setupControlBox.call(this),this.curveControlLine1=ge.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=ge.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},we.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,_e.prototype.addControlGrips.call(this)},we.prototype.positionGrips=function(){_e.prototype.positionGrips.call(this);var Ce=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-Ce/2,this.curveY-Ce/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},we.prototype.manipulate=function(Ce){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+Ce.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+Ce.y-this.manipulationStartY),_e.prototype.manipulate.call(this,Ce)},we.prototype.resize=function(Ce){this.activeGrip===this.curveGrip&&(this.curveX=Ce.x,this.curveY=Ce.y),_e.prototype.resize.call(this,Ce),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},we.prototype.setStrokeColor=function(Ce){this.strokeColor=Ce,this.adjustVisual(),this.colorChanged(Ce)},we.prototype.setStrokeWidth=function(Ce){this.strokeWidth=Ce,this.adjustVisual()},we.prototype.setStrokeDasharray=function(Ce){this.strokeDasharray=Ce,this.adjustVisual()},we.prototype.scale=function(Ce,Ye){this.curveX=this.curveX*Ce,this.curveY=this.curveY*Ye,_e.prototype.scale.call(this,Ce,Ye)},Object.defineProperty(we.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),we.prototype.getState=function(){var Ce=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},_e.prototype.getState.call(this));return Ce.typeName=we.typeName,Ce},we.prototype.restoreState=function(Ce){_e.prototype.restoreState.call(this,Ce);var Ye=Ce;this.strokeColor=Ye.strokeColor,this.strokeWidth=Ye.strokeWidth,this.strokeDasharray=Ye.strokeDasharray,this.curveX=Ye.curveX,this.curveY=Ye.curveY,this.createVisual(),this.adjustVisual()},we.typeName="CurveMarker",we.title="Curve marker",we.icon='<svg viewBox="0 0 24 24"><path d="M18.5 2A1.5 1.5 0 0120 3.5 1.5 1.5 0 0118.5 5c-.23 0-.45-.05-.65-.15l-3.69 3.7.34.45c2.19-1.26 4.76-2 7.5-2l1 .03v2.01L22 9c-2.58 0-5 .75-7 2.04A3.96 3.96 0 0111.04 15C9.75 17 9 19.42 9 22l.04 1H7.03L7 22c0-2.74.74-5.31 2-7.5l-.45-.34-3.7 3.69c.1.2.15.42.15.65A1.5 1.5 0 013.5 20 1.5 1.5 0 012 18.5 1.5 1.5 0 013.5 17c.23 0 .45.05.65.15l3.69-3.7C7.31 12.78 7 11.92 7 11a4 4 0 014-4c.92 0 1.78.31 2.45.84l3.7-3.69c-.1-.2-.15-.42-.15-.65A1.5 1.5 0 0118.5 2M11 9a2 2 0 00-2 2 2 2 0 002 2 2 2 0 002-2 2 2 0 00-2-2z"/></svg>',we}(Te),Tt=function(_e){function we(Ce,Ye,Je){var Le=_e.call(this,Ce,Ye,Je)||this;return Le.fillColor="transparent",Le.strokeColor="transparent",Le.strokeWidth=0,Le.strokeDasharray="",Le.textColor="transparent",Le.fontSize="1rem",Le.isMoved=!1,Le.captionText="Caption",Le.PADDING=5,Le.captionBoxWidth=0,Le.captionBoxHeight=0,Le.strokeColor=Je.defaultColor,Le.strokeWidth=Je.defaultStrokeWidth,Le.strokeDasharray=Je.defaultStrokeDasharray,Le.fillColor=Je.defaultFillColor,Le.textColor=Je.defaultStrokeColor,Le.fontFamily=Je.defaultFontFamily,Le.fontSize=Je.defaultCaptionFontSize,Le.captionText=Je.defaultCaptionText,Le.setStrokeColor=Le.setStrokeColor.bind(Le),Le.setFillColor=Le.setFillColor.bind(Le),Le.setStrokeWidth=Le.setStrokeWidth.bind(Le),Le.setStrokeDasharray=Le.setStrokeDasharray.bind(Le),Le.createVisual=Le.createVisual.bind(Le),Le.sizeCaption=Le.sizeCaption.bind(Le),Le.setCaptionText=Le.setCaptionText.bind(Le),Le.showTextEditor=Le.showTextEditor.bind(Le),Le.positionTextEditor=Le.positionTextEditor.bind(Le),Le.finishTextEditing=Le.finishTextEditing.bind(Le),Le.setFont=Le.setFont.bind(Le),Le.setTextColor=Le.setTextColor.bind(Le),Le.strokePanel=new ee("Line color",Ne(Je.defaultColorSet,["transparent"]),Le.strokeColor),Le.strokePanel.onColorChanged=Le.setStrokeColor,Le.fillPanel=new ee("Fill color",Ne(Je.defaultColorSet,["transparent"]),Le.fillColor,at),Le.fillPanel.onColorChanged=Le.setFillColor,Le.strokeWidthPanel=new be("Line width",Je.defaultStrokeWidths,Je.defaultStrokeWidth),Le.strokeWidthPanel.onWidthChanged=Le.setStrokeWidth,Le.strokeStylePanel=new Ie("Line style",Je.defaultStrokeDasharrays,Je.defaultStrokeDasharray),Le.strokeStylePanel.onStyleChanged=Le.setStrokeDasharray,Le.fontFamilyPanel=new ze("Font",Je.defaultFontFamilies,Je.defaultFontFamily),Le.fontFamilyPanel.onFontChanged=Le.setFont,Le.textColorPanel=new ee("Text color",Je.defaultColorSet,Le.textColor,tt),Le.textColorPanel.onColorChanged=Le.setTextColor,Le}return gt(we,_e),we.prototype.ownsTarget=function(Ce){return!(!_e.prototype.ownsTarget.call(this,Ce)&&Ce!==this.visual&&Ce!==this.frame&&Ce!==this.captionBg&&Ce!==this.captionElement)},we.prototype.createVisual=function(){this.visual=ge.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=ge.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=ge.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=ge.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},we.prototype.setCaptionText=function(Ce){this.captionText=Ce,this.captionElement.textContent=this.captionText,this.sizeCaption()},we.prototype.pointerDown=function(Ce,Ye){_e.prototype.pointerDown.call(this,Ce,Ye),this.isMoved=!1,this.pointerDownPoint=Ce,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(Ce),this._state="creating")},we.prototype.manipulate=function(Ce){_e.prototype.manipulate.call(this,Ce),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(Ce.x-this.pointerDownPoint.x)>5||Math.abs(Ce.y-this.pointerDownPoint.y)>5)},we.prototype.resize=function(Ce){_e.prototype.resize.call(this,Ce),this.setSize()},we.prototype.sizeCaption=function(){var Ce=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=Ce.width+2*this.PADDING,this.captionBoxHeight=Ce.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),ge.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),ge.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},we.prototype.showTextEditor=function(){var Ce=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(Ye){Ye.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(Ye){Ye.key==="Enter"&&Ce.finishTextEditing(Ce.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(Ye){Ye.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){Ce.finishTextEditing(Ce.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){Ce.finishTextEditing(Ce.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},we.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},we.prototype.finishTextEditing=function(Ce){this.setCaptionText(Ce.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},we.prototype.setFont=function(Ce){this.captionElement&&ge.setAttributes(this.captionElement,[["font-family",Ce]]),this.fontFamily=Ce,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},we.prototype.setTextColor=function(Ce){this.captionElement&&ge.setAttributes(this.captionElement,[["fill",Ce]]),this.textColor=Ce,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},we.prototype.setSize=function(){_e.prototype.setSize.call(this),ge.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},we.prototype.pointerUp=function(Ce){_e.prototype.pointerUp.call(this,Ce),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},we.prototype.dblClick=function(Ce,Ye){_e.prototype.dblClick.call(this,Ce,Ye),this.showTextEditor()},we.prototype.setStrokeColor=function(Ce){this.strokeColor=Ce,this.frame&&ge.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(Ce),this.stateChanged()},we.prototype.setFillColor=function(Ce){this.fillColor=Ce,this.captionBg&&ge.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(Ce),this.stateChanged()},we.prototype.setStrokeWidth=function(Ce){this.strokeWidth=Ce,this.frame&&ge.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},we.prototype.setStrokeDasharray=function(Ce){this.strokeDasharray=Ce,this.frame&&ge.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(we.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),we.prototype.getState=function(){var Ce=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},_e.prototype.getState.call(this));return Ce.typeName=this.typeName,Ce},we.prototype.restoreState=function(Ce){var Ye=Ce;this.fillColor=Ye.fillColor,this.strokeColor=Ye.strokeColor,this.strokeWidth=Ye.strokeWidth,this.strokeDasharray=Ye.strokeDasharray,this.textColor=Ye.textColor,this.fontFamily=Ye.fontFamily,this.captionText=Ye.captionText,this.fontSize=Ye.fontSize,this.createVisual(),_e.prototype.restoreState.call(this,Ce),this.setSize()},we.prototype.scale=function(Ce,Ye){_e.prototype.scale.call(this,Ce,Ye),this.setSize()},we.typeName="CaptionFrameMarker",we.title="Caption frame marker",we.icon='<svg viewBox="0 0 24 24"><path d="M5 3c-1.11 0-2 .89-2 2v14c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2V5c0-1.11-.89-2-2-2H5m0 2h14v14H5V5m2 2v2h10V7H7z"/></svg>',we}(pe),At=function(){function _e(we,Ce){Ce===void 0&&(Ce=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=we,this.cancelable=Ce}return Object.defineProperty(_e.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),_e.prototype.preventDefault=function(){this._defaultPrevented=!0},_e}(),Gt=function(_e){function we(Ce,Ye,Je){var Le=_e.call(this,Ce,!1)||this;return Le.dataUrl=Ye,Le.state=Je,Le}return gt(we,_e),we}(At),wt=function(_e){function we(Ce,Ye,Je){Je===void 0&&(Je=!1);var Le=_e.call(this,Ce,Je)||this;return Le.marker=Ye,Le}return gt(we,_e),we}(At),bt=function(){function _e(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return _e.prototype.addEventListener=function(we,Ce){this[we].push(Ce)},_e.prototype.removeEventListener=function(we,Ce){var Ye=this[we].indexOf(Ce);Ye>-1&&this[we].splice(Ye,1)},_e}(),it=function(){function _e(we){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Oe,this._isOpen=!1,this.undoRedoManager=new pt,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new bt,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=_e.instanceCounter++,this.styles=new ye(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=we,this.targetRoot=document.body,this.width=we.clientWidth,this.height=we.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(_e.prototype,"ALL_MARKER_TYPES",{get:function(){return[Me,Ue,et,$e,ft,St,vt,dt,xt,lt,je,yt,Tt]},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[Me,Ue,et,$e,St,vt,dt]},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"BASIC_MARKER_TYPES",{get:function(){return[Me,Ue,et,$e,vt]},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(we){var Ce=this;this._availableMarkerTypes.splice(0),we.forEach(function(Ye){if(typeof Ye=="string"){var Je=Ce.ALL_MARKER_TYPES.find(function(Le){return Le.typeName===Ye});Je!==void 0&&Ce._availableMarkerTypes.push(Je)}else Ce._availableMarkerTypes.push(Ye)})},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(we){this._zoomLevel=we,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),_e.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),ce.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},_e.prototype.show=function(){var we=this;this.styles.styleSheetRoot===void 0&&Ae.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Ae.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(Ce){return Ce(new At(we))})},_e.prototype.render=function(){return oe(this,void 0,void 0,function(){var we;return Ze(this,function(Ce){switch(Ce.label){case 0:return this.setCurrentMarker(),(we=new Ee).naturalSize=this.renderAtNaturalSize,we.imageType=this.renderImageType,we.imageQuality=this.renderImageQuality,we.markersOnly=this.renderMarkersOnly,we.width=this.renderWidth,we.height=this.renderHeight,[4,we.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return Ce.sent(),[4,we.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,Ce.sent()]}})})},_e.prototype.close=function(we){var Ce=this;if(we===void 0&&(we=!1),this.isOpen){var Ye=!1;we||this.eventListeners.beforeclose.forEach(function(Je){var Le=new At(Ce,!0);Je(Le),Le.defaultPrevented&&(Ye=!0)}),Ye||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(Je){return Je(new At(Ce))}),this.detachEvents(),this._isOpen=!1)}},_e.prototype.addMarkersToToolbar=function(){for(var we,Ce=[],Ye=0;Ye<arguments.length;Ye++)Ce[Ye]=arguments[Ye];(we=this._availableMarkerTypes).push.apply(we,Ce)},_e.prototype.addRenderEventListener=function(we){this.addEventListener("render",function(Ce){we(Ce.dataUrl,Ce.state)})},_e.prototype.removeRenderEventListener=function(we){},_e.prototype.addCloseEventListener=function(we){this.addEventListener("close",function(){we()})},_e.prototype.removeCloseEventListener=function(we){},_e.prototype.setupResizeObserver=function(){var we=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){we.resize(we.target.clientWidth,we.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return we.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},_e.prototype.onPopupTargetResize=function(){var we=1*this.target.clientWidth/this.target.clientHeight,Ce=this.editorCanvas.clientWidth/we>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*we:this.editorCanvas.clientWidth,Ye=Ce<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/we;this.resize(Ce,Ye)},_e.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},_e.prototype.resize=function(we,Ce){this._isResizing=!0;var Ye=we/this.imageWidth,Je=Ce/this.imageHeight;this.imageWidth=Math.round(we),this.imageHeight=Math.round(Ce),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px",this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.settings.displayMode!=="popup"?this.coverDiv.style.width=this.imageWidth.toString()+"px":(this.setTopLeft(),this.positionMarkerImage()),this.toolbar!==void 0&&this.toolbar.adjustLayout(),this.positionLogo(),this.scaleMarkers(Ye,Je),this._isResizing=!1},_e.prototype.scaleMarkers=function(we,Ce){var Ye,Je=this;this._currentMarker&&this._currentMarker instanceof $e?this._currentMarker.scale(we,Ce):(Ye=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(Le){Le!==Je._currentMarker&&Le.scale(we,Ce)}),Ye!==void 0&&this.setCurrentMarker(Ye)},_e.prototype.setEditingTarget=function(){this.imageWidth=Math.round(this.target.clientWidth),this.imageHeight=Math.round(this.target.clientHeight),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px"},_e.prototype.setTopLeft=function(){var we=this.editingTarget.getBoundingClientRect(),Ce=this.editorCanvas.getBoundingClientRect();this.left=we.left-Ce.left,this.top=we.top-Ce.top},_e.prototype.initMarkerCanvas=function(){this.markerImageHolder=document.createElement("div"),this.markerImageHolder.style.setProperty("touch-action","pinch-zoom"),this.markerImage=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.markerImage.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImage.style.pointerEvents="auto",this.markerImageHolder.style.position="absolute",this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.markerImageHolder.style.transformOrigin="top left",this.positionMarkerImage(),this.markerImageHolder.appendChild(this.markerImage),this.editorCanvas.appendChild(this.markerImageHolder)},_e.prototype.addDefs=function(){for(var we,Ce=[],Ye=0;Ye<arguments.length;Ye++)Ce[Ye]=arguments[Ye];this.defs=ge.createDefs(),this.addDefsToImage(),(we=this.defs).append.apply(we,Ce)},_e.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},_e.prototype.initOverlay=function(){this.overlayContainer=document.createElement("div"),this.overlayContainer.style.position="absolute",this.overlayContainer.style.left="0px",this.overlayContainer.style.top="0px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.overlayContainer.style.display="flex",this.markerImageHolder.appendChild(this.overlayContainer)},_e.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},_e.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},_e.prototype.attachWindowEvents=function(){window.addEventListener("pointermove",this.onPointerMove),window.addEventListener("pointerup",this.onPointerUp),window.addEventListener("pointercancel",this.onPointerOut),window.addEventListener("pointerout",this.onPointerOut),window.addEventListener("pointerleave",this.onPointerUp),window.addEventListener("resize",this.onWindowResize),window.addEventListener("keyup",this.onKeyUp)},_e.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},_e.prototype.detachWindowEvents=function(){window.removeEventListener("pointermove",this.onPointerMove),window.removeEventListener("pointerup",this.onPointerUp),window.removeEventListener("pointercancel",this.onPointerOut),window.removeEventListener("pointerout",this.onPointerOut),window.removeEventListener("pointerleave",this.onPointerUp),window.removeEventListener("resize",this.onWindowResize),window.removeEventListener("keyup",this.onKeyUp)},_e.prototype.addLogo=function(){this.logoUI=document.createElement("div"),this.logoUI.style.display="inline-block",this.logoUI.style.margin="0px",this.logoUI.style.padding="0px",this.logoUI.style.fill="#333333";var we=document.createElement("a");we.href="https://markerjs.com/",we.target="_blank",we.innerHTML='<svg viewBox="0 0 112 96" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#e5f20d" fill-opacity=".647" d="M0 40.386h111.96V95.62H0z"/><path d="M93.61 61.452c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.591 1.048-1.481 0-2.222-.74-2.222-2.22 0-16.617-.533-29.347-1.604-38.192-1.068-8.842-2.92-13.265-5.552-13.265-4.443 0-10.94 15.509-19.497 46.52v.124c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.592 1.048-1.48 0-2.22-.74-2.22-2.22 0-3.29.165-8.392.493-15.302.33-7.732.494-13.82.494-18.262 0-6.17-.186-10.55-.556-13.142-.37-2.591-1.172-3.887-2.406-3.887-2.796 0-6.333 5.12-10.612 15.363C38.494 34.367 34.01 46.44 29.32 60.34l-1.11 3.209a5.714 5.714 0 01-1.42 2.097c-.617.578-1.295.864-2.036.864-.987 0-1.644-.081-1.974-.247-.328-.162-.533-.656-.617-1.48-.41-4.03-.74-9.418-.987-16.165-.163-1.728-.329-4.566-.494-8.515-.822-13.901-1.562-23.3-2.221-28.196-.657-4.893-.987-7.628-.987-8.205 0-.657.33-1.44.987-2.345.659-.903 1.276-1.357 1.85-1.357 1.319 0 2.387.947 3.21 2.838.411.906.863 4.526 1.357 10.859.493 6.335.905 14.19 1.233 23.568l.617 18.88c4.527-13.983 9.216-26.673 14.068-38.068C45.65 6.686 50.093.988 54.123.988c2.715 0 4.566 1.974 5.553 5.923.987 3.949 1.481 9.667 1.481 17.152 0 3.949-.081 9.625-.247 17.029l-.123 5.676c3.373-11.762 6.725-21.634 10.057-29.615 3.331-7.979 6.685-11.97 10.056-11.97 8.475 0 12.71 18.757 12.71 56.269z" fill-rule="nonzero"/></svg>',we.title="Powered by marker.js",we.style.display="grid",we.style.alignItems="center",we.style.justifyItems="center",we.style.padding="3px",we.style.width="20px",we.style.height="20px",this.logoUI.appendChild(we),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},_e.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},_e.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},_e.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},_e.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var we=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=we+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new xe(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop<this.styles.settings.toolbarHeight&&(this.editingTarget.style.marginTop=this.target.offsetTop-this.styles.settings.toolbarHeight+"px"),this.editorCanvas.appendChild(this.editingTarget),this.toolbox=new fe(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},_e.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},_e.prototype.removeMarker=function(we){this.markerImage.removeChild(we.container),this.markers.indexOf(we)>-1&&this.markers.splice(this.markers.indexOf(we),1),we.dispose()},_e.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},_e.prototype.toolbarButtonClicked=function(we,Ce){if(we==="marker"&&Ce!==void 0)this.createNewMarker(Ce);else if(we==="action")switch(Ce){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},_e.prototype.deleteSelectedMarker=function(){var we=this;if(this._currentMarker!==void 0){var Ce=!1;if(this.eventListeners.markerbeforedelete.forEach(function(Je){var Le=new wt(we,we._currentMarker,!0);Je(Le),Le.defaultPrevented&&(Ce=!0)}),!Ce){var Ye=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(Je){return Je(new wt(we,Ye))})}}},_e.prototype.clear=function(){var we=this,Ce=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(Ge){var Ke=new wt(we,void 0,!0);Ge(Ke),Ke.defaultPrevented&&(Ce=!0)}),!Ce)){this.setCurrentMarker();for(var Ye=function(Ge){var Ke=Je.markers[Ge];Je.setCurrentMarker(Je.markers[Ge]),Je._currentMarker.dispose(),Je.markerImage.removeChild(Je._currentMarker.container),Je.markers.splice(Je.markers.indexOf(Je._currentMarker),1),Je.eventListeners.markerdelete.forEach(function(Xe){return Xe(new wt(we,Ke))})},Je=this,Le=this.markers.length-1;Le>=0;Le--)Ye(Le);this.addUndoStep()}},Object.defineProperty(_e.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),_e.prototype.showNotesEditor=function(){var we;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(we=this._currentMarker.notes)!==null&&we!==void 0?we:"",this.overlayContainer.appendChild(this.notesArea))},_e.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},_e.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},_e.prototype.addUndoStep=function(){var we=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var Ce=this.getState(),Ye=this.undoRedoManager.getLastUndoStep();if(!Ye||Ye.width===Ce.width&&Ye.height===Ce.height){var Je=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(Ce),Je<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(Le){return Le(new At(we))})}else this.undoRedoManager.replaceLastUndoStep(Ce),this.eventListeners.statechange.forEach(function(Le){return Le(new At(we))})}},_e.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},_e.prototype.undoStep=function(){var we=this,Ce=this.undoRedoManager.undo();Ce!==void 0&&(this.restoreState(Ce),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(Ye){return Ye(new At(we))}))},_e.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},_e.prototype.redoStep=function(){var we=this,Ce=this.undoRedoManager.redo();Ce!==void 0&&(this.restoreState(Ce),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(Ye){return Ye(new At(we))}))},_e.prototype.stepZoom=function(){var we=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=we<this.zoomSteps.length-1?this.zoomSteps[we+1]:this.zoomSteps[0]},_e.prototype.panTo=function(we){this.contentDiv.scrollBy({left:this.prevPanPoint.x-we.x,top:this.prevPanPoint.y-we.y}),this.prevPanPoint=we},_e.prototype.startRenderAndClose=function(){return oe(this,void 0,void 0,function(){var we,Ce,Ye=this;return Ze(this,function(Je){switch(Je.label){case 0:return[4,this.render()];case 1:return we=Je.sent(),Ce=this.getState(),this.eventListeners.render.forEach(function(Le){return Le(new Gt(Ye,we,Ce))}),this.close(!0),[2]}})})},_e.prototype.getState=function(we){we===!0&&this.setCurrentMarker();var Ce={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(Ye){return Ce.markers.push(Ye.getState())}),Ce},_e.prototype.restoreState=function(we){var Ce=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);we.markers.forEach(function(Ye){var Je=Ce._availableMarkerTypes.find(function(Ge){return Ge.typeName===Ye.typeName});if(Je!==void 0){var Le=Ce.addNewMarker(Je);Le.restoreState(Ye),Ce.markers.push(Le)}}),we.width&&we.height&&(we.width!==this.imageWidth||we.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/we.width,this.imageHeight/we.height),this.eventListeners.restorestate.forEach(function(Ye){return Ye(new At(Ce))})},_e.prototype.addNewMarker=function(we){var Ce=ge.createGroup();return this.markerImage.appendChild(Ce),new we(Ce,this.overlayContainer,this.settings)},_e.prototype.createNewMarker=function(we){var Ce,Ye=this;(Ce=typeof we=="string"?this._availableMarkerTypes.find(function(Je){return Je.typeName===we}):we)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(Ce),this._currentMarker.onMarkerCreated=this.markerCreated,this._currentMarker.onColorChanged=this.colorChanged,this._currentMarker.onFillColorChanged=this.fillColorChanged,this._currentMarker.onStateChanged=this.markerStateChanged,this.markerImage.style.cursor="crosshair",this.toolbar.setActiveMarkerButton(Ce.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(Je){return Je(new wt(Ye,Ye._currentMarker))}))},_e.prototype.markerCreated=function(we){var Ce=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(we),this.setCurrentMarker(we),we instanceof Ue&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(Ue):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(Ye){return Ye(new wt(Ce,Ce._currentMarker))})},_e.prototype.colorChanged=function(we){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=we,this.settings.defaultStrokeColor=we)},_e.prototype.fillColorChanged=function(we){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=we)},_e.prototype.markerStateChanged=function(we){var Ce=this;this.eventListeners.markerchange.forEach(function(Ye){return Ye(new wt(Ce,we))})},_e.prototype.setCurrentMarker=function(we){var Ce=this;this._currentMarker!==we&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(Ye){return Ye(new wt(Ce,Ce._currentMarker))})),this._currentMarker=we,this._currentMarker===void 0||this._currentMarker.isSelected||(this._currentMarker.state!=="new"&&this._currentMarker.select(),this.toolbar.setCurrentMarker(this._currentMarker),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this._isResizing||this.eventListeners.markerselect.forEach(function(Ye){return Ye(new wt(Ce,Ce._currentMarker))}))},_e.prototype.onPointerDown=function(we){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||we.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var Ce=this.markers.find(function(Ye){return Ye.ownsTarget(we.target)});Ce!==void 0?(this.setCurrentMarker(Ce),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(we.clientX,we.clientY),we.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:we.clientX,y:we.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(we.clientX,we.clientY))},_e.prototype.onDblClick=function(we){if(this._isFocused||this.focus(),this.mode==="select"){var Ce=this.markers.find(function(Ye){return Ye.ownsTarget(we.target)});Ce!==void 0&&Ce!==this._currentMarker&&this.setCurrentMarker(Ce),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(we.clientX,we.clientY),we.target):this.setCurrentMarker()}},_e.prototype.onPointerMove=function(we){this.touchPoints!==1&&we.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||we.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(we.clientX,we.clientY)):this.zoomLevel>1&&this.panTo({x:we.clientX,y:we.clientY}))},_e.prototype.onPointerUp=function(we){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(we.clientX,we.clientY)),this.isDragging=!1,this.addUndoStep()},_e.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},_e.prototype.onKeyUp=function(we){this._currentMarker===void 0||this.notesArea!==void 0||we.key!=="Delete"&&we.key!=="Backspace"||this.deleteSelectedMarker()},_e.prototype.clientToLocalCoordinates=function(we,Ce){var Ye=this.markerImage.getBoundingClientRect();return{x:(we-Ye.left)/this.zoomLevel,y:(Ce-Ye.top)/this.zoomLevel}},_e.prototype.onWindowResize=function(){this.positionUI()},_e.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var we=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=we+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},_e.prototype.addLicenseKey=function(we){ce.addKey(we)},_e.prototype.addEventListener=function(we,Ce){this.eventListeners.addEventListener(we,Ce)},_e.prototype.removeEventListener=function(we,Ce){this.eventListeners.removeEventListener(we,Ce)},_e.prototype.renderState=function(we){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(we),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(_e.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),_e.prototype.focus=function(){var we=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(Ce){return Ce(new At(we))}))},_e.prototype.blur=function(){var we=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(Ce){return Ce(new At(we))}))},_e.instanceCounter=0,_e}()},17115:function(Nn,fn,We){"use strict";We.d(fn,{ZP:function(){return ce}});var He=We(72071),gt=We(59301),oe=We(47273),Ze=0,Ne=(0,oe.Z)();function ge(){var Ee;return Ne?(Ee=Ze,Ze+=1):Ee="TEST_OR_SSR",Ee}function ce(Ee){var Ae=gt.useState(),ye=(0,He.Z)(Ae,2),De=ye[0],me=ye[1];return gt.useEffect(function(){me("rc_select_".concat(ge()))},[]),Ee||De}},77861:function(Nn,fn,We){"use strict";We.d(fn,{Ac:function(){return Ft},Xo:function(){return er},Wx:function(){return Dr},ZP:function(){return gn},lk:function(){return pe}});var He=We(96663),gt=We(19127),oe=We(90493),Ze=We(44127),Ne=We(72071),ge=We(6620),ce=We(20135),Ee=We(18929),Ae=We(48736),ye=We(59301),De=We(92310),me=We.n(De),xe=We(34280),fe=We(49658),z=We(10228),ee=We(8654),ae=function(Dt){var cn=Dt.className,bn=Dt.customizeIcon,kn=Dt.customizeIconProps,Gn=Dt.onMouseDown,Ht=Dt.onClick,An=Dt.children,Kn;return typeof bn=="function"?Kn=bn(kn):Kn=bn,ye.createElement("span",{className:cn,onMouseDown:function(sn){sn.preventDefault(),Gn&&Gn(sn)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Ht,"aria-hidden":!0},Kn!==void 0?Kn:ye.createElement("span",{className:me()(cn.split(/\s+/).map(function(ir){return"".concat(ir,"-icon")}))},An))},re=ae;function le(Xt,Dt,cn,bn,kn){var Gn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Ht=arguments.length>6?arguments[6]:void 0,An=arguments.length>7?arguments[7]:void 0,Kn=ye.useMemo(function(){if((0,ce.Z)(bn)==="object")return bn.clearIcon;if(kn)return kn},[bn,kn]),ir=ye.useMemo(function(){return!!(!Gn&&bn&&(cn.length||Ht)&&!(An==="combobox"&&Ht===""))},[bn,Gn,cn.length,Ht,An]);return{allowClear:ir,clearIcon:ye.createElement(re,{className:"".concat(Xt,"-clear"),onMouseDown:Dt,customizeIcon:Kn},"\xD7")}}var ue=ye.createContext(null);function pe(){return ye.useContext(ue)}function Pe(){var Xt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Dt=ye.useState(!1),cn=(0,Ne.Z)(Dt,2),bn=cn[0],kn=cn[1],Gn=ye.useRef(null),Ht=function(){window.clearTimeout(Gn.current)};ye.useEffect(function(){return Ht},[]);var An=function(ir,sn){Ht(),Gn.current=window.setTimeout(function(){kn(ir),sn&&sn()},Xt)};return[bn,An,Ht]}function be(){var Xt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Dt=ye.useRef(null),cn=ye.useRef(null);ye.useEffect(function(){return function(){window.clearTimeout(cn.current)}},[]);function bn(kn){(kn||Dt.current===null)&&(Dt.current=kn),window.clearTimeout(cn.current),cn.current=window.setTimeout(function(){Dt.current=null},Xt)}return[function(){return Dt.current},bn]}function Ie(Xt,Dt,cn,bn){var kn=ye.useRef(null);kn.current={open:Dt,triggerOpen:cn,customizedTrigger:bn},ye.useEffect(function(){function Gn(Ht){var An;if(!((An=kn.current)!==null&&An!==void 0&&An.customizedTrigger)){var Kn=Ht.target;Kn.shadowRoot&&Ht.composed&&(Kn=Ht.composedPath()[0]||Kn),kn.current.open&&Xt().filter(function(ir){return ir}).every(function(ir){return!ir.contains(Kn)&&ir!==Kn})&&kn.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Gn),function(){return window.removeEventListener("mousedown",Gn)}},[])}var Me=We(26112),Oe=We(11780),Te=function(Dt,cn){var bn,kn,Gn=Dt.prefixCls,Ht=Dt.id,An=Dt.inputElement,Kn=Dt.disabled,ir=Dt.tabIndex,sn=Dt.autoFocus,Cn=Dt.autoComplete,rn=Dt.editable,Sn=Dt.activeDescendantId,vn=Dt.value,yn=Dt.maxLength,Tn=Dt.onKeyDown,Fn=Dt.onMouseDown,jn=Dt.onChange,Zn=Dt.onPaste,gr=Dt.onCompositionStart,pn=Dt.onCompositionEnd,Tr=Dt.open,Ur=Dt.attrs,Nr=An||ye.createElement("input",null),wn=Nr,Jn=wn.ref,dr=wn.props,Ar=dr.onKeyDown,fr=dr.onChange,Ir=dr.onMouseDown,Gr=dr.onCompositionStart,Wr=dr.onCompositionEnd,br=dr.style;return(0,Ae.Kp)(!("maxLength"in Nr.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Nr=ye.cloneElement(Nr,(0,Ze.Z)((0,Ze.Z)((0,Ze.Z)({type:"search"},dr),{},{id:Ht,ref:(0,ee.sQ)(cn,Jn),disabled:Kn,tabIndex:ir,autoComplete:Cn||"off",autoFocus:sn,className:me()("".concat(Gn,"-selection-search-input"),(bn=Nr)===null||bn===void 0||(kn=bn.props)===null||kn===void 0?void 0:kn.className),role:"combobox","aria-label":"Search","aria-expanded":Tr||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Ht,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Ht,"_list"),"aria-activedescendant":Tr?Sn:void 0},Ur),{},{value:rn?vn:"",maxLength:yn,readOnly:!rn,unselectable:rn?null:"on",style:(0,Ze.Z)((0,Ze.Z)({},br),{},{opacity:rn?null:0}),onKeyDown:function(Dn){Tn(Dn),Ar&&Ar(Dn)},onMouseDown:function(Dn){Fn(Dn),Ir&&Ir(Dn)},onChange:function(Dn){jn(Dn),fr&&fr(Dn)},onCompositionStart:function(Dn){gr(Dn),Gr&&Gr(Dn)},onCompositionEnd:function(Dn){pn(Dn),Wr&&Wr(Dn)},onPaste:Zn})),Nr},je=ye.forwardRef(Te);je.displayName="Input";var ze=je;function $e(Xt){return Array.isArray(Xt)?Xt:Xt!==void 0?[Xt]:[]}var Ue=typeof window!="undefined"&&window.document&&window.document.documentElement,qe=Ue;function et(Xt){return Xt!=null}function lt(Xt){return!Xt&&Xt!==0}function ut(Xt){return["string","number"].includes((0,ce.Z)(Xt))}function vt(Xt){var Dt=void 0;return Xt&&(ut(Xt.title)?Dt=Xt.title.toString():ut(Xt.label)&&(Dt=Xt.label.toString())),Dt}function tt(Xt,Dt){qe?ye.useLayoutEffect(Xt,Dt):ye.useEffect(Xt,Dt)}function at(Xt){var Dt;return(Dt=Xt.key)!==null&&Dt!==void 0?Dt:Xt.value}var dt=function(Dt){Dt.preventDefault(),Dt.stopPropagation()},St=function(Dt){var cn=Dt.id,bn=Dt.prefixCls,kn=Dt.values,Gn=Dt.open,Ht=Dt.searchValue,An=Dt.autoClearSearchValue,Kn=Dt.inputRef,ir=Dt.placeholder,sn=Dt.disabled,Cn=Dt.mode,rn=Dt.showSearch,Sn=Dt.autoFocus,vn=Dt.autoComplete,yn=Dt.activeDescendantId,Tn=Dt.tabIndex,Fn=Dt.removeIcon,jn=Dt.maxTagCount,Zn=Dt.maxTagTextLength,gr=Dt.maxTagPlaceholder,pn=gr===void 0?function(Li){return"+ ".concat(Li.length," ...")}:gr,Tr=Dt.tagRender,Ur=Dt.onToggleOpen,Nr=Dt.onRemove,wn=Dt.onInputChange,Jn=Dt.onInputPaste,dr=Dt.onInputKeyDown,Ar=Dt.onInputMouseDown,fr=Dt.onInputCompositionStart,Ir=Dt.onInputCompositionEnd,Gr=ye.useRef(null),Wr=(0,ye.useState)(0),br=(0,Ne.Z)(Wr,2),Kr=br[0],Dn=br[1],Ei=(0,ye.useState)(!1),On=(0,Ne.Z)(Ei,2),hi=On[0],Ri=On[1],_r="".concat(bn,"-selection"),Xi=Gn||Cn==="multiple"&&An===!1||Cn==="tags"?Ht:"",Oi=Cn==="tags"||Cn==="multiple"&&An===!1||rn&&(Gn||hi);tt(function(){Dn(Gr.current.scrollWidth)},[Xi]);function Rr(Li,ao,Pi,co,wo){return ye.createElement("span",{className:me()("".concat(_r,"-item"),(0,oe.Z)({},"".concat(_r,"-item-disabled"),Pi)),title:vt(Li)},ye.createElement("span",{className:"".concat(_r,"-item-content")},ao),co&&ye.createElement(re,{className:"".concat(_r,"-item-remove"),onMouseDown:dt,onClick:wo,customizeIcon:Fn},"\xD7"))}function zr(Li,ao,Pi,co,wo){var ni=function(Fi){dt(Fi),Ur(!Gn)};return ye.createElement("span",{onMouseDown:ni},Tr({label:ao,value:Li,disabled:Pi,closable:co,onClose:wo}))}function wi(Li){var ao=Li.disabled,Pi=Li.label,co=Li.value,wo=!sn&&!ao,ni=Pi;if(typeof Zn=="number"&&(typeof Pi=="string"||typeof Pi=="number")){var di=String(ni);di.length>Zn&&(ni="".concat(di.slice(0,Zn),"..."))}var Fi=function(so){so&&so.stopPropagation(),Nr(Li)};return typeof Tr=="function"?zr(co,ni,ao,wo,Fi):Rr(Li,ni,ao,wo,Fi)}function ki(Li){var ao=typeof pn=="function"?pn(Li):pn;return Rr({title:ao},ao,!1)}var pr=ye.createElement("div",{className:"".concat(_r,"-search"),style:{width:Kr},onFocus:function(){Ri(!0)},onBlur:function(){Ri(!1)}},ye.createElement(ze,{ref:Kn,open:Gn,prefixCls:bn,id:cn,inputElement:null,disabled:sn,autoFocus:Sn,autoComplete:vn,editable:Oi,activeDescendantId:yn,value:Xi,onKeyDown:dr,onMouseDown:Ar,onChange:wn,onPaste:Jn,onCompositionStart:fr,onCompositionEnd:Ir,tabIndex:Tn,attrs:(0,Me.Z)(Dt,!0)}),ye.createElement("span",{ref:Gr,className:"".concat(_r,"-search-mirror"),"aria-hidden":!0},Xi,"\xA0")),Lt=ye.createElement(Oe.Z,{prefixCls:"".concat(_r,"-overflow"),data:kn,renderItem:wi,renderRest:ki,suffix:pr,itemKey:at,maxCount:jn});return ye.createElement(ye.Fragment,null,Lt,!kn.length&&!Xi&&ye.createElement("span",{className:"".concat(_r,"-placeholder")},ir))},xt=St,ft=function(Dt){var cn=Dt.inputElement,bn=Dt.prefixCls,kn=Dt.id,Gn=Dt.inputRef,Ht=Dt.disabled,An=Dt.autoFocus,Kn=Dt.autoComplete,ir=Dt.activeDescendantId,sn=Dt.mode,Cn=Dt.open,rn=Dt.values,Sn=Dt.placeholder,vn=Dt.tabIndex,yn=Dt.showSearch,Tn=Dt.searchValue,Fn=Dt.activeValue,jn=Dt.maxLength,Zn=Dt.onInputKeyDown,gr=Dt.onInputMouseDown,pn=Dt.onInputChange,Tr=Dt.onInputPaste,Ur=Dt.onInputCompositionStart,Nr=Dt.onInputCompositionEnd,wn=Dt.title,Jn=ye.useState(!1),dr=(0,Ne.Z)(Jn,2),Ar=dr[0],fr=dr[1],Ir=sn==="combobox",Gr=Ir||yn,Wr=rn[0],br=Tn||"";Ir&&Fn&&!Ar&&(br=Fn),ye.useEffect(function(){Ir&&fr(!1)},[Ir,Fn]);var Kr=sn!=="combobox"&&!Cn&&!yn?!1:!!br,Dn=wn===void 0?vt(Wr):wn,Ei=function(){if(Wr)return null;var hi=Kr?{visibility:"hidden"}:void 0;return ye.createElement("span",{className:"".concat(bn,"-selection-placeholder"),style:hi},Sn)};return ye.createElement(ye.Fragment,null,ye.createElement("span",{className:"".concat(bn,"-selection-search")},ye.createElement(ze,{ref:Gn,prefixCls:bn,id:kn,open:Cn,inputElement:cn,disabled:Ht,autoFocus:An,autoComplete:Kn,editable:Gr,activeDescendantId:ir,value:br,onKeyDown:Zn,onMouseDown:gr,onChange:function(hi){fr(!0),pn(hi)},onPaste:Tr,onCompositionStart:Ur,onCompositionEnd:Nr,tabIndex:vn,attrs:(0,Me.Z)(Dt,!0),maxLength:Ir?jn:void 0})),!Ir&&Wr?ye.createElement("span",{className:"".concat(bn,"-selection-item"),title:Dn,style:Kr?{visibility:"hidden"}:void 0},Wr.label):null,Ei())},pt=ft;function yt(Xt){return![z.Z.ESC,z.Z.SHIFT,z.Z.BACKSPACE,z.Z.TAB,z.Z.WIN_KEY,z.Z.ALT,z.Z.META,z.Z.WIN_KEY_RIGHT,z.Z.CTRL,z.Z.SEMICOLON,z.Z.EQUALS,z.Z.CAPS_LOCK,z.Z.CONTEXT_MENU,z.Z.F1,z.Z.F2,z.Z.F3,z.Z.F4,z.Z.F5,z.Z.F6,z.Z.F7,z.Z.F8,z.Z.F9,z.Z.F10,z.Z.F11,z.Z.F12].includes(Xt)}var Tt=function(Dt,cn){var bn=(0,ye.useRef)(null),kn=(0,ye.useRef)(!1),Gn=Dt.prefixCls,Ht=Dt.open,An=Dt.mode,Kn=Dt.showSearch,ir=Dt.tokenWithEnter,sn=Dt.autoClearSearchValue,Cn=Dt.onSearch,rn=Dt.onSearchSubmit,Sn=Dt.onToggleOpen,vn=Dt.onInputKeyDown,yn=Dt.domRef;ye.useImperativeHandle(cn,function(){return{focus:function(){bn.current.focus()},blur:function(){bn.current.blur()}}});var Tn=be(0),Fn=(0,Ne.Z)(Tn,2),jn=Fn[0],Zn=Fn[1],gr=function(br){var Kr=br.which;(Kr===z.Z.UP||Kr===z.Z.DOWN)&&br.preventDefault(),vn&&vn(br),Kr===z.Z.ENTER&&An==="tags"&&!kn.current&&!Ht&&(rn==null||rn(br.target.value)),yt(Kr)&&Sn(!0)},pn=function(){Zn(!0)},Tr=(0,ye.useRef)(null),Ur=function(br){Cn(br,!0,kn.current)!==!1&&Sn(!0)},Nr=function(){kn.current=!0},wn=function(br){kn.current=!1,An!=="combobox"&&Ur(br.target.value)},Jn=function(br){var Kr=br.target.value;if(ir&&Tr.current&&/[\r\n]/.test(Tr.current)){var Dn=Tr.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Kr=Kr.replace(Dn,Tr.current)}Tr.current=null,Ur(Kr)},dr=function(br){var Kr=br.clipboardData,Dn=Kr.getData("text");Tr.current=Dn},Ar=function(br){var Kr=br.target;if(Kr!==bn.current){var Dn=document.body.style.msTouchAction!==void 0;Dn?setTimeout(function(){bn.current.focus()}):bn.current.focus()}},fr=function(br){var Kr=jn();br.target!==bn.current&&!Kr&&An!=="combobox"&&br.preventDefault(),(An!=="combobox"&&(!Kn||!Kr)||!Ht)&&(Ht&&sn!==!1&&Cn("",!0,!1),Sn())},Ir={inputRef:bn,onInputKeyDown:gr,onInputMouseDown:pn,onInputChange:Jn,onInputPaste:dr,onInputCompositionStart:Nr,onInputCompositionEnd:wn},Gr=An==="multiple"||An==="tags"?ye.createElement(xt,(0,He.Z)({},Dt,Ir)):ye.createElement(pt,(0,He.Z)({},Dt,Ir));return ye.createElement("div",{ref:yn,className:"".concat(Gn,"-selector"),onClick:Ar,onMouseDown:fr},Gr)},At=ye.forwardRef(Tt);At.displayName="Selector";var Gt=At,wt=We(35593),bt=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],it=function(Dt){var cn=Dt===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:cn,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:cn,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:cn,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:cn,adjustY:1},htmlRegion:"scroll"}}},_e=function(Dt,cn){var bn=Dt.prefixCls,kn=Dt.disabled,Gn=Dt.visible,Ht=Dt.children,An=Dt.popupElement,Kn=Dt.animation,ir=Dt.transitionName,sn=Dt.dropdownStyle,Cn=Dt.dropdownClassName,rn=Dt.direction,Sn=rn===void 0?"ltr":rn,vn=Dt.placement,yn=Dt.builtinPlacements,Tn=Dt.dropdownMatchSelectWidth,Fn=Dt.dropdownRender,jn=Dt.dropdownAlign,Zn=Dt.getPopupContainer,gr=Dt.empty,pn=Dt.getTriggerDOMNode,Tr=Dt.onPopupVisibleChange,Ur=Dt.onPopupMouseEnter,Nr=(0,ge.Z)(Dt,bt),wn="".concat(bn,"-dropdown"),Jn=An;Fn&&(Jn=Fn(An));var dr=ye.useMemo(function(){return yn||it(Tn)},[yn,Tn]),Ar=Kn?"".concat(wn,"-").concat(Kn):ir,fr=typeof Tn=="number",Ir=ye.useMemo(function(){return fr?null:Tn===!1?"minWidth":"width"},[Tn,fr]),Gr=sn;fr&&(Gr=(0,Ze.Z)((0,Ze.Z)({},Gr),{},{width:Tn}));var Wr=ye.useRef(null);return ye.useImperativeHandle(cn,function(){return{getPopupElement:function(){return Wr.current}}}),ye.createElement(wt.Z,(0,He.Z)({},Nr,{showAction:Tr?["click"]:[],hideAction:Tr?["click"]:[],popupPlacement:vn||(Sn==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:dr,prefixCls:wn,popupTransitionName:Ar,popup:ye.createElement("div",{ref:Wr,onMouseEnter:Ur},Jn),stretch:Ir,popupAlign:jn,popupVisible:Gn,getPopupContainer:Zn,popupClassName:me()(Cn,(0,oe.Z)({},"".concat(wn,"-empty"),gr)),popupStyle:Gr,getTriggerDOMNode:pn,onPopupVisibleChange:Tr}),Ht)},we=ye.forwardRef(_e);we.displayName="SelectTrigger";var Ce=we,Ye=We(4537);function Je(Xt,Dt){var cn=Xt.key,bn;return"value"in Xt&&(bn=Xt.value),cn!=null?cn:bn!==void 0?bn:"rc-index-key-".concat(Dt)}function Le(Xt,Dt){var cn=Xt||{},bn=cn.label,kn=cn.value,Gn=cn.options,Ht=cn.groupLabel,An=bn||(Dt?"children":"label");return{label:An,value:kn||"value",options:Gn||"options",groupLabel:Ht||An}}function Ge(Xt){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},cn=Dt.fieldNames,bn=Dt.childrenAsData,kn=[],Gn=Le(cn,!1),Ht=Gn.label,An=Gn.value,Kn=Gn.options,ir=Gn.groupLabel;function sn(Cn,rn){Cn.forEach(function(Sn){if(rn||!(Kn in Sn)){var vn=Sn[An];kn.push({key:Je(Sn,kn.length),groupOption:rn,data:Sn,label:Sn[Ht],value:vn})}else{var yn=Sn[ir];yn===void 0&&bn&&(yn=Sn.label),kn.push({key:Je(Sn,kn.length),group:!0,data:Sn,label:yn}),sn(Sn[Kn],!0)}})}return sn(Xt,!1),kn}function Ke(Xt){var Dt=(0,Ze.Z)({},Xt);return"props"in Dt||Object.defineProperty(Dt,"props",{get:function(){return(0,Ae.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Dt}}),Dt}function Xe(Xt,Dt){if(!Dt||!Dt.length)return null;var cn=!1;function bn(Gn,Ht){var An=(0,Ye.Z)(Ht),Kn=An[0],ir=An.slice(1);if(!Kn)return[Gn];var sn=Gn.split(Kn);return cn=cn||sn.length>1,sn.reduce(function(Cn,rn){return[].concat((0,gt.Z)(Cn),(0,gt.Z)(bn(rn,ir)))},[]).filter(function(Cn){return Cn})}var kn=bn(Xt,Dt);return cn?kn:null}var Qe=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],ht=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function Et(Xt){return Xt==="tags"||Xt==="multiple"}var mt=ye.forwardRef(function(Xt,Dt){var cn,bn,kn=Xt.id,Gn=Xt.prefixCls,Ht=Xt.className,An=Xt.showSearch,Kn=Xt.tagRender,ir=Xt.direction,sn=Xt.omitDomProps,Cn=Xt.displayValues,rn=Xt.onDisplayValuesChange,Sn=Xt.emptyOptions,vn=Xt.notFoundContent,yn=vn===void 0?"Not Found":vn,Tn=Xt.onClear,Fn=Xt.mode,jn=Xt.disabled,Zn=Xt.loading,gr=Xt.getInputElement,pn=Xt.getRawInputElement,Tr=Xt.open,Ur=Xt.defaultOpen,Nr=Xt.onDropdownVisibleChange,wn=Xt.activeValue,Jn=Xt.onActiveValueChange,dr=Xt.activeDescendantId,Ar=Xt.searchValue,fr=Xt.autoClearSearchValue,Ir=Xt.onSearch,Gr=Xt.onSearchSplit,Wr=Xt.tokenSeparators,br=Xt.allowClear,Kr=Xt.suffixIcon,Dn=Xt.clearIcon,Ei=Xt.OptionList,On=Xt.animation,hi=Xt.transitionName,Ri=Xt.dropdownStyle,_r=Xt.dropdownClassName,Xi=Xt.dropdownMatchSelectWidth,Oi=Xt.dropdownRender,Rr=Xt.dropdownAlign,zr=Xt.placement,wi=Xt.builtinPlacements,ki=Xt.getPopupContainer,pr=Xt.showAction,Lt=pr===void 0?[]:pr,Li=Xt.onFocus,ao=Xt.onBlur,Pi=Xt.onKeyUp,co=Xt.onKeyDown,wo=Xt.onMouseDown,ni=(0,ge.Z)(Xt,Qe),di=Et(Fn),Fi=(An!==void 0?An:di)||Fn==="combobox",bi=(0,Ze.Z)({},ni);ht.forEach(function(io){delete bi[io]}),sn==null||sn.forEach(function(io){delete bi[io]});var so=ye.useState(!1),Po=(0,Ne.Z)(so,2),Vr=Po[0],Xr=Po[1];ye.useEffect(function(){Xr((0,fe.Z)())},[]);var qn=ye.useRef(null),li=ye.useRef(null),qi=ye.useRef(null),Ro=ye.useRef(null),lo=ye.useRef(null),Qi=Pe(),Do=(0,Ne.Z)(Qi,3),Oo=Do[0],oa=Do[1],la=Do[2];ye.useImperativeHandle(Dt,function(){var io,zo;return{focus:(io=Ro.current)===null||io===void 0?void 0:io.focus,blur:(zo=Ro.current)===null||zo===void 0?void 0:zo.blur,scrollTo:function(_a){var Ha;return(Ha=lo.current)===null||Ha===void 0?void 0:Ha.scrollTo(_a)}}});var Ma=ye.useMemo(function(){var io;if(Fn!=="combobox")return Ar;var zo=(io=Cn[0])===null||io===void 0?void 0:io.value;return typeof zo=="string"||typeof zo=="number"?String(zo):""},[Ar,Fn,Cn]),Mn=Fn==="combobox"&&typeof gr=="function"&&gr()||null,ha=typeof pn=="function"&&pn(),fu=(0,ee.x1)(li,ha==null||(cn=ha.props)===null||cn===void 0?void 0:cn.ref),xs=ye.useState(!1),bo=(0,Ne.Z)(xs,2),_i=bo[0],da=bo[1];(0,xe.Z)(function(){da(!0)},[]);var Ao=(0,Ee.Z)(!1,{defaultValue:Ur,value:Tr}),eo=(0,Ne.Z)(Ao,2),Bo=eo[0],ws=eo[1],Ci=_i?Bo:!1,ho=!yn&&Sn;(jn||ho&&Ci&&Fn==="combobox")&&(Ci=!1);var oo=ho?!1:Ci,Or=ye.useCallback(function(io){var zo=io!==void 0?io:!Ci;jn||(ws(zo),Ci!==zo&&(Nr==null||Nr(zo)))},[jn,Ci,ws,Nr]),za=ye.useMemo(function(){return(Wr||[]).some(function(io){return[`
`,`\r
`].includes(io)})},[Wr]),Wa=function(zo,As,_a){var Ha=!0,ga=zo;Jn==null||Jn(null);var La=_a?null:Xe(zo,Wr);return Fn!=="combobox"&&La&&(ga="",Gr==null||Gr(La),Or(!1),Ha=!1),Ir&&Ma!==ga&&Ir(ga,{source:As?"typing":"effect"}),Ha},Es=function(zo){!zo||!zo.trim()||Ir(zo,{source:"submit"})};ye.useEffect(function(){!Ci&&!di&&Fn!=="combobox"&&Wa("",!1,!1)},[Ci]),ye.useEffect(function(){Bo&&jn&&ws(!1),jn&&oa(!1)},[jn]);var Nl=be(),$l=(0,Ne.Z)(Nl,2),wr=$l[0],ua=$l[1],Xa=function(zo){var As=wr(),_a=zo.which;if(_a===z.Z.ENTER&&(Fn!=="combobox"&&zo.preventDefault(),Ci||Or(!0)),ua(!!Ma),_a===z.Z.BACKSPACE&&!As&&di&&!Ma&&Cn.length){for(var Ha=(0,gt.Z)(Cn),ga=null,La=Ha.length-1;La>=0;La-=1){var Ya=Ha[La];if(!Ya.disabled){Ha.splice(La,1),ga=Ya;break}}ga&&rn(Ha,{type:"remove",values:[ga]})}for(var Ua=arguments.length,Wu=new Array(Ua>1?Ua-1:0),Rl=1;Rl<Ua;Rl++)Wu[Rl-1]=arguments[Rl];if(Ci&&lo.current){var Da;(Da=lo.current).onKeyDown.apply(Da,[zo].concat(Wu))}co==null||co.apply(void 0,[zo].concat(Wu))},Cl=function(zo){for(var As=arguments.length,_a=new Array(As>1?As-1:0),Ha=1;Ha<As;Ha++)_a[Ha-1]=arguments[Ha];if(Ci&&lo.current){var ga;(ga=lo.current).onKeyUp.apply(ga,[zo].concat(_a))}Pi==null||Pi.apply(void 0,[zo].concat(_a))},Bl=function(zo){var As=Cn.filter(function(_a){return _a!==zo});rn(As,{type:"remove",values:[zo]})},Il=ye.useRef(!1),zi=function(){oa(!0),jn||(Li&&!Il.current&&Li.apply(void 0,arguments),Lt.includes("focus")&&Or(!0)),Il.current=!0},mc=function(){oa(!1,function(){Il.current=!1,Or(!1)}),!jn&&(Ma&&(Fn==="tags"?Ir(Ma,{source:"submit"}):Fn==="multiple"&&Ir("",{source:"blur"})),ao&&ao.apply(void 0,arguments))},tl=[];ye.useEffect(function(){return function(){tl.forEach(function(io){return clearTimeout(io)}),tl.splice(0,tl.length)}},[]);var nl=function(zo){var As,_a=zo.target,Ha=(As=qi.current)===null||As===void 0?void 0:As.getPopupElement();if(Ha&&Ha.contains(_a)){var ga=setTimeout(function(){var Wu=tl.indexOf(ga);if(Wu!==-1&&tl.splice(Wu,1),la(),!Vr&&!Ha.contains(document.activeElement)){var Rl;(Rl=Ro.current)===null||Rl===void 0||Rl.focus()}});tl.push(ga)}for(var La=arguments.length,Ya=new Array(La>1?La-1:0),Ua=1;Ua<La;Ua++)Ya[Ua-1]=arguments[Ua];wo==null||wo.apply(void 0,[zo].concat(Ya))},ks=ye.useState({}),Eu=(0,Ne.Z)(ks,2),Ru=Eu[1];function Ws(){Ru({})}var dl;ha&&(dl=function(zo){Or(zo)}),Ie(function(){var io;return[qn.current,(io=qi.current)===null||io===void 0?void 0:io.getPopupElement()]},oo,Or,!!ha);var Hc=ye.useMemo(function(){return(0,Ze.Z)((0,Ze.Z)({},Xt),{},{notFoundContent:yn,open:Ci,triggerOpen:oo,id:kn,showSearch:Fi,multiple:di,toggleOpen:Or})},[Xt,yn,oo,Ci,kn,Fi,di,Or]),hh=!!Kr||Zn,Uc;hh&&(Uc=ye.createElement(re,{className:me()("".concat(Gn,"-arrow"),(0,oe.Z)({},"".concat(Gn,"-arrow-loading"),Zn)),customizeIcon:Kr,customizeIconProps:{loading:Zn,searchValue:Ma,open:Ci,focused:Oo,showSearch:Fi}}));var Gh=function(){var zo;Tn==null||Tn(),(zo=Ro.current)===null||zo===void 0||zo.focus(),rn([],{type:"clear",values:Cn}),Wa("",!1,!1)},Gc=le(Gn,Gh,Cn,br,Dn,jn,Ma,Fn),vc=Gc.allowClear,zu=Gc.clearIcon,jl=ye.createElement(Ei,{ref:lo}),dh=me()(Gn,Ht,(bn={},(0,oe.Z)(bn,"".concat(Gn,"-focused"),Oo),(0,oe.Z)(bn,"".concat(Gn,"-multiple"),di),(0,oe.Z)(bn,"".concat(Gn,"-single"),!di),(0,oe.Z)(bn,"".concat(Gn,"-allow-clear"),br),(0,oe.Z)(bn,"".concat(Gn,"-show-arrow"),hh),(0,oe.Z)(bn,"".concat(Gn,"-disabled"),jn),(0,oe.Z)(bn,"".concat(Gn,"-loading"),Zn),(0,oe.Z)(bn,"".concat(Gn,"-open"),Ci),(0,oe.Z)(bn,"".concat(Gn,"-customize-input"),Mn),(0,oe.Z)(bn,"".concat(Gn,"-show-search"),Fi),bn)),Zc=ye.createElement(Ce,{ref:qi,disabled:jn,prefixCls:Gn,visible:oo,popupElement:jl,animation:On,transitionName:hi,dropdownStyle:Ri,dropdownClassName:_r,direction:ir,dropdownMatchSelectWidth:Xi,dropdownRender:Oi,dropdownAlign:Rr,placement:zr,builtinPlacements:wi,getPopupContainer:ki,empty:Sn,getTriggerDOMNode:function(){return li.current},onPopupVisibleChange:dl,onPopupMouseEnter:Ws},ha?ye.cloneElement(ha,{ref:fu}):ye.createElement(Gt,(0,He.Z)({},Xt,{domRef:li,prefixCls:Gn,inputElement:Mn,ref:Ro,id:kn,showSearch:Fi,autoClearSearchValue:fr,mode:Fn,activeDescendantId:dr,tagRender:Kn,values:Cn,open:Ci,onToggleOpen:Or,activeValue:wn,searchValue:Ma,onSearch:Wa,onSearchSubmit:Es,onRemove:Bl,tokenWithEnter:za}))),yc;return ha?yc=Zc:yc=ye.createElement("div",(0,He.Z)({className:dh},bi,{ref:qn,onMouseDown:nl,onKeyDown:Xa,onKeyUp:Cl,onFocus:zi,onBlur:mc}),Oo&&!Ci&&ye.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(Cn.map(function(io){var zo=io.label,As=io.value;return["number","string"].includes((0,ce.Z)(zo))?zo:As}).join(", "))),Zc,Uc,vc&&zu),ye.createElement(ue.Provider,{value:Hc},yc)}),Ft=mt,Kt=function(Xt,Dt){var cn=ye.useRef({values:new Map,options:new Map}),bn=ye.useMemo(function(){var Gn=cn.current,Ht=Gn.values,An=Gn.options,Kn=Xt.map(function(Cn){if(Cn.label===void 0){var rn;return(0,Ze.Z)((0,Ze.Z)({},Cn),{},{label:(rn=Ht.get(Cn.value))===null||rn===void 0?void 0:rn.label})}return Cn}),ir=new Map,sn=new Map;return Kn.forEach(function(Cn){ir.set(Cn.value,Cn),sn.set(Cn.value,Dt.get(Cn.value)||An.get(Cn.value))}),cn.current.values=ir,cn.current.options=sn,Kn},[Xt,Dt]),kn=ye.useCallback(function(Gn){return Dt.get(Gn)||cn.current.options.get(Gn)},[Dt]);return[bn,kn]};function jt(Xt,Dt){return $e(Xt).join("").toUpperCase().includes(Dt)}var Wt=function(Xt,Dt,cn,bn,kn){return ye.useMemo(function(){if(!cn||bn===!1)return Xt;var Gn=Dt.options,Ht=Dt.label,An=Dt.value,Kn=[],ir=typeof bn=="function",sn=cn.toUpperCase(),Cn=ir?bn:function(Sn,vn){return kn?jt(vn[kn],sn):vn[Gn]?jt(vn[Ht!=="children"?Ht:"label"],sn):jt(vn[An],sn)},rn=ir?function(Sn){return Ke(Sn)}:function(Sn){return Sn};return Xt.forEach(function(Sn){if(Sn[Gn]){var vn=Cn(cn,rn(Sn));if(vn)Kn.push(Sn);else{var yn=Sn[Gn].filter(function(Tn){return Cn(cn,rn(Tn))});yn.length&&Kn.push((0,Ze.Z)((0,Ze.Z)({},Sn),{},(0,oe.Z)({},Gn,yn)))}return}Cn(cn,rn(Sn))&&Kn.push(Sn)}),Kn},[Xt,bn,kn,cn,Dt])},Vt=We(17115),nn=We(11592),Bt=["children","value"],_t=["children"];function en(Xt){var Dt=Xt,cn=Dt.key,bn=Dt.props,kn=bn.children,Gn=bn.value,Ht=(0,ge.Z)(bn,Bt);return(0,Ze.Z)({key:cn,value:Gn!==void 0?Gn:cn,children:kn},Ht)}function on(Xt){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,nn.Z)(Xt).map(function(cn,bn){if(!ye.isValidElement(cn)||!cn.type)return null;var kn=cn,Gn=kn.type.isSelectOptGroup,Ht=kn.key,An=kn.props,Kn=An.children,ir=(0,ge.Z)(An,_t);return Dt||!Gn?en(cn):(0,Ze.Z)((0,Ze.Z)({key:"__RC_SELECT_GRP__".concat(Ht===null?bn:Ht,"__"),label:Ht},ir),{},{options:on(Kn)})}).filter(function(cn){return cn})}function xn(Xt,Dt,cn,bn,kn){return ye.useMemo(function(){var Gn=Xt,Ht=!Xt;Ht&&(Gn=on(Dt));var An=new Map,Kn=new Map,ir=function(rn,Sn,vn){vn&&typeof vn=="string"&&rn.set(Sn[vn],Sn)};function sn(Cn){for(var rn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Sn=0;Sn<Cn.length;Sn+=1){var vn=Cn[Sn];!vn[cn.options]||rn?(An.set(vn[cn.value],vn),ir(Kn,vn,cn.label),ir(Kn,vn,bn),ir(Kn,vn,kn)):sn(vn[cn.options],!0)}}return sn(Gn),{options:Gn,valueOptions:An,labelOptions:Kn}},[Xt,Dt,cn,bn,kn])}function zn(Xt){var Dt=ye.useRef();Dt.current=Xt;var cn=ye.useCallback(function(){return Dt.current.apply(Dt,arguments)},[]);return cn}var tr=function(){return null};tr.isSelectOptGroup=!0;var er=tr,ur=function(){return null};ur.isSelectOption=!0;var Dr=ur,Mr=We(80547),Br=We(2738),qr=We(24916),Qr=ye.createContext(null),Lr=Qr;function ei(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Er=["disabled","title","children","style","className"];function ot(Xt){return typeof Xt=="string"||typeof Xt=="number"}var xi=function(Dt,cn){var bn=pe(),kn=bn.prefixCls,Gn=bn.id,Ht=bn.open,An=bn.multiple,Kn=bn.mode,ir=bn.searchValue,sn=bn.toggleOpen,Cn=bn.notFoundContent,rn=bn.onPopupScroll,Sn=ye.useContext(Lr),vn=Sn.flattenOptions,yn=Sn.onActiveValue,Tn=Sn.defaultActiveFirstOption,Fn=Sn.onSelect,jn=Sn.menuItemSelectedIcon,Zn=Sn.rawValues,gr=Sn.fieldNames,pn=Sn.virtual,Tr=Sn.direction,Ur=Sn.listHeight,Nr=Sn.listItemHeight,wn="".concat(kn,"-item"),Jn=(0,Mr.Z)(function(){return vn},[Ht,vn],function(Rr,zr){return zr[0]&&Rr[1]!==zr[1]}),dr=ye.useRef(null),Ar=function(zr){zr.preventDefault()},fr=function(zr){dr.current&&dr.current.scrollTo(typeof zr=="number"?{index:zr}:zr)},Ir=function(zr){for(var wi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,ki=Jn.length,pr=0;pr<ki;pr+=1){var Lt=(zr+pr*wi+ki)%ki,Li=Jn[Lt],ao=Li.group,Pi=Li.data;if(!ao&&!Pi.disabled)return Lt}return-1},Gr=ye.useState(function(){return Ir(0)}),Wr=(0,Ne.Z)(Gr,2),br=Wr[0],Kr=Wr[1],Dn=function(zr){var wi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Kr(zr);var ki={source:wi?"keyboard":"mouse"},pr=Jn[zr];if(!pr){yn(null,-1,ki);return}yn(pr.value,zr,ki)};(0,ye.useEffect)(function(){Dn(Tn!==!1?Ir(0):-1)},[Jn.length,ir]);var Ei=ye.useCallback(function(Rr){return Zn.has(Rr)&&Kn!=="combobox"},[Kn,(0,gt.Z)(Zn).toString(),Zn.size]);(0,ye.useEffect)(function(){var Rr=setTimeout(function(){if(!An&&Ht&&Zn.size===1){var wi=Array.from(Zn)[0],ki=Jn.findIndex(function(pr){var Lt=pr.data;return Lt.value===wi});ki!==-1&&(Dn(ki),fr(ki))}});if(Ht){var zr;(zr=dr.current)===null||zr===void 0||zr.scrollTo(void 0)}return function(){return clearTimeout(Rr)}},[Ht,ir,vn.length]);var On=function(zr){zr!==void 0&&Fn(zr,{selected:!Zn.has(zr)}),An||sn(!1)};if(ye.useImperativeHandle(cn,function(){return{onKeyDown:function(zr){var wi=zr.which,ki=zr.ctrlKey;switch(wi){case z.Z.N:case z.Z.P:case z.Z.UP:case z.Z.DOWN:{var pr=0;if(wi===z.Z.UP?pr=-1:wi===z.Z.DOWN?pr=1:ei()&&ki&&(wi===z.Z.N?pr=1:wi===z.Z.P&&(pr=-1)),pr!==0){var Lt=Ir(br+pr,pr);fr(Lt),Dn(Lt,!0)}break}case z.Z.ENTER:{var Li=Jn[br];Li&&!Li.data.disabled?On(Li.value):On(void 0),Ht&&zr.preventDefault();break}case z.Z.ESC:sn(!1),Ht&&zr.stopPropagation()}},onKeyUp:function(){},scrollTo:function(zr){fr(zr)}}}),Jn.length===0)return ye.createElement("div",{role:"listbox",id:"".concat(Gn,"_list"),className:"".concat(wn,"-empty"),onMouseDown:Ar},Cn);var hi=Object.keys(gr).map(function(Rr){return gr[Rr]}),Ri=function(zr){return zr.label};function _r(Rr,zr){var wi=Rr.group;return{role:wi?"presentation":"option",id:"".concat(Gn,"_list_").concat(zr)}}var Xi=function(zr){var wi=Jn[zr];if(!wi)return null;var ki=wi.data||{},pr=ki.value,Lt=wi.group,Li=(0,Me.Z)(ki,!0),ao=Ri(wi);return wi?ye.createElement("div",(0,He.Z)({"aria-label":typeof ao=="string"&&!Lt?ao:null},Li,{key:zr},_r(wi,zr),{"aria-selected":Ei(pr)}),pr):null},Oi={role:"listbox",id:"".concat(Gn,"_list")};return ye.createElement(ye.Fragment,null,pn&&ye.createElement("div",(0,He.Z)({},Oi,{style:{height:0,width:0,overflow:"hidden"}}),Xi(br-1),Xi(br),Xi(br+1)),ye.createElement(qr.Z,{itemKey:"key",ref:dr,data:Jn,height:Ur,itemHeight:Nr,fullHeight:!1,onMouseDown:Ar,onScroll:rn,virtual:pn,direction:Tr,innerProps:pn?null:Oi},function(Rr,zr){var wi,ki=Rr.group,pr=Rr.groupOption,Lt=Rr.data,Li=Rr.label,ao=Rr.value,Pi=Lt.key;if(ki){var co,wo=(co=Lt.title)!==null&&co!==void 0?co:ot(Li)?Li.toString():void 0;return ye.createElement("div",{className:me()(wn,"".concat(wn,"-group")),title:wo},Li!==void 0?Li:Pi)}var ni=Lt.disabled,di=Lt.title,Fi=Lt.children,bi=Lt.style,so=Lt.className,Po=(0,ge.Z)(Lt,Er),Vr=(0,Br.Z)(Po,hi),Xr=Ei(ao),qn="".concat(wn,"-option"),li=me()(wn,qn,so,(wi={},(0,oe.Z)(wi,"".concat(qn,"-grouped"),pr),(0,oe.Z)(wi,"".concat(qn,"-active"),br===zr&&!ni),(0,oe.Z)(wi,"".concat(qn,"-disabled"),ni),(0,oe.Z)(wi,"".concat(qn,"-selected"),Xr),wi)),qi=Ri(Rr),Ro=!jn||typeof jn=="function"||Xr,lo=typeof qi=="number"?qi:qi||ao,Qi=ot(lo)?lo.toString():void 0;return di!==void 0&&(Qi=di),ye.createElement("div",(0,He.Z)({},(0,Me.Z)(Vr),pn?{}:_r(Rr,zr),{"aria-selected":Xr,className:li,title:Qi,onMouseMove:function(){br===zr||ni||Dn(zr)},onClick:function(){ni||On(ao)},style:bi}),ye.createElement("div",{className:"".concat(qn,"-content")},lo),ye.isValidElement(jn)||Xr,Ro&&ye.createElement(re,{className:"".concat(wn,"-option-state"),customizeIcon:jn,customizeIconProps:{isSelected:Xr}},Xr?"\u2713":null))}))},gi=ye.forwardRef(xi);gi.displayName="OptionList";var Ln=gi;function hr(Xt){var Dt=Xt.mode,cn=Xt.options,bn=Xt.children,kn=Xt.backfill,Gn=Xt.allowClear,Ht=Xt.placeholder,An=Xt.getInputElement,Kn=Xt.showSearch,ir=Xt.onSearch,sn=Xt.defaultOpen,Cn=Xt.autoFocus,rn=Xt.labelInValue,Sn=Xt.value,vn=Xt.inputValue,yn=Xt.optionLabelProp,Tn=isMultiple(Dt),Fn=Kn!==void 0?Kn:Tn||Dt==="combobox",jn=cn||convertChildrenToData(bn);if(warning(Dt!=="tags"||jn.every(function(Tr){return!Tr.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Dt==="tags"||Dt==="combobox"){var Zn=jn.some(function(Tr){return Tr.options?Tr.options.some(function(Ur){return typeof("value"in Ur?Ur.value:Ur.key)=="number"}):typeof("value"in Tr?Tr.value:Tr.key)=="number"});warning(!Zn,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Dt!=="combobox"||!yn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Dt==="combobox"||!kn,"`backfill` only works with `combobox` mode."),warning(Dt==="combobox"||!An,"`getInputElement` only work with `combobox` mode."),noteOnce(Dt!=="combobox"||!An||!Gn||!Ht,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),ir&&!Fn&&Dt!=="combobox"&&Dt!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!sn||Cn,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Sn!=null){var gr=toArray(Sn);warning(!rn||gr.every(function(Tr){return _typeof(Tr)==="object"&&("key"in Tr||"value"in Tr)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Tn||Array.isArray(Sn),"`value` should be array when `mode` is `multiple` or `tags`")}if(bn){var pn=null;toNodeArray(bn).some(function(Tr){if(!React.isValidElement(Tr)||!Tr.type)return!1;var Ur=Tr,Nr=Ur.type;if(Nr.isSelectOption)return!1;if(Nr.isSelectOptGroup){var wn=toNodeArray(Tr.props.children).every(function(Jn){return!React.isValidElement(Jn)||!Tr.type||Jn.type.isSelectOption?!0:(pn=Jn.type,!1)});return!wn}return pn=Nr,!0}),pn&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(pn.displayName||pn.name||pn,"`.")),warning(vn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function ar(Xt,Dt){if(Xt){var cn=function bn(kn){for(var Gn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ht=0;Ht<kn.length;Ht++){var An=kn[Ht];if(An[Dt==null?void 0:Dt.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Gn&&Array.isArray(An[Dt==null?void 0:Dt.options])&&bn(An[Dt==null?void 0:Dt.options],!0))break}};cn(Xt)}}var vr=null,Un=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],Yn=["inputValue"];function Qt(Xt){return!Xt||(0,ce.Z)(Xt)!=="object"}var Zt=ye.forwardRef(function(Xt,Dt){var cn=Xt.id,bn=Xt.mode,kn=Xt.prefixCls,Gn=kn===void 0?"rc-select":kn,Ht=Xt.backfill,An=Xt.fieldNames,Kn=Xt.inputValue,ir=Xt.searchValue,sn=Xt.onSearch,Cn=Xt.autoClearSearchValue,rn=Cn===void 0?!0:Cn,Sn=Xt.onSelect,vn=Xt.onDeselect,yn=Xt.dropdownMatchSelectWidth,Tn=yn===void 0?!0:yn,Fn=Xt.filterOption,jn=Xt.filterSort,Zn=Xt.optionFilterProp,gr=Xt.optionLabelProp,pn=Xt.options,Tr=Xt.children,Ur=Xt.defaultActiveFirstOption,Nr=Xt.menuItemSelectedIcon,wn=Xt.virtual,Jn=Xt.direction,dr=Xt.listHeight,Ar=dr===void 0?200:dr,fr=Xt.listItemHeight,Ir=fr===void 0?20:fr,Gr=Xt.value,Wr=Xt.defaultValue,br=Xt.labelInValue,Kr=Xt.onChange,Dn=(0,ge.Z)(Xt,Un),Ei=(0,Vt.ZP)(cn),On=Et(bn),hi=!!(!pn&&Tr),Ri=ye.useMemo(function(){return Fn===void 0&&bn==="combobox"?!1:Fn},[Fn,bn]),_r=ye.useMemo(function(){return Le(An,hi)},[JSON.stringify(An),hi]),Xi=(0,Ee.Z)("",{value:ir!==void 0?ir:Kn,postState:function(ho){return ho||""}}),Oi=(0,Ne.Z)(Xi,2),Rr=Oi[0],zr=Oi[1],wi=xn(pn,Tr,_r,Zn,gr),ki=wi.valueOptions,pr=wi.labelOptions,Lt=wi.options,Li=ye.useCallback(function(Ci){var ho=$e(Ci);return ho.map(function(oo){var Or,za,Wa,Es,Nl;if(Qt(oo))Or=oo;else{var $l;Wa=oo.key,za=oo.label,Or=($l=oo.value)!==null&&$l!==void 0?$l:Wa}var wr=ki.get(Or);if(wr){var ua;if(za===void 0&&(za=wr==null?void 0:wr[gr||_r.label]),Wa===void 0&&(Wa=(ua=wr==null?void 0:wr.key)!==null&&ua!==void 0?ua:Or),Es=wr==null?void 0:wr.disabled,Nl=wr==null?void 0:wr.title,0)var Xa}return{label:za,value:Or,key:Wa,disabled:Es,title:Nl}})},[_r,gr,ki]),ao=(0,Ee.Z)(Wr,{value:Gr}),Pi=(0,Ne.Z)(ao,2),co=Pi[0],wo=Pi[1],ni=ye.useMemo(function(){var Ci,ho=Li(co);return bn==="combobox"&&lt((Ci=ho[0])===null||Ci===void 0?void 0:Ci.value)?[]:ho},[co,Li,bn]),di=Kt(ni,ki),Fi=(0,Ne.Z)(di,2),bi=Fi[0],so=Fi[1],Po=ye.useMemo(function(){if(!bn&&bi.length===1){var Ci=bi[0];if(Ci.value===null&&(Ci.label===null||Ci.label===void 0))return[]}return bi.map(function(ho){var oo;return(0,Ze.Z)((0,Ze.Z)({},ho),{},{label:(oo=ho.label)!==null&&oo!==void 0?oo:ho.value})})},[bn,bi]),Vr=ye.useMemo(function(){return new Set(bi.map(function(Ci){return Ci.value}))},[bi]);ye.useEffect(function(){if(bn==="combobox"){var Ci,ho=(Ci=bi[0])===null||Ci===void 0?void 0:Ci.value;zr(et(ho)?String(ho):"")}},[bi]);var Xr=zn(function(Ci,ho){var oo,Or=ho!=null?ho:Ci;return oo={},(0,oe.Z)(oo,_r.value,Ci),(0,oe.Z)(oo,_r.label,Or),oo}),qn=ye.useMemo(function(){if(bn!=="tags")return Lt;var Ci=(0,gt.Z)(Lt),ho=function(Or){return ki.has(Or)};return(0,gt.Z)(bi).sort(function(oo,Or){return oo.value<Or.value?-1:1}).forEach(function(oo){var Or=oo.value;ho(Or)||Ci.push(Xr(Or,oo.label))}),Ci},[Xr,Lt,ki,bi,bn]),li=Wt(qn,_r,Rr,Ri,Zn),qi=ye.useMemo(function(){return bn!=="tags"||!Rr||li.some(function(Ci){return Ci[Zn||"value"]===Rr})||li.some(function(Ci){return Ci[_r.value]===Rr})?li:[Xr(Rr)].concat((0,gt.Z)(li))},[Xr,Zn,bn,li,Rr,_r]),Ro=ye.useMemo(function(){return jn?(0,gt.Z)(qi).sort(function(Ci,ho){return jn(Ci,ho)}):qi},[qi,jn]),lo=ye.useMemo(function(){return Ge(Ro,{fieldNames:_r,childrenAsData:hi})},[Ro,_r,hi]),Qi=function(ho){var oo=Li(ho);if(wo(oo),Kr&&(oo.length!==bi.length||oo.some(function(Wa,Es){var Nl;return((Nl=bi[Es])===null||Nl===void 0?void 0:Nl.value)!==(Wa==null?void 0:Wa.value)}))){var Or=br?oo:oo.map(function(Wa){return Wa.value}),za=oo.map(function(Wa){return Ke(so(Wa.value))});Kr(On?Or:Or[0],On?za:za[0])}},Do=ye.useState(null),Oo=(0,Ne.Z)(Do,2),oa=Oo[0],la=Oo[1],Ma=ye.useState(0),Mn=(0,Ne.Z)(Ma,2),ha=Mn[0],fu=Mn[1],xs=Ur!==void 0?Ur:bn!=="combobox",bo=ye.useCallback(function(Ci,ho){var oo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Or=oo.source,za=Or===void 0?"keyboard":Or;fu(ho),Ht&&bn==="combobox"&&Ci!==null&&za==="keyboard"&&la(String(Ci))},[Ht,bn]),_i=function(ho,oo,Or){var za=function(){var Il,zi=so(ho);return[br?{label:zi==null?void 0:zi[_r.label],value:ho,key:(Il=zi==null?void 0:zi.key)!==null&&Il!==void 0?Il:ho}:ho,Ke(zi)]};if(oo&&Sn){var Wa=za(),Es=(0,Ne.Z)(Wa,2),Nl=Es[0],$l=Es[1];Sn(Nl,$l)}else if(!oo&&vn&&Or!=="clear"){var wr=za(),ua=(0,Ne.Z)(wr,2),Xa=ua[0],Cl=ua[1];vn(Xa,Cl)}},da=zn(function(Ci,ho){var oo,Or=On?ho.selected:!0;Or?oo=On?[].concat((0,gt.Z)(bi),[Ci]):[Ci]:oo=bi.filter(function(za){return za.value!==Ci}),Qi(oo),_i(Ci,Or),bn==="combobox"?la(""):(!Et||rn)&&(zr(""),la(""))}),Ao=function(ho,oo){Qi(ho);var Or=oo.type,za=oo.values;(Or==="remove"||Or==="clear")&&za.forEach(function(Wa){_i(Wa.value,!1,Or)})},eo=function(ho,oo){if(zr(ho),la(null),oo.source==="submit"){var Or=(ho||"").trim();if(Or){var za=Array.from(new Set([].concat((0,gt.Z)(Vr),[Or])));Qi(za),_i(Or,!0),zr("")}return}oo.source!=="blur"&&(bn==="combobox"&&Qi(ho),sn==null||sn(ho))},Bo=function(ho){var oo=ho;bn!=="tags"&&(oo=ho.map(function(za){var Wa=pr.get(za);return Wa==null?void 0:Wa.value}).filter(function(za){return za!==void 0}));var Or=Array.from(new Set([].concat((0,gt.Z)(Vr),(0,gt.Z)(oo))));Qi(Or),Or.forEach(function(za){_i(za,!0)})},ws=ye.useMemo(function(){var Ci=wn!==!1&&Tn!==!1;return(0,Ze.Z)((0,Ze.Z)({},wi),{},{flattenOptions:lo,onActiveValue:bo,defaultActiveFirstOption:xs,onSelect:da,menuItemSelectedIcon:Nr,rawValues:Vr,fieldNames:_r,virtual:Ci,direction:Jn,listHeight:Ar,listItemHeight:Ir,childrenAsData:hi})},[wi,lo,bo,xs,da,Nr,Vr,_r,wn,Tn,Ar,Ir,hi]);return ye.createElement(Lr.Provider,{value:ws},ye.createElement(Ft,(0,He.Z)({},Dn,{id:Ei,prefixCls:Gn,ref:Dt,omitDomProps:Yn,mode:bn,displayValues:Po,onDisplayValuesChange:Ao,direction:Jn,searchValue:Rr,onSearch:eo,autoClearSearchValue:rn,onSearchSplit:Bo,dropdownMatchSelectWidth:Tn,OptionList:Ln,emptyOptions:!lo.length,activeValue:oa,activeDescendantId:"".concat(Ei,"_list_").concat(ha)})))}),Pt=Zt;Pt.Option=Dr,Pt.OptGroup=er;var an=Pt,gn=an},9296:function(Nn,fn,We){"use strict";We.r(fn),We.d(fn,{ResizableTextArea:function(){return je},default:function(){return lt}});var He=We(96663),gt=We(44127),oe=We(90493),Ze=We(20135),Ne=We(72071),ge=We(6620),ce=We(19127),Ee=We(92310),Ae=We.n(Ee),ye=We(93681),De=We(5643),me=We(18929),xe=We(59301),fe=We(29301),z=We(34280),ee=We(16089),ae=`
min-height:0 !important;
max-height:none !important;
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
pointer-events: none !important;
`,re=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],le={},ue;function pe(ut){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,tt=ut.getAttribute("id")||ut.getAttribute("data-reactid")||ut.getAttribute("name");if(vt&&le[tt])return le[tt];var at=window.getComputedStyle(ut),dt=at.getPropertyValue("box-sizing")||at.getPropertyValue("-moz-box-sizing")||at.getPropertyValue("-webkit-box-sizing"),St=parseFloat(at.getPropertyValue("padding-bottom"))+parseFloat(at.getPropertyValue("padding-top")),xt=parseFloat(at.getPropertyValue("border-bottom-width"))+parseFloat(at.getPropertyValue("border-top-width")),ft=re.map(function(yt){return"".concat(yt,":").concat(at.getPropertyValue(yt))}).join(";"),pt={sizingStyle:ft,paddingSize:St,borderSize:xt,boxSizing:dt};return vt&&tt&&(le[tt]=pt),pt}function Pe(ut){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,at=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;ue||(ue=document.createElement("textarea"),ue.setAttribute("tab-index","-1"),ue.setAttribute("aria-hidden","true"),document.body.appendChild(ue)),ut.getAttribute("wrap")?ue.setAttribute("wrap",ut.getAttribute("wrap")):ue.removeAttribute("wrap");var dt=pe(ut,vt),St=dt.paddingSize,xt=dt.borderSize,ft=dt.boxSizing,pt=dt.sizingStyle;ue.setAttribute("style","".concat(pt,";").concat(ae)),ue.value=ut.value||ut.placeholder||"";var yt=void 0,Tt=void 0,At,Gt=ue.scrollHeight;if(ft==="border-box"?Gt+=xt:ft==="content-box"&&(Gt-=St),tt!==null||at!==null){ue.value=" ";var wt=ue.scrollHeight-St;tt!==null&&(yt=wt*tt,ft==="border-box"&&(yt=yt+St+xt),Gt=Math.max(yt,Gt)),at!==null&&(Tt=wt*at,ft==="border-box"&&(Tt=Tt+St+xt),At=Gt>Tt?"":"hidden",Gt=Math.min(Tt,Gt))}var bt={height:Gt,overflowY:At,resize:"none"};return yt&&(bt.minHeight=yt),Tt&&(bt.maxHeight=Tt),bt}var be=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Ie=0,Me=1,Oe=2,Te=xe.forwardRef(function(ut,vt){var tt=ut,at=tt.prefixCls,dt=tt.onPressEnter,St=tt.defaultValue,xt=tt.value,ft=tt.autoSize,pt=tt.onResize,yt=tt.className,Tt=tt.style,At=tt.disabled,Gt=tt.onChange,wt=tt.onInternalAutoSize,bt=(0,ge.Z)(tt,be),it=(0,me.Z)(St,{value:xt,postState:function(er){return er!=null?er:""}}),_e=(0,Ne.Z)(it,2),we=_e[0],Ce=_e[1],Ye=function(er){Ce(er.target.value),Gt==null||Gt(er)},Je=xe.useRef();xe.useImperativeHandle(vt,function(){return{textArea:Je.current}});var Le=xe.useMemo(function(){return ft&&(0,Ze.Z)(ft)==="object"?[ft.minRows,ft.maxRows]:[]},[ft]),Ge=(0,Ne.Z)(Le,2),Ke=Ge[0],Xe=Ge[1],Qe=!!ft,ht=function(){try{if(document.activeElement===Je.current){var er=Je.current,ur=er.selectionStart,Dr=er.selectionEnd,Mr=er.scrollTop;Je.current.setSelectionRange(ur,Dr),Je.current.scrollTop=Mr}}catch(Br){}},Et=xe.useState(Oe),mt=(0,Ne.Z)(Et,2),Ft=mt[0],Kt=mt[1],jt=xe.useState(),Wt=(0,Ne.Z)(jt,2),Vt=Wt[0],nn=Wt[1],Bt=function(){Kt(Ie)};(0,z.Z)(function(){Qe&&Bt()},[xt,Ke,Xe,Qe]),(0,z.Z)(function(){if(Ft===Ie)Kt(Me);else if(Ft===Me){var tr=Pe(Je.current,!1,Ke,Xe);Kt(Oe),nn(tr)}else ht()},[Ft]);var _t=xe.useRef(),en=function(){ee.Z.cancel(_t.current)},on=function(er){Ft===Oe&&(pt==null||pt(er),ft&&(en(),_t.current=(0,ee.Z)(function(){Bt()})))};xe.useEffect(function(){return en},[]);var xn=Qe?Vt:null,zn=(0,gt.Z)((0,gt.Z)({},Tt),xn);return(Ft===Ie||Ft===Me)&&(zn.overflowY="hidden",zn.overflowX="hidden"),xe.createElement(fe.Z,{onResize:on,disabled:!(ft||pt)},xe.createElement("textarea",(0,He.Z)({},bt,{ref:Je,style:zn,className:Ae()(at,yt,(0,oe.Z)({},"".concat(at,"-disabled"),At)),disabled:At,value:we,onChange:Ye})))}),je=Te,ze=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function $e(ut,vt){return(0,ce.Z)(ut||"").slice(0,vt).join("")}function Ue(ut,vt,tt,at){var dt=tt;return ut?dt=$e(tt,at):(0,ce.Z)(vt||"").length<tt.length&&(0,ce.Z)(tt||"").length>at&&(dt=vt),dt}var qe=xe.forwardRef(function(ut,vt){var tt,at=ut.defaultValue,dt=ut.value,St=ut.onFocus,xt=ut.onBlur,ft=ut.onChange,pt=ut.allowClear,yt=ut.maxLength,Tt=ut.onCompositionStart,At=ut.onCompositionEnd,Gt=ut.suffix,wt=ut.prefixCls,bt=wt===void 0?"rc-textarea":wt,it=ut.classes,_e=ut.showCount,we=ut.className,Ce=ut.style,Ye=ut.disabled,Je=ut.hidden,Le=ut.classNames,Ge=ut.styles,Ke=ut.onResize,Xe=(0,ge.Z)(ut,ze),Qe=(0,me.Z)(at,{value:dt,defaultValue:at}),ht=(0,Ne.Z)(Qe,2),Et=ht[0],mt=ht[1],Ft=(0,xe.useRef)(null),Kt=xe.useState(!1),jt=(0,Ne.Z)(Kt,2),Wt=jt[0],Vt=jt[1],nn=xe.useState(!1),Bt=(0,Ne.Z)(nn,2),_t=Bt[0],en=Bt[1],on=xe.useRef(),xn=xe.useRef(0),zn=xe.useState(null),tr=(0,Ne.Z)(zn,2),er=tr[0],ur=tr[1],Dr=function(){var Qt;(Qt=Ft.current)===null||Qt===void 0||Qt.textArea.focus()};(0,xe.useImperativeHandle)(vt,function(){return{resizableTextArea:Ft.current,focus:Dr,blur:function(){var Qt;(Qt=Ft.current)===null||Qt===void 0||Qt.textArea.blur()}}}),(0,xe.useEffect)(function(){Vt(function(Yn){return!Ye&&Yn})},[Ye]);var Mr=Number(yt)>0,Br=function(Qt){en(!0),on.current=Et,xn.current=Qt.currentTarget.selectionStart,Tt==null||Tt(Qt)},qr=function(Qt){en(!1);var Zt=Qt.currentTarget.value;if(Mr){var Pt,an=xn.current>=yt+1||xn.current===((Pt=on.current)===null||Pt===void 0?void 0:Pt.length);Zt=Ue(an,on.current,Zt,yt)}Zt!==Et&&(mt(Zt),(0,De.rJ)(Qt.currentTarget,Qt,ft,Zt)),At==null||At(Qt)},Qr=function(Qt){var Zt=Qt.target.value;if(!_t&&Mr){var Pt=Qt.target.selectionStart>=yt+1||Qt.target.selectionStart===Zt.length||!Qt.target.selectionStart;Zt=Ue(Pt,Et,Zt,yt)}mt(Zt),(0,De.rJ)(Qt.currentTarget,Qt,ft,Zt)},Lr=function(Qt){var Zt=Xe.onPressEnter,Pt=Xe.onKeyDown;Qt.key==="Enter"&&Zt&&Zt(Qt),Pt==null||Pt(Qt)},ei=function(Qt){Vt(!0),St==null||St(Qt)},Er=function(Qt){Vt(!1),xt==null||xt(Qt)},ot=function(Qt){var Zt;mt(""),Dr(),(0,De.rJ)((Zt=Ft.current)===null||Zt===void 0?void 0:Zt.textArea,Qt,ft)},xi=(0,De.D7)(Et);!_t&&Mr&&dt==null&&(xi=$e(xi,yt));var gi=Gt,Ln;if(_e){var hr=(0,ce.Z)(xi).length;(0,Ze.Z)(_e)==="object"?Ln=_e.formatter({value:xi,count:hr,maxLength:yt}):Ln="".concat(hr).concat(Mr?" / ".concat(yt):""),gi=xe.createElement(xe.Fragment,null,gi,xe.createElement("span",{className:Ae()("".concat(bt,"-data-count"),Le==null?void 0:Le.count),style:Ge==null?void 0:Ge.count},Ln))}var ar=function(Qt){var Zt;Ke==null||Ke(Qt),(Zt=Ft.current)!==null&&Zt!==void 0&&Zt.textArea.style.height&&ur(!0)},vr=!Xe.autoSize&&!_e&&!pt,Un=xe.createElement(ye.BaseInput,{value:xi,allowClear:pt,handleReset:ot,suffix:gi,prefixCls:bt,classes:{affixWrapper:Ae()(it==null?void 0:it.affixWrapper,(tt={},(0,oe.Z)(tt,"".concat(bt,"-show-count"),_e),(0,oe.Z)(tt,"".concat(bt,"-textarea-allow-clear"),pt),tt))},disabled:Ye,focused:Wt,className:we,style:(0,gt.Z)((0,gt.Z)({},Ce),er&&!vr?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Ln=="string"?Ln:void 0}},hidden:Je,inputElement:xe.createElement(je,(0,He.Z)({},Xe,{onKeyDown:Lr,onChange:Qr,onFocus:ei,onBlur:Er,onCompositionStart:Br,onCompositionEnd:qr,className:Le==null?void 0:Le.textarea,style:(0,gt.Z)((0,gt.Z)({},Ge==null?void 0:Ge.textarea),{},{resize:Ce==null?void 0:Ce.resize}),disabled:Ye,prefixCls:bt,onResize:ar,ref:Ft}))});return Un}),et=qe,lt=et},39417:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Me}});var He=We(96663),gt=We(90493),oe=We(6620),Ze=We(44127),Ne=We(52884),ge=We(95727),ce=We(89866),Ee=We(65711),Ae=We(85745),ye=We(92310),De=We.n(ye),me=We(26112),xe=We(59301),fe=We(39378),z=function(Te){for(var je=Te.prefixCls,ze=Te.level,$e=Te.isStart,Ue=Te.isEnd,qe="".concat(je,"-indent-unit"),et=[],lt=0;lt<ze;lt+=1){var ut;et.push(xe.createElement("span",{key:lt,className:De()(qe,(ut={},(0,gt.Z)(ut,"".concat(qe,"-start"),$e[lt]),(0,gt.Z)(ut,"".concat(qe,"-end"),Ue[lt]),ut))}))}return xe.createElement("span",{"aria-hidden":"true",className:"".concat(je,"-indent")},et)},ee=xe.memo(z),ae=We(67841),re=We(71430),le=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ue="open",pe="close",Pe="---",be=function(Oe){(0,Ee.Z)(je,Oe);var Te=(0,Ae.Z)(je);function je(){var ze;(0,Ne.Z)(this,je);for(var $e=arguments.length,Ue=new Array($e),qe=0;qe<$e;qe++)Ue[qe]=arguments[qe];return ze=Te.call.apply(Te,[this].concat(Ue)),ze.state={dragNodeHighlight:!1},ze.selectHandle=void 0,ze.cacheIndent=void 0,ze.onSelectorClick=function(et){var lt=ze.props.context.onNodeClick;lt(et,(0,re.F)(ze.props)),ze.isSelectable()?ze.onSelect(et):ze.onCheck(et)},ze.onSelectorDoubleClick=function(et){var lt=ze.props.context.onNodeDoubleClick;lt(et,(0,re.F)(ze.props))},ze.onSelect=function(et){if(!ze.isDisabled()){var lt=ze.props.context.onNodeSelect;lt(et,(0,re.F)(ze.props))}},ze.onCheck=function(et){if(!ze.isDisabled()){var lt=ze.props,ut=lt.disableCheckbox,vt=lt.checked,tt=ze.props.context.onNodeCheck;if(!(!ze.isCheckable()||ut)){var at=!vt;tt(et,(0,re.F)(ze.props),at)}}},ze.onMouseEnter=function(et){var lt=ze.props.context.onNodeMouseEnter;lt(et,(0,re.F)(ze.props))},ze.onMouseLeave=function(et){var lt=ze.props.context.onNodeMouseLeave;lt(et,(0,re.F)(ze.props))},ze.onContextMenu=function(et){var lt=ze.props.context.onNodeContextMenu;lt(et,(0,re.F)(ze.props))},ze.onDragStart=function(et){var lt=ze.props.context.onNodeDragStart;et.stopPropagation(),ze.setState({dragNodeHighlight:!0}),lt(et,(0,ce.Z)(ze));try{et.dataTransfer.setData("text/plain","")}catch(ut){}},ze.onDragEnter=function(et){var lt=ze.props.context.onNodeDragEnter;et.preventDefault(),et.stopPropagation(),lt(et,(0,ce.Z)(ze))},ze.onDragOver=function(et){var lt=ze.props.context.onNodeDragOver;et.preventDefault(),et.stopPropagation(),lt(et,(0,ce.Z)(ze))},ze.onDragLeave=function(et){var lt=ze.props.context.onNodeDragLeave;et.stopPropagation(),lt(et,(0,ce.Z)(ze))},ze.onDragEnd=function(et){var lt=ze.props.context.onNodeDragEnd;et.stopPropagation(),ze.setState({dragNodeHighlight:!1}),lt(et,(0,ce.Z)(ze))},ze.onDrop=function(et){var lt=ze.props.context.onNodeDrop;et.preventDefault(),et.stopPropagation(),ze.setState({dragNodeHighlight:!1}),lt(et,(0,ce.Z)(ze))},ze.onExpand=function(et){var lt=ze.props,ut=lt.loading,vt=lt.context.onNodeExpand;ut||vt(et,(0,re.F)(ze.props))},ze.setSelectHandle=function(et){ze.selectHandle=et},ze.getNodeState=function(){var et=ze.props.expanded;return ze.isLeaf()?null:et?ue:pe},ze.hasChildren=function(){var et=ze.props.eventKey,lt=ze.props.context.keyEntities,ut=(0,ae.Z)(lt,et)||{},vt=ut.children;return!!(vt||[]).length},ze.isLeaf=function(){var et=ze.props,lt=et.isLeaf,ut=et.loaded,vt=ze.props.context.loadData,tt=ze.hasChildren();return lt===!1?!1:lt||!vt&&!tt||vt&&ut&&!tt},ze.isDisabled=function(){var et=ze.props.disabled,lt=ze.props.context.disabled;return!!(lt||et)},ze.isCheckable=function(){var et=ze.props.checkable,lt=ze.props.context.checkable;return!lt||et===!1?!1:lt},ze.syncLoadData=function(et){var lt=et.expanded,ut=et.loading,vt=et.loaded,tt=ze.props.context,at=tt.loadData,dt=tt.onNodeLoad;ut||at&&lt&&!ze.isLeaf()&&!ze.hasChildren()&&!vt&&dt((0,re.F)(ze.props))},ze.isDraggable=function(){var et=ze.props,lt=et.data,ut=et.context.draggable;return!!(ut&&(!ut.nodeDraggable||ut.nodeDraggable(lt)))},ze.renderDragHandler=function(){var et=ze.props.context,lt=et.draggable,ut=et.prefixCls;return lt!=null&&lt.icon?xe.createElement("span",{className:"".concat(ut,"-draggable-icon")},lt.icon):null},ze.renderSwitcherIconDom=function(et){var lt=ze.props.switcherIcon,ut=ze.props.context.switcherIcon,vt=lt||ut;return typeof vt=="function"?vt((0,Ze.Z)((0,Ze.Z)({},ze.props),{},{isLeaf:et})):vt},ze.renderSwitcher=function(){var et=ze.props.expanded,lt=ze.props.context.prefixCls;if(ze.isLeaf()){var ut=ze.renderSwitcherIconDom(!0);return ut!==!1?xe.createElement("span",{className:De()("".concat(lt,"-switcher"),"".concat(lt,"-switcher-noop"))},ut):null}var vt=De()("".concat(lt,"-switcher"),"".concat(lt,"-switcher_").concat(et?ue:pe)),tt=ze.renderSwitcherIconDom(!1);return tt!==!1?xe.createElement("span",{onClick:ze.onExpand,className:vt},tt):null},ze.renderCheckbox=function(){var et=ze.props,lt=et.checked,ut=et.halfChecked,vt=et.disableCheckbox,tt=ze.props.context.prefixCls,at=ze.isDisabled(),dt=ze.isCheckable();if(!dt)return null;var St=typeof dt!="boolean"?dt:null;return xe.createElement("span",{className:De()("".concat(tt,"-checkbox"),lt&&"".concat(tt,"-checkbox-checked"),!lt&&ut&&"".concat(tt,"-checkbox-indeterminate"),(at||vt)&&"".concat(tt,"-checkbox-disabled")),onClick:ze.onCheck},St)},ze.renderIcon=function(){var et=ze.props.loading,lt=ze.props.context.prefixCls;return xe.createElement("span",{className:De()("".concat(lt,"-iconEle"),"".concat(lt,"-icon__").concat(ze.getNodeState()||"docu"),et&&"".concat(lt,"-icon_loading"))})},ze.renderSelector=function(){var et=ze.state.dragNodeHighlight,lt=ze.props,ut=lt.title,vt=ut===void 0?Pe:ut,tt=lt.selected,at=lt.icon,dt=lt.loading,St=lt.data,xt=ze.props.context,ft=xt.prefixCls,pt=xt.showIcon,yt=xt.icon,Tt=xt.loadData,At=xt.titleRender,Gt=ze.isDisabled(),wt="".concat(ft,"-node-content-wrapper"),bt;if(pt){var it=at||yt;bt=it?xe.createElement("span",{className:De()("".concat(ft,"-iconEle"),"".concat(ft,"-icon__customize"))},typeof it=="function"?it(ze.props):it):ze.renderIcon()}else Tt&&dt&&(bt=ze.renderIcon());var _e;typeof vt=="function"?_e=vt(St):At?_e=At(St):_e=vt;var we=xe.createElement("span",{className:"".concat(ft,"-title")},_e);return xe.createElement("span",{ref:ze.setSelectHandle,title:typeof vt=="string"?vt:"",className:De()("".concat(wt),"".concat(wt,"-").concat(ze.getNodeState()||"normal"),!Gt&&(tt||et)&&"".concat(ft,"-node-selected")),onMouseEnter:ze.onMouseEnter,onMouseLeave:ze.onMouseLeave,onContextMenu:ze.onContextMenu,onClick:ze.onSelectorClick,onDoubleClick:ze.onSelectorDoubleClick},bt,we,ze.renderDropIndicator())},ze.renderDropIndicator=function(){var et=ze.props,lt=et.disabled,ut=et.eventKey,vt=ze.props.context,tt=vt.draggable,at=vt.dropLevelOffset,dt=vt.dropPosition,St=vt.prefixCls,xt=vt.indent,ft=vt.dropIndicatorRender,pt=vt.dragOverNodeKey,yt=vt.direction,Tt=!!tt,At=!lt&&Tt&&pt===ut,Gt=xt!=null?xt:ze.cacheIndent;return ze.cacheIndent=xt,At?ft({dropPosition:dt,dropLevelOffset:at,indent:Gt,prefixCls:St,direction:yt}):null},ze}return(0,ge.Z)(je,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var $e=this.props.selectable,Ue=this.props.context.selectable;return typeof $e=="boolean"?$e:Ue}},{key:"render",value:function(){var $e,Ue=this.props,qe=Ue.eventKey,et=Ue.className,lt=Ue.style,ut=Ue.dragOver,vt=Ue.dragOverGapTop,tt=Ue.dragOverGapBottom,at=Ue.isLeaf,dt=Ue.isStart,St=Ue.isEnd,xt=Ue.expanded,ft=Ue.selected,pt=Ue.checked,yt=Ue.halfChecked,Tt=Ue.loading,At=Ue.domRef,Gt=Ue.active,wt=Ue.data,bt=Ue.onMouseMove,it=Ue.selectable,_e=(0,oe.Z)(Ue,le),we=this.props.context,Ce=we.prefixCls,Ye=we.filterTreeNode,Je=we.keyEntities,Le=we.dropContainerKey,Ge=we.dropTargetKey,Ke=we.draggingNodeKey,Xe=this.isDisabled(),Qe=(0,me.Z)(_e,{aria:!0,data:!0}),ht=(0,ae.Z)(Je,qe)||{},Et=ht.level,mt=St[St.length-1],Ft=this.isDraggable(),Kt=!Xe&&Ft,jt=Ke===qe,Wt=it!==void 0?{"aria-selected":!!it}:void 0;return xe.createElement("div",(0,He.Z)({ref:At,className:De()(et,"".concat(Ce,"-treenode"),($e={},(0,gt.Z)($e,"".concat(Ce,"-treenode-disabled"),Xe),(0,gt.Z)($e,"".concat(Ce,"-treenode-switcher-").concat(xt?"open":"close"),!at),(0,gt.Z)($e,"".concat(Ce,"-treenode-checkbox-checked"),pt),(0,gt.Z)($e,"".concat(Ce,"-treenode-checkbox-indeterminate"),yt),(0,gt.Z)($e,"".concat(Ce,"-treenode-selected"),ft),(0,gt.Z)($e,"".concat(Ce,"-treenode-loading"),Tt),(0,gt.Z)($e,"".concat(Ce,"-treenode-active"),Gt),(0,gt.Z)($e,"".concat(Ce,"-treenode-leaf-last"),mt),(0,gt.Z)($e,"".concat(Ce,"-treenode-draggable"),Ft),(0,gt.Z)($e,"dragging",jt),(0,gt.Z)($e,"drop-target",Ge===qe),(0,gt.Z)($e,"drop-container",Le===qe),(0,gt.Z)($e,"drag-over",!Xe&&ut),(0,gt.Z)($e,"drag-over-gap-top",!Xe&&vt),(0,gt.Z)($e,"drag-over-gap-bottom",!Xe&&tt),(0,gt.Z)($e,"filter-node",Ye&&Ye((0,re.F)(this.props))),$e)),style:lt,draggable:Kt,"aria-grabbed":jt,onDragStart:Kt?this.onDragStart:void 0,onDragEnter:Ft?this.onDragEnter:void 0,onDragOver:Ft?this.onDragOver:void 0,onDragLeave:Ft?this.onDragLeave:void 0,onDrop:Ft?this.onDrop:void 0,onDragEnd:Ft?this.onDragEnd:void 0,onMouseMove:bt},Wt,Qe),xe.createElement(ee,{prefixCls:Ce,level:Et,isStart:dt,isEnd:St}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),je}(xe.Component),Ie=function(Te){return xe.createElement(fe.k.Consumer,null,function(je){return xe.createElement(be,(0,He.Z)({},Te,{context:je}))})};Ie.displayName="TreeNode",Ie.isTreeNode=1;var Me=Ie},39378:function(Nn,fn,We){"use strict";We.d(fn,{k:function(){return gt}});var He=We(59301),gt=He.createContext(null)},43858:function(Nn,fn,We){"use strict";We.d(fn,{O:function(){return Me.Z},Z:function(){return we}});var He=We(96663),gt=We(90493),oe=We(20135),Ze=We(44127),Ne=We(19127),ge=We(52884),ce=We(95727),Ee=We(89866),Ae=We(65711),ye=We(85745),De=We(92310),me=We.n(De),xe=We(10228),fe=We(26112),z=We(48736),ee=We(59301),ae=We(39378);function re(Ce){var Ye=Ce.dropPosition,Je=Ce.dropLevelOffset,Le=Ce.indent,Ge={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Ye){case-1:Ge.top=0,Ge.left=-Je*Le;break;case 1:Ge.bottom=0,Ge.left=-Je*Le;break;case 0:Ge.bottom=0,Ge.left=Le;break}return ee.createElement("div",{style:Ge})}function le(Ce){if(Ce==null)throw new TypeError("Cannot destructure "+Ce)}var ue=We(72071),pe=We(6620),Pe=We(34280),be=We(24916),Ie=We(77900),Me=We(39417);function Oe(Ce,Ye){var Je=ee.useState(!1),Le=(0,ue.Z)(Je,2),Ge=Le[0],Ke=Le[1];ee.useLayoutEffect(function(){if(Ge)return Ce(),function(){Ye()}},[Ge]),ee.useLayoutEffect(function(){return Ke(!0),function(){Ke(!1)}},[])}var Te=We(71430),je=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],ze=function(Ye,Je){var Le=Ye.className,Ge=Ye.style,Ke=Ye.motion,Xe=Ye.motionNodes,Qe=Ye.motionType,ht=Ye.onMotionStart,Et=Ye.onMotionEnd,mt=Ye.active,Ft=Ye.treeNodeRequiredProps,Kt=(0,pe.Z)(Ye,je),jt=ee.useState(!0),Wt=(0,ue.Z)(jt,2),Vt=Wt[0],nn=Wt[1],Bt=ee.useContext(ae.k),_t=Bt.prefixCls,en=Xe&&Qe!=="hide";(0,Pe.Z)(function(){Xe&&en!==Vt&&nn(en)},[Xe]);var on=function(){Xe&&ht()},xn=ee.useRef(!1),zn=function(){Xe&&!xn.current&&(xn.current=!0,Et())};Oe(on,zn);var tr=function(ur){en===ur&&zn()};return Xe?ee.createElement(Ie.default,(0,He.Z)({ref:Je,visible:Vt},Ke,{motionAppear:Qe==="show",onVisibleChanged:tr}),function(er,ur){var Dr=er.className,Mr=er.style;return ee.createElement("div",{ref:ur,className:me()("".concat(_t,"-treenode-motion"),Dr),style:Mr},Xe.map(function(Br){var qr=(0,He.Z)({},(le(Br.data),Br.data)),Qr=Br.title,Lr=Br.key,ei=Br.isStart,Er=Br.isEnd;delete qr.children;var ot=(0,Te.H8)(Lr,Ft);return ee.createElement(Me.Z,(0,He.Z)({},qr,ot,{title:Qr,active:mt,data:Br.data,key:Lr,isStart:ei,isEnd:Er}))}))}):ee.createElement(Me.Z,(0,He.Z)({domRef:Je,className:Le,style:Ge},Kt,{active:mt}))};ze.displayName="MotionTreeNode";var $e=ee.forwardRef(ze),Ue=$e;function qe(){var Ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Je=Ce.length,Le=Ye.length;if(Math.abs(Je-Le)!==1)return{add:!1,key:null};function Ge(Ke,Xe){var Qe=new Map;Ke.forEach(function(Et){Qe.set(Et,!0)});var ht=Xe.filter(function(Et){return!Qe.has(Et)});return ht.length===1?ht[0]:null}return Je<Le?{add:!0,key:Ge(Ce,Ye)}:{add:!1,key:Ge(Ye,Ce)}}function et(Ce,Ye,Je){var Le=Ce.findIndex(function(Qe){return Qe.key===Je}),Ge=Ce[Le+1],Ke=Ye.findIndex(function(Qe){return Qe.key===Je});if(Ge){var Xe=Ye.findIndex(function(Qe){return Qe.key===Ge.key});return Ye.slice(Ke+1,Xe)}return Ye.slice(Ke+1)}var lt=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],ut={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},vt=function(){},tt="RC_TREE_MOTION_".concat(Math.random()),at={key:tt},dt={key:tt,level:0,index:0,pos:"0",node:at,nodes:[at]},St={parent:null,children:[],pos:dt.pos,data:at,title:null,key:tt,isStart:[],isEnd:[]};function xt(Ce,Ye,Je,Le){return Ye===!1||!Je?Ce:Ce.slice(0,Math.ceil(Je/Le)+1)}function ft(Ce){var Ye=Ce.key,Je=Ce.pos;return(0,Te.km)(Ye,Je)}function pt(Ce){for(var Ye=String(Ce.data.key),Je=Ce;Je.parent;)Je=Je.parent,Ye="".concat(Je.data.key," > ").concat(Ye);return Ye}var yt=ee.forwardRef(function(Ce,Ye){var Je=Ce.prefixCls,Le=Ce.data,Ge=Ce.selectable,Ke=Ce.checkable,Xe=Ce.expandedKeys,Qe=Ce.selectedKeys,ht=Ce.checkedKeys,Et=Ce.loadedKeys,mt=Ce.loadingKeys,Ft=Ce.halfCheckedKeys,Kt=Ce.keyEntities,jt=Ce.disabled,Wt=Ce.dragging,Vt=Ce.dragOverNodeKey,nn=Ce.dropPosition,Bt=Ce.motion,_t=Ce.height,en=Ce.itemHeight,on=Ce.virtual,xn=Ce.focusable,zn=Ce.activeItem,tr=Ce.focused,er=Ce.tabIndex,ur=Ce.onKeyDown,Dr=Ce.onFocus,Mr=Ce.onBlur,Br=Ce.onActiveChange,qr=Ce.onListChangeStart,Qr=Ce.onListChangeEnd,Lr=(0,pe.Z)(Ce,lt),ei=ee.useRef(null),Er=ee.useRef(null);ee.useImperativeHandle(Ye,function(){return{scrollTo:function(Cn){ei.current.scrollTo(Cn)},getIndentWidth:function(){return Er.current.offsetWidth}}});var ot=ee.useState(Xe),xi=(0,ue.Z)(ot,2),gi=xi[0],Ln=xi[1],hr=ee.useState(Le),ar=(0,ue.Z)(hr,2),vr=ar[0],Un=ar[1],Yn=ee.useState(Le),Qt=(0,ue.Z)(Yn,2),Zt=Qt[0],Pt=Qt[1],an=ee.useState([]),gn=(0,ue.Z)(an,2),Xt=gn[0],Dt=gn[1],cn=ee.useState(null),bn=(0,ue.Z)(cn,2),kn=bn[0],Gn=bn[1],Ht=ee.useRef(Le);Ht.current=Le;function An(){var sn=Ht.current;Un(sn),Pt(sn),Dt([]),Gn(null),Qr()}(0,Pe.Z)(function(){Ln(Xe);var sn=qe(gi,Xe);if(sn.key!==null)if(sn.add){var Cn=vr.findIndex(function(Fn){var jn=Fn.key;return jn===sn.key}),rn=xt(et(vr,Le,sn.key),on,_t,en),Sn=vr.slice();Sn.splice(Cn+1,0,St),Pt(Sn),Dt(rn),Gn("show")}else{var vn=Le.findIndex(function(Fn){var jn=Fn.key;return jn===sn.key}),yn=xt(et(Le,vr,sn.key),on,_t,en),Tn=Le.slice();Tn.splice(vn+1,0,St),Pt(Tn),Dt(yn),Gn("hide")}else vr!==Le&&(Un(Le),Pt(Le))},[Xe,Le]),ee.useEffect(function(){Wt||An()},[Wt]);var Kn=Bt?Zt:Le,ir={expandedKeys:Xe,selectedKeys:Qe,loadedKeys:Et,loadingKeys:mt,checkedKeys:ht,halfCheckedKeys:Ft,dragOverNodeKey:Vt,dropPosition:nn,keyEntities:Kt};return ee.createElement(ee.Fragment,null,tr&&zn&&ee.createElement("span",{style:ut,"aria-live":"assertive"},pt(zn)),ee.createElement("div",null,ee.createElement("input",{style:ut,disabled:xn===!1||jt,tabIndex:xn!==!1?er:null,onKeyDown:ur,onFocus:Dr,onBlur:Mr,value:"",onChange:vt,"aria-label":"for screen reader"})),ee.createElement("div",{className:"".concat(Je,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},ee.createElement("div",{className:"".concat(Je,"-indent")},ee.createElement("div",{ref:Er,className:"".concat(Je,"-indent-unit")}))),ee.createElement(be.Z,(0,He.Z)({},Lr,{data:Kn,itemKey:ft,height:_t,fullHeight:!1,virtual:on,itemHeight:en,prefixCls:"".concat(Je,"-list"),ref:ei,onVisibleChange:function(Cn,rn){var Sn=new Set(Cn),vn=rn.filter(function(yn){return!Sn.has(yn)});vn.some(function(yn){return ft(yn)===tt})&&An()}}),function(sn){var Cn=sn.pos,rn=(0,He.Z)({},(le(sn.data),sn.data)),Sn=sn.title,vn=sn.key,yn=sn.isStart,Tn=sn.isEnd,Fn=(0,Te.km)(vn,Cn);delete rn.key,delete rn.children;var jn=(0,Te.H8)(Fn,ir);return ee.createElement(Ue,(0,He.Z)({},rn,jn,{title:Sn,active:!!zn&&vn===zn.key,pos:Cn,data:sn.data,isStart:yn,isEnd:Tn,motion:Bt,motionNodes:vn===tt?Xt:null,motionType:kn,onMotionStart:qr,onMotionEnd:An,treeNodeRequiredProps:ir,onMouseMove:function(){Br(null)}}))}))});yt.displayName="NodeList";var Tt=yt,At=We(35654),Gt=We(90782),wt=We(67841),bt=10,it=function(Ce){(0,Ae.Z)(Je,Ce);var Ye=(0,ye.Z)(Je);function Je(){var Le;(0,ge.Z)(this,Je);for(var Ge=arguments.length,Ke=new Array(Ge),Xe=0;Xe<Ge;Xe++)Ke[Xe]=arguments[Xe];return Le=Ye.call.apply(Ye,[this].concat(Ke)),Le.destroyed=!1,Le.delayedDragEnterLogic=void 0,Le.loadingRetryTimes={},Le.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,Te.w$)()},Le.dragStartMousePosition=null,Le.dragNode=void 0,Le.currentMouseOverDroppableNodeKey=null,Le.listRef=ee.createRef(),Le.onNodeDragStart=function(Qe,ht){var Et=Le.state,mt=Et.expandedKeys,Ft=Et.keyEntities,Kt=Le.props.onDragStart,jt=ht.props.eventKey;Le.dragNode=ht,Le.dragStartMousePosition={x:Qe.clientX,y:Qe.clientY};var Wt=(0,At._5)(mt,jt);Le.setState({draggingNodeKey:jt,dragChildrenKeys:(0,At.wA)(jt,Ft),indent:Le.listRef.current.getIndentWidth()}),Le.setExpandedKeys(Wt),window.addEventListener("dragend",Le.onWindowDragEnd),Kt==null||Kt({event:Qe,node:(0,Te.F)(ht.props)})},Le.onNodeDragEnter=function(Qe,ht){var Et=Le.state,mt=Et.expandedKeys,Ft=Et.keyEntities,Kt=Et.dragChildrenKeys,jt=Et.flattenNodes,Wt=Et.indent,Vt=Le.props,nn=Vt.onDragEnter,Bt=Vt.onExpand,_t=Vt.allowDrop,en=Vt.direction,on=ht.props,xn=on.pos,zn=on.eventKey,tr=(0,Ee.Z)(Le),er=tr.dragNode;if(Le.currentMouseOverDroppableNodeKey!==zn&&(Le.currentMouseOverDroppableNodeKey=zn),!er){Le.resetDragState();return}var ur=(0,At.OM)(Qe,er,ht,Wt,Le.dragStartMousePosition,_t,jt,Ft,mt,en),Dr=ur.dropPosition,Mr=ur.dropLevelOffset,Br=ur.dropTargetKey,qr=ur.dropContainerKey,Qr=ur.dropTargetPos,Lr=ur.dropAllowed,ei=ur.dragOverNodeKey;if(Kt.indexOf(Br)!==-1||!Lr){Le.resetDragState();return}if(Le.delayedDragEnterLogic||(Le.delayedDragEnterLogic={}),Object.keys(Le.delayedDragEnterLogic).forEach(function(Er){clearTimeout(Le.delayedDragEnterLogic[Er])}),er.props.eventKey!==ht.props.eventKey&&(Qe.persist(),Le.delayedDragEnterLogic[xn]=window.setTimeout(function(){if(Le.state.draggingNodeKey!==null){var Er=(0,Ne.Z)(mt),ot=(0,wt.Z)(Ft,ht.props.eventKey);ot&&(ot.children||[]).length&&(Er=(0,At.L0)(mt,ht.props.eventKey)),"expandedKeys"in Le.props||Le.setExpandedKeys(Er),Bt==null||Bt(Er,{node:(0,Te.F)(ht.props),expanded:!0,nativeEvent:Qe.nativeEvent})}},800)),er.props.eventKey===Br&&Mr===0){Le.resetDragState();return}Le.setState({dragOverNodeKey:ei,dropPosition:Dr,dropLevelOffset:Mr,dropTargetKey:Br,dropContainerKey:qr,dropTargetPos:Qr,dropAllowed:Lr}),nn==null||nn({event:Qe,node:(0,Te.F)(ht.props),expandedKeys:mt})},Le.onNodeDragOver=function(Qe,ht){var Et=Le.state,mt=Et.dragChildrenKeys,Ft=Et.flattenNodes,Kt=Et.keyEntities,jt=Et.expandedKeys,Wt=Et.indent,Vt=Le.props,nn=Vt.onDragOver,Bt=Vt.allowDrop,_t=Vt.direction,en=(0,Ee.Z)(Le),on=en.dragNode;if(on){var xn=(0,At.OM)(Qe,on,ht,Wt,Le.dragStartMousePosition,Bt,Ft,Kt,jt,_t),zn=xn.dropPosition,tr=xn.dropLevelOffset,er=xn.dropTargetKey,ur=xn.dropContainerKey,Dr=xn.dropAllowed,Mr=xn.dropTargetPos,Br=xn.dragOverNodeKey;mt.indexOf(er)!==-1||!Dr||(on.props.eventKey===er&&tr===0?Le.state.dropPosition===null&&Le.state.dropLevelOffset===null&&Le.state.dropTargetKey===null&&Le.state.dropContainerKey===null&&Le.state.dropTargetPos===null&&Le.state.dropAllowed===!1&&Le.state.dragOverNodeKey===null||Le.resetDragState():zn===Le.state.dropPosition&&tr===Le.state.dropLevelOffset&&er===Le.state.dropTargetKey&&ur===Le.state.dropContainerKey&&Mr===Le.state.dropTargetPos&&Dr===Le.state.dropAllowed&&Br===Le.state.dragOverNodeKey||Le.setState({dropPosition:zn,dropLevelOffset:tr,dropTargetKey:er,dropContainerKey:ur,dropTargetPos:Mr,dropAllowed:Dr,dragOverNodeKey:Br}),nn==null||nn({event:Qe,node:(0,Te.F)(ht.props)}))}},Le.onNodeDragLeave=function(Qe,ht){Le.currentMouseOverDroppableNodeKey===ht.props.eventKey&&!Qe.currentTarget.contains(Qe.relatedTarget)&&(Le.resetDragState(),Le.currentMouseOverDroppableNodeKey=null);var Et=Le.props.onDragLeave;Et==null||Et({event:Qe,node:(0,Te.F)(ht.props)})},Le.onWindowDragEnd=function(Qe){Le.onNodeDragEnd(Qe,null,!0),window.removeEventListener("dragend",Le.onWindowDragEnd)},Le.onNodeDragEnd=function(Qe,ht){var Et=Le.props.onDragEnd;Le.setState({dragOverNodeKey:null}),Le.cleanDragState(),Et==null||Et({event:Qe,node:(0,Te.F)(ht.props)}),Le.dragNode=null,window.removeEventListener("dragend",Le.onWindowDragEnd)},Le.onNodeDrop=function(Qe,ht){var Et,mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ft=Le.state,Kt=Ft.dragChildrenKeys,jt=Ft.dropPosition,Wt=Ft.dropTargetKey,Vt=Ft.dropTargetPos,nn=Ft.dropAllowed;if(nn){var Bt=Le.props.onDrop;if(Le.setState({dragOverNodeKey:null}),Le.cleanDragState(),Wt!==null){var _t=(0,Ze.Z)((0,Ze.Z)({},(0,Te.H8)(Wt,Le.getTreeNodeRequiredProps())),{},{active:((Et=Le.getActiveItem())===null||Et===void 0?void 0:Et.key)===Wt,data:(0,wt.Z)(Le.state.keyEntities,Wt).node}),en=Kt.indexOf(Wt)!==-1;(0,z.ZP)(!en,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var on=(0,At.yx)(Vt),xn={event:Qe,node:(0,Te.F)(_t),dragNode:Le.dragNode?(0,Te.F)(Le.dragNode.props):null,dragNodesKeys:[Le.dragNode.props.eventKey].concat(Kt),dropToGap:jt!==0,dropPosition:jt+Number(on[on.length-1])};mt||Bt==null||Bt(xn),Le.dragNode=null}}},Le.cleanDragState=function(){var Qe=Le.state.draggingNodeKey;Qe!==null&&Le.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Le.dragStartMousePosition=null,Le.currentMouseOverDroppableNodeKey=null},Le.triggerExpandActionExpand=function(Qe,ht){var Et=Le.state,mt=Et.expandedKeys,Ft=Et.flattenNodes,Kt=ht.expanded,jt=ht.key,Wt=ht.isLeaf;if(!(Wt||Qe.shiftKey||Qe.metaKey||Qe.ctrlKey)){var Vt=Ft.filter(function(Bt){return Bt.key===jt})[0],nn=(0,Te.F)((0,Ze.Z)((0,Ze.Z)({},(0,Te.H8)(jt,Le.getTreeNodeRequiredProps())),{},{data:Vt.data}));Le.setExpandedKeys(Kt?(0,At._5)(mt,jt):(0,At.L0)(mt,jt)),Le.onNodeExpand(Qe,nn)}},Le.onNodeClick=function(Qe,ht){var Et=Le.props,mt=Et.onClick,Ft=Et.expandAction;Ft==="click"&&Le.triggerExpandActionExpand(Qe,ht),mt==null||mt(Qe,ht)},Le.onNodeDoubleClick=function(Qe,ht){var Et=Le.props,mt=Et.onDoubleClick,Ft=Et.expandAction;Ft==="doubleClick"&&Le.triggerExpandActionExpand(Qe,ht),mt==null||mt(Qe,ht)},Le.onNodeSelect=function(Qe,ht){var Et=Le.state.selectedKeys,mt=Le.state,Ft=mt.keyEntities,Kt=mt.fieldNames,jt=Le.props,Wt=jt.onSelect,Vt=jt.multiple,nn=ht.selected,Bt=ht[Kt.key],_t=!nn;_t?Vt?Et=(0,At.L0)(Et,Bt):Et=[Bt]:Et=(0,At._5)(Et,Bt);var en=Et.map(function(on){var xn=(0,wt.Z)(Ft,on);return xn?xn.node:null}).filter(function(on){return on});Le.setUncontrolledState({selectedKeys:Et}),Wt==null||Wt(Et,{event:"select",selected:_t,node:ht,selectedNodes:en,nativeEvent:Qe.nativeEvent})},Le.onNodeCheck=function(Qe,ht,Et){var mt=Le.state,Ft=mt.keyEntities,Kt=mt.checkedKeys,jt=mt.halfCheckedKeys,Wt=Le.props,Vt=Wt.checkStrictly,nn=Wt.onCheck,Bt=ht.key,_t,en={event:"check",node:ht,checked:Et,nativeEvent:Qe.nativeEvent};if(Vt){var on=Et?(0,At.L0)(Kt,Bt):(0,At._5)(Kt,Bt),xn=(0,At._5)(jt,Bt);_t={checked:on,halfChecked:xn},en.checkedNodes=on.map(function(Mr){return(0,wt.Z)(Ft,Mr)}).filter(function(Mr){return Mr}).map(function(Mr){return Mr.node}),Le.setUncontrolledState({checkedKeys:on})}else{var zn=(0,Gt.S)([].concat((0,Ne.Z)(Kt),[Bt]),!0,Ft),tr=zn.checkedKeys,er=zn.halfCheckedKeys;if(!Et){var ur=new Set(tr);ur.delete(Bt);var Dr=(0,Gt.S)(Array.from(ur),{checked:!1,halfCheckedKeys:er},Ft);tr=Dr.checkedKeys,er=Dr.halfCheckedKeys}_t=tr,en.checkedNodes=[],en.checkedNodesPositions=[],en.halfCheckedKeys=er,tr.forEach(function(Mr){var Br=(0,wt.Z)(Ft,Mr);if(Br){var qr=Br.node,Qr=Br.pos;en.checkedNodes.push(qr),en.checkedNodesPositions.push({node:qr,pos:Qr})}}),Le.setUncontrolledState({checkedKeys:tr},!1,{halfCheckedKeys:er})}nn==null||nn(_t,en)},Le.onNodeLoad=function(Qe){var ht=Qe.key,Et=new Promise(function(mt,Ft){Le.setState(function(Kt){var jt=Kt.loadedKeys,Wt=jt===void 0?[]:jt,Vt=Kt.loadingKeys,nn=Vt===void 0?[]:Vt,Bt=Le.props,_t=Bt.loadData,en=Bt.onLoad;if(!_t||Wt.indexOf(ht)!==-1||nn.indexOf(ht)!==-1)return null;var on=_t(Qe);return on.then(function(){var xn=Le.state.loadedKeys,zn=(0,At.L0)(xn,ht);en==null||en(zn,{event:"load",node:Qe}),Le.setUncontrolledState({loadedKeys:zn}),Le.setState(function(tr){return{loadingKeys:(0,At._5)(tr.loadingKeys,ht)}}),mt()}).catch(function(xn){if(Le.setState(function(tr){return{loadingKeys:(0,At._5)(tr.loadingKeys,ht)}}),Le.loadingRetryTimes[ht]=(Le.loadingRetryTimes[ht]||0)+1,Le.loadingRetryTimes[ht]>=bt){var zn=Le.state.loadedKeys;(0,z.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Le.setUncontrolledState({loadedKeys:(0,At.L0)(zn,ht)}),mt()}Ft(xn)}),{loadingKeys:(0,At.L0)(nn,ht)}})});return Et.catch(function(){}),Et},Le.onNodeMouseEnter=function(Qe,ht){var Et=Le.props.onMouseEnter;Et==null||Et({event:Qe,node:ht})},Le.onNodeMouseLeave=function(Qe,ht){var Et=Le.props.onMouseLeave;Et==null||Et({event:Qe,node:ht})},Le.onNodeContextMenu=function(Qe,ht){var Et=Le.props.onRightClick;Et&&(Qe.preventDefault(),Et({event:Qe,node:ht}))},Le.onFocus=function(){var Qe=Le.props.onFocus;Le.setState({focused:!0});for(var ht=arguments.length,Et=new Array(ht),mt=0;mt<ht;mt++)Et[mt]=arguments[mt];Qe==null||Qe.apply(void 0,Et)},Le.onBlur=function(){var Qe=Le.props.onBlur;Le.setState({focused:!1}),Le.onActiveChange(null);for(var ht=arguments.length,Et=new Array(ht),mt=0;mt<ht;mt++)Et[mt]=arguments[mt];Qe==null||Qe.apply(void 0,Et)},Le.getTreeNodeRequiredProps=function(){var Qe=Le.state,ht=Qe.expandedKeys,Et=Qe.selectedKeys,mt=Qe.loadedKeys,Ft=Qe.loadingKeys,Kt=Qe.checkedKeys,jt=Qe.halfCheckedKeys,Wt=Qe.dragOverNodeKey,Vt=Qe.dropPosition,nn=Qe.keyEntities;return{expandedKeys:ht||[],selectedKeys:Et||[],loadedKeys:mt||[],loadingKeys:Ft||[],checkedKeys:Kt||[],halfCheckedKeys:jt||[],dragOverNodeKey:Wt,dropPosition:Vt,keyEntities:nn}},Le.setExpandedKeys=function(Qe){var ht=Le.state,Et=ht.treeData,mt=ht.fieldNames,Ft=(0,Te.oH)(Et,Qe,mt);Le.setUncontrolledState({expandedKeys:Qe,flattenNodes:Ft},!0)},Le.onNodeExpand=function(Qe,ht){var Et=Le.state.expandedKeys,mt=Le.state,Ft=mt.listChanging,Kt=mt.fieldNames,jt=Le.props,Wt=jt.onExpand,Vt=jt.loadData,nn=ht.expanded,Bt=ht[Kt.key];if(!Ft){var _t=Et.indexOf(Bt),en=!nn;if((0,z.ZP)(nn&&_t!==-1||!nn&&_t===-1,"Expand state not sync with index check"),en?Et=(0,At.L0)(Et,Bt):Et=(0,At._5)(Et,Bt),Le.setExpandedKeys(Et),Wt==null||Wt(Et,{node:ht,expanded:en,nativeEvent:Qe.nativeEvent}),en&&Vt){var on=Le.onNodeLoad(ht);on&&on.then(function(){var xn=(0,Te.oH)(Le.state.treeData,Et,Kt);Le.setUncontrolledState({flattenNodes:xn})}).catch(function(){var xn=Le.state.expandedKeys,zn=(0,At._5)(xn,Bt);Le.setExpandedKeys(zn)})}}},Le.onListChangeStart=function(){Le.setUncontrolledState({listChanging:!0})},Le.onListChangeEnd=function(){setTimeout(function(){Le.setUncontrolledState({listChanging:!1})})},Le.onActiveChange=function(Qe){var ht=Le.state.activeKey,Et=Le.props.onActiveChange;ht!==Qe&&(Le.setState({activeKey:Qe}),Qe!==null&&Le.scrollTo({key:Qe}),Et==null||Et(Qe))},Le.getActiveItem=function(){var Qe=Le.state,ht=Qe.activeKey,Et=Qe.flattenNodes;return ht===null?null:Et.find(function(mt){var Ft=mt.key;return Ft===ht})||null},Le.offsetActiveKey=function(Qe){var ht=Le.state,Et=ht.flattenNodes,mt=ht.activeKey,Ft=Et.findIndex(function(Wt){var Vt=Wt.key;return Vt===mt});Ft===-1&&Qe<0&&(Ft=Et.length),Ft=(Ft+Qe+Et.length)%Et.length;var Kt=Et[Ft];if(Kt){var jt=Kt.key;Le.onActiveChange(jt)}else Le.onActiveChange(null)},Le.onKeyDown=function(Qe){var ht=Le.state,Et=ht.activeKey,mt=ht.expandedKeys,Ft=ht.checkedKeys,Kt=ht.fieldNames,jt=Le.props,Wt=jt.onKeyDown,Vt=jt.checkable,nn=jt.selectable;switch(Qe.which){case xe.Z.UP:{Le.offsetActiveKey(-1),Qe.preventDefault();break}case xe.Z.DOWN:{Le.offsetActiveKey(1),Qe.preventDefault();break}}var Bt=Le.getActiveItem();if(Bt&&Bt.data){var _t=Le.getTreeNodeRequiredProps(),en=Bt.data.isLeaf===!1||!!(Bt.data[Kt.children]||[]).length,on=(0,Te.F)((0,Ze.Z)((0,Ze.Z)({},(0,Te.H8)(Et,_t)),{},{data:Bt.data,active:!0}));switch(Qe.which){case xe.Z.LEFT:{en&&mt.includes(Et)?Le.onNodeExpand({},on):Bt.parent&&Le.onActiveChange(Bt.parent.key),Qe.preventDefault();break}case xe.Z.RIGHT:{en&&!mt.includes(Et)?Le.onNodeExpand({},on):Bt.children&&Bt.children.length&&Le.onActiveChange(Bt.children[0].key),Qe.preventDefault();break}case xe.Z.ENTER:case xe.Z.SPACE:{Vt&&!on.disabled&&on.checkable!==!1&&!on.disableCheckbox?Le.onNodeCheck({},on,!Ft.includes(Et)):!Vt&&nn&&!on.disabled&&on.selectable!==!1&&Le.onNodeSelect({},on);break}}}Wt==null||Wt(Qe)},Le.setUncontrolledState=function(Qe){var ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Le.destroyed){var mt=!1,Ft=!0,Kt={};Object.keys(Qe).forEach(function(jt){if(jt in Le.props){Ft=!1;return}mt=!0,Kt[jt]=Qe[jt]}),mt&&(!ht||Ft)&&Le.setState((0,Ze.Z)((0,Ze.Z)({},Kt),Et))}},Le.scrollTo=function(Qe){Le.listRef.current.scrollTo(Qe)},Le}return(0,ce.Z)(Je,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Ge=this.props.activeKey;Ge!==void 0&&Ge!==this.state.activeKey&&(this.setState({activeKey:Ge}),Ge!==null&&this.scrollTo({key:Ge}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var Ge,Ke=this.state,Xe=Ke.focused,Qe=Ke.flattenNodes,ht=Ke.keyEntities,Et=Ke.draggingNodeKey,mt=Ke.activeKey,Ft=Ke.dropLevelOffset,Kt=Ke.dropContainerKey,jt=Ke.dropTargetKey,Wt=Ke.dropPosition,Vt=Ke.dragOverNodeKey,nn=Ke.indent,Bt=this.props,_t=Bt.prefixCls,en=Bt.className,on=Bt.style,xn=Bt.showLine,zn=Bt.focusable,tr=Bt.tabIndex,er=tr===void 0?0:tr,ur=Bt.selectable,Dr=Bt.showIcon,Mr=Bt.icon,Br=Bt.switcherIcon,qr=Bt.draggable,Qr=Bt.checkable,Lr=Bt.checkStrictly,ei=Bt.disabled,Er=Bt.motion,ot=Bt.loadData,xi=Bt.filterTreeNode,gi=Bt.height,Ln=Bt.itemHeight,hr=Bt.virtual,ar=Bt.titleRender,vr=Bt.dropIndicatorRender,Un=Bt.onContextMenu,Yn=Bt.onScroll,Qt=Bt.direction,Zt=Bt.rootClassName,Pt=Bt.rootStyle,an=(0,fe.Z)(this.props,{aria:!0,data:!0}),gn;return qr&&((0,oe.Z)(qr)==="object"?gn=qr:typeof qr=="function"?gn={nodeDraggable:qr}:gn={}),ee.createElement(ae.k.Provider,{value:{prefixCls:_t,selectable:ur,showIcon:Dr,icon:Mr,switcherIcon:Br,draggable:gn,draggingNodeKey:Et,checkable:Qr,checkStrictly:Lr,disabled:ei,keyEntities:ht,dropLevelOffset:Ft,dropContainerKey:Kt,dropTargetKey:jt,dropPosition:Wt,dragOverNodeKey:Vt,indent:nn,direction:Qt,dropIndicatorRender:vr,loadData:ot,filterTreeNode:xi,titleRender:ar,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},ee.createElement("div",{role:"tree",className:me()(_t,en,Zt,(Ge={},(0,gt.Z)(Ge,"".concat(_t,"-show-line"),xn),(0,gt.Z)(Ge,"".concat(_t,"-focused"),Xe),(0,gt.Z)(Ge,"".concat(_t,"-active-focused"),mt!==null),Ge)),style:Pt},ee.createElement(Tt,(0,He.Z)({ref:this.listRef,prefixCls:_t,style:on,data:Qe,disabled:ei,selectable:ur,checkable:!!Qr,motion:Er,dragging:Et!==null,height:gi,itemHeight:Ln,virtual:hr,focusable:zn,focused:Xe,tabIndex:er,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Un,onScroll:Yn},this.getTreeNodeRequiredProps(),an))))}}],[{key:"getDerivedStateFromProps",value:function(Ge,Ke){var Xe=Ke.prevProps,Qe={prevProps:Ge};function ht(zn){return!Xe&&zn in Ge||Xe&&Xe[zn]!==Ge[zn]}var Et,mt=Ke.fieldNames;if(ht("fieldNames")&&(mt=(0,Te.w$)(Ge.fieldNames),Qe.fieldNames=mt),ht("treeData")?Et=Ge.treeData:ht("children")&&((0,z.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Et=(0,Te.zn)(Ge.children)),Et){Qe.treeData=Et;var Ft=(0,Te.I8)(Et,{fieldNames:mt});Qe.keyEntities=(0,Ze.Z)((0,gt.Z)({},tt,dt),Ft.keyEntities)}var Kt=Qe.keyEntities||Ke.keyEntities;if(ht("expandedKeys")||Xe&&ht("autoExpandParent"))Qe.expandedKeys=Ge.autoExpandParent||!Xe&&Ge.defaultExpandParent?(0,At.r7)(Ge.expandedKeys,Kt):Ge.expandedKeys;else if(!Xe&&Ge.defaultExpandAll){var jt=(0,Ze.Z)({},Kt);delete jt[tt],Qe.expandedKeys=Object.keys(jt).map(function(zn){return jt[zn].key})}else!Xe&&Ge.defaultExpandedKeys&&(Qe.expandedKeys=Ge.autoExpandParent||Ge.defaultExpandParent?(0,At.r7)(Ge.defaultExpandedKeys,Kt):Ge.defaultExpandedKeys);if(Qe.expandedKeys||delete Qe.expandedKeys,Et||Qe.expandedKeys){var Wt=(0,Te.oH)(Et||Ke.treeData,Qe.expandedKeys||Ke.expandedKeys,mt);Qe.flattenNodes=Wt}if(Ge.selectable&&(ht("selectedKeys")?Qe.selectedKeys=(0,At.BT)(Ge.selectedKeys,Ge):!Xe&&Ge.defaultSelectedKeys&&(Qe.selectedKeys=(0,At.BT)(Ge.defaultSelectedKeys,Ge))),Ge.checkable){var Vt;if(ht("checkedKeys")?Vt=(0,At.E6)(Ge.checkedKeys)||{}:!Xe&&Ge.defaultCheckedKeys?Vt=(0,At.E6)(Ge.defaultCheckedKeys)||{}:Et&&(Vt=(0,At.E6)(Ge.checkedKeys)||{checkedKeys:Ke.checkedKeys,halfCheckedKeys:Ke.halfCheckedKeys}),Vt){var nn=Vt,Bt=nn.checkedKeys,_t=Bt===void 0?[]:Bt,en=nn.halfCheckedKeys,on=en===void 0?[]:en;if(!Ge.checkStrictly){var xn=(0,Gt.S)(_t,!0,Kt);_t=xn.checkedKeys,on=xn.halfCheckedKeys}Qe.checkedKeys=_t,Qe.halfCheckedKeys=on}}return ht("loadedKeys")&&(Qe.loadedKeys=Ge.loadedKeys),Qe}}]),Je}(ee.Component);it.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:re,allowDrop:function(){return!0},expandAction:!1},it.TreeNode=Me.Z;var _e=it,we=_e},35654:function(Nn,fn,We){"use strict";We.d(fn,{BT:function(){return ee},E6:function(){return le},L0:function(){return ye},OM:function(){return z},_5:function(){return Ae},r7:function(){return ue},wA:function(){return me},yx:function(){return De}});var He=We(19127),gt=We(20135),oe=We(48736),Ze=We(59301),Ne=We(39417),ge=We(67841),ce=We(71430),Ee=null;function Ae(pe,Pe){if(!pe)return[];var be=pe.slice(),Ie=be.indexOf(Pe);return Ie>=0&&be.splice(Ie,1),be}function ye(pe,Pe){var be=(pe||[]).slice();return be.indexOf(Pe)===-1&&be.push(Pe),be}function De(pe){return pe.split("-")}function me(pe,Pe){var be=[],Ie=(0,ge.Z)(Pe,pe);function Me(){var Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Oe.forEach(function(Te){var je=Te.key,ze=Te.children;be.push(je),Me(ze)})}return Me(Ie.children),be}function xe(pe){if(pe.parent){var Pe=De(pe.pos);return Number(Pe[Pe.length-1])===pe.parent.children.length-1}return!1}function fe(pe){var Pe=De(pe.pos);return Number(Pe[Pe.length-1])===0}function z(pe,Pe,be,Ie,Me,Oe,Te,je,ze,$e){var Ue,qe=pe.clientX,et=pe.clientY,lt=pe.target.getBoundingClientRect(),ut=lt.top,vt=lt.height,tt=($e==="rtl"?-1:1)*(((Me==null?void 0:Me.x)||0)-qe),at=(tt-12)/Ie,dt=(0,ge.Z)(je,be.props.eventKey);if(et<ut+vt/2){var St=Te.findIndex(function(we){return we.key===dt.key}),xt=St<=0?0:St-1,ft=Te[xt].key;dt=(0,ge.Z)(je,ft)}var pt=dt.key,yt=dt,Tt=dt.key,At=0,Gt=0;if(!ze.includes(pt))for(var wt=0;wt<at&&xe(dt);wt+=1)dt=dt.parent,Gt+=1;var bt=Pe.props.data,it=dt.node,_e=!0;return fe(dt)&&dt.level===0&&et<ut+vt/2&&Oe({dragNode:bt,dropNode:it,dropPosition:-1})&&dt.key===be.props.eventKey?At=-1:(yt.children||[]).length&&ze.includes(Tt)?Oe({dragNode:bt,dropNode:it,dropPosition:0})?At=0:_e=!1:Gt===0?at>-1.5?Oe({dragNode:bt,dropNode:it,dropPosition:1})?At=1:_e=!1:Oe({dragNode:bt,dropNode:it,dropPosition:0})?At=0:Oe({dragNode:bt,dropNode:it,dropPosition:1})?At=1:_e=!1:Oe({dragNode:bt,dropNode:it,dropPosition:1})?At=1:_e=!1,{dropPosition:At,dropLevelOffset:Gt,dropTargetKey:dt.key,dropTargetPos:dt.pos,dragOverNodeKey:Tt,dropContainerKey:At===0?null:((Ue=dt.parent)===null||Ue===void 0?void 0:Ue.key)||null,dropAllowed:_e}}function ee(pe,Pe){if(pe){var be=Pe.multiple;return be?pe.slice():pe.length?[pe[0]]:pe}}var ae=function(Pe){return Pe};function re(pe,Pe){if(!pe)return[];var be=Pe||{},Ie=be.processProps,Me=Ie===void 0?ae:Ie,Oe=Array.isArray(pe)?pe:[pe];return Oe.map(function(Te){var je=Te.children,ze=_objectWithoutProperties(Te,Ee),$e=re(je,Pe);return React.createElement(TreeNode,_extends({key:ze.key},Me(ze)),$e)})}function le(pe){if(!pe)return null;var Pe;if(Array.isArray(pe))Pe={checkedKeys:pe,halfCheckedKeys:void 0};else if((0,gt.Z)(pe)==="object")Pe={checkedKeys:pe.checked||void 0,halfCheckedKeys:pe.halfChecked||void 0};else return(0,oe.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return Pe}function ue(pe,Pe){var be=new Set;function Ie(Me){if(!be.has(Me)){var Oe=(0,ge.Z)(Pe,Me);if(Oe){be.add(Me);var Te=Oe.parent,je=Oe.node;je.disabled||Te&&Ie(Te.key)}}}return(pe||[]).forEach(function(Me){Ie(Me)}),(0,He.Z)(be)}},90782:function(Nn,fn,We){"use strict";We.d(fn,{S:function(){return ce}});var He=We(48736),gt=We(67841);function oe(Ee,Ae){var ye=new Set;return Ee.forEach(function(De){Ae.has(De)||ye.add(De)}),ye}function Ze(Ee){var Ae=Ee||{},ye=Ae.disabled,De=Ae.disableCheckbox,me=Ae.checkable;return!!(ye||De)||me===!1}function Ne(Ee,Ae,ye,De){for(var me=new Set(Ee),xe=new Set,fe=0;fe<=ye;fe+=1){var z=Ae.get(fe)||new Set;z.forEach(function(le){var ue=le.key,pe=le.node,Pe=le.children,be=Pe===void 0?[]:Pe;me.has(ue)&&!De(pe)&&be.filter(function(Ie){return!De(Ie.node)}).forEach(function(Ie){me.add(Ie.key)})})}for(var ee=new Set,ae=ye;ae>=0;ae-=1){var re=Ae.get(ae)||new Set;re.forEach(function(le){var ue=le.parent,pe=le.node;if(!(De(pe)||!le.parent||ee.has(le.parent.key))){if(De(le.parent.node)){ee.add(ue.key);return}var Pe=!0,be=!1;(ue.children||[]).filter(function(Ie){return!De(Ie.node)}).forEach(function(Ie){var Me=Ie.key,Oe=me.has(Me);Pe&&!Oe&&(Pe=!1),!be&&(Oe||xe.has(Me))&&(be=!0)}),Pe&&me.add(ue.key),be&&xe.add(ue.key),ee.add(ue.key)}})}return{checkedKeys:Array.from(me),halfCheckedKeys:Array.from(oe(xe,me))}}function ge(Ee,Ae,ye,De,me){for(var xe=new Set(Ee),fe=new Set(Ae),z=0;z<=De;z+=1){var ee=ye.get(z)||new Set;ee.forEach(function(ue){var pe=ue.key,Pe=ue.node,be=ue.children,Ie=be===void 0?[]:be;!xe.has(pe)&&!fe.has(pe)&&!me(Pe)&&Ie.filter(function(Me){return!me(Me.node)}).forEach(function(Me){xe.delete(Me.key)})})}fe=new Set;for(var ae=new Set,re=De;re>=0;re-=1){var le=ye.get(re)||new Set;le.forEach(function(ue){var pe=ue.parent,Pe=ue.node;if(!(me(Pe)||!ue.parent||ae.has(ue.parent.key))){if(me(ue.parent.node)){ae.add(pe.key);return}var be=!0,Ie=!1;(pe.children||[]).filter(function(Me){return!me(Me.node)}).forEach(function(Me){var Oe=Me.key,Te=xe.has(Oe);be&&!Te&&(be=!1),!Ie&&(Te||fe.has(Oe))&&(Ie=!0)}),be||xe.delete(pe.key),Ie&&fe.add(pe.key),ae.add(pe.key)}})}return{checkedKeys:Array.from(xe),halfCheckedKeys:Array.from(oe(fe,xe))}}function ce(Ee,Ae,ye,De){var me=[],xe;De?xe=De:xe=Ze;var fe=new Set(Ee.filter(function(re){var le=!!(0,gt.Z)(ye,re);return le||me.push(re),le})),z=new Map,ee=0;Object.keys(ye).forEach(function(re){var le=ye[re],ue=le.level,pe=z.get(ue);pe||(pe=new Set,z.set(ue,pe)),pe.add(le),ee=Math.max(ee,ue)}),(0,He.ZP)(!me.length,"Tree missing follow keys: ".concat(me.slice(0,100).map(function(re){return"'".concat(re,"'")}).join(", ")));var ae;return Ae===!0?ae=Ne(fe,z,ee,xe):ae=ge(fe,Ae.halfCheckedKeys,z,ee,xe),ae}},67841:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return He}});function He(gt,oe){return gt[oe]}},71430:function(Nn,fn,We){"use strict";We.d(fn,{F:function(){return ue},H8:function(){return le},I8:function(){return re},km:function(){return me},oH:function(){return ee},w$:function(){return xe},zn:function(){return z}});var He=We(20135),gt=We(19127),oe=We(44127),Ze=We(6620),Ne=We(11592),ge=We(2738),ce=We(48736),Ee=We(67841),Ae=["children"];function ye(pe,Pe){return"".concat(pe,"-").concat(Pe)}function De(pe){return pe&&pe.type&&pe.type.isTreeNode}function me(pe,Pe){return pe!=null?pe:Pe}function xe(pe){var Pe=pe||{},be=Pe.title,Ie=Pe._title,Me=Pe.key,Oe=Pe.children,Te=be||"title";return{title:Te,_title:Ie||[Te],key:Me||"key",children:Oe||"children"}}function fe(pe,Pe){var be=new Map;function Ie(Me){var Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(Me||[]).forEach(function(Te){var je=Te[Pe.key],ze=Te[Pe.children];warning(je!=null,"Tree node must have a certain key: [".concat(Oe).concat(je,"]"));var $e=String(je);warning(!be.has($e)||je===null||je===void 0,"Same 'key' exist in the Tree: ".concat($e)),be.set($e,!0),Ie(ze,"".concat(Oe).concat($e," > "))})}Ie(pe)}function z(pe){function Pe(be){var Ie=(0,Ne.Z)(be);return Ie.map(function(Me){if(!De(Me))return(0,ce.ZP)(!Me,"Tree/TreeNode can only accept TreeNode as children."),null;var Oe=Me.key,Te=Me.props,je=Te.children,ze=(0,Ze.Z)(Te,Ae),$e=(0,oe.Z)({key:Oe},ze),Ue=Pe(je);return Ue.length&&($e.children=Ue),$e}).filter(function(Me){return Me})}return Pe(pe)}function ee(pe,Pe,be){var Ie=xe(be),Me=Ie._title,Oe=Ie.key,Te=Ie.children,je=new Set(Pe===!0?[]:Pe),ze=[];function $e(Ue){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ue.map(function(et,lt){for(var ut=ye(qe?qe.pos:"0",lt),vt=me(et[Oe],ut),tt,at=0;at<Me.length;at+=1){var dt=Me[at];if(et[dt]!==void 0){tt=et[dt];break}}var St=(0,oe.Z)((0,oe.Z)({},(0,ge.Z)(et,[].concat((0,gt.Z)(Me),[Oe,Te]))),{},{title:tt,key:vt,parent:qe,pos:ut,children:null,data:et,isStart:[].concat((0,gt.Z)(qe?qe.isStart:[]),[lt===0]),isEnd:[].concat((0,gt.Z)(qe?qe.isEnd:[]),[lt===Ue.length-1])});return ze.push(St),Pe===!0||je.has(vt)?St.children=$e(et[Te]||[],St):St.children=[],St})}return $e(pe),ze}function ae(pe,Pe,be){var Ie={};(0,He.Z)(be)==="object"?Ie=be:Ie={externalGetKey:be},Ie=Ie||{};var Me=Ie,Oe=Me.childrenPropName,Te=Me.externalGetKey,je=Me.fieldNames,ze=xe(je),$e=ze.key,Ue=ze.children,qe=Oe||Ue,et;Te?typeof Te=="string"?et=function(vt){return vt[Te]}:typeof Te=="function"&&(et=function(vt){return Te(vt)}):et=function(vt,tt){return me(vt[$e],tt)};function lt(ut,vt,tt,at){var dt=ut?ut[qe]:pe,St=ut?ye(tt.pos,vt):"0",xt=ut?[].concat((0,gt.Z)(at),[ut]):[];if(ut){var ft=et(ut,St),pt={node:ut,index:vt,pos:St,key:ft,parentPos:tt.node?tt.pos:null,level:tt.level+1,nodes:xt};Pe(pt)}dt&&dt.forEach(function(yt,Tt){lt(yt,Tt,{node:ut,pos:St,level:tt?tt.level+1:-1},xt)})}lt(null)}function re(pe){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},be=Pe.initWrapper,Ie=Pe.processEntity,Me=Pe.onProcessFinished,Oe=Pe.externalGetKey,Te=Pe.childrenPropName,je=Pe.fieldNames,ze=arguments.length>2?arguments[2]:void 0,$e=Oe||ze,Ue={},qe={},et={posEntities:Ue,keyEntities:qe};return be&&(et=be(et)||et),ae(pe,function(lt){var ut=lt.node,vt=lt.index,tt=lt.pos,at=lt.key,dt=lt.parentPos,St=lt.level,xt=lt.nodes,ft={node:ut,nodes:xt,index:vt,key:at,pos:tt,level:St},pt=me(at,tt);Ue[tt]=ft,qe[pt]=ft,ft.parent=Ue[dt],ft.parent&&(ft.parent.children=ft.parent.children||[],ft.parent.children.push(ft)),Ie&&Ie(ft,et)},{externalGetKey:$e,childrenPropName:Te,fieldNames:je}),Me&&Me(et),et}function le(pe,Pe){var be=Pe.expandedKeys,Ie=Pe.selectedKeys,Me=Pe.loadedKeys,Oe=Pe.loadingKeys,Te=Pe.checkedKeys,je=Pe.halfCheckedKeys,ze=Pe.dragOverNodeKey,$e=Pe.dropPosition,Ue=Pe.keyEntities,qe=(0,Ee.Z)(Ue,pe),et={eventKey:pe,expanded:be.indexOf(pe)!==-1,selected:Ie.indexOf(pe)!==-1,loaded:Me.indexOf(pe)!==-1,loading:Oe.indexOf(pe)!==-1,checked:Te.indexOf(pe)!==-1,halfChecked:je.indexOf(pe)!==-1,pos:String(qe?qe.pos:""),dragOver:ze===pe&&$e===0,dragOverGapTop:ze===pe&&$e===-1,dragOverGapBottom:ze===pe&&$e===1};return et}function ue(pe){var Pe=pe.data,be=pe.expanded,Ie=pe.selected,Me=pe.checked,Oe=pe.loaded,Te=pe.loading,je=pe.halfChecked,ze=pe.dragOver,$e=pe.dragOverGapTop,Ue=pe.dragOverGapBottom,qe=pe.pos,et=pe.active,lt=pe.eventKey,ut=(0,oe.Z)((0,oe.Z)({},Pe),{},{expanded:be,selected:Ie,checked:Me,loaded:Oe,loading:Te,halfChecked:je,dragOver:ze,dragOverGapTop:$e,dragOverGapBottom:Ue,pos:qe,active:et,key:lt});return"props"in ut||Object.defineProperty(ut,"props",{get:function(){return(0,ce.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),pe}}),ut}},8224:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return gt}});var He=We(4676);function gt(oe,Ze,Ne,ge){var ce=He.unstable_batchedUpdates?function(Ae){He.unstable_batchedUpdates(Ne,Ae)}:Ne;return oe!=null&&oe.addEventListener&&oe.addEventListener(Ze,ce,ge),{remove:function(){oe!=null&&oe.removeEventListener&&oe.removeEventListener(Ze,ce,ge)}}}},55468:function(Nn,fn,We){"use strict";We.d(fn,{g1:function(){return De},os:function(){return xe}});var He=/margin|padding|width|height|max|min|offset/,gt={left:!0,top:!0},oe={cssFloat:1,styleFloat:1,float:1};function Ze(fe){return fe.nodeType===1?fe.ownerDocument.defaultView.getComputedStyle(fe,null):{}}function Ne(fe,z,ee){if(z=z.toLowerCase(),ee==="auto"){if(z==="height")return fe.offsetHeight;if(z==="width")return fe.offsetWidth}return z in gt||(gt[z]=He.test(z)),gt[z]?parseFloat(ee)||0:ee}function ge(fe,z){var ee=arguments.length,ae=Ze(fe);return z=oe[z]?"cssFloat"in fe.style?"cssFloat":"styleFloat":z,ee===1?ae:Ne(fe,z,ae[z]||fe.style[z])}function ce(fe,z,ee){var ae=arguments.length;if(z=oe[z]?"cssFloat"in fe.style?"cssFloat":"styleFloat":z,ae===3)return typeof ee=="number"&&He.test(z)&&(ee="".concat(ee,"px")),fe.style[z]=ee,ee;for(var re in z)z.hasOwnProperty(re)&&ce(fe,re,z[re]);return Ze(fe)}function Ee(fe){return fe===document.body?document.documentElement.clientWidth:fe.offsetWidth}function Ae(fe){return fe===document.body?window.innerHeight||document.documentElement.clientHeight:fe.offsetHeight}function ye(){var fe=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),z=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:fe,height:z}}function De(){var fe=document.documentElement.clientWidth,z=window.innerHeight||document.documentElement.clientHeight;return{width:fe,height:z}}function me(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function xe(fe){var z=fe.getBoundingClientRect(),ee=document.documentElement;return{left:z.left+(window.pageXOffset||ee.scrollLeft)-(ee.clientLeft||document.body.clientLeft||0),top:z.top+(window.pageYOffset||ee.scrollTop)-(ee.clientTop||document.body.clientTop||0)}}},24514:function(Nn,fn,We){"use strict";We.d(fn,{G:function(){return Ze}});var He=We(47273),gt=function(ge){if((0,He.Z)()&&window.document.documentElement){var ce=Array.isArray(ge)?ge:[ge],Ee=window.document.documentElement;return ce.some(function(Ae){return Ae in Ee.style})}return!1},oe=function(ge,ce){if(!gt(ge))return!1;var Ee=document.createElement("div"),Ae=Ee.style[ge];return Ee.style[ge]=ce,Ee.style[ge]!==Ae};function Ze(Ne,ge){return!Array.isArray(Ne)&&ge!==void 0?oe(Ne,ge):gt(Ne)}},24916:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return it}});var He=We(96663),gt=We(20135),oe=We(44127),Ze=We(90493),Ne=We(72071),ge=We(6620),ce=We(92310),Ee=We.n(ce),Ae=We(29301),ye=We(70425),De=We(34280),me=We(59301),xe=We(4676),fe=me.forwardRef(function(_e,we){var Ce=_e.height,Ye=_e.offsetY,Je=_e.offsetX,Le=_e.children,Ge=_e.prefixCls,Ke=_e.onInnerResize,Xe=_e.innerProps,Qe=_e.rtl,ht=_e.extra,Et={},mt={display:"flex",flexDirection:"column"};return Ye!==void 0&&(Et={height:Ce,position:"relative",overflow:"hidden"},mt=(0,oe.Z)((0,oe.Z)({},mt),{},(0,Ze.Z)((0,Ze.Z)((0,Ze.Z)((0,Ze.Z)((0,Ze.Z)({transform:"translateY(".concat(Ye,"px)")},Qe?"marginRight":"marginLeft",-Je),"position","absolute"),"left",0),"right",0),"top",0))),me.createElement("div",{style:Et},me.createElement(Ae.Z,{onResize:function(Kt){var jt=Kt.offsetHeight;jt&&Ke&&Ke()}},me.createElement("div",(0,He.Z)({style:mt,className:Ee()((0,Ze.Z)({},"".concat(Ge,"-holder-inner"),Ge)),ref:we},Xe),Le,ht)))});fe.displayName="Filler";var z=fe;function ee(_e){var we=_e.children,Ce=_e.setRef,Ye=me.useCallback(function(Je){Ce(Je)},[]);return me.cloneElement(we,{ref:Ye})}function ae(_e,we,Ce,Ye,Je,Le,Ge,Ke){var Xe=Ke.getKey;return _e.slice(we,Ce+1).map(function(Qe,ht){var Et=we+ht,mt=Ge(Qe,Et,{style:{width:Ye},offsetX:Je}),Ft=Xe(Qe);return me.createElement(ee,{key:Ft,setRef:function(jt){return Le(Qe,jt)}},mt)})}function re(_e,we,Ce,Ye){var Je=Ce-_e,Le=we-Ce,Ge=Math.min(Je,Le)*2;if(Ye<=Ge){var Ke=Math.floor(Ye/2);return Ye%2?Ce+Ke+1:Ce-Ke}return Je>Le?Ce-(Ye-Le):Ce+(Ye-Je)}function le(_e,we,Ce){var Ye=_e.length,Je=we.length,Le,Ge;if(Ye===0&&Je===0)return null;Ye<Je?(Le=_e,Ge=we):(Le=we,Ge=_e);var Ke={__EMPTY_ITEM__:!0};function Xe(Kt){return Kt!==void 0?Ce(Kt):Ke}for(var Qe=null,ht=Math.abs(Ye-Je)!==1,Et=0;Et<Ge.length;Et+=1){var mt=Xe(Le[Et]),Ft=Xe(Ge[Et]);if(mt!==Ft){Qe=Et,ht=ht||mt!==Xe(Ge[Et+1]);break}}return Qe===null?null:{index:Qe,multiple:ht}}function ue(_e,we,Ce){var Ye=me.useState(_e),Je=(0,Ne.Z)(Ye,2),Le=Je[0],Ge=Je[1],Ke=me.useState(null),Xe=(0,Ne.Z)(Ke,2),Qe=Xe[0],ht=Xe[1];return me.useEffect(function(){var Et=le(Le||[],_e||[],we);(Et==null?void 0:Et.index)!==void 0&&(Ce==null||Ce(Et.index),ht(_e[Et.index])),Ge(_e)},[_e]),[Qe]}var pe=We(16089),Pe=(typeof navigator=="undefined"?"undefined":(0,gt.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),be=Pe,Ie=function(_e,we,Ce,Ye){var Je=(0,me.useRef)(!1),Le=(0,me.useRef)(null);function Ge(){clearTimeout(Le.current),Je.current=!0,Le.current=setTimeout(function(){Je.current=!1},50)}var Ke=(0,me.useRef)({top:_e,bottom:we,left:Ce,right:Ye});return Ke.current.top=_e,Ke.current.bottom=we,Ke.current.left=Ce,Ke.current.right=Ye,function(Xe,Qe){var ht=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Et=Xe?Qe<0&&Ke.current.left||Qe>0&&Ke.current.right:Qe<0&&Ke.current.top||Qe>0&&Ke.current.bottom;return ht&&Et?(clearTimeout(Le.current),Je.current=!1):(!Et||Je.current)&&Ge(),!Je.current&&Et}};function Me(_e,we,Ce,Ye,Je,Le,Ge){var Ke=(0,me.useRef)(0),Xe=(0,me.useRef)(null),Qe=(0,me.useRef)(null),ht=(0,me.useRef)(!1),Et=Ie(we,Ce,Ye,Je);function mt(nn,Bt){if(pe.Z.cancel(Xe.current),!Et(!1,Bt)){var _t=nn;if(!_t._virtualHandled)_t._virtualHandled=!0;else return;Ke.current+=Bt,Qe.current=Bt,be||_t.preventDefault(),Xe.current=(0,pe.Z)(function(){var en=ht.current?10:1;Ge(Ke.current*en,!1),Ke.current=0})}}function Ft(nn,Bt){Ge(Bt,!0),be||nn.preventDefault()}var Kt=(0,me.useRef)(null),jt=(0,me.useRef)(null);function Wt(nn){if(_e){pe.Z.cancel(jt.current),jt.current=(0,pe.Z)(function(){Kt.current=null},2);var Bt=nn.deltaX,_t=nn.deltaY,en=nn.shiftKey,on=Bt,xn=_t;(Kt.current==="sx"||!Kt.current&&en&&_t&&!Bt)&&(on=_t,xn=0,Kt.current="sx");var zn=Math.abs(on),tr=Math.abs(xn);Kt.current===null&&(Kt.current=Le&&zn>tr?"x":"y"),Kt.current==="y"?mt(nn,xn):Ft(nn,on)}}function Vt(nn){_e&&(ht.current=nn.detail===Qe.current)}return[Wt,Vt]}function Oe(_e,we,Ce,Ye){var Je=me.useMemo(function(){return[new Map,[]]},[_e,Ce.id,Ye]),Le=(0,Ne.Z)(Je,2),Ge=Le[0],Ke=Le[1],Xe=function(ht){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ht,mt=Ge.get(ht),Ft=Ge.get(Et);if(mt===void 0||Ft===void 0)for(var Kt=_e.length,jt=Ke.length;jt<Kt;jt+=1){var Wt,Vt=_e[jt],nn=we(Vt);Ge.set(nn,jt);var Bt=(Wt=Ce.get(nn))!==null&&Wt!==void 0?Wt:Ye;if(Ke[jt]=(Ke[jt-1]||0)+Bt,nn===ht&&(mt=jt),nn===Et&&(Ft=jt),mt!==void 0&&Ft!==void 0)break}return{top:Ke[mt-1]||0,bottom:Ke[Ft]}};return Xe}var Te=We(52884),je=We(95727),ze=function(){function _e(){(0,Te.Z)(this,_e),(0,Ze.Z)(this,"maps",void 0),(0,Ze.Z)(this,"id",0),(0,Ze.Z)(this,"diffKeys",new Set),this.maps=Object.create(null)}return(0,je.Z)(_e,[{key:"set",value:function(Ce,Ye){this.maps[Ce]=Ye,this.id+=1,this.diffKeys.add(Ce)}},{key:"get",value:function(Ce){return this.maps[Ce]}},{key:"resetRecord",value:function(){this.diffKeys.clear()}},{key:"getRecord",value:function(){return this.diffKeys}}]),_e}(),$e=ze;function Ue(_e){var we=parseFloat(_e);return isNaN(we)?0:we}function qe(_e,we,Ce){var Ye=me.useState(0),Je=(0,Ne.Z)(Ye,2),Le=Je[0],Ge=Je[1],Ke=(0,me.useRef)(new Map),Xe=(0,me.useRef)(new $e),Qe=(0,me.useRef)(0);function ht(){Qe.current+=1}function Et(){var Ft=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;ht();var Kt=function(){var Vt=!1;Ke.current.forEach(function(nn,Bt){if(nn&&nn.offsetParent){var _t=nn.offsetHeight,en=getComputedStyle(nn),on=en.marginTop,xn=en.marginBottom,zn=Ue(on),tr=Ue(xn),er=_t+zn+tr;Xe.current.get(Bt)!==er&&(Xe.current.set(Bt,er),Vt=!0)}}),Vt&&Ge(function(nn){return nn+1})};if(Ft)Kt();else{Qe.current+=1;var jt=Qe.current;Promise.resolve().then(function(){jt===Qe.current&&Kt()})}}function mt(Ft,Kt){var jt=_e(Ft),Wt=Ke.current.get(jt);Kt?(Ke.current.set(jt,Kt),Et()):Ke.current.delete(jt),!Wt!=!Kt&&(Kt?we==null||we(Ft):Ce==null||Ce(Ft))}return(0,me.useEffect)(function(){return ht},[]),[mt,Et,Xe.current,Le]}var et=14/15;function lt(_e,we,Ce){var Ye=(0,me.useRef)(!1),Je=(0,me.useRef)(0),Le=(0,me.useRef)(0),Ge=(0,me.useRef)(null),Ke=(0,me.useRef)(null),Xe,Qe=function(Ft){if(Ye.current){var Kt=Math.ceil(Ft.touches[0].pageX),jt=Math.ceil(Ft.touches[0].pageY),Wt=Je.current-Kt,Vt=Le.current-jt,nn=Math.abs(Wt)>Math.abs(Vt);nn?Je.current=Kt:Le.current=jt;var Bt=Ce(nn,nn?Wt:Vt,!1,Ft);Bt&&Ft.preventDefault(),clearInterval(Ke.current),Bt&&(Ke.current=setInterval(function(){nn?Wt*=et:Vt*=et;var _t=Math.floor(nn?Wt:Vt);(!Ce(nn,_t,!0)||Math.abs(_t)<=.1)&&clearInterval(Ke.current)},16))}},ht=function(){Ye.current=!1,Xe()},Et=function(Ft){Xe(),Ft.touches.length===1&&!Ye.current&&(Ye.current=!0,Je.current=Math.ceil(Ft.touches[0].pageX),Le.current=Math.ceil(Ft.touches[0].pageY),Ge.current=Ft.target,Ge.current.addEventListener("touchmove",Qe,{passive:!1}),Ge.current.addEventListener("touchend",ht,{passive:!0}))};Xe=function(){Ge.current&&(Ge.current.removeEventListener("touchmove",Qe),Ge.current.removeEventListener("touchend",ht))},(0,De.Z)(function(){return _e&&we.current.addEventListener("touchstart",Et,{passive:!0}),function(){var mt;(mt=we.current)===null||mt===void 0||mt.removeEventListener("touchstart",Et),Xe(),clearInterval(Ke.current)}},[_e])}function ut(_e){return Math.floor(Math.pow(_e,.5))}function vt(_e,we){var Ce="touches"in _e?_e.touches[0]:_e;return Ce[we?"pageX":"pageY"]-window[we?"scrollX":"scrollY"]}function tt(_e,we,Ce){me.useEffect(function(){var Ye=we.current;if(_e&&Ye){var Je=!1,Le,Ge,Ke=function(){pe.Z.cancel(Le)},Xe=function mt(){Ke(),Le=(0,pe.Z)(function(){Ce(Ge),mt()})},Qe=function(Ft){if(!Ft.target.draggable){var Kt=Ft;Kt._virtualHandled||(Kt._virtualHandled=!0,Je=!0)}},ht=function(){Je=!1,Ke()},Et=function(Ft){if(Je){var Kt=vt(Ft,!1),jt=Ye.getBoundingClientRect(),Wt=jt.top,Vt=jt.bottom;if(Kt<=Wt){var nn=Wt-Kt;Ge=-ut(nn),Xe()}else if(Kt>=Vt){var Bt=Kt-Vt;Ge=ut(Bt),Xe()}else Ke()}};return Ye.addEventListener("mousedown",Qe),Ye.ownerDocument.addEventListener("mouseup",ht),Ye.ownerDocument.addEventListener("mousemove",Et),function(){Ye.removeEventListener("mousedown",Qe),Ye.ownerDocument.removeEventListener("mouseup",ht),Ye.ownerDocument.removeEventListener("mousemove",Et),Ke()}}},[_e])}var at=10;function dt(_e,we,Ce,Ye,Je,Le,Ge,Ke){var Xe=me.useRef(),Qe=me.useState(null),ht=(0,Ne.Z)(Qe,2),Et=ht[0],mt=ht[1];return(0,De.Z)(function(){if(Et&&Et.times<at){if(!_e.current){mt(function(Er){return(0,oe.Z)({},Er)});return}Le();var Ft=Et.targetAlign,Kt=Et.originAlign,jt=Et.index,Wt=Et.offset,Vt=_e.current.clientHeight,nn=!1,Bt=Ft,_t=null;if(Vt){for(var en=Ft||Kt,on=0,xn=0,zn=0,tr=Math.min(we.length-1,jt),er=0;er<=tr;er+=1){var ur=Je(we[er]);xn=on;var Dr=Ce.get(ur);zn=xn+(Dr===void 0?Ye:Dr),on=zn}for(var Mr=en==="top"?Wt:Vt-Wt,Br=tr;Br>=0;Br-=1){var qr=Je(we[Br]),Qr=Ce.get(qr);if(Qr===void 0){nn=!0;break}if(Mr-=Qr,Mr<=0)break}switch(en){case"top":_t=xn-Wt;break;case"bottom":_t=zn-Vt+Wt;break;default:{var Lr=_e.current.scrollTop,ei=Lr+Vt;xn<Lr?Bt="top":zn>ei&&(Bt="bottom")}}_t!==null&&Ge(_t),_t!==Et.lastTop&&(nn=!0)}nn&&mt((0,oe.Z)((0,oe.Z)({},Et),{},{times:Et.times+1,targetAlign:Bt,lastTop:_t}))}},[Et,_e.current]),function(Ft){if(Ft==null){Ke();return}if(pe.Z.cancel(Xe.current),typeof Ft=="number")Ge(Ft);else if(Ft&&(0,gt.Z)(Ft)==="object"){var Kt,jt=Ft.align;"index"in Ft?Kt=Ft.index:Kt=we.findIndex(function(nn){return Je(nn)===Ft.key});var Wt=Ft.offset,Vt=Wt===void 0?0:Wt;mt({times:0,index:Kt,offset:Vt,originAlign:jt})}}}var St=me.forwardRef(function(_e,we){var Ce=_e.prefixCls,Ye=_e.rtl,Je=_e.scrollOffset,Le=_e.scrollRange,Ge=_e.onStartMove,Ke=_e.onStopMove,Xe=_e.onScroll,Qe=_e.horizontal,ht=_e.spinSize,Et=_e.containerSize,mt=_e.style,Ft=_e.thumbStyle,Kt=_e.showScrollBar,jt=me.useState(!1),Wt=(0,Ne.Z)(jt,2),Vt=Wt[0],nn=Wt[1],Bt=me.useState(null),_t=(0,Ne.Z)(Bt,2),en=_t[0],on=_t[1],xn=me.useState(null),zn=(0,Ne.Z)(xn,2),tr=zn[0],er=zn[1],ur=!Ye,Dr=me.useRef(),Mr=me.useRef(),Br=me.useState(Kt),qr=(0,Ne.Z)(Br,2),Qr=qr[0],Lr=qr[1],ei=me.useRef(),Er=function(){Kt===!0||Kt===!1||(clearTimeout(ei.current),Lr(!0),ei.current=setTimeout(function(){Lr(!1)},3e3))},ot=Le-Et||0,xi=Et-ht||0,gi=me.useMemo(function(){if(Je===0||ot===0)return 0;var Pt=Je/ot;return Pt*xi},[Je,ot,xi]),Ln=function(an){an.stopPropagation(),an.preventDefault()},hr=me.useRef({top:gi,dragging:Vt,pageY:en,startTop:tr});hr.current={top:gi,dragging:Vt,pageY:en,startTop:tr};var ar=function(an){nn(!0),on(vt(an,Qe)),er(hr.current.top),Ge(),an.stopPropagation(),an.preventDefault()};me.useEffect(function(){var Pt=function(Dt){Dt.preventDefault()},an=Dr.current,gn=Mr.current;return an.addEventListener("touchstart",Pt,{passive:!1}),gn.addEventListener("touchstart",ar,{passive:!1}),function(){an.removeEventListener("touchstart",Pt),gn.removeEventListener("touchstart",ar)}},[]);var vr=me.useRef();vr.current=ot;var Un=me.useRef();Un.current=xi,me.useEffect(function(){if(Vt){var Pt,an=function(Dt){var cn=hr.current,bn=cn.dragging,kn=cn.pageY,Gn=cn.startTop;pe.Z.cancel(Pt);var Ht=Dr.current.getBoundingClientRect(),An=Et/(Qe?Ht.width:Ht.height);if(bn){var Kn=(vt(Dt,Qe)-kn)*An,ir=Gn;!ur&&Qe?ir-=Kn:ir+=Kn;var sn=vr.current,Cn=Un.current,rn=Cn?ir/Cn:0,Sn=Math.ceil(rn*sn);Sn=Math.max(Sn,0),Sn=Math.min(Sn,sn),Pt=(0,pe.Z)(function(){Xe(Sn,Qe)})}},gn=function(){nn(!1),Ke()};return window.addEventListener("mousemove",an,{passive:!0}),window.addEventListener("touchmove",an,{passive:!0}),window.addEventListener("mouseup",gn,{passive:!0}),window.addEventListener("touchend",gn,{passive:!0}),function(){window.removeEventListener("mousemove",an),window.removeEventListener("touchmove",an),window.removeEventListener("mouseup",gn),window.removeEventListener("touchend",gn),pe.Z.cancel(Pt)}}},[Vt]),me.useEffect(function(){return Er(),function(){clearTimeout(ei.current)}},[Je]),me.useImperativeHandle(we,function(){return{delayHidden:Er}});var Yn="".concat(Ce,"-scrollbar"),Qt={position:"absolute",visibility:Qr?null:"hidden"},Zt={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return Qe?(Qt.height=8,Qt.left=0,Qt.right=0,Qt.bottom=0,Zt.height="100%",Zt.width=ht,ur?Zt.left=gi:Zt.right=gi):(Qt.width=8,Qt.top=0,Qt.bottom=0,ur?Qt.right=0:Qt.left=0,Zt.width="100%",Zt.height=ht,Zt.top=gi),me.createElement("div",{ref:Dr,className:Ee()(Yn,(0,Ze.Z)((0,Ze.Z)((0,Ze.Z)({},"".concat(Yn,"-horizontal"),Qe),"".concat(Yn,"-vertical"),!Qe),"".concat(Yn,"-visible"),Qr)),style:(0,oe.Z)((0,oe.Z)({},Qt),mt),onMouseDown:Ln,onMouseMove:Er},me.createElement("div",{ref:Mr,className:Ee()("".concat(Yn,"-thumb"),(0,Ze.Z)({},"".concat(Yn,"-thumb-moving"),Vt)),style:(0,oe.Z)((0,oe.Z)({},Zt),Ft),onMouseDown:ar}))}),xt=St,ft=20;function pt(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Ce=_e/we*_e;return isNaN(Ce)&&(Ce=0),Ce=Math.max(Ce,ft),Math.floor(Ce)}var yt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Tt=[],At={overflowY:"auto",overflowAnchor:"none"};function Gt(_e,we){var Ce=_e.prefixCls,Ye=Ce===void 0?"rc-virtual-list":Ce,Je=_e.className,Le=_e.height,Ge=_e.itemHeight,Ke=_e.fullHeight,Xe=Ke===void 0?!0:Ke,Qe=_e.style,ht=_e.data,Et=_e.children,mt=_e.itemKey,Ft=_e.virtual,Kt=_e.direction,jt=_e.scrollWidth,Wt=_e.component,Vt=Wt===void 0?"div":Wt,nn=_e.onScroll,Bt=_e.onVirtualScroll,_t=_e.onVisibleChange,en=_e.innerProps,on=_e.extraRender,xn=_e.styles,zn=_e.showScrollBar,tr=zn===void 0?"optional":zn,er=(0,ge.Z)(_e,yt),ur=me.useCallback(function(ni){return typeof mt=="function"?mt(ni):ni==null?void 0:ni[mt]},[mt]),Dr=qe(ur,null,null),Mr=(0,Ne.Z)(Dr,4),Br=Mr[0],qr=Mr[1],Qr=Mr[2],Lr=Mr[3],ei=!!(Ft!==!1&&Le&&Ge),Er=me.useMemo(function(){return Object.values(Qr.maps).reduce(function(ni,di){return ni+di},0)},[Qr.id,Qr.maps]),ot=ei&&ht&&(Math.max(Ge*ht.length,Er)>Le||!!jt),xi=Kt==="rtl",gi=Ee()(Ye,(0,Ze.Z)({},"".concat(Ye,"-rtl"),xi),Je),Ln=ht||Tt,hr=(0,me.useRef)(),ar=(0,me.useRef)(),vr=(0,me.useRef)(),Un=(0,me.useState)(0),Yn=(0,Ne.Z)(Un,2),Qt=Yn[0],Zt=Yn[1],Pt=(0,me.useState)(0),an=(0,Ne.Z)(Pt,2),gn=an[0],Xt=an[1],Dt=(0,me.useState)(!1),cn=(0,Ne.Z)(Dt,2),bn=cn[0],kn=cn[1],Gn=function(){kn(!0)},Ht=function(){kn(!1)},An={getKey:ur};function Kn(ni){Zt(function(di){var Fi;typeof ni=="function"?Fi=ni(di):Fi=ni;var bi=Ir(Fi);return hr.current.scrollTop=bi,bi})}var ir=(0,me.useRef)({start:0,end:Ln.length}),sn=(0,me.useRef)(),Cn=ue(Ln,ur),rn=(0,Ne.Z)(Cn,1),Sn=rn[0];sn.current=Sn;var vn=me.useMemo(function(){if(!ei)return{scrollHeight:void 0,start:0,end:Ln.length-1,offset:void 0};if(!ot){var ni;return{scrollHeight:((ni=ar.current)===null||ni===void 0?void 0:ni.offsetHeight)||0,start:0,end:Ln.length-1,offset:void 0}}for(var di=0,Fi,bi,so,Po=Ln.length,Vr=0;Vr<Po;Vr+=1){var Xr=Ln[Vr],qn=ur(Xr),li=Qr.get(qn),qi=di+(li===void 0?Ge:li);qi>=Qt&&Fi===void 0&&(Fi=Vr,bi=di),qi>Qt+Le&&so===void 0&&(so=Vr),di=qi}return Fi===void 0&&(Fi=0,bi=0,so=Math.ceil(Le/Ge)),so===void 0&&(so=Ln.length-1),so=Math.min(so+1,Ln.length-1),{scrollHeight:di,start:Fi,end:so,offset:bi}},[ot,ei,Qt,Ln,Lr,Le]),yn=vn.scrollHeight,Tn=vn.start,Fn=vn.end,jn=vn.offset;ir.current.start=Tn,ir.current.end=Fn,me.useLayoutEffect(function(){var ni=Qr.getRecord();if(ni.size===1){var di=Array.from(ni)[0],Fi=Ln[Tn];if(Fi){var bi=ur(Fi);if(bi===di){var so=Qr.get(di),Po=so-Ge;Kn(function(Vr){return Vr+Po})}}}Qr.resetRecord()},[yn]);var Zn=me.useState({width:0,height:Le}),gr=(0,Ne.Z)(Zn,2),pn=gr[0],Tr=gr[1],Ur=function(di){Tr({width:di.offsetWidth,height:di.offsetHeight})},Nr=(0,me.useRef)(),wn=(0,me.useRef)(),Jn=me.useMemo(function(){return pt(pn.width,jt)},[pn.width,jt]),dr=me.useMemo(function(){return pt(pn.height,yn)},[pn.height,yn]),Ar=yn-Le,fr=(0,me.useRef)(Ar);fr.current=Ar;function Ir(ni){var di=ni;return Number.isNaN(fr.current)||(di=Math.min(di,fr.current)),di=Math.max(di,0),di}var Gr=Qt<=0,Wr=Qt>=Ar,br=gn<=0,Kr=gn>=jt,Dn=Ie(Gr,Wr,br,Kr),Ei=function(){return{x:xi?-gn:gn,y:Qt}},On=(0,me.useRef)(Ei()),hi=(0,ye.useEvent)(function(ni){if(Bt){var di=(0,oe.Z)((0,oe.Z)({},Ei()),ni);(On.current.x!==di.x||On.current.y!==di.y)&&(Bt(di),On.current=di)}});function Ri(ni,di){var Fi=ni;di?((0,xe.flushSync)(function(){Xt(Fi)}),hi()):Kn(Fi)}function _r(ni){var di=ni.currentTarget.scrollTop;di!==Qt&&Kn(di),nn==null||nn(ni),hi()}var Xi=function(di){var Fi=di,bi=jt?jt-pn.width:0;return Fi=Math.max(Fi,0),Fi=Math.min(Fi,bi),Fi},Oi=(0,ye.useEvent)(function(ni,di){di?((0,xe.flushSync)(function(){Xt(function(Fi){var bi=Fi+(xi?-ni:ni);return Xi(bi)})}),hi()):Kn(function(Fi){var bi=Fi+ni;return bi})}),Rr=Me(ei,Gr,Wr,br,Kr,!!jt,Oi),zr=(0,Ne.Z)(Rr,2),wi=zr[0],ki=zr[1];lt(ei,hr,function(ni,di,Fi,bi){var so=bi;return Dn(ni,di,Fi)?!1:!so||!so._virtualHandled?(so&&(so._virtualHandled=!0),wi({preventDefault:function(){},deltaX:ni?di:0,deltaY:ni?0:di}),!0):!1}),tt(ot,hr,function(ni){Kn(function(di){return di+ni})}),(0,De.Z)(function(){function ni(Fi){var bi=Gr&&Fi.detail<0,so=Wr&&Fi.detail>0;ei&&!bi&&!so&&Fi.preventDefault()}var di=hr.current;return di.addEventListener("wheel",wi,{passive:!1}),di.addEventListener("DOMMouseScroll",ki,{passive:!0}),di.addEventListener("MozMousePixelScroll",ni,{passive:!1}),function(){di.removeEventListener("wheel",wi),di.removeEventListener("DOMMouseScroll",ki),di.removeEventListener("MozMousePixelScroll",ni)}},[ei,Gr,Wr]),(0,De.Z)(function(){if(jt){var ni=Xi(gn);Xt(ni),hi({x:ni})}},[pn.width,jt]);var pr=function(){var di,Fi;(di=Nr.current)===null||di===void 0||di.delayHidden(),(Fi=wn.current)===null||Fi===void 0||Fi.delayHidden()},Lt=dt(hr,Ln,Qr,Ge,ur,function(){return qr(!0)},Kn,pr);me.useImperativeHandle(we,function(){return{nativeElement:vr.current,getScrollInfo:Ei,scrollTo:function(di){function Fi(bi){return bi&&(0,gt.Z)(bi)==="object"&&("left"in bi||"top"in bi)}Fi(di)?(di.left!==void 0&&Xt(Xi(di.left)),Lt(di.top)):Lt(di)}}}),(0,De.Z)(function(){if(_t){var ni=Ln.slice(Tn,Fn+1);_t(ni,Ln)}},[Tn,Fn,Ln]);var Li=Oe(Ln,ur,Qr,Ge),ao=on==null?void 0:on({start:Tn,end:Fn,virtual:ot,offsetX:gn,offsetY:jn,rtl:xi,getSize:Li}),Pi=ae(Ln,Tn,Fn,jt,gn,Br,Et,An),co=null;Le&&(co=(0,oe.Z)((0,Ze.Z)({},Xe?"height":"maxHeight",Le),At),ei&&(co.overflowY="hidden",jt&&(co.overflowX="hidden"),bn&&(co.pointerEvents="none")));var wo={};return xi&&(wo.dir="rtl"),me.createElement("div",(0,He.Z)({ref:vr,style:(0,oe.Z)((0,oe.Z)({},Qe),{},{position:"relative"}),className:gi},wo,er),me.createElement(Ae.Z,{onResize:Ur},me.createElement(Vt,{className:"".concat(Ye,"-holder"),style:co,ref:hr,onScroll:_r,onMouseEnter:pr},me.createElement(z,{prefixCls:Ye,height:yn,offsetX:gn,offsetY:jn,scrollWidth:jt,onInnerResize:qr,ref:ar,innerProps:en,rtl:xi,extra:ao},Pi))),ot&&yn>Le&&me.createElement(xt,{ref:Nr,prefixCls:Ye,scrollOffset:Qt,scrollRange:yn,rtl:xi,onScroll:Ri,onStartMove:Gn,onStopMove:Ht,spinSize:dr,containerSize:pn.height,style:xn==null?void 0:xn.verticalScrollBar,thumbStyle:xn==null?void 0:xn.verticalScrollBarThumb,showScrollBar:tr}),ot&&jt>pn.width&&me.createElement(xt,{ref:wn,prefixCls:Ye,scrollOffset:gn,scrollRange:jt,rtl:xi,onScroll:Ri,onStartMove:Gn,onStopMove:Ht,spinSize:Jn,containerSize:pn.width,horizontal:!0,style:xn==null?void 0:xn.horizontalScrollBar,thumbStyle:xn==null?void 0:xn.horizontalScrollBarThumb,showScrollBar:tr}))}var wt=me.forwardRef(Gt);wt.displayName="List";var bt=wt,it=bt},25510:function(Nn){"use strict";Nn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAIsCAYAAADRd/LpAAAgAElEQVR4Xuyda5BtVXXvV3efc+CAYBQRjaJBeWjiVVKVB0mMUV6GKv0cvVVG/XTrViUlSd0bqUoQg4KapKJW8j3mWinNx1SRSgkciKARYiqi1ycvFZSggHgFDofz6L71m3v/9xk9eq695ty91t67u8eimu6z91zzMcaYY/znGGPOudLEExQICgQFggJBgaBAUGDJKbBC/26+98jGkvczuhcUCAoEBYICQYGgwB6lwJUXnroSgGWPMj+GHRQICgQFggJBgZ1CgS2A5YoLTtkpfY9+BgWCAkGBoEBQICiwyylwy33PpREGYNnljI7hBQWCAkGBoEBQYCdTIADLTuZe9D0oEBQICgQFggJ7hAIBWPYIo2OYQYGgQFAgKBAU2MkUCMCyk7kXfQ8KBAWCAkGBoMAeoUAAlj3C6BhmUCAoEBQICgQFdjIFArDsZO5F34MCQYGgQFAgKLBHKBCAZY8wOoYZFAgKBAWCAkGBnUyBACw7mXvR96BAUCAoEBQICuwRCgRg2SOMjmEGBYICQYGgQFBgJ1MgAMtO5l70PSgQFAgKBAWCAnuEAgFY9gijY5hBgaBAUCAoEB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//0p/brs39jy660oj14/73hbKQVV1jBPrznXnbAgQeGocAVRF+gr790rnUBLAWwtCsOC2DJp1wBLAWw5HNNB54ogKUZsMjCcuXlV9hvzzrHvnPccTZ50mRbcurUEAD68ssvhziM0WPG2vhJE23Ft65kxxx/rM18eaZ9fr/97E+3/skmjB9v3zjqKFt6yaXs+quutUsvuMiuue5aW2T8Inbu+efZVltvHbZG33LrLfaRj3zEXnvtVVtnnbXt9F/+0iZMnBjcUQR7H3HEkbbV5pvZT37ykwBifnDiD0KW1n9+3wfsC1/6oq215po2ZpGxfUGsNrtvU01I+DbK5r4+x8aMGGUv/O0Fm3H3Pfbv/7a3PXD/X23XXXe19ddfzzbb5G12wcUX2+k//6W99tosW3+99e1XZ54Z3DCf+PQn7eprrrannn/aPvjB3e0D73+/PfPUU3brLX+y478JPSbaN75xtG280UZhq/deH/mwzXx1pu20y062yz/ubBPfsqjtt+8X7MmHH7X11p5m//Otb9vqq69tN15/rZ140g/sxz/7ic0dO9Le99732YYbTLcVll/epq21tm20ySbzdzD17S9iy7cy7gZXyPw5UABLASztisMCWPIpVwBLASz5XNOBJwpg6QMs7CB59NFHbcsttwxU1Xb4kOhtvmK84vLf2zlnnWXHH3ucTZo4ySZNmmSjx4wOwbFYENiGO2nRybbKaqvaMccdazded4Mdeeih9tijj4Wg2lN/9rOwK2jG7XfY1b//vX3xC1+28YtOsF+feaZtseWWNmvOHLvplpsDYGG30Lrrrms//elPQ06Na66+OgCWww873LbeZhs76Yc/tD/84UY78cQT7cKLLrL37/FB+++v7G9rrLGmjSADLwnm5r7WlzyMlLbs+QnpS14P7bn5pltt749+xJZdehk78sgjbOONN7IllphiL738ou237352+SWX29hRY+17J37fVnjrCvbxT37C/vDHP9riUxcPcSwrLLO8vfDC32zGXXfZx/b+t5Cw8dvHn2Brr72O3XvfvfbZfT9jq6y+in1or73sA8ThjFvEDjn8SDvzF7+2xSZOtgM//2V7/7+83/508y32fz/8vp38s1Ns1PhF7Mprr7ZVlls+ZLcdM2qMjRnLoZEcc9C3zbtvbxCRyH1gZX4aluISKjEsbUvDAljySVcASwEs+VzTgScKYGkGLH0JZV+3q6+6yn7323PtW0cfbWuvsaZt+45t+/JdjCThGnlMRtioMWNssSmL2ft2+4Cdecav7bhvHWcv/O1vtsvOO9uJP/iBjRk5xh595CG76Y832gfe///sLYsvZr88/XTbfMstQv6Tm2+91fbYfY/g/thg/fUDYFl08mS7WoDl8CNtm222thN/eJLdfPNNAbj87ne/tX9833vtawd9LcTUAFiwrMx9ffb8RGucJzSq75yiESPt7rtn2JVXXm2f/cxnbf31N7Djjv2WTZ++QThO4PUR8+yggw6ys848y5576nk79LDDbM01VrPPf+m/QgDt6musbuedf74tOXVJe+WVl+0v9/3F9tjjQ/bIww/bN446Ouyauv322+yrB+5vSy+7tG2+xWb2trdvYiNHj7RzLrzYbrjyGpsy+S22z3982j7x8U/aH2/6g/3gRyfZz375c3vLkovbTTfdbMtNmdJ3oGJIudJ34GII8OGMGfH8/DOaOCuJq1hYioWlXXFYAEs+5QpgKYAln2s68EQBLM2AhWX9vLlz7bprr7XzzzvPjv7GUbb9dtvbFz//haDAcVPMsXk2dvy4cA4QwGPqUkvZ9/7ve/a9737PXnv1VfvAbrvZccceGzLG/u3F5+z2O2+zbbZ5hy2x5FT7xS9+YVtsvkVwdtzyp1tst/d/MOQq2XD6dPvZz061iePH2zVXX2OXX3G5HXHkkbbV1lvZD086yW67/TY75eST7de//rW9Y4ft7agjjrT11l03HHgYzhsaafbySy8FlxWuq3Hjxtn4CRPt5ptvtQsvvMj++7+/attsu7Udc8yxtu5664YTnIl1OeHbJ9hpp/3S7pvxF9t3n31svWlr28GHHWIPPPhX22STje1HJ59iyyy7jL362iy7//4HbM899rQHH3jIDj/kkHAMwJ9uucWOOPLwEEczdcmpNmWJKSGe56Hnnrbnn3zSll1iKfvYHh+x/fbZz669/no76Scn2+lnnWnLrbyiXX81gGZyOOCRYws4KTqYi8h+O9IBlvm8r4iWAlgKYGlXHBbAkk+5Al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Owi97JitpRnCXUB2PcYASNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SLQSFjqFdmSGQEjYASMgBEwAqsVge1b1x12GCr/8p6D/12tQrjeRsAIGAEjYASMQN0ITAhL3WJaOiNgBIyAETACRmC1I/C/+Ryxj68oilIAAAAASUVORK5CYII="},32637:function(Nn,fn,We){"use strict";Nn.exports=We.p+"static/AssistantCode3.a8740efb.jpeg"},51941:function(Nn){"use strict";Nn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJUAAABtCAYAAACoYyM7AAAg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NOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},16722:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ee}});const He=Ae=>typeof Ae=="object"&&Ae!=null&&Ae.nodeType===1,gt=(Ae,ye)=>(!ye||Ae!=="hidden")&&Ae!=="visible"&&Ae!=="clip",oe=(Ae,ye)=>{if(Ae.clientHeight<Ae.scrollHeight||Ae.clientWidth<Ae.scrollWidth){const De=getComputedStyle(Ae,null);return gt(De.overflowY,ye)||gt(De.overflowX,ye)||(me=>{const xe=(fe=>{if(!fe.ownerDocument||!fe.ownerDocument.defaultView)return null;try{return fe.ownerDocument.defaultView.frameElement}catch(z){return null}})(me);return!!xe&&(xe.clientHeight<me.scrollHeight||xe.clientWidth<me.scrollWidth)})(Ae)}return!1},Ze=(Ae,ye,De,me,xe,fe,z,ee)=>fe<Ae&&z>ye||fe>Ae&&z<ye?0:fe<=Ae&&ee<=De||z>=ye&&ee>=De?fe-Ae-me:z>ye&&ee<De||fe<Ae&&ee>De?z-ye+xe:0,Ne=Ae=>{const ye=Ae.parentElement;return ye==null?Ae.getRootNode().host||null:ye},ge=(Ae,ye)=>{var De,me,xe,fe;if(typeof document=="undefined")return[];const{scrollMode:z,block:ee,inline:ae,boundary:re,skipOverflowHiddenElements:le}=ye,ue=typeof re=="function"?re:xt=>xt!==re;if(!He(Ae))throw new TypeError("Invalid target");const pe=document.scrollingElement||document.documentElement,Pe=[];let be=Ae;for(;He(be)&&ue(be);){if(be=Ne(be),be===pe){Pe.push(be);break}be!=null&&be===document.body&&oe(be)&&!oe(document.documentElement)||be!=null&&oe(be,le)&&Pe.push(be)}const Ie=(me=(De=window.visualViewport)==null?void 0:De.width)!=null?me:innerWidth,Me=(fe=(xe=window.visualViewport)==null?void 0:xe.height)!=null?fe:innerHeight,{scrollX:Oe,scrollY:Te}=window,{height:je,width:ze,top:$e,right:Ue,bottom:qe,left:et}=Ae.getBoundingClientRect(),{top:lt,right:ut,bottom:vt,left:tt}=(xt=>{const ft=window.getComputedStyle(xt);return{top:parseFloat(ft.scrollMarginTop)||0,right:parseFloat(ft.scrollMarginRight)||0,bottom:parseFloat(ft.scrollMarginBottom)||0,left:parseFloat(ft.scrollMarginLeft)||0}})(Ae);let at=ee==="start"||ee==="nearest"?$e-lt:ee==="end"?qe+vt:$e+je/2-lt+vt,dt=ae==="center"?et+ze/2-tt+ut:ae==="end"?Ue+ut:et-tt;const St=[];for(let xt=0;xt<Pe.length;xt++){const ft=Pe[xt],{height:pt,width:yt,top:Tt,right:At,bottom:Gt,left:wt}=ft.getBoundingClientRect();if(z==="if-needed"&&$e>=0&&et>=0&&qe<=Me&&Ue<=Ie&&(ft===pe&&!oe(ft)||$e>=Tt&&qe<=Gt&&et>=wt&&Ue<=At))return St;const bt=getComputedStyle(ft),it=parseInt(bt.borderLeftWidth,10),_e=parseInt(bt.borderTopWidth,10),we=parseInt(bt.borderRightWidth,10),Ce=parseInt(bt.borderBottomWidth,10);let Ye=0,Je=0;const Le="offsetWidth"in ft?ft.offsetWidth-ft.clientWidth-it-we:0,Ge="offsetHeight"in ft?ft.offsetHeight-ft.clientHeight-_e-Ce:0,Ke="offsetWidth"in ft?ft.offsetWidth===0?0:yt/ft.offsetWidth:0,Xe="offsetHeight"in ft?ft.offsetHeight===0?0:pt/ft.offsetHeight:0;if(pe===ft)Ye=ee==="start"?at:ee==="end"?at-Me:ee==="nearest"?Ze(Te,Te+Me,Me,_e,Ce,Te+at,Te+at+je,je):at-Me/2,Je=ae==="start"?dt:ae==="center"?dt-Ie/2:ae==="end"?dt-Ie:Ze(Oe,Oe+Ie,Ie,it,we,Oe+dt,Oe+dt+ze,ze),Ye=Math.max(0,Ye+Te),Je=Math.max(0,Je+Oe);else{Ye=ee==="start"?at-Tt-_e:ee==="end"?at-Gt+Ce+Ge:ee==="nearest"?Ze(Tt,Gt,pt,_e,Ce+Ge,at,at+je,je):at-(Tt+pt/2)+Ge/2,Je=ae==="start"?dt-wt-it:ae==="center"?dt-(wt+yt/2)+Le/2:ae==="end"?dt-At+we+Le:Ze(wt,At,yt,it,we+Le,dt,dt+ze,ze);const{scrollLeft:Qe,scrollTop:ht}=ft;Ye=Xe===0?0:Math.max(0,Math.min(ht+Ye/Xe,ft.scrollHeight-pt/Xe+Ge)),Je=Ke===0?0:Math.max(0,Math.min(Qe+Je/Ke,ft.scrollWidth-yt/Ke+Le)),at+=ht-Ye,dt+=Qe-Je}St.push({el:ft,top:Ye,left:Je})}return St},ce=Ae=>Ae===!1?{block:"end",inline:"nearest"}:(ye=>ye===Object(ye)&&Object.keys(ye).length!==0)(Ae)?Ae:{block:"start",inline:"nearest"};function Ee(Ae,ye){if(!Ae.isConnected||!(xe=>{let fe=xe;for(;fe&&fe.parentNode;){if(fe.parentNode===document)return!0;fe=fe.parentNode instanceof ShadowRoot?fe.parentNode.host:fe.parentNode}return!1})(Ae))return;const De=(xe=>{const fe=window.getComputedStyle(xe);return{top:parseFloat(fe.scrollMarginTop)||0,right:parseFloat(fe.scrollMarginRight)||0,bottom:parseFloat(fe.scrollMarginBottom)||0,left:parseFloat(fe.scrollMarginLeft)||0}})(Ae);if((xe=>typeof xe=="object"&&typeof xe.behavior=="function")(ye))return ye.behavior(ge(Ae,ye));const me=typeof ye=="boolean"||ye==null?void 0:ye.behavior;for(const{el:xe,top:fe,left:z}of ge(Ae,ce(ye))){const ee=fe-De.top+De.bottom,ae=z-De.left+De.right;xe.scroll({top:ee,left:ae,behavior:me})}}}}]);