jch-config-editor 1.0.13 → 1.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,14 @@
1
- (function(Me,l){const B=_0x4806,z=Me();for(;;)try{if(-parseInt(B(1951))/1*(parseInt(B(1640))/2)+-parseInt(B(1711))/3*(parseInt(B(1470))/4)+parseInt(B(2130))/5*(parseInt(B(605))/6)+-parseInt(B(385))/7+-parseInt(B(639))/8*(-parseInt(B(794))/9)+parseInt(B(1385))/10*(-parseInt(B(1664))/11)+parseInt(B(1466))/12===l)break;z.push(z.shift())}catch{z.push(z.shift())}})(_0x1b50,33e4),(function(Me,l){const B=_0x4806;typeof exports===B(2171)&&typeof module<"u"?l(exports,require(B(377)),require(B(1978)),require("antd"),require(B(1087)),require(B(1195)),require(B(1668)),require("nanoid"),require(B(531)),require(B(974))):typeof define===B(1154)&&define.amd?define([B(1749),B(377),B(1978),B(1703),B(1087),B(1195),B(1668),B(1161),B(531),"react-dom"],l):(Me=typeof globalThis<"u"?globalThis:Me||self,l(Me[B(1829)]={},Me[B(1863)],Me[B(1780)],Me[B(1703)],Me[B(453)],Me.zustand,Me[B(1668)],Me[B(1161)],Me[B(1818)]))})(this,function(Me,l,B,z,ae,zx,l0,be,d0){"use strict";function _0x1b50(){const Me=["zgfZAgvK","B25oB2rLC0nOyw5Nzq","CMDI","C25HCfrVr3jPza","y2XVBMvfBgvTzw50","B25oB2rLtw91C2vmzwf2zq","5y2G5l2n56YM77YAE3TWCMv2Fx3JGif7E+wfPEwpGUwqJx19iow8LEEuQos4IUA4UoI/NUE6V+wfPEwpGU+8M3T7jgrHDgeUEhH4Fx0G5y+w5lQl5lU25lIk5lIl5PAhigrHDge","y2fSBgjHy2S","zgf0ys4","5PQc5PEG5lQl5lU25Rwb57Ur5A6A","B25oB2rLC0rLBgv0zq","5y+V5O6s5BQp","qebPDgvYyxrVCG","zxzLBNrtDwjQzwn0CW","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlte","vgfN","55s75BIdide","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWmcbYB3vUzgvK","CMvJDcGWChGSidbWEcWGmhb4lcaWChGP","zMX1C2G","EwvSBg93","AhnSysG","zwfZzq","Aw5KzxG","iwjNlwjSDwuTntaW","rgL2AwrLCG","x2HHC1bHCMvUDa","x3rPBwu","Dhj5CW","i2yWzJbMma","lY8G5y+V55sO5y+c5PwWoGOVlYbUB2rLic0G6kEM5y+r5lQl5lU255Qe6iQc54k5cI8VignVBNrLEhqGlsdKUOVKU7BKUiRKUiVMLOCklY8GyxjNCYaTios8OowfPEEAHowpGUAvSaOkCMv0DxjUigfYz3m7","CMvHzefZvgv4Da","6l+u5zUE5lUk5AsP","CMvHy3qTzMXVD19FCMvUzgvYzxi","zhvYyxrPB24","t2jQzwn0vw5ZDwjZy3jPyMvKrxjYB3i","vxbSB2fKt3v0BgLUzwq","AhLWB3q","iZHJogm4yW","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvK","Dgv4Dc14CW","C2v0rgvMyxvSDe5VzgvZqw5KrwrNzxm","Aw52zxj0wa","qebVyNnLCNzHyMXL","C3DPDgnOq2fUDMfZ","Bgv2zwW","x2DYB3vWCW","DgfYz2v0sgfUzgXL","BgLUzq","vgLTzw91DcbOyxmGB2nJDxjYzwq","zgvZDgLUyxrPB24","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaW","55s75BId5A+85yE65AsX6lsL","77Yi5y+V6ycj77Yj","DhDLzw4","Bw91C2vvCa","lNjLywn0lwzSB3C","zg9JDw1LBNrfBgvTzw50","ywjZB2X1Dgu","5BEY5l+D5A2y","6zw/5yIs6zE06zQu","w3jVBgu9iMXPC3rIB3GIxq","zxzLBNrcBg9JA0LK","CMvHy3qTzMXVD19FBwLUAw1HCc1ZDMC","zwrNzxngB2n1C2fIBgu","w2rHDgeTy2fUDMfZpsj0CNvLiL0","Dgv4Dc1ZBsb0zxH0lwjSDwuTnZaW","BM9Kzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","5PwW5O2U6zUg","AgfUzgXLqM91BMrZ","BM9Kzs5Hmtf5rgvZy3jPChrPB24UA2v5yM9HCMreAxnHyMXLza","C3vJy2vZCW","yxjYB3DJBg9Zzwq","5lQl5lU25Rwb","6ycj5OUP5PE26zE0","5ywO6ycj5OMa5PYj","EKLUzgv4tw9Kzq","y29UDgfPBNm","AxndBgLJA2fIBgu6","BgfIzwXtAg93qMC","DMLLD0jVEa","BgfIzwXtDhLSzq","AxrLCMf0B3i","D29YAW","5B2t5yMn546V5Akd5lIn5PsV5OYb55s75BId5yIh5O2I","Cg9ZAxrPB25byNnVBhv0zq","BgLUzujVEa","u2HPzNq","55sX6kgO6l6+5BYp6iEQ5yQO6k6H566x","DMfSDwvdB2XVCG","54Q25Ocb5PwWoIa","y29UBMvJDgLVBLjHzgL1CW","qwXPz25mzwz0t3v0BgLUzwq","CgfYyw1Zq29Kzq","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iG","BMuTCMvZAxPL","6ycj5OUP6kAb6lEZ6l2S55Qe55s75BId","5y2v5l2n77Yi5AAcWRbd44cbjEoaGu1qyEETIE+8Iq","u2vSzwn0t3v0BgLUzwq","57Yw6l6r6ycj5lIT6iQc54k555Qe5BgE5OcN","x2zPBMfSAxPLCNm","BgLUzvDLAwDODa","C3rLCa","ywjZB2X1DguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWigjNlwjSDwuTntaWlZeWihbVAw50zxiTzxzLBNrZlw5VBMu","iI8+pc9ZDMC+","5OMN6kgm5lUJ56cb","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igeGBM9Kzs4Gww91ignHBIb0AgvUihvZzsb0AguGyxjYB3CGA2v5CYb0BYbTB3zLihrOzsbUB2rLigfYB3vUzc4GuhjLC3mGzgvSzxrLihrVihjLBw92zsbPDcbHBMqGzxnJyxbLihrVignHBMnLBc4","Cg9PBNrLCI1LDMvUDhmTyxv0BW","mZqYntm1quztC3DO","zhjHz2DHyMXL","u3bHy2u","B25fCNjVCG","5BEY5zcV55sO","zMLUzefJDgL2zvn0yxr1CW","w1jLywn0iezSB3DDoIbtzwvTCYbSAwTLihLVDsbOyxzLig5VDcb1C2vKihP1C3rHBMqGChjVDMLKzxiGyxmGyw4Gyw5Jzxn0B3iUieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCImWmde","5PwW57Ue56YSia","y29UBMvJDgLVBK1Vzgu","DhjHBNnWyxjLBNqSicnMzMySihvYBcGUlI4P","6Ake6kEi5QIH5BYp","zxHPDa","Bg9VC2u","rwrNzsbMCM9Tia","54k55yE757Q/5P2H54MP5PAz5BYa5AEl57Uy5yI2","DxnLCLnWywnLt25vC2u","ue9tsvrjvKvFsu5gsu5jvfK","zMLSzq","CgfYDgLHBa","zgvZy3jPChrPB24","Dg9iyw5KBgu","sLnptIdMOlZLVi/PLjNOR6/VViZOR7FMO4dMN6xOVPpLHAu","CMvHy3qTzMXVD19Fy29UBMvJDgLVBI1WyxrO","C3rHCNrsB3rHDgu","y29UBMvJDgLVBKrYywDuAhjLC2HVBgq","C2vJB25Kyxj5","w2rHDgeTBM9Kzs1Pzd0I","B250B3vJAhn0yxj0","ksb0CMfUC2XHDguO","jhTSywjLBh3MNidLPkFLGlZKUlOKE21HEh0","5ywO6ycj5B2t6Ag1","zgLYzwn0Aw9U","yMCTD2HPDguGyM9YzgvYlwiGyM9YzgvYlwDYyxKTmJaWihb4ltqGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUigzSzxGTC2HYAw5Rlta","CMvHy3qTzMXVD19FzwrNzs10zxH0","jhTSywjLBh3POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","C3rHCNrizwLNAhq","AgLZDg9YEq","6kEM5y+roIa","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0yxj0","BM9KzxneCMfNz2fIBgu","5lIl5lIa5Q2L","B2jQzwn0","Aw50zxjWB2XHDgu","lwzSB3DFx2vKz2u","B2jZzxj2zwq","6l6t5ywL5zU+54MhifvstcdMIjyGrgf0ysbvuKK","C29SAwq","B3v0Chv0CW","C2vSzwn0zwq","zxHLy3v0Aw9Uugf0Aa","B25oB2rLtw91C2vnB3zL","5AAc77YA55s15PY65Rwl54k56zUg","Dw5ZAgLMDa","z3jPzcbNCMLKlwnVBhmTmIbNyxaTmG","x3n1yNnJCMLIzq","57Uy5yI25lIT","C2vSzwn0tM9KzxnpBKrYywC","CMzFx2jHy2TNCM91BMq","zxzLBNrcBg9JA3m","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIb0zxH0lwDYyxKTmZaWihrLEhqTEhm","Cg9SEwXPBMu","zM9YD2fYzfjLzG","CMvZB2X2zq","zM9UDc1TB25VihrLEhqTC20","BgvUz3rO","B3jPzw50","5A+85yE65B2t5yMn55s75BId","ChGP","Bw91C2vcDxr0B24","6BUy6k6K6Ag555UU","B2zMC2v0v2LKDgG","5lQK5O2I6lw354k55zkm57Ui54k5","6ycj5OUPiePtt04G5PAh5lU25A+85ywL77YA","yxjNCY5WCMv2ma","BMv3","5BYa5AEl5PE26zE0","Dg9tDhjPBMDuywC","C2vSzwn0zwroB2rLswrZ","5lQl5lU25z2x5BEY5PU05PAW","DhjHBNnSyxrLwcGTntaLkq","CMvZAxPL","DxnLrwzMzwn0","x19WCM90B19F","Bg9N","55UU5Qch55s75BId","jhTSywjLBh3KUi3OG73OVAZMJAlKUlRML6xMNj8","C2nHBgvcEq","C2LIBgLUz0DYB3vWCW","sw5WDxq","5lIl5lIa5BM05lUJ","y2XVC2vKlq","BwvYz2vsDw50Aw1LsgfUzgXLCNm","Dg91y2HLCW","B2jQzwn0ihvUC3vIC2nYAwjLza","55s754k557Q/","CMvHy3qVANn4lxj1BNrPBwu","lI4U","mcaWidi1idmY","Aw50zxjUywXZ","zgvSDgfz","5yIG6zMK6k+L5PwW5O2U6zUg77YF","BMfTzxnWywnLvvjj","C3rHCNrz","ndi4mZm5mxvkDgXywq","tufurvjjquXFu1rbvfvtx0niqu5hrq","tw96vxnLCLnLBgvJDa","C3LUy1zPzxDWB3j0","DhjHBNnSyxrLka","zhjHz0HHBMrSzq","Bg9HzgLUzW","54Q25OcbicH0ExbLkq","jhTSywjLBh3POBVKUlOKE2XLBN3KUkRLRzFNRky","x2LK","BM9KzuvSzw1LBNq","6l+u5zUE5yIx6kgO","yM9YzgvY","C21HBgW","CMvJB25Uzwn0ywjSzq","ww91ihbYB3zPzgvKia","5Bcg57Q/5P2H5y+y5lI65Rc05BMZ57Q/77Ym5l+D5OYb6zw/5BQM","5Asn5yI26iQc54k5","lcdOV57MJQxMLBa6ia","6zw/5yIslEwpJoEcUEs6PoABVW","ChGS","5PAW5lQl5lU25z2x","6yEn5zg95zcn","5A2x5l2t5AsN5Bcp","CxvLCNLtzwXLy3rVCKfSBa","6ycj5OUP57Ur5A6A5yc8","BNvTyMvY","zw5K","6ycj5OUP57Ur5A6A5A2x5Q61","5RIq5y+y6iMY","CMvHy3qTzMXVD19FzwrNzs10zxH0D3jHChbLCG","zg9Uzq","Ag9YAxPVBNrHBa","C2v0uhjVDg90ExbLt2y","Aw5KzxHpzG","Aw5ZDa","B25SEvjLBMrLCLzPC2LIBgvfBgvTzw50CW","iZaWmtKZqW","uhjVDMLKzxi","77Yi5BEY5yIG6zMK77YA","6k+36ycj5OUP6iQc54k5","57Ut5P2F5A2J5BQM","zwrNzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","5yAf572U5yQO5l2C","B3bZ","CgfYzw50tM9Kzq","zMXLEc0X","Bw91C2vfBNrLCG","BwWTmIb0zxH0lxnTigzVBNqTBwvKAxvTihrLEhqTyMX1zs02mda","5A+g6zUg54k554Q2","5BgE5OcN6z2I5P2/","AgfZt3DUuhjVCgvYDhK","C3vIC2nYAxb0Aw9UCW","B25oB2rLrhjHz1n0yxj0","mNb4ihnVBgLKicmXodKWzMy","5OYb57UT5PE26zE077Yi56Es77Yj","zwrNzuLUzgv4","z2v0uhjVCgvYDhLwywX1zq","iZi2mJyYnG","5lIk5lYGifnwrW","vw5NCM91Ce91DgXPBMvK","CMvUyw1L","yxnZzxj0AxzL","BgfIzwXgB250u2L6zq","C3vIAMvJDa","q3jVC3m","yMfJA2DYB3vUza","BwvZC2fNzq","AwnVBNm","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24TCMvJDa","xNjNyMfCka","zNjVBuHHBMrSzq","rM9YBq","CgLWzq","C2vSzwn0q2HPBgrYzw4","twfYA2vYrgvMAw5PDgLVBNm","5PwW57UeicG","u2vSzwn0","tM9Kzsb0ExbLici","5lIk5lIa5Q2L","u2LTCgXLqMv6AwvYrwrNzq","C2v0rhjHz0LTywDL","C2v0rMLLBgrZvMfSDwu","Aw52zxjZzq","6k+35AgR5yAz5O+q56s65yAf5A65","BgLMDa","zw1PDev4DgvYBMfS","q29SBgfWC2u","55s75BId5A+85yE65OIq5yQF77Yb","q291BgrUj3qGy3jLyxrLigvKz2uGzM9Yia","zgvMyxvSDevKz2vZ","C2nHBgu","5lUo57Ue5lIT56E76zMK","5Asw6yoO5lQl5lU2","57Uy5yI25QIH5BYp","BM9VCgvUzxiGBM9YzwzLCNjLCG","zMLYC3rdAgLSza","Dg9ju09tDhjPBMC","rxnJyxbL","Bs9ZWRi","rNvSBa","AxnwywXPza","DMfSDwvpzG","mc4Zzw0","CMvUzgvY","5A2x5Q616AQm6k+b6zsz6k+VjhTSywjLBh0","jhTSywjLBh3KUi3MMk/KUidKUkRMNiNMLyJNMOqKE3r5Cgv9","yMXVy2SGDhj1BMnHDgu","DY1MDwXSigP1C3rPzNKTzw5K","C2nHBgvuBW","rw50zxi","CMzFx2nVBNrYB2XZ","zMfJDg9Y","6l6t5ywL5zU+54MhifvstcdMIjBKUiRKVkdLM77NIyC","BwiTncbWltmGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKigjNlwjSDwuTntaVnta","5yc85P2L5RQq","A2vLCefZCgvJDfjHDgLV","6ycj5OUP5PwW5O2U6zUg","CMvHy3qTzMXVD19FBM9Kzs1KzxnJ","y29SB3i","zw5Kwa","zgf0yvjLCxvLC3rlzxK","iZu5ntK1oq","zgf0yvrYyw5ZzMvY","C2v0qxr0CMLIDxrLtLm","yxnZAwDU","y29UDhjVBhmUEM9VBuLUlMfYAwfmywjLBa","twvZC2fNzsdMJ5dNPlO","Bw91C2vz","y2HPBgrYzw4","zgv2zwXVCg1LBNq","54Q25Ocb5zcn56EW","57Ut5P2F5PEL5PYF","mcaWidmYidmY","Bwf0CML4vhjHBNnMB3jT","5PAW5BU65PwW5O2U6zUg","Cg9PBNrLCKLK","CMvHy3qTzMXVD19FBwLUAw1HCc1UB2rL","CMv2zxjZzq","CgfKzgLUzW","Ac1MDwXSigzSzxGGzMXLEc1JB2W","ioMHUsK","z2v0qxr0CMLIDxrL","DxnLtwvTBW","zgvJAw1HBhm","Bw91C2vTB3zL","CMvHy3qTEM9VBs1Wyw4TCgLUy2G","CMvZDwX0","5PYQ5RoO5yAmigv4DgvYBMfSiowKHoEqHUwzQdOG","DMfSDwvtDhLSzq","Bw0VCW","ioIHJowHQ+wgMEwpGUAvSowqJEwnS+wpR+IhQUwUMUs5IEMuRUwqJE+8IoMHU+s4JUwfPEI+UEMHUUw6J+s4GoIhTo+8IEoaGG","BgLUAW","lwzSB3DFx2HHBMrSzq","zgL2","EKLUzgv4","C2v0twLUwM9VBq","BwfW","y2vUDgvY","B25oB2rLq2XPy2S","6Ag75lI6jhTSzw595lIQjhTSywjLBh0","AgvHza","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94BgLUAW","6ycj5OUP54MP5PAz","BgLUzwfYlwDYywrPzw50khrVihjPz2H0lcbYz2jHkdi0mcWYndaSmJqWldaUmdmPidfWEcWGDhjHBNnWyxjLBNqGmxb4ksWGBgLUzwfYlwDYywrPzw50khrVigjVDhrVBsWGCMDIysGYndaSmJqWldi0mcWWlJaZksaXChGSihrYyw5ZCgfYzw50idfWEcK","zxjYB3iWmdm","zxjYB3i","6ycj5OUP5OIw5yIB5BU65lQl5lU25Rwb","zhjHzW","D2HLzwW","C2v0q2vUDgvY","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvU","6k+36ycj5OUP5yAf572U5yQO5l2C","x19UB3nLBgvJDa","C2v0u2nHBgvfEhrLBNq","Axnqyw5ty3jVBgXPBMC","6k+35AgR5yAz6k+35Rgc5Qch6k+g","zhjHz2DPBMC","Bwf4vg91y2HqB2LUDhm","i2iXyJfInW","5Qch562+5PAh5PYSicHSywjLBcK","5yc85PAh5PYS","Aw5PDev2zw50","BgfIzwXcz0jVCMrLCLjHzgL1CW","y3rYBeTLEq","zgvMAw5LuhjVCgvYDhK","DhjHBNnMB3jTu3rHDgu","AxndBgLJA2fIBgu","BwfYA2vYrw5K","z2v0q29TChv0zwrtDhLSzq","DxnLuMvM","yxr0CI4","AxrLBq","ChjLDLzPzxDWB3j0","zgLZywjSzuTLEwjVyxjKqteXEq","lNjLywn0lwzSB3DFx3bHBMu","y3jLyxrLu1zhug9PBNq","CMvHy3qTzMXVD19FyMfJA2DYB3vUzc1Wyxr0zxjU","DhjHBNnWyxjLBNq","zM9UDc1TzwrPDw0GDgv4Dc1ZBsb0CNvUy2f0zq","zgvMyxvSDhm","EMGTy24","zgfZAc1KB3q","zgf0yxnLDa","zgv0ywLS","BwiTmG","Bw91C2vTB3zLlMrYywC","ufjfu0vovevex0LnquDfx1njtvbmrq","5PYQ5RoO5yAmigrHDgfszxf1zxn0iowKHoEqHUwzQdOG","B25oB2rLrg91yMXLq2XPy2S","B25tzwXLy3rPB25eCMfNu3rHCNq","Dgv4Dc1ZBsbMB250lw1LzgL1Bq","CMfUz2u","CMvWBgfJzq","5PYa5BcrjhTTAw595lIQjhTSywjLBh0","Bwf0zxjPywW","CMvZB2X2zuzSB3DfDMvUDejSB2nR","B25ezwXLDgu","DgfYz2v0","uMvKB091DgXPBMvK","mtHgDxbmDLu","56s65l6l5PwW5O2U77YisLnptIdLR7NOSAhMIjBMLBdNU4tVViK","lwnHBNzHCY0","zxHLy3v0zuzSB3DoB2rLCW","DMvYDgLJywW","6k+35AgR5yAz5Asw6yoO5lQl5lU25Qch6k+g","x19VBG","CMvHy3qTzMXVD19FDMLLD3bVCNqTCg9YDgfS","jhTSywjLBh3MNidLPjOKE21HEh3KUkRLRzFNRky","5OUw5OU954MP5PAz5yIW55s75BId5yIB5BU66iQc54k5","zgf0ytPPBwfNzs9ZDMCREg1S","zxHLyW","zg9TtM9Kzq","DgfWCW","qMv6AwvYrwrNzuLUDgvYBMfS","ywjZB2X1DguGyM90Dg9TltqGCMLNAhqTncb6lteWigjNlxDOAxrLihjVDw5KzwqTBgCGC2HHzg93lwXNihaTmG","zMXVB3i","y29UDhjVBerPCMvJDgLVBG","y29UBMvJDgLVBKXVB2T1Ca","DxnLtgf5B3v0rwzMzwn0","AhnSka","zMLUzeLUzgv4","yxnpyNnLCNzHyMXL","rxzLBNqGzMXVDYbUB3qGAw5PDgLHBgL6zwqGzM9Yia","6ycj5OUP5PAW54MP5PAz","zgLTzw5ZAw9UCW","ihDOzxjLigeGC3rYzwfTihDHCYbLEhbLy3rLzc4Gww91ignHBIbWCM92AwrLigfUie9IC2vYDMfIBguSifbYB21PC2uSifjLywrHyMXLu3rYzwfTlcbbCNjHEsWGqxn5BMnjDgvYywjSzsWGB3iGsxrLCMfIBguU","rhjHz091DgXPBMvK","x2LUBMvYu3vIC2nYAwjL","u2v0DgLUz091DgXPBMvK","vgfICW","5Rc05BMZ5yIg5BId","vxbSB2fK","5A2x5l2t57kx57Ug","mZq0ntu4nefXzwPRsG","Bwf4wM9VBq","56YSideG6kgm5A+55BQu56YSideG5P2H5OYh5zcr5PYS5z2x55Qe6l+E57Q/77Ym56YSidiG6kgm5A+55BQu56YSidiG5P2H4OcM4OcM77Yi6Ag65BQp5lIo55s75BId6l+E57Q/5RE75yQG6Ag65BQp5lIa6iE077Ym5ywi6l+E5zYO5yMn77Yj44cc5lIn5RE75yQG6kgm5PE277YA5y2v5ywL6l6555sO","x3rYEvn1yNnJCMLIzq","lY8G5PsV5OYb5A+56lgH5OIw5PwW57Ue5Qc85BYpcI8ViowVUEIXOEAGVow8J++8MGP7cIaGiNnWzwvKiJOGmcWkicaIDgvTCci6idi1laOGicjUzxn0zwqIoIb7icj4iJOGmsb9cN0kcI8VioAvSoE7HoAGVow8J++8IoAVJ+MHUEMCGowmHEwqQYbUyw1LiowTL+AUTEEuQos6JUMaIEAlQE+8IE+8MGPBcIaGEYaIBMfTzsi6iclMTyVNGRKXiIWGiNzHBhvLiJOGmtaWlcaIDw5PDci6icjTBsiGFsWkicb7icjUyw1LiJOGiUA1I+EcUtiIlcaIDMfSDwuIoIaYmdaSicj1BML0iJOGiM1TiIb9cL0","zgvMyxvSDe5VzgvZ","5y+V6lcd5Pw05AsN5Bcp","CMvSzwfZzuXVy2S","ywzMzwn0C1K","yxjPyuXPDMvnzxnZywDL","y2HHBMDL","B25oB2rLrhjHzW","y3vYCMvUDe9IC2vYDMvYCW","C291CMnLrxzLBNq","r3jHCgHwAwv3","6iQc54k55PwWoIa","DxnLu3rHDgu","D2fYBG","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCG","DxbKyxrL","BMfTzq","Bw9Kzq","BxqTmsb0zxH0lwfTyMvYltGWma","CgHHBNrVBq","zxHLy3v0zuv2zw50rMXVDW","ChjLDMLLDW","57YP5Ps+5Q+u5l6l","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY00igGTncbIzY1NCMvLBI01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","rxzLBNqGzMXVDYbLEgvJDxrPB24GzxjYB3i6","jhTSywjLBh3MNidLSi/LGlZKUlOKE21PBN0","C2vSzwn0zwroB2rLswq","tKvhqvrjvKvFsu5gsu5jvfK","5l6l5AAc77YABMf2AwDHDgvuB+oaGw9Wzw5eAwfSB2C","C3rHDgu","ugXLyxnLig9UBhKGAgLKzsb0AgLZigf0DhjPyNv0Aw9UihDOzw4GEw91igfYzsbZDwjZy3jPyMvKihrVifjLywn0iezSB3CGuhjVoIbODhrWCZOVl3bYBY5YzwfJDgzSB3CUzgv2","y2HLy2TwAxnPyMLSAxr5","ywjZB2X1DguGDg9WltaGBgvMDc0WihnLBgvJDc1UB25L","yw4GAw52ywXPzcbVyMPLy3q","iokaLca","AxnqCMLTyxj5","Aw52zxj0","5PYQ55+L5yAf572U5yQO5l2CoIa","EvnUyxbWzwq","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBw91Da","ywn0AxzL","C3r5BgvuD2vLBG","Dg91y2GW","y2XVC2vZDa","57Ur5A6A5A2x5Q61","jhTSywjLBh3KUi7MQkhLVi/KUi3LJlNPHy0KE3bHDhrLCM59","DxnLq29UDgv4Da","y29UBMvJDgfIBgvLBMq","zgvSDgfy","CMvHy3qTzMXVD19FzwrNzs0","qM90Dg9T","6ycj5OUP5PwW5O2U5A2x5Q61","zgf0yvbVB2W","y29UDgv4Dg1LBNu","zM9YBwf0uMDI","C2nHBgvy","rxLLt3v0BgLUzwq","mdeW","Bw91C2v1Cc5KCMfN","C2v0sw50zxj2ywW","zgvMAw5LuhjVCgvYDgLLCW","zMXVD0rHDge","x2vYCM9Y","5PI+56s6572r5Qc8","5lIk5lYG6zsz6k+V","C2HPzNq","y2f0y2G","y2XHC3noyw1L","BM9KzunSAwnRrgLZDgfUy2u","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+pgnPCMnSzsbJEd0ImZaIign5psiZnsiGCJ0ImJaIigzPBgW9iInIzMjMyMyIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+phjLy3qGEd0ImJuIihK9iJuIihDPzhrOpsiXmciGAgvPz2H0psiXnsiGzMLSBd0IiZu5ntK1osiVpJXWyxrOigq9iK0ZmcaYmcbmmZaGmZuGttiWidmWifeZmca0nsa0mcaZmciGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIigzPBgW9iM5VBMuIlZ48l3n2zZ4","y29UzMLN","zML0vMLLDW","x+wKJEwiTG","tM9KzsbVBKnSAwnRoG","zxH0zxjUywW","Dgv4Dc14CYb0zxH0lwDYyxKTndaWihCTnq","C3zN","yM90Dg9TlxjPz2H0","BM9YBwfSu3r5Bgu","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iInMywfKmtqIihj4psiYmciVpJWVC3zNpG","CM91BMq","z2v0sw5ZDgfUy2u","ywjZB2X1DguGlxrVCc02igXLzNqTmcbIzY1IBhvLltuWmcb0zxH0lxDOAxrLihrLEhqTEhmGChGTmIbWEs0WlJuGCM91BMrLzcb3AgL0zxnWywnLlw5VD3jHCa","y29TCg9ZzwrqyxrO","Cg9PBNrLCG","twfYA2vYihr5CguGiG","zxHWyw5Kzwrszwn0","C2fTCgXLiePtt04G5PEG5Pwi","5PwW5O2U6zUgia","DMfSAwrHDgvgAwvSzhm","C3rHCNrxAwr0Aa","y29TCgfYzurVy3vTzw50ug9ZAxrPB24","oMzVy3vZlxzPC2LIBgu","44cn77Yi5Pw05z2x6l+u5zUE5yc877Yj","y2fUy2vS","BgfIzwXdB2XVCG","su5qvvq","zNjLzq","C2nYB2XSvg8","Dg91y2HZDgfYDc5KCMfN","zxHLy3v0zuj1AwX0Aw4","zwrPDgLUz0v2zw50uM9VDeLK","i2y1mJiYza","zMXLEc0XigjVCMrLCIbIB3jKzxiTz3jHEs0YmdaGCM91BMrLzcbWlti","DxnLtM9KzunVBM5Ly3rPB25ZoIboBYbUB2rLieLeigzVDw5KlIbdywXSihvZzu5VzgvdB25Uzwn0Aw9UCYbPBNnPzguGysbJDxn0B20GtM9KzsbVCIbWCM92AwrLigeGBM9Kzsbjrc4","C2LU","5PU05O2I54MP5PAz","BM9KzuXVB2T1Ca","yMCTD2HPDguGChGTmsbYB3vUzgvK","CMv0DxjUig51BgW7","i2zHywqXna","Aw5PDgLHBfrLyxjKB3DU","q1vtve9n","yNvIyMXLCW","zgvMyxvSDfj1BNrPBwviyw5KBgvYCW","zxHLy3v0zvnPBMDSzuzSB3DoB2rL","z2v0uhjVDg90ExbLt2y","z2v0sw5PDgLHBfn0yxrL","w1jLywn0iezSB3DDoIa","BM9Kzuv4DgvUDa","CMvHy3qTzMXVD19FzwrNzxm","zw5HyMXLrxzLBNrgBg93","u21VB3rOu3rLCevKz2u","zg93BMXVywq","5z6c55U05yIg5BId","5lQl5lU25Rwb5l+D5A2y5OIq5yQF","Bwv0yuTLEq","yNvPBhrPBKLK","ywzMzwn0C1G","yNv0Dg9U","5lQm57U056cb6l+h5PYF","C3rYAw5N","5l6l5AAc77YABg9HzfrYzw5K44cbzMv0y2HezxzPy2vmAxn0","y3vYC29YlwDYywi","t3b0Aw9U","6zw/54k5lEEFREEcUEs6PoABVW","mcaWidmYidu","C2TLD1G","BwLUwM9VBq","ChjVzhvJDgLVBG","yxjPyuXHyMvS","CMvWzwf0kdGSidfMCIK","twf0zxjPywXqyw5LBa","u3rYAwn0","zwXLDMf0zuvKz2vZt25tzwXLy3q","B25dB25Uzwn0rw5K","5OUw5OU95PEl6l2S","Aw50zxjHy3rPB25xAwr0Aa","Aw52B2TLuNvUDgLTzuHHBMrSzxi","zgLZCgf0y2HfDMvUDa","Dw5PDa","ow9QtMXTsW","AxnfzgL0Aw5NrxzLBNrgBg93","w1jLywn0iezSB3DDifrOzsbWywrKAw5NihzHBhvLici","6ycj5OUP55s75BId5yQG5ywL","AxnAB29TAw5Nt3jqyw5UAw5N","C2v0","6l6t5ywL5yc85PAh5PYS","AxndB250zw50rwrPDgfIBgu","Cc0ZigjNlwjSDwuTntaGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKlwXNig1Iltq","zM9UDfDLAwDODa","x2fJDgL2zq","5OUw5OU95QIH5BYp","C291CMnLtgfIzwW","C3fYDa","yM90Dg9T","yM94lxnLBgvJDa","mda4","zw5HyMXL","mxb4ihnVBgLKicnKowq5zdK","ug9Wy29UzMLYBq","y29UDhjVBeLUzM8","lxDLyMTPDc10yxaTAgLNAgXPz2H0lwnVBg9Y","zxHWCMvZC2LVBG","DhjHBNnSyxrLqNK","6k+36ycj5OUP6kEM5y+r5PA55BYp","Dg91y2HTB3zLlMrYywC","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbVDMvYzMXVDY1OAwrKzw4","y29UDgfPBG","zMXLEc0Xig92zxjMBg93lxKTyxv0BYbWlti","igHHBMrSzsbPzdOGiG","Aw5ZDgfUDa","5yIG6zMK5zco5PEG5Rov5OgI5Asn77Ym5PIV5zcM57UN57UT77YF","6iQc54k55Qc55O2U54Q25Ocb6kgO6l6+5BYp6k6H566x57Ut5P6C5PI+56s65A+55BQu54MP5PAz77Ym56YS5lIa5lIQ6l+u5zUEihrYDwuG55Qe54Q25Ocb5lI65B2t5yMn54Q25Ocb","xMHZBfWO","5A+85ywL5OIq5yQF77Yb","5ywL5y+c5zcn77Yi5OYj6l+E57Q/6Ag65BQp77YjoIa","DhjHBNnSyxrLwq","BwLU","yxjNCY4","C3rHCNrbBMDSzq","C2v0uhjVCgvYDhK","5Asw6yoO5PA55Rov","CM90yxrL","zgfYAW","jhTSywjLBh3MLBdPH4/POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","CMvHy3qTzMXVD19FBM9Kzxm","5lQl5lU25z2x5PYQ6ywn572UigrHDgfszxf1zxn0s2v5","DY1MDwXSigGTzNvSBa","yMCTD2HPDgu","5yIG6zMK5B2t6Ag1","zM9JDxm","BM9KCMfN","57Ur5A6A5PwW5O2U6zUg","y2XVC2vK","zw5Kug9PBNq","mtjWEa","DxjSka","w0rfufjfq0fururDifrOzsbGzgvZDhjVEwaGBwv0Ag9KihDPBgWGyMuGDw5ZDxbWB3j0zwqGAw4GysbMDxr1CMuGDMvYC2LVBI4Gsw5ZDgvHzcb1C2uGDw5ZDwjZy3jPyMuGzNvUy3rPB24GCMv0DxjUzwqGyNKGC3vIC2nYAwjLlIbfDMvYExrOAw5NihDPBgWGyMuGz2fYyMfNzs1JB2XSzwn0zwqGAwyGC3rVCMuGAxmGz2fYyMfNzs1JB2XSzwn0zwqU","AgfUzgXLCW","ChjLDG","ywn0sw5ZAwrLsw5WDxrxAxrOtw9KAwzPzxi","C2v0ug9PBNrLCKnHChr1CMu","mta4ma","tgLUzq","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVViZPOBSGCMv0DxjUihrYDwuVzMfSC2xVVjVMTyVNGRNMLBdNU4tMJiKGCgfYyw1Zq29KzsdLKiJLUBBOV5SGzgf0yEoaGG","q29UC3vTzxi","BM9KzvK","zgLZCg9Zzuv2zw50uM9VDfbPCgvSAw5L","tgvMDe91DgXPBMvK","DgHYB3DUrxjYB3i","rMfPBgvKihrVihbHCNnLigrYB3bWzwqGBwf0zxjPywW6","5y+w5RAi5ywO6ycj","CMDIysGYncWXndqSmJu1ldaUmdGP","ie0Wia","vxbtCxvHCMvpDxrSAw5Lza","zgf0ytPHChbSAwnHDgLVBI9QC29Uo2nOyxjZzxq9DxrMltGS","B3jPz2LU","CgfYC2u","vMvYDgLJywXbBgLNBKjVDhrVBu91DgXPBMvK","5Rwl6k+v5PwW5O2UicHku09okq","Bw91C2vKB3DU","u3rLCevKz2vjBNrLCM5HBa","DMfSDwvtB3vYy2vdB2rL","CgfYzw50tg9VA3vW","yMfJA2DYB3vUzeLTywDL","rg90CW","y2vUDgvYignLBNrLCG","zwzMzwn0qwXSB3DLza","uMLNAhrpDxrSAw5Lza","Aw5PDgLHBeHLAwDODa","C3LTyM9S","CMvJDa","AM9PBG","77YA5lI65Q+p5lIQ5A2q6iQc54k56ywn572U5AsA5lIQ54Q25Ocb5zkm57Ur5A6A","zgf0ys1Pza","BwiTncbWltmGyMCTyw1IzxiTntaGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwfTyMvYlteWmcb0zxH0lxnT","CgfYzw50swq","CMLUzY00ihjPBMCTyMX1zs00mdaGCMLUzY1VCgfJAxr5ltuW","DMLLDW","zxjYB3iWmde","DxnLCKfNzw50","sg9YAxPVBNrHBa","DxjSkcm","y2fSBa","BM9YBwfS","twvZC2fNzsdMJ5dNPlRLHOxLRRNKUlRNQBO","rw1WDhK","6k+36ycj5OUP5zgO","57Ui54k5ifK","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltq","DxnLrM9YBq","y29Uy2f0","zwrPDa","zgf0yvjLCxvLC3q","CMvZAxPPBMC","y2XVBMvoB2rL","iZaWmdaWma","Aw5JBhvKzxm","5yc85Qc35BYp","Dgv4Dc1SzYbMB250lw1LzgL1Bq","z3jPza","rNjHz21LBNq","Aw1N","B25czwzVCMvezwXLDgu","y2XPzw50vg9W","BwiTma","C2nOzwr1BgvY","CMvTB3zL","C3rHCNrZv2L0Aa","DxjSkcCJ","igvYCM9YCYbVy2n1CNjLzcbKDxjPBMCGDw5ZDwjZy3jPChrPB246cG","DxnLCLnLBgvJDgLVBKfJDgL2zq","C3zNigXPBMu","AxnbCNjHEq","yxjNCW","Dgv4Dc1NCMf5ltqWmcb0zxH0lxHZ","y2vPBa","C3bHy2u","5OUw5OU96lcd5Pw05AsN5Bcp","BM9Wyw4","mda5","x3bHCMvUDgfNzq","x25LEhq","CMvHy3qTzMXVD19Fy29UDhjVBhmTAw50zxjHy3rPDMu","C2uTCMvZAxPL","6k+35ywi57Ur5A6A5PwW5O2U6zUg","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg5l2C5lI65PwW5O2U5RQq","5PAh5lU25lIk5lYG5lIT","C2vSzwn0ywjSzq","AxneCMf3Aw5N","5lIk5RI46l+E57Q/iokgKIdMNkZLNzCGyxjNCYdPLk7LKi0","CMv0DxjUihrYDwu7","57Yw6l6r5lQl5lU25z2x","ywn0Aw9UCW","B25qB2LUDgvYrg93BG","57Ui54k5ifG","BM9KzurYywDuAhjLC2HVBgq","ywXS","y3jLyxrLq29UDgv4Da","z2v0rwrNzuLK","zxjYB3iWmta","wvLzwq","DY1WEcbOltyGyMCTz3jHEs0ZmdaGBxGTmG","CMvTB3zLqxr0CMLIDxrLtLm","tg9VC2u","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMu","zM9Yy2u","zwrNzxnszwnVBM5Ly3rHyMXL","y29UDgvUDa","zMXLEc0Xig1PBI13lta","C291CMnL","Ac1MDwXS","vgHLig9SzcbLzgDLihDPDgGGAwq9","x196B29TAw5N","5OMl5yQO6l6t5ywL5PI+56s655Qe5yc8","5Pw05z2x6l+u5zUE5yc8","CM90yxrLka","yNvPBgrnzxjNzwreyxrHuMvJB3jK","zMLYC3rfBgvTzw50q2HPBgq","y2HLy2TLza","CMvHy3qTzg9T","y29UzMLNrwrPDg9Y","5B+R6ycF5A+56B2q","zgjSy2XPy2SUEM9VBq","z2v0u25HChnOB3q","Bwf0CML4","Dg9qCM9TAxnL","B3bHy2L0Eq","vevyvefsrue","CgfYzw50rwXLBwvUDa","DhjHBNnSyxrLkc0","6iom5PMV6iMY","zwrNzuXVB2T1Ca","zgv2AwnL","zgLZy29UBMvJDa","5zU+54Mh5zcn56EW","6k+36l6t5ywL5PcC57sI5yAf5A65","DY0XmcbOlteWig9IAMvJDc1JB250ywLU","Aw52ywXPzcbJywXSyMfJAZOG","5PAW5BU65lQl5lU25Rwb","BwfYA2vY","5OMN6kgm6kgO6l6+5BYp","AgfZrxjYB3i","vMvYDgLJywW","u3LTyM9SlMfZEw5JsxrLCMf0B3iGAxmGBM90igrLzMLUzwqU","yMLUza","qxjYB3DdBg9Zzwq","6k+36ycj5OUP5lIa5lIQ6iQc54k5","y2XPy2TeAxn0yw5Jzq","B25dBgLJA0nVBM5Ly3rfBMq","y3jLyxrL","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWma","C3rVCeLTBwvKAwf0zvbYB3bHz2f0Aw9U","CMvHy3qTzMXVD19Fy29UBMvJDgLVBMXPBMuGCMvHy3qTzMXVD19Fy29UDgfPBMvY","Aw5WDxrZ","CgfNzvG","tgvMDa","BwfUDwfS","B25tzwXLy3rPB25eCMfN","w3jVBgu9iMnVBwjVyM94iL0","wM9VBu91De91DgXPBMvK","B3zLCMzSB3CTAgLKzgvU","C2vSzwn0zwrfzgDLCW","qMfJA2DYB3vUza","ywjZ","5OMa5PYj57Ur5A6A5Q2K5PwW5O2U6zUg55Qe54Q25Ocb5Bcg6iEQ5yQO6kEJ6zMK57Ur5A6A44cc","yw5PBwf0zwq","5RE75yQG5lQl5lU25Rwb","EfnUyxbWzwq","Ac1MDwXSigzSzxGGAxrLBxmTy2vUDgvYigP1C3rPzNKTy2vUDgvYigjNlxDOAxrLigjVCMrLCI1SigjVCMrLCI1NCMf5ltiWma","lM5VA2v5","twLUAu1HCa","zg90CW","u21VB3rOu3rLCevKz2vjBNrLCM5HBa","y29Z","C2v0tM9Kzxm","lNH5zMXVD19FDMLLD3bVCNq","mda0","C2vSzwn0Aw9U","uMvHy3qGrMXVDYbHDhrYAwj1DgLVBG","z2v0vMLLD3bVCNq","BwWTmG","Dgv4Dc1SzYbMB250lxnLBwLIB2XKihrLEhqTz3jHEs04mda","yxbWzw5K","DhjHBNnSyxrLrxH0zw50","CMvZzxq","5PAh5A2x6AkC6iMY","yMfZzwXPBMu","Bw91C2v1Cc56B29T","576K57Ue6iQc54k5","C2v0twf4wM9VBq","CMvHzefZrgf0yvvsta","CMvHy3qTzMXVD19FzwrNzs10zxH0yMC","sxrLBq","5lIn5zcm5PA55BYp5A+55BQu5lIl5PA55lIn5zcm6ywn572U6Ag5","CMvHy3qTzMXVD19FyxjYB3DOzwfK","6ycj5OUP6kEM5y+r5PA55BYp77Yire9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO77Yj","zwXLDMf0zu5VzgvZt25tzwXLy3q","vhLWB2DYyxbOEq","Dg9tDhjPBMC","DgLTzxjjza","CgfUu2nYB2XSvgLTzw91Da","Aw5SAw5LlwjSB2nR","CM9VDa","CMvTB3zLuhjVCgvYDhK","BM9KzvG","ttmUnJKYidqUnJnJmc0UntmUnc0Uotm4lJKZos0Uotm4AduUmJe1vJbinc43mdHdmI4XmYaWidaGmI4WntqGmca0lJyZDJuUmJe2AdmUnJKYvJqUnJmXEK0YnY4ZntqGmgGTns4YDJmUnJKYAduUmtDJlJuZidaGlJK4nc40lJK4nc45mZL2ns4YmtvimZjwnc42mZfbnc42mJqGnc42mJqGmcaWmdi3lJm1ncaWEM0Uotu0idi0lJGZyZaGlJuZmI0Unc45nc0Uotm5lJK0Ac01lJiXnxyZlJC2ogG1lJiXnwmYlJu3nYaWidqUnJmXltiUmtmGnc42mZeTnc43mdD2ltuUmtm5Ac0ZlJy5mNy1lJeZoxPTltiZlJy3nY45ngmTlJuZmsaWls45mZKTlJqTlJKZos0Uotr2ltuUmtm4sdb2ns4XmZLJmcaYlJu3nYaYlJeZidqUnZa3idqUnZa4idqUnZa3AduUmtm4vJi1lJC3sdqUnJmXEG","5PYQ55+L57g75z6l","q29UDhjVBa","55s75BId566H55cg","C3rVCfbYB3bHz2f0Aw9U","y2HHBMDLzfrVDwnOzxm","B2jZzxj2zxjZ","6lEZ6l2S55s75BId","AgfZqxr0CMLIDxrL","ChjVBwLZzq","AxntzwXLy3rLza","mdeY","su1br0u","BgLZDa","5yIG6zMK5ywO6yoO","6ycj5OUP6k+L5A2x5Q615A+55BQu55Qe5yw35l2t5yc85lUL5A6A5l2n5PwW5O2U6Ag5","54Q25Ocb6kgO6l6+5BYp5OMN6kgm5AsX6lsLifS","mdeZ","u1fsvdi","CMvHy3qTzMXVD19Fy29UDgfPBMvY","Dg91y2HZDgfYDa","rwrPDe91DgXPBMvK","5z+656ga5B2I54Q2","CMvHy3qTzMXVD19FAgfUzgXL","5OUw5OU96lcd5Pw057Ui54k5","Bw91C2u","5A+85ywL55s75BId","qgfUDc1KzxnPz24VAwnVBNm","AxnwywXPzenVBM5Ly3rPB24","y2HYB21L","CgfZDa","vgfIBgu","Dg91y2HTB3zL","Dg9mB3DLCKnHC2u","BM9eCMfNq2XHC3noyw1L","qxjYB3C","rgvSzxrLt3v0BgLUzwq","zML0vMLLD09WDgLVBNm","z3jPzcbNCMLKlwnVBhmTncbNyxaTmG","mdaY","rNjLzq","zhjVCevMzMvJDa","C3bHBG","DMLLD3bVCNrjBML0AwfSAxPLza","q29SDw1UsgvPz2H0t3v0BgLUzwq","ru1qvfK","ChjVzhvJzq","i2zMzG","yM91BMreyxrHC2v0qMLUzenVzgu","6iom5PMV5zU+54Mh","C2v0qxr0CMLIDxrL","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9YCW","x25HBwvZ","57Q/5P2H5BgE5OcN","yxv0B1bHBK9Uq29UBMvJDa","CMvHy3qTzMXVD19FCMvZAxPLlwnVBNrYB2W","57Ue5yAf55s75BId77Yi5OYj6Ag65BQp57+76Ag177Yj","C2v0vMLLD3bVCNrdB25ZDhjHAw5Lza","zxjYB3iWmtm","ywjZB2X1DguGDg9WltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","B2zMC2v0","y2HLy2TIB3G","BgLZDgvUzxi","zxjYB3iWmti","5zcn56EW5lIn6io95lI656M6","ttmYide4lJeZm0GXoc4XmZnwmZjOltqUmJy2vJe4lJeZm0GWDI00lJi2nMGXmY44nJDwmgG0lJi2nNyXmY44nJDimZj6","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWidGGmca0lJu3msaZlJqYosa0lJu3msa3lJyXoxyZlJa0oeGZlJa0oeeZlJa1nIaZlJa1nIaWidaWmcaXmY43mtr2mtuUmJm4qtmUmdu2idmUmdu2idaGmdaZlJa0ocaZmMGXoc4YodvHmY4WntyGmY4WntyGmcaWmdmUmdq4ltmUmdq4vJeZlJCXngeZlJa1nIaZlJa1nIaWidaWltmUmdq4ltmUmdq3EK0XmI4XosaYnc41mZnHmY4WntyGmY4WntyGmcaWms0ZlJa0nY0ZlJa0nYaZlJa1nIaZlJa1nIaWidaXmY4WndCTmY4WndGGmY4WntyGmY4WntyGmcaWmtmUmdq4idmUmdq4idmUmdu2idmUmdu2idaGmdeTmY4WndGGmY4WndD6BtqUnZi0lteZlJG2nKG3lJq2n1y3lJyXowmWltiUntKGmI4XmZmTnc43mJqGnc43mJmTnc43mJqGmI41oteGmca0lJCYncaYlJeZmYa0lJCYnca0lJCYnhyZlJa0ohO","5A+85yE65OIq5yQF77Yb","57Ue5yAf6l+y5RkH5PYj55s75BId77Ym5lUo5lIk5PA56ycj5OUP5yQG5ywL","D2HLzwWUEM9VBq","DhjHBNnMB3jT","5B2t5yMn54Q25OcboG","y29UDhjVBhmUzML0vMLLDY5HCMLHtgfIzwW","ksbZy2fSzsG","lNn2zW","CMvXDwvZDefUAw1HDgLVBKzYyw1L","DMLZAwjSzq","572U5lQo6Ag25Bgc","CMvHy3qTzMXVD19FzwrNzs1PBNrLCMfJDgLVBG","zNjVBq","Aw5JBhvKzuHPzgrLBK5VzgvZ","igLZig5VDcbHignVBNn0CNvJDg9Yig9Yig51BgW","5Q+p5lIQ5PwW5O2U6zUg5y+V5lUL5PIViePtt04G5A+56lgH5QIH5P2/77YiuMvJB3jK77Yj5OIw5PwW57Ue44cc54Q25Ocb57Ur5A6A5zco77Ym6kgO6l6+5BYp562+5zcn5lI6","y29UDgv4Da","zxjYB3iWmdq","54Q25Ocb5yIx6kgO","iIbYEd0InciVpJWVC3zNpG","zgvSzxrL","6iQc54k55zcn56EW","6Ag65PE26zki5PEl6l2S6kEs5BQM77Yi5BQM77Yj","sxqGC2vLBxmGDgHHDcb5B3uGAgf2zw4NDcbSB2fKzwqGDgHLihn0EwXLCY4GugXLyxnLigLTCg9YDcaNqhH5zMXVDY8","re9ntwf0CML4uMvHze9UBhK","y2fUDMfZ","y3vYCMvUDfrHCMDLDa","zNvUy3rPB24","5lIl5lIa6Ag1","B25ZzwXLy3rZDgfYDa","z2v0","uMLNAhq","yxjPyuXHyMvSq29UzMLN","Dg9izxHtDhjPBMC","BMfUB2LK","6k6+5Ash5zU+5Qch","Aw52zxj0wq","CMvHy3qTzMXVD19FyMfJA2DYB3vUza","6l6t5ywLiePtt04G5Qc85BYp55Qe5Rwl6k+v5PwW5O2U77YB5PYQ57Yw6l6r5yMn55s75BId6lEF6zQp5Asw6yoOigrLzMf1Bhruzxn0rgf0yE+8IowMGUEBKEAoP+AoQoMaGE+8Iq","CMDIysGWldaSmcWWkq","C2fTCgXL","Cg9PBNrLCLG","5Asw6yoO5PA55Rov5Qch6k+g","BMv3wa","y29UDgfPBMvY","C2XPy2u","idaGvG","qxjYB3Dmzwz0","zg90","tgLUzxm","t25SEsbJAgLSzcbUB2rLCYbJyw4GDxnLigeGCgfYzw50igv4DgvUDc4","CMvQzwn0","Dgv4Dc14CYb0zxH0lwDYyxKTndaW","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltm","qMv6AwvY","tw9KDwXL","yM91BMreyxrHC2v0qMLUzfzHBhvL","wM9VBsbjBG","CMv0DxjUigzHBhnLoW","5lIk5lIa6Ag1","DMLLD3bVCNq","Aw1Hz2uVkG","z3jHyG","5Qgg6ycj5QIH5BYp","Aw52ywXPza","ywjZB2X1DguGDg9WltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","Aw5MBW","ywjZB2X1DguGAw5ZzxqTmcbWB2LUDgvYlwv2zw50CY1UB25L","ENvZDgfUza","Aw5SAw5Lu2nYAxb0","AxnjBNrLCM5HBa","yMvMB3jLC3rHCNq","Cgf0Aa","cIaGicaGicaGica","ChjVDg90ExbL","Dw5KzwzPBMvK","6k+36ycj5OUP55UU5Qch55s75BId","zgLZDgfUy2u","CgfYyw1ZtMfTzq","B3jKzxi","q29SDw1Uv2LKDgHpDxrSAw5Lza","DxbKyxrLtM9KzuLUDgvYBMfSCW","C2nOzwr1Bgu","ltuSltqGmcWWic01ldq","6k+36ycj5OUP5PYi5lU9","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+phbHDgGGzd0ItteWidiWieWZmcaXmcbmntaGmJaGtduWidqWieWZmca1mcbmmtaGndaGwIiGzMLSBd0Ii2jMyMzIzIiGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIlZ48y2LYy2XLign4psiZmciGy3K9iJmWiIbYpsi4iIbMAwXSpsiJmtG5mgzMiI8+pc9ZDMC+","DY1MDwXSigGTzNvSBcbMBgv4igzSzxGTy29SigP1C3rPzNKTy2vUDgvYigDHCc0X","zMLYC3q","zgf0ytPPBwfNzs9ZDMCREg1Sla","DMLLD3bVCNqT","C2nHBgvz","CMv0DxjUigfYz3m7","zMXLEcbNyxaTna","DxnLCK5Vzgu","zgvNksa","sgfUzgXL","AwrLBNrPzMLLCG","6k+35Rgc5PwW5O2U","y29UBMvJDgfIBgu","Aw5Uzxjive1m","zMXLEcbMBgv4lwnVBa","C2TLD1GO","Bw9KztO","CgfYDgLHBe9IC2vYDMvY","zxzLBNruExbL","6ycj5OUP5zgO","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc94BwXUCY8","5lQl5lU25Rwb5yIB5BU65OIq5yQF","yxjNCY5WCMv2","ChjPBwfYEq","BM9KzxngB2n1C2fIBgu","D2LKDgG","ANn4CW","5Qch562+5Qc35BYp","yxbWBhK","5lIl5lIa5BM0icHdB250CM9S6zsU5yQG5y+Z5PA55zcr6zsUkq","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iImXodKWzMyIihj4psi0iI8+pc9ZDMC+","DhjHBNnPDgLVBG","CMvTB3zLqxr0CMLIDxrL","qMfJA3nWywnL","C3rHDhvZtgLZDa","zxzLBNq","Aw5Zzxj0qMvMB3jL","qwXPz25sAwDODe91DgXPBMvK","Aw50zxjWB2XHDgvcDwLSDgLUu3rYAw5N","CMvJEwnSzufZEw5Jswq","CMvZAxPLrgLYzwn0Aw9U","6BYG5Qch6yEk5Ps+","6kEJ6zMK57Ue5zci","BM9Kzvf1zxvL","zxzHBhvHDgvtDgf0DxnfEhbYzxnZAw9U","DhjPBq","Dgv4Dc14CYb0zxH0lwDYyxKTntaW","y3vZDg9T","5zcr5zcoidmG6Ag1","u2LTCgXLqMv6AwvYrwrNzuLUDgvYBMfS","y3jVC3m","zxjYB3iWmdi","AgvPz2H0","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlti","6iEQ5A6A5lMj","x19LC01VzhvSzq","y3jLyxrLrgvMyxvSDfn0yxr1CW","Bw91C2vTB3zLlMrYywCGBw91C2v1Cc5KCMfN","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi4mci+pgvSBgLWC2uGy3G9iJmWiIbJEt0ImtaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJXYzwn0ihG9iJuIihK9iJeWiIb3Awr0Ad0IntaIigHLAwDODd0InJaIigzPBgW9iInMmgyWzJaIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+pgvSBgLWC2uGy3G9iJmWiIbJEt0InZaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJWVC3zNpG","5zYg6kEs55+P5B2I","DhjHBNnSyxrL","yM9VBgvHBG","5y+V6ycj77YA57Ur5A6A5zco6kgO6l6+5BYp5lIT55QeigrHDgeG5lYA5ywi5zci5BM26k+L5PwW5O2U6zUg55QeihnHBxbSzE+8JowgJEwqIow5TUEuU+w4G+s8OowfPEEAHoI/KoIHJoAxTUAvSoAnRUoaGUs4JEE7KEwUMUAxTIbKyxrHios7HEADPEIhQUI/KoIHJoAxTUoaGG","6lw354k5ifK","5A+85ywL5lI65PAW55s75BId77Yi5lIn6kAg55Uw5B2t5yMn55s75BId77Yj","Ac0XmIbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltqGyMCTz3jHEs01ma","5A2x5Q616lEV5B6e77Yi54k55yE75O+s5ywL6kgO6l6+5BYp77Yj","y2XPy2S","Bw92zwq","t1busu9o","BM9Kzu9YAwDPBG","B25fzgDLC0rLBgv0zq","C2vSzwn0q2HPBgq","5BYa5AEl5A2J5BQM","57Ut5P2F5PE26zE0","5l6l5AAc77YACMvMCMvZAcdMIjyGCgfYzw50oNjLBg9Hza","imk3ia","Dg91y2HLBMqUzhjHzYb0B3vJAgnHBMnLBc5KCMfN","jhbYzxyU","5zYO562B6ycj6Ag55lIT5PcC57sI","5lIl5lIQ5PYiicJNV7VPOBxKUiVPLk4P","54k555s757Q/77Yi5lIT5B+d57Q/77Yj","zM9YBwf0shnS","C2HVD0DYAwq","5BYa5AEl5PEL5PYF","y29UDgvUDgvKAxrHyMXL","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iIm1mMm0mweIlZ48l3n2zZ4","y29UDhjVBhmUAw50zxjHy3rPDMuUyxjPyuXHyMvS","5PwW5O2U6k+35Rgc","zxzLBNrgBg93","DgLTzq","zxH0zxjUywXiyw5KBgvYq2f0ywXVzW","twv0yq","yMX1zq","z2v0vMfSDwvgCM9Tugf0Aa","y2XPzw50tgvMDa","CMvHy3qTzMXVD19FAgfUzgXLlq","C2fTCgXLiow/HEMHU+AyRYbku09oiowVUEIXOEAiLUAvSoE7Ha","Aw5qCM9NCMvZCW","BwvTBW","x3bHCMvUDa","yxv0BW","566H55cg55s75BIdlI4U","Dgv4Dc14CYb0zxH0lwjSDwuTntaWigzVBNqTyM9Sza","Cc0ZigjVCMrLCI10igjVCMrLCI1NCMf5ltiWmcbIzY1NCMf5ltuW","5y+V5OUw5OU9","zg91yMXLq2XPy2S","A2v5Dxa","CgfUzurYywDNAw5N","5PQc5PEG5PwW5O2U","lMPZB24","DxbKyxrLtM9Kzq","wM9VBuLUt3v0BgLUzwq","rML0ifzPzxC","zxHW","yw55","y29UBMvJDgLVBG","lteWic0XmcaYmcaYma","CMvTB3zLq2HPBgq","6BYG5Qch6l+B5ywL","qxjYB3DsAwDODa","C2v0rgf0yq","B3b0Aw9UCW","zxzLBNrMBg93","zwrNzxm","tK9erv9eruXfveu","CMvTB3zLrxzLBNrmAxn0zw5LCG","6BYG5Qch5OYj5lIl","rgf0yvbVB2XnB2rHBa","y3jPC3bfzgDLCW","z2v0u2vYDMvYu3rHDgu","5A+85ywLiePtt04","q2fUj3qGy3jLyxrLigvKz2uUiefUigvKz2uGBMvLzhmGysbZB3vYy2uGyw5KigeGDgfYz2v0lG","C3r5Bgu","x2jSyw5R","5BEM5A+56B2q","u3LTyM9SlML0zxjHDg9YigLZig5VDcbKzwzPBMvKlG","Aw5PDgLHBfDPzhrO","ugfYzw50ig5VzguG","ugfYDgLHBa","BM9Kzuv2zw50qMLUzgLUz3m","A2v5zg93BG","C3bHy2uTEs0Z","5l+D55wz5Bcp5PwW5l2n","56gU6k6K5yIG6zMK","AgfZvMfSDwu","DgfYz2v0q2fUDMfZswq","x2fKzfbHCMvUDa","BM9Kzxm","yxr0CLr3zwvU","yxv0BY1ZDgfYDc1YzxzLCNnL","vw5ZDwjZy3jPChrPB25fCNjVCG","yxbWzw5Kq2HPBgq","5lIk5lIa5BM05lUJ","z2v0qxr0CMLIDxrLtLm","DY04igGTmc41igjNlwDYyxKTndaW","zM9YrwfJAa","tufyx1zbtfvf","56gU6k6K5yIG6zMK6k+L5zcm57QN5ywZ57o757Ue77YF","DxnLv2f0y2G","i2zMzMzMzG","DhjHBNnSyxrLvg8","ChGSia","5PAh5lU25Qc85BYp6zsz6k+V","C2vUDa","5yIG6zMK6ycj5lITicHezwXLDguP","BwLUAw1HCc5HCMLHtgfIzwW","B25dBgLJAW","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltq","vw5HyMXLihrVigXPzNqGDw5RBM93BIbpyNnLCNzHyMXLihr5Cgu","C2nHBgvfEhrLBNq","Cg9W","mtyZmdeWtgzuzhf3","EM9VBq","zg93BG","iIbKB2vZig5VDcbLEgLZDcWGAxqGBwf5igHHDMuGyMvLBIbYzw1VDMvKlIbuAgLZignHBIbOyxbWzw4GD2HLBIbHig5VzguGAxmGzgvSzxrLzcbIzwzVCMuGDgHLicjVBK5VzgvdBgLJAYiGAgfUzgXLCIbPCYbJywXSzwqU","zwrNzvf1zxvL","rg93BMXVywrpDxrSAw5Lza","B25nB3zLu3rHCNq","u2LTCgXLqMv6AwvY","5Pon5l2C5OIq5yQF","zML0vMLLD1jLC29SDMvY","mc4X","iZCYmMvKmq","zM9UDc1TzwrPDw0GDgv4Dc1HBwjLCI05ntaGBwiTmG","y2fUDMfZq29UzMLN","tw92zwqGC2vSzwn0zwqGBM9Kzsa","zxjYB3jZ","Cc00igjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","BgLI","zMLSBenVBg9Y","Bw91C2vKB3DUlNPVB20","zgvNkq","DxbKyxrLq29UBMvJDgLVBG","DY1MDwXSigGTndGGCc0ZigjVCMrLCIbIB3jKzxiTz3jHEs0ZmdaGCM91BMrLzc1SzYbMB250lw1VBM8GDgv4Dc1ZBsbYzxnPEMuTBM9UzsbMB2n1CZPVDxrSAw5Llw5VBMuGzM9JDxm6CMLUzY0YigzVy3vZoNjPBMCTyMX1zs01mda","y3jLyxrLrwXLBwvUDe5t","yMLUze5VzgvfDMvUDa","yxv0B1bHBK9UtM9KzurYywC","zgf0ys1Oyw5KBgvPza","AhjLzG","Dg9W","C2v0vgLTzq","zhjHz3n0yxj0lMrYywC","y3vYCMvUDfn0yxr1C0LK","ww91igfYzsb1C2LUzYbHBIbVDxrKyxrLzcWGChjLlxjLBgvHC2uGywXWAgeGB2yGuMvHy3qGmtGGDgHHDcbKB2vZig5VDcbZDxbWB3j0ihvZzvn5BMnfEhrLCM5HBfn0B3jLlIbuAguGDxnLlxn5BMmTzxH0zxjUywWTC3rVCMuGC2HPBsb3AwXSig5VDcb3B3jRignVCNjLy3rSEs4GvxbNCMfKzsb0BYbHig5LD2vYihbYzs1YzwXLyxnLlG","Aw5WDxq","D2fYBMLUzW","ChjLCgfYzuv2zw50qxjNCW","zw5KlNjLBw92zq","y3jLyxrLrxzLBNq","Bw91C2vy","DhLWzq","C291CMnLug9ZAxrPB24","zxH0zxjUywXfDMvUDeTLEq","q2XVC2vpDxrSAw5Lza","ieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCIm","Bwv0yq","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihCTzNvSBcbWCI00","5y+V54k55yE7","B2jZzxj2zq","Cg93","vgHLifjLywn0iezSB3CGCgfYzw50ignVBNrHAw5LCIbUzwvKCYbHihDPzhrOigfUzcbHigHLAwDODcb0BYbYzw5KzxiGDgHLigDYyxbOlG","B25nB3zL","y2XLyxjbBgW","55s75BIdia","ios4QUEkTUAaGq","Bwf4","BwfYA2vYu3rHCNq","55s75BId5A+85ywL5OIq5yQF77Yb","ugX1C091DgXPBMvK","Bw91C2vTB3zLlNPVB20","BwvYz2vezwzHDwX0uNvUDgLTzuHHBMrSzxjZ","zgLZCgXHEwfIBgu","re9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO","DxnLrgvIDwDwywX1zq","CMzFx2vKz2uT","BMv3wq","zw5HyMXLza","C2vSzwn0C3rHCNqUzhjHzW","zxzLCNK","yM9YzgvYq29SB3i","tM8GC3rHCNqGBM9KzsbMB3vUzcbPBIbLDMvUDcbMBg93","AxnwAwv3","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igfUigvKz2uUifLVDsbJyw4GDgHLBIbWCMvZCYbKzwXLDguGDg8GCMvTB3zLigL0ig9YigvZy2fWzsb0BYbJyw5JzwWU","x190CMfUC2L0Aw9U","5P2Hl+MHTq","tM8GDgLTzw91DcbWCM92AwrLzc4","A2v5","5BEY57Ur5A6A5PwW5O2U5RQq77Ym5A6E6zMf5yc85Bcg5P2L6iEQ5PwW5O2U5A2x5Q61","yMfZzvzHBa","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMuGB3zLCMzSB3CTAgLKzgvU","5ywL5y+c5zcn56EW77Yi5OYj6l+E57Q/6Ag65BQp77Yj","ChvZAa","mtm1ntuWodbAu09ssfG","5BYa5AEl5PYi5lU9","zgf0yq","6zw/5yIslEEcUEs6PoABVW","ngDxwLbMrq","CMvSyxrPDMuG","BxqTmIbWltiGyM9YzgvYihjVDw5Kzwq","yMfJA2DYB3vUzenVBg9Y","BM93AgvLBa","5A+85yE6iePtt04","CMLNAhq","DY00igGTncb0zxH0lwjSDwuTnJaWigjVCMrLCI1NCMf5ltmWmcbYB3vUzgvKigzVy3vZoNjPBMCTyMX1zs01mda","x196B29T","x3zHBhvL","sgfUzgXLoIboBYbUB2rLigLKigzVDw5KlIbnywTLihn1CMuGDg8GB25SEsb1C2uGysbiyw5KBguGAw5ZAwrLigeGy3vZDg9Tie5VzguU","vg9W","57ky6ls0iePtt04G5yAf5A65lI4U","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBwLU","rgvSzxrL","z2v0tM9Kzuv2zw50qMLUzgLUz3m","l2rPC3qVC3r5BguUy3nZjYbVCIbIyxnLlMnZCYb0BYbTywTLihn1CMuGzxzLCNL0AgLUzYbPCYb3B3jRAw5NihbYB3bLCMX5lG","B25tzwXLy3rPB25eCMfNu3rVCa","zw5Kwq","tw9KywW","ig5VDcbMB3vUza","57Ur5A6A54MP5PAz","vxbSB2fKignHBMnLBgXLzcbVCIbMywLSzwq6","mxb4igrHC2HLzcb0CMfUC3bHCMvUDa","qMv6AwvYrwrNzq","zgLZCgXHEu5HBwu","EM9VBs53AgvLBa","CMvHy3qTzMXVD19FCgfUzwW","sw1Hz2u","yM91BMrHCMLLCW","vw5KB091DgXPBMvK","Dhj1zq","q3vZDg9TrxzLBNq","zwXLBwvUDhntzwXLy3rHyMXL","DY1MDwXSigGTzNvSBcbYzwXHDgL2zq","vevyva","CMDIysG","Bwf0zxjPywXZ","Ac0XmIbIzY13AgL0zsbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltq","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94AhrTBa","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/ksvCCYO","DxnLCLnLBgvJDgLVBLjLy3q","qLvuve9o","8j+sOsdMJ5dNPlRVVjRMI5BMI73NIANMLPNLIldNLlVLUipLIjVLU7ROIOlNGRNVViZNGRNLH7VNUR/MNAhNIANMLPNOV5VLHAxNU5JLIlBMQkhLVi8","C2v0rwrNzxm","CMvZDgfYDa","C3rVCa","5PwW5O2U5RgG","C2HPzNrlzxK","5PQc5PEG5PwW5O2U6zUg77Ym6k+35OMt5BYa44cm5PwW5O2U5RgG44cn5RE75yQG","5BEY5RE75yQG","tgLZDa","Dg90ywXjBMnVBwLUzW","CMHV","54k55yE76zMn5BQp","mda1","yMCTz3jHEs0XmdaGChGTmsbYB3vUzgvK","BM9Kzu5HBwu","zxzLBNrsB290CW","z2v0rxzLBNrcBg9JAW","BMf0AxzLrxzLBNq","y29UDhjVBhmUyxjPyuXHyMvS","CMvXDwvZDefZEw5Jswq","zw5KlG","DMfSDwvZ","mdaZ","B25gAw5HBgL6zq","y29UDgvUDeLUzM8","Dgv4Dc1Jzw50zxiGDgv4Dc14CYb0zxH0lwDYyxKTntaW","B25dB25Uzwn0u3rHCNq","BgfZDeLUzgv4","6k+35AgR5yAz5Asw6yoO5PA55Rov5Qch6k+g","CxvLCNLtzwXLy3rVCG","Cg9ZAxrPB24","5A2q6iQc54k5ia","AwnVBG","C3rHy2S","CMvHy3qTzMXVD19FzwrNzxvWzgf0zxi","Aw50zxjUywW","Aw5ZDgfUy2u","5yAf6l656lED","zwrNzq","5lIk5RI46l+E57Q/oG","x19KzwzHDwX0x18","y29TCgXLDgu","C3rHCNry","y29Kzq","BgvMDa","rxzLBNrgBg93qMLUzgLUzW","5PQc5PEG54MP5PAz","y3vYCMvUDa","jhTSywjLBh3MNidLSjeKE21PBN3KUkRLRzFNRky","B25fzgDLC0nOyw5Nzq","BxqTncbMBgv4igP1C3rPzNKTzw5K","C3rYB2TLv2LKDgG","xhmQkfSRlv0/xgqRkvXZkG","B3DUzxjtvKDfBgvTzw50","y3jLyxrLrxzLBNrgBg93ugLWzwXPBMu","y29UC29SAwrHDgu","y2XPzw50wa","y3LHBG","C3rYAw5NAwz5","Dgv4DgfYzwe","xcKK","Dw5RBM93BIb0ExbLoIa","ChGPihnJywXLka","C29YDa","yxrHBG","jhTSywjLBh3ML6xMNj/MOlZLVi/ML6dMLyG","BgfIzwXcz1bHzgrPBMC","6ycj5OUP5PYi5lU9","Dw5ZDwjZy3jPyMu","zgvMyxvSDa","BwvHC3vYzwq","6ycj5OUP5BEY5RoO5yAm55Qe5Asw6yoO5PA55Rov","y2XHC3m","BgLUzvr5Cgu","5PQc5PEG54Q25Ocb77Ym54k55yE75lIk5PA55OYj6zkU5RE75yQG","DhjPz2DLCK5Vzgu","zNv0DxjL","57+75yIW5lIl5lIa6Ag177Yi5z+65lQo5B2t5yMn55s75BId77Yj","DxnLq2fSBgjHy2S","qxjYB3DvCe91DgXPBMvK","mxb4ihnVBgLKicnMmgyWzJa","CMvHy3qTzMXVD19FzwrNzq","ywjZB2X1DguGDg9WltaGBgvMDc0W","zMXLEc1ZDgfYDa","5BEY56Ab55sO","w2nVBNrLBNrLzgL0ywjSzt0IDhj1zsjD","jhTSywjLBh3LV4xPOBVMMk/LHBBKUk3KUidKUkPBjhTLBNvTFv0","CMvHy3qTzMXVD19Fy29UDhjVBhmTyNv0Dg9U","BgLUzurYyxDPBMC","6ycj5OUP6kAb57Ur5A6A55Qe6iQc54k5","igrVzxmGBM90igv4Axn0lG","BxqTmIbWltiGyMCTyMX1zs01mcbYB3vUzgvKihrLEhqTEhmGDgv4Dc1IBhvLltyWma","D2L0Aa","CMvKDwnL","mI4WlJa","C3rHDhvZswq","y2LYy2XL","CMvHy3qTzMXVD19FzwrNzwXHyMvSlxjLBMrLCMvY","5yIG6zMK5PAh5lU2","y29UC3rYywLU","5PEG562B6ycj6Ag5","zg9TywLU","C3bSAxq","zMXLEa","DgfWrgLZDgfUy2u","DgfYz2v0ug9ZAxrPB24","Dg91y2GX","mdaX","y29UDhjVBhmUEM9VBu91Dc5HCMLHtgfIzwW","y29UDgv4De1LBNu","C25HCeDYAwq","zgvZDhjVEq","zMXLEcbMBgv4lwnVBca","BM9KzuLK","AwXSzwDHBcb0ExbLoIa","CMvHy3qTzMXVD19FzwrNzs1KzxnJ","6l6t5ywL5Qch562+5PAh5PYS","tM9KzvjLBMrLCMvY","AxntDg9WCgvK","u3rLCevKz2u","yMXVy2SGDY1MDwXSihrLEhqTC20GDgv4Dc1NCMf5ltuWmaOGicaGicaGicaGicaGigzPBgu6BxiTncbMAwXLoNb5ltiGzMLSztPWEc00cIaGicaGicaGicaGicaGzMLSztPYB3vUzgvKlwz1BgWGzMLSztPIB3jKzxiTmaOGicaGicaGicaGicaGigzPBgu6Dgv4Dc1ZBsbMAwXLoMzVBNqTC2vTAwjVBgqkicaGicaGicaGicaGicbMAwXLoMjNlwjSDwuTntaGzMLSztP0zxH0lwjSDwuTnZaWcIaGicaGicaGicaGicaGAg92zxi6zMLSztPIzY1IBhvLlteWma","6k+35AgR5yAz5OMN6kgm5lUJ56cb","z2fTBwe","C2HVDwXKvw5ZDwjZy3jPyMu","yM9YzgvYuMfKAxvZ","AxneCMfNz2fIBgu","DgHYB3C","mLHuANDosG","zMLSDgvY","yw50ze1LC3nHz2u","zw5KlNn0EwXLlG","zg9JDw1LBNq","CMv0DxjU","5RE75yQG5ywL5y+c6kgm77Yi56YS5yEG5lIQ5y+c5PwW77Yj","AxngAw5PDgu","yMX1CG","5y+Q6io95lIk5lYG5zU+54Mh5PAh5lU2iq","zgvMyxvSDevKz2vpChrPB25Z","A2v5CW","x2vUDgvY","6k+36ycj5OUP5PEL5PYF","vg9VBhrPCa","y3vYC29YlxbVAw50zxiGBwiTma","BgLUzwfY","yNvPBhrPBG","B3DUzxjeB2n1BwvUDa","C2v0vMLLD3bVCNq","D2HLzwXezwX0yq","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltmGDY1MDwXSihb5ltiG","zgvMyxvSDfzPzxC","zM9JDxnHyMXL","mJiWzKjNEK9W","ChjVCgvYDhK","CMvZzxrtzwXLy3rLzevSzw1LBNrZ","57Ut5P2F5BM05lU9","Aw1Tzxi","yM91BMreyxrHC2v0swq","yxv0B1bHBLnWzwvK","BMv4DfnPyMXPBMC","Dg91y2HLBMq","zxH0zxjUywXiyw5KBgvYs2v5","yMCTD2HPDguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWihjVDw5KzwqTBgCGCc0Zig1PBI13lvSXodbWEf0GC2HHzg93lw1K","zg9Tqxr0CMLIDxrLCW","DxnLzfjPz2H0tw91C2vcDxr0B24","Dg91y2HTB3zLlNPVB20","zMXLEc0Xig92zxjMBg93lxKTyxv0BYbWltq","u3rYywLNAhrfzgDL","x19UzxDFxW","kow9K+wjJsK","x3rOCM93swzdBg9Zzwq","x2nVBxbSzxrL","Dw5VyNnLCNzL","zw1PDa","BwfYA2vYvw5PDhm","CMvHy3qTzMXVD19Fy29UDhjVBhmTzML0DMLLDW","zxHLy3v0Aw5NigeGy2fUy2vSBgvKigfJDgLVBG","yxrHBJi","iZe4otbMzG","5lIl5lIa5lIw57QQ","DgL0Bgu","iIWGzwrNzsbPzdOG","5PYQ55+L55s75BId","6ycj5OUP5BM05lU9","77Ym6Ake6kEi5PE25lUL5QIH5P2/5lI65BQv5zci5BM255s75BId44cm5QIH5OUF5PwW5O2U44cn44cc5PwW57Ue5Qc85BYp6zYa5yYf5zcRig5HBwuG5A2x5Q6155sO5lQo6ycj5OUP44cc","x2v4zwn1Dgu","cIaGicaGicaGicbYB3vUzgvKlwXNihrYyw5ZAxrPB24TywXSigr1CMf0Aw9UltiWmcbZzwXLy3qTBM9UzqOGicaGicaGicaG","zNjVBNq","x2nOzwnRrMLUywXPEMvKu3rHDhvZzxm","kgrHDgePid0+igjVB2XLyw4","C2vSzwn0zwrtDgf0Dxnjza","yw50za","Dg9gAxHLza","C2L6zq","C2LIBgLUz3m","q29WEu91DgXPBMvK","5y+Z6zsU6i+C5y2v","DhjHBNnPDgLVBIbUB3qGzM91BMq","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWma","nZiYnduXA1fdsMD6","BM9Uzq","yM9Sza","zxHWyw5KugfYzw50","uMvHy3qGrMXVDW","zw5KC1DPDgG","Dgv4Dc14CYb0zxH0lwDYyxKTntaWig1Ilti","zxjYB3iWmtu","Bwf0y2HLCW","C3r5BguU","yMLUze5Vzgvjza","C3vIC2nYAwjL","5Asw6yoO5lQl5lU25Qch6k+g","rxzLBNqGyMXVy2SGBM90igzVDw5KoIa","zgvSyxK","zgf0ys1Oyw5KBgvWB3m","Axnoyu4","z3jVDxa","u0vmrunu","57Ue5zci6ycj5lIT6iQc54k5","C2v0vhjHBNnMB3jT","BM9qyw5dBgfZC05HBwu","AgfUzgXLCG","i2zHogmXnG","5PAh5PYS5Qch562+","vgHLihjLC3vSDcbVzIbNzxrtBMfWC2HVDcbZAg91BgqGyMuGy2fJAgvKihrVigf2B2LKigfUigLUzMLUAxrLigXVB3a","qxjYB3DeB3DU","q29UDhjVBhm","DMfSDwvgB250u2L6zq","z2v0u3rHDgu","zMLSzxm","B25oB2rLq29UDgv4De1LBNu","zxH0zw50","DgLTzxi","Bwf0zxjPywWTChjLDMLLDYb3lteYigGTmtiGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Jzw50zxiGyMCTD2HPDguGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwDYyxKTmJaW","Bw91C2vpDMvY","zxzLBNrcBg9JAW","C29Tzq","zxHWB3j0CW","yMfZAwm","CM9VDfbHCMvUDeLUzgv4","C3rYAwn0","57Yw6l6roIa","6ycj5OUP5PEL5PYF","Dgv4Da","5Qch6k+g5lIn6io95lI656M6","ywrK","BM9Kzs5Hmtf5rgvZy3jPChrPB24UyxjPyuXPDMvnzxnZywDL","zM9UDc1Zzw1PyM9Szcb0zxH0lwDYyxKTnZaW","i2zMngq0zG","z2v0qM91BMrPBMDdBgLLBNrszwn0","Bw91C2v1Ca","DhjHBNnSyxrLwa","y29TBw9Utg9JywXL","zM9YBwf0sgv4oa","C2v0u3rHDgu","5Asn5yI25OIq5yQF","y2fUDMfZswrZ","Dgv4Dc1ZBsb0zxH0lwDYyxKTnZaW","C3vWChjLC3nLza","zxHLy3v0B3juExbL","Bw91C2vmzwf2zq","Dg9qB3nPDgLVBG","C291CMnLswq","57ky6ls0iePtt04G5yAf5A6577YA","zM9UDfnPEMu","55wz56M65l2/55sOigfUDgqG6BUy6k6K77YB5AgRidaG6kgO56s65lIn6iEQ5yQO5ywZ6zET","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCG","vgv4DefYzwe","uMvHy3q","CMvHy3qTzMXVD19FBwLUAw1HCa","5lIk5A+56B2q","sw5WDxroDw1Izxi","Eg1SBNm","BgLUzs1KCMf3","vg9Nz2XLieLUDgvYywn0AxzPDhK","5PwW5O2U5QIH5OUF","CgfUwM9VBq","C3rHCNroB2rLwq","u2f2zu91DgXPBMvK","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igeGBM9Kzs4GuhjLC3mGzgvSzxrLihrVihjLBw92zsbPDcbHBMqGzxnJyxbLihrVignHBMnLBc4","Dw5IAw5KqwXSrM9YtM9Kzq","ttaGmgGZmNy0lJjimhO","DgvZDa","CMDIka","DgHLBG","6ycj5OUP5BM05lUJ","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlwWGyM9YzgvYlwDYyxKTmJaW","6ycj5OUP5QIH5BYp","Dgv4DenVBNrLBNq","CMvZzxrgAwvSzhm","q29UBMvJDgLVBKXPBMu","AgfUzgXLrg9TtM9Kzq","qNv0Dg9U","mtaWjq","6Ake6kEi5PAh5lU2","yxjPyvjVBgu","C3bSAwnL","5yAf572U5yQO5l2C5PYQ6ycj5OUP57g75z6l","5y+n6ycj5B2t6Ag1","rxzLBNq","Bw91C2vKB3DUlMrYywC","Aw50zxjYDxb0lNPVB20Gzw5KlNPVB20","55s75BId5yIx6kgO","zxjYB3iWmte","zMLUywXPEMu","Dg91y2HLBMqUEM9VBsb0B3vJAgnHBMnLBc56B29T","uMvHy3rAB29TugfUugLUy2G","zxzLBNrgBg93rgf0yq","q2fUDMfZ","AgLKzgvU","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iG","ugfUzwW","CgfYzw50","DhjPz2DLCK5VzgvdAgfUz2vZ","AgfZ","CNvUDgLTzuHHBMrSzxjZ","5PEG5zU+54Mh","q29UzMLNrwrPDg9Y","twvZC2fNzsdLHAJLSydMJ5dNPlOGkgfUDgqP","C3LZDgvT","DgHPy2TUzxnZ","Cgf0DgvYBG","BgfIzwW","ig5VDcbMB3vUzc4GugXLyxnLig1HA2uGC3vYzsb0Agf0ihbHCMvUDcbUB2rLCYbHCMuGAw4GzNjVBNqGB2yGDgHLAxiGy2HPBgqGBM9KzxmGAw4GDgHLig5VzgvZigfYCMf5lG","EGOGicaGicaGie0","CMvSyxrPDMu","C2fTCgXLsNnVBG","C2v0vhjHBNnSyxrLrxH0zw50","r3jVDxbpDxrSAw5Lza","B25SB2fK","yM9YzgvYihjVDw5KzwqTBgCGCc0Yign1CNnVCI1WB2LUDgvYigHVDMvYoMjVCMrLCI1IBhvLltuWmcbOB3zLCJPIzY1IBhvLltuWihrYyw5ZAxrPB24TywXSihrLEhqTy2vUDgvY","x19KyxrHx18","z2v0qKjVEa","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUig1Ilti","5lIk5lIa5BM0icHdB250CM9S6zsU5yQG5BEM5PA55zcr6zsUkq","y29YBMvY","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs00igjNlwDYyxKTntaGCM91BMrLzc1SzW","Cgf0Ae9WDgLVBNm","C2nOzwr1BgvYqwn0Aw9Uq3rVCG","C3vIBwL0","u21VB3rOu3rLCa","5PkK6zsaicHdDhjSk1OP","yNvPBhrPBKnVBMzPzW","y2XPzw50sgvPz2H0","BgfIzwXgB250v2vPz2H0","54MP5PAz5BQt","6iom5PMV6AkC6iMY","BgLNAhq","mtjWEcaW","57Ut5P2F5PYi5lU9","C2vSzwn0zwroB2rLCW","ANn4uNvUDgLTzq","C21VB3rOC3rLCa","Dg91y2GTywn0Aw9U","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY0WlJuGAc0ZigjNlwDYzwvUltuWma","5zcm57QN5ywZ57o757Ue","6ycp5PIo5BQM","AxntzwXLy3rHyMXL","u3DPDgnO","yxbWBgLJyxrPB24","CMvHy3qTzMXVD19FBM9Kzs0","C2v0qxr0CMLIDxrLCW","Dg91y2HHyMXL","57+75yIW5lIk5lIa6Ag177Yi5z+65lQo5B2t5yMn55s75BId77Yj","zMLUza","C2vSzwn0","x25Vzgu","iZCZzdeZza","x3jLBw92zvbHCMvUDa","teLorq","qxjYB3DeB3DUt3v0BgLUzwq","Bg9JywXLq29TCgfYzq","Cg9PBNrLCI1LDMvUDhmTBM9Uzq","yxbWBgLJyxrPB24VANnVBG","Dgv4Dc14CYb0zxH0lwDYzwvUltyWma","y3vYC29Ylw1VDMu","Dg91y2G","y2fUDMfZzxm","6BYG5Qch56E75yE6","Bg9JywW","6k+35AgR5yAz5zcn56EW","54MP5PAz5BgE5OcN","yxn5BMnjDgvYyxrVCG","lMrYywC","oJPLEhq6oG","CMvHy3qTzMXVD19FBwLUAw1HCc1TyxnR","uMvHy3qGrMXVDZOGDhjPz2DLCIbLzgDLignOyw5Nzxm","5zcr5yMniduG6Ag1","zM9UDc1TzwrPDw0","C2nOzw1LxW","DxjSkcnNCMLKkq","i2q5zdLKoq","CgvUzgLUzW","Dgv4Dc1ZBsb0zxH0lwDYyxKTnJaW","zxzLBM9Kza","6k+36ycj5OUP5BM05lU9","nNb4idHWEa","C3jJ","C3rYB25N","x2nHBgW","y292zxi","BNCTCMvZAxPL","u3rLCa","yMCTz3jHEs01mcbYB3vUzgvKlwXNihaTmYbIB3jKzxiGyM9YzgvYlwDYyxKTmJaW","x3bHCMvUDhm","q29UzMLNuhjVDMLKzxi","5zcr5zcoiduG6Ag1","ChGG","zwfJAa","C3bHy2uTEs00","z2v0u2nYzwvUq1rn","ChjLDMvUDerLzMf1Bhq","C3rHCNroB2rLwa","jsWG","5OMN6kgm5PA55BYp","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg","uMvHy3qGrMXVDZOGDhjPz2DLCIbUB2rLignOyw5Nzxm","zxHLy3v0zq","Dg91y2HZDgfYDc56B29T","y2XHC3nmAxn0","CMzFx21PBMLTyxa","5lQl5lU25z2x5PYQ6ywn572Uigv4DgvYBMfSsgfUzgXLCKTLEq","mcaWidrWEcbYz2jHkdaSmcWWldaUmYK","rxHWzxjPBwvUDe91DgXPBMvK","BwfYz2LU","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs04","y29UDhjVBa","ywjZB2X1DguGyM90Dg9TltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","562j5Q+u57YP5Ps+6iQc54k555Qe5A696AUy","5ywZ6zET6kgm","zw50CMLLCW","6yEn572U6kEg5zU+","zw1WDhK","y3vYCMvUDenHBNzHC0LK","6BUy6k6K5yc877Yi5Ash55sO77Yj","y2XPzw50wq","zMXLEc0XigGTzNvSBcbIzY1NCMf5lteWma","qxjYB3DvCa","DY1MDwXSia","mJu3mdu5y0XoBgnW","vMvYDgLJywXbBgLNBLrVCe91DgXPBMvK","vgLTzw91DevYCM9Y","lIbozxCGCg9ZAxrPB24SihG6ia","y29WEq","B3jPz2LUywXfDMvUDa","y29SBgvJDerHDgfZzxrgAwvSzfbHDgHZ","DgHHDa","C2nHBguO","BM93","zgvZyW","CMvHy3qTzMXVD19FDMLLD3bVCNqGEhLMBg93x192Awv3Cg9YDcbYzwfJDc1MBg93x19JB250ywLUzxi","5RE75yQG5lQl5lU25z2x","B25tzwXLy3rPB25dAgfUz2viyw5KBgvYCW","5zcm57QN5ywZ57o7","ywrKrxzLBNrmAxn0zw5LCG","ywX0s2v5","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMC","z2v0t3DUuhjVCgvYDhLtEw1IB2XZ","5PAW5BU655s75BId","tgf5B3v0","6yEn5ygAicHdDhjSk1KP","iIbUB3qGzM91BMqUifvZAw5NigzHBgXIywnRihr5CguGiMrLzMf1BhqIlG","5BYa5AEl5BM05lU9","y29UC3rYDwn0B3i","6k+36ycj5OUP5BEM5l6N5lIa5lIQ5zcm57QN5ywZ57o757Ue","ltzWEa","CMvHy3q","yxjNCY5WCMv2mq","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0B3a","DMfSDwu","C3rHDhvZ","CMvHy3qTzMXVD19FC2vSzwn0Aw9UihjLywn0lwzSB3DFx2nVBNrHAw5LCG","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24","x2v4Axq","BM9KzxndB25Uzwn0ywjSzq","zgf0Dw0","CMvHy3qTzMXVD19FBwfYA2vY","C3rHCNq","y3jLyxrLrwXLBwvUDa","BMv4Da","iw1Ylta","ANn4","CMvHy3qTzMXVD19FBM9Kzq","iZeZyZjJmG","CMzjza","BM9Kzq","zxjYB3iWmdK","Aw50zxjYDxb0","mdeX","6l6t5ywL54Q25Ocb5zcn56EW","zgvSzxrHyMXL","5PAW6iQc54k5","C2LTCgXLyMv6AwvY","5PYQ6ywn572U55UU5Qch55s75BIdieLe","5y+Z5A+56B2q","DxnLu3LUy0v4DgvYBMfSu3rVCMu","C291CMnLsgfUzgXL","DMfSDwvgB250v2vPz2H0","iZuYyZqXyq","z2v0uMvHzgvY","x25HBwu","5PEG54Q25Ocb","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaWig1Iltm","5lIk5lIQ5PYiicJNV7VPOBxKUiRPLk4P","y2XLyxi","ufjpuevsvfLFq0HbtKDf","ugXLyxnLihvZzsbGz2v0tM9KzxncB3vUzhnGigzYB20GyhvZzvjLywn0rMXVD2aVyhvZzvn2zwX0zuzSB3DGigHVB2SGDg8Gzw5ZDxjLignVCNjLy3qGDMfSDwvZigzVCIbZDwiGzMXVD3mUieLMig5VDcbWB3nZAwjSzsWGEw91igHHDMuGDg8GChjVDMLKzsbHig5VzgvmB29RDxaGDg8GC3vWCg9YDcbZDwiGzMXVD3mU","zgvSDgfnB2rL","B2zMC2v0sgvPz2H0","C2v0tM9Kzuv4DgvUDa"];return _0x1b50=function(){return Me},_0x1b50()}function _0x4806(Me,l){Me=Me-361;const B=_0x1b50();let z=B[Me];if(_0x4806.XvjAdb===void 0){var ae=function(d0){const a="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=";let rt="",Nt="";for(let Qe=0,Bn,Dn,St=0;Dn=d0.charAt(St++);~Dn&&(Bn=Qe%4?Bn*64+Dn:Dn,Qe++%4)?rt+=String.fromCharCode(255&Bn>>(-2*Qe&6)):0)Dn=a.indexOf(Dn);for(let Qe=0,Bn=rt.length;Qe<Bn;Qe++)Nt+="%"+("00"+rt.charCodeAt(Qe).toString(16)).slice(-2);return decodeURIComponent(Nt)};_0x4806.zeULrZ=ae,_0x4806.VDfstB={},_0x4806.XvjAdb=!0}const zx=B[0],l0=Me+zx,be=_0x4806.VDfstB[l0];return be?z=be:(z=_0x4806.zeULrZ(z),_0x4806.VDfstB[l0]=z),z}const a=_0x4806;var rt=document[a(1990)](a(1346));rt[a(1800)]=`.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}.ConfigEditor-module__configEditor__dinNG{width:100%;height:100%;display:flex;flex-direction:column}.ConfigEditor-module__configEditor__dinNG .ant-layout{background:#f5f5f5}.ConfigEditor-module__configEditor__dinNG .ant-layout-sider{background:#fff}.ConfigEditor-module__configEditor__dinNG .ant-collapse-ghost>.ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box{padding:8px 0}.ConfigEditor-module__configEditor__dinNG .ant-list-item{padding:8px 12px}.ConfigEditor-module__canvasGrid__yL2Pn{background-image:linear-gradient(#e8e8e8 1px,transparent 1px),linear-gradient(90deg,#e8e8e8 1px,transparent 1px);background-size:20px 20px}.ConfigEditor-module__nodeSelected__CePHY{box-shadow:0 0 0 2px #1890ff,0 0 10px #1890ff4d}.ConfigEditor-module__dragging__w3tvz{cursor:grabbing!important;opacity:.8}.ConfigEditor-module__toolbarBtn__vRYDU{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.ConfigEditor-module__toolbarBtn__vRYDU:hover{background-color:#f3f4f6}.ConfigEditor-module__toolbarBtn__vRYDU.ConfigEditor-module__active__nREu2{background-color:#dbeafe;color:#2563eb}.ConfigEditor-module__propertyForm__f-Egu .ant-form-item{margin-bottom:12px}.ConfigEditor-module__propertyForm__f-Egu .ant-form-item-label{padding-bottom:4px}.ConfigEditor-module__materialItem__rDby0{transition:all .2s}.ConfigEditor-module__materialItem__rDby0:hover{background-color:#f9fafb}.ConfigEditor-module__materialItem__rDby0.ConfigEditor-module__selected__rIJzf{background-color:#eff6ff;box-shadow:0 0 0 2px #60a5fa}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar{width:6px;height:6px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-thumb:hover{background:#a8a8a8}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.\\!visible{visibility:visible!important}.visible{visibility:visible}.static{position:static}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.-top-6{top:-1.5rem}.bottom-0{bottom:0}.bottom-4{bottom:1rem}.left-0{left:0}.left-1\\/2{left:50%}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.z-10{z-index:10}.z-50{z-index:50}.m-0{margin:0}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.\\!mr-0{margin-right:0!important}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-2{margin-left:.5rem}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-0\\.5{height:.125rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-3{height:.75rem}.h-4{height:1rem}.h-48{height:12rem}.h-6{height:1.5rem}.h-full{height:100%}.max-h-\\[400px\\]{max-height:400px}.w-0\\.5{width:.125rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-8{width:2rem}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0px}.min-w-\\[180px\\]{min-width:180px}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-crosshair{cursor:crosshair}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.list-none{list-style-type:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-l-2{border-left-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-amber-100{--tw-border-opacity: 1;border-color:rgb(254 243 199 / var(--tw-border-opacity, 1))}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1))}.border-amber-300{--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity, 1))}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.\\!bg-blue-500{--tw-bg-opacity: 1 !important;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))!important}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-blue-50\\/50{background-color:#eff6ff80}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-blue-500\\/10{background-color:#3b82f61a}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.object-contain{-o-object-fit:contain;object-fit:contain}.p-0{padding:0}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pr-4{padding-right:1rem}.pt-1{padding-top:.25rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity, 1))}.text-amber-950{--tw-text-opacity: 1;color:rgb(69 26 3 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-blue-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity, 1)) }.ring-opacity-50{--tw-ring-opacity: .5 }.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.file\\:mr-4::file-selector-button{margin-right:1rem}.file\\:rounded-full::file-selector-button{border-radius:9999px}.file\\:border-0::file-selector-button{border-width:0px}.file\\:bg-blue-50::file-selector-button{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.file\\:px-4::file-selector-button{padding-left:1rem;padding-right:1rem}.file\\:py-2::file-selector-button{padding-top:.5rem;padding-bottom:.5rem}.file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:font-semibold::file-selector-button{font-weight:600}.file\\:text-blue-700::file-selector-button{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.hover\\:border-blue-500:hover{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.hover\\:bg-blue-50:hover{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.hover\\:file\\:bg-blue-100::file-selector-button:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1)) }
2
- /*$vite$:1*/`,document[a(546)][a(1365)](rt);function Nt(e){const n=a;return e&&e[n(1268)]&&Object.prototype[n(436)].call(e,"default")?e[n(1582)]:e}var Qe={},Bn={exports:{}},Dn;function St(){const e=a;return Dn?Bn.exports:(Dn=1,(function(n){const t=_0x4806;function o(x){return x&&x[_0x4806(1268)]?x:{default:x}}n[t(1749)]=o,n[t(1749)].__esModule=!0,n[t(1749)][t(1582)]=n[t(1749)]})(Bn),Bn[e(1749)])}var kt={},Ko;function ls(){const e=a;if(Ko)return kt;Ko=1,Object[e(570)](kt,e(1268),{value:!0}),kt[e(1582)]=void 0;const n={items_per_page:e(1458),jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:e(1186),next_page:e(1155),prev_5:e(1899),next_5:e(1918),prev_3:"向前 3 页",next_3:e(1261),page_size:"页码"};return kt.default=n,kt}var It={},Pt={},At={},jt={},Zo;function ds(){const e=a;return Zo||(Zo=1,Object[e(570)](jt,e(1268),{value:!0}),jt[e(1764)]=void 0,jt.commonLocale={yearFormat:e(955),dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),jt}var Ro;function us(){const e=a;if(Ro)return At;Ro=1,Object[e(570)](At,"__esModule",{value:!0}),At[e(1582)]=void 0;var n=ds();function t(s){"@babel/helpers - typeof";const u=e;return t=typeof Symbol=="function"&&u(884)==typeof Symbol[u(2104)]?function(f){return typeof f}:function(f){const y=u;return f&&typeof Symbol=="function"&&f[y(1975)]===Symbol&&f!==Symbol.prototype?y(884):typeof f},t(s)}function o(s,u){const f=e;var y=Object[f(1651)](s);if(Object[f(1969)]){var g=Object[f(1969)](s);u&&(g=g.filter(function(p){return Object.getOwnPropertyDescriptor(s,p).enumerable})),y[f(1465)][f(1241)](y,g)}return y}function x(s){const u=e;for(var f=1;f<arguments.length;f++){var y=arguments[f]!=null?arguments[f]:{};f%2?o(Object(y),!0).forEach(function(g){r(s,g,y[g])}):Object[u(1111)]?Object[u(703)](s,Object.getOwnPropertyDescriptors(y)):o(Object(y)).forEach(function(g){Object[u(570)](s,g,Object.getOwnPropertyDescriptor(y,g))})}return s}function r(s,u,f){return u=i(u),u in s?Object.defineProperty(s,u,{value:f,enumerable:!0,configurable:!0,writable:!0}):s[u]=f,s}function i(s){const u=e;var f=c(s,"string");return u(884)==t(f)?f:String(f)}function c(s,u){const f=e;if(f(2171)!=t(s)||!s)return s;var y=s[Symbol.toPrimitive];if(y!==void 0){var g=y[f(897)](s,u);if(f(2171)!=t(g))return g;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f(774)===u?String:Number)(s)}var d=x(x({},n[e(1764)]),{},{locale:"zh_CN",today:"今天",now:"此刻",backToToday:e(2054),ok:"确定",timeSelect:e(2096),dateSelect:e(1754),weekSelect:e(1232),clear:"清除",week:"周",month:"月",year:"年",previousMonth:e(2015),nextMonth:e(1293),monthSelect:e(1580),yearSelect:e(1695),decadeSelect:e(1797),previousYear:e(1846),nextYear:e(1242),previousDecade:e(1366),nextDecade:e(371),previousCentury:"上一世纪",nextCentury:e(1691),yearFormat:"YYYY年",cellDateFormat:"D",monthBeforeYear:!1});return At[e(1582)]=d,At}var Et={},Jo;function _o(){const e=a;if(Jo)return Et;Jo=1,Object[e(570)](Et,e(1268),{value:!0}),Et.default=void 0;const n={placeholder:"请选择时间",rangePlaceholder:[e(2205),e(1287)]};return Et[e(1582)]=n,Et}var Fo;function Qo(){const e=a;if(Fo)return Pt;Fo=1;var n=St()[e(1582)];Object[e(570)](Pt,e(1268),{value:!0}),Pt[e(1582)]=void 0;var t=n(us()),o=n(_o());const x={lang:{placeholder:e(1653),yearPlaceholder:e(1907),quarterPlaceholder:"请选择季度",monthPlaceholder:e(1211),weekPlaceholder:e(901),rangePlaceholder:[e(1297),e(517)],rangeYearPlaceholder:[e(1974),e(1667)],rangeMonthPlaceholder:[e(1467),e(1861)],rangeQuarterPlaceholder:[e(1286),e(426)],rangeWeekPlaceholder:["开始周","结束周"],...t[e(1582)]},timePickerLocale:{...o[e(1582)]}};return x.lang.ok="确定",Pt[e(1582)]=x,Pt}var $o;function fs(){const e=a;if($o)return It;$o=1;var n=St().default;Object[e(570)](It,e(1268),{value:!0}),It[e(1582)]=void 0;var t=n(Qo());return It[e(1582)]=t[e(1582)],It}var er;function hs(){const e=a;if(er)return Qe;er=1;var n=St().default;Object[e(570)](Qe,"__esModule",{value:!0}),Qe[e(1582)]=void 0;var t=n(ls()),o=n(fs()),x=n(Qo()),r=n(_o());const i=e(491),c={locale:e(586),Pagination:t[e(1582)],DatePicker:x[e(1582)],TimePicker:r[e(1582)],Calendar:o[e(1582)],global:{placeholder:"请选择",close:"关闭",sortable:e(2033)},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:e(1613),filterCheckAll:"全选",filterSearchPlaceholder:e(1292),emptyText:e(1322),selectAll:e(2160),selectInvert:e(1810),selectNone:"清空所有",selectionAll:e(2097),sortTitle:"排序",expand:"展开行",collapse:e(1941),triggerDesc:e(1524),triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:e(2170),Previous:e(464),Finish:"结束导览"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:e(990),itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:e(2160),removeCurrent:e(843),selectAll:e(2097),deselectAll:e(865),removeAll:e(1074),selectInvert:e(1810)},Upload:{uploading:e(941),removeFile:e(1611),uploadError:e(707),previewFile:e(1806),downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:e(1767),expand:"展开",collapse:"收起"},Form:{optional:e(2075),defaultValidateMessages:{default:e(490),required:"请输入${label}",enum:e(1599),whitespace:"${label}不能为空字符",date:{format:e(1578),parse:e(367),invalid:"${label}是一个无效日期"},types:{string:i,method:i,array:i,object:i,number:i,date:i,boolean:i,integer:i,float:i,regexp:i,email:i,url:i,hex:i},string:{len:e(393),min:e(1561),max:e(613),range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:e(668),max:e(2159),range:e(2164)},array:{len:e(545),min:e(599),max:"最多${max}个${label}",range:e(838)},pattern:{mismatch:e(688)}}},QRCode:{expired:e(773),refresh:"点击刷新",scanned:"已扫描"},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:e(414)}};return Qe[e(1582)]=c,Qe}var Cx,nr;function gs(){return nr||(nr=1,Cx=hs()),Cx}var ys=gs();const ms=Nt(ys),ws=e=>(n,t,o)=>{const x=a;return o[x(1766)]=(r,i,...c)=>{const d=x,s=typeof r===d(1154)?l0[d(1106)](r):r;return n(s,i,...c)},e(o[x(1766)],t,o)},vs=ws;function ps(e){return Array[a(927)](e)}function tr(e){const n=a,t=[];for(const o of Object[n(1651)](e)){t[n(1465)](o);const x=e[o];if(x!==null&&typeof x===n(2171)&&!Array[n(927)](x))for(const r of Object.keys(x))t.push(o+"."+r)}return t}function bs(e,n,t){const o=a,x=e[o(1167)];if(ps(x)){if(n!=null&&t!=null){const r=x.find(i=>i[n]===t);if(r)return r}return{}}return x}function xr(e,n,t,o){const x=a,r=bs(e,t,o),i={...r};if(n&&typeof n===x(2171)&&!Array.isArray(n))return{...i,...n};if(Array[x(927)](n)){const c={...i};for(const d of n){if(!d||typeof d!="object")continue;const s=d;s[x(2115)]!=null&&(c[String(s[x(2115)])]=s.value)}return c}return i}const zs={id:"_",name:"_",sample:{}};function Mx(e,n,t){const o=a,x=e[o(1669)]!=null?String(e[o(1669)]).trim():"",r=x?t[o(1876)](c=>c.id===x):void 0,i=r??zs;try{const c=xr(i,n,e.boundDatasetBindCode,e[o(1183)]);return new Function(o(1468),e[o(816)])(c)===!0}catch(c){return console[o(656)](o(1076)+e[o(659)]+"]:",c),!1}}function or(e,n,t){for(const o of e)if(Mx(o,n,t))return o}function rr(e,n){const t=a;for(const o of e){for(const x of o[t(1537)][t(1247)])x[t(1669)]===n&&(x[t(1669)]=null,x[t(1108)]=null,x[t(1183)]=null);o.type===t(1728)&&o.children?.length&&rr(o[t(514)],n)}}function Bx(e){const n=a;for(const t of e){for(const o of t.contentInfo[n(1247)])delete o.bindCodes;t[n(1424)]==="group"&&t[n(514)]?.[n(2194)]&&Bx(t[n(514)])}}const Dx=(e,n)=>({id:e||be[a(1161)](),name:n||a(2038),nodes:[],canvasConfig:{width:1920,height:1080,background:"#00193C",showGrid:!0},viewport:{scale:1,positionX:0,positionY:0},selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null,history:{past:[],future:[]}}),Cs=()=>{const e=a,n=Dx();return{id:be[e(1161)](),name:e(2199),canvases:[n],currentCanvasId:n.id,siblingGroups:[]}},ir=Cs(),qn=ir[a(1889)][0],Ms={root:ir,materials:[],mode:"select",lineDrawing:{isDrawing:!1,material:null,startPoint:null,endPoint:null},eventFlow:{eventBlocks:[],eventRoots:[],editingEventRootId:null,isEditingEventFlow:!1},dataPool:[],externalHandlerCatalog:[],nodes:qn.nodes,canvas:qn[a(1398)],viewport:qn[a(1187)],selectedNodeId:qn[a(669)],selectedNodeIds:qn[a(2207)],selectedStatusId:qn.selectedStatusId,history:qn[a(2166)]},pn=(e,n,t)=>({id:be[a(1161)](),type:e,targetId:n,payload:t,timestamp:Date[a(1960)]()}),He=zx.create()(vs((e,n)=>({...Ms,addCanvas:t=>{const o=a,x=Dx(be[o(1161)](),t||o(1437)+(n().root[o(1889)].length+1));return e(r=>{const i=o;r[i(1057)][i(1889)][i(1465)](x),r[i(1057)][i(1945)]=x.id;const c=x;r[i(1361)]=c.nodes,r[i(1152)]=c[i(1398)],r[i(1187)]=c.viewport,r[i(669)]=c[i(669)],r.selectedNodeIds=c[i(2207)],r[i(1702)]=c[i(1702)],r[i(2166)]=c[i(2166)]}),x.id},removeCanvas:t=>{e(o=>{const x=_0x4806,r=o[x(1057)][x(1889)][x(626)](i=>i.id===t);if(r!==-1&&!(o[x(1057)][x(1889)][x(2194)]<=1)){if(o[x(1057)][x(1889)][x(1808)](r,1),o.root.siblingGroups)for(const i of o[x(1057)].siblingGroups){const c=i[x(1768)].indexOf(t);c!==-1&&i[x(1768)].splice(c,1)}if(o.root[x(1945)]===t){const i=o[x(1057)][x(1889)][0];o[x(1057)][x(1945)]=i.id,o.nodes=i[x(1361)],o[x(1152)]=i[x(1398)],o[x(1187)]=i[x(1187)],o[x(669)]=i.selectedNodeId,o[x(2207)]=i[x(2207)],o[x(1702)]=i[x(1702)],o.history=i[x(2166)]}}})},switchCanvas:t=>{e(o=>{const x=_0x4806,r=o[x(1057)].canvases[x(1876)](i=>i.id===t);r&&(o[x(1057)][x(1945)]=t,o.nodes=r[x(1361)],o[x(1152)]=r[x(1398)],o[x(1187)]=r[x(1187)],o[x(669)]=r.selectedNodeId,o[x(2207)]=r[x(2207)],o.selectedStatusId=r[x(1702)],o.history=r[x(2166)])})},updateCanvasName:(t,o)=>{e(x=>{const r=_0x4806,i=x[r(1057)].canvases[r(1876)](c=>c.id===t);i&&(i.name=o)})},getCurrentCanvas:()=>{const t=a,o=n();return o[t(1057)][t(1889)][t(1876)](x=>x.id===o.root.currentCanvasId)},addSiblingGroup:(t,o)=>{const x=a,r=be[x(1161)]();return e(i=>{const c=x;i.root[c(369)]||(i[c(1057)].siblingGroups=[]);const d=i[c(1057)][c(369)][c(2194)]+1,s=Array[c(1139)](new Set((o||[]).filter(u=>i[c(1057)][c(1889)][c(1748)](f=>f.id===u))));i.root[c(369)][c(1465)]({id:r,name:t||"同级关系 "+d,canvasIds:s})}),r},removeSiblingGroup:t=>{e(o=>{const x=_0x4806;if(!o[x(1057)].siblingGroups)return;const r=o[x(1057)][x(369)][x(626)](i=>i.id===t);r!==-1&&o[x(1057)][x(369)][x(1808)](r,1)})},updateSiblingGroup:(t,o)=>{e(x=>{const r=_0x4806;if(!x[r(1057)][r(369)])return;const i=x[r(1057)][r(369)][r(1876)](c=>c.id===t);if(i&&(o[r(659)]!==void 0&&(i[r(659)]=o[r(659)]),o[r(1768)]!==void 0)){const c=new Set,d=[];for(const s of o[r(1768)])c[r(1826)](s)||x[r(1057)][r(1889)].some(u=>u.id===s)&&(c.add(s),d[r(1465)](s));i[r(1768)]=d}})},addCanvasToSiblingGroup:(t,o,x)=>{e(r=>{const i=_0x4806;if(!r[i(1057)].siblingGroups)return;const c=r[i(1057)][i(369)].find(d=>d.id===t);c&&r[i(1057)][i(1889)][i(1748)](d=>d.id===o)&&(c[i(1768)][i(911)](o)||(typeof x=="number"&&x>=0&&x<=c[i(1768)].length?c[i(1768)][i(1808)](x,0,o):c[i(1768)][i(1465)](o)))})},removeCanvasFromSiblingGroup:(t,o)=>{e(x=>{const r=_0x4806;if(!x[r(1057)][r(369)])return;const i=x[r(1057)][r(369)][r(1876)](d=>d.id===t);if(!i)return;const c=i[r(1768)][r(419)](o);c!==-1&&i[r(1768)][r(1808)](c,1)})},moveCanvasInSiblingGroup:(t,o,x)=>{e(r=>{const i=_0x4806;if(!r.root[i(369)])return;const c=r[i(1057)].siblingGroups[i(1876)](u=>u.id===t);if(!c)return;const d=c[i(1768)][i(419)](o);if(d===-1)return;const s=x==="up"?d-1:d+1;s<0||s>=c[i(1768)][i(2194)]||([c[i(1768)][d],c.canvasIds[s]]=[c[i(1768)][s],c[i(1768)][d]])})},nextSiblingCanvas:(t,o=!1)=>{const x=a,r=n(),i=r.root.siblingGroups?.[x(1876)](u=>u.id===t);if(!i||i[x(1768)][x(2194)]===0)return null;const c=i[x(1768)][x(1641)](u=>r[x(1057)][x(1889)].some(f=>f.id===u));if(c[x(2194)]===0)return null;const d=c[x(419)](r[x(1057)][x(1945)]||"");let s;if(d===-1)s=0;else if(d===c[x(2194)]-1){if(!o)return null;s=0}else s=d+1;return n()[x(2066)](c[s]),c[s]},prevSiblingCanvas:(t,o=!1)=>{const x=a,r=n(),i=r[x(1057)][x(369)]?.[x(1876)](u=>u.id===t);if(!i||i[x(1768)][x(2194)]===0)return null;const c=i[x(1768)][x(1641)](u=>r[x(1057)].canvases.some(f=>f.id===u));if(c[x(2194)]===0)return null;const d=c[x(419)](r.root[x(1945)]||"");let s;if(d===-1)s=c.length-1;else if(d===0){if(!o)return null;s=c[x(2194)]-1}else s=d-1;return n()[x(2066)](c[s]),c[s]},gotoSiblingCanvas:(t,o)=>{const x=a,r=n(),i=r.root.siblingGroups?.find(d=>d.id===t);if(!i)return null;const c=i[x(1768)][x(1641)](d=>r[x(1057)].canvases[x(1748)](s=>s.id===d));return o<0||o>=c[x(2194)]?null:(n()[x(2066)](c[o]),c[o])},getSiblingGroupsByCanvas:t=>{const o=a;return(n()[o(1057)][o(369)]||[])[o(1641)](r=>r[o(1768)][o(911)](t))},setSelectedNodeIds:t=>{e(o=>{const x=_0x4806,r=o.root.canvases[x(1876)](i=>i.id===o[x(1057)].currentCanvasId);r&&(r[x(2207)]=t,o[x(2207)]=t)})},addSelectedNodeId:t=>{e(o=>{const x=_0x4806,r=o.root[x(1889)][x(1876)](i=>i.id===o[x(1057)][x(1945)]);r&&!r[x(2207)][x(911)](t)&&(r[x(2207)][x(1465)](t),o[x(2207)]=r[x(2207)])})},removeSelectedNodeId:t=>{e(o=>{const x=_0x4806,r=o[x(1057)][x(1889)][x(1876)](i=>i.id===o[x(1057)][x(1945)]);r&&(r[x(2207)]=r[x(2207)].filter(i=>i!==t),o.selectedNodeIds=r.selectedNodeIds)})},clearSelectedNodeIds:()=>{e(t=>{const o=_0x4806,x=t[o(1057)][o(1889)][o(1876)](r=>r.id===t[o(1057)][o(1945)]);x&&(x[o(2207)]=[],t.selectedNodeIds=[])})},addNode:(t,o=!0)=>{e(x=>{const r=_0x4806,i=x[r(1057)].canvases[r(1876)](d=>d.id===x[r(1057)][r(1945)]);if(!i)return;const c={...t,id:t.id||be[r(1161)]()};i[r(1361)][r(1465)](c),x[r(1361)]=i[r(1361)],o&&(i[r(669)]=c.id,x[r(669)]=c.id,i[r(2166)][r(1090)].push(pn("NODE_SELECT",c.id)),x[r(2166)]=i[r(2166)])})},updateNode:(t,o)=>{e(x=>{const r=_0x4806,i=x[r(1057)].canvases[r(1876)](d=>d.id===x.root[r(1945)]);if(!i)return;const c=i.nodes[r(1876)](d=>d.id===t);c&&(o[r(721)]&&Object.assign(c.normalStyle,o[r(721)]),o[r(1537)]&&(c[r(1537)]={...c[r(1537)],...o[r(1537)]}),o[r(659)]&&(c[r(659)]=o.name),o[r(814)]&&Object[r(510)](c.controlInfo,o[r(814)]),o[r(514)]&&(c[r(514)]=o[r(514)]),i[r(2166)][r(1090)].push(pn(r(2017),t,o)),x[r(2166)]=i[r(2166)],x.nodes=i[r(1361)])})},updateNodeStyle:(t,o)=>{e(x=>{const r=_0x4806,i=x[r(1057)][r(1889)].find(d=>d.id===x[r(1057)].currentCanvasId);if(!i)return;const c=i[r(1361)][r(1876)](d=>d.id===t);c&&(Object[r(510)](c[r(721)],o),i[r(2166)][r(1090)][r(1465)](pn(r(2017),t,{normalStyle:o})),x[r(2166)]=i.history,x[r(1361)]=i[r(1361)])})},updateNodeContent:(t,o)=>{e(x=>{const r=_0x4806,i=x[r(1057)][r(1889)][r(1876)](d=>d.id===x.root[r(1945)]);if(!i)return;const c=i[r(1361)][r(1876)](d=>d.id===t);c&&(c[r(1537)]={...c[r(1537)],...o},i.history[r(1090)][r(1465)](pn(r(2017),t,{contentInfo:o})),x[r(2166)]=i[r(2166)],x[r(1361)]=i[r(1361)])})},updateNodeControl:(t,o)=>{e(x=>{const r=_0x4806,i=x[r(1057)][r(1889)].find(d=>d.id===x[r(1057)][r(1945)]);if(!i)return;const c=i[r(1361)][r(1876)](d=>d.id===t);c&&(Object[r(510)](c[r(814)],o),i.history[r(1090)][r(1465)](pn("PROPERTY_CHANGE",t,{controlInfo:o})),x[r(2166)]=i.history,x[r(1361)]=i.nodes)})},removeNode:t=>{e(o=>{const x=_0x4806,r=o[x(1057)][x(1889)][x(1876)](c=>c.id===o.root.currentCanvasId);if(!r)return;const i=r[x(1361)].findIndex(c=>c.id===t);i!==-1&&(r[x(1361)][x(1808)](i,1),o[x(1361)]=r[x(1361)],r.selectedNodeId===t&&(r[x(669)]=null,o[x(669)]=null,r.selectedStatusId=null,o[x(1702)]=null),r[x(2207)]=r[x(2207)][x(1641)](c=>c!==t),o[x(2207)]=r[x(2207)],r.history[x(1090)].push(pn(x(1338),t)),o.history=r.history)})},selectNode:t=>{e(o=>{const x=_0x4806,r=o[x(1057)].canvases[x(1876)](i=>i.id===o[x(1057)].currentCanvasId);r&&(r[x(669)]=t,o[x(669)]=t,r[x(1702)]=null,o[x(1702)]=null,t&&(r.history[x(1090)].push(pn("NODE_SELECT",t)),o[x(2166)]=r[x(2166)]))})},bringToFront:t=>{e(o=>{const x=_0x4806,r=o[x(1057)][x(1889)].find(d=>d.id===o[x(1057)].currentCanvasId);if(!r)return;const i=r[x(1361)][x(626)](d=>d.id===t);if(i===-1||i===r[x(1361)][x(2194)]-1)return;const[c]=r[x(1361)][x(1808)](i,1);r.nodes.push(c),o.nodes=r[x(1361)],r[x(2166)][x(1090)][x(1465)](pn(x(2017),t,{zOrder:x(1699)})),o[x(2166)]=r.history})},sendToBack:t=>{e(o=>{const x=_0x4806,r=o.root.canvases.find(d=>d.id===o[x(1057)][x(1945)]);if(!r)return;const i=r.nodes.findIndex(d=>d.id===t);if(i<=0)return;const[c]=r[x(1361)].splice(i,1);r[x(1361)][x(2182)](c),o[x(1361)]=r[x(1361)],r[x(2166)].past[x(1465)](pn(x(2017),t,{zOrder:"back"})),o[x(2166)]=r.history})},addStatus:(t,o)=>{e(x=>{const r=_0x4806,i=x[r(1057)][r(1889)][r(1876)](s=>s.id===x[r(1057)].currentCanvasId);if(!i)return;const c=i[r(1361)].find(s=>s.id===t);if(!c)return;const d={...o,id:be[r(1161)]()};c.contentInfo.statusList[r(1465)](d),i[r(2166)].past[r(1465)](pn(r(386),t,{statusId:d.id})),x[r(2166)]=i[r(2166)]})},removeStatus:(t,o)=>{e(x=>{const r=_0x4806,i=x.root[r(1889)][r(1876)](s=>s.id===x[r(1057)][r(1945)]);if(!i)return;const c=i[r(1361)][r(1876)](s=>s.id===t);if(!c)return;const d=c[r(1537)].statusList[r(626)](s=>s.id===o);d!==-1&&(c[r(1537)][r(1247)][r(1808)](d,1),c[r(1537)][r(1416)]===o&&(c.contentInfo[r(1416)]=void 0),i[r(1702)]===o&&(i.selectedStatusId=null,x[r(1702)]=null))})},updateStatus:(t,o,x)=>{e(r=>{const i=_0x4806,c=r.root[i(1889)][i(1876)](u=>u.id===r[i(1057)].currentCanvasId);if(!c)return;const d=c[i(1361)].find(u=>u.id===t);if(!d)return;const s=d[i(1537)][i(1247)][i(1876)](u=>u.id===o);s&&Object[i(510)](s,x)})},selectStatus:t=>{e(o=>{const x=_0x4806,r=o[x(1057)][x(1889)][x(1876)](i=>i.id===o.root.currentCanvasId);r&&(r[x(1702)]=t,o.selectedStatusId=t)})},evaluateCurrentStatus:(t,o)=>{const x=a,r=n(),i=r[x(1057)][x(1889)][x(1876)](s=>s.id===r.root[x(1945)]);if(!i)return;const c=i[x(1361)][x(1876)](s=>s.id===t);if(!c)return;const{dataPool:d}=n();for(const s of c[x(1537)].statusList)if(Mx(s,o,d))return s.id},addDataPoolItem:t=>{const o=a,x=be[o(1161)]();return e(r=>{const i=o;let c={};t.sample&&typeof t[i(1167)]===i(2171)&&(Array[i(927)](t[i(1167)])?c=t.sample:c=t[i(1167)]),r[i(695)][i(1465)]({...t,id:x,sample:c})}),x},updateDataPoolItem:(t,o)=>{e(x=>{const r=_0x4806,i=x[r(695)][r(1876)](c=>c.id===t);i&&(o[r(659)]!==void 0&&(i[r(659)]=o[r(659)]),o[r(1167)]!==void 0&&(o[r(1167)]&&typeof o[r(1167)]===r(2171)?i[r(1167)]=o[r(1167)]:i[r(1167)]={}))})},removeDataPoolItem:t=>{e(o=>{const x=_0x4806,r=o[x(695)].findIndex(i=>i.id===t);if(r!==-1){o[x(695)][x(1808)](r,1);for(const i of o[x(1057)][x(1889)])rr(i[x(1361)],t)}})},setDataPool:t=>{e(o=>{const x=_0x4806;o.dataPool=t[x(542)](r=>{const i=x;let c={};return r[i(1167)]&&typeof r[i(1167)]===i(2171)&&(c=r[i(1167)]),{...r,sample:c}})})},setEventFlow:t=>{e(o=>{const x=_0x4806;o.eventFlow={eventBlocks:t[x(2188)]??[],eventRoots:t[x(1528)]??[],editingEventRootId:t[x(744)]??null,isEditingEventFlow:t.isEditingEventFlow??!1}})},setExternalHandlerCatalog:t=>{e(o=>{const x=_0x4806,r=new Set;o[x(1304)]=[];for(const i of t){const c=String(i.key??"").trim();!c||r[x(1826)](c)||(r[x(1757)](c),o[x(1304)][x(1465)]({key:c,label:String(i.label??"").trim()||c,description:i[x(2149)]}))}})},addMaterial:t=>{e(o=>{const x=_0x4806;if(o[x(1507)].some(c=>c[x(659)]===t[x(659)]))return;const i={...t,id:be[x(1161)]()};o[x(1507)][x(1465)](i)})},updateMaterial:(t,o)=>{e(x=>{const r=_0x4806,i=x[r(1507)][r(1876)](c=>c.id===t);i&&Object.assign(i,o)})},removeMaterial:t=>{e(o=>{const x=_0x4806,r=o[x(1507)].findIndex(i=>i.id===t);r!==-1&&o[x(1507)][x(1808)](r,1)})},setViewport:t=>{e(o=>{const x=_0x4806,r=o.root[x(1889)].find(i=>i.id===o[x(1057)][x(1945)]);r&&(Object[x(510)](r[x(1187)],t),o.viewport=r[x(1187)])})},setCanvasConfig:t=>{e(o=>{const x=_0x4806,r=o.root[x(1889)].find(i=>i.id===o[x(1057)][x(1945)]);r&&(r.canvasConfig={...r[x(1398)],...t},o[x(1152)]=r[x(1398)])})},setMode:t=>{e(o=>{o.mode=t})},startLineDrawing:t=>{e(o=>{const x=_0x4806;o[x(660)]=x(1785),o[x(1601)]={isDrawing:!0,material:t,startPoint:null,endPoint:null}})},updateLineDrawing:t=>{e(o=>{const x=_0x4806;o[x(1601)].isDrawing&&(o[x(1601)][x(848)]=t)})},endLineDrawing:()=>{e(t=>{const o=_0x4806;t[o(660)]=o(1877),t[o(1601)]={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},cancelLineDrawing:()=>{e(t=>{const o=_0x4806;t[o(660)]=o(1877),t[o(1601)]={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},undo:()=>{e(t=>{const o=_0x4806,x=t[o(1057)][o(1889)][o(1876)](i=>i.id===t[o(1057)][o(1945)]);if(!x)return;const r=x[o(2166)][o(1090)][o(1384)]();r&&(x[o(2166)][o(1589)][o(1465)](r),t.history=x[o(2166)])})},redo:()=>{e(t=>{const o=_0x4806,x=t.root[o(1889)][o(1876)](i=>i.id===t[o(1057)][o(1945)]);if(!x)return;const r=x.history.future[o(1384)]();r&&(x[o(2166)][o(1090)][o(1465)](r),t[o(2166)]=x[o(2166)])})},recordEvent:t=>{e(o=>{const x=_0x4806,r=o[x(1057)].canvases[x(1876)](i=>i.id===o.root.currentCanvasId);r&&(r[x(2166)][x(1090)][x(1465)](t),r.history[x(1589)]=[],o[x(2166)]=r[x(2166)])})},exportScheme:()=>{const t=a,o=n();return{version:"2.0.0",root:o.root,materials:o.materials,dataPool:o.dataPool,eventFlow:o[t(1302)],metadata:{name:o[t(1057)][t(659)],description:"",createdAt:new Date()[t(482)](),updatedAt:new Date()[t(482)]()}}},importScheme:t=>{e(o=>{const x=_0x4806;if(t.root){if(o[x(1057)]=t[x(1057)],!o[x(1057)][x(369)])o.root.siblingGroups=[];else{const i=new Set(o[x(1057)][x(1889)][x(542)](c=>c.id));for(const c of o.root[x(369)])c[x(1768)]=c[x(1768)][x(1641)](d=>i[x(1826)](d))}o[x(695)]=t[x(695)]??[],t[x(1302)]&&(o[x(1302)]={eventBlocks:t[x(1302)].eventBlocks??[],eventRoots:t[x(1302)][x(1528)]??[],editingEventRootId:t[x(1302)][x(744)]??null,isEditingEventFlow:t[x(1302)].isEditingEventFlow??!1});const r=o[x(1057)].canvases[x(1876)](i=>i.id===o.root[x(1945)])||o[x(1057)][x(1889)][0];r&&(o[x(1057)][x(1945)]=r.id,o.nodes=r[x(1361)],o[x(1152)]=r[x(1398)],o[x(1187)]=r.viewport,o[x(669)]=r.selectedNodeId,o.selectedNodeIds=r.selectedNodeIds,o[x(1702)]=r[x(1702)],o[x(2166)]=r.history)}else{const r=Dx();r[x(1361)]=t[x(1361)]||[],o[x(1057)].canvases=[r],o[x(1057)][x(1945)]=r.id,o[x(1057)][x(369)]=[],o[x(695)]=t.dataPool??[],t[x(1302)]&&(o[x(1302)]={eventBlocks:t[x(1302)][x(2188)]??[],eventRoots:t[x(1302)][x(1528)]??[],editingEventRootId:t[x(1302)].editingEventRootId??null,isEditingEventFlow:t[x(1302)].isEditingEventFlow??!1}),o[x(1361)]=r[x(1361)],o[x(1152)]=r[x(1398)],o.viewport=t[x(1187)]||r[x(1187)],o.selectedNodeId=null,o[x(1702)]=null,o[x(2166)]={past:[],future:[]}}for(const r of o.root[x(1889)])Bx(r.nodes)})},exportCanvas:t=>{const o=a,x=n(),r=t||x[o(1057)][o(1945)],i=x.root[o(1889)][o(1876)](c=>c.id===r);if(!i)throw new Error(o(1437)+r+" 不存在");return{version:o(1607),canvas:i,metadata:{name:i.name,description:"",exportedAt:new Date()[o(482)]()}}},importCanvas:(t,o)=>{e(x=>{const r=_0x4806,i=t[r(1152)],c=o||x.root[r(1945)],d=x.root[r(1889)].find(s=>s.id===c);if(d)d.name=i.name,d[r(1361)]=i.nodes||[],d[r(1398)]=i[r(1398)],d.viewport=i[r(1187)],d.selectedNodeId=null,d.selectedNodeIds=[],d[r(1702)]=null,d[r(2166)]=i[r(2166)]||{past:[],future:[]},c===x[r(1057)][r(1945)]&&(x[r(1361)]=d[r(1361)],x[r(1152)]=d[r(1398)],x[r(1187)]=d[r(1187)],x[r(669)]=d.selectedNodeId,x.selectedNodeIds=d[r(2207)],x[r(1702)]=d[r(1702)],x[r(2166)]=d[r(2166)]);else{const s={...i,id:be[r(1161)](),selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null};x[r(1057)][r(1889)][r(1465)](s),x[r(1057)][r(1945)]=s.id,x[r(1361)]=s[r(1361)],x.canvas=s.canvasConfig,x[r(1187)]=s[r(1187)],x[r(669)]=s[r(669)],x[r(2207)]=s[r(2207)],x[r(1702)]=s[r(1702)],x[r(2166)]=s[r(2166)]}for(const s of x[r(1057)][r(1889)])Bx(s[r(1361)])})},addEventBlock:t=>{const o=a,x=be[o(1161)]();return e(r=>{const i=o;r[i(1302)][i(2188)][i(1465)]({...t,id:x})}),x},upsertEventBlock:t=>{e(o=>{const x=_0x4806,r=o[x(1302)][x(2188)][x(626)](i=>i.id===t.id);r!==-1?o[x(1302)][x(2188)][r]={...t}:o.eventFlow[x(2188)].push({...t})})},updateEventBlock:(t,o)=>{e(x=>{const r=_0x4806,i=x.eventFlow.eventBlocks[r(1876)](c=>c.id===t);i&&Object[r(510)](i,o)})},removeEventBlock:t=>{e(o=>{const x=_0x4806,r=o.eventFlow.eventBlocks[x(626)](i=>i.id===t);r!==-1&&o[x(1302)][x(2188)][x(1808)](r,1)})},addEventRoot:t=>{const o=a,x=be[o(1161)]();return e(r=>{const i=o;r[i(1302)][i(1528)][i(1465)]({...t,id:x})}),x},updateEventRoot:(t,o)=>{e(x=>{const r=_0x4806,i=x[r(1302)].eventRoots.find(c=>c.id===t);i&&Object.assign(i,o)})},removeEventRoot:t=>{e(o=>{const x=_0x4806,r=o[x(1302)][x(1528)].findIndex(i=>i.id===t);r!==-1&&o.eventFlow.eventRoots[x(1808)](r,1)})},setEditingEventRoot:t=>{e(o=>{const x=_0x4806;o[x(1302)][x(744)]=t})},setIsEditingEventFlow:t=>{e(o=>{const x=_0x4806;o.eventFlow[x(795)]=t})},bindNodeEvent:(t,o,x)=>{const r=a,i=be[r(1161)]();return e(c=>{c[r(1302)].eventRoots.push({id:i,bindNodeId:t,eventType:o,flowData:x,enabled:!0})}),i},unbindNodeEvent:(t,o,x)=>{e(r=>{const i=_0x4806,c=r[i(1302)][i(1528)][i(626)](d=>{const s=i;return d.bindNodeId!==t||d[s(1231)]!==o?!1:o===s(717)?(d[s(1426)]||"")[s(1258)]()===(x||"").trim():!0});c!==-1&&r[i(1302)][i(1528)][i(1808)](c,1)})},getNodeEventRoots:t=>{const o=a;return n()[o(1302)][o(1528)][o(1641)](x=>x.bindNodeId===t)}}))),cr=[{id:be[a(1161)](),name:"矩形",type:a(1072),src:"data:image/svg+xml,"+encodeURIComponent(a(1243))},{id:be[a(1161)](),name:"圆形",type:a(1072),src:a(1215)+encodeURIComponent(a(1299))},{id:be[a(1161)](),name:"圆角矩形",type:a(1072),src:"data:image/svg+xml,"+encodeURIComponent(a(722))},{id:be[a(1161)](),name:"阀门",type:a(1072),src:a(1215)+encodeURIComponent(a(1212))},{id:be[a(1161)](),name:"泵",type:"IMAGE",src:a(1215)+encodeURIComponent(a(712))},{id:be.nanoid(),name:"罐体",type:a(1072),src:"data:image/svg+xml,"+encodeURIComponent(a(1271))},{id:be[a(1161)](),name:a(1735),type:a(1505),content:{label:"标签",value:"值",labelStyle:{fontSize:14,fontWeight:a(1713),color:"#262626",textAlign:a(1557)},valueStyle:{fontSize:14,fontWeight:a(898),color:a(1690),textAlign:a(1557)}}},{id:be[a(1161)](),name:"线条",type:a(1881),config:{thickness:2,lineWeight:2,color:a(443),lineType:a(2176)}}],Lx=e=>({id:be[a(1161)](),name:"默认状态",expression:"return true;",material:{...e,id:be.nanoid()},boundDatasetId:null}),ar=(e,n,t)=>{const o=a;if(t?.[o(1424)]===o(755)&&t.config?.[o(1361)]){const x=t[o(713)][o(1361)].map(u=>({...u,id:be[o(1161)]()}));let r=1/0,i=1/0,c=-1/0,d=-1/0;x[o(1369)](u=>{const f=o,y=u[f(721)].x||0,g=u[f(721)].y||0,p=u[f(721)][f(1238)]||0,h=u[f(721)][f(1265)]||0;r=Math.min(r,y),i=Math[f(831)](i,g),c=Math.max(c,y+p),d=Math[f(1439)](d,g+h)});const s=x.map(u=>({...u,normalStyle:{...u[o(721)],x:(u[o(721)].x||0)-r,y:(u[o(721)].y||0)-i,scale:void 0}}));return{id:be[o(1161)](),name:t[o(659)]||o(1043),type:o(1728),normalStyle:{width:c-r,height:d-i,x:e,y:n},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:s}}return{id:be.nanoid(),name:o(2003),type:o(898),normalStyle:{width:120,height:100,x:e,y:n,background:o(583),padding:8},contentInfo:{statusList:t?[Lx(t)]:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}}},{Panel:it}=z[a(472)],{Text:u0}=z[a(1052)],sr=({onUploadSvg:e})=>{const n=a,{materials:t,addMaterial:o,removeMaterial:x,selectedStatusId:r,selectStatus:i,mode:c,lineDrawing:d,startLineDrawing:s,cancelLineDrawing:u}=He(),[f,y]=B[n(655)]([n(1750),n(987),n(1755),n(2070)]),g=v=>{const m=n,w=new FileReader;return w[m(1841)]=C=>{const k=m,O=C.target?.result;o({name:v[k(659)][k(598)](k(1134),""),type:k(1072),src:O})},w[m(1045)](v),!1},p={basic:t[n(1641)](v=>["矩形","圆形",n(1272)][n(911)](v[n(659)])),device:t.filter(v=>["阀门","泵","罐体"][n(911)](v.name)||v.type===n(1072)&&!["矩形","圆形",n(1272)][n(911)](v[n(659)])&&v[n(659)]!==n(1267)),text:t.filter(v=>v[n(1424)]===n(1505)),line:t[n(1641)](v=>v[n(1424)]===n(1881)),group:t.filter(v=>v[n(1424)]===n(755)&&v[n(713)]?.[n(1361)]),custom:t.filter(v=>v[n(1424)]==="CUSTOM"&&!v[n(713)]?.[n(1361)]||v[n(1424)]==="IMAGE"&&!["矩形","圆形",n(1272),"阀门","泵","罐体"].includes(v[n(659)]))},h=(v,m)=>{const w=n;v[w(508)][w(881)]=w(1955),v[w(508)][w(1334)](w(1885),JSON.stringify(m));const C=v[w(1153)][w(1542)](".material-preview");C&&v[w(508)][w(466)](C,20,20)},b=v=>{const m=n;v[m(1424)]===m(1881)&&s(v)},M=(v,m=!1)=>{const w=n,C=m===!0,k=c===w(1785)&&C&&d[w(600)]?.id===v.id;return l[w(1993)](z[w(1521)][w(1047)],{draggable:!C,onDragStart:O=>h(O,v),onClick:()=>C&&b(v),className:w(1698)+(C?"cursor-pointer":w(1887))+w(1200)+"hover:bg-gray-100"+w(1200)+(k?"bg-blue-50 ring-2 ring-blue-400":"")+`
3
- `,actions:[C?l[w(1993)](z[w(1804)],{type:w(1755),size:w(398),icon:l[w(1993)](ae[w(1081)],{}),onClick:O=>{O[w(1064)](),b(v)},children:"绘制"},"draw"):null,l[w(1993)](z[w(1804)],{type:w(1755),size:w(398),danger:!0,icon:l.jsx(ae[w(1096)],{}),onClick:O=>{O[w(1064)](),x(v.id)}},"delete")][w(1641)](Boolean),children:l.jsxs(w(539),{className:w(1661)+(C?"":w(1884)),children:[l[w(1993)](w(539),{className:w(1745),children:v[w(1424)]===w(1072)&&v[w(1909)]?l[w(1993)](z[w(1498)],{src:v[w(1909)],alt:v[w(659)],width:40,height:40,preview:!1}):v[w(1424)]===w(1505)?l[w(1993)](w(1102),{className:w(1259),children:"T"}):v[w(1424)]==="LINE"?l[w(1993)](w(539),{className:w(1368)}):v.type===w(755)&&v[w(713)]?.[w(1361)]?l.jsx("span",{className:w(1316),children:"G"}):l[w(1993)](w(1102),{className:w(1259),children:"?"})}),l[w(1239)](w(539),{className:w(963),children:[l.jsx(u0,{strong:!0,className:w(492),children:v[w(659)]}),l.jsxs(w(539),{className:w(2036),children:[l.jsx(u0,{type:w(2155),className:w(2062),children:v.type}),k&&l[w(1993)](z[w(2037)],{color:w(1306),className:"text-xs",children:w(2185)})]})]})]})},v.id)};return l[n(1239)](n(539),{className:"h-full flex flex-col bg-white border-r border-gray-200",children:[l[n(1239)](n(539),{className:n(1401),children:[l[n(1993)]("h3",{className:n(1036),children:n(1857)}),l[n(1993)](u0,{type:n(2155),className:"text-sm",children:n(614)})]}),l.jsx(n(539),{className:"p-3 border-b border-gray-200",children:e?l[n(1993)](z[n(1804)],{icon:l[n(1993)](ae.UploadOutlined,{}),block:!0,type:n(2022),onClick:()=>{const v=n;e()[v(709)](m=>{const w=v;console[w(365)](w(1492),m)})},children:n(444)}):l[n(1993)](z[n(637)],{accept:n(1134),beforeUpload:g,showUploadList:!1,children:l[n(1993)](z.Button,{icon:l[n(1993)](ae[n(2058)],{}),block:!0,type:n(2022),children:n(444)})})}),l[n(1993)]("div",{className:n(822),children:l[n(1239)](z[n(472)],{activeKey:f,onChange:v=>y(v),ghost:!0,expandIconPosition:"end",children:[l.jsx(it,{header:"基础形状",children:l[n(1993)](z[n(1521)],{dataSource:p.basic,renderItem:v=>M(v,!1),locale:{emptyText:l[n(1993)](z.Empty,{description:n(1559),image:z[n(900)][n(592)]})}})},n(1750)),l.jsx(it,{header:n(1162),children:l[n(1993)](z[n(1521)],{dataSource:p[n(987)],renderItem:v=>M(v,!1),locale:{emptyText:l.jsx(z[n(900)],{description:n(1559),image:z[n(900)][n(592)]})}})},"device"),l[n(1993)](it,{header:"文本",children:l[n(1993)](z[n(1521)],{dataSource:p.text,renderItem:v=>M(v,!1),locale:{emptyText:l[n(1993)](z[n(900)],{description:n(1559),image:z[n(900)][n(592)]})}})},"text"),l[n(1239)](it,{header:l.jsxs(n(539),{className:n(556),children:[l[n(1993)](n(1102),{children:"线条"}),c===n(1785)&&l[n(1993)](z[n(2037)],{color:"blue",className:n(2062),children:n(479)})]}),children:[l.jsx(z[n(1521)],{dataSource:p[n(2070)],renderItem:v=>M(v,!0),locale:{emptyText:l.jsx(z[n(900)],{description:n(1559),image:z.Empty[n(592)]})}}),c==="line-draw"&&l[n(1239)](n(539),{className:n(1604),children:[l.jsx(n(539),{children:n(2144)}),l[n(1993)](n(539),{children:"点击画布确定起点和终点"})]})]},"line"),p[n(1728)].length>0&&l[n(1993)](it,{header:"群组",children:l[n(1993)](z[n(1521)],{dataSource:p[n(1728)],renderItem:v=>M(v,!1),locale:{emptyText:l.jsx(z[n(900)],{description:n(1559),image:z[n(900)][n(592)]})}})},"group"),p[n(1260)][n(2194)]>0&&l[n(1993)](it,{header:n(1267),children:l[n(1993)](z.List,{dataSource:p.custom,renderItem:v=>M(v,!1),locale:{emptyText:l[n(1993)](z[n(900)],{description:n(1559),image:z[n(900)][n(592)]})}})},"custom")]})}),l[n(1993)](n(539),{className:n(1317),children:l.jsx(u0,{type:"secondary",className:n(2062),children:c===n(1785)?l[n(1993)](l[n(915)],{children:"💡 提示:点击绘制线段,可连续绘制多段线,双击结束绘制,ESC 取消"}):l[n(1993)](l[n(915)],{children:n(1513)})})})]})};var Nx=function(e,n){const t=a;return Nx=Object[t(418)]||{__proto__:[]}instanceof Array&&function(o,x){const r=t;o[r(364)]=x}||function(o,x){const r=t;for(var i in x)Object[r(1201)][r(436)].call(x,i)&&(o[i]=x[i])},Nx(e,n)};function An(e,n){const t=a;if(typeof n!==t(1154)&&n!==null)throw new TypeError("Class extends value "+String(n)+t(1141));Nx(e,n);function o(){const x=t;this[x(1975)]=e}e.prototype=n===null?Object[t(1004)](n):(o[t(1201)]=n[t(1201)],new o)}function Bs(e,n,t,o){function x(r){return r instanceof t?r:new t(function(i){i(r)})}return new(t||(t=Promise))(function(r,i){const c=_0x4806;function d(f){const y=_0x4806;try{u(o[y(1991)](f))}catch(g){i(g)}}function s(f){try{u(o.throw(f))}catch(y){i(y)}}function u(f){const y=_0x4806;f[y(416)]?r(f[y(1981)]):x(f.value)[y(1796)](d,s)}u((o=o[c(1241)](e,n||[]))[c(1991)]())})}function lr(e,n){const t=a;var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},x,r,i,c=Object[t(1004)]((typeof Iterator===t(1154)?Iterator:Object)[t(1201)]);return c[t(1991)]=d(0),c[t(1639)]=d(1),c[t(1645)]=d(2),typeof Symbol=="function"&&(c[Symbol[t(2104)]]=function(){return this}),c;function d(u){return function(f){return s([u,f])}}function s(u){const f=t;if(x)throw new TypeError("Generator is already executing.");for(;c&&(c=0,u[0]&&(o=0)),o;)try{if(x=1,r&&(i=u[0]&2?r[f(1645)]:u[0]?r[f(1639)]||((i=r[f(1645)])&&i[f(897)](r),0):r[f(1991)])&&!(i=i[f(897)](r,u[1]))[f(416)])return i;switch(r=0,i&&(u=[u[0]&2,i[f(1981)]]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o[f(1834)]++,r=u[1],u=[0];continue;case 7:u=o.ops[f(1384)](),o.trys[f(1384)]();continue;default:if(i=o[f(2050)],!(i=i[f(2194)]>0&&i[i[f(2194)]-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o[f(1834)]<i[1]){o[f(1834)]=i[1],i=u;break}if(i&&o[f(1834)]<i[2]){o.label=i[2],o.ops[f(1465)](u);break}i[2]&&o[f(429)][f(1384)](),o.trys[f(1384)]();continue}u=n[f(897)](e,o)}catch(y){u=[6,y],r=0}finally{x=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function ct(e){const n=a;var t=typeof Symbol===n(1154)&&Symbol[n(2104)],o=t&&e[t],x=0;if(o)return o.call(e);if(e&&typeof e[n(2194)]===n(411))return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(t?"Object is not iterable.":n(1349))}function f0(e,n){const t=a;var o=typeof Symbol=="function"&&e[Symbol[t(2104)]];if(!o)return e;var x=o.call(e),r,i=[],c;try{for(;(n===void 0||n-- >0)&&!(r=x[t(1991)]())[t(416)];)i.push(r[t(1981)])}catch(d){c={error:d}}finally{try{r&&!r[t(416)]&&(o=x[t(1645)])&&o[t(897)](x)}finally{if(c)throw c.error}}return i}function h0(e,n,t){const o=a;if(t||arguments[o(2194)]===2)for(var x=0,r=n[o(2194)],i;x<r;x++)(i||!(x in n))&&(i||(i=Array[o(1201)][o(1172)].call(n,0,x)),i[x]=n[x]);return e[o(905)](i||Array.prototype.slice[o(897)](n))}function at(e){return this instanceof at?(this.v=e,this):new at(e)}function Ds(e,n,t){const o=a;if(!Symbol[o(1894)])throw new TypeError("Symbol.asyncIterator is not defined.");var x=t[o(1241)](e,n||[]),r,i=[];return r=Object[o(1004)]((typeof AsyncIterator=="function"?AsyncIterator:Object)[o(1201)]),d("next"),d(o(1639)),d(o(1645),c),r[Symbol.asyncIterator]=function(){return this},r;function c(p){return function(h){const b=_0x4806;return Promise[b(2192)](h)[b(1796)](p,y)}}function d(p,h){x[p]&&(r[p]=function(b){return new Promise(function(M,v){i.push([p,b,M,v])>1||s(p,b)})},h&&(r[p]=h(r[p])))}function s(p,h){try{u(x[p](h))}catch(b){g(i[0][3],b)}}function u(p){const h=o;p.value instanceof at?Promise[h(2192)](p[h(1981)].v)[h(1796)](f,y):g(i[0][2],p)}function f(p){s("next",p)}function y(p){s(o(1639),p)}function g(p,h){const b=o;p(h),i.shift(),i[b(2194)]&&s(i[0][0],i[0][1])}}function Ls(e){const n=a;if(!Symbol[n(1894)])throw new TypeError(n(998));var t=e[Symbol[n(1894)]],o;return t?t[n(897)](e):(e=typeof ct===n(1154)?ct(e):e[Symbol[n(2104)]](),o={},x(n(1991)),x(n(1639)),x(n(1645)),o[Symbol[n(1894)]]=function(){return this},o);function x(i){o[i]=e[i]&&function(c){return new Promise(function(d,s){const u=_0x4806;c=e[i](c),r(d,s,c[u(416)],c[u(1981)])})}}function r(i,c,d,s){const u=n;Promise[u(2192)](s)[u(1796)](function(f){i({value:f,done:d})},c)}}typeof SuppressedError=="function"&&SuppressedError;function Ue(e){return typeof e=="function"}function Sx(e){const n=a;var t=function(x){const r=_0x4806;Error[r(897)](x),x[r(1546)]=new Error()[r(1546)]},o=e(t);return o[n(1201)]=Object[n(1004)](Error[n(1201)]),o[n(1201)][n(1975)]=o,o}var kx=Sx(function(e){return function(t){const o=_0x4806;e(this),this.message=t?t[o(2194)]+o(924)+t.map(function(x,r){return r+1+") "+x.toString()})[o(886)](`
4
- `):"",this.name=o(1364),this[o(1400)]=t}});function g0(e,n){const t=a;if(e){var o=e[t(419)](n);0<=o&&e[t(1808)](o,1)}}var Yt=(function(){const e=a;function n(t){const o=_0x4806;this[o(754)]=t,this.closed=!1,this[o(935)]=null,this._finalizers=null}return n.prototype[e(1581)]=function(){const t=e;var o,x,r,i,c;if(!this[t(847)]){this[t(847)]=!0;var d=this[t(935)];if(d)if(this._parentage=null,Array[t(927)](d))try{for(var s=ct(d),u=s[t(1991)]();!u[t(416)];u=s[t(1991)]()){var f=u[t(1981)];f[t(921)](this)}}catch(M){o={error:M}}finally{try{u&&!u.done&&(x=s[t(1645)])&&x[t(897)](s)}finally{if(o)throw o.error}}else d.remove(this);var y=this[t(754)];if(Ue(y))try{y()}catch(M){c=M instanceof kx?M[t(1400)]:[M]}var g=this[t(2122)];if(g){this._finalizers=null;try{for(var p=ct(g),h=p.next();!h[t(416)];h=p.next()){var b=h[t(1981)];try{fr(b)}catch(M){c=c??[],M instanceof kx?c=h0(h0([],f0(c)),f0(M[t(1400)])):c[t(1465)](M)}}}catch(M){r={error:M}}finally{try{h&&!h[t(416)]&&(i=p[t(1645)])&&i[t(897)](p)}finally{if(r)throw r[t(551)]}}}if(c)throw new kx(c)}},n[e(1201)][e(1757)]=function(t){const o=e;var x;if(t&&t!==this)if(this[o(847)])fr(t);else{if(t instanceof n){if(t[o(847)]||t[o(2048)](this))return;t[o(1360)](this)}(this._finalizers=(x=this[o(2122)])!==null&&x!==void 0?x:[])[o(1465)](t)}},n[e(1201)][e(2048)]=function(t){const o=e;var x=this[o(935)];return x===t||Array.isArray(x)&&x[o(911)](t)},n[e(1201)][e(1360)]=function(t){const o=e;var x=this[o(935)];this[o(935)]=Array[o(927)](x)?(x[o(1465)](t),x):x?[x,t]:t},n[e(1201)]._removeParent=function(t){const o=e;var x=this[o(935)];x===t?this[o(935)]=null:Array.isArray(x)&&g0(x,t)},n[e(1201)][e(921)]=function(t){const o=e;var x=this[o(2122)];x&&g0(x,t),t instanceof n&&t[o(1880)](this)},n[e(1105)]=(function(){const t=e;var o=new n;return o[t(847)]=!0,o})(),n})(),dr=Yt[a(1105)];function ur(e){const n=a;return e instanceof Yt||e&&n(847)in e&&Ue(e[n(921)])&&Ue(e[n(1757)])&&Ue(e[n(1581)])}function fr(e){const n=a;Ue(e)?e():e[n(1581)]()}var Ns={Promise:void 0},Ss={setTimeout:function(e,n){const t=a;for(var o=[],x=2;x<arguments[t(2194)];x++)o[x-2]=arguments[x];return setTimeout.apply(void 0,h0([e,n],f0(o)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function hr(e){Ss.setTimeout(function(){throw e})}function gr(){}function y0(e){e()}var Ix=(function(e){const n=a;An(t,e);function t(o){const x=_0x4806;var r=e[x(897)](this)||this;return r.isStopped=!1,o?(r[x(2072)]=o,ur(o)&&o[x(1757)](r)):r.destination=Ps,r}return t[n(1004)]=function(o,x,r){return new Px(o,x,r)},t[n(1201)][n(1991)]=function(o){const x=n;this[x(1631)]||this[x(936)](o)},t[n(1201)].error=function(o){const x=n;this.isStopped||(this.isStopped=!0,this[x(705)](o))},t[n(1201)][n(1554)]=function(){const o=n;this.isStopped||(this[o(1631)]=!0,this._complete())},t[n(1201)][n(1581)]=function(){const o=n;!this.closed&&(this[o(1631)]=!0,e.prototype[o(1581)][o(897)](this),this[o(2072)]=null)},t[n(1201)][n(936)]=function(o){const x=n;this[x(2072)][x(1991)](o)},t.prototype[n(705)]=function(o){const x=n;try{this.destination[x(551)](o)}finally{this[x(1581)]()}},t.prototype._complete=function(){const o=n;try{this[o(2072)][o(1554)]()}finally{this[o(1581)]()}},t})(Yt),ks=(function(){const e=a;function n(t){this.partialObserver=t}return n[e(1201)][e(1991)]=function(t){const o=e;var x=this.partialObserver;if(x[o(1991)])try{x[o(1991)](t)}catch(r){m0(r)}},n[e(1201)].error=function(t){const o=e;var x=this[o(1230)];if(x.error)try{x[o(551)](t)}catch(r){m0(r)}else m0(t)},n[e(1201)][e(1554)]=function(){const t=e;var o=this[t(1230)];if(o.complete)try{o[t(1554)]()}catch(x){m0(x)}},n})(),Px=(function(e){An(n,e);function n(t,o,x){const r=_0x4806;var i=e[r(897)](this)||this,c;return Ue(t)||!t?c={next:t??void 0,error:o??void 0,complete:x??void 0}:c=t,i[r(2072)]=new ks(c),i}return n})(Ix);function m0(e){hr(e)}function Is(e){throw e}var Ps={closed:!0,next:gr,error:Is,complete:gr},Ax=(function(){const e=a;return typeof Symbol===e(1154)&&Symbol.observable||e(2065)})();function yr(e){return e}function As(e){const n=a;return e.length===0?yr:e[n(2194)]===1?e[0]:function(o){return e[n(1606)](function(r,i){return i(r)},o)}}var on=(function(){const e=a;function n(t){t&&(this._subscribe=t)}return n[e(1201)][e(470)]=function(t){const o=e;var x=new n;return x[o(964)]=this,x.operator=t,x},n[e(1201)][e(1722)]=function(t,o,x){var r=this,i=Es(t)?t:new Px(t,o,x);return y0(function(){const c=_0x4806;var d=r,s=d.operator,u=d.source;i[c(1757)](s?s[c(897)](i,u):u?r._subscribe(i):r[c(642)](i))}),i},n[e(1201)][e(642)]=function(t){const o=e;try{return this[o(2184)](t)}catch(x){t[o(551)](x)}},n.prototype[e(1369)]=function(t,o){var x=this;return o=mr(o),new o(function(r,i){var c=new Px({next:function(d){const s=_0x4806;try{t(d)}catch(u){i(u),c[s(1581)]()}},error:i,complete:r});x.subscribe(c)})},n[e(1201)][e(2184)]=function(t){const o=e;var x;return(x=this[o(964)])===null||x===void 0?void 0:x.subscribe(t)},n[e(1201)][Ax]=function(){return this},n[e(1201)][e(458)]=function(){const t=e;for(var o=[],x=0;x<arguments[t(2194)];x++)o[x]=arguments[x];return As(o)(this)},n[e(1201)][e(980)]=function(t){var o=this;return t=mr(t),new t(function(x,r){const i=_0x4806;var c;o[i(1722)](function(d){return c=d},function(d){return r(d)},function(){return x(c)})})},n.create=function(t){return new n(t)},n})();function mr(e){var n;return(n=e??Ns.Promise)!==null&&n!==void 0?n:Promise}function js(e){const n=a;return e&&Ue(e[n(1991)])&&Ue(e[n(551)])&&Ue(e[n(1554)])}function Es(e){return e&&e instanceof Ix||js(e)&&ur(e)}function Ys(e){return Ue(e?.lift)}function Wn(e){return function(n){const t=_0x4806;if(Ys(n))return n[t(470)](function(o){const x=t;try{return e(o,this)}catch(r){this[x(551)](r)}});throw new TypeError(t(1382))}}function Xn(e,n,t,o,x){return new Us(e,n,t,o,x)}var Us=(function(e){const n=a;An(t,e);function t(o,x,r,i,c,d){const s=_0x4806;var u=e[s(897)](this,o)||this;return u[s(1536)]=c,u[s(1636)]=d,u[s(936)]=x?function(f){const y=s;try{x(f)}catch(g){o[y(551)](g)}}:e.prototype[s(936)],u[s(705)]=i?function(f){const y=s;try{i(f)}catch(g){o[y(551)](g)}finally{this[y(1581)]()}}:e.prototype[s(705)],u[s(1683)]=r?function(){const f=s;try{r()}catch(y){o.error(y)}finally{this[f(1581)]()}}:e.prototype[s(1683)],u}return t[n(1201)].unsubscribe=function(){const o=n;var x;if(!this.shouldUnsubscribe||this[o(1636)]()){var r=this[o(847)];e[o(1201)].unsubscribe[o(897)](this),!r&&((x=this.onFinalize)===null||x===void 0||x[o(897)](this))}},t})(Ix),Gs=Sx(function(e){return function(){const t=_0x4806;e(this),this[t(659)]=t(2057),this.message=t(375)}}),wr=(function(e){const n=a;An(t,e);function t(){const o=_0x4806;var x=e[o(897)](this)||this;return x[o(847)]=!1,x[o(651)]=null,x[o(1066)]=[],x.isStopped=!1,x.hasError=!1,x[o(863)]=null,x}return t.prototype.lift=function(o){var x=new vr(this,this);return x.operator=o,x},t.prototype._throwIfClosed=function(){if(this[_0x4806(847)])throw new Gs},t[n(1201)].next=function(o){var x=this;y0(function(){const r=_0x4806;var i,c;if(x._throwIfClosed(),!x[r(1631)]){!x[r(651)]&&(x[r(651)]=Array[r(1139)](x.observers));try{for(var d=ct(x[r(651)]),s=d[r(1991)]();!s[r(416)];s=d[r(1991)]()){var u=s[r(1981)];u.next(o)}}catch(f){i={error:f}}finally{try{s&&!s[r(416)]&&(c=d.return)&&c.call(d)}finally{if(i)throw i.error}}}})},t.prototype[n(551)]=function(o){var x=this;y0(function(){const r=_0x4806;if(x._throwIfClosed(),!x[r(1631)]){x[r(996)]=x[r(1631)]=!0,x[r(863)]=o;for(var i=x[r(1066)];i[r(2194)];)i[r(708)]().error(o)}})},t.prototype.complete=function(){var o=this;y0(function(){const x=_0x4806;if(o._throwIfClosed(),!o[x(1631)]){o[x(1631)]=!0;for(var r=o[x(1066)];r[x(2194)];)r[x(708)]().complete()}})},t[n(1201)].unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t[n(1201)],n(2174),{get:function(){var o;return((o=this.observers)===null||o===void 0?void 0:o.length)>0},enumerable:!1,configurable:!0}),t[n(1201)][n(642)]=function(o){const x=n;return this[x(1682)](),e.prototype[x(642)][x(897)](this,o)},t[n(1201)][n(2184)]=function(o){const x=n;return this[x(1682)](),this[x(1700)](o),this[x(633)](o)},t.prototype[n(633)]=function(o){const x=n;var r=this,i=this,c=i[x(996)],d=i[x(1631)],s=i[x(1066)];return c||d?dr:(this[x(651)]=null,s[x(1465)](o),new Yt(function(){const u=x;r[u(651)]=null,g0(s,o)}))},t[n(1201)][n(1700)]=function(o){const x=n;var r=this,i=r.hasError,c=r.thrownError,d=r[x(1631)];i?o.error(c):d&&o[x(1554)]()},t[n(1201)][n(627)]=function(){const o=n;var x=new on;return x[o(964)]=this,x},t[n(1004)]=function(o,x){return new vr(o,x)},t})(on),vr=(function(e){const n=a;An(t,e);function t(o,x){const r=_0x4806;var i=e[r(897)](this)||this;return i[r(2072)]=o,i[r(964)]=x,i}return t[n(1201)][n(1991)]=function(o){const x=n;var r,i;(i=(r=this[x(2072)])===null||r===void 0?void 0:r[x(1991)])===null||i===void 0||i[x(897)](r,o)},t[n(1201)].error=function(o){const x=n;var r,i;(i=(r=this[x(2072)])===null||r===void 0?void 0:r.error)===null||i===void 0||i[x(897)](r,o)},t.prototype[n(1554)]=function(){const o=n;var x,r;(r=(x=this[o(2072)])===null||x===void 0?void 0:x[o(1554)])===null||r===void 0||r[o(897)](x)},t[n(1201)][n(2184)]=function(o){const x=n;var r,i;return(i=(r=this[x(964)])===null||r===void 0?void 0:r.subscribe(o))!==null&&i!==void 0?i:dr},t})(wr),Os={now:function(){return Date[a(1960)]()}},Hs=(function(e){const n=a;An(t,e);function t(o,x){return e.call(this)||this}return t.prototype[n(1209)]=function(o,x){return this},t})(Yt),pr={setInterval:function(e,n){const t=a;for(var o=[],x=2;x<arguments.length;x++)o[x-2]=arguments[x];return setInterval[t(1241)](void 0,h0([e,n],f0(o)))},clearInterval:function(e){return clearInterval(e)},delegate:void 0},Ts=(function(e){const n=a;An(t,e);function t(o,x){const r=_0x4806;var i=e.call(this,o,x)||this;return i[r(920)]=o,i[r(2105)]=x,i[r(1904)]=!1,i}return t.prototype[n(1209)]=function(o,x){const r=n;var i;if(x===void 0&&(x=0),this[r(847)])return this;this.state=o;var c=this.id,d=this.scheduler;return c!=null&&(this.id=this[r(1252)](d,c,x)),this[r(1904)]=!0,this[r(1725)]=x,this.id=(i=this.id)!==null&&i!==void 0?i:this[r(1532)](d,this.id,x),this},t[n(1201)][n(1532)]=function(o,x,r){const i=n;return r===void 0&&(r=0),pr[i(702)](o.flush[i(999)](o,this),r)},t[n(1201)][n(1252)]=function(o,x,r){const i=n;return r===void 0&&(r=0),r!=null&&this[i(1725)]===r&&this[i(1904)]===!1?x:(x!=null&&pr.clearInterval(x),void 0)},t.prototype[n(1929)]=function(o,x){const r=n;if(this[r(847)])return new Error(r(1688));this[r(1904)]=!1;var i=this[r(1697)](o,x);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this[r(1252)](this[r(920)],this.id,null))},t[n(1201)]._execute=function(o,x){const r=n;var i=!1,c;try{this[r(2105)](o)}catch(d){i=!0,c=d||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),c},t[n(1201)][n(1581)]=function(){const o=n;if(!this.closed){var x=this,r=x.id,i=x.scheduler,c=i[o(947)];this[o(2105)]=this[o(672)]=this[o(920)]=null,this.pending=!1,g0(c,this),r!=null&&(this.id=this[o(1252)](i,r,null)),this.delay=null,e.prototype.unsubscribe[o(897)](this)}},t})(Hs),br=(function(){const e=a;function n(t,o){o===void 0&&(o=n[_0x4806(1960)]),this.schedulerActionCtor=t,this.now=o}return n[e(1201)].schedule=function(t,o,x){const r=e;return o===void 0&&(o=0),new this[r(1850)](this,t).schedule(x,o)},n[e(1960)]=Os[e(1960)],n})(),Vs=(function(e){const n=a;An(t,e);function t(o,x){const r=_0x4806;x===void 0&&(x=br[r(1960)]);var i=e.call(this,o,x)||this;return i[r(947)]=[],i[r(804)]=!1,i}return t.prototype[n(2041)]=function(o){const x=n;var r=this.actions;if(this._active){r.push(o);return}var i;this._active=!0;do if(i=o[x(1929)](o[x(672)],o[x(1725)]))break;while(o=r[x(708)]());if(this[x(804)]=!1,i){for(;o=r[x(708)]();)o[x(1581)]();throw i}},t})(br),qs=new Vs(Ts);function Ws(e){return e&&Ue(e[a(1209)])}function Xs(e){return e[e[a(2194)]-1]}function Ks(e){const n=a;return Ws(Xs(e))?e[n(1384)]():void 0}var zr=function(e){const n=a;return e&&typeof e[n(2194)]===n(411)&&typeof e!==n(1154)};function Cr(e){return Ue(e?.[a(1796)])}function Mr(e){return Ue(e[Ax])}function Br(e){return Symbol.asyncIterator&&Ue(e?.[Symbol.asyncIterator])}function Dr(e){const n=a;return new TypeError(n(400)+(e!==null&&typeof e===n(2171)?n(676):"'"+e+"'")+n(631))}function Zs(){const e=a;return typeof Symbol!==e(1154)||!Symbol[e(2104)]?e(2034):Symbol[e(2104)]}var Lr=Zs();function Nr(e){return Ue(e?.[Lr])}function Sr(e){return Ds(this,arguments,function(){var t,o,x,r;return lr(this,function(i){const c=_0x4806;switch(i.label){case 0:t=e[c(2011)](),i.label=1;case 1:i[c(2050)][c(1465)]([1,,9,10]),i.label=2;case 2:return[4,at(t.read())];case 3:return o=i.sent(),x=o[c(1981)],r=o[c(416)],r?[4,at(void 0)]:[3,5];case 4:return[2,i[c(1377)]()];case 5:return[4,at(x)];case 6:return[4,i[c(1377)]()];case 7:return i[c(1377)](),[3,2];case 8:return[3,10];case 9:return t[c(646)](),[7];case 10:return[2]}})})}function kr(e){return Ue(e?.[a(2011)])}function Kn(e){if(e instanceof on)return e;if(e!=null){if(Mr(e))return Rs(e);if(zr(e))return Js(e);if(Cr(e))return _s(e);if(Br(e))return Ir(e);if(Nr(e))return Fs(e);if(kr(e))return Qs(e)}throw Dr(e)}function Rs(e){return new on(function(n){const t=_0x4806;var o=e[Ax]();if(Ue(o[t(1722)]))return o[t(1722)](n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Js(e){return new on(function(n){const t=_0x4806;for(var o=0;o<e.length&&!n.closed;o++)n.next(e[o]);n[t(1554)]()})}function _s(e){return new on(function(n){const t=_0x4806;e[t(1796)](function(o){const x=t;!n[x(847)]&&(n.next(o),n[x(1554)]())},function(o){return n[t(551)](o)})[t(1796)](null,hr)})}function Fs(e){return new on(function(n){const t=_0x4806;var o,x;try{for(var r=ct(e),i=r[t(1991)]();!i[t(416)];i=r[t(1991)]()){var c=i[t(1981)];if(n.next(c),n[t(847)])return}}catch(d){o={error:d}}finally{try{i&&!i[t(416)]&&(x=r.return)&&x.call(r)}finally{if(o)throw o[t(551)]}}n[t(1554)]()})}function Ir(e){return new on(function(n){const t=_0x4806;$s(e,n)[t(709)](function(o){return n[t(551)](o)})})}function Qs(e){return Ir(Sr(e))}function $s(e,n){var t,o,x,r;return Bs(this,void 0,void 0,function(){var i,c;return lr(this,function(d){const s=_0x4806;switch(d[s(1834)]){case 0:d.trys.push([0,5,6,11]),t=Ls(e),d.label=1;case 1:return[4,t[s(1991)]()];case 2:if(o=d.sent(),!!o[s(416)])return[3,4];if(i=o[s(1981)],n[s(1991)](i),n[s(847)])return[2];d.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return c=d[s(1377)](),x={error:c},[3,11];case 6:return d[s(2050)][s(1465)]([6,,9,10]),o&&!o[s(416)]&&(r=t[s(1645)])?[4,r.call(t)]:[3,8];case 7:d.sent(),d.label=8;case 8:return[3,10];case 9:if(x)throw x[s(551)];return[7];case 10:return[7];case 11:return n[s(1554)](),[2]}})})}function jn(e,n,t,o,x){const r=a;o===void 0&&(o=0),x===void 0&&(x=!1);var i=n[r(1209)](function(){const c=r;t(),x?e.add(this.schedule(null,o)):this[c(1581)]()},o);if(e[r(1757)](i),!x)return i}function Pr(e,n){return n===void 0&&(n=0),Wn(function(t,o){t.subscribe(Xn(o,function(x){return jn(o,e,function(){return o[_0x4806(1991)](x)},n)},function(){return jn(o,e,function(){return o[_0x4806(1554)]()},n)},function(x){return jn(o,e,function(){return o[_0x4806(551)](x)},n)}))})}function Ar(e,n){return n===void 0&&(n=0),Wn(function(t,o){const x=_0x4806;o[x(1757)](e[x(1209)](function(){return t[x(1722)](o)},n))})}function el(e,n){const t=a;return Kn(e)[t(458)](Ar(n),Pr(n))}function nl(e,n){return Kn(e).pipe(Ar(n),Pr(n))}function tl(e,n){return new on(function(t){const o=_0x4806;var x=0;return n[o(1209)](function(){const r=o;x===e[r(2194)]?t[r(1554)]():(t[r(1991)](e[x++]),!t[r(847)]&&this[r(1209)]())})})}function xl(e,n){return new on(function(t){var o;return jn(t,n,function(){o=e[Lr](),jn(t,n,function(){const x=_0x4806;var r,i,c;try{r=o[x(1991)](),i=r[x(1981)],c=r.done}catch(d){t[x(551)](d);return}c?t[x(1554)]():t[x(1991)](i)},0,!0)}),function(){const x=_0x4806;return Ue(o?.[x(1645)])&&o[x(1645)]()}})}function jr(e,n){if(!e)throw new Error("Iterable cannot be null");return new on(function(t){jn(t,n,function(){const o=_0x4806;var x=e[Symbol[o(1894)]]();jn(t,n,function(){const r=o;x[r(1991)]()[r(1796)](function(i){const c=r;i.done?t[c(1554)]():t[c(1991)](i[c(1981)])})},0,!0)})})}function ol(e,n){return jr(Sr(e),n)}function rl(e,n){if(e!=null){if(Mr(e))return el(e,n);if(zr(e))return tl(e,n);if(Cr(e))return nl(e,n);if(Br(e))return jr(e,n);if(Nr(e))return xl(e,n);if(kr(e))return ol(e,n)}throw Dr(e)}function w0(e,n){return n?rl(e,n):Kn(e)}function ln(){const e=a;for(var n=[],t=0;t<arguments[e(2194)];t++)n[t]=arguments[t];var o=Ks(n);return w0(n,o)}function Te(e,n){var t=Ue(e)?e:function(){return e},o=function(x){return x[_0x4806(551)](t())};return new on(o)}function il(e){return e instanceof Date&&!isNaN(e)}var cl=Sx(function(e){return function(t){const o=_0x4806;t===void 0&&(t=null),e(this),this[o(452)]=o(2071),this[o(659)]=o(1953),this[o(1193)]=t}});function al(e,n){const t=a;var o=il(e)?{first:e}:{each:e},x=o[t(1214)],r=o[t(1920)],i=o[t(1605)],c=i===void 0?sl:i,d=o.scheduler,s=d===void 0?qs:d,u=o[t(1429)],f=u===void 0?null:u;if(x==null&&r==null)throw new TypeError(t(1459));return Wn(function(y,g){const p=t;var h,b,M=null,v=0,m=function(w){b=jn(g,s,function(){const C=_0x4806;try{h.unsubscribe(),Kn(c({meta:f,lastValue:M,seen:v}))[C(1722)](g)}catch(k){g[C(551)](k)}},w)};h=y.subscribe(Xn(g,function(w){const C=_0x4806;b?.[C(1581)](),v++,g[C(1991)](M=w),r>0&&m(r)},void 0,void 0,function(){!b?.[_0x4806(847)]&&b?.unsubscribe(),M=null})),!v&&m(x!=null?typeof x===p(411)?x:+x-s.now():r)})}function sl(e){throw new cl(e)}function v0(e,n){return Wn(function(t,o){const x=_0x4806;var r=0;t[x(1722)](Xn(o,function(i){const c=x;o[c(1991)](e[c(897)](n,i,r++))}))})}function ll(e,n,t,o,x,r,i,c){const d=a;var s=[],u=0,f=0,y=!1,g=function(){const b=_0x4806;y&&!s.length&&!u&&n[b(1554)]()},p=function(b){return u<o?h(b):s.push(b)},h=function(b){const M=_0x4806;u++;var v=!1;Kn(t(b,f++))[M(1722)](Xn(n,function(m){n[M(1991)](m)},function(){v=!0},void 0,function(){if(v)try{u--;for(var m=function(){var C=s[_0x4806(708)]();i||h(C)};s.length&&u<o;)m();g()}catch(w){n.error(w)}}))};return e[d(1722)](Xn(n,p,function(){y=!0,g()})),function(){}}function jx(e,n,t){return t===void 0&&(t=1/0),Ue(n)?jx(function(o,x){return v0(function(r,i){return n(o,r,x,i)})(Kn(e(o,x)))},t):(typeof n=="number"&&(t=n),Wn(function(o,x){return ll(o,x,e,t)}))}function p0(e){return Wn(function(n,t){const o=_0x4806;var x=null,r=!1,i;x=n[o(1722)](Xn(t,void 0,void 0,function(c){const d=o;i=Kn(e(c,p0(e)(n))),x?(x[d(1581)](),x=null,i[d(1722)](t)):r=!0})),r&&(x[o(1581)](),x=null,i[o(1722)](t))})}function dl(e,n,t){var o=Ue(e)||n||t?{next:e,error:n,complete:t}:e;return o?Wn(function(x,r){const i=_0x4806;var c;(c=o.subscribe)===null||c===void 0||c[i(897)](o);var d=!0;x.subscribe(Xn(r,function(s){const u=i;var f;(f=o[u(1991)])===null||f===void 0||f[u(897)](o,s),r.next(s)},function(){const s=i;var u;d=!1,(u=o[s(1554)])===null||u===void 0||u.call(o),r.complete()},function(s){const u=i;var f;d=!1,(f=o[u(551)])===null||f===void 0||f.call(o,s),r[u(551)](s)},function(){const s=i;var u,f;d&&((u=o[s(1581)])===null||u===void 0||u.call(o)),(f=o[s(1816)])===null||f===void 0||f[s(897)](o)}))}):yr}function Ex(e){const n=a;return encodeURIComponent((e||"")[n(1258)]()||n(1553))}function ul(e){const n=a;return e.eventType===n(717)?e[n(1721)]+"::ext::"+Ex(e[n(1426)]??""):e[n(1721)]+"::"+e[n(1231)]}function Er(e,n){return e+":"+n}class st{static[a(1549)];eventSubjects=new Map;[a(437)]=new Map;[a(2188)]=new Map;[a(1353)]=new Map;defaultRuntimeHandlers;constructor(){}static[a(724)](){const n=a;return!st[n(1549)]&&(st[n(1549)]=new st),st[n(1549)]}registerEventBlock(n){this[a(2188)].set(n.id,n)}unregisterEventBlock(n){this[a(2188)].delete(n)}[a(1529)](n){const t=a;return this.eventBlocks[t(1157)](n)}setDefaultRuntimeHandlers(n){const t=a;this[t(757)]=n}[a(1444)](n){const t=a;if(!n)return;const o=this.defaultRuntimeHandlers;this[t(757)]={dataRequest:{...o?.[t(907)],...n[t(907)]},external:{...o?.[t(717)],...n[t(717)]}}}[a(373)](n){const t=a,o=this.defaultRuntimeHandlers;if(!(!o&&!n))return{dataRequest:{...o?.[t(907)],...n?.[t(907)]},external:{...o?.[t(717)],...n?.[t(717)]}}}[a(861)](n){const t=a,o=this[t(437)][t(1157)](n.id);o&&(o.unsubscribe(),this[t(437)][t(1147)](n.id)),this[t(2035)].delete(n.id)}[a(1409)](n){const t=a,o=ul(n),x=this[t(1353)][t(1157)](o);x&&x.id!==n.id&&this.disposeEventRootPipeline(x),this.nodeEventBindings[t(799)](o,n),!this[t(2035)][t(1826)](n.id)&&this[t(1567)](n)}unbindNodeEvent(n,t,o){const x=a;if(t===x(717)){const d=n+x(1896)+Ex(o??""),s=this[x(1353)][x(1157)](d);s&&(this.disposeEventRootPipeline(s),this[x(1353)][x(1147)](d));return}const r=n+"::"+t,i=Er(n,t),c=this.nodeEventBindings.get(r)??this.nodeEventBindings.get(i);c&&(this[x(861)](c),this[x(1353)][x(1147)](r),this[x(1353)].delete(i))}[a(1792)](n){const t=a,o=[];this[t(1353)].forEach((x,r)=>{x[t(1721)]===n&&o.push({key:r,root:x})}),o.forEach(({key:x,root:r})=>{const i=t;this[i(861)](r),this[i(1353)].delete(x)})}[a(1485)](n){const t=a,o=[];return this[t(1353)][t(1369)](x=>{const r=t;x[r(1721)]===n&&o[r(1465)](x)}),o}emit(n,t,o){const x=a,r=n+"::"+t,i=this[x(1353)][x(1157)](r)??this[x(1353)][x(1157)](Er(n,t));if(!i||!i[x(1450)])return ln({success:!0,result:null,path:[],duration:0});if(!this[x(2035)][x(1157)](i.id))return Te(()=>new Error(x(628)+r));const d=Date.now(),s={...o,executionPath:o[x(2179)]||[],runtimeHandlers:this[x(373)](o.runtimeHandlers)};return this[x(663)](i,s)[x(458)](v0(u=>({success:!0,result:u,path:s[x(2179)],duration:Date.now()-d})),p0(u=>ln({success:!1,error:u[x(452)]||x(2061),path:s[x(2179)],duration:Date[x(1960)]()-d})))}[a(471)](n,t,o){const x=a,r=n+x(1896)+Ex(t),i=this[x(1353)][x(1157)](r);if(!i||!i[x(1450)])return ln({success:!0,result:null,path:[],duration:0});if(!this[x(2035)][x(1157)](i.id))return Te(()=>new Error(x(628)+r));const d=Date[x(1960)](),s={...o,executionPath:o[x(2179)]||[],runtimeHandlers:this[x(373)](o[x(1827)])};return this[x(663)](i,s)[x(458)](v0(u=>({success:!0,result:u,path:s[x(2179)],duration:Date[x(1960)]()-d})),p0(u=>ln({success:!1,error:u[x(452)]||"Event flow execution failed",path:s[x(2179)],duration:Date[x(1960)]()-d})))}[a(1567)](n){const t=a,o=new wr;this[t(2035)][t(799)](n.id,o)}[a(663)](n,t){const o=a,{nodes:x,edges:r}=n[o(704)];if(x.length===0)return ln(null);const i=x[o(1641)](c=>c.inputs[o(2194)]===0);return i[o(2194)]===0?Te(()=>new Error(o(1454))):this[o(608)](i,x,r,t,{})}[a(608)](n,t,o,x,r){const i=a;if(n[i(2194)]===0)return ln(r);const c=n[i(542)](d=>this[i(758)](d,x,r).pipe(dl(s=>{const u=i;r[d.id]=s,x[u(2179)][u(1465)](d.id)})));return w0(c)[i(458)](jx(d=>d,1),v0(()=>{const d=i,s=new Set;return n[d(1369)](f=>{const y=d;f[y(2177)][y(1369)](g=>{const p=t.find(h=>h.id===g);p&&p.inputs.every(b=>r[b]!==void 0)&&s.add(g)})}),t[d(1641)](f=>s[d(1826)](f.id))}),jx(d=>d[i(2194)]>0?this.executeFlowNodes(d,t,o,x,r):ln(r)),al(3e4),p0(d=>{const s=i;return console[s(551)](s(667),d),Te(()=>d)}))}[a(601)](n){const t=a;return this[t(2188)][t(1157)](n[t(2084)])??n.data[t(1747)]}interpolateBuiltinString(n,t,o){const x=a;return n[x(598)](/\{\{\s*([^}]+?)\s*\}\}/g,(r,i)=>{const c=x,d=String(i)[c(1258)]();if(d[c(922)]("$")){const u=this[c(1307)](o,d.slice(1));return u==null?"":String(u)}const s=t[d];return s==null?"":String(s)})}executeBuiltin(n,t,o){const x=a,r=n.builtinId;if(!r)return Te(()=>new Error(x(1809)));if(r===x(1642)){const i=n[x(1854)]??{},c=String(i.content??""),d=i[x(2067)]??"info",s=i.duration,u=this[x(1251)](c,o,t);if(!u.trim())return Te(()=>new Error(x(899)));try{const f={type:d,content:u};if(s!=null&&s!==""){const y=Number(s);!Number[x(1727)](y)&&(f[x(2056)]=y)}return z[x(452)].open(f),ln({ok:!0,builtinId:r,content:u,level:d})}catch(f){return Te(()=>f)}}if(r==="switchCanvas"){const i=n.builtinConfig??{},c=String(i[x(1359)]??"").trim();if(!c)return Te(()=>new Error(x(2005)));if(!t[x(2066)])return Te(()=>new Error(x(2106)));try{return t[x(2066)](c),ln({ok:!0,builtinId:r,targetCanvasId:c})}catch(d){return Te(()=>d)}}return Te(()=>new Error(x(680)+String(r)))}[a(791)](n,t,o){try{const x=n(t,o);return x instanceof Promise?w0(x):ln(x)}catch(x){return Te(()=>x)}}executeSingleFlowNode(n,t,o){const x=a,r=this[x(601)](n);if(!r)return Te(()=>new Error(x(1724)+n[x(2084)]));const i=this.prepareEventArgs(n,t,o),c=r.executorType??"inlineScript";if(c===x(907)){const d=(r.dataRequestKey||"").trim();if(!d)return Te(()=>new Error(x(840)));const s=t[x(1827)]?.[x(907)]?.[d];return s?this[x(791)](s,t,i):Te(()=>new Error(x(593)+d))}if(c===x(717)){const d=(r[x(1673)]||"").trim();if(!d)return Te(()=>new Error(x(1933)));const s=t[x(1827)]?.[x(717)]?.[d];return s?this[x(791)](s,t,i):Te(()=>new Error(x(533)+d))}if(c===x(1657))return this[x(743)](r,t,i);try{const d=new Function(x(1997),x(1143),x(928),r[x(2029)]),s=d(t.triggerNode,t,i);return s instanceof Promise?w0(s):ln(s)}catch(d){return Te(()=>d)}}[a(1420)](n,t,o){const x=a,r={$event:t[x(1956)],$data:t.data,$node:t[x(1588)]},{inputMapping:i}=n[x(1468)];return i&&Object.entries(i)[x(1369)](([c,d])=>{const s=x;if(d[s(922)](s(1291))){const u=d[s(598)](s(1291),"");r[c]=o[u]}else if(d[s(922)]("$")){const u=d[s(1172)](1);r[c]=this[s(1307)](t,u)}else r[c]=d}),r}[a(1307)](n,t){return t.split(".").reduce((o,x)=>{if(o!==null&&typeof o===_0x4806(2171)&&x in o)return o[x]},n)}[a(1436)](){const n=a;this[n(437)][n(1369)](t=>t[n(1581)]()),this[n(437)][n(2016)](),this[n(2035)][n(2016)](),this[n(1353)].clear()}}const lt=st[a(724)](),Yr=({node:e,children:n,runtimeHandlers:t,flowContextData:o})=>{const x=a,{eventFlow:r,switchCanvas:i}=He(),c=B[x(575)](null),d=B.useCallback(()=>{const u=x;return r.eventRoots[u(1641)](f=>f.bindNodeId===e.id&&f[u(1450)])},[r.eventRoots,e.id]),s=B[x(1591)](u=>f=>{const y=_0x4806,g=d()[y(1641)](h=>h[y(1231)]===u);if(g.length===0)return;u!==y(1746)&&u!==y(1772)&&f[y(1923)](),f[y(1064)]();const p=o&&typeof o=="object"?{...o}:{};g[y(1369)](h=>{const b=y;lt[b(1685)](e.id,u,{triggerNode:e,originalEvent:f,data:p,runtimeHandlers:t,switchCanvas:i})[b(1722)]({next:M=>{const v=b;!M[v(2093)]&&console[v(551)]("Event flow execution failed:",M[v(551)])},error:M=>{console[b(551)]("Event flow error:",M)}})})},[d,e,t,o]);return B.useEffect(()=>(d().forEach(f=>{lt[_0x4806(1409)](f)}),()=>{lt[_0x4806(1792)](e.id)}),[d,e.id]),B[x(363)](()=>{const u=x,f=c[u(1560)];if(!f)return;const y={click:s(u(1280)),mousedown:s("mouseDown"),mouseup:s(u(2077)),dblclick:s(u(1319)),mouseover:s("mouseOver"),mouseleave:s(u(1772)),mouseenter:s(u(432)),contextmenu:s("contextMenu")};return Object.entries(y)[u(1369)](([g,p])=>{f[u(1966)](g,p,!0)}),()=>{const g=u;Object[g(1942)](y).forEach(([p,h])=>{f[g(1339)](p,h,!0)})}},[s]),B[x(2026)](n,{ref:u=>{const f=x;c[f(1560)]=u;const y=n.ref;typeof y===f(1154)?y(u):y&&f(1560)in y&&(y.current=u)}})},{Text:Ur}=z[a(1052)],Gr=(e,n)=>{const t=a;if(!n||!e)return{value:void 0};if(Array.isArray(e)){const o=e.find(x=>x[t(2115)]===n);if(o)return{value:o[t(1981)],unit:o[t(793)]}}else if(typeof e===t(2171)){const o=n[t(1615)](".");let x=e;for(const r of o){if(x===null||typeof x!==t(2171))return{value:void 0};x=x[r]}if(x!==void 0)return{value:x,unit:e.unit}}return{value:void 0}};function fl(e){return Array.isArray(e)}const hl=(e,n,t)=>{const o=a,x=e[o(962)]||{},{valueSourceCode:r,boundDatasetId:i,boundDatasetBindCode:c,boundDatasetBindValue:d}=x;if(!r)return{value:void 0};if(i){const s=n[o(1876)](u=>u.id===i);if(s){let u;fl(s[o(1167)])?c!=null&&d!=null?u=s.sample[o(1876)](y=>y[c]===d)||{}:u={}:u=s[o(1167)];const f=t&&typeof t===o(2171)?{...u,...t}:u;return Gr(f,r)}}return Gr(t,r)},gl=(e,n)=>{const t=a;if(e==null||e==="")return"";if(n===-1)return String(e);const o=Number(e);return isNaN(o)?String(e):o[t(1704)](n??2)},yl=(e,n,t,o,x)=>{const r=a;switch(e[r(1424)]){case"IMAGE":const i=e,c=i.backgroundColor,d=i[r(1403)];let s=i.src;return d&&s&&s[r(911)](r(615))&&(e[r(659)]==="矩形"?s="data:image/svg+xml,"+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="60"><rect width="100" height="60" fill="'+d+r(1146)):e[r(659)]==="圆形"?s=r(1215)+encodeURIComponent(r(1822)+d+r(2126)):e[r(659)]===r(1272)&&(s="data:image/svg+xml,"+encodeURIComponent(r(2116)+d+'" rx="20"/></svg>'))),l[r(1993)](r(539),{className:r(820),style:{backgroundColor:c},children:s?l[r(1993)](r(916),{src:s,alt:e[r(659)],style:{width:r(1805),height:r(1805),objectFit:"contain"}}):l[r(1993)](r(539),{className:r(1778),children:l.jsx(r(1102),{className:r(929),children:r(1828)})})});case r(1505):const u=e,{label:f,value:y,valueSourceCode:g,unit:p,decimals:h,labelStyle:b,valueStyle:M,customStyle:v}=u[r(962)]||{},{value:m,unit:w}=g?hl(u,x||[],n):{value:void 0,unit:void 0},C=m!==void 0?m:y,k=gl(C,h),O=p||w||"";return l.jsxs(r(539),{className:r(1213),style:{...v},children:[f&&l[r(1993)](Ur,{style:{fontSize:14,fontWeight:r(1713),color:r(443),textAlign:r(1557),...b},children:f}),k&&l[r(1239)](Ur,{style:{fontSize:14,color:r(1690),textAlign:"left",...M},children:[k,O?" "+O:""]})]});case"LINE":const G=e,{thickness:j=2,color:A=r(1903),dashed:Z=!1,lineType:W=Z?"dashed":r(2176),lineWeight:q=j,startX:T=0,startY:N=0,endX:D=100,endY:L=0}=G[r(713)]||{},U=Q=>{const R=r,$=Math.max(q,1);switch(Q){case R(2176):return"";case R(2022):return $*8+","+$*4;case R(543):return $*12+","+$*3+","+$*2+","+$*3;case R(662):return $*12+","+$*3+","+$*2+","+$*3+","+$*2+","+$*3;case R(1175):return $+","+$*3;case"dash-dot":return $*8+","+$*3+","+$+","+$*3;default:return""}},P=U(W),S=t?"#1890ff":A;return l[r(1993)](r(539),{className:r(1504),style:{overflow:r(1136)},children:l[r(1239)](r(719),{className:r(1595),width:r(1805),height:r(1805),style:{overflow:r(1136),pointerEvents:r(1712)},children:[l[r(1993)]("line",{x1:T,y1:N,x2:D,y2:L,stroke:r(583),strokeWidth:Math[r(1439)](q,10),strokeLinecap:"round",strokeLinejoin:"round",style:{pointerEvents:"stroke",cursor:r(727)}}),l[r(1993)](r(2070),{x1:T,y1:N,x2:D,y2:L,stroke:S,strokeWidth:q,strokeDasharray:P,strokeLinecap:r(723),strokeLinejoin:r(723),style:{pointerEvents:r(1712)}})]})});case r(755):const K=e;return K[r(489)]?K[r(489)]({}):l[r(1993)](r(539),{className:r(1710),children:l[r(1993)](r(1102),{className:r(929),children:"自定义组件"})});default:return l.jsx(r(539),{className:"w-full h-full flex items-center justify-center bg-gray-100",children:l[r(1993)](r(1102),{className:r(929),children:r(1061)})})}},ml=({node:e,isSelected:n=!1,onClick:t,onMouseDown:o,data:x,onUpdateNode:r,scale:i=1,enableEventFlow:c=!1,eventFlowData:d})=>{const s=a,{normalStyle:u,controlInfo:f}=e,{isClickable:y,isDraggable:g,isResizable:p}=f,h=e.contentInfo,b=He(_=>_[s(695)]),M=He(_=>_[s(1324)]),v=B[s(575)](t);B[s(363)](()=>{v.current=t},[t]);const[m,w]=B[s(655)](null),C=B[s(575)](null),k=B.useRef(null),O=B[s(575)](null),G=B.useRef(null),j=B[s(575)](null),[A,Z]=B[s(655)](null),[W,q]=B[s(655)](null),T=B.useRef(null),N=B[s(528)](()=>{const _=s,I=e.contentInfo[_(1247)];if(I[_(2194)]===0)return;const Y=or(I,x,b);return Y||I[0]},[e.contentInfo.statusList,x,b]),D=B.useRef(e.contentInfo.currentStatusId);B[s(363)](()=>{const _=s;D.current=e.contentInfo[_(1416)]},[e.id]),B.useEffect(()=>{const _=s,I=N?.id;I!==void 0&&D[_(1560)]!==I&&(D.current=I,M(e.id,{contentInfo:{...e[_(1537)],currentStatusId:I}}))},[N?.id,e.id,M]);const L=N?.[s(600)],U=L?.[s(1424)]===s(1881),P=U?L[s(713)]:null,S=u[s(476)]??1,K=(u.width||100)*S,Q=(u[s(1265)]||100)*S,R=B[s(1591)](()=>{const _=s,I=j[_(1560)]?.[_(686)](_(2087));if(!I)return i;const Y=I[_(1761)](),X=parseFloat(I[_(1346)].width);return X?Y[_(1238)]/X:i},[i]),$=B[s(1591)]((_,I)=>{const Y=s;_[Y(1064)](),_[Y(1923)]();const X=P?.[Y(1555)]||0,H=P?.startY||0,oe=P?.[Y(505)]||0,le=P?.[Y(1488)]||0,se=u.x||0,ge=u.y||0,ve=Math[Y(1439)]((P?.[Y(2123)]||P?.[Y(1832)]||2)*2,4),Ne=Math.min(X,oe),ze=Math[Y(831)](H,le),ke=Math[Y(1439)](X,oe),Ye=Math.max(H,le),Ie=Math[Y(1439)](ke-Ne,ve),Pe=Math[Y(1439)](Ye-ze,ve);C.current={mouseX:_[Y(1569)],mouseY:_[Y(1947)],startX:X,startY:H,endX:oe,endY:le,nodeX:se,nodeY:ge};const Ae=Math.min(X,oe),Ve=Math[Y(831)](H,le);O[Y(1560)]={nodeX:se+Ae,nodeY:ge+Ve,width:Ie,height:Pe,startX:X-Ae,startY:H-Ve,endX:oe-Ae,endY:le-Ve},k[Y(1560)]=N||null,w(I)},[P,u.x,u.y,N]);B[s(363)](()=>{const _=s;if(!m||!U||!P||!r)return;const I=X=>{const H=_0x4806,oe=C[H(1560)];if(!oe||!j.current)return;const le=R(),se=(X[H(1569)]-oe[H(1423)])/le,ge=(X[H(1947)]-oe[H(513)])/le;let ve=oe[H(1555)],Ne=oe[H(384)],ze=oe[H(505)],ke=oe[H(1488)],Ye=oe.nodeX,Ie=oe[H(860)];m===H(1989)?(ve=oe[H(1555)]+se,Ne=oe.startY+ge,ve<0&&(Ye=oe.nodeX+ve,ze=oe[H(505)]-ve,ve=0),Ne<0&&(Ie=oe[H(860)]+Ne,ke=oe[H(1488)]-Ne,Ne=0)):(ze=oe[H(505)]+se,ke=oe[H(1488)]+ge,ze<0&&(Ye=oe[H(1059)]+ze,ve=oe.startX-ze,ze=0),ke<0&&(Ie=oe[H(860)]+ke,Ne=oe[H(384)]-ke,ke=0));const Pe=Math[H(1439)]((P[H(2123)]||2)*2,4),Ae=Math[H(831)](ve,ze),Ve=Math.min(Ne,ke),tn=Math.max(ve,ze),yn=Math[H(1439)](Ne,ke),Je=Ye+Ae,rn=Ie+Ve,Xe=ve-Ae,cn=Ne-Ve,an=ze-Ae,xn=ke-Ve,mn=Math[H(1439)](tn-Ae,Pe),In=Math.max(yn-Ve,Pe);O[H(1560)]={nodeX:Je,nodeY:rn,width:mn,height:In,startX:Xe,startY:cn,endX:an,endY:xn};const _e=j.current;_e.style[H(1557)]=Je+"px",_e[H(1346)][H(1413)]=rn+"px",_e[H(1346)][H(1238)]=mn+"px",_e[H(1346)].height=In+"px",_e[H(409)](H(926))[H(1369)](We=>{const Pn=H;We.setAttribute("x1",String(Xe)),We.setAttribute("y1",String(cn)),We[Pn(1110)]("x2",String(an)),We[Pn(1110)]("y2",String(xn))});const Ke=_e[H(1542)]('[data-handle="start"]'),Hn=_e[H(1542)]('[data-handle="end"]');Ke&&(Ke[H(1346)][H(1557)]=Xe-6+"px",Ke.style[H(1413)]=cn-6+"px"),Hn&&(Hn[H(1346)].left=an-6+"px",Hn.style[H(1413)]=xn-6+"px")},Y=()=>{const X=_0x4806,H=O[X(1560)];if(!H||!r){w(null),C[X(1560)]=null,O[X(1560)]=null,k[X(1560)]=null;return}const oe=He.getState().nodes[X(1876)](ze=>ze.id===e.id),le=oe?.[X(1537)][X(1247)]??e.contentInfo[X(1247)],se=k.current,ge=se?.id??le[X(1876)](ze=>ze[X(600)][X(1424)]==="LINE")?.id,ve=le[X(542)](ze=>{const ke=X;if(ze[ke(600)][ke(1424)]!==ke(1881)||ze.id!==ge)return ze;const Ye=ze[ke(600)];return{...ze,material:{...Ye,config:{...Ye[ke(713)],startX:H[ke(1555)],startY:H[ke(384)],endX:H[ke(505)],endY:H[ke(1488)]}}}}),Ne=oe?.contentInfo??h;r(e.id,{normalStyle:{x:H[X(1059)],y:H[X(860)],width:H[X(1238)],height:H.height},contentInfo:{...Ne,statusList:ve}}),w(null),C.current=null,O[X(1560)]=null,k[X(1560)]=null};return window.addEventListener(_(530),I),window.addEventListener(_(1762),Y),()=>{const X=_;window[X(1339)](X(530),I),window[X(1339)](X(1762),Y)}},[m,U,P,e.id,u,h,e[s(1537)][s(1247)],r,R]),B[s(363)](()=>{const _=s;if(!A||!r)return;const I=X=>{const H=_0x4806;if(!j.current)return;const oe=R(),le=(X[H(1569)]-A[H(1555)])/oe,se=(X[H(1947)]-A[H(384)])/oe,ge=A[H(2153)],ve=ge*Math.PI/180,Ne=Math[H(1028)](ve),ze=Math[H(748)](ve),ke=le*Ne+se*ze,Ye=-le*ze+se*Ne;let Ie=A[H(733)],Pe=A[H(2165)],Ae=A.startNodeX,Ve=A[H(1789)];switch(A[H(1847)]){case"se":Ie=Math[H(1439)](20,A.startWidth+ke),Pe=Math[H(1439)](20,A.startHeight+Ye);break;case"sw":Ie=Math.max(20,A.startWidth-ke),Pe=Math[H(1439)](20,A[H(2165)]+Ye),Ae=A[H(1924)]+(A[H(733)]-Ie);break;case"ne":Ie=Math.max(20,A.startWidth+ke),Pe=Math[H(1439)](20,A.startHeight-Ye),Ve=A.startNodeY+(A[H(2165)]-Pe);break;case"nw":Ie=Math[H(1439)](20,A[H(733)]-ke),Pe=Math[H(1439)](20,A[H(2165)]-Ye),Ae=A[H(1924)]+(A[H(733)]-Ie),Ve=A[H(1789)]+(A[H(2165)]-Pe);break}if(ge!==0){let yn=0,Je=0,rn=0,Xe=0;switch(A[H(1847)]){case"se":yn=0,Je=0,rn=0,Xe=0;break;case"sw":yn=A[H(733)],Je=0,rn=Ie,Xe=0;break;case"ne":yn=0,Je=A[H(2165)],rn=0,Xe=Pe;break;case"nw":yn=A[H(733)],Je=A[H(2165)],rn=Ie,Xe=Pe;break}const cn=yn-A[H(733)]/2,an=Je-A[H(2165)]/2,xn=cn*Ne-an*ze,mn=cn*ze+an*Ne,In=rn-Ie/2,_e=Xe-Pe/2,Bt=In*Ne-_e*ze,Ke=In*ze+_e*Ne;Ae=A[H(1924)]+A.startWidth/2-Ie/2+xn-Bt,Ve=A[H(1789)]+A[H(2165)]/2-Pe/2+mn-Ke}G[H(1560)]={x:Ae,y:Ve,width:Ie,height:Pe};const tn=j[H(1560)];tn[H(1346)][H(1557)]=Ae+"px",tn.style.top=Ve+"px",tn[H(1346)][H(1238)]=Ie+"px",tn[H(1346)][H(1265)]=Pe+"px"},Y=()=>{const X=_0x4806,H=G[X(1560)];H&&r(e.id,{normalStyle:{...u,x:H.x,y:H.y,width:H[X(1238)],height:H[X(1265)]}}),Z(null),G[X(1560)]=null};return window[_(1966)]("mousemove",I),window[_(1966)](_(1762),Y),()=>{const X=_;window[X(1339)](X(530),I),window[X(1339)](X(1762),Y)}},[A,r,e.id,u,R]);const xe=B[s(1591)]((_,I)=>{const Y=s;_[Y(1064)](),_[Y(1923)](),Z({corner:I,startX:_[Y(1569)],startY:_[Y(1947)],startWidth:u[Y(1238)]||100,startHeight:u.height||100,startNodeX:u.x||0,startNodeY:u.y||0,startRotate:u[Y(836)]||0})},[u[s(1238)],u[s(1265)],u.x,u.y,u[s(836)]]),ce=B.useCallback(_=>{const I=s;_.stopPropagation(),_.preventDefault();const Y=j[I(1560)]?.getBoundingClientRect();Y&&q({startX:_[I(1569)],startY:_[I(1947)],startAngle:u[I(836)]||0,centerX:Y[I(1557)]+Y[I(1238)]/2,centerY:Y[I(1413)]+Y[I(1265)]/2})},[u[s(836)]]);B[s(363)](()=>{const _=s;if(!W)return;const I=X=>{const H=_0x4806,oe=X[H(1569)]-W.centerX,le=X[H(1947)]-W.centerY;let ge=(Math[H(1689)](le,oe)*(180/Math.PI)+90)%360;if(ge<0&&(ge+=360),T[H(1560)]=ge,j[H(1560)]){const ve=u[H(1130)]||"";j.current.style[H(1130)]=(H(970)+ge+H(1221)+ve)[H(1258)]()}},Y=()=>{const X=_0x4806,H=T[X(1560)]??W[X(833)];T[X(1560)]=null,r&&r(e.id,{normalStyle:{...u,rotate:Math[X(723)](H)}}),q(null)};return window[_(1966)](_(530),I),window[_(1966)](_(1762),Y),()=>{const X=_;window[X(1339)](X(530),I),window[X(1339)](X(1762),Y)}},[W,r,e.id,u]);const de=e.type===s(1728),fe={position:"absolute",left:u.x||0,top:u.y||0,width:K,height:Q,background:de?s(583):u[s(451)]||s(583),backgroundImage:de?void 0:u.backgroundImage?s(850)+u.backgroundImage+")":void 0,backgroundSize:s(1912),backgroundPosition:s(543),padding:Array[s(927)](u[s(524)])?u[s(524)][s(886)]("px ")+"px":u.padding,margin:Array.isArray(u[s(1936)])?u[s(1936)][s(886)](s(1919))+"px":u[s(1936)],borderRadius:de?void 0:u[s(1637)],border:n&&!U?s(439):U?s(1712):de?"none":u[s(397)]||s(1493),pointerEvents:s(1314),opacity:u.opacity??1,transform:U?u[s(1130)]||void 0:(s(970)+(T[s(1560)]??(u.rotate||0))+"deg) "+(u.transform||""))[s(1258)](),transformOrigin:s(880),zIndex:n?1e3:u[s(540)]??1,cursor:g&&!m?"move":y?s(727):"default",boxSizing:"border-box",overflow:s(n||U||de?1136:1821)},ie=P?{x:P.startX||0,y:P[s(384)]||0}:{x:0,y:0},J=P?{x:P[s(505)]||0,y:P[s(1488)]||0}:{x:0,y:0},re=l[s(1239)](s(539),{ref:j,"data-node-id":e.id,style:fe,onClick:_=>{const I=s;console[I(365)]("NodeRenderer onClick",e.id,I(2100),y);const Y=v[I(1560)];y&&Y&&!m&&!A&&!W&&(_[I(1064)](),Y(_))},onMouseDown:_=>{g&&o&&!m&&o(_)},children:[n&&!U&&l.jsxs(l.Fragment,{children:[!de&&l[s(1239)](l.Fragment,{children:[l[s(1993)](s(539),{className:s(1192),style:{zIndex:9999,pointerEvents:s(1314),cursor:s(1913),marginTop:"-6px",marginLeft:"-6px"},onMouseDown:_=>xe(_,"nw"),title:"拖拽调整大小"}),l[s(1993)]("div",{className:s(1119),style:{zIndex:9999,pointerEvents:s(1314),cursor:s(2117),marginTop:"-6px",marginRight:s(1977)},onMouseDown:_=>xe(_,"ne"),title:"拖拽调整大小"}),l[s(1993)](s(539),{className:"absolute bottom-0 left-0 w-3 h-3 bg-blue-500 border-2 border-white rounded-full",style:{zIndex:9999,pointerEvents:"auto",cursor:"sw-resize",marginBottom:s(1977),marginLeft:s(1977)},onMouseDown:_=>xe(_,"sw"),title:s(932)}),l.jsx(s(539),{className:s(1939),style:{zIndex:9999,pointerEvents:"auto",cursor:s(938),marginBottom:"-6px",marginRight:s(1977)},onMouseDown:_=>xe(_,"se"),title:s(932)})]}),l[s(1993)]("div",{className:s(666),style:{zIndex:9999,pointerEvents:s(1314),cursor:s(1189),marginTop:"-20px",transform:s(361),boxShadow:"0 0 4px rgba(0,0,0,0.3)"},onMouseDown:_=>ce(_),title:s(789)}),l[s(1993)]("div",{className:s(1866),style:{zIndex:9998,pointerEvents:s(1712),marginTop:"-14px",transform:"translateX(-50%)"}}),l.jsxs(s(539),{className:s(725),children:[e[s(659)]," ",N?"("+N[s(659)]+")":""]})]}),n&&U&&P&&r&&l[s(1239)](l[s(915)],{children:[l.jsx(s(539),{"data-handle":s(1989),className:"absolute w-3 h-3 bg-blue-500 border-2 border-white rounded-full cursor-move z-50",style:{left:ie.x-6,top:ie.y-6,boxShadow:"0 0 4px rgba(0,0,0,0.3)"},onMouseDown:_=>$(_,s(1989)),title:"拖拽调整起点"}),l[s(1993)]("div",{"data-handle":s(412),className:"absolute w-3 h-3 bg-blue-500 border-2 border-white rounded-full cursor-move z-50",style:{left:J.x-6,top:J.y-6,boxShadow:s(1934)},onMouseDown:_=>$(_,s(412)),title:s(1084)}),l[s(1993)](s(539),{className:s(725),children:e[s(659)]})]}),l[s(1993)]("div",{className:s(1504),children:L?l.jsx("div",{className:s(841),children:yl(L,x,n,e,b)}):de?null:l[s(1993)](s(539),{className:s(2189),children:s(2013)})}),e[s(1424)]===s(1728)&&e[s(514)]&&l[s(1993)](s(539),{className:s(1194),children:e[s(514)].map(_=>l[s(1993)](s(539),{className:s(2129),children:l.jsx(Yx,{node:_,isSelected:!1,data:x,onUpdateNode:r,scale:i,enableEventFlow:c,eventFlowData:d})},_.id))})]});return c?l[s(1993)](Yr,{node:e,flowContextData:d,children:re}):re},Yx=B[a(1312)](ml,(e,n)=>{const t=a,o=e[t(1997)],x=n[t(1997)],r=o.id===x.id&&o[t(721)].x===x[t(721)].x&&o[t(721)].y===x.normalStyle.y&&o[t(721)][t(1238)]===x[t(721)][t(1238)]&&o.normalStyle.height===x[t(721)].height&&o[t(721)][t(836)]===x.normalStyle.rotate,i=o[t(1537)]===x[t(1537)],c=JSON[t(1571)](e[t(1819)]??null)===JSON[t(1571)](n[t(1819)]??null),d=e[t(1070)]===n[t(1070)]&&e[t(476)]===n.scale&&e[t(764)]===n.enableEventFlow&&c,s=g=>{const p=t,h=[];return g.contentInfo?.[p(1247)]?.[p(1369)](b=>{const M=p;if(b[M(600)]?.type===M(1881)){const v=b.material[M(713)];h[M(1465)]({statusId:b.id,startX:v?.[M(1555)]??0,startY:v?.[M(384)]??0,endX:v?.[M(505)]??100,endY:v?.endY??0})}}),h},u=s(o),f=s(x);let y=!0;if(u[t(2194)]!==f[t(2194)])y=!1;else for(let g=0;g<u[t(2194)];g++){const p=u[g],h=f[t(1876)](b=>b[t(1608)]===p.statusId);if(!h||p[t(1555)]!==h.startX||p[t(384)]!==h.startY||p.endX!==h[t(505)]||p.endY!==h[t(1488)]){y=!1;break}}return r&&i&&d&&y}),wl=()=>{const e=a,{root:n,addSiblingGroup:t,removeSiblingGroup:o,updateSiblingGroup:x,addCanvasToSiblingGroup:r,removeCanvasFromSiblingGroup:i,moveCanvasInSiblingGroup:c,nextSiblingCanvas:d,prevSiblingCanvas:s}=He(),u=n[e(369)]||[],[f,y]=B[e(655)](u[0]?.id??null),g=B[e(528)](()=>u.find(G=>G.id===f)||null,[u,f]),[p,h]=B[e(655)](null),[b,M]=B[e(655)](""),[v,m]=B[e(655)](void 0),w=B.useMemo(()=>{const G=e;return g?n[G(1889)].filter(j=>!g[G(1768)][G(911)](j.id)):n.canvases},[n[e(1889)],g]),C=B[e(1591)](()=>{const G=t();y(G)},[t]),k=B[e(1591)](G=>{const j=e,A=b[j(1258)]();if(!A){z.message[j(1419)](j(1124));return}x(G,{name:A}),h(null),M("")},[b,x]),O=B[e(1591)](()=>{!g||!v||(r(g.id,v),m(void 0))},[g,v,r]);return l.jsxs("div",{className:e(1219),style:{minHeight:360},children:[l[e(1239)](e(539),{className:"flex-1 border border-gray-200 rounded p-2",style:{minWidth:220},children:[l[e(1239)](e(539),{className:e(1845),children:[l[e(1993)](e(1102),{className:e(1759),children:e(1867)}),l[e(1993)](z[e(1804)],{type:e(1236),size:e(398),icon:l[e(1993)](ae[e(1442)],{}),onClick:C,children:"新建"})]}),u[e(2194)]===0?l[e(1993)](z[e(900)],{description:"暂无同级关系,点击「新建」开始",image:z[e(900)][e(592)],style:{marginTop:40}}):l[e(1993)](z.List,{size:e(398),dataSource:u,renderItem:G=>{const j=e,A=G.id===f,Z=p===G.id;return l[j(1993)](z.List.Item,{onClick:()=>{Z||y(G.id)},style:{cursor:j(727),background:A?j(866):void 0,padding:"6px 8px"},actions:[Z?l[j(1993)](z.Button,{type:"link",size:j(398),onClick:W=>{W[j(1064)](),k(G.id)},children:"保存"}):l[j(1993)](z[j(1654)],{title:j(407),children:l[j(1993)](z[j(1804)],{type:"text",size:"small",icon:l.jsx(ae[j(1081)],{}),onClick:W=>{const q=j;W[q(1064)](),h(G.id),M(G[q(659)])}})},j(446)),l[j(1993)](z[j(813)],{title:j(1371),okText:"删除",cancelText:"取消",okButtonProps:{danger:!0},onConfirm:W=>{const q=j;if(W?.[q(1064)](),o(G.id),f===G.id){const T=u[q(1641)](N=>N.id!==G.id);y(T[0]?.id??null)}},onCancel:W=>W?.[j(1064)](),children:l[j(1993)](z.Button,{type:"text",size:j(398),danger:!0,icon:l[j(1993)](ae[j(1096)],{}),onClick:W=>W[j(1064)]()})},j(1147))],children:Z?l[j(1993)](z[j(370)],{autoFocus:!0,size:j(398),value:b,onChange:W=>M(W[j(603)][j(1981)]),onPressEnter:()=>k(G.id),onClick:W=>W[j(1064)](),style:{width:140}}):l[j(1239)](j(1102),{className:j(1266),children:[l[j(1993)](j(1102),{style:{fontWeight:A?600:400},children:G.name}),l[j(1993)](z[j(2037)],{color:j(1306),children:G[j(1768)][j(2194)]})]})})}})]}),l[e(1993)](e(539),{className:e(746),style:{minWidth:280},children:g?l[e(1239)](l[e(915)],{children:[l[e(1239)](e(539),{className:e(1845),children:[l[e(1993)](e(1102),{className:e(1759),children:e(1116)}),l.jsxs(z[e(2132)],{size:e(398),children:[l.jsx(z.Tooltip,{title:e(1875),children:l[e(1993)](z[e(1804)],{size:e(398),icon:l[e(1993)](ae[e(862)],{}),disabled:g[e(1768)][e(2194)]<2,onClick:()=>s(g.id)})}),l.jsx(z[e(1654)],{title:e(1590),children:l[e(1993)](z[e(1804)],{size:e(398),icon:l[e(1993)](ae[e(882)],{}),disabled:g[e(1768)][e(2194)]<2,onClick:()=>d(g.id)})})]})]}),l.jsxs(e(539),{className:"flex items-center gap-2 mb-3",children:[l[e(1993)](z[e(462)],{placeholder:e(797),value:v,onChange:m,style:{flex:1},size:e(398),disabled:w[e(2194)]===0,options:w[e(542)](G=>({label:G[e(659)],value:G.id}))}),l[e(1993)](z[e(1804)],{size:e(398),type:e(1236),icon:l[e(1993)](ae[e(1442)],{}),disabled:!v,onClick:O,children:"加入"})]}),g.canvasIds[e(2194)]===0?l[e(1993)](z.Empty,{description:e(1128),image:z[e(900)][e(592)],style:{marginTop:40}}):l.jsx(z.List,{size:e(398),dataSource:g[e(1768)],renderItem:(G,j)=>{const A=e,Z=n.canvases[A(1876)](T=>T.id===G),W=n[A(1945)]===G,q=g.canvasIds[A(2194)];return l.jsx(z.List.Item,{style:{padding:A(1908)},actions:[l[A(1993)](z[A(1654)],{title:"上移",children:l[A(1993)](z.Button,{type:A(1755),size:A(398),icon:l.jsx(ae[A(1592)],{}),disabled:j===0,onClick:()=>c(g.id,G,"up")})},"up"),l.jsx(z[A(1654)],{title:"下移",children:l[A(1993)](z[A(1804)],{type:A(1755),size:A(398),icon:l[A(1993)](ae[A(1882)],{}),disabled:j===q-1,onClick:()=>c(g.id,G,A(1387))})},A(1387)),l.jsx(z[A(1654)],{title:A(477),children:l.jsx(z[A(1804)],{type:A(1755),size:A(398),danger:!0,icon:l[A(1993)](ae.DeleteOutlined,{}),onClick:()=>i(g.id,G)})},A(921))],children:l[A(1239)](A(1102),{className:A(1266),children:[l[A(1993)](z[A(2037)],{children:j+1}),l[A(1993)](A(1102),{style:{fontWeight:W?600:400},children:Z?.name??A(424)+G[A(1172)](0,6)+")"}),W&&l[A(1993)](z.Tag,{color:"green",children:"当前"})]})})}})]}):l[e(1993)](z.Empty,{description:e(1976),image:z.Empty.PRESENTED_IMAGE_SIMPLE,style:{marginTop:60}})})]})},vl=[a(1690),a(2010),a(753),a(745),a(1396),"#eb2f96",a(1995),a(1734),a(507),a(443),a(2060),a(1903),"#ffffff",a(910),a(1760),a(1879)],dt=({value:e=a(1690),onChange:n,onChangeComplete:t})=>{const o=a,[x,r]=B.useState(!1),[i,c]=B.useState(e),d=B.useRef(null);B[o(363)](()=>{c(e)},[e]),B[o(363)](()=>{const u=o,f=y=>{const g=_0x4806;d[g(1560)]&&!d.current.contains(y[g(603)])&&(r(!1),t?.({toHexString:()=>i}))};return x&&document[u(1966)](u(874),f),()=>document[u(1339)](u(874),f)},[x,t,i]);const s=u=>{c(u),n?.({toHexString:()=>u})};return l.jsxs(o(539),{ref:d,style:{position:o(1837),display:o(1056)},children:[l[o(1993)](o(539),{onClick:()=>r(!x),style:{width:28,height:28,backgroundColor:i,border:o(812),borderRadius:4,cursor:"pointer"}}),x&&l[o(1239)](o(539),{style:{position:o(2080),top:32,left:0,zIndex:1e3,background:o(1107),padding:8,borderRadius:4,boxShadow:"0 2px 8px rgba(0,0,0,0.15)",border:o(1593)},children:[l[o(1993)](o(539),{style:{display:o(914),gridTemplateColumns:o(784),gap:4},children:vl[o(542)](u=>l.jsx("div",{onClick:()=>{s(u),r(!1),t?.({toHexString:()=>u})},style:{width:20,height:20,backgroundColor:u,border:o(i===u?439:812),borderRadius:2,cursor:o(727)}},u))}),l[o(1993)]("input",{type:"color",value:i,onChange:u=>s(u.target[o(1981)]),onBlur:()=>t?.({toHexString:()=>i}),style:{width:"100%",marginTop:8,height:28,border:o(812),borderRadius:4}})]})]})},{TextArea:pl}=z.Input;function bl(e){const n=a;if(!e||!(e instanceof HTMLElement))return!1;const t=e.tagName;return!!(t===n(739)||t===n(982)||t===n(1729)||t===n(1282)||e[n(801)]||e[n(686)](n(1598))||e.closest(n(1013))||e[n(686)](n(2083)))}const Or=({defaultTestData:e,readonly:n=!1,backgroundImageUrl:t,initialViewportWidth:o,initialViewportHeight:x})=>{const r=a,i=B.useRef(null),c=B.useRef(null),d=B[r(575)](null),{nodes:s,selectedNodeId:u,selectedNodeIds:f,mode:y,lineDrawing:g,viewport:p,canvas:h,root:b,setViewport:M,setCanvasConfig:v,addNode:m,selectNode:w,updateNode:C,removeNode:k,bringToFront:O,sendToBack:G,undo:j,redo:A,setMode:Z,startLineDrawing:W,endLineDrawing:q,cancelLineDrawing:T,addCanvas:N,removeCanvas:D,switchCanvas:L,updateCanvasName:U,exportCanvas:P,importCanvas:S,setSelectedNodeIds:K}=He(),[Q,R]=B[r(655)](!1),[,$]=B[r(655)]({}),xe=B[r(575)](y);B.useEffect(()=>{const E=r;xe[E(1560)]=y},[y]),B.useEffect(()=>{const E=r;Z(E(n?664:1877))},[n,Z]);const ce=n&&o&&h[r(1238)]>0?Math[r(831)](o/h[r(1238)],1):.5,de=n&&o?1:5,fe=n&&o&&h[r(1238)]>0?ce:1,ie=n&&o?r(1216)+o+"-"+(x||r(1314))+r(607)+h[r(1238)]+"-"+h.height:r(1582),J=B[r(575)](fe),re=B[r(575)](!1),_=B[r(575)]({x:0,y:0}),I=B.useRef({x:0,y:0,newX:0,newY:0}),Y=B.useRef(null),[X,H]=B[r(655)]({start:null,end:null,isDrawing:!1}),[oe,le]=B[r(655)]({start:null,end:null}),se=f,ge=K;B[r(575)](!1);const[ve,Ne]=B[r(655)](!1),[ze,ke]=B[r(655)](!1),[Ye,Ie]=B[r(655)](()=>JSON[r(1571)](e??null,null,2)),Pe=B[r(528)](()=>{const E=r;if(!ze)return e;try{return JSON[E(871)](Ye)}catch{return e}},[Ye,e,ze]),Ae=B[r(528)](()=>{const E=r,V=Pe;if(V!==null&&typeof V===E(2171))return V;if(V!==void 0)return{_payload:V}},[Pe]),Ve=B[r(528)](()=>{const E=Pe;return E!==null&&typeof E=="object"&&!Array.isArray(E)?E:Array.isArray(E)?{_telemetryRows:E}:E==null?{}:{_payload:E}},[Pe]),tn=B.useCallback(()=>{const E=r;let V=e;if(ze)try{V=JSON[E(871)](Ye)}catch{V=e}Ie(JSON[E(1571)](V??null,null,2)),Ne(!0)},[Ye,e,ze]),[yn,Je]=B[r(655)](!1),[rn,Xe]=B[r(655)](!1),[cn,an]=B[r(655)](""),[xn,mn]=B[r(655)](!1),In=B.useCallback(()=>{const E=r;try{const V=P(),ne=JSON[E(1571)](V,null,2),te=E(869)+encodeURIComponent(ne),ue="canvas_"+V.canvas.name+"_"+Date[E(1960)]()+E(1323),F=document[E(1990)]("a");F[E(1110)](E(1412),te),F[E(1110)](E(766),ue),F[E(1280)](),z.message[E(2093)](E(473))}catch{z[E(452)].error(E(2074))}},[P]),_e=B[r(1591)](()=>{const E=r;try{const V=JSON[E(871)](cn);xn?S(V):S(V,b.currentCanvasId||void 0),Xe(!1),an(""),mn(!1),z[E(452)].success(E(1441))}catch{z.message[E(551)](E(2151))}},[cn,xn,S,b[r(1945)]]),Bt=B[r(1591)](E=>{const V=r,ne=new FileReader;return ne[V(1841)]=te=>{const ue=V;try{const F=te.target?.[ue(532)],ee=JSON[ue(871)](F);xn?S(ee):S(ee,b.currentCanvasId||void 0),z[ue(452)][ue(2093)](ue(1441)),Xe(!1),mn(!1)}catch{z[ue(452)][ue(551)]("文件格式错误")}},ne[V(2053)](E),!1},[xn,S,b.currentCanvasId]),[Ke,Hn]=B.useState(!1),We=B[r(1591)]((E,V)=>{const ne=r;if(!c[ne(1560)])return{x:0,y:0};const te=c[ne(1560)][ne(1761)](),ue=E-te[ne(1557)],F=V-te[ne(1413)],ee=te[ne(1238)]/h[ne(1238)],ye=te[ne(1265)]/h[ne(1265)],we=ue/ee,me=F/ye;return{x:Math.round(we),y:Math[ne(723)](me)}},[h[r(1238)],h[r(1265)]]),Pn=B[r(1591)]((E,V)=>We(E,V),[We]),Dt=B[r(1591)]((E,V,ne=!0)=>{const te=r;if(!g[te(600)])return;const ue=g[te(600)],F=ue[te(713)]||{},ee=F[te(2123)]||F[te(1832)]||2,ye=Math.min(E.x,V.x),we=Math.min(E.y,V.y),me=Math[te(723)](E.x-ye),Ce=Math[te(723)](E.y-we),pe=Math[te(723)](V.x-ye),Se=Math[te(723)](V.y-we),Oe=Math.max(ee*2,4),Fe=Math[te(1439)](Math[te(1018)](E.x-V.x),Oe),wn=Math.max(Math[te(1018)](E.y-V.y),Oe),Ze={...ue,id:be[te(1161)](),config:{color:F.color,lineWeight:ee,thickness:ee,lineType:F[te(1586)],startX:me,startY:Ce,endX:pe,endY:Se}},Le={id:be[te(1161)](),name:ue.name+"_"+Date.now(),type:"normal",normalStyle:{width:Fe,height:wn,x:ye,y:we,background:te(583)},contentInfo:{statusList:[Lx(Ze)],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}};if(m(Le,!1),ne){const De={x:V.x,y:V.y};H({start:De,end:{...De},isDrawing:!0})}else H({start:null,end:null,isDrawing:!1}),q()},[g[r(600)],m,q]),ko=B[r(1591)](()=>{const E=r,V=i[E(1560)]?.[E(1549)];if(!V)return;const ne=V[E(571)];J.current=ne.scale,M({scale:ne.scale,positionX:0,positionY:0})},[M]),Io=B[r(1591)](E=>{const V=r;re[V(1560)]||y!==V(809)&&(E[V(603)]===c.current||E[V(603)][V(588)]?.canvas===V(1501))&&(w(null),ge([]))},[w,y]),Po=B[r(1591)](E=>{const V=r;if(E[V(772)]===0){if(y==="line-draw"&&g[V(600)]){E.stopPropagation();const ne=We(E[V(1569)],E.clientY);X[V(943)]?X[V(1989)]&&Dt(X.start,ne,!0):H({start:ne,end:ne,isDrawing:!0});return}if(y===V(809)&&!Ke){const ne=Pn(E[V(1569)],E[V(1947)]);le({start:ne,end:ne}),ge([]),w(null),E[V(1923)](),E[V(1064)]()}}},[y,g[r(600)],X[r(943)],X[r(1989)],Ke,Dt,We,Pn]),Ao=B[r(1591)](E=>{const V=r;if(!(y!==V(1785)||!g[V(600)])&&X[V(943)]&&X.start){const ne=We(E[V(1569)],E[V(1947)]);Dt(X[V(1989)],ne,!1)}},[y,g[r(600)],X.isDrawing,X.start,Dt,We]),jo=B[r(1591)](E=>{const V=r;E[V(1923)](),E[V(508)][V(1101)]="copy",R(!0)},[]),Eo=B[r(1591)](E=>{E[r(1923)](),R(!1)},[]),Yo=B.useCallback(E=>{const V=r;if(E[V(1923)](),R(!1),!(!c[V(1560)]||y!==V(1877)))try{const ne=E.dataTransfer.getData(V(1885));if(!ne)return;const te=JSON[V(871)](ne),ue=We(E[V(1569)],E.clientY),F=ue.x-50,ee=ue.y-50,ye=ar(F,ee,te);m(ye),ge([ye.id])}catch(ne){console[V(551)](V(864),ne)}},[y,m,We]),Uo=B.useCallback((E,V)=>{const ne=r;y!==ne(1877)&&y!==ne(809)||!V[ne(814)][ne(1638)]||(E[ne(1064)](),w(V.id),re.current=!0,_[ne(1560)]={x:E[ne(1569)],y:E[ne(1947)]},I[ne(1560)]={x:V[ne(721)].x||0,y:V[ne(721)].y||0,newX:V.normalStyle.x||0,newY:V[ne(721)].y||0},Y[ne(1560)]=V,E[ne(1923)]())},[y,w]);B[r(363)](()=>{const E=r,V=F=>{const ee=_0x4806;if(re[ee(1560)]&&u&&Y.current){if(!c[ee(1560)])return;const ye=c[ee(1560)][ee(1761)](),we=ye.width/h[ee(1238)],me=ye[ee(1265)]/h.height,Ce=F[ee(1569)]-_.current.x,pe=F[ee(1947)]-_[ee(1560)].y,Se=Ce/we,Oe=pe/me,Fe=I[ee(1560)].x+Se,wn=I[ee(1560)].y+Oe,Ze=document[ee(1542)](ee(2156)+u+'"]');Ze&&(Ze.style[ee(1557)]=Fe+"px",Ze[ee(1346)][ee(1413)]=wn+"px"),I.current[ee(1170)]=Fe,I[ee(1560)][ee(1449)]=wn}if(y===ee(809)&&oe[ee(1989)]){const ye=Pn(F[ee(1569)],F.clientY);le(we=>({...we,end:ye}))}if(y===ee(1785)&&X[ee(943)]){const ye=We(F[ee(1569)],F[ee(1947)]);H(we=>({...we,end:ye}))}},ne=()=>{const F=_0x4806;if(re.current&&u&&Y.current){const ee=He.getState(),ye=I[F(1560)][F(1170)]??I[F(1560)].x,we=I[F(1560)][F(1449)]??I.current.y;ee[F(1324)](u,{normalStyle:{...Y.current[F(721)],x:ye,y:we}})}if(re[F(1560)]=!1,Y[F(1560)]=null,$({}),y===F(809)&&oe[F(1989)]&&oe[F(412)]){const ee=Math[F(831)](oe[F(1989)].x,oe[F(412)].x),ye=Math.max(oe[F(1989)].x,oe[F(412)].x),we=Math.min(oe.start.y,oe[F(412)].y),me=Math[F(1439)](oe[F(1989)].y,oe.end.y),Ce=s[F(1641)](pe=>{const Se=F,Oe=pe[Se(721)].x||0,Fe=pe[Se(721)].y||0,wn=pe[Se(721)].width||0,Ze=pe[Se(721)][Se(1265)]||0,Le=Oe+wn/2,De=Fe+Ze/2;return Le>=ee&&Le<=ye&&De>=we&&De<=me}).map(pe=>pe.id);ge(Ce),le({start:null,end:null})}},te=F=>{const ee=_0x4806;if(!bl(F[ee(603)])){if(F[ee(1460)]===ee(483)&&y==="line-draw"&&(H({start:null,end:null,isDrawing:!1}),T()),F[ee(1460)]===ee(1484)&&(u?k(u):se.length>0&&(se.forEach(ye=>k(ye)),ge([]))),F.ctrlKey&&F[ee(1460)]==="z"&&(F.preventDefault(),j()),F[ee(569)]&&F[ee(1460)]==="y"&&(F.preventDefault(),A()),(y===ee(1877)||y===ee(809))&&(F.key===ee(1174)||F.key===ee(1333)||F[ee(1460)]===ee(1949)||F[ee(1460)]==="ArrowDown")){const ye=se[ee(2194)]>0?se:u?[u]:[];if(ye.length>0){F.preventDefault();const we=F[ee(1460)]===ee(1174)?-2:F[ee(1460)]===ee(1333)?2:0,me=F[ee(1460)]===ee(1949)?-2:F[ee(1460)]===ee(1737)?2:0;ye[ee(1369)](Ce=>{const pe=ee,Se=s[pe(1876)](Oe=>Oe.id===Ce);Se&&C(Ce,{normalStyle:{...Se[pe(721)],x:(Se[pe(721)].x||0)+we,y:(Se[pe(721)].y||0)+me}})})}}F.key===" "&&!Ke&&(F[ee(1923)](),Hn(!0))}},ue=F=>{F.key===" "&&Ke&&Hn(!1)};return window.addEventListener(E(530),V),window.addEventListener(E(1762),ne),window.addEventListener(E(1354),te),window[E(1966)](E(1320),ue),()=>{const F=E;window[F(1339)]("mousemove",V),window[F(1339)]("mouseup",ne),window[F(1339)](F(1354),te),window.removeEventListener("keyup",ue)}},[u,oe,y,X[r(943)],se,s,h[r(1238)],h.height,k,j,Ke,A,T,We,Pn,ge,C]);const sx=(E,V=!0)=>{const ne=r,te={...E,id:be.nanoid(),name:E[ne(659)]+"_副本",normalStyle:{...E[ne(721)],x:(E.normalStyle.x||0)+(V?20:0),y:(E[ne(721)].y||0)+(V?20:0)}};return E[ne(1424)]==="group"&&E[ne(514)]&&(te[ne(514)]=E[ne(514)].map(ue=>sx(ue,!1))),te},lx=B[r(1591)](()=>{const E=r,V=se[E(2194)]>0?se[E(542)](te=>s[E(1876)](ue=>ue.id===te))[E(1641)](Boolean):u?[s.find(te=>te.id===u)].filter(Boolean):[];if(V[E(2194)]===0)return;const ne=[];V.forEach(te=>{const ue=E,F=sx(te);m(F),ne[ue(1465)](F.id)}),ne.length===1?w(ne[0]):ge(ne)},[u,se,s,m,w,ge]),dx=B[r(1591)](()=>{const E=r;if(se[E(2194)]<2)return;const V=[];for(let we=0;we<se[E(2194)];we++){const me=se[we],Ce=s.find(pe=>pe.id===me);if(Ce){if(Ce?.[E(1424)]===E(1728)){Ce[E(514)][E(1369)](Se=>V[E(1465)]({...Se,normalStyle:{...Se.normalStyle,x:(Ce[E(721)].x||0)+(Se[E(721)].x||0),y:(Ce[E(721)].y||0)+(Se[E(721)].y||0)}})),k(me);continue}V.push(Ce)}}if(V[E(2194)]<2)return;let ne=1/0,te=1/0,ue=-1/0,F=-1/0;V[E(1369)](we=>{const me=E,Ce=we[me(721)].x||0,pe=we[me(721)].y||0,Se=we[me(721)][me(1238)]||0,Oe=we[me(721)][me(1265)]||0;ne=Math[me(831)](ne,Ce),te=Math.min(te,pe),ue=Math[me(1439)](ue,Ce+Se),F=Math[me(1439)](F,pe+Oe)});const ee=V[E(542)](we=>({...we,normalStyle:{...we[E(721)],x:(we.normalStyle.x||0)-ne,y:(we[E(721)].y||0)-te}})),ye={id:be.nanoid(),name:"群组_"+Date.now(),type:E(1728),normalStyle:{x:ne,y:te,width:ue-ne,height:F-te,background:E(583)},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:ee};se[E(1369)](we=>k(we)),m(ye),ge([]),w(ye.id)},[se,s,k,m,w]),ux=E=>{const V=r,ne={...E,id:be[V(1161)]()};return E.type===V(1728)&&E[V(514)]&&(ne[V(514)]=E.children[V(542)](te=>ux(te))),ne},fx=B[r(1591)](()=>{const E=r,V=se.length>0?se.map(ne=>s[E(1876)](te=>te.id===ne))[E(1641)](ne=>!!ne&&ne[E(1424)]===E(1728)):u?[s[E(1876)](ne=>ne.id===u)][E(1641)](ne=>!!ne&&ne[E(1424)]===E(1728)):[];V[E(2194)]!==0&&(V[E(1369)](ne=>{const te=E;if(!ne[te(514)]||ne[te(514)][te(2194)]===0)return;const ue=ne[te(721)].x||0,F=ne[te(721)].y||0,ee=ne[te(721)][te(1238)]||0,ye=ne.normalStyle[te(1265)]||0,we=ne[te(721)][te(836)]||0,me=we*Math.PI/180,Ce=Math[te(1028)](me),pe=Math[te(748)](me),Se=ue+ee/2,Oe=F+ye/2,Fe=(Ze,Le)=>{const De=Ze-ee/2,nt=Le-ye/2;return{x:Se+De*Ce-nt*pe,y:Oe+De*pe+nt*Ce}},wn=ne[te(514)][te(542)](Ze=>{const Le=te,De=ux(Ze);if(De.contentInfo[Le(1247)].some(Ho=>Ho[Le(600)].type===Le(1881))){const Ho=De[Le(721)].x||0,d5=De[Le(721)].y||0,xs=De.normalStyle[Le(1238)]||0,os=De[Le(721)].height||0,u5=De.normalStyle.rotate||0,rs=u5*Math.PI/180,is=Math[Le(1028)](rs),cs=Math[Le(748)](rs),as=(ot,qe)=>{const vn=ot-xs/2,Mn=qe-os/2,sn=vn*is-Mn*cs+xs/2,Wo=vn*cs+Mn*is+os/2;return Fe(Ho+sn,d5+Wo)};let tt=1/0,xt=1/0,To=-1/0,Vo=-1/0,qo=2;const f5=De.contentInfo.statusList[Le(542)](ot=>{const qe=Le;if(ot.material[qe(1424)]!==qe(1881))return null;const vn=ot[qe(600)][qe(713)]||{},Mn=as(vn[qe(1555)]||0,vn[qe(384)]||0),sn=as(vn[qe(505)]||0,vn[qe(1488)]||0);return tt=Math.min(tt,Mn.x,sn.x),xt=Math[qe(831)](xt,Mn.y,sn.y),To=Math[qe(1439)](To,Mn.x,sn.x),Vo=Math[qe(1439)](Vo,Mn.y,sn.y),qo=Math[qe(1439)](qo,vn[qe(2123)]||vn[qe(1832)]||2),{s:Mn,e:sn}});if(Number.isFinite(tt)&&Number[Le(1647)](xt)){const ot=Math[Le(1439)](qo*2,4),qe=Math[Le(1439)](To-tt,ot),vn=Math.max(Vo-xt,ot),Mn=De[Le(1537)].statusList[Le(542)]((sn,Wo)=>{const Xo=Le,s0=f5[Wo];if(!s0||sn[Xo(600)][Xo(1424)]!=="LINE")return sn;const ss=sn.material;return{...sn,material:{...ss,config:{...ss[Xo(713)]||{},startX:s0.s.x-tt,startY:s0.s.y-xt,endX:s0.e.x-tt,endY:s0.e.y-xt}}}});return{...De,normalStyle:{...De[Le(721)],x:tt,y:xt,width:qe,height:vn,rotate:0},contentInfo:{...De[Le(1537)],statusList:Mn}}}}const vx=De.normalStyle[Le(1238)]||0,px=De[Le(721)].height||0,bx=De.normalStyle.x||0,a0=De[Le(721)].y||0,ns=bx+vx/2-ee/2,ts=a0+px/2-ye/2,c5=Se+ns*Ce-ts*pe,a5=Oe+ns*pe+ts*Ce,s5=De[Le(721)][Le(836)]||0,l5=((s5+we)%360+360)%360;return{...De,normalStyle:{...De[Le(721)],x:c5-vx/2,y:a5-px/2,rotate:l5}}});k(ne.id),wn[te(1369)](Ze=>m(Ze))}),ge([]),w(null))},[u,se,s,k,m,w,ge]),o0=B[r(1591)](E=>{const V=r;if(se.length<2)return;const ne=se.map(me=>s[V(1876)](Ce=>Ce.id===me))[V(1641)](me=>!!me&&me[V(1424)]!=="group");if(ne[V(2194)]<2)return;let te=1/0,ue=-1/0,F=1/0,ee=-1/0;ne[V(1369)](me=>{const Ce=V,pe=me[Ce(721)].x||0,Se=me[Ce(721)].y||0;te=Math.min(te,pe),ue=Math[Ce(1439)](ue,pe),F=Math[Ce(831)](F,Se),ee=Math[Ce(1439)](ee,Se)});const ye=[...ne][V(1576)]((me,Ce)=>{const pe=V;return E===pe(417)?(me.normalStyle.x||0)-(Ce[pe(721)].x||0):(me[pe(721)].y||0)-(Ce[pe(721)].y||0)}),we=ye[V(2194)];if(E===V(417)){const me=ue-te,Ce=me/(we-1);ye[V(1369)]((pe,Se)=>{const Oe=V,Fe=te+Ce*Se;C(pe.id,{normalStyle:{...pe[Oe(721)],x:Fe}})})}else{const me=ee-F,Ce=me/(we-1);ye[V(1369)]((pe,Se)=>{const Oe=V,Fe=F+Ce*Se;C(pe.id,{normalStyle:{...pe[Oe(721)],y:Fe}})})}},[se,s,C]),Tn=E=>{const V=r,ne=E[V(1537)].statusList[V(1876)](te=>te.material.type===V(1881));return ne?ne.material[V(713)]:null},Vn=B[r(1591)](E=>{const V=r;if(se[V(2194)]<2)return;const ne=He[V(1740)](),te=se[V(542)](F=>s[V(1876)](ee=>ee.id===F))[V(1641)](F=>!!F);if(te[V(2194)]<2)return;let ue=0;switch(E){case V(1557):ue=Math[V(831)](...te[V(542)](F=>{const ee=V,ye=Tn(F);return ye?(F.normalStyle.x||0)+(ye[ee(1555)]||0):F[ee(721)].x||0}));break;case"right":ue=Math[V(1439)](...te[V(542)](F=>{const ee=V,ye=Tn(F);return ye?(F[ee(721)].x||0)+(ye[ee(505)]||0):(F.normalStyle.x||0)+(F[ee(721)][ee(1238)]||0)}));break;case V(1413):ue=Math.min(...te.map(F=>{const ee=V,ye=Tn(F);return ye?(F[ee(721)].y||0)+(ye[ee(384)]||0):F.normalStyle.y||0}));break;case V(808):ue=Math[V(1439)](...te[V(542)](F=>{const ee=V,ye=Tn(F);return ye?(F[ee(721)].y||0)+(ye[ee(1488)]||0):(F[ee(721)].y||0)+(F[ee(721)][ee(1265)]||0)}));break}te[V(1369)](F=>{const ee=V;let ye=F[ee(721)].x||0,we=F[ee(721)].y||0;const me=Tn(F);switch(E){case ee(1557):me?ye=ue-(me.startX||0):ye=ue;break;case ee(1476):me?ye=ue-(me[ee(505)]||0):ye=ue-(F[ee(721)].width||0);break;case ee(1413):me?we=ue-(me[ee(384)]||0):we=ue;break;case ee(808):me?we=ue-(me[ee(1488)]||0):we=ue-(F.normalStyle.height||0);break}ne.updateNode(F.id,{normalStyle:{...F[ee(721)],x:ye,y:we}})})},[se,s]),hx=[{icon:l[r(1993)](ae[r(2120)],{}),title:r(1799),active:y===r(1877),onClick:()=>{Z(r(1877))}},{icon:l[r(1993)](ae[r(1840)],{}),title:r(1190),active:y==="box-select",onClick:()=>{Z("box-select"),ge([])}},{icon:l.jsx(ae[r(632)],{}),title:r(805),active:y===r(553),onClick:()=>{Z("drag")}},{icon:l[r(1993)](ae[r(1081)],{}),title:"线条绘制",active:y===r(1785),onClick:()=>{Z(r(1785))}},{icon:l[r(1993)](ae[r(699)],{}),title:r(2140),active:y===r(664),onClick:()=>{Z(r(664))}}],Lt=B[r(1591)](()=>se[r(2194)]>0?se:u?[u]:[],[se,u]),gx=B[r(1591)](()=>{const E=r,V=Lt();if(V[E(2194)]===0)return;s[E(1641)](te=>V[E(911)](te.id)).map(te=>te.id)[E(1369)](te=>O(te))},[Lt,s,O]),yx=B[r(1591)](()=>{const E=r,V=Lt();if(V[E(2194)]===0)return;[...s[E(1641)](te=>V[E(911)](te.id))[E(542)](te=>te.id)][E(523)]().forEach(te=>G(te))},[Lt,s,G]),Go=B[r(528)](()=>[{icon:l[r(1993)](ae[r(1500)],{}),title:r(1853),onClick:j},{icon:l[r(1993)](ae[r(604)],{}),title:r(1972),onClick:A},{icon:l[r(1993)](ae[r(868)],{}),title:r(1137),disabled:!u&&se[r(2194)]===0,onClick:gx},{icon:l[r(1993)](ae.DownSquareOutlined,{}),title:"置于底层",disabled:!u&&se[r(2194)]===0,onClick:yx},{icon:l[r(1993)](ae[r(1707)],{}),title:r(402),disabled:!u&&se.length===0,onClick:lx},{icon:l.jsx(ae.GroupOutlined,{}),title:r(1730),disabled:se[r(2194)]<2,onClick:dx},{icon:l[r(1993)](ae[r(445)],{}),title:r(1255),disabled:!u&&se[r(2194)]===0,onClick:fx},{icon:l[r(1993)](ae[r(2114)],{}),title:r(1348),disabled:se[r(2194)]<2,onClick:()=>Vn("left")},{icon:l.jsx(ae[r(1250)],{}),title:r(2006),disabled:se[r(2194)]<2,onClick:()=>Vn(r(1476))},{icon:l[r(1993)](ae[r(1952)],{}),title:r(1782),disabled:se.length<2,onClick:()=>Vn(r(1413))},{icon:l[r(1993)](ae[r(872)],{}),title:"下对齐",disabled:se[r(2194)]<2,onClick:()=>Vn(r(808))},{icon:l[r(1993)](ae[r(1207)],{}),title:r(636),disabled:se[r(2194)]<2,onClick:()=>o0("horizontal")},{icon:l.jsx(ae[r(1104)],{}),title:r(767),disabled:se[r(2194)]<2,onClick:()=>o0(r(609))},{icon:l[r(1993)](ae[r(634)],{}),title:"画布配置",onClick:()=>Je(!0)},{icon:l[r(1993)](ae[r(1935)],{}),title:r(1787),type:r(1236),onClick:tn},{icon:l[r(1993)](ae[r(1096)],{}),title:r(1378),disabled:!u&&se[r(2194)]===0,onClick:()=>{u?k(u):se[r(2194)]>0&&(se.forEach(V=>k(V)),ge([]))}}],[j,A,y,Z,ge,se,dx,fx,lx,Vn,o0,gx,yx,Je,Ne,tn,u,k,b.currentCanvasId]),[Oo,mx]=B[r(655)](!1),[r0,i0]=B[r(655)](""),[wx,c0]=B[r(655)](null);return l.jsxs(r(539),{className:r(1625)+(n?"":r(1948)),children:[!n&&l[r(1239)](r(539),{className:r(1508),children:[l[r(1239)](z[r(2132)],{children:[hx[r(542)](E=>l[r(1993)](z[r(1654)],{title:E.title,children:l[r(1993)](z[r(1804)],{type:E[r(683)]?r(1236):"default",icon:E[r(1545)],onClick:E[r(1380)]})},E[r(1692)])),l[r(1993)](r(539),{className:r(956)}),l.jsx(z.Select,{value:b.currentCanvasId,onChange:L,style:{width:140},dropdownRender:E=>l.jsxs(l[r(915)],{children:[E,l[r(1993)](r(539),{className:"border-t border-gray-200 mt-1 pt-1",children:l[r(1993)](z[r(1804)],{type:r(537),size:r(398),block:!0,onClick:()=>mx(!0),children:r(1315)})})]}),children:b[r(1889)][r(542)](E=>l.jsx(z[r(462)][r(777)],{value:E.id,children:E[r(659)]},E.id))}),l[r(1993)](z[r(1804)],{icon:l.jsx(ae.PlusOutlined,{}),size:r(398),onClick:()=>N(),title:r(1970)}),l[r(1993)](z[r(1654)],{title:r(2196),children:l[r(1993)](z[r(1804)],{icon:l[r(1993)](ae[r(1390)],{}),size:"small",onClick:In})}),l[r(1993)](z[r(1654)],{title:"导入画布",children:l.jsx(z[r(1804)],{icon:l.jsx(ae[r(2058)],{}),size:r(398),onClick:()=>Xe(!0)})})]}),l.jsx(z[r(2132)],{children:Go.map(E=>l.jsx(z[r(1654)],{title:E[r(1692)],children:l[r(1993)](z[r(1804)],{type:E[r(683)]?"primary":E.type||r(1582),icon:E[r(1545)],onClick:E.onClick,disabled:E.disabled})},E[r(1692)]))})]}),l[r(1993)](r(539),{ref:d,className:r(1471)+(n?"":"flex-1"),style:n&&o?{display:r(1616),justifyContent:r(1596),alignItems:r(1596)}:void 0,onWheel:n&&o?E=>{const V=r;E[V(1923)](),E[V(1064)]();const ne=i.current;if(!ne)return;const te=J[V(1560)],ue=.1,F=E[V(381)]>0?Math.max(te-ue,ce):Math[V(831)](te+ue,de);ne[V(1731)](0,0,F,0)}:void 0,children:l[r(1993)](d0.TransformWrapper,{ref:i,initialScale:fe,initialPositionX:0,initialPositionY:0,minScale:ce,maxScale:de,onTransformed:ko,limitToBounds:n&&!!o,centerZoomedOut:n&&!!o,panning:{disabled:!Ke&&y!=="drag",velocityDisabled:!0},wheel:{disabled:n&&!!o,step:.1},pinch:{disabled:!1},doubleClick:{disabled:!0},children:({zoomIn:E,zoomOut:V,resetTransform:ne})=>l.jsxs(l.Fragment,{children:[!n&&l[r(1993)]("div",{className:r(620),children:l[r(1239)](z[r(2132)],{direction:r(609),children:[l[r(1993)](z[r(1654)],{title:"放大",children:l.jsx(z.Button,{icon:l[r(1993)](ae[r(1325)],{}),onClick:()=>E()})}),l[r(1993)](z[r(1654)],{title:"缩小",children:l[r(1993)](z[r(1804)],{icon:l[r(1993)](ae[r(1014)],{}),onClick:()=>V()})}),l[r(1993)](z.Tooltip,{title:r(1943),children:l.jsx(z.Button,{onClick:()=>ne(),children:r(1805)})}),l[r(1239)](r(539),{className:r(1538),children:[Math[r(723)](p[r(476)]*100),"%"]})]})}),l[r(1993)](d0.TransformComponent,{wrapperStyle:n&&o?{width:o,height:x||h[r(1265)]*(J[r(1560)]||1)+"px",position:r(1837),overflow:r(1821)}:{width:r(1805),height:n?h[r(1265)]*(J[r(1560)]||1)+"px":r(1805),position:r(1837),overflow:r(n?1136:1821)},contentStyle:{width:n?h[r(1238)]+"px":r(1805),height:n?h[r(1265)]+"px":"100%",display:"flex",alignItems:r(n?1596:543),justifyContent:n?"flex-start":"center"},children:l[r(1239)]("div",{ref:c,"data-canvas":r(1501),className:r(1471)+(Q?r(891):"")+" "+(y==="line-draw"?"cursor-crosshair":"")+" "+(Ke?r(776):""),style:{width:h[r(1238)],height:h.height,flexShrink:0,backgroundColor:h[r(451)],backgroundImage:h[r(878)]?"url("+h.backgroundImage+")":void 0,backgroundSize:"cover",backgroundPosition:r(543)},onClick:Io,onMouseDown:Po,onDoubleClick:Ao,onDragOver:jo,onDragLeave:Eo,onDrop:Yo,children:[t&&!n&&l[r(1239)](r(539),{className:r(1463),style:{width:h[r(1238)],height:h[r(1265)]},children:[l.jsx(r(916),{src:t,alt:"",className:r(675),draggable:!1}),l[r(1993)](r(719),{className:r(959),width:1920,height:1080,children:l[r(1993)]("rect",{x:"0",y:"0",width:"1920",height:r(856),fill:r(1712),stroke:r(2042),strokeWidth:"2"})})]}),h[r(1296)]!==!1&&l[r(1239)]("svg",{className:r(959),width:h.width,height:h[r(1265)],children:[l[r(1993)]("defs",{children:l[r(1993)]("pattern",{id:r(914),width:"20",height:"20",patternUnits:r(2145),children:l[r(1993)]("path",{d:"M 20 0 L 0 0 0 20",fill:r(1712),stroke:r(2051),opacity:r(1395),strokeWidth:"1"})})}),l[r(1993)](r(885),{width:r(1805),height:r(1805),fill:r(1902)})]}),s[r(542)](te=>l[r(1993)](Yx,{node:te,isSelected:y===r(664)?!1:u===te.id||se[r(911)](te.id),data:Ae,onClick:y===r(664)?void 0:ue=>{const F=r;console[F(365)](F(716),te.id,F(1229),xe.current),xe[F(1560)]!=="line-draw"&&(ue.shiftKey?(w(te.id),ge([...se,te.id])):(w(te.id),ge([te.id])))},onMouseDown:y===r(664)?void 0:ue=>Uo(ue,te),onUpdateNode:y===r(664)?void 0:(ue,F)=>C(ue,F),scale:p.scale,enableEventFlow:y===r(664),eventFlowData:Ve},""+te.id)),y===r(1785)&&X[r(943)]&&X[r(1989)]&&X[r(412)]&&l.jsx("svg",{className:r(959),width:h[r(1238)],height:h.height,children:l[r(1993)](r(2070),{x1:X[r(1989)].x,y1:X[r(1989)].y,x2:X[r(412)].x,y2:X.end.y,stroke:r(1690),strokeWidth:"2",strokeDasharray:"5,5",strokeLinecap:r(723),strokeLinejoin:"round"})}),y===r(809)&&oe[r(1989)]&&oe[r(412)]&&l[r(1993)](r(539),{className:r(2125),style:{left:Math[r(831)](oe[r(1989)].x,oe.end.x),top:Math.min(oe.start.y,oe[r(412)].y),width:Math[r(1018)](oe[r(412)].x-oe[r(1989)].x),height:Math[r(1018)](oe[r(412)].y-oe[r(1989)].y),zIndex:9999}})]})})]})},ie)}),l[r(1993)](z[r(1489)],{title:r(1787),open:ve,onCancel:()=>Ne(!1),footer:null,children:l[r(1993)](z.Form,{layout:r(609),children:l[r(1993)](z[r(457)].Item,{label:r(873),children:l.jsx(pl,{value:Ye,onChange:E=>{const V=r;ke(!0),Ie(E[V(603)][V(1981)])},rows:10,placeholder:r(1165)})})})}),l[r(1993)](z.Modal,{title:"画布配置",open:yn,onCancel:()=>Je(!1),footer:null,children:l[r(1239)](z[r(457)],{layout:r(609),children:[l[r(1993)](z[r(457)][r(1047)],{label:"宽度",children:l.jsx(z[r(1783)],{value:h[r(1238)],onChange:E=>v({width:E||1920}),min:100,max:5e3,style:{width:r(1805)}})}),l[r(1993)](z.Form[r(1047)],{label:"高度",children:l[r(1993)](z[r(1783)],{value:h[r(1265)],onChange:E=>v({height:E||1080}),min:100,max:5e3,style:{width:r(1805)}})}),l[r(1993)](z[r(457)][r(1047)],{label:r(706),children:l[r(1993)](z[r(1870)],{checked:h.showGrid!==!1,onChange:E=>v({showGrid:E})})}),l.jsx(z.Form[r(1047)],{label:r(985),children:l[r(1239)](r(539),{className:r(1266),children:[l.jsx(dt,{value:h[r(451)]||r(422),onChange:E=>v({background:E[r(1160)]()})}),l[r(1993)](z[r(370)],{value:h[r(451)],onChange:E=>v({background:E.target[r(1981)]}),placeholder:r(1373)})]})}),l[r(1239)](z[r(457)][r(1047)],{label:r(1109),children:[l[r(1239)](r(539),{className:"flex items-center gap-2",children:[l[r(1993)](z[r(637)],{accept:r(1188),showUploadList:!1,beforeUpload:E=>{const V=r;if(!E[V(1424)][V(922)]("image/"))return z[V(452)][V(551)](V(1649)),!1;const te=new FileReader;return te[V(1841)]=ue=>{const F=V,ee=ue[F(603)]?.[F(532)];v({backgroundImage:ee}),z[F(452)][F(2093)]("背景图片上传成功")},te[V(1045)](E),!1},children:l[r(1993)](z[r(1804)],{icon:l[r(1993)](ae[r(2058)],{}),children:"上传图片"})}),l[r(1993)](z[r(370)],{value:h[r(878)],onChange:E=>v({backgroundImage:E[r(603)][r(1981)]}),placeholder:r(498),style:{flex:1}}),h[r(878)]&&l[r(1993)](z[r(1804)],{icon:l[r(1993)](ae[r(1427)],{}),onClick:()=>v({backgroundImage:void 0}),danger:!0,size:r(398)})]}),h[r(878)]&&l[r(1993)](r(539),{className:r(1472),style:{maxWidth:r(1805)},children:l.jsx(r(916),{src:h[r(878)],alt:"背景预览",style:{maxWidth:r(1805),maxHeight:120,objectFit:r(821)}})})]})]})}),l[r(1993)](z.Modal,{title:r(1063),open:Oo,onCancel:()=>{mx(!1),c0(null),i0("")},footer:null,width:760,children:l[r(1993)](z[r(635)],{items:[{key:r(1889),label:r(1814),children:l.jsxs(l.Fragment,{children:[l.jsx(z[r(1521)],{dataSource:b[r(1889)],renderItem:E=>l[r(1993)](z[r(1521)].Item,{actions:[wx===E.id?l.jsx(z[r(1804)],{type:r(1236),size:"small",onClick:()=>{U(E.id,r0),c0(null)},children:"保存"}):l[r(1993)](z.Button,{type:r(1755),icon:l[r(1993)](ae[r(1081)],{}),size:"small",onClick:()=>{const V=r;c0(E.id),i0(E[V(659)])}}),b.canvases[r(2194)]>1&&l.jsx(z[r(1804)],{type:r(1755),danger:!0,icon:l[r(1993)](ae[r(1096)],{}),size:r(398),onClick:()=>D(E.id)})][r(1641)](Boolean),children:wx===E.id?l.jsx(z[r(370)],{value:r0,onChange:V=>i0(V[r(603)][r(1981)]),size:r(398),style:{width:200}}):l[r(1239)](r(1102),{style:{fontWeight:b[r(1945)]===E.id?r(1713):r(898)},children:[E[r(659)]," ",b[r(1945)]===E.id&&r(1681)]})})}),l[r(1993)](r(539),{className:r(1563),children:l[r(1993)](z[r(1804)],{type:"primary",icon:l[r(1993)](ae[r(1442)],{}),onClick:()=>N(),children:r(1970)})})]})},{key:r(1706),label:r(1965),children:l.jsx(wl,{})}]})}),l[r(1993)](z[r(1489)],{title:r(1086),open:rn,onOk:_e,onCancel:()=>{Xe(!1),an(""),mn(!1)},width:600,children:l.jsxs(r(539),{className:r(1921),children:[l[r(1239)]("div",{children:[l.jsx("p",{className:r(590),children:r(2202)}),l[r(1993)](r(1418),{type:r(2147),accept:r(1323),onChange:E=>{const V=E.target.files?.[0];V&&Bt(V)},className:r(1633)})]}),l[r(1993)]("div",{className:r(1005),children:"或"}),l[r(1239)](r(539),{children:[l[r(1993)]("p",{className:r(590),children:r(1775)}),l[r(1993)](r(1572),{value:cn,onChange:E=>an(E[r(603)][r(1981)]),placeholder:"粘贴画布 JSON 内容...",className:r(1407)})]}),l.jsxs(r(539),{className:"flex items-center gap-2",children:[l[r(1993)](r(1418),{type:r(1121),id:"importAsNewCanvas",checked:xn,onChange:E=>mn(E[r(603)][r(973)]),className:r(1477)}),l[r(1993)](r(1834),{htmlFor:"importAsNewCanvas",className:r(1769),children:r(1277)})]})]})})]})},{Option:b0}=z[a(462)];function Hr(e){return Array[a(927)](e)}function zl(e){const n=a,t=new Set;return e.forEach(o=>Object[n(1651)](o).forEach(x=>t.add(x))),Array[n(1139)](t)}function Cl(e,n){const t=a;return e[t(542)]((o,x)=>{const r=t,i=o[n],c=o.name;return{label:String(c??"项 "+(x+1)),value:typeof i===r(774)||typeof i===r(411)?i:String(i)}})}function Tr(e,n=""){const t=a,o=[];for(const[x,r]of Object[t(1942)](e)){const i=n?n+"."+x:x;r!==null&&typeof r===t(2171)&&!Array[t(927)](r)?o[t(1465)](...Tr(r,i)):o.push({paramsCode:i,paramsName:i,value:r})}return o}function Ml(e,n,t){const o=a;if(Hr(e)){if(n!=null&&t!=null){const x=e[o(1876)](r=>r[n]===t);if(x)return x}return{}}return e}const Bl=({material:e,onSave:n})=>{const t=a,o=e,x=o[t(962)]||{},r=He(m=>m[t(695)]),[i,c]=B.useState({label:x.label||"",value:x.value||"",valueSourceCode:x.valueSourceCode||"",unit:x[t(793)]||"",decimals:x[t(529)]??2,labelFontSize:x.labelStyle?.fontSize||14,labelFontWeight:x[t(2103)]?.[t(803)]||"bold",labelColor:x[t(2103)]?.[t(504)]||t(443),valueFontSize:x[t(534)]?.fontSize||14,valueFontWeight:x[t(534)]?.[t(803)]||t(898),valueColor:x[t(534)]?.[t(504)]||"#1890ff",boundDatasetId:x[t(1669)]||"",boundDatasetBindCode:x[t(1108)]||"",boundDatasetBindValue:x[t(1183)]??null}),d=B.useMemo(()=>{const m=t;return r.find(w=>w.id===i[m(1669)])},[r,i[t(1669)]]),s=d?Hr(d[t(1167)]):!1,u=B[t(528)](()=>{const m=t;if(!d)return[];const w=Ml(d[m(1167)],i[m(1108)],i[m(1183)]);return Tr(w)},[d,i.boundDatasetBindCode,i[t(1183)]]);B[t(363)](()=>{const m=t;c({label:x[m(1834)]||"",value:x[m(1981)]||"",valueSourceCode:x.valueSourceCode||"",unit:x[m(793)]||"",decimals:x[m(529)]??2,labelFontSize:x[m(2103)]?.[m(1776)]||14,labelFontWeight:x[m(2103)]?.[m(803)]||m(1713),labelColor:x[m(2103)]?.color||m(443),valueFontSize:x[m(534)]?.[m(1776)]||14,valueFontWeight:x[m(534)]?.[m(803)]||m(898),valueColor:x.valueStyle?.color||m(1690),boundDatasetId:x[m(1669)]||"",boundDatasetBindCode:x[m(1108)]||"",boundDatasetBindValue:x[m(1183)]??null})},[e.id]);const f=(m,w)=>{c(C=>({...C,[m]:w}))},y=m=>{c(w=>({...w,boundDatasetId:m,boundDatasetBindCode:"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetId:m||void 0,boundDatasetBindCode:void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},g=m=>{c(w=>({...w,boundDatasetBindCode:m||"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetBindCode:m||void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},p=m=>{c(w=>({...w,boundDatasetBindValue:m??null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetBindValue:m??void 0,valueSourceCode:void 0}})},0)},h=m=>{const w=t,C=u[w(1876)](O=>O[w(2115)]===m),k=C?.[w(793)]||"";c(O=>({...O,valueSourceCode:m,unit:k,value:String(C?.[w(1981)]||"")})),setTimeout(()=>{n({content:{...x,valueSourceCode:m,value:String(C?.[w(1981)]||""),unit:k}})},0)},b=()=>{const m=t;n({content:{...x,label:i.label,value:i[m(1981)],valueSourceCode:i[m(876)],unit:i.unit,decimals:i.decimals,boundDatasetId:i[m(1669)]||void 0,boundDatasetBindCode:i[m(1108)]||void 0,boundDatasetBindValue:i[m(1183)]??void 0,labelStyle:{fontSize:i[m(448)],fontWeight:i.labelFontWeight,color:i[m(738)]},valueStyle:{fontSize:i[m(1739)],fontWeight:i[m(2009)],color:i[m(2111)]}}})},M=d&&s?zl(d[t(1167)]):[],v=d&&s&&i[t(1108)]?Cl(d[t(1167)],i[t(1108)]):[];return l[t(1239)](t(539),{className:"space-y-4",children:[l.jsx(z[t(2047)],{style:{marginTop:0},children:"文本内容"}),l[t(1239)](z[t(457)],{layout:t(609),children:[l[t(1993)](z[t(457)].Item,{label:t(565),children:l[t(1993)](z[t(370)],{value:i[t(1834)],onChange:m=>f(t(1834),m[t(603)][t(1981)]),onBlur:b,placeholder:t(1629)})}),l[t(1993)](z[t(457)].Item,{label:t(846),help:t(940),children:l[t(1993)](z[t(462)],{allowClear:!0,placeholder:r[t(2194)]===0?"暂无数据集":t(502),value:i[t(1669)]||void 0,onChange:y,style:{width:"100%"},options:r[t(542)](m=>({label:m[t(659)],value:m.id}))})}),d&&s&&l.jsxs(l.Fragment,{children:[l[t(1993)](z.Form[t(1047)],{label:t(687),help:"该数据集的 sample 为数组,请选择用于匹配数据项的字段",children:l[t(1993)](z[t(462)],{allowClear:!0,placeholder:t(413),value:i[t(1108)]||void 0,onChange:g,style:{width:t(1805)},options:M[t(542)](m=>({label:m,value:m}))})}),i[t(1108)]&&l[t(1993)](z.Form.Item,{label:"绑定值",help:t(1075),children:l[t(1993)](z[t(462)],{allowClear:!0,placeholder:t(410),value:i[t(1183)]??void 0,onChange:p,style:{width:"100%"},options:v})})]}),l[t(1993)](z[t(457)][t(1047)],{label:t(500),help:d?"从绑定的数据中选择字段":t(939),children:l[t(1993)](z.Select,{value:i[t(876)]||void 0,onChange:h,placeholder:d?t(694):"请先绑定数据集",allowClear:!0,disabled:!d,style:{width:t(1805)},options:u[t(542)](m=>({value:m[t(2115)],label:m[t(1205)]}))})}),l.jsx(z[t(457)].Item,{label:i[t(876)]?t(1946):t(566),help:i[t(876)]?t(1461):t(968),children:l[t(1993)](z[t(370)],{value:i[t(1981)],onChange:m=>f("value",m[t(603)][t(1981)]),onBlur:b,placeholder:i.valueSourceCode?"数据字段无值时显示此备用值":t(800),disabled:!!i[t(876)],variant:i.valueSourceCode?"filled":void 0})}),l[t(1993)](z[t(457)][t(1047)],{label:"单位",help:"优先从绑定数据自动获取,也可手动输入",children:l.jsx(z[t(370)],{value:i[t(793)],onChange:m=>f("unit",m[t(603)][t(1981)]),onBlur:b,placeholder:t(2119),suffix:i[t(876)]&&u.length>0?l[t(1993)](z[t(2037)],{color:t(1306),style:{marginRight:-8},children:"自动"}):null})}),l[t(1993)](z[t(457)][t(1047)],{label:t(1356),help:"数值格式化时保留的小数位数,-1表示不格式化",children:l[t(1993)](z[t(1783)],{value:i[t(529)],onChange:m=>f(t(529),m??2),onBlur:b,min:-1,max:10,style:{width:"100%"}})})]}),l[t(1993)](z[t(2047)],{children:t(1240)}),l[t(1239)](z[t(457)],{layout:t(609),children:[l[t(1239)](z[t(2132)],{children:[l[t(1993)](z[t(457)][t(1047)],{label:"字体大小",children:l[t(1993)](z.InputNumber,{value:i[t(448)],onChange:m=>f("labelFontSize",m||14),onBlur:b,min:8,max:72})}),l.jsx(z[t(457)].Item,{label:t(638),children:l.jsxs(z[t(462)],{value:i[t(1856)],onChange:m=>{f("labelFontWeight",m),setTimeout(b,0)},style:{width:100},children:[l[t(1993)](b0,{value:t(898),children:"正常"}),l[t(1993)](b0,{value:t(1713),children:"粗体"})]})})]}),l[t(1993)](z[t(457)].Item,{label:t(1040),children:l[t(1239)]("div",{className:t(1266),children:[l[t(1993)](dt,{value:i[t(738)]||t(443),onChange:m=>{const w=t;f(w(738),m[w(1160)]())},onChangeComplete:m=>{const w=t;n({content:{...x,label:i[w(1834)],value:i[w(1981)],valueSourceCode:i[w(876)],unit:i[w(793)],decimals:i[w(529)],boundDatasetId:i.boundDatasetId||void 0,boundDatasetBindCode:i[w(1108)]||void 0,boundDatasetBindValue:i[w(1183)]??void 0,labelStyle:{fontSize:i[w(448)],fontWeight:i.labelFontWeight,color:m[w(1160)]()},valueStyle:{fontSize:i[w(1739)],fontWeight:i[w(2009)],color:i[w(2111)]}}})}}),l.jsx(z[t(370)],{value:i[t(738)],onChange:m=>f(t(738),m[t(603)][t(1981)]),onBlur:b,placeholder:t(443),style:{width:100}})]})})]}),l.jsx(z.Divider,{children:t(912)}),l[t(1239)](z[t(457)],{layout:"vertical",children:[l[t(1239)](z[t(2132)],{children:[l[t(1993)](z[t(457)][t(1047)],{label:t(408),children:l[t(1993)](z[t(1783)],{value:i.valueFontSize,onChange:m=>f("valueFontSize",m||14),onBlur:b,min:8,max:72})}),l.jsx(z.Form[t(1047)],{label:"字体粗细",children:l[t(1239)](z[t(462)],{value:i[t(2009)],onChange:m=>{f(t(2009),m),setTimeout(b,0)},style:{width:100},children:[l[t(1993)](b0,{value:t(898),children:"正常"}),l[t(1993)](b0,{value:"bold",children:"粗体"})]})})]}),l[t(1993)](z[t(457)].Item,{label:t(1040),children:l[t(1239)](t(539),{className:t(1266),children:[l.jsx(dt,{value:i[t(2111)]||t(1690),onChange:m=>{const w=t;f(w(2111),m[w(1160)]())},onChangeComplete:m=>{const w=t;n({content:{...x,label:i[w(1834)],value:i[w(1981)],valueSourceCode:i.valueSourceCode,unit:i[w(793)],decimals:i.decimals,boundDatasetId:i[w(1669)]||void 0,boundDatasetBindCode:i[w(1108)]||void 0,boundDatasetBindValue:i.boundDatasetBindValue??void 0,labelStyle:{fontSize:i[w(448)],fontWeight:i[w(1856)],color:i[w(738)]},valueStyle:{fontSize:i[w(1739)],fontWeight:i[w(2009)],color:m[w(1160)]()}}})}}),l.jsx(z.Input,{value:i[t(2111)],onChange:m=>f("valueColor",m.target.value),onBlur:b,placeholder:"#1890ff",style:{width:100}})]})})]})]})},Dl=({material:e,onSave:n})=>{const t=a,o=e,[x,r]=B[t(655)]({name:e[t(659)],src:o[t(1909)]||"",backgroundColor:o[t(1473)]||"",fillColor:o[t(1403)]||""});B[t(363)](()=>{const d=t;r({name:e[d(659)],src:o.src||"",backgroundColor:o[d(1473)]||"",fillColor:o.fillColor||""})},[e.id]);const i=(d,s)=>{r(u=>({...u,[d]:s}))},c=()=>{const d=t;n({name:x.name,src:x[d(1909)],backgroundColor:x.backgroundColor})};return l.jsxs(t(539),{className:t(1921),children:[l[t(1993)](z[t(2047)],{style:{marginTop:0},children:"图片属性"}),l[t(1239)](z[t(457)],{layout:t(609),children:[l[t(1993)](z.Form.Item,{label:t(989),children:l.jsx(z[t(370)],{value:x.name,onChange:d=>i(t(659),d[t(603)].value),onBlur:c})}),l[t(1993)](z.Form.Item,{label:"图片地址 (src)",children:l[t(1993)](z[t(370)][t(1779)],{value:x.src,onChange:d=>i(t(1909),d[t(603)].value),onBlur:c,rows:4,placeholder:t(2175)})}),l[t(1993)](z[t(457)][t(1047)],{label:"填充颜色(基本形状)",children:l[t(1239)](t(539),{className:t(1266),children:[l[t(1993)](dt,{value:x[t(1403)]||"#1890ff",onChange:d=>{const s=t,u=d.toHexString();i(s(1403),u),n({name:x[s(659)],src:x[s(1909)],backgroundColor:x.backgroundColor,fillColor:u})}}),l[t(1993)](z[t(370)],{value:x[t(1403)],onChange:d=>i(t(1403),d[t(603)][t(1981)]),onBlur:c,placeholder:t(1690)})]})}),l[t(1993)](z[t(457)][t(1047)],{label:t(1858),children:l[t(1239)](t(539),{className:t(1266),children:[l.jsx(dt,{value:x[t(1473)]||"#1890ff",onChange:d=>{const s=t,u=d[s(1160)]();i(s(1473),u),n({name:x[s(659)],src:x.src,backgroundColor:u,fillColor:x[s(1403)]})}}),l[t(1993)](z[t(370)],{value:x[t(1473)],onChange:d=>i(t(1473),d[t(603)][t(1981)]),onBlur:c,placeholder:t(1690)})]})})]})]})},{Option:Ll}=z[a(462)],Nl=({material:e,onSave:n})=>{const t=a,o=e[t(713)]||{},[x,r]=B[t(655)]({lineWeight:o[t(2123)]||o[t(1832)]||2,color:o[t(504)]||"#262626",lineType:o.lineType||t(2176),startX:o[t(1555)]??0,startY:o[t(384)]??0,endX:o[t(505)]??100,endY:o[t(1488)]??0}),i=JSON[t(1571)]({sw:o[t(2123)]??o[t(1832)],c:o.color,t:o[t(1586)],sx:o[t(1555)],sy:o[t(384)],ex:o[t(505)],ey:o[t(1488)]});B[t(363)](()=>{const s=t;r({lineWeight:o.lineWeight||o[s(1832)]||2,color:o.color||s(443),lineType:o[s(1586)]||s(2176),startX:o.startX??0,startY:o[s(384)]??0,endX:o.endX??100,endY:o[s(1488)]??0})},[e.id,i]);const c=s=>{const u=t,f={...x,...s};r(f),n({config:{...o,thickness:f[u(2123)],lineWeight:f[u(2123)],color:f.color,lineType:f.lineType,startX:f[u(1555)],startY:f[u(384)],endX:f[u(505)],endY:f.endY}})},d=[{value:t(2176),label:"实线",desc:"连续实线"},{value:t(2022),label:"虚线",desc:t(2082)},{value:t(543),label:t(1294),desc:t(778)},{value:"phantom",label:"假想线",desc:t(404)},{value:t(1175),label:"点线",desc:t(434)},{value:t(587),label:t(376),desc:t(1469)}];return l.jsxs(t(539),{className:"space-y-4",children:[l[t(1993)](z.Divider,{style:{marginTop:0},children:"起止位置(相对节点)"}),l[t(1239)](z[t(457)],{layout:t(609),children:[l[t(1239)](t(539),{className:t(2183),children:[l[t(1993)](z[t(457)][t(1047)],{label:"起点 X",className:"mb-2",children:l[t(1993)](z.InputNumber,{value:x.startX,onChange:s=>c({startX:s??0}),style:{width:t(1805)}})}),l[t(1993)](z[t(457)][t(1047)],{label:t(1276),className:t(590),children:l[t(1993)](z[t(1783)],{value:x[t(384)],onChange:s=>c({startY:s??0}),style:{width:t(1805)}})}),l[t(1993)](z[t(457)][t(1047)],{label:t(949),className:t(590),children:l.jsx(z[t(1783)],{value:x[t(505)],onChange:s=>c({endX:s??100}),style:{width:t(1805)}})}),l.jsx(z[t(457)][t(1047)],{label:t(902),className:t(590),children:l.jsx(z.InputNumber,{value:x[t(1488)],onChange:s=>c({endY:s??0}),style:{width:t(1805)}})})]}),l[t(1993)](z[t(457)][t(1047)],{label:t(976),className:"mt-4",children:l[t(1239)](z[t(2132)],{children:[l[t(1993)](z[t(1804)],{size:t(398),onClick:()=>{const s=t,u=o[s(1555)]??x[s(1555)],f=o[s(384)]??x[s(384)],y=o.endX??x[s(505)],g=o.endY??x[s(1488)],p=y-u,h=g-f,b=Math[s(807)](p*p+h*h),M=p>=0?1:-1;c({endX:u+M*b,endY:f})},title:t(401),children:"水平"}),l[t(1993)](z[t(1804)],{size:t(398),onClick:()=>{const s=t,u=o[s(1555)]??x[s(1555)],f=o[s(384)]??x.startY,y=o[s(505)]??x[s(505)],g=o[s(1488)]??x[s(1488)],p=y-u,h=g-f,b=Math[s(807)](p*p+h*h),M=h>=0?1:-1;c({endX:u,endY:f+M*b})},title:"将线条变为垂直线,保持长度",children:"垂直"}),l[t(1993)](z.Button,{size:t(398),onClick:()=>{const s=t,u=o.startX??x[s(1555)],f=o[s(384)]??x[s(384)],y=o.endX??x[s(505)],g=o[s(1488)]??x[s(1488)];c({startX:y,startY:g,endX:u,endY:f})},title:t(2201),children:"反向"})]})})]}),l[t(1993)](z[t(2047)],{children:t(1113)}),l[t(1239)](z[t(457)],{layout:t(609),children:[l[t(1993)](z[t(457)][t(1047)],{label:"线型",help:"选择线条样式",children:l.jsx(z[t(462)],{value:x.lineType,onChange:s=>c({lineType:s}),children:d[t(542)](s=>l[t(1993)](Ll,{value:s[t(1981)],children:l[t(1239)](t(539),{className:t(1227),children:[l.jsx(t(1102),{children:s.label}),l[t(1993)](t(1102),{className:"text-xs text-gray-400",children:s[t(1961)]})]})},s.value))})}),l[t(1993)](z.Form[t(1047)],{label:"线宽(像素)",children:l[t(1993)](z.InputNumber,{value:x[t(2123)],onChange:s=>c({lineWeight:s||2}),min:1,max:20,style:{width:120}})}),l[t(1993)](z[t(457)][t(1047)],{label:"颜色",children:l[t(1239)]("div",{className:t(1266),children:[l.jsx(dt,{value:x[t(504)]||t(1903),onChange:s=>c({color:s[t(1160)]()})}),l[t(1993)](z[t(370)],{value:x[t(504)],onChange:s=>c({color:s[t(603)][t(1981)]}),placeholder:t(1903),style:{width:100}})]})})]})]})};function Vr(e){return Array.isArray(e)}function Sl(e){const n=a,t=new Set;return e[n(1369)](o=>Object[n(1651)](o)[n(1369)](x=>t[n(1757)](x))),Array[n(1139)](t)}function kl(e,n){const t=a;return e[t(542)]((o,x)=>{const r=t,i=o[n],c=o.name;return{label:String(c??"项 "+(x+1)),value:typeof i===r(774)||typeof i===r(411)?i:String(i)}})}function Il(e,n,t){const o=a;if(Vr(e)){if(n!=null&&t!=null){const x=e[o(1876)](r=>r[n]===t);if(x)return x}return{}}return e}const qr=({status:e,onUpdate:n,onAppendToExpression:t})=>{const o=a,x=He(h=>h.dataPool),r=x[o(1876)](h=>h.id===e[o(1669)]),i=r?Vr(r.sample):!1,c=r?Il(r[o(1167)],e[o(1108)],e.boundDatasetBindValue):{},d=tr(c),s=h=>{const b=o,M=b(2030)+h;t?t(M):n({expression:""+(e.expression||"")+M})},u=h=>{n({boundDatasetId:h??null,boundDatasetBindCode:null,boundDatasetBindValue:null})},f=h=>{n({boundDatasetBindCode:h??null,boundDatasetBindValue:null})},y=h=>{n({boundDatasetBindValue:h??null})},g=r&&i?Sl(r[o(1167)]):[],p=r&&i&&e[o(1108)]?kl(r[o(1167)],e[o(1108)]):[];return l[o(1239)](l[o(915)],{children:[l[o(1993)](z.Form[o(1047)],{label:"绑定数据集",extra:x[o(2194)]===0?"请先在顶部工具栏点击「数据池」添加至少一个数据集(JSON 对象模板);宿主项目也可通过 initialScheme.dataPool 或 useEditorStore.getState().setDataPool() 注入。":o(1275),children:l[o(1993)](z[o(462)],{allowClear:!0,placeholder:x[o(2194)]===0?o(1519):o(1927),value:e.boundDatasetId??void 0,options:x[o(542)](h=>({label:h[o(659)],value:h.id})),onChange:u})}),r&&i&&l.jsxs(l.Fragment,{children:[l[o(1993)](z.Form[o(1047)],{label:o(687),extra:"该数据集的 sample 为数组,请选择用于匹配数据项的字段",children:l.jsx(z.Select,{allowClear:!0,placeholder:"选择绑定字段",value:e[o(1108)]??void 0,options:g.map(h=>({label:h,value:h})),onChange:f})}),e[o(1108)]&&l[o(1993)](z[o(457)][o(1047)],{label:"绑定值",extra:o(1075),children:l.jsx(z[o(462)],{allowClear:!0,placeholder:o(410),value:e[o(1183)]??void 0,options:p,onChange:y})})]}),d.length>0&&l[o(1993)](z.Form[o(1047)],{label:o(1279),children:l.jsx(z[o(2132)],{size:[4,4],wrap:!0,children:d[o(542)](h=>l[o(1993)](z[o(2037)],{className:o(1655),onClick:()=>s(h),children:"data."+h},h))})})]})},Wr=({material:e,onSave:n})=>{const t=a;switch(e[t(1424)]){case t(1505):return l[t(1993)](Bl,{material:e,onSave:n});case t(1072):return l[t(1993)](Dl,{material:e,onSave:n});case t(1881):return l[t(1993)](Nl,{material:e,onSave:n});default:return l[t(1993)]("div",{className:t(1937),children:"暂不支持编辑此类型的物料"})}},{Panel:Xr}=z[a(472)],{TextArea:Pl}=z[a(370)],Al=({node:e,updateNode:n,materials:t})=>{const o=a,x=t[o(1641)](f=>f[o(1424)]!==o(755)||!f[o(713)]?.[o(1361)]),r=(f,y)=>{const g=o,p=e[g(514)]?.[g(542)](h=>h.id===f?{...h,contentInfo:{...h.contentInfo,statusList:y}}:h);n(e.id,{children:p})},i=f=>{const y=o,g=e[y(514)]?.find(h=>h.id===f);if(!g)return;const p={id:be[y(1161)](),name:"状态"+(g.contentInfo[y(1247)].length+1),expression:g.contentInfo[y(1247)][y(2194)]===0?y(945):y(1185),material:{...x[0],id:be[y(1161)]()},boundDatasetId:null};r(f,[...g[y(1537)][y(1247)],p])},c=(f,y)=>{const g=o,p=e[g(514)]?.find(b=>b.id===f);if(!p)return;const h=p[g(1537)].statusList.filter(b=>b.id!==y);r(f,h)},d=(f,y,g)=>{const p=o,h=e[p(514)]?.[p(1876)](M=>M.id===f);if(!h)return;const b=h[p(1537)].statusList.map(M=>M.id===y?{...M,...g}:M);r(f,b)},s=(f,y,g)=>{const p=o,h=e.children?.[p(1876)](v=>v.id===f);if(!h)return;const b=h[p(1537)][p(1247)][p(626)](v=>v.id===y);if(b===-1)return;const M=[...h[p(1537)][p(1247)]];g==="up"&&b>0?[M[b],M[b-1]]=[M[b-1],M[b]]:g===p(1387)&&b<M[p(2194)]-1&&([M[b],M[b+1]]=[M[b+1],M[b]]),r(f,M)},u=(f,y,g)=>{const p=o,h=t[p(1876)](b=>b.id===g);h&&d(f,y,{material:{...h,id:be.nanoid()}})};return l.jsxs(o(539),{className:o(1921),children:[l[o(1993)](o(539),{className:o(802),children:l[o(1239)]("div",{className:o(2088),children:[l.jsx(o(1910),{children:o(1043)}),o(887)]})}),l[o(1993)](z[o(472)],{ghost:!0,children:e[o(514)]?.[o(542)]((f,y)=>l[o(1993)](Xr,{header:l[o(1239)]("div",{className:o(1430),children:[l[o(1239)](o(1102),{className:"font-medium text-sm",children:[o(1544),y+1]}),l[o(1239)](z[o(2037)],{color:o(1306),style:{fontSize:o(849),padding:"0 4px"},children:[f[o(1537)][o(1247)][o(2194)],o(1438)]})]}),children:l[o(1239)]("div",{className:o(1355),children:[l.jsxs(o(539),{className:o(1180),children:[l[o(1993)]("span",{className:o(1905),children:o(1145)}),l[o(1993)](z.Button,{type:o(1236),size:o(398),icon:l.jsx(ae.PlusOutlined,{}),onClick:()=>i(f.id),children:"添加状态"})]}),f[o(1537)].statusList[o(2194)]===0?l[o(1993)](o(539),{className:o(1848),children:o(1587)}):l[o(1993)](z[o(472)],{ghost:!0,children:f[o(1537)][o(1247)].map((g,p)=>l[o(1993)](Xr,{header:l[o(1239)](o(539),{className:o(1266),children:[l.jsx(o(1102),{className:o(718),children:p+1}),l[o(1993)](o(1102),{className:o(1900),children:g.name}),l[o(1993)](z[o(2037)],{color:o(1582),className:o(2062),children:g.material[o(1424)]})]}),extra:l[o(1239)](z[o(2132)],{size:"small",onClick:h=>h.stopPropagation(),children:[l[o(1993)](z[o(1804)],{type:"text",size:o(398),icon:l[o(1993)](ae[o(1592)],{}),disabled:p===0,onClick:h=>{h[o(1064)](),s(f.id,g.id,"up")}}),l[o(1993)](z.Button,{type:"text",size:o(398),icon:l[o(1993)](ae.ArrowDownOutlined,{}),disabled:p===f.contentInfo[o(1247)][o(2194)]-1,onClick:h=>{const b=o;h.stopPropagation(),s(f.id,g.id,b(1387))}}),l[o(1993)](z[o(1804)],{type:o(1755),size:"small",danger:!0,icon:l[o(1993)](ae.DeleteOutlined,{}),onClick:h=>{h.stopPropagation(),c(f.id,g.id)}})]}),children:l[o(1239)](z.Form,{layout:o(609),children:[l[o(1993)](z[o(457)][o(1047)],{label:o(516),children:l[o(1993)](z[o(370)],{value:g[o(659)],onChange:h=>d(f.id,g.id,{name:h[o(603)][o(1981)]}),placeholder:"输入状态名称"})}),l[o(1993)](qr,{status:g,onUpdate:h=>d(f.id,g.id,h)}),l[o(1993)](z[o(457)].Item,{label:"执行表达式",help:o(858),children:l[o(1993)](Pl,{value:g.expression,onChange:h=>d(f.id,g.id,{expression:h[o(603)][o(1981)]}),rows:3,placeholder:o(945)})}),l[o(1993)](z[o(457)][o(1047)],{label:o(749),children:l[o(1239)](o(539),{className:"flex items-center gap-2",children:[l[o(1993)](z[o(2037)],{color:o(1306),children:g[o(600)].name}),l[o(1993)](z[o(2037)],{color:o(1582),children:g[o(600)][o(1424)]}),l[o(1993)](z.Select,{placeholder:o(629),style:{width:150},value:void 0,onChange:h=>h&&u(f.id,g.id,h),options:x.map(h=>({value:h.id,label:h[o(659)]+" ("+h[o(1424)]+")"}))})]})}),l[o(1993)](z.Divider,{style:{margin:o(1860)}}),l[o(1239)]("div",{className:o(1915),children:[l.jsxs("div",{className:o(1845),children:[l[o(1993)](o(1102),{className:"text-sm font-medium",children:o(1893)}),l[o(1993)](z[o(2037)],{children:g[o(600)][o(659)]})]}),l[o(1993)](Wr,{material:g[o(600)],onSave:h=>{const b=o,M={...g[b(600)],...h};d(f.id,g.id,{material:M})}})]})]})},g.id))})]})},f.id))})]})};function Ge(e){const n=a;if(typeof e=="string"||typeof e===n(411))return""+e;let t="";if(Array.isArray(e))for(let o=0,x;o<e[n(2194)];o++)(x=Ge(e[o]))!==""&&(t+=(t&&" ")+x);else for(let o in e)e[o]&&(t+=(t&&" ")+o);return t}var jl={value:()=>{}};function z0(){const e=a;for(var n=0,t=arguments[e(2194)],o={},x;n<t;++n){if(!(x=arguments[n]+"")||x in o||/[\s.]/[e(1794)](x))throw new Error(e(1627)+x);o[x]=[]}return new C0(o)}function C0(e){this._=e}function El(e,n){const t=a;return e[t(1258)]()[t(1615)](/^|\s+/)[t(542)](function(o){const x=t;var r="",i=o[x(419)](".");if(i>=0&&(r=o[x(1172)](i+1),o=o[x(1172)](0,i)),o&&!n.hasOwnProperty(o))throw new Error(x(1574)+o);return{type:o,name:r}})}C0[a(1201)]=z0[a(1201)]={constructor:C0,on:function(e,n){const t=a;var o=this._,x=El(e+"",o),r,i=-1,c=x.length;if(arguments[t(2194)]<2){for(;++i<c;)if((r=(e=x[i])[t(1424)])&&(r=Yl(o[r],e[t(659)])))return r;return}if(n!=null&&typeof n!==t(1154))throw new Error(t(992)+n);for(;++i<c;)if(r=(e=x[i])[t(1424)])o[r]=Kr(o[r],e[t(659)],n);else if(n==null)for(r in o)o[r]=Kr(o[r],e[t(659)],null);return this},copy:function(){const e=a;var n={},t=this._;for(var o in t)n[o]=t[o][e(1172)]();return new C0(n)},call:function(e,n){const t=a;if((r=arguments[t(2194)]-2)>0)for(var o=new Array(r),x=0,r,i;x<r;++x)o[x]=arguments[x+2];if(!this._[t(436)](e))throw new Error(t(1574)+e);for(i=this._[e],x=0,r=i[t(2194)];x<r;++x)i[x][t(1981)].apply(n,o)},apply:function(e,n,t){const o=a;if(!this._[o(436)](e))throw new Error(o(1574)+e);for(var x=this._[e],r=0,i=x[o(2194)];r<i;++r)x[r].value[o(1241)](n,t)}};function Yl(e,n){const t=a;for(var o=0,x=e.length,r;o<x;++o)if((r=e[o])[t(659)]===n)return r[t(1981)]}function Kr(e,n,t){const o=a;for(var x=0,r=e[o(2194)];x<r;++x)if(e[x][o(659)]===n){e[x]=jl,e=e.slice(0,x).concat(e[o(1172)](x+1));break}return t!=null&&e[o(1465)]({name:n,value:t}),e}var Ux=a(1509);const Zr={svg:"http://www.w3.org/2000/svg",xhtml:Ux,xlink:a(547),xml:"http://www.w3.org/XML/1998/namespace",xmlns:a(1233)};function M0(e){const n=a;var t=e+="",o=t[n(419)](":");return o>=0&&(t=e.slice(0,o))!==n(1784)&&(e=e[n(1172)](o+1)),Zr[n(436)](t)?{space:Zr[t],local:e}:e}function Ul(e){return function(){const n=_0x4806;var t=this[n(1658)],o=this[n(383)];return o===Ux&&t.documentElement[n(383)]===Ux?t[n(1990)](e):t[n(1408)](o,e)}}function Gl(e){return function(){const n=_0x4806;return this[n(1658)].createElementNS(e[n(931)],e.local)}}function Rr(e){const n=a;var t=M0(e);return(t[n(1891)]?Gl:Ul)(t)}function Ol(){}function Gx(e){return e==null?Ol:function(){return this[_0x4806(1542)](e)}}function Hl(e){const n=a;typeof e!==n(1154)&&(e=Gx(e));for(var t=this[n(2068)],o=t[n(2194)],x=new Array(o),r=0;r<o;++r)for(var i=t[r],c=i.length,d=x[r]=new Array(c),s,u,f=0;f<c;++f)(s=i[f])&&(u=e[n(897)](s,s[n(1843)],f,i))&&("__data__"in s&&(u[n(1843)]=s.__data__),d[f]=u);return new $e(x,this[n(1916)])}function Tl(e){const n=a;return e==null?[]:Array[n(927)](e)?e:Array.from(e)}function Vl(){return[]}function Jr(e){return e==null?Vl:function(){return this[_0x4806(409)](e)}}function ql(e){return function(){return Tl(e[_0x4806(1241)](this,arguments))}}function Wl(e){const n=a;typeof e===n(1154)?e=ql(e):e=Jr(e);for(var t=this._groups,o=t[n(2194)],x=[],r=[],i=0;i<o;++i)for(var c=t[i],d=c[n(2194)],s,u=0;u<d;++u)(s=c[u])&&(x[n(1465)](e[n(897)](s,s.__data__,u,c)),r[n(1465)](s));return new $e(x,r)}function _r(e){return function(){return this[_0x4806(1719)](e)}}function Fr(e){return function(n){return n[_0x4806(1719)](e)}}var Xl=Array[a(1201)][a(1876)];function Kl(e){return function(){return Xl[_0x4806(897)](this.children,e)}}function Zl(){return this[a(972)]}function Rl(e){return this[a(1877)](e==null?Zl:Kl(typeof e=="function"?e:Fr(e)))}var Jl=Array[a(1201)][a(1641)];function _l(){const e=a;return Array[e(1139)](this[e(514)])}function Fl(e){return function(){const n=_0x4806;return Jl[n(897)](this[n(514)],e)}}function Ql(e){return this.selectAll(e==null?_l:Fl(typeof e=="function"?e:Fr(e)))}function $l(e){const n=a;typeof e!="function"&&(e=_r(e));for(var t=this[n(2068)],o=t.length,x=new Array(o),r=0;r<o;++r)for(var i=t[r],c=i[n(2194)],d=x[r]=[],s,u=0;u<c;++u)(s=i[u])&&e[n(897)](s,s[n(1843)],u,i)&&d[n(1465)](s);return new $e(x,this[n(1916)])}function Qr(e){const n=a;return new Array(e[n(2194)])}function ed(){const e=a;return new $e(this._enter||this._groups[e(542)](Qr),this[e(1916)])}function B0(e,n){const t=a;this.ownerDocument=e[t(1658)],this[t(383)]=e[t(383)],this[t(936)]=null,this[t(1313)]=e,this[t(1843)]=n}B0.prototype={constructor:B0,appendChild:function(e){const n=a;return this[n(1313)][n(1249)](e,this._next)},insertBefore:function(e,n){const t=a;return this[t(1313)][t(1249)](e,n)},querySelector:function(e){const n=a;return this[n(1313)][n(1542)](e)},querySelectorAll:function(e){return this[a(1313)].querySelectorAll(e)}};function nd(e){return function(){return e}}function td(e,n,t,o,x,r){const i=a;for(var c=0,d,s=n[i(2194)],u=r[i(2194)];c<u;++c)(d=n[c])?(d.__data__=r[c],o[c]=d):t[c]=new B0(e,r[c]);for(;c<s;++c)(d=n[c])&&(x[c]=d)}function xd(e,n,t,o,x,r,i){const c=a;var d,s,u=new Map,f=n[c(2194)],y=r[c(2194)],g=new Array(f),p;for(d=0;d<f;++d)(s=n[d])&&(g[d]=p=i[c(897)](s,s[c(1843)],d,n)+"",u.has(p)?x[d]=s:u[c(799)](p,s));for(d=0;d<y;++d)p=i[c(897)](e,r[d],d,r)+"",(s=u.get(p))?(o[d]=s,s[c(1843)]=r[d],u[c(1147)](p)):t[d]=new B0(e,r[d]);for(d=0;d<f;++d)(s=n[d])&&u[c(1157)](g[d])===s&&(x[d]=s)}function od(e){return e[a(1843)]}function rd(e,n){const t=a;if(!arguments[t(2194)])return Array[t(1139)](this,od);var o=n?xd:td,x=this[t(1916)],r=this[t(2068)];typeof e!==t(1154)&&(e=nd(e));for(var i=r[t(2194)],c=new Array(i),d=new Array(i),s=new Array(i),u=0;u<i;++u){var f=x[u],y=r[u],g=y[t(2194)],p=id(e[t(897)](f,f&&f[t(1843)],u,x)),h=p.length,b=d[u]=new Array(h),M=c[u]=new Array(h),v=s[u]=new Array(g);o(f,y,b,M,v,p,n);for(var m=0,w=0,C,k;m<h;++m)if(C=b[m]){for(m>=w&&(w=m+1);!(k=M[w])&&++w<h;);C[t(936)]=k||null}}return c=new $e(c,x),c[t(1652)]=d,c[t(1985)]=s,c}function id(e){const n=a;return typeof e===n(2171)&&"length"in e?e:Array[n(1139)](e)}function cd(){const e=a;return new $e(this._exit||this[e(2068)][e(542)](Qr),this[e(1916)])}function ad(e,n,t){const o=a;var x=this.enter(),r=this,i=this[o(2141)]();return typeof e===o(1154)?(x=e(x),x&&(x=x[o(1032)]())):x=x[o(1037)](e+""),n!=null&&(r=n(r),r&&(r=r[o(1032)]())),t==null?i[o(921)]():t(i),x&&r?x.merge(r)[o(1206)]():r}function sd(e){const n=a;for(var t=e[n(1032)]?e[n(1032)]():e,o=this[n(2068)],x=t[n(2068)],r=o[n(2194)],i=x.length,c=Math[n(831)](r,i),d=new Array(r),s=0;s<c;++s)for(var u=o[s],f=x[s],y=u[n(2194)],g=d[s]=new Array(y),p,h=0;h<y;++h)(p=u[h]||f[h])&&(g[h]=p);for(;s<r;++s)d[s]=o[s];return new $e(d,this[n(1916)])}function ld(){const e=a;for(var n=this._groups,t=-1,o=n[e(2194)];++t<o;)for(var x=n[t],r=x.length-1,i=x[r],c;--r>=0;)(c=x[r])&&(i&&c[e(734)](i)^4&&i[e(430)][e(1249)](c,i),i=c);return this}function dd(e){const n=a;e||(e=ud);function t(y,g){const p=_0x4806;return y&&g?e(y[p(1843)],g[p(1843)]):!y-!g}for(var o=this[n(2068)],x=o.length,r=new Array(x),i=0;i<x;++i){for(var c=o[i],d=c[n(2194)],s=r[i]=new Array(d),u,f=0;f<d;++f)(u=c[f])&&(s[f]=u);s[n(1576)](t)}return new $e(r,this._parents)[n(1206)]()}function ud(e,n){return e<n?-1:e>n?1:e>=n?0:NaN}function fd(){const e=a;var n=arguments[0];return arguments[0]=this,n[e(1241)](null,arguments),this}function hd(){return Array[a(1139)](this)}function gd(){const e=a;for(var n=this._groups,t=0,o=n[e(2194)];t<o;++t)for(var x=n[t],r=0,i=x.length;r<i;++r){var c=x[r];if(c)return c}return null}function yd(){let e=0;for(const n of this)++e;return e}function md(){return!this[a(1997)]()}function wd(e){const n=a;for(var t=this[n(2068)],o=0,x=t[n(2194)];o<x;++o)for(var r=t[o],i=0,c=r[n(2194)],d;i<c;++i)(d=r[i])&&e[n(897)](d,d[n(1843)],i,r);return this}function vd(e){return function(){this[_0x4806(1245)](e)}}function pd(e){return function(){const n=_0x4806;this[n(957)](e.space,e[n(1891)])}}function bd(e,n){return function(){this[_0x4806(1110)](e,n)}}function zd(e,n){return function(){const t=_0x4806;this[t(509)](e.space,e[t(1891)],n)}}function Cd(e,n){return function(){const t=_0x4806;var o=n[t(1241)](this,arguments);o==null?this[t(1245)](e):this[t(1110)](e,o)}}function Md(e,n){return function(){const t=_0x4806;var o=n.apply(this,arguments);o==null?this[t(957)](e[t(931)],e.local):this.setAttributeNS(e.space,e[t(1891)],o)}}function Bd(e,n){const t=a;var o=M0(e);if(arguments.length<2){var x=this[t(1997)]();return o[t(1891)]?x[t(1367)](o.space,o[t(1891)]):x[t(527)](o)}return this.each((n==null?o[t(1891)]?pd:vd:typeof n===t(1154)?o[t(1891)]?Md:Cd:o.local?zd:bd)(o,n))}function $r(e){const n=a;return e[n(1658)]&&e.ownerDocument[n(1662)]||e[n(1644)]&&e||e[n(1662)]}function Dd(e){return function(){this[_0x4806(1346)].removeProperty(e)}}function Ld(e,n,t){return function(){this[_0x4806(1346)].setProperty(e,n,t)}}function Nd(e,n,t){return function(){const o=_0x4806;var x=n.apply(this,arguments);x==null?this.style[o(1058)](e):this.style.setProperty(e,x,t)}}function Sd(e,n,t){const o=a;return arguments.length>1?this.each((n==null?Dd:typeof n=="function"?Nd:Ld)(e,n,t??"")):ut(this[o(1997)](),e)}function ut(e,n){const t=a;return e[t(1346)][t(442)](n)||$r(e)[t(574)](e,null)[t(442)](n)}function kd(e){return function(){delete this[e]}}function Id(e,n){return function(){this[e]=n}}function Pd(e,n){return function(){var o=n[_0x4806(1241)](this,arguments);o==null?delete this[e]:this[e]=o}}function Ad(e,n){const t=a;return arguments.length>1?this[t(1920)]((n==null?kd:typeof n===t(1154)?Pd:Id)(e,n)):this[t(1997)]()[e]}function ei(e){const n=a;return e[n(1258)]()[n(1615)](/^|\s+/)}function Ox(e){return e[a(1931)]||new ni(e)}function ni(e){const n=a;this._node=e,this[n(1112)]=ei(e[n(527)](n(1585))||"")}ni[a(1201)]={add:function(e){const n=a;var t=this[n(1112)].indexOf(e);t<0&&(this[n(1112)][n(1465)](e),this._node.setAttribute(n(1585),this._names[n(886)](" ")))},remove:function(e){const n=a;var t=this[n(1112)][n(419)](e);t>=0&&(this[n(1112)][n(1808)](t,1),this[n(1878)][n(1110)](n(1585),this[n(1112)][n(886)](" ")))},contains:function(e){return this[a(1112)].indexOf(e)>=0}};function ti(e,n){const t=a;for(var o=Ox(e),x=-1,r=n[t(2194)];++x<r;)o[t(1757)](n[x])}function xi(e,n){const t=a;for(var o=Ox(e),x=-1,r=n[t(2194)];++x<r;)o[t(921)](n[x])}function jd(e){return function(){ti(this,e)}}function Ed(e){return function(){xi(this,e)}}function Yd(e,n){return function(){(n[_0x4806(1241)](this,arguments)?ti:xi)(this,e)}}function Ud(e,n){const t=a;var o=ei(e+"");if(arguments.length<2){for(var x=Ox(this[t(1997)]()),r=-1,i=o[t(2194)];++r<i;)if(!x[t(2099)](o[r]))return!1;return!0}return this[t(1920)]((typeof n=="function"?Yd:n?jd:Ed)(o,n))}function Gd(){this.textContent=""}function Od(e){return function(){const n=_0x4806;this[n(1800)]=e}}function Hd(e){return function(){const n=_0x4806;var t=e[n(1241)](this,arguments);this[n(1800)]=t??""}}function Td(e){const n=a;return arguments[n(2194)]?this.each(e==null?Gd:(typeof e=="function"?Hd:Od)(e)):this[n(1997)]()[n(1800)]}function Vd(){const e=a;this[e(1226)]=""}function qd(e){return function(){const n=_0x4806;this[n(1226)]=e}}function Wd(e){return function(){const n=_0x4806;var t=e[n(1241)](this,arguments);this[n(1226)]=t??""}}function Xd(e){const n=a;return arguments.length?this[n(1920)](e==null?Vd:(typeof e===n(1154)?Wd:qd)(e)):this[n(1997)]()[n(1226)]}function Kd(){const e=a;this[e(1671)]&&this.parentNode[e(1365)](this)}function Zd(){return this[a(1920)](Kd)}function Rd(){const e=a;this.previousSibling&&this[e(430)].insertBefore(this,this[e(430)][e(481)])}function Jd(){return this[a(1920)](Rd)}function _d(e){const n=a;var t=typeof e===n(1154)?e:Rr(e);return this.select(function(){const o=n;return this[o(1365)](t[o(1241)](this,arguments))})}function Fd(){return null}function Qd(e,n){const t=a;var o=typeof e===t(1154)?e:Rr(e),x=n==null?Fd:typeof n===t(1154)?n:Gx(n);return this[t(1877)](function(){const r=t;return this[r(1249)](o[r(1241)](this,arguments),x[r(1241)](this,arguments)||null)})}function $d(){const e=a;var n=this.parentNode;n&&n[e(1331)](this)}function eu(){return this[a(1920)]($d)}function nu(){const e=a;var n=this[e(909)](!1),t=this[e(430)];return t?t[e(1249)](n,this[e(1671)]):n}function tu(){const e=a;var n=this[e(909)](!0),t=this[e(430)];return t?t[e(1249)](n,this.nextSibling):n}function xu(e){return this[a(1877)](e?tu:nu)}function ou(e){const n=a;return arguments[n(2194)]?this[n(1665)](n(1843),e):this[n(1997)]()[n(1843)]}function ru(e){return function(n){const t=_0x4806;e.call(this,n,this[t(1843)])}}function iu(e){const n=a;return e.trim()[n(1615)](/^|\s+/)[n(542)](function(t){const o=n;var x="",r=t[o(419)](".");return r>=0&&(x=t[o(1172)](r+1),t=t[o(1172)](0,r)),{type:t,name:x}})}function cu(e){return function(){const n=_0x4806;var t=this[n(611)];if(t){for(var o=0,x=-1,r=t[n(2194)],i;o<r;++o)i=t[o],(!e[n(1424)]||i[n(1424)]===e.type)&&i[n(659)]===e[n(659)]?this[n(1339)](i[n(1424)],i.listener,i.options):t[++x]=i;++x?t[n(2194)]=x:delete this[n(611)]}}}function au(e,n,t){return function(){const o=_0x4806;var x=this[o(611)],r,i=ru(n);if(x){for(var c=0,d=x[o(2194)];c<d;++c)if((r=x[c])[o(1424)]===e.type&&r[o(659)]===e.name){this.removeEventListener(r[o(1424)],r[o(1122)],r.options),this.addEventListener(r[o(1424)],r[o(1122)]=i,r[o(1335)]=t),r[o(1981)]=n;return}}this[o(1966)](e[o(1424)],i,t),r={type:e.type,name:e[o(659)],value:n,listener:i,options:t},x?x[o(1465)](r):this[o(611)]=[r]}}function su(e,n,t){const o=a;var x=iu(e+""),r,i=x.length,c;if(arguments.length<2){var d=this[o(1997)]().__on;if(d){for(var s=0,u=d[o(2194)],f;s<u;++s)for(r=0,f=d[s];r<i;++r)if((c=x[r])[o(1424)]===f[o(1424)]&&c[o(659)]===f.name)return f[o(1981)]}return}for(d=n?au:cu,r=0;r<i;++r)this[o(1920)](d(x[r],n,t));return this}function oi(e,n,t){const o=a;var x=$r(e),r=x[o(1502)];typeof r=="function"?r=new r(n,t):(r=x[o(1644)][o(1422)](o(1811)),t?(r[o(567)](n,t[o(756)],t.cancelable),r[o(589)]=t[o(589)]):r[o(567)](n,!1,!1)),e[o(792)](r)}function lu(e,n){return function(){return oi(this,e,n)}}function du(e,n){return function(){return oi(this,e,n[_0x4806(1241)](this,arguments))}}function uu(e,n){return this[a(1920)]((typeof n=="function"?du:lu)(e,n))}function*fu(){const e=a;for(var n=this[e(2068)],t=0,o=n[e(2194)];t<o;++t)for(var x=n[t],r=0,i=x[e(2194)],c;r<i;++r)(c=x[r])&&(yield c)}var ri=[null];function $e(e,n){const t=a;this[t(2068)]=e,this[t(1916)]=n}function Ut(){const e=a;return new $e([[document[e(2079)]]],ri)}function hu(){return this}$e[a(1201)]=Ut[a(1201)]={constructor:$e,select:Hl,selectAll:Wl,selectChild:Rl,selectChildren:Ql,filter:$l,data:rd,enter:ed,exit:cd,join:ad,merge:sd,selection:hu,order:ld,sort:dd,call:fd,nodes:hd,node:gd,size:yd,empty:md,each:wd,attr:Bd,style:Sd,property:Ad,classed:Ud,text:Td,html:Xd,raise:Zd,lower:Jd,append:_d,insert:Qd,remove:eu,clone:xu,datum:ou,on:su,dispatch:uu,[Symbol[a(2104)]]:fu};function en(e){const n=a;return typeof e=="string"?new $e([[document.querySelector(e)]],[document[n(2079)]]):new $e([[e]],ri)}function gu(e){const n=a;let t;for(;t=e[n(652)];)e=t;return e}function dn(e,n){const t=a;if(e=gu(e),n===void 0&&(n=e.currentTarget),n){var o=n[t(1566)]||n;if(o[t(581)]){var x=o[t(581)]();return x.x=e[t(1569)],x.y=e.clientY,x=x[t(519)](n[t(1922)]()[t(468)]()),[x.x,x.y]}if(n[t(1761)]){var r=n[t(1761)]();return[e[t(1569)]-r[t(1557)]-n[t(1308)],e[t(1947)]-r[t(1413)]-n[t(918)]]}}return[e[t(1009)],e.pageY]}const yu={passive:!1},Gt={capture:!0,passive:!1};function Hx(e){e.stopImmediatePropagation()}function ft(e){const n=a;e[n(1923)](),e[n(1006)]()}function ii(e){const n=a;var t=e[n(1644)][n(2079)],o=en(e).on(n(1415),ft,Gt);n(1156)in t?o.on(n(1451),ft,Gt):(t[n(558)]=t[n(1346)].MozUserSelect,t[n(1346)][n(387)]=n(1712))}function ci(e,n){const t=a;var o=e[t(1644)].documentElement,x=en(e).on(t(1415),null);n&&(x.on("click.drag",ft,Gt),setTimeout(function(){x.on("click.drag",null)},0)),t(1156)in o?x.on("selectstart.drag",null):(o[t(1346)].MozUserSelect=o[t(558)],delete o[t(558)])}const D0=e=>()=>e;function Tx(e,{sourceEvent:n,subject:t,target:o,identifier:x,active:r,x:i,y:c,dx:d,dy:s,dispatch:u}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},subject:{value:t,enumerable:!0,configurable:!0},target:{value:o,enumerable:!0,configurable:!0},identifier:{value:x,enumerable:!0,configurable:!0},active:{value:r,enumerable:!0,configurable:!0},x:{value:i,enumerable:!0,configurable:!0},y:{value:c,enumerable:!0,configurable:!0},dx:{value:d,enumerable:!0,configurable:!0},dy:{value:s,enumerable:!0,configurable:!0},_:{value:u}})}Tx[a(1201)].on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};function mu(e){const n=a;return!e[n(569)]&&!e[n(772)]}function wu(){return this[a(430)]}function vu(e,n){return n??{x:e.x,y:e.y}}function pu(){const e=a;return navigator[e(563)]||e(2157)in this}function ai(){const e=a;var n=mu,t=wu,o=vu,x=pu,r={},i=z0(e(1989),e(553),e(412)),c=0,d,s,u,f,y=0;function g(C){const k=e;C.on(k(1812),p)[k(1641)](x).on(k(742),M).on(k(819),v,yu).on(k(1290),m).style(k(1865),k(1712))[k(1346)](k(815),k(1166))}function p(C,k){const O=e;if(!(f||!n[O(897)](this,C,k))){var G=w(this,t[O(897)](this,C,k),C,k,O(1085));G&&(en(C[O(892)]).on(O(591),h,Gt).on(O(701),b,Gt),ii(C.view),Hx(C),u=!1,d=C[O(1569)],s=C[O(1947)],G(O(1989),C))}}function h(C){const k=e;if(ft(C),!u){var O=C[k(1569)]-d,G=C.clientY-s;u=O*O+G*G>y}r[k(1085)](k(553),C)}function b(C){const k=e;en(C.view).on(k(1270),null),ci(C[k(892)],u),ft(C),r[k(1085)](k(412),C)}function M(C,k){const O=e;if(n[O(897)](this,C,k)){var G=C[O(1065)],j=t[O(897)](this,C,k),A=G[O(2194)],Z,W;for(Z=0;Z<A;++Z)(W=w(this,j,C,k,G[Z][O(1223)],G[Z]))&&(Hx(C),W(O(1989),C,G[Z]))}}function v(C){const k=e;var O=C[k(1065)],G=O[k(2194)],j,A;for(j=0;j<G;++j)(A=r[O[j][k(1223)]])&&(ft(C),A(k(553),C,O[j]))}function m(C){const k=e;var O=C[k(1065)],G=O[k(2194)],j,A;for(f&&clearTimeout(f),f=setTimeout(function(){f=null},500),j=0;j<G;++j)(A=r[O[j][k(1223)]])&&(Hx(C),A(k(412),C,O[j]))}function w(C,k,O,G,j,A){const Z=e;var W=i.copy(),q=dn(A||O,k),T,N,D;if((D=o.call(C,new Tx(Z(1198),{sourceEvent:O,target:g,identifier:j,active:c,x:q[0],y:q[1],dx:0,dy:0,dispatch:W}),G))!=null)return T=D.x-q[0]||0,N=D.y-q[1]||0,function L(U,P,S){const K=Z;var Q=q,R;switch(U){case K(1989):r[j]=L,R=c++;break;case K(412):delete r[j],--c;case K(553):q=dn(S||P,k),R=c;break}W[K(897)](U,C,new Tx(U,{sourceEvent:P,subject:D,target:g,identifier:j,active:R,x:q[0]+T,y:q[1]+N,dx:q[0]-Q[0],dy:q[1]-Q[1],dispatch:W}),G)}}return g.filter=function(C){return arguments[e(2194)]?(n=typeof C=="function"?C:D0(!!C),g):n},g[e(1171)]=function(C){const k=e;return arguments[k(2194)]?(t=typeof C===k(1154)?C:D0(C),g):t},g[e(449)]=function(C){const k=e;return arguments[k(2194)]?(o=typeof C===k(1154)?C:D0(C),g):o},g.touchable=function(C){const k=e;return arguments[k(2194)]?(x=typeof C===k(1154)?C:D0(!!C),g):x},g.on=function(){const C=e;var k=i.on[C(1241)](i,arguments);return k===i?g:k},g.clickDistance=function(C){const k=e;return arguments.length?(y=(C=+C)*C,g):Math[k(807)](y)},g}function Vx(e,n,t){const o=a;e.prototype=n[o(1201)]=t,t[o(1975)]=e}function si(e,n){var o=Object.create(e[a(1201)]);for(var x in n)o[x]=n[x];return o}function Ot(){}var Ht=.7,L0=1/Ht,ht=a(1565),Tt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",bn=a(1510),bu=/^#([0-9a-f]{3,8})$/,zu=new RegExp("^rgb\\("+ht+","+ht+","+ht+a(1573)),Cu=new RegExp("^rgb\\("+bn+","+bn+","+bn+a(1573)),Mu=new RegExp(a(455)+ht+","+ht+","+ht+","+Tt+"\\)$"),Bu=new RegExp(a(455)+bn+","+bn+","+bn+","+Tt+a(1573)),Du=new RegExp(a(827)+Tt+","+bn+","+bn+a(1573)),Lu=new RegExp("^hsla\\("+Tt+","+bn+","+bn+","+Tt+a(1573)),li={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Vx(Ot,Zn,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){const e=a;return this.rgb()[e(1445)]()},hex:di,formatHex:di,formatHex8:Nu,formatHsl:Su,formatRgb:ui,toString:ui});function di(){return this[a(2024)]().formatHex()}function Nu(){const e=a;return this[e(2024)]()[e(1765)]()}function Su(){const e=a;return mi(this)[e(1295)]()}function ui(){const e=a;return this.rgb()[e(697)]()}function Zn(e){const n=a;var t,o;return e=(e+"")[n(1258)]().toLowerCase(),(t=bu[n(616)](e))?(o=t[1][n(2194)],t=parseInt(t[1],16),o===6?fi(t):o===3?new Re(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):o===8?N0(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):o===4?N0(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=zu[n(616)](e))?new Re(t[1],t[2],t[3],1):(t=Cu[n(616)](e))?new Re(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Mu[n(616)](e))?N0(t[1],t[2],t[3],t[4]):(t=Bu.exec(e))?N0(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Du[n(616)](e))?yi(t[1],t[2]/100,t[3]/100,1):(t=Lu[n(616)](e))?yi(t[1],t[2]/100,t[3]/100,t[4]):li[n(436)](e)?fi(li[e]):e===n(583)?new Re(NaN,NaN,NaN,0):null}function fi(e){return new Re(e>>16&255,e>>8&255,e&255,1)}function N0(e,n,t,o){return o<=0&&(e=n=t=NaN),new Re(e,n,t,o)}function ku(e){const n=a;return e instanceof Ot||(e=Zn(e)),e?(e=e[n(2024)](),new Re(e.r,e.g,e.b,e[n(981)])):new Re}function qx(e,n,t,o){return arguments[a(2194)]===1?ku(e):new Re(e,n,t,o??1)}function Re(e,n,t,o){const x=a;this.r=+e,this.g=+n,this.b=+t,this[x(981)]=+o}Vx(Re,qx,si(Ot,{brighter(e){const n=a;return e=e==null?L0:Math[n(1433)](L0,e),new Re(this.r*e,this.g*e,this.b*e,this[n(981)])},darker(e){const n=a;return e=e==null?Ht:Math.pow(Ht,e),new Re(this.r*e,this.g*e,this.b*e,this[n(981)])},rgb(){return this},clamp(){const e=a;return new Re(Rn(this.r),Rn(this.g),Rn(this.b),S0(this[e(981)]))},displayable(){const e=a;return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this[e(981)]&&this[e(981)]<=1},hex:hi,formatHex:hi,formatHex8:Iu,formatRgb:gi,toString:gi}));function hi(){return"#"+Jn(this.r)+Jn(this.g)+Jn(this.b)}function Iu(){const e=a;return"#"+Jn(this.r)+Jn(this.g)+Jn(this.b)+Jn((isNaN(this[e(981)])?1:this[e(981)])*255)}function gi(){const e=a,n=S0(this.opacity);return""+e(n===1?1795:1506)+Rn(this.r)+", "+Rn(this.g)+", "+Rn(this.b)+(n===1?")":", "+n+")")}function S0(e){const n=a;return isNaN(e)?1:Math[n(1439)](0,Math[n(831)](1,e))}function Rn(e){const n=a;return Math[n(1439)](0,Math[n(831)](255,Math[n(723)](e)||0))}function Jn(e){return e=Rn(e),(e<16?"0":"")+e.toString(16)}function yi(e,n,t,o){return o<=0?e=n=t=NaN:t<=0||t>=1?e=n=NaN:n<=0&&(e=NaN),new un(e,n,t,o)}function mi(e){const n=a;if(e instanceof un)return new un(e.h,e.s,e.l,e[n(981)]);if(e instanceof Ot||(e=Zn(e)),!e)return new un;if(e instanceof un)return e;e=e[n(2024)]();var t=e.r/255,o=e.g/255,x=e.b/255,r=Math[n(831)](t,o,x),i=Math[n(1439)](t,o,x),c=NaN,d=i-r,s=(i+r)/2;return d?(t===i?c=(o-x)/d+(o<x)*6:o===i?c=(x-t)/d+2:c=(t-o)/d+4,d/=s<.5?i+r:2-i-r,c*=60):d=s>0&&s<1?0:c,new un(c,d,s,e[n(981)])}function Pu(e,n,t,o){return arguments[a(2194)]===1?mi(e):new un(e,n,t,o??1)}function un(e,n,t,o){const x=a;this.h=+e,this.s=+n,this.l=+t,this[x(981)]=+o}Vx(un,Pu,si(Ot,{brighter(e){const n=a;return e=e==null?L0:Math[n(1433)](L0,e),new un(this.h,this.s,this.l*e,this[n(981)])},darker(e){const n=a;return e=e==null?Ht:Math[n(1433)](Ht,e),new un(this.h,this.s,this.l*e,this.opacity)},rgb(){const e=a;var n=this.h%360+(this.h<0)*360,t=isNaN(n)||isNaN(this.s)?0:this.s,o=this.l,x=o+(o<.5?o:1-o)*t,r=2*o-x;return new Re(Wx(n>=240?n-240:n+120,r,x),Wx(n,r,x),Wx(n<120?n+240:n-120,r,x),this[e(981)])},clamp(){const e=a;return new un(wi(this.h),k0(this.s),k0(this.l),S0(this[e(981)]))},displayable(){const e=a;return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this[e(981)]&&this[e(981)]<=1},formatHsl(){const e=a,n=S0(this[e(981)]);return""+e(n===1?625:2043)+wi(this.h)+", "+k0(this.s)*100+e(1925)+k0(this.l)*100+"%"+(n===1?")":", "+n+")")}}));function wi(e){return e=(e||0)%360,e<0?e+360:e}function k0(e){return Math.max(0,Math.min(1,e||0))}function Wx(e,n,t){return(e<60?n+(t-n)*e/60:e<180?t:e<240?n+(t-n)*(240-e)/60:n)*255}const Xx=e=>()=>e;function Au(e,n){return function(t){return e+t*n}}function ju(e,n,t){const o=a;return e=Math.pow(e,t),n=Math[o(1433)](n,t)-e,t=1/t,function(x){return Math[o(1433)](e+x*n,t)}}function Eu(e){return(e=+e)==1?vi:function(n,t){return t-n?ju(n,t,e):Xx(isNaN(n)?t:n)}}function vi(e,n){var t=n-e;return t?Au(e,t):Xx(isNaN(e)?n:e)}const I0=(function e(n){const t=a;var o=Eu(n);function x(r,i){const c=_0x4806;var d=o((r=qx(r)).r,(i=qx(i)).r),s=o(r.g,i.g),u=o(r.b,i.b),f=vi(r[c(981)],i.opacity);return function(y){return r.r=d(y),r.g=s(y),r.b=u(y),r.opacity=f(y),r+""}}return x[t(1635)]=e,x})(1);function Yu(e,n){const t=a;n||(n=[]);var o=e?Math[t(831)](n[t(2194)],e[t(2194)]):0,x=n[t(1172)](),r;return function(i){for(r=0;r<o;++r)x[r]=e[r]*(1-i)+n[r]*i;return x}}function Uu(e){return ArrayBuffer[a(1455)](e)&&!(e instanceof DataView)}function Gu(e,n){const t=a;var o=n?n.length:0,x=e?Math.min(o,e[t(2194)]):0,r=new Array(x),i=new Array(o),c;for(c=0;c<x;++c)r[c]=Vt(e[c],n[c]);for(;c<o;++c)i[c]=n[c];return function(d){for(c=0;c<x;++c)i[c]=r[c](d);return i}}function Ou(e,n){var t=new Date;return e=+e,n=+n,function(o){return t[_0x4806(1414)](e*(1-o)+n*o),t}}function zn(e,n){return e=+e,n=+n,function(t){return e*(1-t)+n*t}}function Hu(e,n){const t=a;var o={},x={},r;(e===null||typeof e!==t(2171))&&(e={}),(n===null||typeof n!==t(2171))&&(n={});for(r in n)r in e?o[r]=Vt(e[r],n[r]):x[r]=n[r];return function(i){for(r in o)x[r]=o[r](i);return x}}var Kx=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Zx=new RegExp(Kx[a(964)],"g");function Tu(e){return function(){return e}}function Vu(e){return function(n){return e(n)+""}}function pi(e,n){const t=a;var o=Kx[t(1540)]=Zx[t(1540)]=0,x,r,i,c=-1,d=[],s=[];for(e=e+"",n=n+"";(x=Kx[t(616)](e))&&(r=Zx.exec(n));)(i=r[t(2045)])>o&&(i=n[t(1172)](o,i),d[c]?d[c]+=i:d[++c]=i),(x=x[0])===(r=r[0])?d[c]?d[c]+=r:d[++c]=r:(d[++c]=null,s[t(1465)]({i:c,x:zn(x,r)})),o=Zx[t(1540)];return o<n[t(2194)]&&(i=n.slice(o),d[c]?d[c]+=i:d[++c]=i),d[t(2194)]<2?s[0]?Vu(s[0].x):Tu(n):(n=s[t(2194)],function(u){const f=t;for(var y=0,g;y<n;++y)d[(g=s[y]).i]=g.x(u);return d[f(886)]("")})}function Vt(e,n){const t=a;var o=typeof n,x;return n==null||o===t(1274)?Xx(n):(o===t(411)?zn:o===t(774)?(x=Zn(n))?(n=x,I0):pi:n instanceof Zn?I0:n instanceof Date?Ou:Uu(n)?Yu:Array[t(927)](n)?Gu:typeof n[t(487)]!==t(1154)&&typeof n[t(1053)]!==t(1154)||isNaN(n)?Hu:zn)(e,n)}var bi=180/Math.PI,Rx={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function zi(e,n,t,o,x,r){const i=a;var c,d,s;return(c=Math.sqrt(e*e+n*n))&&(e/=c,n/=c),(s=e*t+n*o)&&(t-=e*s,o-=n*s),(d=Math.sqrt(t*t+o*o))&&(t/=d,o/=d,s/=d),e*o<n*t&&(e=-e,n=-n,s=-s,c=-c),{translateX:x,translateY:r,rotate:Math[i(1689)](n,e)*bi,skewX:Math[i(1577)](s)*bi,scaleX:c,scaleY:d}}var P0;function qu(e){const n=a,t=new(typeof DOMMatrix===n(1154)?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?Rx:zi(t.a,t.b,t.c,t.d,t.e,t.f)}function Wu(e){const n=a;return e==null||(P0||(P0=document.createElementNS("http://www.w3.org/2000/svg","g")),P0.setAttribute(n(1130),e),!(e=P0[n(1130)][n(1462)][n(1568)]()))?Rx:(e=e[n(979)],zi(e.a,e.b,e.c,e.d,e.e,e.f))}function Ci(e,n,t,o){function x(s){const u=_0x4806;return s[u(2194)]?s[u(1384)]()+" ":""}function r(s,u,f,y,g,p){const h=_0x4806;if(s!==f||u!==y){var b=g[h(1465)]("translate(",null,n,null,t);p[h(1465)]({i:b-4,x:zn(s,f)},{i:b-2,x:zn(u,y)})}else(f||y)&&g[h(1465)](h(389)+f+n+y+t)}function i(s,u,f,y){const g=_0x4806;s!==u?(s-u>180?u+=360:u-s>180&&(s+=360),y[g(1465)]({i:f[g(1465)](x(f)+g(970),null,o)-2,x:zn(s,u)})):u&&f.push(x(f)+"rotate("+u+o)}function c(s,u,f,y){const g=_0x4806;s!==u?y[g(1465)]({i:f[g(1465)](x(f)+g(1228),null,o)-2,x:zn(s,u)}):u&&f[g(1465)](x(f)+g(1228)+u+o)}function d(s,u,f,y,g,p){const h=_0x4806;if(s!==f||u!==y){var b=g[h(1465)](x(g)+h(1959),null,",",null,")");p[h(1465)]({i:b-4,x:zn(s,f)},{i:b-2,x:zn(u,y)})}else(f!==1||y!==1)&&g[h(1465)](x(g)+h(1959)+f+","+y+")")}return function(s,u){const f=_0x4806;var y=[],g=[];return s=e(s),u=e(u),r(s[f(1763)],s.translateY,u.translateX,u[f(830)],y,g),i(s.rotate,u.rotate,y,g),c(s.skewX,u[f(780)],y,g),d(s[f(698)],s[f(1217)],u.scaleX,u[f(1217)],y,g),s=u=null,function(p){const h=f;for(var b=-1,M=g[h(2194)],v;++b<M;)y[(v=g[b]).i]=v.x(p);return y[h(886)]("")}}}var Xu=Ci(qu,a(1375),"px)",a(1405)),Ku=Ci(Wu,", ",")",")"),Zu=1e-12;function Mi(e){return((e=Math.exp(e))+1/e)/2}function Ru(e){return((e=Math[a(1327)](e))-1/e)/2}function Ju(e){return((e=Math[a(1327)](2*e))-1)/(e+1)}const A0=(function e(n,t,o){const x=a;function r(i,c){const d=_0x4806;var s=i[0],u=i[1],f=i[2],y=c[0],g=c[1],p=c[2],h=y-s,b=g-u,M=h*h+b*b,v,m;if(M<Zu)m=Math[d(365)](p/f)/n,v=function(j){const A=d;return[s+j*h,u+j*b,f*Math[A(1327)](n*j*m)]};else{var w=Math[d(807)](M),C=(p*p-f*f+o*M)/(2*f*t*w),k=(p*p-f*f-o*M)/(2*p*t*w),O=Math.log(Math[d(807)](C*C+1)-C),G=Math[d(365)](Math[d(807)](k*k+1)-k);m=(G-O)/n,v=function(j){var A=j*m,Z=Mi(O),W=f/(t*w)*(Z*Ju(n*A+O)-Ru(O));return[s+W*h,u+W*b,f*Z/Mi(n*A+O)]}}return v[d(2056)]=m*1e3*n/Math.SQRT2,v}return r[x(1523)]=function(i){var d=Math[x(1439)](.001,+i),s=d*d,u=s*s;return e(d,s,u)},r})(Math[a(1078)],2,4);var gt=0,qt=0,Wt=0,Bi=1e3,j0,Xt,E0=0,_n=0,Y0=0,Kt=typeof performance===a(2171)&&performance.now?performance:Date,Di=typeof window=="object"&&window[a(1135)]?window[a(1135)][a(999)](window):function(e){setTimeout(e,17)};function Jx(){const e=a;return _n||(Di(_u),_n=Kt[e(1960)]()+Y0)}function _u(){_n=0}function U0(){this._call=this._time=this._next=null}U0[a(1201)]=Li[a(1201)]={constructor:U0,restart:function(e,n,t){const o=a;if(typeof e!==o(1154))throw new TypeError("callback is not a function");t=(t==null?Jx():+t)+(n==null?0:+n),!this[o(936)]&&Xt!==this&&(Xt?Xt[o(936)]=this:j0=this,Xt=this),this._call=e,this._time=t,_x()},stop:function(){const e=a;this[e(1911)]&&(this[e(1911)]=null,this[e(2049)]=1/0,_x())}};function Li(e,n,t){var o=new U0;return o.restart(e,n,t),o}function Fu(){const e=a;Jx(),++gt;for(var n=j0,t;n;)(t=_n-n[e(2049)])>=0&&n[e(1911)][e(897)](void 0,t),n=n[e(936)];--gt}function Ni(){_n=(E0=Kt[a(1960)]())+Y0,gt=qt=0;try{Fu()}finally{gt=0,$u(),_n=0}}function Qu(){var n=Kt[a(1960)](),t=n-E0;t>Bi&&(Y0-=t,E0=n)}function $u(){const e=a;for(var n,t=j0,o,x=1/0;t;)t._call?(x>t[e(2049)]&&(x=t._time),n=t,t=t[e(936)]):(o=t._next,t[e(936)]=null,t=n?n[e(936)]=o:j0=o);Xt=n,_x(x)}function _x(e){const n=a;if(!gt){qt&&(qt=clearTimeout(qt));var t=e-_n;t>24?(e<1/0&&(qt=setTimeout(Ni,e-Kt[n(1960)]()-Y0)),Wt&&(Wt=clearInterval(Wt))):(Wt||(E0=Kt[n(1960)](),Wt=setInterval(Qu,Bi)),gt=1,Di(Ni))}}function Si(e,n,t){const o=a;var x=new U0;return n=n==null?0:+n,x[o(1515)](r=>{x.stop(),e(r+n)},n,t),x}var ef=z0(a(1989),"end",a(737),a(1999)),nf=[],ki=0,Ii=1,Fx=2,G0=3,Pi=4,Qx=5,O0=6;function H0(e,n,t,o,x,r){const i=a;var c=e[i(1457)];if(!c)e[i(1457)]={};else if(t in c)return;tf(e,t,{name:n,index:o,group:x,on:ef,tween:nf,time:r[i(1303)],delay:r[i(1725)],duration:r[i(2056)],ease:r[i(2044)],timer:null,state:ki})}function $x(e,n){const t=a;var o=fn(e,n);if(o[t(672)]>ki)throw new Error("too late; already scheduled");return o}function Cn(e,n){const t=a;var o=fn(e,n);if(o[t(672)]>G0)throw new Error("too late; already running");return o}function fn(e,n){const t=a;var o=e[t(1457)];if(!o||!(o=o[n]))throw new Error(t(1709));return o}function tf(e,n,t){const o=a;var x=e[o(1457)],r;x[n]=t,t.timer=Li(i,0,t.time);function i(u){const f=o;t[f(672)]=Ii,t[f(1744)][f(1515)](c,t[f(1725)],t[f(1303)]),t[f(1725)]<=u&&c(u-t.delay)}function c(u){const f=o;var y,g,p,h;if(t[f(672)]!==Ii)return s();for(y in x)if(h=x[y],h[f(659)]===t[f(659)]){if(h[f(672)]===G0)return Si(c);h[f(672)]===Pi?(h[f(672)]=O0,h[f(1744)][f(1516)](),h.on.call(f(1999),e,e[f(1843)],h[f(2045)],h[f(1728)]),delete x[y]):+y<n&&(h[f(672)]=O0,h[f(1744)][f(1516)](),h.on[f(897)](f(737),e,e.__data__,h.index,h[f(1728)]),delete x[y])}if(Si(function(){const b=f;t.state===G0&&(t.state=Pi,t[b(1744)][b(1515)](d,t[b(1725)],t[b(1303)]),d(u))}),t[f(672)]=Fx,t.on[f(897)](f(1989),e,e.__data__,t[f(2045)],t[f(1728)]),t[f(672)]===Fx){for(t[f(672)]=G0,r=new Array(p=t.tween.length),y=0,g=-1;y<p;++y)(h=t[f(2076)][y][f(1981)][f(897)](e,e[f(1843)],t[f(2045)],t[f(1728)]))&&(r[++g]=h);r[f(2194)]=g+1}}function d(u){const f=o;for(var y=u<t[f(2056)]?t.ease[f(897)](null,u/t[f(2056)]):(t.timer[f(1515)](s),t[f(672)]=Qx,1),g=-1,p=r.length;++g<p;)r[g][f(897)](e,y);t[f(672)]===Qx&&(t.on[f(897)](f(412),e,e[f(1843)],t[f(2045)],t[f(1728)]),s())}function s(){const u=o;t[u(672)]=O0,t[u(1744)][u(1516)](),delete x[n];for(var f in x)return;delete e[u(1457)]}}function T0(e,n){const t=a;var o=e[t(1457)],x,r,i=!0,c;if(o){n=n==null?null:n+"";for(c in o){if((x=o[c])[t(659)]!==n){i=!1;continue}r=x[t(672)]>Fx&&x.state<Qx,x[t(672)]=O0,x[t(1744)].stop(),x.on[t(897)](r?t(1999):"cancel",e,e[t(1843)],x[t(2045)],x[t(1728)]),delete o[c]}i&&delete e[t(1457)]}}function xf(e){return this[a(1920)](function(){T0(this,e)})}function of(e,n){var t,o;return function(){const x=_0x4806;var r=Cn(this,e),i=r[x(2076)];if(i!==t){o=t=i;for(var c=0,d=o[x(2194)];c<d;++c)if(o[c].name===n){o=o[x(1172)](),o.splice(c,1);break}}r[x(2076)]=o}}function rf(e,n,t){const o=a;var x,r;if(typeof t!==o(1154))throw new Error;return function(){const i=o;var c=Cn(this,e),d=c[i(2076)];if(d!==x){r=(x=d)[i(1172)]();for(var s={name:n,value:t},u=0,f=r.length;u<f;++u)if(r[u][i(659)]===n){r[u]=s;break}u===f&&r[i(1465)](s)}c.tween=r}}function cf(e,n){const t=a;var o=this[t(394)];if(e+="",arguments[t(2194)]<2){for(var x=fn(this[t(1997)](),o).tween,r=0,i=x[t(2194)],c;r<i;++r)if((c=x[r])[t(659)]===e)return c[t(1981)];return null}return this[t(1920)]((n==null?of:rf)(o,e,n))}function eo(e,n,t){const o=a;var x=e[o(394)];return e[o(1920)](function(){const r=o;var i=Cn(this,x);(i[r(1981)]||(i[r(1981)]={}))[n]=t.apply(this,arguments)}),function(r){const i=o;return fn(r,x)[i(1981)][n]}}function Ai(e,n){const t=a;var o;return(typeof n===t(411)?zn:n instanceof Zn?I0:(o=Zn(n))?(n=o,I0):pi)(e,n)}function af(e){return function(){this[_0x4806(1245)](e)}}function sf(e){return function(){const n=_0x4806;this.removeAttributeNS(e.space,e[n(1891)])}}function lf(e,n,t){var o,x=t+"",r;return function(){var i=this.getAttribute(e);return i===x?null:i===o?r:r=n(o=i,t)}}function df(e,n,t){var o,x=t+"",r;return function(){const i=_0x4806;var c=this[i(1367)](e[i(931)],e.local);return c===x?null:c===o?r:r=n(o=c,t)}}function uf(e,n,t){var o,x,r;return function(){const i=_0x4806;var c,d=t(this),s;return d==null?void this[i(1245)](e):(c=this[i(527)](e),s=d+"",c===s?null:c===o&&s===x?r:(x=s,r=n(o=c,d)))}}function ff(e,n,t){var o,x,r;return function(){const i=_0x4806;var c,d=t(this),s;return d==null?void this[i(957)](e[i(931)],e[i(1891)]):(c=this[i(1367)](e[i(931)],e[i(1891)]),s=d+"",c===s?null:c===o&&s===x?r:(x=s,r=n(o=c,d)))}}function hf(e,n){const t=a;var o=M0(e),x=o===t(1130)?Ku:Ai;return this[t(1362)](e,typeof n===t(1154)?(o.local?ff:uf)(o,x,eo(this,"attr."+e,n)):n==null?(o[t(1891)]?sf:af)(o):(o[t(1891)]?df:lf)(o,x,n))}function gf(e,n){return function(t){const o=_0x4806;this[o(1110)](e,n[o(897)](this,t))}}function yf(e,n){return function(t){const o=_0x4806;this[o(509)](e.space,e[o(1891)],n.call(this,t))}}function mf(e,n){const t=a;var o,x;function r(){var c=n[_0x4806(1241)](this,arguments);return c!==x&&(o=(x=c)&&yf(e,c)),o}return r[t(1479)]=n,r}function wf(e,n){const t=a;var o,x;function r(){var c=n[_0x4806(1241)](this,arguments);return c!==x&&(o=(x=c)&&gf(e,c)),o}return r[t(1479)]=n,r}function vf(e,n){const t=a;var o=t(576)+e;if(arguments[t(2194)]<2)return(o=this.tween(o))&&o._value;if(n==null)return this[t(2076)](o,null);if(typeof n!==t(1154))throw new Error;var x=M0(e);return this[t(2076)](o,(x[t(1891)]?mf:wf)(x,n))}function pf(e,n){return function(){const t=_0x4806;$x(this,e)[t(1725)]=+n[t(1241)](this,arguments)}}function bf(e,n){return n=+n,function(){const t=_0x4806;$x(this,e)[t(1725)]=n}}function zf(e){const n=a;var t=this[n(394)];return arguments[n(2194)]?this[n(1920)]((typeof e===n(1154)?pf:bf)(t,e)):fn(this[n(1997)](),t)[n(1725)]}function Cf(e,n){return function(){const t=_0x4806;Cn(this,e)[t(2056)]=+n[t(1241)](this,arguments)}}function Mf(e,n){return n=+n,function(){const t=_0x4806;Cn(this,e)[t(2056)]=n}}function Bf(e){const n=a;var t=this[n(394)];return arguments[n(2194)]?this[n(1920)]((typeof e===n(1154)?Cf:Mf)(t,e)):fn(this[n(1997)](),t)[n(2056)]}function Df(e,n){const t=a;if(typeof n!==t(1154))throw new Error;return function(){const o=t;Cn(this,e)[o(2044)]=n}}function Lf(e){const n=a;var t=this[n(394)];return arguments[n(2194)]?this[n(1920)](Df(t,e)):fn(this[n(1997)](),t)[n(2044)]}function Nf(e,n){return function(){const t=_0x4806;var o=n[t(1241)](this,arguments);if(typeof o!==t(1154))throw new Error;Cn(this,e)[t(2044)]=o}}function Sf(e){if(typeof e!==a(1154))throw new Error;return this.each(Nf(this._id,e))}function kf(e){const n=a;typeof e!="function"&&(e=_r(e));for(var t=this[n(2068)],o=t[n(2194)],x=new Array(o),r=0;r<o;++r)for(var i=t[r],c=i[n(2194)],d=x[r]=[],s,u=0;u<c;++u)(s=i[u])&&e[n(897)](s,s.__data__,u,i)&&d[n(1465)](s);return new Ln(x,this[n(1916)],this[n(2012)],this._id)}function If(e){const n=a;if(e[n(394)]!==this[n(394)])throw new Error;for(var t=this[n(2068)],o=e._groups,x=t[n(2194)],r=o[n(2194)],i=Math.min(x,r),c=new Array(x),d=0;d<i;++d)for(var s=t[d],u=o[d],f=s[n(2194)],y=c[d]=new Array(f),g,p=0;p<f;++p)(g=s[p]||u[p])&&(y[p]=g);for(;d<x;++d)c[d]=t[d];return new Ln(c,this[n(1916)],this._name,this[n(394)])}function Pf(e){const n=a;return(e+"").trim()[n(1615)](/^|\s+/).every(function(t){const o=n;var x=t[o(419)](".");return x>=0&&(t=t[o(1172)](0,x)),!t||t===o(1989)})}function Af(e,n,t){var o,x,r=Pf(n)?$x:Cn;return function(){const i=_0x4806;var c=r(this,e),d=c.on;d!==o&&(x=(o=d)[i(1955)]()).on(n,t),c.on=x}}function jf(e,n){const t=a;var o=this[t(394)];return arguments[t(2194)]<2?fn(this.node(),o).on.on(e):this[t(1920)](Af(o,e,n))}function Ef(e){return function(){const n=_0x4806;var t=this[n(430)];for(var o in this[n(1457)])if(+o!==e)return;t&&t[n(1331)](this)}}function Yf(){const e=a;return this.on(e(1421),Ef(this[e(394)]))}function Uf(e){const n=a;var t=this[n(2012)],o=this._id;typeof e!==n(1154)&&(e=Gx(e));for(var x=this._groups,r=x[n(2194)],i=new Array(r),c=0;c<r;++c)for(var d=x[c],s=d[n(2194)],u=i[c]=new Array(s),f,y,g=0;g<s;++g)(f=d[g])&&(y=e[n(897)](f,f[n(1843)],g,d))&&("__data__"in f&&(y[n(1843)]=f.__data__),u[g]=y,H0(u[g],t,o,g,u,fn(f,o)));return new Ln(i,this[n(1916)],t,o)}function Gf(e){const n=a;var t=this._name,o=this[n(394)];typeof e!="function"&&(e=Jr(e));for(var x=this[n(2068)],r=x[n(2194)],i=[],c=[],d=0;d<r;++d)for(var s=x[d],u=s[n(2194)],f,y=0;y<u;++y)if(f=s[y]){for(var g=e[n(897)](f,f.__data__,y,s),p,h=fn(f,o),b=0,M=g[n(2194)];b<M;++b)(p=g[b])&&H0(p,t,o,b,g,h);i[n(1465)](g),c[n(1465)](f)}return new Ln(i,c,t,o)}var Of=Ut[a(1201)][a(1975)];function Hf(){const e=a;return new Of(this[e(2068)],this[e(1916)])}function Tf(e,n){var t,o,x;return function(){const r=_0x4806;var i=ut(this,e),c=(this[r(1346)][r(1058)](e),ut(this,e));return i===c?null:i===t&&c===o?x:x=n(t=i,o=c)}}function ji(e){return function(){const n=_0x4806;this[n(1346)][n(1058)](e)}}function Vf(e,n,t){var o,x=t+"",r;return function(){var i=ut(this,e);return i===x?null:i===o?r:r=n(o=i,t)}}function qf(e,n,t){var o,x,r;return function(){const i=_0x4806;var c=ut(this,e),d=t(this),s=d+"";return d==null&&(s=d=(this.style[i(1058)](e),ut(this,e))),c===s?null:c===o&&s===x?r:(x=s,r=n(o=c,d))}}function Wf(e,n){const t=a;var o,x,r,i=t(1720)+n,c=t(1533)+i,d;return function(){const s=t;var u=Cn(this,e),f=u.on,y=u.value[i]==null?d||(d=ji(n)):void 0;(f!==o||r!==y)&&(x=(o=f)[s(1955)]()).on(c,r=y),u.on=x}}function Xf(e,n,t){const o=a;var x=(e+="")=="transform"?Xu:Ai;return n==null?this[o(684)](e,Tf(e,x)).on(o(1643)+e,ji(e)):typeof n===o(1154)?this[o(684)](e,qf(e,x,eo(this,o(1720)+e,n)))[o(1920)](Wf(this[o(394)],e)):this[o(684)](e,Vf(e,x,n),t).on(o(1643)+e,null)}function Kf(e,n,t){return function(o){const x=_0x4806;this[x(1346)][x(834)](e,n[x(897)](this,o),t)}}function Zf(e,n,t){const o=a;var x,r;function i(){var d=n[_0x4806(1241)](this,arguments);return d!==r&&(x=(r=d)&&Kf(e,d,t)),x}return i[o(1479)]=n,i}function Rf(e,n,t){const o=a;var x=o(1720)+(e+="");if(arguments.length<2)return(x=this.tween(x))&&x[o(1479)];if(n==null)return this[o(2076)](x,null);if(typeof n!==o(1154))throw new Error;return this.tween(x,Zf(e,n,t??""))}function Jf(e){return function(){const n=_0x4806;this[n(1800)]=e}}function _f(e){return function(){const n=_0x4806;var t=e(this);this[n(1800)]=t??""}}function Ff(e){const n=a;return this[n(2076)](n(1755),typeof e=="function"?_f(eo(this,"text",e)):Jf(e==null?"":e+""))}function Qf(e){return function(n){const t=_0x4806;this[t(1800)]=e.call(this,n)}}function $f(e){const n=a;var t,o;function x(){var i=e[_0x4806(1241)](this,arguments);return i!==o&&(t=(o=i)&&Qf(i)),t}return x[n(1479)]=e,x}function e2(e){const n=a;var t=n(1755);if(arguments[n(2194)]<1)return(t=this.tween(t))&&t[n(1479)];if(e==null)return this[n(2076)](t,null);if(typeof e!="function")throw new Error;return this[n(2076)](t,$f(e))}function n2(){const e=a;for(var n=this[e(2012)],t=this[e(394)],o=Ei(),x=this[e(2068)],r=x[e(2194)],i=0;i<r;++i)for(var c=x[i],d=c[e(2194)],s,u=0;u<d;++u)if(s=c[u]){var f=fn(s,t);H0(s,n,o,u,c,{time:f.time+f[e(1725)]+f[e(2056)],delay:0,duration:f[e(2056)],ease:f[e(2044)]})}return new Ln(x,this[e(1916)],n,o)}function t2(){const e=a;var n,t,o=this,x=o[e(394)],r=o[e(1705)]();return new Promise(function(i,c){const d=e;var s={value:c},u={value:function(){--r===0&&i()}};o[d(1920)](function(){const f=d;var y=Cn(this,x),g=y.on;g!==n&&(t=(n=g).copy(),t._.cancel.push(s),t._.interrupt[f(1465)](s),t._.end[f(1465)](u)),y.on=t}),r===0&&i()})}var x2=0;function Ln(e,n,t,o){const x=a;this[x(2068)]=e,this[x(1916)]=n,this[x(2012)]=t,this[x(394)]=o}function Ei(){return++x2}var Nn=Ut[a(1201)];Ln[a(1201)]={constructor:Ln,select:Uf,selectAll:Gf,selectChild:Nn[a(1285)],selectChildren:Nn[a(459)],filter:kf,merge:If,selection:Hf,transition:n2,call:Nn[a(897)],nodes:Nn[a(1361)],node:Nn[a(1997)],size:Nn[a(1705)],empty:Nn[a(1944)],each:Nn[a(1920)],on:jf,attr:hf,attrTween:vf,style:Xf,styleTween:Rf,text:Ff,textTween:e2,remove:Yf,tween:cf,delay:zf,duration:Bf,ease:Lf,easeVarying:Sf,end:t2,[Symbol[a(2104)]]:Nn[Symbol[a(2104)]]};function o2(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var r2={time:null,delay:0,duration:250,ease:o2};function i2(e,n){const t=a;for(var o;!(o=e.__transition)||!(o=o[n]);)if(!(e=e.parentNode))throw new Error("transition "+n+t(1490));return o}function c2(e){const n=a;var t,o;e instanceof Ln?(t=e[n(394)],e=e[n(2012)]):(t=Ei(),(o=r2)[n(1303)]=Jx(),e=e==null?null:e+"");for(var x=this[n(2068)],r=x[n(2194)],i=0;i<r;++i)for(var c=x[i],d=c[n(2194)],s,u=0;u<d;++u)(s=c[u])&&H0(s,e,t,u,c,o||i2(s,t));return new Ln(x,this[n(1916)],e,t)}Ut[a(1201)].interrupt=xf,Ut[a(1201)][a(1244)]=c2;const V0=e=>()=>e;function a2(e,{sourceEvent:n,target:t,transform:o,dispatch:x}){Object[a(703)](this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:t,enumerable:!0,configurable:!0},transform:{value:o,enumerable:!0,configurable:!0},_:{value:x}})}function Sn(e,n,t){this.k=e,this.x=n,this.y=t}Sn[a(1201)]={constructor:Sn,scale:function(e){return e===1?this:new Sn(this.k*e,this.x,this.y)},translate:function(e,n){return e===0&n===0?this:new Sn(this.k,this.x+this.k*e,this.y+this.k*n)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){const n=a;return e[n(1955)]()[n(1614)](e.range()[n(542)](this[n(2064)],this)[n(542)](e[n(679)],e))},rescaleY:function(e){const n=a;return e[n(1955)]()[n(1614)](e[n(597)]()[n(542)](this[n(1163)],this)[n(542)](e.invert,e))},toString:function(){const e=a;return e(389)+this.x+","+this.y+e(1133)+this.k+")"}};var q0=new Sn(1,0,0);Yi[a(1201)]=Sn[a(1201)];function Yi(e){const n=a;for(;!e[n(1478)];)if(!(e=e.parentNode))return q0;return e[n(1478)]}function no(e){e.stopImmediatePropagation()}function Zt(e){const n=a;e[n(1923)](),e[n(1006)]()}function s2(e){const n=a;return(!e.ctrlKey||e[n(1424)]==="wheel")&&!e[n(772)]}function l2(){const e=a;var n=this;return n instanceof SVGElement?(n=n[e(1566)]||n,n[e(1068)](e(2102))?(n=n[e(2102)][e(1462)],[[n.x,n.y],[n.x+n[e(1238)],n.y+n[e(1265)]]]):[[0,0],[n[e(1238)][e(1462)][e(1981)],n[e(1265)][e(1462)][e(1981)]]]):[[0,0],[n.clientWidth,n[e(1855)]]]}function Ui(){return this[a(1478)]||q0}function d2(e){const n=a;return-e.deltaY*(e[n(2019)]===1?.05:e.deltaMode?1:.002)*(e[n(569)]?10:1)}function u2(){const e=a;return navigator[e(563)]||e(2157)in this}function f2(e,n,t){const o=a;var x=e[o(2064)](n[0][0])-t[0][0],r=e[o(2064)](n[1][0])-t[1][0],i=e[o(1163)](n[0][1])-t[0][1],c=e[o(1163)](n[1][1])-t[1][1];return e[o(1273)](r>x?(x+r)/2:Math[o(831)](0,x)||Math[o(1439)](0,r),c>i?(i+c)/2:Math.min(0,i)||Math[o(1439)](0,c))}function Gi(){const e=a;var n=s2,t=l2,o=f2,x=d2,r=u2,i=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],d=250,s=A0,u=z0(e(1989),e(1386),e(412)),f,y,g,p=500,h=150,b=0,M=10;function v(N){const D=e;N[D(1665)](D(1478),Ui).on("wheel.zoom",j,{passive:!1}).on(D(1404),A).on(D(977),Z).filter(r).on(D(1930),W).on(D(1677),q).on(D(1817),T)[D(1346)]("-webkit-tap-highlight-color",D(1166))}v[e(1130)]=function(N,D,L,U){const P=e;var S=N[P(1032)]?N[P(1032)]():N;S.property(P(1478),Ui),N!==S?k(N,D,L,U):S[P(1999)]()[P(1920)](function(){const K=P;O(this,arguments)[K(1248)](U).start()[K(1386)](null,typeof D===K(1154)?D.apply(this,arguments):D)[K(412)]()})},v.scaleBy=function(N,D,L,U){const P=e;v[P(494)](N,function(){const S=P;var K=this[S(1478)].k,Q=typeof D===S(1154)?D[S(1241)](this,arguments):D;return K*Q},L,U)},v[e(494)]=function(N,D,L,U){v.transform(N,function(){const P=_0x4806;var S=t.apply(this,arguments),K=this[P(1478)],Q=L==null?C(S):typeof L===P(1154)?L.apply(this,arguments):L,R=K[P(679)](Q),$=typeof D===P(1154)?D[P(1241)](this,arguments):D;return o(w(m(K,$),Q,R),S,c)},L,U)},v[e(817)]=function(N,D,L,U){const P=e;v[P(1130)](N,function(){const S=P;return o(this.__zoom.translate(typeof D===S(1154)?D[S(1241)](this,arguments):D,typeof L===S(1154)?L[S(1241)](this,arguments):L),t.apply(this,arguments),c)},null,U)},v[e(1374)]=function(N,D,L,U,P){const S=e;v[S(1130)](N,function(){const K=S;var Q=t[K(1241)](this,arguments),R=this.__zoom,$=U==null?C(Q):typeof U=="function"?U[K(1241)](this,arguments):U;return o(q0[K(1273)]($[0],$[1])[K(476)](R.k).translate(typeof D=="function"?-D[K(1241)](this,arguments):-D,typeof L===K(1154)?-L[K(1241)](this,arguments):-L),Q,c)},U,P)};function m(N,D){const L=e;return D=Math[L(1439)](i[0],Math[L(831)](i[1],D)),D===N.k?N:new Sn(D,N.x,N.y)}function w(N,D,L){var U=D[0]-L[0]*N.k,P=D[1]-L[1]*N.k;return U===N.x&&P===N.y?N:new Sn(N.k,U,P)}function C(N){return[(+N[0][0]+ +N[1][0])/2,(+N[0][1]+ +N[1][1])/2]}function k(N,D,L,U){const P=e;N.on("start.zoom",function(){const S=_0x4806;O(this,arguments)[S(1248)](U)[S(1989)]()}).on(P(1813),function(){const S=P;O(this,arguments)[S(1248)](U)[S(412)]()}).tween(P(1386),function(){const S=P;var K=this,Q=arguments,R=O(K,Q)[S(1248)](U),$=t[S(1241)](K,Q),xe=L==null?C($):typeof L=="function"?L.apply(K,Q):L,ce=Math[S(1439)]($[1][0]-$[0][0],$[1][1]-$[0][1]),de=K[S(1478)],fe=typeof D===S(1154)?D[S(1241)](K,Q):D,ie=s(de[S(679)](xe)[S(905)](ce/de.k),fe[S(679)](xe)[S(905)](ce/fe.k));return function(J){const re=S;if(J===1)J=fe;else{var _=ie(J),I=ce/_[2];J=new Sn(I,xe[0]-_[0]*I,xe[1]-_[1]*I)}R[re(1386)](null,J)}})}function O(N,D,L){return!L&&N.__zooming||new G(N,D)}function G(N,D){const L=e;this[L(1958)]=N,this.args=D,this[L(683)]=0,this[L(652)]=null,this[L(1743)]=t.apply(N,D),this.taps=0}G.prototype={event:function(N){const D=e;return N&&(this[D(652)]=N),this},start:function(){const N=e;return++this[N(683)]===1&&(this.that[N(967)]=this,this[N(1685)](N(1989))),this},zoom:function(N,D){const L=e;return this[L(1085)]&&N!=="mouse"&&(this[L(1085)][1]=D.invert(this[L(1085)][0])),this[L(685)]&&N!==L(1888)&&(this[L(685)][1]=D.invert(this[L(685)][0])),this.touch1&&N!=="touch"&&(this[L(1619)][1]=D[L(679)](this.touch1[0])),this[L(1958)].__zoom=D,this.emit(L(1386)),this},end:function(){const N=e;return--this.active===0&&(delete this[N(1958)][N(967)],this[N(1685)](N(412))),this},emit:function(N){const D=e;var L=en(this[D(1958)])[D(1987)]();u[D(897)](N,this[D(1958)],new a2(N,{sourceEvent:this[D(652)],target:v,transform:this[D(1958)][D(1478)],dispatch:u}),L)}};function j(N,...D){const L=e;if(!n.apply(this,arguments))return;var U=O(this,D)[L(1248)](N),P=this.__zoom,S=Math[L(1439)](i[0],Math.min(i[1],P.k*Math.pow(2,x[L(1241)](this,arguments)))),K=dn(N);if(U.wheel)(U[L(1085)][0][0]!==K[0]||U[L(1085)][0][1]!==K[1])&&(U[L(1085)][1]=P[L(679)](U[L(1085)][0]=K)),clearTimeout(U[L(554)]);else{if(P.k===S)return;U[L(1085)]=[K,P[L(679)](K)],T0(this),U[L(1989)]()}Zt(N),U[L(554)]=setTimeout(Q,h),U[L(1386)]("mouse",o(w(m(P,S),U.mouse[0],U[L(1085)][1]),U.extent,c));function Q(){const R=L;U[R(554)]=null,U[R(412)]()}}function A(N,...D){const L=e;if(g||!n.apply(this,arguments))return;var U=N[L(1153)],P=O(this,D,!0)[L(1248)](N),S=en(N.view).on(L(1443),$,!0).on(L(1042),xe,!0),K=dn(N,U),Q=N[L(1569)],R=N.clientY;ii(N[L(892)]),no(N),P.mouse=[K,this.__zoom.invert(K)],T0(this),P[L(1989)]();function $(ce){const de=L;if(Zt(ce),!P[de(1281)]){var fe=ce[de(1569)]-Q,ie=ce.clientY-R;P[de(1281)]=fe*fe+ie*ie>b}P[de(1248)](ce).zoom(de(1085),o(w(P.that.__zoom,P[de(1085)][0]=dn(ce,U),P[de(1085)][1]),P.extent,c))}function xe(ce){const de=L;S.on("mousemove.zoom mouseup.zoom",null),ci(ce[de(892)],P[de(1281)]),Zt(ce),P[de(1248)](ce)[de(412)]()}}function Z(N,...D){const L=e;if(n.apply(this,arguments)){var U=this.__zoom,P=dn(N.changedTouches?N[L(1065)][0]:N,this),S=U[L(679)](P),K=U.k*(N.shiftKey?.5:2),Q=o(w(m(U,K),P,S),t[L(1241)](this,D),c);Zt(N),d>0?en(this)[L(1244)]().duration(d)[L(897)](k,Q,P,N):en(this)[L(897)](v[L(1130)],Q,P,N)}}function W(N,...D){const L=e;if(n[L(1241)](this,arguments)){var U=N[L(374)],P=U[L(2194)],S=O(this,D,N[L(1065)].length===P)[L(1248)](N),K,Q,R,$;for(no(N),Q=0;Q<P;++Q)R=U[Q],$=dn(R,this),$=[$,this.__zoom.invert($),R[L(1223)]],S[L(685)]?!S[L(1619)]&&S[L(685)][2]!==$[2]&&(S[L(1619)]=$,S.taps=0):(S[L(685)]=$,K=!0,S[L(618)]=1+!!f);f&&(f=clearTimeout(f)),K&&(S.taps<2&&(y=$[0],f=setTimeout(function(){f=null},p)),T0(this),S[L(1989)]())}}function q(N,...D){const L=e;if(this[L(967)]){var U=O(this,D)[L(1248)](N),P=N[L(1065)],S=P.length,K,Q,R,$;for(Zt(N),K=0;K<S;++K)Q=P[K],R=dn(Q,this),U[L(685)]&&U.touch0[2]===Q[L(1223)]?U[L(685)][0]=R:U.touch1&&U[L(1619)][2]===Q[L(1223)]&&(U[L(1619)][0]=R);if(Q=U[L(1958)][L(1478)],U[L(1619)]){var xe=U.touch0[0],ce=U[L(685)][1],de=U[L(1619)][0],fe=U[L(1619)][1],ie=(ie=de[0]-xe[0])*ie+(ie=de[1]-xe[1])*ie,J=(J=fe[0]-ce[0])*J+(J=fe[1]-ce[1])*J;Q=m(Q,Math[L(807)](ie/J)),R=[(xe[0]+de[0])/2,(xe[1]+de[1])/2],$=[(ce[0]+fe[0])/2,(ce[1]+fe[1])/2]}else if(U[L(685)])R=U[L(685)][0],$=U[L(685)][1];else return;U.zoom(L(1888),o(w(Q,R,$),U[L(1743)],c))}}function T(N,...D){const L=e;if(this[L(967)]){var U=O(this,D)[L(1248)](N),P=N.changedTouches,S=P[L(2194)],K,Q;for(no(N),g&&clearTimeout(g),g=setTimeout(function(){g=null},p),K=0;K<S;++K)Q=P[K],U[L(685)]&&U[L(685)][2]===Q[L(1223)]?delete U[L(685)]:U[L(1619)]&&U[L(1619)][2]===Q.identifier&&delete U.touch1;if(U[L(1619)]&&!U[L(685)]&&(U[L(685)]=U.touch1,delete U[L(1619)]),U[L(685)])U.touch0[1]=this[L(1478)][L(679)](U.touch0[0]);else if(U[L(412)](),U[L(618)]===2&&(Q=dn(Q,this),Math[L(2059)](y[0]-Q[0],y[1]-Q[1])<M)){var R=en(this).on(L(977));R&&R.apply(this,arguments)}}}return v[e(1660)]=function(N){const D=e;return arguments.length?(x=typeof N===D(1154)?N:V0(+N),v):x},v.filter=function(N){const D=e;return arguments[D(2194)]?(n=typeof N===D(1154)?N:V0(!!N),v):n},v[e(1874)]=function(N){const D=e;return arguments[D(2194)]?(r=typeof N===D(1154)?N:V0(!!N),v):r},v[e(1743)]=function(N){return arguments[e(2194)]?(t=typeof N=="function"?N:V0([[+N[0][0],+N[0][1]],[+N[1][0],+N[1][1]]]),v):t},v[e(1383)]=function(N){return arguments[e(2194)]?(i[0]=+N[0],i[1]=+N[1],v):[i[0],i[1]]},v[e(1038)]=function(N){return arguments[e(2194)]?(c[0][0]=+N[0][0],c[1][0]=+N[1][0],c[0][1]=+N[0][1],c[1][1]=+N[1][1],v):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},v[e(1612)]=function(N){return arguments.length?(o=N,v):o},v.duration=function(N){return arguments[e(2194)]?(d=+N,v):d},v[e(2172)]=function(N){return arguments[e(2194)]?(s=N,v):s},v.on=function(){const N=e;var D=u.on[N(1241)](u,arguments);return D===u?v:D},v.clickDistance=function(N){return arguments.length?(b=(N=+N)*N,v):Math.sqrt(b)},v[e(1617)]=function(N){return arguments.length?(M=+N,v):M},v}const nn={error001:()=>a(2136),error002:()=>"It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",error003:e=>a(463)+e+a(1973),error004:()=>a(1434),error005:()=>a(1177),error006:()=>a(1345),error007:e=>a(966)+e+a(1603),error009:e=>a(728)+e+`" doesn't exist.`,error008:(e,{id:n,sourceHandle:t,targetHandle:o})=>a(474)+e+a(823)+(e===a(964)?t:o)+a(1693)+n+".",error010:()=>a(1480),error011:e=>'Edge type "'+e+a(1973),error012:e=>'Node with id "'+e+a(1388),error013:(e="react")=>a(1150)+e+a(1486),error014:()=>a(747),error015:()=>"It seems that you are trying to drag a node that is not initialized. Please use onNodesChange as explained in the docs."},Rt=[[Number[a(670)],Number[a(670)]],[Number[a(2146)],Number[a(2146)]]],Oi=[a(495)," ","Escape"],Hi={"node.a11yDescription.default":a(1791),"node.a11yDescription.keyboardDisabled":a(2128),"node.a11yDescription.ariaLiveMessage":({direction:e,x:n,y:t})=>a(1399)+e+a(1954)+n+", y: "+t,"edge.a11yDescription.default":a(1456),"controls.ariaLabel":"Control Panel","controls.zoomIn.ariaLabel":a(1184),"controls.zoomOut.ariaLabel":"Zoom Out","controls.fitView.ariaLabel":a(1326),"controls.interactive.ariaLabel":a(1786),"minimap.ariaLabel":"Mini Map","handle.ariaLabel":a(1222)};var yt;(function(e){const n=a;e[n(786)]="strict",e[n(958)]=n(2142)})(yt||(yt={}));var Fn;(function(e){const n=a;e[n(1100)]=n(740),e[n(997)]=n(609),e[n(895)]=n(417)})(Fn||(Fn={}));var Jt;(function(e){const n=a;e[n(1352)]=n(2148),e[n(485)]="full"})(Jt||(Jt={}));const Ti={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var En;(function(e){const n=a;e.Bezier=n(1582),e.Straight="straight",e[n(1914)]=n(2124),e[n(1852)]=n(1864),e[n(1392)]=n(2004)})(En||(En={}));var W0;(function(e){const n=a;e[n(1095)]="arrow",e[n(1e3)]=n(2094)})(W0||(W0={}));var he;(function(e){const n=a;e[n(1010)]=n(1557),e[n(1481)]="top",e[n(1158)]=n(1476),e[n(693)]="bottom"})(he||(he={}));const Vi={[he[a(1010)]]:he.Right,[he.Right]:he.Left,[he[a(1481)]]:he[a(693)],[he[a(693)]]:he[a(1481)]};function qi(e){return e===null?null:e?"valid":a(1191)}const Wi=e=>"id"in e&&"source"in e&&"target"in e,h2=e=>"id"in e&&a(1543)in e&&!("source"in e)&&!(a(603)in e),to=e=>"id"in e&&"internals"in e&&!(a(964)in e)&&!(a(603)in e),_t=(e,n=[0,0])=>{const t=a,{width:o,height:x}=kn(e),r=e[t(870)]??n,i=o*r[0],c=x*r[1];return{x:e.position.x-i,y:e[t(1543)].y-c}},g2=(e,n={nodeOrigin:[0,0]})=>{const t=a;if(process.env.NODE_ENV==="development"&&!n[t(750)]&&console[t(656)](t(2018)),e[t(2194)]===0)return{x:0,y:0,width:0,height:0};const o=e.reduce((x,r)=>{const i=t,c=typeof r===i(774);let d=!n[i(750)]&&!c?r:void 0;n[i(750)]&&(d=c?n[i(750)][i(1157)](r):to(r)?r:n.nodeLookup[i(1157)](r.id));const s=d?Z0(d,n.nodeOrigin):{x:0,y:0,x2:0,y2:0};return X0(x,s)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return K0(o)},Ft=(e,n={})=>{const t=a;let o={x:1/0,y:1/0,x2:-1/0,y2:-1/0},x=!1;return e[t(1369)](r=>{(n[t(1641)]===void 0||n.filter(r))&&(o=X0(o,Z0(r)),x=!0)}),x?K0(o):{x:0,y:0,width:0,height:0}},xo=(e,n,[t,o,x]=[0,0,1],r=!1,i=!1)=>{const c=a,d={...e0(n,[t,o,x]),width:n[c(1238)]/x,height:n[c(1265)]/x},s=[];for(const u of e[c(1534)]()){const{measured:f,selectable:y=!0,hidden:g=!1}=u;if(i&&!y||g)continue;const p=f[c(1238)]??u.width??u[c(1350)]??null,h=f[c(1265)]??u[c(1265)]??u.initialHeight??null,b=Qt(d,wt(u)),M=(p??0)*(h??0),v=r&&b>0;(!u[c(380)][c(2091)]||v||b>=M||u[c(562)])&&s[c(1465)](u)}return s},y2=(e,n)=>{const t=a,o=new Set;return e[t(1369)](x=>{o[t(1757)](x.id)}),n[t(1641)](x=>o[t(1826)](x.source)||o[t(1826)](x[t(603)]))};function m2(e,n){const t=a,o=new Map,x=n?.[t(1361)]?new Set(n[t(1361)].map(r=>r.id)):null;return e[t(1369)](r=>{const i=t;r.measured.width&&r[i(1583)][i(1265)]&&(n?.[i(1140)]||!r[i(1821)])&&(!x||x.has(r.id))&&o.set(r.id,r)}),o}async function w2({nodes:e,width:n,height:t,panZoom:o,minZoom:x,maxZoom:r},i){const c=a;if(e[c(1705)]===0)return Promise[c(2192)](!0);const d=m2(e,i),s=Ft(d),u=ro(s,n,t,i?.[c(781)]??x,i?.[c(640)]??r,i?.[c(524)]??.1);return await o[c(1659)](u,{duration:i?.[c(2056)],ease:i?.[c(2044)],interpolate:i?.[c(2172)]}),Promise[c(2192)](!0)}function Xi({nodeId:e,nextPosition:n,nodeLookup:t,nodeOrigin:o=[0,0],nodeExtent:x,onError:r}){const i=a,c=t[i(1157)](e),d=c[i(890)]?t[i(1157)](c.parentId):void 0,{x:s,y:u}=d?d[i(380)][i(2107)]:{x:0,y:0},f=c[i(870)]??o;let y=c[i(1743)]||x;if(c[i(1743)]===i(1824)&&!c[i(1714)])if(!d)r?.(i(1525),nn.error005());else{const p=d[i(1583)][i(1238)],h=d.measured.height;p&&h&&(y=[[s,u],[s+p,u+h]])}else d&&pt(c[i(1743)])&&(y=[[c[i(1743)][0][0]+s,c[i(1743)][0][1]+u],[c.extent[1][0]+s,c[i(1743)][1][1]+u]]);const g=pt(y)?Qn(n,y,c[i(1583)]):n;return(c[i(1583)].width===void 0||c[i(1583)][i(1265)]===void 0)&&r?.("015",nn[i(1718)]()),{position:{x:g.x-s+(c[i(1583)][i(1238)]??0)*f[0],y:g.y-u+(c[i(1583)][i(1265)]??0)*f[1]},positionAbsolute:g}}async function v2({nodesToRemove:e=[],edgesToRemove:n=[],nodes:t,edges:o,onBeforeDelete:x}){const r=a,i=new Set(e[r(542)](g=>g.id)),c=[];for(const g of t){if(g.deletable===!1)continue;const p=i[r(1826)](g.id),h=!p&&g.parentId&&c.find(b=>b.id===g[r(890)]);(p||h)&&c.push(g)}const d=new Set(n[r(542)](g=>g.id)),s=o[r(1641)](g=>g[r(2002)]!==!1),u=y2(c,s),f=u;for(const g of s)d.has(g.id)&&!f[r(1876)](h=>h.id===g.id)&&f.push(g);if(!x)return{edges:f,nodes:c};const y=await x({nodes:c,edges:f});return typeof y===r(1274)?y?{edges:f,nodes:c}:{edges:[],nodes:[]}:y}const mt=(e,n=0,t=1)=>Math[a(831)](Math[a(1439)](e,n),t),Qn=(e={x:0,y:0},n,t)=>({x:mt(e.x,n[0][0],n[1][0]-(t?.[a(1238)]??0)),y:mt(e.y,n[0][1],n[1][1]-(t?.[a(1265)]??0))});function Ki(e,n,t){const o=a,{width:x,height:r}=kn(t),{x:i,y:c}=t[o(380)][o(2107)];return Qn(e,[[i,c],[i+x,c+r]],n)}const Zi=(e,n,t)=>{const o=a;return e<n?mt(Math[o(1018)](e-n),1,n)/n:e>t?-mt(Math.abs(e-t),1,n)/n:0},Ri=(e,n,t=15,o=40)=>{const x=a,r=Zi(e.x,o,n[x(1238)]-o)*t,i=Zi(e.y,o,n.height-o)*t;return[r,i]},X0=(e,n)=>({x:Math[a(831)](e.x,n.x),y:Math.min(e.y,n.y),x2:Math[a(1439)](e.x2,n.x2),y2:Math[a(1439)](e.y2,n.y2)}),oo=({x:e,y:n,width:t,height:o})=>({x:e,y:n,x2:e+t,y2:n+o}),K0=({x:e,y:n,x2:t,y2:o})=>({x:e,y:n,width:t-e,height:o-n}),wt=(e,n=[0,0])=>{const t=a,{x:o,y:x}=to(e)?e[t(380)][t(2107)]:_t(e,n);return{x:o,y:x,width:e[t(1583)]?.[t(1238)]??e[t(1238)]??e.initialWidth??0,height:e[t(1583)]?.[t(1265)]??e[t(1265)]??e.initialHeight??0}},Z0=(e,n=[0,0])=>{const t=a,{x:o,y:x}=to(e)?e[t(380)][t(2107)]:_t(e,n);return{x:o,y:x,x2:o+(e.measured?.width??e[t(1238)]??e.initialWidth??0),y2:x+(e[t(1583)]?.[t(1265)]??e[t(1265)]??e.initialHeight??0)}},Ji=(e,n)=>K0(X0(oo(e),oo(n))),Qt=(e,n)=>{const t=a,o=Math[t(1439)](0,Math.min(e.x+e[t(1238)],n.x+n[t(1238)])-Math[t(1439)](e.x,n.x)),x=Math[t(1439)](0,Math.min(e.y+e[t(1265)],n.y+n[t(1265)])-Math.max(e.y,n.y));return Math[t(930)](o*x)},_i=e=>hn(e[a(1238)])&&hn(e[a(1265)])&&hn(e.x)&&hn(e.y),hn=e=>!isNaN(e)&&isFinite(e),Fi=(e,n)=>{const t=a;process.env.NODE_ENV==="development"&&console[t(656)](t(761)+n+t(1428)+e)},$t=(e,n=[1,1])=>{const t=a;return{x:n[0]*Math[t(723)](e.x/n[0]),y:n[1]*Math[t(723)](e.y/n[1])}},e0=({x:e,y:n},[t,o,x],r=!1,i=[1,1])=>{const c={x:(e-t)/x,y:(n-o)/x};return r?$t(c,i):c},R0=({x:e,y:n},[t,o,x])=>({x:e*x+t,y:n*x+o});function vt(e,n){const t=a;if(typeof e===t(411))return Math[t(621)]((n-n/(1+e))*.5);if(typeof e===t(774)&&e.endsWith("px")){const o=parseFloat(e);if(!Number[t(1727)](o))return Math[t(621)](o)}if(typeof e=="string"&&e[t(1716)]("%")){const o=parseFloat(e);if(!Number.isNaN(o))return Math[t(621)](n*o*.01)}return console[t(551)](t(796)+e+'" is invalid. Please provide a number or a string with a valid unit (px or %).'),0}function p2(e,n,t){const o=a;if(typeof e===o(774)||typeof e===o(411)){const x=vt(e,t),r=vt(e,n);return{top:x,right:r,bottom:x,left:r,x:r*2,y:x*2}}if(typeof e===o(2171)){const x=vt(e[o(1413)]??e.y??0,t),r=vt(e[o(808)]??e.y??0,t),i=vt(e.left??e.x??0,n),c=vt(e[o(1476)]??e.x??0,n);return{top:x,right:c,bottom:r,left:i,x:i+c,y:x+r}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function b2(e,n,t,o,x,r){const i=a,{x:c,y:d}=R0(e,[n,t,o]),{x:s,y:u}=R0({x:e.x+e.width,y:e.y+e[i(1265)]},[n,t,o]),f=x-s,y=r-u;return{left:Math.floor(c),top:Math[i(621)](d),right:Math.floor(f),bottom:Math[i(621)](y)}}const ro=(e,n,t,o,x,r)=>{const i=a,c=p2(r,n,t),d=(n-c.x)/e.width,s=(t-c.y)/e[i(1265)],u=Math[i(831)](d,s),f=mt(u,o,x),y=e.x+e[i(1238)]/2,g=e.y+e[i(1265)]/2,p=n/2-y*f,h=t/2-g*f,b=b2(e,p,h,f,n,t),M={left:Math[i(831)](b[i(1557)]-c.left,0),top:Math[i(831)](b[i(1413)]-c.top,0),right:Math[i(831)](b.right-c[i(1476)],0),bottom:Math[i(831)](b.bottom-c[i(808)],0)};return{x:p-M[i(1557)]+M[i(1476)],y:h-M.top+M[i(808)],zoom:f}},n0=()=>typeof navigator!==a(1202)&&navigator?.[a(894)]?.[a(419)]("Mac")>=0;function pt(e){const n=a;return e!=null&&e!==n(1824)}function kn(e){const n=a;return{width:e.measured?.[n(1238)]??e.width??e[n(1350)]??0,height:e[n(1583)]?.height??e[n(1265)]??e[n(883)]??0}}function Qi(e){const n=a;return(e[n(1583)]?.width??e[n(1238)]??e[n(1350)])!==void 0&&(e[n(1583)]?.[n(1265)]??e.height??e[n(883)])!==void 0}function $i(e,n={width:0,height:0},t,o,x){const r=a,i={...e},c=o.get(t);if(c){const d=c[r(870)]||x;i.x+=c[r(380)][r(2107)].x-(n[r(1238)]??0)*d[0],i.y+=c[r(380)][r(2107)].y-(n[r(1265)]??0)*d[1]}return i}function ec(e,n){const t=a;if(e[t(1705)]!==n[t(1705)])return!1;for(const o of e)if(!n[t(1826)](o))return!1;return!0}function z2(){let e,n;return{promise:new Promise((o,x)=>{e=o,n=x}),resolve:e,reject:n}}function C2(e){return{...Hi,...e||{}}}function t0(e,{snapGrid:n=[0,0],snapToGrid:t=!1,transform:o,containerBounds:x}){const r=a,{x:i,y:c}=gn(e),d=e0({x:i-(x?.[r(1557)]??0),y:c-(x?.[r(1413)]??0)},o),{x:s,y:u}=t?$t(d,n):d;return{xSnapped:s,ySnapped:u,...d}}const io=e=>({width:e[a(2200)],height:e[a(2020)]}),nc=e=>e?.getRootNode?.()||window?.[a(1644)],M2=["INPUT",a(1729),a(982)];function tc(e){const n=a,t=e[n(726)]?.()?.[0]||e[n(603)];return t?.nodeType!==1?!1:M2[n(911)](t[n(1527)])||t[n(1068)](n(1298))||!!t.closest(".nokey")}const xc=e=>a(1569)in e,gn=(e,n)=>{const t=a,o=xc(e),x=o?e[t(1569)]:e[t(374)]?.[0].clientX,r=o?e[t(1947)]:e[t(374)]?.[0][t(1947)];return{x:x-(n?.[t(1557)]??0),y:r-(n?.top??0)}},oc=(e,n,t,o,x)=>{const r=a,i=n[r(409)]("."+e);return!i||!i[r(2194)]?null:Array[r(1139)](i).map(c=>{const d=r,s=c[d(1761)]();return{id:c[d(527)](d(1411)),type:e,nodeId:x,position:c[d(527)](d(1726)),x:(s.left-t[d(1557)])/o,y:(s.top-t.top)/o,...io(c)}})};function rc({sourceX:e,sourceY:n,targetX:t,targetY:o,sourceControlX:x,sourceControlY:r,targetControlX:i,targetControlY:c}){const d=a,s=e*.125+x*.375+i*.375+t*.125,u=n*.125+r*.375+c*.375+o*.125,f=Math.abs(s-e),y=Math[d(1018)](u-n);return[s,u,f,y]}function J0(e,n){return e>=0?.5*e:n*25*Math.sqrt(-e)}function ic({pos:e,x1:n,y1:t,x2:o,y2:x,c:r}){const i=a;switch(e){case he.Left:return[n-J0(n-o,r),t];case he[i(1158)]:return[n+J0(o-n,r),t];case he[i(1481)]:return[n,t-J0(t-x,r)];case he[i(693)]:return[n,t+J0(x-t,r)]}}function cc({sourceX:e,sourceY:n,sourcePosition:t=he[a(693)],targetX:o,targetY:x,targetPosition:r=he[a(1481)],curvature:i=.25}){const[c,d]=ic({pos:t,x1:e,y1:n,x2:o,y2:x,c:i}),[s,u]=ic({pos:r,x1:o,y1:x,x2:e,y2:n,c:i}),[f,y,g,p]=rc({sourceX:e,sourceY:n,targetX:o,targetY:x,sourceControlX:c,sourceControlY:d,targetControlX:s,targetControlY:u});return["M"+e+","+n+" C"+c+","+d+" "+s+","+u+" "+o+","+x,f,y,g,p]}function ac({sourceX:e,sourceY:n,targetX:t,targetY:o}){const x=a,r=Math.abs(t-e)/2,i=t<e?t+r:t-r,c=Math[x(1018)](o-n)/2,d=o<n?o+c:o-c;return[i,d,r,c]}function B2({sourceNode:e,targetNode:n,selected:t=!1,zIndex:o=0,elevateOnSelect:x=!1,zIndexMode:r="basic"}){const i=a;if(r===i(1011))return o;const c=x&&t?o+1e3:o,d=Math[i(1439)](e[i(890)]||x&&e[i(2178)]?e.internals.z:0,n[i(890)]||x&&n.selected?n.internals.z:0);return c+d}function D2({sourceNode:e,targetNode:n,width:t,height:o,transform:x}){const r=X0(Z0(e),Z0(n));r.x===r.x2&&(r.x2+=1),r.y===r.y2&&(r.y2+=1);const i={x:-x[0]/x[2],y:-x[1]/x[2],width:t/x[2],height:o/x[2]};return Qt(i,K0(r))>0}const L2=({source:e,sourceHandle:n,target:t,targetHandle:o})=>"xy-edge__"+e+(n||"")+"-"+t+(o||""),N2=(e,n)=>{const t=a;return n.some(o=>o[t(964)]===e.source&&o[t(603)]===e[t(603)]&&(o[t(2008)]===e[t(2008)]||!o[t(2008)]&&!e[t(2008)])&&(o[t(2069)]===e[t(2069)]||!o[t(2069)]&&!e[t(2069)]))},sc=(e,n,t={})=>{const o=a;if(!e[o(964)]||!e[o(603)])return Fi("006",nn.error006()),n;const x=t[o(953)]||L2;let r;return Wi(e)?r={...e}:r={...e,id:x(e)},N2(r,n)?n:(r[o(2008)]===null&&delete r[o(2008)],r[o(2069)]===null&&delete r[o(2069)],n[o(905)](r))};function lc({sourceX:e,sourceY:n,targetX:t,targetY:o}){const[x,r,i,c]=ac({sourceX:e,sourceY:n,targetX:t,targetY:o});return["M "+e+","+n+"L "+t+","+o,x,r,i,c]}const dc={[he[a(1010)]]:{x:-1,y:0},[he[a(1158)]]:{x:1,y:0},[he[a(1481)]]:{x:0,y:-1},[he.Bottom]:{x:0,y:1}},S2=({source:e,sourcePosition:n=he.Bottom,target:t})=>n===he.Left||n===he.Right?e.x<t.x?{x:1,y:0}:{x:-1,y:0}:e.y<t.y?{x:0,y:1}:{x:0,y:-1},uc=(e,n)=>Math[a(807)](Math[a(1433)](n.x-e.x,2)+Math[a(1433)](n.y-e.y,2));function k2({source:e,sourcePosition:n=he.Bottom,target:t,targetPosition:o=he.Top,center:x,offset:r,stepPosition:i}){const c=a,d=dc[n],s=dc[o],u={x:e.x+d.x*r,y:e.y+d.y*r},f={x:t.x+s.x*r,y:t.y+s.y*r},y=S2({source:u,sourcePosition:n,target:f}),g=y.x!==0?"x":"y",p=y[g];let h=[],b,M;const v={x:0,y:0},m={x:0,y:0},[,,w,C]=ac({sourceX:e.x,sourceY:e.y,targetX:t.x,targetY:t.y});if(d[g]*s[g]===-1){g==="x"?(b=x.x??u.x+(f.x-u.x)*i,M=x.y??(u.y+f.y)/2):(b=x.x??(u.x+f.x)/2,M=x.y??u.y+(f.y-u.y)*i);const j=[{x:b,y:u.y},{x:b,y:f.y}],A=[{x:u.x,y:M},{x:f.x,y:M}];d[g]===p?h=g==="x"?j:A:h=g==="x"?A:j}else{const j=[{x:u.x,y:f.y}],A=[{x:f.x,y:u.y}];if(g==="x"?h=d.x===p?A:j:h=d.y===p?j:A,n===o){const N=Math[c(1018)](e[g]-t[g]);if(N<=r){const D=Math[c(831)](r-1,r-N);d[g]===p?v[g]=(u[g]>e[g]?-1:1)*D:m[g]=(f[g]>t[g]?-1:1)*D}}if(n!==o){const N=g==="x"?"y":"x",D=d[g]===s[N],L=u[N]>f[N],U=u[N]<f[N];(d[g]===1&&(!D&&L||D&&U)||d[g]!==1&&(!D&&U||D&&L))&&(h=g==="x"?j:A)}const Z={x:u.x+v.x,y:u.y+v.y},W={x:f.x+m.x,y:f.y+m.y},q=Math[c(1439)](Math[c(1018)](Z.x-h[0].x),Math.abs(W.x-h[0].x)),T=Math[c(1439)](Math[c(1018)](Z.y-h[0].y),Math[c(1018)](W.y-h[0].y));q>=T?(b=(Z.x+W.x)/2,M=h[0].y):(b=h[0].x,M=(Z.y+W.y)/2)}const k={x:u.x+v.x,y:u.y+v.y},O={x:f.x+m.x,y:f.y+m.y};return[[e,...k.x!==h[0].x||k.y!==h[0].y?[k]:[],...h,...O.x!==h[h[c(2194)]-1].x||O.y!==h[h.length-1].y?[O]:[],t],b,M,w,C]}function I2(e,n,t,o){const x=a,r=Math[x(831)](uc(e,n)/2,uc(n,t)/2,o),{x:i,y:c}=n;if(e.x===i&&i===t.x||e.y===c&&c===t.y)return"L"+i+" "+c;if(e.y===c){const u=e.x<t.x?-1:1,f=e.y<t.y?1:-1;return"L "+(i+r*u)+","+c+"Q "+i+","+c+" "+i+","+(c+r*f)}const d=e.x<t.x?1:-1,s=e.y<t.y?-1:1;return"L "+i+","+(c+r*s)+"Q "+i+","+c+" "+(i+r*d)+","+c}function co({sourceX:e,sourceY:n,sourcePosition:t=he.Bottom,targetX:o,targetY:x,targetPosition:r=he[a(1481)],borderRadius:i=5,centerX:c,centerY:d,offset:s=20,stepPosition:u=.5}){const f=a,[y,g,p,h,b]=k2({source:{x:e,y:n},sourcePosition:t,target:{x:o,y:x},targetPosition:r,center:{x:c,y:d},offset:s,stepPosition:u});let M="M"+y[0].x+" "+y[0].y;for(let v=1;v<y.length-1;v++)M+=I2(y[v-1],y[v],y[v+1],i);return M+="L"+y[y[f(2194)]-1].x+" "+y[y[f(2194)]-1].y,[M,g,p,h,b]}function fc(e){const n=a;return e&&!!(e[n(380)][n(2091)]||e.handles?.[n(2194)])&&!!(e[n(1583)].width||e.width||e.initialWidth)}function P2(e){const n=a,{sourceNode:t,targetNode:o}=e;if(!fc(t)||!fc(o))return null;const x=t[n(380)][n(2091)]||hc(t[n(852)]),r=o[n(380)].handleBounds||hc(o.handles),i=gc(x?.[n(964)]??[],e[n(2008)]),c=gc(e.connectionMode===yt.Strict?r?.[n(603)]??[]:(r?.target??[])[n(905)](r?.[n(964)]??[]),e.targetHandle);if(!i||!c)return e[n(2133)]?.(n(810),nn.error008(i?"target":n(964),{id:e.id,sourceHandle:e[n(2008)],targetHandle:e[n(2069)]})),null;const d=i?.[n(1543)]||he[n(693)],s=c?.[n(1543)]||he[n(1481)],u=$n(t,i,d),f=$n(o,c,s);return{sourceX:u.x,sourceY:u.y,targetX:f.x,targetY:f.y,sourcePosition:d,targetPosition:s}}function hc(e){const n=a;if(!e)return null;const t=[],o=[];for(const x of e)x[n(1238)]=x[n(1238)]??1,x[n(1265)]=x.height??1,x[n(1424)]===n(964)?t[n(1465)](x):x.type===n(603)&&o[n(1465)](x);return{source:t,target:o}}function $n(e,n,t=he[a(1010)],o=!1){const x=a,r=(n?.x??0)+e[x(380)][x(2107)].x,i=(n?.y??0)+e[x(380)][x(2107)].y,{width:c,height:d}=n??kn(e);if(o)return{x:r+c/2,y:i+d/2};switch(n?.[x(1543)]??t){case he[x(1481)]:return{x:r+c/2,y:i};case he[x(1158)]:return{x:r+c,y:i+d/2};case he[x(693)]:return{x:r+c/2,y:i+d};case he[x(1010)]:return{x:r,y:i+d/2}}}function gc(e,n){const t=a;return e&&(n?e[t(1876)](o=>o.id===n):e[0])||null}function ao(e,n){const t=a;return e?typeof e===t(774)?e:""+(n?n+"__":"")+Object.keys(e)[t(1576)]().map(x=>x+"="+e[x]).join("&"):""}function A2(e,{id:n,defaultColor:t,defaultMarkerStart:o,defaultMarkerEnd:x}){const r=a,i=new Set;return e[r(1606)]((c,d)=>{const s=r;return[d[s(1440)]||o,d[s(573)]||x][s(1369)](u=>{const f=s;if(u&&typeof u===f(2171)){const y=ao(u,n);!i[f(1826)](y)&&(c[f(1465)]({id:y,color:u.color||t,...u}),i[f(1757)](y))}}),c},[])[r(1576)]((c,d)=>c.id[r(1883)](d.id))}const yc=1e3,j2=10,so={nodeOrigin:[0,0],nodeExtent:Rt,elevateNodesOnSelect:!0,zIndexMode:a(1750),defaults:{}},E2={...so,checkEquality:!0};function lo(e,n){const t={...e};for(const o in n)n[o]!==void 0&&(t[o]=n[o]);return t}function Y2(e,n,t){const o=a,x=lo(so,t);for(const r of e[o(1534)]())if(r[o(890)])ho(r,e,n,x);else{const i=_t(r,x[o(1283)]),c=pt(r.extent)?r.extent:x[o(762)],d=Qn(i,c,kn(r));r[o(380)].positionAbsolute=d}}function U2(e,n){const t=a;if(!e.handles)return e.measured?n?.[t(380)][t(2091)]:void 0;const o=[],x=[];for(const r of e[t(852)]){const i={id:r.id,width:r.width??1,height:r.height??1,nodeId:e.id,x:r.x,y:r.y,position:r.position,type:r[t(1424)]};r[t(1424)]===t(964)?o.push(i):r.type===t(603)&&x.push(i)}return{source:o,target:x}}function uo(e){return e===a(1011)}function fo(e,n,t,o={}){const x=a,r=lo(E2,o),i={i:0},c=new Map(n),d=r?.[x(1051)]&&!uo(r.zIndexMode)?yc:0;let s=e[x(2194)]>0,u=!1;n[x(2016)](),t[x(2016)]();for(const f of e){let y=c[x(1157)](f.id);if(r.checkEquality&&f===y?.[x(380)].userNode)n.set(f.id,y);else{const g=_t(f,r[x(1283)]),p=pt(f.extent)?f[x(1743)]:r[x(762)],h=Qn(g,p,kn(f));y={...r[x(585)],...f,measured:{width:f[x(1583)]?.[x(1238)],height:f[x(1583)]?.[x(1265)]},internals:{positionAbsolute:h,handleBounds:U2(f,y),z:mc(f,d,r[x(2098)]),userNode:f}},n[x(799)](f.id,y)}(y[x(1583)]===void 0||y.measured[x(1238)]===void 0||y[x(1583)][x(1265)]===void 0)&&!y[x(1821)]&&(s=!1),f.parentId&&ho(y,n,t,o,i),u||=f[x(2178)]??!1}return{nodesInitialized:s,hasSelectedNodes:u}}function G2(e,n){const t=a;if(!e[t(890)])return;const o=n[t(1157)](e[t(890)]);o?o[t(799)](e.id,e):n[t(799)](e[t(890)],new Map([[e.id,e]]))}function ho(e,n,t,o,x){const r=a,{elevateNodesOnSelect:i,nodeOrigin:c,nodeExtent:d,zIndexMode:s}=lo(so,o),u=e.parentId,f=n[r(1157)](u);if(!f){console.warn(r(1351)+u+r(1835));return}G2(e,t),x&&!f[r(890)]&&f.internals[r(1751)]===void 0&&s==="auto"&&(f[r(380)][r(1751)]=++x.i,f.internals.z=f[r(380)].z+x.i*j2),x&&f.internals[r(1751)]!==void 0&&(x.i=f[r(380)].rootParentIndex);const y=i&&!uo(s)?yc:0,{x:g,y:p,z:h}=O2(e,f,c,d,y,s),{positionAbsolute:b}=e[r(380)],M=g!==b.x||p!==b.y;(M||h!==e.internals.z)&&n[r(799)](e.id,{...e,internals:{...e[r(380)],positionAbsolute:M?{x:g,y:p}:b,z:h}})}function mc(e,n,t){const o=a,x=hn(e[o(540)])?e[o(540)]:0;return uo(t)?x:x+(e[o(2178)]?n:0)}function O2(e,n,t,o,x,r){const i=a,{x:c,y:d}=n[i(380)][i(2107)],s=kn(e),u=_t(e,t),f=pt(e.extent)?Qn(u,e[i(1743)],s):u;let y=Qn({x:c+f.x,y:d+f.y},o,s);e[i(1743)]===i(1824)&&(y=Ki(y,s,n));const g=mc(e,x,r),p=n[i(380)].z??0;return{x:y.x,y:y.y,z:p>=g?p+1:g}}function go(e,n,t,o=[0,0]){const x=a,r=[],i=new Map;for(const c of e){const d=n.get(c.parentId);if(!d)continue;const s=i[x(1157)](c.parentId)?.[x(729)]??wt(d),u=Ji(s,c[x(885)]);i[x(799)](c[x(890)],{expandedRect:u,parent:d})}return i.size>0&&i[x(1369)](({expandedRect:c,parent:d},s)=>{const u=x,f=d[u(380)][u(2107)],y=kn(d),g=d[u(870)]??o,p=c.x<f.x?Math.round(Math[u(1018)](f.x-c.x)):0,h=c.y<f.y?Math[u(723)](Math.abs(f.y-c.y)):0,b=Math[u(1439)](y[u(1238)],Math.round(c[u(1238)])),M=Math[u(1439)](y[u(1265)],Math.round(c[u(1265)])),v=(b-y[u(1238)])*g[0],m=(M-y[u(1265)])*g[1];(p>0||h>0||v||m)&&(r[u(1465)]({id:s,type:u(1543),position:{x:d.position.x-p+v,y:d[u(1543)].y-h+m}}),t[u(1157)](s)?.forEach(w=>{const C=u;!e[C(1748)](k=>k.id===w.id)&&r[C(1465)]({id:w.id,type:"position",position:{x:w[C(1543)].x+p,y:w[C(1543)].y+h}})})),(y.width<c[u(1238)]||y[u(1265)]<c.height||p||h)&&r.push({id:s,type:u(630),setAttributes:!0,dimensions:{width:b+(p?g[0]*p-v:0),height:M+(h?g[1]*h-m:0)}})}),r}function H2(e,n,t,o,x,r,i){const c=a,d=o?.[c(1542)](c(1030));let s=!1;if(!d)return{changes:[],updatedInternals:s};const u=[],f=window[c(574)](d),{m22:y}=new window[c(1151)](f[c(1130)]),g=[];for(const p of e[c(1534)]()){const h=n[c(1157)](p.id);if(!h)continue;if(h[c(1821)]){n[c(799)](h.id,{...h,internals:{...h[c(380)],handleBounds:void 0}}),s=!0;continue}const b=io(p.nodeElement),M=h.measured.width!==b[c(1238)]||h[c(1583)][c(1265)]!==b[c(1265)];if(!!(b[c(1238)]&&b.height&&(M||!h[c(380)][c(2091)]||p[c(960)]))){const m=p.nodeElement[c(1761)](),w=pt(h[c(1743)])?h[c(1743)]:r;let{positionAbsolute:C}=h.internals;h.parentId&&h[c(1743)]===c(1824)?C=Ki(C,b,n[c(1157)](h[c(890)])):w&&(C=Qn(C,w,b));const k={...h,measured:b,internals:{...h.internals,positionAbsolute:C,handleBounds:{source:oc(c(964),p[c(395)],m,y,h.id),target:oc("target",p[c(395)],m,y,h.id)}}};n.set(h.id,k),h.parentId&&ho(k,n,t,{nodeOrigin:x,zIndexMode:i}),s=!0,M&&(u[c(1465)]({id:h.id,type:"dimensions",dimensions:b}),h.expandParent&&h[c(890)]&&g[c(1465)]({id:h.id,parentId:h.parentId,rect:wt(k,x)}))}}if(g[c(2194)]>0){const p=go(g,n,t,x);u[c(1465)](...p)}return{changes:u,updatedInternals:s}}async function T2({delta:e,panZoom:n,transform:t,translateExtent:o,width:x,height:r}){const i=a;if(!n||!e.x&&!e.y)return Promise.resolve(!1);const c=await n[i(1117)]({x:t[0]+e.x,y:t[1]+e.y,zoom:t[2]},[[0,0],[x,r]],o),d=!!c&&(c.x!==t[0]||c.y!==t[1]||c.k!==t[2]);return Promise[i(2192)](d)}function wc(e,n,t,o,x,r){const i=a;let c=x;const d=o[i(1157)](c)||new Map;o.set(c,d.set(t,n)),c=x+"-"+e;const s=o[i(1157)](c)||new Map;if(o[i(799)](c,s[i(799)](t,n)),r){c=x+"-"+e+"-"+r;const u=o[i(1157)](c)||new Map;o.set(c,u[i(799)](t,n))}}function vc(e,n,t){const o=a;e.clear(),n[o(2016)]();for(const x of t){const{source:r,target:i,sourceHandle:c=null,targetHandle:d=null}=x,s={edgeId:x.id,source:r,target:i,sourceHandle:c,targetHandle:d},u=r+"-"+c+"--"+i+"-"+d,f=i+"-"+d+"--"+r+"-"+c;wc(o(964),s,f,e,r,c),wc("target",s,u,e,i,d),n[o(799)](x.id,x)}}function pc(e,n){const t=a;if(!e[t(890)])return!1;const o=n[t(1157)](e[t(890)]);return o?o.selected?!0:pc(o,n):!1}function bc(e,n,t){const o=a;let x=e;do{if(x?.[o(1719)]?.(n))return!0;if(x===t)return!1;x=x?.[o(983)]}while(x);return!1}function V2(e,n,t,o){const x=a,r=new Map;for(const[i,c]of e)if((c.selected||c.id===o)&&(!c[x(890)]||!pc(c,e))&&(c[x(2131)]||n&&typeof c[x(2131)]===x(1202))){const d=e[x(1157)](i);d&&r[x(799)](i,{id:i,position:d.position||{x:0,y:0},distance:{x:t.x-d.internals[x(2107)].x,y:t.y-d[x(380)][x(2107)].y},extent:d[x(1743)],parentId:d[x(890)],origin:d[x(870)],expandParent:d[x(1714)],internals:{positionAbsolute:d.internals[x(2107)]||{x:0,y:0}},measured:{width:d[x(1583)].width??0,height:d[x(1583)][x(1265)]??0}})}return r}function yo({nodeId:e,dragItems:n,nodeLookup:t,dragging:o=!0}){const x=a,r=[];for(const[c,d]of n){const s=t.get(c)?.[x(380)].userNode;s&&r[x(1465)]({...s,position:d.position,dragging:o})}if(!e)return[r[0],r];const i=t[x(1157)](e)?.[x(380)][x(1220)];return[i?{...i,position:n[x(1157)](e)?.[x(1543)]||i.position,dragging:o}:r[0],r]}function q2({dragItems:e,snapGrid:n,x:t,y:o}){const x=a,r=e[x(1534)]().next().value;if(!r)return null;const i={x:t-r[x(1204)].x,y:o-r.distance.y},c=$t(i,n);return{x:c.x-i.x,y:c.y-i.y}}function W2({onNodeMouseDown:e,getStoreItems:n,onDragStart:t,onDrag:o,onDragStop:x}){let r={x:null,y:null},i=0,c=new Map,d=!1,s={x:0,y:0},u=null,f=!1,y=null,g=!1,p=!1,h=null;function b({noDragClassName:v,handleSelector:m,domNode:w,isSelectable:C,nodeId:k,nodeClickDistance:O=0}){const G=_0x4806;y=en(w);function j({x:q,y:T}){const N=_0x4806,{nodeLookup:D,nodeExtent:L,snapGrid:U,snapToGrid:P,nodeOrigin:S,onNodeDrag:K,onSelectionDrag:Q,onError:R,updateNodePositions:$}=n();r={x:q,y:T};let xe=!1;const ce=c[N(1705)]>1,de=ce&&L?oo(Ft(c)):null,fe=ce&&P?q2({dragItems:c,snapGrid:U,x:q,y:T}):null;for(const[ie,J]of c){if(!D[N(1826)](ie))continue;let re={x:q-J[N(1204)].x,y:T-J[N(1204)].y};P&&(re=fe?{x:Math.round(re.x+fe.x),y:Math[N(723)](re.y+fe.y)}:$t(re,U));let _=null;if(ce&&L&&!J[N(1743)]&&de){const{positionAbsolute:X}=J.internals,H=X.x-de.x+L[0][0],oe=X.x+J[N(1583)][N(1238)]-de.x2+L[1][0],le=X.y-de.y+L[0][1],se=X.y+J[N(1583)][N(1265)]-de.y2+L[1][1];_=[[H,le],[oe,se]]}const{position:I,positionAbsolute:Y}=Xi({nodeId:ie,nextPosition:re,nodeLookup:D,nodeExtent:_||L,nodeOrigin:S,onError:R});xe=xe||J[N(1543)].x!==I.x||J[N(1543)].y!==I.y,J[N(1543)]=I,J[N(380)][N(2107)]=Y}if(p=p||xe,!!xe&&($(c,!0),h&&(o||K||!k&&Q))){const[ie,J]=yo({nodeId:k,dragItems:c,nodeLookup:D});o?.(h,c,ie,J),K?.(h,ie,J),!k&&Q?.(h,J)}}async function A(){if(!u)return;const{transform:q,panBy:T,autoPanSpeed:N,autoPanOnNodeDrag:D}=n();if(!D){d=!1,cancelAnimationFrame(i);return}const[L,U]=Ri(s,u,N);(L!==0||U!==0)&&(r.x=(r.x??0)-L/q[2],r.y=(r.y??0)-U/q[2],await T({x:L,y:U})&&j(r)),i=requestAnimationFrame(A)}function Z(q){const T=_0x4806,{nodeLookup:N,multiSelectionActive:D,nodesDraggable:L,transform:U,snapGrid:P,snapToGrid:S,selectNodesOnDrag:K,onNodeDragStart:Q,onSelectionDragStart:R,unselectNodesAndEdges:$}=n();f=!0,(!K||!C)&&!D&&k&&!N[T(1157)](k)?.[T(2178)]&&$(),C&&K&&k&&e?.(k);const xe=t0(q.sourceEvent,{transform:U,snapGrid:P,snapToGrid:S,containerBounds:u});if(r=xe,c=V2(N,L,xe,k),c.size>0&&(t||Q||!k&&R)){const[ce,de]=yo({nodeId:k,dragItems:c,nodeLookup:N});t?.(q.sourceEvent,c,ce,de),Q?.(q[T(652)],ce,de),!k&&R?.(q[T(652)],de)}}const W=ai().clickDistance(O).on(G(1989),q=>{const T=G,{domNode:N,nodeDragThreshold:D,transform:L,snapGrid:U,snapToGrid:P}=n();u=N?.[T(1761)]()||null,g=!1,p=!1,h=q[T(652)],D===0&&Z(q),r=t0(q[T(652)],{transform:L,snapGrid:U,snapToGrid:P,containerBounds:u}),s=gn(q.sourceEvent,u)}).on(G(553),q=>{const T=G,{autoPanOnNodeDrag:N,transform:D,snapGrid:L,snapToGrid:U,nodeDragThreshold:P,nodeLookup:S}=n(),K=t0(q[T(652)],{transform:D,snapGrid:L,snapToGrid:U,containerBounds:u});if(h=q[T(652)],(q[T(652)].type==="touchmove"&&q[T(652)].touches[T(2194)]>1||k&&!S[T(1826)](k))&&(g=!0),!g){if(!d&&N&&f&&(d=!0,A()),!f){const Q=gn(q[T(652)],u),R=Q.x-s.x,$=Q.y-s.y;Math[T(807)](R*R+$*$)>P&&Z(q)}(r.x!==K[T(1022)]||r.y!==K[T(681)])&&c&&f&&(s=gn(q[T(652)],u),j(K))}}).on(G(412),q=>{const T=G;if(!(!f||g)&&(d=!1,f=!1,cancelAnimationFrame(i),c.size>0)){const{nodeLookup:N,updateNodePositions:D,onNodeDragStop:L,onSelectionDragStop:U}=n();if(p&&(D(c,!1),p=!1),x||L||!k&&U){const[P,S]=yo({nodeId:k,dragItems:c,nodeLookup:N,dragging:!1});x?.(q[T(652)],c,P,S),L?.(q.sourceEvent,P,S),!k&&U?.(q[T(652)],S)}}})[G(1641)](q=>{const T=G,N=q[T(603)];return!q.button&&(!v||!bc(N,"."+v,w))&&(!m||bc(N,m,w))});y[G(897)](W)}function M(){const v=_0x4806;y?.on(v(1895),null)}return{update:b,destroy:M}}function X2(e,n,t){const o=a,x=[],r={x:e.x-t,y:e.y-t,width:t*2,height:t*2};for(const i of n.values())Qt(r,wt(i))>0&&x[o(1465)](i);return x}const K2=250;function Z2(e,n,t,o){const x=a;let r=[],i=1/0;const c=X2(e,t,n+K2);for(const d of c){const s=[...d[x(380)][x(2091)]?.[x(964)]??[],...d[x(380)][x(2091)]?.[x(603)]??[]];for(const u of s){if(o[x(1626)]===u[x(1626)]&&o[x(1424)]===u[x(1424)]&&o.id===u.id)continue;const{x:f,y}=$n(d,u,u[x(1543)],!0),g=Math[x(807)](Math[x(1433)](f-e.x,2)+Math[x(1433)](y-e.y,2));g>n||(g<i?(r=[{...u,x:f,y}],i=g):g===i&&r[x(1465)]({...u,x:f,y}))}}if(!r[x(2194)])return null;if(r[x(2194)]>1){const d=o[x(1424)]===x(964)?x(603):x(964);return r[x(1876)](s=>s[x(1424)]===d)??r[0]}return r[0]}function zc(e,n,t,o,x,r=!1){const i=a,c=o[i(1157)](e);if(!c)return null;const d=x===i(1752)?c[i(380)][i(2091)]?.[n]:[...c[i(380)][i(2091)]?.[i(964)]??[],...c[i(380)].handleBounds?.[i(603)]??[]],s=(t?d?.[i(1876)](u=>u.id===t):d?.[0])??null;return s&&r?{...s,...$n(c,s,s.position,!0)}:s}function Cc(e,n){const t=a;return e||(n?.classList.contains("target")?"target":n?.[t(1931)].contains(t(964))?"source":null)}function R2(e,n){let t=null;return n?t=!0:e&&!n&&(t=!1),t}const Mc=()=>!0;function J2(e,{connectionMode:n,connectionRadius:t,handleId:o,nodeId:x,edgeUpdaterType:r,isTarget:i,domNode:c,nodeLookup:d,lib:s,autoPanOnConnect:u,flowId:f,panBy:y,cancelConnection:g,onConnectStart:p,onConnect:h,onConnectEnd:b,isValidConnection:M=Mc,onReconnectEnd:v,updateConnection:m,getTransform:w,getFromHandle:C,autoPanSpeed:k,dragThreshold:O=1,handleDomNode:G}){const j=a,A=nc(e.target);let Z=0,W;const{x:q,y:T}=gn(e),N=Cc(r,G),D=c?.[j(1761)]();let L=!1;if(!D||!N)return;const U=zc(x,N,o,d,n);if(!U)return;let P=gn(e,D),S=!1,K=null,Q=!1,R=null;function $(){if(!u||!D)return;const[_,I]=Ri(P,D,k);y({x:_,y:I}),Z=requestAnimationFrame($)}const xe={...U,nodeId:x,type:N,position:U[j(1543)]},ce=d[j(1157)](x);let fe={inProgress:!0,isValid:null,from:$n(ce,xe,he[j(1010)],!0),fromHandle:xe,fromPosition:xe[j(1543)],fromNode:ce,to:P,toHandle:null,toPosition:Vi[xe.position],toNode:null,pointer:P};function ie(){L=!0,m(fe),p?.(e,{nodeId:x,handleId:o,handleType:N})}O===0&&ie();function J(_){const I=j;if(!L){const{x:se,y:ge}=gn(_),ve=se-q,Ne=ge-T;if(!(ve*ve+Ne*Ne>O*O))return;ie()}if(!C()||!xe){re(_);return}const Y=w();P=gn(_,D),W=Z2(e0(P,Y,!1,[1,1]),t,d,xe),!S&&($(),S=!0);const X=Bc(_,{handle:W,connectionMode:n,fromNodeId:x,fromHandleId:o,fromType:I(i?603:964),isValidConnection:M,doc:A,lib:s,flowId:f,nodeLookup:d});R=X[I(1803)],K=X[I(1329)],Q=R2(!!W,X[I(486)]);const H=d[I(1157)](x),oe=H?$n(H,xe,he[I(1010)],!0):fe[I(1139)],le={...fe,from:oe,isValid:Q,to:X.toHandle&&Q?R0({x:X[I(2150)].x,y:X[I(2150)].y},Y):P,toHandle:X[I(2150)],toPosition:Q&&X.toHandle?X[I(2150)][I(1543)]:Vi[xe[I(1543)]],toNode:X[I(2150)]?d.get(X[I(2150)][I(1626)]):null,pointer:P};m(le),fe=le}function re(_){const I=j;if(!(I(374)in _&&_[I(374)][I(2194)]>0)){if(L){(W||R)&&K&&Q&&h?.(K);const{inProgress:Y,...X}=fe,H={...X,toPosition:fe[I(2150)]?fe[I(1773)]:null};b?.(_,H),r&&v?.(_,H)}g(),cancelAnimationFrame(Z),S=!1,Q=!1,K=null,R=null,A.removeEventListener(I(530),J),A.removeEventListener("mouseup",re),A[I(1339)](I(1092),J),A[I(1339)](I(1672),re)}}A[j(1966)](j(530),J),A[j(1966)](j(1762),re),A[j(1966)]("touchmove",J),A.addEventListener(j(1672),re)}function Bc(e,{handle:n,connectionMode:t,fromNodeId:o,fromHandleId:x,fromType:r,doc:i,lib:c,flowId:d,isValidConnection:s=Mc,nodeLookup:u}){const f=a,y=r==="target",g=n?i[f(1542)]("."+c+'-flow__handle[data-id="'+d+"-"+n?.nodeId+"-"+n?.id+"-"+n?.[f(1424)]+'"]'):null,{x:p,y:h}=gn(e),b=i.elementFromPoint(p,h),M=b?.[f(1931)][f(2099)](c+f(538))?b:g,v={handleDomNode:M,isValid:!1,connection:null,toHandle:null};if(M){const m=Cc(void 0,M),w=M[f(527)]("data-nodeid"),C=M[f(527)](f(1411)),k=M[f(1931)][f(2099)]("connectable"),O=M[f(1931)].contains(f(690));if(!w||!m)return v;const G={source:y?w:o,sourceHandle:y?C:x,target:y?o:w,targetHandle:y?x:C};v[f(1329)]=G;const j=k&&O,A=j&&(t===yt[f(786)]?y&&m==="source"||!y&&m===f(603):w!==o||C!==x);v[f(486)]=A&&s(G),v[f(2150)]=zc(w,m,C,u,t,!0)}return v}const mo={onPointerDown:J2,isValid:Bc};function _2({domNode:e,panZoom:n,getTransform:t,getViewScale:o}){const x=en(e);function r({translateExtent:c,width:d,height:s,zoomStep:u=1,pannable:f=!0,zoomable:y=!0,inversePan:g=!1}){const p=_0x4806,h=w=>{const C=_0x4806;if(w[C(652)].type!==C(554)||!n)return;const k=t(),O=w[C(652)].ctrlKey&&n0()?10:1,G=-w[C(652)][C(381)]*(w[C(652)].deltaMode===1?.05:w[C(652)][C(2019)]?1:.002)*u,j=k[2]*Math[C(1433)](2,G*O);n.scaleTo(j)};let b=[0,0];const M=w=>{const C=_0x4806;(w[C(652)][C(1424)]===C(874)||w[C(652)][C(1424)]===C(1080))&&(b=[w[C(652)][C(1569)]??w[C(652)].touches[0][C(1569)],w.sourceEvent.clientY??w[C(652)][C(374)][0][C(1947)]])},v=w=>{const C=_0x4806,k=t();if(w[C(652)][C(1424)]!==C(530)&&w[C(652)][C(1424)]!==C(1092)||!n)return;const O=[w[C(652)][C(1569)]??w.sourceEvent[C(374)][0][C(1569)],w[C(652)][C(1947)]??w[C(652)][C(374)][0][C(1947)]],G=[O[0]-b[0],O[1]-b[1]];b=O;const j=o()*Math[C(1439)](k[2],Math[C(365)](k[2]))*(g?-1:1),A={x:k[0]-G[0]*j,y:k[1]-G[1]*j},Z=[[0,0],[d,s]];n.setViewportConstrained({x:A.x,y:A.y,zoom:k[2]},Z,c)},m=Gi().on(p(1989),M).on(p(1386),f?v:null).on(p(1496),y?h:null);x[p(897)](m,{})}function i(){const c=_0x4806;x.on(c(1386),null)}return{update:r,destroy:i,pointer:dn}}const _0=e=>({x:e.x,y:e.y,zoom:e.k}),wo=({x:e,y:n,zoom:t})=>q0[a(1273)](e,n)[a(476)](t),bt=(e,n)=>e.target[a(686)]("."+n),Dc=(e,n)=>n===2&&Array.isArray(e)&&e[a(911)](2),F2=e=>((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2,vo=(e,n=0,t=F2,o=()=>{})=>{const x=a,r=typeof n===x(411)&&n>0;return!r&&o(),r?e[x(1244)]()[x(2056)](n)[x(2044)](t).on(x(412),o):e},Lc=e=>{const n=a,t=e[n(569)]&&n0()?10:1;return-e.deltaY*(e[n(2019)]===1?.05:e[n(2019)]?1:.002)*t};function Q2({zoomPanValues:e,noWheelClassName:n,d3Selection:t,d3Zoom:o,panOnScrollMode:x,panOnScrollSpeed:r,zoomOnPinch:i,onPanZoomStart:c,onPanZoom:d,onPanZoomEnd:s}){return u=>{const f=_0x4806;if(bt(u,n))return u.ctrlKey&&u[f(1923)](),!1;u[f(1923)](),u.stopImmediatePropagation();const y=t[f(1665)]("__zoom").k||1;if(u[f(569)]&&i){const M=dn(u),v=Lc(u),m=y*Math[f(1433)](2,v);o[f(494)](t,m,M,u);return}const g=u[f(2019)]===1?20:1;let p=x===Fn.Vertical?0:u[f(691)]*g,h=x===Fn.Horizontal?0:u[f(381)]*g;!n0()&&u[f(1518)]&&x!==Fn[f(997)]&&(p=u[f(381)]*g,h=0),o[f(817)](t,-(p/y)*r,-(h/y)*r,{internal:!0});const b=_0(t[f(1665)](f(1478)));clearTimeout(e[f(1055)]),e[f(560)]?(d?.(u,b),e.panScrollTimeout=setTimeout(()=>{const M=f;s?.(u,b),e[M(560)]=!1},150)):(e[f(560)]=!0,c?.(u,b))}}function $2({noWheelClassName:e,preventScrolling:n,d3ZoomHandler:t}){return function(o,x){const r=_0x4806,i=o.type===r(554),c=!n&&i&&!o.ctrlKey,d=bt(o,e);if(o.ctrlKey&&i&&d&&o[r(1923)](),c||d)return null;o.preventDefault(),t.call(this,o,x)}}function e1({zoomPanValues:e,onDraggingChange:n,onPanZoomStart:t}){return o=>{const x=_0x4806;if(o[x(652)]?.[x(1548)])return;const r=_0(o[x(1130)]);e.mouseButton=o[x(652)]?.[x(772)]||0,e[x(798)]=!0,e[x(578)]=r,o[x(652)]?.[x(1424)]===x(874)&&n(!0),t&&t?.(o.sourceEvent,r)}}function n1({zoomPanValues:e,panOnDrag:n,onPaneContextMenu:t,onTransformChange:o,onPanZoom:x}){return r=>{const i=_0x4806;e[i(1676)]=!!(t&&Dc(n,e.mouseButton??0)),!r[i(652)]?.sync&&o([r[i(1130)].x,r[i(1130)].y,r[i(1130)].k]),x&&!r[i(652)]?.[i(1548)]&&x?.(r[i(652)],_0(r.transform))}}function t1({zoomPanValues:e,panOnDrag:n,panOnScroll:t,onDraggingChange:o,onPanZoomEnd:x,onPaneContextMenu:r}){return i=>{const c=_0x4806;if(!i[c(652)]?.[c(1548)]&&(e[c(798)]=!1,r&&Dc(n,e[c(2198)]??0)&&!e[c(1676)]&&i[c(652)]&&r(i[c(652)]),e[c(1676)]=!1,o(!1),x)){const d=_0(i[c(1130)]);e[c(578)]=d,clearTimeout(e[c(1054)]),e[c(1054)]=setTimeout(()=>{x?.(i.sourceEvent,d)},t?150:0)}}}function x1({zoomActivationKeyPressed:e,zoomOnScroll:n,zoomOnPinch:t,panOnDrag:o,panOnScroll:x,zoomOnDoubleClick:r,userSelectionActive:i,noWheelClassName:c,noPanClassName:d,lib:s,connectionInProgress:u}){return f=>{const y=_0x4806,g=e||n,p=t&&f[y(569)],h=f[y(1424)]===y(554);if(f.button===1&&f[y(1424)]===y(874)&&(bt(f,s+"-flow__node")||bt(f,s+y(2173))))return!0;if(!o&&!g&&!x&&!r&&!t||i||u&&!h||bt(f,c)&&h||bt(f,d)&&(!h||x&&h&&!e)||!t&&f[y(569)]&&h)return!1;if(!t&&f[y(1424)]==="touchstart"&&f[y(374)]?.[y(2194)]>1)return f[y(1923)](),!1;if(!g&&!x&&!p&&h||!o&&(f[y(1424)]===y(874)||f[y(1424)]==="touchstart")||Array[y(927)](o)&&!o.includes(f.button)&&f[y(1424)]==="mousedown")return!1;const b=Array.isArray(o)&&o[y(911)](f[y(772)])||!f[y(772)]||f[y(772)]<=1;return(!f[y(569)]||h)&&b}}function o1({domNode:e,minZoom:n,maxZoom:t,translateExtent:o,viewport:x,onPanZoom:r,onPanZoomStart:i,onPanZoomEnd:c,onDraggingChange:d}){const s=a,u={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},f=e[s(1761)](),y=Gi()[s(1383)]([n,t])[s(1038)](o),g=en(e).call(y);m({x:x.x,y:x.y,zoom:mt(x[s(1386)],n,t)},[[0,0],[f.width,f.height]],o);const p=g.on(s(1129)),h=g.on(s(977));y[s(1660)](Lc);function b(W,q){return g?new Promise(T=>{const N=_0x4806;y?.[N(2172)](q?.interpolate===N(1656)?Vt:A0)[N(1130)](vo(g,q?.[N(2056)],q?.[N(2044)],()=>T(!0)),W)}):Promise.resolve(!1)}function M({noWheelClassName:W,noPanClassName:q,onPaneContextMenu:T,userSelectionActive:N,panOnScroll:D,panOnDrag:L,panOnScrollMode:U,panOnScrollSpeed:P,preventScrolling:S,zoomOnPinch:K,zoomOnScroll:Q,zoomOnDoubleClick:R,zoomActivationKeyPressed:$,lib:xe,onTransformChange:ce,connectionInProgress:de,paneClickDistance:fe,selectionOnDrag:ie}){const J=s;N&&!u[J(798)]&&v();const re=D&&!$&&!N;y[J(1002)](ie?1/0:!hn(fe)||fe<0?0:fe);const _=re?Q2({zoomPanValues:u,noWheelClassName:W,d3Selection:g,d3Zoom:y,panOnScrollMode:U,panOnScrollSpeed:P,zoomOnPinch:K,onPanZoomStart:i,onPanZoom:r,onPanZoomEnd:c}):$2({noWheelClassName:W,preventScrolling:S,d3ZoomHandler:p});if(g.on(J(1129),_,{passive:!1}),!N){const Y=e1({zoomPanValues:u,onDraggingChange:d,onPanZoomStart:i});y.on("start",Y);const X=n1({zoomPanValues:u,panOnDrag:L,onPaneContextMenu:!!T,onPanZoom:r,onTransformChange:ce});y.on(J(1386),X);const H=t1({zoomPanValues:u,panOnDrag:L,panOnScroll:D,onPaneContextMenu:T,onPanZoomEnd:c,onDraggingChange:d});y.on("end",H)}const I=x1({zoomActivationKeyPressed:$,panOnDrag:L,zoomOnScroll:Q,panOnScroll:D,zoomOnDoubleClick:R,zoomOnPinch:K,userSelectionActive:N,noPanClassName:q,noWheelClassName:W,lib:xe,connectionInProgress:de});y[J(1641)](I),R?g.on(J(977),h):g.on(J(977),null)}function v(){y.on("zoom",null)}async function m(W,q,T){const N=s,D=wo(W),L=y?.[N(1612)]()(D,q,T);return L&&await b(L),new Promise(U=>U(L))}async function w(W,q){const T=wo(W);return await b(T,q),new Promise(N=>N(T))}function C(W){const q=s;if(g){const T=wo(W),N=g[q(1665)](q(1478));(N.k!==W[q(1386)]||N.x!==W.x||N.y!==W.y)&&y?.[q(1130)](g,T,null,{sync:!0})}}function k(){const W=s,q=g?Yi(g[W(1997)]()):{x:0,y:0,k:1};return{x:q.x,y:q.y,zoom:q.k}}function O(W,q){const T=s;return g?new Promise(N=>{const D=_0x4806;y?.interpolate(q?.[D(2172)]===D(1656)?Vt:A0)[D(494)](vo(g,q?.[D(2056)],q?.[D(2044)],()=>N(!0)),W)}):Promise[T(2192)](!1)}function G(W,q){const T=s;return g?new Promise(N=>{const D=_0x4806;y?.[D(2172)](q?.[D(2172)]===D(1656)?Vt:A0)[D(368)](vo(g,q?.duration,q?.[D(2044)],()=>N(!0)),W)}):Promise[T(2192)](!1)}function j(W){y?.[s(1383)](W)}function A(W){y?.translateExtent(W)}function Z(W){const q=s,T=!hn(W)||W<0?0:W;y?.[q(1002)](T)}return{update:M,destroy:v,setViewport:w,setViewportConstrained:m,getViewport:k,scaleTo:O,scaleBy:G,setScaleExtent:j,setTranslateExtent:A,syncViewport:C,setClickDistance:Z}}var zt;(function(e){const n=a;e[n(857)]=n(2070),e[n(1222)]="handle"})(zt||(zt={}));function r1({width:e,prevWidth:n,height:t,prevHeight:o,affectsX:x,affectsY:r}){const i=e-n,c=t-o,d=[i>0?1:i<0?-1:0,c>0?1:c<0?-1:0];return i&&x&&(d[0]=d[0]*-1),c&&r&&(d[1]=d[1]*-1),d}function Nc(e){const n=a,t=e[n(911)](n(1476))||e[n(911)](n(1557)),o=e[n(911)](n(808))||e[n(911)](n(1413)),x=e[n(911)](n(1557)),r=e[n(911)](n(1413));return{isHorizontal:t,isVertical:o,affectsX:x,affectsY:r}}function Yn(e,n){return Math.max(0,n-e)}function Un(e,n){return Math[a(1439)](0,e-n)}function F0(e,n,t){return Math[a(1439)](0,n-e,e-t)}function Sc(e,n){return e?!n:n}function i1(e,n,t,o,x,r,i,c){const d=a;let{affectsX:s,affectsY:u}=n;const{isHorizontal:f,isVertical:y}=n,g=f&&y,{xSnapped:p,ySnapped:h}=t,{minWidth:b,maxWidth:M,minHeight:v,maxHeight:m}=o,{x:w,y:C,width:k,height:O,aspectRatio:G}=e;let j=Math[d(621)](f?p-e[d(1168)]:0),A=Math[d(621)](y?h-e.pointerY:0);const Z=k+(s?-j:j),W=O+(u?-A:A),q=-r[0]*k,T=-r[1]*O;let N=F0(Z,b,M),D=F0(W,v,m);if(i){let P=0,S=0;s&&j<0?P=Yn(w+j+q,i[0][0]):!s&&j>0&&(P=Un(w+Z+q,i[1][0])),u&&A<0?S=Yn(C+A+T,i[0][1]):!u&&A>0&&(S=Un(C+W+T,i[1][1])),N=Math[d(1439)](N,P),D=Math[d(1439)](D,S)}if(c){let P=0,S=0;s&&j>0?P=Un(w+j,c[0][0]):!s&&j<0&&(P=Yn(w+Z,c[1][0])),u&&A>0?S=Un(C+A,c[0][1]):!u&&A<0&&(S=Yn(C+W,c[1][1])),N=Math[d(1439)](N,P),D=Math[d(1439)](D,S)}if(x){if(f){const P=F0(Z/G,v,m)*G;if(N=Math.max(N,P),i){let S=0;!s&&!u||s&&!u&&g?S=Un(C+T+Z/G,i[1][1])*G:S=Yn(C+T+(s?j:-j)/G,i[0][1])*G,N=Math[d(1439)](N,S)}if(c){let S=0;!s&&!u||s&&!u&&g?S=Yn(C+Z/G,c[1][1])*G:S=Un(C+(s?j:-j)/G,c[0][1])*G,N=Math[d(1439)](N,S)}}if(y){const P=F0(W*G,b,M)/G;if(D=Math[d(1439)](D,P),i){let S=0;!s&&!u||u&&!s&&g?S=Un(w+W*G+q,i[1][0])/G:S=Yn(w+(u?A:-A)*G+q,i[0][0])/G,D=Math[d(1439)](D,S)}if(c){let S=0;!s&&!u||u&&!s&&g?S=Yn(w+W*G,c[1][0])/G:S=Un(w+(u?A:-A)*G,c[0][0])/G,D=Math[d(1439)](D,S)}}}A=A+(A<0?D:-D),j=j+(j<0?N:-N),x&&(g?Z>W*G?A=(Sc(s,u)?-j:j)/G:j=(Sc(s,u)?-A:A)*G:f?(A=j/G,u=s):(j=A*G,s=u));const L=s?w+j:w,U=u?C+A:C;return{width:k+(s?-j:j),height:O+(u?-A:A),x:r[0]*j*(s?-1:1)+L,y:r[1]*A*(u?-1:1)+U}}const kc={width:0,height:0,x:0,y:0},c1={...kc,pointerX:0,pointerY:0,aspectRatio:1};function a1(e){const n=a;return[[0,0],[e[n(1583)][n(1238)],e[n(1583)][n(1265)]]]}function s1(e,n,t){const o=a,x=n[o(1543)].x+e[o(1543)].x,r=n[o(1543)].y+e[o(1543)].y,i=e[o(1583)][o(1238)]??0,c=e.measured[o(1265)]??0,d=t[0]*i,s=t[1]*c;return[[x-d,r-s],[x+i-d,r+c-s]]}function l1({domNode:e,nodeId:n,getStoreItems:t,onChange:o,onEnd:x}){const r=a,i=en(e);let c={controlDirection:Nc(r(720)),boundaries:{minWidth:0,minHeight:0,maxWidth:Number[r(1370)],maxHeight:Number[r(1370)]},resizeDirection:void 0,keepAspectRatio:!1};function d({controlPosition:u,boundaries:f,keepAspectRatio:y,resizeDirection:g,onResizeStart:p,onResize:h,onResizeEnd:b,shouldResize:M}){const v=r;let m={...kc},w={...c1};c={boundaries:f,resizeDirection:g,keepAspectRatio:y,controlDirection:Nc(u)};let C,k=null,O=[],G,j,A,Z=!1;const W=ai().on(v(1989),q=>{const T=v,{nodeLookup:N,transform:D,snapGrid:L,snapToGrid:U,nodeOrigin:P,paneDomNode:S}=t();if(C=N[T(1157)](n),!C)return;k=S?.getBoundingClientRect()??null;const{xSnapped:K,ySnapped:Q}=t0(q.sourceEvent,{transform:D,snapGrid:L,snapToGrid:U,containerBounds:k});m={width:C[T(1583)].width??0,height:C.measured[T(1265)]??0,x:C[T(1543)].x??0,y:C[T(1543)].y??0},w={...m,pointerX:K,pointerY:Q,aspectRatio:m[T(1238)]/m[T(1265)]},G=void 0,C[T(890)]&&(C[T(1743)]===T(1824)||C[T(1714)])&&(G=N[T(1157)](C[T(890)]),j=G&&C.extent===T(1824)?a1(G):void 0),O=[],A=void 0;for(const[R,$]of N)if($[T(890)]===n&&(O[T(1465)]({id:R,position:{...$[T(1543)]},extent:$[T(1743)]}),$[T(1743)]==="parent"||$[T(1714)])){const xe=s1($,C,$.origin??P);A?A=[[Math.min(xe[0][0],A[0][0]),Math[T(831)](xe[0][1],A[0][1])],[Math[T(1439)](xe[1][0],A[1][0]),Math[T(1439)](xe[1][1],A[1][1])]]:A=xe}p?.(q,{...m})}).on("drag",q=>{const T=v,{transform:N,snapGrid:D,snapToGrid:L,nodeOrigin:U}=t(),P=t0(q[T(652)],{transform:N,snapGrid:D,snapToGrid:L,containerBounds:k}),S=[];if(!C)return;const{x:K,y:Q,width:R,height:$}=m,xe={},ce=C[T(870)]??U,{width:de,height:fe,x:ie,y:J}=i1(w,c[T(622)],P,c[T(1499)],c[T(501)],ce,j,A),re=de!==R,_=fe!==$,I=ie!==K&&re,Y=J!==Q&&_;if(!I&&!Y&&!re&&!_)return;if((I||Y||ce[0]===1||ce[1]===1)&&(xe.x=I?ie:m.x,xe.y=Y?J:m.y,m.x=xe.x,m.y=xe.y,O[T(2194)]>0)){const le=ie-K,se=J-Q;for(const ge of O)ge[T(1543)]={x:ge[T(1543)].x-le+ce[0]*(de-R),y:ge[T(1543)].y-se+ce[1]*(fe-$)},S.push(ge)}if((re||_)&&(xe[T(1238)]=re&&(!c[T(1253)]||c[T(1253)]==="horizontal")?de:m[T(1238)],xe[T(1265)]=_&&(!c.resizeDirection||c.resizeDirection===T(609))?fe:m[T(1265)],m[T(1238)]=xe[T(1238)],m[T(1265)]=xe[T(1265)]),G&&C[T(1714)]){const le=ce[0]*(xe[T(1238)]??0);xe.x&&xe.x<le&&(m.x=le,w.x=w.x-(xe.x-le));const se=ce[1]*(xe[T(1265)]??0);xe.y&&xe.y<se&&(m.y=se,w.y=w.y-(xe.y-se))}const X=r1({width:m[T(1238)],prevWidth:R,height:m[T(1265)],prevHeight:$,affectsX:c[T(622)][T(771)],affectsY:c[T(622)][T(647)]}),H={...m,direction:X};M?.(q,H)!==!1&&(Z=!0,h?.(q,H),o(xe,S))}).on(v(412),q=>{Z&&(b?.(q,{...m}),x?.({...m}),Z=!1)});i[v(897)](W)}function s(){const u=r;i.on(u(1895),null)}return{update:d,destroy:s}}var Q0={exports:{}},po={},$0={exports:{}},bo={},Ic;function d1(){const e=a;if(Ic)return bo;Ic=1;var n=B;function t(y,g){return y===g&&(y!==0||1/y===1/g)||y!==y&&g!==g}var o=e(1154)===typeof Object.is?Object.is:t,x=n.useState,r=n[e(363)],i=n.useLayoutEffect,c=n.useDebugValue;function d(y,g){const p=e;var h=g(),b=x({inst:{value:h,getSnapshot:g}}),M=b[0][p(420)],v=b[1];return i(function(){const m=p;M[m(1981)]=h,M[m(978)]=g,s(M)&&v({inst:M})},[y,h,g]),r(function(){return s(M)&&v({inst:M}),y(function(){s(M)&&v({inst:M})})},[y]),c(h),h}function s(y){const g=e;var p=y[g(978)];y=y[g(1981)];try{var h=p();return!o(y,h)}catch{return!0}}function u(y,g){return g()}var f=typeof window>"u"||e(1202)===typeof window.document||e(1202)===typeof window[e(1644)][e(1990)]?u:d;return bo.useSyncExternalStore=n[e(2007)]!==void 0?n.useSyncExternalStore:f,bo}var zo={},Pc;function u1(){return Pc||(Pc=1,process.env.NODE_ENV!=="production"&&(function(){const e=_0x4806;function n(p,h){return p===h&&(p!==0||1/p===1/h)||p!==p&&h!==h}function t(p,h){const b=_0x4806;f||r.startTransition===void 0||(f=!0,console[b(551)](b(1417)));var M=h();if(!y){var v=h();i(M,v)||(console[b(551)](b(1736)),y=!0)}v=c({inst:{value:M,getSnapshot:h}});var m=v[0].inst,w=v[1];return s(function(){const C=b;m[C(1981)]=M,m[C(978)]=h,o(m)&&w({inst:m})},[p,M,h]),d(function(){return o(m)&&w({inst:m}),p(function(){o(m)&&w({inst:m})})},[p]),u(M),M}function o(p){const h=_0x4806;var b=p.getSnapshot;p=p[h(1981)];try{var M=b();return!i(p,M)}catch{return!0}}function x(p,h){return h()}e(1202)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&e(1154)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[e(2168)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[e(2168)](Error());var r=B,i=e(1154)===typeof Object.is?Object.is:n,c=r[e(655)],d=r[e(363)],s=r[e(624)],u=r[e(1447)],f=!1,y=!1,g=typeof window>"u"||typeof window.document>"u"||e(1202)===typeof window[e(1644)][e(1990)]?x:t;zo.useSyncExternalStore=r[e(2007)]!==void 0?r[e(2007)]:g,e(1202)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[e(1980)]=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),zo}var Ac;function jc(){const e=a;return Ac||(Ac=1,process.env.NODE_ENV===e(782)?$0[e(1749)]=d1():$0.exports=u1()),$0[e(1749)]}var Ec;function f1(){const e=a;if(Ec)return po;Ec=1;var n=B,t=jc();function o(u,f){return u===f&&(u!==0||1/u===1/f)||u!==u&&f!==f}var x=typeof Object.is=="function"?Object.is:o,r=t[e(2007)],i=n[e(575)],c=n.useEffect,d=n.useMemo,s=n[e(1447)];return po.useSyncExternalStoreWithSelector=function(u,f,y,g,p){const h=e;var b=i(null);if(b[h(1560)]===null){var M={hasValue:!1,value:null};b[h(1560)]=M}else M=b[h(1560)];b=d(function(){function m(G){const j=_0x4806;if(!w){if(w=!0,C=G,G=g(G),p!==void 0&&M.hasValue){var A=M[j(1981)];if(p(A,G))return k=A}return k=G}if(A=k,x(C,G))return A;var Z=g(G);return p!==void 0&&p(A,Z)?(C=G,A):(C=G,k=Z)}var w=!1,C,k,O=y===void 0?null:y;return[function(){return m(f())},O===null?void 0:function(){return m(O())}]},[f,y,g,p]);var v=r(u,b[0],b[1]);return c(function(){const m=h;M[m(1358)]=!0,M.value=v},[v]),s(v),v},po}var Co={},Yc;function h1(){const e=a;return Yc||(Yc=1,e(782)!==process.env.NODE_ENV&&(function(){const n=e;function t(f,y){return f===y&&(f!==0||1/f===1/y)||f!==f&&y!==y}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(2168)]=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(2168)](Error());var o=B,x=jc(),r=n(1154)===typeof Object.is?Object.is:t,i=x.useSyncExternalStore,c=o[n(575)],d=o[n(363)],s=o[n(528)],u=o.useDebugValue;Co.useSyncExternalStoreWithSelector=function(f,y,g,p,h){const b=n;var M=c(null);if(M[b(1560)]===null){var v={hasValue:!1,value:null};M[b(1560)]=v}else v=M[b(1560)];M=s(function(){function w(j){const A=_0x4806;if(!C){if(C=!0,k=j,j=p(j),h!==void 0&&v[A(1358)]){var Z=v[A(1981)];if(h(Z,j))return O=Z}return O=j}if(Z=O,r(k,j))return Z;var W=p(j);return h!==void 0&&h(Z,W)?(k=j,Z):(k=j,O=W)}var C=!1,k,O,G=g===void 0?null:g;return[function(){return w(y())},G===null?void 0:function(){return w(G())}]},[y,g,p,h]);var m=i(f,M[0],M[1]);return d(function(){const w=b;v[w(1358)]=!0,v[w(1981)]=m},[m]),u(m),m},n(1202)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(1980)]=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(1980)](Error())})()),Co}var Uc;function g1(){const e=a;return Uc?Q0.exports:(Uc=1,process.env.NODE_ENV===e(782)?Q0[e(1749)]=f1():Q0[e(1749)]=h1(),Q0[e(1749)])}var y1=g1();const m1=Nt(y1),w1={},Gc=e=>{let n;const t=new Set,o=(u,f)=>{const y=_0x4806,g=typeof u===y(1154)?u(n):u;if(!Object.is(g,n)){const p=n;n=f??(typeof g!==y(2171)||g===null)?g:Object[y(510)]({},n,g),t.forEach(h=>h(n,p))}},x=()=>n,r=()=>s,i=u=>{const f=_0x4806;return t[f(1757)](u),()=>t[f(1147)](u)},c=()=>{const u=_0x4806;(w1?u(782):void 0)!==u(782)&&console[u(656)](u(851)),t[u(2016)]()},d={setState:o,getState:x,getInitialState:r,subscribe:i,destroy:c},s=n=e(o,x,d);return d},v1=e=>e?Gc(e):Gc,{useDebugValue:p1}=B,{useSyncExternalStoreWithSelector:b1}=m1,z1=e=>e;function Oc(e,n=z1,t){const o=a,x=b1(e[o(1722)],e[o(1740)],e[o(1343)]||e[o(760)],n,t);return p1(x),x}const Hc=(e,n)=>{const t=a,o=v1(e),x=(r,i=n)=>Oc(o,r,i);return Object[t(510)](x,o),x},C1=(e,n)=>e?Hc(e,n):Hc;function je(e,n){const t=a;if(Object.is(e,n))return!0;if(typeof e!==t(2171)||e===null||typeof n!="object"||n===null)return!1;if(e instanceof Map&&n instanceof Map){if(e[t(1705)]!==n[t(1705)])return!1;for(const[x,r]of e)if(!Object.is(r,n[t(1157)](x)))return!1;return!0}if(e instanceof Set&&n instanceof Set){if(e.size!==n[t(1705)])return!1;for(const x of e)if(!n.has(x))return!1;return!0}const o=Object[t(1651)](e);if(o[t(2194)]!==Object[t(1651)](n)[t(2194)])return!1;for(const x of o)if(!Object[t(1201)][t(436)][t(897)](n,x)||!Object.is(e[x],n[x]))return!1;return!0}const ex=B[a(952)](null),M1=ex[a(423)],Tc=nn[a(893)]();function Be(e,n){const t=a,o=B[t(689)](ex);if(o===null)throw new Error(Tc);return Oc(o,e,n)}function Ee(){const e=a,n=B.useContext(ex);if(n===null)throw new Error(Tc);return B[e(528)](()=>({getState:n[e(1740)],setState:n.setState,subscribe:n[e(1722)]}),[n])}const Vc={display:a(1712)},B1={position:a(2080),width:1,height:1,margin:-1,border:0,padding:0,overflow:a(1821),clip:a(2040),clipPath:"inset(100%)"},qc=a(503),Wc=a(1628),D1="react-flow__aria-live",L1=e=>e[a(648)],N1=e=>e[a(1159)];function S1({rfId:e}){const n=a,t=Be(L1);return l[n(1993)]("div",{id:D1+"-"+e,"aria-live":n(447),"aria-atomic":n(1501),style:B1,children:t})}function k1({rfId:e,disableKeyboardA11y:n}){const t=a,o=Be(N1);return l.jsxs(l[t(915)],{children:[l[t(1993)]("div",{id:qc+"-"+e,style:Vc,children:n?o[t(2089)]:o[t(2092)]}),l.jsx("div",{id:Wc+"-"+e,style:Vc,children:o[t(427)]}),!n&&l.jsx(S1,{rfId:e})]})}const nx=B[a(2191)](({position:e="top-left",children:n,className:t,style:o,...x},r)=>{const i=a,c=(""+e)[i(1615)]("-");return l[i(1993)](i(539),{className:Ge([i(1497),t,...c]),style:o,ref:r,...x,children:n})});nx.displayName=a(1823);function I1({proOptions:e,position:n=a(720)}){const t=a;return e?.hideAttribution?null:l[t(1993)](nx,{position:n,className:"react-flow__attribution","data-message":t(673),children:l[t(1993)]("a",{href:"https://reactflow.dev",target:t(1347),rel:t(480),"aria-label":t(1033),children:t(1715)})})}const P1=e=>{const n=a,t=[],o=[];for(const[,x]of e[n(750)])x[n(2178)]&&t[n(1465)](x[n(380)][n(1220)]);for(const[,x]of e[n(986)])x[n(2178)]&&o[n(1465)](x);return{selectedNodes:t,selectedEdges:o}},tx=e=>e.id;function A1(e,n){const t=a;return je(e[t(1862)][t(542)](tx),n[t(1862)][t(542)](tx))&&je(e[t(1016)][t(542)](tx),n[t(1016)].map(tx))}function j1({onSelectionChange:e}){const n=a,t=Ee(),{selectedNodes:o,selectedEdges:x}=Be(P1,A1);return B[n(363)](()=>{const r=n,i={nodes:o,edges:x};e?.(i),t[r(1740)]()[r(1964)][r(1369)](c=>c(i))},[o,x,e]),null}const E1=e=>!!e[a(1964)];function Y1({onSelectionChange:e}){const n=a,t=Be(E1);return e||t?l[n(1993)](j1,{onSelectionChange:e}):null}const Mo=typeof window!==a(1202)?B[a(624)]:B[a(363)],Xc=[0,0],U1={x:0,y:0,zoom:1},G1=[a(1361),a(1337),"defaultNodes",a(475),"onConnect",a(1539),a(788),"onClickConnectStart",a(1003),a(2169),"autoPanOnNodeFocus","nodesConnectable",a(1237),"edgesFocusable","edgesReconnectable",a(1051),a(787),a(781),"maxZoom",a(762),a(2023),a(1562),"elementsSelectable",a(2138),a(1623),"snapToGrid",a(1038),"connectOnClick","defaultEdgeOptions",a(714),a(1097),a(2032),a(1284),a(602),a(650),a(438),"onNodeDragStop",a(1012),a(595),a(1487),a(1391),a(1435),"onMoveEnd",a(1732),"nodeOrigin","autoPanOnConnect",a(1410),"onError","connectionRadius",a(1088),a(2186),a(950),a(2154),a(917),"debug",a(1670),a(1159),"zIndexMode"],Kc=[...G1,"rfId"],O1=e=>({setNodes:e[a(1029)],setEdges:e[a(1514)],setMinZoom:e[a(541)],setMaxZoom:e[a(1044)],setTranslateExtent:e[a(1839)],setNodeExtent:e[a(2021)],reset:e[a(1039)],setDefaultNodesAndEdges:e[a(2063)]}),Zc={translateExtent:Rt,nodeOrigin:Xc,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:a(933),rfId:"1"};function H1(e){const n=a,{setNodes:t,setEdges:o,setMinZoom:x,setMaxZoom:r,setTranslateExtent:i,setNodeExtent:c,reset:d,setDefaultNodesAndEdges:s}=Be(O1,je),u=Ee();Mo(()=>{const y=_0x4806;return s(e[y(644)],e[y(475)]),()=>{f.current=Zc,d()}},[]);const f=B.useRef(Zc);return Mo(()=>{const y=_0x4806;for(const g of Kc){const p=e[g],h=f[y(1560)][g];p!==h&&typeof e[g]!==y(1202)&&(g===y(1361)?t(p):g===y(1337)?o(p):g===y(781)?x(p):g===y(640)?r(p):g==="translateExtent"?i(p):g===y(762)?c(p):g===y(1159)?u[y(1766)]({ariaLabelConfig:C2(p)}):g===y(714)?u[y(1766)]({fitViewQueued:p}):g===y(1097)?u[y(1766)]({fitViewOptions:p}):u.setState({[g]:p}))}f[y(1560)]=e},Kc[n(542)](y=>e[y])),null}function Rc(){return typeof window===a(1202)||!window.matchMedia?null:window.matchMedia("(prefers-color-scheme: dark)")}function T1(e){const n=a,[t,o]=B[n(655)](e===n(1831)?null:e);return B[n(363)](()=>{const x=n;if(e!==x(1831)){o(e);return}const r=Rc(),i=()=>o(r?.[x(1719)]?x(837):x(1859));return i(),r?.[x(1966)](x(649),i),()=>{r?.[x(1339)]("change",i)}},[e]),t!==null?t:Rc()?.[n(1719)]?n(837):n(1859)}const Jc=typeof document!==a(1202)?document:null;function x0(e=null,n={target:Jc,actInsideInputWithModifier:!0}){const t=a,[o,x]=B[t(655)](!1),r=B[t(575)](!1),i=B[t(575)](new Set([])),[c,d]=B[t(528)](()=>{const s=t;if(e!==null){const u=Array[s(927)](e)?e:[e],f=u[s(1641)](g=>typeof g===s(774))[s(542)](g=>g[s(598)]("+",`
5
- `).replace(`
1
+ (function(De,l){const D=_0x5528,z=De();for(;;)try{if(-parseInt(D(865))/1*(-parseInt(D(874))/2)+parseInt(D(258))/3+-parseInt(D(1505))/4*(-parseInt(D(1223))/5)+parseInt(D(589))/6*(parseInt(D(1793))/7)+parseInt(D(1749))/8+parseInt(D(261))/9*(-parseInt(D(1040))/10)+-parseInt(D(1153))/11===l)break;z.push(z.shift())}catch{z.push(z.shift())}})(_0x3a38,551082),(function(De,l){const D=_0x5528;typeof exports===D(460)&&typeof module!==D(439)?l(exports,require("react/jsx-runtime"),require("react"),require(D(1246)),require("@ant-design/icons"),require("zustand"),require(D(798)),require(D(876)),require(D(1311)),require("react-dom")):typeof define===D(790)&&define[D(384)]?define([D(1587),D(664),D(848),D(1246),"@ant-design/icons",D(688),"immer",D(876),D(1311),D(536)],l):(De=typeof globalThis!==D(439)?globalThis:De||self,l(De[D(1808)]={},De[D(2042)],De[D(1412)],De.antd,De.icons,De[D(688)],De[D(798)],De[D(876)],De[D(334)]))})(this,function(De,l,D,z,ce,px,s0,be,l0){"use strict";function _0x5528(De,l){De=De-205;const D=_0x3a38();let z=D[De];if(_0x5528.MbEpFz===void 0){var ce=function(l0){const c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=";let rt="",St="";for(let _e=0,Dn,Ln,Nt=0;Ln=l0.charAt(Nt++);~Ln&&(Dn=_e%4?Dn*64+Ln:Ln,_e++%4)?rt+=String.fromCharCode(255&Dn>>(-2*_e&6)):0)Ln=c.indexOf(Ln);for(let _e=0,Dn=rt.length;_e<Dn;_e++)St+="%"+("00"+rt.charCodeAt(_e).toString(16)).slice(-2);return decodeURIComponent(St)};_0x5528.LZLaLk=ce,_0x5528.KjhauA={},_0x5528.MbEpFz=!0}const px=D[0],s0=De+px,be=_0x5528.KjhauA[s0];return be?z=be:(z=_0x5528.LZLaLk(z),_0x5528.KjhauA[s0]=z),z}const c=_0x5528;var rt=document.createElement("style");rt[c(890)]=`.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}.ConfigEditor-module__configEditor__dinNG{width:100%;height:100%;display:flex;flex-direction:column}.ConfigEditor-module__configEditor__dinNG .ant-layout{background:#f5f5f5}.ConfigEditor-module__configEditor__dinNG .ant-layout-sider{background:#fff}.ConfigEditor-module__configEditor__dinNG .ant-collapse-ghost>.ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box{padding:8px 0}.ConfigEditor-module__configEditor__dinNG .ant-list-item{padding:8px 12px}.ConfigEditor-module__canvasGrid__yL2Pn{background-image:linear-gradient(#e8e8e8 1px,transparent 1px),linear-gradient(90deg,#e8e8e8 1px,transparent 1px);background-size:20px 20px}.ConfigEditor-module__nodeSelected__CePHY{box-shadow:0 0 0 2px #1890ff,0 0 10px #1890ff4d}.ConfigEditor-module__dragging__w3tvz{cursor:grabbing!important;opacity:.8}.ConfigEditor-module__toolbarBtn__vRYDU{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.ConfigEditor-module__toolbarBtn__vRYDU:hover{background-color:#f3f4f6}.ConfigEditor-module__toolbarBtn__vRYDU.ConfigEditor-module__active__nREu2{background-color:#dbeafe;color:#2563eb}.ConfigEditor-module__propertyForm__f-Egu .ant-form-item{margin-bottom:12px}.ConfigEditor-module__propertyForm__f-Egu .ant-form-item-label{padding-bottom:4px}.ConfigEditor-module__materialItem__rDby0{transition:all .2s}.ConfigEditor-module__materialItem__rDby0:hover{background-color:#f9fafb}.ConfigEditor-module__materialItem__rDby0.ConfigEditor-module__selected__rIJzf{background-color:#eff6ff;box-shadow:0 0 0 2px #60a5fa}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar{width:6px;height:6px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-thumb:hover{background:#a8a8a8}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.\\!visible{visibility:visible!important}.visible{visibility:visible}.static{position:static}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.-top-6{top:-1.5rem}.bottom-0{bottom:0}.bottom-4{bottom:1rem}.left-0{left:0}.left-1\\/2{left:50%}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.z-10{z-index:10}.z-50{z-index:50}.m-0{margin:0}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.\\!mr-0{margin-right:0!important}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-2{margin-left:.5rem}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-0\\.5{height:.125rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-3{height:.75rem}.h-4{height:1rem}.h-48{height:12rem}.h-6{height:1.5rem}.h-full{height:100%}.max-h-\\[400px\\]{max-height:400px}.w-0\\.5{width:.125rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-8{width:2rem}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0px}.min-w-\\[180px\\]{min-width:180px}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-crosshair{cursor:crosshair}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.list-none{list-style-type:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-l-2{border-left-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-amber-100{--tw-border-opacity: 1;border-color:rgb(254 243 199 / var(--tw-border-opacity, 1))}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1))}.border-amber-300{--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity, 1))}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.\\!bg-blue-500{--tw-bg-opacity: 1 !important;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))!important}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-blue-50\\/50{background-color:#eff6ff80}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-blue-500\\/10{background-color:#3b82f61a}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.object-contain{-o-object-fit:contain;object-fit:contain}.p-0{padding:0}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pr-4{padding-right:1rem}.pt-1{padding-top:.25rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity, 1))}.text-amber-950{--tw-text-opacity: 1;color:rgb(69 26 3 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-blue-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity, 1)) }.ring-opacity-50{--tw-ring-opacity: .5 }.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.file\\:mr-4::file-selector-button{margin-right:1rem}.file\\:rounded-full::file-selector-button{border-radius:9999px}.file\\:border-0::file-selector-button{border-width:0px}.file\\:bg-blue-50::file-selector-button{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.file\\:px-4::file-selector-button{padding-left:1rem;padding-right:1rem}.file\\:py-2::file-selector-button{padding-top:.5rem;padding-bottom:.5rem}.file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:font-semibold::file-selector-button{font-weight:600}.file\\:text-blue-700::file-selector-button{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.hover\\:border-blue-500:hover{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.hover\\:bg-blue-50:hover{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.hover\\:file\\:bg-blue-100::file-selector-button:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1)) }
2
+ /*$vite$:1*/`,document.head[c(438)](rt);function St(e){const n=c;return e&&e[n(1677)]&&Object[n(1295)].hasOwnProperty[n(1164)](e,"default")?e[n(1764)]:e}var _e={},Dn={exports:{}},Ln;function Nt(){const e=c;return Ln?Dn.exports:(Ln=1,(function(n){const t=_0x5528;function o(x){return x&&x[_0x5528(1677)]?x:{default:x}}n[t(1587)]=o,n[t(1587)].__esModule=!0,n[t(1587)].default=n[t(1587)]})(Dn),Dn[e(1587)])}var kt={},Xo;function ls(){const e=c;if(Xo)return kt;Xo=1,Object[e(590)](kt,"__esModule",{value:!0}),kt[e(1764)]=void 0;const n={items_per_page:e(1602),jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:e(1611),next_page:e(1862),prev_5:e(1400),next_5:e(748),prev_3:e(872),next_3:e(1712),page_size:"页码"};return kt.default=n,kt}var It={},Pt={},At={},Et={},Zo;function ds(){const e=c;return Zo||(Zo=1,Object[e(590)](Et,e(1677),{value:!0}),Et[e(1367)]=void 0,Et[e(1367)]={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),Et}var Ko;function us(){const e=c;if(Ko)return At;Ko=1,Object[e(590)](At,e(1677),{value:!0}),At.default=void 0;var n=ds();function t(s){"@babel/helpers - typeof";const u=e;return t=u(790)==typeof Symbol&&u(1892)==typeof Symbol[u(1955)]?function(f){return typeof f}:function(f){const y=u;return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?y(1892):typeof f},t(s)}function o(s,u){const f=e;var y=Object[f(1210)](s);if(Object[f(2014)]){var g=Object[f(2014)](s);u&&(g=g[f(1874)](function(v){const h=f;return Object.getOwnPropertyDescriptor(s,v)[h(1991)]})),y[f(1148)][f(1932)](y,g)}return y}function x(s){const u=e;for(var f=1;f<arguments[u(658)];f++){var y=arguments[f]!=null?arguments[f]:{};f%2?o(Object(y),!0)[u(1998)](function(g){r(s,g,y[g])}):Object[u(313)]?Object[u(1977)](s,Object[u(313)](y)):o(Object(y))[u(1998)](function(g){const v=u;Object[v(590)](s,g,Object[v(584)](y,g))})}return s}function r(s,u,f){const y=e;return u=i(u),u in s?Object[y(590)](s,u,{value:f,enumerable:!0,configurable:!0,writable:!0}):s[u]=f,s}function i(s){const u=e;var f=a(s,u(810));return u(1892)==t(f)?f:String(f)}function a(s,u){const f=e;if(t(s)!="object"||!s)return s;var y=s[Symbol[f(1335)]];if(y!==void 0){var g=y[f(1164)](s,u);if(f(460)!=t(g))return g;throw new TypeError(f(1598))}return(u==="string"?String:Number)(s)}var d=x(x({},n[e(1367)]),{},{locale:e(1803),today:"今天",now:"此刻",backToToday:e(1466),ok:"确定",timeSelect:e(676),dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",week:"周",month:"月",year:"年",previousMonth:e(1893),nextMonth:"下个月 (翻页下键)",monthSelect:e(2031),yearSelect:e(740),decadeSelect:e(1381),previousYear:e(886),nextYear:e(993),previousDecade:e(817),nextDecade:e(1013),previousCentury:"上一世纪",nextCentury:e(1269),yearFormat:"YYYY年",cellDateFormat:"D",monthBeforeYear:!1});return At.default=d,At}var jt={},Ro;function Jo(){const e=c;if(Ro)return jt;Ro=1,Object[e(590)](jt,e(1677),{value:!0}),jt[e(1764)]=void 0;const n={placeholder:e(301),rangePlaceholder:[e(1214),e(814)]};return jt[e(1764)]=n,jt}var Qo;function Fo(){const e=c;if(Qo)return Pt;Qo=1;var n=Nt()[e(1764)];Object.defineProperty(Pt,e(1677),{value:!0}),Pt[e(1764)]=void 0;var t=n(us()),o=n(Jo());const x={lang:{placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:e(686),monthPlaceholder:e(895),weekPlaceholder:"请选择周",rangePlaceholder:["开始日期",e(1448)],rangeYearPlaceholder:[e(1086),e(780)],rangeMonthPlaceholder:[e(998),e(1669)],rangeQuarterPlaceholder:[e(1242),"结束季度"],rangeWeekPlaceholder:[e(1564),"结束周"],...t.default},timePickerLocale:{...o.default}};return x[e(568)].ok="确定",Pt.default=x,Pt}var _o;function fs(){const e=c;if(_o)return It;_o=1;var n=Nt()[e(1764)];Object.defineProperty(It,e(1677),{value:!0}),It[e(1764)]=void 0;var t=n(Fo());return It[e(1764)]=t.default,It}var $o;function hs(){const e=c;if($o)return _e;$o=1;var n=Nt()[e(1764)];Object[e(590)](_e,e(1677),{value:!0}),_e[e(1764)]=void 0;var t=n(ls()),o=n(fs()),x=n(Fo()),r=n(Jo());const i=e(862),a={locale:e(1655),Pagination:t[e(1764)],DatePicker:x[e(1764)],TimePicker:r[e(1764)],Calendar:o.default,global:{placeholder:e(1830),close:"关闭",sortable:e(614)},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:e(1555),filterCheckAll:"全选",filterSearchPlaceholder:"在筛选项中搜索",emptyText:"暂无数据",selectAll:e(1072),selectInvert:e(994),selectNone:e(713),selectionAll:"全选所有",sortTitle:"排序",expand:e(653),collapse:e(1961),triggerDesc:e(1851),triggerAsc:e(638),cancelSort:e(266)},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:"下一步",Previous:"上一步",Finish:e(1e3)},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:e(1072),removeCurrent:e(2058),selectAll:"全选所有",deselectAll:e(283),removeAll:e(527),selectInvert:e(994)},Upload:{uploading:e(830),removeFile:"删除文件",uploadError:e(387),previewFile:"预览文件",downloadFile:e(1174)},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开",collapse:"收起"},Form:{optional:e(1391),defaultValidateMessages:{default:e(606),required:e(1176),enum:e(560),whitespace:e(919),date:{format:e(1118),parse:e(1026),invalid:e(977)},types:{string:i,method:i,array:i,object:i,number:i,date:i,boolean:i,integer:i,float:i,regexp:i,email:i,url:i,hex:i},string:{len:e(610),min:e(240),max:e(1377),range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:e(1772),max:e(455),range:"${label}须在${min}-${max}之间"},array:{len:e(403),min:e(1302),max:e(2047),range:e(1053)},pattern:{mismatch:e(835)}}},QRCode:{expired:e(1658),refresh:e(1117),scanned:e(1405)},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:"渐变色"}};return _e[e(1764)]=a,_e}var zx,er;function gs(){return er||(er=1,zx=hs()),zx}var ys=gs();const ms=St(ys),ws=e=>(n,t,o)=>{const x=c;return o[x(1765)]=(r,i,...a)=>{const d=x,s=typeof r=="function"?s0[d(677)](r):r;return n(s,i,...a)},e(o[x(1765)],t,o)},vs=ws;function bs(e){return Array[c(293)](e)}function nr(e){const n=c,t=[];for(const o of Object[n(1210)](e)){t[n(1148)](o);const x=e[o];if(x!==null&&typeof x=="object"&&!Array[n(293)](x))for(const r of Object[n(1210)](x))t[n(1148)](o+"."+r)}return t}function ps(e,n,t){const o=c,x=e[o(1410)];if(bs(x)){if(n!=null&&t!=null){const r=x[o(1825)](i=>i[n]===t);if(r)return r}return{}}return x}function tr(e,n,t,o){const x=c,r=ps(e,t,o),i={...r};if(n&&typeof n=="object"&&!Array[x(293)](n))return{...i,...n};if(Array[x(293)](n)){const a={...i};for(const d of n){if(!d||typeof d!==x(460))continue;const s=d;s[x(1934)]!=null&&(a[String(s.paramsCode)]=s[x(1834)])}return a}return i}const zs={id:"_",name:"_",sample:{}};function Cx(e,n,t){const o=c,x=e.boundDatasetId!=null?String(e.boundDatasetId)[o(1597)]():"",r=x?t[o(1825)](a=>a.id===x):void 0,i=r??zs;try{const a=tr(i,n,e.boundDatasetBindCode,e.boundDatasetBindValue);return new Function("data",e[o(655)])(a)===!0}catch(a){return console.warn(o(1324)+e.name+"]:",a),!1}}function xr(e,n,t){for(const o of e)if(Cx(o,n,t))return o}function or(e,n){const t=c;for(const o of e){for(const x of o[t(252)][t(1746)])x[t(1716)]===n&&(x.boundDatasetId=null,x.boundDatasetBindCode=null,x[t(1383)]=null);o[t(954)]===t(1449)&&o.children?.[t(658)]&&or(o[t(221)],n)}}function Mx(e){const n=c;for(const t of e){for(const o of t[n(252)].statusList)delete o[n(1203)];t[n(954)]===n(1449)&&t[n(221)]?.[n(658)]&&Mx(t[n(221)])}}const Bx=(e,n)=>({id:e||be[c(876)](),name:n||"画布 1",nodes:[],canvasConfig:{width:1920,height:1080,background:"#00193C",showGrid:!0},viewport:{scale:1,positionX:0,positionY:0},selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null,history:{past:[],future:[]}}),Cs=()=>{const e=Bx();return{id:be.nanoid(),name:"默认项目",canvases:[e],currentCanvasId:e.id,siblingGroups:[],activeSiblingGroupId:null,navigationStack:[]}},rr=Cs(),Wn=rr.canvases[0],Ms={root:rr,materials:[],mode:c(1524),lineDrawing:{isDrawing:!1,material:null,startPoint:null,endPoint:null},eventFlow:{eventBlocks:[],eventRoots:[],editingEventRootId:null,isEditingEventFlow:!1},dataPool:[],externalHandlerCatalog:[],nodes:Wn[c(405)],canvas:Wn[c(452)],viewport:Wn.viewport,selectedNodeId:Wn.selectedNodeId,selectedNodeIds:Wn[c(399)],selectedStatusId:Wn[c(1090)],history:Wn.history},bn=(e,n,t)=>({id:be[c(876)](),type:e,targetId:n,payload:t,timestamp:Date.now()}),He=px.create()(vs((e,n)=>({...Ms,addCanvas:t=>{const o=c,x=Bx(be[o(876)](),t||o(395)+(n()[o(504)][o(542)].length+1));return e(r=>{const i=o;r[i(504)][i(542)][i(1148)](x),r[i(504)][i(1926)]=x.id;const a=x;r[i(405)]=a[i(405)],r.canvas=a[i(452)],r[i(2022)]=a.viewport,r.selectedNodeId=a[i(286)],r[i(399)]=a[i(399)],r[i(1090)]=a[i(1090)],r[i(1195)]=a.history}),x.id},removeCanvas:t=>{e(o=>{const x=_0x5528,r=o[x(504)].canvases[x(1485)](a=>a.id===t);if(r===-1||o.root.canvases[x(658)]<=1)return;if(o[x(504)].canvases[x(1654)](r,1),o.root.siblingGroups)for(const a of o.root[x(1846)]){const d=a[x(818)].indexOf(t);d!==-1&&a.canvasIds[x(1654)](d,1)}if(o[x(504)][x(948)]&&o[x(504)][x(948)][x(658)]>0&&(o[x(504)][x(948)]=o[x(504)][x(948)][x(1874)](a=>a!==t)),o.root[x(1926)]===t){const a=o[x(504)][x(542)][0];o[x(504)][x(1926)]=a.id,o[x(405)]=a[x(405)],o.canvas=a.canvasConfig,o.viewport=a[x(2022)],o[x(286)]=a.selectedNodeId,o[x(399)]=a[x(399)],o[x(1090)]=a.selectedStatusId,o[x(1195)]=a.history}const i=o[x(504)][x(523)];if(i){const a=(o[x(504)][x(1846)]||[])[x(1825)](d=>d.id===i);(!a||!a[x(818)][x(1402)](o[x(504)][x(1926)]||""))&&(o[x(504)][x(523)]=null)}})},switchCanvas:t=>{e(o=>{const x=_0x5528,r=o[x(504)][x(542)][x(1825)](a=>a.id===t);if(!r)return;o[x(504)][x(1926)]=t,o[x(405)]=r.nodes,o[x(487)]=r[x(452)],o[x(2022)]=r[x(2022)],o.selectedNodeId=r.selectedNodeId,o[x(399)]=r[x(399)],o[x(1090)]=r.selectedStatusId,o[x(1195)]=r[x(1195)];const i=o[x(504)][x(523)];if(i){const a=(o[x(504)][x(1846)]||[])[x(1825)](d=>d.id===i);(!a||!a.canvasIds[x(1402)](t))&&(o[x(504)].activeSiblingGroupId=null)}})},updateCanvasName:(t,o)=>{e(x=>{const r=_0x5528,i=x[r(504)][r(542)][r(1825)](a=>a.id===t);i&&(i.name=o)})},getCurrentCanvas:()=>{const t=c,o=n();return o[t(504)][t(542)][t(1825)](x=>x.id===o[t(504)][t(1926)])},addSiblingGroup:(t,o)=>{const x=c,r=be[x(876)]();return e(i=>{const a=x;i[a(504)][a(1846)]||(i[a(504)][a(1846)]=[]);const d=i[a(504)][a(1846)][a(658)]+1,s=Array[a(1855)](new Set((o||[]).filter(u=>i.root.canvases.some(f=>f.id===u))));i[a(504)][a(1846)][a(1148)]({id:r,name:t||"同级关系 "+d,canvasIds:s})}),r},removeSiblingGroup:t=>{e(o=>{const x=_0x5528;if(!o.root[x(1846)])return;const r=o[x(504)][x(1846)][x(1485)](i=>i.id===t);r!==-1&&o[x(504)][x(1846)][x(1654)](r,1),o.root[x(523)]===t&&(o[x(504)].activeSiblingGroupId=null)})},updateSiblingGroup:(t,o)=>{e(x=>{const r=_0x5528;if(!x[r(504)][r(1846)])return;const i=x[r(504)][r(1846)][r(1825)](a=>a.id===t);if(i&&(o.name!==void 0&&(i[r(863)]=o[r(863)]),o[r(818)]!==void 0)){const a=new Set,d=[];for(const s of o.canvasIds)a[r(1264)](s)||x.root[r(542)][r(1667)](u=>u.id===s)&&(a[r(952)](s),d[r(1148)](s));i[r(818)]=d}})},addCanvasToSiblingGroup:(t,o,x)=>{e(r=>{const i=_0x5528;if(!r[i(504)].siblingGroups)return;const a=r[i(504)].siblingGroups[i(1825)](d=>d.id===t);a&&r[i(504)].canvases.some(d=>d.id===o)&&(a[i(818)][i(1402)](o)||(typeof x===i(1718)&&x>=0&&x<=a[i(818)].length?a[i(818)].splice(x,0,o):a.canvasIds[i(1148)](o)))})},removeCanvasFromSiblingGroup:(t,o)=>{e(x=>{const r=_0x5528;if(!x[r(504)][r(1846)])return;const i=x[r(504)][r(1846)].find(d=>d.id===t);if(!i)return;const a=i[r(818)][r(229)](o);a!==-1&&i[r(818)][r(1654)](a,1)})},moveCanvasInSiblingGroup:(t,o,x)=>{e(r=>{const i=_0x5528;if(!r[i(504)][i(1846)])return;const a=r.root[i(1846)][i(1825)](u=>u.id===t);if(!a)return;const d=a.canvasIds.indexOf(o);if(d===-1)return;const s=x==="up"?d-1:d+1;s<0||s>=a[i(818)][i(658)]||([a[i(818)][d],a[i(818)][s]]=[a.canvasIds[s],a[i(818)][d]])})},nextSiblingCanvas:(t,o=!1)=>{const x=c,r=n(),i=r[x(504)][x(1846)]?.[x(1825)](u=>u.id===t);if(!i||i.canvasIds[x(658)]===0)return null;const a=i[x(818)][x(1874)](u=>r[x(504)].canvases.some(f=>f.id===u));if(a[x(658)]===0)return null;const d=a[x(229)](r[x(504)][x(1926)]||"");let s;if(d===-1)s=0;else if(d===a[x(658)]-1){if(!o)return null;s=0}else s=d+1;return e(u=>{const f=x;u[f(504)][f(523)]=t}),n()[x(1333)](a[s]),a[s]},prevSiblingCanvas:(t,o=!1)=>{const x=c,r=n(),i=r[x(504)].siblingGroups?.find(u=>u.id===t);if(!i||i[x(818)][x(658)]===0)return null;const a=i[x(818)][x(1874)](u=>r[x(504)][x(542)].some(f=>f.id===u));if(a.length===0)return null;const d=a[x(229)](r[x(504)][x(1926)]||"");let s;if(d===-1)s=a[x(658)]-1;else if(d===0){if(!o)return null;s=a.length-1}else s=d-1;return e(u=>{const f=x;u[f(504)].activeSiblingGroupId=t}),n()[x(1333)](a[s]),a[s]},gotoSiblingCanvas:(t,o)=>{const x=c,r=n(),i=r[x(504)][x(1846)]?.find(d=>d.id===t);if(!i)return null;const a=i[x(818)][x(1874)](d=>r[x(504)][x(542)][x(1667)](s=>s.id===d));return o<0||o>=a.length?null:(e(d=>{const s=x;d.root[s(523)]=t}),n()[x(1333)](a[o]),a[o])},getSiblingGroupsByCanvas:t=>{const o=c;return(n()[o(504)][o(1846)]||[]).filter(r=>r[o(818)].includes(t))},setActiveSiblingGroup:t=>{e(o=>{const x=_0x5528;if(t===null){o[x(504)][x(523)]=null;return}(o[x(504)][x(1846)]||[])[x(1667)](i=>i.id===t)&&(o[x(504)][x(523)]=t)})},jumpToCanvas:t=>{const o=c,x=n();if(!x[o(504)].canvases[o(1667)](i=>i.id===t)||x[o(504)][o(1926)]===t)return;const r=x[o(504)][o(1926)];r&&e(i=>{const a=o;i[a(504)].navigationStack||(i[a(504)][a(948)]=[]),i[a(504)][a(948)].push(r)}),n()[o(1333)](t)},goBack:()=>{const t=c,o=n();if((o.root.navigationStack||[])[t(658)]===0)return null;let r=null;const i=new Set(o[t(504)][t(542)][t(1902)](a=>a.id));return e(a=>{const d=t;for(;a[d(504)][d(948)]&&a[d(504)][d(948)].length>0;){const s=a[d(504)][d(948)][d(374)]();if(i[d(1264)](s)){r=s;break}}}),r&&n()[t(1333)](r),r},clearNavigationStack:()=>{e(t=>{const o=_0x5528;t[o(504)].navigationStack=[]})},setSelectedNodeIds:t=>{e(o=>{const x=_0x5528,r=o[x(504)][x(542)].find(i=>i.id===o[x(504)][x(1926)]);r&&(r[x(399)]=t,o[x(399)]=t)})},addSelectedNodeId:t=>{e(o=>{const x=_0x5528,r=o[x(504)][x(542)][x(1825)](i=>i.id===o.root[x(1926)]);r&&!r.selectedNodeIds.includes(t)&&(r[x(399)][x(1148)](t),o[x(399)]=r[x(399)])})},removeSelectedNodeId:t=>{e(o=>{const x=_0x5528,r=o[x(504)][x(542)].find(i=>i.id===o[x(504)][x(1926)]);r&&(r[x(399)]=r[x(399)][x(1874)](i=>i!==t),o[x(399)]=r[x(399)])})},clearSelectedNodeIds:()=>{e(t=>{const o=_0x5528,x=t[o(504)][o(542)].find(r=>r.id===t[o(504)][o(1926)]);x&&(x[o(399)]=[],t[o(399)]=[])})},addNode:(t,o=!0)=>{e(x=>{const r=_0x5528,i=x[r(504)][r(542)].find(d=>d.id===x[r(504)][r(1926)]);if(!i)return;const a={...t,id:t.id||be[r(876)]()};i[r(405)].push(a),x[r(405)]=i.nodes,o&&(i.selectedNodeId=a.id,x[r(286)]=a.id,i[r(1195)][r(1600)].push(bn(r(230),a.id)),x.history=i[r(1195)])})},updateNode:(t,o)=>{e(x=>{const r=_0x5528,i=x.root[r(542)][r(1825)](d=>d.id===x.root[r(1926)]);if(!i)return;const a=i[r(405)].find(d=>d.id===t);a&&(o.normalStyle&&Object[r(517)](a[r(1065)],o[r(1065)]),o[r(252)]&&(a[r(252)]={...a[r(252)],...o.contentInfo}),o[r(863)]&&(a[r(863)]=o[r(863)]),o.controlInfo&&Object.assign(a[r(1888)],o[r(1888)]),o[r(221)]&&(a[r(221)]=o.children),i[r(1195)][r(1600)][r(1148)](bn(r(1823),t,o)),x[r(1195)]=i[r(1195)],x.nodes=i[r(405)])})},updateNodeStyle:(t,o)=>{e(x=>{const r=_0x5528,i=x.root[r(542)][r(1825)](d=>d.id===x[r(504)][r(1926)]);if(!i)return;const a=i[r(405)].find(d=>d.id===t);a&&(Object[r(517)](a[r(1065)],o),i.history[r(1600)][r(1148)](bn(r(1823),t,{normalStyle:o})),x[r(1195)]=i[r(1195)],x[r(405)]=i[r(405)])})},updateNodeContent:(t,o)=>{e(x=>{const r=_0x5528,i=x[r(504)][r(542)][r(1825)](d=>d.id===x.root[r(1926)]);if(!i)return;const a=i[r(405)].find(d=>d.id===t);a&&(a[r(252)]={...a[r(252)],...o},i.history[r(1600)][r(1148)](bn(r(1823),t,{contentInfo:o})),x[r(1195)]=i[r(1195)],x[r(405)]=i[r(405)])})},updateNodeControl:(t,o)=>{e(x=>{const r=_0x5528,i=x[r(504)][r(542)].find(d=>d.id===x[r(504)][r(1926)]);if(!i)return;const a=i.nodes.find(d=>d.id===t);a&&(Object[r(517)](a[r(1888)],o),i[r(1195)][r(1600)][r(1148)](bn(r(1823),t,{controlInfo:o})),x[r(1195)]=i.history,x.nodes=i.nodes)})},removeNode:t=>{e(o=>{const x=_0x5528,r=o[x(504)][x(542)].find(a=>a.id===o[x(504)].currentCanvasId);if(!r)return;const i=r.nodes[x(1485)](a=>a.id===t);i!==-1&&(r[x(405)].splice(i,1),o.nodes=r[x(405)],r.selectedNodeId===t&&(r[x(286)]=null,o[x(286)]=null,r[x(1090)]=null,o[x(1090)]=null),r[x(399)]=r.selectedNodeIds.filter(a=>a!==t),o[x(399)]=r[x(399)],r[x(1195)].past[x(1148)](bn("NODE_DELETE",t)),o[x(1195)]=r[x(1195)])})},selectNode:t=>{e(o=>{const x=_0x5528,r=o[x(504)].canvases[x(1825)](i=>i.id===o[x(504)].currentCanvasId);r&&(r[x(286)]=t,o[x(286)]=t,r[x(1090)]=null,o.selectedStatusId=null,t&&(r[x(1195)][x(1600)][x(1148)](bn(x(230),t)),o[x(1195)]=r[x(1195)]))})},bringToFront:t=>{e(o=>{const x=_0x5528,r=o.root.canvases.find(d=>d.id===o[x(504)][x(1926)]);if(!r)return;const i=r[x(405)][x(1485)](d=>d.id===t);if(i===-1||i===r.nodes[x(658)]-1)return;const[a]=r.nodes[x(1654)](i,1);r[x(405)][x(1148)](a),o[x(405)]=r[x(405)],r[x(1195)][x(1600)][x(1148)](bn("PROPERTY_CHANGE",t,{zOrder:x(1688)})),o[x(1195)]=r[x(1195)]})},sendToBack:t=>{e(o=>{const x=_0x5528,r=o.root[x(542)][x(1825)](d=>d.id===o[x(504)][x(1926)]);if(!r)return;const i=r[x(405)].findIndex(d=>d.id===t);if(i<=0)return;const[a]=r[x(405)].splice(i,1);r[x(405)][x(1691)](a),o[x(405)]=r.nodes,r.history[x(1600)][x(1148)](bn("PROPERTY_CHANGE",t,{zOrder:x(1158)})),o.history=r[x(1195)]})},addStatus:(t,o)=>{e(x=>{const r=_0x5528,i=x[r(504)][r(542)][r(1825)](s=>s.id===x[r(504)].currentCanvasId);if(!i)return;const a=i[r(405)][r(1825)](s=>s.id===t);if(!a)return;const d={...o,id:be.nanoid()};a.contentInfo.statusList[r(1148)](d),i.history[r(1600)][r(1148)](bn(r(1647),t,{statusId:d.id})),x.history=i[r(1195)]})},removeStatus:(t,o)=>{e(x=>{const r=_0x5528,i=x[r(504)][r(542)][r(1825)](s=>s.id===x[r(504)][r(1926)]);if(!i)return;const a=i[r(405)][r(1825)](s=>s.id===t);if(!a)return;const d=a[r(252)][r(1746)][r(1485)](s=>s.id===o);d!==-1&&(a[r(252)][r(1746)][r(1654)](d,1),a[r(252)][r(1169)]===o&&(a[r(252)].currentStatusId=void 0),i[r(1090)]===o&&(i[r(1090)]=null,x[r(1090)]=null))})},updateStatus:(t,o,x)=>{e(r=>{const i=_0x5528,a=r[i(504)][i(542)].find(u=>u.id===r[i(504)][i(1926)]);if(!a)return;const d=a.nodes[i(1825)](u=>u.id===t);if(!d)return;const s=d.contentInfo[i(1746)][i(1825)](u=>u.id===o);s&&Object[i(517)](s,x)})},selectStatus:t=>{e(o=>{const x=_0x5528,r=o[x(504)][x(542)][x(1825)](i=>i.id===o[x(504)][x(1926)]);r&&(r[x(1090)]=t,o[x(1090)]=t)})},evaluateCurrentStatus:(t,o)=>{const x=c,r=n(),i=r[x(504)][x(542)][x(1825)](s=>s.id===r[x(504)][x(1926)]);if(!i)return;const a=i.nodes[x(1825)](s=>s.id===t);if(!a)return;const{dataPool:d}=n();for(const s of a[x(252)][x(1746)])if(Cx(s,o,d))return s.id},addDataPoolItem:t=>{const o=c,x=be[o(876)]();return e(r=>{const i=o;let a={};t.sample&&typeof t[i(1410)]===i(460)&&(Array[i(293)](t.sample),a=t[i(1410)]),r[i(1416)][i(1148)]({...t,id:x,sample:a})}),x},updateDataPoolItem:(t,o)=>{e(x=>{const r=_0x5528,i=x[r(1416)].find(a=>a.id===t);i&&(o[r(863)]!==void 0&&(i.name=o[r(863)]),o.sample!==void 0&&(o[r(1410)]&&typeof o[r(1410)]=="object"?i[r(1410)]=o[r(1410)]:i[r(1410)]={}))})},removeDataPoolItem:t=>{e(o=>{const x=_0x5528,r=o[x(1416)][x(1485)](i=>i.id===t);if(r!==-1){o[x(1416)][x(1654)](r,1);for(const i of o[x(504)][x(542)])or(i.nodes,t)}})},setDataPool:t=>{e(o=>{const x=_0x5528;o.dataPool=t[x(1902)](r=>{const i=x;let a={};return r.sample&&typeof r[i(1410)]===i(460)&&(a=r[i(1410)]),{...r,sample:a}})})},setEventFlow:t=>{e(o=>{const x=_0x5528;o.eventFlow={eventBlocks:t.eventBlocks??[],eventRoots:t[x(1698)]??[],editingEventRootId:t[x(700)]??null,isEditingEventFlow:t.isEditingEventFlow??!1}})},setExternalHandlerCatalog:t=>{e(o=>{const x=_0x5528,r=new Set;o.externalHandlerCatalog=[];for(const i of t){const a=String(i.key??"")[x(1597)]();!a||r[x(1264)](a)||(r.add(a),o.externalHandlerCatalog[x(1148)]({key:a,label:String(i[x(1150)]??"")[x(1597)]()||a,description:i[x(1468)]}))}})},addMaterial:t=>{e(o=>{const x=_0x5528;if(o[x(940)][x(1667)](a=>a[x(863)]===t[x(863)]))return;const i={...t,id:be[x(876)]()};o[x(940)][x(1148)](i)})},updateMaterial:(t,o)=>{e(x=>{const r=_0x5528,i=x[r(940)][r(1825)](a=>a.id===t);i&&Object[r(517)](i,o)})},removeMaterial:t=>{e(o=>{const x=_0x5528,r=o[x(940)].findIndex(i=>i.id===t);r!==-1&&o.materials[x(1654)](r,1)})},setViewport:t=>{e(o=>{const x=_0x5528,r=o[x(504)][x(542)][x(1825)](i=>i.id===o[x(504)][x(1926)]);r&&(Object[x(517)](r[x(2022)],t),o[x(2022)]=r[x(2022)])})},setCanvasConfig:t=>{e(o=>{const x=_0x5528,r=o[x(504)].canvases[x(1825)](i=>i.id===o.root[x(1926)]);r&&(r[x(452)]={...r.canvasConfig,...t},o[x(487)]=r[x(452)])})},setMode:t=>{e(o=>{const x=_0x5528;o[x(1815)]=t})},startLineDrawing:t=>{e(o=>{const x=_0x5528;o[x(1815)]="line-draw",o[x(1429)]={isDrawing:!0,material:t,startPoint:null,endPoint:null}})},updateLineDrawing:t=>{e(o=>{const x=_0x5528;o[x(1429)][x(1974)]&&(o.lineDrawing[x(410)]=t)})},endLineDrawing:()=>{e(t=>{const o=_0x5528;t.mode=o(1524),t[o(1429)]={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},cancelLineDrawing:()=>{e(t=>{const o=_0x5528;t[o(1815)]=o(1524),t[o(1429)]={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},undo:()=>{e(t=>{const o=_0x5528,x=t.root[o(542)].find(i=>i.id===t[o(504)].currentCanvasId);if(!x)return;const r=x[o(1195)][o(1600)].pop();r&&(x[o(1195)].future[o(1148)](r),t[o(1195)]=x[o(1195)])})},redo:()=>{e(t=>{const o=_0x5528,x=t[o(504)][o(542)][o(1825)](i=>i.id===t[o(504)][o(1926)]);if(!x)return;const r=x[o(1195)].future[o(374)]();r&&(x[o(1195)][o(1600)][o(1148)](r),t[o(1195)]=x[o(1195)])})},recordEvent:t=>{e(o=>{const x=_0x5528,r=o[x(504)][x(542)].find(i=>i.id===o[x(504)].currentCanvasId);r&&(r[x(1195)].past.push(t),r[x(1195)][x(508)]=[],o[x(1195)]=r[x(1195)])})},exportScheme:()=>{const t=c,o=n(),{activeSiblingGroupId:x,navigationStack:r,...i}=o[t(504)];return{version:t(1596),root:i,materials:o[t(940)],dataPool:o[t(1416)],eventFlow:o[t(721)],metadata:{name:o[t(504)][t(863)],description:"",createdAt:new Date().toISOString(),updatedAt:new Date()[t(1898)]()}}},importScheme:t=>{e(o=>{const x=_0x5528;if(t[x(504)]){if(o[x(504)]=t[x(504)],!o[x(504)].siblingGroups)o.root.siblingGroups=[];else{const i=new Set(o.root[x(542)].map(a=>a.id));for(const a of o[x(504)].siblingGroups)a[x(818)]=a[x(818)][x(1874)](d=>i[x(1264)](d))}o[x(504)][x(523)]=null,o[x(504)][x(948)]=[],o[x(1416)]=t[x(1416)]??[],t[x(721)]&&(o.eventFlow={eventBlocks:t[x(721)][x(1724)]??[],eventRoots:t[x(721)][x(1698)]??[],editingEventRootId:t[x(721)].editingEventRootId??null,isEditingEventFlow:t[x(721)][x(1795)]??!1});const r=o[x(504)][x(542)][x(1825)](i=>i.id===o.root[x(1926)])||o[x(504)].canvases[0];r&&(o[x(504)].currentCanvasId=r.id,o[x(405)]=r[x(405)],o[x(487)]=r[x(452)],o[x(2022)]=r[x(2022)],o[x(286)]=r.selectedNodeId,o[x(399)]=r[x(399)],o[x(1090)]=r[x(1090)],o.history=r[x(1195)])}else{const r=Bx();r.nodes=t[x(405)]||[],o[x(504)][x(542)]=[r],o[x(504)].currentCanvasId=r.id,o[x(504)][x(1846)]=[],o.root[x(523)]=null,o.root.navigationStack=[],o[x(1416)]=t[x(1416)]??[],t.eventFlow&&(o[x(721)]={eventBlocks:t[x(721)].eventBlocks??[],eventRoots:t[x(721)].eventRoots??[],editingEventRootId:t[x(721)].editingEventRootId??null,isEditingEventFlow:t[x(721)][x(1795)]??!1}),o[x(405)]=r[x(405)],o[x(487)]=r.canvasConfig,o[x(2022)]=t[x(2022)]||r[x(2022)],o[x(286)]=null,o.selectedStatusId=null,o[x(1195)]={past:[],future:[]}}for(const r of o.root.canvases)Mx(r[x(405)])})},exportCanvas:t=>{const o=c,x=n(),r=t||x[o(504)][o(1926)],i=x[o(504)][o(542)].find(a=>a.id===r);if(!i)throw new Error(o(395)+r+o(1088));return{version:o(1596),canvas:i,metadata:{name:i[o(863)],description:"",exportedAt:new Date()[o(1898)]()}}},importCanvas:(t,o)=>{e(x=>{const r=_0x5528,i=t[r(487)],a=o||x[r(504)][r(1926)],d=x[r(504)][r(542)][r(1825)](s=>s.id===a);if(d)d[r(863)]=i[r(863)],d[r(405)]=i[r(405)]||[],d[r(452)]=i[r(452)],d[r(2022)]=i[r(2022)],d[r(286)]=null,d[r(399)]=[],d[r(1090)]=null,d[r(1195)]=i[r(1195)]||{past:[],future:[]},a===x.root[r(1926)]&&(x[r(405)]=d[r(405)],x.canvas=d.canvasConfig,x[r(2022)]=d[r(2022)],x.selectedNodeId=d[r(286)],x[r(399)]=d.selectedNodeIds,x.selectedStatusId=d.selectedStatusId,x[r(1195)]=d[r(1195)]);else{const s={...i,id:be.nanoid(),selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null};x[r(504)][r(542)][r(1148)](s),x[r(504)][r(1926)]=s.id,x.nodes=s.nodes,x[r(487)]=s[r(452)],x[r(2022)]=s[r(2022)],x[r(286)]=s[r(286)],x.selectedNodeIds=s[r(399)],x[r(1090)]=s[r(1090)],x[r(1195)]=s.history}for(const s of x[r(504)][r(542)])Mx(s[r(405)])})},addEventBlock:t=>{const o=c,x=be[o(876)]();return e(r=>{const i=o;r[i(721)][i(1724)][i(1148)]({...t,id:x})}),x},upsertEventBlock:t=>{e(o=>{const x=_0x5528,r=o[x(721)][x(1724)][x(1485)](i=>i.id===t.id);r!==-1?o[x(721)].eventBlocks[r]={...t}:o[x(721)][x(1724)][x(1148)]({...t})})},updateEventBlock:(t,o)=>{e(x=>{const r=_0x5528,i=x[r(721)].eventBlocks.find(a=>a.id===t);i&&Object[r(517)](i,o)})},removeEventBlock:t=>{e(o=>{const x=_0x5528,r=o[x(721)].eventBlocks[x(1485)](i=>i.id===t);r!==-1&&o[x(721)][x(1724)].splice(r,1)})},addEventRoot:t=>{const o=c,x=be[o(876)]();return e(r=>{const i=o;r.eventFlow[i(1698)][i(1148)]({...t,id:x})}),x},updateEventRoot:(t,o)=>{e(x=>{const r=_0x5528,i=x[r(721)][r(1698)].find(a=>a.id===t);i&&Object.assign(i,o)})},removeEventRoot:t=>{e(o=>{const x=_0x5528,r=o.eventFlow[x(1698)][x(1485)](i=>i.id===t);r!==-1&&o.eventFlow.eventRoots[x(1654)](r,1)})},setEditingEventRoot:t=>{e(o=>{const x=_0x5528;o.eventFlow[x(700)]=t})},setIsEditingEventFlow:t=>{e(o=>{const x=_0x5528;o[x(721)][x(1795)]=t})},bindNodeEvent:(t,o,x)=>{const r=be.nanoid();return e(i=>{const a=_0x5528;i[a(721)][a(1698)][a(1148)]({id:r,bindNodeId:t,eventType:o,flowData:x,enabled:!0})}),r},unbindNodeEvent:(t,o,x)=>{e(r=>{const i=_0x5528,a=r[i(721)][i(1698)].findIndex(d=>{const s=i;return d.bindNodeId!==t||d[s(1280)]!==o?!1:o===s(1396)?(d[s(1797)]||"")[s(1597)]()===(x||"")[s(1597)]():!0});a!==-1&&r[i(721)][i(1698)][i(1654)](a,1)})},getNodeEventRoots:t=>{const o=c;return n()[o(721)][o(1698)].filter(x=>x[o(930)]===t)}}))),ir=[{id:be[c(876)](),name:"矩形",type:c(418),src:c(1962)+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="60"><rect width="100" height="60" fill="#1890ff" rx="4"/></svg>')},{id:be[c(876)](),name:"圆形",type:c(418),src:"data:image/svg+xml,"+encodeURIComponent(c(1871))},{id:be[c(876)](),name:"圆角矩形",type:"IMAGE",src:c(1962)+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="60"><rect width="100" height="60" fill="#faad14" rx="20"/></svg>')},{id:be[c(876)](),name:"阀门",type:c(418),src:c(1962)+encodeURIComponent(c(1638))},{id:be.nanoid(),name:"泵",type:c(418),src:c(1962)+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="35" r="20" fill="#bfbfbf" stroke="#595959" stroke-width="2"/><rect x="25" y="5" width="10" height="15" fill="#595959"/><path d="M30 20 L30 35 M20 30 Q30 45 40 30" stroke="#595959" stroke-width="2" fill="none"/></svg>')},{id:be[c(876)](),name:"罐体",type:"IMAGE",src:c(1962)+encodeURIComponent(c(698))},{id:be[c(876)](),name:c(370),type:c(480),content:{label:"标签",value:"值",labelStyle:{fontSize:14,fontWeight:c(1970),color:c(1975),textAlign:c(1921)},valueStyle:{fontSize:14,fontWeight:c(2008),color:c(1385),textAlign:c(1921)}}},{id:be[c(876)](),name:"线条",type:"LINE",config:{thickness:2,lineWeight:2,color:c(1975),lineType:c(1222)}}],Dx=e=>({id:be[c(876)](),name:"默认状态",expression:c(654),material:{...e,id:be.nanoid()},boundDatasetId:null}),ar=(e,n,t)=>{const o=c;if(t?.[o(954)]===o(489)&&t.config?.[o(405)]){const x=t[o(1325)][o(405)].map(u=>({...u,id:be.nanoid()}));let r=1/0,i=1/0,a=-1/0,d=-1/0;x.forEach(u=>{const f=o,y=u[f(1065)].x||0,g=u[f(1065)].y||0,v=u[f(1065)][f(1232)]||0,h=u[f(1065)][f(1129)]||0;r=Math[f(719)](r,y),i=Math[f(719)](i,g),a=Math.max(a,y+v),d=Math[f(735)](d,g+h)});const s=x[o(1902)](u=>({...u,normalStyle:{...u.normalStyle,x:(u.normalStyle.x||0)-r,y:(u.normalStyle.y||0)-i,scale:void 0}}));return{id:be[o(876)](),name:t[o(863)]||o(1353),type:"group",normalStyle:{width:a-r,height:d-i,x:e,y:n},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:s}}return{id:be.nanoid(),name:o(1338),type:"normal",normalStyle:{width:120,height:100,x:e,y:n,background:o(1958),padding:8},contentInfo:{statusList:t?[Dx(t)]:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}}},{Panel:it}=z[c(317)],{Text:d0}=z[c(1635)],cr=({onUploadSvg:e})=>{const n=c,{materials:t,addMaterial:o,removeMaterial:x,selectedStatusId:r,selectStatus:i,mode:a,lineDrawing:d,startLineDrawing:s,cancelLineDrawing:u}=He(),[f,y]=D.useState([n(1608),n(273),"text","line"]),g=w=>{const m=n,b=new FileReader;return b[m(357)]=C=>{const I=m,U=C[I(1450)]?.[I(585)];o({name:w[I(863)].replace(I(1566),""),type:I(418),src:U})},b[m(1344)](w),!1},v={basic:t[n(1874)](w=>["矩形","圆形",n(1730)][n(1402)](w[n(863)])),device:t[n(1874)](w=>["阀门","泵","罐体"][n(1402)](w[n(863)])||w[n(954)]===n(418)&&!["矩形","圆形",n(1730)].includes(w[n(863)])&&w[n(863)]!==n(821)),text:t[n(1874)](w=>w.type==="TEXT"),line:t[n(1874)](w=>w[n(954)]==="LINE"),group:t[n(1874)](w=>w.type===n(489)&&w[n(1325)]?.nodes),custom:t.filter(w=>w[n(954)]==="CUSTOM"&&!w[n(1325)]?.nodes||w[n(954)]===n(418)&&!["矩形","圆形",n(1730),"阀门","泵","罐体"][n(1402)](w.name))},h=(w,m)=>{const b=n;w[b(1841)][b(476)]=b(1636),w[b(1841)].setData(b(808),JSON[b(244)](m));const C=w[b(1433)][b(1894)](".material-preview");C&&w[b(1841)].setDragImage(C,20,20)},p=w=>{const m=n;w.type===m(1245)&&s(w)},M=(w,m=!1)=>{const b=n,C=m===!0,I=a==="line-draw"&&C&&d.material?.id===w.id;return l[b(510)](z.List[b(1098)],{draggable:!C,onDragStart:U=>h(U,w),onClick:()=>C&&p(w),className:b(1788)+b(C?729:1610)+b(1682)+b(1800)+b(1682)+(I?b(583):"")+b(339),actions:[C?l.jsx(z.Button,{type:"text",size:b(1201),icon:l[b(510)](ce[b(1833)],{}),onClick:U=>{U[b(540)](),p(w)},children:"绘制"},"draw"):null,l.jsx(z.Button,{type:b(600),size:b(1201),danger:!0,icon:l[b(510)](ce.DeleteOutlined,{}),onClick:U=>{U[b(540)](),x(w.id)}},b(741))][b(1874)](Boolean),children:l.jsxs(b(1384),{className:b(1121)+(C?"":b(327)),children:[l[b(510)]("div",{className:"material-preview w-12 h-12 flex items-center justify-center bg-white rounded border border-gray-200",children:w[b(954)]==="IMAGE"&&w[b(800)]?l.jsx(z[b(2044)],{src:w[b(800)],alt:w[b(863)],width:40,height:40,preview:!1}):w[b(954)]===b(480)?l[b(510)](b(390),{className:b(838),children:"T"}):w[b(954)]===b(1245)?l.jsx("div",{className:b(1030)}):w.type===b(489)&&w[b(1325)]?.[b(405)]?l[b(510)]("span",{className:"text-xs text-blue-500 font-bold",children:"G"}):l[b(510)]("span",{className:b(838),children:"?"})}),l.jsxs(b(1384),{className:b(323),children:[l[b(510)](d0,{strong:!0,className:b(667),children:w.name}),l[b(1306)](b(1384),{className:"flex items-center gap-1",children:[l[b(510)](d0,{type:b(1461),className:b(433),children:w[b(954)]}),I&&l[b(510)](z.Tag,{color:"blue",className:"text-xs",children:b(645)})]})]})]})},w.id)};return l[n(1306)](n(1384),{className:n(1204),children:[l.jsxs(n(1384),{className:"p-4 border-b border-gray-200",children:[l[n(510)]("h3",{className:n(435),children:n(1829)}),l[n(510)](d0,{type:n(1461),className:"text-sm",children:"拖拽物料到画布创建节点"})]}),l[n(510)](n(1384),{className:"p-3 border-b border-gray-200",children:e?l[n(510)](z[n(595)],{icon:l[n(510)](ce[n(1286)],{}),block:!0,type:n(325),onClick:()=>{const w=n;e()[w(783)](m=>{const b=w;console[b(1737)](b(1666),m)})},children:n(1534)}):l[n(510)](z.Upload,{accept:n(1566),beforeUpload:g,showUploadList:!1,children:l[n(510)](z[n(595)],{icon:l[n(510)](ce[n(1286)],{}),block:!0,type:n(325),children:n(1534)})})}),l[n(510)](n(1384),{className:n(493),children:l[n(1306)](z[n(317)],{activeKey:f,onChange:w=>y(w),ghost:!0,expandIconPosition:"end",children:[l[n(510)](it,{header:"基础形状",children:l.jsx(z.List,{dataSource:v.basic,renderItem:w=>M(w,!1),locale:{emptyText:l[n(510)](z.Empty,{description:n(599),image:z[n(320)].PRESENTED_IMAGE_SIMPLE})}})},n(1608)),l[n(510)](it,{header:n(505),children:l[n(510)](z[n(592)],{dataSource:v.device,renderItem:w=>M(w,!1),locale:{emptyText:l[n(510)](z.Empty,{description:"暂无物料",image:z[n(320)][n(1620)]})}})},n(273)),l[n(510)](it,{header:"文本",children:l[n(510)](z[n(592)],{dataSource:v.text,renderItem:w=>M(w,!1),locale:{emptyText:l[n(510)](z[n(320)],{description:"暂无物料",image:z[n(320)][n(1620)]})}})},n(600)),l[n(1306)](it,{header:l[n(1306)](n(1384),{className:n(771),children:[l[n(510)]("span",{children:"线条"}),a===n(1842)&&l[n(510)](z[n(1184)],{color:n(1399),className:n(433),children:"绘制模式"})]}),children:[l[n(510)](z[n(592)],{dataSource:v.line,renderItem:w=>M(w,!0),locale:{emptyText:l[n(510)](z.Empty,{description:n(599),image:z.Empty[n(1620)]})}}),a===n(1842)&&l[n(1306)](n(1384),{className:n(304),children:[l[n(510)](n(1384),{children:n(1508)}),l[n(510)](n(1384),{children:"点击画布确定起点和终点"})]})]},n(352)),v[n(1449)][n(658)]>0&&l[n(510)](it,{header:"群组",children:l[n(510)](z[n(592)],{dataSource:v[n(1449)],renderItem:w=>M(w,!1),locale:{emptyText:l[n(510)](z[n(320)],{description:n(599),image:z[n(320)][n(1620)]})}})},n(1449)),v[n(1576)].length>0&&l.jsx(it,{header:n(821),children:l[n(510)](z[n(592)],{dataSource:v[n(1576)],renderItem:w=>M(w,!1),locale:{emptyText:l.jsx(z[n(320)],{description:n(599),image:z.Empty[n(1620)]})}})},n(1576))]})}),l[n(510)](n(1384),{className:"p-3 border-t border-gray-200 bg-gray-50",children:l[n(510)](d0,{type:n(1461),className:n(433),children:a===n(1842)?l[n(510)](l[n(1006)],{children:n(1956)}):l[n(510)](l.Fragment,{children:n(809)})})})]})};var Lx=function(e,n){const t=c;return Lx=Object[t(1799)]||{__proto__:[]}instanceof Array&&function(o,x){const r=t;o[r(1001)]=x}||function(o,x){const r=t;for(var i in x)Object[r(1295)][r(1776)][r(1164)](x,i)&&(o[i]=x[i])},Lx(e,n)};function An(e,n){const t=c;if(typeof n!==t(790)&&n!==null)throw new TypeError("Class extends value "+String(n)+t(880));Lx(e,n);function o(){const x=t;this[x(1272)]=e}e.prototype=n===null?Object[t(648)](n):(o.prototype=n[t(1295)],new o)}function Bs(e,n,t,o){function x(r){return r instanceof t?r:new t(function(i){i(r)})}return new(t||(t=Promise))(function(r,i){const a=_0x5528;function d(f){const y=_0x5528;try{u(o[y(526)](f))}catch(g){i(g)}}function s(f){const y=_0x5528;try{u(o[y(1398)](f))}catch(g){i(g)}}function u(f){const y=_0x5528;f[y(1879)]?r(f.value):x(f.value)[y(663)](d,s)}u((o=o[a(1932)](e,n||[])).next())})}function sr(e,n){const t=c;var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},x,r,i,a=Object[t(648)]((typeof Iterator===t(790)?Iterator:Object)[t(1295)]);return a[t(526)]=d(0),a.throw=d(1),a[t(986)]=d(2),typeof Symbol===t(790)&&(a[Symbol[t(1955)]]=function(){return this}),a;function d(u){return function(f){return s([u,f])}}function s(u){const f=t;if(x)throw new TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(o=0)),o;)try{if(x=1,r&&(i=u[0]&2?r.return:u[0]?r[f(1398)]||((i=r.return)&&i[f(1164)](r),0):r[f(526)])&&!(i=i[f(1164)](r,u[1]))[f(1879)])return i;switch(r=0,i&&(u=[u[0]&2,i[f(1834)]]),u[0]){case 0:case 1:i=u;break;case 4:return o[f(1150)]++,{value:u[1],done:!1};case 5:o[f(1150)]++,r=u[1],u=[0];continue;case 7:u=o[f(1476)][f(374)](),o.trys[f(374)]();continue;default:if(i=o[f(1032)],!(i=i[f(658)]>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o[f(1150)]=u[1];break}if(u[0]===6&&o[f(1150)]<i[1]){o.label=i[1],i=u;break}if(i&&o[f(1150)]<i[2]){o.label=i[2],o.ops[f(1148)](u);break}i[2]&&o[f(1476)][f(374)](),o.trys.pop();continue}u=n[f(1164)](e,o)}catch(y){u=[6,y],r=0}finally{x=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function at(e){const n=c;var t=typeof Symbol=="function"&&Symbol[n(1955)],o=t&&e[t],x=0;if(o)return o.call(e);if(e&&typeof e[n(658)]===n(1718))return{next:function(){return e&&x>=e[n(658)]&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(n(t?330:348))}function u0(e,n){const t=c;var o=typeof Symbol===t(790)&&e[Symbol.iterator];if(!o)return e;var x=o[t(1164)](e),r,i=[],a;try{for(;(n===void 0||n-- >0)&&!(r=x[t(526)]())[t(1879)];)i.push(r[t(1834)])}catch(d){a={error:d}}finally{try{r&&!r[t(1879)]&&(o=x[t(986)])&&o[t(1164)](x)}finally{if(a)throw a[t(360)]}}return i}function f0(e,n,t){const o=c;if(t||arguments[o(658)]===2)for(var x=0,r=n.length,i;x<r;x++)(i||!(x in n))&&(i||(i=Array[o(1295)].slice[o(1164)](n,0,x)),i[x]=n[x]);return e.concat(i||Array[o(1295)][o(1330)][o(1164)](n))}function ct(e){return this instanceof ct?(this.v=e,this):new ct(e)}function Ds(e,n,t){const o=c;if(!Symbol.asyncIterator)throw new TypeError(o(687));var x=t[o(1932)](e,n||[]),r,i=[];return r=Object[o(648)]((typeof AsyncIterator===o(790)?AsyncIterator:Object)[o(1295)]),d(o(526)),d(o(1398)),d("return",a),r[Symbol[o(2055)]]=function(){return this},r;function a(v){return function(h){const p=_0x5528;return Promise[p(369)](h)[p(663)](v,y)}}function d(v,h){x[v]&&(r[v]=function(p){return new Promise(function(M,w){i.push([v,p,M,w])>1||s(v,p)})},h&&(r[v]=h(r[v])))}function s(v,h){try{u(x[v](h))}catch(p){g(i[0][3],p)}}function u(v){const h=o;v.value instanceof ct?Promise[h(369)](v[h(1834)].v)[h(663)](f,y):g(i[0][2],v)}function f(v){s(o(526),v)}function y(v){s("throw",v)}function g(v,h){const p=o;v(h),i[p(255)](),i[p(658)]&&s(i[0][0],i[0][1])}}function Ls(e){const n=c;if(!Symbol[n(2055)])throw new TypeError(n(687));var t=e[Symbol[n(2055)]],o;return t?t.call(e):(e=typeof at===n(790)?at(e):e[Symbol[n(1955)]](),o={},x(n(526)),x("throw"),x("return"),o[Symbol[n(2055)]]=function(){return this},o);function x(i){o[i]=e[i]&&function(a){return new Promise(function(d,s){const u=_0x5528;a=e[i](a),r(d,s,a[u(1879)],a[u(1834)])})}}function r(i,a,d,s){const u=n;Promise[u(369)](s)[u(663)](function(f){i({value:f,done:d})},a)}}typeof SuppressedError=="function"&&SuppressedError;function Ue(e){return typeof e===c(790)}function Sx(e){const n=c;var t=function(x){const r=_0x5528;Error[r(1164)](x),x[r(960)]=new Error()[r(960)]},o=e(t);return o[n(1295)]=Object[n(648)](Error.prototype),o[n(1295)][n(1272)]=o,o}var Nx=Sx(function(e){return function(t){const o=_0x5528;e(this),this[o(650)]=t?t[o(658)]+o(1008)+t[o(1902)](function(x,r){const i=o;return r+1+") "+x[i(2e3)]()})[o(1092)](`
3
+ `):"",this[o(863)]=o(899),this.errors=t}});function h0(e,n){const t=c;if(e){var o=e[t(229)](n);0<=o&&e[t(1654)](o,1)}}var Yt=(function(){const e=c;function n(t){const o=_0x5528;this.initialTeardown=t,this[o(591)]=!1,this[o(752)]=null,this[o(1374)]=null}return n[e(1295)][e(206)]=function(){const t=e;var o,x,r,i,a;if(!this[t(591)]){this[t(591)]=!0;var d=this[t(752)];if(d)if(this[t(752)]=null,Array.isArray(d))try{for(var s=at(d),u=s[t(526)]();!u.done;u=s[t(526)]()){var f=u[t(1834)];f[t(1313)](this)}}catch(M){o={error:M}}finally{try{u&&!u.done&&(x=s[t(986)])&&x[t(1164)](s)}finally{if(o)throw o[t(360)]}}else d.remove(this);var y=this.initialTeardown;if(Ue(y))try{y()}catch(M){a=M instanceof Nx?M[t(1182)]:[M]}var g=this[t(1374)];if(g){this._finalizers=null;try{for(var v=at(g),h=v[t(526)]();!h[t(1879)];h=v[t(526)]()){var p=h.value;try{ur(p)}catch(M){a=a??[],M instanceof Nx?a=f0(f0([],u0(a)),u0(M[t(1182)])):a.push(M)}}}catch(M){r={error:M}}finally{try{h&&!h.done&&(i=v[t(986)])&&i[t(1164)](v)}finally{if(r)throw r[t(360)]}}}if(a)throw new Nx(a)}},n[e(1295)].add=function(t){const o=e;var x;if(t&&t!==this)if(this[o(591)])ur(t);else{if(t instanceof n){if(t[o(591)]||t[o(1084)](this))return;t._addParent(this)}(this._finalizers=(x=this[o(1374)])!==null&&x!==void 0?x:[])[o(1148)](t)}},n[e(1295)][e(1084)]=function(t){const o=e;var x=this[o(752)];return x===t||Array.isArray(x)&&x[o(1402)](t)},n.prototype[e(1002)]=function(t){const o=e;var x=this._parentage;this[o(752)]=Array[o(293)](x)?(x[o(1148)](t),x):x?[x,t]:t},n[e(1295)][e(1077)]=function(t){const o=e;var x=this[o(752)];x===t?this[o(752)]=null:Array[o(293)](x)&&h0(x,t)},n.prototype.remove=function(t){const o=e;var x=this[o(1374)];x&&h0(x,t),t instanceof n&&t[o(1077)](this)},n.EMPTY=(function(){const t=e;var o=new n;return o[t(591)]=!0,o})(),n})(),lr=Yt[c(1791)];function dr(e){const n=c;return e instanceof Yt||e&&n(591)in e&&Ue(e[n(1313)])&&Ue(e.add)&&Ue(e[n(206)])}function ur(e){const n=c;Ue(e)?e():e[n(206)]()}var Ss={Promise:void 0},Ns={setTimeout:function(e,n){const t=c;for(var o=[],x=2;x<arguments.length;x++)o[x-2]=arguments[x];return setTimeout[t(1932)](void 0,f0([e,n],u0(o)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function fr(e){Ns.setTimeout(function(){throw e})}function hr(){}function g0(e){e()}var kx=(function(e){const n=c;An(t,e);function t(o){const x=_0x5528;var r=e[x(1164)](this)||this;return r[x(383)]=!1,o?(r.destination=o,dr(o)&&o[x(952)](r)):r[x(225)]=Ps,r}return t.create=function(o,x,r){return new Ix(o,x,r)},t[n(1295)][n(526)]=function(o){const x=n;this.isStopped||this[x(281)](o)},t.prototype[n(360)]=function(o){const x=n;this.isStopped||(this.isStopped=!0,this[x(1395)](o))},t[n(1295)][n(789)]=function(){const o=n;this[o(383)]||(this[o(383)]=!0,this._complete())},t[n(1295)][n(206)]=function(){const o=n;!this.closed&&(this[o(383)]=!0,e[o(1295)][o(206)].call(this),this[o(225)]=null)},t[n(1295)][n(281)]=function(o){const x=n;this[x(225)][x(526)](o)},t[n(1295)][n(1395)]=function(o){const x=n;try{this[x(225)][x(360)](o)}finally{this.unsubscribe()}},t[n(1295)][n(2026)]=function(){const o=n;try{this[o(225)].complete()}finally{this[o(206)]()}},t})(Yt),ks=(function(){const e=c;function n(t){const o=_0x5528;this[o(444)]=t}return n.prototype.next=function(t){const o=_0x5528;var x=this[o(444)];if(x.next)try{x[o(526)](t)}catch(r){y0(r)}},n.prototype[e(360)]=function(t){var x=this[e(444)];if(x.error)try{x.error(t)}catch(r){y0(r)}else y0(t)},n[e(1295)][e(789)]=function(){const t=e;var o=this[t(444)];if(o[t(789)])try{o[t(789)]()}catch(x){y0(x)}},n})(),Ix=(function(e){An(n,e);function n(t,o,x){const r=_0x5528;var i=e.call(this)||this,a;return Ue(t)||!t?a={next:t??void 0,error:o??void 0,complete:x??void 0}:a=t,i[r(225)]=new ks(a),i}return n})(kx);function y0(e){fr(e)}function Is(e){throw e}var Ps={closed:!0,next:hr,error:Is,complete:hr},Px=(function(){const e=c;return typeof Symbol===e(790)&&Symbol[e(1109)]||e(608)})();function gr(e){return e}function As(e){const n=c;return e[n(658)]===0?gr:e[n(658)]===1?e[0]:function(o){return e[n(412)](function(r,i){return i(r)},o)}}var on=(function(){const e=c;function n(t){t&&(this._subscribe=t)}return n[e(1295)][e(1659)]=function(t){const o=e;var x=new n;return x.source=this,x[o(1370)]=t,x},n.prototype.subscribe=function(t,o,x){var r=this,i=js(t)?t:new Ix(t,o,x);return g0(function(){const a=_0x5528;var d=r,s=d[a(1370)],u=d[a(962)];i[a(952)](s?s[a(1164)](i,u):u?r[a(1919)](i):r[a(388)](i))}),i},n[e(1295)][e(388)]=function(t){const o=e;try{return this._subscribe(t)}catch(x){t[o(360)](x)}},n[e(1295)][e(1998)]=function(t,o){var x=this;return o=yr(o),new o(function(r,i){var a=new Ix({next:function(d){try{t(d)}catch(s){i(s),a.unsubscribe()}},error:i,complete:r});x.subscribe(a)})},n[e(1295)]._subscribe=function(t){const o=e;var x;return(x=this[o(962)])===null||x===void 0?void 0:x[o(1159)](t)},n[e(1295)][Px]=function(){return this},n[e(1295)][e(1437)]=function(){const t=e;for(var o=[],x=0;x<arguments[t(658)];x++)o[x]=arguments[x];return As(o)(this)},n.prototype[e(1021)]=function(t){var o=this;return t=yr(t),new t(function(x,r){const i=_0x5528;var a;o[i(1159)](function(d){return a=d},function(d){return r(d)},function(){return x(a)})})},n[e(648)]=function(t){return new n(t)},n})();function yr(e){const n=c;var t;return(t=e??Ss[n(708)])!==null&&t!==void 0?t:Promise}function Es(e){const n=c;return e&&Ue(e[n(526)])&&Ue(e[n(360)])&&Ue(e[n(789)])}function js(e){return e&&e instanceof kx||Es(e)&&dr(e)}function Ys(e){return Ue(e?.[c(1659)])}function qn(e){return function(n){const t=_0x5528;if(Ys(n))return n[t(1659)](function(o){const x=t;try{return e(o,this)}catch(r){this[x(360)](r)}});throw new TypeError(t(939))}}function Xn(e,n,t,o,x){return new Us(e,n,t,o,x)}var Us=(function(e){const n=c;An(t,e);function t(o,x,r,i,a,d){const s=_0x5528;var u=e.call(this,o)||this;return u[s(1543)]=a,u[s(1942)]=d,u._next=x?function(f){const y=s;try{x(f)}catch(g){o[y(360)](g)}}:e[s(1295)]._next,u[s(1395)]=i?function(f){const y=s;try{i(f)}catch(g){o[y(360)](g)}finally{this[y(206)]()}}:e[s(1295)][s(1395)],u._complete=r?function(){const f=s;try{r()}catch(y){o.error(y)}finally{this[f(206)]()}}:e[s(1295)]._complete,u}return t.prototype[n(206)]=function(){const o=n;var x;if(!this[o(1942)]||this[o(1942)]()){var r=this[o(591)];e[o(1295)][o(206)][o(1164)](this),!r&&((x=this[o(1543)])===null||x===void 0||x[o(1164)](this))}},t})(kx),Gs=Sx(function(e){return function(){const t=_0x5528;e(this),this[t(863)]=t(289),this[t(650)]=t(1876)}}),mr=(function(e){const n=c;An(t,e);function t(){const o=_0x5528;var x=e[o(1164)](this)||this;return x[o(591)]=!1,x[o(367)]=null,x.observers=[],x[o(383)]=!1,x[o(1586)]=!1,x.thrownError=null,x}return t.prototype[n(1659)]=function(o){const x=n;var r=new wr(this,this);return r[x(1370)]=o,r},t[n(1295)][n(2024)]=function(){if(this[n(591)])throw new Gs},t[n(1295)][n(526)]=function(o){var x=this;g0(function(){const r=_0x5528;var i,a;if(x._throwIfClosed(),!x[r(383)]){!x.currentObservers&&(x.currentObservers=Array.from(x.observers));try{for(var d=at(x.currentObservers),s=d[r(526)]();!s[r(1879)];s=d[r(526)]()){var u=s.value;u[r(526)](o)}}catch(f){i={error:f}}finally{try{s&&!s.done&&(a=d.return)&&a.call(d)}finally{if(i)throw i[r(360)]}}}})},t[n(1295)].error=function(o){var x=this;g0(function(){const r=_0x5528;if(x[r(2024)](),!x[r(383)]){x[r(1586)]=x[r(383)]=!0,x[r(1142)]=o;for(var i=x.observers;i[r(658)];)i[r(255)]().error(o)}})},t[n(1295)][n(789)]=function(){var o=this;g0(function(){const x=_0x5528;if(o._throwIfClosed(),!o.isStopped){o[x(383)]=!0;for(var r=o.observers;r[x(658)];)r[x(255)]()[x(789)]()}})},t[n(1295)][n(206)]=function(){const o=n;this[o(383)]=this[o(591)]=!0,this[o(494)]=this[o(367)]=null},Object[n(590)](t[n(1295)],n(2011),{get:function(){const o=n;var x;return((x=this.observers)===null||x===void 0?void 0:x[o(658)])>0},enumerable:!1,configurable:!0}),t[n(1295)]._trySubscribe=function(o){const x=n;return this._throwIfClosed(),e[x(1295)][x(388)].call(this,o)},t[n(1295)][n(1919)]=function(o){const x=n;return this._throwIfClosed(),this[x(1339)](o),this[x(1559)](o)},t.prototype[n(1559)]=function(o){const x=n;var r=this,i=this,a=i.hasError,d=i[x(383)],s=i.observers;return a||d?lr:(this[x(367)]=null,s[x(1148)](o),new Yt(function(){const u=x;r[u(367)]=null,h0(s,o)}))},t[n(1295)]._checkFinalizedStatuses=function(o){const x=n;var r=this,i=r[x(1586)],a=r[x(1142)],d=r[x(383)];i?o[x(360)](a):d&&o[x(789)]()},t[n(1295)][n(1612)]=function(){const o=n;var x=new on;return x[o(962)]=this,x},t[n(648)]=function(o,x){return new wr(o,x)},t})(on),wr=(function(e){const n=c;An(t,e);function t(o,x){const r=_0x5528;var i=e[r(1164)](this)||this;return i.destination=o,i[r(962)]=x,i}return t[n(1295)][n(526)]=function(o){const x=n;var r,i;(i=(r=this[x(225)])===null||r===void 0?void 0:r.next)===null||i===void 0||i.call(r,o)},t.prototype.error=function(o){const x=n;var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r[x(360)])===null||i===void 0||i[x(1164)](r,o)},t.prototype.complete=function(){const o=n;var x,r;(r=(x=this[o(225)])===null||x===void 0?void 0:x[o(789)])===null||r===void 0||r[o(1164)](x)},t[n(1295)][n(1919)]=function(o){const x=n;var r,i;return(i=(r=this[x(962)])===null||r===void 0?void 0:r[x(1159)](o))!==null&&i!==void 0?i:lr},t})(mr),Os={now:function(){return Date[c(1569)]()}},Hs=(function(e){const n=c;An(t,e);function t(o,x){return e[_0x5528(1164)](this)||this}return t[n(1295)][n(1446)]=function(o,x){return this},t})(Yt),vr={setInterval:function(e,n){const t=c;for(var o=[],x=2;x<arguments[t(658)];x++)o[x-2]=arguments[x];return setInterval[t(1932)](void 0,f0([e,n],u0(o)))},clearInterval:function(e){return clearInterval(e)},delegate:void 0},Ts=(function(e){const n=c;An(t,e);function t(o,x){const r=_0x5528;var i=e[r(1164)](this,o,x)||this;return i[r(437)]=o,i[r(746)]=x,i[r(691)]=!1,i}return t[n(1295)].schedule=function(o,x){const r=n;var i;if(x===void 0&&(x=0),this[r(591)])return this;this[r(1938)]=o;var a=this.id,d=this[r(437)];return a!=null&&(this.id=this[r(280)](d,a,x)),this.pending=!0,this[r(1535)]=x,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(d,this.id,x),this},t[n(1295)].requestAsyncId=function(o,x,r){const i=n;return r===void 0&&(r=0),vr.setInterval(o[i(1676)][i(616)](o,this),r)},t[n(1295)][n(280)]=function(o,x,r){const i=n;return r===void 0&&(r=0),r!=null&&this[i(1535)]===r&&this[i(691)]===!1?x:(x!=null&&vr.clearInterval(x),void 0)},t[n(1295)][n(391)]=function(o,x){const r=n;if(this[r(591)])return new Error("executing a cancelled action");this[r(691)]=!1;var i=this[r(1675)](o,x);if(i)return i;this[r(691)]===!1&&this.id!=null&&(this.id=this[r(280)](this.scheduler,this.id,null))},t[n(1295)][n(1675)]=function(o,x){const r=n;var i=!1,a;try{this[r(746)](o)}catch(d){i=!0,a=d||new Error(r(1250))}if(i)return this[r(206)](),a},t.prototype.unsubscribe=function(){const o=n;if(!this[o(591)]){var x=this,r=x.id,i=x.scheduler,a=i.actions;this[o(746)]=this[o(1938)]=this[o(437)]=null,this[o(691)]=!1,h0(a,this),r!=null&&(this.id=this[o(280)](i,r,null)),this.delay=null,e[o(1295)][o(206)][o(1164)](this)}},t})(Hs),br=(function(){const e=c;function n(t,o){const x=_0x5528;o===void 0&&(o=n.now),this[x(1067)]=t,this.now=o}return n[e(1295)][e(1446)]=function(t,o,x){const r=e;return o===void 0&&(o=0),new this[r(1067)](this,t)[r(1446)](x,o)},n[e(1569)]=Os[e(1569)],n})(),Vs=(function(e){const n=c;An(t,e);function t(o,x){const r=_0x5528;x===void 0&&(x=br[r(1569)]);var i=e.call(this,o,x)||this;return i[r(582)]=[],i[r(1577)]=!1,i}return t.prototype[n(1676)]=function(o){const x=n;var r=this[x(582)];if(this[x(1577)]){r[x(1148)](o);return}var i;this[x(1577)]=!0;do if(i=o[x(391)](o.state,o[x(1535)]))break;while(o=r.shift());if(this[x(1577)]=!1,i){for(;o=r.shift();)o[x(206)]();throw i}},t})(br),Ws=new Vs(Ts);function qs(e){return e&&Ue(e[c(1446)])}function Xs(e){return e[e.length-1]}function Zs(e){const n=c;return qs(Xs(e))?e[n(374)]():void 0}var pr=function(e){const n=c;return e&&typeof e[n(658)]===n(1718)&&typeof e!="function"};function zr(e){return Ue(e?.[c(663)])}function Cr(e){return Ue(e[Px])}function Mr(e){return Symbol[c(2055)]&&Ue(e?.[Symbol.asyncIterator])}function Br(e){const n=c;return new TypeError(n(1071)+(e!==null&&typeof e===n(460)?n(567):"'"+e+"'")+n(353))}function Ks(){const e=c;return typeof Symbol!==e(790)||!Symbol[e(1955)]?e(623):Symbol.iterator}var Dr=Ks();function Lr(e){return Ue(e?.[Dr])}function Sr(e){return Ds(this,arguments,function(){var t,o,x,r;return sr(this,function(i){const a=_0x5528;switch(i[a(1150)]){case 0:t=e[a(1218)](),i.label=1;case 1:i[a(1032)][a(1148)]([1,,9,10]),i[a(1150)]=2;case 2:return[4,ct(t[a(898)]())];case 3:return o=i[a(566)](),x=o[a(1834)],r=o[a(1879)],r?[4,ct(void 0)]:[3,5];case 4:return[2,i[a(566)]()];case 5:return[4,ct(x)];case 6:return[4,i[a(566)]()];case 7:return i[a(566)](),[3,2];case 8:return[3,10];case 9:return t[a(2019)](),[7];case 10:return[2]}})})}function Nr(e){return Ue(e?.[c(1218)])}function Zn(e){if(e instanceof on)return e;if(e!=null){if(Cr(e))return Rs(e);if(pr(e))return Js(e);if(zr(e))return Qs(e);if(Mr(e))return kr(e);if(Lr(e))return Fs(e);if(Nr(e))return _s(e)}throw Br(e)}function Rs(e){return new on(function(n){const t=_0x5528;var o=e[Px]();if(Ue(o[t(1159)]))return o.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Js(e){return new on(function(n){const t=_0x5528;for(var o=0;o<e[t(658)]&&!n.closed;o++)n[t(526)](e[o]);n[t(789)]()})}function Qs(e){return new on(function(n){const t=_0x5528;e[t(663)](function(o){const x=t;!n[x(591)]&&(n[x(526)](o),n[x(789)]())},function(o){return n.error(o)})[t(663)](null,fr)})}function Fs(e){return new on(function(n){const t=_0x5528;var o,x;try{for(var r=at(e),i=r[t(526)]();!i.done;i=r[t(526)]()){var a=i[t(1834)];if(n[t(526)](a),n[t(591)])return}}catch(d){o={error:d}}finally{try{i&&!i.done&&(x=r[t(986)])&&x[t(1164)](r)}finally{if(o)throw o.error}}n[t(789)]()})}function kr(e){return new on(function(n){$s(e,n).catch(function(t){return n[_0x5528(360)](t)})})}function _s(e){return kr(Sr(e))}function $s(e,n){var t,o,x,r;return Bs(this,void 0,void 0,function(){var i,a;return sr(this,function(d){const s=_0x5528;switch(d.label){case 0:d[s(1032)][s(1148)]([0,5,6,11]),t=Ls(e),d.label=1;case 1:return[4,t[s(526)]()];case 2:if(o=d.sent(),!!o[s(1879)])return[3,4];if(i=o[s(1834)],n[s(526)](i),n.closed)return[2];d[s(1150)]=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=d[s(566)](),x={error:a},[3,11];case 6:return d[s(1032)][s(1148)]([6,,9,10]),o&&!o.done&&(r=t[s(986)])?[4,r.call(t)]:[3,8];case 7:d.sent(),d.label=8;case 8:return[3,10];case 9:if(x)throw x[s(360)];return[7];case 10:return[7];case 11:return n[s(789)](),[2]}})})}function En(e,n,t,o,x){const r=c;o===void 0&&(o=0),x===void 0&&(x=!1);var i=n[r(1446)](function(){const a=r;t(),x?e[a(952)](this[a(1446)](null,o)):this[a(206)]()},o);if(e[r(952)](i),!x)return i}function Ir(e,n){return n===void 0&&(n=0),qn(function(t,o){t.subscribe(Xn(o,function(x){return En(o,e,function(){return o.next(x)},n)},function(){return En(o,e,function(){return o.complete()},n)},function(x){return En(o,e,function(){return o[_0x5528(360)](x)},n)}))})}function Pr(e,n){return n===void 0&&(n=0),qn(function(t,o){const x=_0x5528;o.add(e[x(1446)](function(){return t[x(1159)](o)},n))})}function el(e,n){const t=c;return Zn(e)[t(1437)](Pr(n),Ir(n))}function nl(e,n){const t=c;return Zn(e)[t(1437)](Pr(n),Ir(n))}function tl(e,n){return new on(function(t){const o=_0x5528;var x=0;return n[o(1446)](function(){const r=o;x===e.length?t.complete():(t.next(e[x++]),!t.closed&&this[r(1446)]())})})}function xl(e,n){return new on(function(t){var o;return En(t,n,function(){o=e[Dr](),En(t,n,function(){const x=_0x5528;var r,i,a;try{r=o[x(526)](),i=r[x(1834)],a=r[x(1879)]}catch(d){t[x(360)](d);return}a?t.complete():t[x(526)](i)},0,!0)}),function(){return Ue(o?.[_0x5528(986)])&&o.return()}})}function Ar(e,n){if(!e)throw new Error("Iterable cannot be null");return new on(function(t){En(t,n,function(){var x=e[Symbol[_0x5528(2055)]]();En(t,n,function(){x.next().then(function(r){const i=_0x5528;r[i(1879)]?t.complete():t[i(526)](r[i(1834)])})},0,!0)})})}function ol(e,n){return Ar(Sr(e),n)}function rl(e,n){if(e!=null){if(Cr(e))return el(e,n);if(pr(e))return tl(e,n);if(zr(e))return nl(e,n);if(Mr(e))return Ar(e,n);if(Lr(e))return xl(e,n);if(Nr(e))return ol(e,n)}throw Br(e)}function m0(e,n){return n?rl(e,n):Zn(e)}function ln(){const e=c;for(var n=[],t=0;t<arguments[e(658)];t++)n[t]=arguments[t];var o=Zs(n);return m0(n,o)}function Te(e,n){var t=Ue(e)?e:function(){return e},o=function(x){return x[_0x5528(360)](t())};return new on(o)}function il(e){return e instanceof Date&&!isNaN(e)}var al=Sx(function(e){return function(t){const o=_0x5528;t===void 0&&(t=null),e(this),this.message=o(553),this[o(863)]="TimeoutError",this.info=t}});function cl(e,n){const t=c;var o=il(e)?{first:e}:{each:e},x=o[t(834)],r=o.each,i=o.with,a=i===void 0?sl:i,d=o[t(437)],s=d===void 0?Ws:d,u=o.meta,f=u===void 0?null:u;if(x==null&&r==null)throw new TypeError(t(1422));return qn(function(y,g){const v=t;var h,p,M=null,w=0,m=function(b){p=En(g,s,function(){const C=_0x5528;try{h[C(206)](),Zn(a({meta:f,lastValue:M,seen:w}))[C(1159)](g)}catch(I){g[C(360)](I)}},b)};h=y[v(1159)](Xn(g,function(b){const C=v;p?.[C(206)](),w++,g[C(526)](M=b),r>0&&m(r)},void 0,void 0,function(){const b=v;!p?.[b(591)]&&p?.[b(206)](),M=null})),!w&&m(x!=null?typeof x===v(1718)?x:+x-s.now():r)})}function sl(e){throw new al(e)}function w0(e,n){return qn(function(t,o){const x=_0x5528;var r=0;t[x(1159)](Xn(o,function(i){const a=x;o[a(526)](e[a(1164)](n,i,r++))}))})}function ll(e,n,t,o,x,r,i,a){var d=[],s=0,u=0,f=!1,y=function(){const h=_0x5528;f&&!d[h(658)]&&!s&&n[h(789)]()},g=function(h){const p=_0x5528;return s<o?v(h):d[p(1148)](h)},v=function(h){const p=_0x5528;s++;var M=!1;Zn(t(h,u++))[p(1159)](Xn(n,function(w){n[p(526)](w)},function(){M=!0},void 0,function(){const w=p;if(M)try{s--;for(var m=function(){var b=d.shift();i||v(b)};d.length&&s<o;)m();y()}catch(b){n[w(360)](b)}}))};return e.subscribe(Xn(n,g,function(){f=!0,y()})),function(){}}function Ax(e,n,t){const o=c;return t===void 0&&(t=1/0),Ue(n)?Ax(function(x,r){return w0(function(i,a){return n(x,i,r,a)})(Zn(e(x,r)))},t):(typeof n===o(1718)&&(t=n),qn(function(x,r){return ll(x,r,e,t)}))}function v0(e){return qn(function(n,t){const o=_0x5528;var x=null,r=!1,i;x=n.subscribe(Xn(t,void 0,void 0,function(a){const d=_0x5528;i=Zn(e(a,v0(e)(n))),x?(x[d(206)](),x=null,i[d(1159)](t)):r=!0})),r&&(x.unsubscribe(),x=null,i[o(1159)](t))})}function dl(e,n,t){var o=Ue(e)||n||t?{next:e,error:n,complete:t}:e;return o?qn(function(x,r){const i=_0x5528;var a;(a=o[i(1159)])===null||a===void 0||a[i(1164)](o);var d=!0;x[i(1159)](Xn(r,function(s){const u=i;var f;(f=o[u(526)])===null||f===void 0||f[u(1164)](o,s),r[u(526)](s)},function(){const s=i;var u;d=!1,(u=o[s(789)])===null||u===void 0||u[s(1164)](o),r[s(789)]()},function(s){const u=i;var f;d=!1,(f=o.error)===null||f===void 0||f[u(1164)](o,s),r[u(360)](s)},function(){const s=i;var u,f;d&&((u=o[s(206)])===null||u===void 0||u[s(1164)](o)),(f=o.finalize)===null||f===void 0||f[s(1164)](o)}))}):gr}function Ex(e){return encodeURIComponent((e||"").trim()||"__default__")}function ul(e){const n=c;return e[n(1280)]===n(1396)?e.bindNodeId+"::ext::"+Ex(e[n(1797)]??""):e[n(930)]+"::"+e[n(1280)]}function Er(e,n){return e+":"+n}class st{static instance;[c(1935)]=new Map;[c(1045)]=new Map;eventBlocks=new Map;nodeEventBindings=new Map;defaultRuntimeHandlers;constructor(){}static[c(903)](){const n=c;return!st[n(1298)]&&(st[n(1298)]=new st),st[n(1298)]}registerEventBlock(n){this[c(1724)].set(n.id,n)}[c(333)](n){const t=c;this.eventBlocks[t(741)](n)}[c(1186)](n){const t=c;return this[t(1724)][t(1735)](n)}setDefaultRuntimeHandlers(n){const t=c;this[t(432)]=n}mergeDefaultRuntimeHandlers(n){const t=c;if(!n)return;const o=this[t(432)];this[t(432)]={dataRequest:{...o?.[t(1059)],...n[t(1059)]},external:{...o?.external,...n[t(1396)]}}}mergeRuntimeHandlers(n){const t=c,o=this.defaultRuntimeHandlers;if(!(!o&&!n))return{dataRequest:{...o?.[t(1059)],...n?.[t(1059)]},external:{...o?.[t(1396)],...n?.external}}}disposeEventRootPipeline(n){const t=c,o=this[t(1045)][t(1735)](n.id);o&&(o[t(206)](),this[t(1045)][t(741)](n.id)),this[t(1935)][t(741)](n.id)}bindNodeEvent(n){const t=c,o=ul(n),x=this[t(394)][t(1735)](o);x&&x.id!==n.id&&this[t(1230)](x),this[t(394)][t(1889)](o,n),!this[t(1935)][t(1264)](n.id)&&this[t(820)](n)}[c(1633)](n,t,o){const x=c;if(t===x(1396)){const d=n+x(1196)+Ex(o??""),s=this[x(394)].get(d);s&&(this[x(1230)](s),this[x(394)][x(741)](d));return}const r=n+"::"+t,i=Er(n,t),a=this.nodeEventBindings[x(1735)](r)??this[x(394)].get(i);a&&(this[x(1230)](a),this[x(394)][x(741)](r),this[x(394)][x(741)](i))}unbindAllForNode(n){const t=c,o=[];this.nodeEventBindings[t(1998)]((x,r)=>{const i=t;x[i(930)]===n&&o[i(1148)]({key:r,root:x})}),o[t(1998)](({key:x,root:r})=>{const i=t;this[i(1230)](r),this[i(394)][i(741)](x)})}[c(459)](n){const t=[];return this.nodeEventBindings.forEach(o=>{o[_0x5528(930)]===n&&t.push(o)}),t}emit(n,t,o){const x=c,r=n+"::"+t,i=this.nodeEventBindings[x(1735)](r)??this[x(394)][x(1735)](Er(n,t));if(!i||!i[x(314)])return ln({success:!0,result:null,path:[],duration:0});if(!this[x(1935)][x(1735)](i.id))return Te(()=>new Error("Event flow not initialized for "+r));const d=Date[x(1569)](),s={...o,executionPath:o[x(766)]||[],runtimeHandlers:this[x(1752)](o[x(1278)])};return this[x(1017)](i,s).pipe(w0(u=>({success:!0,result:u,path:s.executionPath,duration:Date[x(1569)]()-d})),v0(u=>ln({success:!1,error:u[x(650)]||x(537),path:s[x(766)],duration:Date[x(1569)]()-d})))}emitExternal(n,t,o){const x=c,r=n+x(1196)+Ex(t),i=this[x(394)][x(1735)](r);if(!i||!i[x(314)])return ln({success:!0,result:null,path:[],duration:0});if(!this[x(1935)][x(1735)](i.id))return Te(()=>new Error(x(1567)+r));const d=Date[x(1569)](),s={...o,executionPath:o[x(766)]||[],runtimeHandlers:this[x(1752)](o[x(1278)])};return this[x(1017)](i,s)[x(1437)](w0(u=>({success:!0,result:u,path:s[x(766)],duration:Date[x(1569)]()-d})),v0(u=>ln({success:!1,error:u[x(650)]||x(537),path:s.executionPath,duration:Date[x(1569)]()-d})))}[c(820)](n){const t=new mr;this.eventSubjects.set(n.id,t)}[c(1017)](n,t){const o=c,{nodes:x,edges:r}=n[o(1268)];if(x[o(658)]===0)return ln(null);const i=x[o(1874)](a=>a[o(341)][o(658)]===0);return i.length===0?Te(()=>new Error(o(1924))):this[o(1208)](i,x,r,t,{})}[c(1208)](n,t,o,x,r){const i=c;if(n.length===0)return ln(r);const a=n[i(1902)](d=>this[i(660)](d,x,r)[i(1437)](dl(s=>{const u=i;r[d.id]=s,x[u(766)][u(1148)](d.id)})));return m0(a).pipe(Ax(d=>d,1),w0(()=>{const d=i,s=new Set;return n[d(1998)](f=>{const y=d;f[y(525)][y(1998)](g=>{const v=y,h=t[v(1825)](p=>p.id===g);h&&h[v(341)][v(1115)](M=>r[M]!==void 0)&&s[v(952)](g)})}),t[d(1874)](f=>s.has(f.id))}),Ax(d=>d[i(658)]>0?this.executeFlowNodes(d,t,o,x,r):ln(r)),cl(3e4),v0(d=>{const s=i;return console[s(360)](s(716),d),Te(()=>d)}))}[c(411)](n){const t=c;return this[t(1724)][t(1735)](n[t(1372)])??n[t(235)][t(1348)]}[c(1185)](n,t,o){const x=c;return n[x(1183)](/\{\{\s*([^}]+?)\s*\}\}/g,(r,i)=>{const a=x,d=String(i)[a(1597)]();if(d.startsWith("$")){const u=this[a(636)](o,d[a(1330)](1));return u==null?"":String(u)}const s=t[d];return s==null?"":String(s)})}[c(1523)](n,t,o){const x=c,r=n.builtinId;if(!r)return Te(()=>new Error(x(443)));if(r===x(426)){const i=n[x(1303)]??{},a=String(i[x(1397)]??""),d=i[x(754)]??x(679),s=i[x(379)],u=this.interpolateBuiltinString(a,o,t);if(!u[x(1597)]())return Te(()=>new Error(x(1877)));try{const f={type:d,content:u};if(s!=null&&s!==""){const y=Number(s);!Number[x(1642)](y)&&(f.duration=y)}return z[x(650)].open(f),ln({ok:!0,builtinId:r,content:u,level:d})}catch(f){return Te(()=>f)}}if(r==="switchCanvas"){const i=n[x(1303)]??{},a=String(i[x(1426)]??"")[x(1597)]();if(!a)return Te(()=>new Error(x(1170)));const d=t[x(1171)]??t.switchCanvas;if(!d)return Te(()=>new Error("当前环境不支持画布切换"));try{return d(a),ln({ok:!0,builtinId:r,targetCanvasId:a,withHistory:!!t.jumpToCanvas})}catch(s){return Te(()=>s)}}return Te(()=>new Error(x(1881)+String(r)))}[c(1707)](n,t,o){try{const x=n(t,o);return x instanceof Promise?m0(x):ln(x)}catch(x){return Te(()=>x)}}[c(660)](n,t,o){const x=c,r=this.resolveFlowEventBlock(n);if(!r)return Te(()=>new Error(x(1327)+n[x(1372)]));const i=this[x(386)](n,t,o),a=r[x(731)]??x(1802);if(a===x(1059)){const d=(r[x(1591)]||"")[x(1597)]();if(!d)return Te(()=>new Error(x(1052)));const s=t[x(1278)]?.[x(1059)]?.[d];return s?this[x(1707)](s,t,i):Te(()=>new Error(x(1761)+d))}if(a==="external"){const d=(r[x(1880)]||"")[x(1597)]();if(!d)return Te(()=>new Error(x(1856)));const s=t[x(1278)]?.external?.[d];return s?this.invokeRuntimeHandler(s,t,i):Te(()=>new Error("未注册 external 处理器: "+d))}if(a==="builtin")return this[x(1523)](r,t,i);try{const d=new Function(x(2039),x(1270),x(1277),r[x(647)]),s=d(t[x(1604)],t,i);return s instanceof Promise?m0(s):ln(s)}catch(d){return Te(()=>d)}}[c(386)](n,t,o){const x=c,r={$event:t[x(376)],$data:t.data,$node:t[x(1604)]},{inputMapping:i}=n[x(235)];return i&&Object[x(1859)](i)[x(1998)](([a,d])=>{const s=x;if(d.startsWith(s(1225))){const u=d.replace(s(1225),"");r[a]=o[u]}else if(d.startsWith("$")){const u=d[s(1330)](1);r[a]=this[s(636)](t,u)}else r[a]=d}),r}[c(636)](n,t){const o=c;return t[o(1194)](".")[o(412)]((x,r)=>{if(x!==null&&typeof x===o(460)&&r in x)return x[r]},n)}[c(1101)](){const n=c;this[n(1045)][n(1998)](t=>t[n(206)]()),this[n(1045)][n(1478)](),this[n(1935)][n(1478)](),this[n(394)].clear()}}const lt=st[c(903)](),jr=({node:e,children:n,runtimeHandlers:t,flowContextData:o})=>{const x=c,{eventFlow:r,switchCanvas:i,jumpToCanvas:a}=He(),d=D[x(805)](null),s=D[x(1097)](()=>{const f=x;return r[f(1698)].filter(y=>y[f(930)]===e.id&&y[f(314)])},[r.eventRoots,e.id]),u=D[x(1097)](f=>y=>{const g=_0x5528,v=s()[g(1874)](p=>p.eventType===f);if(v[g(658)]===0)return;f!==g(375)&&f!==g(718)&&y[g(1477)](),y.stopPropagation();const h=o&&typeof o===g(460)?{...o}:{};v.forEach(p=>{const M=g;lt[M(827)](e.id,f,{triggerNode:e,originalEvent:y,data:h,runtimeHandlers:t,switchCanvas:i,jumpToCanvas:a})[M(1159)]({next:w=>{const m=M;!w[m(743)]&&console[m(360)]("Event flow execution failed:",w.error)},error:w=>{const m=M;console[m(360)](m(1763),w)}})})},[s,e,t,o]);return D[x(532)](()=>{const f=x;return s()[f(1998)](g=>{lt[f(1663)](g)}),()=>{lt[f(1312)](e.id)}},[s,e.id]),D.useEffect(()=>{const f=x,y=d[f(506)];if(!y)return;const g={click:u(f(1140)),mousedown:u("mouseDown"),mouseup:u(f(1249)),dblclick:u("doubleClick"),mouseover:u(f(375)),mouseleave:u(f(718)),mouseenter:u(f(1469)),contextmenu:u(f(1438))};return Object.entries(g)[f(1998)](([v,h])=>{y[f(1976)](v,h,!0)}),()=>{const v=f;Object[v(1859)](g)[v(1998)](([h,p])=>{y[v(864)](h,p,!0)})}},[u]),D[x(1708)](n,{ref:f=>{const y=x;d[y(506)]=f;const g=n[y(2027)];typeof g=="function"?g(f):g&&y(506)in g&&(g[y(506)]=f)}})},{Text:Yr}=z[c(1635)],Ur=(e,n)=>{const t=c;if(!n||!e)return{value:void 0};if(Array.isArray(e)){const o=e.find(x=>x[t(1934)]===n);if(o)return{value:o[t(1834)],unit:o.unit}}else if(typeof e===t(460)){const o=n[t(1194)](".");let x=e;for(const r of o){if(x===null||typeof x!==t(460))return{value:void 0};x=x[r]}if(x!==void 0)return{value:x,unit:e[t(1387)]}}return{value:void 0}};function fl(e){return Array.isArray(e)}const hl=(e,n,t)=>{const o=c,x=e[o(1397)]||{},{valueSourceCode:r,boundDatasetId:i,boundDatasetBindCode:a,boundDatasetBindValue:d}=x;if(!r)return{value:void 0};if(i){const s=n[o(1825)](u=>u.id===i);if(s){let u;fl(s[o(1410)])?a!=null&&d!=null?u=s.sample[o(1825)](y=>y[a]===d)||{}:u={}:u=s[o(1410)];const f=t&&typeof t===o(460)?{...u,...t}:u;return Ur(f,r)}}return Ur(t,r)},gl=(e,n)=>{const t=c;if(e==null||e==="")return"";if(n===-1)return String(e);const o=Number(e);return isNaN(o)?String(e):o[t(2018)](n??2)},yl=(e,n,t,o,x)=>{const r=c;switch(e.type){case r(418):const i=e,a=i[r(1878)],d=i[r(1665)];let s=i.src;return d&&s&&s.includes(r(1424))&&(e.name==="矩形"?s=r(1962)+encodeURIComponent(r(979)+d+'" rx="4"/></svg>'):e[r(863)]==="圆形"?s=r(1962)+encodeURIComponent(r(950)+d+r(1945)):e.name==="圆角矩形"&&(s="data:image/svg+xml,"+encodeURIComponent(r(979)+d+'" rx="20"/></svg>'))),l[r(510)](r(1384),{className:r(1012),style:{backgroundColor:a},children:s?l[r(510)](r(1646),{src:s,alt:e.name,style:{width:r(733),height:"100%",objectFit:"contain"}}):l[r(510)]("div",{className:"w-full h-full flex items-center justify-center",children:l[r(510)]("span",{className:"text-gray-400 text-xs",children:r(1413)})})});case r(480):const u=e,{label:f,value:y,valueSourceCode:g,unit:v,decimals:h,labelStyle:p,valueStyle:M,customStyle:w}=u[r(1397)]||{},{value:m,unit:b}=g?hl(u,x||[],n):{value:void 0,unit:void 0},C=m!==void 0?m:y,I=gl(C,h),U=v||b||"";return l[r(1306)]("div",{className:r(2059),style:{...w},children:[f&&l[r(510)](Yr,{style:{fontSize:14,fontWeight:r(1970),color:"#262626",textAlign:"left",...p},children:f}),I&&l[r(1306)](Yr,{style:{fontSize:14,color:r(1385),textAlign:r(1921),...M},children:[I,U?" "+U:""]})]});case"LINE":const H=e,{thickness:V=2,color:A="#d9d9d9",dashed:W=!1,lineType:T=W?"dashed":r(1222),lineWeight:X=V,startX:G=0,startY:L=0,endX:B=100,endY:S=0}=H[r(1325)]||{},E=_=>{const R=r,$=Math.max(X,1);switch(_){case R(1222):return"";case"dashed":return $*8+","+$*4;case R(1322):return $*12+","+$*3+","+$*2+","+$*3;case R(503):return $*12+","+$*3+","+$*2+","+$*3+","+$*2+","+$*3;case R(604):return $+","+$*3;case"dash-dot":return $*8+","+$*3+","+$+","+$*3;default:return""}},P=E(T),k=t?r(1385):A;return l[r(510)](r(1384),{className:"w-full h-full relative",style:{overflow:r(870)},children:l.jsxs(r(868),{className:r(1120),width:"100%",height:r(733),style:{overflow:"visible",pointerEvents:r(696)},children:[l[r(510)](r(352),{x1:G,y1:L,x2:B,y2:S,stroke:r(1958),strokeWidth:Math.max(X,10),strokeLinecap:"round",strokeLinejoin:r(639),style:{pointerEvents:r(689),cursor:r(1792)}}),l.jsx("line",{x1:G,y1:L,x2:B,y2:S,stroke:k,strokeWidth:X,strokeDasharray:P,strokeLinecap:r(639),strokeLinejoin:r(639),style:{pointerEvents:"none"}})]})});case r(489):const K=e;return K[r(843)]?K[r(843)]({}):l[r(510)](r(1384),{className:r(345),children:l.jsx(r(390),{className:r(753),children:"自定义组件"})});default:return l.jsx(r(1384),{className:r(345),children:l[r(510)](r(390),{className:"text-gray-400 text-xs",children:r(1205)})})}},ml=({node:e,isSelected:n=!1,onClick:t,onMouseDown:o,data:x,onUpdateNode:r,scale:i=1,enableEventFlow:a=!1,eventFlowData:d})=>{const s=c,{normalStyle:u,controlInfo:f}=e,{isClickable:y,isDraggable:g,isResizable:v}=f,h=e[s(252)],p=He(F=>F[s(1416)]),M=He(F=>F[s(1487)]),w=D.useRef(t);D[s(532)](()=>{w.current=t},[t]);const[m,b]=D[s(884)](null),C=D[s(805)](null),I=D[s(805)](null),U=D.useRef(null),H=D[s(805)](null),V=D[s(805)](null),[A,W]=D.useState(null),[T,X]=D[s(884)](null),G=D.useRef(null),L=D[s(1606)](()=>{const F=s,N=e[F(252)][F(1746)];if(N.length===0)return;const j=xr(N,x,p);return j||N[0]},[e.contentInfo[s(1746)],x,p]),B=D.useRef(e.contentInfo[s(1169)]);D[s(532)](()=>{const F=s;B[F(506)]=e.contentInfo[F(1169)]},[e.id]),D[s(532)](()=>{const F=s,N=L?.id;N!==void 0&&B[F(506)]!==N&&(B[F(506)]=N,M(e.id,{contentInfo:{...e.contentInfo,currentStatusId:N}}))},[L?.id,e.id,M]);const S=L?.[s(609)],E=S?.type===s(1245),P=E?S[s(1325)]:null,k=u[s(1652)]??1,K=(u[s(1232)]||100)*k,_=(u[s(1129)]||100)*k,R=D[s(1097)](()=>{const F=s,N=V.current?.[F(1262)]('[data-canvas="true"]');if(!N)return i;const j=N[F(1623)](),Z=parseFloat(N[F(262)][F(1232)]);return Z?j[F(1232)]/Z:i},[i]),$=D[s(1097)]((F,N)=>{const j=s;F.stopPropagation(),F.preventDefault();const Z=P?.startX||0,O=P?.[j(1743)]||0,oe=P?.[j(1069)]||0,le=P?.[j(2002)]||0,se=u.x||0,ge=u.y||0,ve=Math[j(735)]((P?.lineWeight||P?.[j(1494)]||2)*2,4),Se=Math[j(719)](Z,oe),ze=Math.min(O,le),ke=Math.max(Z,oe),Ye=Math[j(735)](O,le),Ie=Math[j(735)](ke-Se,ve),Pe=Math.max(Ye-ze,ve);C[j(506)]={mouseX:F[j(428)],mouseY:F[j(597)],startX:Z,startY:O,endX:oe,endY:le,nodeX:se,nodeY:ge};const Ae=Math[j(719)](Z,oe),Ve=Math.min(O,le);U[j(506)]={nodeX:se+Ae,nodeY:ge+Ve,width:Ie,height:Pe,startX:Z-Ae,startY:O-Ve,endX:oe-Ae,endY:le-Ve},I[j(506)]=L||null,b(N)},[P,u.x,u.y,L]);D.useEffect(()=>{const F=s;if(!m||!E||!P||!r)return;const N=Z=>{const O=_0x5528,oe=C[O(506)];if(!oe||!V.current)return;const le=R(),se=(Z[O(428)]-oe[O(1511)])/le,ge=(Z[O(597)]-oe[O(1639)])/le;let ve=oe[O(1112)],Se=oe[O(1743)],ze=oe[O(1069)],ke=oe[O(2002)],Ye=oe[O(803)],Ie=oe[O(350)];m===O(1541)?(ve=oe.startX+se,Se=oe[O(1743)]+ge,ve<0&&(Ye=oe[O(803)]+ve,ze=oe[O(1069)]-ve,ve=0),Se<0&&(Ie=oe[O(350)]+Se,ke=oe.endY-Se,Se=0)):(ze=oe[O(1069)]+se,ke=oe.endY+ge,ze<0&&(Ye=oe.nodeX+ze,ve=oe[O(1112)]-ze,ze=0),ke<0&&(Ie=oe[O(350)]+ke,Se=oe[O(1743)]-ke,ke=0));const Pe=Math.max((P[O(1444)]||2)*2,4),Ae=Math[O(719)](ve,ze),Ve=Math[O(719)](Se,ke),tn=Math[O(735)](ve,ze),yn=Math[O(735)](Se,ke),Je=Ye+Ae,rn=Ie+Ve,Xe=ve-Ae,an=Se-Ve,cn=ze-Ae,xn=ke-Ve,mn=Math[O(735)](tn-Ae,Pe),Pn=Math.max(yn-Ve,Pe);U[O(506)]={nodeX:Je,nodeY:rn,width:mn,height:Pn,startX:Xe,startY:an,endX:cn,endY:xn};const Qe=V[O(506)];Qe[O(262)][O(1921)]=Je+"px",Qe[O(262)][O(1276)]=rn+"px",Qe[O(262)].width=mn+"px",Qe[O(262)][O(1129)]=Pn+"px",Qe.querySelectorAll(O(1536)).forEach(We=>{const Mn=O;We[Mn(2033)]("x1",String(Xe)),We.setAttribute("y1",String(an)),We[Mn(2033)]("x2",String(cn)),We[Mn(2033)]("y2",String(xn))});const Ze=Qe[O(1894)](O(1336)),Hn=Qe.querySelector(O(1760));Ze&&(Ze.style[O(1921)]=Xe-6+"px",Ze[O(262)][O(1276)]=an-6+"px"),Hn&&(Hn[O(262)][O(1921)]=cn-6+"px",Hn[O(262)][O(1276)]=xn-6+"px")},j=()=>{const Z=_0x5528,O=U[Z(506)];if(!O||!r){b(null),C[Z(506)]=null,U.current=null,I[Z(506)]=null;return}const oe=He.getState()[Z(405)][Z(1825)](ze=>ze.id===e.id),le=oe?.[Z(252)][Z(1746)]??e[Z(252)][Z(1746)],se=I.current,ge=se?.id??le[Z(1825)](ze=>ze[Z(609)][Z(954)]===Z(1245))?.id,ve=le.map(ze=>{const ke=Z;if(ze.material[ke(954)]!==ke(1245)||ze.id!==ge)return ze;const Ye=ze.material;return{...ze,material:{...Ye,config:{...Ye.config,startX:O[ke(1112)],startY:O[ke(1743)],endX:O.endX,endY:O[ke(2002)]}}}}),Se=oe?.contentInfo??h;r(e.id,{normalStyle:{x:O[Z(803)],y:O.nodeY,width:O[Z(1232)],height:O[Z(1129)]},contentInfo:{...Se,statusList:ve}}),b(null),C.current=null,U.current=null,I[Z(506)]=null};return window.addEventListener("mousemove",N),window[F(1976)](F(1070),j),()=>{const Z=F;window[Z(864)]("mousemove",N),window.removeEventListener(Z(1070),j)}},[m,E,P,e.id,u,h,e[s(252)][s(1746)],r,R]),D[s(532)](()=>{const F=s;if(!A||!r)return;const N=Z=>{const O=_0x5528;if(!V.current)return;const oe=R(),le=(Z[O(428)]-A.startX)/oe,se=(Z[O(597)]-A[O(1743)])/oe,ge=A[O(1953)],ve=ge*Math.PI/180,Se=Math[O(1015)](ve),ze=Math.sin(ve),ke=le*Se+se*ze,Ye=-le*ze+se*Se;let Ie=A.startWidth,Pe=A[O(957)],Ae=A[O(1471)],Ve=A.startNodeY;switch(A[O(991)]){case"se":Ie=Math[O(735)](20,A[O(276)]+ke),Pe=Math[O(735)](20,A[O(957)]+Ye);break;case"sw":Ie=Math.max(20,A.startWidth-ke),Pe=Math[O(735)](20,A[O(957)]+Ye),Ae=A.startNodeX+(A[O(276)]-Ie);break;case"ne":Ie=Math[O(735)](20,A[O(276)]+ke),Pe=Math[O(735)](20,A.startHeight-Ye),Ve=A[O(866)]+(A.startHeight-Pe);break;case"nw":Ie=Math[O(735)](20,A.startWidth-ke),Pe=Math[O(735)](20,A[O(957)]-Ye),Ae=A[O(1471)]+(A[O(276)]-Ie),Ve=A.startNodeY+(A.startHeight-Pe);break}if(ge!==0){let yn=0,Je=0,rn=0,Xe=0;switch(A.corner){case"se":yn=0,Je=0,rn=0,Xe=0;break;case"sw":yn=A[O(276)],Je=0,rn=Ie,Xe=0;break;case"ne":yn=0,Je=A[O(957)],rn=0,Xe=Pe;break;case"nw":yn=A[O(276)],Je=A.startHeight,rn=Ie,Xe=Pe;break}const an=yn-A[O(276)]/2,cn=Je-A[O(957)]/2,xn=an*Se-cn*ze,mn=an*ze+cn*Se,Pn=rn-Ie/2,Qe=Xe-Pe/2,Bt=Pn*Se-Qe*ze,Ze=Pn*ze+Qe*Se;Ae=A.startNodeX+A.startWidth/2-Ie/2+xn-Bt,Ve=A[O(866)]+A[O(957)]/2-Pe/2+mn-Ze}H[O(506)]={x:Ae,y:Ve,width:Ie,height:Pe};const tn=V.current;tn.style.left=Ae+"px",tn.style[O(1276)]=Ve+"px",tn[O(262)][O(1232)]=Ie+"px",tn[O(262)][O(1129)]=Pe+"px"},j=()=>{const Z=_0x5528,O=H[Z(506)];O&&r(e.id,{normalStyle:{...u,x:O.x,y:O.y,width:O[Z(1232)],height:O[Z(1129)]}}),W(null),H[Z(506)]=null};return window[F(1976)]("mousemove",N),window[F(1976)](F(1070),j),()=>{const Z=F;window[Z(864)](Z(1967),N),window[Z(864)]("mouseup",j)}},[A,r,e.id,u,R]);const xe=D.useCallback((F,N)=>{const j=s;F[j(540)](),F[j(1477)](),W({corner:N,startX:F[j(428)],startY:F[j(597)],startWidth:u[j(1232)]||100,startHeight:u[j(1129)]||100,startNodeX:u.x||0,startNodeY:u.y||0,startRotate:u.rotate||0})},[u.width,u[s(1129)],u.x,u.y,u.rotate]),ae=D[s(1097)](F=>{const N=s;F[N(540)](),F[N(1477)]();const j=V[N(506)]?.getBoundingClientRect();j&&X({startX:F[N(428)],startY:F[N(597)],startAngle:u[N(473)]||0,centerX:j.left+j.width/2,centerY:j.top+j[N(1129)]/2})},[u[s(473)]]);D[s(532)](()=>{const F=s;if(!T)return;const N=Z=>{const O=_0x5528,oe=Z[O(428)]-T[O(1340)],le=Z[O(597)]-T.centerY;let ge=(Math[O(458)](le,oe)*(180/Math.PI)+90)%360;if(ge<0&&(ge+=360),G[O(506)]=ge,V[O(506)]){const ve=u[O(1235)]||"";V.current[O(262)].transform=(O(933)+ge+O(1281)+ve).trim()}},j=()=>{const Z=_0x5528,O=G.current??T[Z(217)];G[Z(506)]=null,r&&r(e.id,{normalStyle:{...u,rotate:Math[Z(639)](O)}}),X(null)};return window[F(1976)](F(1967),N),window[F(1976)](F(1070),j),()=>{const Z=F;window[Z(864)](Z(1967),N),window.removeEventListener("mouseup",j)}},[T,r,e.id,u]);const de=e[s(954)]===s(1449),ue={position:"absolute",left:u.x||0,top:u.y||0,width:K,height:_,background:de?s(1958):u.background||s(1958),backgroundImage:de?void 0:u[s(849)]?s(633)+u.backgroundImage+")":void 0,backgroundSize:"cover",backgroundPosition:"center",padding:Array[s(293)](u[s(1314)])?u[s(1314)][s(1092)](s(1309))+"px":u[s(1314)],margin:Array[s(293)](u[s(2057)])?u.margin.join(s(1309))+"px":u[s(2057)],borderRadius:de?void 0:u[s(1152)],border:n&&!E?s(1751):E||de?s(696):u[s(1359)]||"1px dashed transparent",pointerEvents:s(1296),opacity:u[s(305)]??1,transform:E?u[s(1235)]||void 0:(s(933)+(G[s(506)]??(u[s(473)]||0))+s(1281)+(u[s(1235)]||""))[s(1597)](),transformOrigin:s(578),zIndex:n?1e3:u.zIndex??1,cursor:s(g&&!m?793:y?1792:1764),boxSizing:"border-box",overflow:n||E||de?"visible":s(569)},re=P?{x:P[s(1112)]||0,y:P.startY||0}:{x:0,y:0},Q=P?{x:P[s(1069)]||0,y:P[s(2002)]||0}:{x:0,y:0},ie=l.jsxs(s(1384),{ref:V,"data-node-id":e.id,style:ue,onClick:F=>{const N=s;console[N(1737)]("NodeRenderer onClick",e.id,N(1854),y);const j=w[N(506)];y&&j&&!m&&!A&&!T&&(F[N(540)](),j(F))},onMouseDown:F=>{g&&o&&!m&&o(F)},children:[n&&!E&&l.jsxs(l[s(1006)],{children:[!de&&l[s(1306)](l.Fragment,{children:[l[s(510)](s(1384),{className:s(643),style:{zIndex:9999,pointerEvents:s(1296),cursor:s(1997),marginTop:s(1157),marginLeft:s(1157)},onMouseDown:F=>xe(F,"nw"),title:"拖拽调整大小"}),l.jsx(s(1384),{className:"absolute top-0 right-0 w-3 h-3 bg-blue-500 border-2 border-white rounded-full",style:{zIndex:9999,pointerEvents:s(1296),cursor:"ne-resize",marginTop:s(1157),marginRight:s(1157)},onMouseDown:F=>xe(F,"ne"),title:s(463)}),l[s(510)](s(1384),{className:s(279),style:{zIndex:9999,pointerEvents:s(1296),cursor:"sw-resize",marginBottom:s(1157),marginLeft:s(1157)},onMouseDown:F=>xe(F,"sw"),title:s(463)}),l[s(510)]("div",{className:"absolute bottom-0 right-0 w-3 h-3 bg-blue-500 border-2 border-white rounded-full",style:{zIndex:9999,pointerEvents:"auto",cursor:s(1236),marginBottom:"-6px",marginRight:s(1157)},onMouseDown:F=>xe(F,"se"),title:"拖拽调整大小"})]}),l[s(510)](s(1384),{className:s(646),style:{zIndex:9999,pointerEvents:s(1296),cursor:s(588),marginTop:s(2016),transform:s(925),boxShadow:s(1811)},onMouseDown:F=>ae(F),title:s(1886)}),l[s(510)](s(1384),{className:s(1709),style:{zIndex:9998,pointerEvents:s(696),marginTop:"-14px",transform:s(925)}}),l[s(1306)]("div",{className:s(1474),children:[e.name," ",L?"("+L[s(863)]+")":""]})]}),n&&E&&P&&r&&l[s(1306)](l[s(1006)],{children:[l.jsx(s(1384),{"data-handle":s(1541),className:s(1244),style:{left:re.x-6,top:re.y-6,boxShadow:"0 0 4px rgba(0,0,0,0.3)"},onMouseDown:F=>$(F,s(1541)),title:s(502)}),l[s(510)](s(1384),{"data-handle":s(785),className:s(1244),style:{left:Q.x-6,top:Q.y-6,boxShadow:s(1811)},onMouseDown:F=>$(F,s(785)),title:s(1425)}),l[s(510)](s(1384),{className:"absolute -top-6 left-0 bg-blue-500 text-white text-xs px-2 py-0.5 rounded whitespace-nowrap",children:e[s(863)]})]}),l[s(510)]("div",{className:s(1105),children:S?l[s(510)](s(1384),{className:"w-full h-full",children:yl(S,x,n,e,p)}):de?null:l[s(510)]("div",{className:s(224),children:s(1138)})}),e.type===s(1449)&&e[s(221)]&&l.jsx("div",{className:s(1621),children:e[s(221)][s(1902)](F=>l.jsx("div",{className:s(1565),children:l[s(510)](jx,{node:F,isSelected:!1,data:x,onUpdateNode:r,scale:i,enableEventFlow:a,eventFlowData:d})},F.id))})]});return a?l.jsx(jr,{node:e,flowContextData:d,children:ie}):ie},jx=D.memo(ml,(e,n)=>{const t=c,o=e[t(2039)],x=n[t(2039)],r=o.id===x.id&&o.normalStyle.x===x[t(1065)].x&&o[t(1065)].y===x[t(1065)].y&&o.normalStyle[t(1232)]===x.normalStyle[t(1232)]&&o.normalStyle[t(1129)]===x.normalStyle[t(1129)]&&o.normalStyle[t(473)]===x.normalStyle.rotate,i=o[t(252)]===x[t(252)],a=JSON[t(244)](e.eventFlowData??null)===JSON[t(244)](n[t(1668)]??null),d=e[t(1771)]===n[t(1771)]&&e[t(1652)]===n[t(1652)]&&e.enableEventFlow===n[t(1132)]&&a,s=g=>{const v=t,h=[];return g.contentInfo?.[v(1746)]?.[v(1998)](p=>{const M=v;if(p.material?.[M(954)]===M(1245)){const w=p.material[M(1325)];h[M(1148)]({statusId:p.id,startX:w?.[M(1112)]??0,startY:w?.startY??0,endX:w?.[M(1069)]??100,endY:w?.[M(2002)]??0})}}),h},u=s(o),f=s(x);let y=!0;if(u[t(658)]!==f[t(658)])y=!1;else for(let g=0;g<u[t(658)];g++){const v=u[g],h=f[t(1825)](p=>p[t(769)]===v[t(769)]);if(!h||v[t(1112)]!==h.startX||v[t(1743)]!==h[t(1743)]||v.endX!==h.endX||v[t(2002)]!==h.endY){y=!1;break}}return r&&i&&d&&y}),wl=()=>{const e=c,{root:n,addSiblingGroup:t,removeSiblingGroup:o,updateSiblingGroup:x,addCanvasToSiblingGroup:r,removeCanvasFromSiblingGroup:i,moveCanvasInSiblingGroup:a,nextSiblingCanvas:d,prevSiblingCanvas:s,setActiveSiblingGroup:u}=He(),f=n[e(523)]??null,y=n[e(1846)]||[],[g,v]=D.useState(y[0]?.id??null),h=D[e(1606)](()=>y[e(1825)](A=>A.id===g)||null,[y,g]),[p,M]=D[e(884)](null),[w,m]=D[e(884)](""),[b,C]=D[e(884)](void 0),I=D.useMemo(()=>{const A=e;return h?n[A(542)][A(1874)](W=>!h[A(818)][A(1402)](W.id)):n[A(542)]},[n[e(542)],h]),U=D[e(1097)](()=>{const A=t();v(A)},[t]),H=D.useCallback(A=>{const W=e,T=w[W(1597)]();if(!T){z[W(650)][W(651)](W(920));return}x(A,{name:T}),M(null),m("")},[w,x]),V=D[e(1097)](()=>{!h||!b||(r(h.id,b),C(void 0))},[h,b,r]);return l[e(1306)](e(1384),{className:e(1996),style:{minHeight:360},children:[l.jsxs(e(1384),{className:e(966),style:{minWidth:220},children:[l[e(1306)](e(1384),{className:e(1514),children:[l.jsx(e(390),{className:e(885),children:e(784)}),l[e(510)](z[e(595)],{type:e(1755),size:e(1201),icon:l.jsx(ce[e(682)],{}),onClick:U,children:"新建"})]}),y[e(658)]===0?l[e(510)](z[e(320)],{description:e(1510),image:z[e(320)][e(1620)],style:{marginTop:40}}):l[e(510)](z[e(592)],{size:e(1201),dataSource:y,renderItem:A=>{const W=e,T=A.id===g,X=p===A.id;return l[W(510)](z.List[W(1098)],{onClick:()=>{X||v(A.id)},style:{cursor:W(1792),background:T?"rgba(24,144,255,0.08)":void 0,padding:W(1163)},actions:[X?l[W(510)](z[W(595)],{type:W(1050),size:"small",onClick:G=>{G[W(540)](),H(A.id)},children:"保存"}):l[W(510)](z[W(358)],{title:W(1096),children:l[W(510)](z[W(595)],{type:"text",size:"small",icon:l.jsx(ce[W(1833)],{}),onClick:G=>{const L=W;G[L(540)](),M(A.id),m(A[L(863)])}})},W(1615)),l[W(510)](z[W(1134)],{title:W(231),okText:"删除",cancelText:"取消",okButtonProps:{danger:!0},onConfirm:G=>{const L=W;if(G?.stopPropagation(),o(A.id),g===A.id){const B=y[L(1874)](S=>S.id!==A.id);v(B[0]?.id??null)}},onCancel:G=>G?.[W(540)](),children:l[W(510)](z[W(595)],{type:"text",size:W(1201),danger:!0,icon:l.jsx(ce[W(668)],{}),onClick:G=>G.stopPropagation()})},W(741))],children:X?l.jsx(z[W(423)],{autoFocus:!0,size:W(1201),value:w,onChange:G=>m(G[W(1450)][W(1834)]),onPressEnter:()=>H(A.id),onClick:G=>G.stopPropagation(),style:{width:140}}):l[W(1306)]("span",{className:W(1154),children:[l[W(510)]("span",{style:{fontWeight:T?600:400},children:A[W(863)]}),l[W(510)](z[W(1184)],{color:W(1399),children:A[W(818)][W(658)]}),f===A.id&&l[W(510)](z.Tag,{color:W(1103),children:"浏览中"})]})})}})]}),l[e(510)]("div",{className:"flex-1 border border-gray-200 rounded p-2",style:{minWidth:280},children:h?l[e(1306)](l[e(1006)],{children:[l[e(1306)]("div",{className:"flex items-center justify-between mb-2",children:[l.jsx("span",{className:e(885),children:e(2040)}),l[e(1306)](z[e(556)],{size:e(1201),children:[f===h.id?l[e(510)](z[e(358)],{title:e(904),children:l.jsx(z[e(595)],{size:e(1201),onClick:()=>u(null),children:e(1936)})}):l[e(510)](z[e(358)],{title:e(720),children:l[e(510)](z[e(595)],{size:e(1201),type:e(1755),ghost:!0,disabled:h[e(818)].length===0,onClick:()=>u(h.id),children:e(425)})}),l[e(510)](z.Tooltip,{title:"翻到上一页(基于当前画布)",children:l[e(510)](z.Button,{size:"small",icon:l[e(510)](ce[e(1355)],{}),disabled:h[e(818)][e(658)]<2,onClick:()=>s(h.id)})}),l[e(510)](z[e(358)],{title:e(338),children:l[e(510)](z[e(595)],{size:e(1201),icon:l[e(510)](ce[e(214)],{}),disabled:h[e(818)][e(658)]<2,onClick:()=>d(h.id)})})]})]}),l[e(1306)](e(1384),{className:e(1299),children:[l[e(510)](z.Select,{placeholder:e(462),value:b,onChange:C,style:{flex:1},size:e(1201),disabled:I.length===0,options:I.map(A=>({label:A[e(863)],value:A.id}))}),l[e(510)](z[e(595)],{size:e(1201),type:"primary",icon:l[e(510)](ce.PlusOutlined,{}),disabled:!b,onClick:V,children:"加入"})]}),h.canvasIds[e(658)]===0?l[e(510)](z[e(320)],{description:e(796),image:z[e(320)].PRESENTED_IMAGE_SIMPLE,style:{marginTop:40}}):l[e(510)](z[e(592)],{size:e(1201),dataSource:h.canvasIds,renderItem:(A,W)=>{const T=e,X=n[T(542)].find(B=>B.id===A),G=n.currentCanvasId===A,L=h[T(818)][T(658)];return l[T(510)](z[T(592)][T(1098)],{style:{padding:T(1163)},actions:[l.jsx(z.Tooltip,{title:"上移",children:l[T(510)](z[T(595)],{type:"text",size:"small",icon:l[T(510)](ce[T(1513)],{}),disabled:W===0,onClick:()=>a(h.id,A,"up")})},"up"),l[T(510)](z[T(358)],{title:"下移",children:l[T(510)](z[T(595)],{type:T(600),size:T(1201),icon:l[T(510)](ce[T(1267)],{}),disabled:W===L-1,onClick:()=>a(h.id,A,T(1237))})},T(1237)),l[T(510)](z.Tooltip,{title:T(1273),children:l[T(510)](z[T(595)],{type:T(600),size:"small",danger:!0,icon:l.jsx(ce[T(668)],{}),onClick:()=>i(h.id,A)})},T(1313))],children:l.jsxs(T(390),{className:"flex items-center gap-2",children:[l[T(510)](z[T(1184)],{children:W+1}),l.jsx(T(390),{style:{fontWeight:G?600:400},children:X?.[T(863)]??T(1301)+A.slice(0,6)+")"}),G&&l[T(510)](z.Tag,{color:T(1103),children:"当前"})]})})}})]}):l[e(510)](z[e(320)],{description:e(1434),image:z.Empty.PRESENTED_IMAGE_SIMPLE,style:{marginTop:60}})})]})},vl=[c(1385),c(1470),c(1828),"#f5222d",c(1558),c(893),c(1351),c(234),c(724),c(1975),c(564),"#d9d9d9",c(421),c(1147),c(840),"#73d13d"],dt=({value:e=c(1385),onChange:n,onChangeComplete:t})=>{const o=c,[x,r]=D[o(884)](!1),[i,a]=D[o(884)](e),d=D[o(805)](null);D[o(532)](()=>{a(e)},[e]),D[o(532)](()=>{const u=o,f=y=>{const g=_0x5528;d[g(506)]&&!d[g(506)].contains(y[g(1450)])&&(r(!1),t?.({toHexString:()=>i}))};return x&&document[u(1976)](u(539),f),()=>document[u(864)](u(539),f)},[x,t,i]);const s=u=>{a(u),n?.({toHexString:()=>u})};return l[o(1306)](o(1384),{ref:d,style:{position:"relative",display:o(1392)},children:[l[o(510)]("div",{onClick:()=>r(!x),style:{width:28,height:28,backgroundColor:i,border:"1px solid #d9d9d9",borderRadius:4,cursor:o(1792)}}),x&&l[o(1306)](o(1384),{style:{position:"absolute",top:32,left:0,zIndex:1e3,background:o(414),padding:8,borderRadius:4,boxShadow:o(1869),border:"1px solid #f0f0f0"},children:[l[o(510)]("div",{style:{display:o(1093),gridTemplateColumns:o(1133),gap:4},children:vl[o(1902)](u=>l[o(510)](o(1384),{onClick:()=>{s(u),r(!1),t?.({toHexString:()=>u})},style:{width:20,height:20,backgroundColor:u,border:o(i===u?1751:1261),borderRadius:2,cursor:o(1792)}},u))}),l[o(510)](o(1930),{type:"color",value:i,onChange:u=>s(u[o(1450)][o(1834)]),onBlur:()=>t?.({toHexString:()=>i}),style:{width:o(733),marginTop:8,height:28,border:o(1261),borderRadius:4}})]})]})},{TextArea:bl}=z[c(423)];function pl(e){const n=c;if(!e||!(e instanceof HTMLElement))return!1;const t=e[n(1440)];return!!(t==="INPUT"||t==="TEXTAREA"||t===n(1161)||t==="OPTION"||e[n(1908)]||e[n(1262)](n(1593))||e[n(1262)](n(488))||e[n(1262)](n(483)))}const Gr=({defaultTestData:e,readonly:n=!1,backgroundImageUrl:t,initialViewportWidth:o,initialViewportHeight:x})=>{const r=c,i=D[r(805)](null),a=D[r(805)](null),d=D[r(805)](null),{nodes:s,selectedNodeId:u,selectedNodeIds:f,mode:y,lineDrawing:g,viewport:v,canvas:h,root:p,setViewport:M,setCanvasConfig:w,addNode:m,selectNode:b,updateNode:C,removeNode:I,bringToFront:U,sendToBack:H,undo:V,redo:A,setMode:W,startLineDrawing:T,endLineDrawing:X,cancelLineDrawing:G,addCanvas:L,removeCanvas:B,switchCanvas:S,updateCanvasName:E,exportCanvas:P,importCanvas:k,setSelectedNodeIds:K}=He(),[_,R]=D[r(884)](!1),[,$]=D[r(884)]({}),xe=D[r(805)](y);D[r(532)](()=>{const Y=r;xe[Y(506)]=y},[y]),D.useEffect(()=>{W(n?r(222):"select")},[n,W]);const ae=n&&o&&h.width>0?Math[r(719)](o/h[r(1232)],1):.5,de=n&&o?1:5,ue=n&&o&&h[r(1232)]>0?ae:1,re=n&&o?"viewport-"+o+"-"+(x||r(1296))+r(1288)+h[r(1232)]+"-"+h.height:r(1764),Q=D[r(805)](ue),ie=D[r(805)](!1),F=D[r(805)]({x:0,y:0}),N=D[r(805)]({x:0,y:0,newX:0,newY:0}),j=D[r(805)](null),[Z,O]=D[r(884)]({start:null,end:null,isDrawing:!1}),[oe,le]=D[r(884)]({start:null,end:null}),se=f,ge=K;D[r(805)](!1);const[ve,Se]=D.useState(!1),[ze,ke]=D.useState(!1),[Ye,Ie]=D[r(884)](()=>JSON[r(244)](e??null,null,2)),Pe=D.useMemo(()=>{const Y=r;if(!ze)return e;try{return JSON[Y(1503)](Ye)}catch{return e}},[Ye,e,ze]),Ae=D[r(1606)](()=>{const Y=r,q=Pe;if(q!==null&&typeof q===Y(460))return q;if(q!==void 0)return{_payload:q}},[Pe]),Ve=D[r(1606)](()=>{const Y=r,q=Pe;return q!==null&&typeof q=="object"&&!Array[Y(293)](q)?q:Array[Y(293)](q)?{_telemetryRows:q}:q==null?{}:{_payload:q}},[Pe]),tn=D.useCallback(()=>{const Y=r;let q=e;if(ze)try{q=JSON[Y(1503)](Ye)}catch{q=e}Ie(JSON.stringify(q??null,null,2)),Se(!0)},[Ye,e,ze]),[yn,Je]=D[r(884)](!1),[rn,Xe]=D.useState(!1),[an,cn]=D[r(884)](""),[xn,mn]=D[r(884)](!1),Pn=D[r(1097)](()=>{const Y=r;try{const q=P(),te=JSON[Y(244)](q,null,2),ee=Y(335)+encodeURIComponent(te),fe=Y(1853)+q[Y(487)][Y(863)]+"_"+Date.now()+Y(1455),J=document.createElement("a");J[Y(2033)](Y(1626),ee),J[Y(2033)](Y(1927),fe),J[Y(1140)](),z[Y(650)][Y(743)]("画布导出成功!")}catch{z[Y(650)].error(Y(579))}},[P]),Qe=D.useCallback(()=>{const Y=r;try{const q=JSON[Y(1503)](an);xn?k(q):k(q,p[Y(1926)]||void 0),Xe(!1),cn(""),mn(!1),z.message[Y(743)](Y(1305))}catch{z[Y(650)].error(Y(1373))}},[an,xn,k,p[r(1926)]]),Bt=D.useCallback(Y=>{const q=new FileReader;return q.onload=te=>{const ee=_0x5528;try{const fe=te[ee(1450)]?.[ee(585)],J=JSON[ee(1503)](fe);xn?k(J):k(J,p[ee(1926)]||void 0),z[ee(650)][ee(743)](ee(1305)),Xe(!1),mn(!1)}catch{z[ee(650)][ee(360)](ee(1999))}},q.readAsText(Y),!1},[xn,k,p[r(1926)]]),[Ze,Hn]=D[r(884)](!1),We=D[r(1097)]((Y,q)=>{const te=r;if(!a[te(506)])return{x:0,y:0};const ee=a[te(506)].getBoundingClientRect(),fe=Y-ee[te(1921)],J=q-ee[te(1276)],ne=ee.width/h[te(1232)],ye=ee.height/h[te(1129)],we=fe/ne,me=J/ye;return{x:Math[te(639)](we),y:Math[te(639)](me)}},[h[r(1232)],h[r(1129)]]),Mn=D[r(1097)]((Y,q)=>We(Y,q),[We]),Dt=D[r(1097)]((Y,q,te=!0)=>{const ee=r;if(!g[ee(609)])return;const fe=g[ee(609)],J=fe.config||{},ne=J.lineWeight||J.thickness||2,ye=Math[ee(719)](Y.x,q.x),we=Math.min(Y.y,q.y),me=Math[ee(639)](Y.x-ye),Ce=Math.round(Y.y-we),pe=Math.round(q.x-ye),Ne=Math[ee(639)](q.y-we),Oe=Math[ee(735)](ne*2,4),Fe=Math[ee(735)](Math.abs(Y.x-q.x),Oe),wn=Math[ee(735)](Math[ee(427)](Y.y-q.y),Oe),Ke={...fe,id:be[ee(876)](),config:{color:J[ee(681)],lineWeight:ne,thickness:ne,lineType:J[ee(1248)],startX:me,startY:Ce,endX:pe,endY:Ne}},Me={id:be[ee(876)](),name:fe[ee(863)]+"_"+Date.now(),type:ee(2008),normalStyle:{width:Fe,height:wn,x:ye,y:we,background:ee(1958)},contentInfo:{statusList:[Dx(Ke)],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}};if(m(Me,!1),te){const Be={x:q.x,y:q.y};O({start:Be,end:{...Be},isDrawing:!0})}else O({start:null,end:null,isDrawing:!1}),X()},[g[r(609)],m,X]),No=D.useCallback(()=>{const Y=r,q=i[Y(506)]?.[Y(1298)];if(!q)return;const te=q[Y(1738)];Q.current=te[Y(1652)],M({scale:te[Y(1652)],positionX:0,positionY:0})},[M]),ko=D.useCallback(Y=>{const q=r;ie[q(506)]||y!==q(1375)&&(Y[q(1450)]===a[q(506)]||Y[q(1450)][q(1753)]?.[q(487)]==="true")&&(b(null),ge([]))},[b,y]),Io=D[r(1097)](Y=>{const q=r;if(Y.button===0){if(y===q(1842)&&g.material){Y.stopPropagation();const te=We(Y[q(428)],Y[q(597)]);Z[q(1974)]?Z[q(1541)]&&Dt(Z.start,te,!0):O({start:te,end:te,isDrawing:!0});return}if(y===q(1375)&&!Ze){const te=Mn(Y.clientX,Y[q(597)]);le({start:te,end:te}),ge([]),b(null),Y.preventDefault(),Y[q(540)]()}}},[y,g[r(609)],Z[r(1974)],Z[r(1541)],Ze,Dt,We,Mn]),Po=D[r(1097)](Y=>{const q=r;if(!(y!=="line-draw"||!g[q(609)])&&Z[q(1974)]&&Z.start){const te=We(Y.clientX,Y[q(597)]);Dt(Z[q(1541)],te,!1)}},[y,g.material,Z[r(1974)],Z[r(1541)],Dt,We]),Ao=D[r(1097)](Y=>{const q=r;Y[q(1477)](),Y[q(1841)][q(1149)]=q(1636),R(!0)},[]),Eo=D.useCallback(Y=>{Y.preventDefault(),R(!1)},[]),jo=D[r(1097)](Y=>{const q=r;if(Y[q(1477)](),R(!1),!(!a.current||y!==q(1524)))try{const te=Y[q(1841)].getData(q(808));if(!te)return;const ee=JSON[q(1503)](te),fe=We(Y[q(428)],Y[q(597)]),J=fe.x-50,ne=fe.y-50,ye=ar(J,ne,ee);m(ye),ge([ye.id])}catch(te){console[q(360)](q(1987),te)}},[y,m,We]),Yo=D.useCallback((Y,q)=>{const te=r;y!==te(1524)&&y!=="box-select"||!q[te(1888)][te(1813)]||(Y[te(540)](),b(q.id),ie[te(506)]=!0,F[te(506)]={x:Y[te(428)],y:Y[te(597)]},N[te(506)]={x:q.normalStyle.x||0,y:q.normalStyle.y||0,newX:q.normalStyle.x||0,newY:q[te(1065)].y||0},j[te(506)]=q,Y[te(1477)]())},[y,b]);D.useEffect(()=>{const Y=r,q=J=>{const ne=_0x5528;if(ie[ne(506)]&&u&&j[ne(506)]){if(!a[ne(506)])return;const ye=a[ne(506)][ne(1623)](),we=ye[ne(1232)]/h[ne(1232)],me=ye.height/h[ne(1129)],Ce=J[ne(428)]-F.current.x,pe=J.clientY-F[ne(506)].y,Ne=Ce/we,Oe=pe/me,Fe=N[ne(506)].x+Ne,wn=N[ne(506)].y+Oe,Ke=document[ne(1894)](ne(1727)+u+'"]');Ke&&(Ke[ne(262)][ne(1921)]=Fe+"px",Ke[ne(262)].top=wn+"px"),N[ne(506)].newX=Fe,N[ne(506)][ne(1228)]=wn}if(y==="box-select"&&oe[ne(1541)]){const ye=Mn(J[ne(428)],J[ne(597)]);le(we=>({...we,end:ye}))}if(y===ne(1842)&&Z[ne(1974)]){const ye=We(J[ne(428)],J.clientY);O(we=>({...we,end:ye}))}},te=()=>{const J=_0x5528;if(ie[J(506)]&&u&&j[J(506)]){const ne=He[J(1419)](),ye=N[J(506)][J(2006)]??N.current.x,we=N.current[J(1228)]??N[J(506)].y;ne[J(1487)](u,{normalStyle:{...j[J(506)][J(1065)],x:ye,y:we}})}if(ie.current=!1,j[J(506)]=null,$({}),y==="box-select"&&oe[J(1541)]&&oe[J(785)]){const ne=Math.min(oe[J(1541)].x,oe.end.x),ye=Math[J(735)](oe[J(1541)].x,oe[J(785)].x),we=Math[J(719)](oe[J(1541)].y,oe.end.y),me=Math[J(735)](oe.start.y,oe[J(785)].y),Ce=s[J(1874)](pe=>{const Ne=J,Oe=pe[Ne(1065)].x||0,Fe=pe.normalStyle.y||0,wn=pe.normalStyle[Ne(1232)]||0,Ke=pe[Ne(1065)][Ne(1129)]||0,Me=Oe+wn/2,Be=Fe+Ke/2;return Me>=ne&&Me<=ye&&Be>=we&&Be<=me})[J(1902)](pe=>pe.id);ge(Ce),le({start:null,end:null})}},ee=J=>{const ne=_0x5528;if(!pl(J[ne(1450)])){if(J[ne(1673)]==="Escape"&&y===ne(1842)&&(O({start:null,end:null,isDrawing:!1}),G()),J[ne(1673)]===ne(2046)&&(u?I(u):se[ne(658)]>0&&(se.forEach(ye=>I(ye)),ge([]))),J.ctrlKey&&J.key==="z"&&(J.preventDefault(),V()),J[ne(1533)]&&J.key==="y"&&(J[ne(1477)](),A()),(y==="select"||y===ne(1375))&&(J[ne(1673)]===ne(1782)||J[ne(1673)]===ne(247)||J.key===ne(1905)||J[ne(1673)]==="ArrowDown")){const ye=se.length>0?se:u?[u]:[];if(ye[ne(658)]>0){J[ne(1477)]();const we=J[ne(1673)]===ne(1782)?-2:J[ne(1673)]===ne(247)?2:0,me=J[ne(1673)]==="ArrowUp"?-2:J[ne(1673)]===ne(479)?2:0;ye[ne(1998)](Ce=>{const pe=ne,Ne=s[pe(1825)](Oe=>Oe.id===Ce);Ne&&C(Ce,{normalStyle:{...Ne.normalStyle,x:(Ne[pe(1065)].x||0)+we,y:(Ne[pe(1065)].y||0)+me}})})}}J[ne(1673)]===" "&&!Ze&&(J[ne(1477)](),Hn(!0))}},fe=J=>{J[_0x5528(1673)]===" "&&Ze&&Hn(!1)};return window[Y(1976)](Y(1967),q),window[Y(1976)](Y(1070),te),window.addEventListener("keydown",ee),window[Y(1976)](Y(767),fe),()=>{const J=Y;window[J(864)](J(1967),q),window[J(864)](J(1070),te),window[J(864)](J(967),ee),window[J(864)]("keyup",fe)}},[u,oe,y,Z[r(1974)],se,s,h.width,h[r(1129)],I,V,Ze,A,G,We,Mn,ge,C]);const cx=(Y,q=!0)=>{const te=r,ee={...Y,id:be[te(876)](),name:Y.name+te(361),normalStyle:{...Y[te(1065)],x:(Y.normalStyle.x||0)+(q?20:0),y:(Y.normalStyle.y||0)+(q?20:0)}};return Y.type==="group"&&Y[te(221)]&&(ee[te(221)]=Y[te(221)][te(1902)](fe=>cx(fe,!1))),ee},sx=D[r(1097)](()=>{const Y=r,q=se[Y(658)]>0?se[Y(1902)](ee=>s[Y(1825)](fe=>fe.id===ee))[Y(1874)](Boolean):u?[s[Y(1825)](ee=>ee.id===u)][Y(1874)](Boolean):[];if(q.length===0)return;const te=[];q[Y(1998)](ee=>{const fe=Y,J=cx(ee);m(J),te[fe(1148)](J.id)}),te.length===1?b(te[0]):ge(te)},[u,se,s,m,b,ge]),lx=D[r(1097)](()=>{const Y=r;if(se[Y(658)]<2)return;const q=[];for(let we=0;we<se[Y(658)];we++){const me=se[we],Ce=s[Y(1825)](pe=>pe.id===me);if(Ce){if(Ce?.[Y(954)]==="group"){Ce[Y(221)].forEach(Ne=>q[Y(1148)]({...Ne,normalStyle:{...Ne[Y(1065)],x:(Ce[Y(1065)].x||0)+(Ne[Y(1065)].x||0),y:(Ce[Y(1065)].y||0)+(Ne[Y(1065)].y||0)}})),I(me);continue}q[Y(1148)](Ce)}}if(q[Y(658)]<2)return;let te=1/0,ee=1/0,fe=-1/0,J=-1/0;q[Y(1998)](we=>{const me=Y,Ce=we.normalStyle.x||0,pe=we[me(1065)].y||0,Ne=we[me(1065)][me(1232)]||0,Oe=we[me(1065)][me(1129)]||0;te=Math[me(719)](te,Ce),ee=Math[me(719)](ee,pe),fe=Math[me(735)](fe,Ce+Ne),J=Math[me(735)](J,pe+Oe)});const ne=q[Y(1902)](we=>({...we,normalStyle:{...we.normalStyle,x:(we[Y(1065)].x||0)-te,y:(we[Y(1065)].y||0)-ee}})),ye={id:be[Y(876)](),name:"群组_"+Date.now(),type:Y(1449),normalStyle:{x:te,y:ee,width:fe-te,height:J-ee,background:Y(1958)},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:ne};se.forEach(we=>I(we)),m(ye),ge([]),b(ye.id)},[se,s,I,m,b]),dx=Y=>{const q=r,te={...Y,id:be.nanoid()};return Y[q(954)]==="group"&&Y[q(221)]&&(te[q(221)]=Y.children[q(1902)](ee=>dx(ee))),te},ux=D[r(1097)](()=>{const Y=r,q=se[Y(658)]>0?se[Y(1902)](te=>s.find(ee=>ee.id===te)).filter(te=>!!te&&te[Y(954)]==="group"):u?[s[Y(1825)](te=>te.id===u)].filter(te=>!!te&&te[Y(954)]==="group"):[];q[Y(658)]!==0&&(q[Y(1998)](te=>{const ee=Y;if(!te[ee(221)]||te[ee(221)][ee(658)]===0)return;const fe=te[ee(1065)].x||0,J=te[ee(1065)].y||0,ne=te[ee(1065)][ee(1232)]||0,ye=te[ee(1065)][ee(1129)]||0,we=te[ee(1065)].rotate||0,me=we*Math.PI/180,Ce=Math[ee(1015)](me),pe=Math.sin(me),Ne=fe+ne/2,Oe=J+ye/2,Fe=(Ke,Me)=>{const Be=Ke-ne/2,nt=Me-ye/2;return{x:Ne+Be*Ce-nt*pe,y:Oe+Be*pe+nt*Ce}},wn=te[ee(221)][ee(1902)](Ke=>{const Me=ee,Be=dx(Ke);if(Be[Me(252)][Me(1746)][Me(1667)](Oo=>Oo[Me(609)][Me(954)]==="LINE")){const Oo=Be.normalStyle.x||0,d1=Be[Me(1065)].y||0,xs=Be[Me(1065)].width||0,os=Be.normalStyle[Me(1129)]||0,u1=Be.normalStyle[Me(473)]||0,rs=u1*Math.PI/180,is=Math[Me(1015)](rs),as=Math[Me(1660)](rs),cs=(ot,qe)=>{const vn=ot-xs/2,Bn=qe-os/2,sn=vn*is-Bn*as+xs/2,Wo=vn*as+Bn*is+os/2;return Fe(Oo+sn,d1+Wo)};let tt=1/0,xt=1/0,Ho=-1/0,To=-1/0,Vo=2;const f1=Be[Me(252)][Me(1746)][Me(1902)](ot=>{const qe=Me;if(ot.material[qe(954)]!==qe(1245))return null;const vn=ot.material[qe(1325)]||{},Bn=cs(vn[qe(1112)]||0,vn[qe(1743)]||0),sn=cs(vn[qe(1069)]||0,vn[qe(2002)]||0);return tt=Math[qe(719)](tt,Bn.x,sn.x),xt=Math[qe(719)](xt,Bn.y,sn.y),Ho=Math[qe(735)](Ho,Bn.x,sn.x),To=Math[qe(735)](To,Bn.y,sn.y),Vo=Math[qe(735)](Vo,vn[qe(1444)]||vn.thickness||2),{s:Bn,e:sn}});if(Number[Me(981)](tt)&&Number[Me(981)](xt)){const ot=Math.max(Vo*2,4),qe=Math[Me(735)](Ho-tt,ot),vn=Math.max(To-xt,ot),Bn=Be.contentInfo.statusList[Me(1902)]((sn,Wo)=>{const qo=Me,c0=f1[Wo];if(!c0||sn[qo(609)][qo(954)]!=="LINE")return sn;const ss=sn[qo(609)];return{...sn,material:{...ss,config:{...ss.config||{},startX:c0.s.x-tt,startY:c0.s.y-xt,endX:c0.e.x-tt,endY:c0.e.y-xt}}}});return{...Be,normalStyle:{...Be[Me(1065)],x:tt,y:xt,width:qe,height:vn,rotate:0},contentInfo:{...Be[Me(252)],statusList:Bn}}}}const wx=Be[Me(1065)][Me(1232)]||0,vx=Be[Me(1065)][Me(1129)]||0,bx=Be[Me(1065)].x||0,es=Be[Me(1065)].y||0,ns=bx+wx/2-ne/2,ts=es+vx/2-ye/2,a1=Ne+ns*Ce-ts*pe,c1=Oe+ns*pe+ts*Ce,s1=Be[Me(1065)][Me(473)]||0,l1=((s1+we)%360+360)%360;return{...Be,normalStyle:{...Be.normalStyle,x:a1-wx/2,y:c1-vx/2,rotate:l1}}});I(te.id),wn[ee(1998)](Ke=>m(Ke))}),ge([]),b(null))},[u,se,s,I,m,b,ge]),o0=D[r(1097)](Y=>{const q=r;if(se[q(658)]<2)return;const te=se.map(me=>s[q(1825)](Ce=>Ce.id===me))[q(1874)](me=>!!me&&me[q(954)]!==q(1449));if(te[q(658)]<2)return;let ee=1/0,fe=-1/0,J=1/0,ne=-1/0;te[q(1998)](me=>{const Ce=q,pe=me[Ce(1065)].x||0,Ne=me[Ce(1065)].y||0;ee=Math.min(ee,pe),fe=Math[Ce(735)](fe,pe),J=Math[Ce(719)](J,Ne),ne=Math.max(ne,Ne)});const ye=[...te][q(232)]((me,Ce)=>{const pe=q;return Y===pe(598)?(me[pe(1065)].x||0)-(Ce[pe(1065)].x||0):(me.normalStyle.y||0)-(Ce[pe(1065)].y||0)}),we=ye[q(658)];if(Y===q(598)){const me=fe-ee,Ce=me/(we-1);ye[q(1998)]((pe,Ne)=>{const Oe=q,Fe=ee+Ce*Ne;C(pe.id,{normalStyle:{...pe[Oe(1065)],x:Fe}})})}else{const me=ne-J,Ce=me/(we-1);ye[q(1998)]((pe,Ne)=>{const Oe=q,Fe=J+Ce*Ne;C(pe.id,{normalStyle:{...pe[Oe(1065)],y:Fe}})})}},[se,s,C]),Tn=Y=>{const q=r,te=Y.contentInfo.statusList.find(ee=>ee[q(609)].type===q(1245));return te?te[q(609)].config:null},Vn=D[r(1097)](Y=>{const q=r;if(se.length<2)return;const te=He[q(1419)](),ee=se[q(1902)](J=>s[q(1825)](ne=>ne.id===J))[q(1874)](J=>!!J);if(ee[q(658)]<2)return;let fe=0;switch(Y){case q(1921):fe=Math[q(719)](...ee[q(1902)](J=>{const ne=q,ye=Tn(J);return ye?(J[ne(1065)].x||0)+(ye[ne(1112)]||0):J[ne(1065)].x||0}));break;case q(2043):fe=Math.max(...ee[q(1902)](J=>{const ne=q,ye=Tn(J);return ye?(J[ne(1065)].x||0)+(ye[ne(1069)]||0):(J[ne(1065)].x||0)+(J[ne(1065)].width||0)}));break;case q(1276):fe=Math[q(719)](...ee[q(1902)](J=>{const ne=q,ye=Tn(J);return ye?(J.normalStyle.y||0)+(ye[ne(1743)]||0):J[ne(1065)].y||0}));break;case q(308):fe=Math[q(735)](...ee[q(1902)](J=>{const ne=q,ye=Tn(J);return ye?(J[ne(1065)].y||0)+(ye[ne(2002)]||0):(J[ne(1065)].y||0)+(J[ne(1065)].height||0)}));break}ee.forEach(J=>{const ne=q;let ye=J[ne(1065)].x||0,we=J.normalStyle.y||0;const me=Tn(J);switch(Y){case ne(1921):me?ye=fe-(me[ne(1112)]||0):ye=fe;break;case"right":me?ye=fe-(me.endX||0):ye=fe-(J.normalStyle[ne(1232)]||0);break;case ne(1276):me?we=fe-(me[ne(1743)]||0):we=fe;break;case ne(308):me?we=fe-(me[ne(2002)]||0):we=fe-(J[ne(1065)][ne(1129)]||0);break}te[ne(1487)](J.id,{normalStyle:{...J[ne(1065)],x:ye,y:we}})})},[se,s]),fx=[{icon:l.jsx(ce[r(1029)],{}),title:r(1386),active:y==="select",onClick:()=>{W("select")}},{icon:l[r(510)](ce[r(1251)],{}),title:"框选模式",active:y===r(1375),onClick:()=>{W("box-select"),ge([])}},{icon:l.jsx(ce[r(1866)],{}),title:"拖拽模式",active:y===r(481),onClick:()=>{W(r(481))}},{icon:l[r(510)](ce[r(1833)],{}),title:r(496),active:y==="line-draw",onClick:()=>{W(r(1842))}},{icon:l[r(510)](ce[r(1361)],{}),title:"预览模式",active:y===r(222),onClick:()=>{W(r(222))}}],Lt=D.useCallback(()=>se.length>0?se:u?[u]:[],[se,u]),hx=D.useCallback(()=>{const Y=r,q=Lt();if(q.length===0)return;s[Y(1874)](ee=>q[Y(1402)](ee.id))[Y(1902)](ee=>ee.id).forEach(ee=>U(ee))},[Lt,s,U]),gx=D[r(1097)](()=>{const Y=r,q=Lt();if(q[Y(658)]===0)return;[...s[Y(1874)](ee=>q.includes(ee.id))[Y(1902)](ee=>ee.id)].reverse()[Y(1998)](ee=>H(ee))},[Lt,s,H]),Uo=D.useMemo(()=>[{icon:l[r(510)](ce.UndoOutlined,{}),title:r(1365),onClick:V},{icon:l.jsx(ce[r(837)],{}),title:r(218),onClick:A},{icon:l.jsx(ce.UpSquareOutlined,{}),title:r(1959),disabled:!u&&se[r(658)]===0,onClick:hx},{icon:l[r(510)](ce.DownSquareOutlined,{}),title:r(1452),disabled:!u&&se[r(658)]===0,onClick:gx},{icon:l[r(510)](ce[r(694)],{}),title:r(1076),disabled:!u&&se[r(658)]===0,onClick:sx},{icon:l[r(510)](ce.GroupOutlined,{}),title:r(577),disabled:se[r(658)]<2,onClick:lx},{icon:l[r(510)](ce.UngroupOutlined,{}),title:r(396),disabled:!u&&se[r(658)]===0,onClick:ux},{icon:l.jsx(ce[r(1190)],{}),title:r(842),disabled:se.length<2,onClick:()=>Vn(r(1921))},{icon:l.jsx(ce[r(453)],{}),title:r(1378),disabled:se[r(658)]<2,onClick:()=>Vn(r(2043))},{icon:l.jsx(ce[r(315)],{}),title:"上对齐",disabled:se[r(658)]<2,onClick:()=>Vn(r(1276))},{icon:l[r(510)](ce[r(1717)],{}),title:r(949),disabled:se[r(658)]<2,onClick:()=>Vn(r(308))},{icon:l.jsx(ce[r(2012)],{}),title:r(1019),disabled:se[r(658)]<2,onClick:()=>o0(r(598))},{icon:l.jsx(ce[r(665)],{}),title:r(2051),disabled:se[r(658)]<2,onClick:()=>o0(r(1146))},{icon:l[r(510)](ce[r(422)],{}),title:"画布配置",onClick:()=>Je(!0)},{icon:l[r(510)](ce.ExperimentOutlined,{}),title:r(1058),type:r(1755),onClick:tn},{icon:l[r(510)](ce[r(668)],{}),title:"删除选中 (Delete)",disabled:!u&&se[r(658)]===0,onClick:()=>{const Y=r;u?I(u):se[Y(658)]>0&&(se[Y(1998)](q=>I(q)),ge([]))}}],[V,A,y,W,ge,se,lx,ux,sx,Vn,o0,hx,gx,Je,Se,tn,u,I,p.currentCanvasId]),[Go,yx]=D[r(884)](!1),[r0,i0]=D[r(884)](""),[mx,a0]=D[r(884)](null);return l.jsxs(r(1384),{className:"flex flex-col "+(n?"":r(431)),children:[!n&&l[r(1306)](r(1384),{className:r(344),children:[l[r(1306)](z[r(556)],{children:[fx.map(Y=>l[r(510)](z[r(358)],{title:Y[r(938)],children:l.jsx(z[r(595)],{type:Y[r(1519)]?"primary":"default",icon:Y[r(1420)],onClick:Y.onClick})},Y[r(938)])),l[r(510)](r(1384),{className:r(1978)}),l[r(510)](z.Select,{value:p[r(1926)],onChange:S,style:{width:140},dropdownRender:Y=>l[r(1306)](l.Fragment,{children:[Y,l[r(510)]("div",{className:"border-t border-gray-200 mt-1 pt-1",children:l[r(510)](z[r(595)],{type:r(1050),size:r(1201),block:!0,onClick:()=>yx(!0),children:r(826)})})]}),children:p.canvases[r(1902)](Y=>l[r(510)](z[r(1897)].Option,{value:Y.id,children:Y.name},Y.id))}),l[r(510)](z[r(595)],{icon:l[r(510)](ce[r(682)],{}),size:r(1201),onClick:()=>L(),title:r(1827)}),l.jsx(z[r(358)],{title:r(1839),children:l[r(510)](z[r(595)],{icon:l[r(510)](ce[r(642)],{}),size:r(1201),onClick:Pn})}),l[r(510)](z.Tooltip,{title:r(1289),children:l[r(510)](z.Button,{icon:l[r(510)](ce[r(1286)],{}),size:r(1201),onClick:()=>Xe(!0)})})]}),l[r(510)](z[r(556)],{children:Uo.map(Y=>l[r(510)](z[r(358)],{title:Y[r(938)],children:l.jsx(z[r(595)],{type:Y[r(1519)]?r(1755):Y.type||r(1764),icon:Y.icon,onClick:Y[r(907)],disabled:Y[r(1376)]})},Y[r(938)]))})]}),l[r(510)](r(1384),{ref:d,className:r(208)+(n?"":r(1178)),style:n&&o?{display:r(1572),justifyContent:"flex-start",alignItems:"flex-start"}:void 0,onWheel:n&&o?Y=>{const q=r;Y[q(1477)](),Y[q(540)]();const te=i.current;if(!te)return;const ee=Q[q(506)],fe=.1,J=Y[q(1809)]>0?Math[q(735)](ee-fe,ae):Math.min(ee+fe,de);te[q(1197)](0,0,J,0)}:void 0,children:l[r(510)](l0[r(763)],{ref:i,initialScale:ue,initialPositionX:0,initialPositionY:0,minScale:ae,maxScale:de,onTransformed:No,limitToBounds:n&&!!o,centerZoomedOut:n&&!!o,panning:{disabled:!Ze&&y!=="drag",velocityDisabled:!0},wheel:{disabled:n&&!!o,step:.1},pinch:{disabled:!1},doubleClick:{disabled:!0},children:({zoomIn:Y,zoomOut:q,resetTransform:te})=>l[r(1306)](l.Fragment,{children:[!n&&l[r(510)](r(1384),{className:"absolute bottom-4 right-4 z-10 bg-white rounded-lg shadow-lg p-2",children:l.jsxs(z[r(556)],{direction:r(1146),children:[l[r(510)](z[r(358)],{title:"放大",children:l[r(510)](z[r(595)],{icon:l[r(510)](ce[r(1238)],{}),onClick:()=>Y()})}),l[r(510)](z[r(358)],{title:"缩小",children:l[r(510)](z.Button,{icon:l.jsx(ce[r(1341)],{}),onClick:()=>q()})}),l[r(510)](z[r(358)],{title:r(1649),children:l.jsx(z[r(595)],{onClick:()=>te(),children:"100%"})}),l[r(1306)](r(1384),{className:r(836),children:[Math[r(639)](v[r(1652)]*100),"%"]})]})}),l.jsx(l0[r(1557)],{wrapperStyle:n&&o?{width:o,height:x||h.height*(Q[r(506)]||1)+"px",position:r(471),overflow:"hidden"}:{width:r(733),height:n?h[r(1129)]*(Q[r(506)]||1)+"px":"100%",position:r(471),overflow:r(n?870:569)},contentStyle:{width:n?h[r(1232)]+"px":r(733),height:n?h[r(1129)]+"px":r(733),display:r(1572),alignItems:n?"flex-start":r(1322),justifyContent:n?r(1292):"center"},children:l[r(1306)]("div",{ref:a,"data-canvas":r(1993),className:r(208)+(_?"ring-4 ring-blue-400 ring-opacity-50":"")+" "+(y===r(1842)?"cursor-crosshair":"")+" "+(Ze?"cursor-grab":""),style:{width:h[r(1232)],height:h[r(1129)],flexShrink:0,backgroundColor:h[r(392)],backgroundImage:h[r(849)]?r(633)+h[r(849)]+")":void 0,backgroundSize:r(807),backgroundPosition:"center"},onClick:ko,onMouseDown:Io,onDoubleClick:Po,onDragOver:Ao,onDragLeave:Eo,onDrop:jo,children:[t&&!n&&l[r(1306)](r(1384),{className:r(1929),style:{width:h[r(1232)],height:h[r(1129)]},children:[l[r(510)](r(1646),{src:t,alt:"",className:"absolute top-0 left-0 select-none",draggable:!1}),l[r(510)]("svg",{className:r(732),width:1920,height:1080,children:l[r(510)]("rect",{x:"0",y:"0",width:"1920",height:r(1321),fill:"none",stroke:r(974),strokeWidth:"2"})})]}),h.showGrid!==!1&&l[r(1306)]("svg",{className:r(732),width:h[r(1232)],height:h[r(1129)],children:[l[r(510)](r(931),{children:l[r(510)]("pattern",{id:r(1093),width:"20",height:"20",patternUnits:r(1909),children:l[r(510)](r(1483),{d:r(612),fill:r(696),stroke:r(1595),opacity:r(1057),strokeWidth:"1"})})}),l[r(510)](r(1794),{width:r(733),height:"100%",fill:r(1916)})]}),s.map(ee=>l[r(510)](jx,{node:ee,isSelected:y===r(222)?!1:u===ee.id||se[r(1402)](ee.id),data:Ae,onClick:y===r(222)?void 0:fe=>{const J=r;console[J(1737)](J(1345),ee.id,J(1922),xe[J(506)]),xe.current!==J(1842)&&(fe[J(1166)]?(b(ee.id),ge([...se,ee.id])):(b(ee.id),ge([ee.id])))},onMouseDown:y===r(222)?void 0:fe=>Yo(fe,ee),onUpdateNode:y===r(222)?void 0:(fe,J)=>C(fe,J),scale:v.scale,enableEventFlow:y===r(222),eventFlowData:Ve},""+ee.id)),y==="line-draw"&&Z.isDrawing&&Z[r(1541)]&&Z[r(785)]&&l[r(510)](r(868),{className:r(732),width:h[r(1232)],height:h[r(1129)],children:l[r(510)](r(352),{x1:Z[r(1541)].x,y1:Z[r(1541)].y,x2:Z[r(785)].x,y2:Z[r(785)].y,stroke:"#1890ff",strokeWidth:"2",strokeDasharray:r(1423),strokeLinecap:r(639),strokeLinejoin:r(639)})}),y===r(1375)&&oe[r(1541)]&&oe.end&&l[r(510)](r(1384),{className:r(1459),style:{left:Math[r(719)](oe[r(1541)].x,oe[r(785)].x),top:Math[r(719)](oe[r(1541)].y,oe[r(785)].y),width:Math[r(427)](oe[r(785)].x-oe[r(1541)].x),height:Math[r(427)](oe.end.y-oe[r(1541)].y),zIndex:9999}})]})})]})},re)}),l[r(510)](z[r(1099)],{title:r(1058),open:ve,onCancel:()=>Se(!1),footer:null,children:l.jsx(z[r(316)],{layout:r(1146),children:l.jsx(z.Form[r(1098)],{label:"测试数据 (JSON)",children:l[r(510)](bl,{value:Ye,onChange:Y=>{const q=r;ke(!0),Ie(Y[q(1450)].value)},rows:10,placeholder:"输入 JSON 格式的测试数据;未编辑前画布跟随外部 defaultTestData(如监控推送)"})})})}),l.jsx(z[r(1099)],{title:r(1415),open:yn,onCancel:()=>Je(!1),footer:null,children:l[r(1306)](z[r(316)],{layout:r(1146),children:[l[r(510)](z.Form[r(1098)],{label:"宽度",children:l.jsx(z[r(1304)],{value:h.width,onChange:Y=>w({width:Y||1920}),min:100,max:5e3,style:{width:r(733)}})}),l.jsx(z[r(316)].Item,{label:"高度",children:l[r(510)](z[r(1304)],{value:h[r(1129)],onChange:Y=>w({height:Y||1080}),min:100,max:5e3,style:{width:r(733)}})}),l.jsx(z[r(316)][r(1098)],{label:r(1546),children:l[r(510)](z[r(2010)],{checked:h[r(947)]!==!1,onChange:Y=>w({showGrid:Y})})}),l[r(510)](z.Form[r(1098)],{label:"背景色",children:l[r(1306)](r(1384),{className:"flex items-center gap-2",children:[l[r(510)](dt,{value:h[r(392)]||r(1530),onChange:Y=>w({background:Y[r(356)]()})}),l.jsx(z[r(423)],{value:h[r(392)],onChange:Y=>w({background:Y[r(1450)][r(1834)]}),placeholder:"#ffffff"})]})}),l[r(1306)](z[r(316)][r(1098)],{label:r(1550),children:[l.jsxs(r(1384),{className:"flex items-center gap-2",children:[l[r(510)](z[r(1048)],{accept:r(1689),showUploadList:!1,beforeUpload:Y=>{const q=r;if(!Y.type[q(928)](q(631)))return z.message.error("只能上传图片文件!"),!1;const ee=new FileReader;return ee[q(357)]=fe=>{const J=q,ne=fe.target?.[J(585)];w({backgroundImage:ne}),z[J(650)][J(743)](J(331))},ee.readAsDataURL(Y),!1},children:l.jsx(z.Button,{icon:l.jsx(ce.UploadOutlined,{}),children:"上传图片"})}),l[r(510)](z.Input,{value:h.backgroundImage,onChange:Y=>w({backgroundImage:Y[r(1450)][r(1834)]}),placeholder:r(672),style:{flex:1}}),h[r(849)]&&l[r(510)](z[r(595)],{icon:l.jsx(ce[r(1607)],{}),onClick:()=>w({backgroundImage:void 0}),danger:!0,size:r(1201)})]}),h.backgroundImage&&l[r(510)](r(1384),{className:r(1509),style:{maxWidth:r(733)},children:l.jsx(r(1646),{src:h.backgroundImage,alt:r(302),style:{maxWidth:r(733),maxHeight:120,objectFit:r(927)}})})]})]})}),l[r(510)](z[r(1099)],{title:r(482),open:Go,onCancel:()=>{yx(!1),a0(null),i0("")},footer:null,width:760,children:l.jsx(z[r(912)],{items:[{key:r(542),label:r(1617),children:l[r(1306)](l[r(1006)],{children:[l[r(510)](z[r(592)],{dataSource:p.canvases,renderItem:Y=>l[r(510)](z[r(592)].Item,{actions:[mx===Y.id?l[r(510)](z[r(595)],{type:"primary",size:"small",onClick:()=>{E(Y.id,r0),a0(null)},children:"保存"}):l[r(510)](z[r(595)],{type:r(600),icon:l.jsx(ce[r(1833)],{}),size:"small",onClick:()=>{const q=r;a0(Y.id),i0(Y[q(863)])}}),p[r(542)][r(658)]>1&&l[r(510)](z.Button,{type:r(600),danger:!0,icon:l[r(510)](ce.DeleteOutlined,{}),size:r(1201),onClick:()=>B(Y.id)})][r(1874)](Boolean),children:mx===Y.id?l[r(510)](z[r(423)],{value:r0,onChange:q=>i0(q[r(1450)][r(1834)]),size:"small",style:{width:200}}):l[r(1306)]("span",{style:{fontWeight:p.currentCanvasId===Y.id?r(1970):r(2008)},children:[Y[r(863)]," ",p[r(1926)]===Y.id&&r(1173)]})})}),l[r(510)](r(1384),{className:"mt-4 flex justify-end",children:l[r(510)](z[r(595)],{type:r(1755),icon:l[r(510)](ce[r(682)],{}),onClick:()=>L(),children:r(1827)})})]})},{key:r(2007),label:r(268),children:l.jsx(wl,{})}]})}),l.jsx(z[r(1099)],{title:"导入画布",open:rn,onOk:Qe,onCancel:()=>{Xe(!1),cn(""),mn(!1)},width:600,children:l[r(1306)](r(1384),{className:r(1630),children:[l[r(1306)](r(1384),{children:[l[r(510)]("p",{className:"mb-2",children:r(1068)}),l[r(510)](r(1930),{type:r(1241),accept:r(1455),onChange:Y=>{const q=r,te=Y[q(1450)][q(416)]?.[0];te&&Bt(te)},className:r(1504)})]}),l[r(510)](r(1384),{className:r(1326),children:"或"}),l[r(1306)]("div",{children:[l[r(510)]("p",{className:"mb-2",children:"粘贴 JSON 内容:"}),l[r(510)](r(1467),{value:an,onChange:Y=>cn(Y[r(1450)][r(1834)]),placeholder:r(546),className:"w-full h-48 p-3 border border-gray-300 rounded-lg font-mono text-sm resize-none focus:outline-none focus:ring-2 focus:ring-blue-500"})]}),l[r(1306)](r(1384),{className:r(1154),children:[l[r(510)]("input",{type:r(563),id:"importAsNewCanvas",checked:xn,onChange:Y=>mn(Y[r(1450)][r(404)]),className:r(1492)}),l.jsx("label",{htmlFor:"importAsNewCanvas",className:"text-sm text-gray-700",children:r(1403)})]})]})})]})},{Option:b0}=z.Select;function Or(e){return Array[c(293)](e)}function zl(e){const n=c,t=new Set;return e[n(1998)](o=>Object[n(1210)](o)[n(1998)](x=>t.add(x))),Array[n(1855)](t)}function Cl(e,n){return e.map((t,o)=>{const x=_0x5528,r=t[n],i=t[x(863)];return{label:String(i??"项 "+(o+1)),value:typeof r===x(810)||typeof r===x(1718)?r:String(r)}})}function Hr(e,n=""){const t=c,o=[];for(const[x,r]of Object[t(1859)](e)){const i=n?n+"."+x:x;r!==null&&typeof r=="object"&&!Array[t(293)](r)?o[t(1148)](...Hr(r,i)):o[t(1148)]({paramsCode:i,paramsName:i,value:r})}return o}function Ml(e,n,t){const o=c;if(Or(e)){if(n!=null&&t!=null){const x=e[o(1825)](r=>r[n]===t);if(x)return x}return{}}return e}const Bl=({material:e,onSave:n})=>{const t=c,o=e,x=o[t(1397)]||{},r=He(m=>m[t(1416)]),[i,a]=D[t(884)]({label:x.label||"",value:x[t(1834)]||"",valueSourceCode:x[t(519)]||"",unit:x.unit||"",decimals:x.decimals??2,labelFontSize:x.labelStyle?.[t(1349)]||14,labelFontWeight:x[t(1571)]?.[t(474)]||t(1970),labelColor:x[t(1571)]?.color||t(1975),valueFontSize:x.valueStyle?.[t(1349)]||14,valueFontWeight:x[t(1102)]?.[t(474)]||t(2008),valueColor:x[t(1102)]?.[t(681)]||"#1890ff",boundDatasetId:x[t(1716)]||"",boundDatasetBindCode:x[t(322)]||"",boundDatasetBindValue:x[t(1383)]??null}),d=D[t(1606)](()=>r[t(1825)](b=>b.id===i.boundDatasetId),[r,i[t(1716)]]),s=d?Or(d[t(1410)]):!1,u=D[t(1606)](()=>{const m=t;if(!d)return[];const b=Ml(d[m(1410)],i[m(322)],i[m(1383)]);return Hr(b)},[d,i[t(322)],i.boundDatasetBindValue]);D.useEffect(()=>{const m=t;a({label:x[m(1150)]||"",value:x[m(1834)]||"",valueSourceCode:x.valueSourceCode||"",unit:x[m(1387)]||"",decimals:x[m(1079)]??2,labelFontSize:x[m(1571)]?.[m(1349)]||14,labelFontWeight:x[m(1571)]?.[m(474)]||m(1970),labelColor:x[m(1571)]?.[m(681)]||m(1975),valueFontSize:x[m(1102)]?.[m(1349)]||14,valueFontWeight:x[m(1102)]?.[m(474)]||m(2008),valueColor:x[m(1102)]?.color||"#1890ff",boundDatasetId:x.boundDatasetId||"",boundDatasetBindCode:x.boundDatasetBindCode||"",boundDatasetBindValue:x[m(1383)]??null})},[e.id]);const f=(m,b)=>{a(C=>({...C,[m]:b}))},y=m=>{a(b=>({...b,boundDatasetId:m,boundDatasetBindCode:"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetId:m||void 0,boundDatasetBindCode:void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},g=m=>{a(b=>({...b,boundDatasetBindCode:m||"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetBindCode:m||void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},v=m=>{a(b=>({...b,boundDatasetBindValue:m??null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetBindValue:m??void 0,valueSourceCode:void 0}})},0)},h=m=>{const b=t,C=u.find(U=>U[b(1934)]===m),I=C?.unit||"";a(U=>({...U,valueSourceCode:m,unit:I,value:String(C?.[b(1834)]||"")})),setTimeout(()=>{n({content:{...x,valueSourceCode:m,value:String(C?.value||""),unit:I}})},0)},p=()=>{const m=t;n({content:{...x,label:i[m(1150)],value:i.value,valueSourceCode:i.valueSourceCode,unit:i[m(1387)],decimals:i[m(1079)],boundDatasetId:i[m(1716)]||void 0,boundDatasetBindCode:i[m(322)]||void 0,boundDatasetBindValue:i[m(1383)]??void 0,labelStyle:{fontSize:i[m(1380)],fontWeight:i[m(1685)],color:i[m(530)]},valueStyle:{fontSize:i.valueFontSize,fontWeight:i[m(1747)],color:i[m(1234)]}}})},M=d&&s?zl(d[t(1410)]):[],w=d&&s&&i.boundDatasetBindCode?Cl(d[t(1410)],i[t(322)]):[];return l[t(1306)](t(1384),{className:"space-y-4",children:[l[t(510)](z[t(722)],{style:{marginTop:0},children:t(1678)}),l[t(1306)](z[t(316)],{layout:t(1146),children:[l.jsx(z[t(316)].Item,{label:t(1661),children:l[t(510)](z[t(423)],{value:i[t(1150)],onChange:m=>f("label",m[t(1450)][t(1834)]),onBlur:p,placeholder:t(1095)})}),l[t(510)](z[t(316)][t(1098)],{label:"绑定数据集",help:t(497),children:l[t(510)](z[t(1897)],{allowClear:!0,placeholder:r[t(658)]===0?t(953):t(249),value:i[t(1716)]||void 0,onChange:y,style:{width:t(733)},options:r[t(1902)](m=>({label:m[t(863)],value:m.id}))})}),d&&s&&l.jsxs(l[t(1006)],{children:[l.jsx(z[t(316)][t(1098)],{label:"绑定字段",help:t(1108),children:l.jsx(z[t(1897)],{allowClear:!0,placeholder:t(1601),value:i.boundDatasetBindCode||void 0,onChange:g,style:{width:t(733)},options:M[t(1902)](m=>({label:m,value:m}))})}),i[t(322)]&&l[t(510)](z[t(316)].Item,{label:t(1219),help:"选择该字段对应的具体值以定位数据项",children:l[t(510)](z[t(1897)],{allowClear:!0,placeholder:t(2045),value:i[t(1383)]??void 0,onChange:v,style:{width:t(733)},options:w})})]}),l[t(510)](z[t(316)][t(1098)],{label:t(451),help:d?"从绑定的数据中选择字段":t(1672),children:l[t(510)](z[t(1897)],{value:i.valueSourceCode||void 0,onChange:h,placeholder:t(d?254:1672),allowClear:!0,disabled:!d,style:{width:t(733)},options:u[t(1902)](m=>({value:m.paramsCode,label:m[t(531)]}))})}),l.jsx(z[t(316)][t(1098)],{label:i.valueSourceCode?"默认值(备用)":t(1036),help:i[t(519)]?t(758):t(550),children:l[t(510)](z[t(423)],{value:i[t(1834)],onChange:m=>f(t(1834),m[t(1450)][t(1834)]),onBlur:p,placeholder:i[t(519)]?"数据字段无值时显示此备用值":t(1614),disabled:!!i[t(519)],variant:i[t(519)]?"filled":void 0})}),l[t(510)](z[t(316)].Item,{label:"单位",help:t(1331),children:l[t(510)](z.Input,{value:i[t(1387)],onChange:m=>f(t(1387),m[t(1450)][t(1834)]),onBlur:p,placeholder:t(690),suffix:i[t(519)]&&u[t(658)]>0?l[t(510)](z.Tag,{color:"blue",style:{marginRight:-8},children:"自动"}):null})}),l[t(510)](z[t(316)].Item,{label:t(1531),help:"数值格式化时保留的小数位数,-1表示不格式化",children:l[t(510)](z[t(1304)],{value:i.decimals,onChange:m=>f(t(1079),m??2),onBlur:p,min:-1,max:10,style:{width:"100%"}})})]}),l[t(510)](z[t(722)],{children:t(596)}),l[t(1306)](z.Form,{layout:t(1146),children:[l.jsxs(z[t(556)],{children:[l[t(510)](z[t(316)][t(1098)],{label:t(1944),children:l[t(510)](z[t(1304)],{value:i[t(1380)],onChange:m=>f(t(1380),m||14),onBlur:p,min:8,max:72})}),l[t(510)](z[t(316)][t(1098)],{label:t(1009),children:l[t(1306)](z.Select,{value:i[t(1685)],onChange:m=>{f("labelFontWeight",m),setTimeout(p,0)},style:{width:100},children:[l[t(510)](b0,{value:t(2008),children:"正常"}),l[t(510)](b0,{value:t(1970),children:"粗体"})]})})]}),l[t(510)](z[t(316)].Item,{label:"文字颜色",children:l[t(1306)](t(1384),{className:"flex items-center gap-2",children:[l[t(510)](dt,{value:i.labelColor||t(1975),onChange:m=>{const b=t;f(b(530),m[b(356)]())},onChangeComplete:m=>{const b=t;n({content:{...x,label:i[b(1150)],value:i.value,valueSourceCode:i[b(519)],unit:i[b(1387)],decimals:i[b(1079)],boundDatasetId:i[b(1716)]||void 0,boundDatasetBindCode:i[b(322)]||void 0,boundDatasetBindValue:i[b(1383)]??void 0,labelStyle:{fontSize:i.labelFontSize,fontWeight:i[b(1685)],color:m.toHexString()},valueStyle:{fontSize:i[b(1951)],fontWeight:i.valueFontWeight,color:i[b(1234)]}}})}}),l[t(510)](z[t(423)],{value:i[t(530)],onChange:m=>f(t(530),m[t(1450)][t(1834)]),onBlur:p,placeholder:t(1975),style:{width:100}})]})})]}),l.jsx(z.Divider,{children:t(742)}),l.jsxs(z[t(316)],{layout:t(1146),children:[l[t(1306)](z[t(556)],{children:[l[t(510)](z[t(316)].Item,{label:t(1944),children:l[t(510)](z[t(1304)],{value:i.valueFontSize,onChange:m=>f("valueFontSize",m||14),onBlur:p,min:8,max:72})}),l[t(510)](z[t(316)].Item,{label:"字体粗细",children:l[t(1306)](z.Select,{value:i[t(1747)],onChange:m=>{f(t(1747),m),setTimeout(p,0)},style:{width:100},children:[l.jsx(b0,{value:t(2008),children:"正常"}),l[t(510)](b0,{value:t(1970),children:"粗体"})]})})]}),l[t(510)](z.Form.Item,{label:t(1858),children:l[t(1306)]("div",{className:"flex items-center gap-2",children:[l.jsx(dt,{value:i[t(1234)]||"#1890ff",onChange:m=>{const b=t;f(b(1234),m[b(356)]())},onChangeComplete:m=>{const b=t;n({content:{...x,label:i.label,value:i[b(1834)],valueSourceCode:i[b(519)],unit:i[b(1387)],decimals:i[b(1079)],boundDatasetId:i[b(1716)]||void 0,boundDatasetBindCode:i[b(322)]||void 0,boundDatasetBindValue:i.boundDatasetBindValue??void 0,labelStyle:{fontSize:i[b(1380)],fontWeight:i.labelFontWeight,color:i[b(530)]},valueStyle:{fontSize:i[b(1951)],fontWeight:i[b(1747)],color:m[b(356)]()}}})}}),l[t(510)](z[t(423)],{value:i[t(1234)],onChange:m=>f(t(1234),m.target[t(1834)]),onBlur:p,placeholder:t(1385),style:{width:100}})]})})]})]})},Dl=({material:e,onSave:n})=>{const t=c,o=e,[x,r]=D[t(884)]({name:e[t(863)],src:o[t(800)]||"",backgroundColor:o.backgroundColor||"",fillColor:o.fillColor||""});D.useEffect(()=>{const d=t;r({name:e[d(863)],src:o[d(800)]||"",backgroundColor:o.backgroundColor||"",fillColor:o[d(1665)]||""})},[e.id]);const i=(d,s)=>{r(u=>({...u,[d]:s}))},a=()=>{const d=t;n({name:x[d(863)],src:x[d(800)],backgroundColor:x[d(1878)]})};return l[t(1306)](t(1384),{className:"space-y-4",children:[l.jsx(z[t(722)],{style:{marginTop:0},children:t(1319)}),l[t(1306)](z[t(316)],{layout:t(1146),children:[l[t(510)](z.Form[t(1098)],{label:"图片名称",children:l.jsx(z[t(423)],{value:x[t(863)],onChange:d=>i("name",d.target[t(1834)]),onBlur:a})}),l[t(510)](z[t(316)][t(1098)],{label:t(1189),children:l.jsx(z.Input.TextArea,{value:x[t(800)],onChange:d=>i(t(800),d[t(1450)][t(1834)]),onBlur:a,rows:4,placeholder:t(1628)})}),l[t(510)](z[t(316)][t(1098)],{label:t(514),children:l[t(1306)](t(1384),{className:t(1154),children:[l[t(510)](dt,{value:x[t(1665)]||t(1385),onChange:d=>{const s=t,u=d[s(356)]();i(s(1665),u),n({name:x.name,src:x.src,backgroundColor:x[s(1878)],fillColor:u})}}),l[t(510)](z[t(423)],{value:x[t(1665)],onChange:d=>i(t(1665),d.target.value),onBlur:a,placeholder:t(1385)})]})}),l[t(510)](z[t(316)].Item,{label:t(1843),children:l[t(1306)](t(1384),{className:t(1154),children:[l[t(510)](dt,{value:x[t(1878)]||"#1890ff",onChange:d=>{const s=t,u=d.toHexString();i(s(1878),u),n({name:x.name,src:x[s(800)],backgroundColor:u,fillColor:x[s(1665)]})}}),l[t(510)](z[t(423)],{value:x[t(1878)],onChange:d=>i(t(1878),d[t(1450)][t(1834)]),onBlur:a,placeholder:t(1385)})]})})]})]})},{Option:Ll}=z.Select,Sl=({material:e,onSave:n})=>{const t=c,o=e[t(1325)]||{},[x,r]=D[t(884)]({lineWeight:o.lineWeight||o[t(1494)]||2,color:o[t(681)]||t(1975),lineType:o.lineType||t(1222),startX:o[t(1112)]??0,startY:o.startY??0,endX:o[t(1069)]??100,endY:o.endY??0}),i=JSON[t(244)]({sw:o[t(1444)]??o[t(1494)],c:o[t(681)],t:o[t(1248)],sx:o[t(1112)],sy:o[t(1743)],ex:o.endX,ey:o.endY});D[t(532)](()=>{const s=t;r({lineWeight:o[s(1444)]||o[s(1494)]||2,color:o[s(681)]||s(1975),lineType:o.lineType||s(1222),startX:o[s(1112)]??0,startY:o[s(1743)]??0,endX:o[s(1069)]??100,endY:o.endY??0})},[e.id,i]);const a=s=>{const u=t,f={...x,...s};r(f),n({config:{...o,thickness:f[u(1444)],lineWeight:f[u(1444)],color:f.color,lineType:f[u(1248)],startX:f.startX,startY:f[u(1743)],endX:f[u(1069)],endY:f[u(2002)]}})},d=[{value:t(1222),label:"实线",desc:t(1687)},{value:t(325),label:"虚线",desc:t(1160)},{value:t(1322),label:"点画线(中心线)",desc:t(1575)},{value:t(503),label:t(1290),desc:t(555)},{value:t(604),label:"点线",desc:t(1131)},{value:"dash-dot",label:t(844),desc:t(918)}];return l[t(1306)](t(1384),{className:t(1630),children:[l[t(510)](z[t(722)],{style:{marginTop:0},children:t(1581)}),l[t(1306)](z[t(316)],{layout:t(1146),children:[l[t(1306)](t(1384),{className:t(1844),children:[l[t(510)](z[t(316)][t(1098)],{label:t(1644),className:t(832),children:l.jsx(z[t(1304)],{value:x[t(1112)],onChange:s=>a({startX:s??0}),style:{width:"100%"}})}),l[t(510)](z[t(316)].Item,{label:"起点 Y",className:t(832),children:l.jsx(z.InputNumber,{value:x[t(1743)],onChange:s=>a({startY:s??0}),style:{width:t(733)}})}),l[t(510)](z.Form[t(1098)],{label:"终点 X",className:"mb-2",children:l[t(510)](z[t(1304)],{value:x[t(1069)],onChange:s=>a({endX:s??100}),style:{width:"100%"}})}),l[t(510)](z[t(316)][t(1098)],{label:t(1801),className:t(832),children:l[t(510)](z.InputNumber,{value:x[t(2002)],onChange:s=>a({endY:s??0}),style:{width:"100%"}})})]}),l[t(510)](z[t(316)][t(1098)],{label:"快速对齐",className:"mt-4",children:l.jsxs(z[t(556)],{children:[l[t(510)](z[t(595)],{size:"small",onClick:()=>{const s=t,u=o[s(1112)]??x[s(1112)],f=o[s(1743)]??x.startY,y=o.endX??x[s(1069)],g=o[s(2002)]??x.endY,v=y-u,h=g-f,p=Math[s(692)](v*v+h*h),M=v>=0?1:-1;a({endX:u+M*p,endY:f})},title:t(1852),children:"水平"}),l[t(510)](z[t(595)],{size:"small",onClick:()=>{const s=t,u=o[s(1112)]??x.startX,f=o[s(1743)]??x[s(1743)],y=o[s(1069)]??x.endX,g=o.endY??x[s(2002)],v=y-u,h=g-f,p=Math[s(692)](v*v+h*h),M=h>=0?1:-1;a({endX:u,endY:f+M*p})},title:"将线条变为垂直线,保持长度",children:"垂直"}),l[t(510)](z[t(595)],{size:t(1201),onClick:()=>{const s=t,u=o.startX??x[s(1112)],f=o[s(1743)]??x[s(1743)],y=o[s(1069)]??x[s(1069)],g=o[s(2002)]??x.endY;a({startX:y,startY:g,endX:u,endY:f})},title:t(1696),children:"反向"})]})})]}),l[t(510)](z.Divider,{children:"线条属性"}),l.jsxs(z.Form,{layout:t(1146),children:[l[t(510)](z[t(316)][t(1098)],{label:"线型",help:t(1274),children:l.jsx(z[t(1897)],{value:x[t(1248)],onChange:s=>a({lineType:s}),children:d.map(s=>l[t(510)](Ll,{value:s.value,children:l[t(1306)](t(1384),{className:t(1135),children:[l[t(510)](t(390),{children:s[t(1150)]}),l.jsx(t(390),{className:"text-xs text-gray-400",children:s[t(891)]})]})},s[t(1834)]))})}),l.jsx(z[t(316)][t(1098)],{label:t(593),children:l[t(510)](z[t(1304)],{value:x[t(1444)],onChange:s=>a({lineWeight:s||2}),min:1,max:20,style:{width:120}})}),l.jsx(z[t(316)][t(1098)],{label:"颜色",children:l.jsxs(t(1384),{className:t(1154),children:[l.jsx(dt,{value:x[t(681)]||t(673),onChange:s=>a({color:s.toHexString()})}),l[t(510)](z.Input,{value:x[t(681)],onChange:s=>a({color:s[t(1450)][t(1834)]}),placeholder:t(673),style:{width:100}})]})})]})]})};function Tr(e){return Array[c(293)](e)}function Nl(e){const n=c,t=new Set;return e[n(1998)](o=>Object.keys(o)[n(1998)](x=>t.add(x))),Array[n(1855)](t)}function kl(e,n){const t=c;return e[t(1902)]((o,x)=>{const r=t,i=o[n],a=o.name;return{label:String(a??"项 "+(x+1)),value:typeof i===r(810)||typeof i===r(1718)?i:String(i)}})}function Il(e,n,t){const o=c;if(Tr(e)){if(n!=null&&t!=null){const x=e[o(1825)](r=>r[n]===t);if(x)return x}return{}}return e}const Vr=({status:e,onUpdate:n,onAppendToExpression:t})=>{const o=c,x=He(h=>h[o(1416)]),r=x[o(1825)](h=>h.id===e[o(1716)]),i=r?Tr(r.sample):!1,a=r?Il(r[o(1410)],e.boundDatasetBindCode,e[o(1383)]):{},d=nr(a),s=h=>{const p=o,M=p(1517)+h;t?t(M):n({expression:""+(e[p(655)]||"")+M})},u=h=>{n({boundDatasetId:h??null,boundDatasetBindCode:null,boundDatasetBindValue:null})},f=h=>{n({boundDatasetBindCode:h??null,boundDatasetBindValue:null})},y=h=>{n({boundDatasetBindValue:h??null})},g=r&&i?Nl(r[o(1410)]):[],v=r&&i&&e.boundDatasetBindCode?kl(r.sample,e.boundDatasetBindCode):[];return l[o(1306)](l[o(1006)],{children:[l[o(510)](z.Form[o(1098)],{label:o(1920),extra:x[o(658)]===0?"请先在顶部工具栏点击「数据池」添加至少一个数据集(JSON 对象模板);宿主项目也可通过 initialScheme.dataPool 或 useEditorStore.getState().setDataPool() 注入。":"可选:绑定后表达式中的 data 会先合并该数据集的 sample,再合并画布传入的运行时数据。不绑定时 data 仅来自运行时。",children:l[o(510)](z.Select,{allowClear:!0,placeholder:x[o(658)]===0?o(1307):o(1807),value:e[o(1716)]??void 0,options:x[o(1902)](h=>({label:h[o(863)],value:h.id})),onChange:u})}),r&&i&&l[o(1306)](l[o(1006)],{children:[l.jsx(z[o(316)][o(1098)],{label:"绑定字段",extra:o(1108),children:l[o(510)](z[o(1897)],{allowClear:!0,placeholder:o(1601),value:e[o(322)]??void 0,options:g[o(1902)](h=>({label:h,value:h})),onChange:f})}),e[o(322)]&&l.jsx(z[o(316)].Item,{label:"绑定值",extra:o(707),children:l.jsx(z[o(1897)],{allowClear:!0,placeholder:"选择绑定值",value:e.boundDatasetBindValue??void 0,options:v,onChange:y})})]}),d[o(658)]>0&&l[o(510)](z[o(316)][o(1098)],{label:o(1697),children:l[o(510)](z[o(556)],{size:[4,4],wrap:!0,children:d[o(1902)](h=>l[o(510)](z[o(1184)],{className:o(326),onClick:()=>s(h),children:o(1517)+h},h))})})]})},Wr=({material:e,onSave:n})=>{const t=c;switch(e.type){case"TEXT":return l[t(510)](Bl,{material:e,onSave:n});case"IMAGE":return l[t(510)](Dl,{material:e,onSave:n});case t(1245):return l[t(510)](Sl,{material:e,onSave:n});default:return l.jsx(t(1384),{className:t(1291),children:t(1778)})}},{Panel:qr}=z[c(317)],{TextArea:Pl}=z[c(423)],Al=({node:e,updateNode:n,materials:t})=>{const o=c,x=t.filter(f=>f[o(954)]!==o(489)||!f[o(1325)]?.[o(405)]),r=(f,y)=>{const g=o,v=e[g(221)]?.map(h=>{const p=g;return h.id===f?{...h,contentInfo:{...h[p(252)],statusList:y}}:h});n(e.id,{children:v})},i=f=>{const y=o,g=e[y(221)]?.[y(1825)](h=>h.id===f);if(!g)return;const v={id:be[y(876)](),name:"状态"+(g[y(252)][y(1746)][y(658)]+1),expression:g[y(252)].statusList[y(658)]===0?"return true;":y(997),material:{...x[0],id:be.nanoid()},boundDatasetId:null};r(f,[...g.contentInfo[y(1746)],v])},a=(f,y)=>{const g=o,v=e[g(221)]?.find(p=>p.id===f);if(!v)return;const h=v[g(252)][g(1746)][g(1874)](p=>p.id!==y);r(f,h)},d=(f,y,g)=>{const v=o,h=e[v(221)]?.[v(1825)](M=>M.id===f);if(!h)return;const p=h[v(252)].statusList.map(M=>M.id===y?{...M,...g}:M);r(f,p)},s=(f,y,g)=>{const v=o,h=e[v(221)]?.find(w=>w.id===f);if(!h)return;const p=h.contentInfo[v(1746)].findIndex(w=>w.id===y);if(p===-1)return;const M=[...h[v(252)][v(1746)]];g==="up"&&p>0?[M[p],M[p-1]]=[M[p-1],M[p]]:g==="down"&&p<M[v(658)]-1&&([M[p],M[p+1]]=[M[p+1],M[p]]),r(f,M)},u=(f,y,g)=>{const v=o,h=t.find(p=>p.id===g);h&&d(f,y,{material:{...h,id:be[v(876)]()}})};return l.jsxs("div",{className:o(1630),children:[l[o(510)](o(1384),{className:o(1624),children:l.jsxs(o(1384),{className:o(982),children:[l[o(510)](o(1882),{children:o(1353)}),o(594)]})}),l[o(510)](z[o(317)],{ghost:!0,children:e[o(221)]?.map((f,y)=>l[o(510)](qr,{header:l[o(1306)](o(1384),{className:o(975),children:[l.jsxs(o(390),{className:o(1840),children:["子节点 ",y+1]}),l[o(1306)](z[o(1184)],{color:o(1399),style:{fontSize:"12px",padding:o(1931)},children:[f.contentInfo[o(1746)][o(658)],o(535)]})]}),children:l[o(1306)](o(1384),{className:o(372),children:[l.jsxs(o(1384),{className:o(469),children:[l[o(510)]("span",{className:o(1031),children:"状态列表"}),l[o(510)](z[o(595)],{type:o(1755),size:o(1201),icon:l[o(510)](ce.PlusOutlined,{}),onClick:()=>i(f.id),children:o(349)})]}),f.contentInfo[o(1746)].length===0?l.jsx(o(1384),{className:o(1674),children:o(1759)}):l[o(510)](z[o(317)],{ghost:!0,children:f.contentInfo.statusList[o(1902)]((g,v)=>l.jsx(qr,{header:l.jsxs("div",{className:"flex items-center gap-2",children:[l[o(510)](o(390),{className:"text-xs text-gray-400 w-5",children:v+1}),l.jsx(o(390),{className:o(1692),children:g.name}),l[o(510)](z.Tag,{color:o(1764),className:"text-xs",children:g[o(609)][o(954)]})]}),extra:l.jsxs(z[o(556)],{size:"small",onClick:h=>h.stopPropagation(),children:[l[o(510)](z[o(595)],{type:o(600),size:o(1201),icon:l.jsx(ce.ArrowUpOutlined,{}),disabled:v===0,onClick:h=>{h[o(540)](),s(f.id,g.id,"up")}}),l.jsx(z[o(595)],{type:"text",size:o(1201),icon:l[o(510)](ce[o(1267)],{}),disabled:v===f.contentInfo[o(1746)].length-1,onClick:h=>{h[o(540)](),s(f.id,g.id,"down")}}),l[o(510)](z.Button,{type:o(600),size:o(1201),danger:!0,icon:l.jsx(ce.DeleteOutlined,{}),onClick:h=>{h[o(540)](),a(f.id,g.id)}})]}),children:l[o(1306)](z[o(316)],{layout:o(1146),children:[l[o(510)](z[o(316)][o(1098)],{label:o(521),children:l[o(510)](z.Input,{value:g.name,onChange:h=>d(f.id,g.id,{name:h[o(1450)][o(1834)]}),placeholder:o(1207)})}),l[o(510)](Vr,{status:g,onUpdate:h=>d(f.id,g.id,h)}),l[o(510)](z[o(316)][o(1098)],{label:o(656),help:o(1502),children:l[o(510)](Pl,{value:g[o(655)],onChange:h=>d(f.id,g.id,{expression:h[o(1450)][o(1834)]}),rows:3,placeholder:"return true;"})}),l[o(510)](z[o(316)][o(1098)],{label:"更换物料",children:l[o(1306)](o(1384),{className:o(1154),children:[l.jsx(z.Tag,{color:o(1399),children:g[o(609)][o(863)]}),l[o(510)](z[o(1184)],{color:o(1764),children:g.material.type}),l.jsx(z[o(1897)],{placeholder:"选择新物料",style:{width:150},value:void 0,onChange:h=>h&&u(f.id,g.id,h),options:x[o(1902)](h=>({value:h.id,label:h[o(863)]+" ("+h[o(954)]+")"}))})]})}),l[o(510)](z.Divider,{style:{margin:o(699)}}),l.jsxs("div",{className:"bg-gray-50 rounded-lg p-3 border border-gray-200",children:[l.jsxs(o(1384),{className:o(1514),children:[l[o(510)](o(390),{className:o(457),children:o(929)}),l[o(510)](z[o(1184)],{children:g[o(609)][o(863)]})]}),l[o(510)](Wr,{material:g[o(609)],onSave:h=>{const p={...g.material,...h};d(f.id,g.id,{material:p})}})]})]})},g.id))})]})},f.id))})]})};function Ge(e){const n=c;if(typeof e===n(810)||typeof e===n(1718))return""+e;let t="";if(Array[n(293)](e))for(let o=0,x;o<e[n(658)];o++)(x=Ge(e[o]))!==""&&(t+=(t&&" ")+x);else for(let o in e)e[o]&&(t+=(t&&" ")+o);return t}var El={value:()=>{}};function p0(){const e=c;for(var n=0,t=arguments[e(658)],o={},x;n<t;++n){if(!(x=arguments[n]+"")||x in o||/[\s.]/[e(227)](x))throw new Error(e(1826)+x);o[x]=[]}return new z0(o)}function z0(e){this._=e}function jl(e,n){const t=c;return e[t(1597)]()[t(1194)](/^|\s+/)[t(1902)](function(o){const x=t;var r="",i=o[x(229)](".");if(i>=0&&(r=o[x(1330)](i+1),o=o[x(1330)](0,i)),o&&!n[x(1776)](o))throw new Error(x(570)+o);return{type:o,name:r}})}z0[c(1295)]=p0[c(1295)]={constructor:z0,on:function(e,n){const t=c;var o=this._,x=jl(e+"",o),r,i=-1,a=x[t(658)];if(arguments[t(658)]<2){for(;++i<a;)if((r=(e=x[i])[t(954)])&&(r=Yl(o[r],e[t(863)])))return r;return}if(n!=null&&typeof n!==t(790))throw new Error(t(260)+n);for(;++i<a;)if(r=(e=x[i]).type)o[r]=Xr(o[r],e[t(863)],n);else if(n==null)for(r in o)o[r]=Xr(o[r],e[t(863)],null);return this},copy:function(){var e={},n=this._;for(var t in n)e[t]=n[t].slice();return new z0(e)},call:function(e,n){const t=c;if((r=arguments.length-2)>0)for(var o=new Array(r),x=0,r,i;x<r;++x)o[x]=arguments[x+2];if(!this._[t(1776)](e))throw new Error(t(570)+e);for(i=this._[e],x=0,r=i[t(658)];x<r;++x)i[x][t(1834)].apply(n,o)},apply:function(e,n,t){const o=c;if(!this._[o(1776)](e))throw new Error("unknown type: "+e);for(var x=this._[e],r=0,i=x[o(658)];r<i;++r)x[r].value.apply(n,t)}};function Yl(e,n){const t=c;for(var o=0,x=e[t(658)],r;o<x;++o)if((r=e[o])[t(863)]===n)return r[t(1834)]}function Xr(e,n,t){const o=c;for(var x=0,r=e[o(658)];x<r;++x)if(e[x][o(863)]===n){e[x]=El,e=e[o(1330)](0,x)[o(1711)](e[o(1330)](x+1));break}return t!=null&&e[o(1148)]({name:n,value:t}),e}var Yx="http://www.w3.org/1999/xhtml";const Zr={svg:c(937),xhtml:Yx,xlink:c(500),xml:c(1789),xmlns:c(678)};function C0(e){const n=c;var t=e+="",o=t.indexOf(":");return o>=0&&(t=e[n(1330)](0,o))!=="xmlns"&&(e=e[n(1330)](o+1)),Zr[n(1776)](t)?{space:Zr[t],local:e}:e}function Ul(e){return function(){const n=_0x5528;var t=this[n(528)],o=this[n(1404)];return o===Yx&&t[n(406)][n(1404)]===Yx?t[n(828)](e):t[n(461)](o,e)}}function Gl(e){return function(){return this[_0x5528(528)].createElementNS(e.space,e.local)}}function Kr(e){const n=c;var t=C0(e);return(t[n(1824)]?Gl:Ul)(t)}function Ol(){}function Ux(e){return e==null?Ol:function(){return this.querySelector(e)}}function Hl(e){const n=c;typeof e!==n(790)&&(e=Ux(e));for(var t=this[n(1128)],o=t.length,x=new Array(o),r=0;r<o;++r)for(var i=t[r],a=i.length,d=x[r]=new Array(a),s,u,f=0;f<a;++f)(s=i[f])&&(u=e.call(s,s.__data__,f,i))&&(n(1770)in s&&(u[n(1770)]=s[n(1770)]),d[f]=u);return new $e(x,this[n(1774)])}function Tl(e){const n=c;return e==null?[]:Array.isArray(e)?e:Array[n(1855)](e)}function Vl(){return[]}function Rr(e){return e==null?Vl:function(){return this.querySelectorAll(e)}}function Wl(e){return function(){return Tl(e[_0x5528(1932)](this,arguments))}}function ql(e){const n=c;typeof e===n(790)?e=Wl(e):e=Rr(e);for(var t=this[n(1128)],o=t[n(658)],x=[],r=[],i=0;i<o;++i)for(var a=t[i],d=a[n(658)],s,u=0;u<d;++u)(s=a[u])&&(x.push(e[n(1164)](s,s.__data__,u,a)),r.push(s));return new $e(x,r)}function Jr(e){return function(){return this[_0x5528(1740)](e)}}function Qr(e){return function(n){return n[_0x5528(1740)](e)}}var Xl=Array[c(1295)].find;function Zl(e){return function(){const n=_0x5528;return Xl[n(1164)](this[n(221)],e)}}function Kl(){return this[c(1937)]}function Rl(e){const n=c;return this[n(1524)](e==null?Kl:Zl(typeof e===n(790)?e:Qr(e)))}var Jl=Array.prototype[c(1874)];function Ql(){const e=c;return Array[e(1855)](this[e(221)])}function Fl(e){return function(){const n=_0x5528;return Jl[n(1164)](this[n(221)],e)}}function _l(e){return this[c(1563)](e==null?Ql:Fl(typeof e=="function"?e:Qr(e)))}function $l(e){const n=c;typeof e!==n(790)&&(e=Jr(e));for(var t=this._groups,o=t[n(658)],x=new Array(o),r=0;r<o;++r)for(var i=t[r],a=i[n(658)],d=x[r]=[],s,u=0;u<a;++u)(s=i[u])&&e[n(1164)](s,s[n(1770)],u,i)&&d[n(1148)](s);return new $e(x,this[n(1774)])}function Fr(e){const n=c;return new Array(e[n(658)])}function ed(){const e=c;return new $e(this[e(1465)]||this._groups[e(1902)](Fr),this[e(1774)])}function M0(e,n){const t=c;this[t(528)]=e.ownerDocument,this.namespaceURI=e.namespaceURI,this[t(281)]=null,this[t(1637)]=e,this[t(1770)]=n}M0.prototype={constructor:M0,appendChild:function(e){const n=c;return this[n(1637)].insertBefore(e,this[n(281)])},insertBefore:function(e,n){const t=c;return this[t(1637)][t(2021)](e,n)},querySelector:function(e){const n=c;return this._parent[n(1894)](e)},querySelectorAll:function(e){const n=c;return this[n(1637)][n(782)](e)}};function nd(e){return function(){return e}}function td(e,n,t,o,x,r){const i=c;for(var a=0,d,s=n[i(658)],u=r[i(658)];a<u;++a)(d=n[a])?(d[i(1770)]=r[a],o[a]=d):t[a]=new M0(e,r[a]);for(;a<s;++a)(d=n[a])&&(x[a]=d)}function xd(e,n,t,o,x,r,i){const a=c;var d,s,u=new Map,f=n[a(658)],y=r[a(658)],g=new Array(f),v;for(d=0;d<f;++d)(s=n[d])&&(g[d]=v=i[a(1164)](s,s[a(1770)],d,n)+"",u[a(1264)](v)?x[d]=s:u[a(1889)](v,s));for(d=0;d<y;++d)v=i[a(1164)](e,r[d],d,r)+"",(s=u.get(v))?(o[d]=s,s.__data__=r[d],u.delete(v)):t[d]=new M0(e,r[d]);for(d=0;d<f;++d)(s=n[d])&&u[a(1735)](g[d])===s&&(x[d]=s)}function od(e){return e[c(1770)]}function rd(e,n){const t=c;if(!arguments[t(658)])return Array[t(1855)](this,od);var o=n?xd:td,x=this._parents,r=this[t(1128)];typeof e!==t(790)&&(e=nd(e));for(var i=r.length,a=new Array(i),d=new Array(i),s=new Array(i),u=0;u<i;++u){var f=x[u],y=r[u],g=y[t(658)],v=id(e[t(1164)](f,f&&f[t(1770)],u,x)),h=v.length,p=d[u]=new Array(h),M=a[u]=new Array(h),w=s[u]=new Array(g);o(f,y,p,M,w,v,n);for(var m=0,b=0,C,I;m<h;++m)if(C=p[m]){for(m>=b&&(b=m+1);!(I=M[b])&&++b<h;);C[t(281)]=I||null}}return a=new $e(a,x),a[t(1465)]=d,a[t(1910)]=s,a}function id(e){const n=c;return typeof e===n(460)&&"length"in e?e:Array[n(1855)](e)}function ad(){const e=c;return new $e(this[e(1910)]||this[e(1128)][e(1902)](Fr),this[e(1774)])}function cd(e,n,t){const o=c;var x=this[o(371)](),r=this,i=this[o(1023)]();return typeof e===o(790)?(x=e(x),x&&(x=x[o(1350)]())):x=x[o(524)](e+""),n!=null&&(r=n(r),r&&(r=r[o(1350)]())),t==null?i[o(1313)]():t(i),x&&r?x[o(363)](r).order():r}function sd(e){const n=c;for(var t=e[n(1350)]?e[n(1350)]():e,o=this._groups,x=t[n(1128)],r=o.length,i=x.length,a=Math[n(719)](r,i),d=new Array(r),s=0;s<a;++s)for(var u=o[s],f=x[s],y=u[n(658)],g=d[s]=new Array(y),v,h=0;h<y;++h)(v=u[h]||f[h])&&(g[h]=v);for(;s<r;++s)d[s]=o[s];return new $e(d,this[n(1774)])}function ld(){const e=c;for(var n=this[e(1128)],t=-1,o=n.length;++t<o;)for(var x=n[t],r=x[e(658)]-1,i=x[r],a;--r>=0;)(a=x[r])&&(i&&a[e(768)](i)^4&&i[e(300)][e(2021)](a,i),i=a);return this}function dd(e){const n=c;e||(e=ud);function t(y,g){const v=_0x5528;return y&&g?e(y[v(1770)],g[v(1770)]):!y-!g}for(var o=this._groups,x=o[n(658)],r=new Array(x),i=0;i<x;++i){for(var a=o[i],d=a[n(658)],s=r[i]=new Array(d),u,f=0;f<d;++f)(u=a[f])&&(s[f]=u);s[n(232)](t)}return new $e(r,this[n(1774)]).order()}function ud(e,n){return e<n?-1:e>n?1:e>=n?0:NaN}function fd(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function hd(){return Array.from(this)}function gd(){const e=c;for(var n=this[e(1128)],t=0,o=n[e(658)];t<o;++t)for(var x=n[t],r=0,i=x[e(658)];r<i;++r){var a=x[r];if(a)return a}return null}function yd(){let e=0;for(const n of this)++e;return e}function md(){return!this.node()}function wd(e){const n=c;for(var t=this[n(1128)],o=0,x=t.length;o<x;++o)for(var r=t[o],i=0,a=r[n(658)],d;i<a;++i)(d=r[i])&&e.call(d,d[n(1770)],i,r);return this}function vd(e){return function(){this[_0x5528(1890)](e)}}function bd(e){return function(){const n=_0x5528;this.removeAttributeNS(e[n(1915)],e[n(1824)])}}function pd(e,n){return function(){this.setAttribute(e,n)}}function zd(e,n){return function(){const t=_0x5528;this[t(1028)](e.space,e[t(1824)],n)}}function Cd(e,n){return function(){var t=n.apply(this,arguments);t==null?this.removeAttribute(e):this.setAttribute(e,t)}}function Md(e,n){return function(){const t=_0x5528;var o=n.apply(this,arguments);o==null?this[t(288)](e[t(1915)],e[t(1824)]):this[t(1028)](e[t(1915)],e.local,o)}}function Bd(e,n){const t=c;var o=C0(e);if(arguments[t(658)]<2){var x=this[t(2039)]();return o[t(1824)]?x.getAttributeNS(o[t(1915)],o[t(1824)]):x[t(964)](o)}return this[t(573)]((n==null?o[t(1824)]?bd:vd:typeof n=="function"?o.local?Md:Cd:o[t(1824)]?zd:pd)(o,n))}function _r(e){const n=c;return e.ownerDocument&&e.ownerDocument[n(1358)]||e[n(1686)]&&e||e[n(1358)]}function Dd(e){return function(){const n=_0x5528;this[n(262)][n(522)](e)}}function Ld(e,n,t){return function(){const o=_0x5528;this.style[o(402)](e,n,t)}}function Sd(e,n,t){return function(){const o=_0x5528;var x=n[o(1932)](this,arguments);x==null?this.style[o(522)](e):this.style[o(402)](e,x,t)}}function Nd(e,n,t){const o=c;return arguments[o(658)]>1?this[o(573)]((n==null?Dd:typeof n===o(790)?Sd:Ld)(e,n,t??"")):ut(this[o(2039)](),e)}function ut(e,n){const t=c;return e[t(262)].getPropertyValue(n)||_r(e)[t(1368)](e,null).getPropertyValue(n)}function kd(e){return function(){delete this[e]}}function Id(e,n){return function(){this[e]=n}}function Pd(e,n){return function(){var o=n[_0x5528(1932)](this,arguments);o==null?delete this[e]:this[e]=o}}function Ad(e,n){const t=c;return arguments[t(658)]>1?this[t(573)]((n==null?kd:typeof n===t(790)?Pd:Id)(e,n)):this[t(2039)]()[e]}function $r(e){const n=c;return e[n(1597)]()[n(1194)](/^|\s+/)}function Gx(e){return e[c(1054)]||new ei(e)}function ei(e){const n=c;this[n(1253)]=e,this[n(761)]=$r(e[n(964)](n(1650))||"")}ei.prototype={add:function(e){const n=c;var t=this[n(761)][n(229)](e);t<0&&(this._names[n(1148)](e),this[n(1253)][n(2033)]("class",this[n(761)][n(1092)](" ")))},remove:function(e){const n=c;var t=this[n(761)][n(229)](e);t>=0&&(this[n(761)][n(1654)](t,1),this[n(1253)][n(2033)](n(1650),this._names[n(1092)](" ")))},contains:function(e){const n=c;return this[n(761)][n(229)](e)>=0}};function ni(e,n){const t=c;for(var o=Gx(e),x=-1,r=n[t(658)];++x<r;)o[t(952)](n[x])}function ti(e,n){const t=c;for(var o=Gx(e),x=-1,r=n[t(658)];++x<r;)o[t(1313)](n[x])}function Ed(e){return function(){ni(this,e)}}function jd(e){return function(){ti(this,e)}}function Yd(e,n){return function(){(n[_0x5528(1932)](this,arguments)?ni:ti)(this,e)}}function Ud(e,n){const t=c;var o=$r(e+"");if(arguments[t(658)]<2){for(var x=Gx(this[t(2039)]()),r=-1,i=o[t(658)];++r<i;)if(!x.contains(o[r]))return!1;return!0}return this[t(573)]((typeof n===t(790)?Yd:n?Ed:jd)(o,n))}function Gd(){this.textContent=""}function Od(e){return function(){this.textContent=e}}function Hd(e){return function(){const n=_0x5528;var t=e.apply(this,arguments);this[n(890)]=t??""}}function Td(e){const n=c;return arguments[n(658)]?this[n(573)](e==null?Gd:(typeof e===n(790)?Hd:Od)(e)):this[n(2039)]().textContent}function Vd(){const e=c;this[e(617)]=""}function Wd(e){return function(){const n=_0x5528;this[n(617)]=e}}function qd(e){return function(){const n=_0x5528;var t=e.apply(this,arguments);this[n(617)]=t??""}}function Xd(e){return arguments[c(658)]?this.each(e==null?Vd:(typeof e=="function"?qd:Wd)(e)):this.node().innerHTML}function Zd(){const e=c;this[e(1083)]&&this[e(300)][e(438)](this)}function Kd(){return this[c(573)](Zd)}function Rd(){const e=c;this.previousSibling&&this.parentNode[e(2021)](this,this.parentNode.firstChild)}function Jd(){return this[c(573)](Rd)}function Qd(e){const n=c;var t=typeof e===n(790)?e:Kr(e);return this[n(1524)](function(){const o=n;return this.appendChild(t[o(1932)](this,arguments))})}function Fd(){return null}function _d(e,n){const t=c;var o=typeof e===t(790)?e:Kr(e),x=n==null?Fd:typeof n===t(790)?n:Ux(n);return this.select(function(){const r=t;return this.insertBefore(o[r(1932)](this,arguments),x[r(1932)](this,arguments)||null)})}function $d(){const e=c;var n=this[e(300)];n&&n[e(324)](this)}function eu(){return this[c(573)]($d)}function nu(){const e=c;var n=this[e(1293)](!1),t=this[e(300)];return t?t[e(2021)](n,this[e(1083)]):n}function tu(){const e=c;var n=this.cloneNode(!0),t=this[e(300)];return t?t[e(2021)](n,this[e(1083)]):n}function xu(e){return this[c(1524)](e?tu:nu)}function ou(e){const n=c;return arguments[n(658)]?this[n(1609)](n(1770),e):this.node()[n(1770)]}function ru(e){return function(n){const t=_0x5528;e[t(1164)](this,n,this[t(1770)])}}function iu(e){const n=c;return e[n(1597)]()[n(1194)](/^|\s+/)[n(1902)](function(t){const o=n;var x="",r=t.indexOf(".");return r>=0&&(x=t[o(1330)](r+1),t=t[o(1330)](0,r)),{type:t,name:x}})}function au(e){return function(){const n=_0x5528;var t=this[n(1022)];if(t){for(var o=0,x=-1,r=t.length,i;o<r;++o)i=t[o],(!e[n(954)]||i.type===e[n(954)])&&i[n(863)]===e[n(863)]?this.removeEventListener(i[n(954)],i.listener,i[n(253)]):t[++x]=i;++x?t[n(658)]=x:delete this[n(1022)]}}}function cu(e,n,t){return function(){const o=_0x5528;var x=this[o(1022)],r,i=ru(n);if(x){for(var a=0,d=x[o(658)];a<d;++a)if((r=x[a])[o(954)]===e.type&&r[o(863)]===e[o(863)]){this[o(864)](r[o(954)],r[o(1821)],r[o(253)]),this[o(1976)](r[o(954)],r[o(1821)]=i,r[o(253)]=t),r[o(1834)]=n;return}}this[o(1976)](e[o(954)],i,t),r={type:e[o(954)],name:e.name,value:n,listener:i,options:t},x?x.push(r):this[o(1022)]=[r]}}function su(e,n,t){const o=c;var x=iu(e+""),r,i=x[o(658)],a;if(arguments[o(658)]<2){var d=this[o(2039)]().__on;if(d){for(var s=0,u=d[o(658)],f;s<u;++s)for(r=0,f=d[s];r<i;++r)if((a=x[r])[o(954)]===f[o(954)]&&a[o(863)]===f.name)return f[o(1834)]}return}for(d=n?cu:au,r=0;r<i;++r)this[o(573)](d(x[r],n,t));return this}function xi(e,n,t){const o=c;var x=_r(e),r=x[o(1949)];typeof r===o(790)?r=new r(n,t):(r=x[o(1686)][o(822)](o(1497)),t?(r[o(282)](n,t[o(415)],t[o(1896)]),r.detail=t[o(1209)]):r[o(282)](n,!1,!1)),e[o(1549)](r)}function lu(e,n){return function(){return xi(this,e,n)}}function du(e,n){return function(){return xi(this,e,n[_0x5528(1932)](this,arguments))}}function uu(e,n){const t=c;return this[t(573)]((typeof n===t(790)?du:lu)(e,n))}function*fu(){const e=c;for(var n=this[e(1128)],t=0,o=n[e(658)];t<o;++t)for(var x=n[t],r=0,i=x.length,a;r<i;++r)(a=x[r])&&(yield a)}var oi=[null];function $e(e,n){const t=c;this[t(1128)]=e,this[t(1774)]=n}function Ut(){return new $e([[document.documentElement]],oi)}function hu(){return this}$e[c(1295)]=Ut[c(1295)]={constructor:$e,select:Hl,selectAll:ql,selectChild:Rl,selectChildren:_l,filter:$l,data:rd,enter:ed,exit:ad,join:cd,merge:sd,selection:hu,order:ld,sort:dd,call:fd,nodes:hd,node:gd,size:yd,empty:md,each:wd,attr:Bd,style:Nd,property:Ad,classed:Ud,text:Td,html:Xd,raise:Kd,lower:Jd,append:Qd,insert:_d,remove:eu,clone:xu,datum:ou,on:su,dispatch:uu,[Symbol[c(1955)]]:fu};function en(e){const n=c;return typeof e===n(810)?new $e([[document[n(1894)](e)]],[document.documentElement]):new $e([[e]],oi)}function gu(e){let n;for(;n=e.sourceEvent;)e=n;return e}function dn(e,n){const t=c;if(e=gu(e),n===void 0&&(n=e[t(1433)]),n){var o=n[t(2053)]||n;if(o.createSVGPoint){var x=o.createSVGPoint();return x.x=e.clientX,x.y=e[t(597)],x=x.matrixTransform(n[t(298)]()[t(1653)]()),[x.x,x.y]}if(n.getBoundingClientRect){var r=n[t(1623)]();return[e[t(428)]-r.left-n[t(1694)],e[t(597)]-r[t(1276)]-n.clientTop]}}return[e[t(1699)],e[t(1832)]]}const yu={passive:!1},Gt={capture:!0,passive:!1};function Ox(e){e[c(615)]()}function ft(e){const n=c;e[n(1477)](),e[n(615)]()}function ri(e){const n=c;var t=e[n(1686)][n(406)],o=en(e).on(n(1005),ft,Gt);n(1498)in t?o.on(n(2001),ft,Gt):(t[n(529)]=t[n(262)].MozUserSelect,t.style[n(340)]=n(696))}function ii(e,n){const t=c;var o=e.document.documentElement,x=en(e).on(t(1005),null);n&&(x.on(t(572),ft,Gt),setTimeout(function(){const r=t;x.on(r(572),null)},0)),t(1498)in o?x.on(t(2001),null):(o[t(262)][t(340)]=o[t(529)],delete o.__noselect)}const B0=e=>()=>e;function Hx(e,{sourceEvent:n,subject:t,target:o,identifier:x,active:r,x:i,y:a,dx:d,dy:s,dispatch:u}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},subject:{value:t,enumerable:!0,configurable:!0},target:{value:o,enumerable:!0,configurable:!0},identifier:{value:x,enumerable:!0,configurable:!0},active:{value:r,enumerable:!0,configurable:!0},x:{value:i,enumerable:!0,configurable:!0},y:{value:a,enumerable:!0,configurable:!0},dx:{value:d,enumerable:!0,configurable:!0},dy:{value:s,enumerable:!0,configurable:!0},_:{value:u}})}Hx[c(1295)].on=function(){const e=c;var n=this._.on[e(1932)](this._,arguments);return n===this._?this:n};function mu(e){return!e[c(1533)]&&!e.button}function wu(){return this[c(300)]}function vu(e,n){return n??{x:e.x,y:e.y}}function bu(){return navigator[c(989)]||"ontouchstart"in this}function ai(){const e=c;var n=mu,t=wu,o=vu,x=bu,r={},i=p0(e(1541),e(481),e(785)),a=0,d,s,u,f,y=0;function g(C){const I=e;C.on(I(1025),v)[I(1874)](x).on(I(859),M).on(I(2038),w,yu).on("touchend.drag touchcancel.drag",m)[I(262)](I(1706),I(696)).style("-webkit-tap-highlight-color",I(1027))}function v(C,I){const U=e;if(!(f||!n[U(1164)](this,C,I))){var H=b(this,t[U(1164)](this,C,I),C,I,U(605));H&&(en(C.view).on(U(603),h,Gt).on(U(1837),p,Gt),ri(C[U(1979)]),Ox(C),u=!1,d=C[U(428)],s=C[U(597)],H(U(1541),C))}}function h(C){const I=e;if(ft(C),!u){var U=C[I(428)]-d,H=C[I(597)]-s;u=U*U+H*H>y}r[I(605)](I(481),C)}function p(C){en(C.view).on("mousemove.drag mouseup.drag",null),ii(C.view,u),ft(C),r.mouse("end",C)}function M(C,I){const U=e;if(n[U(1164)](this,C,I)){var H=C.changedTouches,V=t[U(1164)](this,C,I),A=H[U(658)],W,T;for(W=0;W<A;++W)(T=b(this,V,C,I,H[W].identifier,H[W]))&&(Ox(C),T("start",C,H[W]))}}function w(C){const I=e;var U=C.changedTouches,H=U[I(658)],V,A;for(V=0;V<H;++V)(A=r[U[V][I(1704)]])&&(ft(C),A("drag",C,U[V]))}function m(C){var I=C.changedTouches,U=I.length,H,V;for(f&&clearTimeout(f),f=setTimeout(function(){f=null},500),H=0;H<U;++H)(V=r[I[H].identifier])&&(Ox(C),V("end",C,I[H]))}function b(C,I,U,H,V,A){const W=e;var T=i.copy(),X=dn(A||U,I),G,L,B;if((B=o[W(1164)](C,new Hx(W(764),{sourceEvent:U,target:g,identifier:V,active:a,x:X[0],y:X[1],dx:0,dy:0,dispatch:T}),H))!=null)return G=B.x-X[0]||0,L=B.y-X[1]||0,function S(E,P,k){const K=W;var _=X,R;switch(E){case"start":r[V]=S,R=a++;break;case K(785):delete r[V],--a;case"drag":X=dn(k||P,I),R=a;break}T[K(1164)](E,C,new Hx(E,{sourceEvent:P,subject:B,target:g,identifier:V,active:R,x:X[0]+G,y:X[1]+L,dx:X[0]-_[0],dy:X[1]-_[1],dispatch:T}),H)}}return g[e(1874)]=function(C){const I=e;return arguments[I(658)]?(n=typeof C===I(790)?C:B0(!!C),g):n},g.container=function(C){return arguments[e(658)]?(t=typeof C=="function"?C:B0(C),g):t},g[e(1443)]=function(C){const I=e;return arguments[I(658)]?(o=typeof C===I(790)?C:B0(C),g):o},g[e(355)]=function(C){const I=e;return arguments[I(658)]?(x=typeof C===I(790)?C:B0(!!C),g):x},g.on=function(){const C=e;var I=i.on[C(1932)](i,arguments);return I===i?g:I},g.clickDistance=function(C){const I=e;return arguments[I(658)]?(y=(C=+C)*C,g):Math[I(692)](y)},g}function Tx(e,n,t){const o=c;e[o(1295)]=n.prototype=t,t.constructor=e}function ci(e,n){const t=c;var o=Object[t(648)](e[t(1295)]);for(var x in n)o[x]=n[x];return o}function Ot(){}var Ht=.7,D0=1/Ht,ht="\\s*([+-]?\\d+)\\s*",Tt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",pn=c(711),pu=/^#([0-9a-f]{3,8})$/,zu=new RegExp(c(294)+ht+","+ht+","+ht+"\\)$"),Cu=new RegExp(c(294)+pn+","+pn+","+pn+c(685)),Mu=new RegExp("^rgba\\("+ht+","+ht+","+ht+","+Tt+c(685)),Bu=new RegExp("^rgba\\("+pn+","+pn+","+pn+","+Tt+c(685)),Du=new RegExp(c(1681)+Tt+","+pn+","+pn+c(685)),Lu=new RegExp(c(389)+Tt+","+pn+","+pn+","+Tt+c(685)),si={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Tx(Ot,Kn,{copy(e){const n=c;return Object[n(517)](new this[n(1272)],this,e)},displayable(){const e=c;return this[e(1946)]()[e(1584)]()},hex:li,formatHex:li,formatHex8:Su,formatHsl:Nu,formatRgb:di,toString:di});function li(){const e=c;return this.rgb()[e(1965)]()}function Su(){const e=c;return this[e(1946)]()[e(309)]()}function Nu(){const e=c;return yi(this)[e(867)]()}function di(){const e=c;return this[e(1946)]()[e(1124)]()}function Kn(e){const n=c;var t,o;return e=(e+"")[n(1597)]().toLowerCase(),(t=pu.exec(e))?(o=t[1][n(658)],t=parseInt(t[1],16),o===6?ui(t):o===3?new Re(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):o===8?L0(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):o===4?L0(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=zu[n(1695)](e))?new Re(t[1],t[2],t[3],1):(t=Cu[n(1695)](e))?new Re(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Mu[n(1695)](e))?L0(t[1],t[2],t[3],t[4]):(t=Bu[n(1695)](e))?L0(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Du[n(1695)](e))?gi(t[1],t[2]/100,t[3]/100,1):(t=Lu[n(1695)](e))?gi(t[1],t[2]/100,t[3]/100,t[4]):si.hasOwnProperty(e)?ui(si[e]):e===n(1958)?new Re(NaN,NaN,NaN,0):null}function ui(e){return new Re(e>>16&255,e>>8&255,e&255,1)}function L0(e,n,t,o){return o<=0&&(e=n=t=NaN),new Re(e,n,t,o)}function ku(e){const n=c;return e instanceof Ot||(e=Kn(e)),e?(e=e[n(1946)](),new Re(e.r,e.g,e.b,e[n(305)])):new Re}function Vx(e,n,t,o){return arguments[c(658)]===1?ku(e):new Re(e,n,t,o??1)}function Re(e,n,t,o){const x=c;this.r=+e,this.g=+n,this.b=+t,this[x(305)]=+o}Tx(Re,Vx,ci(Ot,{brighter(e){const n=c;return e=e==null?D0:Math[n(541)](D0,e),new Re(this.r*e,this.g*e,this.b*e,this[n(305)])},darker(e){const n=c;return e=e==null?Ht:Math.pow(Ht,e),new Re(this.r*e,this.g*e,this.b*e,this[n(305)])},rgb(){return this},clamp(){return new Re(Rn(this.r),Rn(this.g),Rn(this.b),S0(this.opacity))},displayable(){const e=c;return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this[e(305)]&&this[e(305)]<=1},hex:fi,formatHex:fi,formatHex8:Iu,formatRgb:hi,toString:hi}));function fi(){return"#"+Jn(this.r)+Jn(this.g)+Jn(this.b)}function Iu(){const e=c;return"#"+Jn(this.r)+Jn(this.g)+Jn(this.b)+Jn((isNaN(this[e(305)])?1:this[e(305)])*255)}function hi(){const e=c,n=S0(this[e(305)]);return""+e(n===1?1143:512)+Rn(this.r)+", "+Rn(this.g)+", "+Rn(this.b)+(n===1?")":", "+n+")")}function S0(e){const n=c;return isNaN(e)?1:Math[n(735)](0,Math[n(719)](1,e))}function Rn(e){return Math.max(0,Math[c(719)](255,Math.round(e)||0))}function Jn(e){return e=Rn(e),(e<16?"0":"")+e.toString(16)}function gi(e,n,t,o){return o<=0?e=n=t=NaN:t<=0||t>=1?e=n=NaN:n<=0&&(e=NaN),new un(e,n,t,o)}function yi(e){const n=c;if(e instanceof un)return new un(e.h,e.s,e.l,e[n(305)]);if(e instanceof Ot||(e=Kn(e)),!e)return new un;if(e instanceof un)return e;e=e[n(1946)]();var t=e.r/255,o=e.g/255,x=e.b/255,r=Math[n(719)](t,o,x),i=Math[n(735)](t,o,x),a=NaN,d=i-r,s=(i+r)/2;return d?(t===i?a=(o-x)/d+(o<x)*6:o===i?a=(x-t)/d+2:a=(t-o)/d+4,d/=s<.5?i+r:2-i-r,a*=60):d=s>0&&s<1?0:a,new un(a,d,s,e[n(305)])}function Pu(e,n,t,o){return arguments.length===1?yi(e):new un(e,n,t,o??1)}function un(e,n,t,o){this.h=+e,this.s=+n,this.l=+t,this.opacity=+o}Tx(un,Pu,ci(Ot,{brighter(e){const n=c;return e=e==null?D0:Math[n(541)](D0,e),new un(this.h,this.s,this.l*e,this[n(305)])},darker(e){const n=c;return e=e==null?Ht:Math[n(541)](Ht,e),new un(this.h,this.s,this.l*e,this[n(305)])},rgb(){const e=c;var n=this.h%360+(this.h<0)*360,t=isNaN(n)||isNaN(this.s)?0:this.s,o=this.l,x=o+(o<.5?o:1-o)*t,r=2*o-x;return new Re(Wx(n>=240?n-240:n+120,r,x),Wx(n,r,x),Wx(n<120?n+240:n-120,r,x),this[e(305)])},clamp(){return new un(mi(this.h),N0(this.s),N0(this.l),S0(this.opacity))},displayable(){const e=c;return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this[e(305)]<=1},formatHsl(){const e=c,n=S0(this[e(305)]);return""+(n===1?"hsl(":e(1860))+mi(this.h)+", "+N0(this.s)*100+e(934)+N0(this.l)*100+"%"+(n===1?")":", "+n+")")}}));function mi(e){return e=(e||0)%360,e<0?e+360:e}function N0(e){const n=c;return Math[n(735)](0,Math[n(719)](1,e||0))}function Wx(e,n,t){return(e<60?n+(t-n)*e/60:e<180?t:e<240?n+(t-n)*(240-e)/60:n)*255}const qx=e=>()=>e;function Au(e,n){return function(t){return e+t*n}}function Eu(e,n,t){const o=c;return e=Math[o(541)](e,t),n=Math[o(541)](n,t)-e,t=1/t,function(x){return Math[o(541)](e+x*n,t)}}function ju(e){return(e=+e)==1?wi:function(n,t){return t-n?Eu(n,t,e):qx(isNaN(n)?t:n)}}function wi(e,n){var t=n-e;return t?Au(e,t):qx(isNaN(e)?n:e)}const k0=(function e(n){const t=c;var o=ju(n);function x(r,i){const a=_0x5528;var d=o((r=Vx(r)).r,(i=Vx(i)).r),s=o(r.g,i.g),u=o(r.b,i.b),f=wi(r[a(305)],i[a(305)]);return function(y){const g=a;return r.r=d(y),r.g=s(y),r.b=u(y),r[g(305)]=f(y),r+""}}return x[t(1943)]=e,x})(1);function Yu(e,n){const t=c;n||(n=[]);var o=e?Math.min(n[t(658)],e[t(658)]):0,x=n.slice(),r;return function(i){for(r=0;r<o;++r)x[r]=e[r]*(1-i)+n[r]*i;return x}}function Uu(e){return ArrayBuffer[c(408)](e)&&!(e instanceof DataView)}function Gu(e,n){const t=c;var o=n?n[t(658)]:0,x=e?Math[t(719)](o,e.length):0,r=new Array(x),i=new Array(o),a;for(a=0;a<x;++a)r[a]=Vt(e[a],n[a]);for(;a<o;++a)i[a]=n[a];return function(d){for(a=0;a<x;++a)i[a]=r[a](d);return i}}function Ou(e,n){var t=new Date;return e=+e,n=+n,function(o){return t.setTime(e*(1-o)+n*o),t}}function zn(e,n){return e=+e,n=+n,function(t){return e*(1-t)+n*t}}function Hu(e,n){const t=c;var o={},x={},r;(e===null||typeof e!==t(460))&&(e={}),(n===null||typeof n!==t(460))&&(n={});for(r in n)r in e?o[r]=Vt(e[r],n[r]):x[r]=n[r];return function(i){for(r in o)x[r]=o[r](i);return x}}var Xx=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Zx=new RegExp(Xx.source,"g");function Tu(e){return function(){return e}}function Vu(e){return function(n){return e(n)+""}}function vi(e,n){const t=c;var o=Xx[t(889)]=Zx[t(889)]=0,x,r,i,a=-1,d=[],s=[];for(e=e+"",n=n+"";(x=Xx[t(1695)](e))&&(r=Zx.exec(n));)(i=r[t(911)])>o&&(i=n[t(1330)](o,i),d[a]?d[a]+=i:d[++a]=i),(x=x[0])===(r=r[0])?d[a]?d[a]+=r:d[++a]=r:(d[++a]=null,s[t(1148)]({i:a,x:zn(x,r)})),o=Zx[t(889)];return o<n[t(658)]&&(i=n[t(1330)](o),d[a]?d[a]+=i:d[++a]=i),d[t(658)]<2?s[0]?Vu(s[0].x):Tu(n):(n=s[t(658)],function(u){const f=t;for(var y=0,g;y<n;++y)d[(g=s[y]).i]=g.x(u);return d[f(1092)]("")})}function Vt(e,n){const t=c;var o=typeof n,x;return n==null||o===t(486)?qx(n):(o===t(1718)?zn:o===t(810)?(x=Kn(n))?(n=x,k0):vi:n instanceof Kn?k0:n instanceof Date?Ou:Uu(n)?Yu:Array[t(293)](n)?Gu:typeof n[t(495)]!="function"&&typeof n[t(2e3)]!="function"||isNaN(n)?Hu:zn)(e,n)}var bi=180/Math.PI,Kx={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function pi(e,n,t,o,x,r){const i=c;var a,d,s;return(a=Math.sqrt(e*e+n*n))&&(e/=a,n/=a),(s=e*t+n*o)&&(t-=e*s,o-=n*s),(d=Math[i(692)](t*t+o*o))&&(t/=d,o/=d,s/=d),e*o<n*t&&(e=-e,n=-n,s=-s,a=-a),{translateX:x,translateY:r,rotate:Math[i(458)](n,e)*bi,skewX:Math[i(215)](s)*bi,scaleX:a,scaleY:d}}var I0;function Wu(e){const n=c,t=new(typeof DOMMatrix===n(790)?DOMMatrix:WebKitCSSMatrix)(e+"");return t[n(781)]?Kx:pi(t.a,t.b,t.c,t.d,t.e,t.f)}function qu(e){const n=c;return e==null||(I0||(I0=document[n(461)](n(937),"g")),I0[n(2033)](n(1235),e),!(e=I0[n(1235)][n(1354)][n(1664)]()))?Kx:(e=e[n(917)],pi(e.a,e.b,e.c,e.d,e.e,e.f))}function zi(e,n,t,o){function x(s){return s.length?s.pop()+" ":""}function r(s,u,f,y,g,v){const h=_0x5528;if(s!==f||u!==y){var p=g[h(1148)](h(883),null,n,null,t);v[h(1148)]({i:p-4,x:zn(s,f)},{i:p-2,x:zn(u,y)})}else(f||y)&&g[h(1148)](h(883)+f+n+y+t)}function i(s,u,f,y){const g=_0x5528;s!==u?(s-u>180?u+=360:u-s>180&&(s+=360),y[g(1148)]({i:f[g(1148)](x(f)+"rotate(",null,o)-2,x:zn(s,u)})):u&&f.push(x(f)+g(933)+u+o)}function a(s,u,f,y){const g=_0x5528;s!==u?y[g(1148)]({i:f.push(x(f)+g(1703),null,o)-2,x:zn(s,u)}):u&&f[g(1148)](x(f)+g(1703)+u+o)}function d(s,u,f,y,g,v){const h=_0x5528;if(s!==f||u!==y){var p=g.push(x(g)+h(1360),null,",",null,")");v[h(1148)]({i:p-4,x:zn(s,f)},{i:p-2,x:zn(u,y)})}else(f!==1||y!==1)&&g[h(1148)](x(g)+h(1360)+f+","+y+")")}return function(s,u){const f=_0x5528;var y=[],g=[];return s=e(s),u=e(u),r(s[f(347)],s[f(657)],u[f(347)],u[f(657)],y,g),i(s[f(473)],u[f(473)],y,g),a(s[f(1928)],u.skewX,y,g),d(s[f(2037)],s[f(1891)],u[f(2037)],u.scaleY,y,g),s=u=null,function(v){const h=f;for(var p=-1,M=g[h(658)],w;++p<M;)y[(w=g[p]).i]=w.x(v);return y.join("")}}}var Xu=zi(Wu,c(736),"px)",c(1127)),Zu=zi(qu,", ",")",")"),Ku=1e-12;function Ci(e){return((e=Math[c(287)](e))+1/e)/2}function Ru(e){return((e=Math[c(287)](e))-1/e)/2}function Ju(e){return((e=Math[c(287)](2*e))-1)/(e+1)}const P0=(function e(n,t,o){const x=c;function r(i,a){const d=_0x5528;var s=i[0],u=i[1],f=i[2],y=a[0],g=a[1],v=a[2],h=y-s,p=g-u,M=h*h+p*p,w,m;if(M<Ku)m=Math[d(1737)](v/f)/n,w=function(V){return[s+V*h,u+V*p,f*Math.exp(n*V*m)]};else{var b=Math[d(692)](M),C=(v*v-f*f+o*M)/(2*f*t*b),I=(v*v-f*f-o*M)/(2*v*t*b),U=Math[d(1737)](Math[d(692)](C*C+1)-C),H=Math[d(1737)](Math[d(692)](I*I+1)-I);m=(H-U)/n,w=function(V){var A=V*m,W=Ci(U),T=f/(t*b)*(W*Ju(n*A+U)-Ru(U));return[s+T*h,u+T*p,f*W/Ci(n*A+U)]}}return w[d(379)]=m*1e3*n/Math[d(888)],w}return r[x(278)]=function(i){var a=Math.max(.001,+i),d=a*a,s=d*d;return e(a,d,s)},r})(Math.SQRT2,2,4);var gt=0,Wt=0,qt=0,Mi=1e3,A0,Xt,E0=0,Qn=0,j0=0,Zt=typeof performance=="object"&&performance[c(1569)]?performance:Date,Bi=typeof window===c(460)&&window.requestAnimationFrame?window[c(1357)].bind(window):function(e){setTimeout(e,17)};function Rx(){const e=c;return Qn||(Bi(Qu),Qn=Zt[e(1569)]()+j0)}function Qu(){Qn=0}function Y0(){const e=c;this[e(575)]=this[e(879)]=this[e(281)]=null}Y0[c(1295)]=Di[c(1295)]={constructor:Y0,restart:function(e,n,t){const o=c;if(typeof e!="function")throw new TypeError(o(1451));t=(t==null?Rx():+t)+(n==null?0:+n),!this._next&&Xt!==this&&(Xt?Xt[o(281)]=this:A0=this,Xt=this),this[o(575)]=e,this._time=t,Jx()},stop:function(){const e=c;this._call&&(this[e(575)]=null,this[e(879)]=1/0,Jx())}};function Di(e,n,t){var o=new Y0;return o.restart(e,n,t),o}function Fu(){const e=c;Rx(),++gt;for(var n=A0,t;n;)(t=Qn-n._time)>=0&&n[e(575)][e(1164)](void 0,t),n=n[e(281)];--gt}function Li(){Qn=(E0=Zt[c(1569)]())+j0,gt=Wt=0;try{Fu()}finally{gt=0,$u(),Qn=0}}function _u(){var n=Zt[c(1569)](),t=n-E0;t>Mi&&(j0-=t,E0=n)}function $u(){const e=c;for(var n,t=A0,o,x=1/0;t;)t[e(575)]?(x>t[e(879)]&&(x=t[e(879)]),n=t,t=t[e(281)]):(o=t[e(281)],t[e(281)]=null,t=n?n._next=o:A0=o);Xt=n,Jx(x)}function Jx(e){const n=c;if(!gt){Wt&&(Wt=clearTimeout(Wt));var t=e-Qn;t>24?(e<1/0&&(Wt=setTimeout(Li,e-Zt[n(1569)]()-j0)),qt&&(qt=clearInterval(qt))):(qt||(E0=Zt[n(1569)](),qt=setInterval(_u,Mi)),gt=1,Bi(Li))}}function Si(e,n,t){const o=c;var x=new Y0;return n=n==null?0:+n,x[o(447)](r=>{x[o(1940)](),e(r+n)},n,t),x}var ef=p0(c(1541),"end","cancel","interrupt"),nf=[],Ni=0,ki=1,Qx=2,U0=3,Ii=4,Fx=5,G0=6;function O0(e,n,t,o,x,r){const i=c;var a=e[i(1411)];if(!a)e[i(1411)]={};else if(t in a)return;tf(e,t,{name:n,index:o,group:x,on:ef,tween:nf,time:r[i(1968)],delay:r[i(1535)],duration:r.duration,ease:r.ease,timer:null,state:Ni})}function _x(e,n){const t=c;var o=fn(e,n);if(o[t(1938)]>Ni)throw new Error("too late; already scheduled");return o}function Cn(e,n){const t=c;var o=fn(e,n);if(o[t(1938)]>U0)throw new Error("too late; already running");return o}function fn(e,n){var o=e[c(1411)];if(!o||!(o=o[n]))throw new Error("transition not found");return o}function tf(e,n,t){const o=c;var x=e.__transition,r;x[n]=t,t[o(1983)]=Di(i,0,t.time);function i(u){const f=o;t[f(1938)]=ki,t[f(1983)][f(447)](a,t[f(1535)],t[f(1968)]),t[f(1535)]<=u&&a(u-t.delay)}function a(u){const f=o;var y,g,v,h;if(t[f(1938)]!==ki)return s();for(y in x)if(h=x[y],h[f(863)]===t[f(863)]){if(h[f(1938)]===U0)return Si(a);h.state===Ii?(h[f(1938)]=G0,h[f(1983)][f(1940)](),h.on[f(1164)](f(705),e,e.__data__,h.index,h[f(1449)]),delete x[y]):+y<n&&(h[f(1938)]=G0,h[f(1983)].stop(),h.on[f(1164)]("cancel",e,e[f(1770)],h.index,h[f(1449)]),delete x[y])}if(Si(function(){const p=f;t[p(1938)]===U0&&(t.state=Ii,t[p(1983)][p(447)](d,t[p(1535)],t[p(1968)]),d(u))}),t.state=Qx,t.on[f(1164)]("start",e,e[f(1770)],t[f(911)],t[f(1449)]),t[f(1938)]===Qx){for(t[f(1938)]=U0,r=new Array(v=t[f(1346)][f(658)]),y=0,g=-1;y<v;++y)(h=t[f(1346)][y][f(1834)][f(1164)](e,e.__data__,t[f(911)],t[f(1449)]))&&(r[++g]=h);r.length=g+1}}function d(u){const f=o;for(var y=u<t[f(379)]?t[f(1561)][f(1164)](null,u/t[f(379)]):(t[f(1983)][f(447)](s),t[f(1938)]=Fx,1),g=-1,v=r[f(658)];++g<v;)r[g][f(1164)](e,y);t[f(1938)]===Fx&&(t.on[f(1164)](f(785),e,e.__data__,t[f(911)],t[f(1449)]),s())}function s(){const u=o;t[u(1938)]=G0,t[u(1983)][u(1940)](),delete x[n];for(var f in x)return;delete e.__transition}}function H0(e,n){const t=c;var o=e[t(1411)],x,r,i=!0,a;if(o){n=n==null?null:n+"";for(a in o){if((x=o[a])[t(863)]!==n){i=!1;continue}r=x[t(1938)]>Qx&&x[t(1938)]<Fx,x[t(1938)]=G0,x[t(1983)][t(1940)](),x.on[t(1164)](t(r?705:1583),e,e.__data__,x.index,x.group),delete o[a]}i&&delete e[t(1411)]}}function xf(e){return this[c(573)](function(){H0(this,e)})}function of(e,n){var t,o;return function(){const x=_0x5528;var r=Cn(this,e),i=r[x(1346)];if(i!==t){o=t=i;for(var a=0,d=o[x(658)];a<d;++a)if(o[a][x(863)]===n){o=o[x(1330)](),o[x(1654)](a,1);break}}r[x(1346)]=o}}function rf(e,n,t){const o=c;var x,r;if(typeof t!==o(790))throw new Error;return function(){const i=o;var a=Cn(this,e),d=a[i(1346)];if(d!==x){r=(x=d)[i(1330)]();for(var s={name:n,value:t},u=0,f=r[i(658)];u<f;++u)if(r[u][i(863)]===n){r[u]=s;break}u===f&&r.push(s)}a.tween=r}}function af(e,n){const t=c;var o=this._id;if(e+="",arguments.length<2){for(var x=fn(this[t(2039)](),o)[t(1346)],r=0,i=x[t(658)],a;r<i;++r)if((a=x[r])[t(863)]===e)return a[t(1834)];return null}return this[t(573)]((n==null?of:rf)(o,e,n))}function $x(e,n,t){const o=c;var x=e[o(1906)];return e[o(573)](function(){const r=o;var i=Cn(this,x);(i[r(1834)]||(i[r(1834)]={}))[n]=t.apply(this,arguments)}),function(r){const i=o;return fn(r,x)[i(1834)][n]}}function Pi(e,n){const t=c;var o;return(typeof n===t(1718)?zn:n instanceof Kn?k0:(o=Kn(n))?(n=o,k0):vi)(e,n)}function cf(e){return function(){this.removeAttribute(e)}}function sf(e){return function(){const n=_0x5528;this.removeAttributeNS(e[n(1915)],e[n(1824)])}}function lf(e,n,t){var o,x=t+"",r;return function(){var a=this[_0x5528(964)](e);return a===x?null:a===o?r:r=n(o=a,t)}}function df(e,n,t){var o,x=t+"",r;return function(){const i=_0x5528;var a=this[i(533)](e[i(1915)],e[i(1824)]);return a===x?null:a===o?r:r=n(o=a,t)}}function uf(e,n,t){var o,x,r;return function(){const i=_0x5528;var a,d=t(this),s;return d==null?void this[i(1890)](e):(a=this[i(964)](e),s=d+"",a===s?null:a===o&&s===x?r:(x=s,r=n(o=a,d)))}}function ff(e,n,t){var o,x,r;return function(){const i=_0x5528;var a,d=t(this),s;return d==null?void this[i(288)](e.space,e[i(1824)]):(a=this[i(533)](e[i(1915)],e.local),s=d+"",a===s?null:a===o&&s===x?r:(x=s,r=n(o=a,d)))}}function hf(e,n){const t=c;var o=C0(e),x=o===t(1235)?Zu:Pi;return this[t(935)](e,typeof n===t(790)?(o.local?ff:uf)(o,x,$x(this,t(1366)+e,n)):n==null?(o.local?sf:cf)(o):(o[t(1824)]?df:lf)(o,x,n))}function gf(e,n){return function(t){const o=_0x5528;this[o(2033)](e,n[o(1164)](this,t))}}function yf(e,n){return function(t){this[_0x5528(1028)](e.space,e.local,n.call(this,t))}}function mf(e,n){const t=c;var o,x;function r(){var a=n[_0x5528(1932)](this,arguments);return a!==x&&(o=(x=a)&&yf(e,a)),o}return r[t(775)]=n,r}function wf(e,n){var t,o;function x(){var i=n[_0x5528(1932)](this,arguments);return i!==o&&(t=(o=i)&&gf(e,i)),t}return x._value=n,x}function vf(e,n){const t=c;var o=t(1366)+e;if(arguments.length<2)return(o=this[t(1346)](o))&&o[t(775)];if(n==null)return this[t(1346)](o,null);if(typeof n!==t(790))throw new Error;var x=C0(e);return this[t(1346)](o,(x[t(1824)]?mf:wf)(x,n))}function bf(e,n){return function(){const t=_0x5528;_x(this,e)[t(1535)]=+n[t(1932)](this,arguments)}}function pf(e,n){return n=+n,function(){const t=_0x5528;_x(this,e)[t(1535)]=n}}function zf(e){const n=c;var t=this[n(1906)];return arguments[n(658)]?this[n(573)]((typeof e===n(790)?bf:pf)(t,e)):fn(this[n(2039)](),t).delay}function Cf(e,n){return function(){Cn(this,e).duration=+n.apply(this,arguments)}}function Mf(e,n){return n=+n,function(){Cn(this,e).duration=n}}function Bf(e){const n=c;var t=this[n(1906)];return arguments[n(658)]?this[n(573)]((typeof e=="function"?Cf:Mf)(t,e)):fn(this[n(2039)](),t).duration}function Df(e,n){if(typeof n!==c(790))throw new Error;return function(){Cn(this,e).ease=n}}function Lf(e){const n=c;var t=this._id;return arguments.length?this[n(573)](Df(t,e)):fn(this.node(),t)[n(1561)]}function Sf(e,n){return function(){const t=_0x5528;var o=n.apply(this,arguments);if(typeof o!==t(790))throw new Error;Cn(this,e)[t(1561)]=o}}function Nf(e){const n=c;if(typeof e!==n(790))throw new Error;return this[n(573)](Sf(this._id,e))}function kf(e){const n=c;typeof e!==n(790)&&(e=Jr(e));for(var t=this[n(1128)],o=t[n(658)],x=new Array(o),r=0;r<o;++r)for(var i=t[r],a=i[n(658)],d=x[r]=[],s,u=0;u<a;++u)(s=i[u])&&e[n(1164)](s,s[n(1770)],u,i)&&d[n(1148)](s);return new Sn(x,this[n(1774)],this[n(1265)],this[n(1906)])}function If(e){const n=c;if(e[n(1906)]!==this[n(1906)])throw new Error;for(var t=this[n(1128)],o=e[n(1128)],x=t[n(658)],r=o[n(658)],i=Math[n(719)](x,r),a=new Array(x),d=0;d<i;++d)for(var s=t[d],u=o[d],f=s[n(658)],y=a[d]=new Array(f),g,v=0;v<f;++v)(g=s[v]||u[v])&&(y[v]=g);for(;d<x;++d)a[d]=t[d];return new Sn(a,this[n(1774)],this._name,this[n(1906)])}function Pf(e){const n=c;return(e+"")[n(1597)]().split(/^|\s+/).every(function(t){const o=n;var x=t[o(229)](".");return x>=0&&(t=t.slice(0,x)),!t||t===o(1541)})}function Af(e,n,t){var o,x,r=Pf(n)?_x:Cn;return function(){const i=_0x5528;var a=r(this,e),d=a.on;d!==o&&(x=(o=d)[i(1636)]()).on(n,t),a.on=x}}function Ef(e,n){const t=c;var o=this[t(1906)];return arguments[t(658)]<2?fn(this[t(2039)](),o).on.on(e):this[t(573)](Af(o,e,n))}function jf(e){return function(){const n=_0x5528;var t=this[n(300)];for(var o in this[n(1411)])if(+o!==e)return;t&&t[n(324)](this)}}function Yf(){const e=c;return this.on(e(1255),jf(this[e(1906)]))}function Uf(e){const n=c;var t=this[n(1265)],o=this[n(1906)];typeof e!==n(790)&&(e=Ux(e));for(var x=this[n(1128)],r=x.length,i=new Array(r),a=0;a<r;++a)for(var d=x[a],s=d[n(658)],u=i[a]=new Array(s),f,y,g=0;g<s;++g)(f=d[g])&&(y=e.call(f,f[n(1770)],g,d))&&("__data__"in f&&(y.__data__=f[n(1770)]),u[g]=y,O0(u[g],t,o,g,u,fn(f,o)));return new Sn(i,this[n(1774)],t,o)}function Gf(e){const n=c;var t=this[n(1265)],o=this[n(1906)];typeof e!="function"&&(e=Rr(e));for(var x=this[n(1128)],r=x[n(658)],i=[],a=[],d=0;d<r;++d)for(var s=x[d],u=s[n(658)],f,y=0;y<u;++y)if(f=s[y]){for(var g=e.call(f,f[n(1770)],y,s),v,h=fn(f,o),p=0,M=g[n(658)];p<M;++p)(v=g[p])&&O0(v,t,o,p,g,h);i.push(g),a[n(1148)](f)}return new Sn(i,a,t,o)}var Of=Ut[c(1295)].constructor;function Hf(){const e=c;return new Of(this[e(1128)],this[e(1774)])}function Tf(e,n){var t,o,x;return function(){const r=_0x5528;var i=ut(this,e),a=(this[r(262)][r(522)](e),ut(this,e));return i===a?null:i===t&&a===o?x:x=n(t=i,o=a)}}function Ai(e){return function(){const n=_0x5528;this[n(262)][n(522)](e)}}function Vf(e,n,t){var o,x=t+"",r;return function(){var i=ut(this,e);return i===x?null:i===o?r:r=n(o=i,t)}}function Wf(e,n,t){var o,x,r;return function(){const i=_0x5528;var a=ut(this,e),d=t(this),s=d+"";return d==null&&(s=d=(this.style[i(522)](e),ut(this,e))),a===s?null:a===o&&s===x?r:(x=s,r=n(o=a,d))}}function qf(e,n){const t=c;var o,x,r,i=t(1748)+n,a=t(1024)+i,d;return function(){const s=t;var u=Cn(this,e),f=u.on,y=u[s(1834)][i]==null?d||(d=Ai(n)):void 0;(f!==o||r!==y)&&(x=(o=f)[s(1636)]()).on(a,r=y),u.on=x}}function Xf(e,n,t){const o=c;var x=(e+="")===o(1235)?Xu:Pi;return n==null?this.styleTween(e,Tf(e,x)).on(o(1256)+e,Ai(e)):typeof n===o(790)?this.styleTween(e,Wf(e,x,$x(this,o(1748)+e,n)))[o(573)](qf(this[o(1906)],e)):this[o(2029)](e,Vf(e,x,n),t).on("end.style."+e,null)}function Zf(e,n,t){return function(o){const x=_0x5528;this.style[x(402)](e,n[x(1164)](this,o),t)}}function Kf(e,n,t){const o=c;var x,r;function i(){var d=n[_0x5528(1932)](this,arguments);return d!==r&&(x=(r=d)&&Zf(e,d,t)),x}return i[o(775)]=n,i}function Rf(e,n,t){const o=c;var x="style."+(e+="");if(arguments[o(658)]<2)return(x=this[o(1346)](x))&&x[o(775)];if(n==null)return this[o(1346)](x,null);if(typeof n!==o(790))throw new Error;return this[o(1346)](x,Kf(e,n,t??""))}function Jf(e){return function(){const n=_0x5528;this[n(890)]=e}}function Qf(e){return function(){const n=_0x5528;var t=e(this);this[n(890)]=t??""}}function Ff(e){const n=c;return this[n(1346)](n(600),typeof e===n(790)?Qf($x(this,n(600),e)):Jf(e==null?"":e+""))}function _f(e){return function(n){const t=_0x5528;this[t(890)]=e[t(1164)](this,n)}}function $f(e){const n=c;var t,o;function x(){var r=e.apply(this,arguments);return r!==o&&(t=(o=r)&&_f(r)),t}return x[n(775)]=e,x}function e5(e){const n=c;var t=n(600);if(arguments[n(658)]<1)return(t=this.tween(t))&&t[n(775)];if(e==null)return this[n(1346)](t,null);if(typeof e!==n(790))throw new Error;return this[n(1346)](t,$f(e))}function n5(){const e=c;for(var n=this[e(1265)],t=this[e(1906)],o=Ei(),x=this[e(1128)],r=x[e(658)],i=0;i<r;++i)for(var a=x[i],d=a[e(658)],s,u=0;u<d;++u)if(s=a[u]){var f=fn(s,t);O0(s,n,o,u,a,{time:f[e(1968)]+f[e(1535)]+f[e(379)],delay:0,duration:f[e(379)],ease:f[e(1561)]})}return new Sn(x,this[e(1774)],n,o)}function t5(){const e=c;var n,t,o=this,x=o[e(1906)],r=o[e(1683)]();return new Promise(function(i,a){const d=e;var s={value:a},u={value:function(){--r===0&&i()}};o[d(573)](function(){const f=d;var y=Cn(this,x),g=y.on;g!==n&&(t=(n=g)[f(1636)](),t._[f(1583)][f(1148)](s),t._[f(705)][f(1148)](s),t._[f(785)][f(1148)](u)),y.on=t}),r===0&&i()})}var x5=0;function Sn(e,n,t,o){const x=c;this[x(1128)]=e,this[x(1774)]=n,this[x(1265)]=t,this[x(1906)]=o}function Ei(){return++x5}var Nn=Ut.prototype;Sn[c(1295)]={constructor:Sn,select:Uf,selectAll:Gf,selectChild:Nn[c(1741)],selectChildren:Nn.selectChildren,filter:kf,merge:If,selection:Hf,transition:n5,call:Nn.call,nodes:Nn.nodes,node:Nn.node,size:Nn[c(1683)],empty:Nn[c(243)],each:Nn[c(573)],on:Ef,attr:hf,attrTween:vf,style:Xf,styleTween:Rf,text:Ff,textTween:e5,remove:Yf,tween:af,delay:zf,duration:Bf,ease:Lf,easeVarying:Nf,end:t5,[Symbol[c(1955)]]:Nn[Symbol[c(1955)]]};function o5(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var r5={time:null,delay:0,duration:250,ease:o5};function i5(e,n){const t=c;for(var o;!(o=e[t(1411)])||!(o=o[n]);)if(!(e=e[t(300)]))throw new Error(t(1085)+n+t(1726));return o}function a5(e){const n=c;var t,o;e instanceof Sn?(t=e._id,e=e[n(1265)]):(t=Ei(),(o=r5)[n(1968)]=Rx(),e=e==null?null:e+"");for(var x=this[n(1128)],r=x[n(658)],i=0;i<r;++i)for(var a=x[i],d=a[n(658)],s,u=0;u<d;++u)(s=a[u])&&O0(s,e,t,u,a,o||i5(s,t));return new Sn(x,this[n(1774)],e,t)}Ut[c(1295)][c(705)]=xf,Ut[c(1295)][c(641)]=a5;const T0=e=>()=>e;function c5(e,{sourceEvent:n,target:t,transform:o,dispatch:x}){Object[c(1977)](this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:t,enumerable:!0,configurable:!0},transform:{value:o,enumerable:!0,configurable:!0},_:{value:x}})}function kn(e,n,t){this.k=e,this.x=n,this.y=t}kn[c(1295)]={constructor:kn,scale:function(e){return e===1?this:new kn(this.k*e,this.x,this.y)},translate:function(e,n){return e===0&n===0?this:new kn(this.k,this.x+this.k*e,this.y+this.k*n)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){const n=c;return e.copy()[n(1819)](e[n(786)]()[n(1902)](this[n(1532)],this)[n(1902)](e[n(825)],e))},rescaleY:function(e){const n=c;return e[n(1636)]()[n(1819)](e[n(786)]()[n(1902)](this[n(683)],this)[n(1902)](e[n(825)],e))},toString:function(){const e=c;return e(883)+this.x+","+this.y+e(1125)+this.k+")"}};var V0=new kn(1,0,0);ji.prototype=kn[c(1295)];function ji(e){const n=c;for(;!e[n(337)];)if(!(e=e[n(300)]))return V0;return e[n(337)]}function eo(e){e[c(615)]()}function Kt(e){e.preventDefault(),e.stopImmediatePropagation()}function s5(e){const n=c;return(!e[n(1533)]||e[n(954)]==="wheel")&&!e[n(1020)]}function l5(){const e=c;var n=this;return n instanceof SVGElement?(n=n[e(2053)]||n,n[e(1516)](e(1141))?(n=n[e(1141)][e(1354)],[[n.x,n.y],[n.x+n[e(1232)],n.y+n[e(1129)]]]):[[0,0],[n.width[e(1354)][e(1834)],n.height.baseVal.value]]):[[0,0],[n[e(1627)],n.clientHeight]]}function Yi(){return this.__zoom||V0}function d5(e){const n=c;return-e[n(1809)]*(e[n(1279)]===1?.05:e[n(1279)]?1:.002)*(e[n(1533)]?10:1)}function u5(){const e=c;return navigator[e(989)]||e(644)in this}function f5(e,n,t){const o=c;var x=e.invertX(n[0][0])-t[0][0],r=e[o(1532)](n[1][0])-t[1][0],i=e.invertY(n[0][1])-t[0][1],a=e[o(683)](n[1][1])-t[1][1];return e.translate(r>x?(x+r)/2:Math.min(0,x)||Math.max(0,r),a>i?(i+a)/2:Math[o(719)](0,i)||Math.max(0,a))}function Ui(){const e=c;var n=s5,t=l5,o=f5,x=d5,r=u5,i=[0,1/0],a=[[-1/0,-1/0],[1/0,1/0]],d=250,s=P0,u=p0(e(1541),e(915),e(785)),f,y,g,v=500,h=150,p=0,M=10;function w(L){const B=e;L[B(1609)]("__zoom",Yi).on(B(792),V,{passive:!1}).on(B(2013),A).on("dblclick.zoom",W).filter(r).on(B(1783),T).on(B(420),X).on(B(755),G)[B(262)](B(498),B(1027))}w[e(1235)]=function(L,B,S,E){const P=e;var k=L[P(1350)]?L.selection():L;k[P(1609)](P(337),Yi),L!==k?I(L,B,S,E):k[P(705)]()[P(573)](function(){const K=P;U(this,arguments)[K(1656)](E)[K(1541)]()[K(915)](null,typeof B===K(790)?B[K(1932)](this,arguments):B)[K(785)]()})},w[e(1224)]=function(L,B,S,E){w[e(509)](L,function(){var k=this.__zoom.k,K=typeof B=="function"?B.apply(this,arguments):B;return k*K},S,E)},w[e(509)]=function(L,B,S,E){const P=e;w[P(1235)](L,function(){const k=P;var K=t[k(1932)](this,arguments),_=this.__zoom,R=S==null?C(K):typeof S===k(790)?S[k(1932)](this,arguments):S,$=_[k(825)](R),xe=typeof B===k(790)?B[k(1932)](this,arguments):B;return o(b(m(_,xe),R,$),K,a)},S,E)},w.translateBy=function(L,B,S,E){const P=e;w[P(1235)](L,function(){const k=P;return o(this.__zoom[k(802)](typeof B===k(790)?B[k(1932)](this,arguments):B,typeof S===k(790)?S[k(1932)](this,arguments):S),t.apply(this,arguments),a)},null,E)},w[e(398)]=function(L,B,S,E,P){const k=e;w[k(1235)](L,function(){const K=k;var _=t[K(1932)](this,arguments),R=this[K(337)],$=E==null?C(_):typeof E===K(790)?E[K(1932)](this,arguments):E;return o(V0.translate($[0],$[1])[K(1652)](R.k)[K(802)](typeof B===K(790)?-B[K(1932)](this,arguments):-B,typeof S=="function"?-S[K(1932)](this,arguments):-S),_,a)},E,P)};function m(L,B){const S=e;return B=Math[S(735)](i[0],Math[S(719)](i[1],B)),B===L.k?L:new kn(B,L.x,L.y)}function b(L,B,S){var E=B[0]-S[0]*L.k,P=B[1]-S[1]*L.k;return E===L.x&&P===L.y?L:new kn(L.k,E,P)}function C(L){return[(+L[0][0]+ +L[1][0])/2,(+L[0][1]+ +L[1][1])/2]}function I(L,B,S,E){const P=e;L.on(P(703),function(){const k=P;U(this,arguments)[k(1656)](E)[k(1541)]()}).on("interrupt.zoom end.zoom",function(){const k=P;U(this,arguments)[k(1656)](E)[k(785)]()})[P(1346)]("zoom",function(){const k=P;var K=this,_=arguments,R=U(K,_).event(E),$=t[k(1932)](K,_),xe=S==null?C($):typeof S===k(790)?S[k(1932)](K,_):S,ae=Math.max($[1][0]-$[0][0],$[1][1]-$[0][1]),de=K[k(337)],ue=typeof B=="function"?B[k(1932)](K,_):B,re=s(de[k(825)](xe)[k(1711)](ae/de.k),ue[k(825)](xe)[k(1711)](ae/ue.k));return function(Q){const ie=k;if(Q===1)Q=ue;else{var F=re(Q),N=ae/F[2];Q=new kn(N,xe[0]-F[0]*N,xe[1]-F[1]*N)}R[ie(915)](null,Q)}})}function U(L,B,S){return!S&&L[e(773)]||new H(L,B)}function H(L,B){const S=e;this[S(1995)]=L,this[S(1277)]=B,this.active=0,this[S(815)]=null,this[S(1947)]=t.apply(L,B),this[S(442)]=0}H[e(1295)]={event:function(L){const B=e;return L&&(this[B(815)]=L),this},start:function(){const L=e;return++this[L(1519)]===1&&(this.that.__zooming=this,this.emit(L(1541))),this},zoom:function(L,B){const S=e;return this[S(605)]&&L!==S(605)&&(this[S(605)][1]=B[S(825)](this[S(605)][0])),this[S(513)]&&L!=="touch"&&(this[S(513)][1]=B[S(825)](this[S(513)][0])),this[S(1895)]&&L!==S(1994)&&(this[S(1895)][1]=B[S(825)](this[S(1895)][0])),this[S(1995)][S(337)]=B,this[S(827)](S(915)),this},end:function(){const L=e;return--this[L(1519)]===0&&(delete this[L(1995)][L(773)],this[L(827)](L(785))),this},emit:function(L){const B=e;var S=en(this[B(1995)])[B(619)]();u.call(L,this[B(1995)],new c5(L,{sourceEvent:this.sourceEvent,target:w,transform:this[B(1995)][B(337)],dispatch:u}),S)}};function V(L,...B){const S=e;if(!n[S(1932)](this,arguments))return;var E=U(this,B)[S(1656)](L),P=this[S(337)],k=Math[S(735)](i[0],Math[S(719)](i[1],P.k*Math[S(541)](2,x[S(1932)](this,arguments)))),K=dn(L);if(E.wheel)(E[S(605)][0][0]!==K[0]||E.mouse[0][1]!==K[1])&&(E[S(605)][1]=P.invert(E.mouse[0]=K)),clearTimeout(E[S(250)]);else{if(P.k===k)return;E.mouse=[K,P[S(825)](K)],H0(this),E[S(1541)]()}Kt(L),E.wheel=setTimeout(_,h),E[S(915)](S(605),o(b(m(P,k),E[S(605)][0],E[S(605)][1]),E[S(1947)],a));function _(){const R=S;E[R(250)]=null,E[R(785)]()}}function A(L,...B){const S=e;if(g||!n.apply(this,arguments))return;var E=L.currentTarget,P=U(this,B,!0)[S(1656)](L),k=en(L[S(1979)]).on("mousemove.zoom",$,!0).on(S(1417),xe,!0),K=dn(L,E),_=L.clientX,R=L[S(597)];ri(L.view),eo(L),P.mouse=[K,this[S(337)][S(825)](K)],H0(this),P[S(1541)]();function $(ae){const de=S;if(Kt(ae),!P[de(1982)]){var ue=ae[de(428)]-_,re=ae.clientY-R;P.moved=ue*ue+re*re>p}P[de(1656)](ae).zoom(de(605),o(b(P[de(1995)].__zoom,P[de(605)][0]=dn(ae,E),P[de(605)][1]),P.extent,a))}function xe(ae){const de=S;k.on(de(397),null),ii(ae[de(1979)],P[de(1982)]),Kt(ae),P.event(ae)[de(785)]()}}function W(L,...B){const S=e;if(n[S(1932)](this,arguments)){var E=this[S(337)],P=dn(L.changedTouches?L[S(674)][0]:L,this),k=E[S(825)](P),K=E.k*(L.shiftKey?.5:2),_=o(b(m(E,K),P,k),t[S(1932)](this,B),a);Kt(L),d>0?en(this).transition()[S(379)](d)[S(1164)](I,_,P,L):en(this)[S(1164)](w.transform,_,P,L)}}function T(L,...B){const S=e;if(n[S(1932)](this,arguments)){var E=L[S(548)],P=E[S(658)],k=U(this,B,L[S(674)][S(658)]===P)[S(1656)](L),K,_,R,$;for(eo(L),_=0;_<P;++_)R=E[_],$=dn(R,this),$=[$,this.__zoom.invert($),R[S(1704)]],k[S(513)]?!k[S(1895)]&&k[S(513)][2]!==$[2]&&(k[S(1895)]=$,k[S(442)]=0):(k.touch0=$,K=!0,k[S(442)]=1+!!f);f&&(f=clearTimeout(f)),K&&(k[S(442)]<2&&(y=$[0],f=setTimeout(function(){f=null},v)),H0(this),k.start())}}function X(L,...B){const S=e;if(this.__zooming){var E=U(this,B)[S(1656)](L),P=L[S(674)],k=P[S(658)],K,_,R,$;for(Kt(L),K=0;K<k;++K)_=P[K],R=dn(_,this),E.touch0&&E[S(513)][2]===_[S(1704)]?E[S(513)][0]=R:E.touch1&&E.touch1[2]===_[S(1704)]&&(E[S(1895)][0]=R);if(_=E.that[S(337)],E.touch1){var xe=E[S(513)][0],ae=E.touch0[1],de=E.touch1[0],ue=E[S(1895)][1],re=(re=de[0]-xe[0])*re+(re=de[1]-xe[1])*re,Q=(Q=ue[0]-ae[0])*Q+(Q=ue[1]-ae[1])*Q;_=m(_,Math.sqrt(re/Q)),R=[(xe[0]+de[0])/2,(xe[1]+de[1])/2],$=[(ae[0]+ue[0])/2,(ae[1]+ue[1])/2]}else if(E[S(513)])R=E[S(513)][0],$=E.touch0[1];else return;E.zoom("touch",o(b(_,R,$),E[S(1947)],a))}}function G(L,...B){const S=e;if(this.__zooming){var E=U(this,B)[S(1656)](L),P=L[S(674)],k=P[S(658)],K,_;for(eo(L),g&&clearTimeout(g),g=setTimeout(function(){g=null},v),K=0;K<k;++K)_=P[K],E.touch0&&E[S(513)][2]===_.identifier?delete E[S(513)]:E[S(1895)]&&E.touch1[2]===_.identifier&&delete E.touch1;if(E.touch1&&!E.touch0&&(E[S(513)]=E[S(1895)],delete E.touch1),E[S(513)])E[S(513)][1]=this[S(337)][S(825)](E.touch0[0]);else if(E.end(),E[S(442)]===2&&(_=dn(_,this),Math[S(1766)](y[0]-_[0],y[1]-_[1])<M)){var R=en(this).on(S(1310));R&&R[S(1932)](this,arguments)}}}return w[e(1631)]=function(L){const B=e;return arguments[B(658)]?(x=typeof L===B(790)?L:T0(+L),w):x},w[e(1874)]=function(L){return arguments.length?(n=typeof L=="function"?L:T0(!!L),w):n},w.touchable=function(L){const B=e;return arguments[B(658)]?(r=typeof L===B(790)?L:T0(!!L),w):r},w.extent=function(L){const B=e;return arguments[B(658)]?(t=typeof L===B(790)?L:T0([[+L[0][0],+L[0][1]],[+L[1][0],+L[1][1]]]),w):t},w[e(441)]=function(L){return arguments[e(658)]?(i[0]=+L[0],i[1]=+L[1],w):[i[0],i[1]]},w[e(434)]=function(L){return arguments.length?(a[0][0]=+L[0][0],a[1][0]=+L[1][0],a[0][1]=+L[0][1],a[1][1]=+L[1][1],w):[[a[0][0],a[0][1]],[a[1][0],a[1][1]]]},w[e(393)]=function(L){return arguments[e(658)]?(o=L,w):o},w.duration=function(L){return arguments[e(658)]?(d=+L,w):d},w[e(878)]=function(L){return arguments[e(658)]?(s=L,w):s},w.on=function(){const L=e;var B=u.on[L(1932)](u,arguments);return B===u?w:B},w[e(1229)]=function(L){const B=e;return arguments.length?(p=(L=+L)*L,w):Math[B(692)](p)},w[e(669)]=function(L){return arguments[e(658)]?(M=+L,w):M},w}const nn={error001:()=>c(242),error002:()=>c(1904),error003:e=>c(1308)+e+c(1231),error004:()=>c(1875),error005:()=>"Only child nodes can use a parent extent.",error006:()=>c(860),error007:e=>c(290)+e+" does not exist.",error009:e=>'Marker type "'+e+c(472),error008:(e,{id:n,sourceHandle:t,targetHandle:o})=>c(1722)+e+' handle id: "'+(e===c(962)?t:o)+c(1435)+n+".",error010:()=>c(1489),error011:e=>'Edge type "'+e+c(1231),error012:e=>c(1903)+e+c(265),error013:(e=c(848))=>c(621)+e+c(946),error014:()=>c(1352),error015:()=>c(1211)},Rt=[[Number.NEGATIVE_INFINITY,Number[c(1414)]],[Number.POSITIVE_INFINITY,Number[c(652)]]],Gi=[c(2023)," ",c(1719)],Oi={"node.a11yDescription.default":c(2004),"node.a11yDescription.keyboardDisabled":c(905),"node.a11yDescription.ariaLiveMessage":({direction:e,x:n,y:t})=>c(1775)+e+c(714)+n+c(787)+t,"edge.a11yDescription.default":c(1180),"controls.ariaLabel":c(1481),"controls.zoomIn.ariaLabel":c(1294),"controls.zoomOut.ariaLabel":c(236),"controls.fitView.ariaLabel":c(1885),"controls.interactive.ariaLabel":"Toggle Interactivity","minimap.ariaLabel":c(1362),"handle.ariaLabel":c(1463)};var yt;(function(e){const n=c;e[n(484)]=n(209),e[n(607)]=n(574)})(yt||(yt={}));var Fn;(function(e){const n=c;e.Free=n(1713),e[n(914)]=n(1146),e[n(332)]=n(598)})(Fn||(Fn={}));var Jt;(function(e){const n=c;e.Partial=n(1275),e[n(1212)]=n(717)})(Jt||(Jt={}));const Hi={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var jn;(function(e){const n=c;e[n(1087)]=n(1764),e.Straight=n(613),e[n(924)]=n(923),e.SmoothStep=n(973),e[n(547)]=n(445)})(jn||(jn={}));var W0;(function(e){const n=c;e[n(943)]="arrow",e[n(852)]=n(1187)})(W0||(W0={}));var he;(function(e){const n=c;e.Left=n(1921),e[n(295)]=n(1276),e[n(467)]=n(2043),e[n(1651)]=n(308)})(he||(he={}));const Ti={[he[c(1297)]]:he.Right,[he[c(467)]]:he[c(1297)],[he[c(295)]]:he[c(1651)],[he[c(1651)]]:he[c(295)]};function Vi(e){return e===null?null:e?"valid":c(1867)}const Wi=e=>"id"in e&&c(962)in e&&c(1450)in e,h5=e=>"id"in e&&c(902)in e&&!(c(962)in e)&&!(c(1450)in e),no=e=>"id"in e&&c(1300)in e&&!(c(962)in e)&&!(c(1450)in e),Qt=(e,n=[0,0])=>{const t=c,{width:o,height:x}=In(e),r=e[t(854)]??n,i=o*r[0],a=x*r[1];return{x:e[t(902)].x-i,y:e[t(902)].y-a}},g5=(e,n={nodeOrigin:[0,0]})=>{const t=c;if(process.env.NODE_ENV===t(1156)&&!n[t(212)]&&console[t(2054)](t(2005)),e[t(658)]===0)return{x:0,y:0,width:0,height:0};const o=e[t(412)]((x,r)=>{const i=t,a=typeof r===i(810);let d=!n[i(212)]&&!a?r:void 0;n[i(212)]&&(d=a?n[i(212)][i(1735)](r):no(r)?r:n[i(212)].get(r.id));const s=d?Z0(d,n.nodeOrigin):{x:0,y:0,x2:0,y2:0};return q0(x,s)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return X0(o)},Ft=(e,n={})=>{const t=c;let o={x:1/0,y:1/0,x2:-1/0,y2:-1/0},x=!1;return e[t(1998)](r=>{const i=t;(n.filter===void 0||n[i(1874)](r))&&(o=q0(o,Z0(r)),x=!0)}),x?X0(o):{x:0,y:0,width:0,height:0}},to=(e,n,[t,o,x]=[0,0,1],r=!1,i=!1)=>{const a=c,d={...e0(n,[t,o,x]),width:n.width/x,height:n.height/x},s=[];for(const u of e[a(839)]()){const{measured:f,selectable:y=!0,hidden:g=!1}=u;if(i&&!y||g)continue;const v=f[a(1232)]??u[a(1232)]??u[a(1074)]??null,h=f[a(1129)]??u[a(1129)]??u[a(490)]??null,p=_t(d,wt(u)),M=(v??0)*(h??0),w=r&&p>0;(!u[a(1300)].handleBounds||w||p>=M||u[a(1980)])&&s.push(u)}return s},y5=(e,n)=>{const t=c,o=new Set;return e[t(1998)](x=>{o.add(x.id)}),n[t(1874)](x=>o[t(1264)](x.source)||o[t(1264)](x[t(1450)]))};function m5(e,n){const t=c,o=new Map,x=n?.nodes?new Set(n[t(405)][t(1902)](r=>r.id)):null;return e[t(1998)](r=>{const i=t;r[i(1629)][i(1232)]&&r.measured[i(1129)]&&(n?.includeHiddenNodes||!r[i(569)])&&(!x||x.has(r.id))&&o[i(1889)](r.id,r)}),o}async function w5({nodes:e,width:n,height:t,panZoom:o,minZoom:x,maxZoom:r},i){const a=c;if(e[a(1683)]===0)return Promise[a(369)](!0);const d=m5(e,i),s=Ft(d),u=oo(s,n,t,i?.[a(922)]??x,i?.[a(1318)]??r,i?.padding??.1);return await o[a(1773)](u,{duration:i?.[a(379)],ease:i?.[a(1561)],interpolate:i?.[a(878)]}),Promise[a(369)](!0)}function qi({nodeId:e,nextPosition:n,nodeLookup:t,nodeOrigin:o=[0,0],nodeExtent:x,onError:r}){const i=c,a=t.get(e),d=a[i(1064)]?t.get(a[i(1064)]):void 0,{x:s,y:u}=d?d[i(1300)][i(1918)]:{x:0,y:0},f=a[i(854)]??o;let y=a[i(1947)]||x;if(a[i(1947)]===i(1732)&&!a[i(430)])if(!d)r?.(i(1379),nn[i(377)]());else{const v=d[i(1629)][i(1232)],h=d[i(1629)][i(1129)];v&&h&&(y=[[s,u],[s+v,u+h]])}else d&&bt(a[i(1947)])&&(y=[[a[i(1947)][0][0]+s,a[i(1947)][0][1]+u],[a.extent[1][0]+s,a[i(1947)][1][1]+u]]);const g=bt(y)?_n(n,y,a[i(1629)]):n;return(a[i(1629)][i(1232)]===void 0||a[i(1629)][i(1129)]===void 0)&&r?.("015",nn[i(1556)]()),{position:{x:g.x-s+(a.measured[i(1232)]??0)*f[0],y:g.y-u+(a[i(1629)][i(1129)]??0)*f[1]},positionAbsolute:g}}async function v5({nodesToRemove:e=[],edgesToRemove:n=[],nodes:t,edges:o,onBeforeDelete:x}){const r=c,i=new Set(e[r(1902)](g=>g.id)),a=[];for(const g of t){if(g.deletable===!1)continue;const v=i[r(1264)](g.id),h=!v&&g.parentId&&a[r(1825)](p=>p.id===g.parentId);(v||h)&&a[r(1148)](g)}const d=new Set(n.map(g=>g.id)),s=o[r(1874)](g=>g.deletable!==!1),u=y5(a,s),f=u;for(const g of s)d[r(1264)](g.id)&&!f[r(1825)](h=>h.id===g.id)&&f[r(1148)](g);if(!x)return{edges:f,nodes:a};const y=await x({nodes:a,edges:f});return typeof y===r(486)?y?{edges:f,nodes:a}:{edges:[],nodes:[]}:y}const mt=(e,n=0,t=1)=>Math[c(719)](Math[c(735)](e,n),t),_n=(e={x:0,y:0},n,t)=>({x:mt(e.x,n[0][0],n[1][0]-(t?.[c(1232)]??0)),y:mt(e.y,n[0][1],n[1][1]-(t?.[c(1129)]??0))});function Xi(e,n,t){const o=c,{width:x,height:r}=In(t),{x:i,y:a}=t[o(1300)].positionAbsolute;return _n(e,[[i,a],[i+x,a+r]],n)}const Zi=(e,n,t)=>{const o=c;return e<n?mt(Math[o(427)](e-n),1,n)/n:e>t?-mt(Math.abs(e-t),1,n)/n:0},Ki=(e,n,t=15,o=40)=>{const x=c,r=Zi(e.x,o,n[x(1232)]-o)*t,i=Zi(e.y,o,n[x(1129)]-o)*t;return[r,i]},q0=(e,n)=>({x:Math[c(719)](e.x,n.x),y:Math[c(719)](e.y,n.y),x2:Math[c(735)](e.x2,n.x2),y2:Math[c(735)](e.y2,n.y2)}),xo=({x:e,y:n,width:t,height:o})=>({x:e,y:n,x2:e+t,y2:n+o}),X0=({x:e,y:n,x2:t,y2:o})=>({x:e,y:n,width:t-e,height:o-n}),wt=(e,n=[0,0])=>{const t=c,{x:o,y:x}=no(e)?e[t(1300)][t(1918)]:Qt(e,n);return{x:o,y:x,width:e[t(1629)]?.[t(1232)]??e[t(1232)]??e[t(1074)]??0,height:e[t(1629)]?.[t(1129)]??e[t(1129)]??e[t(490)]??0}},Z0=(e,n=[0,0])=>{const t=c,{x:o,y:x}=no(e)?e[t(1300)][t(1918)]:Qt(e,n);return{x:o,y:x,x2:o+(e.measured?.[t(1232)]??e[t(1232)]??e.initialWidth??0),y2:x+(e[t(1629)]?.[t(1129)]??e[t(1129)]??e[t(490)]??0)}},Ri=(e,n)=>X0(q0(xo(e),xo(n))),_t=(e,n)=>{const t=c,o=Math[t(735)](0,Math.min(e.x+e[t(1232)],n.x+n[t(1232)])-Math[t(735)](e.x,n.x)),x=Math[t(735)](0,Math[t(719)](e.y+e[t(1129)],n.y+n[t(1129)])-Math[t(735)](e.y,n.y));return Math[t(702)](o*x)},Ji=e=>hn(e[c(1232)])&&hn(e[c(1129)])&&hn(e.x)&&hn(e.y),hn=e=>!isNaN(e)&&isFinite(e),Qi=(e,n)=>{const t=c;process.env.NODE_ENV===t(1156)&&console[t(2054)](t(894)+n+t(1363)+e)},$t=(e,n=[1,1])=>{const t=c;return{x:n[0]*Math[t(639)](e.x/n[0]),y:n[1]*Math.round(e.y/n[1])}},e0=({x:e,y:n},[t,o,x],r=!1,i=[1,1])=>{const a={x:(e-t)/x,y:(n-o)/x};return r?$t(a,i):a},K0=({x:e,y:n},[t,o,x])=>({x:e*x+t,y:n*x+o});function vt(e,n){const t=c;if(typeof e===t(1718))return Math[t(1188)]((n-n/(1+e))*.5);if(typeof e=="string"&&e.endsWith("px")){const o=parseFloat(e);if(!Number[t(1642)](o))return Math[t(1188)](o)}if(typeof e===t(810)&&e[t(791)]("%")){const o=parseFloat(e);if(!Number[t(1642)](o))return Math.floor(n*o*.01)}return console[t(360)](t(1619)+e+t(1233)),0}function b5(e,n,t){const o=c;if(typeof e===o(810)||typeof e===o(1718)){const x=vt(e,t),r=vt(e,n);return{top:x,right:r,bottom:x,left:r,x:r*2,y:x*2}}if(typeof e=="object"){const x=vt(e[o(1276)]??e.y??0,t),r=vt(e[o(308)]??e.y??0,t),i=vt(e[o(1921)]??e.x??0,n),a=vt(e.right??e.x??0,n);return{top:x,right:a,bottom:r,left:i,x:i+a,y:x+r}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function p5(e,n,t,o,x,r){const i=c,{x:a,y:d}=K0(e,[n,t,o]),{x:s,y:u}=K0({x:e.x+e[i(1232)],y:e.y+e[i(1129)]},[n,t,o]),f=x-s,y=r-u;return{left:Math[i(1188)](a),top:Math[i(1188)](d),right:Math[i(1188)](f),bottom:Math.floor(y)}}const oo=(e,n,t,o,x,r)=>{const i=c,a=b5(r,n,t),d=(n-a.x)/e[i(1232)],s=(t-a.y)/e[i(1129)],u=Math[i(719)](d,s),f=mt(u,o,x),y=e.x+e[i(1232)]/2,g=e.y+e[i(1129)]/2,v=n/2-y*f,h=t/2-g*f,p=p5(e,v,h,f,n,t),M={left:Math.min(p[i(1921)]-a[i(1921)],0),top:Math.min(p[i(1276)]-a[i(1276)],0),right:Math[i(719)](p[i(2043)]-a[i(2043)],0),bottom:Math[i(719)](p.bottom-a[i(308)],0)};return{x:v-M.left+M.right,y:h-M.top+M[i(308)],zoom:f}},n0=()=>typeof navigator<"u"&&navigator?.[c(1217)]?.[c(229)]("Mac")>=0;function bt(e){return e!=null&&e!=="parent"}function In(e){const n=c;return{width:e[n(1629)]?.[n(1232)]??e[n(1232)]??e[n(1074)]??0,height:e.measured?.[n(1129)]??e[n(1129)]??e.initialHeight??0}}function Fi(e){const n=c;return(e[n(1629)]?.[n(1232)]??e[n(1232)]??e[n(1074)])!==void 0&&(e[n(1629)]?.height??e[n(1129)]??e.initialHeight)!==void 0}function _i(e,n={width:0,height:0},t,o,x){const r=c,i={...e},a=o[r(1735)](t);if(a){const d=a[r(854)]||x;i.x+=a[r(1300)][r(1918)].x-(n.width??0)*d[0],i.y+=a[r(1300)].positionAbsolute.y-(n[r(1129)]??0)*d[1]}return i}function $i(e,n){if(e[c(1683)]!==n.size)return!1;for(const o of e)if(!n.has(o))return!1;return!0}function z5(){let e,n;return{promise:new Promise((o,x)=>{e=o,n=x}),resolve:e,reject:n}}function C5(e){return{...Oi,...e||{}}}function t0(e,{snapGrid:n=[0,0],snapToGrid:t=!1,transform:o,containerBounds:x}){const r=c,{x:i,y:a}=gn(e),d=e0({x:i-(x?.left??0),y:a-(x?.[r(1276)]??0)},o),{x:s,y:u}=t?$t(d,n):d;return{xSnapped:s,ySnapped:u,...d}}const ro=e=>({width:e[c(1016)],height:e[c(1243)]}),ea=e=>e?.[c(1537)]?.()||window?.[c(1686)],M5=[c(446),c(1161),c(499)];function na(e){const n=c,t=e[n(292)]?.()?.[0]||e.target;return t?.[n(1728)]!==1?!1:M5[n(1402)](t[n(1912)])||t.hasAttribute(n(618))||!!t[n(1262)](n(1003))}const ta=e=>"clientX"in e,gn=(e,n)=>{const t=c,o=ta(e),x=o?e[t(428)]:e.touches?.[0][t(428)],r=o?e[t(597)]:e[t(548)]?.[0][t(597)];return{x:x-(n?.[t(1921)]??0),y:r-(n?.[t(1276)]??0)}},xa=(e,n,t,o,x)=>{const r=c,i=n[r(782)]("."+e);return!i||!i[r(658)]?null:Array[r(1855)](i)[r(1902)](a=>{const d=r,s=a[d(1623)]();return{id:a[d(964)](d(409)),type:e,nodeId:x,position:a[d(964)](d(1805)),x:(s[d(1921)]-t.left)/o,y:(s[d(1276)]-t.top)/o,...ro(a)}})};function oa({sourceX:e,sourceY:n,targetX:t,targetY:o,sourceControlX:x,sourceControlY:r,targetControlX:i,targetControlY:a}){const d=c,s=e*.125+x*.375+i*.375+t*.125,u=n*.125+r*.375+a*.375+o*.125,f=Math[d(427)](s-e),y=Math[d(427)](u-n);return[s,u,f,y]}function R0(e,n){const t=c;return e>=0?.5*e:n*25*Math[t(692)](-e)}function ra({pos:e,x1:n,y1:t,x2:o,y2:x,c:r}){const i=c;switch(e){case he[i(1297)]:return[n-R0(n-o,r),t];case he.Right:return[n+R0(o-n,r),t];case he[i(295)]:return[n,t-R0(t-x,r)];case he.Bottom:return[n,t+R0(x-t,r)]}}function ia({sourceX:e,sourceY:n,sourcePosition:t=he[c(1651)],targetX:o,targetY:x,targetPosition:r=he[c(295)],curvature:i=.25}){const[a,d]=ra({pos:t,x1:e,y1:n,x2:o,y2:x,c:i}),[s,u]=ra({pos:r,x1:o,y1:x,x2:e,y2:n,c:i}),[f,y,g,v]=oa({sourceX:e,sourceY:n,targetX:o,targetY:x,sourceControlX:a,sourceControlY:d,targetControlX:s,targetControlY:u});return["M"+e+","+n+" C"+a+","+d+" "+s+","+u+" "+o+","+x,f,y,g,v]}function aa({sourceX:e,sourceY:n,targetX:t,targetY:o}){const x=c,r=Math[x(427)](t-e)/2,i=t<e?t+r:t-r,a=Math[x(427)](o-n)/2,d=o<n?o+a:o-a;return[i,d,r,a]}function B5({sourceNode:e,targetNode:n,selected:t=!1,zIndex:o=0,elevateOnSelect:x=!1,zIndexMode:r=c(1608)}){const i=c;if(r===i(602))return o;const a=x&&t?o+1e3:o,d=Math[i(735)](e.parentId||x&&e[i(1734)]?e[i(1300)].z:0,n[i(1064)]||x&&n[i(1734)]?n[i(1300)].z:0);return a+d}function D5({sourceNode:e,targetNode:n,width:t,height:o,transform:x}){const r=q0(Z0(e),Z0(n));r.x===r.x2&&(r.x2+=1),r.y===r.y2&&(r.y2+=1);const i={x:-x[0]/x[2],y:-x[1]/x[2],width:t/x[2],height:o/x[2]};return _t(i,X0(r))>0}const L5=({source:e,sourceHandle:n,target:t,targetHandle:o})=>c(1820)+e+(n||"")+"-"+t+(o||""),S5=(e,n)=>{const t=c;return n.some(o=>o.source===e[t(962)]&&o.target===e.target&&(o[t(1499)]===e[t(1499)]||!o.sourceHandle&&!e[t(1499)])&&(o[t(586)]===e[t(586)]||!o[t(586)]&&!e[t(586)]))},ca=(e,n,t={})=>{const o=c;if(!e.source||!e[o(1450)])return Qi(o(745),nn[o(1213)]()),n;const x=t[o(1329)]||L5;let r;return Wi(e)?r={...e}:r={...e,id:x(e)},S5(r,n)?n:(r.sourceHandle===null&&delete r.sourceHandle,r.targetHandle===null&&delete r[o(586)],n[o(1711)](r))};function sa({sourceX:e,sourceY:n,targetX:t,targetY:o}){const[x,r,i,a]=aa({sourceX:e,sourceY:n,targetX:t,targetY:o});return["M "+e+","+n+"L "+t+","+o,x,r,i,a]}const la={[he[c(1297)]]:{x:-1,y:0},[he[c(467)]]:{x:1,y:0},[he.Top]:{x:0,y:-1},[he[c(1651)]]:{x:0,y:1}},N5=({source:e,sourcePosition:n=he[c(1651)],target:t})=>n===he[c(1297)]||n===he.Right?e.x<t.x?{x:1,y:0}:{x:-1,y:0}:e.y<t.y?{x:0,y:1}:{x:0,y:-1},da=(e,n)=>Math[c(692)](Math[c(541)](n.x-e.x,2)+Math[c(541)](n.y-e.y,2));function k5({source:e,sourcePosition:n=he[c(1651)],target:t,targetPosition:o=he[c(295)],center:x,offset:r,stepPosition:i}){const a=c,d=la[n],s=la[o],u={x:e.x+d.x*r,y:e.y+d.y*r},f={x:t.x+s.x*r,y:t.y+s.y*r},y=N5({source:u,sourcePosition:n,target:f}),g=y.x!==0?"x":"y",v=y[g];let h=[],p,M;const w={x:0,y:0},m={x:0,y:0},[,,b,C]=aa({sourceX:e.x,sourceY:e.y,targetX:t.x,targetY:t.y});if(d[g]*s[g]===-1){g==="x"?(p=x.x??u.x+(f.x-u.x)*i,M=x.y??(u.y+f.y)/2):(p=x.x??(u.x+f.x)/2,M=x.y??u.y+(f.y-u.y)*i);const V=[{x:p,y:u.y},{x:p,y:f.y}],A=[{x:u.x,y:M},{x:f.x,y:M}];d[g]===v?h=g==="x"?V:A:h=g==="x"?A:V}else{const V=[{x:u.x,y:f.y}],A=[{x:f.x,y:u.y}];if(g==="x"?h=d.x===v?A:V:h=d.y===v?V:A,n===o){const L=Math.abs(e[g]-t[g]);if(L<=r){const B=Math.min(r-1,r-L);d[g]===v?w[g]=(u[g]>e[g]?-1:1)*B:m[g]=(f[g]>t[g]?-1:1)*B}}if(n!==o){const L=g==="x"?"y":"x",B=d[g]===s[L],S=u[L]>f[L],E=u[L]<f[L];(d[g]===1&&(!B&&S||B&&E)||d[g]!==1&&(!B&&E||B&&S))&&(h=g==="x"?V:A)}const W={x:u.x+w.x,y:u.y+w.y},T={x:f.x+m.x,y:f.y+m.y},X=Math[a(735)](Math.abs(W.x-h[0].x),Math[a(427)](T.x-h[0].x)),G=Math[a(735)](Math[a(427)](W.y-h[0].y),Math[a(427)](T.y-h[0].y));X>=G?(p=(W.x+T.x)/2,M=h[0].y):(p=h[0].x,M=(W.y+T.y)/2)}const I={x:u.x+w.x,y:u.y+w.y},U={x:f.x+m.x,y:f.y+m.y};return[[e,...I.x!==h[0].x||I.y!==h[0].y?[I]:[],...h,...U.x!==h[h[a(658)]-1].x||U.y!==h[h[a(658)]-1].y?[U]:[],t],p,M,b,C]}function I5(e,n,t,o){const x=c,r=Math[x(719)](da(e,n)/2,da(n,t)/2,o),{x:i,y:a}=n;if(e.x===i&&i===t.x||e.y===a&&a===t.y)return"L"+i+" "+a;if(e.y===a){const u=e.x<t.x?-1:1,f=e.y<t.y?1:-1;return"L "+(i+r*u)+","+a+"Q "+i+","+a+" "+i+","+(a+r*f)}const d=e.x<t.x?1:-1,s=e.y<t.y?-1:1;return"L "+i+","+(a+r*s)+"Q "+i+","+a+" "+(i+r*d)+","+a}function io({sourceX:e,sourceY:n,sourcePosition:t=he[c(1651)],targetX:o,targetY:x,targetPosition:r=he.Top,borderRadius:i=5,centerX:a,centerY:d,offset:s=20,stepPosition:u=.5}){const f=c,[y,g,v,h,p]=k5({source:{x:e,y:n},sourcePosition:t,target:{x:o,y:x},targetPosition:r,center:{x:a,y:d},offset:s,stepPosition:u});let M="M"+y[0].x+" "+y[0].y;for(let w=1;w<y[f(658)]-1;w++)M+=I5(y[w-1],y[w],y[w+1],i);return M+="L"+y[y[f(658)]-1].x+" "+y[y[f(658)]-1].y,[M,g,v,h,p]}function ua(e){const n=c;return e&&!!(e.internals[n(1167)]||e.handles?.[n(658)])&&!!(e[n(1629)].width||e[n(1232)]||e[n(1074)])}function P5(e){const n=c,{sourceNode:t,targetNode:o}=e;if(!ua(t)||!ua(o))return null;const x=t[n(1300)][n(1167)]||fa(t.handles),r=o[n(1300)][n(1167)]||fa(o[n(226)]),i=ha(x?.source??[],e.sourceHandle),a=ha(e[n(1911)]===yt[n(484)]?r?.[n(1450)]??[]:(r?.target??[])[n(1711)](r?.[n(962)]??[]),e.targetHandle);if(!i||!a)return e[n(1342)]?.(n(1151),nn[n(625)](i?"target":n(962),{id:e.id,sourceHandle:e[n(1499)],targetHandle:e[n(586)]})),null;const d=i?.[n(902)]||he[n(1651)],s=a?.[n(902)]||he[n(295)],u=$n(t,i,d),f=$n(o,a,s);return{sourceX:u.x,sourceY:u.y,targetX:f.x,targetY:f.y,sourcePosition:d,targetPosition:s}}function fa(e){const n=c;if(!e)return null;const t=[],o=[];for(const x of e)x.width=x[n(1232)]??1,x[n(1129)]=x[n(1129)]??1,x.type==="source"?t[n(1148)](x):x[n(954)]===n(1450)&&o.push(x);return{source:t,target:o}}function $n(e,n,t=he[c(1297)],o=!1){const x=c,r=(n?.x??0)+e[x(1300)][x(1918)].x,i=(n?.y??0)+e[x(1300)][x(1918)].y,{width:a,height:d}=n??In(e);if(o)return{x:r+a/2,y:i+d/2};switch(n?.position??t){case he[x(295)]:return{x:r+a/2,y:i};case he[x(467)]:return{x:r+a,y:i+d/2};case he[x(1651)]:return{x:r+a/2,y:i+d};case he[x(1297)]:return{x:r,y:i+d/2}}}function ha(e,n){const t=c;return e&&(n?e[t(1825)](o=>o.id===n):e[0])||null}function ao(e,n){const t=c;return e?typeof e===t(810)?e:""+(n?n+"__":"")+Object[t(1210)](e)[t(232)]().map(x=>x+"="+e[x]).join("&"):""}function A5(e,{id:n,defaultColor:t,defaultMarkerStart:o,defaultMarkerEnd:x}){const r=c,i=new Set;return e[r(412)]((a,d)=>{const s=r;return[d[s(1710)]||o,d[s(1317)]||x].forEach(u=>{const f=s;if(u&&typeof u=="object"){const y=ao(u,n);!i[f(1264)](y)&&(a[f(1148)]({id:y,color:u[f(681)]||t,...u}),i[f(952)](y))}}),a},[]).sort((a,d)=>a.id[r(2009)](d.id))}const ga=1e3,E5=10,co={nodeOrigin:[0,0],nodeExtent:Rt,elevateNodesOnSelect:!0,zIndexMode:c(1608),defaults:{}},j5={...co,checkEquality:!0};function so(e,n){const t={...e};for(const o in n)n[o]!==void 0&&(t[o]=n[o]);return t}function Y5(e,n,t){const o=c,x=so(co,t);for(const r of e[o(839)]())if(r[o(1064)])fo(r,e,n,x);else{const i=Qt(r,x[o(831)]),a=bt(r[o(1947)])?r[o(1947)]:x[o(1162)],d=_n(i,a,In(r));r[o(1300)].positionAbsolute=d}}function U5(e,n){const t=c;if(!e.handles)return e.measured?n?.[t(1300)].handleBounds:void 0;const o=[],x=[];for(const r of e[t(226)]){const i={id:r.id,width:r.width??1,height:r[t(1129)]??1,nodeId:e.id,x:r.x,y:r.y,position:r.position,type:r[t(954)]};r[t(954)]===t(962)?o.push(i):r[t(954)]===t(1450)&&x[t(1148)](i)}return{source:o,target:x}}function lo(e){return e==="manual"}function uo(e,n,t,o={}){const x=c,r=so(j5,o),i={i:0},a=new Map(n),d=r?.[x(1500)]&&!lo(r[x(1883)])?ga:0;let s=e[x(658)]>0,u=!1;n[x(1478)](),t[x(1478)]();for(const f of e){let y=a[x(1735)](f.id);if(r.checkEquality&&f===y?.[x(1300)].userNode)n[x(1889)](f.id,y);else{const g=Qt(f,r[x(831)]),v=bt(f[x(1947)])?f[x(1947)]:r[x(1162)],h=_n(g,v,In(f));y={...r.defaults,...f,measured:{width:f[x(1629)]?.[x(1232)],height:f[x(1629)]?.[x(1129)]},internals:{positionAbsolute:h,handleBounds:U5(f,y),z:ya(f,d,r.zIndexMode),userNode:f}},n[x(1889)](f.id,y)}(y[x(1629)]===void 0||y[x(1629)][x(1232)]===void 0||y[x(1629)][x(1129)]===void 0)&&!y[x(569)]&&(s=!1),f[x(1064)]&&fo(y,n,t,o,i),u||=f[x(1734)]??!1}return{nodesInitialized:s,hasSelectedNodes:u}}function G5(e,n){const t=c;if(!e[t(1064)])return;const o=n[t(1735)](e.parentId);o?o[t(1889)](e.id,e):n[t(1889)](e.parentId,new Map([[e.id,e]]))}function fo(e,n,t,o,x){const r=c,{elevateNodesOnSelect:i,nodeOrigin:a,nodeExtent:d,zIndexMode:s}=so(co,o),u=e.parentId,f=n[r(1735)](u);if(!f){console[r(2054)](r(1501)+u+r(1004));return}G5(e,t),x&&!f[r(1064)]&&f[r(1300)][r(297)]===void 0&&s===r(1296)&&(f[r(1300)][r(297)]=++x.i,f[r(1300)].z=f[r(1300)].z+x.i*E5),x&&f[r(1300)].rootParentIndex!==void 0&&(x.i=f.internals[r(297)]);const y=i&&!lo(s)?ga:0,{x:g,y:v,z:h}=O5(e,f,a,d,y,s),{positionAbsolute:p}=e[r(1300)],M=g!==p.x||v!==p.y;(M||h!==e[r(1300)].z)&&n[r(1889)](e.id,{...e,internals:{...e[r(1300)],positionAbsolute:M?{x:g,y:v}:p,z:h}})}function ya(e,n,t){const o=c,x=hn(e[o(996)])?e.zIndex:0;return lo(t)?x:x+(e[o(1734)]?n:0)}function O5(e,n,t,o,x,r){const i=c,{x:a,y:d}=n[i(1300)][i(1918)],s=In(e),u=Qt(e,t),f=bt(e[i(1947)])?_n(u,e[i(1947)],s):u;let y=_n({x:a+f.x,y:d+f.y},o,s);e[i(1947)]===i(1732)&&(y=Xi(y,s,n));const g=ya(e,x,r),v=n[i(1300)].z??0;return{x:y.x,y:y.y,z:v>=g?v+1:g}}function ho(e,n,t,o=[0,0]){const x=c,r=[],i=new Map;for(const a of e){const d=n[x(1735)](a[x(1064)]);if(!d)continue;const s=i[x(1735)](a[x(1064)])?.expandedRect??wt(d),u=Ri(s,a[x(1794)]);i.set(a[x(1064)],{expandedRect:u,parent:d})}return i[x(1683)]>0&&i[x(1998)](({expandedRect:a,parent:d},s)=>{const u=x,f=d[u(1300)][u(1918)],y=In(d),g=d[u(854)]??o,v=a.x<f.x?Math[u(639)](Math[u(427)](f.x-a.x)):0,h=a.y<f.y?Math[u(639)](Math[u(427)](f.y-a.y)):0,p=Math[u(735)](y[u(1232)],Math[u(639)](a[u(1232)])),M=Math[u(735)](y.height,Math[u(639)](a[u(1129)])),w=(p-y[u(1232)])*g[0],m=(M-y.height)*g[1];(v>0||h>0||w||m)&&(r[u(1148)]({id:s,type:u(902),position:{x:d[u(902)].x-v+w,y:d[u(902)].y-h+m}}),t[u(1735)](s)?.forEach(b=>{const C=u;!e[C(1667)](I=>I.id===b.id)&&r[C(1148)]({id:b.id,type:C(902),position:{x:b[C(902)].x+v,y:b.position.y+h}})})),(y.width<a[u(1232)]||y[u(1129)]<a.height||v||h)&&r[u(1148)]({id:s,type:u(1662),setAttributes:!0,dimensions:{width:p+(v?g[0]*v-w:0),height:M+(h?g[1]*h-m:0)}})}),r}function H5(e,n,t,o,x,r,i){const a=c,d=o?.[a(1894)](a(1486));let s=!1;if(!d)return{changes:[],updatedInternals:s};const u=[],f=window[a(1368)](d),{m22:y}=new window[a(272)](f[a(1235)]),g=[];for(const v of e[a(839)]()){const h=n[a(1735)](v.id);if(!h)continue;if(h.hidden){n[a(1889)](h.id,{...h,internals:{...h.internals,handleBounds:void 0}}),s=!0;continue}const p=ro(v[a(343)]),M=h[a(1629)][a(1232)]!==p[a(1232)]||h[a(1629)][a(1129)]!==p.height;if(!!(p[a(1232)]&&p[a(1129)]&&(M||!h[a(1300)].handleBounds||v[a(847)]))){const m=v.nodeElement[a(1623)](),b=bt(h[a(1947)])?h[a(1947)]:r;let{positionAbsolute:C}=h[a(1300)];h[a(1064)]&&h[a(1947)]===a(1732)?C=Xi(C,p,n[a(1735)](h[a(1064)])):b&&(C=_n(C,b,p));const I={...h,measured:p,internals:{...h[a(1300)],positionAbsolute:C,handleBounds:{source:xa(a(962),v[a(343)],m,y,h.id),target:xa(a(1450),v.nodeElement,m,y,h.id)}}};n[a(1889)](h.id,I),h[a(1064)]&&fo(I,n,t,{nodeOrigin:x,zIndexMode:i}),s=!0,M&&(u[a(1148)]({id:h.id,type:a(1662),dimensions:p}),h[a(430)]&&h[a(1064)]&&g[a(1148)]({id:h.id,parentId:h.parentId,rect:wt(I,x)}))}}if(g[a(658)]>0){const v=ho(g,n,t,x);u[a(1148)](...v)}return{changes:u,updatedInternals:s}}async function T5({delta:e,panZoom:n,transform:t,translateExtent:o,width:x,height:r}){const i=c;if(!n||!e.x&&!e.y)return Promise.resolve(!1);const a=await n[i(1762)]({x:t[0]+e.x,y:t[1]+e.y,zoom:t[2]},[[0,0],[x,r]],o),d=!!a&&(a.x!==t[0]||a.y!==t[1]||a.k!==t[2]);return Promise[i(369)](d)}function ma(e,n,t,o,x,r){const i=c;let a=x;const d=o[i(1735)](a)||new Map;o[i(1889)](a,d[i(1889)](t,n)),a=x+"-"+e;const s=o[i(1735)](a)||new Map;if(o[i(1889)](a,s[i(1889)](t,n)),r){a=x+"-"+e+"-"+r;const u=o[i(1735)](a)||new Map;o[i(1889)](a,u.set(t,n))}}function wa(e,n,t){const o=c;e[o(1478)](),n.clear();for(const x of t){const{source:r,target:i,sourceHandle:a=null,targetHandle:d=null}=x,s={edgeId:x.id,source:r,target:i,sourceHandle:a,targetHandle:d},u=r+"-"+a+"--"+i+"-"+d,f=i+"-"+d+"--"+r+"-"+a;ma("source",s,f,e,r,a),ma(o(1450),s,u,e,i,d),n[o(1889)](x.id,x)}}function va(e,n){const t=c;if(!e[t(1064)])return!1;const o=n[t(1735)](e[t(1064)]);return o?o[t(1734)]?!0:va(o,n):!1}function ba(e,n,t){const o=c;let x=e;do{if(x?.[o(1740)]?.(n))return!0;if(x===t)return!1;x=x?.parentElement}while(x);return!1}function V5(e,n,t,o){const x=c,r=new Map;for(const[i,a]of e)if((a[x(1734)]||a.id===o)&&(!a[x(1064)]||!va(a,e))&&(a.draggable||n&&typeof a.draggable===x(439))){const d=e.get(i);d&&r[x(1889)](i,{id:i,position:d[x(902)]||{x:0,y:0},distance:{x:t.x-d[x(1300)][x(1918)].x,y:t.y-d.internals[x(1918)].y},extent:d[x(1947)],parentId:d[x(1064)],origin:d.origin,expandParent:d[x(430)],internals:{positionAbsolute:d[x(1300)][x(1918)]||{x:0,y:0}},measured:{width:d[x(1629)][x(1232)]??0,height:d.measured[x(1129)]??0}})}return r}function go({nodeId:e,dragItems:n,nodeLookup:t,dragging:o=!0}){const x=c,r=[];for(const[a,d]of n){const s=t[x(1735)](a)?.[x(1300)][x(750)];s&&r[x(1148)]({...s,position:d[x(902)],dragging:o})}if(!e)return[r[0],r];const i=t[x(1735)](e)?.internals.userNode;return[i?{...i,position:n[x(1735)](e)?.[x(902)]||i[x(902)],dragging:o}:r[0],r]}function W5({dragItems:e,snapGrid:n,x:t,y:o}){const x=c,r=e[x(839)]().next()[x(1834)];if(!r)return null;const i={x:t-r[x(779)].x,y:o-r[x(779)].y},a=$t(i,n);return{x:a.x-i.x,y:a.y-i.y}}function q5({onNodeMouseDown:e,getStoreItems:n,onDragStart:t,onDrag:o,onDragStop:x}){let r={x:null,y:null},i=0,a=new Map,d=!1,s={x:0,y:0},u=null,f=!1,y=null,g=!1,v=!1,h=null;function p({noDragClassName:w,handleSelector:m,domNode:b,isSelectable:C,nodeId:I,nodeClickDistance:U=0}){const H=_0x5528;y=en(b);function V({x:X,y:G}){const L=_0x5528,{nodeLookup:B,nodeExtent:S,snapGrid:E,snapToGrid:P,nodeOrigin:k,onNodeDrag:K,onSelectionDrag:_,onError:R,updateNodePositions:$}=n();r={x:X,y:G};let xe=!1;const ae=a[L(1683)]>1,de=ae&&S?xo(Ft(a)):null,ue=ae&&P?W5({dragItems:a,snapGrid:E,x:X,y:G}):null;for(const[re,Q]of a){if(!B[L(1264)](re))continue;let ie={x:X-Q.distance.x,y:G-Q[L(779)].y};P&&(ie=ue?{x:Math.round(ie.x+ue.x),y:Math.round(ie.y+ue.y)}:$t(ie,E));let F=null;if(ae&&S&&!Q[L(1947)]&&de){const{positionAbsolute:Z}=Q[L(1300)],O=Z.x-de.x+S[0][0],oe=Z.x+Q[L(1629)].width-de.x2+S[1][0],le=Z.y-de.y+S[0][1],se=Z.y+Q[L(1629)].height-de.y2+S[1][1];F=[[O,le],[oe,se]]}const{position:N,positionAbsolute:j}=qi({nodeId:re,nextPosition:ie,nodeLookup:B,nodeExtent:F||S,nodeOrigin:k,onError:R});xe=xe||Q[L(902)].x!==N.x||Q.position.y!==N.y,Q[L(902)]=N,Q[L(1300)].positionAbsolute=j}if(v=v||xe,!!xe&&($(a,!0),h&&(o||K||!I&&_))){const[re,Q]=go({nodeId:I,dragItems:a,nodeLookup:B});o?.(h,a,re,Q),K?.(h,re,Q),!I&&_?.(h,Q)}}async function A(){if(!u)return;const{transform:X,panBy:G,autoPanSpeed:L,autoPanOnNodeDrag:B}=n();if(!B){d=!1,cancelAnimationFrame(i);return}const[S,E]=Ki(s,u,L);(S!==0||E!==0)&&(r.x=(r.x??0)-S/X[2],r.y=(r.y??0)-E/X[2],await G({x:S,y:E})&&V(r)),i=requestAnimationFrame(A)}function W(X){const G=_0x5528,{nodeLookup:L,multiSelectionActive:B,nodesDraggable:S,transform:E,snapGrid:P,snapToGrid:k,selectNodesOnDrag:K,onNodeDragStart:_,onSelectionDragStart:R,unselectNodesAndEdges:$}=n();f=!0,(!K||!C)&&!B&&I&&!L[G(1735)](I)?.selected&&$(),C&&K&&I&&e?.(I);const xe=t0(X[G(815)],{transform:E,snapGrid:P,snapToGrid:k,containerBounds:u});if(r=xe,a=V5(L,S,xe,I),a[G(1683)]>0&&(t||_||!I&&R)){const[ae,de]=go({nodeId:I,dragItems:a,nodeLookup:L});t?.(X[G(815)],a,ae,de),_?.(X[G(815)],ae,de),!I&&R?.(X[G(815)],de)}}const T=ai()[H(1229)](U).on(H(1541),X=>{const G=H,{domNode:L,nodeDragThreshold:B,transform:S,snapGrid:E,snapToGrid:P}=n();u=L?.[G(1623)]()||null,g=!1,v=!1,h=X[G(815)],B===0&&W(X),r=t0(X[G(815)],{transform:S,snapGrid:E,snapToGrid:P,containerBounds:u}),s=gn(X[G(815)],u)}).on(H(481),X=>{const G=H,{autoPanOnNodeDrag:L,transform:B,snapGrid:S,snapToGrid:E,nodeDragThreshold:P,nodeLookup:k}=n(),K=t0(X[G(815)],{transform:B,snapGrid:S,snapToGrid:E,containerBounds:u});if(h=X[G(815)],(X.sourceEvent[G(954)]===G(730)&&X[G(815)].touches.length>1||I&&!k[G(1264)](I))&&(g=!0),!g){if(!d&&L&&f&&(d=!0,A()),!f){const _=gn(X[G(815)],u),R=_.x-s.x,$=_.y-s.y;Math[G(692)](R*R+$*$)>P&&W(X)}(r.x!==K[G(1337)]||r.y!==K[G(1473)])&&a&&f&&(s=gn(X.sourceEvent,u),V(K))}}).on(H(785),X=>{const G=H;if(!(!f||g)&&(d=!1,f=!1,cancelAnimationFrame(i),a[G(1683)]>0)){const{nodeLookup:L,updateNodePositions:B,onNodeDragStop:S,onSelectionDragStop:E}=n();if(v&&(B(a,!1),v=!1),x||S||!I&&E){const[P,k]=go({nodeId:I,dragItems:a,nodeLookup:L,dragging:!1});x?.(X[G(815)],a,P,k),S?.(X[G(815)],P,k),!I&&E?.(X.sourceEvent,k)}}})[H(1874)](X=>{const G=X.target;return!X.button&&(!w||!ba(G,"."+w,b))&&(!m||ba(G,m,b))});y[H(1164)](T)}function M(){y?.on(".drag",null)}return{update:p,destroy:M}}function X5(e,n,t){const o=c,x=[],r={x:e.x-t,y:e.y-t,width:t*2,height:t*2};for(const i of n[o(839)]())_t(r,wt(i))>0&&x[o(1148)](i);return x}const Z5=250;function K5(e,n,t,o){const x=c;let r=[],i=1/0;const a=X5(e,t,n+Z5);for(const d of a){const s=[...d.internals[x(1167)]?.[x(962)]??[],...d[x(1300)][x(1167)]?.target??[]];for(const u of s){if(o.nodeId===u.nodeId&&o[x(954)]===u[x(954)]&&o.id===u.id)continue;const{x:f,y}=$n(d,u,u[x(902)],!0),g=Math.sqrt(Math[x(541)](f-e.x,2)+Math[x(541)](y-e.y,2));g>n||(g<i?(r=[{...u,x:f,y}],i=g):g===i&&r[x(1148)]({...u,x:f,y}))}}if(!r[x(658)])return null;if(r[x(658)]>1){const d=o[x(954)]===x(962)?x(1450):x(962);return r.find(s=>s.type===d)??r[0]}return r[0]}function pa(e,n,t,o,x,r=!1){const i=c,a=o[i(1735)](e);if(!a)return null;const d=x===i(209)?a.internals[i(1167)]?.[n]:[...a.internals[i(1167)]?.[i(962)]??[],...a[i(1300)][i(1167)]?.[i(1450)]??[]],s=(t?d?.find(u=>u.id===t):d?.[0])??null;return s&&r?{...s,...$n(a,s,s.position,!0)}:s}function za(e,n){const t=c;return e||(n?.classList[t(342)](t(1450))?t(1450):n?.[t(1054)][t(342)](t(962))?t(962):null)}function R5(e,n){let t=null;return n?t=!0:e&&!n&&(t=!1),t}const Ca=()=>!0;function J5(e,{connectionMode:n,connectionRadius:t,handleId:o,nodeId:x,edgeUpdaterType:r,isTarget:i,domNode:a,nodeLookup:d,lib:s,autoPanOnConnect:u,flowId:f,panBy:y,cancelConnection:g,onConnectStart:v,onConnect:h,onConnectEnd:p,isValidConnection:M=Ca,onReconnectEnd:w,updateConnection:m,getTransform:b,getFromHandle:C,autoPanSpeed:I,dragThreshold:U=1,handleDomNode:H}){const V=c,A=ea(e[V(1450)]);let W=0,T;const{x:X,y:G}=gn(e),L=za(r,H),B=a?.[V(1623)]();let S=!1;if(!B||!L)return;const E=pa(x,L,o,d,n);if(!E)return;let P=gn(e,B),k=!1,K=null,_=!1,R=null;function $(){if(!u||!B)return;const[F,N]=Ki(P,B,I);y({x:F,y:N}),W=requestAnimationFrame($)}const xe={...E,nodeId:x,type:L,position:E[V(902)]},ae=d.get(x);let ue={inProgress:!0,isValid:null,from:$n(ae,xe,he[V(1297)],!0),fromHandle:xe,fromPosition:xe[V(902)],fromNode:ae,to:P,toHandle:null,toPosition:Ti[xe.position],toNode:null,pointer:P};function re(){S=!0,m(ue),v?.(e,{nodeId:x,handleId:o,handleType:L})}U===0&&re();function Q(F){const N=V;if(!S){const{x:se,y:ge}=gn(F),ve=se-X,Se=ge-G;if(!(ve*ve+Se*Se>U*U))return;re()}if(!C()||!xe){ie(F);return}const j=b();P=gn(F,B),T=K5(e0(P,j,!1,[1,1]),t,d,xe),!k&&($(),k=!0);const Z=Ma(F,{handle:T,connectionMode:n,fromNodeId:x,fromHandleId:o,fromType:N(i?1450:962),isValidConnection:M,doc:A,lib:s,flowId:f,nodeLookup:d});R=Z[N(1870)],K=Z[N(417)],_=R5(!!T,Z[N(1857)]);const O=d.get(x),oe=O?$n(O,xe,he.Left,!0):ue.from,le={...ue,from:oe,isValid:_,to:Z[N(963)]&&_?K0({x:Z.toHandle.x,y:Z.toHandle.y},j):P,toHandle:Z[N(963)],toPosition:_&&Z[N(963)]?Z[N(963)][N(902)]:Ti[xe[N(902)]],toNode:Z.toHandle?d[N(1735)](Z[N(963)].nodeId):null,pointer:P};m(le),ue=le}function ie(F){const N=V;if(!(N(548)in F&&F[N(548)][N(658)]>0)){if(S){(T||R)&&K&&_&&h?.(K);const{inProgress:j,...Z}=ue,O={...Z,toPosition:ue.toHandle?ue[N(1432)]:null};p?.(F,O),r&&w?.(F,O)}g(),cancelAnimationFrame(W),k=!1,_=!1,K=null,R=null,A[N(864)](N(1967),Q),A[N(864)](N(1070),ie),A.removeEventListener(N(730),Q),A[N(864)](N(1768),ie)}}A[V(1976)](V(1967),Q),A[V(1976)]("mouseup",ie),A[V(1976)](V(730),Q),A[V(1976)]("touchend",ie)}function Ma(e,{handle:n,connectionMode:t,fromNodeId:o,fromHandleId:x,fromType:r,doc:i,lib:a,flowId:d,isValidConnection:s=Ca,nodeLookup:u}){const f=c,y=r==="target",g=n?i[f(1894)]("."+a+f(693)+d+"-"+n?.nodeId+"-"+n?.id+"-"+n?.[f(954)]+'"]'):null,{x:v,y:h}=gn(e),p=i.elementFromPoint(v,h),M=p?.[f(1054)].contains(a+f(424))?p:g,w={handleDomNode:M,isValid:!1,connection:null,toHandle:null};if(M){const m=za(void 0,M),b=M[f(964)](f(551)),C=M[f(964)]("data-handleid"),I=M[f(1054)][f(342)](f(1780)),U=M.classList[f(342)]("connectableend");if(!b||!m)return w;const H={source:y?b:o,sourceHandle:y?C:x,target:y?o:b,targetHandle:y?x:C};w.connection=H;const V=I&&U,A=V&&(t===yt[f(484)]?y&&m==="source"||!y&&m===f(1450):b!==o||C!==x);w[f(1857)]=A&&s(H),w[f(963)]=pa(b,m,C,u,t,!0)}return w}const yo={onPointerDown:J5,isValid:Ma};function Q5({domNode:e,panZoom:n,getTransform:t,getViewScale:o}){const x=en(e);function r({translateExtent:a,width:d,height:s,zoomStep:u=1,pannable:f=!0,zoomable:y=!0,inversePan:g=!1}){const v=_0x5528,h=b=>{const C=_0x5528;if(b[C(815)][C(954)]!==C(250)||!n)return;const I=t(),U=b[C(815)][C(1533)]&&n0()?10:1,H=-b[C(815)][C(1809)]*(b[C(815)][C(1279)]===1?.05:b[C(815)][C(1279)]?1:.002)*u,V=I[2]*Math[C(541)](2,H*U);n[C(509)](V)};let p=[0,0];const M=b=>{const C=_0x5528;(b[C(815)].type===C(539)||b[C(815)].type===C(1175))&&(p=[b.sourceEvent[C(428)]??b[C(815)][C(548)][0][C(428)],b.sourceEvent[C(597)]??b[C(815)][C(548)][0][C(597)]])},w=b=>{const C=_0x5528,I=t();if(b.sourceEvent[C(954)]!==C(1967)&&b[C(815)].type!==C(730)||!n)return;const U=[b[C(815)][C(428)]??b.sourceEvent[C(548)][0][C(428)],b[C(815)][C(597)]??b[C(815)].touches[0][C(597)]],H=[U[0]-p[0],U[1]-p[1]];p=U;const V=o()*Math[C(735)](I[2],Math[C(1737)](I[2]))*(g?-1:1),A={x:I[0]-H[0]*V,y:I[1]-H[1]*V},W=[[0,0],[d,s]];n.setViewportConstrained({x:A.x,y:A.y,zoom:I[2]},W,a)},m=Ui().on(v(1541),M).on(v(915),f?w:null).on(v(1010),y?h:null);x[v(1164)](m,{})}function i(){const a=_0x5528;x.on(a(915),null)}return{update:r,destroy:i,pointer:dn}}const J0=e=>({x:e.x,y:e.y,zoom:e.k}),mo=({x:e,y:n,zoom:t})=>V0[c(802)](e,n)[c(1652)](t),pt=(e,n)=>e[c(1450)][c(1262)]("."+n),Ba=(e,n)=>n===2&&Array[c(293)](e)&&e[c(1402)](2),F5=e=>((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2,wo=(e,n=0,t=F5,o=()=>{})=>{const x=c,r=typeof n=="number"&&n>0;return!r&&o(),r?e.transition().duration(n)[x(1561)](t).on(x(785),o):e},Da=e=>{const n=c,t=e.ctrlKey&&n0()?10:1;return-e[n(1809)]*(e[n(1279)]===1?.05:e[n(1279)]?1:.002)*t};function _5({zoomPanValues:e,noWheelClassName:n,d3Selection:t,d3Zoom:o,panOnScrollMode:x,panOnScrollSpeed:r,zoomOnPinch:i,onPanZoomStart:a,onPanZoom:d,onPanZoomEnd:s}){return u=>{const f=_0x5528;if(pt(u,n))return u[f(1533)]&&u.preventDefault(),!1;u.preventDefault(),u[f(615)]();const y=t[f(1609)]("__zoom").k||1;if(u[f(1533)]&&i){const M=dn(u),w=Da(u),m=y*Math[f(541)](2,w);o.scaleTo(t,m,M,u);return}const g=u.deltaMode===1?20:1;let v=x===Fn[f(914)]?0:u[f(857)]*g,h=x===Fn[f(332)]?0:u[f(1809)]*g;!n0()&&u.shiftKey&&x!==Fn[f(914)]&&(v=u.deltaY*g,h=0),o[f(932)](t,-(v/y)*r,-(h/y)*r,{internal:!0});const p=J0(t[f(1609)]("__zoom"));clearTimeout(e.panScrollTimeout),e.isPanScrolling?(d?.(u,p),e[f(1038)]=setTimeout(()=>{const M=f;s?.(u,p),e[M(1078)]=!1},150)):(e[f(1078)]=!0,a?.(u,p))}}function $5({noWheelClassName:e,preventScrolling:n,d3ZoomHandler:t}){return function(o,x){const r=_0x5528,i=o[r(954)]===r(250),a=!n&&i&&!o[r(1533)],d=pt(o,e);if(o[r(1533)]&&i&&d&&o[r(1477)](),a||d)return null;o.preventDefault(),t[r(1164)](this,o,x)}}function e2({zoomPanValues:e,onDraggingChange:n,onPanZoomStart:t}){return o=>{const x=_0x5528;if(o[x(815)]?.[x(712)])return;const r=J0(o[x(1235)]);e[x(715)]=o[x(815)]?.[x(1020)]||0,e.isZoomingOrPanning=!0,e[x(380)]=r,o[x(815)]?.[x(954)]===x(539)&&n(!0),t&&t?.(o[x(815)],r)}}function n2({zoomPanValues:e,panOnDrag:n,onPaneContextMenu:t,onTransformChange:o,onPanZoom:x}){return r=>{const i=_0x5528;e[i(1328)]=!!(t&&Ba(n,e[i(715)]??0)),!r[i(815)]?.[i(1787)]&&o([r.transform.x,r.transform.y,r[i(1235)].k]),x&&!r.sourceEvent?.[i(712)]&&x?.(r[i(815)],J0(r[i(1235)]))}}function t2({zoomPanValues:e,panOnDrag:n,panOnScroll:t,onDraggingChange:o,onPanZoomEnd:x,onPaneContextMenu:r}){return i=>{const a=_0x5528;if(!i.sourceEvent?.[a(712)]&&(e.isZoomingOrPanning=!1,r&&Ba(n,e.mouseButton??0)&&!e[a(1328)]&&i.sourceEvent&&r(i.sourceEvent),e[a(1328)]=!1,o(!1),x)){const d=J0(i.transform);e[a(380)]=d,clearTimeout(e[a(1941)]),e[a(1941)]=setTimeout(()=>{x?.(i[a(815)],d)},t?150:0)}}}function x2({zoomActivationKeyPressed:e,zoomOnScroll:n,zoomOnPinch:t,panOnDrag:o,panOnScroll:x,zoomOnDoubleClick:r,userSelectionActive:i,noWheelClassName:a,noPanClassName:d,lib:s,connectionInProgress:u}){return f=>{const y=_0x5528,g=e||n,v=t&&f[y(1533)],h=f.type===y(250);if(f[y(1020)]===1&&f[y(954)]==="mousedown"&&(pt(f,s+"-flow__node")||pt(f,s+y(887))))return!0;if(!o&&!g&&!x&&!r&&!t||i||u&&!h||pt(f,a)&&h||pt(f,d)&&(!h||x&&h&&!e)||!t&&f[y(1533)]&&h)return!1;if(!t&&f[y(954)]===y(1175)&&f.touches?.[y(658)]>1)return f.preventDefault(),!1;if(!g&&!x&&!v&&h||!o&&(f[y(954)]==="mousedown"||f.type===y(1175))||Array[y(293)](o)&&!o.includes(f[y(1020)])&&f.type==="mousedown")return!1;const p=Array[y(293)](o)&&o[y(1402)](f[y(1020)])||!f[y(1020)]||f[y(1020)]<=1;return(!f[y(1533)]||h)&&p}}function o2({domNode:e,minZoom:n,maxZoom:t,translateExtent:o,viewport:x,onPanZoom:r,onPanZoomStart:i,onPanZoomEnd:a,onDraggingChange:d}){const s=c,u={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},f=e[s(1623)](),y=Ui()[s(441)]([n,t])[s(434)](o),g=en(e)[s(1164)](y);m({x:x.x,y:x.y,zoom:mt(x[s(915)],n,t)},[[0,0],[f[s(1232)],f[s(1129)]]],o);const v=g.on(s(792)),h=g.on(s(1310));y[s(1631)](Da);function p(T,X){return g?new Promise(G=>{const L=_0x5528;y?.interpolate(X?.[L(878)]===L(1441)?Vt:P0)[L(1235)](wo(g,X?.duration,X?.[L(1561)],()=>G(!0)),T)}):Promise.resolve(!1)}function M({noWheelClassName:T,noPanClassName:X,onPaneContextMenu:G,userSelectionActive:L,panOnScroll:B,panOnDrag:S,panOnScrollMode:E,panOnScrollSpeed:P,preventScrolling:k,zoomOnPinch:K,zoomOnScroll:_,zoomOnDoubleClick:R,zoomActivationKeyPressed:$,lib:xe,onTransformChange:ae,connectionInProgress:de,paneClickDistance:ue,selectionOnDrag:re}){const Q=s;L&&!u[Q(1104)]&&w();const ie=B&&!$&&!L;y[Q(1229)](re?1/0:!hn(ue)||ue<0?0:ue);const F=ie?_5({zoomPanValues:u,noWheelClassName:T,d3Selection:g,d3Zoom:y,panOnScrollMode:E,panOnScrollSpeed:P,zoomOnPinch:K,onPanZoomStart:i,onPanZoom:r,onPanZoomEnd:a}):$5({noWheelClassName:T,preventScrolling:k,d3ZoomHandler:v});if(g.on("wheel.zoom",F,{passive:!1}),!L){const j=e2({zoomPanValues:u,onDraggingChange:d,onPanZoomStart:i});y.on("start",j);const Z=n2({zoomPanValues:u,panOnDrag:S,onPaneContextMenu:!!G,onPanZoom:r,onTransformChange:ae});y.on("zoom",Z);const O=t2({zoomPanValues:u,panOnDrag:S,panOnScroll:B,onPaneContextMenu:G,onPanZoomEnd:a,onDraggingChange:d});y.on("end",O)}const N=x2({zoomActivationKeyPressed:$,panOnDrag:S,zoomOnScroll:_,panOnScroll:B,zoomOnDoubleClick:R,zoomOnPinch:K,userSelectionActive:L,noPanClassName:X,noWheelClassName:T,lib:xe,connectionInProgress:de});y[Q(1874)](N),R?g.on(Q(1310),h):g.on(Q(1310),null)}function w(){y.on("zoom",null)}async function m(T,X,G){const L=s,B=mo(T),S=y?.[L(393)]()(B,X,G);return S&&await p(S),new Promise(E=>E(S))}async function b(T,X){const G=mo(T);return await p(G,X),new Promise(L=>L(G))}function C(T){const X=s;if(g){const G=mo(T),L=g.property(X(337));(L.k!==T[X(915)]||L.x!==T.x||L.y!==T.y)&&y?.[X(1235)](g,G,null,{sync:!0})}}function I(){const T=g?ji(g.node()):{x:0,y:0,k:1};return{x:T.x,y:T.y,zoom:T.k}}function U(T,X){const G=s;return g?new Promise(L=>{const B=_0x5528;y?.[B(878)](X?.[B(878)]===B(1441)?Vt:P0)[B(509)](wo(g,X?.[B(379)],X?.[B(1561)],()=>L(!0)),T)}):Promise[G(369)](!1)}function H(T,X){const G=s;return g?new Promise(L=>{const B=_0x5528;y?.[B(878)](X?.[B(878)]===B(1441)?Vt:P0)[B(1224)](wo(g,X?.[B(379)],X?.[B(1561)],()=>L(!0)),T)}):Promise[G(369)](!1)}function V(T){y?.[s(441)](T)}function A(T){y?.translateExtent(T)}function W(T){const X=s,G=!hn(T)||T<0?0:T;y?.[X(1229)](G)}return{update:M,destroy:w,setViewport:b,setViewportConstrained:m,getViewport:I,scaleTo:U,scaleBy:H,setScaleExtent:V,setTranslateExtent:A,syncViewport:C,setClickDistance:W}}var zt;(function(e){const n=c;e.Line=n(352),e[n(1463)]=n(945)})(zt||(zt={}));function r2({width:e,prevWidth:n,height:t,prevHeight:o,affectsX:x,affectsY:r}){const i=e-n,a=t-o,d=[i>0?1:i<0?-1:0,a>0?1:a<0?-1:0];return i&&x&&(d[0]=d[0]*-1),a&&r&&(d[1]=d[1]*-1),d}function La(e){const n=c,t=e[n(1402)]("right")||e[n(1402)](n(1921)),o=e[n(1402)](n(308))||e[n(1402)](n(1276)),x=e.includes(n(1921)),r=e[n(1402)](n(1276));return{isHorizontal:t,isVertical:o,affectsX:x,affectsY:r}}function Yn(e,n){return Math.max(0,n-e)}function Un(e,n){return Math.max(0,e-n)}function Q0(e,n,t){return Math.max(0,n-e,e-t)}function Sa(e,n){return e?!n:n}function i2(e,n,t,o,x,r,i,a){const d=c;let{affectsX:s,affectsY:u}=n;const{isHorizontal:f,isVertical:y}=n,g=f&&y,{xSnapped:v,ySnapped:h}=t,{minWidth:p,maxWidth:M,minHeight:w,maxHeight:m}=o,{x:b,y:C,width:I,height:U,aspectRatio:H}=e;let V=Math.floor(f?v-e.pointerX:0),A=Math[d(1188)](y?h-e[d(806)]:0);const W=I+(s?-V:V),T=U+(u?-A:A),X=-r[0]*I,G=-r[1]*U;let L=Q0(W,p,M),B=Q0(T,w,m);if(i){let P=0,k=0;s&&V<0?P=Yn(b+V+X,i[0][0]):!s&&V>0&&(P=Un(b+W+X,i[1][0])),u&&A<0?k=Yn(C+A+G,i[0][1]):!u&&A>0&&(k=Un(C+T+G,i[1][1])),L=Math[d(735)](L,P),B=Math[d(735)](B,k)}if(a){let P=0,k=0;s&&V>0?P=Un(b+V,a[0][0]):!s&&V<0&&(P=Yn(b+W,a[1][0])),u&&A>0?k=Un(C+A,a[0][1]):!u&&A<0&&(k=Yn(C+T,a[1][1])),L=Math[d(735)](L,P),B=Math[d(735)](B,k)}if(x){if(f){const P=Q0(W/H,w,m)*H;if(L=Math[d(735)](L,P),i){let k=0;!s&&!u||s&&!u&&g?k=Un(C+G+W/H,i[1][1])*H:k=Yn(C+G+(s?V:-V)/H,i[0][1])*H,L=Math[d(735)](L,k)}if(a){let k=0;!s&&!u||s&&!u&&g?k=Yn(C+W/H,a[1][1])*H:k=Un(C+(s?V:-V)/H,a[0][1])*H,L=Math[d(735)](L,k)}}if(y){const P=Q0(T*H,p,M)/H;if(B=Math[d(735)](B,P),i){let k=0;!s&&!u||u&&!s&&g?k=Un(b+T*H+X,i[1][0])/H:k=Yn(b+(u?A:-A)*H+X,i[0][0])/H,B=Math.max(B,k)}if(a){let k=0;!s&&!u||u&&!s&&g?k=Yn(b+T*H,a[1][0])/H:k=Un(b+(u?A:-A)*H,a[0][0])/H,B=Math[d(735)](B,k)}}}A=A+(A<0?B:-B),V=V+(V<0?L:-L),x&&(g?W>T*H?A=(Sa(s,u)?-V:V)/H:V=(Sa(s,u)?-A:A)*H:f?(A=V/H,u=s):(V=A*H,s=u));const S=s?b+V:b,E=u?C+A:C;return{width:I+(s?-V:V),height:U+(u?-A:A),x:r[0]*V*(s?-1:1)+S,y:r[1]*A*(u?-1:1)+E}}const Na={width:0,height:0,x:0,y:0},a2={...Na,pointerX:0,pointerY:0,aspectRatio:1};function c2(e){const n=c;return[[0,0],[e[n(1629)][n(1232)],e[n(1629)][n(1129)]]]}function s2(e,n,t){const o=c,x=n[o(902)].x+e.position.x,r=n[o(902)].y+e[o(902)].y,i=e[o(1629)][o(1232)]??0,a=e[o(1629)].height??0,d=t[0]*i,s=t[1]*a;return[[x-d,r-s],[x+i-d,r+a-s]]}function l2({domNode:e,nodeId:n,getStoreItems:t,onChange:o,onEnd:x}){const r=c,i=en(e);let a={controlDirection:La(r(1089)),boundaries:{minWidth:0,minHeight:0,maxWidth:Number[r(2017)],maxHeight:Number[r(2017)]},resizeDirection:void 0,keepAspectRatio:!1};function d({controlPosition:u,boundaries:f,keepAspectRatio:y,resizeDirection:g,onResizeStart:v,onResize:h,onResizeEnd:p,shouldResize:M}){const w=r;let m={...Na},b={...a2};a={boundaries:f,resizeDirection:g,keepAspectRatio:y,controlDirection:La(u)};let C,I=null,U=[],H,V,A,W=!1;const T=ai().on("start",X=>{const G=_0x5528,{nodeLookup:L,transform:B,snapGrid:S,snapToGrid:E,nodeOrigin:P,paneDomNode:k}=t();if(C=L[G(1735)](n),!C)return;I=k?.[G(1623)]()??null;const{xSnapped:K,ySnapped:_}=t0(X[G(815)],{transform:B,snapGrid:S,snapToGrid:E,containerBounds:I});m={width:C[G(1629)].width??0,height:C.measured[G(1129)]??0,x:C[G(902)].x??0,y:C.position.y??0},b={...m,pointerX:K,pointerY:_,aspectRatio:m[G(1232)]/m.height},H=void 0,C.parentId&&(C[G(1947)]===G(1732)||C[G(430)])&&(H=L[G(1735)](C[G(1064)]),V=H&&C[G(1947)]===G(1732)?c2(H):void 0),U=[],A=void 0;for(const[R,$]of L)if($[G(1064)]===n&&(U[G(1148)]({id:R,position:{...$[G(902)]},extent:$[G(1947)]}),$[G(1947)]==="parent"||$[G(430)])){const xe=s2($,C,$.origin??P);A?A=[[Math[G(719)](xe[0][0],A[0][0]),Math[G(719)](xe[0][1],A[0][1])],[Math[G(735)](xe[1][0],A[1][0]),Math.max(xe[1][1],A[1][1])]]:A=xe}v?.(X,{...m})}).on(w(481),X=>{const G=w,{transform:L,snapGrid:B,snapToGrid:S,nodeOrigin:E}=t(),P=t0(X.sourceEvent,{transform:L,snapGrid:B,snapToGrid:S,containerBounds:I}),k=[];if(!C)return;const{x:K,y:_,width:R,height:$}=m,xe={},ae=C[G(854)]??E,{width:de,height:ue,x:re,y:Q}=i2(b,a[G(1482)],P,a[G(1547)],a[G(881)],ae,V,A),ie=de!==R,F=ue!==$,N=re!==K&&ie,j=Q!==_&&F;if(!N&&!j&&!ie&&!F)return;if((N||j||ae[0]===1||ae[1]===1)&&(xe.x=N?re:m.x,xe.y=j?Q:m.y,m.x=xe.x,m.y=xe.y,U[G(658)]>0)){const le=re-K,se=Q-_;for(const ge of U)ge[G(902)]={x:ge[G(902)].x-le+ae[0]*(de-R),y:ge[G(902)].y-se+ae[1]*(ue-$)},k.push(ge)}if((ie||F)&&(xe[G(1232)]=ie&&(!a[G(1462)]||a[G(1462)]===G(598))?de:m[G(1232)],xe[G(1129)]=F&&(!a[G(1462)]||a[G(1462)]==="vertical")?ue:m[G(1129)],m[G(1232)]=xe[G(1232)],m[G(1129)]=xe[G(1129)]),H&&C[G(430)]){const le=ae[0]*(xe.width??0);xe.x&&xe.x<le&&(m.x=le,b.x=b.x-(xe.x-le));const se=ae[1]*(xe.height??0);xe.y&&xe.y<se&&(m.y=se,b.y=b.y-(xe.y-se))}const Z=r2({width:m[G(1232)],prevWidth:R,height:m[G(1129)],prevHeight:$,affectsX:a[G(1482)][G(1049)],affectsY:a[G(1482)][G(501)]}),O={...m,direction:Z};M?.(X,O)!==!1&&(W=!0,h?.(X,O),o(xe,k))}).on(w(785),X=>{W&&(p?.(X,{...m}),x?.({...m}),W=!1)});i[w(1164)](T)}function s(){i.on(".drag",null)}return{update:d,destroy:s}}var F0={exports:{}},vo={},_0={exports:{}},bo={},ka;function d2(){const e=c;if(ka)return bo;ka=1;var n=D;function t(y,g){return y===g&&(y!==0||1/y===1/g)||y!==y&&g!==g}var o=e(790)===typeof Object.is?Object.is:t,x=n.useState,r=n[e(532)],i=n[e(1725)],a=n.useDebugValue;function d(y,g){const v=e;var h=g(),p=x({inst:{value:h,getSnapshot:g}}),M=p[0][v(737)],w=p[1];return i(function(){const m=v;M.value=h,M[m(965)]=g,s(M)&&w({inst:M})},[y,h,g]),r(function(){return s(M)&&w({inst:M}),y(function(){s(M)&&w({inst:M})})},[y]),a(h),h}function s(y){const g=e;var v=y.getSnapshot;y=y[g(1834)];try{var h=v();return!o(y,h)}catch{return!0}}function u(y,g){return g()}var f=e(439)===typeof window||typeof window[e(1686)]>"u"||e(439)===typeof window[e(1686)].createElement?u:d;return bo[e(1179)]=n.useSyncExternalStore!==void 0?n[e(1179)]:f,bo}var po={},Ia;function u2(){return Ia||(Ia=1,process.env.NODE_ENV!=="production"&&(function(){const e=_0x5528;function n(v,h){return v===h&&(v!==0||1/v===1/h)||v!==v&&h!==h}function t(v,h){const p=_0x5528;f||r[p(620)]===void 0||(f=!0,console[p(360)](p(1700)));var M=h();if(!y){var w=h();i(M,w)||(console[p(360)](p(1393)),y=!0)}w=a({inst:{value:M,getSnapshot:h}});var m=w[0].inst,b=w[1];return s(function(){const C=p;m[C(1834)]=M,m[C(965)]=h,o(m)&&b({inst:m})},[v,M,h]),d(function(){return o(m)&&b({inst:m}),v(function(){o(m)&&b({inst:m})})},[v]),u(M),M}function o(v){var p=v[_0x5528(965)];v=v.value;try{var M=p();return!i(v,M)}catch{return!0}}function x(v,h){return h()}e(439)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&e(790)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[e(1715)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var r=D,i=typeof Object.is=="function"?Object.is:n,a=r[e(884)],d=r[e(532)],s=r.useLayoutEffect,u=r[e(456)],f=!1,y=!1,g=typeof window>"u"||e(439)===typeof window.document||e(439)===typeof window.document[e(828)]?x:t;po.useSyncExternalStore=r[e(1179)]!==void 0?r.useSyncExternalStore:g,e(439)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&e(790)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[e(296)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[e(296)](Error())})()),po}var Pa;function Aa(){const e=c;return Pa||(Pa=1,process.env.NODE_ENV===e(1542)?_0[e(1587)]=d2():_0[e(1587)]=u2()),_0[e(1587)]}var Ea;function f2(){const e=c;if(Ea)return vo;Ea=1;var n=D,t=Aa();function o(u,f){return u===f&&(u!==0||1/u===1/f)||u!==u&&f!==f}var x=typeof Object.is=="function"?Object.is:o,r=t[e(1179)],i=n[e(805)],a=n[e(532)],d=n[e(1606)],s=n[e(456)];return vo.useSyncExternalStoreWithSelector=function(u,f,y,g,v){const h=e;var p=i(null);if(p[h(506)]===null){var M={hasValue:!1,value:null};p[h(506)]=M}else M=p[h(506)];p=d(function(){function m(H){const V=_0x5528;if(!b){if(b=!0,C=H,H=g(H),v!==void 0&&M[V(1544)]){var A=M.value;if(v(A,H))return I=A}return I=H}if(A=I,x(C,H))return A;var W=g(H);return v!==void 0&&v(A,W)?(C=H,A):(C=H,I=W)}var b=!1,C,I,U=y===void 0?null:y;return[function(){return m(f())},U===null?void 0:function(){return m(U())}]},[f,y,g,v]);var w=r(u,p[0],p[1]);return a(function(){const m=h;M.hasValue=!0,M[m(1834)]=w},[w]),s(w),w},vo}var zo={},ja;function h2(){const e=c;return ja||(ja=1,e(1542)!==process.env.NODE_ENV&&(function(){const n=e;function t(f,y){return f===y&&(f!==0||1/f===1/y)||f!==f&&y!==y}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&n(790)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(1715)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var o=D,x=Aa(),r=n(790)===typeof Object.is?Object.is:t,i=x[n(1179)],a=o[n(805)],d=o.useEffect,s=o.useMemo,u=o[n(456)];zo[n(871)]=function(f,y,g,v,h){const p=n;var M=a(null);if(M[p(506)]===null){var w={hasValue:!1,value:null};M[p(506)]=w}else w=M.current;M=s(function(){function b(V){const A=_0x5528;if(!C){if(C=!0,I=V,V=v(V),h!==void 0&&w[A(1544)]){var W=w[A(1834)];if(h(W,V))return U=W}return U=V}if(W=U,r(I,V))return W;var T=v(V);return h!==void 0&&h(W,T)?(I=V,W):(I=V,U=T)}var C=!1,I,U,H=g===void 0?null:g;return[function(){return b(y())},H===null?void 0:function(){return b(H())}]},[y,g,v,h]);var m=i(f,M[0],M[1]);return d(function(){const b=p;w.hasValue=!0,w[b(1834)]=m},[m]),u(m),m},n(439)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&n(790)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(296)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(296)](Error())})()),zo}var Ya;function g2(){const e=c;return Ya?F0[e(1587)]:(Ya=1,process.env.NODE_ENV==="production"?F0.exports=f2():F0[e(1587)]=h2(),F0.exports)}var y2=g2();const m2=St(y2),w2={},Ua=e=>{let n;const t=new Set,o=(u,f)=>{const y=_0x5528,g=typeof u=="function"?u(n):u;if(!Object.is(g,n)){const v=n;n=f??(typeof g!==y(460)||g===null)?g:Object[y(517)]({},n,g),t[y(1998)](h=>h(n,v))}},x=()=>n,r=()=>s,i=u=>{const f=_0x5528;return t.add(u),()=>t[f(741)](u)},a=()=>{const u=_0x5528;(w2?u(1542):void 0)!==u(1542)&&console[u(2054)](u(829)),t[u(1478)]()},d={setState:o,getState:x,getInitialState:r,subscribe:i,destroy:a},s=n=e(o,x,d);return d},v2=e=>e?Ua(e):Ua,{useDebugValue:b2}=D,{useSyncExternalStoreWithSelector:p2}=m2,z2=e=>e;function Ga(e,n=z2,t){const o=c,x=p2(e[o(1159)],e.getState,e[o(1720)]||e[o(1592)],n,t);return b2(x),x}const Oa=(e,n)=>{const t=c,o=v2(e),x=(r,i=n)=>Ga(o,r,i);return Object[t(517)](x,o),x},C2=(e,n)=>e?Oa(e,n):Oa;function Ee(e,n){const t=c;if(Object.is(e,n))return!0;if(typeof e!==t(460)||e===null||typeof n!="object"||n===null)return!1;if(e instanceof Map&&n instanceof Map){if(e[t(1683)]!==n[t(1683)])return!1;for(const[x,r]of e)if(!Object.is(r,n[t(1735)](x)))return!1;return!0}if(e instanceof Set&&n instanceof Set){if(e[t(1683)]!==n[t(1683)])return!1;for(const x of e)if(!n[t(1264)](x))return!1;return!0}const o=Object[t(1210)](e);if(o[t(658)]!==Object[t(1210)](n)[t(658)])return!1;for(const x of o)if(!Object[t(1295)].hasOwnProperty.call(n,x)||!Object.is(e[x],n[x]))return!1;return!0}const $0=D.createContext(null),M2=$0.Provider,Ha=nn.error001();function Le(e,n){const t=c,o=D[t(1484)]($0);if(o===null)throw new Error(Ha);return Ga(o,e,n)}function je(){const e=c,n=D[e(1484)]($0);if(n===null)throw new Error(Ha);return D[e(1606)](()=>({getState:n[e(1419)],setState:n.setState,subscribe:n.subscribe}),[n])}const Ta={display:"none"},B2={position:c(1526),width:1,height:1,margin:-1,border:0,padding:0,overflow:c(569),clip:c(1981),clipPath:c(1971)},Va="react-flow__node-desc",Wa=c(869),D2=c(958),L2=e=>e[c(1439)],S2=e=>e.ariaLabelConfig;function N2({rfId:e}){const n=c,t=Le(L2);return l[n(510)]("div",{id:D2+"-"+e,"aria-live":n(765),"aria-atomic":n(1993),style:B2,children:t})}function k2({rfId:e,disableKeyboardA11y:n}){const t=c,o=Le(S2);return l.jsxs(l.Fragment,{children:[l.jsx(t(1384),{id:Va+"-"+e,style:Ta,children:n?o[t(778)]:o["node.a11yDescription.keyboardDisabled"]}),l[t(510)](t(1384),{id:Wa+"-"+e,style:Ta,children:o[t(534)]}),!n&&l.jsx(N2,{rfId:e})]})}const ex=D.forwardRef(({position:e=c(978),children:n,className:t,style:o,...x},r)=>{const i=c,a=(""+e)[i(1194)]("-");return l[i(510)](i(1384),{className:Ge(["react-flow__panel",t,...a]),style:o,ref:r,...x,children:n})});ex[c(1369)]=c(271);function I2({proOptions:e,position:n=c(1089)}){const t=c;return e?.[t(772)]?null:l[t(510)](ex,{position:n,className:t(816),"data-message":t(1035),children:l[t(510)]("a",{href:t(1165),target:t(1733),rel:t(1553),"aria-label":"React Flow attribution",children:t(219)})})}const P2=e=>{const n=c,t=[],o=[];for(const[,x]of e.nodeLookup)x.selected&&t.push(x[n(1300)][n(750)]);for(const[,x]of e[n(1518)])x[n(1734)]&&o.push(x);return{selectedNodes:t,selectedEdges:o}},nx=e=>e.id;function A2(e,n){const t=c;return Ee(e.selectedNodes[t(1902)](nx),n[t(2060)][t(1902)](nx))&&Ee(e[t(351)].map(nx),n.selectedEdges[t(1902)](nx))}function E2({onSelectionChange:e}){const n=c,t=je(),{selectedNodes:o,selectedEdges:x}=Le(P2,A2);return D[n(532)](()=>{const r=n,i={nodes:o,edges:x};e?.(i),t[r(1419)]()[r(1705)][r(1998)](a=>a(i))},[o,x,e]),null}const j2=e=>!!e[c(1705)];function Y2({onSelectionChange:e}){const n=c,t=Le(j2);return e||t?l[n(510)](E2,{onSelectionChange:e}):null}const Co=typeof window!==c(439)?D[c(1725)]:D[c(532)],qa=[0,0],U2={x:0,y:0,zoom:1},G2=[c(405),c(1560),"defaultNodes",c(1634),c(1011),"onConnectStart",c(1464),"onClickConnectStart",c(1285),c(237),c(1950),c(321),"nodesFocusable",c(723),c(1491),c(1500),"elevateEdgesOnSelect",c(922),"maxZoom",c(1162),c(264),c(1116),"elementsSelectable","connectionMode",c(1645),c(770),c(434),c(1605),c(275),"fitView","fitViewOptions",c(913),c(359),c(1817),c(1144),c(813),c(1701),c(749),c(1130),"onSelectionDragStop",c(1680),"onMove",c(1957),"noPanClassName","nodeOrigin",c(400),c(1044),"onError",c(465),c(1033),c(921),"nodeDragThreshold",c(1836),c(1525),c(1192),c(1193),"ariaLabelConfig",c(1883)],Xa=[...G2,c(892)],O2=e=>({setNodes:e[c(464)],setEdges:e[c(1382)],setMinZoom:e[c(1538)],setMaxZoom:e[c(1041)],setTranslateExtent:e[c(1364)],setNodeExtent:e[c(684)],reset:e.reset,setDefaultNodesAndEdges:e[c(1939)]}),Za={translateExtent:Rt,nodeOrigin:qa,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:"nopan",rfId:"1"};function H2(e){const n=c,{setNodes:t,setEdges:o,setMinZoom:x,setMaxZoom:r,setTranslateExtent:i,setNodeExtent:a,reset:d,setDefaultNodesAndEdges:s}=Le(O2,Ee),u=je();Co(()=>(s(e.defaultNodes,e.defaultEdges),()=>{const y=_0x5528;f[y(506)]=Za,d()}),[]);const f=D[n(805)](Za);return Co(()=>{const y=n;for(const g of Xa){const v=e[g],h=f[y(506)][g];v!==h&&typeof e[g]!==y(439)&&(g===y(405)?t(v):g===y(1560)?o(v):g==="minZoom"?x(v):g==="maxZoom"?r(v):g===y(434)?i(v):g===y(1162)?a(v):g===y(1948)?u[y(1765)]({ariaLabelConfig:C5(v)}):g==="fitView"?u.setState({fitViewQueued:v}):g===y(622)?u[y(1765)]({fitViewOptions:v}):u[y(1765)]({[g]:v}))}f.current=e},Xa[n(1902)](y=>e[y])),null}function Ka(){const e=c;return typeof window===e(439)||!window[e(1545)]?null:window[e(1545)](e(485))}function T2(e){const n=c,[t,o]=D.useState(e==="system"?null:e);return D.useEffect(()=>{const x=_0x5528;if(e!==x(1252)){o(e);return}const r=Ka(),i=()=>o(r?.[x(1740)]?x(1990):x(1495));return i(),r?.[x(1976)](x(1051),i),()=>{r?.[x(864)]("change",i)}},[e]),t!==null?t:Ka()?.matches?"dark":n(1495)}const Ra=typeof document!==c(439)?document:null;function x0(e=null,n={target:Ra,actInsideInputWithModifier:!0}){const t=c,[o,x]=D[t(884)](!1),r=D[t(805)](!1),i=D.useRef(new Set([])),[a,d]=D[t(1606)](()=>{const s=t;if(e!==null){const u=Array[s(293)](e)?e:[e],f=u[s(1874)](g=>typeof g=="string")[s(1902)](g=>g[s(1183)]("+",`
4
+ `)[s(1183)](`
6
5
 
7
6
  `,`
8
- +`)[s(1615)](`
9
- `)),y=f[s(1606)]((g,p)=>g.concat(...p),[]);return[f,y]}return[[],[]]},[e]);return B[t(363)](()=>{const s=t,u=n?.[s(603)]??Jc,f=n?.[s(854)]??!0;if(e!==null){const y=h=>{const b=s;if(r[b(1560)]=h[b(569)]||h[b(769)]||h.shiftKey||h[b(1967)],(!r.current||r.current&&!f)&&tc(h))return!1;const v=Fc(h[b(1556)],d);if(i[b(1560)].add(h[v]),_c(c,i[b(1560)],!1)){const m=h[b(726)]?.()?.[0]||h.target,w=m?.[b(1527)]===b(1512)||m?.[b(1527)]==="A";n[b(1923)]!==!1&&(r[b(1560)]||!w)&&h[b(1923)](),x(!0)}},g=h=>{const b=s,M=Fc(h[b(1556)],d);_c(c,i[b(1560)],!0)?(x(!1),i.current[b(2016)]()):i[b(1560)][b(1147)](h[M]),h[b(1460)]==="Meta"&&i[b(1560)][b(2016)](),r[b(1560)]=!1},p=()=>{i[s(1560)].clear(),x(!1)};return u?.addEventListener(s(1354),y),u?.[s(1966)](s(1320),g),window[s(1966)](s(1648),p),window[s(1966)](s(696),p),()=>{const h=s;u?.[h(1339)]("keydown",y),u?.[h(1339)](h(1320),g),window[h(1339)](h(1648),p),window[h(1339)](h(696),p)}}},[e,x]),o}function _c(e,n,t){const o=a;return e.filter(x=>t||x.length===n[o(1705)])[o(1748)](x=>x[o(1452)](r=>n.has(r)))}function Fc(e,n){const t=a;return n.includes(e)?t(1556):"key"}const V1=()=>{const e=Ee();return B.useMemo(()=>{const n=_0x4806;return{zoomIn:t=>{const o=_0x4806,{panZoom:x}=e.getState();return x?x.scaleBy(1.2,t):Promise[o(2192)](!1)},zoomOut:t=>{const o=_0x4806,{panZoom:x}=e[o(1740)]();return x?x[o(368)](1/1.2,t):Promise[o(2192)](!1)},zoomTo:(t,o)=>{const x=_0x4806,{panZoom:r}=e[x(1740)]();return r?r[x(494)](t,o):Promise[x(2192)](!1)},getZoom:()=>e.getState()[n(1130)][2],setViewport:async(t,o)=>{const x=n,{transform:[r,i,c],panZoom:d}=e[x(1740)]();return d?(await d[x(1659)]({x:t.x??r,y:t.y??i,zoom:t.zoom??c},o),Promise[x(2192)](!0)):Promise.resolve(!1)},getViewport:()=>{const t=n,[o,x,r]=e[t(1740)]()[t(1130)];return{x:o,y:x,zoom:r}},setCenter:async(t,o,x)=>{const r=n;return e[r(1740)]()[r(555)](t,o,x)},fitBounds:async(t,o)=>{const x=n,{width:r,height:i,minZoom:c,maxZoom:d,panZoom:s}=e[x(1740)](),u=ro(t,r,i,c,d,o?.[x(524)]??.1);return s?(await s[x(1659)](u,{duration:o?.[x(2056)],ease:o?.[x(2044)],interpolate:o?.[x(2172)]}),Promise.resolve(!0)):Promise[x(2192)](!1)},screenToFlowPosition:(t,o={})=>{const x=n,{transform:r,snapGrid:i,snapToGrid:c,domNode:d}=e[x(1740)]();if(!d)return t;const{x:s,y:u}=d[x(1761)](),f={x:t.x-s,y:t.y-u},y=o.snapGrid??i,g=o[x(2025)]??c;return e0(f,r,g,y)},flowToScreenPosition:t=>{const o=n,{transform:x,domNode:r}=e[o(1740)]();if(!r)return t;const{x:i,y:c}=r[o(1761)](),d=R0(t,x);return{x:d.x+i,y:d.y+c}}}},[])};function Qc(e,n){const t=a,o=[],x=new Map,r=[];for(const i of e)if(i[t(1424)]==="add"){r[t(1465)](i);continue}else if(i[t(1424)]==="remove"||i[t(1424)]===t(598))x[t(799)](i.id,[i]);else{const c=x[t(1157)](i.id);c?c[t(1465)](i):x[t(799)](i.id,[i])}for(const i of n){const c=x.get(i.id);if(!c){o[t(1465)](i);continue}if(c[0].type===t(921))continue;if(c[0].type===t(598)){o[t(1465)]({...c[0][t(577)]});continue}const d={...i};for(const s of c)q1(s,d);o[t(1465)](d)}return r[t(2194)]&&r[t(1369)](i=>{const c=t;i[c(2045)]!==void 0?o.splice(i[c(2045)],0,{...i[c(577)]}):o[c(1465)]({...i[c(577)]})}),o}function q1(e,n){const t=a;switch(e[t(1424)]){case t(1877):{n[t(2178)]=e.selected;break}case t(1543):{typeof e[t(1543)]<"u"&&(n.position=e[t(1543)]),typeof e[t(562)]!==t(1202)&&(n[t(562)]=e[t(562)]);break}case t(630):{typeof e.dimensions<"u"&&(n.measured={...e[t(630)]},e[t(1873)]&&((e[t(1873)]===!0||e[t(1873)]===t(1238))&&(n[t(1238)]=e[t(630)][t(1238)]),(e[t(1873)]===!0||e[t(1873)]===t(1265))&&(n[t(1265)]=e[t(630)][t(1265)]))),typeof e[t(908)]=="boolean"&&(n[t(908)]=e[t(908)]);break}}}function $c(e,n){return Qc(e,n)}function ea(e,n){return Qc(e,n)}function et(e,n){return{id:e,type:"select",selected:n}}function Ct(e,n=new Set,t=!1){const o=a,x=[];for(const[r,i]of e){const c=n.has(r);!(i[o(2178)]===void 0&&!c)&&i[o(2178)]!==c&&(t&&(i[o(2178)]=c),x.push(et(i.id,c)))}return x}function na({items:e=[],lookup:n}){const t=a,o=[],x=new Map(e[t(542)](r=>[r.id,r]));for(const[r,i]of e[t(1942)]()){const c=n[t(1157)](i.id),d=c?.internals?.[t(1220)]??c;d!==void 0&&d!==i&&o[t(1465)]({id:i.id,item:i,type:t(598)}),d===void 0&&o[t(1465)]({item:i,type:t(1757),index:r})}for(const[r]of n)x[t(1157)](r)===void 0&&o[t(1465)]({id:r,type:t(921)});return o}function ta(e){const n=a;return{id:e.id,type:n(921)}}const xa=e=>h2(e),W1=e=>Wi(e);function oa(e){return B[a(2191)](e)}function ra(e){const n=a,[t,o]=B[n(655)](BigInt(0)),[x]=B[n(655)](()=>X1(()=>o(r=>r+BigInt(1))));return Mo(()=>{const r=n,i=x[r(1157)]();i[r(2194)]&&(e(i),x.reset())},[t]),x}function X1(e){let n=[];return{get:()=>n,reset:()=>{n=[]},push:t=>{n[_0x4806(1465)](t),e()}}}const ia=B[a(952)](null);function K1({children:e}){const n=a,t=Ee(),o=B[n(1591)](d=>{const s=n,{nodes:u=[],setNodes:f,hasDefaultNodes:y,onNodesChange:g,nodeLookup:p,fitViewQueued:h,onNodesChangeMiddlewareMap:b}=t.getState();let M=u;for(const m of d)M=typeof m===s(1154)?m(M):m;let v=na({items:M,lookup:p});for(const m of b.values())v=m(v);y&&f(M),v[s(2194)]>0?g?.(v):h&&window[s(1135)](()=>{const m=s,{fitViewQueued:w,nodes:C,setNodes:k}=t[m(1740)]();w&&k(C)})},[]),x=ra(o),r=B.useCallback(d=>{const s=n,{edges:u=[],setEdges:f,hasDefaultEdges:y,onEdgesChange:g,edgeLookup:p}=t[s(1740)]();let h=u;for(const b of d)h=typeof b===s(1154)?b(h):b;y?f(h):g&&g(na({items:h,lookup:p}))},[]),i=ra(r),c=B[n(528)](()=>({nodeQueue:x,edgeQueue:i}),[]);return l[n(1993)](ia[n(423)],{value:c,children:e})}function Z1(){const e=B.useContext(ia);if(!e)throw new Error("useBatchContext must be used within a BatchProvider");return e}const R1=e=>!!e[a(1788)];function Bo(){const e=a,n=V1(),t=Ee(),o=Z1(),x=Be(R1),r=B[e(528)](()=>{const i=e,c=g=>t.getState().nodeLookup[i(1157)](g),d=g=>{o[i(1256)].push(g)},s=g=>{const p=i;o[p(1389)][p(1465)](g)},u=g=>{const p=i,{nodeLookup:h,nodeOrigin:b}=t[p(1740)](),M=xa(g)?g:h[p(1157)](g.id),v=M[p(890)]?$i(M.position,M[p(1583)],M[p(890)],h,b):M[p(1543)],m={...M,position:v,width:M.measured?.[p(1238)]??M[p(1238)],height:M.measured?.[p(1265)]??M[p(1265)]};return wt(m)},f=(g,p,h={replace:!1})=>{d(b=>b.map(M=>{const v=_0x4806;if(M.id===g){const m=typeof p===v(1154)?p(M):p;return h[v(598)]&&xa(m)?m:{...M,...m}}return M}))},y=(g,p,h={replace:!1})=>{const b=i;s(M=>M[b(542)](v=>{const m=b;if(v.id===g){const w=typeof p===m(1154)?p(v):p;return h[m(598)]&&W1(w)?w:{...v,...w}}return v}))};return{getNodes:()=>t.getState()[i(1361)].map(g=>({...g})),getNode:g=>c(g)?.[i(380)][i(1220)],getInternalNode:c,getEdges:()=>{const g=i,{edges:p=[]}=t[g(1740)]();return p[g(542)](h=>({...h}))},getEdge:g=>t[i(1740)]()[i(986)].get(g),setNodes:d,setEdges:s,addNodes:g=>{const p=i,h=Array[p(927)](g)?g:[g];o[p(1256)].push(b=>[...b,...h])},addEdges:g=>{const p=i,h=Array[p(927)](g)?g:[g];o[p(1389)][p(1465)](b=>[...b,...h])},toObject:()=>{const g=i,{nodes:p=[],edges:h=[],transform:b}=t[g(1740)](),[M,v,m]=b;return{nodes:p.map(w=>({...w})),edges:h[g(542)](w=>({...w})),viewport:{x:M,y:v,zoom:m}}},deleteElements:async({nodes:g=[],edges:p=[]})=>{const h=i,{nodes:b,edges:M,onNodesDelete:v,onEdgesDelete:m,triggerNodeChanges:w,triggerEdgeChanges:C,onDelete:k,onBeforeDelete:O}=t[h(1740)](),{nodes:G,edges:j}=await v2({nodesToRemove:g,edgesToRemove:p,nodes:b,edges:M,onBeforeDelete:O}),A=j[h(2194)]>0,Z=G.length>0;if(A){const W=j.map(ta);m?.(j),C(W)}if(Z){const W=G[h(542)](ta);v?.(G),w(W)}return(Z||A)&&k?.({nodes:G,edges:j}),{deletedNodes:G,deletedEdges:j}},getIntersectingNodes:(g,p=!0,h)=>{const b=i,M=_i(g),v=M?g:u(g),m=h!==void 0;return v?(h||t[b(1740)]()[b(1361)])[b(1641)](w=>{const C=b,k=t[C(1740)]().nodeLookup[C(1157)](w.id);if(k&&!M&&(w.id===g.id||!k[C(380)][C(2107)]))return!1;const O=wt(m?w:k),G=Qt(O,v);return p&&G>0||G>=O[C(1238)]*O[C(1265)]||G>=v[C(1238)]*v[C(1265)]}):[]},isNodeIntersecting:(g,p,h=!0)=>{const b=i,M=_i(g),v=M?g:u(g);if(!v)return!1;const m=Qt(v,p);return h&&m>0||m>=p[b(1238)]*p[b(1265)]||m>=v[b(1238)]*v[b(1265)]},updateNode:f,updateNodeData:(g,p,h={replace:!1})=>{f(g,b=>{const M=_0x4806,v=typeof p===M(1154)?p(b):p;return h[M(598)]?{...b,data:v}:{...b,data:{...b[M(1468)],...v}}},h)},updateEdge:y,updateEdgeData:(g,p,h={replace:!1})=>{y(g,b=>{const M=_0x4806,v=typeof p===M(1154)?p(b):p;return h[M(598)]?{...b,data:v}:{...b,data:{...b[M(1468)],...v}}},h)},getNodesBounds:g=>{const p=i,{nodeLookup:h,nodeOrigin:b}=t[p(1740)]();return g2(g,{nodeLookup:h,nodeOrigin:b})},getHandleConnections:({type:g,id:p,nodeId:h})=>Array[i(1139)](t.getState()[i(623)][i(1157)](h+"-"+g+(p?"-"+p:""))?.[i(1534)]()??[]),getNodeConnections:({type:g,handleId:p,nodeId:h})=>Array[i(1139)](t[i(1740)]()[i(623)][i(1157)](""+h+(g?p?"-"+g+"-"+p:"-"+g:""))?.[i(1534)]()??[]),fitView:async g=>{const p=i,h=t[p(1740)]()[p(1394)]??z2();return t[p(1766)]({fitViewQueued:!0,fitViewOptions:g,fitViewResolver:h}),o.nodeQueue[p(1465)](b=>[...b]),h[p(1069)]}}},[]);return B[e(528)](()=>({...r,...n,viewportInitialized:x}),[x])}const ca=e=>e[a(2178)],J1=typeof window<"u"?window:void 0;function _1({deleteKeyCode:e,multiSelectionKeyCode:n}){const t=a,o=Ee(),{deleteElements:x}=Bo(),r=x0(e,{actInsideInputWithModifier:!1}),i=x0(n,{target:J1});B.useEffect(()=>{const c=_0x4806;if(r){const{edges:d,nodes:s}=o[c(1740)]();x({nodes:s[c(1641)](ca),edges:d[c(1641)](ca)}),o.setState({nodesSelectionActive:!1})}},[r]),B[t(363)](()=>{o[t(1766)]({multiSelectionActive:i})},[i])}function F1(e){const n=a,t=Ee();B[n(363)](()=>{const o=n,x=()=>{const r=_0x4806;if(!e[r(1560)]||!(e[r(1560)][r(674)]?.()??!0))return!1;const i=io(e[r(1560)]);(i.height===0||i[r(1238)]===0)&&t[r(1740)]()[r(2133)]?.(r(1031),nn[r(1144)]()),t[r(1766)]({width:i[r(1238)]||500,height:i[r(1265)]||500})};if(e.current){x(),window.addEventListener(o(362),x);const r=new ResizeObserver(()=>x());return r[o(1432)](e[o(1560)]),()=>{const i=o;window[i(1339)](i(362),x),r&&e[i(1560)]&&r.unobserve(e[i(1560)])}}},[])}const xx={position:a(2080),width:a(1805),height:a(1805),top:0,left:0},Q1=e=>({userSelectionActive:e[a(925)],lib:e[a(1402)],connectionInProgress:e[a(1329)][a(1311)]});function $1({onPaneContextMenu:e,zoomOnScroll:n=!0,zoomOnPinch:t=!0,panOnScroll:o=!1,panOnScrollSpeed:x=.5,panOnScrollMode:r=Fn.Free,zoomOnDoubleClick:i=!0,panOnDrag:c=!0,defaultViewport:d,translateExtent:s,minZoom:u,maxZoom:f,zoomActivationKeyCode:y,preventScrolling:g=!0,children:p,noWheelClassName:h,noPanClassName:b,onViewportChange:M,isControlledViewport:v,paneClickDistance:m,selectionOnDrag:w}){const C=a,k=Ee(),O=B[C(575)](null),{userSelectionActive:G,lib:j,connectionInProgress:A}=Be(Q1,je),Z=x0(y),W=B.useRef();F1(O);const q=B[C(1591)](T=>{const N=C;M?.({x:T[0],y:T[1],zoom:T[2]}),!v&&k[N(1766)]({transform:T})},[M,v]);return B.useEffect(()=>{const T=C;if(O[T(1560)]){W.current=o1({domNode:O[T(1560)],minZoom:u,maxZoom:f,translateExtent:s,viewport:d,onDraggingChange:U=>k[T(1766)](P=>P[T(1321)]===U?P:{paneDragging:U}),onPanZoomStart:(U,P)=>{const{onViewportChangeStart:S,onMoveStart:K}=k.getState();K?.(U,P),S?.(P)},onPanZoom:(U,P)=>{const S=T,{onViewportChange:K,onMove:Q}=k[S(1740)]();Q?.(U,P),K?.(P)},onPanZoomEnd:(U,P)=>{const S=T,{onViewportChangeEnd:K,onMoveEnd:Q}=k[S(1740)]();Q?.(U,P),K?.(P)}});const{x:N,y:D,zoom:L}=W[T(1560)][T(1034)]();return k[T(1766)]({panZoom:W[T(1560)],transform:[N,D,L],domNode:O.current[T(686)](T(2078))}),()=>{W[T(1560)]?.destroy()}}},[]),B.useEffect(()=>{const T=C;W[T(1560)]?.[T(658)]({onPaneContextMenu:e,zoomOnScroll:n,zoomOnPinch:t,panOnScroll:o,panOnScrollSpeed:x,panOnScrollMode:r,zoomOnDoubleClick:i,panOnDrag:c,zoomActivationKeyPressed:Z,preventScrolling:g,noPanClassName:b,userSelectionActive:G,noWheelClassName:h,lib:j,onTransformChange:q,connectionInProgress:A,selectionOnDrag:w,paneClickDistance:m})},[e,n,t,o,x,r,i,c,Z,g,b,G,h,j,q,A,w,m]),l[C(1993)](C(539),{className:C(2055),ref:O,style:xx,children:p})}const eh=e=>({userSelectionActive:e[a(925)],userSelectionRect:e[a(1511)]});function nh(){const e=a,{userSelectionActive:n,userSelectionRect:t}=Be(eh,je);return n&&t?l[e(1993)](e(539),{className:e(1983),style:{width:t.width,height:t[e(1265)],transform:e(389)+t.x+e(1375)+t.y+e(2197)}}):null}const Do=(e,n)=>t=>{const o=_0x4806;t[o(603)]===n[o(1560)]&&e?.(t)},th=e=>({userSelectionActive:e.userSelectionActive,elementsSelectable:e[a(1503)],connectionInProgress:e.connection.inProgress,dragging:e[a(1321)]});function xh({isSelecting:e,selectionKeyPressed:n,selectionMode:t=Jt[a(485)],panOnDrag:o,paneClickDistance:x,selectionOnDrag:r,onSelectionStart:i,onSelectionEnd:c,onPaneClick:d,onPaneContextMenu:s,onPaneScroll:u,onPaneMouseEnter:f,onPaneMouseMove:y,onPaneMouseLeave:g,children:p}){const h=a,b=Ee(),{userSelectionActive:M,elementsSelectable:v,dragging:m,connectionInProgress:w}=Be(th,je),C=v&&(e||M),k=B.useRef(null),O=B[h(575)](),G=B[h(575)](new Set),j=B[h(575)](new Set),A=B.useRef(!1),Z=P=>{const S=h;if(A[S(1560)]||w){A[S(1560)]=!1;return}d?.(P),b[S(1740)]()[S(1666)](),b[S(1766)]({nodesSelectionActive:!1})},W=P=>{const S=h;if(Array[S(927)](o)&&o?.[S(911)](2)){P[S(1923)]();return}s?.(P)},q=u?P=>u(P):void 0,T=P=>{const S=h;A[S(1560)]&&(P[S(1064)](),A[S(1560)]=!1)},N=P=>{const S=h,{domNode:K}=b[S(1740)]();if(O.current=K?.[S(1761)](),!O[S(1560)])return;const Q=P[S(603)]===k[S(1560)];if(!Q&&!!P.target.closest(S(1024))||!e||!(r&&Q||n)||P.button!==0||!P[S(678)])return;P[S(603)]?.[S(855)]?.(P[S(521)]),A.current=!1;const{x:xe,y:ce}=gn(P.nativeEvent,O[S(1560)]);b[S(1766)]({userSelectionRect:{width:0,height:0,startX:xe,startY:ce,x:xe,y:ce}}),!Q&&(P[S(1064)](),P[S(1923)]())},D=P=>{const S=h,{userSelectionRect:K,transform:Q,nodeLookup:R,edgeLookup:$,connectionLookup:xe,triggerNodeChanges:ce,triggerEdgeChanges:de,defaultEdgeOptions:fe,resetSelectedElements:ie}=b[S(1740)]();if(!O.current||!K)return;const{x:J,y:re}=gn(P[S(1530)],O[S(1560)]),{startX:_,startY:I}=K;if(!A[S(1560)]){const le=n?0:x;if(Math[S(2059)](J-_,re-I)<=le)return;ie(),i?.(P)}A[S(1560)]=!0;const Y={startX:_,startY:I,x:J<_?J:_,y:re<I?re:I,width:Math[S(1018)](J-_),height:Math[S(1018)](re-I)},X=G[S(1560)],H=j[S(1560)];G[S(1560)]=new Set(xo(R,Y,Q,t===Jt[S(1352)],!0)[S(542)](le=>le.id)),j.current=new Set;const oe=fe?.[S(942)]??!0;for(const le of G.current){const se=xe[S(1157)](le);if(se)for(const{edgeId:ge}of se[S(1534)]()){const ve=$[S(1157)](ge);ve&&(ve[S(942)]??oe)&&j[S(1560)].add(ge)}}if(!ec(X,G[S(1560)])){const le=Ct(R,G[S(1560)],!0);ce(le)}if(!ec(H,j[S(1560)])){const le=Ct($,j[S(1560)]);de(le)}b.setState({userSelectionRect:Y,userSelectionActive:!0,nodesSelectionActive:!1})},L=P=>{const S=h;P[S(772)]===0&&(P[S(603)]?.releasePointerCapture?.(P[S(521)]),!M&&P[S(603)]===k[S(1560)]&&b[S(1740)]()[S(1511)]&&Z?.(P),b[S(1766)]({userSelectionActive:!1,userSelectionRect:null}),A[S(1560)]&&(c?.(P),b[S(1766)]({nodesSelectionActive:G[S(1560)][S(1705)]>0})))},U=o===!0||Array[h(927)](o)&&o.includes(0);return l[h(1239)](h(539),{className:Ge(["react-flow__pane",{draggable:U,dragging:m,selection:e}]),onClick:C?void 0:Do(Z,k),onContextMenu:Do(W,k),onWheel:Do(q,k),onPointerEnter:C?void 0:f,onPointerMove:C?D:y,onPointerUp:C?L:void 0,onPointerDownCapture:C?N:void 0,onClickCapture:C?T:void 0,onPointerLeave:g,ref:k,style:xx,children:[p,l[h(1993)](nh,{})]})}function Lo({id:e,store:n,unselect:t=!1,nodeRef:o}){const x=a,{addSelectedNodes:r,unselectNodesAndEdges:i,multiSelectionActive:c,nodeLookup:d,onError:s}=n[x(1740)](),u=d[x(1157)](e);if(!u){s?.(x(1071),nn[x(1123)](e));return}n[x(1766)]({nodesSelectionActive:!1}),u.selected?(t||u.selected&&c)&&(i({nodes:[u],edges:[]}),requestAnimationFrame(()=>o?.[x(1560)]?.blur())):r([e])}function aa({nodeRef:e,disabled:n=!1,noDragClassName:t,handleSelector:o,nodeId:x,isSelectable:r,nodeClickDistance:i}){const c=a,d=Ee(),[s,u]=B[c(655)](!1),f=B.useRef();return B[c(363)](()=>{const y=c;f[y(1560)]=W2({getStoreItems:()=>d[y(1740)](),onNodeMouseDown:g=>{Lo({id:g,store:d,nodeRef:e})},onDragStart:()=>{u(!0)},onDragStop:()=>{u(!1)}})},[]),B[c(363)](()=>{const y=c;if(!(n||!e[y(1560)]||!f[y(1560)]))return f[y(1560)][y(658)]({noDragClassName:t,handleSelector:o,domNode:e.current,isSelectable:r,nodeId:x,nodeClickDistance:i}),()=>{const g=y;f[g(1560)]?.[g(1624)]()}},[t,o,n,r,e,x,i]),s}const oh=e=>n=>n.selected&&(n[a(2131)]||e&&typeof n[a(2131)]===a(1202));function sa(){const e=a,n=Ee();return B[e(1591)](o=>{const x=e,{nodeExtent:r,snapToGrid:i,snapGrid:c,nodesDraggable:d,onError:s,updateNodePositions:u,nodeLookup:f,nodeOrigin:y}=n[x(1740)](),g=new Map,p=oh(d),h=i?c[0]:5,b=i?c[1]:5,M=o[x(2161)].x*h*o.factor,v=o[x(2161)].y*b*o[x(497)];for(const[,m]of f){if(!p(m))continue;let w={x:m[x(380)][x(2107)].x+M,y:m[x(380)].positionAbsolute.y+v};i&&(w=$t(w,c));const{position:C,positionAbsolute:k}=Xi({nodeId:m.id,nextPosition:w,nodeLookup:f,nodeExtent:r,nodeOrigin:y,onError:s});m[x(1543)]=C,m[x(380)][x(2107)]=k,g[x(799)](m.id,m)}u(g)},[])}const No=B[a(952)](null),rh=No[a(423)];No[a(859)];const la=()=>B[a(689)](No),ih=e=>({connectOnClick:e.connectOnClick,noPanClassName:e.noPanClassName,rfId:e[a(1996)]}),ch=(e,n,t)=>o=>{const x=a,{connectionClickStartHandle:r,connectionMode:i,connection:c}=o,{fromHandle:d,toHandle:s,isValid:u}=c,f=s?.[x(1626)]===e&&s?.id===n&&s?.[x(1424)]===t;return{connectingFrom:d?.[x(1626)]===e&&d?.id===n&&d?.type===t,connectingTo:f,clickConnecting:r?.[x(1626)]===e&&r?.id===n&&r?.[x(1424)]===t,isPossibleEndHandle:i===yt[x(786)]?d?.[x(1424)]!==t:e!==d?.[x(1626)]||n!==d?.id,connectionInProcess:!!d,clickConnectionInProcess:!!r,valid:f&&u}};function ah({type:e=a(964),position:n=he[a(1481)],isValidConnection:t,isConnectable:o=!0,isConnectableStart:x=!0,isConnectableEnd:r=!0,id:i,onConnect:c,children:d,className:s,onMouseDown:u,onTouchStart:f,...y},g){const p=a,h=i||null,b=e===p(603),M=Ee(),v=la(),{connectOnClick:m,noPanClassName:w,rfId:C}=Be(ih,je),{connectingFrom:k,connectingTo:O,clickConnecting:G,isPossibleEndHandle:j,connectionInProcess:A,clickConnectionInProcess:Z,valid:W}=Be(ch(v,h,e),je);!v&&M[p(1740)]()[p(2133)]?.(p(700),nn[p(954)]());const q=D=>{const L=p,{defaultEdgeOptions:U,onConnect:P,hasDefaultEdges:S}=M[L(1740)](),K={...U,...D};if(S){const{edges:Q,setEdges:R}=M[L(1740)]();R(sc(K,Q))}P?.(K),c?.(K)},T=D=>{const L=p;if(!v)return;const U=xc(D[L(1530)]);if(x&&(U&&D[L(772)]===0||!U)){const P=M[L(1740)]();mo[L(948)](D[L(1530)],{handleDomNode:D[L(1153)],autoPanOnConnect:P[L(1114)],connectionMode:P[L(2138)],connectionRadius:P[L(2113)],domNode:P[L(617)],nodeLookup:P.nodeLookup,lib:P[L(1402)],isTarget:b,handleId:h,nodeId:v,flowId:P[L(1996)],panBy:P.panBy,cancelConnection:P.cancelConnection,onConnectStart:P.onConnectStart,onConnectEnd:(...S)=>M.getState()[L(788)]?.(...S),updateConnection:P[L(1406)],onConnect:q,isValidConnection:t||((...S)=>M[L(1740)]()[L(1088)]?.(...S)??!0),getTransform:()=>M[L(1740)]()[L(1130)],getFromHandle:()=>M[L(1740)]()[L(1329)].fromHandle,autoPanSpeed:P[L(1670)],dragThreshold:P[L(2154)]})}U?u?.(D):f?.(D)},N=D=>{const L=p,{onClickConnectStart:U,onClickConnectEnd:P,connectionClickStartHandle:S,connectionMode:K,isValidConnection:Q,lib:R,rfId:$,nodeLookup:xe,connection:ce}=M[L(1740)]();if(!v||!S&&!x)return;if(!S){U?.(D[L(1530)],{nodeId:v,handleId:h,handleType:e}),M[L(1766)]({connectionClickStartHandle:{nodeId:v,type:e,id:h}});return}const de=nc(D.target),fe=t||Q,{connection:ie,isValid:J}=mo[L(486)](D[L(1530)],{handle:{nodeId:v,id:h,type:e},connectionMode:K,fromNodeId:S[L(1626)],fromHandleId:S.id||null,fromType:S.type,isValidConnection:fe,flowId:$,doc:de,lib:R,nodeLookup:xe});J&&ie&&q(ie);const re=structuredClone(ce);delete re.inProgress,re[L(1773)]=re[L(2150)]?re[L(2150)][L(1543)]:null,P?.(D,re),M[L(1766)]({connectionClickStartHandle:null})};return l.jsx(p(539),{"data-handleid":h,"data-nodeid":v,"data-handlepos":n,"data-id":C+"-"+v+"-"+h+"-"+e,className:Ge([p(1083),p(1309)+n,"nodrag",w,s,{source:!b,target:b,connectable:o,connectablestart:x,connectableend:r,clickconnecting:G,connectingfrom:k,connectingto:O,valid:W,connectionindicator:o&&(!A||j)&&(A||Z?r:x)}]),onMouseDown:T,onTouchStart:T,onClick:m?N:void 0,ref:g,...y,children:d})}const Mt=B[a(1312)](oa(ah));function sh({data:e,isConnectable:n,sourcePosition:t=he[a(693)]}){const o=a;return l[o(1239)](l[o(915)],{children:[e?.[o(1834)],l.jsx(Mt,{type:o(964),position:t,isConnectable:n})]})}function lh({data:e,isConnectable:n,targetPosition:t=he[a(1481)],sourcePosition:o=he.Bottom}){const x=a;return l[x(1239)](l.Fragment,{children:[l[x(1993)](Mt,{type:x(603),position:t,isConnectable:n}),e?.[x(1834)],l.jsx(Mt,{type:x(964),position:o,isConnectable:n})]})}function dh(){return null}function uh({data:e,isConnectable:n,targetPosition:t=he.Top}){const o=a;return l[o(1239)](l[o(915)],{children:[l[o(1993)](Mt,{type:"target",position:t,isConnectable:n}),e?.label]})}const ox={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},da={input:sh,default:lh,output:uh,group:dh};function fh(e){const n=a;return e[n(380)][n(2091)]===void 0?{width:e.width??e[n(1350)]??e[n(1346)]?.[n(1238)],height:e[n(1265)]??e[n(883)]??e[n(1346)]?.[n(1265)]}:{width:e[n(1238)]??e[n(1346)]?.[n(1238)],height:e[n(1265)]??e[n(1346)]?.[n(1265)]}}const hh=e=>{const n=a,{width:t,height:o,x,y:r}=Ft(e[n(750)],{filter:i=>!!i.selected});return{width:hn(t)?t:null,height:hn(o)?o:null,userSelectionActive:e[n(925)],transformString:"translate("+e.transform[0]+n(405)+e[n(1130)][1]+n(1575)+e.transform[2]+n(2158)+x+n(405)+r+n(2197)}};function gh({onSelectionContextMenu:e,noPanClassName:n,disableKeyboardA11y:t}){const o=a,x=Ee(),{width:r,height:i,transformString:c,userSelectionActive:d}=Be(hh,je),s=sa(),u=B.useRef(null);B[o(363)](()=>{const p=o;!t&&u[p(1560)]?.[p(844)]({preventScroll:!0})},[t]);const f=!d&&r!==null&&i!==null;if(aa({nodeRef:u,disabled:!f}),!f)return null;const y=e?p=>{const h=o,b=x[h(1740)]().nodes[h(1641)](M=>M[h(2178)]);e(p,b)}:void 0,g=p=>{const h=o;Object[h(1201)][h(436)][h(897)](ox,p.key)&&(p[h(1923)](),s({direction:ox[p[h(1460)]],factor:p[h(1518)]?4:1}))};return l.jsx(o(539),{className:Ge([o(1984),o(1079),n]),style:{transform:c},children:l[o(1993)](o(539),{ref:u,className:o(454),onContextMenu:y,tabIndex:t?void 0:-1,onKeyDown:t?void 0:g,style:{width:r,height:i}})})}const ua=typeof window!==a(1202)?window:void 0,yh=e=>({nodesSelectionActive:e.nodesSelectionActive,userSelectionActive:e.userSelectionActive});function fa({children:e,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:o,onPaneMouseLeave:x,onPaneContextMenu:r,onPaneScroll:i,paneClickDistance:c,deleteKeyCode:d,selectionKeyCode:s,selectionOnDrag:u,selectionMode:f,onSelectionStart:y,onSelectionEnd:g,multiSelectionKeyCode:p,panActivationKeyCode:h,zoomActivationKeyCode:b,elementsSelectable:M,zoomOnScroll:v,zoomOnPinch:m,panOnScroll:w,panOnScrollSpeed:C,panOnScrollMode:k,zoomOnDoubleClick:O,panOnDrag:G,defaultViewport:j,translateExtent:A,minZoom:Z,maxZoom:W,preventScrolling:q,onSelectionContextMenu:T,noWheelClassName:N,noPanClassName:D,disableKeyboardA11y:L,onViewportChange:U,isControlledViewport:P}){const S=a,{nodesSelectionActive:K,userSelectionActive:Q}=Be(yh,je),R=x0(s,{target:ua}),$=x0(h,{target:ua}),xe=$||G,ce=$||w,de=u&&xe!==!0,fe=R||Q||de;return _1({deleteKeyCode:d,multiSelectionKeyCode:p}),l[S(1993)]($1,{onPaneContextMenu:r,elementsSelectable:M,zoomOnScroll:v,zoomOnPinch:m,panOnScroll:ce,panOnScrollSpeed:C,panOnScrollMode:k,zoomOnDoubleClick:O,panOnDrag:!R&&xe,defaultViewport:j,translateExtent:A,minZoom:Z,maxZoom:W,zoomActivationKeyCode:b,preventScrolling:q,noWheelClassName:N,noPanClassName:D,onViewportChange:U,isControlledViewport:P,paneClickDistance:c,selectionOnDrag:de,children:l[S(1239)](xh,{onSelectionStart:y,onSelectionEnd:g,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:o,onPaneMouseLeave:x,onPaneContextMenu:r,onPaneScroll:i,panOnDrag:xe,isSelecting:!!fe,selectionMode:f,selectionKeyPressed:R,paneClickDistance:c,selectionOnDrag:de,children:[e,K&&l[S(1993)](gh,{onSelectionContextMenu:T,noPanClassName:D,disableKeyboardA11y:L})]})})}fa[a(1495)]="FlowRenderer";const mh=B[a(1312)](fa),wh=e=>n=>{const t=a;return e?xo(n[t(750)],{x:0,y:0,width:n[t(1238)],height:n.height},n.transform,!0)[t(542)](o=>o.id):Array.from(n[t(750)][t(1651)]())};function vh(e){return Be(B.useCallback(wh(e),[e]),je)}const ph=e=>e[a(1208)];function bh(){const e=a,n=Be(ph),[t]=B[e(655)](()=>{const o=e;return typeof ResizeObserver===o(1202)?null:new ResizeObserver(x=>{const r=o,i=new Map;x[r(1369)](c=>{const d=r,s=c[d(603)][d(527)](d(888));i[d(799)](s,{id:s,nodeElement:c.target,force:!0})}),n(i)})});return B[e(363)](()=>()=>{t?.[_0x4806(988)]()},[t]),t}function zh({node:e,nodeType:n,hasDimensions:t,resizeObserver:o}){const x=a,r=Ee(),i=B[x(575)](null),c=B.useRef(null),d=B[x(575)](e.sourcePosition),s=B[x(575)](e[x(1618)]),u=B[x(575)](n),f=t&&!!e.internals[x(2091)];return B[x(363)](()=>{const y=x;i.current&&!e[y(1821)]&&(!f||c[y(1560)]!==i[y(1560)])&&(c.current&&o?.unobserve(c.current),o?.observe(i[y(1560)]),c[y(1560)]=i[y(1560)])},[f,e[x(1821)]]),B[x(363)](()=>()=>{const y=_0x4806;c.current&&(o?.[y(1684)](c.current),c[y(1560)]=null)},[]),B[x(363)](()=>{const y=x;if(i[y(1560)]){const g=u[y(1560)]!==n,p=d[y(1560)]!==e[y(1425)],h=s.current!==e.targetPosition;(g||p||h)&&(u[y(1560)]=n,d[y(1560)]=e[y(1425)],s.current=e[y(1618)],r[y(1740)]()[y(1208)](new Map([[e.id,{id:e.id,nodeElement:i[y(1560)],force:!0}]])))}},[e.id,n,e[x(1425)],e.targetPosition]),i}function Ch({id:e,onClick:n,onMouseEnter:t,onMouseMove:o,onMouseLeave:x,onContextMenu:r,onDoubleClick:i,nodesDraggable:c,elementsSelectable:d,nodesConnectable:s,nodesFocusable:u,resizeObserver:f,noDragClassName:y,noPanClassName:g,disableKeyboardA11y:p,rfId:h,nodeTypes:b,nodeClickDistance:M,onError:v}){const m=a,{node:w,internals:C,isParent:k}=Be(ie=>{const J=_0x4806,re=ie.nodeLookup[J(1157)](e),_=ie[J(877)].has(e);return{node:re,internals:re.internals,isParent:_}},je);let O=w[m(1424)]||m(1582),G=b?.[O]||da[O];G===void 0&&(v?.(m(1535),nn[m(550)](O)),O=m(1582),G=b?.[m(1582)]||da[m(1582)]);const j=!!(w.draggable||c&&typeof w.draggable===m(1202)),A=!!(w[m(942)]||d&&typeof w[m(942)]===m(1202)),Z=!!(w[m(1225)]||s&&typeof w[m(1225)]===m(1202)),W=!!(w[m(1663)]||u&&typeof w[m(1663)]===m(1202)),q=Ee(),T=Qi(w),N=zh({node:w,nodeType:O,hasDimensions:T,resizeObserver:f}),D=aa({nodeRef:N,disabled:w[m(1821)]||!j,noDragClassName:y,handleSelector:w[m(390)],nodeId:e,isSelectable:A,nodeClickDistance:M}),L=sa();if(w[m(1821)])return null;const U=kn(w),P=fh(w),S=A||j||n||t||o||x,K=t?ie=>t(ie,{...C[m(1220)]}):void 0,Q=o?ie=>o(ie,{...C[m(1220)]}):void 0,R=x?ie=>x(ie,{...C[m(1220)]}):void 0,$=r?ie=>r(ie,{...C.userNode}):void 0,xe=i?ie=>i(ie,{...C.userNode}):void 0,ce=ie=>{const J=m,{selectNodesOnDrag:re,nodeDragThreshold:_}=q[J(1740)]();A&&(!re||!j||_>0)&&Lo({id:e,store:q,nodeRef:N}),n&&n(ie,{...C.userNode})},de=ie=>{const J=m;if(!(tc(ie.nativeEvent)||p)){if(Oi.includes(ie[J(1460)])&&A){const re=ie[J(1460)]===J(483);Lo({id:e,store:q,unselect:re,nodeRef:N})}else if(j&&w[J(2178)]&&Object[J(1201)][J(436)][J(897)](ox,ie[J(1460)])){ie[J(1923)]();const{ariaLabelConfig:re}=q[J(1740)]();q[J(1766)]({ariaLiveMessage:re[J(1758)]({direction:ie.key[J(598)](J(1095),"")[J(1093)](),x:~~C[J(2107)].x,y:~~C[J(2107)].y})}),L({direction:ox[ie[J(1460)]],factor:ie.shiftKey?4:1})}}},fe=()=>{const ie=m;if(p||!N[ie(1560)]?.[ie(1719)](ie(735)))return;const{transform:J,width:re,height:_,autoPanOnNodeFocus:I,setCenter:Y}=q[ie(1740)]();if(!I)return;!(xo(new Map([[e,w]]),{x:0,y:0,width:re,height:_},J,!0).length>0)&&Y(w[ie(1543)].x+U.width/2,w.position.y+U[ie(1265)]/2,{zoom:J[2]})};return l.jsx(m(539),{className:Ge([m(1994),m(1872)+O,{[g]:j},w.className,{selected:w[m(2178)],selectable:A,parent:k,draggable:j,dragging:D}]),ref:N,style:{zIndex:C.z,transform:m(389)+C.positionAbsolute.x+"px,"+C.positionAbsolute.y+m(2197),pointerEvents:m(S?951:1712),visibility:m(T?1136:1821),...w[m(1346)],...P},"data-id":e,"data-testid":"rf__node-"+e,onMouseEnter:K,onMouseMove:Q,onMouseLeave:R,onContextMenu:$,onClick:ce,onDoubleClick:xe,onKeyDown:W?de:void 0,tabIndex:W?0:void 0,onFocus:W?fe:void 0,role:w[m(1807)]??(W?m(1728):void 0),"aria-roledescription":"node","aria-describedby":p?void 0:qc+"-"+h,"aria-label":w[m(783)],...w[m(1675)],children:l.jsx(rh,{value:e,children:l[m(1993)](G,{id:e,data:w[m(1468)],type:O,positionAbsoluteX:C[m(2107)].x,positionAbsoluteY:C[m(2107)].y,selected:w[m(2178)]??!1,selectable:A,draggable:j,deletable:w.deletable??!0,isConnectable:Z,sourcePosition:w[m(1425)],targetPosition:w[m(1618)],dragging:D,dragHandle:w[m(390)],zIndex:C.z,parentId:w[m(890)],...U})})})}var Mh=B[a(1312)](Ch);const Bh=e=>({nodesDraggable:e[a(2169)],nodesConnectable:e[a(1986)],nodesFocusable:e[a(1237)],elementsSelectable:e[a(1503)],onError:e.onError});function ha(e){const n=a,{nodesDraggable:t,nodesConnectable:o,nodesFocusable:x,elementsSelectable:r,onError:i}=Be(Bh,je),c=vh(e[n(421)]),d=bh();return l[n(1993)]("div",{className:n(839),style:xx,children:c[n(542)](s=>{const u=n;return l[u(1993)](Mh,{id:s,nodeTypes:e.nodeTypes,nodeExtent:e.nodeExtent,onClick:e[u(544)],onMouseEnter:e.onNodeMouseEnter,onMouseMove:e[u(2180)],onMouseLeave:e[u(2027)],onContextMenu:e[u(1742)],onDoubleClick:e[u(594)],noDragClassName:e[u(1094)],noPanClassName:e[u(1732)],rfId:e[u(1996)],disableKeyboardA11y:e[u(579)],resizeObserver:d,nodesDraggable:t,nodesConnectable:o,nodesFocusable:x,elementsSelectable:r,nodeClickDistance:e[u(711)],onError:i},s)})})}ha[a(1495)]="NodeRenderer";const Dh=B[a(1312)](ha);function Lh(e){return Be(B.useCallback(t=>{const o=_0x4806;if(!e)return t.edges[o(542)](r=>r.id);const x=[];if(t[o(1238)]&&t.height)for(const r of t[o(1337)]){const i=t[o(750)].get(r.source),c=t[o(750)][o(1157)](r[o(603)]);i&&c&&D2({sourceNode:i,targetNode:c,width:t.width,height:t[o(1265)],transform:t[o(1130)]})&&x[o(1465)](r.id)}return x},[e]),je)}const Nh=({color:e=a(1712),strokeWidth:n=1})=>{const t=a,o={strokeWidth:n,...e&&{stroke:e}};return l.jsx(t(2190),{className:"arrow",style:o,strokeLinecap:t(723),fill:t(1712),strokeLinejoin:t(723),points:t(1210)})},Sh=({color:e=a(1712),strokeWidth:n=1})=>{const t=a,o={strokeWidth:n,...e&&{stroke:e,fill:e}};return l.jsx(t(2190),{className:"arrowclosed",style:o,strokeLinecap:"round",strokeLinejoin:t(723),points:"-5,-4 0,0 -5,4 -5,-4"})},ga={[W0[a(1095)]]:Nh,[W0[a(1e3)]]:Sh};function kh(e){const n=Ee();return B.useMemo(()=>{const o=_0x4806;return Object[o(1201)][o(436)][o(897)](ga,e)?ga[e]:(n[o(1740)]().onError?.(o(934),nn[o(1998)](e)),null)},[e])}const Ih=({id:e,type:n,color:t,width:o=12.5,height:x=12.5,markerUnits:r=a(1564),strokeWidth:i,orient:c=a(1363)})=>{const d=a,s=kh(n);return s?l[d(1993)](d(994),{className:d(1049),id:e,markerWidth:""+o,markerHeight:""+x,viewBox:d(1330),markerUnits:r,orient:c,refX:"0",refY:"0",children:l[d(1993)](s,{color:t,strokeWidth:i})}):null},ya=({defaultColor:e,rfId:n})=>{const t=a,o=Be(i=>i[t(1337)]),x=Be(i=>i[t(1650)]),r=B[t(528)](()=>A2(o,{id:n,defaultColor:e,defaultMarkerStart:x?.[t(1440)],defaultMarkerEnd:x?.markerEnd}),[o,x,n,e]);return r.length?l[t(1993)](t(719),{className:t(1988),"aria-hidden":t(1501),children:l.jsx("defs",{children:r[t(542)](i=>l[t(1993)](Ih,{id:i.id,type:i.type,color:i.color,width:i[t(1238)],height:i[t(1265)],markerUnits:i[t(1686)],strokeWidth:i[t(1564)],orient:i[t(2195)]},i.id))})}):null};ya[a(1495)]=a(460);var Ph=B[a(1312)](ya);function ma({x:e,y:n,label:t,labelStyle:o,labelShowBg:x=!0,labelBgStyle:r,labelBgPadding:i=[2,4],labelBgBorderRadius:c=2,children:d,className:s,...u}){const f=a,[y,g]=B[f(655)]({x:1,y:0,width:0,height:0}),p=Ge([f(415),s]),h=B[f(575)](null);return B.useEffect(()=>{const b=f;if(h[b(1560)]){const M=h[b(1560)][b(1844)]();g({x:M.x,y:M.y,width:M[b(1238)],height:M[b(1265)]})}},[t]),t?l[f(1239)]("g",{transform:"translate("+(e-y[f(1238)]/2)+" "+(n-y[f(1265)]/2)+")",className:p,visibility:y[f(1238)]?f(1136):f(1821),...u,children:[x&&l[f(1993)](f(885),{width:y[f(1238)]+2*i[0],x:-i[0],y:-i[1],height:y.height+2*i[1],className:f(1046),style:r,rx:c,ry:c}),l[f(1993)]("text",{className:f(2163),y:y.height/2,dy:f(488),ref:h,style:o,children:t}),d]}):null}ma[a(1495)]="EdgeText";const Ah=B[a(1312)](ma);function rx({path:e,labelX:n,labelY:t,label:o,labelStyle:x,labelShowBg:r,labelBgStyle:i,labelBgPadding:c,labelBgBorderRadius:d,interactionWidth:s=20,...u}){const f=a;return l[f(1239)](l[f(915)],{children:[l[f(1993)]("path",{...u,d:e,fill:f(1712),className:Ge(["react-flow__edge-path",u[f(710)]])}),s?l[f(1993)](f(1199),{d:e,fill:"none",strokeOpacity:0,strokeWidth:s,className:f(1138)}):null,o&&hn(n)&&hn(t)?l[f(1993)](Ah,{x:n,y:t,label:o,labelStyle:x,labelShowBg:r,labelBgStyle:i,labelBgPadding:c,labelBgBorderRadius:d}):null]})}function wa({pos:e,x1:n,y1:t,x2:o,y2:x}){const r=a;return e===he[r(1010)]||e===he[r(1158)]?[.5*(n+o),t]:[n,.5*(t+x)]}function va({sourceX:e,sourceY:n,sourcePosition:t=he[a(693)],targetX:o,targetY:x,targetPosition:r=he[a(1481)]}){const[i,c]=wa({pos:t,x1:e,y1:n,x2:o,y2:x}),[d,s]=wa({pos:r,x1:o,y1:x,x2:e,y2:n}),[u,f,y,g]=rc({sourceX:e,sourceY:n,targetX:o,targetY:x,sourceControlX:i,sourceControlY:c,targetControlX:d,targetControlY:s});return["M"+e+","+n+" C"+i+","+c+" "+d+","+s+" "+o+","+x,u,f,y,g]}function pa(e){const n=a;return B[n(1312)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:c,targetPosition:d,label:s,labelStyle:u,labelShowBg:f,labelBgStyle:y,labelBgPadding:g,labelBgBorderRadius:p,style:h,markerEnd:b,markerStart:M,interactionWidth:v})=>{const m=n,[w,C,k]=va({sourceX:o,sourceY:x,sourcePosition:c,targetX:r,targetY:i,targetPosition:d}),O=e[m(1197)]?void 0:t;return l[m(1993)](rx,{id:O,path:w,labelX:C,labelY:k,label:s,labelStyle:u,labelShowBg:f,labelBgStyle:y,labelBgPadding:g,labelBgBorderRadius:p,style:h,markerEnd:b,markerStart:M,interactionWidth:v})})}const jh=pa({isInternal:!1}),ba=pa({isInternal:!0});jh[a(1495)]=a(465),ba[a(1495)]=a(1262);function za(e){const n=a;return B[n(1312)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,label:c,labelStyle:d,labelShowBg:s,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:y,style:g,sourcePosition:p=he[n(693)],targetPosition:h=he.Top,markerEnd:b,markerStart:M,pathOptions:v,interactionWidth:m})=>{const w=n,[C,k,O]=co({sourceX:o,sourceY:x,sourcePosition:p,targetX:r,targetY:i,targetPosition:h,borderRadius:v?.[w(1637)],offset:v?.[w(1120)],stepPosition:v?.stepPosition}),G=e[w(1197)]?void 0:t;return l[w(1993)](rx,{id:G,path:C,labelX:k,labelY:O,label:c,labelStyle:d,labelShowBg:s,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:y,style:g,markerEnd:b,markerStart:M,interactionWidth:m})})}const Ca=za({isInternal:!1}),Ma=za({isInternal:!0});Ca[a(1495)]=a(765),Ma[a(1495)]=a(1027);function Ba(e){return B.memo(({id:n,...t})=>{const o=_0x4806,x=e[o(1197)]?void 0:n;return l[o(1993)](Ca,{...t,id:x,pathOptions:B.useMemo(()=>({borderRadius:0,offset:t[o(1849)]?.[o(1120)]}),[t[o(1849)]?.offset])})})}const Eh=Ba({isInternal:!1}),Da=Ba({isInternal:!0});Eh[a(1495)]=a(1632),Da.displayName=a(875);function La(e){const n=a;return B[n(1312)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,label:c,labelStyle:d,labelShowBg:s,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:y,style:g,markerEnd:p,markerStart:h,interactionWidth:b})=>{const M=n,[v,m,w]=lc({sourceX:o,sourceY:x,targetX:r,targetY:i}),C=e[M(1197)]?void 0:t;return l[M(1993)](rx,{id:C,path:v,labelX:m,labelY:w,label:c,labelStyle:d,labelShowBg:s,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:y,style:g,markerEnd:p,markerStart:h,interactionWidth:b})})}const Yh=La({isInternal:!1}),Na=La({isInternal:!0});Yh[a(1495)]=a(1679),Na[a(1495)]="StraightEdgeInternal";function Sa(e){const n=a;return B[n(1312)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:c=he[n(693)],targetPosition:d=he[n(1481)],label:s,labelStyle:u,labelShowBg:f,labelBgStyle:y,labelBgPadding:g,labelBgBorderRadius:p,style:h,markerEnd:b,markerStart:M,pathOptions:v,interactionWidth:m})=>{const w=n,[C,k,O]=cc({sourceX:o,sourceY:x,sourcePosition:c,targetX:r,targetY:i,targetPosition:d,curvature:v?.curvature}),G=e[w(1197)]?void 0:t;return l[w(1993)](rx,{id:G,path:C,labelX:k,labelY:O,label:s,labelStyle:u,labelShowBg:f,labelBgStyle:y,labelBgPadding:g,labelBgBorderRadius:p,style:h,markerEnd:b,markerStart:M,interactionWidth:m})})}const Uh=Sa({isInternal:!1}),ka=Sa({isInternal:!0});Uh[a(1495)]=a(1494),ka.displayName=a(619);const Ia={default:ka,straight:Na,step:Da,smoothstep:Ma,simplebezier:ba},Pa={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},Gh=(e,n,t)=>{const o=a;return t===he[o(1010)]?e-n:t===he[o(1158)]?e+n:e},Oh=(e,n,t)=>t===he[a(1481)]?e-n:t===he.Bottom?e+n:e,Aa=a(1547);function ja({position:e,centerX:n,centerY:t,radius:o=10,onMouseDown:x,onMouseEnter:r,onMouseOut:i,type:c}){const d=a;return l[d(1993)]("circle",{onMouseDown:x,onMouseEnter:r,onMouseOut:i,className:Ge([Aa,Aa+"-"+c]),cx:Gh(n,o,e),cy:Oh(t,o,e),r:o,stroke:d(583),fill:d(583)})}function Hh({isReconnectable:e,reconnectRadius:n,edge:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:c,targetPosition:d,onReconnect:s,onReconnectStart:u,onReconnectEnd:f,setReconnecting:y,setUpdateHover:g}){const p=a,h=Ee(),b=(C,k)=>{const O=_0x4806;if(C[O(772)]!==0)return;const{autoPanOnConnect:G,domNode:j,connectionMode:A,connectionRadius:Z,lib:W,onConnectStart:q,cancelConnection:T,nodeLookup:N,rfId:D,panBy:L,updateConnection:U}=h[O(1740)](),P=k[O(1424)]===O(603),S=(R,$)=>{const xe=O;y(!1),f?.(R,t,k[xe(1424)],$)},K=R=>s?.(t,R),Q=(R,$)=>{const xe=O;y(!0),u?.(C,t,k[xe(1424)]),q?.(R,$)};mo[O(948)](C.nativeEvent,{autoPanOnConnect:G,connectionMode:A,connectionRadius:Z,domNode:j,handleId:k.id,nodeId:k[O(1626)],nodeLookup:N,isTarget:P,edgeUpdaterType:k.type,lib:W,flowId:D,cancelConnection:T,panBy:L,isValidConnection:(...R)=>h[O(1740)]()[O(1088)]?.(...R)??!0,onConnect:K,onConnectStart:Q,onConnectEnd:(...R)=>h[O(1740)]().onConnectEnd?.(...R),onReconnectEnd:S,updateConnection:U,getTransform:()=>h[O(1740)]()[O(1130)],getFromHandle:()=>h[O(1740)]()[O(1329)][O(456)],dragThreshold:h[O(1740)]().connectionDragThreshold,handleDomNode:C.currentTarget})},M=C=>b(C,{nodeId:t[p(603)],id:t[p(2069)]??null,type:p(603)}),v=C=>b(C,{nodeId:t[p(964)],id:t[p(2008)]??null,type:p(964)}),m=()=>g(!0),w=()=>g(!1);return l[p(1239)](l[p(915)],{children:[(e===!0||e===p(964))&&l[p(1993)](ja,{position:c,centerX:o,centerY:x,radius:n,onMouseDown:M,onMouseEnter:m,onMouseOut:w,type:"source"}),(e===!0||e==="target")&&l[p(1993)](ja,{position:d,centerX:r,centerY:i,radius:n,onMouseDown:v,onMouseEnter:m,onMouseOut:w,type:p(603)})]})}function Th({id:e,edgesFocusable:n,edgesReconnectable:t,elementsSelectable:o,onClick:x,onDoubleClick:r,onContextMenu:i,onMouseEnter:c,onMouseMove:d,onMouseLeave:s,reconnectRadius:u,onReconnect:f,onReconnectStart:y,onReconnectEnd:g,rfId:p,edgeTypes:h,noPanClassName:b,onError:M,disableKeyboardA11y:v}){const m=a;let w=Be(I=>I[m(986)].get(e));const C=Be(I=>I[m(1650)]);w=C?{...C,...w}:w;let k=w[m(1424)]||m(1582),O=h?.[k]||Ia[k];O===void 0&&(M?.(m(2e3),nn[m(1815)](k)),k=m(1582),O=h?.default||Ia[m(1582)]);const G=!!(w[m(1663)]||n&&typeof w[m(1663)]>"u"),j=typeof f!==m(1202)&&(w[m(399)]||t&&typeof w[m(399)]>"u"),A=!!(w[m(942)]||o&&typeof w[m(942)]===m(1202)),Z=B.useRef(null),[W,q]=B[m(655)](!1),[T,N]=B[m(655)](!1),D=Ee(),{zIndex:L,sourceX:U,sourceY:P,targetX:S,targetY:K,sourcePosition:Q,targetPosition:R}=Be(B.useCallback(I=>{const Y=m,X=I[Y(750)].get(w[Y(964)]),H=I[Y(750)][Y(1157)](w.target);if(!X||!H)return{zIndex:w.zIndex,...Pa};const oe=P2({id:e,sourceNode:X,targetNode:H,sourceHandle:w[Y(2008)]||null,targetHandle:w.targetHandle||null,connectionMode:I[Y(2138)],onError:M});return{zIndex:B2({selected:w.selected,zIndex:w[Y(540)],sourceNode:X,targetNode:H,elevateOnSelect:I.elevateEdgesOnSelect,zIndexMode:I[Y(2098)]}),...oe||Pa}},[w[m(964)],w.target,w[m(2008)],w[m(2069)],w[m(2178)],w[m(540)]]),je),$=B[m(528)](()=>w[m(1440)]?m(923)+ao(w.markerStart,p)+"')":void 0,[w.markerStart,p]),xe=B.useMemo(()=>w[m(573)]?m(923)+ao(w[m(573)],p)+"')":void 0,[w.markerEnd,p]);if(w[m(1821)]||U===null||P===null||S===null||K===null)return null;const ce=I=>{const Y=m,{addSelectedEdges:X,unselectNodesAndEdges:H,multiSelectionActive:oe}=D[Y(1740)]();A&&(D[Y(1766)]({nodesSelectionActive:!1}),w[Y(2178)]&&oe?(H({nodes:[],edges:[w]}),Z[Y(1560)]?.blur()):X([e])),x&&x(I,w)},de=r?I=>{r(I,{...w})}:void 0,fe=i?I=>{i(I,{...w})}:void 0,ie=c?I=>{c(I,{...w})}:void 0,J=d?I=>{d(I,{...w})}:void 0,re=s?I=>{s(I,{...w})}:void 0,_=I=>{const Y=m;if(!v&&Oi[Y(911)](I[Y(1460)])&&A){const{unselectNodesAndEdges:X,addSelectedEdges:H}=D[Y(1740)]();I[Y(1460)]===Y(483)?(Z[Y(1560)]?.blur(),X({edges:[w]})):H([e])}};return l[m(1993)]("svg",{style:{zIndex:L},children:l.jsxs("g",{className:Ge([m(1594),m(692)+k,w[m(710)],b,{selected:w[m(2178)],animated:w[m(1020)],inactive:!A&&!x,updating:W,selectable:A}]),onClick:ce,onDoubleClick:de,onContextMenu:fe,onMouseEnter:ie,onMouseMove:J,onMouseLeave:re,onKeyDown:G?_:void 0,tabIndex:G?0:void 0,role:w[m(1807)]??m(G?1728:916),"aria-roledescription":m(1551),"data-id":e,"data-testid":m(1448)+e,"aria-label":w[m(783)]===null?void 0:w.ariaLabel||m(2143)+w[m(964)]+" to "+w[m(603)],"aria-describedby":G?Wc+"-"+p:void 0,ref:Z,...w[m(1675)],children:[!T&&l[m(1993)](O,{id:e,source:w[m(964)],target:w[m(603)],type:w.type,selected:w[m(2178)],animated:w[m(1020)],selectable:A,deletable:w.deletable??!0,label:w.label,labelStyle:w.labelStyle,labelShowBg:w[m(2101)],labelBgStyle:w.labelBgStyle,labelBgPadding:w[m(1579)],labelBgBorderRadius:w[m(568)],sourceX:U,sourceY:P,targetX:S,targetY:K,sourcePosition:Q,targetPosition:R,data:w[m(1468)],style:w[m(1346)],sourceHandleId:w[m(2008)],targetHandleId:w[m(2069)],markerStart:$,markerEnd:xe,pathOptions:m(1849)in w?w[m(1849)]:void 0,interactionWidth:w[m(790)]}),j&&l.jsx(Hh,{edge:w,isReconnectable:j,reconnectRadius:u,onReconnect:f,onReconnectStart:y,onReconnectEnd:g,sourceX:U,sourceY:P,targetX:S,targetY:K,sourcePosition:Q,targetPosition:R,setUpdateHover:q,setReconnecting:N})]})})}var Vh=B[a(1312)](Th);const qh=e=>({edgesFocusable:e[a(2086)],edgesReconnectable:e[a(961)],elementsSelectable:e.elementsSelectable,connectionMode:e.connectionMode,onError:e[a(2133)]});function Ea({defaultMarkerColor:e,onlyRenderVisibleElements:n,rfId:t,edgeTypes:o,noPanClassName:x,onReconnect:r,onEdgeContextMenu:i,onEdgeMouseEnter:c,onEdgeMouseMove:d,onEdgeMouseLeave:s,onEdgeClick:u,reconnectRadius:f,onEdgeDoubleClick:y,onReconnectStart:g,onReconnectEnd:p,disableKeyboardA11y:h}){const b=a,{edgesFocusable:M,edgesReconnectable:v,elementsSelectable:m,onError:w}=Be(qh,je),C=Lh(n);return l[b(1239)](b(539),{className:b(763),children:[l.jsx(Ph,{defaultColor:e,rfId:t}),C[b(542)](k=>l[b(1993)](Vh,{id:k,edgesFocusable:M,edgesReconnectable:v,elementsSelectable:m,noPanClassName:x,onReconnect:r,onContextMenu:i,onMouseEnter:c,onMouseMove:d,onMouseLeave:s,onClick:u,reconnectRadius:f,onDoubleClick:y,onReconnectStart:g,onReconnectEnd:p,rfId:t,onError:w,edgeTypes:o,disableKeyboardA11y:h},k))]})}Ea[a(1495)]="EdgeRenderer";const Wh=B[a(1312)](Ea),Xh=e=>a(389)+e[a(1130)][0]+"px,"+e[a(1130)][1]+a(1575)+e[a(1130)][2]+")";function Kh({children:e}){const n=a,t=Be(Xh);return l[n(1993)](n(539),{className:n(1962),style:{transform:t},children:e})}function Zh(e){const n=a,t=Bo(),o=B[n(575)](!1);B[n(363)](()=>{const x=n;!o[x(1560)]&&t[x(1103)]&&e&&(setTimeout(()=>e(t),1),o[x(1560)]=!0)},[e,t[n(1103)]])}const Rh=e=>e[a(1788)]?.[a(388)];function Jh(e){const n=a,t=Be(Rh),o=Ee();return B[n(363)](()=>{const x=n;e&&(t?.(e),o.setState({transform:[e.x,e.y,e[x(1386)]]}))},[e,t]),null}function _h(e){const n=a;return e.connection.inProgress?{...e[n(1329)],to:e0(e[n(1329)].to,e[n(1130)])}:{...e[n(1329)]}}function Fh(e){return _h}function Qh(e){const n=Fh();return Be(n,je)}const $h=e=>({nodesConnectable:e.nodesConnectable,isValid:e[a(1329)][a(486)],inProgress:e[a(1329)][a(1311)],width:e[a(1238)],height:e[a(1265)]});function eg({containerStyle:e,style:n,type:t,component:o}){const x=a,{nodesConnectable:r,width:i,height:c,isValid:d,inProgress:s}=Be($h,je);return!(i&&r&&s)?null:l[x(1993)](x(719),{style:e,width:i,height:c,className:x(1007),children:l[x(1993)]("g",{className:Ge(["react-flow__connection",qi(d)]),children:l[x(1993)](Ya,{style:n,type:t,CustomComponent:o,isValid:d})})})}const Ya=({style:e,type:n=En[a(1181)],CustomComponent:t,isValid:o})=>{const x=a,{inProgress:r,from:i,fromNode:c,fromHandle:d,fromPosition:s,to:u,toNode:f,toHandle:y,toPosition:g,pointer:p}=Qh();if(!r)return;if(t)return l[x(1993)](t,{connectionLineType:n,connectionLineStyle:e,fromNode:c,fromHandle:d,fromX:i.x,fromY:i.y,toX:u.x,toY:u.y,fromPosition:s,toPosition:g,connectionStatus:qi(o),toNode:f,toHandle:y,pointer:p});let h="";const b={sourceX:i.x,sourceY:i.y,sourcePosition:s,targetX:u.x,targetY:u.y,targetPosition:g};switch(n){case En.Bezier:[h]=cc(b);break;case En[x(1392)]:[h]=va(b);break;case En[x(1914)]:[h]=co({...b,borderRadius:0});break;case En[x(1852)]:[h]=co(b);break;default:[h]=lc(b)}return l.jsx(x(1199),{d:h,fill:x(1712),className:x(2152),style:e})};Ya.displayName=a(1802);const ng={};function Ua(e=ng){const n=a,t=B[n(575)](e),o=Ee();B.useEffect(()=>{const x=n;if(process.env.NODE_ENV===x(515)){const r=new Set([...Object[x(1651)](t[x(1560)]),...Object[x(1651)](e)]);for(const i of r)if(t[x(1560)][i]!==e[i]){o[x(1740)]()[x(2133)]?.(x(1099),nn[x(1264)]());break}t[x(1560)]=e}},[e])}function tg(){const e=a,n=Ee(),t=B[e(575)](!1);B[e(363)](()=>{const o=e;if(process.env.NODE_ENV===o(515)&&!t.current){const x=document[o(1542)](o(580));x&&window[o(574)](x).zIndex!=="1"&&n.getState().onError?.(o(1077),nn[o(1118)](o(1978))),t[o(1560)]=!0}},[])}function Ga({nodeTypes:e,edgeTypes:n,onInit:t,onNodeClick:o,onEdgeClick:x,onNodeDoubleClick:r,onEdgeDoubleClick:i,onNodeMouseEnter:c,onNodeMouseMove:d,onNodeMouseLeave:s,onNodeContextMenu:u,onSelectionContextMenu:f,onSelectionStart:y,onSelectionEnd:g,connectionLineType:p,connectionLineStyle:h,connectionLineComponent:b,connectionLineContainerStyle:M,selectionKeyCode:v,selectionOnDrag:m,selectionMode:w,multiSelectionKeyCode:C,panActivationKeyCode:k,zoomActivationKeyCode:O,deleteKeyCode:G,onlyRenderVisibleElements:j,elementsSelectable:A,defaultViewport:Z,translateExtent:W,minZoom:q,maxZoom:T,preventScrolling:N,defaultMarkerColor:D,zoomOnScroll:L,zoomOnPinch:U,panOnScroll:P,panOnScrollSpeed:S,panOnScrollMode:K,zoomOnDoubleClick:Q,panOnDrag:R,onPaneClick:$,onPaneMouseEnter:xe,onPaneMouseMove:ce,onPaneMouseLeave:de,onPaneScroll:fe,onPaneContextMenu:ie,paneClickDistance:J,nodeClickDistance:re,onEdgeContextMenu:_,onEdgeMouseEnter:I,onEdgeMouseMove:Y,onEdgeMouseLeave:X,reconnectRadius:H,onReconnect:oe,onReconnectStart:le,onReconnectEnd:se,noDragClassName:ge,noWheelClassName:ve,noPanClassName:Ne,disableKeyboardA11y:ze,nodeExtent:ke,rfId:Ye,viewport:Ie,onViewportChange:Pe}){const Ae=a;return Ua(e),Ua(n),tg(),Zh(t),Jh(Ie),l[Ae(1993)](mh,{onPaneClick:$,onPaneMouseEnter:xe,onPaneMouseMove:ce,onPaneMouseLeave:de,onPaneContextMenu:ie,onPaneScroll:fe,paneClickDistance:J,deleteKeyCode:G,selectionKeyCode:v,selectionOnDrag:m,selectionMode:w,onSelectionStart:y,onSelectionEnd:g,multiSelectionKeyCode:C,panActivationKeyCode:k,zoomActivationKeyCode:O,elementsSelectable:A,zoomOnScroll:L,zoomOnPinch:U,zoomOnDoubleClick:Q,panOnScroll:P,panOnScrollSpeed:S,panOnScrollMode:K,panOnDrag:R,defaultViewport:Z,translateExtent:W,minZoom:q,maxZoom:T,onSelectionContextMenu:f,preventScrolling:N,noDragClassName:ge,noWheelClassName:ve,noPanClassName:Ne,disableKeyboardA11y:ze,onViewportChange:Pe,isControlledViewport:!!Ie,children:l.jsxs(Kh,{children:[l[Ae(1993)](Wh,{edgeTypes:n,onEdgeClick:x,onEdgeDoubleClick:i,onReconnect:oe,onReconnectStart:le,onReconnectEnd:se,onlyRenderVisibleElements:j,onEdgeContextMenu:_,onEdgeMouseEnter:I,onEdgeMouseMove:Y,onEdgeMouseLeave:X,reconnectRadius:H,defaultMarkerColor:D,noPanClassName:Ne,disableKeyboardA11y:ze,rfId:Ye}),l.jsx(eg,{style:h,type:p,component:b,containerStyle:M}),l.jsx(Ae(539),{className:Ae(1610)}),l[Ae(1993)](Dh,{nodeTypes:e,onNodeClick:o,onNodeDoubleClick:r,onNodeMouseEnter:c,onNodeMouseMove:d,onNodeMouseLeave:s,onNodeContextMenu:u,nodeClickDistance:re,onlyRenderVisibleElements:j,noPanClassName:Ne,noDragClassName:ge,disableKeyboardA11y:ze,nodeExtent:ke,rfId:Ye}),l[Ae(1993)](Ae(539),{className:Ae(612)})]})})}Ga[a(1495)]=a(653);const xg=B[a(1312)](Ga),Oa=({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:i,fitViewOptions:c,minZoom:d=.5,maxZoom:s=2,nodeOrigin:u,nodeExtent:f,zIndexMode:y=a(1750)}={})=>{const g=a,p=new Map,h=new Map,b=new Map,M=new Map,v=o??n??[],m=t??e??[],w=u??[0,0],C=f??Rt;vc(b,M,v);const{nodesInitialized:k}=fo(m,p,h,{nodeOrigin:w,nodeExtent:C,zIndexMode:y});let O=[0,0,1];if(i&&x&&r){const G=Ft(p,{filter:W=>!!((W.width||W.initialWidth)&&(W[g(1265)]||W[g(883)]))}),{x:j,y:A,zoom:Z}=ro(G,x,r,d,s,c?.padding??.1);O=[j,A,Z]}return{rfId:"1",width:x??0,height:r??0,transform:O,nodes:m,nodesInitialized:k,nodeLookup:p,parentLookup:h,edges:v,edgeLookup:M,connectionLookup:b,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:t!==void 0,hasDefaultEdges:o!==void 0,panZoom:null,minZoom:d,maxZoom:s,translateExtent:Rt,nodeExtent:C,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:yt.Strict,domNode:null,paneDragging:!1,noPanClassName:g(933),nodeOrigin:w,nodeDragThreshold:1,connectionDragThreshold:1,snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,nodesFocusable:!0,edgesFocusable:!0,edgesReconnectable:!0,elementsSelectable:!0,elevateNodesOnSelect:!0,elevateEdgesOnSelect:!0,selectNodesOnDrag:!0,multiSelectionActive:!1,fitViewQueued:i??!1,fitViewOptions:c,fitViewResolver:null,connection:{...Ti},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:Fi,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:"react",debug:!1,ariaLabelConfig:Hi,zIndexMode:y,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},og=({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:i,fitViewOptions:c,minZoom:d,maxZoom:s,nodeOrigin:u,nodeExtent:f,zIndexMode:y})=>C1((g,p)=>{async function h(){const b=_0x4806,{nodeLookup:M,panZoom:v,fitViewOptions:m,fitViewResolver:w,width:C,height:k,minZoom:O,maxZoom:G}=p();v&&(await w2({nodes:M,width:C,height:k,panZoom:v,minZoom:O,maxZoom:G},m),w?.[b(2192)](!0),g({fitViewResolver:null}))}return{...Oa({nodes:e,edges:n,width:x,height:r,fitView:i,fitViewOptions:c,minZoom:d,maxZoom:s,nodeOrigin:u,nodeExtent:f,defaultNodes:t,defaultEdges:o,zIndexMode:y}),setNodes:b=>{const{nodeLookup:M,parentLookup:v,nodeOrigin:m,elevateNodesOnSelect:w,fitViewQueued:C,zIndexMode:k,nodesSelectionActive:O}=p(),{nodesInitialized:G,hasSelectedNodes:j}=fo(b,M,v,{nodeOrigin:m,nodeExtent:f,elevateNodesOnSelect:w,checkEquality:!0,zIndexMode:k}),A=O&&j;C&&G?(h(),g({nodes:b,nodesInitialized:G,fitViewQueued:!1,fitViewOptions:void 0,nodesSelectionActive:A})):g({nodes:b,nodesInitialized:G,nodesSelectionActive:A})},setEdges:b=>{const{connectionLookup:M,edgeLookup:v}=p();vc(M,v,b),g({edges:b})},setDefaultNodesAndEdges:(b,M)=>{if(b){const{setNodes:v}=p();v(b),g({hasDefaultNodes:!0})}if(M){const{setEdges:v}=p();v(M),g({hasDefaultEdges:!0})}},updateNodeInternals:b=>{const M=_0x4806,{triggerNodeChanges:v,nodeLookup:m,parentLookup:w,domNode:C,nodeOrigin:k,nodeExtent:O,debug:G,fitViewQueued:j,zIndexMode:A}=p(),{changes:Z,updatedInternals:W}=H2(b,m,w,C,k,O,A);W&&(Y2(m,w,{nodeOrigin:k,nodeExtent:O,zIndexMode:A}),j?(h(),g({fitViewQueued:!1,fitViewOptions:void 0})):g({}),Z?.length>0&&(G&&console[M(365)]("React Flow: trigger node changes",Z),v?.(Z)))},updateNodePositions:(b,M=!1)=>{const v=_0x4806,m=[];let w=[];const{nodeLookup:C,triggerNodeChanges:k,connection:O,updateConnection:G,onNodesChangeMiddlewareMap:j}=p();for(const[A,Z]of b){const W=C[v(1157)](A),q=!!(W?.expandParent&&W?.[v(890)]&&Z?.position),T={id:A,type:v(1543),position:q?{x:Math.max(0,Z[v(1543)].x),y:Math[v(1439)](0,Z[v(1543)].y)}:Z[v(1543)],dragging:M};if(W&&O[v(1311)]&&O.fromNode.id===W.id){const N=$n(W,O[v(456)],he.Left,!0);G({...O,from:N})}q&&W[v(890)]&&m.push({id:A,parentId:W[v(890)],rect:{...Z[v(380)].positionAbsolute,width:Z.measured[v(1238)]??0,height:Z[v(1583)][v(1265)]??0}}),w[v(1465)](T)}if(m[v(2194)]>0){const{parentLookup:A,nodeOrigin:Z}=p(),W=go(m,C,A,Z);w[v(1465)](...W)}for(const A of j.values())w=A(w);k(w)},triggerNodeChanges:b=>{const M=_0x4806,{onNodesChange:v,setNodes:m,nodes:w,hasDefaultNodes:C,debug:k}=p();if(b?.[M(2194)]){if(C){const O=$c(b,w);m(O)}k&&console[M(365)](M(1928),b),v?.(b)}},triggerEdgeChanges:b=>{const M=_0x4806,{onEdgesChange:v,setEdges:m,edges:w,hasDefaultEdges:C,debug:k}=p();if(b?.[M(2194)]){if(C){const O=ea(b,w);m(O)}k&&console[M(365)](M(1898),b),v?.(b)}},addSelectedNodes:b=>{const M=_0x4806,{multiSelectionActive:v,edgeLookup:m,nodeLookup:w,triggerNodeChanges:C,triggerEdgeChanges:k}=p();if(v){const O=b[M(542)](G=>et(G,!0));C(O);return}C(Ct(w,new Set([...b]),!0)),k(Ct(m))},addSelectedEdges:b=>{const{multiSelectionActive:M,edgeLookup:v,nodeLookup:m,triggerNodeChanges:w,triggerEdgeChanges:C}=p();if(M){const k=b.map(O=>et(O,!0));C(k);return}C(Ct(v,new Set([...b]))),w(Ct(m,new Set,!0))},unselectNodesAndEdges:({nodes:b,edges:M}={})=>{const v=_0x4806,{edges:m,nodes:w,nodeLookup:C,triggerNodeChanges:k,triggerEdgeChanges:O}=p(),G=b||w,j=M||m,A=[];for(const W of G){if(!W[v(2178)])continue;const q=C[v(1157)](W.id);q&&(q[v(2178)]=!1),A[v(1465)](et(W.id,!1))}const Z=[];for(const W of j)W[v(2178)]&&Z[v(1465)](et(W.id,!1));k(A),O(Z)},setMinZoom:b=>{const M=_0x4806,{panZoom:v,maxZoom:m}=p();v?.[M(559)]([b,m]),g({minZoom:b})},setMaxZoom:b=>{const{panZoom:M,minZoom:v}=p();M?.setScaleExtent([v,b]),g({maxZoom:b})},setTranslateExtent:b=>{const M=_0x4806;p()[M(1788)]?.setTranslateExtent(b),g({translateExtent:b})},resetSelectedElements:()=>{const b=_0x4806,{edges:M,nodes:v,triggerNodeChanges:m,triggerEdgeChanges:w,elementsSelectable:C}=p();if(!C)return;const k=v[b(1606)]((G,j)=>j[b(2178)]?[...G,et(j.id,!1)]:G,[]),O=M[b(1606)]((G,j)=>j.selected?[...G,et(j.id,!1)]:G,[]);m(k),w(O)},setNodeExtent:b=>{const{nodes:M,nodeLookup:v,parentLookup:m,nodeOrigin:w,elevateNodesOnSelect:C,nodeExtent:k,zIndexMode:O}=p();b[0][0]===k[0][0]&&b[0][1]===k[0][1]&&b[1][0]===k[1][0]&&b[1][1]===k[1][1]||(fo(M,v,m,{nodeOrigin:w,nodeExtent:b,elevateNodesOnSelect:C,checkEquality:!1,zIndexMode:O}),g({nodeExtent:b}))},panBy:b=>{const{transform:M,width:v,height:m,panZoom:w,translateExtent:C}=p();return T2({delta:b,panZoom:w,transform:M,translateExtent:C,width:v,height:m})},setCenter:async(b,M,v)=>{const m=_0x4806,{width:w,height:C,maxZoom:k,panZoom:O}=p();if(!O)return Promise[m(2192)](!1);const G=typeof v?.[m(1386)]!==m(1202)?v[m(1386)]:k;return await O[m(1659)]({x:w/2-b*G,y:C/2-M*G,zoom:G},{duration:v?.[m(2056)],ease:v?.[m(2044)],interpolate:v?.[m(2172)]}),Promise.resolve(!0)},cancelConnection:()=>{g({connection:{...Ti}})},updateConnection:b=>{g({connection:b})},reset:()=>g({...Oa()})}},Object.is);function rg({initialNodes:e,initialEdges:n,defaultNodes:t,defaultEdges:o,initialWidth:x,initialHeight:r,initialMinZoom:i,initialMaxZoom:c,initialFitViewOptions:d,fitView:s,nodeOrigin:u,nodeExtent:f,zIndexMode:y,children:g}){const p=a,[h]=B[p(655)](()=>og({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:s,minZoom:i,maxZoom:c,fitViewOptions:d,nodeOrigin:u,nodeExtent:f,zIndexMode:y}));return l[p(1993)](M1,{value:h,children:l.jsx(K1,{children:g})})}function ig({children:e,nodes:n,edges:t,defaultNodes:o,defaultEdges:x,width:r,height:i,fitView:c,fitViewOptions:d,minZoom:s,maxZoom:u,nodeOrigin:f,nodeExtent:y,zIndexMode:g}){const p=a;return B[p(689)](ex)?l[p(1993)](l.Fragment,{children:e}):l.jsx(rg,{initialNodes:n,initialEdges:t,defaultNodes:o,defaultEdges:x,initialWidth:r,initialHeight:i,fitView:c,initialFitViewOptions:d,initialMinZoom:s,initialMaxZoom:u,nodeOrigin:f,nodeExtent:y,zIndexMode:g,children:e})}const cg={width:a(1805),height:a(1805),overflow:a(1821),position:"relative",zIndex:0};function ag({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,className:x,nodeTypes:r,edgeTypes:i,onNodeClick:c,onEdgeClick:d,onInit:s,onMove:u,onMoveStart:f,onMoveEnd:y,onConnect:g,onConnectStart:p,onConnectEnd:h,onClickConnectStart:b,onClickConnectEnd:M,onNodeMouseEnter:v,onNodeMouseMove:m,onNodeMouseLeave:w,onNodeContextMenu:C,onNodeDoubleClick:k,onNodeDragStart:O,onNodeDrag:G,onNodeDragStop:j,onNodesDelete:A,onEdgesDelete:Z,onDelete:W,onSelectionChange:q,onSelectionDragStart:T,onSelectionDrag:N,onSelectionDragStop:D,onSelectionContextMenu:L,onSelectionStart:U,onSelectionEnd:P,onBeforeDelete:S,connectionMode:K,connectionLineType:Q=En[a(1181)],connectionLineStyle:R,connectionLineComponent:$,connectionLineContainerStyle:xe,deleteKeyCode:ce=a(1246),selectionKeyCode:de=a(2109),selectionOnDrag:fe=!1,selectionMode:ie=Jt[a(485)],panActivationKeyCode:J=a(2132),multiSelectionKeyCode:re=n0()?a(1305):a(1062),zoomActivationKeyCode:_=n0()?a(1305):a(1062),snapToGrid:I,snapGrid:Y,onlyRenderVisibleElements:X=!1,selectNodesOnDrag:H,nodesDraggable:oe,autoPanOnNodeFocus:le,nodesConnectable:se,nodesFocusable:ge,nodeOrigin:ve=Xc,edgesFocusable:Ne,edgesReconnectable:ze,elementsSelectable:ke=!0,defaultViewport:Ye=U1,minZoom:Ie=.5,maxZoom:Pe=2,translateExtent:Ae=Rt,preventScrolling:Ve=!0,nodeExtent:tn,defaultMarkerColor:yn=a(564),zoomOnScroll:Je=!0,zoomOnPinch:rn=!0,panOnScroll:Xe=!1,panOnScrollSpeed:cn=.5,panOnScrollMode:an=Fn.Free,zoomOnDoubleClick:xn=!0,panOnDrag:mn=!0,onPaneClick:In,onPaneMouseEnter:_e,onPaneMouseMove:Bt,onPaneMouseLeave:Ke,onPaneScroll:Hn,onPaneContextMenu:We,paneClickDistance:Pn=1,nodeClickDistance:Dt=0,children:ko,onReconnect:Io,onReconnectStart:Po,onReconnectEnd:Ao,onEdgeContextMenu:jo,onEdgeDoubleClick:Eo,onEdgeMouseEnter:Yo,onEdgeMouseMove:Uo,onEdgeMouseLeave:sx,reconnectRadius:lx=10,onNodesChange:dx,onEdgesChange:ux,noDragClassName:fx=a(845),noWheelClassName:o0=a(1474),noPanClassName:Tn=a(933),fitView:Vn,fitViewOptions:hx,connectOnClick:Lt,attributionPosition:gx,proOptions:yx,defaultEdgeOptions:Go,elevateNodesOnSelect:Oo=!0,elevateEdgesOnSelect:mx=!1,disableKeyboardA11y:r0=!1,autoPanOnConnect:i0,autoPanOnNodeDrag:wx,autoPanSpeed:c0,connectionRadius:E,isValidConnection:V,onError:ne,style:te,id:ue,nodeDragThreshold:F,connectionDragThreshold:ee,viewport:ye,onViewportChange:we,width:me,height:Ce,colorMode:pe="light",debug:Se,onScroll:Oe,ariaLabelConfig:Fe,zIndexMode:wn=a(1750),...Ze},Le){const De=a,nt=ue||"1",vx=T1(pe),px=B.useCallback(bx=>{const a0=_0x4806;bx[a0(1153)][a0(741)]({top:0,left:0,behavior:a0(824)}),Oe?.(bx)},[Oe]);return l[De(1993)](De(539),{"data-testid":"rf__wrapper",...Ze,onScroll:px,style:{...te,...cg},ref:Le,className:Ge(["react-flow",x,vx]),id:ue,role:De(1871),children:l[De(1239)](ig,{nodes:e,edges:n,width:me,height:Ce,fitView:Vn,fitViewOptions:hx,minZoom:Ie,maxZoom:Pe,nodeOrigin:ve,nodeExtent:tn,zIndexMode:wn,children:[l.jsx(H1,{nodes:e,edges:n,defaultNodes:t,defaultEdges:o,onConnect:g,onConnectStart:p,onConnectEnd:h,onClickConnectStart:b,onClickConnectEnd:M,nodesDraggable:oe,autoPanOnNodeFocus:le,nodesConnectable:se,nodesFocusable:ge,edgesFocusable:Ne,edgesReconnectable:ze,elementsSelectable:ke,elevateNodesOnSelect:Oo,elevateEdgesOnSelect:mx,minZoom:Ie,maxZoom:Pe,nodeExtent:tn,onNodesChange:dx,onEdgesChange:ux,snapToGrid:I,snapGrid:Y,connectionMode:K,translateExtent:Ae,connectOnClick:Lt,defaultEdgeOptions:Go,fitView:Vn,fitViewOptions:hx,onNodesDelete:A,onEdgesDelete:Z,onDelete:W,onNodeDragStart:O,onNodeDrag:G,onNodeDragStop:j,onSelectionDrag:N,onSelectionDragStart:T,onSelectionDragStop:D,onMove:u,onMoveStart:f,onMoveEnd:y,noPanClassName:Tn,nodeOrigin:ve,rfId:nt,autoPanOnConnect:i0,autoPanOnNodeDrag:wx,autoPanSpeed:c0,onError:ne,connectionRadius:E,isValidConnection:V,selectNodesOnDrag:H,nodeDragThreshold:F,connectionDragThreshold:ee,onBeforeDelete:S,debug:Se,ariaLabelConfig:Fe,zIndexMode:wn}),l[De(1993)](xg,{onInit:s,onNodeClick:c,onEdgeClick:d,onNodeMouseEnter:v,onNodeMouseMove:m,onNodeMouseLeave:w,onNodeContextMenu:C,onNodeDoubleClick:k,nodeTypes:r,edgeTypes:i,connectionLineType:Q,connectionLineStyle:R,connectionLineComponent:$,connectionLineContainerStyle:xe,selectionKeyCode:de,selectionOnDrag:fe,selectionMode:ie,deleteKeyCode:ce,multiSelectionKeyCode:re,panActivationKeyCode:J,zoomActivationKeyCode:_,onlyRenderVisibleElements:X,defaultViewport:Ye,translateExtent:Ae,minZoom:Ie,maxZoom:Pe,preventScrolling:Ve,zoomOnScroll:Je,zoomOnPinch:rn,zoomOnDoubleClick:xn,panOnScroll:Xe,panOnScrollSpeed:cn,panOnScrollMode:an,panOnDrag:mn,onPaneClick:In,onPaneMouseEnter:_e,onPaneMouseMove:Bt,onPaneMouseLeave:Ke,onPaneScroll:Hn,onPaneContextMenu:We,paneClickDistance:Pn,nodeClickDistance:Dt,onSelectionContextMenu:L,onSelectionStart:U,onSelectionEnd:P,onReconnect:Io,onReconnectStart:Po,onReconnectEnd:Ao,onEdgeContextMenu:jo,onEdgeDoubleClick:Eo,onEdgeMouseEnter:Yo,onEdgeMouseMove:Uo,onEdgeMouseLeave:sx,reconnectRadius:lx,defaultMarkerColor:yn,noDragClassName:fx,noWheelClassName:o0,noPanClassName:Tn,rfId:nt,disableKeyboardA11y:r0,nodeExtent:tn,viewport:ye,onViewportChange:we}),l[De(1993)](Y1,{onSelectionChange:q}),ko,l[De(1993)](I1,{proOptions:yx,position:gx}),l.jsx(k1,{rfId:nt,disableKeyboardA11y:r0})]})})}var sg=oa(ag);function lg(e){const n=a,[t,o]=B[n(655)](e),x=B.useCallback(r=>o(i=>$c(r,i)),[]);return[t,o,x]}function dg(e){const n=a,[t,o]=B[n(655)](e),x=B.useCallback(r=>o(i=>ea(r,i)),[]);return[t,o,x]}function ug({dimensions:e,lineWidth:n,variant:t,className:o}){const x=a;return l[x(1993)](x(1199),{strokeWidth:n,d:"M"+e[0]/2+x(1173)+e[1]+x(867)+e[1]/2+" H"+e[0],className:Ge([x(582),t,o])})}function fg({radius:e,className:n}){const t=a;return l.jsx(t(1609),{cx:e,cy:e,r:e,className:Ge([t(582),t(1026),n])})}var Gn;(function(e){const n=a;e[n(1176)]="lines",e[n(879)]="dots",e[n(450)]=n(1263)})(Gn||(Gn={}));const hg={[Gn[a(879)]]:1,[Gn[a(1176)]]:1,[Gn[a(450)]]:6},gg=e=>({transform:e.transform,patternId:"pattern-"+e[a(1996)]});function Ha({id:e,variant:n=Gn.Dots,gap:t=20,size:o,lineWidth:x=1,offset:r=0,color:i,bgColor:c,style:d,className:s,patternClassName:u}){const f=a,y=B.useRef(null),{transform:g,patternId:p}=Be(gg,je),h=o||hg[n],b=n===Gn[f(879)],M=n===Gn[f(450)],v=Array[f(927)](t)?t:[t,t],m=[v[0]*g[2]||1,v[1]*g[2]||1],w=h*g[2],C=Array[f(927)](r)?r:[r,r],k=M?[w,w]:m,O=[C[0]*g[2]||1+k[0]/2,C[1]*g[2]||1+k[1]/2],G=""+p+(e||"");return l[f(1239)](f(719),{className:Ge([f(1164),s]),style:{...d,...xx,"--xy-background-color-props":c,"--xy-background-pattern-color-props":i},ref:y,"data-testid":f(2187),children:[l.jsx(f(1833),{id:G,x:g[0]%m[0],y:g[1]%m[1],width:m[0],height:m[1],patternUnits:f(2145),patternTransform:f(984)+O[0]+",-"+O[1]+")",children:b?l[f(1993)](fg,{radius:w/2,className:u}):l[f(1993)](ug,{dimensions:k,lineWidth:x,variant:n,className:u})}),l[f(1993)](f(885),{x:"0",y:"0",width:f(1805),height:f(1805),fill:f(896)+G+")"})]})}Ha[a(1495)]=a(1017);const yg=B[a(1312)](Ha);function mg(){const e=a;return l[e(1993)](e(719),{xmlns:e(1968),viewBox:e(518),children:l[e(1993)](e(1199),{d:e(1125)})})}function wg(){const e=a;return l[e(1993)](e(719),{xmlns:e(1968),viewBox:e(779),children:l[e(1993)](e(1199),{d:e(1793)})})}function vg(){const e=a;return l[e(1993)](e(719),{xmlns:e(1968),viewBox:"0 0 32 30",children:l.jsx(e(1199),{d:e(1060)})})}function pg(){const e=a;return l.jsx(e(719),{xmlns:e(1968),viewBox:e(379),children:l.jsx(e(1199),{d:e(1126)})})}function bg(){const e=a;return l[e(1993)]("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:e(379),children:l[e(1993)](e(1199),{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z"})})}function ix({children:e,className:n,...t}){const o=a;return l.jsx(o(772),{type:o(772),className:Ge([o(1600),n]),...t,children:e})}const zg=e=>({isInteractive:e.nodesDraggable||e[a(1986)]||e[a(1503)],minZoomReached:e[a(1130)][2]<=e.minZoom,maxZoomReached:e[a(1130)][2]>=e.maxZoom,ariaLabelConfig:e[a(1159)]});function Ta({style:e,showZoom:n=!0,showFitView:t=!0,showInteractive:o=!0,fitViewOptions:x,onZoomIn:r,onZoomOut:i,onFitView:c,onInteractiveChange:d,className:s,children:u,position:f="bottom-left",orientation:y=a(609),"aria-label":g}){const p=a,h=Ee(),{isInteractive:b,minZoomReached:M,maxZoomReached:v,ariaLabelConfig:m}=Be(zg,je),{zoomIn:w,zoomOut:C,fitView:k}=Bo(),O=()=>{w(),r?.()},G=()=>{C(),i?.()},j=()=>{k(x),c?.()},A=()=>{h[_0x4806(1766)]({nodesDraggable:!b,nodesConnectable:!b,elementsSelectable:!b}),d?.(!b)},Z=y===p(417)?p(417):p(609);return l.jsxs(nx,{className:Ge(["react-flow__controls",Z,s]),position:f,style:e,"data-testid":p(496),"aria-label":g??m[p(1531)],children:[n&&l[p(1239)](l[p(915)],{children:[l.jsx(ix,{onClick:O,className:p(1483),title:m["controls.zoomIn.ariaLabel"],"aria-label":m[p(511)],disabled:v,children:l.jsx(mg,{})}),l[p(1993)](ix,{onClick:G,className:p(682),title:m[p(1621)],"aria-label":m["controls.zoomOut.ariaLabel"],disabled:M,children:l[p(1993)](wg,{})})]}),t&&l.jsx(ix,{className:p(1687),onClick:j,title:m[p(1132)],"aria-label":m[p(1132)],children:l.jsx(vg,{})}),o&&l.jsx(ix,{className:p(937),onClick:A,title:m[p(1300)],"aria-label":m[p(1300)],children:b?l.jsx(bg,{}):l.jsx(pg,{})}),u]})}Ta.displayName=a(1738);const Cg=B[a(1312)](Ta);function Mg({id:e,x:n,y:t,width:o,height:x,style:r,color:i,strokeColor:c,strokeWidth:d,className:s,borderRadius:u,shapeRendering:f,selected:y,onClick:g}){const p=a,{background:h,backgroundColor:b}=r||{},M=i||h||b;return l[p(1993)](p(885),{className:Ge([p(522),{selected:y},s]),x:n,y:t,rx:u,ry:u,width:o,height:x,style:{fill:M,stroke:c,strokeWidth:d},shapeRendering:f,onClick:g?v=>g(v,e):void 0})}const Bg=B.memo(Mg),Dg=e=>e[a(1361)][a(542)](n=>n.id),So=e=>e instanceof Function?e:()=>e;function Lg({nodeStrokeColor:e,nodeColor:n,nodeClassName:t="",nodeBorderRadius:o=5,nodeStrokeWidth:x,nodeComponent:r=Bg,onClick:i}){const c=a,d=Be(Dg,je),s=So(n),u=So(e),f=So(t),y=typeof window>"u"||window[c(1089)]?c(1342):"geometricPrecision";return l[c(1993)](l[c(915)],{children:d[c(542)](g=>l[c(1993)](Sg,{id:g,nodeColorFunc:s,nodeStrokeColorFunc:u,nodeClassNameFunc:f,nodeBorderRadius:o,nodeStrokeWidth:x,NodeComponent:r,onClick:i,shapeRendering:y},g))})}function Ng({id:e,nodeColorFunc:n,nodeStrokeColorFunc:t,nodeClassNameFunc:o,nodeBorderRadius:x,nodeStrokeWidth:r,shapeRendering:i,NodeComponent:c,onClick:d}){const s=a,{node:u,x:f,y,width:g,height:p}=Be(h=>{const b=_0x4806,M=h[b(750)].get(e);if(!M)return{node:void 0,x:0,y:0,width:0,height:0};const v=M[b(380)].userNode,{x:m,y:w}=M[b(380)].positionAbsolute,{width:C,height:k}=kn(v);return{node:v,x:m,y:w,width:C,height:k}},je);return!u||u[s(1821)]||!Qi(u)?null:l[s(1993)](c,{x:f,y,width:g,height:p,style:u[s(1346)],selected:!!u[s(2178)],className:o(u),color:n(u),borderRadius:x,strokeColor:t(u),strokeWidth:r,shapeRendering:i,onClick:d,id:u.id})}const Sg=B[a(1312)](Ng);var kg=B.memo(Lg);const Ig=200,Pg=150,Ag=e=>!e.hidden,jg=e=>{const n=a,t={x:-e.transform[0]/e[n(1130)][2],y:-e[n(1130)][1]/e[n(1130)][2],width:e[n(1238)]/e.transform[2],height:e[n(1265)]/e[n(1130)][2]};return{viewBB:t,boundingRect:e.nodeLookup[n(1705)]>0?Ji(Ft(e[n(750)],{filter:Ag}),t):t,rfId:e[n(1996)],panZoom:e[n(1788)],translateExtent:e.translateExtent,flowWidth:e.width,flowHeight:e[n(1265)],ariaLabelConfig:e[n(1159)]}},Eg="react-flow__minimap-desc";function Va({style:e,className:n,nodeStrokeColor:t,nodeColor:o,nodeClassName:x="",nodeBorderRadius:r=5,nodeStrokeWidth:i,nodeComponent:c,bgColor:d,maskColor:s,maskStrokeColor:u,maskStrokeWidth:f,position:y=a(720),onClick:g,onNodeClick:p,pannable:h=!1,zoomable:b=!1,ariaLabel:M,inversePan:v,zoomStep:m=1,offsetScale:w=5}){const C=a,k=Ee(),O=B[C(575)](null),{boundingRect:G,viewBB:j,rfId:A,panZoom:Z,translateExtent:W,flowWidth:q,flowHeight:T,ariaLabelConfig:N}=Be(jg,je),D=e?.[C(1238)]??Ig,L=e?.[C(1265)]??Pg,U=G[C(1238)]/D,P=G[C(1265)]/L,S=Math[C(1439)](U,P),K=S*D,Q=S*L,R=w*S,$=G.x-(K-G[C(1238)])/2-R,xe=G.y-(Q-G[C(1265)])/2-R,ce=K+R*2,de=Q+R*2,fe=Eg+"-"+A,ie=B[C(575)](0),J=B[C(575)]();ie[C(1560)]=S,B[C(363)](()=>{const Y=C;if(O.current&&Z)return J.current=_2({domNode:O.current,panZoom:Z,getTransform:()=>k.getState()[Y(1130)],getViewScale:()=>ie[Y(1560)]}),()=>{const X=Y;J[X(1560)]?.[X(1624)]()}},[Z]),B[C(363)](()=>{const Y=C;J[Y(1560)]?.[Y(658)]({translateExtent:W,width:q,height:T,inversePan:v,pannable:h,zoomStep:m,zoomable:b})},[h,b,v,m,W,q,T]);const re=g?Y=>{const X=C,[H,oe]=J[X(1560)]?.[X(727)](Y)||[0,0];g(Y,{x:H,y:oe})}:void 0,_=p?B.useCallback((Y,X)=>{const H=C,oe=k[H(1740)]().nodeLookup[H(1157)](X)[H(380)][H(1220)];p(Y,oe)},[]):void 0,I=M??N[C(1379)];return l.jsx(nx,{position:y,style:{...e,"--xy-minimap-background-color-props":typeof d===C(774)?d:void 0,"--xy-minimap-mask-background-color-props":typeof s===C(774)?s:void 0,"--xy-minimap-mask-stroke-color-props":typeof u=="string"?u:void 0,"--xy-minimap-mask-stroke-width-props":typeof f===C(411)?f*S:void 0,"--xy-minimap-node-background-color-props":typeof o===C(774)?o:void 0,"--xy-minimap-node-stroke-color-props":typeof t===C(774)?t:void 0,"--xy-minimap-node-stroke-width-props":typeof i===C(411)?i:void 0},className:Ge([C(1781),n]),"data-testid":C(1932),children:l.jsxs(C(719),{width:D,height:L,viewBox:$+" "+xe+" "+ce+" "+de,className:C(2085),role:C(916),"aria-labelledby":fe,ref:O,onClick:re,children:[I&&l[C(1993)](C(1692),{id:fe,children:I}),l[C(1993)](kg,{onClick:_,nodeColor:o,nodeStrokeColor:t,nodeBorderRadius:r,nodeClassName:x,nodeStrokeWidth:i,nodeComponent:c}),l[C(1993)](C(1199),{className:C(1897),d:"M"+($-R)+","+(xe-R)+"h"+(ce+R*2)+"v"+(de+R*2)+"h"+(-ce-R*2)+C(1836)+j.x+","+j.y+"h"+j[C(1238)]+"v"+j[C(1265)]+"h"+-j[C(1238)]+"z",fillRule:C(1906),pointerEvents:C(1712)})]})})}Va[a(1495)]=a(1025);const Yg=B[a(1312)](Va),Ug=e=>n=>e?""+Math[a(1439)](1/n[a(1130)][2],1):void 0,Gg={[zt.Line]:a(1476),[zt[a(1222)]]:a(720)};function Og({nodeId:e,position:n,variant:t=zt[a(1222)],className:o,style:x=void 0,children:r,color:i,minWidth:c=10,minHeight:d=10,maxWidth:s=Number[a(1370)],maxHeight:u=Number[a(1370)],keepAspectRatio:f=!1,resizeDirection:y,autoScale:g=!0,shouldResize:p,onResizeStart:h,onResize:b,onResizeEnd:M}){const v=a,m=la(),w=typeof e===v(774)?e:m,C=Ee(),k=B[v(575)](null),O=t===zt.Handle,G=Be(B[v(1591)](Ug(O&&g),[O,g]),je),j=B[v(575)](null),A=n??Gg[t];B.useEffect(()=>{const W=v;if(!(!k.current||!w))return!j[W(1560)]&&(j[W(1560)]=l1({domNode:k[W(1560)],nodeId:w,getStoreItems:()=>{const q=W,{nodeLookup:T,transform:N,snapGrid:D,snapToGrid:L,nodeOrigin:U,domNode:P}=C[q(1740)]();return{nodeLookup:T,transform:N,snapGrid:D,snapToGrid:L,nodeOrigin:U,paneDomNode:P}},onChange:(q,T)=>{const N=W,{triggerNodeChanges:D,nodeLookup:L,parentLookup:U,nodeOrigin:P}=C.getState(),S=[],K={x:q.x,y:q.y},Q=L[N(1157)](w);if(Q&&Q[N(1714)]&&Q.parentId){const R=Q.origin??P,$=q[N(1238)]??Q[N(1583)].width??0,xe=q[N(1265)]??Q[N(1583)].height??0,ce={id:Q.id,parentId:Q[N(890)],rect:{width:$,height:xe,...$i({x:q.x??Q[N(1543)].x,y:q.y??Q.position.y},{width:$,height:xe},Q.parentId,L,R)}},de=go([ce],L,U,P);S[N(1465)](...de),K.x=q.x?Math.max(R[0]*$,q.x):void 0,K.y=q.y?Math[N(1439)](R[1]*xe,q.y):void 0}if(K.x!==void 0&&K.y!==void 0){const R={id:w,type:N(1543),position:{...K}};S[N(1465)](R)}if(q.width!==void 0&&q[N(1265)]!==void 0){const R=y?y===N(417)?"width":N(1265):!0,$={id:w,type:"dimensions",resizing:!0,setAttributes:R,dimensions:{width:q[N(1238)],height:q[N(1265)]}};S.push($)}for(const R of T){const $={...R,type:N(1543)};S.push($)}D(S)},onEnd:({width:q,height:T})=>{const N=W,D={id:w,type:"dimensions",resizing:!1,dimensions:{width:q,height:T}};C[N(1740)]()[N(1825)]([D])}})),j[W(1560)].update({controlPosition:A,boundaries:{minWidth:c,minHeight:d,maxWidth:s,maxHeight:u},keepAspectRatio:f,resizeDirection:y,onResizeStart:h,onResize:b,onResizeEnd:M,shouldResize:p}),()=>{const q=W;j[q(1560)]?.[q(1624)]()}},[A,c,d,s,u,f,h,b,M,p]);const Z=A.split("-");return l.jsx(v(539),{className:Ge([v(1115),v(845),...Z,t,o]),ref:k,style:{...x,scale:G,...i&&{[v(O?1473:1453)]:i}},children:r})}B[a(1312)](Og);const qa=e=>Symbol[a(2104)]in e,Wa=e=>"entries"in e,Xa=(e,n)=>{const t=a,o=e instanceof Map?e:new Map(e.entries()),x=n instanceof Map?n:new Map(n[t(1942)]());if(o[t(1705)]!==x[t(1705)])return!1;for(const[r,i]of o)if(!x[t(1826)](r)||!Object.is(i,x[t(1157)](r)))return!1;return!0},Hg=(e,n)=>{const t=a,o=e[Symbol[t(2104)]](),x=n[Symbol[t(2104)]]();let r=o[t(1991)](),i=x.next();for(;!r[t(416)]&&!i[t(416)];){if(!Object.is(r[t(1981)],i[t(1981)]))return!1;r=o[t(1991)](),i=x[t(1991)]()}return!!r[t(416)]&&!!i[t(416)]};function Tg(e,n){const t=a;return Object.is(e,n)?!0:typeof e!="object"||e===null||typeof n!==t(2171)||n===null||Object[t(759)](e)!==Object[t(759)](n)?!1:qa(e)&&qa(n)?Wa(e)&&Wa(n)?Xa(e,n):Hg(e,n):Xa({entries:()=>Object.entries(e)},{entries:()=>Object[t(1942)](n)})}const Ka={inlineScript:"内联脚本",dataRequest:a(1224),external:a(835),builtin:"内置动作"},Vg=[{label:a(1830),value:a(1642)},{label:a(1067),value:"switchCanvas"}],qg=[{label:a(1193),value:"info"},{label:a(2093),value:a(2093)},{label:a(1419),value:a(1419)},{label:"error",value:a(551)},{label:a(391),value:a(391)}];function Za(e,n,t){const o=a,x=t.filter(i=>i[o(603)]===e),r=x[o(2194)];return x.map((i,c)=>{const d=o,s=n[d(1876)](f=>f.id===i[d(964)]),u=s?.[d(1468)];return{sourceId:i[d(964)],sourceLabel:u?.[d(1834)]??i.source,edgeIndex:c,totalIncoming:r}})}const Wg=({data:e,id:n})=>{const t=a,{root:o}=He(),x=Be(B.useCallback(c=>Za(n,c[t(1361)],c[t(1337)]).map(({sourceId:d,sourceLabel:s})=>({sourceId:d,label:s})),[n]),Tg),r=e[t(1747)].executorType??"inlineScript",i=r===t(907)?e[t(1747)].dataRequestKey:r===t(717)?e.eventBlock[t(1673)]:r===t(1657)?e[t(1747)][t(770)]===t(1642)?e[t(1747)][t(770)]+": "+String(e[t(1747)][t(1854)]?.[t(962)]??"").slice(0,24):e[t(1747)][t(770)]==="switchCanvas"?"跳转: "+(o[t(1889)][t(1876)](c=>c.id===e.eventBlock[t(1854)]?.[t(1359)])?.[t(659)]??t(1694)):e[t(1747)][t(770)]:null;return l[t(1239)](t(539),{className:t(1674),children:[l[t(1993)](Mt,{type:t(603),position:he[t(1481)],className:t(2046)}),l[t(1239)](t(539),{className:t(1845),children:[l[t(1993)](t(1102),{className:t(584),children:e[t(1834)]}),l[t(1239)](z[t(2132)],{size:"small",children:[l[t(1993)](z[t(1804)],{type:t(1755),size:"small",icon:l[t(1993)](ae[t(1081)],{}),onClick:()=>e.onEdit(n)}),l[t(1993)](z[t(1804)],{type:"text",size:"small",danger:!0,icon:l[t(1993)](ae.DeleteOutlined,{}),onClick:()=>e[t(602)](n)})]})]}),l[t(1993)](t(539),{className:"text-xs mb-1",children:l.jsxs(z[t(2037)],{color:r===t(1196)?"default":r==="builtin"?t(1570):"purple",className:t(1992),children:[Ka[r],i?" · "+i:""]})}),l[t(1239)](t(539),{className:t(1259),children:[e[t(1747)][t(1008)]?.[t(2194)]>0&&l.jsxs("div",{children:[t(829),e[t(1747)][t(1008)][t(542)](c=>c[t(659)])[t(886)](", ")]}),x[t(2194)]>0&&l[t(1239)](t(539),{className:t(661),children:[t(1552),x[t(542)](c=>l[t(1239)](t(539),{className:"pl-1 border-l-2 border-amber-200",children:["←「",c[t(1834)],t(736)]},c.sourceId))]})]}),l[t(1993)](Mt,{type:"source",position:he.Bottom,className:"!bg-blue-500"})]})},Xg={eventBlock:Wg},Kg=Object[a(1942)](Ka)[a(542)](([e,n])=>({label:n,value:e})),Ra=[{label:"点击",value:a(1280)},{label:"鼠标按下",value:"mouseDown"},{label:a(1254),value:a(2077)},{label:"双击",value:a(1319)},{label:"鼠标移入",value:a(1746)},{label:"鼠标移出",value:"mouseLeave"},{label:a(1332),value:a(432)},{label:a(1708),value:a(1622)},{label:a(1301),value:"dataRequest"},{label:a(478),value:a(717)}];function Zg(e,n){const t=a,o={},x=[...e];return x[t(1369)]((r,i)=>{const c=t,d=n[c(1008)][i]?.[c(659)]??(x.length===1?c(853):c(853)+i);o[d]=c(1291)+r.source}),o}function Rg(e,n,t){const o=a;return t[e]?.[o(659)]??(n===1?o(853):o(853)+e)}const Jg=[{label:a(774),value:a(774)},{label:"number",value:a(411)},{label:a(1274),value:a(1274)},{label:"object",value:a(2171)},{label:a(1328),value:a(1328)}];function Ja(e){const n=a,t=Ra[n(1876)](x=>x[n(1981)]===e[n(1231)]),o=t?.[n(1834)]??e[n(1231)];if(e[n(1231)]===n(717)){const x=(e[n(1426)]||"").trim();return x?o+n(1289)+x:o}return o}const _g=({open:e,onClose:n,bindNodeId:t,editingRoot:o})=>{const x=a,{nodes:r,eventFlow:i,externalHandlerCatalog:c,addEventBlock:d,upsertEventBlock:s,removeEventBlock:u,addEventRoot:f,updateEventRoot:y,root:g}=He(),[p,h,b]=lg([]),[M,v,m]=dg([]),w=B[x(575)](p);w[x(1560)]=p;const[C,k]=B[x(655)](()=>o??null),[O,G]=B[x(655)](!1),[j]=z[x(457)][x(904)](),A=z[x(457)][x(1372)](x(1231),j),[Z,W]=B[x(655)](null),[q,T]=B[x(655)](!1),[N]=z[x(457)][x(904)](),D=z[x(457)][x(1372)]("executorType",N),L=z[x(457)][x(1372)](x(770),N),U=z[x(457)][x(1372)](x(1008),N),P=B[x(528)](()=>!q||!Z?[]:Za(Z.id,p,M),[q,Z,p,M]),S=B.useRef(()=>{}),K=B.useRef(()=>{});B[x(363)](()=>{const I=x;if(q&&Z){const Y=Z.builtinConfig??{},{outputs:X,...H}=Z;N[I(467)]({...H,executorType:Z[I(1771)]??"inlineScript",builtinId:Z[I(770)],inputs:Z.inputs??[],builtinConfig:{content:String(Y[I(962)]??""),level:String(Y[I(2067)]??I(1193)),duration:Y[I(2056)]===void 0||Y[I(2056)]===null?void 0:Number(Y[I(2056)])}})}},[q,Z,N]);const Q=B.useCallback(I=>{v(Y=>sc(I,Y))},[v]),R=I=>{const Y=x,X={bindNodeId:I[Y(1721)],eventType:I[Y(1231)],externalEventKey:I[Y(1231)]==="external"?(I[Y(1426)]||"").trim():void 0,flowData:{nodes:[],edges:[]},enabled:!0},H=f(X);k({...X,id:H}),j[Y(1801)](),G(!1),z.message[Y(2093)](Y(1234))},$=B[x(1591)](I=>{const Y=x;u(I),h(X=>X.filter(H=>H.id!==I)),v(X=>X[Y(1641)](H=>H[Y(964)]!==I&&H[Y(603)]!==I))},[u,h,v]),xe=B.useCallback(I=>{const Y=x,X=w[Y(1560)][Y(1876)](le=>le.id===I)?.data?.[Y(1747)],H=i.eventBlocks[Y(1876)](le=>le.id===I),oe=X??H;oe?(W({...oe,id:I}),T(!0)):z.message[Y(1419)]("找不到事件块")},[i[x(2188)]]);S[x(1560)]=xe,K[x(1560)]=$,B[x(363)](()=>{const I=x;if(e&&C){const Y=C[I(704)][I(1361)][I(542)](H=>({id:H.id,type:"eventBlock",position:H[I(1543)],data:{label:H.data[I(1834)],eventBlock:H[I(1468)].eventBlock,onEdit:oe=>S[I(1560)](oe),onDelete:oe=>K.current(oe)}})),X=C.flowData[I(1337)].map(H=>({id:H.id,source:H[I(964)],target:H[I(603)]}));h(Y),v(X)}},[e,C,h,v]);const ce=()=>{const I=x,Y={name:I(406),executorType:I(1196),callback:I(1218),inputs:[],outputs:[]},X=d(Y),H={...Y,id:X},oe={id:X,type:"eventBlock",position:{x:100+p[I(2194)]*50,y:100+p[I(2194)]*30},data:{label:H[I(659)],eventBlock:H,onEdit:le=>S[I(1560)](le),onDelete:le=>K[I(1560)](le)}};h(le=>[...le,oe])},de=()=>{const I=x,Y={name:"Message 提示",executorType:I(1657),builtinId:"antdMessage",builtinConfig:{content:I(1393),level:I(1193)},callback:I(752),inputs:[],outputs:[]},X=d(Y),H={...Y,id:X},oe={id:X,type:I(1747),position:{x:120+p[I(2194)]*50,y:140+p[I(2194)]*30},data:{label:H[I(659)],eventBlock:H,onEdit:le=>S[I(1560)](le),onDelete:le=>K.current(le)}};h(le=>[...le,oe])},fe=()=>{const I=x,Y={name:"跳转画布",executorType:"builtin",builtinId:"switchCanvas",builtinConfig:{targetCanvasId:g[I(1889)][0]?.id||""},callback:I(752),inputs:[],outputs:[]},X=d(Y),H={...Y,id:X},oe={id:X,type:I(1747),position:{x:120+p.length*50,y:140+p.length*30},data:{label:H.name,eventBlock:H,onEdit:le=>S[I(1560)](le),onDelete:le=>K.current(le)}};h(le=>[...le,oe])},ie=I=>{const Y=x;if(!Z)return;const X=I[Y(1771)]??Z[Y(1771)]??Y(1196),H={name:I[Y(659)],callback:I.callback??Z[Y(2029)],executorType:X,dataRequestKey:X===Y(907)?(I[Y(506)]||"")[Y(1258)]():void 0,externalHandlerKey:X===Y(717)?(I[Y(1673)]||"")[Y(1258)]():void 0,builtinId:X===Y(1657)?I[Y(770)]:void 0,builtinConfig:X==="builtin"&&I[Y(770)]===Y(1642)?{content:String(I[Y(1854)]?.[Y(962)]??"")[Y(1258)](),level:I[Y(1854)]?.[Y(2067)]||Y(1193),duration:I[Y(1854)]?.[Y(2056)]===null||I[Y(1854)]?.[Y(2056)]===void 0?void 0:Number(I[Y(1854)][Y(2056)])}:X===Y(1657)&&I.builtinId==="switchCanvas"?{targetCanvasId:String(I[Y(1854)]?.[Y(1359)]??"")[Y(1258)]()}:void 0},oe=I[Y(1008)]??[],le=oe[Y(1641)](ge=>ge?.[Y(659)]&&String(ge[Y(659)])[Y(1258)]()),se={...Z,...H,inputs:le,outputs:[]};s(se),h(ge=>ge.map(ve=>ve.id===Z.id?{...ve,data:{...ve[Y(1468)],label:se[Y(659)]||ve[Y(1468)][Y(1834)],eventBlock:se}}:ve)),T(!1),W(null),z.message[Y(2093)](Y(2208))},J=()=>{const I=x;if(!C)return;const Y=p[I(542)](H=>{const oe=I,le=M.filter(ve=>ve[oe(603)]===H.id),se=H.data[oe(1747)],ge={...se,outputs:[]};return{id:H.id,eventBlockId:H.id,position:H[oe(1543)],inputs:le[oe(542)](ve=>ve[oe(964)]),outputs:M[oe(1641)](ve=>ve[oe(964)]===H.id).map(ve=>ve[oe(603)]),data:{label:H[oe(1468)][oe(1834)],eventBlock:ge,inputMapping:Zg(le,ge)}}}),X=M[I(542)](H=>({id:H.id,source:H.source,target:H.target}));y(C.id,{flowData:{nodes:Y,edges:X}}),lt[I(1409)]({...C,flowData:{nodes:Y,edges:X}}),z[I(452)][I(2093)](I(768)),n()},re=B[x(528)](()=>r.map(I=>({label:I[x(659)],value:I.id})),[r]),_=B.useMemo(()=>t?i[x(1528)].filter(I=>I.bindNodeId===t):i.eventRoots,[i.eventRoots,t]);return e?l[x(1239)](z[x(1489)],{title:"事件流编辑器",open:e,onCancel:n,width:1200,footer:null,styles:{body:{height:700,padding:0}},children:[C?l[x(1239)](x(539),{className:x(525),style:{height:700},children:[l.jsxs("div",{className:x(1278),children:[l[x(1993)](z.Space,{children:l[x(1239)](x(1102),{className:x(1900),children:[x(1753),Ja(C)," →"," ",r.find(I=>I.id===C[x(1721)])?.[x(659)]]})}),l[x(1239)](z.Space,{children:[l[x(1993)](z.Button,{icon:l[x(1993)](ae[x(1442)],{}),onClick:ce,children:x(1963)}),l[x(1993)](z[x(1804)],{icon:l.jsx(ae[x(1442)],{}),onClick:de,children:x(512)}),l[x(1993)](z[x(1804)],{icon:l[x(1993)](ae[x(1442)],{}),onClick:fe,children:x(1067)}),l[x(1993)](z[x(1804)],{type:x(1236),icon:l[x(1993)](ae[x(1790)],{}),onClick:J,children:"保存"}),l[x(1993)](z[x(1804)],{icon:l[x(1993)](ae[x(1427)],{}),onClick:()=>k(null),children:x(396)})]})]}),l.jsx(x(539),{className:x(431),children:l[x(1239)](sg,{nodes:p,edges:M,onNodesChange:b,onEdgesChange:m,onConnect:Q,nodeTypes:Xg,fitView:!0,children:[l.jsx(yg,{}),l[x(1993)](Cg,{}),l[x(1993)](Yg,{})]})})]}):l.jsxs(x(539),{className:"p-6",children:[l[x(1239)](x(539),{className:x(1381),children:[l.jsx("h3",{className:x(913),children:x(552)}),l[x(1993)](z.Button,{type:x(1236),icon:l[x(1993)](ae[x(1442)],{}),onClick:()=>G(!0),children:x(993)})]}),l[x(1993)](z[x(1521)],{dataSource:_,renderItem:I=>l[x(1993)](z[x(1521)][x(1047)],{actions:[l.jsx(z[x(1804)],{type:x(1236),icon:l[x(1993)](ae[x(1081)],{}),onClick:()=>k(I),children:"编辑"},x(906))],children:l[x(1993)](z[x(1521)].Item[x(1305)],{title:l.jsxs(z[x(2132)],{children:[l.jsxs("span",{children:[x(2167),Ja(I)]}),l[x(1993)](z[x(2037)],{color:x(1306),children:r[x(1876)](Y=>Y.id===I.bindNodeId)?.[x(659)]||I.bindNodeId})]}),description:x(654)+I[x(704)][x(1361)].length+x(403)+I[x(704)][x(1337)][x(2194)]})}),locale:{emptyText:l.jsx(z[x(900)],{description:"暂无事件流"})}}),l.jsx(z[x(1489)],{title:x(993),open:O,onCancel:()=>{j[x(1801)](),G(!1)},footer:null,afterOpenChange:I=>{const Y=x;I&&(j.resetFields(),t&&j[Y(467)]({bindNodeId:t}))},children:l[x(1239)](z.Form,{form:j,onFinish:R,layout:x(609),children:[l[x(1993)](z[x(457)].Item,{name:"bindNodeId",label:"绑定节点",rules:[{required:!0,message:x(425)}],initialValue:t,children:l[x(1993)](z[x(462)],{options:re,placeholder:x(1602),disabled:!!t})}),l[x(1993)](z[x(457)][x(1047)],{name:x(1231),label:"触发方式",rules:[{required:!0,message:x(818)}],children:l[x(1993)](z[x(462)],{options:Ra,placeholder:x(1446)})}),A==="external"&&l[x(1993)](z.Form[x(1047)],{name:"externalEventKey",label:"外部事件标识",rules:[{required:!0,message:x(610)},{validator:(I,Y)=>(Y||"")[x(1258)]()?Promise[x(2192)]():Promise[x(1178)](new Error(x(1756)))}],extra:"与 eventBus.emitExternal(节点id, 该标识) 一致",children:l[x(1993)](z.Input,{placeholder:"例如:refresh"})}),l[x(1993)](z[x(457)].Item,{className:x(919),children:l.jsxs(z[x(2132)],{className:x(493),children:[l[x(1993)](z[x(1804)],{onClick:()=>{j[x(1801)](),G(!1)},children:"取消"}),l[x(1993)](z[x(1804)],{type:x(1236),htmlType:x(1851),children:"创建"})]})})]})})]}),l[x(1993)](z.Modal,{title:x(946),open:q,onCancel:()=>{T(!1),W(null)},footer:null,destroyOnClose:!0,children:l[x(1239)](z[x(457)],{form:N,onFinish:ie,layout:x(609),children:[l[x(1993)](z[x(457)][x(1047)],{name:x(659),label:"名称",rules:[{required:!0,message:x(1892)}],children:l[x(1993)](z[x(370)],{})}),l[x(1993)](z[x(457)].Item,{name:x(1771),label:x(1926),rules:[{required:!0,message:"请选择执行方式"}],children:l[x(1993)](z[x(462)],{options:Kg,placeholder:x(1048)})}),D==="builtin"&&l[x(1993)](z[x(457)][x(1047)],{name:x(770),label:x(428),rules:[{required:!0,message:x(557)}],children:l[x(1993)](z[x(462)],{options:Vg,placeholder:"选择具体内置能力"})}),D===x(1657)&&L===x(1642)&&l[x(1239)](l.Fragment,{children:[l[x(1993)](z[x(457)][x(1047)],{name:[x(1854),"content"],label:"提示内容",rules:[{required:!0,message:x(469)}],extra:x(2028),children:l[x(1993)](z.Input.TextArea,{rows:3,placeholder:"例如:保存成功 或 结果:{{prev}}"})}),l[x(1993)](z[x(457)].Item,{name:[x(1854),"level"],label:x(392),children:l[x(1993)](z[x(462)],{options:qg})}),l[x(1993)](z.Form[x(1047)],{name:[x(1854),"duration"],label:x(440),extra:x(1777),children:l[x(1993)](z[x(1783)],{min:0,step:.5,style:{width:x(1805)},placeholder:"默认"})})]}),D===x(1657)&&L==="switchCanvas"&&l[x(1993)](z.Form[x(1047)],{name:[x(1854),"targetCanvasId"],label:x(366),rules:[{required:!0,message:x(1203)}],children:l.jsx(z[x(462)],{placeholder:x(2118),options:g.canvases.map(I=>({value:I.id,label:I[x(659)]}))})}),D==="dataRequest"&&l[x(1993)](z[x(457)][x(1047)],{name:x(506),label:"请求标识",rules:[{required:!0,message:x(561)},{validator:(I,Y)=>(Y||"")[x(1258)]()?Promise[x(2192)]():Promise.reject(new Error(x(1756)))}],extra:"运行时 eventBus.setDefaultRuntimeHandlers({ dataRequest: { [标识]: (ctx, args) => ... } })",children:l.jsx(z[x(370)],{placeholder:x(775)})}),D===x(717)&&l[x(1993)](z.Form[x(1047)],{name:x(1673),label:x(1169),rules:[{required:!0,message:x(1541)},{validator:(I,Y)=>(Y||"")[x(1258)]()?Promise[x(2192)]():Promise[x(1178)](new Error(x(1756)))}],extra:c[x(2194)]>0?"来自 ConfigEditor 的 externalEventActions;也可在运行时 eventBus.mergeDefaultRuntimeHandlers({ external }) 补充":"未配置下拉时手动填写 key;宿主可用 ConfigEditor externalEventActions 注册选项与 handler,或 eventBus.mergeDefaultRuntimeHandlers",children:c[x(2194)]>0?l[x(1993)](z[x(462)],{showSearch:!0,optionFilterProp:"label",allowClear:!0,placeholder:x(1584),options:c[x(542)](I=>({value:I.key,label:I[x(1834)],title:I[x(2149)]?I[x(1834)]+x(677)+I.description:I.label+" ("+I[x(1460)]+")"}))}):l.jsx(z[x(370)],{placeholder:x(671)})}),D==="inlineScript"&&l[x(1993)](z.Form[x(1047)],{name:"callback",label:x(2127),rules:[{validator:(I,Y)=>{const X=x;return typeof Y=="string"&&Y[X(1258)]()?Promise[X(2192)]():Promise.reject(new Error(X(1634)))}}],children:l[x(1993)](z[x(370)].TextArea,{rows:6,placeholder:x(2052)})}),P.length>0&&l.jsxs(x(539),{className:x(889),children:[l.jsx("div",{className:x(1397),children:x(944)}),l[x(1993)]("ul",{className:"list-none space-y-2 m-0 p-0",children:P[x(542)](I=>{const Y=x,X=U??Z?.[Y(1008)]??[],H=Rg(I[Y(441)],I[Y(1522)],X);return l[Y(1239)]("li",{className:"pl-2 border-l-2 border-amber-300",children:[l[Y(1239)](Y(539),{className:"text-gray-800",children:["第 ",I[Y(441)]+1," 条入边 ←「",I[Y(806)],"」:上游",l[Y(1993)](Y(1910),{children:Y(969)})," →"," ",l[Y(1239)]("code",{className:Y(751),children:[Y(832),H]})]}),l[Y(1239)](Y(539),{className:"text-gray-600 mt-0.5",children:["在下方第 ",I[Y(441)]+1,Y(536)]})]},I[Y(1774)])})})]}),l[x(1993)](x(539),{className:"font-medium text-gray-800 mb-2",children:x(1464)}),l.jsxs(x(539),{className:x(1717),children:[x(641)," ",l[x(1993)](x(1556),{children:x(1235)}),",多入边用 ",l[x(1993)](x(1556),{children:x(2203)}),"、",l[x(1993)](x(1556),{children:x(1979)}),"…"]}),l[x(1993)](z.Form[x(1521)],{name:x(1008),children:(I,{add:Y,remove:X})=>l[x(1239)](l[x(915)],{children:[I[x(542)](({key:H,name:oe,...le})=>l[x(1239)](z[x(2132)],{align:x(1041),wrap:!0,className:x(590),children:[l.jsx(z[x(457)][x(1047)],{...le,name:[oe,x(659)],rules:[{required:!0,message:"名称"}],children:l[x(1993)](z[x(370)],{placeholder:"参数名,如 A",style:{width:140}})}),l[x(1993)](z[x(457)][x(1047)],{...le,name:[oe,"type"],initialValue:"any",children:l.jsx(z[x(462)],{options:Jg,style:{width:100}})}),l[x(1993)](ae.MinusCircleOutlined,{className:"text-gray-400 hover:text-red-500 cursor-pointer",onClick:()=>X(oe)})]},H)),l.jsx(z[x(1804)],{type:"dashed",onClick:()=>Y({type:x(1328)}),block:!0,icon:l.jsx(ae[x(1442)],{}),children:x(1646)})]})}),l.jsx(z[x(457)].Item,{className:"mb-0 mt-4",children:l[x(1239)](z[x(2132)],{className:x(493),children:[l.jsx(z.Button,{onClick:()=>{T(!1),W(null)},children:"取消"}),l[x(1993)](z[x(1804)],{type:"primary",htmlType:x(1851),children:"保存"})]})})]})})]}):null},cx={click:"点击",mouseDown:a(1340),mouseUp:"鼠标释放",doubleClick:"双击",mouseOver:"鼠标移入",mouseLeave:a(1890),mouseEnter:"鼠标进入",contextMenu:a(1708),dataRequest:a(1301),external:a(478)};function Fg(e){const n=a;if(e[n(1231)]===n(717)){const t=(e.externalEventKey||"")[n(1258)]();return t?cx[n(717)]+" · "+t:cx.external}return cx[e[n(1231)]]}const Qg=Object[a(1942)](cx)[a(542)](([e,n])=>({label:n,value:e})),$g=({nodeId:e})=>{const n=a,{eventFlow:t,addEventRoot:o,updateEventRoot:x,removeEventRoot:r}=He(),[i,c]=B[n(655)](!1),[d,s]=B[n(655)](null),[u,f]=B[n(655)](!1),[y]=z.Form.useForm(),g=z.Form.useWatch("eventType",y),p=B[n(528)](()=>{const m=n;return t[m(1528)][m(1641)](w=>w.bindNodeId===e)},[t[n(1528)],e]),h=m=>{const w=n,C={bindNodeId:e,eventType:m[w(1231)],externalEventKey:m[w(1231)]===w(717)?(m[w(1426)]||"")[w(1258)]():void 0,flowData:{nodes:[],edges:[]},enabled:!0};o(C),y[w(1801)](),f(!1)},b=m=>{s(m),c(!0)},M=(m,w)=>{x(m.id,{enabled:w})},v=m=>{r(m)};return l.jsxs(n(539),{children:[l[n(1239)]("div",{className:n(1381),children:[l.jsx("h4",{className:"text-sm font-medium",children:"事件流绑定"}),l[n(1993)](z[n(1804)],{type:n(1236),size:n(398),icon:l.jsx(ae[n(1442)],{}),onClick:()=>f(!0),children:n(1021)})]}),l[n(1993)](z.List,{dataSource:p,renderItem:m=>l[n(1993)](z[n(1521)][n(1047)],{actions:[l.jsx(z.Switch,{checked:m.enabled,size:"small",onChange:w=>M(m,w)},n(811)),l.jsx(z[n(1804)],{type:n(1755),size:n(398),icon:l[n(1993)](ae[n(1081)],{}),onClick:()=>b(m)},n(906)),l[n(1993)](z[n(813)],{title:n(1357),description:n(825),onConfirm:()=>v(m.id),children:l.jsx(z[n(1804)],{type:n(1755),danger:!0,size:n(398),icon:l[n(1993)](ae[n(1096)],{})})},n(1147))],children:l[n(1993)](z[n(1521)][n(1047)][n(1305)],{title:l[n(1239)](z[n(2132)],{children:[l[n(1993)](z[n(2037)],{color:m.enabled?n(1306):"default",children:Fg(m)}),l[n(1239)](n(1102),{className:n(1179),children:[m[n(704)][n(1361)].length," 个节点"]})]}),description:m.enabled?l[n(1993)]("span",{className:n(1886),children:n(2134)}):l[n(1993)](n(1102),{className:n(1179),children:n(1597)})})}),locale:{emptyText:l[n(1993)](z.Empty,{image:z[n(900)][n(592)],description:n(2031)})}}),l[n(1993)](z[n(1489)],{title:"添加事件流",open:u,onCancel:()=>{y[n(1801)](),f(!1)},footer:null,afterOpenChange:m=>{m&&y.resetFields()},children:l.jsxs(z[n(457)],{form:y,onFinish:h,layout:"vertical",children:[l[n(1993)](z.Form[n(1047)],{name:n(1231),label:"触发方式",rules:[{required:!0,message:n(818)}],children:l[n(1993)](z.Select,{options:Qg,placeholder:n(1050)})}),g==="external"&&l.jsx(z[n(457)][n(1047)],{name:n(1426),label:n(1723),rules:[{required:!0,message:n(610)},{validator:(m,w)=>(w||"")[n(1258)]()?Promise[n(2192)]():Promise[n(1178)](new Error("标识不能为空"))}],extra:"与运行时 eventBus.emitExternal(节点id, 该标识) 一致,例如:refresh、dialog:opened",children:l[n(1993)](z[n(370)],{placeholder:n(1288)})}),l.jsx(z[n(457)][n(1047)],{className:n(919),children:l[n(1239)](z.Space,{className:n(493),children:[l.jsx(z.Button,{onClick:()=>f(!1),children:"取消"}),l[n(1993)](z[n(1804)],{type:"primary",htmlType:n(1851),children:"创建"})]})})]})}),l.jsx(_g,{open:i,onClose:()=>{c(!1),s(null)},bindNodeId:e,editingRoot:d},d?.id??n(372)+e)]})},{Panel:On}=z[a(472)],{TabPane:ax}=z[a(635)],{TextArea:e5}=z[a(370)],_a=({defaultTestData:e})=>{const n=a,{nodes:t,selectedNodeId:o,updateNode:x,updateNodeStyle:r,updateNodeControl:i,updateNodeContent:c,materials:d,selectedStatusId:s,selectStatus:u}=He(),[f]=z[n(457)][n(904)](),[y,g]=B[n(655)](n(1750)),[p,h]=B[n(655)](!1),[b,M]=B[n(655)](null),[v,m]=B[n(655)]({}),w=B[n(528)](()=>t[n(1876)](L=>L.id===o),[t,o]),C=w?.contentInfo[n(1247)]||[],k=D=>{const L=n;o&&(D[L(721)]&&r(o,D[L(721)]),D.name!==void 0&&x(o,{name:D.name}),D[L(814)]&&i(o,D[L(814)]))};console[n(365)](o,"selectedNodeId",w),B[n(363)](()=>{const D=n;w&&w&&(f[D(467)]({name:w.name,normalStyle:{width:100,height:100,x:0,y:0,padding:8,background:"transparent",borderRadius:0,opacity:1,...w.normalStyle},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0,...w.controlInfo}}),u(null))},[w,u,f]);const O=()=>{!o||!w||(M("new"),h(!0))},G=D=>{const L=n;if(!o||!w)return;const U={id:be.nanoid(),name:D[L(659)]+"_状态"+(C[L(2194)]+1),expression:C.length===0?L(945):"return false;",material:{...D,id:be[L(1161)]()},boundDatasetId:null};if(b===L(2204)){const P=[...C,U];c(o,{statusList:P})}else if(b){const P=C[L(542)](S=>{const K=L;return S.id===b?{...S,material:{...D,id:be[K(1161)]()}}:S});c(o,{statusList:P})}h(!1),M(null)},j=D=>{const L=n;if(!o||!w)return;const U=w[L(1537)][L(1247)]?.filter(P=>P.id!==D)||[];c(o,{statusList:U}),s===D&&u(null)},A=(D,L)=>{const U=n;if(!o||!w)return;const P=w.contentInfo[U(1247)]?.[U(542)](S=>S.id===D?{...S,...L}:S)||[];c(o,{statusList:P})},Z=D=>{const L=n;if(!o||!w)return;const U={...D,id:be[L(1161)](),name:D[L(659)]+L(715),expression:L(1185)},P=[...C,U];c(o,{statusList:P})},W=(D,L)=>{const U=n;if(!o||!w)return;const P=C[U(626)](K=>K.id===D);if(P===-1)return;const S=[...C];L==="up"&&P>0?[S[P],S[P-1]]=[S[P-1],S[P]]:L===U(1387)&&P<S[U(2194)]-1&&([S[P],S[P+1]]=[S[P+1],S[P]]),c(o,{statusList:S})},q=D=>{M(D),h(!0)},T=(D,L)=>{const U=n,P=L[U(713)]||{},S=P[U(1555)]??0,K=P.startY??0,Q=P.endX??100,R=P[U(1488)]??0,$=Math[U(1439)]((P[U(2123)]||P[U(1832)]||2)*2,4),xe=Math.min(S,Q),ce=Math.min(K,R),de=Math[U(1439)](S,Q),fe=Math[U(1439)](K,R),ie=Math[U(1439)](de-xe,$),J=Math[U(1439)](fe-ce,$),re=D[U(721)].x||0,_=D[U(721)].y||0;return{material:{...L,config:{...P,startX:S-xe,startY:K-ce,endX:Q-xe,endY:R-ce}},box:{x:re+xe,y:_+ce,width:ie,height:J}}},N=(D,L)=>{const U=n;if(!o||!w)return;const{list:P,lineBox:S}=C[U(1606)]((K,Q)=>{const R=U;if(Q.id!==D)return K[R(1073)][R(1465)](Q),K;let $;if(Q[R(600)][R(1424)]==="LINE"&&"config"in L&&L[R(713)]!==void 0){const xe=Q[R(600)],ce=L[R(713)];$={...xe,...L,config:{...xe[R(713)]||{},...ce}}}else $={...Q[R(600)],...L};if($[R(1424)]===R(1881)){const{material:xe,box:ce}=T(w,$);return K[R(1073)][R(1465)]({...Q,material:xe}),K[R(2108)]=ce,K}return K.list[R(1465)]({...Q,material:$}),K},{list:[],lineBox:null});S!==null?x(o,{normalStyle:{...w[U(721)],x:S.x,y:S.y,width:S[U(1238)],height:S.height},contentInfo:{...w[U(1537)],statusList:P}}):c(o,{statusList:P})};return w?l[n(1239)]("div",{className:n(1798),children:[l[n(1239)](n(539),{className:n(1401),children:[l.jsx("h3",{className:n(1036),children:n(435)}),l.jsx("p",{className:n(2073),children:n(2121)})]}),l[n(1993)](n(539),{className:n(1678),children:l[n(1239)](z[n(635)],{activeKey:y,onChange:g,children:[l[n(1993)](ax,{tab:"基础",children:l[n(1239)](z.Form,{form:f,layout:n(609),onValuesChange:k,initialValues:{name:w[n(659)]},children:[l[n(1993)](z.Form[n(1047)],{label:n(1148),name:"name",children:l.jsx(z[n(370)],{placeholder:"输入节点名称"})}),l[n(1239)](z[n(472)],{ghost:!0,defaultActiveKey:["position","size",n(1346)],children:[l[n(1993)](On,{header:"位置",children:l[n(1239)](z[n(2132)],{children:[l[n(1993)](z[n(457)][n(1047)],{label:"X",name:["normalStyle","x"],children:l[n(1993)](z[n(1783)],{})}),l[n(1993)](z.Form[n(1047)],{label:"Y",name:[n(721),"y"],children:l.jsx(z.InputNumber,{})})]})},n(1543)),l.jsx(On,{header:"尺寸",children:l[n(1239)](z[n(2132)],{children:[l.jsx(z[n(457)][n(1047)],{label:"宽度",name:["normalStyle",n(1238)],children:l.jsx(z[n(1783)],{min:10})}),l.jsx(z.Form[n(1047)],{label:"高度",name:[n(721),"height"],children:l[n(1993)](z.InputNumber,{min:10})})]})},n(1705)),l[n(1239)](On,{header:"样式",children:[l[n(1993)](z[n(457)].Item,{label:"背景色",name:[n(721),n(451)],children:l[n(1993)](z[n(370)],{placeholder:n(2139)})}),l.jsx(z.Form[n(1047)],{label:n(1550),name:[n(721),"padding"],children:l.jsx(z[n(1783)],{min:0})}),l.jsx(z[n(457)].Item,{label:"圆角",name:["normalStyle",n(1637)],children:l[n(1993)](z[n(1783)],{min:0})}),l[n(1993)](z[n(457)][n(1047)],{label:n(665),name:[n(721),"scale"],help:n(1940),children:l[n(1993)](z[n(1783)],{min:.1,max:5,step:.1})}),!w[n(1537)].statusList.some(D=>D.material[n(1424)]===n(1881))&&l[n(1993)](z.Form[n(1047)],{label:"旋转角度",name:[n(721),"rotate"],help:n(1149),children:l[n(1993)](z[n(1783)],{min:0,max:360,step:1})}),l.jsx(z.Form[n(1047)],{label:n(1868),name:["normalStyle",n(981)],children:l[n(1993)](z[n(1783)],{min:0,max:1,step:.1})}),l[n(1993)](z.Form[n(1047)],{label:"层级",name:[n(721),n(540)],children:l.jsx(z[n(1783)],{})})]},n(1346))]})]})},n(1750)),l[n(1993)](ax,{tab:"状态",children:w[n(1424)]===n(1728)&&w[n(514)]?l.jsx(Al,{node:w,updateNode:x,materials:d}):l[n(1239)](n(539),{className:"mb-4",children:[l[n(1239)](n(539),{className:n(1845),children:[l[n(1239)]("span",{className:n(1900),children:[n(1145),l[n(1993)](z[n(2037)],{color:"blue",className:n(1035),children:C[n(2194)]})]}),l[n(1993)](z[n(1804)],{type:"primary",size:"small",icon:l[n(1993)](ae[n(1442)],{}),onClick:O,children:"添加状态"})]}),l.jsx("p",{className:"text-xs text-gray-500 mb-3",children:n(826)}),C[n(2194)]>0&&l[n(1993)](n(539),{className:"mb-4 p-3 bg-blue-50 border border-blue-200 rounded-lg",children:l[n(1993)](n(539),{className:n(556),children:l[n(1239)](n(539),{children:[l.jsx(n(1102),{className:"text-sm text-gray-600",children:n(1131)}),l[n(1993)](n(1102),{className:n(433),children:n(2110)})]})})}),C[n(2194)]===0?l.jsx("div",{className:n(1848),children:"暂无状态,点击上方按钮添加"}):l[n(1993)](z.Collapse,{ghost:!0,defaultActiveKey:C[0]?.id+o,children:C[n(542)]((D,L)=>l[n(1993)](On,{header:l[n(1239)]("div",{className:n(1266),children:[l.jsx(n(1102),{className:n(718),children:L+1}),l[n(1993)](n(1102),{className:n(1900),children:D[n(659)]}),l[n(1993)](z[n(2037)],{color:n(1582),className:"text-xs",children:D[n(600)][n(1424)]})]}),extra:l[n(1239)](z.Space,{size:n(398),onClick:U=>U[n(1064)](),children:[l.jsx(z.Button,{type:n(1755),size:n(398),icon:l[n(1993)](ae[n(1592)],{}),disabled:L===0,onClick:U=>{U.stopPropagation(),W(D.id,"up")}}),l[n(1993)](z[n(1804)],{type:"text",size:n(398),icon:l.jsx(ae[n(1882)],{}),disabled:L===C[n(2194)]-1,onClick:U=>{const P=n;U[P(1064)](),W(D.id,P(1387))}}),l[n(1993)](z[n(1804)],{type:"text",size:"small",icon:l[n(1993)](ae.CopyOutlined,{}),onClick:U=>{U[n(1064)](),Z(D)}}),l[n(1993)](z[n(1804)],{type:n(1755),size:"small",danger:!0,icon:l[n(1993)](ae.DeleteOutlined,{}),onClick:U=>{U[n(1064)](),j(D.id)}})]}),children:l.jsxs(z[n(457)],{layout:n(609),children:[l[n(1993)](z[n(457)][n(1047)],{label:"状态名称",children:l[n(1993)](z[n(370)],{value:D[n(659)],onChange:U=>A(D.id,{name:U.target[n(1981)]}),placeholder:n(2001)})}),l.jsx(qr,{status:D,onUpdate:U=>A(D.id,U),onAppendToExpression:U=>{const P=n;m(S=>({...S,[D.id]:(S[D.id]??D[P(816)])+U}))}}),l[n(1993)](z[n(457)][n(1047)],{label:n(995),help:"单参数 data(对象):由数据池 sample(若已绑定)与画布运行时数据合并;测点数组会按 paramsCode 写入 data。须 return true/false。",children:l[n(1993)](e5,{value:v[D.id]??D[n(816)],onChange:U=>m(P=>({...P,[D.id]:U[n(603)].value})),onBlur:U=>{const P=n;A(D.id,{expression:U[P(603)][P(1981)]}),m(S=>{const K={...S};return delete K[D.id],K})},rows:3,placeholder:"return true;"})}),l[n(1993)](z[n(457)].Item,{label:n(1491),children:l[n(1239)](n(539),{className:"flex items-center gap-2",children:[l.jsx(z[n(2037)],{color:n(1306),children:D[n(600)][n(659)]}),l.jsx(z[n(2037)],{color:n(1582),children:D[n(600)][n(1424)]}),l.jsx(z[n(1804)],{type:n(537),size:n(398),icon:l[n(1993)](ae[n(1081)],{}),onClick:()=>q(D.id),children:n(749)})]})}),l.jsx(z.Divider,{style:{margin:n(1860)}}),l[n(1239)]("div",{className:"bg-gray-50 rounded-lg p-3 border border-gray-200",children:[l[n(1239)](n(539),{className:n(1845),children:[l.jsx(n(1102),{className:n(596),children:n(1893)}),l[n(1993)](z[n(2037)],{children:D.material[n(659)]})]}),l[n(1993)](Wr,{material:D.material,onSave:U=>N(D.id,U)})]})]})},D.id+o))})]})},n(1982)),l[n(1993)](ax,{tab:"控制",children:l.jsxs(z.Form,{form:f,layout:n(609),onValuesChange:k,children:[l.jsx(z[n(457)][n(1047)],{label:n(1318),name:[n(814),n(1638)],valuePropName:"checked",children:l[n(1993)](z[n(1870)],{})}),l.jsx(z[n(457)].Item,{label:n(1431),name:[n(814),n(572)],valuePropName:n(973),children:l[n(1993)](z.Switch,{})}),l.jsx(z[n(457)].Item,{label:n(645),name:[n(814),"isResizable"],valuePropName:"checked",children:l.jsx(z.Switch,{})}),l.jsx(z[n(457)][n(1047)],{label:"可选中",name:[n(814),n(1869)],valuePropName:n(973),children:l.jsx(z[n(1870)],{})})]})},n(1938)),l[n(1993)](ax,{tab:n(2095),children:l[n(1993)]($g,{nodeId:w.id})},n(1336))]})}),l.jsx(n(539),{className:n(1317),children:l[n(1239)](n(539),{className:n(1259),children:[l[n(1239)](n(539),{children:["节点 ID: ",w.id[n(1172)](0,8),n(378)]}),l[n(1239)](n(539),{children:[n(2112),C[n(2194)]]})]})}),l.jsx(z[n(1489)],{title:n(548),open:p,onCancel:()=>{h(!1),M(null)},footer:null,width:600,children:l[n(1993)](n(539),{className:"max-h-[400px] overflow-y-auto",children:l[n(1239)](z[n(472)],{ghost:!0,defaultActiveKey:[n(1750),n(987),n(1755),n(2070)],children:[l.jsx(On,{header:n(1082),children:l.jsx(n(539),{className:n(1098),children:d[n(1641)](D=>["矩形","圆形",n(1272)][n(911)](D[n(659)]))[n(542)](D=>l[n(1993)](Fa,{material:D,onClick:()=>G(D)},D.id))})},n(1750)),l.jsx(On,{header:n(1162),children:l[n(1993)]("div",{className:n(1098),children:d[n(1641)](D=>["阀门","泵","罐体"][n(911)](D[n(659)])||D.type===n(1072)&&!["矩形","圆形",n(1272)][n(911)](D[n(659)]))[n(542)](D=>l[n(1993)](Fa,{material:D,onClick:()=>G(D)},D.id))})},n(987)),l[n(1993)](On,{header:"文本",children:l.jsx(n(539),{className:"grid grid-cols-4 gap-2",children:d.filter(D=>D[n(1424)]==="TEXT")[n(542)](D=>l.jsxs("div",{className:n(1842),onClick:()=>G(D),children:[l[n(1993)](n(539),{className:n(2039),children:l[n(1993)](n(1102),{className:"text-lg font-bold text-gray-500",children:"T"})}),l[n(1993)](n(1102),{className:n(2062),children:D[n(659)]})]},D.id))})},"text"),l[n(1993)](On,{header:"线条",children:l.jsx(n(539),{className:n(1098),children:d[n(1641)](D=>D.type==="LINE")[n(542)](D=>l[n(1239)](n(539),{className:n(1842),onClick:()=>G(D),children:[l[n(1993)]("div",{className:n(2039),children:l[n(1993)](n(539),{className:n(1368)})}),l.jsx(n(1102),{className:n(2062),children:D.name})]},D.id))})},n(2070))]})})})]}):l[n(1993)](n(539),{className:n(1023),children:l.jsx(z[n(900)],{description:n(1001)})})},Fa=({material:e,onClick:n})=>{const t=a,o=e[t(1424)]===t(1072)?e[t(1909)]:void 0;return l[t(1239)](t(539),{className:t(1842),onClick:n,children:[l[t(1993)](t(539),{className:t(657),children:o?l[t(1993)]("img",{src:o,alt:e[t(659)],className:t(991)}):l[t(1993)](t(1102),{className:t(2062),children:e.name[0]})}),l[t(1993)](t(1102),{className:t(2062),children:e.name})]})},n5="ConfigEditor-module__configEditor__dinNG",t5={configEditor:n5},x5=a(643);function Qa(e){return Array[a(927)](e)}const $a=({open:e,onClose:n})=>{const t=a,{dataPool:o,addDataPoolItem:x,updateDataPoolItem:r,removeDataPoolItem:i}=He(),[c]=z[t(457)][t(904)](),[d,s]=B[t(655)](null);B.useEffect(()=>{const h=t;!e&&(s(null),c[h(1801)]())},[e,c]);const u=()=>{const h=t;s(h(1680)),c[h(467)]({name:h(731)+(o[h(2194)]+1),sampleJson:""})},f=h=>{const b=t;s(h.id),c.setFieldsValue({name:h[b(659)],sampleJson:JSON[b(1571)](h[b(1167)]??{},null,2)})},y=h=>{const b=t,M=h.trim();if(!M)return{};const v=JSON.parse(M);if(v===null||typeof v!==b(2171))throw new Error(b(1310));if(Array.isArray(v)){for(let m=0;m<v[b(2194)];m++)if(typeof v[m]!==b(2171)||v[m]===null)throw new Error(b(2137)+(m+1)+" 项必须是对象");return v}return v},g=()=>{const h=t;c[h(732)]()[h(1796)](b=>{const M=h;let v;try{v=y(b[M(1838)])}catch(w){z[M(452)][M(551)](w instanceof Error?w.message:M(730));return}const m=b[M(659)].trim();if(!m){z.message[M(551)](M(1892));return}d===M(1680)?(x({name:m,sample:v}),z.message[M(2093)](M(1520))):d&&(r(d,{name:m,sample:v}),z[M(452)][M(2093)](M(2081))),s(null),c[M(1801)]()})[h(709)](()=>{})},p=[{title:"名称",dataIndex:t(659),key:t(659)},{title:"类型",key:t(1424),width:100,render:(h,b)=>Qa(b.sample)?l[t(1239)](z.Tag,{color:t(1306),children:[t(461),b[t(1167)][t(2194)],t(526)]}):l[t(1993)](z[t(2037)],{children:"对象"})},{title:"字段数",key:t(1651),width:90,render:(h,b)=>{const M=t;if(Qa(b.sample)){const v=b.sample[0];return v?Object[M(1651)](v)[M(2194)]:0}return Object[M(1651)](b.sample||{})[M(2194)]}},{title:"操作",key:t(947),width:160,render:(h,b)=>l[t(1239)](z[t(2132)],{children:[l[t(1993)](z[t(1804)],{type:t(537),size:t(398),icon:l.jsx(ae[t(1081)],{}),onClick:()=>f(b),children:"编辑"}),l[t(1993)](z.Popconfirm,{title:t(382),description:t(1019),onConfirm:()=>{const M=t;i(b.id),z[M(452)].success("已删除,相关状态已解除数据集绑定")},children:l[t(1993)](z[t(1804)],{type:t(537),size:t(398),danger:!0,icon:l[t(1993)](ae.DeleteOutlined,{}),children:"删除"})})]})}];return l[t(1239)](z[t(1489)],{title:"数据池(节点状态用)",open:e,onCancel:n,width:760,footer:null,destroyOnClose:!0,children:[l.jsxs("p",{className:t(2014),children:[t(1142)," ",l[t(1993)](t(1556),{className:t(1526),children:t(1701)}),t(1696)]}),l[t(1993)]("div",{className:"mb-3",children:l[t(1993)](z[t(1804)],{type:t(1236),icon:l[t(1993)](ae[t(1442)],{}),onClick:u,children:t(520)})}),d&&l.jsxs(t(539),{className:t(499),children:[l[t(1239)]("div",{className:"font-medium mb-2",children:[d===t(1680)?"新建":"编辑",t(2090)]}),l.jsxs(z[t(457)],{form:c,layout:t(609),children:[l[t(1993)](z[t(457)][t(1047)],{name:t(659),label:"名称",rules:[{required:!0,message:"必填"}],children:l[t(1993)](z.Input,{placeholder:t(2181)})}),l[t(1993)](z.Form.Item,{name:t(1838),label:t(606),rules:[{required:!0,message:"必填"}],children:l[t(1993)](z[t(370)][t(1779)],{rows:12,className:t(2193),placeholder:x5})}),l[t(1239)](z.Space,{children:[l[t(1993)](z[t(1804)],{type:"primary",onClick:g,children:"保存"}),l[t(1993)](z[t(1804)],{onClick:()=>{const h=t;s(null),c[h(1801)]()},children:"取消"})]})]})]}),l[t(1993)](z[t(1091)],{size:"small",rowKey:"id",dataSource:o,columns:p,pagination:!1,locale:{emptyText:"暂无数据集,请点击「新建」"}})]})},{Header:o5,Sider:es,Content:r5}=z.Layout,i5=({initialScheme:e,onChange:n,readonly:t=!1,headerExtra:o,className:x="",style:r,showHeader:i=!0,showMaterialPanel:c=!0,showPropertyPanel:d=!0,customMaterials:s,initialDataPool:u,initialEventFlow:f,externalEventActions:y,onUploadSvg:g,defaultTestData:p,backgroundImageUrl:h,initialViewportWidth:b,initialViewportHeight:M})=>{const v=a,[m,w]=B[v(655)](!1),[C,k]=B[v(655)](!1),[O,G]=B.useState(""),[j]=B[v(655)](()=>[{paramsCode:v(1620),paramsName:"通频速度有效值",value:25,paramsUnit:v(535)},{paramsCode:v(1099),paramsName:"通频加速度有效值",value:1.5,paramsUnit:v(484)}]),A=p!==void 0?p:j,Z=i&&!t,{exportScheme:W,importScheme:q,nodes:T,materials:N,dataPool:D,eventFlow:L,root:U,canvas:P,viewport:S,addMaterial:K,setDataPool:Q,setEventFlow:R,setExternalHandlerCatalog:$}=He();B.useRef(null);const xe=B[v(575)](!1);B[v(363)](()=>{const J=v;if(!xe[J(1560)]&&(xe[J(1560)]=!0,cr.forEach(re=>K(re)),e&&q(e),f!==void 0&&R(f),y&&y[J(2194)]>0)){$(y);const re={};for(const _ of y){const I=String(_[J(1460)]??"").trim();I&&_[J(1733)]&&(re[I]=_[J(1733)])}Object.keys(re)[J(2194)]>0&&lt[J(1444)]({external:re})}},[]),B[v(363)](()=>{const J=v;s&&s[J(2194)]>0&&s[J(1369)](re=>K(re))},[]),B[v(363)](()=>{u!==void 0&&Q(u)},[u,Q]),B.useEffect(()=>{if(n){const J=W();n(J)}},[T,N,D,L,U,n,W]);const ce=B.useCallback(()=>{const J=v,re=W(),_=JSON[J(1571)](re,null,2),I="data:application/json;charset=utf-8,"+encodeURIComponent(_),Y=J(1901)+Date[J(1960)]()+J(1323),X=document[J(1990)]("a");X.setAttribute(J(1412),I),X[J(1110)](J(766),Y),X.click(),z[J(452)][J(2093)](J(1127))},[W]),de=B[v(1591)](()=>{const J=v;try{const re=JSON[J(871)](O);q(re),w(!1),G(""),z.message[J(2093)](J(828))}catch{z[J(452)][J(551)](J(2151))}},[O,q]),fe=B[v(1591)](J=>{const re=v,_=new FileReader;return _[re(1841)]=I=>{const Y=re;try{const X=I[Y(603)]?.result,H=JSON.parse(X);q(H),z[Y(452)].success(Y(828)),w(!1)}catch{z[Y(452)][Y(551)](Y(1376))}},_[re(2053)](J),!1},[q]),ie=B[v(1591)](()=>W(),[W]);return B.useImperativeHandle(B.useRef?.(),()=>({getScheme:ie,exportScheme:W,importScheme:q}),[ie,W,q]),l.jsx(z[v(1917)],{locale:ms,children:l[v(1993)]("div",{className:t5[v(975)],style:{height:t?"auto":"100%",...r},children:l[v(1239)](z[v(1971)],{className:v(1950)+(t?"":v(965))+" "+(t?"":v(1015))+" "+x,children:[Z&&l[v(1239)](o5,{className:v(2162),children:[l[v(1239)](v(539),{className:v(903),children:[l[v(1993)]("div",{className:"text-xl font-bold text-blue-600",children:"组态编辑器"}),l[v(1239)](v(539),{className:v(2073),children:[T[v(2194)]," 个节点"]})]}),l[v(1239)](z.Space,{children:[o,!t&&l.jsxs(l[v(915)],{children:[l[v(1993)](z.Tooltip,{title:v(1475),children:l.jsx(z[v(1804)],{icon:l[v(1993)](ae[v(1390)],{}),onClick:ce,children:"导出"})}),l[v(1993)](z[v(1654)],{title:v(1344),children:l[v(1993)](z[v(1804)],{icon:l[v(1993)](ae[v(2058)],{}),onClick:()=>w(!0),children:"导入"})}),l.jsx(z[v(1654)],{title:"节点状态用的数据集(与事件流无关)",children:l.jsx(z.Button,{icon:l.jsx(ae.DatabaseOutlined,{}),onClick:()=>k(!0),children:v(1517)})})]})]})]}),l[v(1239)](z[v(1971)],{children:[c&&!t&&l[v(1993)](es,{width:280,className:v(842),theme:v(1859),children:l[v(1993)](sr,{onUploadSvg:g})}),l[v(1993)](r5,{className:"relative "+(t?"":"bg-gray-100"),style:t?{backgroundColor:P?.[v(451)],backgroundImage:P?.[v(1296)]!==!1?v(549):void 0,backgroundSize:20*(S?.scale||1)+v(1919)+20*(S?.[v(476)]||1)+"px"}:void 0,children:l[v(1993)](Or,{defaultTestData:A,readonly:t,backgroundImageUrl:h,initialViewportWidth:b,initialViewportHeight:M})}),d&&!t&&l[v(1993)](es,{width:360,className:v(842),theme:v(1859),children:l[v(1993)](_a,{defaultTestData:Array[v(927)](A)?A:void 0})})]}),l[v(1993)]($a,{open:C,onClose:()=>k(!1)}),l[v(1993)](z.Modal,{title:"导入组态方案",open:m,onOk:de,onCancel:()=>{w(!1),G("")},width:600,children:l.jsxs("div",{className:"space-y-4",children:[l[v(1239)](v(539),{children:[l[v(1993)]("p",{className:v(590),children:v(2202)}),l[v(1993)](v(1418),{type:v(2147),accept:v(1323),onChange:J=>{const re=v,_=J[re(603)][re(1741)]?.[0];_&&fe(_)},className:`block w-full text-sm text-gray-500
10
- file:mr-4 file:py-2 file:px-4
11
- file:rounded-full file:border-0
12
- file:text-sm file:font-semibold
13
- file:bg-blue-50 file:text-blue-700
14
- hover:file:bg-blue-100`})]}),l[v(1993)]("div",{className:"text-center text-gray-400",children:"或"}),l[v(1239)](v(539),{children:[l[v(1993)]("p",{className:v(590),children:v(1775)}),l[v(1993)](v(1572),{value:O,onChange:J=>G(J[v(603)][v(1981)]),placeholder:v(1482),className:"w-full h-48 p-3 border border-gray-300 rounded-lg font-mono text-sm resize-none focus:outline-none focus:ring-2 focus:ring-blue-500"})]})]})})]})})})};Me[a(1820)]=Or,Me[a(1829)]=i5,Me[a(1341)]=$a,Me[a(1558)]=Yr,Me[a(785)]=sr,Me[a(1630)]=Yx,Me.PropertyPanel=_a,Me[a(971)]=xr,Me[a(1957)]=tr,Me.createDefaultNode=ar,Me[a(1269)]=Lx,Me[a(1257)]=Mx,Me.eventBus=lt,Me[a(2135)]=or,Me.initMaterials=cr,Me.useEditorStore=He,Object[a(570)](Me,Symbol[a(2206)],{value:a(1182)})});
7
+ +`)[s(1194)](`
8
+ `)),y=f[s(412)]((g,v)=>g.concat(...v),[]);return[f,y]}return[[],[]]},[e]);return D.useEffect(()=>{const s=t,u=n?.[s(1450)]??Ra,f=n?.[s(362)]??!0;if(e!==null){const y=h=>{const p=s;if(r[p(506)]=h[p(1533)]||h[p(284)]||h[p(1166)]||h[p(1114)],(!r[p(506)]||r.current&&!f)&&na(h))return!1;const w=Qa(h[p(554)],d);if(i.current.add(h[w]),Ja(a,i.current,!1)){const m=h.composedPath?.()?.[0]||h[p(1450)],b=m?.[p(1912)]==="BUTTON"||m?.[p(1912)]==="A";n[p(1477)]!==!1&&(r.current||!b)&&h[p(1477)](),x(!0)}},g=h=>{const p=s,M=Qa(h[p(554)],d);Ja(a,i[p(506)],!0)?(x(!1),i[p(506)][p(1478)]()):i[p(506)][p(741)](h[M]),h[p(1673)]===p(303)&&i[p(506)].clear(),r[p(506)]=!1},v=()=>{const h=s;i[h(506)][h(1478)](),x(!1)};return u?.addEventListener(s(967),y),u?.[s(1976)](s(767),g),window[s(1976)]("blur",v),window[s(1976)](s(976),v),()=>{const h=s;u?.[h(864)]("keydown",y),u?.[h(864)]("keyup",g),window.removeEventListener(h(259),v),window.removeEventListener(h(976),v)}}},[e,x]),o}function Ja(e,n,t){const o=c;return e[o(1874)](x=>t||x.length===n[o(1683)])[o(1667)](x=>x[o(1115)](r=>n[o(1264)](r)))}function Qa(e,n){const t=c;return n[t(1402)](e)?t(554):t(1673)}const V2=()=>{const e=c,n=je();return D[e(1606)](()=>{const t=e;return{zoomIn:o=>{const x=_0x5528,{panZoom:r}=n[x(1419)]();return r?r.scaleBy(1.2,o):Promise[x(369)](!1)},zoomOut:o=>{const x=_0x5528,{panZoom:r}=n[x(1419)]();return r?r[x(1224)](1/1.2,o):Promise[x(369)](!1)},zoomTo:(o,x)=>{const r=_0x5528,{panZoom:i}=n[r(1419)]();return i?i.scaleTo(o,x):Promise[r(369)](!1)},getZoom:()=>n.getState()[t(1235)][2],setViewport:async(o,x)=>{const r=t,{transform:[i,a,d],panZoom:s}=n[r(1419)]();return s?(await s.setViewport({x:o.x??i,y:o.y??a,zoom:o.zoom??d},x),Promise[r(369)](!0)):Promise[r(369)](!1)},getViewport:()=>{const o=t,[x,r,i]=n[o(1419)]().transform;return{x,y:r,zoom:i}},setCenter:async(o,x,r)=>{const i=t;return n[i(1419)]()[i(1784)](o,x,r)},fitBounds:async(o,x)=>{const r=t,{width:i,height:a,minZoom:d,maxZoom:s,panZoom:u}=n[r(1419)](),f=oo(o,i,a,d,s,x?.[r(1314)]??.1);return u?(await u[r(1773)](f,{duration:x?.[r(379)],ease:x?.[r(1561)],interpolate:x?.[r(878)]}),Promise[r(369)](!0)):Promise[r(369)](!1)},screenToFlowPosition:(o,x={})=>{const r=t,{transform:i,snapGrid:a,snapToGrid:d,domNode:s}=n[r(1419)]();if(!s)return o;const{x:u,y:f}=s[r(1623)](),y={x:o.x-u,y:o.y-f},g=x[r(1645)]??a,v=x.snapToGrid??d;return e0(y,i,v,g)},flowToScreenPosition:o=>{const x=t,{transform:r,domNode:i}=n[x(1419)]();if(!i)return o;const{x:a,y:d}=i[x(1623)](),s=K0(o,r);return{x:s.x+a,y:s.y+d}}}},[])};function Fa(e,n){const t=c,o=[],x=new Map,r=[];for(const i of e)if(i.type===t(952)){r.push(i);continue}else if(i[t(954)]==="remove"||i[t(954)]===t(1183))x[t(1889)](i.id,[i]);else{const a=x[t(1735)](i.id);a?a.push(i):x.set(i.id,[i])}for(const i of n){const a=x[t(1735)](i.id);if(!a){o.push(i);continue}if(a[0].type===t(1313))continue;if(a[0][t(954)]===t(1183)){o[t(1148)]({...a[0].item});continue}const d={...i};for(const s of a)W2(s,d);o[t(1148)](d)}return r[t(658)]&&r[t(1998)](i=>{const a=t;i.index!==void 0?o[a(1654)](i.index,0,{...i[a(662)]}):o.push({...i.item})}),o}function W2(e,n){const t=c;switch(e.type){case t(1524):{n[t(1734)]=e.selected;break}case t(902):{typeof e[t(902)]<"u"&&(n[t(902)]=e[t(902)]),typeof e[t(1980)]<"u"&&(n.dragging=e[t(1980)]);break}case"dimensions":{typeof e[t(1662)]!==t(439)&&(n[t(1629)]={...e[t(1662)]},e[t(726)]&&((e[t(726)]===!0||e[t(726)]===t(1232))&&(n[t(1232)]=e[t(1662)][t(1232)]),(e.setAttributes===!0||e[t(726)]===t(1129))&&(n[t(1129)]=e.dimensions[t(1129)]))),typeof e[t(1343)]=="boolean"&&(n[t(1343)]=e.resizing);break}}}function _a(e,n){return Fa(e,n)}function $a(e,n){return Fa(e,n)}function et(e,n){return{id:e,type:c(1524),selected:n}}function Ct(e,n=new Set,t=!1){const o=c,x=[];for(const[r,i]of e){const a=n[o(1264)](r);!(i[o(1734)]===void 0&&!a)&&i[o(1734)]!==a&&(t&&(i[o(1734)]=a),x[o(1148)](et(i.id,a)))}return x}function ec({items:e=[],lookup:n}){const t=c,o=[],x=new Map(e.map(r=>[r.id,r]));for(const[r,i]of e[t(1859)]()){const a=n[t(1735)](i.id),d=a?.[t(1300)]?.[t(750)]??a;d!==void 0&&d!==i&&o[t(1148)]({id:i.id,item:i,type:t(1183)}),d===void 0&&o.push({item:i,type:t(952),index:r})}for(const[r]of n)x[t(1735)](r)===void 0&&o[t(1148)]({id:r,type:t(1313)});return o}function nc(e){const n=c;return{id:e.id,type:n(1313)}}const tc=e=>h5(e),q2=e=>Wi(e);function xc(e){return D[c(1216)](e)}function oc(e){const n=c,[t,o]=D[n(884)](BigInt(0)),[x]=D[n(884)](()=>X2(()=>o(r=>r+BigInt(1))));return Co(()=>{const r=n,i=x[r(1735)]();i[r(658)]&&(e(i),x[r(561)]())},[t]),x}function X2(e){let n=[];return{get:()=>n,reset:()=>{n=[]},push:t=>{n.push(t),e()}}}const rc=D[c(970)](null);function Z2({children:e}){const n=c,t=je(),o=D.useCallback(d=>{const s=_0x5528,{nodes:u=[],setNodes:f,hasDefaultNodes:y,onNodesChange:g,nodeLookup:v,fitViewQueued:h,onNodesChangeMiddlewareMap:p}=t.getState();let M=u;for(const m of d)M=typeof m===s(790)?m(M):m;let w=ec({items:M,lookup:v});for(const m of p.values())w=m(w);y&&f(M),w[s(658)]>0?g?.(w):h&&window[s(1357)](()=>{const m=s,{fitViewQueued:b,nodes:C,setNodes:I}=t[m(1419)]();b&&I(C)})},[]),x=oc(o),r=D[n(1097)](d=>{const s=n,{edges:u=[],setEdges:f,hasDefaultEdges:y,onEdgesChange:g,edgeLookup:v}=t[s(1419)]();let h=u;for(const p of d)h=typeof p=="function"?p(h):p;y?f(h):g&&g(ec({items:h,lookup:v}))},[]),i=oc(r),a=D[n(1606)](()=>({nodeQueue:x,edgeQueue:i}),[]);return l[n(510)](rc[n(896)],{value:a,children:e})}function K2(){const e=c,n=D.useContext(rc);if(!n)throw new Error(e(1258));return n}const R2=e=>!!e.panZoom;function Mo(){const e=c,n=V2(),t=je(),o=K2(),x=Le(R2),r=D[e(1606)](()=>{const i=e,a=g=>t[i(1419)]()[i(212)].get(g),d=g=>{const v=i;o.nodeQueue[v(1148)](g)},s=g=>{const v=i;o[v(1551)][v(1148)](g)},u=g=>{const v=i,{nodeLookup:h,nodeOrigin:p}=t[v(1419)](),M=tc(g)?g:h[v(1735)](g.id),w=M.parentId?_i(M.position,M.measured,M[v(1064)],h,p):M.position,m={...M,position:w,width:M[v(1629)]?.width??M[v(1232)],height:M[v(1629)]?.[v(1129)]??M[v(1129)]};return wt(m)},f=(g,v,h={replace:!1})=>{const p=i;d(M=>M[p(1902)](w=>{const m=p;if(w.id===g){const b=typeof v===m(790)?v(w):v;return h.replace&&tc(b)?b:{...w,...b}}return w}))},y=(g,v,h={replace:!1})=>{const p=i;s(M=>M[p(1902)](w=>{const m=p;if(w.id===g){const b=typeof v=="function"?v(w):v;return h[m(1183)]&&q2(b)?b:{...w,...b}}return w}))};return{getNodes:()=>t.getState()[i(405)][i(1902)](g=>({...g})),getNode:g=>a(g)?.[i(1300)][i(750)],getInternalNode:a,getEdges:()=>{const g=i,{edges:v=[]}=t[g(1419)]();return v[g(1902)](h=>({...h}))},getEdge:g=>t[i(1419)]()[i(1518)][i(1735)](g),setNodes:d,setEdges:s,addNodes:g=>{const v=i,h=Array[v(293)](g)?g:[g];o[v(971)][v(1148)](p=>[...p,...h])},addEdges:g=>{const v=i,h=Array.isArray(g)?g:[g];o[v(1551)][v(1148)](p=>[...p,...h])},toObject:()=>{const g=i,{nodes:v=[],edges:h=[],transform:p}=t[g(1419)](),[M,w,m]=p;return{nodes:v[g(1902)](b=>({...b})),edges:h[g(1902)](b=>({...b})),viewport:{x:M,y:w,zoom:m}}},deleteElements:async({nodes:g=[],edges:v=[]})=>{const h=i,{nodes:p,edges:M,onNodesDelete:w,onEdgesDelete:m,triggerNodeChanges:b,triggerEdgeChanges:C,onDelete:I,onBeforeDelete:U}=t[h(1419)](),{nodes:H,edges:V}=await v5({nodesToRemove:g,edgesToRemove:v,nodes:p,edges:M,onBeforeDelete:U}),A=V.length>0,W=H[h(658)]>0;if(A){const T=V.map(nc);m?.(V),C(T)}if(W){const T=H.map(nc);w?.(H),b(T)}return(W||A)&&I?.({nodes:H,edges:V}),{deletedNodes:H,deletedEdges:V}},getIntersectingNodes:(g,v=!0,h)=>{const p=i,M=Ji(g),w=M?g:u(g),m=h!==void 0;return w?(h||t[p(1419)]().nodes)[p(1874)](b=>{const C=p,I=t[C(1419)]().nodeLookup[C(1735)](b.id);if(I&&!M&&(b.id===g.id||!I[C(1300)][C(1918)]))return!1;const U=wt(m?b:I),H=_t(U,w);return v&&H>0||H>=U[C(1232)]*U.height||H>=w[C(1232)]*w[C(1129)]}):[]},isNodeIntersecting:(g,v,h=!0)=>{const p=i,M=Ji(g),w=M?g:u(g);if(!w)return!1;const m=_t(w,v);return h&&m>0||m>=v.width*v[p(1129)]||m>=w[p(1232)]*w[p(1129)]},updateNode:f,updateNodeData:(g,v,h={replace:!1})=>{f(g,p=>{const M=_0x5528,w=typeof v===M(790)?v(p):v;return h[M(1183)]?{...p,data:w}:{...p,data:{...p[M(235)],...w}}},h)},updateEdge:y,updateEdgeData:(g,v,h={replace:!1})=>{y(g,p=>{const M=_0x5528,w=typeof v===M(790)?v(p):v;return h[M(1183)]?{...p,data:w}:{...p,data:{...p.data,...w}}},h)},getNodesBounds:g=>{const{nodeLookup:v,nodeOrigin:h}=t.getState();return g5(g,{nodeLookup:v,nodeOrigin:h})},getHandleConnections:({type:g,id:v,nodeId:h})=>Array[i(1855)](t[i(1419)]()[i(1643)][i(1735)](h+"-"+g+(v?"-"+v:""))?.[i(839)]()??[]),getNodeConnections:({type:g,handleId:v,nodeId:h})=>Array[i(1855)](t.getState().connectionLookup[i(1735)](""+h+(g?v?"-"+g+"-"+v:"-"+g:""))?.[i(839)]()??[]),fitView:async g=>{const v=i,h=t[v(1419)]()[v(413)]??z5();return t.setState({fitViewQueued:!0,fitViewOptions:g,fitViewResolver:h}),o.nodeQueue.push(p=>[...p]),h.promise}}},[]);return D[e(1606)](()=>({...r,...n,viewportInitialized:x}),[x])}const ic=e=>e.selected,J2=typeof window!==c(439)?window:void 0;function Q2({deleteKeyCode:e,multiSelectionKeyCode:n}){const t=c,o=je(),{deleteElements:x}=Mo(),r=x0(e,{actInsideInputWithModifier:!1}),i=x0(n,{target:J2});D[t(532)](()=>{const a=t;if(r){const{edges:d,nodes:s}=o.getState();x({nodes:s[a(1874)](ic),edges:d[a(1874)](ic)}),o[a(1765)]({nodesSelectionActive:!1})}},[r]),D[t(532)](()=>{o[t(1765)]({multiSelectionActive:i})},[i])}function F2(e){const n=c,t=je();D[n(532)](()=>{const o=n,x=()=>{const r=_0x5528;if(!e[r(506)]||!(e.current[r(1215)]?.()??!0))return!1;const i=ro(e[r(506)]);(i[r(1129)]===0||i[r(1232)]===0)&&t[r(1419)]().onError?.(r(382),nn[r(1332)]()),t[r(1765)]({width:i[r(1232)]||500,height:i.height||500})};if(e.current){x(),window.addEventListener(o(841),x);const r=new ResizeObserver(()=>x());return r.observe(e[o(506)]),()=>{const i=o;window[i(864)](i(841),x),r&&e[i(506)]&&r[i(516)](e[i(506)])}}},[])}const tx={position:c(1526),width:"100%",height:"100%",top:0,left:0},_2=e=>({userSelectionActive:e.userSelectionActive,lib:e[c(1520)],connectionInProgress:e[c(417)][c(1407)]});function $2({onPaneContextMenu:e,zoomOnScroll:n=!0,zoomOnPinch:t=!0,panOnScroll:o=!1,panOnScrollSpeed:x=.5,panOnScrollMode:r=Fn[c(544)],zoomOnDoubleClick:i=!0,panOnDrag:a=!0,defaultViewport:d,translateExtent:s,minZoom:u,maxZoom:f,zoomActivationKeyCode:y,preventScrolling:g=!0,children:v,noWheelClassName:h,noPanClassName:p,onViewportChange:M,isControlledViewport:w,paneClickDistance:m,selectionOnDrag:b}){const C=c,I=je(),U=D[C(805)](null),{userSelectionActive:H,lib:V,connectionInProgress:A}=Le(_2,Ee),W=x0(y),T=D[C(805)]();F2(U);const X=D[C(1097)](G=>{const L=C;M?.({x:G[0],y:G[1],zoom:G[2]}),!w&&I[L(1765)]({transform:G})},[M,w]);return D.useEffect(()=>{const G=C;if(U[G(506)]){T[G(506)]=o2({domNode:U[G(506)],minZoom:u,maxZoom:f,translateExtent:s,viewport:d,onDraggingChange:E=>I.setState(P=>P[G(492)]===E?P:{paneDragging:E}),onPanZoomStart:(E,P)=>{const k=G,{onViewportChangeStart:K,onMoveStart:_}=I[k(1419)]();_?.(E,P),K?.(P)},onPanZoom:(E,P)=>{const k=G,{onViewportChange:K,onMove:_}=I[k(1419)]();_?.(E,P),K?.(P)},onPanZoomEnd:(E,P)=>{const k=G,{onViewportChangeEnd:K,onMoveEnd:_}=I[k(1419)]();_?.(E,P),K?.(P)}});const{x:L,y:B,zoom:S}=T[G(506)].getViewport();return I[G(1765)]({panZoom:T[G(506)],transform:[L,B,S],domNode:U[G(506)][G(1262)](G(777))}),()=>{const E=G;T[E(506)]?.[E(1507)]()}}},[]),D.useEffect(()=>{T[C(506)]?.update({onPaneContextMenu:e,zoomOnScroll:n,zoomOnPinch:t,panOnScroll:o,panOnScrollSpeed:x,panOnScrollMode:r,zoomOnDoubleClick:i,panOnDrag:a,zoomActivationKeyPressed:W,preventScrolling:g,noPanClassName:p,userSelectionActive:H,noWheelClassName:h,lib:V,onTransformChange:X,connectionInProgress:A,selectionOnDrag:b,paneClickDistance:m})},[e,n,t,o,x,r,i,a,W,g,p,H,h,V,X,A,b,m]),l[C(510)]("div",{className:"react-flow__renderer",ref:U,style:tx,children:v})}const eh=e=>({userSelectionActive:e.userSelectionActive,userSelectionRect:e.userSelectionRect});function nh(){const e=c,{userSelectionActive:n,userSelectionRect:t}=Le(eh,Ee);return n&&t?l[e(510)](e(1384),{className:e(1599),style:{width:t[e(1232)],height:t[e(1129)],transform:e(883)+t.x+"px, "+t.y+e(972)}}):null}const Bo=(e,n)=>t=>{const o=_0x5528;t[o(1450)]===n[o(506)]&&e?.(t)},th=e=>({userSelectionActive:e[c(897)],elementsSelectable:e[c(274)],connectionInProgress:e[c(417)][c(1407)],dragging:e[c(492)]});function xh({isSelecting:e,selectionKeyPressed:n,selectionMode:t=Jt[c(1212)],panOnDrag:o,paneClickDistance:x,selectionOnDrag:r,onSelectionStart:i,onSelectionEnd:a,onPaneClick:d,onPaneContextMenu:s,onPaneScroll:u,onPaneMouseEnter:f,onPaneMouseMove:y,onPaneMouseLeave:g,children:v}){const h=c,p=je(),{userSelectionActive:M,elementsSelectable:w,dragging:m,connectionInProgress:b}=Le(th,Ee),C=w&&(e||M),I=D[h(805)](null),U=D.useRef(),H=D.useRef(new Set),V=D.useRef(new Set),A=D[h(805)](!1),W=P=>{const k=h;if(A[k(506)]||b){A.current=!1;return}d?.(P),p[k(1419)]()[k(1786)](),p[k(1765)]({nodesSelectionActive:!1})},T=P=>{const k=h;if(Array.isArray(o)&&o?.[k(1402)](2)){P[k(1477)]();return}s?.(P)},X=u?P=>u(P):void 0,G=P=>{const k=h;A[k(506)]&&(P[k(540)](),A[k(506)]=!1)},L=P=>{const k=h,{domNode:K}=p[k(1419)]();if(U[k(506)]=K?.[k(1623)](),!U[k(506)])return;const _=P.target===I[k(506)];if(!_&&!!P[k(1450)][k(1262)](k(1003))||!e||!(r&&_||n)||P[k(1020)]!==0||!P[k(630)])return;P[k(1450)]?.[k(1742)]?.(P.pointerId),A[k(506)]=!1;const{x:xe,y:ae}=gn(P[k(368)],U[k(506)]);p[k(1765)]({userSelectionRect:{width:0,height:0,startX:xe,startY:ae,x:xe,y:ae}}),!_&&(P.stopPropagation(),P[k(1477)]())},B=P=>{const k=h,{userSelectionRect:K,transform:_,nodeLookup:R,edgeLookup:$,connectionLookup:xe,triggerNodeChanges:ae,triggerEdgeChanges:de,defaultEdgeOptions:ue,resetSelectedElements:re}=p.getState();if(!U[k(506)]||!K)return;const{x:Q,y:ie}=gn(P[k(368)],U[k(506)]),{startX:F,startY:N}=K;if(!A[k(506)]){const le=n?0:x;if(Math.hypot(Q-F,ie-N)<=le)return;re(),i?.(P)}A[k(506)]=!0;const j={startX:F,startY:N,x:Q<F?Q:F,y:ie<N?ie:N,width:Math.abs(Q-F),height:Math[k(427)](ie-N)},Z=H[k(506)],O=V[k(506)];H[k(506)]=new Set(to(R,j,_,t===Jt.Partial,!0)[k(1902)](le=>le.id)),V[k(506)]=new Set;const oe=ue?.[k(239)]??!0;for(const le of H[k(506)]){const se=xe[k(1735)](le);if(se)for(const{edgeId:ge}of se[k(839)]()){const ve=$[k(1735)](ge);ve&&(ve[k(239)]??oe)&&V.current[k(952)](ge)}}if(!$i(Z,H[k(506)])){const le=Ct(R,H[k(506)],!0);ae(le)}if(!$i(O,V.current)){const le=Ct($,V[k(506)]);de(le)}p[k(1765)]({userSelectionRect:j,userSelectionActive:!0,nodesSelectionActive:!1})},S=P=>{const k=h;P.button===0&&(P[k(1450)]?.[k(233)]?.(P.pointerId),!M&&P.target===I[k(506)]&&p[k(1419)]().userSelectionRect&&W?.(P),p[k(1765)]({userSelectionActive:!1,userSelectionRect:null}),A[k(506)]&&(a?.(P),p.setState({nodesSelectionActive:H[k(506)].size>0})))},E=o===!0||Array[h(293)](o)&&o[h(1402)](0);return l[h(1306)](h(1384),{className:Ge([h(1744),{draggable:E,dragging:m,selection:e}]),onClick:C?void 0:Bo(W,I),onContextMenu:Bo(T,I),onWheel:Bo(X,I),onPointerEnter:C?void 0:f,onPointerMove:C?B:y,onPointerUp:C?S:void 0,onPointerDownCapture:C?L:void 0,onClickCapture:C?G:void 0,onPointerLeave:g,ref:I,style:tx,children:[v,l[h(510)](nh,{})]})}function Do({id:e,store:n,unselect:t=!1,nodeRef:o}){const x=c,{addSelectedNodes:r,unselectNodesAndEdges:i,multiSelectionActive:a,nodeLookup:d,onError:s}=n[x(1419)](),u=d.get(e);if(!u){s?.(x(429),nn[x(1453)](e));return}n[x(1765)]({nodesSelectionActive:!1}),u[x(1734)]?(t||u[x(1734)]&&a)&&(i({nodes:[u],edges:[]}),requestAnimationFrame(()=>o?.[x(506)]?.[x(259)]())):r([e])}function ac({nodeRef:e,disabled:n=!1,noDragClassName:t,handleSelector:o,nodeId:x,isSelectable:r,nodeClickDistance:i}){const a=c,d=je(),[s,u]=D[a(884)](!1),f=D[a(805)]();return D.useEffect(()=>{const y=a;f[y(506)]=q5({getStoreItems:()=>d[y(1419)](),onNodeMouseDown:g=>{Do({id:g,store:d,nodeRef:e})},onDragStart:()=>{u(!0)},onDragStop:()=>{u(!1)}})},[]),D[a(532)](()=>{const y=a;if(!(n||!e[y(506)]||!f[y(506)]))return f[y(506)][y(1872)]({noDragClassName:t,handleSelector:o,domNode:e[y(506)],isSelectable:r,nodeId:x,nodeClickDistance:i}),()=>{const g=y;f[g(506)]?.[g(1507)]()}},[t,o,n,r,e,x,i]),s}const oh=e=>n=>n[c(1734)]&&(n[c(823)]||e&&typeof n[c(823)]===c(439));function cc(){const e=c,n=je();return D[e(1097)](o=>{const x=e,{nodeExtent:r,snapToGrid:i,snapGrid:a,nodesDraggable:d,onError:s,updateNodePositions:u,nodeLookup:f,nodeOrigin:y}=n.getState(),g=new Map,v=oh(d),h=i?a[0]:5,p=i?a[1]:5,M=o[x(2036)].x*h*o.factor,w=o[x(2036)].y*p*o.factor;for(const[,m]of f){if(!v(m))continue;let b={x:m[x(1300)][x(1918)].x+M,y:m[x(1300)][x(1918)].y+w};i&&(b=$t(b,a));const{position:C,positionAbsolute:I}=qi({nodeId:m.id,nextPosition:b,nodeLookup:f,nodeExtent:r,nodeOrigin:y,onError:s});m[x(902)]=C,m.internals[x(1918)]=I,g[x(1889)](m.id,m)}u(g)},[])}const Lo=D[c(970)](null),rh=Lo[c(896)];Lo.Consumer;const sc=()=>D.useContext(Lo),ih=e=>({connectOnClick:e[c(1605)],noPanClassName:e[c(1622)],rfId:e[c(892)]}),ah=(e,n,t)=>o=>{const x=c,{connectionClickStartHandle:r,connectionMode:i,connection:a}=o,{fromHandle:d,toHandle:s,isValid:u}=a,f=s?.[x(985)]===e&&s?.id===n&&s?.[x(954)]===t;return{connectingFrom:d?.[x(985)]===e&&d?.id===n&&d?.[x(954)]===t,connectingTo:f,clickConnecting:r?.nodeId===e&&r?.id===n&&r?.[x(954)]===t,isPossibleEndHandle:i===yt[x(484)]?d?.[x(954)]!==t:e!==d?.[x(985)]||n!==d?.id,connectionInProcess:!!d,clickConnectionInProcess:!!r,valid:f&&u}};function ch({type:e=c(962),position:n=he[c(295)],isValidConnection:t,isConnectable:o=!0,isConnectableStart:x=!0,isConnectableEnd:r=!0,id:i,onConnect:a,children:d,className:s,onMouseDown:u,onTouchStart:f,...y},g){const v=c,h=i||null,p=e==="target",M=je(),w=sc(),{connectOnClick:m,noPanClassName:b,rfId:C}=Le(ih,Ee),{connectingFrom:I,connectingTo:U,clickConnecting:H,isPossibleEndHandle:V,connectionInProcess:A,clickConnectionInProcess:W,valid:T}=Le(ah(w,h,e),Ee);!w&&M[v(1419)]()[v(1342)]?.(v(1573),nn[v(1221)]());const X=B=>{const S=v,{defaultEdgeOptions:E,onConnect:P,hasDefaultEdges:k}=M[S(1419)](),K={...E,...B};if(k){const{edges:_,setEdges:R}=M[S(1419)]();R(ca(K,_))}P?.(K),a?.(K)},G=B=>{const S=v;if(!w)return;const E=ta(B.nativeEvent);if(x&&(E&&B.button===0||!E)){const P=M[S(1419)]();yo[S(941)](B[S(368)],{handleDomNode:B[S(1433)],autoPanOnConnect:P.autoPanOnConnect,connectionMode:P[S(1911)],connectionRadius:P[S(465)],domNode:P[S(851)],nodeLookup:P[S(212)],lib:P[S(1520)],isTarget:p,handleId:h,nodeId:w,flowId:P.rfId,panBy:P[S(1181)],cancelConnection:P[S(543)],onConnectStart:P[S(2049)],onConnectEnd:(...k)=>M[S(1419)]().onConnectEnd?.(...k),updateConnection:P[S(1616)],onConnect:X,isValidConnection:t||((...k)=>M.getState()[S(1033)]?.(...k)??!0),getTransform:()=>M[S(1419)]().transform,getFromHandle:()=>M[S(1419)]().connection.fromHandle,autoPanSpeed:P[S(1193)],dragThreshold:P[S(1836)]})}E?u?.(B):f?.(B)},L=B=>{const S=v,{onClickConnectStart:E,onClickConnectEnd:P,connectionClickStartHandle:k,connectionMode:K,isValidConnection:_,lib:R,rfId:$,nodeLookup:xe,connection:ae}=M[S(1419)]();if(!w||!k&&!x)return;if(!k){E?.(B.nativeEvent,{nodeId:w,handleId:h,handleType:e}),M[S(1765)]({connectionClickStartHandle:{nodeId:w,type:e,id:h}});return}const de=ea(B[S(1450)]),ue=t||_,{connection:re,isValid:Q}=yo[S(1857)](B[S(368)],{handle:{nodeId:w,id:h,type:e},connectionMode:K,fromNodeId:k[S(985)],fromHandleId:k.id||null,fromType:k[S(954)],isValidConnection:ue,flowId:$,doc:de,lib:R,nodeLookup:xe});Q&&re&&X(re);const ie=structuredClone(ae);delete ie.inProgress,ie.toPosition=ie[S(963)]?ie.toHandle[S(902)]:null,P?.(B,ie),M.setState({connectionClickStartHandle:null})};return l[v(510)]("div",{"data-handleid":h,"data-nodeid":w,"data-handlepos":n,"data-id":C+"-"+w+"-"+h+"-"+e,className:Ge([v(1838),"react-flow__handle-"+n,"nodrag",b,s,{source:!p,target:p,connectable:o,connectablestart:x,connectableend:r,clickconnecting:H,connectingfrom:I,connectingto:U,valid:T,connectionindicator:o&&(!A||V)&&(A||W?r:x)}]),onMouseDown:G,onTouchStart:G,onClick:m?L:void 0,ref:g,...y,children:d})}const Mt=D[c(1061)](xc(ch));function sh({data:e,isConnectable:n,sourcePosition:t=he.Bottom}){const o=c;return l[o(1306)](l[o(1006)],{children:[e?.[o(1150)],l.jsx(Mt,{type:o(962),position:t,isConnectable:n})]})}function lh({data:e,isConnectable:n,targetPosition:t=he[c(295)],sourcePosition:o=he[c(1651)]}){const x=c;return l.jsxs(l.Fragment,{children:[l[x(510)](Mt,{type:"target",position:t,isConnectable:n}),e?.[x(1150)],l.jsx(Mt,{type:x(962),position:o,isConnectable:n})]})}function dh(){return null}function uh({data:e,isConnectable:n,targetPosition:t=he[c(295)]}){const o=c;return l[o(1306)](l[o(1006)],{children:[l[o(510)](Mt,{type:"target",position:t,isConnectable:n}),e?.[o(1150)]]})}const xx={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},lc={input:sh,default:lh,output:uh,group:dh};function fh(e){const n=c;return e[n(1300)][n(1167)]===void 0?{width:e[n(1232)]??e.initialWidth??e[n(262)]?.[n(1232)],height:e[n(1129)]??e[n(490)]??e[n(262)]?.[n(1129)]}:{width:e.width??e[n(262)]?.width,height:e[n(1129)]??e[n(262)]?.height}}const hh=e=>{const n=c,{width:t,height:o,x,y:r}=Ft(e[n(212)],{filter:i=>!!i[n(1734)]});return{width:hn(t)?t:null,height:hn(o)?o:null,userSelectionActive:e.userSelectionActive,transformString:n(883)+e[n(1235)][0]+n(1736)+e[n(1235)][1]+n(757)+e[n(1235)][2]+n(1579)+x+n(1736)+r+n(972)}};function gh({onSelectionContextMenu:e,noPanClassName:n,disableKeyboardA11y:t}){const o=c,x=je(),{width:r,height:i,transformString:a,userSelectionActive:d}=Le(hh,Ee),s=cc(),u=D[o(805)](null);D[o(532)](()=>{!t&&u.current?.focus({preventScroll:!0})},[t]);const f=!d&&r!==null&&i!==null;if(ac({nodeRef:u,disabled:!f}),!f)return null;const y=e?v=>{const h=o,p=x[h(1419)]()[h(405)].filter(M=>M[h(1734)]);e(v,p)}:void 0,g=v=>{const h=o;Object[h(1295)][h(1776)][h(1164)](xx,v.key)&&(v[h(1477)](),s({direction:xx[v.key],factor:v[h(1166)]?4:1}))};return l[o(510)](o(1384),{className:Ge([o(311),o(2052),n]),style:{transform:a},children:l[o(510)](o(1384),{ref:u,className:"react-flow__nodesselection-rect",onContextMenu:y,tabIndex:t?void 0:-1,onKeyDown:t?void 0:g,style:{width:r,height:i}})})}const dc=typeof window!==c(439)?window:void 0,yh=e=>{const n=c;return{nodesSelectionActive:e[n(1887)],userSelectionActive:e[n(897)]}};function uc({children:e,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:o,onPaneMouseLeave:x,onPaneContextMenu:r,onPaneScroll:i,paneClickDistance:a,deleteKeyCode:d,selectionKeyCode:s,selectionOnDrag:u,selectionMode:f,onSelectionStart:y,onSelectionEnd:g,multiSelectionKeyCode:v,panActivationKeyCode:h,zoomActivationKeyCode:p,elementsSelectable:M,zoomOnScroll:w,zoomOnPinch:m,panOnScroll:b,panOnScrollSpeed:C,panOnScrollMode:I,zoomOnDoubleClick:U,panOnDrag:H,defaultViewport:V,translateExtent:A,minZoom:W,maxZoom:T,preventScrolling:X,onSelectionContextMenu:G,noWheelClassName:L,noPanClassName:B,disableKeyboardA11y:S,onViewportChange:E,isControlledViewport:P}){const k=c,{nodesSelectionActive:K,userSelectionActive:_}=Le(yh,Ee),R=x0(s,{target:dc}),$=x0(h,{target:dc}),xe=$||H,ae=$||b,de=u&&xe!==!0,ue=R||_||de;return Q2({deleteKeyCode:d,multiSelectionKeyCode:v}),l[k(510)]($2,{onPaneContextMenu:r,elementsSelectable:M,zoomOnScroll:w,zoomOnPinch:m,panOnScroll:ae,panOnScrollSpeed:C,panOnScrollMode:I,zoomOnDoubleClick:U,panOnDrag:!R&&xe,defaultViewport:V,translateExtent:A,minZoom:W,maxZoom:T,zoomActivationKeyCode:p,preventScrolling:X,noWheelClassName:L,noPanClassName:B,onViewportChange:E,isControlledViewport:P,paneClickDistance:a,selectionOnDrag:de,children:l[k(1306)](xh,{onSelectionStart:y,onSelectionEnd:g,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:o,onPaneMouseLeave:x,onPaneContextMenu:r,onPaneScroll:i,panOnDrag:xe,isSelecting:!!ue,selectionMode:f,selectionKeyPressed:R,paneClickDistance:a,selectionOnDrag:de,children:[e,K&&l[k(510)](gh,{onSelectionContextMenu:G,noPanClassName:B,disableKeyboardA11y:S})]})})}uc.displayName="FlowRenderer";const mh=D[c(1061)](uc),wh=e=>n=>{const t=c;return e?to(n.nodeLookup,{x:0,y:0,width:n.width,height:n[t(1129)]},n[t(1235)],!0)[t(1902)](o=>o.id):Array.from(n.nodeLookup[t(1210)]())};function vh(e){return Le(D[c(1097)](wh(e),[e]),Ee)}const bh=e=>e[c(450)];function ph(){const e=c,n=Le(bh),[t]=D[e(884)](()=>{const o=e;return typeof ResizeObserver===o(439)?null:new ResizeObserver(x=>{const r=o,i=new Map;x[r(1998)](a=>{const d=r,s=a.target.getAttribute(d(1540));i[d(1889)](s,{id:s,nodeElement:a[d(1450)],force:!0})}),n(i)})});return D.useEffect(()=>()=>{t?.disconnect()},[t]),t}function zh({node:e,nodeType:n,hasDimensions:t,resizeObserver:o}){const x=c,r=je(),i=D.useRef(null),a=D[x(805)](null),d=D.useRef(e[x(908)]),s=D.useRef(e.targetPosition),u=D[x(805)](n),f=t&&!!e[x(1300)][x(1167)];return D[x(532)](()=>{const y=x;i.current&&!e[y(569)]&&(!f||a.current!==i[y(506)])&&(a.current&&o?.[y(516)](a[y(506)]),o?.observe(i[y(506)]),a.current=i[y(506)])},[f,e[x(569)]]),D.useEffect(()=>()=>{const y=_0x5528;a.current&&(o?.[y(516)](a.current),a[y(506)]=null)},[]),D[x(532)](()=>{const y=x;if(i[y(506)]){const g=u[y(506)]!==n,v=d[y(506)]!==e[y(908)],h=s[y(506)]!==e.targetPosition;(g||v||h)&&(u[y(506)]=n,d[y(506)]=e[y(908)],s[y(506)]=e[y(1206)],r[y(1419)]().updateNodeInternals(new Map([[e.id,{id:e.id,nodeElement:i[y(506)],force:!0}]])))}},[e.id,n,e[x(908)],e[x(1206)]]),i}function Ch({id:e,onClick:n,onMouseEnter:t,onMouseMove:o,onMouseLeave:x,onContextMenu:r,onDoubleClick:i,nodesDraggable:a,elementsSelectable:d,nodesConnectable:s,nodesFocusable:u,resizeObserver:f,noDragClassName:y,noPanClassName:g,disableKeyboardA11y:v,rfId:h,nodeTypes:p,nodeClickDistance:M,onError:w}){const m=c,{node:b,internals:C,isParent:I}=Le(re=>{const Q=_0x5528,ie=re[Q(212)][Q(1735)](e),F=re[Q(1113)][Q(1264)](e);return{node:ie,internals:ie[Q(1300)],isParent:F}},Ee);let U=b[m(954)]||m(1764),H=p?.[U]||lc[U];H===void 0&&(w?.(m(1973),nn[m(1588)](U)),U="default",H=p?.[m(1764)]||lc.default);const V=!!(b.draggable||a&&typeof b.draggable===m(439)),A=!!(b[m(239)]||d&&typeof b[m(239)]===m(439)),W=!!(b[m(1780)]||s&&typeof b[m(1780)]===m(439)),T=!!(b[m(1984)]||u&&typeof b[m(1984)]===m(439)),X=je(),G=Fi(b),L=zh({node:b,nodeType:U,hasDimensions:G,resizeObserver:f}),B=ac({nodeRef:L,disabled:b[m(569)]||!V,noDragClassName:y,handleSelector:b[m(436)],nodeId:e,isSelectable:A,nodeClickDistance:M}),S=cc();if(b[m(569)])return null;const E=In(b),P=fh(b),k=A||V||n||t||o||x,K=t?re=>t(re,{...C.userNode}):void 0,_=o?re=>o(re,{...C[m(750)]}):void 0,R=x?re=>x(re,{...C[m(750)]}):void 0,$=r?re=>r(re,{...C.userNode}):void 0,xe=i?re=>i(re,{...C[m(750)]}):void 0,ae=re=>{const Q=m,{selectNodesOnDrag:ie,nodeDragThreshold:F}=X[Q(1419)]();A&&(!ie||!V||F>0)&&Do({id:e,store:X,nodeRef:L}),n&&n(re,{...C[Q(750)]})},de=re=>{const Q=m;if(!(na(re[Q(368)])||v)){if(Gi[Q(1402)](re[Q(1673)])&&A){const ie=re.key===Q(1719);Do({id:e,store:X,unselect:ie,nodeRef:L})}else if(V&&b[Q(1734)]&&Object[Q(1295)][Q(1776)][Q(1164)](xx,re[Q(1673)])){re.preventDefault();const{ariaLabelConfig:ie}=X[Q(1419)]();X[Q(1765)]({ariaLiveMessage:ie["node.a11yDescription.ariaLiveMessage"]({direction:re.key[Q(1183)](Q(943),"").toLowerCase(),x:~~C[Q(1918)].x,y:~~C[Q(1918)].y})}),S({direction:xx[re[Q(1673)]],factor:re[Q(1166)]?4:1})}}},ue=()=>{const re=m;if(v||!L.current?.[re(1740)](":focus-visible"))return;const{transform:Q,width:ie,height:F,autoPanOnNodeFocus:N,setCenter:j}=X[re(1419)]();if(!N)return;!(to(new Map([[e,b]]),{x:0,y:0,width:ie,height:F},Q,!0)[re(658)]>0)&&j(b[re(902)].x+E.width/2,b.position.y+E[re(1129)]/2,{zoom:Q[2]})};return l[m(510)](m(1384),{className:Ge(["react-flow__node",m(1480)+U,{[g]:V},b.className,{selected:b[m(1734)],selectable:A,parent:I,draggable:V,dragging:B}]),ref:L,style:{zIndex:C.z,transform:m(883)+C[m(1918)].x+"px,"+C[m(1918)].y+m(972),pointerEvents:m(k?378:696),visibility:m(G?870:569),...b[m(262)],...P},"data-id":e,"data-testid":m(1107)+e,onMouseEnter:K,onMouseMove:_,onMouseLeave:R,onContextMenu:$,onClick:ae,onDoubleClick:xe,onKeyDown:T?de:void 0,tabIndex:T?0:void 0,onFocus:T?ue:void 0,role:b[m(2015)]??(T?m(1449):void 0),"aria-roledescription":m(2039),"aria-describedby":v?void 0:Va+"-"+h,"aria-label":b[m(1521)],...b[m(223)],children:l.jsx(rh,{value:e,children:l[m(510)](H,{id:e,data:b[m(235)],type:U,positionAbsoluteX:C.positionAbsolute.x,positionAbsoluteY:C[m(1918)].y,selected:b[m(1734)]??!1,selectable:A,draggable:V,deletable:b[m(581)]??!0,isConnectable:W,sourcePosition:b[m(908)],targetPosition:b.targetPosition,dragging:B,dragHandle:b[m(436)],zIndex:C.z,parentId:b[m(1064)],...E})})})}var Mh=D[c(1061)](Ch);const Bh=e=>({nodesDraggable:e.nodesDraggable,nodesConnectable:e.nodesConnectable,nodesFocusable:e[c(845)],elementsSelectable:e[c(274)],onError:e.onError});function fc(e){const n=c,{nodesDraggable:t,nodesConnectable:o,nodesFocusable:x,elementsSelectable:r,onError:i}=Le(Bh,Ee),a=vh(e.onlyRenderVisibleElements),d=ph();return l[n(510)](n(1384),{className:"react-flow__nodes",style:tx,children:a[n(1902)](s=>{const u=n;return l[u(510)](Mh,{id:s,nodeTypes:e[u(709)],nodeExtent:e[u(1162)],onClick:e[u(1080)],onMouseEnter:e[u(1126)],onMouseMove:e[u(207)],onMouseLeave:e[u(1865)],onContextMenu:e.onNodeContextMenu,onDoubleClick:e[u(1758)],noDragClassName:e[u(850)],noPanClassName:e[u(1622)],rfId:e[u(892)],disableKeyboardA11y:e[u(1632)],resizeObserver:d,nodesDraggable:t,nodesConnectable:o,nodesFocusable:x,elementsSelectable:r,nodeClickDistance:e[u(916)],onError:i},s)})})}fc[c(1369)]="NodeRenderer";const Dh=D[c(1061)](fc);function Lh(e){return Le(D.useCallback(t=>{const o=_0x5528;if(!e)return t[o(1560)][o(1902)](r=>r.id);const x=[];if(t.width&&t.height)for(const r of t.edges){const i=t[o(212)].get(r[o(962)]),a=t.nodeLookup[o(1735)](r[o(1450)]);i&&a&&D5({sourceNode:i,targetNode:a,width:t[o(1232)],height:t[o(1129)],transform:t[o(1235)]})&&x.push(r.id)}return x},[e]),Ee)}const Sh=({color:e=c(696),strokeWidth:n=1})=>{const t=c,o={strokeWidth:n,...e&&{stroke:e}};return l.jsx(t(538),{className:t(1806),style:o,strokeLinecap:"round",fill:"none",strokeLinejoin:t(639),points:t(992)})},Nh=({color:e=c(696),strokeWidth:n=1})=>{const t=c,o={strokeWidth:n,...e&&{stroke:e,fill:e}};return l[t(510)](t(538),{className:t(1187),style:o,strokeLinecap:t(639),strokeLinejoin:t(639),points:t(1754)})},hc={[W0.Arrow]:Sh,[W0[c(852)]]:Nh};function kh(e){const n=c,t=je();return D[n(1606)](()=>{const x=n;return Object[x(1295)][x(1776)].call(hc,e)?hc[e]:(t[x(1419)]()[x(1342)]?.(x(1988),nn[x(801)](e)),null)},[e])}const Ih=({id:e,type:n,color:t,width:o=12.5,height:x=12.5,markerUnits:r=c(381),strokeWidth:i,orient:a=c(1137)})=>{const d=c,s=kh(n);return s?l[d(510)](d(1779),{className:"react-flow__arrowhead",id:e,markerWidth:""+o,markerHeight:""+x,viewBox:"-10 -10 20 20",markerUnits:r,orient:a,refX:"0",refY:"0",children:l[d(510)](s,{color:t,strokeWidth:i})}):null},gc=({defaultColor:e,rfId:n})=>{const t=c,o=Le(i=>i[t(1560)]),x=Le(i=>i[t(275)]),r=D[t(1606)](()=>{const i=t;return A5(o,{id:n,defaultColor:e,defaultMarkerStart:x?.[i(1710)],defaultMarkerEnd:x?.[i(1317)]})},[o,x,n,e]);return r.length?l.jsx(t(868),{className:t(1436),"aria-hidden":t(1993),children:l[t(510)]("defs",{children:r.map(i=>l[t(510)](Ih,{id:i.id,type:i.type,color:i.color,width:i.width,height:i[t(1129)],markerUnits:i[t(1493)],strokeWidth:i[t(381)],orient:i.orient},i.id))})}):null};gc[c(1369)]=c(601);var Ph=D[c(1061)](gc);function yc({x:e,y:n,label:t,labelStyle:o,labelShowBg:x=!0,labelBgStyle:r,labelBgPadding:i=[2,4],labelBgBorderRadius:a=2,children:d,className:s,...u}){const f=c,[y,g]=D[f(884)]({x:1,y:0,width:0,height:0}),v=Ge(["react-flow__edge-textwrapper",s]),h=D[f(805)](null);return D.useEffect(()=>{const p=f;if(h.current){const M=h.current[p(1907)]();g({x:M.x,y:M.y,width:M[p(1232)],height:M[p(1129)]})}},[t]),t?l[f(1306)]("g",{transform:f(883)+(e-y[f(1232)]/2)+" "+(n-y[f(1129)]/2)+")",className:v,visibility:y[f(1232)]?f(870):f(569),...u,children:[x&&l[f(510)]("rect",{width:y[f(1232)]+2*i[0],x:-i[0],y:-i[1],height:y[f(1129)]+2*i[1],className:f(1899),style:r,rx:a,ry:a}),l[f(510)](f(600),{className:f(336),y:y[f(1129)]/2,dy:f(1914),ref:h,style:o,children:t}),d]}):null}yc[c(1369)]="EdgeText";const Ah=D[c(1061)](yc);function ox({path:e,labelX:n,labelY:t,label:o,labelStyle:x,labelShowBg:r,labelBgStyle:i,labelBgPadding:a,labelBgBorderRadius:d,interactionWidth:s=20,...u}){const f=c;return l[f(1306)](l[f(1006)],{children:[l[f(510)]("path",{...u,d:e,fill:"none",className:Ge([f(1081),u[f(1394)]])}),s?l[f(510)](f(1483),{d:e,fill:f(696),strokeOpacity:0,strokeWidth:s,className:f(520)}):null,o&&hn(n)&&hn(t)?l.jsx(Ah,{x:n,y:t,label:o,labelStyle:x,labelShowBg:r,labelBgStyle:i,labelBgPadding:a,labelBgBorderRadius:d}):null]})}function mc({pos:e,x1:n,y1:t,x2:o,y2:x}){const r=c;return e===he[r(1297)]||e===he[r(467)]?[.5*(n+o),t]:[n,.5*(t+x)]}function wc({sourceX:e,sourceY:n,sourcePosition:t=he[c(1651)],targetX:o,targetY:x,targetPosition:r=he.Top}){const[i,a]=mc({pos:t,x1:e,y1:n,x2:o,y2:x}),[d,s]=mc({pos:r,x1:o,y1:x,x2:e,y2:n}),[u,f,y,g]=oa({sourceX:e,sourceY:n,targetX:o,targetY:x,sourceControlX:i,sourceControlY:a,targetControlX:d,targetControlY:s});return["M"+e+","+n+" C"+i+","+a+" "+d+","+s+" "+o+","+x,u,f,y,g]}function vc(e){return D.memo(({id:n,sourceX:t,sourceY:o,targetX:x,targetY:r,sourcePosition:i,targetPosition:a,label:d,labelStyle:s,labelShowBg:u,labelBgStyle:f,labelBgPadding:y,labelBgBorderRadius:g,style:v,markerEnd:h,markerStart:p,interactionWidth:M})=>{const w=_0x5528,[m,b,C]=wc({sourceX:t,sourceY:o,sourcePosition:i,targetX:x,targetY:r,targetPosition:a}),I=e[w(1123)]?void 0:n;return l[w(510)](ox,{id:I,path:m,labelX:b,labelY:C,label:d,labelStyle:s,labelShowBg:u,labelBgStyle:f,labelBgPadding:y,labelBgBorderRadius:g,style:v,markerEnd:h,markerStart:p,interactionWidth:M})})}const Eh=vc({isInternal:!1}),bc=vc({isInternal:!0});Eh[c(1369)]="SimpleBezierEdge",bc[c(1369)]=c(1418);function pc(e){const n=c;return D[n(1061)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,label:a,labelStyle:d,labelShowBg:s,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:y,style:g,sourcePosition:v=he[n(1651)],targetPosition:h=he[n(295)],markerEnd:p,markerStart:M,pathOptions:w,interactionWidth:m})=>{const b=n,[C,I,U]=io({sourceX:o,sourceY:x,sourcePosition:v,targetX:r,targetY:i,targetPosition:h,borderRadius:w?.[b(1152)],offset:w?.[b(1731)],stepPosition:w?.[b(238)]}),H=e[b(1123)]?void 0:t;return l.jsx(ox,{id:H,path:C,labelX:I,labelY:U,label:a,labelStyle:d,labelShowBg:s,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:y,style:g,markerEnd:p,markerStart:M,interactionWidth:m})})}const zc=pc({isInternal:!1}),Cc=pc({isInternal:!0});zc[c(1369)]=c(906),Cc.displayName="SmoothStepEdgeInternal";function Mc(e){const n=c;return D[n(1061)](({id:t,...o})=>{const x=n,r=e.isInternal?void 0:t;return l[x(510)](zc,{...o,id:r,pathOptions:D.useMemo(()=>({borderRadius:0,offset:o[x(1456)]?.[x(1731)]}),[o[x(1456)]?.[x(1731)]])})})}const jh=Mc({isInternal:!1}),Bc=Mc({isInternal:!0});jh[c(1369)]=c(1861),Bc[c(1369)]=c(576);function Dc(e){const n=c;return D[n(1061)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,label:a,labelStyle:d,labelShowBg:s,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:y,style:g,markerEnd:v,markerStart:h,interactionWidth:p})=>{const M=n,[w,m,b]=sa({sourceX:o,sourceY:x,targetX:r,targetY:i}),C=e[M(1123)]?void 0:t;return l[M(510)](ox,{id:C,path:w,labelX:m,labelY:b,label:a,labelStyle:d,labelShowBg:s,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:y,style:g,markerEnd:v,markerStart:h,interactionWidth:p})})}const Yh=Dc({isInternal:!1}),Lc=Dc({isInternal:!0});Yh[c(1369)]=c(1796),Lc[c(1369)]=c(900);function Sc(e){const n=c;return D[n(1061)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:a=he.Bottom,targetPosition:d=he[n(295)],label:s,labelStyle:u,labelShowBg:f,labelBgStyle:y,labelBgPadding:g,labelBgBorderRadius:v,style:h,markerEnd:p,markerStart:M,pathOptions:w,interactionWidth:m})=>{const b=n,[C,I,U]=ia({sourceX:o,sourceY:x,sourcePosition:a,targetX:r,targetY:i,targetPosition:d,curvature:w?.[b(1769)]}),H=e.isInternal?void 0:t;return l[b(510)](ox,{id:H,path:C,labelX:I,labelY:U,label:s,labelStyle:u,labelShowBg:f,labelBgStyle:y,labelBgPadding:g,labelBgBorderRadius:v,style:h,markerEnd:p,markerStart:M,interactionWidth:m})})}const Uh=Sc({isInternal:!1}),Nc=Sc({isInternal:!0});Uh[c(1369)]=c(728),Nc[c(1369)]=c(1767);const kc={default:Nc,straight:Lc,step:Bc,smoothstep:Cc,simplebezier:bc},Ic={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},Gh=(e,n,t)=>{const o=c;return t===he[o(1297)]?e-n:t===he[o(467)]?e+n:e},Oh=(e,n,t)=>{const o=c;return t===he[o(295)]?e-n:t===he[o(1651)]?e+n:e},Pc=c(987);function Ac({position:e,centerX:n,centerY:t,radius:o=10,onMouseDown:x,onMouseEnter:r,onMouseOut:i,type:a}){const d=c;return l.jsx(d(270),{onMouseDown:x,onMouseEnter:r,onMouseOut:i,className:Ge([Pc,Pc+"-"+a]),cx:Gh(n,o,e),cy:Oh(t,o,e),r:o,stroke:"transparent",fill:d(1958)})}function Hh({isReconnectable:e,reconnectRadius:n,edge:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:a,targetPosition:d,onReconnect:s,onReconnectStart:u,onReconnectEnd:f,setReconnecting:y,setUpdateHover:g}){const v=c,h=je(),p=(C,I)=>{const U=_0x5528;if(C[U(1020)]!==0)return;const{autoPanOnConnect:H,domNode:V,connectionMode:A,connectionRadius:W,lib:T,onConnectStart:X,cancelConnection:G,nodeLookup:L,rfId:B,panBy:S,updateConnection:E}=h[U(1419)](),P=I[U(954)]===U(1450),k=(R,$)=>{y(!1),f?.(R,t,I.type,$)},K=R=>s?.(t,R),_=(R,$)=>{const xe=U;y(!0),u?.(C,t,I[xe(954)]),X?.(R,$)};yo.onPointerDown(C[U(368)],{autoPanOnConnect:H,connectionMode:A,connectionRadius:W,domNode:V,handleId:I.id,nodeId:I[U(985)],nodeLookup:L,isTarget:P,edgeUpdaterType:I[U(954)],lib:T,flowId:B,cancelConnection:G,panBy:S,isValidConnection:(...R)=>h[U(1419)]()[U(1033)]?.(...R)??!0,onConnect:K,onConnectStart:_,onConnectEnd:(...R)=>h[U(1419)]()[U(1464)]?.(...R),onReconnectEnd:k,updateConnection:E,getTransform:()=>h[U(1419)]()[U(1235)],getFromHandle:()=>h[U(1419)]()[U(417)][U(2032)],dragThreshold:h[U(1419)]()[U(1836)],handleDomNode:C.currentTarget})},M=C=>p(C,{nodeId:t[v(1450)],id:t.targetHandle??null,type:v(1450)}),w=C=>p(C,{nodeId:t[v(962)],id:t[v(1499)]??null,type:v(962)}),m=()=>g(!0),b=()=>g(!1);return l[v(1306)](l[v(1006)],{children:[(e===!0||e===v(962))&&l.jsx(Ac,{position:a,centerX:o,centerY:x,radius:n,onMouseDown:M,onMouseEnter:m,onMouseOut:b,type:v(962)}),(e===!0||e===v(1450))&&l[v(510)](Ac,{position:d,centerX:r,centerY:i,radius:n,onMouseDown:w,onMouseEnter:m,onMouseOut:b,type:v(1450)})]})}function Th({id:e,edgesFocusable:n,edgesReconnectable:t,elementsSelectable:o,onClick:x,onDoubleClick:r,onContextMenu:i,onMouseEnter:a,onMouseMove:d,onMouseLeave:s,reconnectRadius:u,onReconnect:f,onReconnectStart:y,onReconnectEnd:g,rfId:v,edgeTypes:h,noPanClassName:p,onError:M,disableKeyboardA11y:w}){const m=c;let b=Le(N=>N[m(1518)][m(1735)](e));const C=Le(N=>N[m(275)]);b=C?{...C,...b}:b;let I=b.type||"default",U=h?.[I]||kc[I];U===void 0&&(M?.(m(1260),nn[m(251)](I)),I=m(1764),U=h?.default||kc[m(1764)]);const H=!!(b[m(1984)]||n&&typeof b[m(1984)]===m(439)),V=typeof f!==m(439)&&(b[m(1431)]||t&&typeof b[m(1431)]===m(439)),A=!!(b[m(239)]||o&&typeof b.selectable===m(439)),W=D[m(805)](null),[T,X]=D[m(884)](!1),[G,L]=D[m(884)](!1),B=je(),{zIndex:S,sourceX:E,sourceY:P,targetX:k,targetY:K,sourcePosition:_,targetPosition:R}=Le(D[m(1097)](N=>{const j=m,Z=N.nodeLookup.get(b[j(962)]),O=N[j(212)][j(1735)](b[j(1450)]);if(!Z||!O)return{zIndex:b[j(996)],...Ic};const oe=P5({id:e,sourceNode:Z,targetNode:O,sourceHandle:b[j(1499)]||null,targetHandle:b.targetHandle||null,connectionMode:N.connectionMode,onError:M});return{zIndex:B5({selected:b[j(1734)],zIndex:b[j(996)],sourceNode:Z,targetNode:O,elevateOnSelect:N[j(1781)],zIndexMode:N[j(1883)]}),...oe||Ic}},[b[m(962)],b.target,b[m(1499)],b[m(586)],b[m(1734)],b[m(996)]]),Ee),$=D[m(1606)](()=>b[m(1710)]?m(1964)+ao(b.markerStart,v)+"')":void 0,[b[m(1710)],v]),xe=D[m(1606)](()=>b[m(1317)]?"url('#"+ao(b[m(1317)],v)+"')":void 0,[b.markerEnd,v]);if(b.hidden||E===null||P===null||k===null||K===null)return null;const ae=N=>{const j=m,{addSelectedEdges:Z,unselectNodesAndEdges:O,multiSelectionActive:oe}=B[j(1419)]();A&&(B.setState({nodesSelectionActive:!1}),b[j(1734)]&&oe?(O({nodes:[],edges:[b]}),W[j(506)]?.[j(259)]()):Z([e])),x&&x(N,b)},de=r?N=>{r(N,{...b})}:void 0,ue=i?N=>{i(N,{...b})}:void 0,re=a?N=>{a(N,{...b})}:void 0,Q=d?N=>{d(N,{...b})}:void 0,ie=s?N=>{s(N,{...b})}:void 0,F=N=>{const j=m;if(!w&&Gi[j(1402)](N.key)&&A){const{unselectNodesAndEdges:Z,addSelectedEdges:O}=B[j(1419)]();N[j(1673)]===j(1719)?(W[j(506)]?.[j(259)](),Z({edges:[b]})):O([e])}};return l.jsx(m(868),{style:{zIndex:S},children:l.jsxs("g",{className:Ge([m(995),"react-flow__edge-"+I,b[m(1394)],p,{selected:b.selected,animated:b[m(1777)],inactive:!A&&!x,updating:T,selectable:A}]),onClick:ae,onDoubleClick:de,onContextMenu:ue,onMouseEnter:re,onMouseMove:Q,onMouseLeave:ie,onKeyDown:H?F:void 0,tabIndex:H?0:void 0,role:b[m(2015)]??(H?"group":m(1646)),"aria-roledescription":m(213),"data-id":e,"data-testid":m(1580)+e,"aria-label":b[m(1521)]===null?void 0:b[m(1521)]||m(968)+b.source+m(1460)+b[m(1450)],"aria-describedby":H?Wa+"-"+v:void 0,ref:W,...b.domAttributes,children:[!G&&l[m(510)](U,{id:e,source:b[m(962)],target:b[m(1450)],type:b[m(954)],selected:b[m(1734)],animated:b[m(1777)],selectable:A,deletable:b.deletable??!0,label:b[m(1150)],labelStyle:b[m(1571)],labelShowBg:b.labelShowBg,labelBgStyle:b[m(942)],labelBgPadding:b[m(558)],labelBgBorderRadius:b[m(628)],sourceX:E,sourceY:P,targetX:k,targetY:K,sourcePosition:_,targetPosition:R,data:b[m(235)],style:b[m(262)],sourceHandleId:b[m(1499)],targetHandleId:b.targetHandle,markerStart:$,markerEnd:xe,pathOptions:m(1456)in b?b[m(1456)]:void 0,interactionWidth:b[m(1266)]}),V&&l[m(510)](Hh,{edge:b,isReconnectable:V,reconnectRadius:u,onReconnect:f,onReconnectStart:y,onReconnectEnd:g,sourceX:E,sourceY:P,targetX:k,targetY:K,sourcePosition:_,targetPosition:R,setUpdateHover:X,setReconnecting:L})]})})}var Vh=D.memo(Th);const Wh=e=>({edgesFocusable:e[c(723)],edgesReconnectable:e.edgesReconnectable,elementsSelectable:e[c(274)],connectionMode:e[c(1911)],onError:e[c(1342)]});function Ec({defaultMarkerColor:e,onlyRenderVisibleElements:n,rfId:t,edgeTypes:o,noPanClassName:x,onReconnect:r,onEdgeContextMenu:i,onEdgeMouseEnter:a,onEdgeMouseMove:d,onEdgeMouseLeave:s,onEdgeClick:u,reconnectRadius:f,onEdgeDoubleClick:y,onReconnectStart:g,onReconnectEnd:v,disableKeyboardA11y:h}){const p=c,{edgesFocusable:M,edgesReconnectable:w,elementsSelectable:m,onError:b}=Le(Wh,Ee),C=Lh(n);return l[p(1306)](p(1384),{className:p(983),children:[l[p(510)](Ph,{defaultColor:e,rfId:t}),C.map(I=>l.jsx(Vh,{id:I,edgesFocusable:M,edgesReconnectable:w,elementsSelectable:m,noPanClassName:x,onReconnect:r,onContextMenu:i,onMouseEnter:a,onMouseMove:d,onMouseLeave:s,onClick:u,reconnectRadius:f,onDoubleClick:y,onReconnectStart:g,onReconnectEnd:v,rfId:t,onError:b,edgeTypes:o,disableKeyboardA11y:h},I))]})}Ec[c(1369)]=c(1247);const qh=D[c(1061)](Ec),Xh=e=>c(883)+e[c(1235)][0]+c(1736)+e[c(1235)][1]+c(757)+e.transform[2]+")";function Zh({children:e}){const n=c,t=Le(Xh);return l[n(510)](n(1384),{className:n(1323),style:{transform:t},children:e})}function Kh(e){const n=c,t=Mo(),o=D.useRef(!1);D[n(532)](()=>{const x=n;!o[x(506)]&&t[x(1845)]&&e&&(setTimeout(()=>e(t),1),o[x(506)]=!0)},[e,t[n(1845)]])}const Rh=e=>e[c(1283)]?.syncViewport;function Jh(e){const n=c,t=Le(Rh),o=je();return D[n(532)](()=>{const x=n;e&&(t?.(e),o[x(1765)]({transform:[e.x,e.y,e.zoom]}))},[e,t]),null}function Qh(e){const n=c;return e[n(417)].inProgress?{...e[n(417)],to:e0(e.connection.to,e[n(1235)])}:{...e[n(417)]}}function Fh(e){return Qh}function _h(e){const n=Fh();return Le(n,Ee)}const $h=e=>({nodesConnectable:e[c(321)],isValid:e[c(417)][c(1857)],inProgress:e[c(417)].inProgress,width:e[c(1232)],height:e[c(1129)]});function eg({containerStyle:e,style:n,type:t,component:o}){const x=c,{nodesConnectable:r,width:i,height:a,isValid:d,inProgress:s}=Le($h,Ee);return!(i&&r&&s)?null:l[x(510)]("svg",{style:e,width:i,height:a,className:x(1475),children:l[x(510)]("g",{className:Ge([x(824),Vi(d)]),children:l[x(510)](jc,{style:n,type:t,CustomComponent:o,isValid:d})})})}const jc=({style:e,type:n=jn[c(1087)],CustomComponent:t,isValid:o})=>{const x=c,{inProgress:r,from:i,fromNode:a,fromHandle:d,fromPosition:s,to:u,toNode:f,toHandle:y,toPosition:g,pointer:v}=_h();if(!r)return;if(t)return l[x(510)](t,{connectionLineType:n,connectionLineStyle:e,fromNode:a,fromHandle:d,fromX:i.x,fromY:i.y,toX:u.x,toY:u.y,fromPosition:s,toPosition:g,connectionStatus:Vi(o),toNode:f,toHandle:y,pointer:v});let h="";const p={sourceX:i.x,sourceY:i.y,sourcePosition:s,targetX:u.x,targetY:u.y,targetPosition:g};switch(n){case jn[x(1087)]:[h]=ia(p);break;case jn[x(547)]:[h]=wc(p);break;case jn.Step:[h]=io({...p,borderRadius:0});break;case jn[x(2030)]:[h]=io(p);break;default:[h]=sa(p)}return l[x(510)]("path",{d:h,fill:"none",className:x(1850),style:e})};jc[c(1369)]=c(1018);const ng={};function Yc(e=ng){const n=c,t=D[n(805)](e),o=je();D[n(532)](()=>{const x=n;if(process.env.NODE_ENV===x(1156)){const r=new Set([...Object.keys(t[x(506)]),...Object[x(1210)](e)]);for(const i of r)if(t[x(506)][i]!==e[i]){o[x(1419)]()[x(1342)]?.(x(1263),nn.error002());break}t.current=e}},[e])}function tg(){const e=c,n=je(),t=D[e(805)](!1);D[e(532)](()=>{const o=e;if(process.env.NODE_ENV==="development"&&!t.current){const x=document.querySelector(o(1191));x&&window[o(1368)](x)[o(996)]!=="1"&&n[o(1419)]().onError?.("013",nn[o(1226)](o(848))),t[o(506)]=!0}},[])}function Uc({nodeTypes:e,edgeTypes:n,onInit:t,onNodeClick:o,onEdgeClick:x,onNodeDoubleClick:r,onEdgeDoubleClick:i,onNodeMouseEnter:a,onNodeMouseMove:d,onNodeMouseLeave:s,onNodeContextMenu:u,onSelectionContextMenu:f,onSelectionStart:y,onSelectionEnd:g,connectionLineType:v,connectionLineStyle:h,connectionLineComponent:p,connectionLineContainerStyle:M,selectionKeyCode:w,selectionOnDrag:m,selectionMode:b,multiSelectionKeyCode:C,panActivationKeyCode:I,zoomActivationKeyCode:U,deleteKeyCode:H,onlyRenderVisibleElements:V,elementsSelectable:A,defaultViewport:W,translateExtent:T,minZoom:X,maxZoom:G,preventScrolling:L,defaultMarkerColor:B,zoomOnScroll:S,zoomOnPinch:E,panOnScroll:P,panOnScrollSpeed:k,panOnScrollMode:K,zoomOnDoubleClick:_,panOnDrag:R,onPaneClick:$,onPaneMouseEnter:xe,onPaneMouseMove:ae,onPaneMouseLeave:de,onPaneScroll:ue,onPaneContextMenu:re,paneClickDistance:Q,nodeClickDistance:ie,onEdgeContextMenu:F,onEdgeMouseEnter:N,onEdgeMouseMove:j,onEdgeMouseLeave:Z,reconnectRadius:O,onReconnect:oe,onReconnectStart:le,onReconnectEnd:se,noDragClassName:ge,noWheelClassName:ve,noPanClassName:Se,disableKeyboardA11y:ze,nodeExtent:ke,rfId:Ye,viewport:Ie,onViewportChange:Pe}){const Ae=c;return Yc(e),Yc(n),tg(),Kh(t),Jh(Ie),l[Ae(510)](mh,{onPaneClick:$,onPaneMouseEnter:xe,onPaneMouseMove:ae,onPaneMouseLeave:de,onPaneContextMenu:re,onPaneScroll:ue,paneClickDistance:Q,deleteKeyCode:H,selectionKeyCode:w,selectionOnDrag:m,selectionMode:b,onSelectionStart:y,onSelectionEnd:g,multiSelectionKeyCode:C,panActivationKeyCode:I,zoomActivationKeyCode:U,elementsSelectable:A,zoomOnScroll:S,zoomOnPinch:E,zoomOnDoubleClick:_,panOnScroll:P,panOnScrollSpeed:k,panOnScrollMode:K,panOnDrag:R,defaultViewport:W,translateExtent:T,minZoom:X,maxZoom:G,onSelectionContextMenu:f,preventScrolling:L,noDragClassName:ge,noWheelClassName:ve,noPanClassName:Se,disableKeyboardA11y:ze,onViewportChange:Pe,isControlledViewport:!!Ie,children:l.jsxs(Zh,{children:[l[Ae(510)](qh,{edgeTypes:n,onEdgeClick:x,onEdgeDoubleClick:i,onReconnect:oe,onReconnectStart:le,onReconnectEnd:se,onlyRenderVisibleElements:V,onEdgeContextMenu:F,onEdgeMouseEnter:N,onEdgeMouseMove:j,onEdgeMouseLeave:Z,reconnectRadius:O,defaultMarkerColor:B,noPanClassName:Se,disableKeyboardA11y:ze,rfId:Ye}),l[Ae(510)](eg,{style:h,type:v,component:p,containerStyle:M}),l[Ae(510)](Ae(1384),{className:Ae(285)}),l.jsx(Dh,{nodeTypes:e,onNodeClick:o,onNodeDoubleClick:r,onNodeMouseEnter:a,onNodeMouseMove:d,onNodeMouseLeave:s,onNodeContextMenu:u,nodeClickDistance:ie,onlyRenderVisibleElements:V,noPanClassName:Se,noDragClassName:ge,disableKeyboardA11y:ze,nodeExtent:ke,rfId:Ye}),l[Ae(510)]("div",{className:Ae(2020)})]})})}Uc[c(1369)]=c(1702);const xg=D[c(1061)](Uc),Gc=({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:i,fitViewOptions:a,minZoom:d=.5,maxZoom:s=2,nodeOrigin:u,nodeExtent:f,zIndexMode:y=c(1608)}={})=>{const g=c,v=new Map,h=new Map,p=new Map,M=new Map,w=o??n??[],m=t??e??[],b=u??[0,0],C=f??Rt;wa(p,M,w);const{nodesInitialized:I}=uo(m,v,h,{nodeOrigin:b,nodeExtent:C,zIndexMode:y});let U=[0,0,1];if(i&&x&&r){const H=Ft(v,{filter:T=>!!((T[g(1232)]||T.initialWidth)&&(T.height||T.initialHeight))}),{x:V,y:A,zoom:W}=oo(H,x,r,d,s,a?.[g(1314)]??.1);U=[V,A,W]}return{rfId:"1",width:x??0,height:r??0,transform:U,nodes:m,nodesInitialized:I,nodeLookup:v,parentLookup:h,edges:w,edgeLookup:M,connectionLookup:p,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:t!==void 0,hasDefaultEdges:o!==void 0,panZoom:null,minZoom:d,maxZoom:s,translateExtent:Rt,nodeExtent:C,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:yt[g(484)],domNode:null,paneDragging:!1,noPanClassName:g(944),nodeOrigin:b,nodeDragThreshold:1,connectionDragThreshold:1,snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,nodesFocusable:!0,edgesFocusable:!0,edgesReconnectable:!0,elementsSelectable:!0,elevateNodesOnSelect:!0,elevateEdgesOnSelect:!0,selectNodesOnDrag:!0,multiSelectionActive:!1,fitViewQueued:i??!1,fitViewOptions:a,fitViewResolver:null,connection:{...Hi},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:Qi,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:g(848),debug:!1,ariaLabelConfig:Oi,zIndexMode:y,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},og=({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:i,fitViewOptions:a,minZoom:d,maxZoom:s,nodeOrigin:u,nodeExtent:f,zIndexMode:y})=>C2((g,v)=>{async function h(){const p=_0x5528,{nodeLookup:M,panZoom:w,fitViewOptions:m,fitViewResolver:b,width:C,height:I,minZoom:U,maxZoom:H}=v();w&&(await w5({nodes:M,width:C,height:I,panZoom:w,minZoom:U,maxZoom:H},m),b?.[p(369)](!0),g({fitViewResolver:null}))}return{...Gc({nodes:e,edges:n,width:x,height:r,fitView:i,fitViewOptions:a,minZoom:d,maxZoom:s,nodeOrigin:u,nodeExtent:f,defaultNodes:t,defaultEdges:o,zIndexMode:y}),setNodes:p=>{const{nodeLookup:M,parentLookup:w,nodeOrigin:m,elevateNodesOnSelect:b,fitViewQueued:C,zIndexMode:I,nodesSelectionActive:U}=v(),{nodesInitialized:H,hasSelectedNodes:V}=uo(p,M,w,{nodeOrigin:m,nodeExtent:f,elevateNodesOnSelect:b,checkEquality:!0,zIndexMode:I}),A=U&&V;C&&H?(h(),g({nodes:p,nodesInitialized:H,fitViewQueued:!1,fitViewOptions:void 0,nodesSelectionActive:A})):g({nodes:p,nodesInitialized:H,nodesSelectionActive:A})},setEdges:p=>{const{connectionLookup:M,edgeLookup:w}=v();wa(M,w,p),g({edges:p})},setDefaultNodesAndEdges:(p,M)=>{if(p){const{setNodes:w}=v();w(p),g({hasDefaultNodes:!0})}if(M){const{setEdges:w}=v();w(M),g({hasDefaultEdges:!0})}},updateNodeInternals:p=>{const M=_0x5528,{triggerNodeChanges:w,nodeLookup:m,parentLookup:b,domNode:C,nodeOrigin:I,nodeExtent:U,debug:H,fitViewQueued:V,zIndexMode:A}=v(),{changes:W,updatedInternals:T}=H5(p,m,b,C,I,U,A);T&&(Y5(m,b,{nodeOrigin:I,nodeExtent:U,zIndexMode:A}),V?(h(),g({fitViewQueued:!1,fitViewOptions:void 0})):g({}),W?.[M(658)]>0&&(H&&console.log(M(1056),W),w?.(W)))},updateNodePositions:(p,M=!1)=>{const w=_0x5528,m=[];let b=[];const{nodeLookup:C,triggerNodeChanges:I,connection:U,updateConnection:H,onNodesChangeMiddlewareMap:V}=v();for(const[A,W]of p){const T=C[w(1735)](A),X=!!(T?.expandParent&&T?.[w(1064)]&&W?.[w(902)]),G={id:A,type:w(902),position:X?{x:Math[w(735)](0,W[w(902)].x),y:Math[w(735)](0,W[w(902)].y)}:W[w(902)],dragging:M};if(T&&U[w(1407)]&&U[w(256)].id===T.id){const L=$n(T,U.fromHandle,he[w(1297)],!0);H({...U,from:L})}X&&T[w(1064)]&&m.push({id:A,parentId:T.parentId,rect:{...W.internals[w(1918)],width:W[w(1629)][w(1232)]??0,height:W[w(1629)][w(1129)]??0}}),b[w(1148)](G)}if(m[w(658)]>0){const{parentLookup:A,nodeOrigin:W}=v(),T=ho(m,C,A,W);b[w(1148)](...T)}for(const A of V[w(839)]())b=A(b);I(b)},triggerNodeChanges:p=>{const M=_0x5528,{onNodesChange:w,setNodes:m,nodes:b,hasDefaultNodes:C,debug:I}=v();if(p?.[M(658)]){if(C){const U=_a(p,b);m(U)}I&&console[M(1737)](M(1056),p),w?.(p)}},triggerEdgeChanges:p=>{const M=_0x5528,{onEdgesChange:w,setEdges:m,edges:b,hasDefaultEdges:C,debug:I}=v();if(p?.[M(658)]){if(C){const U=$a(p,b);m(U)}I&&console[M(1737)](M(1868),p),w?.(p)}},addSelectedNodes:p=>{const{multiSelectionActive:M,edgeLookup:w,nodeLookup:m,triggerNodeChanges:b,triggerEdgeChanges:C}=v();if(M){const I=p.map(U=>et(U,!0));b(I);return}b(Ct(m,new Set([...p]),!0)),C(Ct(w))},addSelectedEdges:p=>{const M=_0x5528,{multiSelectionActive:w,edgeLookup:m,nodeLookup:b,triggerNodeChanges:C,triggerEdgeChanges:I}=v();if(w){const U=p[M(1902)](H=>et(H,!0));I(U);return}I(Ct(m,new Set([...p]))),C(Ct(b,new Set,!0))},unselectNodesAndEdges:({nodes:p,edges:M}={})=>{const w=_0x5528,{edges:m,nodes:b,nodeLookup:C,triggerNodeChanges:I,triggerEdgeChanges:U}=v(),H=p||b,V=M||m,A=[];for(const T of H){if(!T[w(1734)])continue;const X=C[w(1735)](T.id);X&&(X.selected=!1),A[w(1148)](et(T.id,!1))}const W=[];for(const T of V)T.selected&&W[w(1148)](et(T.id,!1));I(A),U(W)},setMinZoom:p=>{const M=_0x5528,{panZoom:w,maxZoom:m}=v();w?.[M(1739)]([p,m]),g({minZoom:p})},setMaxZoom:p=>{const M=_0x5528,{panZoom:w,minZoom:m}=v();w?.[M(1739)]([m,p]),g({maxZoom:p})},setTranslateExtent:p=>{const M=_0x5528;v()[M(1283)]?.setTranslateExtent(p),g({translateExtent:p})},resetSelectedElements:()=>{const p=_0x5528,{edges:M,nodes:w,triggerNodeChanges:m,triggerEdgeChanges:b,elementsSelectable:C}=v();if(!C)return;const I=w.reduce((H,V)=>V[p(1734)]?[...H,et(V.id,!1)]:H,[]),U=M[p(412)]((H,V)=>V[p(1734)]?[...H,et(V.id,!1)]:H,[]);m(I),b(U)},setNodeExtent:p=>{const{nodes:M,nodeLookup:w,parentLookup:m,nodeOrigin:b,elevateNodesOnSelect:C,nodeExtent:I,zIndexMode:U}=v();p[0][0]===I[0][0]&&p[0][1]===I[0][1]&&p[1][0]===I[1][0]&&p[1][1]===I[1][1]||(uo(M,w,m,{nodeOrigin:b,nodeExtent:p,elevateNodesOnSelect:C,checkEquality:!1,zIndexMode:U}),g({nodeExtent:p}))},panBy:p=>{const{transform:M,width:w,height:m,panZoom:b,translateExtent:C}=v();return T5({delta:p,panZoom:b,transform:M,translateExtent:C,width:w,height:m})},setCenter:async(p,M,w)=>{const m=_0x5528,{width:b,height:C,maxZoom:I,panZoom:U}=v();if(!U)return Promise[m(369)](!1);const H=typeof w?.[m(915)]!==m(439)?w.zoom:I;return await U[m(1773)]({x:b/2-p*H,y:C/2-M*H,zoom:H},{duration:w?.[m(379)],ease:w?.ease,interpolate:w?.interpolate}),Promise[m(369)](!0)},cancelConnection:()=>{g({connection:{...Hi}})},updateConnection:p=>{g({connection:p})},reset:()=>g({...Gc()})}},Object.is);function rg({initialNodes:e,initialEdges:n,defaultNodes:t,defaultEdges:o,initialWidth:x,initialHeight:r,initialMinZoom:i,initialMaxZoom:a,initialFitViewOptions:d,fitView:s,nodeOrigin:u,nodeExtent:f,zIndexMode:y,children:g}){const v=c,[h]=D[v(884)](()=>og({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:s,minZoom:i,maxZoom:a,fitViewOptions:d,nodeOrigin:u,nodeExtent:f,zIndexMode:y}));return l[v(510)](M2,{value:h,children:l[v(510)](Z2,{children:g})})}function ig({children:e,nodes:n,edges:t,defaultNodes:o,defaultEdges:x,width:r,height:i,fitView:a,fitViewOptions:d,minZoom:s,maxZoom:u,nodeOrigin:f,nodeExtent:y,zIndexMode:g}){const v=c;return D.useContext($0)?l[v(510)](l[v(1006)],{children:e}):l[v(510)](rg,{initialNodes:n,initialEdges:t,defaultNodes:o,defaultEdges:x,initialWidth:r,initialHeight:i,fitView:a,initialFitViewOptions:d,initialMinZoom:s,initialMaxZoom:u,nodeOrigin:f,nodeExtent:y,zIndexMode:g,children:e})}const ag={width:c(733),height:c(733),overflow:"hidden",position:c(471),zIndex:0};function cg({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,className:x,nodeTypes:r,edgeTypes:i,onNodeClick:a,onEdgeClick:d,onInit:s,onMove:u,onMoveStart:f,onMoveEnd:y,onConnect:g,onConnectStart:v,onConnectEnd:h,onClickConnectStart:p,onClickConnectEnd:M,onNodeMouseEnter:w,onNodeMouseMove:m,onNodeMouseLeave:b,onNodeContextMenu:C,onNodeDoubleClick:I,onNodeDragStart:U,onNodeDrag:H,onNodeDragStop:V,onNodesDelete:A,onEdgesDelete:W,onDelete:T,onSelectionChange:X,onSelectionDragStart:G,onSelectionDrag:L,onSelectionDragStop:B,onSelectionContextMenu:S,onSelectionStart:E,onSelectionEnd:P,onBeforeDelete:k,connectionMode:K,connectionLineType:_=jn[c(1087)],connectionLineStyle:R,connectionLineComponent:$,connectionLineContainerStyle:xe,deleteKeyCode:ae=c(794),selectionKeyCode:de="Shift",selectionOnDrag:ue=!1,selectionMode:re=Jt.Full,panActivationKeyCode:Q="Space",multiSelectionKeyCode:ie=n0()?c(303):c(220),zoomActivationKeyCode:F=n0()?"Meta":c(220),snapToGrid:N,snapGrid:j,onlyRenderVisibleElements:Z=!1,selectNodesOnDrag:O,nodesDraggable:oe,autoPanOnNodeFocus:le,nodesConnectable:se,nodesFocusable:ge,nodeOrigin:ve=qa,edgesFocusable:Se,edgesReconnectable:ze,elementsSelectable:ke=!0,defaultViewport:Ye=U2,minZoom:Ie=.5,maxZoom:Pe=2,translateExtent:Ae=Rt,preventScrolling:Ve=!0,nodeExtent:tn,defaultMarkerColor:yn=c(706),zoomOnScroll:Je=!0,zoomOnPinch:rn=!0,panOnScroll:Xe=!1,panOnScrollSpeed:an=.5,panOnScrollMode:cn=Fn[c(544)],zoomOnDoubleClick:xn=!0,panOnDrag:mn=!0,onPaneClick:Pn,onPaneMouseEnter:Qe,onPaneMouseMove:Bt,onPaneMouseLeave:Ze,onPaneScroll:Hn,onPaneContextMenu:We,paneClickDistance:Mn=1,nodeClickDistance:Dt=0,children:No,onReconnect:ko,onReconnectStart:Io,onReconnectEnd:Po,onEdgeContextMenu:Ao,onEdgeDoubleClick:Eo,onEdgeMouseEnter:jo,onEdgeMouseMove:Yo,onEdgeMouseLeave:cx,reconnectRadius:sx=10,onNodesChange:lx,onEdgesChange:dx,noDragClassName:ux=c(2050),noWheelClassName:o0=c(969),noPanClassName:Tn=c(944),fitView:Vn,fitViewOptions:fx,connectOnClick:Lt,attributionPosition:hx,proOptions:gx,defaultEdgeOptions:Uo,elevateNodesOnSelect:Go=!0,elevateEdgesOnSelect:yx=!1,disableKeyboardA11y:r0=!1,autoPanOnConnect:i0,autoPanOnNodeDrag:mx,autoPanSpeed:a0,connectionRadius:Y,isValidConnection:q,onError:te,style:ee,id:fe,nodeDragThreshold:J,connectionDragThreshold:ne,viewport:ye,onViewportChange:we,width:me,height:Ce,colorMode:pe=c(1495),debug:Ne,onScroll:Oe,ariaLabelConfig:Fe,zIndexMode:wn="basic",...Ke},Me){const Be=c,nt=fe||"1",wx=T2(pe),vx=D[Be(1097)](bx=>{bx[Be(1433)].scrollTo({top:0,left:0,behavior:"instant"}),Oe?.(bx)},[Oe]);return l[Be(510)](Be(1384),{"data-testid":"rf__wrapper",...Ke,onScroll:vx,style:{...ee,...ag},ref:Me,className:Ge([Be(1670),x,wx]),id:fe,role:Be(1389),children:l.jsxs(ig,{nodes:e,edges:n,width:me,height:Ce,fitView:Vn,fitViewOptions:fx,minZoom:Ie,maxZoom:Pe,nodeOrigin:ve,nodeExtent:tn,zIndexMode:wn,children:[l[Be(510)](H2,{nodes:e,edges:n,defaultNodes:t,defaultEdges:o,onConnect:g,onConnectStart:v,onConnectEnd:h,onClickConnectStart:p,onClickConnectEnd:M,nodesDraggable:oe,autoPanOnNodeFocus:le,nodesConnectable:se,nodesFocusable:ge,edgesFocusable:Se,edgesReconnectable:ze,elementsSelectable:ke,elevateNodesOnSelect:Go,elevateEdgesOnSelect:yx,minZoom:Ie,maxZoom:Pe,nodeExtent:tn,onNodesChange:lx,onEdgesChange:dx,snapToGrid:N,snapGrid:j,connectionMode:K,translateExtent:Ae,connectOnClick:Lt,defaultEdgeOptions:Uo,fitView:Vn,fitViewOptions:fx,onNodesDelete:A,onEdgesDelete:W,onDelete:T,onNodeDragStart:U,onNodeDrag:H,onNodeDragStop:V,onSelectionDrag:L,onSelectionDragStart:G,onSelectionDragStop:B,onMove:u,onMoveStart:f,onMoveEnd:y,noPanClassName:Tn,nodeOrigin:ve,rfId:nt,autoPanOnConnect:i0,autoPanOnNodeDrag:mx,autoPanSpeed:a0,onError:te,connectionRadius:Y,isValidConnection:q,selectNodesOnDrag:O,nodeDragThreshold:J,connectionDragThreshold:ne,onBeforeDelete:k,debug:Ne,ariaLabelConfig:Fe,zIndexMode:wn}),l[Be(510)](xg,{onInit:s,onNodeClick:a,onEdgeClick:d,onNodeMouseEnter:w,onNodeMouseMove:m,onNodeMouseLeave:b,onNodeContextMenu:C,onNodeDoubleClick:I,nodeTypes:r,edgeTypes:i,connectionLineType:_,connectionLineStyle:R,connectionLineComponent:$,connectionLineContainerStyle:xe,selectionKeyCode:de,selectionOnDrag:ue,selectionMode:re,deleteKeyCode:ae,multiSelectionKeyCode:ie,panActivationKeyCode:Q,zoomActivationKeyCode:F,onlyRenderVisibleElements:Z,defaultViewport:Ye,translateExtent:Ae,minZoom:Ie,maxZoom:Pe,preventScrolling:Ve,zoomOnScroll:Je,zoomOnPinch:rn,zoomOnDoubleClick:xn,panOnScroll:Xe,panOnScrollSpeed:an,panOnScrollMode:cn,panOnDrag:mn,onPaneClick:Pn,onPaneMouseEnter:Qe,onPaneMouseMove:Bt,onPaneMouseLeave:Ze,onPaneScroll:Hn,onPaneContextMenu:We,paneClickDistance:Mn,nodeClickDistance:Dt,onSelectionContextMenu:S,onSelectionStart:E,onSelectionEnd:P,onReconnect:ko,onReconnectStart:Io,onReconnectEnd:Po,onEdgeContextMenu:Ao,onEdgeDoubleClick:Eo,onEdgeMouseEnter:jo,onEdgeMouseMove:Yo,onEdgeMouseLeave:cx,reconnectRadius:sx,defaultMarkerColor:yn,noDragClassName:ux,noWheelClassName:o0,noPanClassName:Tn,rfId:nt,disableKeyboardA11y:r0,nodeExtent:tn,viewport:ye,onViewportChange:we}),l[Be(510)](Y2,{onSelectionChange:X}),No,l[Be(510)](I2,{proOptions:gx,position:hx}),l[Be(510)](k2,{rfId:nt,disableKeyboardA11y:r0})]})})}var sg=xc(cg);function lg(e){const n=c,[t,o]=D[n(884)](e),x=D.useCallback(r=>o(i=>_a(r,i)),[]);return[t,o,x]}function dg(e){const n=c,[t,o]=D[n(884)](e),x=D[n(1097)](r=>o(i=>$a(r,i)),[]);return[t,o,x]}function ug({dimensions:e,lineWidth:n,variant:t,className:o}){const x=c;return l[x(510)](x(1483),{strokeWidth:n,d:"M"+e[0]/2+x(1428)+e[1]+x(2035)+e[1]/2+" H"+e[0],className:Ge([x(1640),t,o])})}function fg({radius:e,className:n}){const t=c;return l[t(510)](t(270),{cx:e,cy:e,r:e,className:Ge([t(1640),t(419),n])})}var Gn;(function(e){const n=c;e.Lines="lines",e[n(1594)]=n(419),e[n(1512)]=n(1901)})(Gn||(Gn={}));const hg={[Gn.Dots]:1,[Gn[c(1522)]]:1,[Gn[c(1512)]]:6},gg=e=>({transform:e[c(1235)],patternId:"pattern-"+e.rfId});function Oc({id:e,variant:n=Gn.Dots,gap:t=20,size:o,lineWidth:x=1,offset:r=0,color:i,bgColor:a,style:d,className:s,patternClassName:u}){const f=c,y=D[f(805)](null),{transform:g,patternId:v}=Le(gg,Ee),h=o||hg[n],p=n===Gn[f(1594)],M=n===Gn.Cross,w=Array[f(293)](t)?t:[t,t],m=[w[0]*g[2]||1,w[1]*g[2]||1],b=h*g[2],C=Array[f(293)](r)?r:[r,r],I=M?[b,b]:m,U=[C[0]*g[2]||1+I[0]/2,C[1]*g[2]||1+I[1]/2],H=""+v+(e||"");return l.jsxs(f(868),{className:Ge([f(626),s]),style:{...d,...tx,"--xy-background-color-props":a,"--xy-background-pattern-color-props":i},ref:y,"data-testid":f(1657),children:[l[f(510)](f(1320),{id:H,x:g[0]%m[0],y:g[1]%m[1],width:m[0],height:m[1],patternUnits:f(1909),patternTransform:f(216)+U[0]+",-"+U[1]+")",children:p?l.jsx(fg,{radius:b/2,className:u}):l[f(510)](ug,{dimensions:I,lineWidth:x,variant:n,className:u})}),l[f(510)](f(1794),{x:"0",y:"0",width:f(733),height:"100%",fill:f(1063)+H+")"})]})}Oc[c(1369)]=c(875);const yg=D[c(1061)](Oc);function mg(){const e=c;return l.jsx("svg",{xmlns:e(937),viewBox:e(1177),children:l[e(510)](e(1483),{d:e(1062)})})}function wg(){const e=c;return l[e(510)](e(868),{xmlns:"http://www.w3.org/2000/svg",viewBox:e(1488),children:l.jsx(e(1483),{d:e(697)})})}function vg(){const e=c;return l[e(510)]("svg",{xmlns:e(937),viewBox:e(1818),children:l.jsx(e(1483),{d:e(956)})})}function bg(){const e=c;return l[e(510)](e(868),{xmlns:e(937),viewBox:e(477),children:l[e(510)](e(1483),{d:e(858)})})}function pg(){const e=c;return l[e(510)]("svg",{xmlns:e(937),viewBox:e(477),children:l[e(510)](e(1483),{d:e(1529)})})}function rx({children:e,className:n,...t}){const o=c;return l[o(510)]("button",{type:o(1020),className:Ge(["react-flow__controls-button",n]),...t,children:e})}const zg=e=>({isInteractive:e[c(237)]||e[c(321)]||e[c(274)],minZoomReached:e[c(1235)][2]<=e.minZoom,maxZoomReached:e[c(1235)][2]>=e[c(1318)],ariaLabelConfig:e[c(1948)]});function Hc({style:e,showZoom:n=!0,showFitView:t=!0,showInteractive:o=!0,fitViewOptions:x,onZoomIn:r,onZoomOut:i,onFitView:a,onInteractiveChange:d,className:s,children:u,position:f="bottom-left",orientation:y=c(1146),"aria-label":g}){const v=c,h=je(),{isInteractive:p,minZoomReached:M,maxZoomReached:w,ariaLabelConfig:m}=Le(zg,Ee),{zoomIn:b,zoomOut:C,fitView:I}=Mo(),U=()=>{b(),r?.()},H=()=>{C(),i?.()},V=()=>{I(x),a?.()},A=()=>{h[_0x5528(1765)]({nodesDraggable:!p,nodesConnectable:!p,elementsSelectable:!p}),d?.(!p)},W=y===v(598)?v(598):v(1146);return l[v(1306)](ex,{className:Ge([v(882),W,s]),position:f,style:e,"data-testid":v(936),"aria-label":g??m[v(675)],children:[n&&l[v(1306)](l[v(1006)],{children:[l[v(510)](rx,{onClick:U,className:"react-flow__controls-zoomin",title:m[v(318)],"aria-label":m[v(318)],disabled:w,children:l.jsx(mg,{})}),l[v(510)](rx,{onClick:H,className:"react-flow__controls-zoomout",title:m[v(1454)],"aria-label":m[v(1454)],disabled:M,children:l[v(510)](wg,{})})]}),t&&l.jsx(rx,{className:v(1430),onClick:V,title:m[v(1271)],"aria-label":m[v(1271)],children:l[v(510)](vg,{})}),o&&l[v(510)](rx,{className:v(1091),onClick:A,title:m["controls.interactive.ariaLabel"],"aria-label":m[v(1528)],children:p?l.jsx(pg,{}):l.jsx(bg,{})}),u]})}Hc[c(1369)]="Controls";const Cg=D.memo(Hc);function Mg({id:e,x:n,y:t,width:o,height:x,style:r,color:i,strokeColor:a,strokeWidth:d,className:s,borderRadius:u,shapeRendering:f,selected:y,onClick:g}){const v=c,{background:h,backgroundColor:p}=r||{},M=i||h||p;return l.jsx(v(1794),{className:Ge(["react-flow__minimap-node",{selected:y},s]),x:n,y:t,rx:u,ry:u,width:o,height:x,style:{fill:M,stroke:a,strokeWidth:d},shapeRendering:f,onClick:g?w=>g(w,e):void 0})}const Bg=D[c(1061)](Mg),Dg=e=>e[c(405)][c(1902)](n=>n.id),So=e=>e instanceof Function?e:()=>e;function Lg({nodeStrokeColor:e,nodeColor:n,nodeClassName:t="",nodeBorderRadius:o=5,nodeStrokeWidth:x,nodeComponent:r=Bg,onClick:i}){const a=c,d=Le(Dg,Ee),s=So(n),u=So(e),f=So(t),y=typeof window===a(439)||window[a(1933)]?"crispEdges":a(299);return l.jsx(l.Fragment,{children:d.map(g=>l[a(510)](Ng,{id:g,nodeColorFunc:s,nodeStrokeColorFunc:u,nodeClassNameFunc:f,nodeBorderRadius:o,nodeStrokeWidth:x,NodeComponent:r,onClick:i,shapeRendering:y},g))})}function Sg({id:e,nodeColorFunc:n,nodeStrokeColorFunc:t,nodeClassNameFunc:o,nodeBorderRadius:x,nodeStrokeWidth:r,shapeRendering:i,NodeComponent:a,onClick:d}){const s=c,{node:u,x:f,y,width:g,height:v}=Le(h=>{const p=_0x5528,M=h[p(212)].get(e);if(!M)return{node:void 0,x:0,y:0,width:0,height:0};const w=M[p(1300)][p(750)],{x:m,y:b}=M[p(1300)][p(1918)],{width:C,height:I}=In(w);return{node:w,x:m,y:b,width:C,height:I}},Ee);return!u||u[s(569)]||!Fi(u)?null:l.jsx(a,{x:f,y,width:g,height:v,style:u.style,selected:!!u.selected,className:o(u),color:n(u),borderRadius:x,strokeColor:t(u),strokeWidth:r,shapeRendering:i,onClick:d,id:u.id})}const Ng=D[c(1061)](Sg);var kg=D[c(1061)](Lg);const Ig=200,Pg=150,Ag=e=>!e[c(569)],Eg=e=>{const n=c,t={x:-e[n(1235)][0]/e[n(1235)][2],y:-e.transform[1]/e[n(1235)][2],width:e[n(1232)]/e[n(1235)][2],height:e[n(1129)]/e.transform[2]};return{viewBB:t,boundingRect:e[n(212)][n(1683)]>0?Ri(Ft(e.nodeLookup,{filter:Ag}),t):t,rfId:e[n(892)],panZoom:e[n(1283)],translateExtent:e[n(434)],flowWidth:e.width,flowHeight:e[n(1129)],ariaLabelConfig:e[n(1948)]}},jg=c(873);function Tc({style:e,className:n,nodeStrokeColor:t,nodeColor:o,nodeClassName:x="",nodeBorderRadius:r=5,nodeStrokeWidth:i,nodeComponent:a,bgColor:d,maskColor:s,maskStrokeColor:u,maskStrokeWidth:f,position:y=c(1089),onClick:g,onNodeClick:v,pannable:h=!1,zoomable:p=!1,ariaLabel:M,inversePan:w,zoomStep:m=1,offsetScale:b=5}){const C=c,I=je(),U=D.useRef(null),{boundingRect:H,viewBB:V,rfId:A,panZoom:W,translateExtent:T,flowWidth:X,flowHeight:G,ariaLabelConfig:L}=Le(Eg,Ee),B=e?.[C(1232)]??Ig,S=e?.[C(1129)]??Pg,E=H[C(1232)]/B,P=H[C(1129)]/S,k=Math.max(E,P),K=k*B,_=k*S,R=b*k,$=H.x-(K-H[C(1232)])/2-R,xe=H.y-(_-H[C(1129)])/2-R,ae=K+R*2,de=_+R*2,ue=jg+"-"+A,re=D[C(805)](0),Q=D[C(805)]();re[C(506)]=k,D[C(532)](()=>{const j=C;if(U.current&&W)return Q[j(506)]=Q5({domNode:U[j(506)],panZoom:W,getTransform:()=>I[j(1419)]()[j(1235)],getViewScale:()=>re[j(506)]}),()=>{Q[j(506)]?.destroy()}},[W]),D.useEffect(()=>{const j=C;Q.current?.[j(1872)]({translateExtent:T,width:X,height:G,inversePan:w,pannable:h,zoomStep:m,zoomable:p})},[h,p,w,m,T,X,G]);const ie=g?j=>{const Z=C,[O,oe]=Q[Z(506)]?.[Z(1792)](j)||[0,0];g(j,{x:O,y:oe})}:void 0,F=v?D[C(1097)]((j,Z)=>{const O=C,oe=I.getState()[O(212)][O(1735)](Z)[O(1300)].userNode;v(j,oe)},[]):void 0,N=M??L[C(1490)];return l[C(510)](ex,{position:y,style:{...e,"--xy-minimap-background-color-props":typeof d===C(810)?d:void 0,"--xy-minimap-mask-background-color-props":typeof s=="string"?s:void 0,"--xy-minimap-mask-stroke-color-props":typeof u===C(810)?u:void 0,"--xy-minimap-mask-stroke-width-props":typeof f===C(1718)?f*k:void 0,"--xy-minimap-node-background-color-props":typeof o===C(810)?o:void 0,"--xy-minimap-node-stroke-color-props":typeof t===C(810)?t:void 0,"--xy-minimap-node-stroke-width-props":typeof i=="number"?i:void 0},className:Ge([C(961),n]),"data-testid":C(205),children:l[C(1306)](C(868),{width:B,height:S,viewBox:$+" "+xe+" "+ae+" "+de,className:C(1814),role:"img","aria-labelledby":ue,ref:U,onClick:ie,children:[N&&l.jsx("title",{id:ue,children:N}),l.jsx(kg,{onClick:F,nodeColor:o,nodeStrokeColor:t,nodeBorderRadius:r,nodeClassName:x,nodeStrokeWidth:i,nodeComponent:a}),l[C(510)](C(1483),{className:C(228),d:"M"+($-R)+","+(xe-R)+"h"+(ae+R*2)+"v"+(de+R*2)+"h"+(-ae-R*2)+`z
9
+ M`+V.x+","+V.y+"h"+V[C(1232)]+"v"+V[C(1129)]+"h"+-V[C(1232)]+"z",fillRule:C(263),pointerEvents:C(696)})]})})}Tc[c(1369)]=c(1714);const Yg=D[c(1061)](Tc),Ug=e=>n=>e?""+Math[c(735)](1/n.transform[2],1):void 0,Gg={[zt[c(245)]]:c(2043),[zt[c(1463)]]:c(1089)};function Og({nodeId:e,position:n,variant:t=zt.Handle,className:o,style:x=void 0,children:r,color:i,minWidth:a=10,minHeight:d=10,maxWidth:s=Number[c(2017)],maxHeight:u=Number[c(2017)],keepAspectRatio:f=!1,resizeDirection:y,autoScale:g=!0,shouldResize:v,onResizeStart:h,onResize:p,onResizeEnd:M}){const w=c,m=sc(),b=typeof e=="string"?e:m,C=je(),I=D[w(805)](null),U=t===zt.Handle,H=Le(D[w(1097)](Ug(U&&g),[U,g]),Ee),V=D[w(805)](null),A=n??Gg[t];D[w(532)](()=>{const T=w;if(!(!I[T(506)]||!b))return!V[T(506)]&&(V[T(506)]=l2({domNode:I[T(506)],nodeId:b,getStoreItems:()=>{const X=T,{nodeLookup:G,transform:L,snapGrid:B,snapToGrid:S,nodeOrigin:E,domNode:P}=C[X(1419)]();return{nodeLookup:G,transform:L,snapGrid:B,snapToGrid:S,nodeOrigin:E,paneDomNode:P}},onChange:(X,G)=>{const L=T,{triggerNodeChanges:B,nodeLookup:S,parentLookup:E,nodeOrigin:P}=C.getState(),k=[],K={x:X.x,y:X.y},_=S[L(1735)](b);if(_&&_[L(430)]&&_[L(1064)]){const R=_[L(854)]??P,$=X[L(1232)]??_[L(1629)][L(1232)]??0,xe=X.height??_[L(1629)][L(1129)]??0,ae={id:_.id,parentId:_[L(1064)],rect:{width:$,height:xe,..._i({x:X.x??_.position.x,y:X.y??_[L(902)].y},{width:$,height:xe},_[L(1064)],S,R)}},de=ho([ae],S,E,P);k.push(...de),K.x=X.x?Math.max(R[0]*$,X.x):void 0,K.y=X.y?Math[L(735)](R[1]*xe,X.y):void 0}if(K.x!==void 0&&K.y!==void 0){const R={id:b,type:L(902),position:{...K}};k[L(1148)](R)}if(X[L(1232)]!==void 0&&X[L(1129)]!==void 0){const R=y?y===L(598)?L(1232):L(1129):!0,$={id:b,type:L(1662),resizing:!0,setAttributes:R,dimensions:{width:X[L(1232)],height:X[L(1129)]}};k[L(1148)]($)}for(const R of G){const $={...R,type:"position"};k[L(1148)]($)}B(k)},onEnd:({width:X,height:G})=>{const L=T,B={id:b,type:L(1662),resizing:!1,dimensions:{width:X,height:G}};C[L(1419)]()[L(1554)]([B])}})),V[T(506)][T(1872)]({controlPosition:A,boundaries:{minWidth:a,minHeight:d,maxWidth:s,maxHeight:u},keepAspectRatio:f,resizeDirection:y,onResizeStart:h,onResize:p,onResizeEnd:M,shouldResize:v}),()=>{const X=T;V[X(506)]?.[X(1507)]()}},[A,a,d,s,u,f,h,p,M,v]);const W=A.split("-");return l[w(510)](w(1384),{className:Ge([w(1849),w(2050),...W,t,o]),ref:I,style:{...x,scale:H,...i&&{[w(U?1878:552)]:i}},children:r})}D[c(1061)](Og);const Vc=e=>Symbol[c(1955)]in e,Wc=e=>c(1859)in e,qc=(e,n)=>{const t=c,o=e instanceof Map?e:new Map(e.entries()),x=n instanceof Map?n:new Map(n[t(1859)]());if(o[t(1683)]!==x.size)return!1;for(const[r,i]of o)if(!x.has(r)||!Object.is(i,x[t(1735)](r)))return!1;return!0},Hg=(e,n)=>{const t=c,o=e[Symbol[t(1955)]](),x=n[Symbol[t(1955)]]();let r=o[t(526)](),i=x.next();for(;!r[t(1879)]&&!i.done;){if(!Object.is(r[t(1834)],i[t(1834)]))return!1;r=o[t(526)](),i=x[t(526)]()}return!!r[t(1879)]&&!!i[t(1879)]};function Tg(e,n){const t=c;return Object.is(e,n)?!0:typeof e!==t(460)||e===null||typeof n!="object"||n===null||Object[t(1723)](e)!==Object.getPrototypeOf(n)?!1:Vc(e)&&Vc(n)?Wc(e)&&Wc(n)?qc(e,n):Hg(e,n):qc({entries:()=>Object[t(1859)](e)},{entries:()=>Object[t(1859)](n)})}const Xc={inlineScript:c(1496),dataRequest:c(1259),external:"外部方法",builtin:c(269)},Vg=[{label:c(1199),value:c(426)},{label:c(1835),value:"switchCanvas"}],Wg=[{label:"info",value:"info"},{label:c(743),value:c(743)},{label:c(651),value:c(651)},{label:c(360),value:"error"},{label:c(1812),value:"loading"}];function Zc(e,n,t){const o=c,x=t.filter(i=>i[o(1450)]===e),r=x[o(658)];return x[o(1902)]((i,a)=>{const d=o,s=n[d(1825)](f=>f.id===i[d(962)]),u=s?.[d(235)];return{sourceId:i[d(962)],sourceLabel:u?.[d(1150)]??i[d(962)],edgeIndex:a,totalIncoming:r}})}const qg=({data:e,id:n})=>{const t=c,{root:o}=He(),x=Le(D.useCallback(a=>Zc(n,a[t(405)],a[t(1560)])[t(1902)](({sourceId:d,sourceLabel:s})=>({sourceId:d,label:s})),[n]),Tg),r=e[t(1348)][t(731)]??t(1802),i=r===t(1059)?e[t(1348)][t(1591)]:r===t(1396)?e[t(1348)].externalHandlerKey:r===t(1110)?e[t(1348)][t(1073)]===t(426)?e[t(1348)].builtinId+": "+String(e.eventBlock[t(1303)]?.content??"").slice(0,24):e[t(1348)][t(1073)]==="switchCanvas"?t(1047)+(o[t(542)][t(1825)](a=>a.id===e[t(1348)][t(1303)]?.targetCanvasId)?.[t(863)]??t(241)):e[t(1348)][t(1073)]:null;return l.jsxs("div",{className:t(701),children:[l.jsx(Mt,{type:t(1450),position:he[t(295)],className:t(1315)}),l[t(1306)](t(1384),{className:t(1514),children:[l[t(510)](t(390),{className:t(277),children:e[t(1150)]}),l[t(1306)](z[t(556)],{size:"small",children:[l[t(510)](z[t(595)],{type:t(600),size:t(1201),icon:l[t(510)](ce[t(1833)],{}),onClick:()=>e[t(744)](n)}),l.jsx(z[t(595)],{type:"text",size:t(1201),danger:!0,icon:l[t(510)](ce[t(668)],{}),onClick:()=>e.onDelete(n)})]})]}),l[t(510)](t(1384),{className:t(407),children:l[t(1306)](z[t(1184)],{color:r===t(1802)?t(1764):r===t(1110)?"cyan":"purple",className:"!mr-0",children:[Xc[r],i?" · "+i:""]})}),l.jsxs(t(1384),{className:"text-xs text-gray-500",children:[e.eventBlock.inputs?.[t(658)]>0&&l[t(1306)](t(1384),{children:[t(440),e[t(1348)].inputs[t(1902)](a=>a[t(863)])[t(1092)](", ")]}),x[t(658)]>0&&l[t(1306)](t(1384),{className:t(1442),children:[t(1684),x[t(1902)](a=>l[t(1306)]("div",{className:t(1574),children:["←「",a[t(1150)],t(2025)]},a[t(1690)]))]})]}),l[t(510)](Mt,{type:"source",position:he[t(1651)],className:"!bg-blue-500"})]})},Xg={eventBlock:qg},Zg=Object[c(1859)](Xc).map(([e,n])=>({label:n,value:e})),Kc=[{label:"点击",value:c(1140)},{label:c(1757),value:"mouseDown"},{label:c(507),value:c(1249)},{label:"双击",value:c(1220)},{label:c(1960),value:"mouseOver"},{label:"鼠标移出",value:c(718)},{label:c(373),value:c(1469)},{label:c(670),value:c(1438)},{label:c(1810),value:c(1059)},{label:"外部事件",value:"external"}];function Kg(e,n){const t={},o=[...e];return o.forEach((x,r)=>{const i=_0x5528,a=n[i(341)][r]?.name??(o[i(658)]===1?i(565):i(565)+r);t[a]=i(1225)+x.source}),t}function Rg(e,n,t){const o=c;return t[e]?.[o(863)]??(n===1?o(565):o(565)+e)}const Jg=[{label:c(810),value:c(810)},{label:c(1718),value:c(1718)},{label:"boolean",value:c(486)},{label:c(460),value:c(460)},{label:c(734),value:c(734)}];function Rc(e){const n=c,t=Kc[n(1825)](x=>x.value===e[n(1280)]),o=t?.[n(1150)]??e[n(1280)];if(e.eventType===n(1396)){const x=(e[n(1797)]||"")[n(1597)]();return x?o+n(1406)+x:o}return o}const Qg=({open:e,onClose:n,bindNodeId:t,editingRoot:o})=>{const x=c,{nodes:r,eventFlow:i,externalHandlerCatalog:a,addEventBlock:d,upsertEventBlock:s,removeEventBlock:u,addEventRoot:f,updateEventRoot:y,root:g}=He(),[v,h,p]=lg([]),[M,w,m]=dg([]),b=D.useRef(v);b[x(506)]=v;const[C,I]=D[x(884)](()=>o??null),[U,H]=D[x(884)](!1),[V]=z.Form[x(1613)](),A=z[x(316)].useWatch(x(1280),V),[W,T]=D.useState(null),[X,G]=D[x(884)](!1),[L]=z[x(316)][x(1613)](),B=z[x(316)][x(695)]("executorType",L),S=z[x(316)].useWatch(x(1073),L),E=z[x(316)][x(695)](x(341),L),P=D[x(1606)](()=>!X||!W?[]:Zc(W.id,v,M),[X,W,v,M]),k=D.useRef(()=>{}),K=D[x(805)](()=>{});D[x(532)](()=>{const N=x;if(X&&W){const j=W[N(1303)]??{},{outputs:Z,...O}=W;L[N(1445)]({...O,executorType:W.executorType??"inlineScript",builtinId:W[N(1073)],inputs:W.inputs??[],builtinConfig:{content:String(j[N(1397)]??""),level:String(j[N(754)]??N(679)),duration:j[N(379)]===void 0||j[N(379)]===null?void 0:Number(j.duration)}})}},[X,W,L]);const _=D[x(1097)](N=>{w(j=>ca(N,j))},[w]),R=N=>{const j=x,Z={bindNodeId:N[j(930)],eventType:N[j(1280)],externalEventKey:N[j(1280)]===j(1396)?(N[j(1797)]||"")[j(1597)]():void 0,flowData:{nodes:[],edges:[]},enabled:!0},O=f(Z);I({...Z,id:O}),V[j(1039)](),H(!1),z.message[j(743)](j(1590))},$=D.useCallback(N=>{const j=x;u(N),h(Z=>Z[j(1874)](O=>O.id!==N)),w(Z=>Z[j(1874)](O=>O.source!==N&&O[j(1450)]!==N))},[u,h,w]),xe=D[x(1097)](N=>{const j=x,Z=b[j(506)][j(1825)](le=>le.id===N)?.[j(235)]?.[j(1348)],O=i[j(1724)][j(1825)](le=>le.id===N),oe=Z??O;oe?(T({...oe,id:N}),G(!0)):z[j(650)].warning(j(856))},[i[x(1724)]]);k[x(506)]=xe,K[x(506)]=$,D[x(532)](()=>{const N=x;if(e&&C){const j=C[N(1268)].nodes[N(1902)](O=>({id:O.id,type:N(1348),position:O[N(902)],data:{label:O[N(235)][N(1150)],eventBlock:O[N(235)][N(1348)],onEdit:oe=>k[N(506)](oe),onDelete:oe=>K.current(oe)}})),Z=C[N(1268)][N(1560)][N(1902)](O=>({id:O.id,source:O[N(962)],target:O[N(1450)]}));h(j),w(Z)}},[e,C,h,w]);const ae=()=>{const N=x,j={name:N(999),executorType:N(1802),callback:N(1917),inputs:[],outputs:[]},Z=d(j),O={...j,id:Z},oe={id:Z,type:N(1348),position:{x:100+v[N(658)]*50,y:100+v[N(658)]*30},data:{label:O.name,eventBlock:O,onEdit:le=>k[N(506)](le),onDelete:le=>K[N(506)](le)}};h(le=>[...le,oe])},de=()=>{const N=x,j={name:N(833),executorType:N(1110),builtinId:"antdMessage",builtinConfig:{content:N(1693),level:N(679)},callback:"return null;",inputs:[],outputs:[]},Z=d(j),O={...j,id:Z},oe={id:Z,type:N(1348),position:{x:120+v[N(658)]*50,y:140+v[N(658)]*30},data:{label:O[N(863)],eventBlock:O,onEdit:le=>k.current(le),onDelete:le=>K[N(506)](le)}};h(le=>[...le,oe])},ue=()=>{const N=x,j={name:N(1835),executorType:N(1110),builtinId:"switchCanvas",builtinConfig:{targetCanvasId:g[N(542)][0]?.id||""},callback:N(819),inputs:[],outputs:[]},Z=d(j),O={...j,id:Z},oe={id:Z,type:N(1348),position:{x:120+v.length*50,y:140+v[N(658)]*30},data:{label:O[N(863)],eventBlock:O,onEdit:le=>k[N(506)](le),onDelete:le=>K[N(506)](le)}};h(le=>[...le,oe])},re=N=>{const j=x;if(!W)return;const Z=N[j(731)]??W[j(731)]??j(1802),O={name:N[j(863)],callback:N[j(647)]??W.callback,executorType:Z,dataRequestKey:Z==="dataRequest"?(N.dataRequestKey||"").trim():void 0,externalHandlerKey:Z===j(1396)?(N[j(1880)]||"").trim():void 0,builtinId:Z==="builtin"?N.builtinId:void 0,builtinConfig:Z==="builtin"&&N[j(1073)]==="antdMessage"?{content:String(N[j(1303)]?.content??"")[j(1597)](),level:N.builtinConfig?.[j(754)]||j(679),duration:N[j(1303)]?.[j(379)]===null||N[j(1303)]?.[j(379)]===void 0?void 0:Number(N[j(1303)][j(379)])}:Z===j(1110)&&N[j(1073)]==="switchCanvas"?{targetCanvasId:String(N[j(1303)]?.[j(1426)]??"")[j(1597)]()}:void 0},oe=N[j(341)]??[],le=oe[j(1874)](ge=>ge?.[j(863)]&&String(ge[j(863)])[j(1597)]()),se={...W,...O,inputs:le,outputs:[]};s(se),h(ge=>ge[j(1902)](ve=>ve.id===W.id?{...ve,data:{...ve[j(235)],label:se.name||ve.data.label,eventBlock:se}}:ve)),G(!1),T(null),z.message[j(743)](j(580))},Q=()=>{const N=x;if(!C)return;const j=v.map(O=>{const oe=_0x5528,le=M.filter(ve=>ve[oe(1450)]===O.id),se=O.data[oe(1348)],ge={...se,outputs:[]};return{id:O.id,eventBlockId:O.id,position:O[oe(902)],inputs:le.map(ve=>ve[oe(962)]),outputs:M.filter(ve=>ve[oe(962)]===O.id).map(ve=>ve[oe(1450)]),data:{label:O[oe(235)][oe(1150)],eventBlock:ge,inputMapping:Kg(le,ge)}}}),Z=M[N(1902)](O=>({id:O.id,source:O[N(962)],target:O[N(1450)]}));y(C.id,{flowData:{nodes:j,edges:Z}}),lt[N(1663)]({...C,flowData:{nodes:j,edges:Z}}),z[N(650)][N(743)](N(1066)),n()},ie=D.useMemo(()=>r[x(1902)](N=>({label:N[x(863)],value:N.id})),[r]),F=D[x(1606)](()=>t?i.eventRoots[x(1874)](N=>N[x(930)]===t):i.eventRoots,[i[x(1698)],t]);return e?l[x(1306)](z.Modal,{title:x(1119),open:e,onCancel:n,width:1200,footer:null,styles:{body:{height:700,padding:0}},children:[C?l[x(1306)](x(1384),{className:x(611),style:{height:700},children:[l[x(1306)](x(1384),{className:x(1122),children:[l[x(510)](z.Space,{children:l.jsxs(x(390),{className:x(1692),children:["编辑: ",Rc(C)," →"," ",r[x(1825)](N=>N.id===C[x(930)])?.name]})}),l[x(1306)](z[x(556)],{children:[l[x(510)](z[x(595)],{icon:l[x(510)](ce.PlusOutlined,{}),onClick:ae,children:x(804)}),l[x(510)](z[x(595)],{icon:l[x(510)](ce[x(682)],{}),onClick:de,children:x(833)}),l[x(510)](z[x(595)],{icon:l[x(510)](ce[x(682)],{}),onClick:ue,children:x(1835)}),l[x(510)](z[x(595)],{type:"primary",icon:l[x(510)](ce[x(812)],{}),onClick:Q,children:"保存"}),l[x(510)](z[x(595)],{icon:l[x(510)](ce.CloseOutlined,{}),onClick:()=>I(null),children:"返回列表"})]})]}),l[x(510)](x(1384),{className:x(1178),children:l[x(1306)](sg,{nodes:v,edges:M,onNodesChange:p,onEdgesChange:m,onConnect:_,nodeTypes:Xg,fitView:!0,children:[l[x(510)](yg,{}),l[x(510)](Cg,{}),l.jsx(Yg,{})]})})]}):l.jsxs(x(1384),{className:x(1287),children:[l[x(1306)](x(1384),{className:x(1060),children:[l[x(510)]("h3",{className:"text-lg font-medium",children:x(354)}),l[x(510)](z.Button,{type:x(1755),icon:l[x(510)](ce[x(682)],{}),onClick:()=>H(!0),children:x(1986)})]}),l[x(510)](z[x(592)],{dataSource:F,renderItem:N=>l.jsx(z[x(592)][x(1098)],{actions:[l[x(510)](z[x(595)],{type:"primary",icon:l[x(510)](ce[x(1833)],{}),onClick:()=>I(N),children:"编辑"},x(1390))],children:l[x(510)](z[x(592)][x(1098)][x(303)],{title:l[x(1306)](z[x(556)],{children:[l[x(1306)](x(390),{children:[x(1570),Rc(N)]}),l[x(510)](z[x(1184)],{color:"blue",children:r.find(j=>j.id===N[x(930)])?.[x(863)]||N[x(930)]})]}),description:x(1168)+N[x(1268)][x(405)].length+x(466)+N[x(1268)].edges[x(658)]})}),locale:{emptyText:l.jsx(z[x(320)],{description:"暂无事件流"})}}),l[x(510)](z[x(1099)],{title:x(1986),open:U,onCancel:()=>{V[x(1039)](),H(!1)},footer:null,afterOpenChange:N=>{const j=x;N&&(V.resetFields(),t&&V[j(1445)]({bindNodeId:t}))},children:l.jsxs(z.Form,{form:V,onFinish:R,layout:x(1146),children:[l.jsx(z[x(316)][x(1098)],{name:x(930),label:x(649),rules:[{required:!0,message:x(470)}],initialValue:t,children:l[x(510)](z[x(1897)],{options:ie,placeholder:x(1562),disabled:!!t})}),l.jsx(z.Form.Item,{name:x(1280),label:x(747),rules:[{required:!0,message:x(1884)}],children:l[x(510)](z[x(1897)],{options:Kc,placeholder:x(756)})}),A===x(1396)&&l[x(510)](z[x(316)][x(1098)],{name:x(1797),label:x(1992),rules:[{required:!0,message:x(328)},{validator:(N,j)=>(j||"")[x(1597)]()?Promise[x(369)]():Promise[x(951)](new Error(x(1014)))}],extra:"与 eventBus.emitExternal(节点id, 该标识) 一致",children:l.jsx(z[x(423)],{placeholder:"例如:refresh"})}),l[x(510)](z[x(316)].Item,{className:"mb-0",children:l.jsxs(z[x(556)],{className:x(1969),children:[l.jsx(z[x(595)],{onClick:()=>{V.resetFields(),H(!1)},children:"取消"}),l[x(510)](z[x(595)],{type:"primary",htmlType:x(1046),children:"创建"})]})})]})})]}),l.jsx(z[x(1099)],{title:x(1408),open:X,onCancel:()=>{G(!1),T(null)},footer:null,destroyOnClose:!0,children:l[x(1306)](z.Form,{form:L,onFinish:re,layout:x(1146),children:[l[x(510)](z[x(316)].Item,{name:x(863),label:"名称",rules:[{required:!0,message:"请填写名称"}],children:l[x(510)](z[x(423)],{})}),l[x(510)](z[x(316)].Item,{name:x(731),label:x(448),rules:[{required:!0,message:x(1139)}],children:l.jsx(z.Select,{options:Zg,placeholder:x(518)})}),B===x(1110)&&l[x(510)](z.Form.Item,{name:x(1073),label:x(269),rules:[{required:!0,message:x(760)}],children:l[x(510)](z.Select,{options:Vg,placeholder:x(1582)})}),B===x(1110)&&S===x(426)&&l[x(1306)](l[x(1006)],{children:[l[x(510)](z[x(316)][x(1098)],{name:[x(1303),x(1397)],label:"提示内容",rules:[{required:!0,message:x(454)}],extra:x(291),children:l[x(510)](z[x(423)][x(1822)],{rows:3,placeholder:"例如:保存成功 或 结果:{{prev}}"})}),l[x(510)](z[x(316)][x(1098)],{name:[x(1303),"level"],label:x(1804),children:l[x(510)](z[x(1897)],{options:Wg})}),l[x(510)](z.Form[x(1098)],{name:[x(1303),x(379)],label:x(1034),extra:x(210),children:l[x(510)](z[x(1304)],{min:0,step:.5,style:{width:"100%"},placeholder:"默认"})})]}),B===x(1110)&&S==="switchCanvas"&&l.jsx(z.Form[x(1098)],{name:[x(1303),"targetCanvasId"],label:x(1472),rules:[{required:!0,message:x(727)}],children:l.jsx(z.Select,{placeholder:x(1316),options:g[x(542)].map(N=>({value:N.id,label:N[x(863)]}))})}),B===x(1059)&&l[x(510)](z.Form[x(1098)],{name:"dataRequestKey",label:x(988),rules:[{required:!0,message:x(759)},{validator:(N,j)=>(j||"")[x(1597)]()?Promise.resolve():Promise[x(951)](new Error(x(1014)))}],extra:"运行时 eventBus.setDefaultRuntimeHandlers({ dataRequest: { [标识]: (ctx, args) => ... } })",children:l.jsx(z[x(423)],{placeholder:"例如:loadTrend、fetchDeviceList"})}),B===x(1396)&&l[x(510)](z.Form.Item,{name:x(1880),label:"外部方法标识",rules:[{required:!0,message:x(1603)},{validator:(N,j)=>(j||"")[x(1597)]()?Promise.resolve():Promise[x(951)](new Error("标识不能为空"))}],extra:a[x(658)]>0?"来自 ConfigEditor 的 externalEventActions;也可在运行时 eventBus.mergeDefaultRuntimeHandlers({ external }) 补充":"未配置下拉时手动填写 key;宿主可用 ConfigEditor externalEventActions 注册选项与 handler,或 eventBus.mergeDefaultRuntimeHandlers",children:a.length>0?l[x(510)](z.Select,{showSearch:!0,optionFilterProp:x(1150),allowClear:!0,placeholder:x(1745),options:a.map(N=>({value:N.key,label:N[x(1150)],title:N[x(1468)]?N[x(1150)]+" — "+N[x(1468)]:N[x(1150)]+" ("+N.key+")"}))}):l[x(510)](z[x(423)],{placeholder:x(346)})}),B==="inlineScript"&&l[x(510)](z.Form.Item,{name:x(647),label:x(710),rules:[{validator:(N,j)=>{const Z=x;return typeof j=="string"&&j[Z(1597)]()?Promise[Z(369)]():Promise[Z(951)](new Error("请填写执行代码"))}}],children:l[x(510)](z[x(423)][x(1822)],{rows:6,placeholder:`// 可用参数:
10
+ // node - 触发事件的节点
11
+ // context - 事件上下文
12
+ // args - 传入的参数
13
+
14
+ return args;`})}),P[x(658)]>0&&l[x(1306)]("div",{className:x(1527),children:[l[x(510)]("div",{className:x(515),children:x(468)}),l[x(510)]("ul",{className:x(2056),children:P[x(1902)](N=>{const j=x,Z=E??W?.inputs??[],O=Rg(N[j(1334)],N[j(1458)],Z);return l[j(1306)]("li",{className:j(909),children:[l.jsxs("div",{className:j(1989),children:["第 ",N[j(1334)]+1,j(632),N[j(704)],"」:上游",l[j(510)]("strong",{children:j(795)})," →"," ",l[j(1306)](j(554),{className:"bg-white px-1 rounded",children:[j(211),O]})]}),l[j(1306)]("div",{className:j(1082),children:[j(1094),N[j(1334)]+1,j(725)]})]},N.sourceId)})})]}),l[x(510)](x(1384),{className:x(799),children:x(846)}),l[x(1306)](x(1384),{className:x(549),children:[x(959)," ",l[x(510)](x(554),{children:"args.prev"}),",多入边用 ",l[x(510)](x(554),{children:"args.prev0"}),"、",l[x(510)](x(554),{children:"args.prev1"}),"…"]}),l[x(510)](z.Form.List,{name:x(341),children:(N,{add:j,remove:Z})=>l[x(1306)](l[x(1006)],{children:[N[x(1902)](({key:O,name:oe,...le})=>l.jsxs(z[x(556)],{align:x(1371),wrap:!0,className:x(832),children:[l[x(510)](z[x(316)][x(1098)],{...le,name:[oe,x(863)],rules:[{required:!0,message:"名称"}],children:l[x(510)](z.Input,{placeholder:x(475),style:{width:140}})}),l[x(510)](z[x(316)][x(1098)],{...le,name:[oe,"type"],initialValue:x(734),children:l[x(510)](z[x(1897)],{options:Jg,style:{width:100}})}),l[x(510)](ce.MinusCircleOutlined,{className:x(635),onClick:()=>Z(oe)})]},O)),l[x(510)](z.Button,{type:"dashed",onClick:()=>j({type:"any"}),block:!0,icon:l[x(510)](ce[x(682)],{}),children:x(1240)})]})}),l.jsx(z.Form[x(1098)],{className:x(1729),children:l[x(1306)](z[x(556)],{className:x(1969),children:[l[x(510)](z.Button,{onClick:()=>{G(!1),T(null)},children:"取消"}),l[x(510)](z[x(595)],{type:x(1755),htmlType:x(1046),children:"保存"})]})})]})})]}):null},ix={click:"点击",mouseDown:"鼠标按下",mouseUp:"鼠标释放",doubleClick:"双击",mouseOver:c(1960),mouseLeave:c(267),mouseEnter:"鼠标进入",contextMenu:c(670),dataRequest:c(1810),external:c(980)};function Fg(e){const n=c;if(e[n(1280)]===n(1396)){const t=(e[n(1797)]||"")[n(1597)]();return t?ix[n(1396)]+" · "+t:ix[n(1396)]}return ix[e[n(1280)]]}const _g=Object[c(1859)](ix)[c(1902)](([e,n])=>({label:n,value:e})),$g=({nodeId:e})=>{const n=c,{eventFlow:t,addEventRoot:o,updateEventRoot:x,removeEventRoot:r}=He(),[i,a]=D[n(884)](!1),[d,s]=D.useState(null),[u,f]=D[n(884)](!1),[y]=z[n(316)][n(1613)](),g=z.Form[n(695)]("eventType",y),v=D[n(1606)](()=>{const m=n;return t[m(1698)][m(1874)](b=>b[m(930)]===e)},[t[n(1698)],e]),h=m=>{const b=n,C={bindNodeId:e,eventType:m[b(1280)],externalEventKey:m.eventType===b(1396)?(m[b(1797)]||"")[b(1597)]():void 0,flowData:{nodes:[],edges:[]},enabled:!0};o(C),y[b(1039)](),f(!1)},p=m=>{s(m),a(!0)},M=(m,b)=>{x(m.id,{enabled:b})},w=m=>{r(m)};return l.jsxs(n(1384),{children:[l[n(1306)](n(1384),{className:n(1060),children:[l[n(510)]("h4",{className:n(457),children:n(1447)}),l.jsx(z[n(595)],{type:n(1755),size:n(1201),icon:l[n(510)](ce.PlusOutlined,{}),onClick:()=>f(!0),children:n(306)})]}),l[n(510)](z.List,{dataSource:v,renderItem:m=>l[n(510)](z.List[n(1098)],{actions:[l[n(510)](z[n(2010)],{checked:m.enabled,size:"small",onChange:b=>M(m,b)},"enable"),l.jsx(z[n(595)],{type:n(600),size:n(1201),icon:l[n(510)](ce[n(1833)],{}),onClick:()=>p(m)},"edit"),l[n(510)](z[n(1134)],{title:"确认删除",description:"删除后无法恢复,是否继续?",onConfirm:()=>w(m.id),children:l[n(510)](z[n(595)],{type:n(600),danger:!0,size:n(1201),icon:l[n(510)](ce[n(668)],{})})},n(741))],children:l[n(510)](z[n(592)][n(1098)].Meta,{title:l[n(1306)](z.Space,{children:[l[n(510)](z[n(1184)],{color:m[n(314)]?n(1399):n(1764),children:Fg(m)}),l[n(1306)]("span",{className:n(1421),children:[m[n(1268)][n(405)][n(658)],n(587)]})]}),description:m.enabled?l[n(510)](n(390),{className:n(1037),children:"已启用"}):l[n(510)](n(390),{className:"text-xs text-gray-400",children:"已禁用"})})}),locale:{emptyText:l[n(510)](z[n(320)],{image:z[n(320)][n(1620)],description:n(788)})}}),l[n(510)](z[n(1099)],{title:n(306),open:u,onCancel:()=>{y.resetFields(),f(!1)},footer:null,afterOpenChange:m=>{m&&y[n(1039)]()},children:l[n(1306)](z[n(316)],{form:y,onFinish:h,layout:"vertical",children:[l[n(510)](z[n(316)][n(1098)],{name:n(1280),label:n(747),rules:[{required:!0,message:"请选择触发方式"}],children:l[n(510)](z.Select,{options:_g,placeholder:n(680)})}),g==="external"&&l[n(510)](z[n(316)].Item,{name:n(1797),label:"外部事件标识",rules:[{required:!0,message:"请填写外部事件标识"},{validator:(m,b)=>(b||"")[n(1597)]()?Promise[n(369)]():Promise[n(951)](new Error(n(1014)))}],extra:"与运行时 eventBus.emitExternal(节点id, 该标识) 一致,例如:refresh、dialog:opened",children:l[n(510)](z[n(423)],{placeholder:"例如:refresh 或 parent:reload"})}),l[n(510)](z[n(316)].Item,{className:n(738),children:l[n(1306)](z[n(556)],{className:n(1969),children:[l[n(510)](z.Button,{onClick:()=>f(!1),children:"取消"}),l[n(510)](z[n(595)],{type:n(1755),htmlType:"submit",children:"创建"})]})})]})}),l.jsx(Qg,{open:i,onClose:()=>{a(!1),s(null)},bindNodeId:e,editingRoot:d},d?.id??"closed-"+e)]})},{Panel:On}=z.Collapse,{TabPane:ax}=z[c(912)],{TextArea:e1}=z.Input,Jc=({defaultTestData:e})=>{const n=c,{nodes:t,selectedNodeId:o,updateNode:x,updateNodeStyle:r,updateNodeControl:i,updateNodeContent:a,materials:d,selectedStatusId:s,selectStatus:u}=He(),[f]=z.Form.useForm(),[y,g]=D[n(884)](n(1608)),[v,h]=D[n(884)](!1),[p,M]=D[n(884)](null),[w,m]=D[n(884)]({}),b=D.useMemo(()=>t.find(B=>B.id===o),[t,o]),C=b?.[n(252)][n(1746)]||[],I=B=>{const S=n;o&&(B.normalStyle&&r(o,B.normalStyle),B[S(863)]!==void 0&&x(o,{name:B[S(863)]}),B[S(1888)]&&i(o,B[S(1888)]))};console[n(1737)](o,n(286),b),D[n(532)](()=>{const B=n;b&&b&&(f.setFieldsValue({name:b[B(863)],normalStyle:{width:100,height:100,x:0,y:0,padding:8,background:B(1958),borderRadius:0,opacity:1,...b[B(1065)]},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0,...b[B(1888)]}}),u(null))},[b,u,f]);const U=()=>{const B=n;!o||!b||(M(B(1790)),h(!0))},H=B=>{const S=n;if(!o||!b)return;const E={id:be[S(876)](),name:B[S(863)]+S(571)+(C[S(658)]+1),expression:C[S(658)]===0?S(654):S(997),material:{...B,id:be[S(876)]()},boundDatasetId:null};if(p===S(1790)){const P=[...C,E];a(o,{statusList:P})}else if(p){const P=C[S(1902)](k=>{const K=S;return k.id===p?{...k,material:{...B,id:be[K(876)]()}}:k});a(o,{statusList:P})}h(!1),M(null)},V=B=>{const S=n;if(!o||!b)return;const E=b[S(252)][S(1746)]?.[S(1874)](P=>P.id!==B)||[];a(o,{statusList:E}),s===B&&u(null)},A=(B,S)=>{const E=n;if(!o||!b)return;const P=b.contentInfo[E(1746)]?.[E(1902)](k=>k.id===B?{...k,...S}:k)||[];a(o,{statusList:P})},W=B=>{const S=n;if(!o||!b)return;const E={...B,id:be[S(876)](),name:B[S(863)]+S(1227),expression:S(997)},P=[...C,E];a(o,{statusList:P})},T=(B,S)=>{const E=n;if(!o||!b)return;const P=C[E(1485)](K=>K.id===B);if(P===-1)return;const k=[...C];S==="up"&&P>0?[k[P],k[P-1]]=[k[P-1],k[P]]:S===E(1237)&&P<k[E(658)]-1&&([k[P],k[P+1]]=[k[P+1],k[P]]),a(o,{statusList:k})},X=B=>{M(B),h(!0)},G=(B,S)=>{const E=n,P=S.config||{},k=P[E(1112)]??0,K=P[E(1743)]??0,_=P.endX??100,R=P.endY??0,$=Math[E(735)]((P[E(1444)]||P[E(1494)]||2)*2,4),xe=Math.min(k,_),ae=Math[E(719)](K,R),de=Math[E(735)](k,_),ue=Math[E(735)](K,R),re=Math.max(de-xe,$),Q=Math[E(735)](ue-ae,$),ie=B[E(1065)].x||0,F=B[E(1065)].y||0;return{material:{...S,config:{...P,startX:k-xe,startY:K-ae,endX:_-xe,endY:R-ae}},box:{x:ie+xe,y:F+ae,width:re,height:Q}}},L=(B,S)=>{const E=n;if(!o||!b)return;const{list:P,lineBox:k}=C[E(412)]((K,_)=>{const R=E;if(_.id!==B)return K[R(637)][R(1148)](_),K;let $;if(_[R(609)][R(954)]===R(1245)&&R(1325)in S&&S[R(1325)]!==void 0){const xe=_[R(609)],ae=S[R(1325)];$={...xe,...S,config:{...xe[R(1325)]||{},...ae}}}else $={..._[R(609)],...S};if($[R(954)]===R(1245)){const{material:xe,box:ae}=G(b,$);return K[R(637)][R(1148)]({..._,material:xe}),K.lineBox=ae,K}return K.list[R(1148)]({..._,material:$}),K},{list:[],lineBox:null});k!==null?x(o,{normalStyle:{...b[E(1065)],x:k.x,y:k.y,width:k[E(1232)],height:k[E(1129)]},contentInfo:{...b[E(252)],statusList:P}}):a(o,{statusList:P})};return b?l.jsxs(n(1384),{className:n(1111),children:[l[n(1306)](n(1384),{className:n(2028),children:[l[n(510)]("h3",{className:n(435),children:"属性面板"}),l.jsx("p",{className:n(1136),children:n(624)})]}),l[n(510)](n(1384),{className:"flex-1 overflow-y-auto p-4",children:l.jsxs(z[n(912)],{activeKey:y,onChange:g,children:[l[n(510)](ax,{tab:"基础",children:l[n(1306)](z[n(316)],{form:f,layout:n(1146),onValuesChange:I,initialValues:{name:b[n(863)]},children:[l[n(510)](z[n(316)][n(1098)],{label:n(1648),name:"name",children:l[n(510)](z[n(423)],{placeholder:n(1284)})}),l[n(1306)](z[n(317)],{ghost:!0,defaultActiveKey:[n(902),n(1683),n(262)],children:[l[n(510)](On,{header:"位置",children:l[n(1306)](z[n(556)],{children:[l[n(510)](z[n(316)].Item,{label:"X",name:[n(1065),"x"],children:l[n(510)](z[n(1304)],{})}),l.jsx(z[n(316)][n(1098)],{label:"Y",name:["normalStyle","y"],children:l[n(510)](z[n(1304)],{})})]})},n(902)),l[n(510)](On,{header:"尺寸",children:l[n(1306)](z.Space,{children:[l[n(510)](z[n(316)][n(1098)],{label:"宽度",name:[n(1065),n(1232)],children:l.jsx(z[n(1304)],{min:10})}),l[n(510)](z[n(316)][n(1098)],{label:"高度",name:["normalStyle","height"],children:l[n(510)](z.InputNumber,{min:10})})]})},n(1683)),l[n(1306)](On,{header:"样式",children:[l[n(510)](z.Form.Item,{label:n(671),name:[n(1065),n(392)],children:l[n(510)](z.Input,{placeholder:n(634)})}),l[n(510)](z[n(316)][n(1098)],{label:n(1923),name:[n(1065),n(1314)],children:l[n(510)](z.InputNumber,{min:0})}),l[n(510)](z.Form[n(1098)],{label:"圆角",name:[n(1065),n(1152)],children:l[n(510)](z[n(1304)],{min:0})}),l[n(510)](z.Form.Item,{label:"缩放比例",name:[n(1065),n(1652)],help:n(1043),children:l[n(510)](z[n(1304)],{min:.1,max:5,step:.1})}),!b[n(252)][n(1746)][n(1667)](B=>B.material[n(954)]==="LINE")&&l[n(510)](z[n(316)][n(1098)],{label:"旋转角度",name:["normalStyle",n(473)],help:"顺时针旋转角度(度)",children:l[n(510)](z[n(1304)],{min:0,max:360,step:1})}),l[n(510)](z.Form[n(1098)],{label:n(1816),name:[n(1065),"opacity"],children:l[n(510)](z.InputNumber,{min:0,max:1,step:.1})}),l[n(510)](z[n(316)][n(1098)],{label:"层级",name:["normalStyle",n(996)],children:l[n(510)](z[n(1304)],{})})]},n(262))]})]})},n(1608)),l[n(510)](ax,{tab:"状态",children:b[n(954)]===n(1449)&&b[n(221)]?l[n(510)](Al,{node:b,updateNode:x,materials:d}):l[n(1306)](n(1384),{className:n(1202),children:[l[n(1306)](n(1384),{className:n(1514),children:[l[n(1306)]("span",{className:n(1692),children:["状态列表",l[n(510)](z[n(1184)],{color:"blue",className:n(1952),children:C[n(658)]})]}),l.jsx(z[n(595)],{type:n(1755),size:n(1201),icon:l[n(510)](ce[n(682)],{}),onClick:U,children:n(349)})]}),l[n(510)]("p",{className:n(1479),children:n(1756)}),C[n(658)]>0&&l[n(510)](n(1384),{className:"mb-4 p-3 bg-blue-50 border border-blue-200 rounded-lg",children:l[n(510)](n(1384),{className:"flex items-center justify-between",children:l[n(1306)](n(1384),{children:[l[n(510)](n(390),{className:n(1031),children:n(1785)}),l[n(510)]("span",{className:n(910),children:n(401)})]})})}),C[n(658)]===0?l[n(510)]("div",{className:n(1674),children:n(1759)}):l[n(510)](z[n(317)],{ghost:!0,defaultActiveKey:C[0]?.id+o,children:C[n(1902)]((B,S)=>l[n(510)](On,{header:l.jsxs("div",{className:n(1154),children:[l[n(510)](n(390),{className:n(449),children:S+1}),l[n(510)](n(390),{className:n(1692),children:B[n(863)]}),l[n(510)](z[n(1184)],{color:"default",className:"text-xs",children:B.material[n(954)]})]}),extra:l.jsxs(z[n(556)],{size:n(1201),onClick:E=>E[n(540)](),children:[l.jsx(z.Button,{type:n(600),size:n(1201),icon:l.jsx(ce[n(1513)],{}),disabled:S===0,onClick:E=>{E[n(540)](),T(B.id,"up")}}),l[n(510)](z[n(595)],{type:n(600),size:n(1201),icon:l[n(510)](ce[n(1267)],{}),disabled:S===C[n(658)]-1,onClick:E=>{const P=n;E.stopPropagation(),T(B.id,P(1237))}}),l.jsx(z[n(595)],{type:n(600),size:n(1201),icon:l.jsx(ce[n(694)],{}),onClick:E=>{E[n(540)](),W(B)}}),l.jsx(z[n(595)],{type:"text",size:n(1201),danger:!0,icon:l[n(510)](ce[n(668)],{}),onClick:E=>{E[n(540)](),V(B.id)}})]}),children:l[n(1306)](z[n(316)],{layout:"vertical",children:[l[n(510)](z.Form[n(1098)],{label:n(521),children:l[n(510)](z[n(423)],{value:B[n(863)],onChange:E=>A(B.id,{name:E.target[n(1834)]}),placeholder:n(1207)})}),l[n(510)](Vr,{status:B,onUpdate:E=>A(B.id,E),onAppendToExpression:E=>{const P=n;m(k=>({...k,[B.id]:(k[B.id]??B[P(655)])+E}))}}),l[n(510)](z[n(316)][n(1098)],{label:"执行表达式",help:n(248),children:l.jsx(e1,{value:w[B.id]??B[n(655)],onChange:E=>m(P=>({...P,[B.id]:E[n(1450)][n(1834)]})),onBlur:E=>{const P=n;A(B.id,{expression:E[P(1450)].value}),m(k=>{const K={...k};return delete K[B.id],K})},rows:3,placeholder:n(654)})}),l[n(510)](z[n(316)][n(1098)],{label:"绑定物料",children:l[n(1306)](n(1384),{className:"flex items-center gap-2",children:[l[n(510)](z.Tag,{color:n(1399),children:B[n(609)][n(863)]}),l.jsx(z.Tag,{color:"default",children:B[n(609)][n(954)]}),l[n(510)](z[n(595)],{type:n(1050),size:n(1201),icon:l[n(510)](ce[n(1833)],{}),onClick:()=>X(B.id),children:n(1007)})]})}),l[n(510)](z[n(722)],{style:{margin:n(699)}}),l[n(1306)](n(1384),{className:"bg-gray-50 rounded-lg p-3 border border-gray-200",children:[l[n(1306)](n(1384),{className:n(1514),children:[l[n(510)]("span",{className:n(457),children:"物料属性"}),l[n(510)](z[n(1184)],{children:B[n(609)].name})]}),l.jsx(Wr,{material:B.material,onSave:E=>L(B.id,E)})]})]})},B.id+o))})]})},n(246)),l.jsx(ax,{tab:"控制",children:l[n(1306)](z[n(316)],{form:f,layout:n(1146),onValuesChange:I,children:[l[n(510)](z.Form.Item,{label:n(955),name:[n(1888),"isDraggable"],valuePropName:n(404),children:l[n(510)](z.Switch,{})}),l[n(510)](z[n(316)][n(1098)],{label:n(1985),name:["controlInfo",n(1075)],valuePropName:n(404),children:l.jsx(z[n(2010)],{})}),l[n(510)](z[n(316)][n(1098)],{label:n(1548),name:[n(1888),n(1155)],valuePropName:n(404),children:l[n(510)](z[n(2010)],{})}),l[n(510)](z[n(316)][n(1098)],{label:n(366),name:[n(1888),n(1641)],valuePropName:n(404),children:l[n(510)](z.Switch,{})})]})},n(1721)),l.jsx(ax,{tab:n(559),children:l[n(510)]($g,{nodeId:b.id})},n(629))]})}),l[n(510)]("div",{className:n(1873),children:l[n(1306)]("div",{className:n(838),children:[l[n(1306)]("div",{children:["节点 ID: ",b.id.slice(0,8),n(1457)]}),l[n(1306)](n(1384),{children:[n(365),C[n(658)]]})]})}),l[n(510)](z[n(1099)],{title:"选择物料",open:v,onCancel:()=>{h(!1),M(null)},footer:null,width:600,children:l[n(510)](n(1384),{className:n(310),children:l.jsxs(z[n(317)],{ghost:!0,defaultActiveKey:[n(1608),"device","text",n(352)],children:[l.jsx(On,{header:n(562),children:l[n(510)]("div",{className:"grid grid-cols-4 gap-2",children:d[n(1874)](B=>["矩形","圆形","圆角矩形"][n(1402)](B[n(863)]))[n(1902)](B=>l[n(510)](Qc,{material:B,onClick:()=>H(B)},B.id))})},"basic"),l[n(510)](On,{header:n(505),children:l.jsx(n(1384),{className:n(364),children:d[n(1874)](B=>["阀门","泵","罐体"].includes(B.name)||B[n(954)]===n(418)&&!["矩形","圆形",n(1730)].includes(B[n(863)]))[n(1902)](B=>l[n(510)](Qc,{material:B,onClick:()=>H(B)},B.id))})},n(273)),l.jsx(On,{header:"文本",children:l.jsx(n(1384),{className:n(364),children:d[n(1874)](B=>B[n(954)]===n(480))[n(1902)](B=>l[n(1306)]("div",{className:n(1200),onClick:()=>H(B),children:[l[n(510)](n(1384),{className:"w-12 h-12 mx-auto mb-1 flex items-center justify-center bg-gray-100 rounded",children:l[n(510)](n(390),{className:n(1618),children:"T"})}),l[n(510)](n(390),{className:n(433),children:B[n(863)]})]},B.id))})},n(600)),l[n(510)](On,{header:"线条",children:l[n(510)]("div",{className:n(364),children:d[n(1874)](B=>B[n(954)]==="LINE")[n(1902)](B=>l.jsxs(n(1384),{className:"border rounded-lg p-2 cursor-pointer hover:border-blue-500 hover:bg-blue-50 transition-all text-center",onClick:()=>H(B),children:[l[n(510)](n(1384),{className:n(1409),children:l[n(510)](n(1384),{className:n(1030)})}),l[n(510)]("span",{className:n(433),children:B[n(863)]})]},B.id))})},n(352))]})})})]}):l.jsx(n(1384),{className:n(797),children:l.jsx(z[n(320)],{description:n(984)})})},Qc=({material:e,onClick:n})=>{const t=c,o=e[t(954)]==="IMAGE"?e[t(800)]:void 0;return l.jsxs(t(1384),{className:t(1200),onClick:n,children:[l[t(510)](t(1384),{className:t(319),children:o?l[t(510)](t(1646),{src:o,alt:e[t(863)],className:t(307)}):l[t(510)](t(390),{className:t(433),children:e[t(863)][0]})}),l[t(510)]("span",{className:t(433),children:e.name})]})},n1="ConfigEditor-module__configEditor__dinNG",t1={configEditor:n1},x1=c(1552);function Fc(e){return Array[c(293)](e)}const _c=({open:e,onClose:n})=>{const t=c,{dataPool:o,addDataPoolItem:x,updateDataPoolItem:r,removeDataPoolItem:i}=He(),[a]=z[t(316)][t(1613)](),[d,s]=D[t(884)](null);D[t(532)](()=>{!e&&(s(null),a.resetFields())},[e,a]);const u=()=>{const h=t;s(h(1347)),a.setFieldsValue({name:h(557)+(o.length+1),sampleJson:""})},f=h=>{const p=t;s(h.id),a.setFieldsValue({name:h[p(863)],sampleJson:JSON.stringify(h[p(1410)]??{},null,2)})},y=h=>{const p=t,M=h[p(1597)]();if(!M)return{};const w=JSON[p(1503)](M);if(w===null||typeof w!==p(460))throw new Error(p(762));if(Array.isArray(w)){for(let m=0;m<w[p(658)];m++)if(typeof w[m]!==p(460)||w[m]===null)throw new Error(p(312)+(m+1)+p(1578));return w}return w},g=()=>{const h=t;a[h(2041)]().then(p=>{const M=h;let w;try{w=y(p.sampleJson)}catch(b){z.message.error(b instanceof Error?b[M(650)]:"sample JSON 无效");return}const m=p[M(863)][M(1597)]();if(!m){z[M(650)][M(360)](M(1963));return}d===M(1347)?(x({name:m,sample:w}),z[M(650)].success(M(853))):d&&(r(d,{name:m,sample:w}),z[M(650)][M(743)](M(1900))),s(null),a[M(1039)]()})[h(783)](()=>{})},v=[{title:"名称",dataIndex:t(863),key:t(863)},{title:"类型",key:t(954),width:100,render:(h,p)=>Fc(p.sample)?l[t(1306)](z.Tag,{color:t(1399),children:[t(1239),p.sample.length," 项)"]}):l[t(510)](z[t(1184)],{children:"对象"})},{title:t(2034),key:t(1210),width:90,render:(h,p)=>{const M=t;if(Fc(p[M(1410)])){const w=p[M(1410)][0];return w?Object[M(1210)](w)[M(658)]:0}return Object[M(1210)](p.sample||{})[M(658)]}},{title:"操作",key:"actions",width:160,render:(h,p)=>l.jsxs(z[t(556)],{children:[l[t(510)](z[t(595)],{type:"link",size:t(1201),icon:l[t(510)](ce[t(1833)],{}),onClick:()=>f(p),children:"编辑"}),l[t(510)](z[t(1134)],{title:t(861),description:t(1966),onConfirm:()=>{const M=t;i(p.id),z[M(650)][M(743)](M(1750))},children:l[t(510)](z[t(595)],{type:t(1050),size:"small",danger:!0,icon:l[t(510)](ce.DeleteOutlined,{}),children:"删除"})})]})}];return l[t(1306)](z[t(1099)],{title:t(1254),open:e,onCancel:n,width:760,footer:null,destroyOnClose:!0,children:[l[t(1306)]("p",{className:"text-sm text-gray-500 mb-3",children:[t(1585)," ",l[t(510)](t(554),{className:t(877),children:t(1042)}),t(661)]}),l[t(510)](t(1384),{className:t(1401),children:l[t(510)](z[t(595)],{type:t(1755),icon:l[t(510)](ce[t(682)],{}),onClick:u,children:t(1257)})}),d&&l[t(1306)](t(1384),{className:t(855),children:[l.jsxs(t(1384),{className:"font-medium mb-2",children:[d==="__new__"?"新建":"编辑",t(1848)]}),l[t(1306)](z.Form,{form:a,layout:"vertical",children:[l[t(510)](z[t(316)][t(1098)],{name:t(863),label:"名称",rules:[{required:!0,message:"必填"}],children:l[t(510)](z[t(423)],{placeholder:t(1198)})}),l[t(510)](z[t(316)][t(1098)],{name:"sampleJson",label:t(627),rules:[{required:!0,message:"必填"}],children:l[t(510)](z.Input.TextArea,{rows:12,className:t(478),placeholder:x1})}),l[t(1306)](z[t(556)],{children:[l[t(510)](z[t(595)],{type:"primary",onClick:g,children:"保存"}),l[t(510)](z.Button,{onClick:()=>{const h=t;s(null),a[h(1039)]()},children:"取消"})]})]})]}),l[t(510)](z[t(1913)],{size:t(1201),rowKey:"id",dataSource:o,columns:v,pagination:!1,locale:{emptyText:t(1568)}})]})},{Header:o1,Sider:$c,Content:r1}=z[c(659)],i1=({initialScheme:e,onChange:n,readonly:t=!1,headerExtra:o,className:x="",style:r,showHeader:i=!0,showMaterialPanel:a=!0,showPropertyPanel:d=!0,customMaterials:s,initialDataPool:u,initialEventFlow:f,externalEventActions:y,onUploadSvg:g,defaultTestData:v,backgroundImageUrl:h,initialViewportWidth:p,initialViewportHeight:M})=>{const w=c,[m,b]=D[w(884)](!1),[C,I]=D[w(884)](!1),[U,H]=D[w(884)](""),[V]=D.useState(()=>[{paramsCode:w(1388),paramsName:w(491),value:25,paramsUnit:w(1515)},{paramsCode:w(1263),paramsName:w(1847),value:1.5,paramsUnit:"m/s²"}]),A=v!==void 0?v:V,W=i&&!t,{exportScheme:T,importScheme:X,nodes:G,materials:L,dataPool:B,eventFlow:S,root:E,canvas:P,viewport:k,addMaterial:K,setDataPool:_,setEventFlow:R,setExternalHandlerCatalog:$}=He();D.useRef(null);const xe=D[w(805)](!1);D[w(532)](()=>{const Q=w;if(!xe.current&&(xe[Q(506)]=!0,ir[Q(1998)](ie=>K(ie)),e&&X(e),f!==void 0&&R(f),y&&y[Q(658)]>0)){$(y);const ie={};for(const F of y){const N=String(F.key??"")[Q(1597)]();N&&F[Q(926)]&&(ie[N]=F.handler)}Object[Q(1210)](ie)[Q(658)]>0&&lt[Q(1356)]({external:ie})}},[]),D[w(532)](()=>{const Q=w;s&&s[Q(658)]>0&&s[Q(1998)](ie=>K(ie))},[]),D.useEffect(()=>{u!==void 0&&_(u)},[u,_]),D[w(532)](()=>{if(n){const Q=T();n(Q)}},[G,L,B,S,E,n,T]);const ae=D[w(1097)](()=>{const Q=w,ie=T(),F=JSON.stringify(ie,null,2),N=Q(335)+encodeURIComponent(F),j=Q(1282)+Date[Q(1569)]()+Q(1455),Z=document.createElement("a");Z.setAttribute("href",N),Z[Q(2033)](Q(1927),j),Z[Q(1140)](),z[Q(650)][Q(743)]("导出成功!")},[T]),de=D[w(1097)](()=>{const Q=w;try{const ie=JSON[Q(1503)](U);X(ie),b(!1),H(""),z[Q(650)].success(Q(1864))}catch{z[Q(650)][Q(360)](Q(1373))}},[U,X]),ue=D[w(1097)](Q=>{const ie=w,F=new FileReader;return F.onload=N=>{const j=_0x5528;try{const Z=N[j(1450)]?.[j(585)],O=JSON[j(1503)](Z);X(O),z[j(650)].success(j(1864)),b(!1)}catch{z.message[j(360)]("文件格式错误")}},F[ie(1539)](Q),!1},[X]),re=D[w(1097)](()=>T(),[T]);return D[w(1506)](D[w(805)]?.(),()=>({getScheme:re,exportScheme:T,importScheme:X}),[re,T,X]),l[w(510)](z[w(1671)],{locale:ms,children:l[w(510)](w(1384),{className:t1.configEditor,style:{height:w(t?1296:733),...r},children:l.jsxs(z[w(659)],{className:w(1100)+(t?"":w(1625))+" "+(t?"":w(1925))+" "+x,children:[W&&l[w(1306)](o1,{className:"bg-white border-b border-gray-200 px-4 flex items-center justify-between flex-shrink-0",children:[l.jsxs(w(1384),{className:w(1145),children:[l[w(510)](w(1384),{className:w(257),children:w(2061)}),l[w(1306)](w(1384),{className:w(1136),children:[G[w(658)],w(587)]})]}),l.jsxs(z.Space,{children:[o,!t&&l[w(1306)](l.Fragment,{children:[l[w(510)](z[w(358)],{title:w(776),children:l[w(510)](z[w(595)],{icon:l[w(510)](ce.DownloadOutlined,{}),onClick:ae,children:"导出"})}),l.jsx(z[w(358)],{title:w(901),children:l.jsx(z[w(595)],{icon:l[w(510)](ce[w(1286)],{}),onClick:()=>b(!0),children:"导入"})}),l[w(510)](z[w(358)],{title:"节点状态用的数据集(与事件流无关)",children:l[w(510)](z[w(595)],{icon:l.jsx(ce[w(1172)],{}),onClick:()=>I(!0),children:w(1679)})})]})]})]}),l[w(1306)](z.Layout,{children:[a&&!t&&l.jsx($c,{width:280,className:"bg-white",theme:w(1495),children:l[w(510)](cr,{onUploadSvg:g})}),l.jsx(r1,{className:"relative "+(t?"":w(1427)),style:t?{backgroundColor:P?.[w(392)],backgroundImage:P?.[w(947)]!==!1?w(640):void 0,backgroundSize:20*(k?.scale||1)+w(1309)+20*(k?.[w(1652)]||1)+"px"}:void 0,children:l.jsx(Gr,{defaultTestData:A,readonly:t,backgroundImageUrl:h,initialViewportWidth:p,initialViewportHeight:M})}),d&&!t&&l.jsx($c,{width:360,className:w(1831),theme:w(1495),children:l[w(510)](Jc,{defaultTestData:Array.isArray(A)?A:void 0})})]}),l.jsx(_c,{open:C,onClose:()=>I(!1)}),l[w(510)](z[w(1099)],{title:w(1798),open:m,onOk:de,onCancel:()=>{b(!1),H("")},width:600,children:l[w(1306)](w(1384),{className:w(1630),children:[l[w(1306)]("div",{children:[l[w(510)]("p",{className:"mb-2",children:"选择 JSON 文件导入:"}),l[w(510)](w(1930),{type:w(1241),accept:w(1455),onChange:Q=>{const ie=w,F=Q[ie(1450)][ie(416)]?.[0];F&&ue(F)},className:w(511)})]}),l.jsx(w(1384),{className:"text-center text-gray-400",children:"或"}),l.jsxs("div",{children:[l[w(510)]("p",{className:w(832),children:"粘贴 JSON 内容:"}),l[w(510)](w(1467),{value:U,onChange:Q=>H(Q[w(1450)][w(1834)]),placeholder:w(1954),className:w(739)})]})]})})]})})})};De[c(1863)]=Gr,De[c(1808)]=i1,De.DataPoolModal=_c,De[c(2003)]=jr,De[c(1106)]=cr,De.NodeRenderer=jx,De[c(811)]=Jc,De[c(1055)]=tr,De[c(666)]=nr,De[c(1589)]=ar,De.createDefaultStatus=Dx,De[c(1972)]=Cx,De[c(329)]=lt,De[c(2048)]=xr,De[c(774)]=ir,De[c(990)]=He,Object[c(590)](De,Symbol[c(545)],{value:c(385)})});function _0x3a38(){const De=["mcaWidrWEcbYz2jHkdaSmcWWldaUmYK","Bg9HzgLUzW","AxneCMfNz2fIBgu","CMvHy3qTzMXVD19FBwLUAw1HCc1ZDMC","Bw9Kzq","6ycp5PIo5BQM","B25ezwXLDgu","mcaWidmYidmW","zg9TywLU","EhKTzwrNzv9F","BgLZDgvUzxi","vgv4DefYzwe","ufjpuevsvfLFq0HbtKDf","Bg9JywW","zMLUza","AwXSzwDHBcb0ExbLoIa","5PAW5BU655s75BId","i2zHywqXna","54MP5PAz5BQt","6k+36ycj5OUP","yMCTD2HPDgu","CgfNzvK","rwrPDe91DgXPBMvK","DMfSDwu","6lEZ6l2S55s75BId","y29UBMvJDgLVBKrYywDuAhjLC2HVBgq","Bw91C2v1Cc5KCMfN","CMvHy3qTzMXVD19FAgfUzgXL","5A+85yE65B2t5yMn55s75BId","zM9UDc1TzwrPDw0GDgv4Dc1ZBq","zgf0yvrYyw5ZzMvY","BgLUzs1KCMf3","6iom5PMV6AkC6iMY","z3jPzcbNCMLKlwnVBhmTmIbNyxaTmG","DMLLD3bVCNrjBML0AwfSAxPLza","C2LIBgLUz0DYB3vWCW","6ycA6Akr5yQG6ycF5BQM5PYj5Pwi5yc8","5PwW5O2U6zUg","CMvHy3qTzMXVD19FCMvZAxPLlwnVBNrYB2W","CMvHy3qTzMXVD19Fy29UBMvJDgLVBI1WyxrO","54k55yE76zMn5BQp","5Bcg57Q/5P2H5y+y5lI65Rc05BMZ57Q/77Ym5l+D5OYb6zw/5BQM","y2fUDMfZxW","AxndBgLJA2fIBgu6","zNjVBq","5lQl5lU25z2x5PYQ6ywn572Uigv4DgvYBMfSsgfUzgXLCKTLEq","AxnwywXPza","5PAh5A2x6AkC6iMY","zw50CMLLCW","AhnSysG","u3rLCevKz2u","5lIl5lIa6Ag1","q2fUDMfZ","5A+85ywL5OIq5yQF77Yb","B25oB2rLtw91C2vmzwf2zq","rhjHz091DgXPBMvK","Aw52ywXPza","uMvHy3qGrMXVDZOGDhjPz2DLCIbLzgDLignOyw5Nzxm","mcaYChGGohb4ihjNyMeOmcWWldaSmc4XnsK","AgfUzgXLrg9TtM9Kzq","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iIm1mMm0mweIlZ48l3n2zZ4","DxbKyxrL","Cc0ZigjVCMrLCI10igjVCMrLCI1NCMf5ltiWmcbIzY1NCMf5ltuW","zMLSDgvY","vgHLifjLywn0iezSB3CGCgfYzw50ignVBNrHAw5LCIbUzwvKCYbHihDPzhrOigfUzcbHigHLAwDODcb0BYbYzw5KzxiGDgHLigDYyxbOlG","B2jQzwn0ihvUC3vIC2nYAwjLza","twvZC2fNzsdMJ5dNPlRLHOxLRRNKUlRNQBO","yMfJA2DYB3vUzenVBg9Y","zg9Uzq","zxH0zxjUywXiyw5KBgvYs2v5","5PYQ55+L5yAf572U5yQO5l2CoIa","C3rYB25N","EKLUzgv4tw9Kzq","6k+36ycj5OUP6kEM5y+r5PA55BYp","rML0ifzPzxC","5OUw5OU95PEl6l2S","BM9KzxntzwXLy3rPB25by3rPDMu","y29UDhjVBeLUzM8","C2v0","CMvTB3zLqxr0CMLIDxrL","C2nHBgvz","C3LTyM9S","5lIk5lIQ5PYiicJNV7VPOBxKUiRPLk4P","CxvLCNLtzwXLy3rVCG","Dg91y2GX","y2fUy2vSywjSzq","u2vSzwn0","Dg9ju09tDhjPBMC","CMvHy3qTzMXVD19FzwrNzs10zxH0yMC","5BEY5l+D5A2y","y3jVC3m","BwfW","tM9Kzsb3AxrOigLKici","sxqGBg9VA3mGBgLRzsb5B3uNDMuGy3jLyxrLzcbHig5LDYbUB2rLvhLWzxmGB3iGzwrNzvr5CgvZig9IAMvJDc4GswyGDgHPCYb3yxnUj3qGB24GChvYCg9ZzsbWBgvHC2uGzgvMAw5LihrOzsbUB2rLvhLWzxmVzwrNzvr5CgvZig91DhnPzguGB2yGDgHLignVBxbVBMvUDcbVCIbTzw1VAxPLihrOzw0U","qxjYB3DvCa","x2LK","z2v0qKjVEa","AxndB250zw50rwrPDgfIBgu","DxnLCLnWywnLt25vC2u","x2v4Axq","y29UBMvJDgLVBK1Vzgu","BM9Kzu5HBwu","vgfIBgu","mc4Zzw0","C3bHy2u","DxjSkcnNCMLKkq","CMv0DxjUigfYz3m7","Cg9ZAxrPB25byNnVBhv0zq","x3n1yNnJCMLIzq","57Ur5A6A5PwW5O2U6zUg","BgvMDa","Bw9KztO","5yAf6l656lED","tM8GC3rHCNqGBM9KzsbMB3vUzcbPBIbLDMvUDcbMBg93","B3zLCMzSB3CTAgLKzgvU","y3vYCMvUDenHBNzHC0LK","zg93BMXVywq","C2TLD1G","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMuGB3zLCMzSB3CTAgLKzgvU","Aw5WDxq","mca0ChG","yxbWBhK","y2HYB21L","CgfYyw1Zq29Kzq","zxzLBNrtDwjQzwn0CW","6yca5yE65Rwp6kEi","zMLYC3rfBgvTzw50q2HPBgq","C3rHDgu","C2v0rgvMyxvSDe5VzgvZqw5KrwrNzxm","C3rVCa","DgLTzxjjza","C2HVDwXKvw5ZDwjZy3jPyMu","z2fTBwe","5A2x5l2t5AsN5Bcp","iI8+pc9ZDMC+","CMDI","zxH0zw50","yxjPyuXHyMvSq29UzMLN","q3vZDg9TrxzLBNq","yxv0B1bHBK9UtM9KzuzVy3vZ","DMfSDwvgB250u2L6zq","BwWTmG","C3rHCNrsB3rHDgu","57ky6ls0iePtt04G5yAf5A65lI4U","AxrLCMf0B3i","8j+sOsdMJ5dNPlRVVjRNGRNLH7VNU5JLIlBNUR/MRRxVViZLJ6/OV57NU63NU5JLIlBLPjRMRRxNUR/VViZLJ4ZLH7VNU5pMNz/NU5JLIlBVViXfu0mG5y+w5RAi","B25nB3zLrw5K","DhjHBNnWyxjLBNq","572U5lQo6Ag25Bgc","6BYG5Qch56E75ywL","5ywZ6zET6kgm","zgf0ytPPBwfNzs9ZDMCREg1Sla","6k+35AgR5yAz5zcn56EW","DxjSkcCJ","zM9YBwf0sgv4","5OMa5PYj57Ur5A6A5Q2K5PwW5O2U6zUg55Qe54Q25Ocb5Bcg6iEQ5yQO6kEJ6zMK57Ur5A6A44cc","Bw91C2vTB3zL","DgLTzq","DY1MDwXSigP1C3rPzNKTzw5K","yM9Sza","Aw5ZzxqOmtaWjsK","zxzHBhvHDgvtDgf0DxnfEhbYzxnZAw9U","mdaZ","AxneCMf3Aw5N","iZi2mJyYnG","ywrKrxzLBNrmAxn0zw5LCG","zgvMAw5LuhjVCgvYDgLLCW","DY1WEcbOltyGyMCTz3jHEs0ZmdaGBxGTmG","DMLLDW","zhjHz2DPBMC","CMvJDcGWChGSidbWEcWGmhb4lcaWChGP","Bw92zwq","DgLTzxi","zM9JDxnHyMXL","5y+V54k55yE7","5PAW5BU65lQl5lU25Rwb","rMfPBgvKihrVihbHCNnLigrYB3bWzwqGBwf0zxjPywW6","mda5","Dgv4Dc1NCMf5ltGWma","zgfYAW","zw51BwvYywjSzq","5Asw6yoO5lQl5lU25Qch6k+g","Dhj1zq","Dg91y2G","DgHHDa","zMXLEcbNyxaTna","BNCTCMvZAxPL","zM9YrwfJAa","5PAh5lU25Qc85BYp6zsz6k+V","Dg9tDhjPBMC","C2vSzwn0C3rHCNqUzhjHzW","zw5Kwq","rxzLBNrgBg93qMLUzgLUzW","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igeGBM9Kzs4GuhjLC3mGzgvSzxrLihrVihjLBw92zsbPDcbHBMqGzxnJyxbLihrVignHBMnLBc4","ugXLyxnLihvZzsbGz2v0tM9KzxncB3vUzhnGigzYB20GyhvZzvjLywn0rMXVD2aVyhvZzvn2zwX0zuzSB3DGigHVB2SGDg8Gzw5ZDxjLignVCNjLy3qGDMfSDwvZigzVCIbZDwiGzMXVD3mUieLMig5VDcbWB3nZAwjSzsWGEw91igHHDMuGDg8GChjVDMLKzsbHig5VzgvmB29RDxaGDg8GC3vWCg9YDcbZDwiGzMXVD3mU","BMv3wa","C2LIBgLUz3m","BM9YBwfS","Bg9JywXLq29TCgfYzq","u3DPDgnO","B2jZzxj2zwq","q29SDw1Uv2LKDgHpDxrSAw5Lza","Bw91C2vKB3DUlNPVB20","z2v0t3DUuhjVCgvYDhLtEw1IB2XZ","yxjPyvjVBgu","ltiWChG","tufyx1zbtfvf","Dg9gAxHLza","CMvSzwfZzuXVy2S","CMvHy3qTzMXVD19FDMLLD3bVCNqTCg9YDgfS","Aw5Zzxj0qMvMB3jL","DMLLD3bVCNq","rw50zxi","x3rOCM93swzdBg9Zzwq","44cn77Yi5Pw05z2x6l+u5zUE5yc877Yj","x2nVBxbSzxrL","CMvM","Cc00igjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","C3r5BgvuD2vLBG","u21VB3rOu3rLCa","6ycj5OUP5PYi5lU9","zNjVBuHHBMrSzq","C2v0qxr0CMLIDxrL","5A2x5Q615PwW","ie0Wia","zgLYzwn0Aw9U","C2nHBgvy","Dg91y2HTB3zLlMrYywC","BM9Kzq","57Ue5yAf55s75BId77Yi5OYj6Ag65BQp57+76Ag177Yj","DMfSAwrHDgvgAwvSzhm","ANn4uNvUDgLTzq","CMLNAhq","sw1Hz2u","6ycj5OUP57Ur5A6A5yc8","rgvSzxrL","5PYa5AsAjhTTyxH95lIQjhTSywjLBh0","zMLUzefJDgL2zvn0yxr1CW","B25dB25Uzwn0u3rHCNq","BM9KCMfN","5z6c55U05yIg5BId","CMvHy3qTzMXVD19Fy29UDgfPBMvY","B3DUzxjtvKDfBgvTzw50","D2fYBG","yxn5BMnjDgvYyxrVCG","BgLZDc1UB25LihnWywnLlxKTmIbTltaGCc0W","BwfYz2LU","5yIG6zMK5B2t6Ag1","DY1MDwXSigGTzNvSBcbMBgv4igzSzxGTy29SigP1C3rPzNKTy2vUDgvYigDHCc0X","C2vSzwn0zwroB2rLCW","57Ue5Ocb57Yw6l6r5zMO","CMzFx21PBMLTyxa","Dw5ZDwjZy3jPyMu","B25oB2rLtw91C2vnB3zL","CMvSyxrPDMuG","C3rYAwn0","55wz56M65l2/55sOigfUDgqG6BUy6k6K77YB5AgRidaG6kgO56s65lIn6iEQ5yQO5ywZ6zET","yxjNCY4","BM9KzuXVB2T1Ca","zwrNzq","uMLNAhrpDxrSAw5Lza","yxrHBG","DhjHBNnSyxrLkc0","C3rHCNrbBMDSzq","6yEn5ygAicHdDhjSk1KP","uMvHy3qGrMXVDW","q29UDhjVBa","y2HPBgrYzw4","ChjLDMLLDW","zg9Tqxr0CMLIDxrLCW","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIb0zxH0lwDYyxKTmZaWihrLEhqTEhm","zgvZDgLUyxrPB24","AgfUzgXLCW","DgvZDa","CMvHy3qTzMXVD19FBwLUAw1HCc1TyxnR","Aw5KzxHpzG","tK9erv9truXfq1q","56gU6k6K5yIG6zMK6k+L5zcm57QN5ywZ57o757Ue77YF","C29YDa","CMvSzwfZzvbVAw50zxjdyxb0DxjL","i2zHogmXnG","zgf0yq","wM9VBsbpDxq","BM9KzxneCMfNz2fIBgu","C3rLCfbVC2L0Aw9U","C2vSzwn0ywjSzq","jhTSywjLBh3MNidLSjeKE21PBN3KUkRLRzFNRky","5PYQ55+L55s75BId","w1jLywn0iezSB3DDoIbtzwvTCYbSAwTLihLVDsbOyxzLig5VDcb1C2vKihP1C3rHBMqGChjVDMLKzxiGyxmGyw4Gyw5Jzxn0B3iUieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCImWmde","zw1WDhK","C3rYAw5NAwz5","tgLUzq","C3rHDhvZ","qxjYB3DsAwDODa","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVVjRNLlhMLBdMJA7MSAaGC2fTCgXL77Yi6iUL5BEY57Ur5A6A77Yj5lIo55s75BId6l+q6kgm5PE25PwW5O2U5zci5BM277YB5Rwl54k55PwW57Ue5lYA5OYjihbHCMfTC0nVzguG5yAz5ywLigrHDghJGilPOBSGCMv0DxjUihrYDwuVzMfSC2xJGii","6ycj5OUP5PwW5O2U6zUg","D2HLzwW","zxjYB3iWmte","y29UDgvUDeLUzM8","B3b0Aw9UCW","6ycj5OUP5PwW5O2U5A2x5Q61","C2HPzNq","zNjVBu5Vzgu","Dgv4Dc14BcbMB250lwjVBgqGDgv4Dc1IBhvLltyWma","odqYodH1tu5SCeO","yMX1CG","Aw52ywXPzcbJywXSyMfJAZOG","owjWDvbzCa","C3r5Bgu","zxzLBM9Kza","B25oB2rLC0nOyw5Nzq","iIbKB2vZig5VDcbLEgLZDcWGAxqGBwf5igHHDMuGyMvLBIbYzw1VDMvKlIbuAgLZignHBIbOyxbWzw4GD2HLBIbHig5VzguGAxmGzgvSzxrLzcbIzwzVCMuGDgHLicjVBK5VzgvdBgLJAYiGAgfUzgXLCIbPCYbJywXSzwqU","5y+w5RAi5O6s5BQp","6BYG5Qch56E75yE6","5zcm57QN5ywZ57o7","5yAf572U5yQO5l2C","y2LYy2XL","ugfUzwW","re9ntwf0CML4uMvHze9UBhK","zgv2AwnL","zwXLBwvUDhntzwXLy3rHyMXL","zgvMyxvSDevKz2vpChrPB25Z","C3rHCNrxAwr0Aa","zM9UDc1TzwrPDw0GDgv4Dc1ZBsb0CNvUy2f0zq","CMHV","ywjZB2X1DguGyM90Dg9TltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","CMvJEwnSzufZEw5Jswq","x25LEhq","Aw5PDev2zw50","5y+w5RAi5ywO6ycj","Bwv0yuTLEq","CMvHy3qTzMXVD19FzwrNzwXHyMvSlxjLBMrLCMvY","C2vSzwn0zwroB2rLswq","zxHW","CMvTB3zLqxr0CMLIDxrLtLm","t2jQzwn0vw5ZDwjZy3jPyMvKrxjYB3i","vgHLig9SzcbLzgDLihDPDgGGAwq9","5y2G5l2n56YM77YAE3TWCMv2Fx3JGif7E+wfPEwpGUwqJx19iow8LEEuQos4IUA4UoI/NUE6V+wfPEwpGU+8M3T7jgrHDgeUEhH4Fx0G5y+w5lQl5lU25lIk5lIl5PAhigrHDge","y29TCg9ZzwrqyxrO","AxnbCNjHEq","xNjNyLWO","vg9W","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0B3a","CM9VDfbHCMvUDeLUzgv4","z2v0u2nYzwvUq1rn","z2vVBwv0CMLJuhjLy2LZAw9U","CgfYzw50tM9Kzq","6k+36ycj5OUP5PE26zE0","6iom5PMV6Ake6kEi","twv0yq","BxqTmIbWltiGyMCTyMX1zs01mcbYB3vUzgvKihrLEhqTEhmGDgv4Dc1IBhvLltyWma","B3bHy2L0Eq","5RE75yQG5lQl5lU25Rwb","DY0XmcbOlteWig9IAMvJDc1JB250ywLU","yM90Dg9T","zM9YBwf0sgv4oa","Bwf4lwGTwZqWmhb4xsbVDMvYzMXVDY15lwf1Dg8","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24","5PwW57Ue56YSia","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9YCW","zw5HyMXLza","vMvYDgLJywXbBgLNBLrVCe91DgXPBMvK","rM9YBq","q29SBgfWC2u","y29UDhjVBhmUEM9VBuLUlMfYAwfmywjLBa","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCG","rw1WDhK","BM9KzxndB25Uzwn0ywjSzq","yM91BMreyxrHC2v0qMLUzenVzgu","zMXLEc0Xig1PBI13lta","CMvTB3zLq2HPBgq","zgfZAgvK","y3vYC29YlxbVAw50zxiGBwiTma","Cg9PBNrLCI1LDMvUDhmTBM9Uzq","6k+35AgR5yAz5Asw6yoO5lQl5lU25Qch6k+g","zxzLBNrcDxm","t2jQzwn0igLZig5VDcbPDgvYywjSzs4","6iom5PMV5zU+54Mh5lIk5lYG5OIq5yQF","sg9YAxPVBNrHBa","Dw5YzwDPC3rLCKv2zw50qMXVy2S","uMvHy3rAB29TugfUugLUy2G","zgf0ytPHChbSAwnHDgLVBI9QC29Uo2nOyxjZzxq9DxrMltGS","CMvHy3qTzMXVD19FzwrNzs10zxH0","x196B29T","57+75yIW5lIl5lIa6Ag177Yi5z+65lQo5B2t5yMn55s75BId77Yj","cIaGicaGicaG","tw96vxnLCLnLBgvJDa","Aw5WDxrZ","y29UDgfPBNm","BM9KzuvSzw1LBNq","Ac0XmIbIzY13AgL0zsbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltq","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWma","5l6l5AAc77YABMf2AwDHDgvuB+oaGw9Wzw5eAwfSB2C","DhjHBNnSyxrLwa","u3LTyM9SlML0zxjHDg9YigLZig5VDcbKzwzPBMvKlG","5RE75yQG54Q25Ocb","BM9KzvK","C2vSzwn0zwrfzgDLCW","BgLUzq","ihDOzxjLigeGC3rYzwfTihDHCYbLEhbLy3rLzc4Gww91ignHBIbWCM92AwrLigfUie9IC2vYDMfIBguSifbYB21PC2uSifjLywrHyMXLu3rYzwfTlcbbCNjHEsWGqxn5BMnjDgvYywjSzsWGB3iGsxrLCMfIBguU","6ycj5OUP5OIw5yIB5BU65lQl5lU25Rwb","Dg91y2HHyMXL","Dg9izxHtDhjPBMC","B25SB2fK","vg9VBhrPCa","B25fzgDLC0rLBgv0zq","zxjYB3i","x+wjR+ACRa","ywn0sw5ZAwrLsw5WDxrxAxrOtw9KAwzPzxi","BwvYz2u","z3jPzcbNCMLKlwnVBhmTncbNyxaTmG","54Q25Ocb5PwWoIa","5y+V6ycj5lIT","y3vYCMvUDe9IC2vYDMvYCW","BMf0AxzLrxzLBNq","CMvZB2X2zq","5PAh5PYS5Qch562+","zw50zxi","C3bHy2uTEs0Z","6BYG5Qch6l+B5ywL","Cg9W","Bw91C2vpDMvY","B3jPz2LUywXfDMvUDa","zxjYB3iWmdu","ywXS","zhvYyxrPB24","ChjLDLzPzxDWB3j0","C3rYB2TLv2LKDgG","mda0","AxntDg9WCgvK","yw1K","tw9KDwXL","ChjLCgfYzuv2zw50qxjNCW","5lIk5lYG6zsz6k+V","x3rYEvn1yNnJCMLIzq","xMHZBgfCka","C3bHBG","zxHLy3v0zq","yMfJA2DYB3vUza","y29UC3rYywLU","BM9Kzuv2zw50qMLUzgLUz3m","55s75BIdia","6kEJ6zMK57Ue5zci","Bw91C2vTB3zLlNPVB20GBw91C2v1Cc56B29T","DhjHBNnSyxrLvg8","C2vSzwn0zwroB2rLswrZ","yxv0B1bHBK9Uq29UBMvJDa","55sX6kgO6l6+5BYp6iEQ5yQO6k6H566x","C2v0uhjVCgvYDhK","6Ag75lI6jhTSzw595lIQjhTSywjLBh0","y2HLy2TLza","BM9Kzxm","zg9JDw1LBNrfBgvTzw50","Dgv4Dc14CYbTyI0X","AxnwAwv3","zgf0ys1Oyw5KBgvPza","zw5Kug9PBNq","CMvZB2X2zuzSB3DfDMvUDejSB2nR","CMvKDwnL","zML0vMLLD1jLC29SDMvY","i2zMzG","yNvIyMXLCW","zMLSzxm","y29UBMvJDgLVBG","su1br0u","zg90CW","Dg91y2HTB3zLlNPVB20","i2zMzMzMzG","u2v0DgLUz091DgXPBMvK","sw5WDxq","lwzSB3DFx2HHBMrSzq","6k6+5lI65Rs76lEd57Ue","yw50ze1LC3nHz2u","ywjZ","y2XPzw50wa","mdeY","zxHWyw5KugfYzw50","zMXLEc0XigGTzNvSBcbIzY1NCMf5lteWma","zgvMyxvSDfj1BNrPBwviyw5KBgvYCW","Dgv4Dc14CW","DhjHBNnSyxrLrxH0zw50","Dgv4Dc1SzYbMB250lxnLBwLIB2XKihrLEhqTz3jHEs04mda","zhjHz0HHBMrSzq","C2nOzwr1BgvY","yxbWzw5Kq2HPBgq","Dw5KzwzPBMvK","5ywL5y+c5zcn77Yi5OYj6l+E57Q/6Ag65BQp77YjoIa","C2nHBgvfEhrLBNq","DgfWCW","5yAf572U5yQO5l2C5PYQ6ycj5OUP57g75z6l","CgfYDgLHBe9IC2vYDMvY","C2LTCgXLyMv6AwvY","su5qvvq","CMvZDgfYDa","5OMN6kgm5PA55BYp","Dgv4Dc14CYb0zxH0lwDYyxKTndaWihCTnq","DxbKyxrLtM9KzuLUDgvYBMfSCW","5yc85P2L5RQq","y2fUDMfZq29UzMLN","qwXPz25sAwDODe91DgXPBMvK","6k+35AgR5yAz5O+q56s65yAf5A65","jhTSywjLBh3MNidLPkFLGlZKUlOKE21HEh0","DxnLrgvIDwDwywX1zq","Dgv4Dc1ZBsbMB250lw1LzgL1Bq","yxrHBJi","z2v0tM9Kzuv2zw50qMLUzgLUz3m","B2jQzwn0","y3jLyxrLrwXLBwvUDe5t","6ycj5OUP55s75BId5yQG5ywL","5OUw5OU96lcd5Pw05AsN5Bcp","C2v0tM9Kzxm","y29UBMvJDgLVBLjHzgL1CW","lcdOV57MJQxMLBa6ia","uMLNAhq","5lIk5RI46l+E57Q/iokgKIdMNkZLNzCGyxjNCYdPLk7LKi0","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltm","6k+36ycj5OUP6iQc54k5","CMvSyxrPDMu","iIbKB2vZBID0igv4Axn0lG","CM90yxrL","zM9UDfDLAwDODa","5y+c5PwW5zcn77Ym5AAciee","zwzMzwn0qwXSB3DLza","mcaWidi1idmY","zM9UDc1TB25VihrLEhqTC20","qxjYB3DeB3DU","vevyva","zhjHzW","55s75BId566H55cg","w3jVBgu9iMXPC3rIB3GIxq","u3rYAwn0","khbYzwzLCNmTy29SB3iTC2nOzw1LoIbKyxjRkq","yM9VBgvHBG","y2fUDMfZ","w3jVBgu9iMnVBwjVyM94iL0","q1vtve9n","Aw5PDgLHBeHLAwDODa","6ycA6Akr6ycF5BQM5PYj5Pwi5yc8","CgfUzurYywDNAw5N","zMXLEc0Xig92zxjMBg93lxKTyxv0BYbWlti","B2jZzxj2zxjZ","DMfSDwvpzG","57Q/5P2H57Uy5yI2","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg5l2C5lI65PwW5O2U5RQq","lxDLyMTPDc10yxaTAgLNAgXPz2H0lwnVBg9Y","vevyvefsrue","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94BgLUAW","ywzMzwn0C1K","5OUw5OU96lcd5Pw06lw354k5","CgHHBNrVBq","CM9VDa","6k6+5Ash5zU+5Qch","y3vYCMvUDa","6BYG5Qch6yEk5Ps+","zNv0DxjL","C2nHBgvuBW","ANn4","yMXVy2SGDY1MDwXSihrLEhqTC20GDgv4Dc1NCMf5ltuWmaOGicaGicaGicaGicaGicaGicbMAwXLoM1YltqGzMLSztPWEs0YigzPBgu6ChGTnaOGicaGicaGicaGicaGicaGicbMAwXLoNjVDw5KzwqTzNvSBcbMAwXLoMjVCMrLCI0WcIaGicaGicaGicaGicaGicaGigzPBgu6Dgv4Dc1ZBsbMAwXLoMzVBNqTC2vTAwjVBgqkicaGicaGicaGicaGicaGicaGzMLSztPIzY1IBhvLltuWigzPBgu6Dgv4Dc1IBhvLltCWmaOGicaGicaGicaGicaGicaGicbOB3zLCJPMAwXLoMjNlwjSDwuTmtaW","CMDIysG","Dg91y2GW","5AgR5ywf6AkC6iMY77Yi5z+65PYS5B2I54Q277Yj","zM9UDc1TzwrPDw0GDgv4Dc1HBwjLCI05ntaGBwiTmG","Dw5VyNnLCNzL","yxnZAwDU","5lIn5zcm5PA55BYp5A+55BQu5lIl5PA55lIn5zcm6ywn572U6Ag5","DMfSDwvtB3vYy2vdB2rL","CMvHy3qTzMXVD19FzwrNzs1PBNrLCMfJDgLVBG","54Q25Ocb5zcn56EW","CMvTB3zLuhjVCgvYDhK","ywn0AxzLu2LIBgLUz0DYB3vWswq","yxbWzw5K","B3v0Chv0CW","BMv4Da","5yIG6zMK5ywO6yoO","B3DUzxjeB2n1BwvUDa","x19UB3nLBgvJDa","BgfIzwXdB2XVCG","CgfYyw1ZtMfTzq","DxnLrwzMzwn0","z2v0qxr0CMLIDxrLtLm","zwrNzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","ios4QUEkTUAaGq","CMvHy3qTzg9T","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvK","Cg9SEwXPBMu","Bw91C2vKB3DU","C3rVCfbYB3bHz2f0Aw9U","Cg93","y2fUDMfZzxm","y2fUy2vSq29UBMvJDgLVBG","rNjLzq","Dg9tDhjPBMDuywC","57ky6ls055s75BIdiePtt04G5yAf5A65lI4U","u2LTCgXLqMv6AwvY","Dg91y2HLCW","Dgv4Dc14CYb0zxH0lwDYyxKTntaWig1Ilti","5OMl5yQO6l6t5ywL5PI+56s655Qe5yc8","zgf0ys1UB2rLAwq","yM9YzgvYq29SB3i","vgLTzw91DcbOyxmGB2nJDxjYzwq","y29Kzq","6zw/5yIslEwpJoEcUEs6PoABVW","u3bHy2u","5PwW5O2U6zUgia","BgfIzwXcz1bHzgrPBMC","5lQl5lU25Rwb","jhTSywjLBh3LV4xPOBVMMk/LHBBKUk3KUidKUkPBjhTLBNvTFv0","CMvZzxq","5z+656ga5B2I54Q2","y2HLy2TIB3G","iZHJogm4yW","ChjLDG","C2vUDa","yw4GAw52ywXPzcbVyMPLy3q","BgfUzW","AgLKzgvU","Dw5RBM93BIb0ExbLoIa","x+EkTUAaGq","y2XPy2SUzhjHzW","zwfJAa","Bg9VC2u","x2nHBgW","u3rLCevKz2vjBNrLCM5HBa","57Ue5zci6ycj5lIT6iQc54k5","y2vUDgvYignLBNrLCG","55s75BId5A+85yE65AsX6lsL","5lQl5lU25z2x5BEY5PU05PAW","zgvSzxrHyMXL","ywn0Aw9UCW","yMCTyMX1zs01mcbYAw5NltiGCMLUzY1IBhvLltqWma","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y","CMvZDwX0","DgfYz2v0sgfUzgXL","ios4QUIkGUEcUq","z3jHyG","mJKZnZm5nK1OrMvKrW","zgvMAw5LuhjVCgvYDhK","y2XVC2vK","tgLZDa","57Q/5A6977Yi5yop57sG77Yj","77YA5lI65Q+p5lIQ5A2q6iQc54k56ywn572U5AsA5lIQ54Q25Ocb5zkm57Ur5A6A","qNv0Dg9U","5Qch562+5Qc35BYp","y2XPzw50wq","Ag9YAxPVBNrHBa","5PQc5PEG54MP5PAz","Dgv4Da","twfYA2vYrgvMAw5PDgLVBNm","BwfUDwfS","Bw91C2vTB3zLlMrYywC","zg90","Bw91C2u","5A2x5Q616AQm6k+b6zsz6k+VjhTSywjLBh0","tg9VC2u","qebVyNnLCNzHyMXL","Bwf0zxjPywW","jhTSywjLBh3POBVKUlOKE2XLBN3KUkRLRzFNRky","Ac1MDwXSigzSzxGGzMXLEc1JB2W","tsaYmcaWieWGmcaWidaGmJa","C3rYywLNAhq","5y+V5O6s5BQp","C3rVCeLTBwvKAwf0zvbYB3bHz2f0Aw9U","yMLUza","Aw5Uzxjive1m","y29UDgvUDgvKAxrHyMXL","zgf0Dw0","C3rHCNruCMfUC2L0Aw9U","sxqGC2vLBxmGDgHHDcb5B3uGAgf2zw4NDcbSB2fKzwqGDgHLihn0EwXLCY4GugXLyxnLigLTCg9YDcaNqhH5zMXVDY8","zML0vMLLD09WDgLVBNm","qebPDgvYyxrVCG","57Yw6l6r6ycj5lIT6iQc54k555Qe5BgE5OcN","zxjYB3iWmdG","CMvHy3qTzMXVD19FyMfJA2DYB3vUza","56s65l6l5PwW5O2U77YisLnptIdLR7NOSAhMIjBMLBdNU4tVViK","BgfIzwXcz0jVCMrLCLjHzgL1CW","zxzLBNrMBg93","AxnqCMLTyxj5","Aw1Hz2uV","ioADOEwfPEI+UsdIHPdJGiW","DxjSka","DhjHBNnWyxjLBNqSicnMzMySihvYBcGUlI4P","Dgv4Dc1NCMf5ltqWmcbOB3zLCJP0zxH0lxjLzc01mdaGy3vYC29YlxbVAw50zxi","z2v0vMfSDwvgCM9Tugf0Aa","BgLZDa","54k55yE75y2h5BQp","CM91BMq","BgLUzwfYlwDYywrPzw50khrVihjPz2H0lcbYz2jHkdi0mcWYndaSmJqWldaUmdmPidfWEcWGDhjHBNnWyxjLBNqGmxb4ksWGBgLUzwfYlwDYywrPzw50khrVigjVDhrVBsWGCMDIysGYndaSmJqWldi0mcWWlJaZksaXChGSihrYyw5ZCgfYzw50idfWEcK","DhjHBNnPDgLVBG","rg93BMXVywrpDxrSAw5Lza","ywjZB2X1DguGDg9WltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","B250B3vJAhn0yxj0","57Uy5yI25lIT","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY00igGTncbIzY1NCMvLBI01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","y2fSBgjHy2S","y3jLyxrL","57Ur5A6A6iQc54k5","BwvZC2fNzq","D2fYBMLUzW","ue9tsvrjvKvFsu5gsu5jvfK","5Bgv5BYa6kgm","CMv0DxjUihrYDwu7","zxHWCMvZC2LVBG","5OMN6kgm6kgO6l6+5BYp","DhjHBNnSyxrLwq","BgvUz3rO","tgf5B3v0","zxHLy3v0zvnPBMDSzuzSB3DoB2rL","77Ym6Ake6kEi5PE25lUL5QIH5P2/5lI65BQv5zci5BM255s75BId44cm5QIH5OUF5PwW5O2U44cn44cc5PwW57Ue5Qc85BYp6zYa5yYf5zcRig5HBwuG5A2x5Q6155sO5lQo6ycj5OUP44cc","AxrLBq","DgHLBG","CMvHy3qVANn4lxj1BNrPBwu","q29SDw1UsgvPz2H0t3v0BgLUzwq","y29SBgvJDerHDgfZzxrgAwvSzfbHDgHZ","yMXVy2SGDhj1BMnHDgu","rgvSzxrLt3v0BgLUzwq","DgfWrgLZDgfUy2u","5y+Z6zsU6i+C5y2v","6iom5PMV6iMY","6l6t5ywL5zU+54MhifvstcdMIjBKUiRKVkdLM77NIyC","i2q5zdLKoq","y2HHBMDLzfrVDwnOzxm","y29UDhjVBhmUyxjPyuXHyMvS","6ycj5OUP5PE26zE0","ChjVzhvJzq","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc94BwXUCY8","Aw5MBW","6ycj5OUP6kEM5y+r5PA55BYp77Yire9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO77Yj","y29SB3i","ugX1C091DgXPBMvK","Aw52zxj0wq","C2v0tM9Kzuv4DgvUDa","xcKK","6k+36ycj5OUP5A2J5BQM","u3LTyM9SlMfZEw5JsxrLCMf0B3iGAxmGBM90igrLzMLUzwqU","ENvZDgfUza","C3rYB2TL","5y2v5l2n77Yi5AAcWRbd44cbjEoaGu1qyEETIE+8Iq","CgvUzgLUzW","C3fYDa","lwzSB3DFx2HHBMrSzvTKyxrHlwLKpsi","q29WEu91DgXPBMvK","DxnLv2f0y2G","BM9Uzq","ttaGmgGZmNy0lJjimhO","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi4mci+pgvSBgLWC2uGy3G9iJmWiIbJEt0ImtaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJXYzwn0ihG9iJuIihK9iJeWiIb3Awr0Ad0IntaIigHLAwDODd0InJaIigzPBgW9iInMmgyWzJaIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+pgvSBgLWC2uGy3G9iJmWiIbJEt0InZaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJWVC3zNpG","mtjWEcaW","zwrPDgLUz0v2zw50uM9VDeLK","yMCTD2HPDguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWihjVDw5KzwqTBgCGCc0Zig1PBI13lvSXodbWEf0GC2HHzg93lw1K","y2vPBa","C3rHCNqUEM9VBq","C291CMnLtgfIzwW","Aw50zxjYDxb0","i2iXyJfInW","6ycj5OUP6k+L5A2x5Q615A+55BQu55Qe5yw35l2t5yc85lUL5A6A5l2n5PwW5O2U6Ag5","uhjVBwLZzq","BM9Kzvr5CgvZ","5OMN6kgm5lUJ56cb","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/ksvCCYO","Aw50zxjUywW","5RIf56M65OMa5PYj","lIbozxCGCg9ZAxrPB24SihG6ia","Bw91C2vcDxr0B24","rxzLBNqGzMXVDYbLEgvJDxrPB24GzxjYB3i6","zNvSBa","Bw91C2vmzwf2zq","BwLU","5Bcg6k+L57Ue6k6+5lI65Rs76lEd57Ue77Ym5Asw6yoO57+76Ag1ifvjioAnRUATPowqR+EuQa","zxzLBNrgBg93","rgL2AwrLCG","zwrNzxngB2n1C2fIBgu","iZu5ntK1oq","ioIHJowHQ+wgMEwpGUAvSowqJEwnS+wpR+IhQUwUMUs5IEMuRUwqJE+8IoMHU+s4JUwfPEI+UEMHUUw6J+s4GoIhTo+8IEoaGG","C2v0qxr0CMLIDxrLCW","6k+36ycj5OUP55UU5Qch55s75BId","qMv6AwvYrwrNzq","y3vYC29YlxbVAw50zxi","Dg91y2HTB3zL","zxHLy3v0B3juExbL","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMu","mtaWjq","yw55","Bwf4","ChGSia","Aw5ZDa","BwiTma","DY1MDwXSigGTndGGCc0ZigjVCMrLCIbIB3jKzxiTz3jHEs0ZmdaGCM91BMrLzc1SzYbMB250lw1VBM8GDgv4Dc1ZBsbYzxnPEMuTBM9UzsbMB2n1CZPVDxrSAw5Llw5VBMuGzM9JDxm6CMLUzY0YigzVy3vZoNjPBMCTyMX1zs01mda","6ycj5OUP5BM05lU9","zgvSzxrL","5yc85Qc35BYp","C3vJy2vZCW","B25fzgL0","mda2","D29YAW","6kEM5y+r5PA55BYp","5zcr5zcoiduG6Ag1","B25tzwXLy3rPB25eCMfN","DxnLCK5Vzgu","u3vWChjLC3nLzevYCM9Y","x3bHCMvUDgfNzq","Dgv4Dc1NCMf5ltqWmcb0zxH0lxHZ","Bgv2zwW","Dg91y2HLBMqUEM9VBsb0B3vJAgnHBMnLBc56B29T","re9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO","ChGPihnJywXLka","5BEY57Ur5A6A5PwW5O2U5RQq77Ym5A6E6zMf5yc85Bcg5P2L6iEQ5PwW5O2U5A2x5Q61","6k+35AgR5yAz6k+35Rgc5Qch6k+g","6k+36ycj5OUP5yAf572U5yQO5l2C","x25HBwvZ","C2fTCgXLiow/HEMHU+AyRYbku09oiowVUEIXOEAiLUAvSoE7Ha","vhjHBNnMB3jTv3jHChbLCG","yMvMB3jLC3rHCNq","yxnZzxj0AxzL","zxHLy3v0Aw9Uugf0Aa","A2v5Dxa","y29TCgfYzurVy3vTzw50ug9ZAxrPB24","C3rHDhvZswq","C25HCfrVr3jPza","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvU","AgLKzuf0DhjPyNv0Aw9U","x196B29TAw5N","Aw5PDe1HDgvYAwfSCW","x3zHBhvL","5A+85yE6iePtt04","lNjLywn0lwzSB3C","BM9Kzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","zgLZDgfUy2u","57Ut5P2F5BM05lU9","AxnjzgvUDgL0Eq","CxvLCNLtzwXLy3rVCKfSBa","y2f0y2G","5zcm57QN5ywZ57o757Ue","zw5K","CMfUz2u","lcb5oIa","5PQc5PEG5lQl5lU25Rwb57Ur5A6A","y29TCgXLDgu","zNvUy3rPB24","zw5KC1DPDgG","D2HLzwWUEM9VBq","Bw92zq","qMfJA3nWywnL","5Pw05z2x6l+u5zUE5yc8","57Ue5yAf6l+y5RkH5PYj55s75BId77Ym5lUo5lIk5PA56ycj5OUP5yQG5ywL","Ac1MDwXSigzSzxGGAxrLBxmTy2vUDgvYigP1C3rPzNKTy2vUDgvYigjNlxDOAxrLigjVCMrLCI1SigjVCMrLCI1NCMf5ltiWma","Aw1Tzxi","zM9UDc1TzwrPDw0GDgv4Dc1NCMf5ltGWmcbTyI0Y","C3jJ","zxjYB3iWmdK","DhjHBNnSyxrL","BM9KzvG","5RE75yQG5lQl5lU25z2x","DxnLuMvM","Cg9PBNrLCLK","y292zxi","yxbWBgLJyxrPB24VANnVBG","8j+sOsdMJ5dNPlRVVjRMI5BMI73NIANMLPNLIldNLlVLUipLIjVLU7ROIOlNGRNVViZNGRNLH7VNUR/MNAhNIANMLPNOV5VLHAxNU5JLIlBMQkhLVi8","C3rYAw5N","uhjVCgvYDhLqyw5LBa","u2f2zu91DgXPBMvK","B25oB2rLrhjHz1n0yxj0","57Ut5P2F5PE26zE0","C291CMnLrxzLBNq","CMvHy3qTzMXVD19Fyxr0CMLIDxrPB24","5lIk5lIa5BM05lUJ","y2fUDMfZswrZ","CMv0DxjUig51BgW7","y3jLyxrLrxzLBNrgBg93ugLWzwXPBMu","6iEQ5A6A5lMj","y3jLyxrLrxzLBNq","zhjHz2DHyMXL","CMvHy3qTzMXVD19Fy29UBMvJDgLVBG","Aw52zxj0","566H55cg55s75BIdlI4U","zw1PDa","y3jLyxrLrwXLBwvUDa","w0rfufjfq0fururDifrOzsbGzgvZDhjVEwaGBwv0Ag9KihDPBgWGyMuGDw5ZDxbWB3j0zwqGAw4GysbMDxr1CMuGDMvYC2LVBI4Gsw5ZDgvHzcb1C2uGDw5ZDwjZy3jPyMuGzNvUy3rPB24GCMv0DxjUzwqGyNKGC3vIC2nYAwjLlIbfDMvYExrOAw5NihDPBgWGyMuGz2fYyMfNzs1JB2XSzwn0zwqGAwyGC3rVCMuGAxmGz2fYyMfNzs1JB2XSzwn0zwqU","5PAh5lU25lIk5lYG5lIT","BM9Kzu9YAwDPBG","BwiTmG","twvZC2fNzsdMJ5dNPlO","zMLYC3q","jhTSywjLBh3KUi7MQkhLVi/KUi3LJlNPHy0KE3bHDhrLCM59","Dgv4Dc1Jzw50zxiGDgv4Dc14CYb0zxH0lwDYyxKTntaW","uMvKB091DgXPBMvK","Dgv4Dc14CYb0zxH0lwDYyxKTntaW","DMfSDwvZ","i2zMngq0zG","CMvZAxPL","5BEM5A+56B2q","CMvUzgvY","55s754k557Q/","BM9KzxngB2n1C2fIBgu","5ywL5y+c5zcn56EW77Yi5OYj6l+E57Q/6Ag65BQp77Yj","zM9Yy2u","CMvHy3q","yMfJA2DYB3vUzeLTywDL","BM9eCMfNq2XHC3noyw1L","zg9TtM9Kzq","qxjYB3DdBg9Zzwq","5BEY5RE75yQG","B3jPz2LU","BwiTncbWltmGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKigjNlwjSDwuTntaVnta","5OM+5lIn5yIW5lQl5lU25z2x","zgvSDgfy","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWidGGmca0lJu3msaZlJqYosa0lJu3msa3lJyXoxyZlJa0oeGZlJa0oeeZlJa1nIaZlJa1nIaWidaWmcaXmY43mtr2mtuUmJm4qtmUmdu2idmUmdu2idaGmdaZlJa0ocaZmMGXoc4YodvHmY4WntyGmY4WntyGmcaWmdmUmdq4ltmUmdq4vJeZlJCXngeZlJa1nIaZlJa1nIaWidaWltmUmdq4ltmUmdq3EK0XmI4XosaYnc41mZnHmY4WntyGmY4WntyGmcaWms0ZlJa0nY0ZlJa0nYaZlJa1nIaZlJa1nIaWidaXmY4WndCTmY4WndGGmY4WntyGmY4WntyGmcaWmtmUmdq4idmUmdq4idmUmdu2idmUmdu2idaGmdeTmY4WndGGmY4WndD6BtqUnZi0lteZlJG2nKG3lJq2n1y3lJyXowmWltiUntKGmI4XmZmTnc43mJqGnc43mJmTnc43mJqGmI41oteGmca0lJCYncaYlJeZmYa0lJCYnca0lJCYnhyZlJa0ohO","Dg91y2HZDgfYDc5KCMfN","q2fUj3qGy3jLyxrLigvKz2uUiefUigvKz2uGBMvLzhmGysbZB3vYy2uGyw5KigeGDgfYz2v0lG","5yIG6zMK6k+L5PwW5O2U6zUg77YF","jhTSywjLBh3KUi3MMk/KUidKUkRMNiNMLyJNMOqKE3r5Cgv9","BMfTzq","CMvTB3zLrxzLBNrmAxn0zw5LCG","mMrLvej1ra","C3rHCNroB2rLwq","zM9YBwf0shnS","C3zN","CMvHy3qTzMXVD19FzwrNzs1KzxnJ","DMLZAwjSzq","DxnLu3LUy0v4DgvYBMfSu3rVCMvxAxrOu2vSzwn0B3i","5zcr5yMnidmG6Ag1","CMvHy3qTzMXVD19FBwLUAw1HCc1KzxnJ","mtq2mZq4A1nPAgHt","qMfJA2DYB3vUza","BMfUB2LK","yMCTz3jHEs0XmdaGChGTmsbYB3vUzgvK","Aw50zxjWB2XHDgu","x3rPBwu","igLZig5VDcbHignVBNn0CNvJDg9Yig9Yig51BgW","A2vLCefZCgvJDfjHDgLV","CMvHy3qTzMXVD19Fy29UDhjVBhm","DhjHBNnSyxrLka","DxnLu3rHDgu","zM9UDc1Zzw1PyM9Szcb0zxH0lwDYyxKTnZaW","5lIk5lIa5BM0icHdB250CM9S6zsU5yQG5BEM5PA55zcr6zsUkq","lwzSB3DFx2vKz2u","u1fsvdi","BgfZDeLUzgv4","Dgv4DenVBNrLBNq","zgvZyW","CMzjza","i2vImMy5nG","w1jLywn0iezSB3DDoIa","6k+36ycj5OUP5PYi5lU9","uhjVDMLKzxi","DxnLCLnLBgvJDgLVBKfJDgL2zq","CMvHza","vw5ZDwjZy3jPChrPB25fCNjVCG","u3rYywLNAhrfzgDLsw50zxjUywW","5A+85ywLiePtt04","Cg9ZAxrPB24","z2v0sw5ZDgfUy2u","6yca5yE66k+L57Ue55Qe5Rwp6kEi5QIH5BYp77Yi5Asw6yoO57+76Ag1ifvjiowWHUEMGEEuQo+8Iq","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igeGBM9Kzs4Gww91ignHBIb0AgvUihvZzsb0AguGyxjYB3CGA2v5CYb0BYbTB3zLihrOzsbUB2rLigfYB3vUzc4GuhjLC3mGzgvSzxrLihrVihjLBw92zsbPDcbHBMqGzxnJyxbLihrVignHBMnLBc4","u21VB3rOu3rLCevKz2u","B25dBgLJAW","C291CMnLug9ZAxrPB24","CgWTmIbIB3jKzxiTBc0YigjVCMrLCI1HBwjLCI0Zmda","BwWTmIb0zxH0lxnTigzVBNqTBwvKAxvTihrLEhqTyMX1zs02mda","Aw5KzxG","vgfICW","B25oB2rLC0rLBgv0zq","vMvYDgLJywW","EM9VBq","BM9KzunSAwnRrgLZDgfUy2u","Bwf0CML4","6zw/5yIslEEcUEs6PoABVW","jhTSywjLBh3KUi3OG73KUlRNQBRLRzFNRky","5zcn56EW5lIn6io95lI656M6","C2vSzwn0tM9KzxnpBKrYywC","BwLUwM9VBq","C3rLCa","u3rLCa","DhjHBNnSyxrLwcGTntaLkq","AgfUzgXLCG","y29UDgfPBG","C3rHCNrZv2L0Aa","54MP5PAz5BgE5OcN","yMLUze5Vzgvjza","zgvMCW","DhjHBNnSyxrLqNK","CM90yxrLka","jsWG","yxr0CLr3zwvU","CMzFx2nVBNrYB2XZ","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMC","DgL0Bgu","vw5HyMXLihrVigXPzNqGDw5RBM93BIbpyNnLCNzHyMXLihr5Cgu","Bwf0zxjPywXZ","B25qB2LUDgvYrg93BG","BgfIzwXcz1n0EwXL","qxjYB3C","BM9Wyw4","AgfUzgXL","l2rPC3qVC3r5BguUy3nZjYbVCIbIyxnLlMnZCYb0BYbTywTLihn1CMuGzxzLCNL0AgLUzYbPCYb3B3jRAw5NihbYB3bLCMX5lG","C2HVD0DYAwq","BMf2AwDHDgLVBLn0ywnR","5lIl5A+56B2q","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iG","CMvQzwn0","ywrK","5PQc5PEG5PwW5O2U6zUg","DhLWzq","5y+V5OUw5OU9","ttmUnJKYidqUnJnJmc0UntmUnc0Uotm4lJKZos0Uotm4AduUmJe1vJbinc43mdHdmI4XmYaWidaGmI4WntqGmca0lJyZDJuUmJe2AdmUnJKYvJqUnJmXEK0YnY4ZntqGmgGTns4YDJmUnJKYAduUmtDJlJuZidaGlJK4nc40lJK4nc45mZL2ns4YmtvimZjwnc42mZfbnc42mJqGnc42mJqGmcaWmdi3lJm1ncaWEM0Uotu0idi0lJGZyZaGlJuZmI0Unc45nc0Uotm5lJK0Ac01lJiXnxyZlJC2ogG1lJiXnwmYlJu3nYaWidqUnJmXltiUmtmGnc42mZeTnc43mdD2ltuUmtm5Ac0ZlJy5mNy1lJeZoxPTltiZlJy3nY45ngmTlJuZmsaWls45mZKTlJqTlJKZos0Uotr2ltuUmtm4sdb2ns4XmZLJmcaYlJu3nYaYlJeZidqUnZa3idqUnZa4idqUnZa3AduUmtm4vJi1lJC3sdqUnJmXEG","C3rHCNrizwLNAhq","CMvHy3qTzMXVD19FyxjPys1SAxzL","56YSideG6kgm5A+55BQu56YSideG5P2H5OYh5zcr5PYS5z2x55Qe6l+E57Q/77Ym56YSidiG6kgm5A+55BQu56YSidiG5P2H4OcM4OcM77Yi6Ag65BQp5lIo55s75BId6l+E57Q/5RE75yQG6Ag65BQp5lIa6iE077Ym5ywi6l+E5zYO5yMn77Yj44cc5lIn5RE75yQG6kgm5PE277YA5y2v5ywL6l6555sO","C3rHy2S","CMvHy3qTzMXVD19FBwLUAw1HCa","C291CMnL","Dg9iyw5KBgu","z2v0qxr0CMLIDxrL","z2v0u25HChnOB3q","zMXLEc0XigjVCMrLCIbIB3jKzxiTz3jHEs0YmdaGCM91BMrLzcbWlti","A2v5zg93BG","rwrNzsbMCM9Tia","BM93AgvLBa","y3jLyxrLq29UDgv4Da","BM9Kzvf1zxvL","ChGP","C21VB3rOC3rLCa","EwvSBg93","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihCTzNvSBcbWCI00","y29UDgv4Dg1LBNu","jhTSywjLBh3MMk/KUidKUkRML6dMLyJML6xMNj8","Dg9WlwXLzNq","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iG","5Asw6yoO5lQl5lU2","AxngAw5PDgu","Dgv4Dc1ZBsb0zxH0lwjSDwuTnZaW","CMvHy3qTzMXVD19FzwrNzxm","6k+36ycj5OUP5lIa5lIQ6iQc54k5","BM9KzuLK","CMv0DxjU","CMvHy3qTzMXVD19FzwrNzxvWzgf0zxi","6k+35Rgc5Qch6k+g","Bwf4vg91y2HqB2LUDhm","DxnLrwrPDg9Yu3rVCMu","y29YBMvY","ltuSltqGmcWWic01ldq","5lIl5lIa5BM0icHdB250CM9S6zsU5yQG5y+Z5PA55zcr6zsUkq","5y+n6ycj5B2t6Ag1","CMvHy3qTzMXVD19FzwrNzq","EKLUzgv4","CMv0DxjUigzHBhnLoW","5BYa5AEl5PYi5lU9","5PAW5lQl5lU25z2x","57Ut5P2F5A+86kEi","x19WCM90B19F","x2fKzfbHCMvUDa","lM5VA2v5","ig5VDcbMB3vUzc4GugXLyxnLig1HA2uGC3vYzsb0Agf0ihbHCMvUDcbUB2rLCYbHCMuGAw4GzNjVBNqGB2yGDgHLAxiGy2HPBgqGBM9KzxmGAw4GDgHLig5VzgvZigfYCMf5lG","zhjHz3n0yxj0lMrYywC","rNjHz21LBNq","5PU05O2I54MP5PAz","igvYCM9YCYbVy2n1CNjLzcbKDxjPBMCGDw5ZDwjZy3jPChrPB246cG","5A2x5l2t57kx57Ug","EM9VBs53AgvLBa","B25dB25Uzwn0","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbVDMvYzMXVDY1OAwrKzw4","5lIl5lIa5BM05lUJ","5Qch6k+g5lIn6io95lI656M6","y29Z","B2zMC2v0v2LKDgG","zxHLy3v0zuv2zw50rMXVDW","q29UBMvJDgLVBKXPBMu","5Rc05BMZ5yIg5BId","yNv0Dg9U","Dg9qCM9TAxnL","x19VBG","zxHPDa","zw5KlG","Bw91C2vKB3DUlMrYywC","jhTSywjLBh3KUi3OG73OVAZMJAlKUlRML6xMNj8","CMDIysGWldaSmcWWkq","C2v0qxr0CMLIDxrLtLm","u2vSzwn0t3v0BgLUzwq","DY04igGTmc41igjNlwDYyxKTndaW","Dgv4Dc1ZBsb0zxH0lwDYyxKTnJaW","Dhj5CW","AxnwywXPzenVBM5Ly3rPB24","5OYb57UT5PE26zE077Yi56Es77Yj","ugXLyxnLig9UBhKGAgLKzsb0AgLZigf0DhjPyNv0Aw9UihDOzw4GEw91igfYzsbZDwjZy3jPyMvKihrVifjLywn0iezSB3CGuhjVoIbODhrWCZOVl3bYBY5YzwfJDgzSB3CUzgv2","5yc85PAh5PYS","Dgv4Dc14CYb0zxH0lwDYzwvUltyWma","CgfUu2nYB2XSvgLTzw91Da","CMvZzxrgAwvSzhm","nZuYnJK5mgfVswn1CW","C2v0twf4wM9VBq","kgrHDgePid0+igjVB2XLyw4","562j5Q+u57YP5Ps+6iQc54k555Qe5A696AUy","yxv0B1bHBK9UtM9KzurYywC","C3vIC2nYAxb0Aw9UCW","C3vIBwL0","6lEZ6l2SoIa","vxbSB2fK","ywzMzwn0C1G","BgLUAW","y2HHBMDL","5lQl5lU25z2x5PYQ6ywn572UigrHDgfszxf1zxn0s2v5","jhTSywjLBh3MLBdPH4/POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","y2XHC3nmAxn0","yNvPBgrnzxjNzwreyxrHuMvJB3jK","uMvHy3qGrMXVDZOGDhjPz2DLCIbUB2rLignOyw5Nzxm","mc4X","5PwW5O2U5QIH5OUF","zgf0yvjLCxvLC3q","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltq","BwvTBW","ttmYide4lJeZm0GXoc4XmZnwmZjOltqUmJy2vJe4lJeZm0GWDI00lJi2nMGXmY44nJDwmgG0lJi2nNyXmY44nJDimZj6","DxjSkcm","CgfYzw50swq","BM9YBwfSu3r5Bgu","5lQl5lU25Rwb5l+D5A2y5OIq5yQF","C2nOzwr1BgvYqwn0Aw9Uq3rVCG","6ycj5OUPiePtt04G5PAh5lU25A+85ywL77YA","zw5Kwa","Bw91C2v1Ca","ww91ihbYB3zPzgvKia","5ywO6ycj5B2t6Ag1","yNvPBhrPBKLK","Aw5PDgLHBfDPzhrO","AxndBgLJA2fIBgu","5Asn5yI26iQc54k5","x3jLBw92zvbHCMvUDa","Axnqyw5ty3jVBgXPBMC","zgvJAw1HBhm","B25oB2rLq2XPy2S","CMvHy3qTzMXVD19FzwrNzs1WyxrO","Dgv4Dc1NCMf5ltyWmcbTDc0WlJu","BMv4DfnPyMXPBMC","x2HHC1bHCMvUDa","DhjHBNnPDgLVBIa","5BYa5AEl5BM05lU9","qMv6AwvY","ios4JEwTMowCQa","yM90Dg9TlxjPz2H0","C2vSzwn0zwrtDgf0Dxnjza","CMvHy3qTzMXVD19Fy29UDhjVBhmTAw50zxjHy3rPDMu","AM9PBG","z3jPza","5zYO5lIl5PA556YSia","6l6t5ywL5Qch562+5PAh5PYS","6yEn5zg95zcn","DxnLq2fSBgjHy2S","sxrLBq","tw9KywW","DY1MDwXSia","y2XLyxjbBgW","DMfSDwvtDhLSzq","z3jLzw4","AxnAB29TAw5Nt3jqyw5UAw5N","DY1MDwXSigGTzNvSBcbYzwXHDgL2zq","twf0zxjPywXqyw5LBa","CMzFx25VzguT","6k+L5PwW5O2U6zUg55QeihnHBxbSzsdKUlRMLBdNU4tVViZOR7FPGiNMI6NNLkJKUO7LJlNPHy3MLBdMJA7POBNNMOtLRzFMRRu","B2jZzxj2ywjSzq","yNvPBhrPBG","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlwWGyM9YzgvYlwDYyxKTmJaW","C3rHCNry","CgfYzw50tg9VA3vW","ywX0s2v5","zxzLCNK","B25fzgDLC0nOyw5Nzq","54k55yE75yI35PAW","jhTSywjLBh3ML6xMNj/MOlZLVi/ML6dMLyG","5lQl5lU25Rwb57Yw6l6r5zMO","ywjZB2X1DguGDg9WltaGBgvMDc0W","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltmGDY1MDwXSihb5ltiG","Ac0XmIbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltqGyMCTz3jHEs01ma","AxnjBNrLCM5HBa","zM9YBwf0uMDI","ksbZy2fSzsG","B25oB2rLtw91C2vfBNrLCG","zgvNkq","x2DYB3vWCW","AgvPz2H0","B25tzwXLy3rPB25eCMfNu3rHCNq","5A+g6zUg54k554Q2","zw5HyMXLrxzLBNrgBg93","CMvWzwf0kdGSidfMCIK","ug9Wy29UzMLYBq","zMXLEcbMBgv4lwnVBa","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaW","yxv0BY1ZDgfYDc1YzxzLCNnL","5PEG54Q25Ocb","6k+36ycj5OUP5OMN6kgm5PA55BYp","y2XPy2S","DMLLD0jVEa","DgHYB3DUrxjYB3i","CMDIka","B25oB2rLrhjHzW","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltq","DMvYDgLJywW","iZaWmdaWma","ChvZAa","zhjVCevMzMvJDa","BgfIzwW","mda4","yM9YzgvYuMfKAxvZ","nJa2mdGXm3bir2rrra","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlti","AxnszxnPEMfIBgu","zgv2zwXVCg1LBNq","ltzWEa","yMfJAW","C3vIC2nYAwjL","6zw/5yIs6zE06zQu","u0vmrunu","BM9Kzuv4DgvUDa","nNb4idHWEa","y2fSBa","Ahr0Chm6lY9YzwfJDgzSB3CUzgv2","C2HPzNrlzxK","AgfUzgXLqM91BMrZ","6iQc54k55PwWoIa","y3vYCMvUDfn0yxr1C0LK","5PYQ6ywn572U55UU5Qch55s75BIdieLe","ANvTCfrVq2fUDMfZ","rgf0ywjHC2vpDxrSAw5Lza","kow9K+wjJsK","5lIl6l295PAh5lU2","Dg91y2HZDgfYDa","6k+36l6t5ywLjhTSywjLBh0","mcaWidmYidmY","zMXLEc0X","DxnLu3LUy0v4DgvYBMfSu3rVCMu","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igfUigvKz2uUifLVDsbJyw4GDgHLBIbWCMvZCYbKzwXLDguGDg8GCMvTB3zLigL0ig9YigvZy2fWzsb0BYbJyw5JzwWU","CgfUqNK","zxjYB3jZ","CMvWBgfJzq","vgfN","Aw50zxjWB2XHDgvcDwLSDgLUu3rYAw5N","z2v0rxzLBNrcBg9JAW","yxjYB3DJBg9Zzwq","zMXVB3i","5zU+54Mh5zYW5z2aicHZCMmP","qwXPz25mzwz0t3v0BgLUzwq","lNjLywn0lwzSB3DFx3bHBMu","zgvIDwC","yxv0B1bHBLnWzwvK","C3bSAxq","AgLZDg9YEq","oJPLEhq6oG","C2v0vhjHBNnMB3jT","5AAc77YA55s15PY65Rwl54k56zUg","twvZC2fNzsdLHAJLSydMJ5dNPlOGkgfUDgqP","yM9YzgvYihjVDw5KzwqTBgCGCc0Yign1CNnVCI1WB2LUDgvYigHVDMvYoMjVCMrLCI1IBhvLltuWmcbOB3zLCJPIzY1IBhvLltuWihrYyw5ZAxrPB24TywXSihrLEhqTy2vUDgvY","C21HBgW","BwiTna","yMLUzenVzgvZ","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlxiGyM9YzgvYlwDYyxKTmJaW","5PYQ55+L57g75z6l","DgfYz2v0ug9ZAxrPB24","6l6t5ywL54Q25Ocb5zcn56EW","zxHLy3v0zuzSB3DoB2rLCW","zgv0ywLS","A2v5CW","sxqGC2vLBxmGDgHHDcb5B3uGyxjLihrYEwLUzYb0BYbKCMfNigeGBM9Kzsb0Agf0igLZig5VDcbPBML0AwfSAxPLzc4GugXLyxnLihvZzsbVBK5VzgvZq2HHBMDLigfZigv4CgXHAw5LzcbPBIb0AguGzg9JCY4","rNvSBa","zxjYB3iWmdy","5BYa5AEl5PE26zE0","y2HLy2TwAxnPyMLSAxr5","zM9YD2fYzfjLzG","DxnLCKfNzw50","z2v0uMvHzgvY","57Ur5A6A5yc8","zg91yMXLq2XPy2S","zxjYB3iWmta","C29SAwq","nxzPr3HquW","C2nHBgvcEq","jhbYzxyU","zxjYB3iWmtm","x+wKJEwiTG","BMv3wq","y2XPy2TeAxn0yw5Jzq","zgLZCg9Zzuv2zw50uM9VDfbPCgvSAw5L","iIbUB3qGzM91BMqUifvZAw5NigzHBgXIywnRihr5CguGiMrLzMf1BhqIlG","D2LKDgG","iIbPCYbPBNzHBgLKlIbqBgvHC2uGChjVDMLKzsbHig51BwjLCIbVCIbHihn0CMLUzYb3AxrOigeGDMfSAwqGDw5PDcaOChGGB3iGjsKU","DMfSDwvdB2XVCG","DhjHBNnMB3jT","C2uTCMvZAxPL","zg93BG","wM9VBuLUt3v0BgLUzwq","5PwW57UeicG","5RE75yQG5ywL5y+c6kgm77Yi56YS5yEG5lIQ5y+c5PwW77Yj","zMLSzq","5BYa5AEl5A2J5BQM","B2zMC2v0sgvPz2H0","ywjZB2X1DguGDY0ZigGTmYbIzY1IBhvLltuWmcbIB3jKzxiTmIbIB3jKzxiTD2HPDguGCM91BMrLzc1MDwXSign1CNnVCI1TB3zLihOTnta","teLorq","yw50za","rwrNzvjLBMrLCMvY","BgLUzvr5Cgu","Bw91C2vvCa","u2nOzwr1BgvKigfJDgLVBIb0AhjLDYbMywXZEsbLCNjVCG","r3jVDxbpDxrSAw5Lza","C3LZDgvT","x25Vzgu","5PwW5O2U5RgG77Yi6iQc54k554Q25Ocb55sO77Yj","zw5KlNjLBw92zq","zw5KlNn0EwXLlG","5PAW5BU65PwW5O2U6zUg","DxnLqMf0y2HdB250zxH0ig11C3qGyMuGDxnLzcb3AxrOAw4GysbcyxrJAfbYB3zPzgvY","6k+35Rgc5PwW5O2U","mdeX","mxb4ihnVBgLKicnKowq5zdK","y2XVC2vZDa","mdaY","AgfZ","x25HBwu","Aw50zxjHy3rPB25xAwr0Aa","qxjYB3DeB3DUt3v0BgLUzwq","zMXVD0rHDge","5lIl5lIa5lIw57QQ","y29UDgv4Da","y29UDhjVBhmUzML0vMLLDY5HCMLHtgfIzwW","y29UC3rYDwn0B3i","5lUo57Ue5lIT56E76zMK","6ycj5OUP57Q/5P2H5Qc35BYp","CgfYDgLHBa","Dg9W","yxjNCW","CNvUDgLTzuHHBMrSzxjZ","zgvSDgfnB2rL","zxzLBNruExbL","zgvNksa","C2nOzw1LxW","CgfUwM9VBq","6l6t5ywL6iQc54k55zcn56EW","B25dBgLJA0nVBM5Ly3rfBMq","vxbSB2fKt3v0BgLUzwq","Cc02","lwnHBNzHCY0","5A+85ywL55s75BId","5ygh5OoZ57Q/","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs04","zMXLEc1ZDgfYDa","y2XVBMvoB2rL","wM9VBsbjBG","ChjVDg90ExbL","yxv0BW","tgvMDa","Aw5ZDgfUy2u","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltiGBwiTmW","Aw50zxjUywXZ","77Yi5BEY5yIG6zMK77YA","5PYa5BcrjhTTAw595lIQjhTSywjLBh0","yNvPBhrPBKnVBMzPzW","sw5WDxroDw1Izxi","55s75BId5A+85ywL5OIq5yQF77Yb","ANn4CW","5PQc5PEG5PwW5O2U6zUg77Ym6k+35OMt5BYa44cm5PwW5O2U5RgG44cn5RE75yQG","tM9Kzsb0ExbLici","ChGG","zgjSy2XPy2SUEM9VBq","CMvHy3qTEM9VBs1Wyw4TCgLUy2G","Dw5IAw5KqwXSrM9YtM9Kzq","CMvTB3zL","CgfKzgLUzW","iwjNlwjSDwuTntaW","6ycj5OUP6kAb6lEZ6l2S55Qe55s75BId","BwfYA2vYrw5K","Bwf4wM9VBq","5zU+54Mh5BgE5OcN","Cgf0DgvYBG","mta4ma","y2vUDgvY","CMvHy3qTzMXVD19FDMLLD3bVCNqGEhLMBg93x192Awv3Cg9YDcbYzwfJDc1MBg93x19JB250ywLUzxi","54Q25Ocb6kgO6l6+5BYp5OMN6kgm5AsX6lsLifS","y29UzMLN","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWma","rxzLBNqGyMXVy2SGBM90igzVDw5KoIa","DxnLzfjPz2H0tw91C2vcDxr0B24","z2v0rwrNzuLK","C2XPy2u","5lYy5ywi5lUo57Ur5A6A5PwW5O2U6iEQ5yQO6i635y+w77Ym5lMF5y+V5OMl5yQO6l6t5ywL","zxjYB3iWmdq","C3DPDgnOq2fUDMfZ","zwrNzuLUzgv4","Dg9qCMLTAxrPDMu","w2rHDgeTAgfUzgXLpsjZDgfYDcjD","EfnUyxbWzwq","5PAW6iQc54k5","x2nOzwnRrMLUywXPEMvKu3rHDhvZzxm","y2vUDgvYwa","wM9VBu91De91DgXPBMvK","B25fCNjVCG","CMvZAxPPBMC","CMvHzefZrgf0yvvsta","tM9KzsbVBKnSAwnRoG","DhDLzw4","x19UzxDFxW","zxzLBNrcBg9JAW","zM9UDfnPEMu","C2vSzwn0Aw9U","iZeZyZjJmG","DxnLtM9KzunVBM5Ly3rPB25ZoIboBYbUB2rLieLeigzVDw5KlIbdywXSihvZzu5VzgvdB25Uzwn0Aw9UCYbPBNnPzguGysbJDxn0B20GtM9KzsbVCIbWCM92AwrLigeGBM9Kzsbjrc4","576K57Ue6iQc54k5","yMfZzvzHBa","tgvMDe91DgXPBMvK","BwvYz2vezwzHDwX0uNvUDgLTzuHHBMrSzxjZ","CMvXDwvZDefUAw1HDgLVBKzYyw1L","zgvMyxvSDfzPzxC","yM9YzgvY","C2nHBguO","rxLLt3v0BgLUzwq","twLUAsbnyxa","ieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCIm","C2v0vhjHBNnSyxrLrxH0zw50","5PkK6zsaicHdDhjSk1OP","yxr0CI4","y29TBw9Utg9JywXL","z2v0q29TChv0zwrtDhLSzq","zgLZCgXHEu5HBwu","B3bLCMf0B3i","yMfZzwXPBMu","zxzLBNrcBg9JA0LK","sLnptIdMOlZLVi/PLjNOR6/VViZOR7FMO4dMN6xOVPpLHAu","x2zPBMfSAxPLCNm","yM94lxnLBgvJDa","zgLZywjSzwq","jhTSywjLBh3MNidLPjOKE21HEh3KUkRLRzFNRky","5y+Z5A+56B2q","mda1","BgfIzwXgB250u2L6zq","6ycj5OUP5BM05lUJ","C2v0rwrNzxm","yM91BMreyxrHC2v0qMLUzfzHBhvL","zgL2","iZe4otbMzG","6ycj5OUP5QIH5BYp","Dw5PDa","mdaX","yxbWBgLJyxrPB24","zwrPDa","77Yi5y+V6ycj77Yj","Aw5SAw5LlwjSB2nR","vgHLihjLC3vSDcbVzIbNzxrtBMfWC2HVDcbZAg91BgqGyMuGy2fJAgvKihrVigf2B2LKigfUigLUzMLUAxrLigXVB3a","y2XHC3noyw1L","x2vYCM9Y","zxH0zxjUywW","y29UDgvUDa","DgHYB3C","yMX1zq","5zcr5yMniduG6Ag1","BwiTmW","Aw5JBhvKzxm","5A+85ywL5lI65PAW55s75BId77Yi5lIn6kAg55Uw5B2t5yMn55s75BId77Yj","BMfTzxnWywnLvvjj","5BEY5OMR5O+p","imk3ia","Aw5qCM9NCMvZCW","57Yw6l6r5lQl5lU25z2x","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWmcbYB3vUzgvK","C2fTCgXL","x190CMfUC2L0Aw9U","uMvHy3q","5PEG5zU+54Mh","tKvhqvrjvKvFsu5gsu5jvfK","55s75BId6ywn572U","zgf0yvbVB2W","Bw91C2v1Cc56B29T","u2LTCgXLqMv6AwvYrwrNzuLUDgvYBMfS","z2v0u3rHDgu","AwnVBG","Dgv4Dc14CYb0zxH0lwDYyxKTndaW","tM8GDgLTzw91DcbWCM92AwrLzc4","nsW1","zgf0ytPPBwfNzs9ZDMCREg1S","5OUw5OU96lcd5Pw057Ui54k5","DgfYz2v0q2fUDMfZswq","yMCTz3jHEs0Xmda","idaGvG","BgLUzurYyxDPBMC","CMvHy3qTzMXVD19Fy29UDhjVBhmTzML0DMLLDW","CMvJB25Uzwn0ywjSzq","Dg9qB3nPDgLVBG","y3vYCMvUDfrHCMDLDa","6k+36ycj5OUP5BEM5l6N5lIa5lIQ5zcm57QN5ywZ57o757Ue","iIWGzwrNzsbPzdOG","CMvHy3qTzMXVD19FBwfYA2vY","CgLWzq","y29UDgv4De1LBNu","yxjPyuXPDMvnzxnZywDL","DgfNtMfTzq","BgLUzwfY","BxqTmsb0zxH0lwfTyMvYltGWma","C3vIAMvJDa","BgLUzvDLAwDODa","C2v0rMLLBgrZvMfSDwu","C2nOzwr1Bgu","5lQl5lU25Rwb57Ur5A6A","57Ut5P2F5PEL5PYF","z3jVDxa","DgfYz2v0","y2fSBgjHy2SGAxmGBM90igeGzNvUy3rPB24","572U5lQo5BQv5Bgc","zxjYB3iWmti","y29UDhjVBhmUEM9VBu91Dc5HCMLHtgfIzwW","lMPZB24","Cgf0Ae9WDgLVBNm","lI4U","Dg90ywXjBMnVBwLUzW","ywjZB2X1DguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWigjNlwjSDwuTntaWlZeWihbVAw50zxiTzxzLBNrZlw5VBMu","ihrVia","C2vJB25Kyxj5","CMvZAxPLrgLYzwn0Aw9U","sgfUzgXL","B25dB25Uzwn0rw5K","x2vUDgvY","6l+u5zUE5lUk5AsP","Dgv4DgfYzwe","zgvZy3jPChrPB24","Bw91C2vfBNrLCG","iZuYyZqXyq","C3rHCNroB2rLwa","55UU5Qch55s75BId","EvnUyxbWzwq","ywjZB2X1DguGlxrVCc02igXLzNqTmcbIzY1IBhvLltuWmcb0zxH0lxDOAxrLihrLEhqTEhmGChGTmIbWEs0WlJuGCM91BMrLzcb3AgL0zxnWywnLlw5VD3jHCa","CMvHy3qTzMXVD19Fy29UBMvJDgLVBMXPBMuGCMvHy3qTzMXVD19Fy29UDgfPBMvY","B3bZ","ChjLDMvUDerLzMf1Bhq","y2XLyxi","Dgv4Dc14CYb0zxH0lwDYyxKTntaWig1Iltm","CMvHy3qTzMXVD19FBM9Kzs0","q29UDhjVBcbqyw5LBa","y29UDhjVBerPCMvJDgLVBG","Cgf0Aa","DxnLq29UDgv4Da","zMLUzeLUzgv4","lNH5zMXVD19FDMLLD3bVCNq","DxbKyxrLtM9Kzq","mcaWidmYidu","sgfUzgXLoIboBYbUB2rLigLKigzVDw5KlIbnywTLihn1CMuGDg8GB25SEsb1C2uGysbiyw5KBguGAw5ZAwrLigeGy3vZDg9Tie5VzguU","BwLUAw1HCc5HCMLHtgfIzwW","zwrNzxnszwnVBM5Ly3rHyMXL","DY00igGTncb0zxH0lwjSDwuTnJaWigjVCMrLCI1NCMf5ltmWmcbYB3vUzgvKigzVy3vZoNjPBMCTyMX1zs01mda","BwfYA2vYvw5PDhm","DgHPy2TUzxnZ","BgLNAhq","5yAf6igu6isA5PYS","rxzLBNq","B25ZzwXLy3rZDgfYDa","C291CMnLsgfUzgXL","zwXLDMf0zu5VzgvZt25tzwXLy3q","ugfYzw50ig5VzguG","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVViZPOBSGCMv0DxjUihrYDwuVzMfSC2xVVjVMTyVNGRNMLBdNU4tMJiKGCgfYyw1Zq29KzsdLKiJLUBBOV5SGzgf0yEoaGG","CgfYC2u","yMXVy2SGDY1MDwXSihrLEhqTC20GDgv4Dc1NCMf5ltuWmaOGicaGicaGicaGicaGigzPBgu6BxiTncbMAwXLoNb5ltiGzMLSztPWEc00cIaGicaGicaGicaGicaGzMLSztPYB3vUzgvKlwz1BgWGzMLSztPIB3jKzxiTmaOGicaGicaGicaGicaGigzPBgu6Dgv4Dc1ZBsbMAwXLoMzVBNqTC2vTAwjVBgqkicaGicaGicaGicaGicbMAwXLoMjNlwjSDwuTntaGzMLSztP0zxH0lwjSDwuTnZaWcIaGicaGicaGicaGicaGAg92zxi6zMLSztPIzY1IBhvLlteWma","nda2mJiXmLvNsxbKCG","DxnLsw1WzxjHDgL2zuHHBMrSzq","zgvZDhjVEq","54k55yE757Q/5P2H54MP5PAz5BYa5AEl57Uy5yI2","BxqTmIbWltiGyM9YzgvYihjVDw5Kzwq","5PQc5PEG5zcm57QN5ywZ57o777Ym54k55yE744cm5PAW5BU644cn5BYa5AEl","Bw91C2vy","q3jVC3m","qxjYB3DvCe91DgXPBMvK","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUig1Ilti","Bw0VCW","AgfZqxr0CMLIDxrL","zgf0ys4","zwrNzuXVB2T1Ca","ywn0AxzL","BgLI","yxjPyuXHyMvS","tgLUzxm","zxHLy3v0zuj1AwX0Aw4","C2vSzwn0","B25czwzVCMvezwXLDgu","ywjZB2X1Dgu","BwiTncbWltmGyMCTyw1IzxiTntaGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwfTyMvYlteWmcb0zxH0lxnT","y29UDhjVBhmUAw50zxjHy3rPDMuUyxjPyuXHyMvS","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWyY00lJeXncaXlJGYoc0XlJm3idiUmtmZlJmWnsaYlJqZocaXlJy3nI4ZmduGnc40mIaYlJu5idqUndiGns4Xodf2mY4WndHimY4WndDbmY4WntyGmY4WntyGmcaWmdaGmtmUnZe0DJe1lJiZoeeZlJa1nIaZlJa1nIaWidaWmY4WndGGmZjOmtGUmJG1ytmUmdu2idmUmdu2idaGmdaZlJa0oc0ZlJa0ofyXmY43mtrHmY4WntyGmY4WntyGmcaWmc0ZlJa0oc0ZlJa0n3PnmtiUmtKGmJqUntmZytmUmdu2idmUmdu2idaGmdeTmY4WndCTmY4WndCGmY4WntyGmY4WntyGmcaWmtmUmdq3ltmUmdq4idmUmdu2idmUmdu2idaGmdeZlJa0ocaZlJa0ocaZlJa1nIaZlJa1nIaWidaXltmUmdq4idmUmdq3EG","iZaWmtKZqW","5l+D55wz5Bcp5PwW5l2n","Aw52zxj0wa","y3rYBeTLEq","5lIk5lYGifnwrW","zgvSyxK","C3zNigXPBMu","z2v0uM9VDe5Vzgu","C2v0twLUwM9VBq","CMvHzefZvgv4Da","zgf0ys1Pza","C3rHCNq","ChjVzhvJDgLVBG","B25gAw5HBgL6zq","AgfZvMfSDwu","Bwf0y2HnzwrPyq","5PI+56s6572r5Qc8","yM91BMrHCMLLCW","5y+V6lcd5Pw05AsN5Bcp","zgLZCgf0y2HfDMvUDa","6iom5PMV5zU+54Mh","zwrNzvf1zxvL","lY8G5PsV5OYb5A+56lgH5OIw5PwW57Ue5Qc85BYpcI8ViowVUEIXOEAGVow8J++8MGP7cIaGiNnWzwvKiJOGmcWkicaIDgvTCci6idi1laOGicjUzxn0zwqIoIb7icj4iJOGmsb9cN0kcI8VioAvSoE7HoAGVow8J++8IoAVJ+MHUEMCGowmHEwqQYbUyw1LiowTL+AUTEEuQos6JUMaIEAlQE+8IE+8MGPBcIaGEYaIBMfTzsi6iclMTyVNGRKXiIWGiNzHBhvLiJOGmtaWlcaIDw5PDci6icjTBsiGFsWkicb7icjUyw1LiJOGiUA1I+EcUtiIlcaIDMfSDwuIoIaYmdaSicj1BML0iJOGiM1TiIb9cL0","BM9VCgvUzxiGBM9YzwzLCNjLCG","DhjPz2DLCK5VzgvdAgfUz2vZ","5PEG562B6ycj6Ag5","zxjYB3iWmtu","vhjHBNnMB3jTq29TCg9Uzw50","iZCYmMvKmq","x2LUBMvYu3vIC2nYAwjL","zwrNzxm","zwfZzq","6ycj5OUP6kAb57Ur5A6A55Qe6iQc54k5","C2vSzwn0qwXS","5BYa5AEl5zgO","Cg9PBNrLCI1LDMvUDhmTyxv0BW","lNn2zW","rxzLBNqGzMXVDYbUB3qGAw5PDgLHBgL6zwqGzM9Yia","5PQc5PEG5PwW5O2U6zUg77Ym6k+354k55yE744cm5PAW5BU644cn","BM93","6kEM5y+roIa","BgfIzwXtDhLSzq","zMXLEa","mdeW","CgWTmsbIB3jKzxiTBc0YigjVCMrLCI1HBwjLCI0Ymda","6zw/54k5lEEFREEcUEs6PoABVW","y3vZDg9T","x2fJDgL2zq","ioMHUEw/HEMHU+AyR+wVUEIXOq","ksb0CMfUC2XHDguO","CMzFx2vKz2uT","6lw35Q2I5l2n572U77Yi55U45A+56iQc54k577Yj","6ycj5OUP5yw35l2t5yAf572U6io95yQB","y2fUy2vS","zgLZCgXHEwfIBgu","5Q+p5lIQ5PwW5O2U6zUg5y+V5lUL5PIViePtt04G5A+56lgH5QIH5P2/77YiuMvJB3jK77Yj5OIw5PwW57Ue44cc54Q25Ocb57Ur5A6A5zco77Ym6kgO6l6+5BYp562+5zcn5lI6","AgfZrxjYB3i","zxHWB3j0CW","zxjYB3iWmdm","y3jLyxrLrgvMyxvSDe5Vzgu","5lQl5lU25Rwb5yIB5BU65OIq5yQF","zgf0yvjLCxvLC3rlzxK","z2v0sw5PDgLHBfn0yxrL","w2nVBNrLBNrLzgL0ywjSzt0IDhj1zsjD","rg90CW","i2yWzJbMma","mI4WlJa","DhjPBq","qeb0B1bYAw1PDgL2zsbTDxn0ihjLDhvYBIbHihbYAw1PDgL2zsb2ywX1zs4","CMvHy3qTzMXVD19FC2vSzwn0Aw9UihjLywn0lwzSB3DFx2nVBNrHAw5LCG","CgfZDa","6ycj5OUP57Ur5A6A5A2x5Q61","5P2Hl+MHTq","6k+35AgR5yAz5Asw6yoO5PA55Rov5Qch6k+g","DhjPz2DLCK5Vzgu","y29UBMvJDe9Uq2XPy2S","DxnLtwvTBW","q2XVC2vpDxrSAw5Lza","yMfZAwm","ChjVCgvYDhK","y3vYC29Ylw1VDMu","5lIk5lIa6Ag1","yxnpyNnLCNzHyMXL","DxnLrM9YBq","6l6t5ywL5yc85PAh5PYS","CMvUyw1L","DxbKyxrLq29UBMvJDgLVBG","55s75BId5yIx6kgO","Dgv4Dc1SzYbMB250lwjVBgqGDgv4Dc1NCMf5ltuWma","w1jLywn0iezSB3DDifrOzsbWywrKAw5NihzHBhvLici","ufjfu0vovevex0LnquDfx1njtvbmrq","ywjZB2X1DguGAw5ZzxqTmcbWB2LUDgvYlwv2zw50CY1UB25L","BM9qyw5dBgfZC05HBwu","z2v0qM91BMrPBMDdBgLLBNrszwn0","Cc0ZigjNlwjSDwuTntaGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKlwXNig1Iltq","Ac1MDwXS","AhjLzG","y2XPzw50v2LKDgG","6l6t5ywL5zU+54MhifvstcdMIjyGrgf0ysbvuKK","BwvHC3vYzwq","C3bHy2uTEs00","D2HLzwXezwX0yq","zgLZywjSzuTLEwjVyxjKqteXEq","Dw5IAw5KtM9Kzuv2zw50","zgvMyxvSDevKz2vZ","vhLWB2DYyxbOEq","y29WEq","x3bHCMvUDa","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+phbHDgGGzd0ItteWidiWieWZmcaXmcbmntaGmJaGtduWidqWieWZmca1mcbmmtaGndaGwIiGzMLSBd0Ii2jMyMzIzIiGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIlZ48y2LYy2XLign4psiZmciGy3K9iJmWiIbYpsi4iIbMAwXSpsiJmtG5mgzMiI8+pc9ZDMC+","Bw91C2vz","CMvHy3qTzMXVD19FyMfJA2DYB3vUzc1Wyxr0zxjU","AxntzwXLy3rHyMXL","Axnoyu4","y29UBMvJDgLVBKXVB2T1Ca","6lw354k5ifG","C25HCeDYAwq","Aw1N","tufurvjjquXFu1rbvfvtx0niqu5hrq","6iQc54k55zcn56EW","6yEn572U6kEg5zU+","y2XHC3m","qM90Dg9T","C2nHBgu","Aw52zxjZzq","C3bSAwnL","EMGTy24","zxzLBNq","CMzFx2jHy2TNCM91BMq","5lQm57U056cb6l+h5PYF","BgLMDa","C2LU","5Qch562+5PAh5PYSicHSywjLBcK","zgLTzw5ZAw9UCW","yMLUze5VzgvfDMvUDa","y29UC29SAwrHDgu","zMLSBenVBg9Y","vxbSB2fKignHBMnLBgXLzcbVCIbMywLSzwq6","C29Tzq","zxzLBNrgBg93rgf0yq","57Ut5P2F5PYi5lU9","CMvHy3qTzMXVDW","q29UzMLNuhjVDMLKzxi","6k+35ywi57Ur5A6A5PwW5O2U6zUg","A2v5","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs00igjNlwDYyxKTntaGCM91BMrLzc1SzW","x2v4zwn1Dgu","zMX1C2G","x19LC01VzhvSzq","5PAh5PYS5yAf5A65","5PwW5O2U5RgG","B25nB3zLu3rHCNq","xMHZBfWO","cIaGicaGicaGica","C2L6zq","5lIk5RI46l+E57Q/oG","BgfIzwXgB250v2vPz2H0","zg9JDw1LBNq","6l+E57UT5A6E57Q/","zNjVBNq","Aw1Hz2uVkG","C291CMnLswq","Dw5ZAgLMDa","zM9UDc1TzwrPDw0","5Pon5l2C5OIq5yQF","y2XPzw50tgvMDa","zxHLyW","5lQK5O2I6lw354k55zkm57Ui54k5","5A2x5Q616lEV5B6e77Yi54k55yE75O+s5ywL6kgO6l6+5BYp77Yj","zxzLBNrsB290CW","CgfNzvG","ww91igfYzsb1C2LUzYbHBIbVDxrKyxrLzcWGChjLlxjLBgvHC2uGywXWAgeGB2yGuMvHy3qGmtGGDgHHDcbKB2vZig5VDcbZDxbWB3j0ihvZzvn5BMnfEhrLCM5HBfn0B3jLlIbuAguGDxnLlxn5BMmTzxH0zxjUywWTC3rVCMuGC2HPBsb3AwXSig5VDcb3B3jRignVCNjLy3rSEs4GvxbNCMfKzsb0BYbHig5LD2vYihbYzs1YzwXLyxnLlG","B25oB2rLrhjHz1n0B3a","r3jHCgHwAwv3","C2TLD1GO","AwrLBNrPzMLLCG","B25tzwXLy3rPB25dAgfUz2viyw5KBgvYCW","Dg91y2GTywn0Aw9U","Aw52B2TLuNvUDgLTzuHHBMrSzxi","y2XVBMvfBgvTzw50","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY0WlJuGAc0ZigjNlwDYzwvUltuWma","BwfYA2vYu3rHCNq","y29Uy2f0","5zcr5zcoidmG6Ag1","zNjLzq","twLUAu1HCa","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0yxj0","yM91BMreyxrHC2v0swq","vMvYDgLJywXbBgLNBKjVDhrVBu91DgXPBMvK","BNvTyMvY","rxnJyxbL","z2v0u2vYDMvYu3rHDgu","y29UDhjVBa","q291BgrUj3qGy3jLyxrLigvKz2uGzM9Yia","z2v0uhjVDg90ExbLt2y","zxzLBNrcBg9JA3m","DxnLtgf5B3v0rwzMzwn0","ig5VDcbMB3vUza","w2rHDgeTBM9Kzs1Pzd0I","BM9Kzvr5Cgu","BwiTmcbTDc00","5zYg6kEs55+P5B2I","B2zMC2v0","CgfYzw50","x2jSyw5R","C2vSzwn0zwq","z2v0","ChGS","Bg9N","DhjHBNnMB3jTu3rHDgu","C2v0u2nHBgvfEhrLBNq","Bwf0y2HLCW","C2vSzwn0q2HPBgq","C2v0ug9PBNrLCKnHChr1CMu","C3rHCNrz","CMvHy3qTzMXVD19FCgfUzq","6ycj5OUP5BEY5RoO5yAm55Qe5Asw6yoO5PA55Rov","C3rHDhvZtgLZDa","DMfSDwvgB250v2vPz2H0","C3r5BguU","mtqWmtyWohb2EuLQvW","5BEY5yIG6zMK77Ym55U45ywZ54Q25Ocb5BEY6kEJ6zMK5PwW5O2U6zUg57Ur5A6A","mNb4ihnVBgLKicmXodKWzMy","BwvYz2vsDw50Aw1LsgfUzgXLCNm","zgf0yxnLDa","ltuSltqGmcWWic01ldqGltuSltq","ChjPBwfYEq","6iQc54k55Qc55O2U54Q25Ocb6kgO6l6+5BYp6k6H566x57Ut5P6C5PI+56s65A+55BQu54MP5PAz77Ym56YS5lIa5lIQ6l+u5zUEihrYDwuG55Qe54Q25Ocb5lI65B2t5yMn54Q25Ocb","6BYG5Qch5OYj5lIl","B25oB2rLrg91yMXLq2XPy2S","5PQc5PEG54Q25Ocb77Ym54k55yE75lIk5PA55OYj6zkU5RE75yQG","w2rHDgeTAgfUzgXLpsjLBMqIxq","5PYQ5RoO5yAmigrHDgfszxf1zxn0iowKHoEqHUwzQdOG","C2v0vMLLD3bVCNrdB25ZDhjHAw5Lza","rxzLBNqGzMXVDYbLCNjVCJO","zgvMyxvSDa","C2v0u3rHDgu","AhLWB3q","qMv6AwvYrwrNzuLUDgvYBMfS","Dg91y2HLBMq","y3vYDMf0DxjL","x19KyxrHx18","AxntzwXLy3rLza","jhTSywjLBh3MNidLSi/LGlZKUlOKE21PBN0","C2v0vMLLD3bVCNq","x3bHCMvUDhm","tw92zwqGC2vSzwn0zwqGBM9Kzsa","AgfZt3DUuhjVCgvYDhK","yw5PBwf0zwq","5PQc5lIn5PsV5OYb57Yw6l6r5Q2K57g75z6l55Qe54MP5PAz","BwfYA2vY","y29UBMvJDgfIBgu","zwXLDMf0zuvKz2vZt25tzwXLy3q","qxjYB3Dmzwz0","Dg91y2HZDgfYDc56B29T","C2v0q2vUDgvY","5B2t5yMn54Q25OcboG","CMvZzxrtzwXLy3rLzevSzw1LBNrZ","C3LUyW","cIaGicaGicaGicbYB3vUzgvKlwXNihrYyw5ZAxrPB24TywXSigr1CMf0Aw9UltiWmcbZzwXLy3qTBM9UzqOGicaGicaGicaG","Ahr0CdOVl3D3DY53mY5VCMCVwe1mlZe5otGVBMfTzxnWywnL","BMv3","ru1qvfK","Cg9PBNrLCG","n1jOugrqwq","CMvJDa","AxnfzgL0Aw5NrxzLBNrgBg93","u3rYywLNAhrfzgDL","zxH0zxjUywXfDMvUDeTLEq","5A+85ywL57Ue5Ocb5PA55Qgi","C2v0uhjVDg90ExbLt2y","Ag92zxi6yMCTz3jHEs0Xmda","57Ui54k5ifK","Aw5SAw5Lu2nYAxb0","EMHFq04","54Q25OcbicH0ExbLkq","zgf0ys1Oyw5KBgvWB3m","yxjYB3C","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg","q29UzMLNrwrPDg9Y","zgvSDgfz","5PwW5O2U6k+35Rgc"];return _0x3a38=function(){return De},_0x3a38()}