jch-config-editor 1.0.21 → 1.0.23

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,9 +1,12 @@
1
- (function(Se,l){const B=_0x5590,C=Se();for(;;)try{if(-parseInt(B(827))/1+parseInt(B(886))/2*(-parseInt(B(1024))/3)+-parseInt(B(1203))/4*(-parseInt(B(2174))/5)+parseInt(B(921))/6+-parseInt(B(2186))/7+parseInt(B(968))/8*(parseInt(B(1168))/9)+parseInt(B(1101))/10*(parseInt(B(1022))/11)===l)break;C.push(C.shift())}catch{C.push(C.shift())}})(_0x5257,407895),(function(Se,l){const B=_0x5590;typeof exports===B(878)&&typeof module!==B(383)?l(exports,require("react/jsx-runtime"),require(B(1530)),require(B(1693)),require(B(1739)),require("zustand"),require(B(1493)),require(B(1335)),require(B(829)),require(B(432))):typeof define=="function"&&define.amd?define([B(1896),B(864),"react",B(1693),B(1739),B(2036),B(1493),B(1335),B(829),B(432)],l):(Se=typeof globalThis!==B(383)?globalThis:Se||self,l(Se.ConfigEditor={},Se[B(1697)],Se[B(671)],Se[B(1693)],Se.icons,Se[B(2036)],Se[B(1493)],Se[B(1335)],Se[B(711)]))})(this,function(Se,l,B,C,de,Xx,Nt,Le,St){"use strict";function _0x5590(Se,l){Se=Se-345;const B=_0x5257();let C=B[Se];if(_0x5590.sjnDcS===void 0){var de=function(St){const s="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=";let mn="",Vn="";for(let l0=0,E0,U0,qn=0;U0=St.charAt(qn++);~U0&&(E0=l0%4?E0*64+U0:U0,l0++%4)?mn+=String.fromCharCode(255&E0>>(-2*l0&6)):0)U0=s.indexOf(U0);for(let l0=0,E0=mn.length;l0<E0;l0++)Vn+="%"+("00"+mn.charCodeAt(l0).toString(16)).slice(-2);return decodeURIComponent(Vn)};_0x5590.UvQbpo=de,_0x5590.zrylHI={},_0x5590.sjnDcS=!0}const Xx=B[0],Nt=Se+Xx,Le=_0x5590.zrylHI[Nt];return Le?C=Le:(C=_0x5590.UvQbpo(C),_0x5590.zrylHI[Nt]=C),C}function _0x5257(){const Se=["Dg9tDhjPBMC","C2v0qxr0CMLIDxrLtLm","Dgv4Dc14CYb0zxH0lwDYyxKTntaW","lwzSB3DFx2HHBMrSzvTKyxrHlwLKpsi","BM9KzunSAwnRrgLZDgfUy2u","vg9W","C2v0tM9Kzuv4DgvUDa","B3b0Aw9UCW","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlti","BMv3wq","Aw5SAw5LlwzSzxG","twLUDxndAxjJBgvpDxrSAw5Lza","zgf0ys1Oyw5KBgvPza","zhjHz0HHBMrSzq","u3LTyM9SlMfZEw5JsxrLCMf0B3iGAxmGBM90igrLzMLUzwqU","zxzLBNrtDwjQzwn0CW","5PwW5O2U6zUgia","yw50ze1LC3nHz2u","Bw91C2vcDxr0B24","BwiTmW","BwfYA2vYrw5K","yMLUzenVzgvZ","vgHLig9SzcbLzgDLihDPDgGGAwq9","zhjHzW","Dhj1zq","DMfSDwvZ","Dw5RBM93BIb0ExbLoIa","Dg9WlwXLzNq","DMLLD3bVCNqT","Aw1Hz2uVkG","y29UDgvUDgvKAxrHyMXL","yMXVy2SGDY1MDwXSihrLEhqTC20GDgv4Dc1NCMf5ltuWmaOGicaGicaGicaGicaGicaGicbMAwXLoM1YltqGzMLSztPWEs0YigzPBgu6ChGTnaOGicaGicaGicaGicaGicaGicbMAwXLoNjVDw5KzwqTzNvSBcbMAwXLoMjVCMrLCI0WcIaGicaGicaGicaGicaGicaGigzPBgu6Dgv4Dc1ZBsbMAwXLoMzVBNqTC2vTAwjVBgqkicaGicaGicaGicaGicaGicaGzMLSztPIzY1IBhvLltuWigzPBgu6Dgv4Dc1IBhvLltCWmaOGicaGicaGicaGicaGicaGicbOB3zLCJPMAwXLoMjNlwjSDwuTmtaW","ihrVia","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs00igjNlwDYyxKTntaGCM91BMrLzc1SzW","DY1MDwXSigGTzNvSBa","y3LHBG","C3vIBwL0","5zcr5yMnidmG6Ag1","Dg91y2HZDgfYDc56B29T","q29UDhjVBcbqyw5LBa","DxnLu3LUy0v4DgvYBMfSu3rVCMu","zg9Uzq","lteWic0XmcaYmcaYma","BwvYz2u","zw1WDhK","BwvTBW","CMzFx3DYyxbWzxi","D2HLzwWUEM9VBq","DxnLrwzMzwn0","Dg91y2HLCW","zgfZAc1KB3q","ywn0sw5ZAwrLsw5WDxrxAxrOtw9KAwzPzxi","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUig1Ilti","EwvSBg93","CMvHza","C3LTyM9S","Dw5PDa","Cc0ZigjNlwjSDwuTntaGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKlwXNig1Iltq","D2fYBG","t2jQzwn0vw5ZDwjZy3jPyMvKrxjYB3i","C2v0rhjHz0LTywDL","yxr0CI4","mdeY","55s75BIdia","6iom5PMV6iMY","6ycj5OUP5BM05lU9","rxzLBNqGyMXVy2SGBM90igzVDw5KoIa","y2XLyxjjBNrLCNzHBa","AgfZvMfSDwu","6k+35AgR5yAz5Asw6yoO5PA55Rov5Qch6k+g","DxnLCLnLBgvJDgLVBLjLy3q","5y+V5OUw5OU9","6k+35AgR5yAz5OMN6kgm5lUJ56cb","57Ut5P2F5zgO","C2v0rgf0yq","CMv0DxjUigzHBhnLoW","zxHLyW","mta4ma","jhTSywjLBh3POBVKUlOKE2XLBN3KUkRLRzFNRky","ENvZDgfUza","zNvSBa","Dg9qCMLTAxrPDMu","rxzLBNqGzMXVDYbUB3qGAw5PDgLHBgL6zwqGzM9Yia","y29Z","5lUo57Ue5lIT56E76zMK","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94AhrTBa","yMfJA2DYB3vUza","y2XHC3nmAxn0","y29TBw9Utg9JywXL","zgvMAw5LuhjVCgvYDgLLCW","ywn0Aw9UCW","igrVzxmGBM90igv4Axn0lG","Aw5PDgLHBfrLyxjKB3DU","y29UBMvJDgLVBLjHzgL1CW","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iG","zwrNzuXVB2T1Ca","kow9K+wjJsK","yxv0B1bHBK9UtM9KzuzVy3vZ","C2fTCgXLiow/HEMHU+AyRYbku09oiowVUEIXOEAiLUAvSoE7Ha","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iG","ChjLCgfYzuv2zw50qxjNCW","zxH0zxjUywXiyw5KBgvYq2f0ywXVzW","BNvTyMvY","5PU05O2I54MP5PAz","B25dB25Uzwn0u3rHCNq","CMvHy3qTzMXVD19FzwrNzs10zxH0","5BgE5OcN6z2I5P2/","BM9KzvG","5PAh5lU25Qc85BYp6zsz6k+V","Dgv4Dc1NCMf5ltyWmcbTDc0WlJu","C2v0rgvMyxvSDe5VzgvZqw5KrwrNzxm","5A+85ywLiePtt04","CMv0DxjUihrYDwu7","zgvJAw1HBhm","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY0WlJuGAc0ZigjNlwDYzwvUltuWma","Dg9izxHtDhjPBMC","u3rYywLNAhrfzgDL","CMvXDwvZDefUAw1HDgLVBKzYyw1L","6BUy6k6K5yc877Yi5Ash55sO77Yj","y2fUy2vSq29UBMvJDgLVBG","5O+q56s65yAf5A65","q2fUDMfZ","CMvWzwf0kdGSidfMCIK","Dgv4Dc1ZBsb0zxH0lwDYyxKTnJaW","rg90CW","5BYa5AEl5zgO","zwrNzxm","CMvTB3zLqxr0CMLIDxrL","ChjPBwfYEq","B3v0Chv0CW","5OUw5OU954MP5PAz5yIW55s75BId5yIB5BU66iQc54k5","zwzMzwn0qwXSB3DLza","DY1WEcbOltyGyMCTz3jHEs0ZmdaGBxGTmG","ChjVCgvYDhK","6kEJ6zMK57Ue5zci","u21VB3rOu3rLCa","5zcr5zcoiduG6Ag1","5lIk5lYG6zsz6k+V","z2v0u25HChnOB3q","AxnfzgL0Aw5NrxzLBNrgBg93","5lIl5lIQ5PYiicJNV7VPOBxKUiVPLk4P","ios4QUIkGUEcUq","y29UDhjVBerPCMvJDgLVBG","B2jZzxj2zq","DY1MDwXSigGTzNvSBcbYzwXHDgL2zq","AxnszxnPEMfIBgu","C2vSzwn0Aw9U","CgfYyw1Zq29Kzq","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/ksvCCYO","i2q5zdLKoq","ChjVDg90ExbL","B25dB25Uzwn0rw5K","zgjSy2XPy2SUEM9VBq","qM90Dg9T","zxHLy3v0Aw5NigeGy2fUy2vSBgvKigfJDgLVBG","y3vYC29YlxbVAw50zxiGBwiTma","yMCTD2HPDguGyM9YzgvYlwiGyM9YzgvYlwDYyxKTmJaWigzSzxGGAxrLBxmTy2vUDgvYigP1C3rPzNKTyMv0D2vLBIbWEc00ihb5lti","y2XPzw50vg9W","zM9YBwf0sgv4","y2fUDMfZxW","q2fUj3qGy3jLyxrLigvKz2uUiefUigvKz2uGBMvLzhmGysbZB3vYy2uGyw5KigeGDgfYz2v0lG","zNjVBuHHBMrSzq","yMLUza","5zcn56EW5lIn6io95lI656M6","6k+L5PwW5O2U6zUg55QeihnHBxbSzsdKUlRMLBdNU4tVViZOR7FPGiNMI6NNLkJKUO7LJlNPHy3MLBdMJA7POBNNMOtLRzFMRRu","ywjZB2X1Dgu","B25nB3zLu3rHCNq","6BYG5Qch5OYj5lIl","zgf0yxnLDa","CgWTmIbIB3jKzxiTBc0YigjVCMrLCI1HBwjLCI0Zmda","55s75BId5A+85ywL5OIq5yQF77Yb","ltuSltqGmcWWic01ldq","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltmGDY1MDwXSihb5ltiG","Dgv4Dc14CYb0zxH0lwDYyxKTndaWihCTnq","C3rHCNrxAwr0Aa","i2zHywqXna","C2fTCgXL","qxjYB3Dmzwz0","CMvHy3qTzMXVD19Fyxr0CMLIDxrPB24","Dg91y2HHyMXL","5A+85ywL57Ue5Ocb5PA55Qgi","Cg9PBNrLCI1LDMvUDhmTBM9Uzq","Bw91C2vKB3DUlMrYywC","y29TCgfYzurVy3vTzw50ug9ZAxrPB24","562j5Q+u57YP5Ps+6iQc54k555Qe5A696AUy","y3jLyxrLrwXLBwvUDa","AxntzwXLy3rHyMXL","5l6l5AAc77YABMf2AwDHDgvuB+oaGw9Wzw5eAwfSB2C","CMvHy3qTzMXVD19FzwrNzwXHyMvSlxjLBMrLCMvY","C2v0ug9PBNrLCKnHChr1CMu","y2fUy2vSywjSzq","57Ue5Ocb57Yw6l6r5zMO","5BEY5RE75yQG","u1fsvdi","CMv2zxjZzq","DxjSkcCJ","rxHWzxjPBwvUDe91DgXPBMvK","C2v0vgLTzw91Da","z2v0qxr0CMLIDxrLtLm","Dg9ju09tDhjPBMC","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY00igGTncbIzY1NCMvLBI01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","vgfN","y3vZDg9T","vxbtCxvHCMvpDxrSAw5Lza","zMLSzq","CMvHzefZvgv4Da","C3bHBG","x2DYB3vWCW","rwrPDe91DgXPBMvK","6Ake6kEi5QIH5BYp","lY8G5PsV5OYb5A+56lgH5OIw5PwW57Ue5Qc85BYpcI8ViowVUEIXOEAGVow8J++8MGP7cIaGiNnWzwvKiJOGmcWkicaIDgvTCci6idi1laOGicjUzxn0zwqIoIb7icj4iJOGmsb9cN0kcI8VioAvSoE7HoAGVow8J++8IoAVJ+MHUEMCGowmHEwqQYbUyw1LiowTL+AUTEEuQos6JUMaIEAlQE+8IE+8MGPBcIaGEYaIBMfTzsi6iclMTyVNGRKXiIWGiNzHBhvLiJOGmtaWlcaIDw5PDci6icjTBsiGFsWkicb7icjUyw1LiJOGiUA1I+EcUtiIlcaIDMfSDwuIoIaYmdaSicj1BML0iJOGiM1TiIb9cL0","Bw91C2vpDMvY","i2iXyJfInW","x25Vzgu","iZHJogm4yW","Bwf4","u2v0DgLUz091DgXPBMvK","nJq1mJG1Eg92v1nT","Aw5PDgLHBfDPzhrO","DxnLCLnLBgvJDgLVBKfJDgL2zq","khbYzwzLCNmTy29SB3iTC2nOzw1LoIbKyxjRkq","z2v0rgf0yq","BgvUz3rO","Aw5ZDgfUy2u","zMLSzxm","ugXLyxnLig9UBhKGAgLKzsb0AgLZigf0DhjPyNv0Aw9UihDOzw4GEw91igfYzsbZDwjZy3jPyMvKihrVifjLywn0iezSB3CGuhjVoIbODhrWCZOVl3bYBY5YzwfJDgzSB3CUzgv2","5PYQ55+L5yAf572U5yQO5l2CoIa","tM9KzsbVBKnSAwnRoG","yxbWBhK","mZm5nJyXn0zNuwfAuW","DxnLtM9KzunVBM5Ly3rPB25ZoIboBYbUB2rLieLeigzVDw5KlIbdywXSihvZzu5VzgvdB25Uzwn0Aw9UCYbPBNnPzguGysbJDxn0B20GtM9KzsbVCIbWCM92AwrLigeGBM9Kzsbjrc4","wM9VBsbjBG","C3rHCNrZv2L0Aa","AxnAB29TAw5Nt3jqyw5UAw5N","tM8GDgLTzw91DcbWCM92AwrLzc4","54Q25Ocb5PwWoIa","yxjPyuXHyMvSq29UzMLN","Axnqyw5ty3jVBgXPBMC","DhjPBq","zMXLEc0Xig1PBI13lta","y2XPy2SUzhjHzW","6k+35Rgc5Qch6k+g","yxjPyuXHyMvS","Dgv4Dc1NCMf5ltGWma","Ac0XmIbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltqGyMCTz3jHEs01ma","BM9KzurYywDuAhjLC2HVBgq","zxH0zxjUywXiyw5KBgvYs2v5","ru1qvfK","yMCTz3jHEs0Ymda","6ycj5OUP54MP5PAz","6l6t5ywL6iQc54k55zcn56EW","6zw/54k5lEEFREEcUEs6PoABVW","CMvHy3qTzMXVD19FyMfJA2DYB3vUzc1Wyxr0zxjU","q29WEu91DgXPBMvK","uMLNAhq","ywjZB2X1DguGDg9WltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","EMHFq04","5BEM5A+56B2q","BwiTncbWltmGyMCTyw1IzxiTntaGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwfTyMvYlteWmcb0zxH0lxnT","x190CMfUC2L0Aw9U","5OM+5lIn5yIW5lQl5lU25z2x","Dhj5CW","BwiTmG","Bw91C2v1Cc56B29T","y2HYB21L","zgvNksa","5Pon5l2C5OIq5yQF","w3jVBgu9iMXPC3rIB3GIxq","BgfIzwXcz1bHzgrPBMC","6ycj5OUP5PEL5PYF","CM91BMq","BNCTCMvZAxPL","Dw5KzwzPBMvK","zgvMyxvSDa","lM1HDgvYAwfSlxbYzxzPzxC","BgLMDa","6l6t5ywLiePtt04G5Qc85BYp55Qe5Rwl6k+v5PwW5O2U77YB5PYQ57Yw6l6r5yMn55s75BId6lEF6zQp5Asw6yoOigrLzMf1Bhruzxn0rgf0yE+8IowMGUEBKEAoP+AoQoMaGE+8Iq","BM9KzvK","5PEG54Q25Ocb","y29UDgfPBMvY","DhjHBNnSyxrLwa","5PAh5PYS5Qch562+","Aw50zxjUywW","5AAc77YA55s15PY65Rwl54k56zUg","zgf0ys1Pza","lI4U","y29SBgvJDerHDgfZzxrgAwvSzfbHDgHZ","5zcm57QN5ywZ57o757Ue","zNjVBNq","5Bgv5BYa6kgm","572U5lQo6Ag25Bgc","C2nYB2XSvg8","DxnLrM9YBq","5lIn5zcm5PA55BYp5A+55BQu5lIl5PA55lIn5zcm6ywn572U6Ag5","u21VB3rOu3rLCevKz2u","yMXVy2SGDY1MDwXSihrLEhqTC20GDgv4Dc1NCMf5ltuWmaOGicaGicaGicaGicaGigzPBgu6BxiTncbMAwXLoNb5ltiGzMLSztPWEc00cIaGicaGicaGicaGicaGzMLSztPYB3vUzgvKlwz1BgWGzMLSztPIB3jKzxiTmaOGicaGicaGicaGicaGigzPBgu6Dgv4Dc1ZBsbMAwXLoMzVBNqTC2vTAwjVBgqkicaGicaGicaGicaGicbMAwXLoMjNlwjSDwuTntaGzMLSztP0zxH0lwjSDwuTnZaWcIaGicaGicaGicaGicaGAg92zxi6zMLSztPIzY1IBhvLlteWma","C2nHBgvuBW","ywn0AxzLu2LIBgLUz0DYB3vWswq","55s75BId6ywn572U","C2v0tM9Kzxm","6ycj5OUP57Ur5A6A5yc8","DgLTzq","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMC","y2fSBa","DxjSka","iZCYmMvKmq","yxv0BY1ZDgfYDc1YzxzLCNnL","5lQm57U056cb6l+h5PYF","6k+35AgR5yAz6k+35Rgc5Qch6k+g","zgv2AwnL","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0yxj0","6ycj5OUP5PE26zE0","Bwf0zxjPywXZ","zMLUzeLUzgv4","y2XVBMvfBgvTzw50","zM9YD2fYzfjLzG","B25fzgDLC0rLBgv0zq","zgLZCg9Zzuv2zw50uM9VDfbPCgvSAw5L","cIaGicaGicaGicbYB3vUzgvKlwXNihrYyw5ZAxrPB24TywXSigr1CMf0Aw9UltiWmcbZzwXLy3qTBM9UzqOGicaGicaGicaG","ioADOEwfPEI+UsdIHPdJGiW","uhjVDMLKzxi","CMvHy3qTzg9T","5OMl5yQO6l6t5ywL5PI+56s655Qe5yc8","yNvPBhrPBG","B2zMC2v0sgvPz2H0","5RE75yQG5lQl5lU25z2x","C3rHDgu","zgLZCgXHEwfIBgu","zgf0yvjLCxvLC3rlzxK","57Yw6l6r5lQl5lU25z2x","tufurvjjquXFu1rbvfvtx0niqu5hrq","6k+36ycj5OUP5PYi5lU9","5ywL5y+c5zcn56EW77Yi5OYj6l+E57Q/6Ag65BQp77Yj","zgfZAgvK","qxjYB3DeB3DUt3v0BgLUzwq","zM9UDc1TzwrPDw0GDgv4Dc1ZBq","6k+36ycj5OUP5OMN6kgm5PA55BYp","CgfKzgLUzW","5A2x5l2t5AsN5Bcp","CMvHy3qTzMXVD19FBwfYA2vY","C2vSzwn0zwrtDgf0Dxnjza","rNvSBa","DMfSAwq","Ahr0CdOVl3D3DY53mY5VCMCVwe1mlZe5otGVBMfTzxnWywnL","6ycj5OUP5PwW5O2U5A2x5Q61","BgLZDgvUzxi","zg90","yMLUze5Vzgvjza","wvLzwEw5Ta","tM9Kzsb3AxrOigLKici","Aw5KzxG","sg9YAxPVBNrHBa","CMvJEwnSzufZEw5Jswq","vhLWB2DYyxbOEq","sw5WDxq","Bw91C2vKB3DUlNPVB20","ywzMzwn0C1G","ie0Wia","CMvHy3qTzMXVD19FBwLUAw1HCa","i2zMzMzMzG","ksbZy2fSzvKO","6l+u5zUE5lUk5AsP","yM94lxnLBgvJDa","BwfW","5Bcg6k+L57Ue6k6+5lI65Rs76lEd57Ue77Ym5Asw6yoO57+76Ag1ifvjioAnRUATPowqR+EuQa","5PAW5BU655s75BId","57Ut5P2F5PE26zE0","mI4WlJa","Dw5ZDwjZy3jPyMu","BMv3wa","mxb4ihnVBgLKicnKowq5zdK","rMfPBgvKihrVihbHCNnLigrYB3bWzwqGBwf0zxjPywW6","BgfIzwXgB250u2L6zq","AgLZDg9YEq","BM9YBwfS","CMvHy3qTzMXVD19FzwrNzs10zxH0D3jHChbLCG","vMvYDgLJywXbBgLNBLrVCe91DgXPBMvK","x19LC01VzhvSzq","tgf5B3v0","yM9YzgvYlxqGyM9YzgvYlwDYyxKTmJaWig10lteGChqTmq","ywjZB2X1DguGDg9WltaGBgvMDc0WihnLBgvJDc1UB25L","BM9Kzvf1zxvL","AgfUzgXLCG","CgfUu2nYB2XSvgLTzw91Da","5OUw5OU96lcd5Pw05AsN5Bcp","ugfYzw50ig5VzguG","zgLTzw5ZAw9UCW","x+wjR+ACRa","5yIG6zMK5ywO6yoO","DgfYz2v0","x196B29T","zxH0zw50","57Ur5A6A5A2x5Q61","C3rHCNrz","Cgf0DgvYBG","iwjNlwjSDwuTntaW","5l+D55wz5Bcp5PwW5l2n","B25nB3zLrw5K","tM9KzvjLBMrLCMvY","BwvHC3vYzwq","C2LIBgLUz0DYB3vWCW","6yca5yE65Rwp6kEi","6iom5PMV5zU+54Mh","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMu","DxnLrwrPDg9Yu3rVCMu","lMrYywC","y2HPBgrYzw4","ioMHUEw/HEMHU+AyR+wVUEIXOq","y29Kzq","tK9erv9eruXfveu","B25oB2rLq29UDgv4De1LBNu","CMvQzwn0","y3vYCMvUDa","C2nHBgvz","zMXLEcbNyxaTna","5PwW5O2U5RgG77Yi6iQc54k554Q25Ocb55sO77Yj","CMvZzxrgAwvSzhm","yM90Dg9TlwXLzNq","i2zMzG","x2LUBMvYu3vIC2nYAwjL","y3jLyxrLq29UDgv4Da","zMXPCfG","5lQK5O2I6lw354k55zkm57Ui54k5","CMvTB3zLqxr0CMLIDxrLtLm","C29SAwq","zg91yMXLq2XPy2S","x196B29TAw5N","qMv6AwvYrwrNzuLUDgvYBMfS","mc4X","AxnjzgvUDgL0Eq","zgvSyxK","BMfTzxnWywnLvvjj","6k+36ycj5OUP5PEL5PYF","5BEY56Ab55sO","zxHLy3v0zuzSB3DoB2rLCW","BwiTna","yMX1zq","5PEG5zU+54Mh","yMX1CG","BwiTmcbTDc00","Aw5PDe1HDgvYAwfSCW","iw1Ylta","5PEl6l2S6kEs5BQM77Yi5BQM77Yj","6zw/5yIs6zE06zQu","BM9KzxngB2n1C2fIBgu","zxHLy3v0Aw9Uugf0Aa","5PAW5BU65lQl5lU25Rwb","C3bSAwnL","C2vSzwn0zwroB2rLswrZ","CgfYzw50rwXLBwvUDa","x3rYEvn1yNnJCMLIzq","idaGvG","BM9KzxndB25Uzwn0ywjSzq","5yAf6igu6isA5PYS","AxnbCNjHEq","B25tzwXLy3rPB25eCMfNu3rVCa","C2uTCMvZAxPL","z3jPza","vgLTzw91DcbOyxmGB2nJDxjYzwq","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igeGBM9Kzs4Gww91ignHBIb0AgvUihvZzsb0AguGyxjYB3CGA2v5CYb0BYbTB3zLihrOzsbUB2rLigfYB3vUzc4GuhjLC3mGzgvSzxrLihrVihjLBw92zsbPDcbHBMqGzxnJyxbLihrVignHBMnLBc4","w2rHDgeTBM9Kzs1Pzd0I","zxHWCMvZC2LVBG","yM9YzgvYlwjVEa","56gU6k6K5yIG6zMK6k+L5zcm57QN5ywZ57o757Ue77YF","y29UC3rYDwn0B3i","57Ut5P2F5PYi5lU9","CMDIysGWldaSmcWWkq","tM9Kzsb0ExbLici","zgf0ys1UB2rLAwq","5lQl5lU25Rwb5yIB5BU65OIq5yQF","B25fCNjVCG","CgLWzq","Aw52zxj0wq","5y+n6ycj5B2t6Ag1","BM9KzuvSzw1LBNq","Aw5PDgLHBeHLAwDODa","CMvHy3qTzMXVD19FDMLLD3bVCNqTCg9YDgfS","twvZC2fNzsdMJ5dNPlRLHOxLRRNKUlRNQBO","rwrNzsbMCM9Tia","Aw5JBhvKzuHPzgrLBK5VzgvZ","Cc00igjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","y29UDgvUDa","zgvMAw5LuhjVCgvYDhK","Aw52B2TLuNvUDgLTzuHHBMrSzxi","CMvHy3qTzMXVD19Fy29UDgfPBMvY","BgLUzwfYlwDYywrPzw50khrVihjPz2H0lcbYz2jHkdi0mcWYndaSmJqWldaUmdmPidfWEcWGDhjHBNnWyxjLBNqGmxb4ksWGBgLUzwfYlwDYywrPzw50khrVigjVDhrVBsWGCMDIysGYndaSmJqWldi0mcWWlJaZksaXChGSihrYyw5ZCgfYzw50idfWEcK","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltiGBwiTmW","lcb5oIa","BM9VCgvUzxiGBM9YzwzLCNjLCG","u3rYAwn0","q1vtve9n","CMvZB2X2zuzSB3DfDMvUDejSB2nR","DMfSDwvpzG","ChGP","5zYg6kEs55+P5B2I","Dw5YzwDPC3rLCKv2zw50qMXVy2S","mtjWEa","Aw5SAw5Lu2nYAxb0","DgLTzxjjza","AgfUzgXLqM91BMrZ","y29UDgfPBNm","zxjYB3iWmdu","y2vUDgvY","Aw5WDxq","mdaY","572U5lQo5BQv5Bgc","DMLLD3bVCNq","Dg9VigXHDgu7igfSCMvHzhKGCNvUBMLUzW","Cg9PBNrLCG","5lQl5lU25Rwb5l+D5A2y5OIq5yQF","yM91BMrHCMLLCW","BwfYA2vYu3rHCNq","DMfSDwvdB2XVCG","yw5PBwf0zwq","zxjYB3iWmdG","y2XPzw50sgvPz2H0","Cc02","zgvSDgfy","CMvHy3qTzMXVD19FyxjYB3DOzwfK","C2nOzwr1Bgu","uMvHy3qGrMXVDZOGDhjPz2DLCIbUB2rLignOyw5Nzxm","54Q25Ocb5yIx6kgO","uMvHy3qGrMXVDYbHDhrYAwj1DgLVBG","C2nOzwr1BgvY","rgvSzxrLt3v0BgLUzwq","CMvHy3qTzMXVD19Fy29UDhjVBhmTAw50zxjHy3rPDMu","CMvZzxrtzwXLy3rLzevSzw1LBNrZ","CMzjza","CMvUyw1L","5Bcg57Q/5P2H5y+y5lI65Rc05BMZ57Q/77Ym5l+D5OYb6zw/5BQM","5lIl6l295PAh5lU2","rML0ifzPzxC","6k+36ycj5OUP5PE26zE0","xNjNyMfCka","C3rYB25N","sxqGBg9VA3mGBgLRzsb5B3uNDMuGy3jLyxrLzcbHig5LDYbUB2rLvhLWzxmGB3iGzwrNzvr5CgvZig9IAMvJDc4GswyGDgHPCYb3yxnUj3qGB24GChvYCg9ZzsbWBgvHC2uGzgvMAw5LihrOzsbUB2rLvhLWzxmVzwrNzvr5CgvZig91DhnPzguGB2yGDgHLignVBxbVBMvUDcbVCIbTzw1VAxPLihrOzw0U","DMfSDwvgB250v2vPz2H0","CMvXDwvZDefZEw5Jswq","y29UDhjVBhmUzML0vMLLDY5HCMLHtgfIzwW","6ycj5OUP6kAb57Ur5A6A55Qe6iQc54k5","CMvHy3qTzMXVD19FCMvZAxPLlwnVBNrYB2W","Bg9JywW","zgf0yvrYyw5ZzMvY","lwnHBNzHCY0","6BUy6k6K6Ag555UU","Bw91C2vTB3zLlMrYywCGBw91C2v1Cc5KCMfN","ywjZB2X1DguGyM90Dg9TltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","Aw5MBW","z2v0qxr0CMLIDxrL","x3rOCM93swzdBg9Zzwq","CMvTB3zLuhjVCgvYDhK","t1busu9o","BgfIzwW","BgfIzwXgB250v2vPz2H0","DgvZDa","Bwf4wa","5BYa5AEl5PE26zE0","C2nHBgvfEhrLBNq","zgf0ytPHChbSAwnHDgLVBI9QC29Uo2nOyxjZzxq9DxrMltGS","yxjPyuXPDMvnzxnZywDL","uMvHy3q","C2v0vMLLD3bVCNrdB25ZDhjHAw5Lza","y292zxi","Cg9SEwXPBMu","tw92zwqGC2vSzwn0zwqGBM9Kzsa","BgLUzxm","5Asn5yI26iQc54k5","5lIk5lIa6Ag1","zwrNzxnszwnVBM5Ly3rHyMXL","B25ezwXLDgu","yM9YzgvYuMfKAxvZ","BM9Kzuv2zw50qMLUzgLUz3m","CMvSzwfZzvbVAw50zxjdyxb0DxjL","DgfWCW","z2v0sw5PDgLHBfn0yxrL","CgfUwM9VBq","y3vYCMvUDenHBNzHC0LK","DgHLBG","yM90Dg9T","C2nHBgu","wM9VBu91De91DgXPBMvK","CMvSyxrPDMu","5PwW57UeicG","BgfIzwXcz1n0EwXL","B25SB2fK","Bw92zq","C2v0vgLTzq","AxneCMfNz2fIBgu","rNjLzq","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaW","tgLUzxm","5y+V54k55yE7","lte0ChG","z2v0q29TChv0zwrtDhLSzq","zgvZyW","AxnwywXPza","6iom5PMV6AkC6iMY","Dg9gAxHLza","B25fzgDLC0nOyw5Nzq","zxzLBM9Kza","uMvHy3rAB29TugfUugLUy2G","z3jPzcbNCMLKlwnVBhmTncbNyxaTmG","C2v0uhjVCgvYDhK","y2f0y2G","sw5WDxroDw1Izxi","57Ur5A6A5PwW5O2U6zUg","BM9KzuXVB2T1Ca","D29YAW","Aw5ZDa","iZuYyZqXyq","C2v0","zM9JDxnHyMXL","x2v4zwn1Dgu","D2L0Aa","54k55yE757Q/5P2H54MP5PAz5BYa5AEl57Uy5yI2","CMvHy3qTzMXVDW","EhKTzwrNzv9F","6iQc54k554Q25Ocb55sO55Qe5PwW5O2U6zUg77Yi5lIo5lQl5lU25Rwb5PEG5ywZ77Yj","ywrK","C3LUy1zPzxDWB3j0","y2HLy2TwAxnPyMLSAxr5","AxndB250zw50rwrPDgfIBgu","yxv0B1bHBK9UtM9KzurYywC","y2HHBMDL","5PQc5PEG54Q25Ocb77Ym54k55yE75lIk5PA55OYj6zkU5RE75yQG","lIbozxCGCg9ZAxrPB24SihG6ia","54k55yE75y2h5BQp","CM9VDa","i2vImMy5nG","BMf2AwDHDgLVBLn0ywnR","EKLUzgv4","y29UDgvUDeLUzM8","yM9VBgvHBG","z3jVDxa","y2fSBgjHy2S","CMvHy3qTzMXVD19FzwrNzs1WyxrO","yNvPBhrPBKLK","57ky6ls0iePtt04G5yAf5A65lI4U","i2zMngq0zG","zgLZDgfUy2u","5Qch6k+g5lIn6io95lI656M6","yNv0Dg9U","ufjpuevsvfLFq0HbtKDf","y3vYCMvUDe9IC2vYDMvYCW","CMDIysG","5Rc05BMZ57+76l2S","BMv4DfnPyMXPBMC","y29Uy2f0","ihDOzxjLigeGC3rYzwfTihDHCYbLEhbLy3rLzc4Gww91ignHBIbWCM92AwrLigfUie9IC2vYDMfIBguSifbYB21PC2uSifjLywrHyMXLu3rYzwfTlcbbCNjHEsWGqxn5BMnjDgvYywjSzsWGB3iGsxrLCMfIBguU","zwXLBwvUDhntzwXLy3rHyMXL","mda1","6lw35Q2I5l2n572U77Yi55U45A+56iQc54k577Yj","zw5KlNjLBw92zq","q2XHC3mGzxH0zw5KCYb2ywX1zsa","44cn77YA5lIk5RI4","C291CMnL","vw5HyMXLihrVigXPzNqGDw5RBM93BIbpyNnLCNzHyMXLihr5Cgu","yxv0B1bHBLnWzwvK","6ycj5OUP5zgO","x2nOzwnRrMLUywXPEMvKu3rHDhvZzxm","5y+V6lcd5Pw05AsN5Bcp","CMvHy3qTzMXVD19Fy29UDhjVBhm","ltzWEa","C3rVCeLTBwvKAwf0zvbYB3bHz2f0Aw9U","BwLU","CMvHy3qTzMXVD19FzwrNzs1KzxnJ","yMfZzvzHBa","5A+85yE65B2t5yMn55s75BId","iIbPCYbPBNzHBgLKlIbqBgvHC2uGChjVDMLKzsbHig51BwjLCIbVCIbHihn0CMLUzYb3AxrOigeGDMfSAwqGDw5PDcaOChGGB3iGjsKU","DxnLuMvM","z2v0sw5ZDgfUy2u","w1jLywn0iezSB3DDoIa","AhLWB3q","ChjLDLzPzxDWB3j0","zMXLEc0X","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWidGGmca0lJu3msaZlJqYosa0lJu3msa3lJyXoxyZlJa0oeGZlJa0oeeZlJa1nIaZlJa1nIaWidaWmcaXmY43mtr2mtuUmJm4qtmUmdu2idmUmdu2idaGmdaZlJa0ocaZmMGXoc4YodvHmY4WntyGmY4WntyGmcaWmdmUmdq4ltmUmdq4vJeZlJCXngeZlJa1nIaZlJa1nIaWidaWltmUmdq4ltmUmdq3EK0XmI4XosaYnc41mZnHmY4WntyGmY4WntyGmcaWms0ZlJa0nY0ZlJa0nYaZlJa1nIaZlJa1nIaWidaXmY4WndCTmY4WndGGmY4WntyGmY4WntyGmcaWmtmUmdq4idmUmdq4idmUmdu2idmUmdu2idaGmdeTmY4WndGGmY4WndD6BtqUnZi0lteZlJG2nKG3lJq2n1y3lJyXowmWltiUntKGmI4XmZmTnc43mJqGnc43mJmTnc43mJqGmI41oteGmca0lJCYncaYlJeZmYa0lJCYnca0lJCYnhyZlJa0ohO","C2vSzwn0","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igfUigvKz2uUifLVDsbJyw4GDgHLBIbWCMvZCYbKzwXLDguGDg8GCMvTB3zLigL0ig9YigvZy2fWzsb0BYbJyw5JzwWU","BMuTCMvZAxPL","BM9Kzuv4DgvUDa","DgHYB3DUrxjYB3i","C2TLD1GO","iZaWmtKZqW","6ycj5OUP5QIH5BYp","C291CMnLswq","5Qch562+5Qc35BYp","6ycj5OUPiePtt04G5PAh5lU25A+85ywL77YA","Bg9VC2u","y29UBMvJDgLVBKXVB2T1Ca","57Ut5P2F5BM05lU9","rg93BMXVywrpDxrSAw5Lza","B25gAw5HBgL6zq","Aw50zxjWB2XHDgvcDwLSDgLUu3rYAw5N","mxb4ihnVBgLKicnMmgyWzJa","CMvHy3qTzMXVD19FCgfUzq","54k55yE755s75BId56gU5A6A6lw354k55zkm57Ui54k5","Bw0VCW","B3bLCMf0B3i","ttmUnJKYidqUnJnJmc0UntmUnc0Uotm4lJKZos0Uotm4AduUmJe1vJbinc43mdHdmI4XmYaWidaGmI4WntqGmca0lJyZDJuUmJe2AdmUnJKYvJqUnJmXEK0YnY4ZntqGmgGTns4YDJmUnJKYAduUmtDJlJuZidaGlJK4nc40lJK4nc45mZL2ns4YmtvimZjwnc42mZfbnc42mJqGnc42mJqGmcaWmdi3lJm1ncaWEM0Uotu0idi0lJGZyZaGlJuZmI0Unc45nc0Uotm5lJK0Ac01lJiXnxyZlJC2ogG1lJiXnwmYlJu3nYaWidqUnJmXltiUmtmGnc42mZeTnc43mdD2ltuUmtm5Ac0ZlJy5mNy1lJeZoxPTltiZlJy3nY45ngmTlJuZmsaWls45mZKTlJqTlJKZos0Uotr2ltuUmtm4sdb2ns4XmZLJmcaYlJu3nYaYlJeZidqUnZa3idqUnZa4idqUnZa3AduUmtm4vJi1lJC3sdqUnJmXEG","ChjLDMvUDerLzMf1Bhq","CMDIysGYncWXndqSmJu1ldaUmdGP","vevyvefsrue","DxbKyxrLtM9Kzq","Bw91C2v1Ca","zMLSDgvY","Bwf0y2HnzwrPyq","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvU","q2XVC2vpDxrSAw5Lza","ANvTCfrVq2fUDMfZ","BM9KCMfN","zg9JDw1LBNq","y29UBMvJDgLVBKrYywDuAhjLC2HVBgq","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9YCW","Dg9iyw5KBgu","zMLUywXPEMu","iZCZzdeZza","nZe3ody1quPjBeT2","tgLUzq","CMvHy3qTEM9VBs1Wyw4TCgLUy2G","CMvWBgfJzq","mNb4igrHC2HLzcb0CMfUC3bHCMvUDa","BgfIzwXtDhLSzq","zMfJDg9Y","6k+36ycj5OUP5BM05lU9","Cg9ZAxrPB24","6yca5yE66k+L57Ue55Qe5Rwp6kEi5QIH5BYp77Yi5Asw6yoO57+76Ag1ifvjiowWHUEMGEEuQo+8Iq","C291CMnLsgfUzgXL","vxbSB2fKt3v0BgLUzwq","CMvHy3qTzMXVD19FzwrNzs1PBNrLCMfJDgLVBG","C29YDa","5PYQ5RoO5yAmigv4DgvYBMfSiowKHoEqHUwzQdOG","qxjYB3DdBg9Zzwq","y29UC29SAwrHDgu","A2v5","twfYA2vYihr5CguGiG","qwXPz25mzwz0t3v0BgLUzwq","6k+36ycj5OUP6iQc54k5","yM91BMreyxrHC2v0qMLUzfzHBhvL","6lw354k5ifG","zhvYyxrPB24","Dg91y2HLBMq","C2XPy2u","tgLZDa","5OMN6kgm5PA55BYp","tw96vxnLCLnLBgvJDa","5lIk5RI46l+E57Q/iokgKIdMNkZLNzCGyxjNCYdPLk7LKi0","C3fYDa","zxH0zxjUywXfDMvUDeTLEq","jhTSywjLBh3MNidLPkFLGlZKUlOKE21HEh0","q29SBgfWC2u","zNv0DxjL","yxjNCY5WCMv2","BMfTzq","CMvHy3qVANn4lxj1BNrPBwu","DY04igGTmc41igjNlwDYyxKTndaW","zMLYC3rdAgLSza","Dg9tDhjPBMDuywC","AxngAw5PDgu","y2fUDMfZswrZ","x+wKJEwiTG","yxjNCY5WCMv2ma","z2v0uhjVCgvYDhLwywX1zq","zxjYB3iWmdy","zgf0yvjLCxvLC3q","yMfJA2DYB3vUzeLTywDL","5RE75yQG54Q25Ocb","qxjYB3C","B2jQzwn0","vg9VBhrPCa","5RE75yQG5lQl5lU25Rwb","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/kvXZkG","lwzSB3DFx25Vzgu","DxnLu3rHDgu","ANn4CW","C291CMnLug9ZAxrPB24","mtm1mtaXmKfuuuf1CW","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0B3a","5y+Z6zsU6i+C5y2v","C2v0u2nHBgvfEhrLBNq","5P2Hl+MHTq","y29TCg9ZzwrqyxrO","5y2v5l2n77Yi5AAcWRbd44cbjEoaGu1qyEETIE+8Iq","y2HLy2TLza","CgfNzvG","ChjVzhvJDgLVBG","tufyx1zbtfvf","C3bSAxq","zMLYC3q","BgfIzwXdB2XVCG","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24","zwXLBwvUDezYB21qB2LUDa","y3jPC3bfzgDLCW","CgfYDgLHBe9IC2vYDMvY","Dw5IAw5KqwXSrM9YtM9Kzq","DxbKyxrL","ywXS","C3vIC2nYAxb0Aw9UCW","y29UDhjVBeLUzM8","zwrNzxngB2n1C2fIBgu","C2fTCgXLsNnVBG","AgfZt3DUuhjVCgvYDhK","tgvMDe91DgXPBMvK","6BYG5Qch56E75yE6","5RE75yQG5ywL5y+c6kgm77Yi56YS5yEG5lIQ5y+c5PwW77Yj","jhbYzxyU","6k6+5lI65Rs76lEd57Ue","C2nOzwr1BgvYqwn0Aw9Uq3rVCG","CMvHy3qTzMXVD19FzwrNzxvWzgf0zxi","Cg93","Bw91C2vTB3zL","mJi5odC2mMn0sgnZEa","C3rYAw5NAwz5","Dw5ZAgLMDa","zgvSDgfnB2rL","yMCTD2HPDguGyM9YzgvYlwiGyM9YzgvYlwDYyxKTmJaWihb4ltqGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUigzSzxGTC2HYAw5Rlta","CMvJDcGWChGSidbWEcWGmhb4lcaWChGP","zw5KlG","CMvTB3zL","CMvHy3qTzMXVD19Fy29UBMvJDgLVBMXPBMuGCMvHy3qTzMXVD19Fy29UDgfPBMvY","qMv6AwvYrwrNzq","y29UDhjVBa","AgfUzgXL","CMvZDwX0","wM9VBsbpDxq","y2vUDgvYignLBNrLCG","x19VBG","BgvMDa","y29UDhjVBhmUAw50zxjHy3rPDMuUyxjPyuXHyMvS","BMf0AxzLrxzLBNq","5PQc5PEG5lQl5lU25Rwb","CMvM","5A2x5Q616AQm6k+b6zsz6k+VjhTSywjLBh0","w1jLywn0iezSB3DDifrOzsbWywrKAw5NihzHBhvLici","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc94BwXUCY8","5OUw5OU96lcd5Pw057Ui54k5","Aw52zxj0wa","54Q25OcbicH0ExbLkq","6k+36ycj5OUP6kEM5y+r5PA55BYp","Dg9VigXHDgu7igfSCMvHzhKGC2nOzwr1BgvK","u3rYywLNAhrfzgDLsw50zxjUywW","Dgv4Dc1ZBsbMB250lw1LzgL1Bq","ugX1C091DgXPBMvK","57ky6ls0iePtt04G5yAf5A6577YA","vgLTzw91DevYCM9Y","qxjYB3DvCa","Bwf0zxjPywW","C3rHCNry","BwLUwq","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlte","BM9Kzxm","5PwW5O2U6k+35Rgc","xMHZBgfCka","DMLZAwjSzq","zhjVCevMzMvJDa","yM91BMreyxrHC2v0swq","C3LUyW","6lEZ6l2S55s75BId","nZu4nJrMtvLVDwC","tsaYmcaWieWGmcaWidaGmJa","BM9eCMfNq2XHC3noyw1L","yxjNCY5WCMv2mq","6iQc54k5ieLeoIa","DhjHBNnSyxrLkc0","y2fUDMfZzxm","5OUw5OU95PEl6l2S","Cg9PBNrLCKLK","zM9UDfDLAwDODa","ywn0AxzL","AxneCMf3Aw5N","5PwW5O2U6zUg","5PEl6l2S6kEs5BQM","Dgv4Dc1NCMf5ltqWmcb0zxH0lxHZ","C3rLCa","5RIf56M65OMa5PYj","C2v0rMLLBgrZvMfSDwu","x3rPBwu","5l6l5AAc77YA5l+D5A2y5OIq5yQFioAiLIdNU5pMNPZVVjP7E3bYzxz9Fq","BM9Uzq","qxjYB3DsAwDODa","zMLUza","zxzLBNrgBg93rgf0yq","rgf0ywjHC2vpDxrSAw5Lza","C3rHCNrizwLNAhq","zgvZy3jPChrPB24","5ygh5OoZ57Q/","yMCTz3jHEs0XmdaGChGTmsbYB3vUzgvK","Bg9HzgLUzW","6kEM5y+roIa","A2v5CW","zMXLEc0XigjVCMrLCIbIB3jKzxiTz3jHEs0YmdaGCM91BMrLzcbWlti","yxjPyvjVBgu","AxrLCMf0B3i","qMfJA3nWywnL","5Pw05z2x6l+u5zUE5yc8","BM9KzxntzwXLy3rPB25by3rPDMu","zg9TywLU","Bwv0yq","Dgv4DgfYzwe","6k+36ycj5OUP5zgO","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltq","ue9tsvrjvKvFsu5gsu5jvfK","B25dBgLJA0nVBM5Ly3rtDgfYDa","iIbYEd0InciVpJWVC3zNpG","Bwf4wq","zw51BwvYywjSzq","5A2x5Q616lEV5B6e77Yi54k55yE75O+s5ywL6kgO6l6+5BYp77Yj","jhTSywjLBh3POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWyY00lJeXncaXlJGYoc0XlJm3idiUmtmZlJmWnsaYlJqZocaXlJy3nI4ZmduGnc40mIaYlJu5idqUndiGns4Xodf2mY4WndHimY4WndDbmY4WntyGmY4WntyGmcaWmdaGmtmUnZe0DJe1lJiZoeeZlJa1nIaZlJa1nIaWidaWmY4WndGGmZjOmtGUmJG1ytmUmdu2idmUmdu2idaGmdaZlJa0oc0ZlJa0ofyXmY43mtrHmY4WntyGmY4WntyGmcaWmc0ZlJa0oc0ZlJa0n3PnmtiUmtKGmJqUntmZytmUmdu2idmUmdu2idaGmdeTmY4WndCTmY4WndCGmY4WntyGmY4WntyGmcaWmtmUmdq3ltmUmdq4idmUmdu2idmUmdu2idaGmdeZlJa0ocaZlJa0ocaZlJa1nIaZlJa1nIaWidaXltmUmdq4idmUmdq3EG","5lIl5lIa5BM05lUJ","6Ag65PE26zki5PEl6l2S6kEs5BQM77Yi5BQM77Yj","x3bHCMvUDhm","mZm0mdC0nfHQB0v5va","Bw9Kzq","m0HHEe92Bq","u3DPDgnO","BMv4Da","yM9YzgvYihjVDw5KzwqTBgCGCc0Yign1CNnVCI1WB2LUDgvYigHVDMvYoMjVCMrLCI1IBhvLltuWmcbOB3zLCJPIzY1IBhvLltuWihrYyw5ZAxrPB24TywXSihrLEhqTy2vUDgvY","B3bHy2L0Eq","tgvMDa","mda4","BM9Kzu9YAwDPBG","yxbWzw5Kq2HPBgq","5lIk5lIa5BM0icHdB250CM9S6zsU5yQG5BEM5PA55zcr6zsUkq","DMfSAwrHDgvgAwvSzhm","oJPLEhq6oG","zxjYB3i","zgL2","tK9erv9truXfq1q","B3bZ","C2v0rwrNzxm","yxn5BMnjDgvYyxrVCG","DxnLv2f0y2G","zgvMyxvSDhm","DMfSDwu","57Ut5P2F5A2J5BQM","C2L6zq","zxHLy3v0zq","57Yw6l6roIa","su5qvvq","6k6+5Ash5zU+5Qch","C2v0qxr0CMLIDxrL","DMfSDwvtB3vYy2vdB2rL","mcaWidi1idmY","su1br0u","BwfYz2LU","rxzLBNqGzMXVDYbLEgvJDxrPB24GzxjYB3i6","ChGSia","5ywL5y+c5zcn77Yi5OYj6l+E57Q/6Ag65BQp77YjoIa","BM9qyw5dBgfZC05HBwu","yxnZAwDU","BgLI","57+75yIW5lIk5lIa6Ag177Yi5z+65lQo5B2t5yMn55s75BId77Yj","5yIG6zMK5zco5PEG5Rov5OgI5Asn77Ym5PIV5zcM57UN57UT77YF","AgLKzuf0DhjPyNv0Aw9U","zgv0ywLS","uhjVDMLKzwqGB2jQzwn0igrVzxmGBM90ignVCNjLy3rSEsbPBxbSzw1LBNqGu3LTyM9SlM9IC2vYDMfIBgu","5BEY57Ur5A6A5PwW5O2U5RQq77Ym5A6E6zMf5yc85Bcg5P2L6iEQ5PwW5O2U5A2x5Q61","zxHW","D2HLzwXezwX0yq","5BYa5AEl5BM05lU9","57Ui54k5ifG","y2XPzw50wa","zgvSDgfz","AxndBgLJA2fIBgu6","CMvHzefZrgf0yvvsta","DxjSkcm","5Asw6yoO5PA55Rov","ltiWChG","zxjYB3jZ","DY0XmcbOlteWig9IAMvJDc1JB250ywLU","q29UzMLNrwrPDg9Y","zg9JDw1LBNrfBgvTzw50","55s754k557Q/","5BEY5OMR5O+p","iZi2mJyYnG","CMvJB25Uzwn0ywjSzq","CMvHy3qTzMXVD19FyMfJA2DYB3vUza","BgLUAW","C2vSzwn0q2HPBgq","CMvHy3qTzMXVD19Fy29UBMvJDgLVBG","zgvZDgLUyxrPB24","zgvSzxrHyMXL","C3vJy2vZCW","C2vUDa","lwzSB3DFx2vKz2u","zgf0Dw0","5BEY5yIG6zMK77Ym55U45ywZ54Q25Ocb5BEY6kEJ6zMK5PwW5O2U6zUg57Ur5A6A","ugfYDgLHBa","C2HVDwXKvw5ZDwjZy3jPyMu","AxnwywXPzenVBM5Ly3rPB24","ndbor2XTChq","6kEM5y+r5PA55BYp","zMX1C2G","z3jHyG","qNv0Dg9U","CMvKDwnL","xhmQkfSRlv0/xgqRkvXZkG","5yAf6l656lED","BwvZC2fNzq","BgfZDeLUzgv4","y3jLyxrLu1zhug9PBNq","zxHLy3v0zvnPBMDSzuzSB3DoB2rL","5yIG6zMK5PAh5lU2","Bw91C2v1Cc5KCMfN","lMPZB24","zgLZywjSzuTLEwjVyxjKqteXEq","Dg9W","55wz56M65l2/55sOigfUDgqG6BUy6k6K77YB5AgRidaG6kgO56s65lIn6iEQ5yQO5ywZ6zET","C291CMnLtgfIzwW","77Ym6Ake6kEi5PE25lUL5QIH5P2/5lI65BQv5zci5BM255s75BId44cm5QIH5OUF5PwW5O2U44cn44cc5PwW57Ue5Qc85BYp6zYa5yYf5zcRig5HBwuG5A2x5Q6155sO5lQo6ycj5OUP44cc","DhjHBNnMB3jT","zgLZCgf0y2HfDMvUDa","BgfIzwXtAg93qMC","lM5VA2v5","u2vSzwn0","5AgR5ywf6AkC6iMY77Yi5z+65PYS5B2I54Q277Yj","5lUo57Ur5A6A55Qe5PwW5O2U5lIT6ycj5OUP5A2x5Q61","CMvHy3qTzMXVD19Fy29UDhjVBhmTzML0DMLLDW","ywjZB2X1DguGDg9WltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","zM9YBwf0sgv4oa","6k+35AgR5yAz5Asw6yoO5lQl5lU25Qch6k+g","BwLUwM9VBq","y29UDgv4De1LBNu","y2HHBMDLzfrVDwnOzxm","iIbUB3qGzM91BMqUifvZAw5NigzHBgXIywnRihr5CguGiMrLzMf1BhqIlG","Dgv4Dc1ZBq","igHHBMrSzsbPzdOGiG","yMCTyMX1zs01mcbYAw5NltiGCMLUzY1IBhvLltqWma","C2HPzNrlzxK","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIb0zxH0lwDYyxKTmZaWihrLEhqTEhm","BM9Kzs5Hmtf5rgvZy3jPChrPB24UyxjPyuXPDMvnzxnZywDL","B25dBgLJAW","vw5NCM91Ce91DgXPBMvK","AwrLBNrPzMLLCG","DMLLD3bVCNrjBML0AwfSAxPLza","zgf0ytPPBwfNzs9ZDMCREg1Sla","AgfZ","y2vPBa","57Ur5A6A5yc8","zw5KC1DPDgG","5zYO562B6ycj6Ag55lIT5PcC57sI","twLUAu1HCa","Bw91C2vz","BgfIzwXcz0jVCMrLCLjHzgL1CW","mde1","zgf0ys4","Aw50zxjUywXZ","55+L6ygt5lQg","yM9YzgvY","AxrLBq","C3rLCfbVC2L0Aw9U","yw4GAw52ywXPzcbVyMPLy3q","jsWG","y2XPy2S","Dgv4Dc1ZBsb0zxH0lwjSDwuTnZaW","zwrPDgLUz0v2zw50uM9VDeLK","zMXLEc0XigGTzNvSBcbIzY1NCMf5lteWma","ntmXu3rlCxnd","zML0vMLLD09WDgLVBNm","AgfZqxr0CMLIDxrL","5B2t5yMn54Q25OcboG","AgfZrxjYB3i","CMLUzY00ihjPBMCTyMX1zs00mdaGCMLUzY1VCgfJAxr5ltuW","CMv0DxjU","C2nHBgvcEq","y29SB3i","zhjHDW","CgfNzvK","5A+85ywL5lI65PAW55s75BId77Yi5lIn6kAg55Uw5B2t5yMn55s75BId77Yj","C2TLD1G","55s75BId5yIx6kgO","iZaWmdaWma","5Q+p5lIQ5PwW5O2U6zUg5y+V5lUL5PIViePtt04G5A+56lgH5QIH5P2/77YiuMvJB3jK77Yj5OIw5PwW57Ue44cc54Q25Ocb57Ur5A6A5zco77Ym6kgO6l6+5BYp562+5zcn5lI6","DhjHBNnSyxrL","5PI+56s6572r5Qc8","5Asw6yoO5PA55Rov5Qch6k+g","y2vUDgvYwa","q29SDw1Uv2LKDgHpDxrSAw5Lza","yMCTz3jHEs0Xmda","BgLUzq","AgvHza","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWma","5lIk5lIQ5PYiicJNV7VPOBxKUiRPLk4P","Bwf4vg91y2HqB2LUDhm","BgLUzurYyxDPBMC","igLZig5VDcbHignVBNn0CNvJDg9Yig9Yig51BgW","nNb4idHWEa","zxjYB3iWmdq","yMvMB3jLC3rHCNq","BgLUzvDLAwDODa","rMXVD1jLBMrLCMvY","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg5l2C5lI65PwW5O2U5RQq","ngvgDMfmta","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi4mci+pgvSBgLWC2uGy3G9iJmWiIbJEt0ImtaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJXYzwn0ihG9iJuIihK9iJeWiIb3Awr0Ad0IntaIigHLAwDODd0InJaIigzPBgW9iInMmgyWzJaIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+pgvSBgLWC2uGy3G9iJmWiIbJEt0InZaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJWVC3zNpG","zxHLy3v0B3juExbL","BMv3","Dg91y2GX","B3jPz2LUywXfDMvUDa","56s65l6l5PwW5O2U77YisLnptIdLR7NOSAhMIjBMLBdNU4tVViK","57Ue5zci6ycj5lIT6iQc54k5","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y","yMfZAwm","BM9Kzu5HBwu","CxvLCNLtzwXLy3rVCKfSBa","CMvZDgfYDa","i2y1mJiYza","vgfIBgu","y2XVC2vK","nsW1","rxzLBNqGzMXVDYbLCNjVCJO","zg93BG","Aw5PDev2zw50","AhnSysG","u3rYywLNAhq","zM9UDc1TB25VihrLEhqTC20","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlwWGyM9YzgvYlwDYyxKTmJaW","x2fKzfbHCMvUDa","z2v0rwrNzuLK","rgvSzxrL","jhTSywjLBh3KUi3OG73OVAZMJAlKUlRML6xMNj8","BwvYz2vsDw50Aw1LsgfUzgXLCNm","54k555s757Q/77Yi5lIT5B+d57Q/77Yj","B2jZzxj2zxjZ","zgvSzxrL","C2fTCgXLiePtt04G5PEG5Pwi","mda5","DhjHBNnPDgLVBG","cIaG","Dg9mB3DLCKnHC2u","Ag9YAxPVBNrHBa","yM90Dg9TlxjPz2H0","uhjVCgvYDhLqyw5LBa","B250B3vJAhn0yxj0","Aw5Uzxjive1m","zxzHBhvHDgvtDgf0DxnfEhbYzxnZAw9U","x2v4Axq","5A+g6zUg54k554Q2","5lIk5RI46l+E57Q/oG","rM9YBq","B3jPzw50","x2LK","54MP5PAz5BgE5OcN","yNvIyMXLCW","sxrLBq","yw55","x3n1yNnJCMLIzq","5PAW5BU65PwW5O2U6zUg","BxqTmIbWltiGyMCTyMX1zs01mcbYB3vUzgvKihrLEhqTEhmGDgv4Dc1IBhvLltyWma","CMzFx21PBMLTyxa","B25tzwXLy3rPB25dAgfUz2viyw5KBgvYCW","77Ym5AsA5ywL6l6555sOia","y2XPzw50tgvMDa","6ycj5OUP57Ur5A6A5A2x5Q61","zM9Yy2u","5lYy5ywi5lUo57Ur5A6A5PwW5O2U6iEQ5yQO6i635y+w77Ym5lMF5y+V5OMl5yQO6l6t5ywL","x3zHBhvL","C2vSzwn0qwXS","yM9Sza","DMLLD0jVEa","zwfJAa","zxzLBNrsB290CW","i2yWzJbMma","6k+35AgR5yAz5zcn56EW","C2vSzwn0zwq","DxnLCK5Vzgu","zwXLDMf0zu5VzgvZt25tzwXLy3q","B3DUzxjeB2n1BwvUDa","DhjHBNnPDgLVBIbUB3qGzM91BMq","6l6t5ywL5zU+54MhifvstcdMIjyGrgf0ysbvuKK","5yIG6zMK6k+L5PwW5O2U6zUg77YF","x25HBwu","C2v0twLUwM9VBq","6l6t5ywL54Q25Ocb5zcn56EW","DhjPz2DLCK5Vzgu","5zcm57QN5ywZ57o7","rxnJyxbL","5PAh5A2x6AkC6iMY","5PQc5PEG5PwW5O2U","yM91BMreyxrHC2v0qMLUzenVzgu","vg9Nz2XLieLUDgvYywn0AxzPDhK","CMvHy3qTzMXVD19FDMLLD3bVCNqGEhLMBg93x192Awv3Cg9YDcbYzwfJDc1MBg93x19JB250ywLUzxi","mdeX","zgLZCgXHEu5HBwu","C291CMnLrxzLBNq","5yAf572U5yQO5l2C","Dgv4Dc14CYbTyI0X","y3jLyxrLrgvMyxvSDe5Vzgu","yxv0B1bHBK9Uq29UBMvJDa","C2HPzNq","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCG","y2XPzw50wq","5A2q6iQc54k5ia","ig5VDcbMB3vUzc4GugXLyxnLig1HA2uGC3vYzsb0Agf0ihbHCMvUDcbUB2rLCYbHCMuGAw4GzNjVBNqGB2yGDgHLAxiGy2HPBgqGBM9KzxmGAw4GDgHLig5VzgvZigfYCMf5lG","q3jVC3m","z2v0u3rHDgu","zw5HyMXLza","qxjYB3DvCe91DgXPBMvK","5Asn5yI25OIq5yQF","BM9KzxneCMfNz2fIBgu","C3rHCNq","C3rHCNroB2rLwa","ywjZB2X1DguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWigjNlwjSDwuTntaWlZeWihbVAw50zxiTzxzLBNrZlw5VBMu","C3rVCfbYB3bHz2f0Aw9U","C2v0rgvMyxvSDfj1BNrPBwviyw5KBgvYCW","C3DPDgnOq2fUDMfZ","EKLUzgv4tw9Kzq","mcaWidrWEcbYz2jHkdaSmcWWldaUmYK","DxnLq2fSBgjHy2S","BxqTmIbWltiGyM9YzgvYihjVDw5Kzwq","y2XHC3noyw1L","CgfUzurYywDNAw5N","zM9YrwfJAa","DMvYDgLJywW","CMzFx2nVBNrYB2XZ","zwrNzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","AxnqCMLTyxj5","z2v0vMfSDwvgCM9Tugf0Aa","Dg91y2HTB3zL","C2v0qxr0CMLIDxrLCW","u2HPzNq","BwvYz2vezwzHDwX0uNvUDgLTzuHHBMrSzxjZ","DY1MDwXSigGTndGGCc0ZigjVCMrLCIbIB3jKzxiTz3jHEs0ZmdaGCM91BMrLzc1SzYbMB250lw1VBM8GDgv4Dc1ZBsbYzxnPEMuTBM9UzsbMB2n1CZPVDxrSAw5Llw5VBMuGzM9JDxm6CMLUzY0YigzVy3vZoNjPBMCTyMX1zs01mda","q3vZDg9TrxzLBNq","zMLSBenVBg9Y","BMfUB2LK","x2fJDgL2zq","z3jLzw4","57+75yIW5lIl5lIa6Ag177Yi5z+65lQo5B2t5yMn55s75BId77Yj","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+phbHDgGGzd0ItteWidiWieWZmcaXmcbmntaGmJaGtduWidqWieWZmca1mcbmmtaGndaGwIiGzMLSBd0Ii2jMyMzIzIiGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIlZ48y2LYy2XLign4psiZmciGy3K9iJmWiIbYpsi4iIbMAwXSpsiJmtG5mgzMiI8+pc9ZDMC+","Bw91C2vfBNrLCG","jhTSywjLBh3MLBdPH4/POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","5PwW5O2U5QIH5OUF","6k+36ycj5OUP5yAf572U5yQO5l2C","CMvHy3qTzMXVD19FBM9Kzq","lY8G5y+V55sO5y+c5PwWoGOVlYbUB2rLic0G6kEM5y+r5lQl5lU255Qe6iQc54k5cI8VignVBNrLEhqGlsdKUOVKU7BKUiRKUiVMLOCklY8GyxjNCYaTios8OowfPEEAHowpGUAvSaOkCMv0DxjUigfYz3m7","6Ag75lI6jhTSzw595lIQjhTSywjLBh0","zNvUy3rPB24","x3bHCMvUDgfNzq","twfJ","C3zN","A2v5Dxa","ywjZB2X1DguGyM90Dg9TltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","AxnjBNrLCM5HBa","zxzLBNruExbL","AgvPz2H0","Bwf4wM9VBq","B25oB2rLrg91yMXLq2XPy2S","C3LZDgvT","6iEQ5A6A5lMj","BwfYA2vY","B25tzwXLy3rPB25eCMfN","yxjYB3DJBg9Zzwq","ChvYCgXL","CMHV","zNjVBq","ChGPihnJywXLka","Dgv4DenVBNrLBNq","x2vUDgvY","AwXSzwDHBcb0ExbLoIa","Aw5Zzxj0qMvMB3jL","rxzLBNrgBg93qMLUzgLUzW","C2HVD0DYAwq","57Ur5A6A54MP5PAz","sxrLCMfIBguGy2fUBM90igjLig51BgW","ANn4","iI8+pc9ZDMC+","ywjZB2X1DguGDY0ZigGTmYbIzY1IBhvLltuWmcbIB3jKzxiTmIbIB3jKzxiTD2HPDguGCM91BMrLzc1MDwXSign1CNnVCI1TB3zLihOTnta","5zcr5yMniduG6Ag1","BM9YBwfSu3r5Bgu","lNH5zMXVD19FDMLLD3bVCNq","u3DHCe91DgXPBMvK","DhjHBNnSyxrLwcGTntaLkq","z2v0qKjVEa","5OMa5PYj57Ur5A6A5Q2K5PwW5O2U6zUg55Qe54Q25Ocb5Bcg6iEQ5yQO6kEJ6zMK57Ur5A6A44cc","ywjZB2X1DguGlxrVCc02igXLzNqTmcbIzY1IBhvLltuWmcb0zxH0lxDOAxrLihrLEhqTEhmGChGTmIbWEs0WlJuGCM91BMrLzcb3AgL0zxnWywnLlw5VD3jHCa","qxjYB3DeB3DU","CgfYC2u","6ycj5OUP5BEY5RoO5yAm55Qe5Asw6yoO5PA55Rov","CMvJDa","y2XLyxi","5ywO6ycj5B2t6Ag1","twvZC2fNzsdMJ5dNPlO","CMvZAxPLrgLYzwn0Aw9U","z2v0t3DUuhjVCgvYDhLtEw1IB2XZ","5yc85P2L5RQq","DgHYB3C","z2v0u2vYDMvYu3rHDgu","zg93BMXVywq","y29UDhjVBhmUEM9VBu91Dc5HCMLHtgfIzwW","C21HBgW","5A2x5Q615PwW","BxqTmsb0zxH0lwfTyMvYltGWma","zw1PDev4DgvYBMfS","5lQl5lU25Rwb57Yw6l6r5zMO","u21VB3rOu3rLCevKz2vjBNrLCM5HBa","C25HCfrVr3jPza","y29UBMvJDgfIBgvLBMq","56YSideG6kgm5A+55BQu56YSideG5P2H5OYh5zcr5PYS5z2x55Qe6l+E57Q/77Ym56YSidiG6kgm5A+55BQu56YSidiG5P2H4OcM4OcM77Yi6Ag65BQp5lIo55s75BId6l+E57Q/5RE75yQG6Ag65BQp5lIa6iE077Ym5ywi6l+E5zYO5yMn77Yj44cc5lIn5RE75yQG6kgm5PE277YA5y2v5ywL6l6555sO","B25qB2LUDgvYrg93BG","Dgv4Dc1SzYbMB250lxnLBwLIB2XKihrLEhqTz3jHEs04mda","zxHWyw5Kzwrszwn0","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvKoG","twfYA2vYrgvMAw5PDgLVBNm","y2XHC3m","6iQc54k55zcn56EW","yMCTD2HPDguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWihjVDw5KzwqTBgCGCc0Zig1PBI13lvSXodbWEf0GC2HHzg93lw1K","vgfICW","zxzLBNrcBg9JAW","Aw5JBhvKzxm","5lQl5lU25z2x5BEY5PU05PAW","vhjHBNnMB3jTv3jHChbLCG","6ycj5OUP5PwW5O2U6zUg","Bs9ZWRi","y29UBMvJDgfIBgu","wvLzwq","zxjYB3iWmdi","Bw92zwq","C3r5BgvuD2vLBG","zML0vMLLDW","zM9UDc1TzwrPDw0","C3rHDhvZswq","6l6t5ywL5yc85PAh5PYS","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24TCMvJDa","y2fUDMfZ","5A2x5l2t57kx57Ug","5PwW5O2U5RgG","y2fUDMfZq29UzMLN","5l6l5AAc77YACMvMCMvZAcdMIjyGCgfYzw50oNjLBg9Hza","Aw5WDxrZ","zgf0yvbVB2W","vw5ZDwjZy3jPChrPB25fCNjVCG","CM90yxrL","Cg9ZAxrPB25byNnVBhv0zq","DhjHBNnSyxrLwq","zNjVBu5Vzgu","6k+36ycj5OUP5BEM5l6N5lIa5lIQ5zcm57QN5ywZ57o757Ue","AxntzwXLy3rLza","CM90yxrLka","uhjVBwLZzq","u3bHy2u","DhjHBNnSyxrLqNK","ioIHJowHQ+wgMEwpGUAvSowqJEwnS+wpR+IhQUwUMUs5IEMuRUwqJE+8IoMHU+s4JUwfPEI+UEMHUUw6J+s4GoIhTo+8IEoaGG","twv0yq","Bwf0CML4vhjHBNnMB3jT","y2XPzw50v2LKDgG","C3r5BguU","C2v0vhjHBNnSyxrLrxH0zw50","zxjYB3iWmde","5lIl5A+56B2q","Dgv4Dc14CYb0zxH0lwDYyxKTndaW","jhTSywjLBh3KUi3MMk/KUidKUkRMNiNMLyJNMOqKE3r5Cgv9","ufjfu0vovevex0LnquDfx1njtvbmrq","C3bHy2uTEs0Z","EfnUyxbWzwq","rNjHz21LBNq","iIbYEd0ImJaIlZ48l3n2zZ4","y3vYDMf0DxjL","Dgv4Dc14CW","C2vSzwn0zwroB2rLswq","DxnLCLnWywnLt25vC2u","CMvHy3qTzMXVD19FBM9Kzs1KzxnJ","lwzSB3DFx2HHBMrSzq","C3rYB2TLv2LKDgG","Aw52ywXPzcbJywXSyMfJAZOG","r3jVDxbpDxrSAw5Lza","C3r5Bgu","y3vYC29YlwnYB3nZAgfPCG","zw1PDa","CMvHy3qTzMXVD19Fy29UDhjVBhmTyNv0Dg9U","yMLUze5VzgvfDMvUDa","zxzLBNrcBg9JA0LK","C2v0vhjHBNnMB3jT","iZe4otbMzG","6BYG5Qch56E75ywL","q291BgrUj3qGy3jLyxrLigvKz2uGzM9Yia","55UU5Qch55s75BId","yxnpyNnLCNzHyMXL","sxqGC2vLBxmGDgHHDcb5B3uGyxjLihrYEwLUzYb0BYbKCMfNigeGBM9Kzsb0Agf0igLZig5VDcbPBML0AwfSAxPLzc4GugXLyxnLihvZzsbVBK5VzgvZq2HHBMDLigfZigv4CgXHAw5LzcbPBIb0AguGzg9JCY4","5Rc05BMZ5yIg5BId","CMzFx25VzguT","rw1WDhK","zMXVD0rHDge","Aw1Tzxi","zgvNkq","z2v0uMvHzgvY","C29Tzq","5A+85ywL5OIq5yQF77Yb","rwrNzsb0ExbLici","5yIG6zMK6ycj5lITicHezwXLDguP","6ycj5OUP5PAW54MP5PAz","5PQc5PEG5PwW5O2U6zUg77Ym6k+354k55yE744cm5PAW5BU644cn","6l6t5ywL5Qch562+5PAh5PYS","CMvZAxPPBMC","BM9Kzq","5PYQ55+L55s75BId","y2HLy2TfCxvHBgL0Eq","zxzLBNrcBg9JA3m","u3rLCa","vevyva","BgLUzs1KCMf3","t2jQzwn0igLZig5VDcbPDgvYywjSzs4","DMfSDwvgB250u2L6zq","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBw91Da","qMfJA2DYB3vUza","Dg91y2HLBMqUEM9VBsb0B3vJAgnHBMnLBc56B29T","C2vSzwn0zwrfzgDLCW","D2fYBMLUzW","BgLUzvr5Cgu","DY1MDwXSigP1C3rPzNKTzw5K","vMvYDgLJywW","5Qgg6ycj5QIH5BYp","5y+V6ycj77YA57Ur5A6A5zco6kgO6l6+5BYp5lIT55QeigrHDgeG5lYA5ywi5zci5BM26k+L5PwW5O2U6zUg55QeihnHBxbSzE+8JowgJEwqIow5TUEuU+w4G+s8OowfPEEAHoI/KoIHJoAxTUAvSoAnRUoaGUs4JEE7KEwUMUAxTIbKyxrHios7HEADPEIhQUI/KoIHJoAxTUoaGG","Dg9qB3nPDgLVBG","DxnLu3LUy0v4DgvYBMfSu3rVCMvxAxrOu2vSzwn0B3i","CxvLCNLtzwXLy3rVCG","w2rHDgeTAgfUzgXLpsjZDgfYDcjD","ChjLDG","DgL0Bgu","vgv4DefYzwe","CMvHy3q","DgHPy2TUzxnZ","zwXLDMf0zuvKz2vZt25tzwXLy3q","zhjHz2DHyMXL","AxntDg9WCgvK","B25oB2rLtw91C2vfBNrLCG","zMXPCfK","ywjZ","u2LTCgXLqMv6AwvY","Dg91y2GW","twvZC2fNzsdLHAJLSydMJ5dNPlOGkgfUDgqP","CMvHy3qTzMXVD19FAgfUzgXL","y3vYCMvUDfn0yxr1C0LK","C2LIBgLUz3m","zgvZDhjVEq","r3jHCgHwAwv3","C2vSzwn0ywjSzq","twf0zxjPywXqyw5LBa","6k+35Rgc5PwW5O2U","zgv2zwXVCg1LBNq","rwrNzvrLEhq","zgf0yq","lxDLyMTPDc10yxaTAgLNAgXPz2H0lwnVBg9Y","6k+35ywi57Ur5A6A5PwW5O2U6zUg","yNvPBhrPBKnVBMzPzW","zgvMyxvSDevKz2vpChrPB25Z","C25HCeDYAwq","57Ui54k5ifK","DgfYz2v0ug9ZAxrPB24","C3rYAwn0","ugfUzwW","y29UBMvJDgLVBG","B2jZzxj2ywjSzq","55s75BId5A+85yE65OIq5yQF77Yb","B3bLBG","Aw52zxj0","zg9Tqxr0CMLIDxrLCW","mcaWidmYidmY","BwLUwa","x2zPBMfSAxPLCNm","54k55yE75yI35PAW","5lIk5lIa5BM05lUJ","y3jLyxrL","xcKK","kgrHDgePid0+igjVB2XLyw4","mtaWjq","5BYa5AEl5A2J5BQM","Dg91y2HLBMqUzhjHzYb0B3vJAgnHBMnLBc5KCMfN","5l6l5AAc77YABg9HzfrYzw5K44cbzMv0y2HezxzPy2vmAxn0","y29UBMvJDgLVBK1Vzgu","6ycj5OUP5PYi5lU9","DxnLtwvTBW","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWmcbYB3vUzgvK","zgLZywjSzwq","BgLUzwfY","DgfWrgLZDgfUy2u","ioMHUsK","DgfYz2v0q2fUDMfZswq","vxbSB2fKignHBMnLBgXLzcbVCIbMywLSzwq6","57Ut5P2F5A+86kEi","Dgv4Dc14CYb0zxH0lwjSDwuTntaWigzVBNqTyM9Sza","6k+36ycj5OUP5A2J5BQM","BgLNAhq","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg","BwWTmG","DhDLzw4","vxbSB2fK","C2nHBguO","Dg91y2HTB3zLlNPVB20","zxzLBNrgBg93","zgf0ytPPBwfNzs9ZDMCREg1S","DY1MDwXSigGTzNvSBcbMBgv4igzSzxGTy29SigP1C3rPzNKTy2vUDgvYigDHCc0X","y2LYy2XL","xNjNyLWO","w0rfufjfq0fururDifrOzsbGzgvZDhjVEwaGBwv0Ag9KihDPBgWGyMuGDw5ZDxbWB3j0zwqGAw4GysbMDxr1CMuGDMvYC2LVBI4Gsw5ZDgvHzcb1C2uGDw5ZDwjZy3jPyMuGzNvUy3rPB24GCMv0DxjUzwqGyNKGC3vIC2nYAwjLlIbfDMvYExrOAw5NihDPBgWGyMuGz2fYyMfNzs1JB2XSzwn0zwqGAwyGC3rVCMuGAxmGz2fYyMfNzs1JB2XSzwn0zwqU","zM9UDc1Zzw1PyM9Szcb0zxH0lwDYyxKTnZaW","qwXPz25sAwDODe91DgXPBMvK","y29UC3rYywLU","z2fTBwe","8j+sOsdMJ5dNPlRVVjRNGRNLH7VNU5JLIlBNUR/MRRxVViZLJ6/OV57NU63NU5JLIlBLPjRMRRxNUR/VViZLJ4ZLH7VNU5pMNz/NU5JLIlBVViXfu0mG5y+w5RAi","y2HLy2TIB3G","B25czwzVCMvezwXLDgu","DgLTzxi","tw9KDwXL","y2XPy2TeAxn0yw5Jzq","zw50CMLLCW","6k+35AgR5yAz5O+q56s65yAf5A65","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltm","Bw91C2vKB3DU","ChGS","AwnVBG","CgvUzgLUzW","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94BgLUAW","5ywO6ycj5OMa5PYj","DxnLtgf5B3v0rwzMzwn0","mtjWEcaW","DxjSkcnNCMLKkq","Cg9PBNrLCLG","6ycj5OUP6k+L5A2x5Q615A+55BQu55Qe5yw35l2t5yc85lUL5A6A5l2n5PwW5O2U6Ag5","CMvHy3qTzMXVD19FBwLUAw1HCc1ZDMC","y3vYCMvUDfrHCMDLDa","5y+V6ycj5lIT","BM9KzuLK","y3jLyxrLrwXLBwvUDe5t","5PAW5lQl5lU25z2x","B2jQzwn0ihvUC3vIC2nYAwjLza","zMXLEc1ZDgfYDa","B25ZzwXLy3rZDgfYDa","zgvMyxvSDevKz2vZ","B3jPz2LU","x2vYCM9Y","z2v0vMLLD3bVCNq","y3vYC29YlwDYywi","Dw5VyNnLCNzL","CMzFx2jHy2TNCM91BMq","BxqTna","Ahr0Chm6lY9YzwfJDgzSB3CUzgv2","CgfYyw1ZtMfTzq","C3rHy2S","CMvHy3qTzMXVD19FzwrNzq","5lIl5lIa6Ag1","CMvHy3qTzMXVD19FyxjPys1SAxzL","C2vSzwn0q2HPBgrYzw4","DgHHDa","yxrHBJi","CMvTB3zLq2HPBgq","77Yi5y+V6ycj77Yj","mdeZ","B25tzwXLy3rPB25eCMfNu3rHCNq","576K57Ue6iQc54k5","57Q/5P2H57Uy5yI2","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbVDMvYzMXVDY1OAwrKzw4","DhjHBNnMB3jTu3rHDgu","Aw1N","ltuSltqGmcWWic01ldqGltuSltq","CMvTB3zLrxzLBNrmAxn0zw5LCG","zwrNzuLUzgv4","54Q25Ocb6kgO6l6+5BYp5OMN6kgm5AsX6lsLifS","BM93AgvLBa","54MP5PAz5BQt","B3DUzxjtvKDfBgvTzw50","w2rHDgeTAgfUzgXLpsjLBMqIxq","Bg9N","Dg91y2G","wM9VBuLUt3v0BgLUzwq","EM9VBq","zw5Kwa","y29UDhjVBhmUEM9VBuLUlMfYAwfmywjLBa","Bw91C2vmzwf2zq","y3rYBeTLEq","C3bHy2u","54k55yE76zMn5BQp","C3zNigXPBMu","y29UDgv4Dg1LBNu","rwrNzvjLBMrLCMvY","DhjHBNnWyxjLBNqSicnMzMySihvYBcGUlI4P","u3LTyM9SlML0zxjHDg9YigLZig5VDcbKzwzPBMvKlG","jhTSywjLBh3MNidLSi/LGlZKUlOKE21PBN0","zM9UDfnPEMu","lMfUDc1ZzwXLy3qTzhjVCgrVD24","C2vSzwn0tM9KzxnpBKrYywC","5lIl5lIa5BM0icHdB250CM9S6zsU5yQG5y+Z5PA55zcr6zsUkq","AhjLzG","yw50za","jhTSywjLBh3POBVLNkGKE21PBN0TjhTTyxH95A2x56YM5lMl6zE0","6ycj5OUP5yw35l2t5yAf572U6io95yQB","ksb0CMfUC2XHDguO","ANn4uNvUDgLTzq","Dgv4Dc1SzYbMB250lwjVBgqGDgv4Dc1NCMf5ltuWma","yxbWBgLJyxrPB24VANnVBG","BM93","teLorq","C2LU","6ycA6Akr5yQG6ycF5BQM5PYj5Pwi5yc8","6lEZ6l2SoIa","C3rYAw5N","Cg9W","ios4JEwTMowCQa","ug9Wy29UzMLYBq","B2zMC2v0","D2LKDgG","6iEQ5A6A5lMj57Ue5lU2","zg90CW","yxjYB3C","zgLZy29UBMvJDa","ChjVzhvJzq","C2vJB25Kyxj5","Eg1SBNm","x3jLBw92zvbHCMvUDa","6ycj5OUP5BM05lUJ","y2XVC2vZDa","q29UC3vTzxi","C3rVCa","DhjHBNnSyxrLrxH0zw50","6iQc54k55PwWoIa","q29UDhjVBa","BxqTncbMBgv4igP1C3rPzNKTzw5K","Bw91C2u","B25oB2rLrhjHz1n0yxj0","zxHLy3v0zuv2zw50rMXVDW","CMvUzgvY","C3rHCNroB2rLwq","Aw52ywXPza","z2v0uhjVDg90ExbLt2y","zhjHz3n0yxj0lMrYywC","x+EkTUAaGq","6ycj5OUP5OIw5yIB5BU65lQl5lU25Rwb","CMvHy3qTzMXVD19FBwLUAw1HCc1KzxnJ","CNvUDgLTzuHHBMrSzxjZ","qgfUDc1KzxnPz24VAwnVBNm","CMvHy3qTzMXVD19FzwrNzs10zxH0yMC","yMfZzwXPBMu","zw5KlNn0EwXLlG","DxnLrgvIDwDwywX1zq","CgfYzw50tM9Kzq","C3vIC2nYAwjL","Aw1Hz2uV","yMfJAW","Ac1MDwXS","5yc85PAh5PYS","y2fUy2vS","x2nHBgW","5lQl5lU25Rwb","i2zHogmXnG","B25oB2rLrhjHz1n0B3a","t3b0Aw9U","mNb4ihnVBgLKicmXodKWzMy","qeb0B1bYAw1PDgL2zsbTDxn0ihjLDhvYBIbHihbYAw1PDgL2zsb2ywX1zs4","C2v0vMLLD3bVCNq","ChvZAa","Bw91C2vvCa","zgvIDwC","l2rPC3qVC3r5BguUy3nZjYbVCIbIyxnLlMnZCYb0BYbTywTLihn1CMuGzxzLCNL0AgLUzYbPCYb3B3jRAw5NihbYB3bLCMX5lG","Bgv2zwW","57Ue5yAf55s75BId77Yi5OYj6Ag65BQp57+76Ag177Yj","cIaGicaGicaG","x19UzxDFxW","tw9KywW","re9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO","ww91igfYzsb1C2LUzYbHBIbVDxrKyxrLzcWGChjLlxjLBgvHC2uGywXWAgeGB2yGuMvHy3qGmtGGDgHHDcbKB2vZig5VDcbZDxbWB3j0ihvZzvn5BMnfEhrLCM5HBfn0B3jLlIbuAguGDxnLlxn5BMmTzxH0zxjUywWTC3rVCMuGC2HPBsb3AwXSig5VDcb3B3jRignVCNjLy3rSEs4GvxbNCMfKzsb0BYbHig5LD2vYihbYzs1YzwXLyxnLlG","C2v0u3rHDgu","AgLKzgvU","DxnLCKfNzw50","DxnLq29UDgv4Da","ChjLDMLLDW","CMvZzxq","C2v0uhjVDg90ExbLt2y","5z+656ga5B2I54Q2","lNjLywn0lwzSB3C","cIaGicaGicaGica","ieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCIm","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWma","Axnoyu4","BM9Kzvr5Cgu","C3rHCNrbBMDSzq","x25LEhq","6k+36ycj5OUP55UU5Qch55s75BId","Dgv4Dc14CYb0zxH0lwDYyxKTntaWig1Ilti","zgvMyxvSDe5VzgvZ","zML0vMLLD1jLC29SDMvY","CMLNAhq","zw5Kug9PBNq","Bw91C2vy","BwLUAw1HCc5HCMLHtgfIzwW","5yc85Qc35BYp","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iIm1mMm0mweIlZ48l3n2zZ4","B2zMC2v0v2LKDgG","BgLZDa","yxv0BW","BwiTncbWltmGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKigjNlwjSDwuTntaVnta","x2nVBxbSzxrL","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltq","CMv0DxjUig51BgW7","qebPDgvYyxrVCG","x19WCM90B19F","5y+c5PwW5zcn77Ym5AAciee","A2vLCefZCgvJDfjHDgLV","5PwW5O2U5A2x5Q615PEG5yc85PE25PI+56s65Q2K5Ash55sO5yc8","5lIk5lYG5zU+54Mh","mdeW","5PQc5PEG54MP5PAz","mdaX","yMfJA2DYB3vUzenVBg9Y","x19KyxrHx18","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs04","jhTSywjLBh3KUi7MQkhLVi/KUi3LJlNPHy0KE3bHDhrLCM59","CMvZAxPL","5OMN6kgm6kgO6l6+5BYp","rw50zxi","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVViZPOBSGCMv0DxjUihrYDwuVzMfSC2xVVjVMTyVNGRNMLBdNU4tMJiKGCgfYyw1Zq29KzsdLKiJLUBBOV5SGzgf0yEoaGG","B25oB2rLq2XPy2S","z2v0qM91BMrPBMDdBgLLBNrszwn0","B25oB2rLtw91C2vnB3zL","55s75BId5A+85yE65AsX6lsL","5A+85ywL55s75BId","5PYQ5RoO5yAmigrHDgfszxf1zxn0iowKHoEqHUwzQdOG","y29WEq","x2HHC1bHCMvUDa","5BEY5zcV55sO","Aw5qCM9NCMvZCW","CM9VDfbHCMvUDeLUzgv4","x25HBwvZ","Ac1MDwXSigzSzxGGAxrLBxmTy2vUDgvYigP1C3rPzNKTy2vUDgvYigjNlxDOAxrLigjVCMrLCI1SigjVCMrLCI1NCMf5ltiWma","C3rHDhvZtgLZDa","zwfZzq","Aw50zxjYDxb0","vgHLihjLC3vSDcbVzIbNzxrtBMfWC2HVDcbZAg91BgqGyMuGy2fJAgvKihrVigf2B2LKigfUigLUzMLUAxrLigXVB3a","CgHHBNrVBq","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMuGB3zLCMzSB3CTAgLKzgvU","54Q25Ocb5zcn56EW","ywzMzwn0C1K","zwrPDa","zgfYAW","y29TCgXLDgu","Bwf0y2HLCW","zxzLBNq","u0vmrunu","zMXLEcbMBgv4lwnVBa","DhjHBNnSyxrLka","D2HLzwW","Cgf0Aa","5lQl5lU25Rwb57Ur5A6A","C2nHBgvyka","sgfUzgXLoIboBYbUB2rLigLKigzVDw5KlIbnywTLihn1CMuGDg8GB25SEsb1C2uGysbiyw5KBguGAw5ZAwrLigeGy3vZDg9Tie5VzguU","CgfZDa","Bw91C2vTB3zLlNPVB20GBw91C2v1Cc56B29T","BM9Wyw4","Cgf0Ae9WDgLVBNm","5PQc5PEG5lQl5lU25Rwb57Ur5A6A","C2nHBgvy","y3jLyxrLrxzLBNq","z2v0","DMfSDwvtDhLSzq","DMLLDW","qebVyNnLCNzHyMXL","zxzLCNK","B25dBgLJA0nVBM5Ly3rfBMq","rgL2AwrLCG","B3jKzxi","yxjNCW","CMDI","Ag92zxi6yMCTz3jHEs0Xmda","C3vWChjLC3nLza","BwfUDwfS","ywjZB2X1DguGDg9WltaGBgvMDc0W","C2vSzwn0C3rHCNqUzhjHzW","zgvMCW","sgfUzgXL","Aw5KzxHpzG","6BYG5Qch6l+B5ywL","57Ue5yAf6l+y5RkH5PYj55s75BId77Ym5lUo5lIk5PA56ycj5OUP5yQG5ywL","AM9PBG","ywjZB2X1DguGyM90Dg9TltqGCMLNAhqTncb6lteWigjNlxDOAxrLihjVDw5KzwqTBgCGC2HHzg93lwXNihaTmG","zxjYB3iWmdm","jhTSywjLBh3LV4xPOBVNRyNKUO4KE2XLBN0","yMCTz3jHEs01mcbYB3vUzgvKlwXNihaTmYbIB3jKzxiGyM9YzgvYlwDYyxKTmJaW","Dgv4Dc14BcbMB250lwjVBgqGDgv4Dc1IBhvLltyWma","Bw9KztO","C3bHy2uTEs00","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBwLU","imk3ia","tKvhqvrjvKvFsu5gsu5jvfK","ywrKrxzLBNrmAxn0zw5LCG","CgWTmsbIB3jKzxiTBc0YigjVCMrLCI1HBwjLCI0Ymda","Bwf0zxjPywWTChjLDMLLDYb3lteYigGTmtiGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Jzw50zxiGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwDYyxKTmJaWia","oMzVy3vZlxzPC2LIBgu","zxHWB3j0CW","5PAh5PYS5yAf5A65","u2LTCgXLqMv6AwvYrwrNzuLUDgvYBMfS","Bw91C2veB3DU","ChGG","AgfUzgXLCW","B25dB25Uzwn0","CMvSyxrPDMuG","5PYQ6ywn572U55UU5Qch55s75BIdieLe","B25oB2rLtw91C2vmzwf2zq","y29UDgfPBG","CgfYzw50swq","Ac1MDwXSigzSzxGGzMXLEc1JB2W","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iImXodKWzMyIihj4psi0iI8+pc9ZDMC+","y29YBMvY","DhjHBNnWyxjLBNq","DhLWzq","CMvNAxn0zxjfDMvUDejSB2nR","lNn2zW","ChjVBwLZzq","5OUw5OU96lcd5Pw06lw354k5","zgLYzwn0Aw9U","Dgv4Da","CMvHy3qTzMXVD19FBwLUAw1HCc1TyxnR","A2v5zg93BG","q29UBMvJDgLVBKXPBMu","zw5HyMXLrxzLBNrgBg93","CgfYzw50","DgfYz2v0sgfUzgXL","zxH0zxjUywW","55sX6kgO6l6+5BYp6iEQ5yQO6k6H566x","Dg91y2HZDgfYDa","BwiTma","rhjHz091DgXPBMvK","jhTSywjLBh3MNidLSjeKE21PBN3KUkRLRzFNRky","BM9Kzs5Hmtf5rgvZy3jPChrPB24UA2v5yM9HCMreAxnHyMXLza","B25oB2rLC0nOyw5Nzq","y2XVC2vKlq","md3MSltLUBpLKjhLJ7pVViW5md3LNOlNM7tLKjhKUiVVViZKU4xNLkJKUO7MOlNMJA7OTBFNGRNLKOZPLB/LUQBPH43MLRdORQhNRPFNU4JNGRK","zxHWyw5KugfYzw50","y29UzMLN","y29UBMvJDe9Uq2XPy2S","zMXVB3i","Aw50zxjWB2XHDgu","5Asw6yoO5lQl5lU25Qch6k+g","zhjHz2DPBMC","zw5K","Bwf0CML4","zgvMyxvSDfzPzxC","zw5Kwq","yMCTD2HPDgu","x3bHCMvUDa","CMvHy3qTzMXVD19FCMvUzgvYzxi","zMLSBgvK","C3jJ","5lIk5lYGifnwrW","CMvZB2X2zq","y2XVBMvoB2rL","x19UB3nLBgvJDa","6BUy6k6K54Q25Ocb","5PQc5PEG5PwW5O2U6zUg77Ym6k+35OMt5BYa44cm5PwW5O2U5RgG44cn5RE75yQG"];return _0x5257=function(){return Se},_0x5257()}const s=_0x5590;var mn=document[s(2142)](s(1476));mn.textContent=`.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}.inline-flex{display:inline-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-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / 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)}.outline{outline-style:solid}.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 }.blur{--tw-blur: blur(8px);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)}.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[s(1191)][s(1032)](mn);function Vn(e){const n=s;return e&&e[n(488)]&&Object.prototype[n(911)][n(414)](e,"default")?e.default:e}var l0={},E0={exports:{}},U0;function qn(){const e=s;return U0||(U0=1,(function(n){const t=e;function o(x){return x&&x[_0x5590(488)]?x:{default:x}}n[t(1896)]=o,n[t(1896)][t(488)]=!0,n[t(1896)][t(384)]=n[t(1896)]})(E0)),E0[e(1896)]}var Wn={},fr;function Cs(){const e=s;if(fr)return Wn;fr=1,Object[e(593)](Wn,e(488),{value:!0}),Wn.default=void 0;const n={items_per_page:e(890),jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:e(678),next_page:e(1650),prev_5:e(1378),next_5:e(2093),prev_3:e(1994),next_3:"向后 3 页",page_size:"页码"};return Wn.default=n,Wn}var Xn={},Kn={},Zn={},Rn={},hr;function Ms(){const e=s;return hr||(hr=1,Object[e(593)](Rn,e(488),{value:!0}),Rn[e(2045)]=void 0,Rn[e(2045)]={yearFormat:e(1425),dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),Rn}var gr;function Bs(){const e=s;if(gr)return Zn;gr=1,Object[e(593)](Zn,"__esModule",{value:!0}),Zn.default=void 0;var n=Ms();function t(a){"@babel/helpers - typeof";const u=e;return t=u(1347)==typeof Symbol&&u(2012)==typeof Symbol.iterator?function(f){return typeof f}:function(f){const b=u;return f&&b(1347)==typeof Symbol&&f[b(575)]===Symbol&&f!==Symbol[b(2107)]?b(2012):typeof f},t(a)}function o(a,u){const f=e;var b=Object[f(999)](a);if(Object[f(1394)]){var g=Object[f(1394)](a);u&&(g=g[f(815)](function(w){const h=f;return Object[h(1211)](a,w)[h(1015)]})),b[f(1759)].apply(b,g)}return b}function x(a){const u=e;for(var f=1;f<arguments[u(2179)];f++){var b=arguments[f]!=null?arguments[f]:{};f%2?o(Object(b),!0).forEach(function(g){r(a,g,b[g])}):Object[u(823)]?Object[u(2046)](a,Object[u(823)](b)):o(Object(b))[u(1322)](function(g){Object.defineProperty(a,g,Object[u(1211)](b,g))})}return a}function r(a,u,f){const b=e;return u=i(u),u in a?Object[b(593)](a,u,{value:f,enumerable:!0,configurable:!0,writable:!0}):a[u]=f,a}function i(a){var f=c(a,e(1705));return t(f)=="symbol"?f:String(f)}function c(a,u){const f=e;if(f(878)!=t(a)||!a)return a;var b=a[Symbol[f(2038)]];if(b!==void 0){var g=b[f(414)](a,u);if(t(g)!="object")return g;throw new TypeError(f(1757))}return(f(1705)===u?String:Number)(a)}var d=x(x({},n[e(2045)]),{},{locale:e(367),today:"今天",now:"此刻",backToToday:e(472),ok:"确定",timeSelect:e(422),dateSelect:e(380),weekSelect:e(769),clear:"清除",week:"周",month:"月",year:"年",previousMonth:e(1193),nextMonth:e(2097),monthSelect:e(1580),yearSelect:e(2022),decadeSelect:e(1719),previousYear:e(1033),nextYear:e(1691),previousDecade:e(1571),nextDecade:e(1019),previousCentury:"上一世纪",nextCentury:"下一世纪",yearFormat:e(459),cellDateFormat:"D",monthBeforeYear:!1});return Zn[e(384)]=d,Zn}var Jn={},br;function yr(){const e=s;if(br)return Jn;br=1,Object[e(593)](Jn,e(488),{value:!0}),Jn[e(384)]=void 0;const n={placeholder:e(643),rangePlaceholder:[e(667),e(477)]};return Jn[e(384)]=n,Jn}var mr;function wr(){const e=s;if(mr)return Kn;mr=1;var n=qn()[e(384)];Object[e(593)](Kn,e(488),{value:!0}),Kn[e(384)]=void 0;var t=n(Bs()),o=n(yr());const x={lang:{placeholder:e(543),yearPlaceholder:e(834),quarterPlaceholder:e(1591),monthPlaceholder:e(442),weekPlaceholder:e(1009),rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:[e(1070),e(800)],rangeMonthPlaceholder:["开始月份",e(576)],rangeQuarterPlaceholder:[e(1576),e(1045)],rangeWeekPlaceholder:[e(2082),e(2030)],...t[e(384)]},timePickerLocale:{...o[e(384)]}};return x.lang.ok="确定",Kn[e(384)]=x,Kn}var vr;function Ds(){const e=s;if(vr)return Xn;vr=1;var n=qn()[e(384)];Object[e(593)](Xn,e(488),{value:!0}),Xn[e(384)]=void 0;var t=n(wr());return Xn[e(384)]=t.default,Xn}var pr;function Ls(){const e=s;if(pr)return l0;pr=1;var n=qn()[e(384)];Object[e(593)](l0,e(488),{value:!0}),l0[e(384)]=void 0;var t=n(Cs()),o=n(Ds()),x=n(wr()),r=n(yr());const i=e(1461),c={locale:"zh-cn",Pagination:t.default,DatePicker:x[e(384)],TimePicker:r[e(384)],Calendar:o[e(384)],global:{placeholder:"请选择",close:"关闭",sortable:"可排序"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckAll:"全选",filterSearchPlaceholder:e(1151),emptyText:e(1288),selectAll:e(1391),selectInvert:e(584),selectNone:e(984),selectionAll:e(1623),sortTitle:"排序",expand:e(400),collapse:"关闭行",triggerDesc:e(1681),triggerAsc:e(737),cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:e(1158)},Tour:{Next:"下一步",Previous:"上一步",Finish:e(1589)},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:e(1391),removeCurrent:"删除当页",selectAll:"全选所有",deselectAll:"取消全选",removeAll:e(499),selectInvert:e(584)},Upload:{uploading:"文件上传中",removeFile:e(1113),uploadError:e(2094),previewFile:"预览文件",downloadFile:e(641)},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:e(1308),expand:"展开",collapse:"收起"},Form:{optional:e(1656),defaultValidateMessages:{default:e(942),required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:e(1230),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(2035),min:e(1930),max:"${label}最多${max}个字符",range:e(1694)},number:{len:e(1884),min:e(1687),max:e(859),range:e(1017)},array:{len:e(1346),min:"最少${min}个${label}",max:"最多${max}个${label}",range:e(1341)},pattern:{mismatch:e(1815)}}},QRCode:{expired:e(418),refresh:e(1570),scanned:e(1084)},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:"渐变色"}};return l0.default=c,l0}var Kx,zr;function Ns(){return zr||(zr=1,Kx=Ls()),Kx}var Ss=Ns();const ks=Vn(Ss),Is=e=>(n,t,o)=>{const x=s;return o.setState=(r,i,...c)=>{const d=_0x5590,a=typeof r=="function"?Nt[d(1715)](r):r;return n(a,i,...c)},e(o[x(1770)],t,o)},Ps=Is;function As(e){return Array[s(565)](e)}function Cr(e){const n=s,t=[];for(const o of Object[n(999)](e)){t.push(o);const x=e[o];if(x!==null&&typeof x===n(878)&&!Array.isArray(x))for(const r of Object.keys(x))t[n(1759)](o+"."+r)}return t}function js(e,n,t){const o=s,x=e[o(2133)];if(As(x)){if(n!=null&&t!=null){const r=x[o(990)](i=>i[n]===t);if(r)return r}return{}}return x}function Mr(e,n,t,o){const x=s,r=js(e,t,o),i={...r};if(n&&typeof n===x(878)&&!Array.isArray(n))return{...i,...n};if(Array[x(565)](n)){const c={...i};for(const d of n){if(!d||typeof d!==x(878))continue;const a=d;a.paramsCode!=null&&(c[String(a[x(2104)])]=a[x(1044)])}return c}return i}const Ys={id:"_",name:"_",sample:{}};function Zx(e,n,t){const o=s,x=e[o(965)]!=null?String(e[o(965)]).trim():"",r=x?t.find(c=>c.id===x):void 0,i=r??Ys;try{const c=Mr(i,n,e[o(1289)],e[o(848)]);return new Function("data",e.expression)(c)===!0}catch(c){return console[o(2015)](o(1667)+e[o(863)]+"]:",c),!1}}function Br(e,n,t){for(const o of e)if(Zx(o,n,t))return o}function Dr(e,n){const t=s;for(const o of e){for(const x of o[t(742)][t(1833)])x.boundDatasetId===n&&(x[t(965)]=null,x[t(1289)]=null,x.boundDatasetBindValue=null);o[t(1912)]===t(744)&&o.children?.[t(2179)]&&Dr(o[t(517)],n)}}function Rx(e){const n=s;for(const t of e){for(const o of t[n(742)].statusList)delete o[n(1978)];t[n(1912)]===n(744)&&t[n(517)]?.length&&Rx(t[n(517)])}}const Jx=(e,n)=>({id:e||Le[s(1335)](),name:n||"画布 1",nodes:[],canvasConfig:{width:1920,height:1080,background:s(793),showGrid:!0},viewport:{scale:1,positionX:0,positionY:0},selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null,history:{past:[],future:[]}}),Es=()=>{const e=s,n=Jx();return{id:Le.nanoid(),name:e(655),canvases:[n],currentCanvasId:n.id,siblingGroups:[],activeSiblingGroupId:null,navigationStack:[]}},Lr=Es(),nn=Lr.canvases[0],Us={root:Lr,materials:[],mode:s(787),lineDrawing:{isDrawing:!1,material:null,startPoint:null,endPoint:null},eventFlow:{eventBlocks:[],eventRoots:[],editingEventRootId:null,isEditingEventFlow:!1},dataPool:[],externalHandlerCatalog:[],nodes:nn[s(960)],canvas:nn[s(1437)],viewport:nn[s(617)],selectedNodeId:nn[s(1469)],selectedNodeIds:nn[s(559)],selectedStatusId:nn[s(451)],history:nn[s(484)]},S0=(e,n,t)=>({id:Le[s(1335)](),type:e,targetId:n,payload:t,timestamp:Date[s(1700)]()}),Qe=Xx[s(1572)]()(Ps((e,n)=>({...Us,addCanvas:t=>{const o=s,x=Jx(Le[o(1335)](),t||o(2020)+(n()[o(738)][o(974)][o(2179)]+1));return e(r=>{const i=o;r[i(738)][i(974)].push(x),r.root[i(687)]=x.id;const c=x;r[i(960)]=c[i(960)],r[i(1434)]=c.canvasConfig,r[i(617)]=c[i(617)],r[i(1469)]=c[i(1469)],r.selectedNodeIds=c[i(559)],r[i(451)]=c[i(451)],r[i(484)]=c[i(484)]}),x.id},removeCanvas:t=>{e(o=>{const x=_0x5590,r=o.root[x(974)][x(424)](c=>c.id===t);if(r===-1||o[x(738)][x(974)][x(2179)]<=1)return;if(o[x(738)][x(974)][x(558)](r,1),o.root[x(511)])for(const c of o[x(738)][x(511)]){const d=c.canvasIds[x(1878)](t);d!==-1&&c[x(869)][x(558)](d,1)}if(o.root[x(740)]&&o[x(738)].navigationStack[x(2179)]>0&&(o.root[x(740)]=o[x(738)][x(740)][x(815)](c=>c!==t)),o[x(738)][x(687)]===t){const c=o.root.canvases[0];o[x(738)][x(687)]=c.id,o[x(960)]=c.nodes,o[x(1434)]=c[x(1437)],o[x(617)]=c[x(617)],o[x(1469)]=c.selectedNodeId,o[x(559)]=c.selectedNodeIds,o[x(451)]=c.selectedStatusId,o.history=c[x(484)]}const i=o[x(738)].activeSiblingGroupId;if(i){const c=(o[x(738)][x(511)]||[]).find(d=>d.id===i);(!c||!c[x(869)][x(1419)](o[x(738)][x(687)]||""))&&(o[x(738)].activeSiblingGroupId=null)}})},switchCanvas:t=>{e(o=>{const x=_0x5590,r=o.root[x(974)][x(990)](c=>c.id===t);if(!r)return;o[x(738)][x(687)]=t,o[x(960)]=r[x(960)],o[x(1434)]=r[x(1437)],o[x(617)]=r[x(617)],o[x(1469)]=r[x(1469)],o[x(559)]=r[x(559)],o[x(451)]=r[x(451)],o[x(484)]=r.history;const i=o[x(738)][x(408)];if(i){const c=(o[x(738)].siblingGroups||[]).find(d=>d.id===i);(!c||!c[x(869)][x(1419)](t))&&(o[x(738)][x(408)]=null)}})},updateCanvasName:(t,o)=>{e(x=>{const r=_0x5590,i=x[r(738)][r(974)][r(990)](c=>c.id===t);i&&(i[r(863)]=o)})},getCurrentCanvas:()=>{const t=s,o=n();return o.root[t(974)][t(990)](x=>x.id===o[t(738)][t(687)])},addSiblingGroup:(t,o)=>{const x=s,r=Le[x(1335)]();return e(i=>{const c=x;i[c(738)][c(511)]||(i[c(738)][c(511)]=[]);const d=i[c(738)].siblingGroups.length+1,a=Array[c(1365)](new Set((o||[])[c(815)](u=>i[c(738)][c(974)][c(1496)](f=>f.id===u))));i.root[c(511)][c(1759)]({id:r,name:t||"同级关系 "+d,canvasIds:a})}),r},removeSiblingGroup:t=>{e(o=>{const x=_0x5590;if(!o[x(738)][x(511)])return;const r=o[x(738)][x(511)][x(424)](i=>i.id===t);r!==-1&&o[x(738)][x(511)][x(558)](r,1),o[x(738)][x(408)]===t&&(o[x(738)].activeSiblingGroupId=null)})},updateSiblingGroup:(t,o)=>{e(x=>{const r=_0x5590;if(!x.root[r(511)])return;const i=x[r(738)][r(511)][r(990)](c=>c.id===t);if(i&&(o[r(863)]!==void 0&&(i[r(863)]=o[r(863)]),o.canvasIds!==void 0)){const c=new Set,d=[];for(const a of o[r(869)])c[r(1147)](a)||x[r(738)].canvases.some(u=>u.id===a)&&(c[r(729)](a),d[r(1759)](a));i[r(869)]=d}})},addCanvasToSiblingGroup:(t,o,x)=>{e(r=>{const i=_0x5590;if(!r[i(738)][i(511)])return;const c=r.root[i(511)][i(990)](d=>d.id===t);c&&r.root[i(974)][i(1496)](d=>d.id===o)&&(c[i(869)][i(1419)](o)||(typeof x=="number"&&x>=0&&x<=c[i(869)].length?c[i(869)][i(558)](x,0,o):c.canvasIds[i(1759)](o)))})},removeCanvasFromSiblingGroup:(t,o)=>{e(x=>{const r=_0x5590;if(!x.root[r(511)])return;const i=x[r(738)].siblingGroups[r(990)](d=>d.id===t);if(!i)return;const c=i[r(869)][r(1878)](o);c!==-1&&i[r(869)][r(558)](c,1)})},moveCanvasInSiblingGroup:(t,o,x)=>{e(r=>{const i=_0x5590;if(!r.root[i(511)])return;const c=r[i(738)][i(511)][i(990)](u=>u.id===t);if(!c)return;const d=c[i(869)][i(1878)](o);if(d===-1)return;const a=x==="up"?d-1:d+1;a<0||a>=c[i(869)][i(2179)]||([c[i(869)][d],c.canvasIds[a]]=[c.canvasIds[a],c[i(869)][d]])})},nextSiblingCanvas:(t,o=!1)=>{const x=s,r=n(),i=r[x(738)].siblingGroups?.[x(990)](u=>u.id===t);if(!i||i[x(869)][x(2179)]===0)return null;const c=i[x(869)][x(815)](u=>r[x(738)][x(974)].some(f=>f.id===u));if(c[x(2179)]===0)return null;const d=c[x(1878)](r.root[x(687)]||"");let a;if(d===-1)a=0;else if(d===c[x(2179)]-1){if(!o)return null;a=0}else a=d+1;return e(u=>{const f=x;u.root[f(408)]=t}),n().switchCanvas(c[a]),c[a]},prevSiblingCanvas:(t,o=!1)=>{const x=s,r=n(),i=r.root[x(511)]?.find(u=>u.id===t);if(!i||i[x(869)].length===0)return null;const c=i.canvasIds[x(815)](u=>r[x(738)].canvases.some(f=>f.id===u));if(c.length===0)return null;const d=c[x(1878)](r.root[x(687)]||"");let a;if(d===-1)a=c.length-1;else if(d===0){if(!o)return null;a=c[x(2179)]-1}else a=d-1;return e(u=>{const f=x;u.root[f(408)]=t}),n()[x(1315)](c[a]),c[a]},gotoSiblingCanvas:(t,o)=>{const x=s,r=n(),i=r[x(738)][x(511)]?.[x(990)](d=>d.id===t);if(!i)return null;const c=i[x(869)][x(815)](d=>r[x(738)][x(974)].some(a=>a.id===d));return o<0||o>=c.length?null:(e(d=>{const a=x;d.root[a(408)]=t}),n()[x(1315)](c[o]),c[o])},getSiblingGroupsByCanvas:t=>{const o=s;return(n()[o(738)][o(511)]||[])[o(815)](r=>r.canvasIds[o(1419)](t))},setActiveSiblingGroup:t=>{e(o=>{const x=_0x5590;if(t===null){o.root[x(408)]=null;return}(o.root[x(511)]||[])[x(1496)](i=>i.id===t)&&(o[x(738)][x(408)]=t)})},jumpToCanvas:t=>{const o=s,x=n();if(!x.root[o(974)][o(1496)](i=>i.id===t)||x.root.currentCanvasId===t)return;const r=x[o(738)][o(687)];r&&e(i=>{const c=o;i[c(738)][c(740)]||(i[c(738)][c(740)]=[]),i.root[c(740)][c(1759)](r)}),n().switchCanvas(t)},goBack:()=>{const t=s,o=n();if((o[t(738)][t(740)]||[]).length===0)return null;let r=null;const i=new Set(o[t(738)][t(974)][t(474)](c=>c.id));return e(c=>{const d=t;for(;c[d(738)].navigationStack&&c[d(738)][d(740)][d(2179)]>0;){const a=c[d(738)][d(740)][d(1706)]();if(i[d(1147)](a)){r=a;break}}}),r&&n()[t(1315)](r),r},clearNavigationStack:()=>{e(t=>{const o=_0x5590;t[o(738)][o(740)]=[]})},setSelectedNodeIds:t=>{e(o=>{const x=_0x5590,r=o[x(738)][x(974)][x(990)](i=>i.id===o[x(738)].currentCanvasId);r&&(r[x(559)]=t,o.selectedNodeIds=t)})},addSelectedNodeId:t=>{e(o=>{const x=_0x5590,r=o.root[x(974)][x(990)](i=>i.id===o[x(738)][x(687)]);r&&!r[x(559)][x(1419)](t)&&(r.selectedNodeIds.push(t),o[x(559)]=r[x(559)])})},removeSelectedNodeId:t=>{e(o=>{const x=_0x5590,r=o[x(738)][x(974)][x(990)](i=>i.id===o[x(738)][x(687)]);r&&(r[x(559)]=r[x(559)][x(815)](i=>i!==t),o[x(559)]=r[x(559)])})},clearSelectedNodeIds:()=>{e(t=>{const o=_0x5590,x=t[o(738)][o(974)].find(r=>r.id===t[o(738)][o(687)]);x&&(x.selectedNodeIds=[],t[o(559)]=[])})},addNode:(t,o=!0)=>{e(x=>{const r=_0x5590,i=x.root[r(974)][r(990)](d=>d.id===x[r(738)][r(687)]);if(!i)return;const c={...t,id:t.id||Le[r(1335)]()};i[r(960)][r(1759)](c),x[r(960)]=i.nodes,o&&(i.selectedNodeId=c.id,x.selectedNodeId=c.id,i.history[r(1854)][r(1759)](S0("NODE_SELECT",c.id)),x[r(484)]=i[r(484)])})},updateNode:(t,o)=>{e(x=>{const r=_0x5590,i=x[r(738)][r(974)][r(990)](d=>d.id===x[r(738)][r(687)]);if(!i)return;const c=i.nodes[r(990)](d=>d.id===t);c&&(o[r(1379)]&&Object[r(1060)](c[r(1379)],o[r(1379)]),o[r(742)]&&(c[r(742)]={...c[r(742)],...o[r(742)]}),o[r(863)]&&(c[r(863)]=o[r(863)]),o.controlInfo&&Object[r(1060)](c[r(908)],o[r(908)]),o[r(517)]&&(c.children=o[r(517)]),i[r(484)][r(1854)][r(1759)](S0(r(753),t,o)),x[r(484)]=i[r(484)],x.nodes=i.nodes)})},updateNodeStyle:(t,o)=>{e(x=>{const r=_0x5590,i=x[r(738)][r(974)][r(990)](d=>d.id===x[r(738)].currentCanvasId);if(!i)return;const c=i[r(960)][r(990)](d=>d.id===t);c&&(Object[r(1060)](c[r(1379)],o),i[r(484)].past.push(S0(r(753),t,{normalStyle:o})),x[r(484)]=i.history,x.nodes=i.nodes)})},updateNodeContent:(t,o)=>{e(x=>{const r=_0x5590,i=x.root.canvases[r(990)](d=>d.id===x.root[r(687)]);if(!i)return;const c=i[r(960)][r(990)](d=>d.id===t);c&&(c[r(742)]={...c[r(742)],...o},i[r(484)][r(1854)].push(S0(r(753),t,{contentInfo:o})),x[r(484)]=i[r(484)],x[r(960)]=i[r(960)])})},updateNodeControl:(t,o)=>{e(x=>{const r=_0x5590,i=x.root[r(974)][r(990)](d=>d.id===x[r(738)][r(687)]);if(!i)return;const c=i[r(960)][r(990)](d=>d.id===t);c&&(Object[r(1060)](c[r(908)],o),i[r(484)][r(1854)][r(1759)](S0(r(753),t,{controlInfo:o})),x.history=i[r(484)],x[r(960)]=i[r(960)])})},removeNode:t=>{e(o=>{const x=_0x5590,r=o[x(738)].canvases[x(990)](c=>c.id===o[x(738)][x(687)]);if(!r)return;const i=r.nodes[x(424)](c=>c.id===t);i!==-1&&(r.nodes.splice(i,1),o[x(960)]=r[x(960)],r[x(1469)]===t&&(r[x(1469)]=null,o.selectedNodeId=null,r.selectedStatusId=null,o[x(451)]=null),r[x(559)]=r[x(559)].filter(c=>c!==t),o[x(559)]=r[x(559)],r[x(484)].past[x(1759)](S0(x(520),t)),o[x(484)]=r[x(484)])})},selectNode:t=>{e(o=>{const x=_0x5590,r=o[x(738)].canvases[x(990)](i=>i.id===o.root[x(687)]);r&&(r[x(1469)]=t,o[x(1469)]=t,r[x(451)]=null,o.selectedStatusId=null,t&&(r.history[x(1854)].push(S0(x(1038),t)),o.history=r[x(484)]))})},bringToFront:t=>{e(o=>{const x=_0x5590,r=o[x(738)][x(974)][x(990)](d=>d.id===o[x(738)][x(687)]);if(!r)return;const i=r[x(960)][x(424)](d=>d.id===t);if(i===-1||i===r[x(960)][x(2179)]-1)return;const[c]=r[x(960)][x(558)](i,1);r[x(960)][x(1759)](c),o[x(960)]=r.nodes,r[x(484)][x(1854)][x(1759)](S0(x(753),t,{zOrder:x(399)})),o[x(484)]=r[x(484)]})},sendToBack:t=>{e(o=>{const x=_0x5590,r=o.root[x(974)].find(d=>d.id===o.root[x(687)]);if(!r)return;const i=r[x(960)][x(424)](d=>d.id===t);if(i<=0)return;const[c]=r[x(960)][x(558)](i,1);r.nodes[x(923)](c),o[x(960)]=r[x(960)],r[x(484)][x(1854)][x(1759)](S0(x(753),t,{zOrder:x(1747)})),o[x(484)]=r[x(484)]})},addStatus:(t,o)=>{e(x=>{const r=_0x5590,i=x[r(738)][r(974)][r(990)](a=>a.id===x.root[r(687)]);if(!i)return;const c=i[r(960)][r(990)](a=>a.id===t);if(!c)return;const d={...o,id:Le[r(1335)]()};c.contentInfo.statusList[r(1759)](d),i[r(484)][r(1854)].push(S0(r(441),t,{statusId:d.id})),x.history=i.history})},removeStatus:(t,o)=>{e(x=>{const r=_0x5590,i=x.root.canvases[r(990)](a=>a.id===x.root[r(687)]);if(!i)return;const c=i.nodes[r(990)](a=>a.id===t);if(!c)return;const d=c[r(742)][r(1833)][r(424)](a=>a.id===o);d!==-1&&(c[r(742)][r(1833)][r(558)](d,1),c[r(742)].currentStatusId===o&&(c[r(742)].currentStatusId=void 0),i[r(451)]===o&&(i[r(451)]=null,x[r(451)]=null))})},updateStatus:(t,o,x)=>{e(r=>{const i=_0x5590,c=r.root[i(974)][i(990)](u=>u.id===r[i(738)][i(687)]);if(!c)return;const d=c[i(960)][i(990)](u=>u.id===t);if(!d)return;const a=d[i(742)][i(1833)].find(u=>u.id===o);a&&Object[i(1060)](a,x)})},selectStatus:t=>{e(o=>{const x=_0x5590,r=o[x(738)][x(974)][x(990)](i=>i.id===o[x(738)][x(687)]);r&&(r[x(451)]=t,o[x(451)]=t)})},evaluateCurrentStatus:(t,o)=>{const x=s,r=n(),i=r.root[x(974)][x(990)](a=>a.id===r[x(738)].currentCanvasId);if(!i)return;const c=i.nodes.find(a=>a.id===t);if(!c)return;const{dataPool:d}=n();for(const a of c[x(742)][x(1833)])if(Zx(a,o,d))return a.id},addDataPoolItem:t=>{const o=s,x=Le[o(1335)]();return e(r=>{const i=o;let c={};t[i(2133)]&&typeof t.sample===i(878)&&(Array.isArray(t.sample),c=t[i(2133)]),r[i(1440)][i(1759)]({...t,id:x,sample:c})}),x},updateDataPoolItem:(t,o)=>{e(x=>{const r=_0x5590,i=x[r(1440)][r(990)](c=>c.id===t);i&&(o[r(863)]!==void 0&&(i[r(863)]=o[r(863)]),o[r(2133)]!==void 0&&(o[r(2133)]&&typeof o[r(2133)]===r(878)?i.sample=o.sample:i[r(2133)]={}))})},removeDataPoolItem:t=>{e(o=>{const x=_0x5590,r=o[x(1440)].findIndex(i=>i.id===t);if(r!==-1){o[x(1440)].splice(r,1);for(const i of o.root[x(974)])Dr(i[x(960)],t)}})},setDataPool:t=>{e(o=>{const x=_0x5590;o[x(1440)]=t[x(474)](r=>{const i=x;let c={};return r[i(2133)]&&typeof r[i(2133)]===i(878)&&(c=r[i(2133)]),{...r,sample:c}})})},setEventFlow:t=>{e(o=>{const x=_0x5590;o[x(1599)]={eventBlocks:t[x(1507)]??[],eventRoots:t.eventRoots??[],editingEventRootId:t[x(1166)]??null,isEditingEventFlow:t.isEditingEventFlow??!1}})},setExternalHandlerCatalog:t=>{e(o=>{const x=_0x5590,r=new Set;o[x(2058)]=[];for(const i of t){const c=String(i[x(844)]??"").trim();!c||r[x(1147)](c)||(r[x(729)](c),o[x(2058)][x(1759)]({key:c,label:String(i[x(663)]??"")[x(349)]()||c,description:i.description}))}})},addMaterial:t=>{e(o=>{const x=_0x5590;if(o[x(423)][x(1496)](c=>c[x(863)]===t[x(863)]))return;const i={...t,id:Le[x(1335)]()};o[x(423)][x(1759)](i)})},updateMaterial:(t,o)=>{e(x=>{const r=_0x5590,i=x.materials[r(990)](c=>c.id===t);i&&Object.assign(i,o)})},removeMaterial:t=>{e(o=>{const x=_0x5590,r=o.materials[x(424)](i=>i.id===t);r!==-1&&o[x(423)][x(558)](r,1)})},setViewport:t=>{e(o=>{const x=_0x5590,r=o[x(738)].canvases[x(990)](i=>i.id===o[x(738)][x(687)]);r&&(Object[x(1060)](r[x(617)],t),o.viewport=r[x(617)])})},setCanvasConfig:t=>{e(o=>{const x=_0x5590,r=o[x(738)][x(974)][x(990)](i=>i.id===o.root[x(687)]);r&&(r.canvasConfig={...r[x(1437)],...t},o.canvas=r.canvasConfig)})},setMode:t=>{e(o=>{o.mode=t})},startLineDrawing:t=>{e(o=>{const x=_0x5590;o[x(1023)]=x(1510),o.lineDrawing={isDrawing:!0,material:t,startPoint:null,endPoint:null}})},updateLineDrawing:t=>{e(o=>{const x=_0x5590;o[x(1195)].isDrawing&&(o[x(1195)][x(1791)]=t)})},endLineDrawing:()=>{e(t=>{const o=_0x5590;t[o(1023)]="select",t.lineDrawing={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},cancelLineDrawing:()=>{e(t=>{const o=_0x5590;t.mode=o(787),t[o(1195)]={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},undo:()=>{e(t=>{const o=_0x5590,x=t[o(738)][o(974)].find(i=>i.id===t[o(738)][o(687)]);if(!x)return;const r=x[o(484)][o(1854)][o(1706)]();r&&(x.history[o(861)].push(r),t[o(484)]=x.history)})},redo:()=>{e(t=>{const o=_0x5590,x=t[o(738)][o(974)].find(i=>i.id===t[o(738)][o(687)]);if(!x)return;const r=x.history[o(861)][o(1706)]();r&&(x.history.past[o(1759)](r),t[o(484)]=x[o(484)])})},recordEvent:t=>{e(o=>{const x=_0x5590,r=o[x(738)][x(974)][x(990)](i=>i.id===o[x(738)][x(687)]);r&&(r[x(484)].past[x(1759)](t),r[x(484)][x(861)]=[],o.history=r[x(484)])})},exportScheme:()=>{const t=s,o=n(),{activeSiblingGroupId:x,navigationStack:r,...i}=o[t(738)];return{version:t(478),root:i,materials:o[t(423)],dataPool:o[t(1440)],eventFlow:o.eventFlow,metadata:{name:o[t(738)][t(863)],description:"",createdAt:new Date()[t(2156)](),updatedAt:new Date()[t(2156)]()}}},importScheme:t=>{e(o=>{const x=_0x5590;if(t[x(738)]){if(o[x(738)]=t[x(738)],!o.root.siblingGroups)o[x(738)][x(511)]=[];else{const i=new Set(o[x(738)][x(974)][x(474)](c=>c.id));for(const c of o[x(738)].siblingGroups)c[x(869)]=c[x(869)].filter(d=>i[x(1147)](d))}o[x(738)][x(408)]=null,o[x(738)][x(740)]=[],o[x(1440)]=t[x(1440)]??[],t[x(1599)]&&(o[x(1599)]={eventBlocks:t[x(1599)].eventBlocks??[],eventRoots:t[x(1599)][x(1271)]??[],editingEventRootId:t[x(1599)][x(1166)]??null,isEditingEventFlow:t[x(1599)][x(2096)]??!1});const r=o[x(738)].canvases[x(990)](i=>i.id===o[x(738)][x(687)])||o[x(738)][x(974)][0];r&&(o.root[x(687)]=r.id,o.nodes=r[x(960)],o[x(1434)]=r[x(1437)],o[x(617)]=r[x(617)],o[x(1469)]=r[x(1469)],o.selectedNodeIds=r.selectedNodeIds,o[x(451)]=r[x(451)],o[x(484)]=r[x(484)])}else{const r=Jx();r.nodes=t[x(960)]||[],o[x(738)][x(974)]=[r],o[x(738)][x(687)]=r.id,o[x(738)][x(511)]=[],o[x(738)][x(408)]=null,o.root.navigationStack=[],o.dataPool=t[x(1440)]??[],t[x(1599)]&&(o.eventFlow={eventBlocks:t[x(1599)][x(1507)]??[],eventRoots:t[x(1599)][x(1271)]??[],editingEventRootId:t[x(1599)][x(1166)]??null,isEditingEventFlow:t[x(1599)].isEditingEventFlow??!1}),o[x(960)]=r[x(960)],o[x(1434)]=r.canvasConfig,o[x(617)]=t[x(617)]||r[x(617)],o[x(1469)]=null,o[x(451)]=null,o[x(484)]={past:[],future:[]}}for(const r of o[x(738)][x(974)])Rx(r.nodes)})},exportCanvas:t=>{const o=s,x=n(),r=t||x[o(738)][o(687)],i=x[o(738)][o(974)].find(c=>c.id===r);if(!i)throw new Error(o(2020)+r+o(1707));return{version:"2.0.0",canvas:i,metadata:{name:i[o(863)],description:"",exportedAt:new Date()[o(2156)]()}}},importCanvas:(t,o)=>{e(x=>{const r=_0x5590,i=t.canvas,c=o||x[r(738)][r(687)],d=x[r(738)][r(974)][r(990)](a=>a.id===c);if(d)d[r(863)]=i.name,d[r(960)]=i.nodes||[],d[r(1437)]=i[r(1437)],d.viewport=i[r(617)],d[r(1469)]=null,d[r(559)]=[],d[r(451)]=null,d[r(484)]=i[r(484)]||{past:[],future:[]},c===x.root[r(687)]&&(x[r(960)]=d[r(960)],x.canvas=d[r(1437)],x[r(617)]=d[r(617)],x[r(1469)]=d[r(1469)],x[r(559)]=d.selectedNodeIds,x.selectedStatusId=d[r(451)],x[r(484)]=d.history);else{const a={...i,id:Le.nanoid(),selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null};x[r(738)][r(974)].push(a),x[r(738)][r(687)]=a.id,x[r(960)]=a[r(960)],x[r(1434)]=a.canvasConfig,x.viewport=a.viewport,x[r(1469)]=a.selectedNodeId,x[r(559)]=a[r(559)],x[r(451)]=a.selectedStatusId,x[r(484)]=a.history}for(const a of x[r(738)][r(974)])Rx(a.nodes)})},addEventBlock:t=>{const o=Le.nanoid();return e(x=>{const r=_0x5590;x[r(1599)][r(1507)].push({...t,id:o})}),o},upsertEventBlock:t=>{e(o=>{const x=_0x5590,r=o[x(1599)][x(1507)][x(424)](i=>i.id===t.id);r!==-1?o[x(1599)].eventBlocks[r]={...t}:o[x(1599)].eventBlocks[x(1759)]({...t})})},updateEventBlock:(t,o)=>{e(x=>{const r=_0x5590,i=x.eventFlow[r(1507)][r(990)](c=>c.id===t);i&&Object[r(1060)](i,o)})},removeEventBlock:t=>{e(o=>{const x=_0x5590,r=o[x(1599)][x(1507)][x(424)](i=>i.id===t);r!==-1&&o[x(1599)][x(1507)].splice(r,1)})},addEventRoot:t=>{const o=s,x=Le[o(1335)]();return e(r=>{const i=o;r[i(1599)][i(1271)][i(1759)]({...t,id:x})}),x},updateEventRoot:(t,o)=>{e(x=>{const r=_0x5590,i=x.eventFlow[r(1271)][r(990)](c=>c.id===t);i&&Object[r(1060)](i,o)})},removeEventRoot:t=>{e(o=>{const x=_0x5590,r=o[x(1599)][x(1271)].findIndex(i=>i.id===t);r!==-1&&o[x(1599)][x(1271)][x(558)](r,1)})},setEditingEventRoot:t=>{e(o=>{const x=_0x5590;o.eventFlow[x(1166)]=t})},setIsEditingEventFlow:t=>{e(o=>{const x=_0x5590;o[x(1599)].isEditingEventFlow=t})},bindNodeEvent:(t,o,x)=>{const r=Le.nanoid();return e(i=>{const c=_0x5590;i.eventFlow[c(1271)].push({id:r,bindNodeId:t,eventType:o,flowData:x,enabled:!0})}),r},unbindNodeEvent:(t,o,x)=>{e(r=>{const i=_0x5590,c=r[i(1599)][i(1271)].findIndex(d=>{const a=i;return d[a(458)]!==t||d.eventType!==o?!1:o===a(1925)?(d[a(858)]||"")[a(349)]()===(x||"").trim():!0});c!==-1&&r[i(1599)][i(1271)].splice(c,1)})},getNodeEventRoots:t=>{const o=s;return n()[o(1599)][o(1271)][o(815)](x=>x[o(458)]===t)}}))),Nr=[{id:Le[s(1335)](),name:"矩形",type:"IMAGE",src:s(1146)+encodeURIComponent(s(1909))},{id:Le[s(1335)](),name:"圆形",type:s(1054),src:s(1146)+encodeURIComponent(s(1795))},{id:Le[s(1335)](),name:s(605),type:s(1054),src:s(1146)+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="60"><rect width="100" height="60" fill="#faad14" rx="20"/></svg>')},{id:Le[s(1335)](),name:"阀门",type:s(1054),src:"data:image/svg+xml,"+encodeURIComponent(s(1339))},{id:Le[s(1335)](),name:"泵",type:s(1054),src:s(1146)+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:Le.nanoid(),name:"罐体",type:s(1054),src:s(1146)+encodeURIComponent(s(1204))},{id:Le.nanoid(),name:s(392),type:s(1509),content:{label:"标签",value:"值",labelStyle:{fontSize:14,fontWeight:s(1268),color:s(1085),textAlign:"left"},valueStyle:{fontSize:14,fontWeight:s(485),color:"#1890ff",textAlign:"left"}}},{id:Le[s(1335)](),name:"线条",type:s(1701),config:{thickness:2,lineWeight:2,color:"#262626",lineType:"solid"}}],_x=e=>({id:Le[s(1335)](),name:s(1955),expression:s(2069),material:{...e,id:Le.nanoid()},boundDatasetId:null}),Sr=(e,n,t)=>{const o=s;if(t?.[o(1912)]===o(601)&&t[o(1936)]?.[o(960)]){const x=t[o(1936)][o(960)].map(u=>({...u,id:Le[o(1335)]()}));let r=1/0,i=1/0,c=-1/0,d=-1/0;x[o(1322)](u=>{const f=o,b=u[f(1379)].x||0,g=u[f(1379)].y||0,w=u[f(1379)][f(1710)]||0,h=u[f(1379)][f(1355)]||0;r=Math[f(775)](r,b),i=Math[f(775)](i,g),c=Math[f(2172)](c,b+w),d=Math[f(2172)](d,g+h)});const a=x[o(474)](u=>({...u,normalStyle:{...u.normalStyle,x:(u.normalStyle.x||0)-r,y:(u[o(1379)].y||0)-i,scale:void 0}}));return{id:Le[o(1335)](),name:t[o(863)]||o(1659),type:o(744),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:a}}return{id:Le[o(1335)](),name:"新节点",type:o(485),normalStyle:{width:120,height:100,x:e,y:n,background:"transparent",padding:8},contentInfo:{statusList:t?[_x(t)]:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}}},{Panel:wn}=C.Collapse,{Text:kt}=C.Typography,kr=({onUploadSvg:e})=>{const n=s,{materials:t,addMaterial:o,removeMaterial:x,selectedStatusId:r,selectStatus:i,mode:c,lineDrawing:d,startLineDrawing:a,cancelLineDrawing:u}=Qe(),[f,b]=B.useState(["basic",n(420),n(1918),"line"]),g=m=>{const y=n,p=new FileReader;return p[y(695)]=z=>{const P=y,G=z[P(500)]?.[P(933)];o({name:m[P(863)].replace(".svg",""),type:P(1054),src:G})},p[y(1075)](m),!1},w={basic:t[n(815)](m=>["矩形","圆形",n(605)][n(1419)](m[n(863)])),device:t[n(815)](m=>["阀门","泵","罐体"][n(1419)](m[n(863)])||m[n(1912)]==="IMAGE"&&!["矩形","圆形","圆角矩形"][n(1419)](m.name)&&m[n(863)]!==n(1359)),text:t[n(815)](m=>m.type===n(1509)),line:t[n(815)](m=>m[n(1912)]===n(1701)),group:t[n(815)](m=>m[n(1912)]===n(601)&&m[n(1936)]?.nodes),custom:t.filter(m=>m[n(1912)]==="CUSTOM"&&!m.config?.nodes||m[n(1912)]===n(1054)&&!["矩形","圆形",n(605),"阀门","泵","罐体"][n(1419)](m[n(863)]))},h=(m,y)=>{const p=n;m[p(653)][p(2088)]=p(1826),m.dataTransfer[p(2031)](p(1699),JSON.stringify(y));const z=m[p(1630)][p(1525)](p(385));z&&m[p(653)][p(2017)](z,20,20)},v=m=>{m.type==="LINE"&&a(m)},M=(m,y=!1,p=n(1946))=>{const z=n,P=y===!0,G=c===z(1510)&&P&&d.material?.id===m.id;return l[z(1375)](C[z(853)][z(1254)],{draggable:!P,onDragStart:O=>h(O,m),onClick:()=>P&&v(m),className:z(429)+(P?"cursor-pointer":"cursor-move")+z(1779)+z(1871)+z(1779)+(G?z(1138):"")+z(1765),actions:[P?l.jsx(C[z(1105)],{type:z(1918),size:z(1400),icon:l[z(1375)](de[z(2165)],{}),onClick:O=>{O.stopPropagation(),v(m)},children:"绘制"},z(1177)):null,l[z(1375)](C[z(1105)],{type:"text",size:z(1400),danger:!0,icon:l[z(1375)](de.DeleteOutlined,{}),onClick:O=>{O[z(1313)](),x(m.id)}},z(1234))][z(815)](Boolean),children:l.jsxs(z(1037),{className:z(2129)+(P?"":z(2138)),children:[l.jsx(z(1037),{className:z(1894)+p,children:m[z(1912)]==="IMAGE"&&m[z(1950)]?l[z(1375)](C.Image,{src:m[z(1950)],alt:m.name,width:40,height:40,preview:!1}):m[z(1912)]===z(1509)?l.jsx(z(2163),{className:z(1959),children:"T"}):m.type==="LINE"?l[z(1375)]("div",{className:z(865)}):m[z(1912)]===z(601)&&m[z(1936)]?.nodes?l.jsx(z(2163),{className:z(1590),children:"G"}):l[z(1375)](z(2163),{className:z(1959),children:"?"})}),l[z(884)](z(1037),{className:z(350),children:[l[z(1375)](kt,{strong:!0,className:"block truncate",children:m[z(863)]}),l.jsxs("div",{className:z(959),children:[l[z(1375)](kt,{type:"secondary",className:z(1468),children:m[z(1912)]}),G&&l[z(1375)](C[z(2158)],{color:z(547),className:"text-xs",children:"绘制中"})]})]})]})},m.id)};return l[n(884)](n(1037),{className:"h-full flex flex-col bg-white border-r border-gray-200",children:[l.jsxs(n(1037),{className:n(591),children:[l[n(1375)]("h3",{className:n(1410),children:n(1669)}),l.jsx(kt,{type:n(1716),className:n(1136),children:n(2087)})]}),l[n(1375)](n(1037),{className:"p-3 border-b border-gray-200",children:e?l.jsx(C.Button,{icon:l[n(1375)](de.UploadOutlined,{}),block:!0,type:"dashed",onClick:()=>{e().catch(m=>{console.log(_0x5590(1588),m)})},children:n(1951)}):l[n(1375)](C[n(1596)],{accept:n(1914),beforeUpload:g,showUploadList:!1,children:l[n(1375)](C[n(1105)],{icon:l[n(1375)](de[n(838)],{}),block:!0,type:"dashed",children:n(1951)})})}),l[n(1375)]("div",{className:"flex-1 overflow-y-auto p-2",children:l[n(884)](C[n(860)],{activeKey:f,onChange:m=>b(m),ghost:!0,expandIconPosition:n(1942),children:[l[n(1375)](wn,{header:n(1777),children:l[n(1375)](C[n(853)],{dataSource:w.basic,renderItem:m=>M(m,!1),locale:{emptyText:l[n(1375)](C[n(1491)],{description:n(1810),image:C.Empty[n(1462)]})}})},n(1212)),l[n(1375)](wn,{header:"设备图标",children:l[n(1375)](C[n(853)],{dataSource:w[n(420)],renderItem:m=>M(m,!1,n(359)),locale:{emptyText:l[n(1375)](C.Empty,{description:n(1810),image:C[n(1491)][n(1462)]})}})},n(420)),l[n(1375)](wn,{header:"文本",children:l[n(1375)](C[n(853)],{dataSource:w[n(1918)],renderItem:m=>M(m,!1),locale:{emptyText:l[n(1375)](C.Empty,{description:n(1810),image:C[n(1491)][n(1462)]})}})},n(1918)),l[n(884)](wn,{header:l[n(884)](n(1037),{className:n(817),children:[l[n(1375)](n(2163),{children:"线条"}),c===n(1510)&&l[n(1375)](C.Tag,{color:n(547),className:n(1468),children:"绘制模式"})]}),children:[l[n(1375)](C[n(853)],{dataSource:w[n(1190)],renderItem:m=>M(m,!0),locale:{emptyText:l.jsx(C.Empty,{description:n(1810),image:C[n(1491)][n(1462)]})}}),c==="line-draw"&&l[n(884)]("div",{className:n(1258),children:[l[n(1375)]("div",{children:n(725)}),l[n(1375)]("div",{children:n(806)})]})]},"line"),w[n(744)].length>0&&l.jsx(wn,{header:"群组",children:l[n(1375)](C[n(853)],{dataSource:w[n(744)],renderItem:m=>M(m,!1),locale:{emptyText:l.jsx(C[n(1491)],{description:"暂无物料",image:C[n(1491)][n(1462)]})}})},"group"),w.custom[n(2179)]>0&&l[n(1375)](wn,{header:n(1359),children:l.jsx(C[n(853)],{dataSource:w[n(2159)],renderItem:m=>M(m,!1),locale:{emptyText:l[n(1375)](C[n(1491)],{description:n(1810),image:C.Empty[n(1462)]})}})},n(2159))]})}),l.jsx("div",{className:"p-3 border-t border-gray-200 bg-gray-50",children:l[n(1375)](kt,{type:"secondary",className:"text-xs",children:c===n(1510)?l.jsx(l[n(1465)],{children:n(1609)}):l[n(1375)](l[n(1465)],{children:"💡 提示:拖拽物料到画布创建节点,点击线条物料进入绘制模式"})})})]})};var Qx=function(e,n){const t=s;return Qx=Object[t(1776)]||{__proto__:[]}instanceof Array&&function(o,x){const r=t;o[r(1804)]=x}||function(o,x){const r=t;for(var i in x)Object[r(2107)].hasOwnProperty[r(414)](x,i)&&(o[i]=x[i])},Qx(e,n)};function K0(e,n){const t=s;if(typeof n!="function"&&n!==null)throw new TypeError(t(764)+String(n)+t(1196));Qx(e,n);function o(){const x=t;this[x(575)]=e}e.prototype=n===null?Object.create(n):(o[t(2107)]=n[t(2107)],new o)}function Gs(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=_0x5590;function d(f){const b=_0x5590;try{u(o[b(1026)](f))}catch(g){i(g)}}function a(f){const b=_0x5590;try{u(o[b(1396)](f))}catch(g){i(g)}}function u(f){const b=_0x5590;f[b(1998)]?r(f.value):x(f.value)[b(688)](d,a)}u((o=o[c(2185)](e,n||[]))[c(1026)]())})}function Ir(e,n){const t=s;var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},x,r,i,c=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return c[t(1026)]=d(0),c[t(1396)]=d(1),c[t(1174)]=d(2),typeof Symbol===t(1347)&&(c[Symbol[t(1002)]]=function(){return this}),c;function d(u){return function(f){return a([u,f])}}function a(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(1174)]:u[0]?r[f(1396)]||((i=r[f(1174)])&&i[f(414)](r),0):r[f(1026)])&&!(i=i.call(r,u[1]))[f(1998)])return i;switch(r=0,i&&(u=[u[0]&2,i[f(1044)]]),u[0]){case 0:case 1:i=u;break;case 4:return o[f(663)]++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o[f(1039)][f(1706)](),o[f(372)][f(1706)]();continue;default:if(i=o.trys,!(i=i[f(2179)]>0&&i[i[f(2179)]-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(663)]=u[1];break}if(u[0]===6&&o.label<i[1]){o[f(663)]=i[1],i=u;break}if(i&&o[f(663)]<i[2]){o[f(663)]=i[2],o[f(1039)].push(u);break}i[2]&&o[f(1039)].pop(),o[f(372)][f(1706)]();continue}u=n[f(414)](e,o)}catch(b){u=[6,b],r=0}finally{x=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function vn(e){const n=s;var t=typeof Symbol=="function"&&Symbol[n(1002)],o=t&&e[t],x=0;if(o)return o[n(414)](e);if(e&&typeof e.length===n(2059))return{next:function(){return e&&x>=e[n(2179)]&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(n(t?1511:1686))}function It(e,n){const t=s;var o=typeof Symbol=="function"&&e[Symbol[t(1002)]];if(!o)return e;var x=o.call(e),r,i=[],c;try{for(;(n===void 0||n-- >0)&&!(r=x[t(1026)]())[t(1998)];)i[t(1759)](r.value)}catch(d){c={error:d}}finally{try{r&&!r[t(1998)]&&(o=x[t(1174)])&&o[t(414)](x)}finally{if(c)throw c.error}}return i}function Pt(e,n,t){const o=s;if(t||arguments.length===2)for(var x=0,r=n[o(2179)],i;x<r;x++)(i||!(x in n))&&(i||(i=Array[o(2107)][o(852)][o(414)](n,0,x)),i[x]=n[x]);return e.concat(i||Array.prototype[o(852)].call(n))}function pn(e){return this instanceof pn?(this.v=e,this):new pn(e)}function Os(e,n,t){const o=s;if(!Symbol[o(1041)])throw new TypeError("Symbol.asyncIterator is not defined.");var x=t[o(2185)](e,n||[]),r,i=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object)[o(2107)]),d(o(1026)),d(o(1396)),d(o(1174),c),r[Symbol[o(1041)]]=function(){return this},r;function c(w){return function(h){const v=_0x5590;return Promise[v(1952)](h)[v(688)](w,b)}}function d(w,h){x[w]&&(r[w]=function(v){return new Promise(function(M,m){i[_0x5590(1759)]([w,v,M,m])>1||a(w,v)})},h&&(r[w]=h(r[w])))}function a(w,h){try{u(x[w](h))}catch(v){g(i[0][3],v)}}function u(w){const h=o;w[h(1044)]instanceof pn?Promise.resolve(w[h(1044)].v)[h(688)](f,b):g(i[0][2],w)}function f(w){a(o(1026),w)}function b(w){a("throw",w)}function g(w,h){const v=o;w(h),i.shift(),i[v(2179)]&&a(i[0][0],i[0][1])}}function Hs(e){const n=s;if(!Symbol.asyncIterator)throw new TypeError(n(1971));var t=e[Symbol.asyncIterator],o;return t?t[n(414)](e):(e=typeof vn===n(1347)?vn(e):e[Symbol[n(1002)]](),o={},x(n(1026)),x(n(1396)),x("return"),o[Symbol[n(1041)]]=function(){return this},o);function x(i){o[i]=e[i]&&function(c){return new Promise(function(d,a){const u=_0x5590;c=e[i](c),r(d,a,c.done,c[u(1044)])})}}function r(i,c,d,a){const u=n;Promise[u(1952)](a)[u(688)](function(f){i({value:f,done:d})},c)}}typeof SuppressedError===s(1347)&&SuppressedError;function Ve(e){return typeof e=="function"}function Fx(e){const n=s;var t=function(x){const r=_0x5590;Error.call(x),x[r(1648)]=new Error()[r(1648)]},o=e(t);return o[n(2107)]=Object.create(Error[n(2107)]),o[n(2107)][n(575)]=o,o}var $x=Fx(function(e){return function(t){const o=_0x5590;e(this),this[o(1109)]=t?t.length+` errors occurred during unsubscription:
3
- `+t[o(474)](function(x,r){return r+1+") "+x.toString()})[o(1881)](o(1238)):"",this[o(863)]=o(1441),this[o(1079)]=t}});function At(e,n){const t=s;if(e){var o=e.indexOf(n);0<=o&&e[t(558)](o,1)}}var _n=(function(){const e=s;function n(t){const o=_0x5590;this.initialTeardown=t,this[o(1218)]=!1,this[o(1348)]=null,this[o(1569)]=null}return n[e(2107)][e(479)]=function(){const t=e;var o,x,r,i,c;if(!this.closed){this.closed=!0;var d=this[t(1348)];if(d)if(this[t(1348)]=null,Array[t(565)](d))try{for(var a=vn(d),u=a[t(1026)]();!u[t(1998)];u=a[t(1026)]()){var f=u[t(1044)];f.remove(this)}}catch(M){o={error:M}}finally{try{u&&!u[t(1998)]&&(x=a.return)&&x[t(414)](a)}finally{if(o)throw o[t(1036)]}}else d.remove(this);var b=this[t(2049)];if(Ve(b))try{b()}catch(M){c=M instanceof $x?M[t(1079)]:[M]}var g=this._finalizers;if(g){this._finalizers=null;try{for(var w=vn(g),h=w.next();!h[t(1998)];h=w.next()){var v=h.value;try{jr(v)}catch(M){c=c??[],M instanceof $x?c=Pt(Pt([],It(c)),It(M[t(1079)])):c[t(1759)](M)}}}catch(M){r={error:M}}finally{try{h&&!h[t(1998)]&&(i=w[t(1174)])&&i[t(414)](w)}finally{if(r)throw r[t(1036)]}}}if(c)throw new $x(c)}},n[e(2107)].add=function(t){const o=e;var x;if(t&&t!==this)if(this[o(1218)])jr(t);else{if(t instanceof n){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this[o(1569)]=(x=this._finalizers)!==null&&x!==void 0?x:[])[o(1759)](t)}},n[e(2107)][e(1827)]=function(t){const o=e;var x=this[o(1348)];return x===t||Array[o(565)](x)&&x[o(1419)](t)},n[e(2107)][e(1227)]=function(t){const o=e;var x=this._parentage;this._parentage=Array[o(565)](x)?(x[o(1759)](t),x):x?[x,t]:t},n[e(2107)][e(1718)]=function(t){const o=e;var x=this[o(1348)];x===t?this[o(1348)]=null:Array[o(565)](x)&&At(x,t)},n[e(2107)][e(928)]=function(t){const o=e;var x=this[o(1569)];x&&At(x,t),t instanceof n&&t[o(1718)](this)},n[e(358)]=(function(){const t=e;var o=new n;return o[t(1218)]=!0,o})(),n})(),Pr=_n[s(358)];function Ar(e){const n=s;return e instanceof _n||e&&n(1218)in e&&Ve(e[n(928)])&&Ve(e.add)&&Ve(e[n(479)])}function jr(e){const n=s;Ve(e)?e():e[n(479)]()}var Ts={Promise:void 0},Vs={setTimeout:function(e,n){const t=s;for(var o=[],x=2;x<arguments.length;x++)o[x-2]=arguments[x];return setTimeout[t(2185)](void 0,Pt([e,n],It(o)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Yr(e){Vs[s(2154)](function(){throw e})}function Er(){}function jt(e){e()}var eo=(function(e){const n=s;K0(t,e);function t(o){const x=_0x5590;var r=e[x(414)](this)||this;return r[x(1534)]=!1,o?(r[x(1091)]=o,Ar(o)&&o.add(r)):r[x(1091)]=Xs,r}return t[n(1572)]=function(o,x,r){return new no(o,x,r)},t.prototype.next=function(o){const x=n;this[x(1534)]||this[x(1785)](o)},t.prototype[n(1036)]=function(o){const x=n;this[x(1534)]||(this[x(1534)]=!0,this[x(1640)](o))},t[n(2107)][n(1843)]=function(){this[n(1534)]||(this.isStopped=!0,this._complete())},t[n(2107)][n(479)]=function(){const o=n;!this[o(1218)]&&(this[o(1534)]=!0,e[o(2107)].unsubscribe[o(414)](this),this[o(1091)]=null)},t[n(2107)][n(1785)]=function(o){const x=n;this[x(1091)][x(1026)](o)},t[n(2107)][n(1640)]=function(o){const x=n;try{this.destination[x(1036)](o)}finally{this[x(479)]()}},t[n(2107)][n(1800)]=function(){const o=n;try{this.destination[o(1843)]()}finally{this.unsubscribe()}},t})(_n),qs=(function(){const e=s;function n(t){const o=_0x5590;this[o(903)]=t}return n[e(2107)][e(1026)]=function(t){const o=e;var x=this[o(903)];if(x[o(1026)])try{x[o(1026)](t)}catch(r){Yt(r)}},n[e(2107)][e(1036)]=function(t){const o=e;var x=this.partialObserver;if(x.error)try{x[o(1036)](t)}catch(r){Yt(r)}else Yt(t)},n[e(2107)][e(1843)]=function(){const t=e;var o=this.partialObserver;if(o[t(1843)])try{o.complete()}catch(x){Yt(x)}},n})(),no=(function(e){K0(n,e);function n(t,o,x){var i=e[_0x5590(414)](this)||this,c;return Ve(t)||!t?c={next:t??void 0,error:o??void 0,complete:x??void 0}:c=t,i.destination=new qs(c),i}return n})(eo);function Yt(e){Yr(e)}function Ws(e){throw e}var Xs={closed:!0,next:Er,error:Ws,complete:Er},to=(function(){const e=s;return typeof Symbol===e(1347)&&Symbol[e(1562)]||e(1864)})();function Ur(e){return e}function Ks(e){const n=s;return e[n(2179)]===0?Ur:e[n(2179)]===1?e[0]:function(o){return e[n(1106)](function(r,i){return i(r)},o)}}var g0=(function(){const e=s;function n(t){const o=_0x5590;t&&(this[o(1256)]=t)}return n.prototype[e(386)]=function(t){const o=e;var x=new n;return x.source=this,x[o(808)]=t,x},n[e(2107)][e(1745)]=function(t,o,x){var r=this,i=Rs(t)?t:new no(t,o,x);return jt(function(){const c=_0x5590;var d=r,a=d[c(808)],u=d[c(766)];i[c(729)](a?a[c(414)](i,u):u?r[c(1256)](i):r._trySubscribe(i))}),i},n[e(2107)][e(561)]=function(t){const o=e;try{return this[o(1256)](t)}catch(x){t.error(x)}},n[e(2107)][e(1322)]=function(t,o){var x=this;return o=Gr(o),new o(function(r,i){const c=_0x5590;var d=new no({next:function(a){try{t(a)}catch(u){i(u),d.unsubscribe()}},error:i,complete:r});x[c(1745)](d)})},n[e(2107)][e(1256)]=function(t){const o=e;var x;return(x=this[o(766)])===null||x===void 0?void 0:x[o(1745)](t)},n[e(2107)][to]=function(){return this},n[e(2107)][e(582)]=function(){const t=e;for(var o=[],x=0;x<arguments[t(2179)];x++)o[x]=arguments[x];return Ks(o)(this)},n.prototype.toPromise=function(t){var o=this;return t=Gr(t),new t(function(x,r){var i;o.subscribe(function(c){return i=c},function(c){return r(c)},function(){return x(i)})})},n[e(1572)]=function(t){return new n(t)},n})();function Gr(e){const n=s;var t;return(t=e??Ts[n(1449)])!==null&&t!==void 0?t:Promise}function Zs(e){const n=s;return e&&Ve(e[n(1026)])&&Ve(e[n(1036)])&&Ve(e.complete)}function Rs(e){return e&&e instanceof eo||Zs(e)&&Ar(e)}function Js(e){return Ve(e?.[s(386)])}function tn(e){return function(n){const t=_0x5590;if(Js(n))return n[t(386)](function(o){const x=t;try{return e(o,this)}catch(r){this[x(1036)](r)}});throw new TypeError(t(767))}}function xn(e,n,t,o,x){return new _s(e,n,t,o,x)}var _s=(function(e){const n=s;K0(t,e);function t(o,x,r,i,c,d){const a=_0x5590;var u=e.call(this,o)||this;return u.onFinalize=c,u[a(1099)]=d,u[a(1785)]=x?function(f){const b=a;try{x(f)}catch(g){o[b(1036)](g)}}:e[a(2107)][a(1785)],u[a(1640)]=i?function(f){try{i(f)}catch(b){o.error(b)}finally{this.unsubscribe()}}:e[a(2107)][a(1640)],u[a(1800)]=r?function(){const f=a;try{r()}catch(b){o[f(1036)](b)}finally{this.unsubscribe()}}:e[a(2107)][a(1800)],u}return t[n(2107)][n(479)]=function(){const o=n;var x;if(!this[o(1099)]||this[o(1099)]()){var r=this[o(1218)];e.prototype.unsubscribe[o(414)](this),!r&&((x=this[o(802)])===null||x===void 0||x.call(this))}},t})(eo),Qs=Fx(function(e){return function(){const t=_0x5590;e(this),this[t(863)]=t(2016),this[t(1109)]=t(1635)}}),Or=(function(e){const n=s;K0(t,e);function t(){const o=_0x5590;var x=e[o(414)](this)||this;return x[o(1218)]=!1,x[o(754)]=null,x[o(1233)]=[],x[o(1534)]=!1,x.hasError=!1,x.thrownError=null,x}return t[n(2107)][n(386)]=function(o){const x=n;var r=new Hr(this,this);return r[x(808)]=o,r},t.prototype[n(660)]=function(){if(this.closed)throw new Qs},t[n(2107)][n(1026)]=function(o){var x=this;jt(function(){const r=_0x5590;var i,c;if(x[r(660)](),!x[r(1534)]){!x[r(754)]&&(x[r(754)]=Array[r(1365)](x.observers));try{for(var d=vn(x.currentObservers),a=d[r(1026)]();!a.done;a=d[r(1026)]()){var u=a[r(1044)];u[r(1026)](o)}}catch(f){i={error:f}}finally{try{a&&!a[r(1998)]&&(c=d.return)&&c[r(414)](d)}finally{if(i)throw i[r(1036)]}}}})},t[n(2107)].error=function(o){var x=this;jt(function(){const r=_0x5590;if(x[r(660)](),!x[r(1534)]){x.hasError=x[r(1534)]=!0,x[r(791)]=o;for(var i=x.observers;i[r(2179)];)i[r(1299)]()[r(1036)](o)}})},t[n(2107)][n(1843)]=function(){var o=this;jt(function(){const x=_0x5590;if(o[x(660)](),!o[x(1534)]){o[x(1534)]=!0;for(var r=o[x(1233)];r.length;)r[x(1299)]()[x(1843)]()}})},t[n(2107)][n(479)]=function(){const o=n;this[o(1534)]=this.closed=!0,this.observers=this.currentObservers=null},Object[n(593)](t[n(2107)],"observed",{get:function(){const o=n;var x;return((x=this.observers)===null||x===void 0?void 0:x[o(2179)])>0},enumerable:!1,configurable:!0}),t[n(2107)][n(561)]=function(o){const x=n;return this[x(660)](),e.prototype[x(561)][x(414)](this,o)},t[n(2107)][n(1256)]=function(o){const x=n;return this[x(660)](),this[x(770)](o),this._innerSubscribe(o)},t[n(2107)][n(530)]=function(o){const x=n;var r=this,i=this,c=i[x(1172)],d=i[x(1534)],a=i[x(1233)];return c||d?Pr:(this[x(754)]=null,a[x(1759)](o),new _n(function(){const u=x;r[u(754)]=null,At(a,o)}))},t.prototype[n(770)]=function(o){const x=n;var r=this,i=r[x(1172)],c=r[x(791)],d=r[x(1534)];i?o[x(1036)](c):d&&o[x(1843)]()},t.prototype[n(1487)]=function(){const o=n;var x=new g0;return x[o(766)]=this,x},t[n(1572)]=function(o,x){return new Hr(o,x)},t})(g0),Hr=(function(e){const n=s;K0(t,e);function t(o,x){const r=_0x5590;var i=e[r(414)](this)||this;return i[r(1091)]=o,i[r(766)]=x,i}return t[n(2107)][n(1026)]=function(o){const x=n;var r,i;(i=(r=this[x(1091)])===null||r===void 0?void 0:r[x(1026)])===null||i===void 0||i[x(414)](r,o)},t[n(2107)][n(1036)]=function(o){const x=n;var r,i;(i=(r=this[x(1091)])===null||r===void 0?void 0:r[x(1036)])===null||i===void 0||i.call(r,o)},t[n(2107)].complete=function(){const o=n;var x,r;(r=(x=this[o(1091)])===null||x===void 0?void 0:x[o(1843)])===null||r===void 0||r[o(414)](x)},t[n(2107)]._subscribe=function(o){const x=n;var r,i;return(i=(r=this.source)===null||r===void 0?void 0:r[x(1745)](o))!==null&&i!==void 0?i:Pr},t})(Or),Fs={now:function(){return Date[s(1700)]()}},$s=(function(e){const n=s;K0(t,e);function t(o,x){return e[_0x5590(414)](this)||this}return t[n(2107)][n(630)]=function(o,x){return this},t})(_n),Tr={setInterval:function(e,n){const t=s;for(var o=[],x=2;x<arguments.length;x++)o[x-2]=arguments[x];return setInterval[t(2185)](void 0,Pt([e,n],It(o)))},clearInterval:function(e){return clearInterval(e)},delegate:void 0},el=(function(e){const n=s;K0(t,e);function t(o,x){const r=_0x5590;var i=e[r(414)](this,o,x)||this;return i[r(634)]=o,i[r(718)]=x,i.pending=!1,i}return t[n(2107)][n(630)]=function(o,x){const r=n;var i;if(x===void 0&&(x=0),this.closed)return this;this.state=o;var c=this.id,d=this[r(634)];return c!=null&&(this.id=this[r(463)](d,c,x)),this[r(1621)]=!0,this[r(541)]=x,this.id=(i=this.id)!==null&&i!==void 0?i:this[r(648)](d,this.id,x),this},t[n(2107)][n(648)]=function(o,x,r){const i=n;return r===void 0&&(r=0),Tr.setInterval(o[i(1103)][i(2119)](o,this),r)},t.prototype.recycleAsyncId=function(o,x,r){const i=n;return r===void 0&&(r=0),r!=null&&this.delay===r&&this[i(1621)]===!1?x:(x!=null&&Tr[i(2024)](x),void 0)},t.prototype.execute=function(o,x){const r=n;if(this.closed)return new Error(r(2111));this.pending=!1;var i=this[r(723)](o,x);if(i)return i;this[r(1621)]===!1&&this.id!=null&&(this.id=this[r(463)](this[r(634)],this.id,null))},t[n(2107)][n(723)]=function(o,x){const r=n;var i=!1,c;try{this.work(o)}catch(d){i=!0,c=d||new Error("Scheduled action threw falsy error")}if(i)return this[r(479)](),c},t[n(2107)][n(479)]=function(){const o=n;if(!this[o(1218)]){var x=this,r=x.id,i=x[o(634)],c=i[o(2047)];this[o(718)]=this[o(437)]=this[o(634)]=null,this.pending=!1,At(c,this),r!=null&&(this.id=this.recycleAsyncId(i,r,null)),this[o(541)]=null,e[o(2107)][o(479)][o(414)](this)}},t})($s),Vr=(function(){const e=s;function n(t,o){const x=_0x5590;o===void 0&&(o=n[x(1700)]),this[x(917)]=t,this.now=o}return n.prototype.schedule=function(t,o,x){const r=_0x5590;return o===void 0&&(o=0),new this.schedulerActionCtor(this,t)[r(630)](x,o)},n.now=Fs[e(1700)],n})(),nl=(function(e){const n=s;K0(t,e);function t(o,x){const r=_0x5590;x===void 0&&(x=Vr.now);var i=e.call(this,o,x)||this;return i.actions=[],i[r(1336)]=!1,i}return t[n(2107)][n(1103)]=function(o){const x=n;var r=this.actions;if(this[x(1336)]){r[x(1759)](o);return}var i;this._active=!0;do if(i=o[x(1047)](o[x(437)],o[x(541)]))break;while(o=r.shift());if(this[x(1336)]=!1,i){for(;o=r[x(1299)]();)o[x(479)]();throw i}},t})(Vr),tl=new nl(el);function xl(e){return e&&Ve(e[s(630)])}function ol(e){return e[e.length-1]}function rl(e){const n=s;return xl(ol(e))?e[n(1706)]():void 0}var qr=function(e){const n=s;return e&&typeof e[n(2179)]===n(2059)&&typeof e!==n(1347)};function Wr(e){return Ve(e?.[s(688)])}function Xr(e){return Ve(e[to])}function Kr(e){return Symbol.asyncIterator&&Ve(e?.[Symbol[s(1041)]])}function Zr(e){const n=s;return new TypeError("You provided "+(e!==null&&typeof e===n(878)?n(1162):"'"+e+"'")+n(759))}function il(){const e=s;return typeof Symbol!="function"||!Symbol.iterator?e(1803):Symbol[e(1002)]}var Rr=il();function Jr(e){return Ve(e?.[Rr])}function _r(e){return Os(this,arguments,function(){var t,o,x,r;return Ir(this,function(i){const c=_0x5590;switch(i[c(663)]){case 0:t=e[c(1495)](),i.label=1;case 1:i[c(372)][c(1759)]([1,,9,10]),i[c(663)]=2;case 2:return[4,pn(t[c(2011)]())];case 3:return o=i.sent(),x=o[c(1044)],r=o[c(1998)],r?[4,pn(void 0)]:[3,5];case 4:return[2,i.sent()];case 5:return[4,pn(x)];case 6:return[4,i[c(1094)]()];case 7:return i[c(1094)](),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function Qr(e){return Ve(e?.getReader)}function on(e){if(e instanceof g0)return e;if(e!=null){if(Xr(e))return cl(e);if(qr(e))return al(e);if(Wr(e))return sl(e);if(Kr(e))return Fr(e);if(Jr(e))return ll(e);if(Qr(e))return dl(e)}throw Zr(e)}function cl(e){return new g0(function(n){const t=_0x5590;var o=e[to]();if(Ve(o[t(1745)]))return o.subscribe(n);throw new TypeError(t(1066))})}function al(e){return new g0(function(n){const t=_0x5590;for(var o=0;o<e.length&&!n[t(1218)];o++)n[t(1026)](e[o]);n[t(1843)]()})}function sl(e){return new g0(function(n){const t=_0x5590;e[t(688)](function(o){const x=t;!n[x(1218)]&&(n.next(o),n[x(1843)]())},function(o){return n[t(1036)](o)})[t(688)](null,Yr)})}function ll(e){return new g0(function(n){const t=_0x5590;var o,x;try{for(var r=vn(e),i=r[t(1026)]();!i[t(1998)];i=r[t(1026)]()){var c=i[t(1044)];if(n[t(1026)](c),n[t(1218)])return}}catch(d){o={error:d}}finally{try{i&&!i[t(1998)]&&(x=r.return)&&x[t(414)](r)}finally{if(o)throw o[t(1036)]}}n[t(1843)]()})}function Fr(e){return new g0(function(n){const t=_0x5590;ul(e,n)[t(714)](function(o){return n.error(o)})})}function dl(e){return Fr(_r(e))}function ul(e,n){var t,o,x,r;return Gs(this,void 0,void 0,function(){var i,c;return Ir(this,function(d){const a=_0x5590;switch(d[a(663)]){case 0:d[a(372)][a(1759)]([0,5,6,11]),t=Hs(e),d[a(663)]=1;case 1:return[4,t[a(1026)]()];case 2:if(o=d[a(1094)](),!!o.done)return[3,4];if(i=o[a(1044)],n[a(1026)](i),n.closed)return[2];d[a(663)]=3;case 3:return[3,1];case 4:return[3,11];case 5:return c=d[a(1094)](),x={error:c},[3,11];case 6:return d[a(372)][a(1759)]([6,,9,10]),o&&!o.done&&(r=t[a(1174)])?[4,r.call(t)]:[3,8];case 7:d.sent(),d[a(663)]=8;case 8:return[3,10];case 9:if(x)throw x[a(1036)];return[7];case 10:return[7];case 11:return n[a(1843)](),[2]}})})}function Z0(e,n,t,o,x){const r=s;o===void 0&&(o=0),x===void 0&&(x=!1);var i=n[r(630)](function(){const c=r;t(),x?e[c(729)](this[c(630)](null,o)):this[c(479)]()},o);if(e.add(i),!x)return i}function $r(e,n){return n===void 0&&(n=0),tn(function(t,o){t[_0x5590(1745)](xn(o,function(r){return Z0(o,e,function(){return o[_0x5590(1026)](r)},n)},function(){return Z0(o,e,function(){return o[_0x5590(1843)]()},n)},function(r){return Z0(o,e,function(){return o.error(r)},n)}))})}function ei(e,n){return n===void 0&&(n=0),tn(function(t,o){const x=_0x5590;o[x(729)](e.schedule(function(){return t[x(1745)](o)},n))})}function fl(e,n){return on(e).pipe(ei(n),$r(n))}function hl(e,n){const t=s;return on(e)[t(582)](ei(n),$r(n))}function gl(e,n){return new g0(function(t){const o=_0x5590;var x=0;return n[o(630)](function(){const r=o;x===e.length?t[r(1843)]():(t[r(1026)](e[x++]),!t[r(1218)]&&this[r(630)]())})})}function bl(e,n){return new g0(function(t){var o;return Z0(t,n,function(){o=e[Rr](),Z0(t,n,function(){const x=_0x5590;var r,i,c;try{r=o[x(1026)](),i=r[x(1044)],c=r[x(1998)]}catch(d){t[x(1036)](d);return}c?t.complete():t.next(i)},0,!0)}),function(){const x=_0x5590;return Ve(o?.[x(1174)])&&o[x(1174)]()}})}function ni(e,n){const t=s;if(!e)throw new Error(t(1374));return new g0(function(o){Z0(o,n,function(){const x=_0x5590;var r=e[Symbol[x(1041)]]();Z0(o,n,function(){const i=x;r[i(1026)]()[i(688)](function(c){const d=i;c[d(1998)]?o[d(1843)]():o[d(1026)](c.value)})},0,!0)})})}function yl(e,n){return ni(_r(e),n)}function ml(e,n){if(e!=null){if(Xr(e))return fl(e,n);if(qr(e))return gl(e,n);if(Wr(e))return hl(e,n);if(Kr(e))return ni(e,n);if(Jr(e))return bl(e,n);if(Qr(e))return yl(e,n)}throw Zr(e)}function Et(e,n){return n?ml(e,n):on(e)}function w0(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=rl(e);return Et(e,t)}function Fe(e,n){var t=Ve(e)?e:function(){return e},o=function(x){return x[_0x5590(1036)](t())};return new g0(o)}function wl(e){return e instanceof Date&&!isNaN(e)}var vl=Fx(function(e){return function(t){const o=_0x5590;t===void 0&&(t=null),e(this),this[o(1109)]=o(569),this[o(863)]=o(954),this.info=t}});function pl(e,n){const t=s;var o=wl(e)?{first:e}:{each:e},x=o[t(898)],r=o[t(1270)],i=o[t(724)],c=i===void 0?zl:i,d=o[t(634)],a=d===void 0?tl:d,u=o[t(1007)],f=u===void 0?null:u;if(x==null&&r==null)throw new TypeError(t(345));return tn(function(b,g){const w=t;var h,v,M=null,m=0,y=function(p){v=Z0(g,a,function(){const z=_0x5590;try{h[z(479)](),on(c({meta:f,lastValue:M,seen:m}))[z(1745)](g)}catch(P){g[z(1036)](P)}},p)};h=b[w(1745)](xn(g,function(p){const z=w;v?.unsubscribe(),m++,g[z(1026)](M=p),r>0&&y(r)},void 0,void 0,function(){const p=w;!v?.[p(1218)]&&v?.[p(479)](),M=null})),!m&&y(x!=null?typeof x===w(2059)?x:+x-a.now():r)})}function zl(e){throw new vl(e)}function Ut(e,n){return tn(function(t,o){var x=0;t.subscribe(xn(o,function(r){const i=_0x5590;o.next(e[i(414)](n,r,x++))}))})}function Cl(e,n,t,o,x,r,i,c){const d=s;var a=[],u=0,f=0,b=!1,g=function(){const v=_0x5590;b&&!a[v(2179)]&&!u&&n[v(1843)]()},w=function(v){const M=_0x5590;return u<o?h(v):a[M(1759)](v)},h=function(v){const M=_0x5590;u++;var m=!1;on(t(v,f++))[M(1745)](xn(n,function(y){n[M(1026)](y)},function(){m=!0},void 0,function(){const y=M;if(m)try{u--;for(var p=function(){var P=a[_0x5590(1299)]();i||h(P)};a[y(2179)]&&u<o;)p();g()}catch(z){n[y(1036)](z)}}))};return e[d(1745)](xn(n,w,function(){b=!0,g()})),function(){}}function xo(e,n,t){return t===void 0&&(t=1/0),Ve(n)?xo(function(o,x){return Ut(function(r,i){return n(o,r,x,i)})(on(e(o,x)))},t):(typeof n=="number"&&(t=n),tn(function(o,x){return Cl(o,x,e,t)}))}function Gt(e){return tn(function(n,t){const o=_0x5590;var x=null,r=!1,i;x=n[o(1745)](xn(t,void 0,void 0,function(c){const d=o;i=on(e(c,Gt(e)(n))),x?(x[d(479)](),x=null,i[d(1745)](t)):r=!0})),r&&(x[o(479)](),x=null,i[o(1745)](t))})}function Ml(e,n,t){var o=Ve(e)||n||t?{next:e,error:n,complete:t}:e;return o?tn(function(x,r){const i=_0x5590;var c;(c=o[i(1745)])===null||c===void 0||c.call(o);var d=!0;x[i(1745)](xn(r,function(a){const u=i;var f;(f=o[u(1026)])===null||f===void 0||f[u(414)](o,a),r.next(a)},function(){const a=i;var u;d=!1,(u=o[a(1843)])===null||u===void 0||u[a(414)](o),r.complete()},function(a){const u=i;var f;d=!1,(f=o[u(1036)])===null||f===void 0||f[u(414)](o,a),r[u(1036)](a)},function(){const a=i;var u,f;d&&((u=o[a(479)])===null||u===void 0||u.call(o)),(f=o[a(825)])===null||f===void 0||f[a(414)](o)}))}):Ur}function oo(e){return encodeURIComponent((e||"")[s(349)]()||"__default__")}function Bl(e){const n=s;return e[n(1354)]==="external"?e[n(458)]+"::ext::"+oo(e[n(858)]??""):e.bindNodeId+"::"+e[n(1354)]}function ti(e,n){return e+":"+n}class zn{static instance;eventSubjects=new Map;[s(907)]=new Map;eventBlocks=new Map;[s(682)]=new Map;defaultRuntimeHandlers;constructor(){}static[s(781)](){const n=s;return!zn.instance&&(zn[n(2180)]=new zn),zn[n(2180)]}[s(1913)](n){const t=s;this.eventBlocks[t(721)](n.id,n)}[s(606)](n){this[s(1507)].delete(n)}getEventBlock(n){const t=s;return this[t(1507)][t(1861)](n)}[s(1314)](n){this.defaultRuntimeHandlers=n}[s(1331)](n){const t=s;if(!n)return;const o=this.defaultRuntimeHandlers;this.defaultRuntimeHandlers={dataRequest:{...o?.[t(874)],...n.dataRequest},external:{...o?.external,...n[t(1925)]}}}[s(1231)](n){const t=s,o=this.defaultRuntimeHandlers;if(!(!o&&!n))return{dataRequest:{...o?.[t(874)],...n?.dataRequest},external:{...o?.[t(1925)],...n?.[t(1925)]}}}disposeEventRootPipeline(n){const t=s,o=this[t(907)][t(1861)](n.id);o&&(o.unsubscribe(),this[t(907)].delete(n.id)),this.eventSubjects[t(1234)](n.id)}bindNodeEvent(n){const t=s,o=Bl(n),x=this[t(682)][t(1861)](o);x&&x.id!==n.id&&this.disposeEventRootPipeline(x),this[t(682)][t(721)](o,n),!this[t(1972)][t(1147)](n.id)&&this.createEventFlowPipeline(n)}unbindNodeEvent(n,t,o){const x=s;if(t==="external"){const d=n+"::ext::"+oo(o??""),a=this[x(682)][x(1861)](d);a&&(this[x(428)](a),this[x(682)][x(1234)](d));return}const r=n+"::"+t,i=ti(n,t),c=this.nodeEventBindings[x(1861)](r)??this[x(682)][x(1861)](i);c&&(this[x(428)](c),this[x(682)][x(1234)](r),this[x(682)][x(1234)](i))}[s(904)](n){const t=s,o=[];this[t(682)][t(1322)]((x,r)=>{x[t(458)]===n&&o.push({key:r,root:x})}),o[t(1322)](({key:x,root:r})=>{const i=t;this[i(428)](r),this[i(682)].delete(x)})}getNodeEventBindings(n){const t=s,o=[];return this[t(682)][t(1322)](x=>{const r=t;x.bindNodeId===n&&o[r(1759)](x)}),o}[s(1478)](n,t,o){const x=s,r=n+"::"+t,i=this[x(682)][x(1861)](r)??this[x(682)][x(1861)](ti(n,t));if(!i||!i[x(1306)])return w0({success:!0,result:null,path:[],duration:0});if(!this[x(1972)][x(1861)](i.id))return Fe(()=>new Error("Event flow not initialized for "+r));const d=Date[x(1700)](),a={...o,executionPath:o[x(556)]||[],runtimeHandlers:this[x(1231)](o[x(1738)])};return this[x(1729)](i,a)[x(582)](Ut(u=>({success:!0,result:u,path:a[x(556)],duration:Date[x(1700)]()-d})),Gt(u=>w0({success:!1,error:u[x(1109)]||"Event flow execution failed",path:a.executionPath,duration:Date.now()-d})))}[s(1403)](n,t,o){const x=s,r=n+x(1035)+oo(t),i=this.nodeEventBindings[x(1861)](r);if(!i||!i[x(1306)])return w0({success:!0,result:null,path:[],duration:0});if(!this.eventSubjects[x(1861)](i.id))return Fe(()=>new Error(x(2039)+r));const d=Date[x(1700)](),a={...o,executionPath:o[x(556)]||[],runtimeHandlers:this.mergeRuntimeHandlers(o.runtimeHandlers)};return this.executeEventFlow(i,a)[x(582)](Ut(u=>({success:!0,result:u,path:a[x(556)],duration:Date[x(1700)]()-d})),Gt(u=>w0({success:!1,error:u[x(1109)]||"Event flow execution failed",path:a[x(556)],duration:Date[x(1700)]()-d})))}createEventFlowPipeline(n){const t=s,o=new Or;this.eventSubjects[t(721)](n.id,o)}[s(1729)](n,t){const o=s,{nodes:x,edges:r}=n.flowData;if(x[o(2179)]===0)return w0(null);const i=x[o(815)](c=>c[o(1439)][o(2179)]===0);return i[o(2179)]===0?Fe(()=>new Error("No start node found in event flow")):this[o(545)](i,x,r,t,{})}[s(545)](n,t,o,x,r){const i=s;if(n.length===0)return w0(r);const c=n[i(474)](d=>this[i(1112)](d,x,r)[i(582)](Ml(a=>{const u=i;r[d.id]=a,x.executionPath[u(1759)](d.id)})));return Et(c)[i(582)](xo(d=>d,1),Ut(()=>{const d=i,a=new Set;return n[d(1322)](f=>{const b=d;f[b(2086)].forEach(g=>{const w=b,h=t[w(990)](v=>v.id===g);h&&h.inputs.every(M=>r[M]!==void 0)&&a[w(729)](g)})}),t[d(815)](f=>a[d(1147)](f.id))}),xo(d=>{const a=i;return d.length>0?this[a(545)](d,t,o,x,r):w0(r)}),pl(3e4),Gt(d=>(console.error(i(1056),d),Fe(()=>d))))}[s(602)](n){const t=s;return this[t(1507)][t(1861)](n[t(1481)])??n[t(1551)][t(1418)]}[s(803)](n,t,o){const x=s;return n[x(830)](/\{\{\s*([^}]+?)\s*\}\}/g,(r,i)=>{const c=x,d=String(i)[c(349)]();if(d[c(2189)]("$")){const u=this[c(1327)](o,d[c(852)](1));return u==null?"":String(u)}const a=t[d];return a==null?"":String(a)})}executeBuiltin(n,t,o){const x=s,r=n[x(747)];if(!r)return Fe(()=>new Error("内置动作未选择类型"));if(r==="antdMessage"){const i=n.builtinConfig??{},c=String(i[x(592)]??""),d=i.level??"info",a=i.duration,u=this[x(803)](c,o,t);if(!u[x(349)]())return Fe(()=>new Error(x(588)));try{const f={type:d,content:u};if(a!=null&&a!==""){const b=Number(a);!Number[x(1782)](b)&&(f[x(850)]=b)}return C[x(1109)][x(1564)](f),w0({ok:!0,builtinId:r,content:u,level:d})}catch(f){return Fe(()=>f)}}if(r==="switchCanvas"){const i=n[x(1554)]??{},c=String(i.targetCanvasId??"")[x(349)]();if(!c)return Fe(()=>new Error(x(1904)));const d=t[x(819)]??t[x(1315)];if(!d)return Fe(()=>new Error("当前环境不支持画布切换"));try{return d(c),w0({ok:!0,builtinId:r,targetCanvasId:c,withHistory:!!t[x(819)]})}catch(a){return Fe(()=>a)}}return Fe(()=>new Error(x(2183)+String(r)))}invokeRuntimeHandler(n,t,o){try{const x=n(t,o);return x instanceof Promise?Et(x):w0(x)}catch(x){return Fe(()=>x)}}executeSingleFlowNode(n,t,o){const x=s,r=this[x(602)](n);if(!r)return Fe(()=>new Error(x(2023)+n[x(1481)]));const i=this[x(2057)](n,t,o),c=r[x(1205)]??"inlineScript";if(c==="dataRequest"){const d=(r[x(439)]||"")[x(349)]();if(!d)return Fe(()=>new Error("事件块未配置 dataRequestKey"));const a=t.runtimeHandlers?.[x(874)]?.[d];return a?this[x(594)](a,t,i):Fe(()=>new Error(x(1825)+d))}if(c===x(1925)){const d=(r[x(357)]||"")[x(349)]();if(!d)return Fe(()=>new Error("事件块未配置 externalHandlerKey"));const a=t.runtimeHandlers?.[x(1925)]?.[d];return a?this[x(594)](a,t,i):Fe(()=>new Error(x(841)+d))}if(c===x(434))return this.executeBuiltin(r,t,i);try{const d=new Function(x(1504),"context","args",r.callback),a=d(t[x(1284)],t,i);return a instanceof Promise?Et(a):w0(a)}catch(d){return Fe(()=>d)}}[s(2057)](n,t,o){const x=s,r={$event:t[x(1208)],$data:t[x(1551)],$node:t[x(1284)]},{inputMapping:i}=n[x(1551)];return i&&Object.entries(i)[x(1322)](([c,d])=>{const a=x;if(d.startsWith(a(915))){const u=d[a(830)](a(915),"");r[c]=o[u]}else if(d.startsWith("$")){const u=d[a(852)](1);r[c]=this[a(1327)](t,u)}else r[c]=d}),r}[s(1327)](n,t){return t.split(".").reduce((o,x)=>{if(o!==null&&typeof o=="object"&&x in o)return o[x]},n)}clearAll(){const n=s;this.subscriptions.forEach(t=>t[n(479)]()),this.subscriptions[n(1390)](),this[n(1972)][n(1390)](),this.nodeEventBindings[n(1390)]()}}const Cn=zn[s(781)](),xi=({node:e,children:n,runtimeHandlers:t,flowContextData:o})=>{const x=s,{eventFlow:r,switchCanvas:i,jumpToCanvas:c}=Qe(),d=B[x(780)](null),a=B[x(1318)](()=>{const f=x;return r[f(1271)].filter(b=>b[f(458)]===e.id&&b[f(1306)])},[r[x(1271)],e.id]),u=B[x(1318)](f=>b=>{const g=_0x5590,w=a()[g(815)](v=>v[g(1354)]===f);if(w.length===0)return;f!==g(2168)&&f!==g(1678)&&b[g(810)](),b.stopPropagation();const h=o&&typeof o===g(878)?{...o}:{};w[g(1322)](v=>{const M=g;Cn.emit(e.id,f,{triggerNode:e,originalEvent:b,data:h,runtimeHandlers:t,switchCanvas:i,jumpToCanvas:c})[M(1745)]({next:m=>{const y=M;!m[y(1093)]&&console.error(y(1412),m[y(1036)])},error:m=>{const y=M;console[y(1036)](y(1220),m)}})})},[a,e,t,o]);return B.useEffect(()=>{const f=x;return a()[f(1322)](g=>{Cn.bindNodeEvent(g)}),()=>{Cn[f(904)](e.id)}},[a,e.id]),B[x(2005)](()=>{const f=x,b=d.current;if(!b)return;const g={click:u(f(1164)),mousedown:u("mouseDown"),mouseup:u("mouseUp"),dblclick:u(f(536)),mouseover:u(f(2168)),mouseleave:u(f(1678)),mouseenter:u(f(1340)),contextmenu:u(f(1133))};return Object[f(1615)](g)[f(1322)](([w,h])=>{b[f(1892)](w,h,!0)}),()=>{const w=f;Object[w(1615)](g)[w(1322)](([h,v])=>{b[w(1665)](h,v,!0)})}},[u]),B[x(425)](n,{ref:f=>{const b=x;d.current=f;const g=n[b(941)];typeof g===b(1347)?g(f):g&&"current"in g&&(g[b(523)]=f)}})},{Text:oi}=C[s(464)],ri=(e,n)=>{const t=s;if(!n||!e)return{value:void 0};if(Array[t(565)](e)){const o=e[t(990)](x=>x.paramsCode===n);if(o)return{value:o[t(1044)],unit:o[t(2013)]}}else if(typeof e===t(878)){const o=n[t(897)](".");let x=e;for(const r of o){if(x===null||typeof x!==t(878))return{value:void 0};x=x[r]}if(x!==void 0)return{value:x,unit:e.unit}}return{value:void 0}};function Dl(e){return Array[s(565)](e)}const Ll=(e,n,t)=>{const o=s,x=e.content||{},{valueSourceCode:r,boundDatasetId:i,boundDatasetBindCode:c,boundDatasetBindValue:d}=x;if(!r)return{value:void 0};if(i){const a=n.find(u=>u.id===i);if(a){let u;Dl(a[o(2133)])?c!=null&&d!=null?u=a[o(2133)][o(990)](b=>b[c]===d)||{}:u={}:u=a[o(2133)];const f=t&&typeof t===o(878)?{...u,...t}:u;return ri(f,r)}}return ri(t,r)},Nl=(e,n)=>{const t=s;if(e==null||e==="")return"";if(n===-1)return String(e);const o=Number(e);return isNaN(o)?String(e):o[t(708)](n??2)},Sl=(e,n,t,o,x)=>{const r=s;switch(e[r(1912)]){case"IMAGE":const i=e,c=i.backgroundColor,d=i[r(1334)];let a=i[r(1950)];return d&&a&&a[r(1419)](r(1600))&&(e[r(863)]==="矩形"?a="data:image/svg+xml,"+encodeURIComponent(r(2056)+d+r(1013)):e[r(863)]==="圆形"?a=r(1146)+encodeURIComponent(r(2051)+d+r(1376)):e[r(863)]===r(605)&&(a=r(1146)+encodeURIComponent(r(2056)+d+r(1466)))),l[r(1375)](r(1037),{className:r(1661),style:{backgroundColor:c},children:a?l[r(1375)](r(1663),{src:a,alt:e.name,style:{width:r(1575),height:r(1575),objectFit:r(1906)}}):l[r(1375)](r(1037),{className:"w-full h-full flex items-center justify-center",children:l[r(1375)](r(2163),{className:r(982),children:r(548)})})});case r(1509):const u=e,{label:f,value:b,valueSourceCode:g,unit:w,decimals:h,labelStyle:v,valueStyle:M,customStyle:m}=u.content||{},{value:y,unit:p}=g?Ll(u,x||[],n):{value:void 0,unit:void 0},z=y!==void 0?y:b,P=Nl(z,h),G=w||p||"";return l[r(884)]("div",{className:r(1601),style:{...m},children:[f&&l[r(1375)](oi,{style:{fontSize:14,fontWeight:r(1268),color:r(1085),textAlign:"left",...v},children:f}),P&&l[r(884)](oi,{style:{fontSize:14,color:r(1483),textAlign:r(937),...M},children:[P,G?" "+G:""]})]});case r(1701):const O=e,{thickness:V=2,color:j="#d9d9d9",dashed:q=!1,lineType:H=r(q?444:535),lineWeight:W=V,startX:T=0,startY:N=0,endX:L=100,endY:D=0}=O.config||{},Y=$=>{const F=r,xe=Math[F(2172)](W,1);switch($){case F(535):return"";case F(444):return xe*8+","+xe*4;case F(613):return xe*12+","+xe*3+","+xe*2+","+xe*3;case"phantom":return xe*12+","+xe*3+","+xe*2+","+xe*3+","+xe*2+","+xe*3;case F(457):return xe+","+xe*3;case F(2007):return xe*8+","+xe*3+","+xe+","+xe*3;default:return""}},U=Y(H),I=t?r(1483):j;return l[r(1375)](r(1037),{className:r(2101),style:{overflow:r(963)},children:l[r(884)]("svg",{className:r(1874),width:r(1575),height:r(1575),style:{overflow:"visible",pointerEvents:r(988)},children:[l.jsx(r(1190),{x1:T,y1:N,x2:L,y2:D,stroke:r(1911),strokeWidth:Math.max(W,10),strokeLinecap:r(381),strokeLinejoin:r(381),style:{pointerEvents:"stroke",cursor:r(619)}}),l[r(1375)](r(1190),{x1:T,y1:N,x2:L,y2:D,stroke:I,strokeWidth:W,strokeDasharray:U,strokeLinecap:"round",strokeLinejoin:r(381),style:{pointerEvents:"none"}})]})});case r(601):const J=e;return J[r(1730)]?J.render({}):l[r(1375)]("div",{className:r(1781),children:l[r(1375)]("span",{className:r(982),children:r(1711)})});default:return l[r(1375)](r(1037),{className:"w-full h-full flex items-center justify-center bg-gray-100",children:l.jsx(r(2163),{className:r(982),children:"未知类型"})})}},kl=({node:e,isSelected:n=!1,onClick:t,onMouseDown:o,data:x,onUpdateNode:r,scale:i=1,enableEventFlow:c=!1,eventFlowData:d})=>{const a=s,{normalStyle:u,controlInfo:f}=e,{isClickable:b,isDraggable:g,isResizable:w}=f,h=e[a(742)],v=Qe(A=>A[a(1440)]),M=Qe(A=>A[a(813)]),m=B[a(780)](t);B[a(2005)](()=>{const A=a;m[A(523)]=t},[t]);const[y,p]=B[a(883)](null),z=B[a(780)](null),P=B.useRef(null),G=B[a(780)](null),O=B[a(780)](null),V=B[a(780)](null),[j,q]=B.useState(null),H=B[a(780)](null),W=B[a(780)](null),T=B.useMemo(()=>{const A=a,Z=e[A(742)][A(1833)];if(Z[A(2179)]===0)return;const ne=Br(Z,x,v);return ne||Z[0]},[e[a(742)][a(1833)],x,v]),N=B[a(780)](e.contentInfo[a(1542)]);B[a(2005)](()=>{const A=a;N[A(523)]=e[A(742)][A(1542)]},[e.id]),B[a(2005)](()=>{const A=a,Z=T?.id;Z!==void 0&&N[A(523)]!==Z&&(N[A(523)]=Z,M(e.id,{contentInfo:{...e.contentInfo,currentStatusId:Z}}))},[T?.id,e.id,M]);const L=T?.material,D=L?.[a(1912)]===a(1701),Y=D?L.config:null,U=u[a(690)]??1,I=(u.width||100)*U,J=(u[a(1355)]||100)*U,$=B[a(1318)](()=>{const A=a,Z=V[A(523)]?.[A(1720)]('[data-canvas="true"]');if(!Z)return i;const ne=Z[A(1821)](),te=parseFloat(Z[A(1476)].width);return te?ne[A(1710)]/te:i},[i]),F=B[a(1318)]((A,Z)=>{const ne=a;A.stopPropagation(),A[ne(810)]();const te=Y?.[ne(957)]||0,X=Y?.[ne(504)]||0,oe=Y?.[ne(1676)]||0,ve=Y?.[ne(1945)]||0,pe=u.x||0,Ie=u.y||0,Ae=Math.max((Y?.[ne(1200)]||Y?.[ne(1531)]||2)*2,4),Ee=Math[ne(775)](te,oe),Ne=Math[ne(775)](X,ve),ke=Math[ne(2172)](te,oe),Oe=Math.max(X,ve),je=Math[ne(2172)](ke-Ee,Ae),qe=Math.max(Oe-Ne,Ae);z[ne(523)]={mouseX:A[ne(1072)],mouseY:A[ne(1301)],startX:te,startY:X,endX:oe,endY:ve,nodeX:pe,nodeY:Ie};const We=Math[ne(775)](te,oe),$e=Math[ne(775)](X,ve);G.current={nodeX:pe+We,nodeY:Ie+$e,width:je,height:qe,startX:te-We,startY:X-$e,endX:oe-We,endY:ve-$e},P[ne(523)]=T||null,p(Z)},[Y,u.x,u.y,T]);B[a(2005)](()=>{const A=a;if(!y||!D||!Y||!r)return;const Z=te=>{const X=_0x5590,oe=z[X(523)];if(!oe||!V[X(523)])return;const ve=$(),pe=(te[X(1072)]-oe[X(1792)])/ve,Ie=(te[X(1301)]-oe[X(1153)])/ve;let Ae=oe.startX,Ee=oe[X(504)],Ne=oe[X(1676)],ke=oe[X(1945)],Oe=oe[X(2064)],je=oe[X(388)];y===X(1310)?(Ae=oe[X(957)]+pe,Ee=oe[X(504)]+Ie,Ae<0&&(Oe=oe[X(2064)]+Ae,Ne=oe.endX-Ae,Ae=0),Ee<0&&(je=oe[X(388)]+Ee,ke=oe.endY-Ee,Ee=0)):(Ne=oe.endX+pe,ke=oe[X(1945)]+Ie,Ne<0&&(Oe=oe[X(2064)]+Ne,Ae=oe.startX-Ne,Ne=0),ke<0&&(je=oe.nodeY+ke,Ee=oe.startY-ke,ke=0));const qe=Math[X(2172)]((Y[X(1200)]||2)*2,4),We=Math[X(775)](Ae,Ne),$e=Math[X(775)](Ee,ke),b0=Math[X(2172)](Ae,Ne),B0=Math.max(Ee,ke),t0=Oe+We,a0=je+$e,x0=Ae-We,s0=Ee-$e,h0=Ne-We,V0=ke-$e,$0=Math[X(2172)](b0-We,qe),q0=Math[X(2172)](B0-$e,qe);G.current={nodeX:t0,nodeY:a0,width:$0,height:q0,startX:x0,startY:s0,endX:h0,endY:V0};const Ke=V[X(523)];Ke[X(1476)][X(937)]=t0+"px",Ke[X(1476)][X(1117)]=a0+"px",Ke.style[X(1710)]=$0+"px",Ke[X(1476)].height=q0+"px",Ke[X(1214)](X(1682)).forEach(D0=>{const gn=X;D0[gn(1051)]("x1",String(x0)),D0[gn(1051)]("y1",String(s0)),D0.setAttribute("x2",String(h0)),D0[gn(1051)]("y2",String(V0))});const e0=Ke[X(1525)](X(1526)),A0=Ke[X(1525)](X(1671));e0&&(e0[X(1476)][X(937)]=x0-6+"px",e0[X(1476)][X(1117)]=s0-6+"px"),A0&&(A0[X(1476)].left=h0-6+"px",A0.style.top=V0-6+"px")},ne=()=>{const te=_0x5590,X=G[te(523)];if(!X||!r){p(null),z[te(523)]=null,G[te(523)]=null,P[te(523)]=null;return}const oe=Qe[te(1305)]().nodes[te(990)](Ne=>Ne.id===e.id),ve=oe?.contentInfo[te(1833)]??e[te(742)].statusList,pe=P[te(523)],Ie=pe?.id??ve[te(990)](Ne=>Ne[te(956)][te(1912)]===te(1701))?.id,Ae=ve[te(474)](Ne=>{const ke=te;if(Ne[ke(956)][ke(1912)]!==ke(1701)||Ne.id!==Ie)return Ne;const Oe=Ne[ke(956)];return{...Ne,material:{...Oe,config:{...Oe.config,startX:X.startX,startY:X[ke(504)],endX:X[ke(1676)],endY:X.endY}}}}),Ee=oe?.[te(742)]??h;r(e.id,{normalStyle:{x:X[te(2064)],y:X[te(388)],width:X.width,height:X.height},contentInfo:{...Ee,statusList:Ae}}),p(null),z[te(523)]=null,G[te(523)]=null,P[te(523)]=null};return window.addEventListener(A(920),Z),window[A(1892)](A(814),ne),()=>{const te=A;window[te(1665)](te(920),Z),window[te(1665)](te(814),ne)}},[y,D,Y,e.id,u,h,e[a(742)][a(1833)],r,$]),B[a(2005)](()=>{const A=a;if(!j||!r)return;const Z=te=>{const X=_0x5590;if(!V[X(523)])return;const oe=$(),ve=(te.clientX-j[X(957)])/oe,pe=(te.clientY-j[X(504)])/oe,Ie=j.startRotate,Ae=Ie*Math.PI/180,Ee=Math[X(2040)](Ae),Ne=Math.sin(Ae),ke=ve*Ee+pe*Ne,Oe=-ve*Ne+pe*Ee;let je=j.startWidth,qe=j[X(993)],We=j[X(1311)],$e=j[X(1731)];switch(j[X(1910)]){case"se":je=Math.max(20,j[X(2131)]+ke),qe=Math[X(2172)](20,j[X(993)]+Oe);break;case"sw":je=Math.max(20,j[X(2131)]-ke),qe=Math[X(2172)](20,j[X(993)]+Oe),We=j[X(1311)]+(j[X(2131)]-je);break;case"ne":je=Math[X(2172)](20,j[X(2131)]+ke),qe=Math.max(20,j[X(993)]-Oe),$e=j[X(1731)]+(j[X(993)]-qe);break;case"nw":je=Math[X(2172)](20,j[X(2131)]-ke),qe=Math[X(2172)](20,j[X(993)]-Oe),We=j[X(1311)]+(j[X(2131)]-je),$e=j[X(1731)]+(j[X(993)]-qe);break}if(Ie!==0){let B0=0,t0=0,a0=0,x0=0;switch(j.corner){case"se":B0=0,t0=0,a0=0,x0=0;break;case"sw":B0=j[X(2131)],t0=0,a0=je,x0=0;break;case"ne":B0=0,t0=j[X(993)],a0=0,x0=qe;break;case"nw":B0=j.startWidth,t0=j[X(993)],a0=je,x0=qe;break}const s0=B0-j[X(2131)]/2,h0=t0-j[X(993)]/2,V0=s0*Ee-h0*Ne,$0=s0*Ne+h0*Ee,q0=a0-je/2,Ke=x0-qe/2,hn=q0*Ee-Ke*Ne,e0=q0*Ne+Ke*Ee;We=j[X(1311)]+j[X(2131)]/2-je/2+V0-hn,$e=j.startNodeY+j[X(993)]/2-qe/2+$0-e0}O[X(523)]={x:We,y:$e,width:je,height:qe};const b0=V[X(523)];b0[X(1476)][X(937)]=We+"px",b0.style[X(1117)]=$e+"px",b0[X(1476)][X(1710)]=je+"px",b0[X(1476)][X(1355)]=qe+"px"},ne=()=>{const te=_0x5590,X=O[te(523)];X&&r(e.id,{normalStyle:{...u,x:X.x,y:X.y,width:X[te(1710)],height:X.height}}),q(null),O.current=null};return window.addEventListener(A(920),Z),window[A(1892)]("mouseup",ne),()=>{const te=A;window[te(1665)](te(920),Z),window[te(1665)](te(814),ne)}},[j,r,e.id,u,$]);const xe=B[a(1318)]((A,Z)=>{const ne=a;A.stopPropagation(),A[ne(810)](),q({corner:Z,startX:A[ne(1072)],startY:A[ne(1301)],startWidth:u[ne(1710)]||100,startHeight:u.height||100,startNodeX:u.x||0,startNodeY:u.y||0,startRotate:u[ne(1442)]||0})},[u[a(1710)],u.height,u.x,u.y,u[a(1442)]]),re=B[a(1318)](A=>{const Z=a;A[Z(1313)](),A[Z(810)]();const ne=V[Z(523)]?.[Z(1821)]();if(!ne)return;H[Z(523)]={startX:A[Z(1072)],startY:A[Z(1301)],startAngle:u.rotate||0,centerX:ne.left+ne[Z(1710)]/2,centerY:ne[Z(1117)]+ne[Z(1355)]/2};const te=u[Z(1121)]||"",X=pe=>{const Ie=Z;V[Ie(523)]&&(V[Ie(523)][Ie(1476)].transform=te?"rotate("+pe+Ie(376)+te:"rotate("+pe+Ie(1494))};X(u[Z(1442)]||0);const oe=pe=>{const Ie=Z;if(!H[Ie(523)])return;const Ae=pe.clientX-H[Ie(523)][Ie(1187)],Ee=pe.clientY-H[Ie(523)].centerY;let ke=(Math[Ie(1654)](Ee,Ae)*(180/Math.PI)+90)%360;ke<0&&(ke+=360),W.current=ke,X(ke)},ve=()=>{const pe=Z,Ie=W[pe(523)]??H[pe(523)][pe(1784)];if(W.current=null,H[pe(523)]=null,r){const Ae=e[pe(1379)];r(e.id,{normalStyle:{...Ae,rotate:Math.round(Ie)}})}V[pe(523)]?.[pe(1476)][pe(661)](pe(1121)),window[pe(1665)](pe(920),oe),window[pe(1665)](pe(814),ve)};window[Z(1892)]("mousemove",oe),window[Z(1892)](Z(814),ve)},[u[a(1442)],u[a(1121)],r,e.id,e[a(1379)]]),ae=e[a(1912)]===a(744),ue=u.transform||"",me=u.rotate||0,se={position:a(2122),left:u.x||0,top:u.y||0,width:I,height:J,background:ae?a(1911):u.background||a(1911),backgroundImage:ae?void 0:u.backgroundImage?a(415)+u[a(875)]+")":void 0,backgroundSize:a(673),backgroundPosition:a(613),padding:Array[a(565)](u.padding)?u[a(448)][a(1881)]("px ")+"px":u.padding,margin:Array[a(565)](u[a(1055)])?u[a(1055)][a(1881)](a(1900))+"px":u.margin,borderRadius:ae?void 0:u[a(681)],border:D||ae?a(988):n?a(1756):u[a(1159)]||a(831),outline:n&&ae&&!D?"2px solid #1890ff":void 0,pointerEvents:"auto",opacity:u.opacity??1,transform:D?ue||void 0:ue?a(1448)+me+a(376)+ue:a(1448)+me+"deg)",transformOrigin:a(935),zIndex:n?1e3:u.zIndex??1,cursor:g&&!y?a(696):b?"pointer":a(384),boxSizing:a(573),overflow:a(n||D||ae?963:1771)},ee={width:a(1575),height:"100%",position:a(692),transformOrigin:a(935),...u[a(532)]||u.flipY?{transform:a(1852)+(u[a(532)]?-1:1)+a(471)+(u[a(1536)]?-1:1)+")"}:{}},le=Y?{x:Y[a(957)]||0,y:Y.startY||0}:{x:0,y:0},be=Y?{x:Y.endX||0,y:Y[a(1945)]||0}:{x:0,y:0},E=l.jsxs(a(1037),{ref:V,"data-node-id":e.id,style:se,onClick:A=>{const Z=a;console[Z(1672)]("NodeRenderer onClick",e.id,Z(1074),b);const ne=m[Z(523)];b&&ne&&!y&&!j&&!H.current&&(A[Z(1313)](),ne(A))},onMouseDown:A=>{g&&o&&!y&&o(A)},children:[n&&!D&&l.jsxs(l[a(1465)],{children:[!ae&&l[a(884)](l[a(1465)],{children:[l[a(1375)]("div",{className:a(366),style:{zIndex:9999,pointerEvents:a(1798),cursor:a(382),marginTop:a(773),marginLeft:a(773)},onMouseDown:A=>xe(A,"nw"),title:a(495)}),l.jsx(a(1037),{className:a(1129),style:{zIndex:9999,pointerEvents:a(1798),cursor:a(789),marginTop:"-6px",marginRight:"-6px"},onMouseDown:A=>xe(A,"ne"),title:a(495)}),l[a(1375)]("div",{className:a(657),style:{zIndex:9999,pointerEvents:a(1798),cursor:"sw-resize",marginBottom:a(773),marginLeft:"-6px"},onMouseDown:A=>xe(A,"sw"),title:a(495)}),l[a(1375)](a(1037),{className:a(1352),style:{zIndex:9999,pointerEvents:a(1798),cursor:a(567),marginBottom:a(773),marginRight:a(773)},onMouseDown:A=>xe(A,"se"),title:"拖拽调整大小"})]}),l[a(1375)]("div",{className:a(2157),style:{zIndex:9999,pointerEvents:a(1798),cursor:a(1104),marginTop:a(1078),transform:a(1382),boxShadow:"0 0 4px rgba(0,0,0,0.3)"},onMouseDown:A=>re(A),title:a(975)}),l.jsx("div",{className:a(2071),style:{zIndex:9998,pointerEvents:a(988),marginTop:a(703),transform:"translateX(-50%)"}}),l[a(884)](a(1037),{className:a(1385),children:[e[a(863)]," ",T?"("+T[a(863)]+")":""]})]}),n&&D&&Y&&r&&l[a(884)](l[a(1465)],{children:[l[a(1375)]("div",{"data-handle":a(1310),className:"absolute w-3 h-3 bg-blue-500 border-2 border-white rounded-full cursor-move z-50",style:{left:le.x-6,top:le.y-6,boxShadow:a(1317)},onMouseDown:A=>F(A,a(1310)),title:a(1916)}),l[a(1375)](a(1037),{"data-handle":a(1942),className:a(1377),style:{left:be.x-6,top:be.y-6,boxShadow:"0 0 4px rgba(0,0,0,0.3)"},onMouseDown:A=>F(A,"end"),title:a(945)}),l[a(1375)](a(1037),{className:a(1385),children:e[a(863)]})]}),l[a(884)]("div",{style:D?void 0:ee,className:D?"w-full h-full relative":void 0,children:[l[a(1375)](a(1037),{className:a(2101),children:L?l.jsx(a(1037),{className:a(1991),children:Sl(L,x,n,e,v)}):ae?null:l[a(1375)](a(1037),{className:a(1140),children:a(389)})}),e[a(1912)]==="group"&&e.children&&l[a(1375)](a(1037),{className:"absolute inset-0 pointer-events-none",children:e[a(517)].map(A=>l[a(1375)](a(1037),{className:"pointer-events-auto",children:l[a(1375)](ro,{node:A,isSelected:!1,data:x,onUpdateNode:r,scale:i,enableEventFlow:c,eventFlowData:d})},A.id))})]})]});return c?l[a(1375)](xi,{node:e,flowContextData:d,children:E}):E},ro=B[s(2002)](kl,(e,n)=>{const t=s,o=e[t(1504)],x=n[t(1504)],r=o.id===x.id&&o[t(1379)].x===x[t(1379)].x&&o[t(1379)].y===x.normalStyle.y&&o.normalStyle.width===x[t(1379)].width&&o[t(1379)][t(1355)]===x[t(1379)][t(1355)]&&o.normalStyle.rotate===x[t(1379)][t(1442)]&&o[t(1379)][t(532)]===x[t(1379)][t(532)]&&o.normalStyle[t(1536)]===x.normalStyle[t(1536)],i=o[t(742)]===x[t(742)],c=JSON[t(922)](e[t(991)]??null)===JSON[t(922)](n[t(991)]??null),d=e.isSelected===n[t(1447)]&&e[t(690)]===n[t(690)]&&e.enableEventFlow===n[t(1922)]&&c,a=g=>{const w=t,h=[];return g[w(742)]?.[w(1833)]?.[w(1322)](v=>{const M=w;if(v[M(956)]?.type===M(1701)){const m=v[M(956)][M(1936)];h[M(1759)]({statusId:v.id,startX:m?.[M(957)]??0,startY:m?.[M(504)]??0,endX:m?.[M(1676)]??100,endY:m?.[M(1945)]??0})}}),h},u=a(o),f=a(x);let b=!0;if(u.length!==f[t(2179)])b=!1;else for(let g=0;g<u[t(2179)];g++){const w=u[g],h=f[t(990)](v=>v[t(1431)]===w.statusId);if(!h||w[t(957)]!==h.startX||w.startY!==h.startY||w[t(1676)]!==h[t(1676)]||w.endY!==h.endY){b=!1;break}}return r&&i&&d&&b}),Il=()=>{const e=s,{root:n,addSiblingGroup:t,removeSiblingGroup:o,updateSiblingGroup:x,addCanvasToSiblingGroup:r,removeCanvasFromSiblingGroup:i,moveCanvasInSiblingGroup:c,nextSiblingCanvas:d,prevSiblingCanvas:a,setActiveSiblingGroup:u}=Qe(),f=n[e(408)]??null,b=n[e(511)]||[],[g,w]=B[e(883)](b[0]?.id??null),h=B[e(1581)](()=>b[e(990)](j=>j.id===g)||null,[b,g]),[v,M]=B[e(883)](null),[m,y]=B[e(883)](""),[p,z]=B[e(883)](void 0),P=B[e(1581)](()=>{const j=e;return h?n[j(974)][j(815)](q=>!h[j(869)][j(1419)](q.id)):n[j(974)]},[n[e(974)],h]),G=B[e(1318)](()=>{const j=t();w(j)},[t]),O=B[e(1318)](j=>{const q=e,H=m.trim();if(!H){C[q(1109)][q(1517)](q(2120));return}x(j,{name:H}),M(null),y("")},[m,x]),V=B[e(1318)](()=>{!h||!p||(r(h.id,p),z(void 0))},[h,p,r]);return l[e(884)](e(1037),{className:e(525),style:{minHeight:360},children:[l[e(884)](e(1037),{className:e(1e3),style:{minWidth:220},children:[l.jsxs("div",{className:e(2009),children:[l[e(1375)](e(2163),{className:"font-semibold text-gray-700",children:e(398)}),l[e(1375)](C.Button,{type:e(2085),size:"small",icon:l.jsx(de[e(952)],{}),onClick:G,children:"新建"})]}),b[e(2179)]===0?l[e(1375)](C.Empty,{description:"暂无同级关系,点击「新建」开始",image:C[e(1491)][e(1462)],style:{marginTop:40}}):l[e(1375)](C[e(853)],{size:e(1400),dataSource:b,renderItem:j=>{const q=e,H=j.id===g,W=v===j.id;return l[q(1375)](C[q(853)][q(1254)],{onClick:()=>{W||w(j.id)},style:{cursor:q(619),background:H?q(811):void 0,padding:q(1197)},actions:[W?l.jsx(C.Button,{type:q(1088),size:"small",onClick:T=>{T.stopPropagation(),O(j.id)},children:"保存"}):l[q(1375)](C[q(879)],{title:"重命名",children:l.jsx(C[q(1105)],{type:q(1918),size:"small",icon:l.jsx(de[q(2165)],{}),onClick:T=>{const N=q;T[N(1313)](),M(j.id),y(j[N(863)])}})},q(639)),l[q(1375)](C[q(1708)],{title:q(574),okText:"删除",cancelText:"取消",okButtonProps:{danger:!0},onConfirm:T=>{const N=q;if(T?.stopPropagation(),o(j.id),g===j.id){const L=b[N(815)](D=>D.id!==j.id);w(L[0]?.id??null)}},onCancel:T=>T?.[q(1313)](),children:l[q(1375)](C[q(1105)],{type:q(1918),size:q(1400),danger:!0,icon:l[q(1375)](de.DeleteOutlined,{}),onClick:T=>T[q(1313)]()})},"delete")],children:W?l[q(1375)](C[q(465)],{autoFocus:!0,size:q(1400),value:m,onChange:T=>y(T[q(500)].value),onPressEnter:()=>O(j.id),onClick:T=>T.stopPropagation(),style:{width:140}}):l.jsxs(q(2163),{className:q(1965),children:[l.jsx("span",{style:{fontWeight:H?600:400},children:j[q(863)]}),l.jsx(C.Tag,{color:"blue",children:j.canvasIds[q(2179)]}),f===j.id&&l[q(1375)](C[q(2158)],{color:q(1337),children:"浏览中"})]})})}})]}),l[e(1375)](e(1037),{className:"flex-1 border border-gray-200 rounded p-2",style:{minWidth:280},children:h?l.jsxs(l.Fragment,{children:[l[e(884)](e(1037),{className:e(2009),children:[l.jsx(e(2163),{className:e(1605),children:e(1764)}),l[e(884)](C[e(1450)],{size:e(1400),children:[f===h.id?l[e(1375)](C.Tooltip,{title:e(836),children:l[e(1375)](C[e(1105)],{size:e(1400),onClick:()=>u(null),children:e(512)})}):l[e(1375)](C.Tooltip,{title:e(475),children:l[e(1375)](C.Button,{size:e(1400),type:"primary",ghost:!0,disabled:h[e(869)].length===0,onClick:()=>u(h.id),children:e(916)})}),l[e(1375)](C[e(879)],{title:e(1062),children:l.jsx(C[e(1105)],{size:e(1400),icon:l[e(1375)](de[e(912)],{}),disabled:h[e(869)][e(2179)]<2,onClick:()=>a(h.id)})}),l[e(1375)](C[e(879)],{title:e(1338),children:l[e(1375)](C[e(1105)],{size:e(1400),icon:l[e(1375)](de.RightOutlined,{}),disabled:h[e(869)].length<2,onClick:()=>d(h.id)})})]})]}),l[e(884)](e(1037),{className:e(597),children:[l[e(1375)](C[e(1125)],{placeholder:"选择画布加入",value:p,onChange:z,style:{flex:1},size:e(1400),disabled:P[e(2179)]===0,options:P[e(474)](j=>({label:j.name,value:j.id}))}),l[e(1375)](C.Button,{size:"small",type:e(2085),icon:l[e(1375)](de[e(952)],{}),disabled:!p,onClick:V,children:"加入"})]}),h[e(869)][e(2179)]===0?l[e(1375)](C.Empty,{description:e(1880),image:C.Empty[e(1462)],style:{marginTop:40}}):l[e(1375)](C[e(853)],{size:e(1400),dataSource:h.canvasIds,renderItem:(j,q)=>{const H=e,W=n[H(974)][H(990)](L=>L.id===j),T=n[H(687)]===j,N=h[H(869)].length;return l[H(1375)](C[H(853)][H(1254)],{style:{padding:"6px 8px"},actions:[l[H(1375)](C[H(879)],{title:"上移",children:l[H(1375)](C[H(1105)],{type:"text",size:H(1400),icon:l[H(1375)](de[H(1307)],{}),disabled:q===0,onClick:()=>c(h.id,j,"up")})},"up"),l[H(1375)](C[H(879)],{title:"下移",children:l[H(1375)](C[H(1105)],{type:H(1918),size:H(1400),icon:l[H(1375)](de[H(445)],{}),disabled:q===N-1,onClick:()=>c(h.id,j,H(1221))})},H(1221)),l[H(1375)](C.Tooltip,{title:H(2041),children:l[H(1375)](C[H(1105)],{type:H(1918),size:H(1400),danger:!0,icon:l[H(1375)](de[H(635)],{}),onClick:()=>i(h.id,j)})},H(928))],children:l[H(884)](H(2163),{className:H(1965),children:[l[H(1375)](C[H(2158)],{children:q+1}),l[H(1375)](H(2163),{style:{fontWeight:T?600:400},children:W?.[H(863)]??"(已删除:"+j[H(852)](0,6)+")"}),T&&l[H(1375)](C[H(2158)],{color:H(1337),children:"当前"})]})})}})]}):l[e(1375)](C.Empty,{description:e(1446),image:C[e(1491)][e(1462)],style:{marginTop:60}})})]})},Pl=["#1890ff",s(720),s(2132),s(1216),s(416),s(739),"#13c2c2",s(1753),"#595959",s(1085),s(2171),s(2106),s(470),s(1182),s(749),s(826)],Mn=({value:e=s(1483),onChange:n,onChangeComplete:t})=>{const o=s,[x,r]=B[o(883)](!1),[i,c]=B[o(883)](e),d=B.useRef(null);B[o(2005)](()=>{c(e)},[e]),B[o(2005)](()=>{const u=o,f=b=>{const g=_0x5590;d[g(523)]&&!d[g(523)][g(611)](b.target)&&(r(!1),t?.({toHexString:()=>i}))};return x&&document.addEventListener("mousedown",f),()=>document.removeEventListener(u(1618),f)},[x,t,i]);const a=u=>{c(u),n?.({toHexString:()=>u})};return l.jsxs("div",{ref:d,style:{position:o(692),display:"inline-block"},children:[l[o(1375)](o(1037),{onClick:()=>r(!x),style:{width:28,height:28,backgroundColor:i,border:o(481),borderRadius:4,cursor:"pointer"}}),x&&l[o(884)](o(1037),{style:{position:o(2122),top:32,left:0,zIndex:1e3,background:o(529),padding:8,borderRadius:4,boxShadow:"0 2px 8px rgba(0,0,0,0.15)",border:o(804)},children:[l[o(1375)](o(1037),{style:{display:o(568),gridTemplateColumns:o(2079),gap:4},children:Pl[o(474)](u=>l.jsx(o(1037),{onClick:()=>{a(u),r(!1),t?.({toHexString:()=>u})},style:{width:20,height:20,backgroundColor:u,border:o(i===u?1756:481),borderRadius:2,cursor:o(619)}},u))}),l.jsx("input",{type:o(1176),value:i,onChange:u=>a(u[o(500)].value),onBlur:()=>t?.({toHexString:()=>i}),style:{width:o(1575),marginTop:8,height:28,border:o(481),borderRadius:4}})]})]})},{TextArea:Al}=C.Input;function jl(e){const n=s;if(!e||!(e instanceof HTMLElement))return!1;const t=e.tagName;return!!(t==="INPUT"||t===n(812)||t===n(1846)||t===n(662)||e[n(732)]||e.closest('[contenteditable="true"]')||e.closest('[role="combobox"]')||e.closest(n(378))||e.closest(n(1689)))}const ii=({defaultTestData:e,readonly:n=!1,backgroundImageUrl:t,initialViewportWidth:o,initialViewportHeight:x})=>{const r=s,i=B[r(780)](null),c=B[r(780)](null),d=B[r(780)](null),{nodes:a,selectedNodeId:u,selectedNodeIds:f,mode:b,lineDrawing:g,viewport:w,canvas:h,root:v,setViewport:M,setCanvasConfig:m,addNode:y,selectNode:p,updateNode:z,removeNode:P,bringToFront:G,sendToBack:O,undo:V,redo:j,setMode:q,startLineDrawing:H,endLineDrawing:W,cancelLineDrawing:T,addCanvas:N,removeCanvas:L,switchCanvas:D,updateCanvasName:Y,exportCanvas:U,importCanvas:I,setSelectedNodeIds:J}=Qe(),[$,F]=B[r(883)](!1),[,xe]=B[r(883)]({}),re=B[r(780)](b);B[r(2005)](()=>{const k=r;re[k(523)]=b},[b]),B.useEffect(()=>{const k=r;q(k(n?1774:787))},[n,q]);const ae=n&&o&&h[r(1710)]>0?Math.min(o/h[r(1710)],1):.5,ue=n&&o?1:5,me=n&&o&&h.width>0?ae:1,se=n&&o?r(1985)+o+"-"+(x||r(1798))+r(654)+h.width+"-"+h[r(1355)]:r(384),ee=B[r(780)](me),le=B[r(780)](!1),be=B[r(780)]({x:0,y:0}),E=B[r(780)]({x:0,y:0,newX:0,newY:0}),A=B[r(780)](null),[Z,ne]=B[r(883)]({start:null,end:null,isDrawing:!1}),[te,X]=B[r(883)]({start:null,end:null}),oe=f,ve=J;B[r(780)](!1);const[pe,Ie]=B[r(883)](!1),[Ae,Ee]=B[r(883)](!1),[Ne,ke]=B.useState(()=>JSON[r(922)](e??null,null,2)),Oe=B[r(1581)](()=>{const k=r;if(!Ae)return e;try{return JSON[k(1387)](Ne)}catch{return e}},[Ne,e,Ae]),je=B.useMemo(()=>{const k=r,S=Oe;if(S!==null&&typeof S===k(878))return S;if(S!==void 0)return{_payload:S}},[Oe]),qe=B[r(1581)](()=>{const k=r,S=Oe;return S!==null&&typeof S=="object"&&!Array[k(565)](S)?S:Array[k(565)](S)?{_telemetryRows:S}:S==null?{}:{_payload:S}},[Oe]),We=B[r(1318)](()=>{const k=r;let S=e;if(Ae)try{S=JSON.parse(Ne)}catch{S=e}ke(JSON[k(922)](S??null,null,2)),Ie(!0)},[Ne,e,Ae]),[$e,b0]=B[r(883)](!1),[B0,t0]=B.useState(!1),[a0,x0]=B[r(883)](""),[s0,h0]=B[r(883)](!1),V0=B[r(1318)](()=>{const k=r;try{const S=U(),_=JSON[k(922)](S,null,2),R=k(669)+encodeURIComponent(_),ie=k(2116)+S[k(1434)].name+"_"+Date[k(1700)]()+".json",K=document.createElement("a");K[k(1051)](k(1692),R),K[k(1051)](k(1398),ie),K[k(1164)](),C[k(1109)][k(1093)](k(1563))}catch{C.message[k(1036)](k(1823))}},[U]),$0=B[r(1318)](()=>{const k=r;try{const S=JSON.parse(a0);s0?I(S):I(S,v[k(687)]||void 0),t0(!1),x0(""),h0(!1),C[k(1109)].success(k(2127))}catch{C[k(1109)][k(1036)]("JSON 格式错误,请检查输入")}},[a0,s0,I,v.currentCanvasId]),q0=B[r(1318)](k=>{const S=r,_=new FileReader;return _[S(695)]=R=>{const ie=S;try{const K=R[ie(500)]?.result,Q=JSON[ie(1387)](K);s0?I(Q):I(Q,v[ie(687)]||void 0),C[ie(1109)][ie(1093)]("画布导入成功!"),t0(!1),h0(!1)}catch{C[ie(1109)][ie(1036)]("文件格式错误")}},_.readAsText(k),!1},[s0,I,v[r(687)]]),[Ke,hn]=B.useState(!1),e0=B[r(1318)]((k,S)=>{const _=r;if(!c[_(523)])return{x:0,y:0};const R=c[_(523)][_(1821)](),ie=k-R.left,K=S-R[_(1117)],Q=R[_(1710)]/h[_(1710)],fe=R[_(1355)]/h[_(1355)],ye=ie/Q,he=K/fe;return{x:Math[_(381)](ye),y:Math[_(381)](he)}},[h[r(1710)],h[r(1355)]]),A0=B.useCallback((k,S)=>e0(k,S),[e0]),D0=B[r(1318)]((k,S,_=!0)=>{const R=r;if(!g[R(956)])return;const ie=g.material,K=ie[R(1936)]||{},Q=K[R(1200)]||K[R(1531)]||2,fe=Math[R(775)](k.x,S.x),ye=Math[R(775)](k.y,S.y),he=Math[R(381)](k.x-fe),we=Math[R(381)](k.y-ye),Me=Math.round(S.x-fe),De=Math[R(381)](S.y-ye),Be=Math[R(2172)](Q*2,4),Ce=Math.max(Math[R(1537)](k.x-S.x),Be),He=Math[R(2172)](Math[R(1537)](k.y-S.y),Be),Ye=S.x-k.x,ce=S.y-k.y,ge=Math[R(381)](Math.atan2(ce,Ye)*(180/Math.PI)),Te={...ie,id:Le[R(1335)](),config:{color:K[R(1176)],lineWeight:Q,thickness:Q,lineType:K[R(1518)],startX:he,startY:we,endX:Me,endY:De,rotate:ge}},Je={id:Le[R(1335)](),name:ie[R(863)]+"_"+Date.now(),type:R(485),normalStyle:{width:Ce,height:He,x:fe,y:ye,background:"transparent"},contentInfo:{statusList:[_x(Te)],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}};if(y(Je,!1),_){const y0={x:S.x,y:S.y};ne({start:y0,end:{...y0},isDrawing:!0})}else ne({start:null,end:null,isDrawing:!1}),W()},[g[r(956)],y,W]),gn=B.useCallback(()=>{const k=r,S=i[k(523)]?.[k(2180)];if(!S)return;const _=S[k(1662)];ee[k(523)]=_[k(690)],M({scale:_[k(690)],positionX:0,positionY:0})},[M]),$o=B[r(1318)](k=>{const S=r;le.current||b!==S(473)&&(k[S(500)]===c[S(523)]||k.target[S(2125)]?.canvas===S(1981))&&(p(null),ve([]))},[p,b]),er=B[r(1318)](k=>{const S=r;if(k[S(752)]===0){if(b===S(1510)&&g[S(956)]){k[S(1313)]();const _=e0(k[S(1072)],k.clientY);Z[S(979)]?Z[S(1310)]&&D0(Z[S(1310)],_,!0):ne({start:_,end:_,isDrawing:!0});return}if(b===S(473)&&!Ke){const _=A0(k[S(1072)],k[S(1301)]);X({start:_,end:_}),ve([]),p(null),k[S(810)](),k.stopPropagation()}}},[b,g.material,Z[r(979)],Z[r(1310)],Ke,D0,e0,A0]),nr=B[r(1318)](k=>{const S=r;if(!(b!==S(1510)||!g[S(956)])&&Z[S(979)]&&Z[S(1310)]){const _=e0(k[S(1072)],k[S(1301)]);D0(Z[S(1310)],_,!1)}},[b,g[r(956)],Z[r(979)],Z[r(1310)],D0,e0]),tr=B[r(1318)](k=>{const S=r;k[S(810)](),k[S(653)][S(964)]=S(1826),F(!0)},[]),xr=B.useCallback(k=>{k[r(810)](),F(!1)},[]),or=B[r(1318)](k=>{const S=r;if(k[S(810)](),F(!1),!(!c.current||b!==S(787)&&b!==S(473)))try{const _=k[S(653)][S(2178)]("application/json");if(!_)return;const R=JSON[S(1387)](_),ie=e0(k[S(1072)],k.clientY),K=ie.x-50,Q=ie.y-50,fe=Sr(K,Q,R);y(fe),ve([fe.id])}catch(_){console[S(1036)](S(482),_)}},[b,y,e0,ve]),rr=B[r(1318)]((k,S)=>{const _=r;b!==_(787)&&b!==_(473)||!S.controlInfo.isDraggable||(k[_(1313)](),p(S.id),le[_(523)]=!0,be.current={x:k[_(1072)],y:k[_(1301)]},E[_(523)]={x:S[_(1379)].x||0,y:S[_(1379)].y||0,newX:S[_(1379)].x||0,newY:S.normalStyle.y||0},A[_(523)]=S,k[_(810)]())},[b,p]);B[r(2005)](()=>{const k=r,S=K=>{const Q=_0x5590;if(le.current&&u&&A.current){if(!c[Q(523)])return;const fe=c[Q(523)][Q(1821)](),ye=fe[Q(1710)]/h.width,he=fe[Q(1355)]/h[Q(1355)],we=K[Q(1072)]-be[Q(523)].x,Me=K[Q(1301)]-be[Q(523)].y,De=we/ye,Be=Me/he,Ce=E[Q(523)].x+De,He=E[Q(523)].y+Be,Ye=document[Q(1525)](Q(571)+u+'"]');Ye&&(Ye[Q(1476)][Q(937)]=Ce+"px",Ye[Q(1476)].top=He+"px"),E[Q(523)][Q(480)]=Ce,E[Q(523)][Q(1966)]=He}if(b===Q(473)&&te[Q(1310)]){const fe=A0(K[Q(1072)],K[Q(1301)]);X(ye=>({...ye,end:fe}))}if(b===Q(1510)&&Z.isDrawing){const fe=e0(K[Q(1072)],K[Q(1301)]);ne(ye=>({...ye,end:fe}))}},_=()=>{const K=_0x5590;if(le[K(523)]&&u&&A[K(523)]){const Q=Qe[K(1305)](),fe=E.current[K(480)]??E[K(523)].x,ye=E[K(523)][K(1966)]??E[K(523)].y;Q[K(813)](u,{normalStyle:{...A[K(523)][K(1379)],x:fe,y:ye}})}if(le[K(523)]=!1,A[K(523)]=null,xe({}),b==="box-select"&&te[K(1310)]&&te.end){const Q=Math[K(775)](te.start.x,te[K(1942)].x),fe=Math[K(2172)](te[K(1310)].x,te[K(1942)].x),ye=Math[K(775)](te[K(1310)].y,te.end.y),he=Math[K(2172)](te[K(1310)].y,te[K(1942)].y),we=a.filter(Me=>{const De=K,Be=Me.normalStyle.x||0,Ce=Me[De(1379)].y||0,He=Me.normalStyle[De(1710)]||0,Ye=Me[De(1379)][De(1355)]||0,ce=Be+He/2,ge=Ce+Ye/2;return ce>=Q&&ce<=fe&&ge>=ye&&ge<=he})[K(474)](Me=>Me.id);ve(we),X({start:null,end:null})}},R=K=>{const Q=_0x5590;if(!jl(K.target)){if(K[Q(844)]==="Escape"&&b==="line-draw"&&(ne({start:null,end:null,isDrawing:!1}),T()),K.key===Q(1229)&&(u?P(u):oe[Q(2179)]>0&&(oe[Q(1322)](fe=>P(fe)),ve([]))),K[Q(1679)]&&K[Q(844)]==="z"&&(K[Q(810)](),V()),K[Q(1679)]&&K[Q(844)]==="y"&&(K[Q(810)](),j()),(b===Q(787)||b===Q(473))&&(K[Q(844)]==="ArrowLeft"||K.key===Q(989)||K[Q(844)]===Q(955)||K[Q(844)]===Q(1386))){const fe=oe[Q(2179)]>0?oe:u?[u]:[];if(fe[Q(2179)]>0){K[Q(810)]();const ye=K.key===Q(2134)?-2:K[Q(844)]===Q(989)?2:0,he=K.key===Q(955)?-2:K[Q(844)]==="ArrowDown"?2:0;fe[Q(1322)](we=>{const Me=Q,De=a[Me(990)](Be=>Be.id===we);De&&z(we,{normalStyle:{...De[Me(1379)],x:(De[Me(1379)].x||0)+ye,y:(De[Me(1379)].y||0)+he}})})}}K.key===" "&&(K[Q(810)](),!Ke&&hn(!0))}},ie=K=>{K.key===" "&&Ke&&hn(!1)};return window.addEventListener(k(920),S),window.addEventListener(k(814),_),window[k(1892)]("keydown",R),window[k(1892)](k(1351),ie),()=>{const K=k;window[K(1665)](K(920),S),window.removeEventListener(K(814),_),window[K(1665)]("keydown",R),window[K(1665)](K(1351),ie)}},[u,te,b,Z[r(979)],oe,a,h.width,h.height,P,V,Ke,j,T,e0,A0,ve,z]);const Lx=(k,S=!0)=>{const _=r,R={...k,id:Le.nanoid(),name:k[_(863)]+_(498),normalStyle:{...k[_(1379)],x:(k[_(1379)].x||0)+(S?20:0),y:(k[_(1379)].y||0)+(S?20:0)}};return k[_(1912)]===_(744)&&k[_(517)]&&(R.children=k.children[_(474)](ie=>Lx(ie,!1))),R},Nx=B[r(1318)](()=>{const k=r,S=oe[k(2179)]>0?oe[k(474)](R=>a.find(ie=>ie.id===R))[k(815)](Boolean):u?[a[k(990)](R=>R.id===u)][k(815)](Boolean):[];if(S[k(2179)]===0)return;const _=[];S[k(1322)](R=>{const ie=Lx(R);y(ie),_.push(ie.id)}),_[k(2179)]===1?p(_[0]):ve(_)},[u,oe,a,y,p,ve]),Sx=B[r(1318)](k=>{const S=r,_=k[S(1379)].x||0,R=k[S(1379)].y||0,ie=k.normalStyle.width||0,K=k[S(1379)].height||0,Q=k[S(1379)][S(1442)]||0;if(!Q)return{minX:_,minY:R,maxX:_+ie,maxY:R+K};const fe=_+ie/2,ye=R+K/2,he=Q*Math.PI/180,we=Math[S(2040)](he),Me=Math[S(1702)](he),De=[{x:-ie/2,y:-K/2},{x:ie/2,y:-K/2},{x:ie/2,y:K/2},{x:-ie/2,y:K/2}];let Be=1/0,Ce=1/0,He=-1/0,Ye=-1/0;for(const ce of De){const ge=fe+ce.x*we-ce.y*Me,Te=ye+ce.x*Me+ce.y*we;Be=Math[S(775)](Be,ge),Ce=Math[S(775)](Ce,Te),He=Math[S(2172)](He,ge),Ye=Math.max(Ye,Te)}return{minX:Be,minY:Ce,maxX:He,maxY:Ye}},[]),kx=B.useCallback(k=>{const S=r,_=k.normalStyle.x||0,R=k[S(1379)].y||0,ie=k[S(1379)][S(1710)]||0,K=k[S(1379)][S(1355)]||0,Q=k[S(1379)].rotate||0;if(!Q)return(k[S(517)]||[])[S(474)](Be=>({...Be,normalStyle:{...Be[S(1379)],x:_+(Be[S(1379)].x||0),y:R+(Be.normalStyle.y||0)}}));const fe=Q*Math.PI/180,ye=Math[S(2040)](fe),he=Math[S(1702)](fe),we=_+ie/2,Me=R+K/2,De=(Be,Ce)=>{const He=Be-ie/2,Ye=Ce-K/2;return{x:we+He*ye-Ye*he,y:Me+He*he+Ye*ye}};return(k[S(517)]||[]).map(Be=>{const Ce=S;if(Be.contentInfo[Ce(1833)].some(On=>On[Ce(956)][Ce(1912)]==="LINE")){const On=Be[Ce(1379)].x||0,Hx=Be[Ce(1379)].y||0,Tx=Be[Ce(1379)][Ce(1710)]||0,Vx=Be[Ce(1379)][Ce(1355)]||0,Mt=Be[Ce(1379)][Ce(1442)]||0,qx=Mt*Math.PI/180,Bt=Math[Ce(2040)](qx),Dt=Math[Ce(1702)](qx),Wx=(N0,_e)=>{const o0=N0-Tx/2,m0=_e-Vx/2,Ze=o0*Bt-m0*Dt+Tx/2,Re=o0*Dt+m0*Bt+Vx/2;return De(On+Ze,Hx+Re)};let j0=1/0,Y0=1/0,Hn=-1/0,Tn=-1/0,L0=2;const X0=Be[Ce(742)][Ce(1833)][Ce(474)](N0=>{const _e=Ce;if(N0[_e(956)].type!=="LINE")return null;const o0=N0.material[_e(1936)]||{},m0=Wx(o0[_e(957)]||0,o0[_e(504)]||0),Ze=Wx(o0[_e(1676)]||0,o0[_e(1945)]||0);return j0=Math.min(j0,m0.x,Ze.x),Y0=Math[_e(775)](Y0,m0.y,Ze.y),Hn=Math[_e(2172)](Hn,m0.x,Ze.x),Tn=Math[_e(2172)](Tn,m0.y,Ze.y),L0=Math[_e(2172)](L0,o0[_e(1200)]||o0.thickness||2),{s:m0,e:Ze}});if(Number[Ce(868)](j0)&&Number[Ce(868)](Y0)){const N0=Math[Ce(2172)](L0*2,4),_e=Math[Ce(2172)](Hn-j0,N0),o0=Math[Ce(2172)](Tn-Y0,N0),m0=Be.contentInfo[Ce(1833)][Ce(474)]((Ze,Re)=>{const r0=Ce,n0=X0[Re];if(!n0||Ze[r0(956)].type!==r0(1701))return Ze;const i0=Ze[r0(956)];return{...Ze,material:{...i0,config:{...i0.config||{},startX:n0.s.x-j0,startY:n0.s.y-Y0,endX:n0.e.x-j0,endY:n0.e.y-Y0}}}});return{...Be,normalStyle:{...Be.normalStyle,x:j0,y:Y0,width:_e,height:o0,rotate:0},contentInfo:{...Be.contentInfo,statusList:m0}}}return{...Be,normalStyle:{...Be.normalStyle,x:_+On,y:R+Hx,rotate:0}}}const Ye=Be[Ce(1379)][Ce(1710)]||0,ce=Be[Ce(1379)][Ce(1355)]||0,ge=Be[Ce(1379)].x||0,Te=Be.normalStyle.y||0,Je=ge+Ye/2-ie/2,y0=Te+ce/2-K/2,yn=we+Je*ye-y0*he,lr=Me+Je*he+y0*ye,Gx=Be[Ce(1379)][Ce(1442)]||0,Ox=((Gx+Q)%360+360)%360;return{...Be,normalStyle:{...Be[Ce(1379)],x:yn-Ye/2,y:lr-ce/2,rotate:Ox}}})},[]),Ix=B[r(1318)](()=>{const k=r;if(oe[k(2179)]<2)return;const S=[];for(let ye=0;ye<oe.length;ye++){const he=oe[ye],we=a[k(990)](Me=>Me.id===he);if(we){if(we?.[k(1912)]==="group"){kx(we)[k(1322)](De=>S[k(1759)](De)),P(he);continue}S[k(1759)](we)}}if(S[k(2179)]<2)return;let _=1/0,R=1/0,ie=-1/0,K=-1/0;S[k(1322)](ye=>{const he=k,we=Sx(ye);_=Math[he(775)](_,we[he(1568)]),R=Math[he(775)](R,we[he(958)]),ie=Math[he(2172)](ie,we[he(666)]),K=Math.max(K,we[he(1014)])});const Q=S.map(ye=>({...ye,normalStyle:{...ye[k(1379)],x:(ye[k(1379)].x||0)-_,y:(ye[k(1379)].y||0)-R}})),fe={id:Le[k(1335)](),name:"群组_"+Date[k(1700)](),type:k(744),normalStyle:{x:_,y:R,width:ie-_,height:K-R,background:k(1911)},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:Q};oe[k(1322)](ye=>P(ye)),y(fe),ve([]),p(fe.id)},[oe,a,P,y,p,kx,Sx]),Px=k=>{const S=r,_={...k,id:Le[S(1335)]()};return k[S(1912)]===S(744)&&k.children&&(_.children=k.children[S(474)](R=>Px(R))),_},mt=B[r(1318)](()=>{const k=r,S=oe[k(2179)]>0?oe[k(474)](_=>a.find(R=>R.id===_))[k(815)](_=>!!_&&_[k(1912)]==="group"):u?[a[k(990)](_=>_.id===u)][k(815)](_=>!!_&&_[k(1912)]===k(744)):[];S[k(2179)]!==0&&(S[k(1322)](_=>{const R=k;if(!_.children||_[R(517)][R(2179)]===0)return;const ie=_[R(1379)].x||0,K=_[R(1379)].y||0,Q=_[R(1379)][R(1710)]||0,fe=_[R(1379)][R(1355)]||0,ye=_.normalStyle[R(1442)]||0,he=ye*Math.PI/180,we=Math[R(2040)](he),Me=Math.sin(he),De=ie+Q/2,Be=K+fe/2,Ce=(Ye,ce)=>{const ge=Ye-Q/2,Te=ce-fe/2;return{x:De+ge*we-Te*Me,y:Be+ge*Me+Te*we}},He=_[R(517)][R(474)](Ye=>{const ce=R,ge=Px(Ye);if(ge.contentInfo.statusList[ce(1496)](Mt=>Mt.material[ce(1912)]===ce(1701))){const Mt=ge.normalStyle.x||0,qx=ge[ce(1379)].y||0,Bt=ge[ce(1379)].width||0,Dt=ge.normalStyle[ce(1355)]||0,Wx=ge[ce(1379)].rotate||0,j0=Wx*Math.PI/180,Y0=Math[ce(2040)](j0),Hn=Math[ce(1702)](j0),Tn=(Ze,Re)=>{const r0=Ze-Bt/2,n0=Re-Dt/2,i0=r0*Y0-n0*Hn+Bt/2,dr=r0*Hn+n0*Y0+Dt/2;return Ce(Mt+i0,qx+dr)};let L0=1/0,X0=1/0,N0=-1/0,_e=-1/0,o0=2;const m0=ge[ce(742)][ce(1833)][ce(474)](Ze=>{const Re=ce;if(Ze[Re(956)].type!==Re(1701))return null;const r0=Ze.material[Re(1936)]||{},n0=Tn(r0[Re(957)]||0,r0[Re(504)]||0),i0=Tn(r0[Re(1676)]||0,r0[Re(1945)]||0);return L0=Math[Re(775)](L0,n0.x,i0.x),X0=Math[Re(775)](X0,n0.y,i0.y),N0=Math.max(N0,n0.x,i0.x),_e=Math[Re(2172)](_e,n0.y,i0.y),o0=Math.max(o0,r0[Re(1200)]||r0[Re(1531)]||2),{s:n0,e:i0}});if(Number[ce(868)](L0)&&Number[ce(868)](X0)){const Ze=Math.max(o0*2,4),Re=Math[ce(2172)](N0-L0,Ze),r0=Math[ce(2172)](_e-X0,Ze),n0=ge[ce(742)][ce(1833)][ce(474)]((i0,dr)=>{const ur=ce,Lt=m0[dr];if(!Lt||i0.material[ur(1912)]!=="LINE")return i0;const zs=i0[ur(956)];return{...i0,material:{...zs,config:{...zs[ur(1936)]||{},startX:Lt.s.x-L0,startY:Lt.s.y-X0,endX:Lt.e.x-L0,endY:Lt.e.y-X0}}}});return{...ge,normalStyle:{...ge[ce(1379)],x:L0,y:X0,width:Re,height:r0,rotate:0},contentInfo:{...ge[ce(742)],statusList:n0}}}}const Je=ge[ce(1379)][ce(1710)]||0,y0=ge[ce(1379)][ce(1355)]||0,yn=ge[ce(1379)].x||0,lr=ge[ce(1379)].y||0,Gx=yn+Je/2-Q/2,Ox=lr+y0/2-fe/2,On=De+Gx*we-Ox*Me,Hx=Be+Gx*Me+Ox*we,Tx=ge[ce(1379)].rotate||0,Vx=((Tx+ye)%360+360)%360;return{...ge,normalStyle:{...ge[ce(1379)],x:On-Je/2,y:Hx-y0/2,rotate:Vx}}});P(_.id),He[R(1322)](Ye=>y(Ye))}),ve([]),p(null))},[u,oe,a,P,y,p,ve]),Gn=B[r(1318)](k=>{const S=r;if(oe[S(2179)]<1)return;const _=oe[S(474)](R=>a[S(990)](ie=>ie.id===R))[S(815)](R=>!!R);if(_.length===1&&_[0][S(1912)]===S(744)){const R=_[0];if(!R[S(517)]||R.children[S(2179)]<2)return;const ie=[...R[S(517)]];let K=1/0,Q=1/0,fe=-1/0,ye=-1/0;if(k==="horizontal"){const he=[...ie][S(840)]((ce,ge)=>(ce[S(1379)].x||0)-(ge.normalStyle.x||0));let we=1/0,Me=-1/0,De=0;he.forEach(ce=>{const ge=S,Te=ce.normalStyle.x||0,Je=ce[ge(1379)].width||0;we=Math[ge(775)](we,Te),Me=Math[ge(2172)](Me,Te+Je),De+=Je});const Be=(Me-we-De)/(he[S(2179)]-1);let Ce=we;const He=new Map;he[S(1322)](ce=>{const ge=S;He[ge(721)](ce.id,Ce),Ce+=(ce[ge(1379)][ge(1710)]||0)+Be});const Ye=ie.map(ce=>({...ce,normalStyle:{...ce[S(1379)],x:He[S(1861)](ce.id)??ce[S(1379)].x}}));Ye[S(1322)](ce=>{const ge=S,Te=ce.normalStyle.x||0,Je=ce[ge(1379)].y||0,y0=ce[ge(1379)][ge(1710)]||0,yn=ce[ge(1379)][ge(1355)]||0;K=Math[ge(775)](K,Te),Q=Math[ge(775)](Q,Je),fe=Math[ge(2172)](fe,Te+y0),ye=Math[ge(2172)](ye,Je+yn)}),z(R.id,{normalStyle:{...R.normalStyle,x:(R.normalStyle.x||0)+K,y:(R[S(1379)].y||0)+Q,width:fe-K,height:ye-Q},children:Ye[S(474)](ce=>({...ce,normalStyle:{...ce[S(1379)],x:(ce.normalStyle.x||0)-K,y:(ce[S(1379)].y||0)-Q}}))})}else{const he=[...ie][S(840)]((ce,ge)=>(ce[S(1379)].y||0)-(ge[S(1379)].y||0));let we=1/0,Me=-1/0,De=0;he.forEach(ce=>{const ge=S,Te=ce.normalStyle.y||0,Je=ce.normalStyle[ge(1355)]||0;we=Math[ge(775)](we,Te),Me=Math[ge(2172)](Me,Te+Je),De+=Je});const Be=(Me-we-De)/(he[S(2179)]-1);let Ce=we;const He=new Map;he[S(1322)](ce=>{const ge=S;He[ge(721)](ce.id,Ce),Ce+=(ce.normalStyle[ge(1355)]||0)+Be});const Ye=ie.map(ce=>({...ce,normalStyle:{...ce[S(1379)],y:He.get(ce.id)??ce[S(1379)].y}}));Ye.forEach(ce=>{const ge=S,Te=ce[ge(1379)].x||0,Je=ce[ge(1379)].y||0,y0=ce[ge(1379)].width||0,yn=ce[ge(1379)][ge(1355)]||0;K=Math.min(K,Te),Q=Math.min(Q,Je),fe=Math[ge(2172)](fe,Te+y0),ye=Math[ge(2172)](ye,Je+yn)}),z(R.id,{normalStyle:{...R[S(1379)],x:(R[S(1379)].x||0)+K,y:(R.normalStyle.y||0)+Q,width:fe-K,height:ye-Q},children:Ye.map(ce=>({...ce,normalStyle:{...ce[S(1379)],x:(ce.normalStyle.x||0)-K,y:(ce[S(1379)].y||0)-Q}}))})}return}if(!(_.length<2))if(k===S(1240)){const R=[..._][S(840)]((he,we)=>(he[S(1379)].x||0)-(we.normalStyle.x||0));let ie=1/0,K=-1/0,Q=0;R.forEach(he=>{const we=S,Me=he[we(1379)].x||0,De=he[we(1379)].width||0;ie=Math[we(775)](ie,Me),K=Math[we(2172)](K,Me+De),Q+=De});const fe=(K-ie-Q)/(R[S(2179)]-1);let ye=ie;R[S(1322)](he=>{const we=S,Me=ye;z(he.id,{normalStyle:{...he[we(1379)],x:Me}}),ye+=(he.normalStyle.width||0)+fe})}else{const R=[..._].sort((he,we)=>{const Me=S;return(he[Me(1379)].y||0)-(we[Me(1379)].y||0)});let ie=1/0,K=-1/0,Q=0;R[S(1322)](he=>{const we=S,Me=he[we(1379)].y||0,De=he.normalStyle.height||0;ie=Math[we(775)](ie,Me),K=Math[we(2172)](K,Me+De),Q+=De});const fe=(K-ie-Q)/(R[S(2179)]-1);let ye=ie;R.forEach(he=>{const we=S,Me=ye;z(he.id,{normalStyle:{...he[we(1379)],y:Me}}),ye+=(he[we(1379)][we(1355)]||0)+fe})}},[oe,a,z]),en=k=>{const S=r,_=k[S(742)][S(1833)][S(990)](R=>R[S(956)].type===S(1701));return _?_[S(956)][S(1936)]:null},bn=B[r(1318)](k=>{const S=r;if(oe.length<2)return;const _=Qe.getState(),R=oe.map(K=>a.find(Q=>Q.id===K))[S(815)](K=>!!K);if(R.length<2)return;let ie=0;switch(k){case S(937):ie=Math.min(...R.map(K=>{const Q=S,fe=en(K);return fe?(K[Q(1379)].x||0)+(fe[Q(957)]||0):K[Q(1379)].x||0}));break;case S(1790):ie=Math[S(2172)](...R[S(474)](K=>{const Q=S,fe=en(K);return fe?(K.normalStyle.x||0)+(fe[Q(1676)]||0):(K[Q(1379)].x||0)+(K.normalStyle[Q(1710)]||0)}));break;case S(1117):ie=Math[S(775)](...R[S(474)](K=>{const Q=S,fe=en(K);return fe?(K[Q(1379)].y||0)+(fe[Q(504)]||0):K[Q(1379)].y||0}));break;case S(689):ie=Math[S(2172)](...R.map(K=>{const Q=S,fe=en(K);return fe?(K[Q(1379)].y||0)+(fe.endY||0):(K[Q(1379)].y||0)+(K.normalStyle.height||0)}));break}R[S(1322)](K=>{const Q=S;let fe=K[Q(1379)].x||0,ye=K[Q(1379)].y||0;const he=en(K);switch(k){case Q(937):he?fe=ie-(he[Q(957)]||0):fe=ie;break;case"right":he?fe=ie-(he[Q(1676)]||0):fe=ie-(K[Q(1379)][Q(1710)]||0);break;case Q(1117):he?ye=ie-(he[Q(504)]||0):ye=ie;break;case Q(689):he?ye=ie-(he.endY||0):ye=ie-(K[Q(1379)].height||0);break}_.updateNode(K.id,{normalStyle:{...K.normalStyle,x:fe,y:ye}})})},[oe,a]),ir=[{icon:l.jsx(de.SelectOutlined,{}),title:r(794),active:b===r(787),onClick:()=>{q(r(787))}},{icon:l[r(1375)](de[r(1475)],{}),title:r(1521),active:b===r(473),onClick:()=>{q("box-select"),ve([])}},{icon:l[r(1375)](de[r(1929)],{}),title:"拖拽模式",active:b===r(1980),onClick:()=>{q(r(1980))}},{icon:l[r(1375)](de[r(2165)],{}),title:r(1660),active:b==="line-draw",onClick:()=>{q(r(1510))}},{icon:l[r(1375)](de.EyeOutlined,{}),title:r(2166),active:b==="preview",onClick:()=>{q(r(1774))}}],W0=B[r(1318)](()=>oe[r(2179)]>0?oe:u?[u]:[],[oe,u]),Ax=B.useCallback(()=>{const k=r,S=W0();if(S[k(2179)]===0)return;a[k(815)](R=>S[k(1419)](R.id))[k(474)](R=>R.id)[k(1322)](R=>G(R))},[W0,a,G]),jx=B[r(1318)](()=>{const k=r,S=W0();if(S[k(2179)]===0)return;[...a[k(815)](R=>S[k(1419)](R.id)).map(R=>R.id)][k(2151)]()[k(1322)](R=>O(R))},[W0,a,O]),wt=B.useCallback(k=>{const S=r,_=W0();_[S(2179)]!==0&&_[S(1322)](R=>{const ie=S,K=a.find(fe=>fe.id===R);!K||K[ie(1912)]===ie(744)||!K.contentInfo[ie(1833)].some(fe=>fe[ie(956)].type==="IMAGE")||(k===ie(1240)?z(R,{normalStyle:{...K[ie(1379)],flipX:!K[ie(1379)].flipX}}):z(R,{normalStyle:{...K[ie(1379)],flipY:!K[ie(1379)].flipY}}))})},[W0,a,z]),Yx=W0(),vt=Yx.some(k=>{const S=r,_=a[S(990)](R=>R.id===k);return _&&_.type!==S(744)&&_[S(742)].statusList[S(1496)](R=>R.material[S(1912)]===S(1054))}),{actionButtonsRow1:cr,actionButtonsRow2:ar}=B[r(1581)](()=>({actionButtonsRow1:[{icon:l[r(1375)](de[r(2160)],{}),title:r(401),disabled:!u&&oe.length===0,onClick:Ax},{icon:l.jsx(de.DownSquareOutlined,{}),title:r(616),disabled:!u&&oe[r(2179)]===0,onClick:jx},{icon:l.jsx(de[r(364)],{}),title:r(677),disabled:!u&&oe[r(2179)]===0,onClick:Nx},{icon:l.jsx(de[r(1475)],{}),title:r(1210),disabled:oe[r(2179)]<2,onClick:Ix},{icon:l[r(1375)](de[r(1143)],{}),title:r(2091),disabled:!u&&oe[r(2179)]===0,onClick:mt},{icon:l[r(1375)](de[r(2173)],{}),title:r(409),onClick:()=>b0(!0)},{icon:l[r(1375)](de[r(2153)],{}),title:"数据模拟",type:r(2085),onClick:We},{icon:l[r(1375)](de[r(635)],{}),title:r(1499),disabled:!u&&oe[r(2179)]===0,onClick:()=>{const k=r;u?P(u):oe[k(2179)]>0&&(oe[k(1322)](S=>P(S)),ve([]))}}],actionButtonsRow2:[{icon:l[r(1375)](de[r(846)],{}),title:r(368),disabled:oe.length<2,onClick:()=>bn("left")},{icon:l[r(1375)](de[r(1606)],{}),title:"右对齐",disabled:oe[r(2179)]<2,onClick:()=>bn(r(1790))},{icon:l[r(1375)](de[r(487)],{}),title:"上对齐",disabled:oe.length<2,onClick:()=>bn(r(1117))},{icon:l[r(1375)](de.VerticalAlignBottomOutlined,{}),title:r(1459),disabled:oe[r(2179)]<2,onClick:()=>bn(r(689))},{icon:l[r(1375)](de[r(1188)],{}),title:r(1489),disabled:(()=>{const k=r;if(oe[k(2179)]>=2)return!1;if(oe[k(2179)]===1){const S=a[k(990)](_=>_.id===oe[0]);return!(S?.[k(1912)]===k(744)&&S[k(517)]&&S[k(517)][k(2179)]>=2)}return!0})(),onClick:()=>Gn("horizontal")},{icon:l.jsx(de.ColumnHeightOutlined,{}),title:"垂直分布",disabled:(()=>{const k=r;if(oe[k(2179)]>=2)return!1;if(oe[k(2179)]===1){const S=a.find(_=>_.id===oe[0]);return!(S?.type===k(744)&&S[k(517)]&&S[k(517)].length>=2)}return!0})(),onClick:()=>Gn(r(1323))},{icon:l.jsx(de[r(1381)],{}),title:r(756),disabled:!vt,onClick:()=>wt(r(1240))},{icon:l[r(1375)](r(2163),{style:{display:r(1967),transform:"rotate(90deg)"},children:l[r(1375)](de[r(1381)],{})}),title:"垂直翻转",disabled:!vt,onClick:()=>wt(r(1323))}]}),[V,j,b,q,ve,oe,Ix,mt,Nx,bn,Gn,Ax,jx,b0,Ie,We,u,P,v[r(687)],vt,wt,a]),[sr,Ex]=B[r(883)](!1),[Ux,pt]=B.useState(""),[zt,Ct]=B[r(883)](null);return l.jsxs(r(1037),{className:"flex flex-col "+(n?"":r(1167)),children:[!n&&l.jsxs("div",{className:r(2113),children:[l[r(884)](C[r(1450)],{children:[ir[r(474)](k=>l[r(1375)](C[r(879)],{title:k.title,children:l[r(1375)](C.Button,{type:k[r(978)]?"primary":"default",icon:k[r(1620)],onClick:k.onClick})},k[r(1528)])),l[r(1375)](r(1037),{className:r(2089)}),l[r(1375)](C.Select,{value:v[r(687)],onChange:D,style:{width:140},dropdownRender:k=>l.jsxs(l.Fragment,{children:[k,l[r(1375)]("div",{className:r(490),children:l[r(1375)](C[r(1105)],{type:"link",size:r(1400),block:!0,onClick:()=>Ex(!0),children:"管理画布..."})})]}),children:v[r(974)][r(474)](k=>l[r(1375)](C[r(1125)][r(1755)],{value:k.id,children:k[r(863)]},k.id))}),l[r(1375)](C[r(1105)],{icon:l[r(1375)](de[r(952)],{}),size:r(1400),onClick:()=>N(),title:r(476)}),l[r(1375)](C[r(879)],{title:r(778),children:l[r(1375)](C[r(1105)],{icon:l[r(1375)](de.DownloadOutlined,{}),size:r(1400),onClick:V0})}),l[r(1375)](C[r(879)],{title:r(1824),children:l[r(1375)](C[r(1105)],{icon:l[r(1375)](de[r(838)],{}),size:r(1400),onClick:()=>t0(!0)})})]}),l[r(884)](C[r(1450)],{direction:r(1323),size:4,children:[l.jsx(C[r(1450)],{children:cr[r(474)](k=>l[r(1375)](C[r(879)],{title:k.title,children:l[r(1375)](C[r(1105)],{type:k[r(978)]?"primary":k[r(1912)]||r(384),icon:k.icon,onClick:S=>{const _=r;k[_(1142)](),S[_(1630)][_(549)]()},disabled:k[r(1583)]})},k.title))}),l[r(1375)](C[r(1450)],{children:ar[r(474)](k=>l[r(1375)](C[r(879)],{title:k[r(1528)],children:l[r(1375)](C.Button,{type:k[r(978)]?"primary":k[r(1912)]||r(384),icon:k[r(1620)],onClick:S=>{const _=r;k[_(1142)](),S[_(1630)].blur()},disabled:k[r(1583)]})},k[r(1528)]))})]})]}),l[r(1375)](r(1037),{ref:d,className:r(1903)+(n?"":"flex-1"),style:n&&o?{display:"flex",justifyContent:r(1636),alignItems:r(1636)}:void 0,onWheel:n&&o?k=>{const S=r;k[S(810)](),k[S(1313)]();const _=i[S(523)];if(!_)return;const R=ee[S(523)],ie=.1,K=k[S(1073)]>0?Math[S(2172)](R-ie,ae):Math.min(R+ie,ue);_[S(1482)](0,0,K,0)}:void 0,children:l.jsx(St[r(1421)],{ref:i,initialScale:me,initialPositionX:0,initialPositionY:0,minScale:ae,maxScale:ue,onTransformed:gn,limitToBounds:n&&!!o,centerZoomedOut:n&&!!o,panning:{disabled:!Ke&&b!==r(1980),velocityDisabled:!0},wheel:{disabled:n&&!!o,step:.1},pinch:{disabled:!1},doubleClick:{disabled:!0},children:({zoomIn:k,zoomOut:S,resetTransform:_})=>l[r(884)](l.Fragment,{children:[!n&&l.jsx("div",{className:r(1882),children:l.jsxs(C.Space,{direction:r(1323),children:[l.jsx(C[r(879)],{title:"放大",children:l[r(1375)](C.Button,{icon:l[r(1375)](de[r(1674)],{}),onClick:()=>k()})}),l.jsx(C[r(879)],{title:"缩小",children:l[r(1375)](C[r(1105)],{icon:l.jsx(de[r(691)],{}),onClick:()=>S()})}),l[r(1375)](C.Tooltip,{title:"重置视图",children:l[r(1375)](C.Button,{onClick:()=>_(),children:r(1575)})}),l.jsxs(r(1037),{className:"text-center text-xs text-gray-500",children:[Math[r(381)](w[r(690)]*100),"%"]})]})}),l[r(1375)](St.TransformComponent,{wrapperStyle:n&&o?{width:o,height:x||h[r(1355)]*(ee[r(523)]||1)+"px",position:r(692),overflow:r(1771)}:{width:r(1575),height:n?h[r(1355)]*(ee.current||1)+"px":"100%",position:r(692),overflow:n?"visible":r(1771)},contentStyle:{width:n?h[r(1710)]+"px":"100%",height:n?h[r(1355)]+"px":"100%",display:"flex",alignItems:n?"flex-start":"center",justifyContent:r(n?1636:613)},children:l[r(884)](r(1037),{ref:c,"data-canvas":r(1981),className:r(1903)+($?r(1173):"")+" "+(b==="line-draw"?r(1477):"")+" "+(Ke?r(1642):""),style:{width:h.width,height:h.height,flexShrink:0,backgroundColor:h.background,backgroundImage:h[r(875)]?"url("+h[r(875)]+")":void 0,backgroundSize:r(673),backgroundPosition:"center"},onClick:$o,onMouseDown:er,onDoubleClick:nr,onDragOver:tr,onDragLeave:xr,onDrop:or,children:[t&&!n&&l[r(884)](r(1037),{className:r(1838),style:{width:h.width,height:h[r(1355)]},children:[l[r(1375)](r(1663),{src:t,alt:"",className:r(491),draggable:!1}),l[r(1375)](r(1350),{className:r(514),width:1920,height:1080,children:l[r(1375)]("rect",{x:"0",y:"0",width:"1920",height:r(2034),fill:"none",stroke:r(2010),strokeWidth:"2"})})]}),h[r(1372)]!==!1&&l.jsxs(r(1350),{className:r(514),width:h[r(1710)],height:h[r(1355)],children:[l[r(1375)]("defs",{children:l.jsx(r(505),{id:"grid",width:"20",height:"20",patternUnits:"userSpaceOnUse",children:l.jsx(r(1850),{d:r(969),fill:r(988),stroke:r(1272),opacity:r(539),strokeWidth:"1"})})}),l[r(1375)](r(1389),{width:r(1575),height:r(1575),fill:r(1626)})]}),a[r(474)](R=>l[r(1375)](ro,{node:R,isSelected:b===r(1774)?!1:u===R.id||oe[r(1419)](R.id),data:je,onClick:b==="preview"?void 0:ie=>{const K=r;console.log(K(2184),R.id,K(1887),re[K(523)]),re[K(523)]!=="line-draw"&&(ie[K(1139)]?(p(R.id),ve([...oe,R.id])):(p(R.id),ve([R.id])))},onMouseDown:b==="preview"?void 0:ie=>rr(ie,R),onUpdateNode:b==="preview"?void 0:(ie,K)=>z(ie,K),scale:w[r(690)],enableEventFlow:b==="preview",eventFlowData:qe},""+R.id)),b==="line-draw"&&Z.isDrawing&&Z[r(1310)]&&Z[r(1942)]&&l[r(1375)](r(1350),{className:r(514),width:h.width,height:h.height,children:l[r(1375)](r(1190),{x1:Z[r(1310)].x,y1:Z.start.y,x2:Z[r(1942)].x,y2:Z.end.y,stroke:r(1483),strokeWidth:"2",strokeDasharray:r(1219),strokeLinecap:r(381),strokeLinejoin:r(381)})}),b==="box-select"&&te[r(1310)]&&te[r(1942)]&&l[r(1375)](r(1037),{className:r(1312),style:{left:Math.min(te.start.x,te[r(1942)].x),top:Math.min(te[r(1310)].y,te[r(1942)].y),width:Math.abs(te[r(1942)].x-te[r(1310)].x),height:Math.abs(te[r(1942)].y-te[r(1310)].y),zIndex:9999}})]})})]})},se)}),l[r(1375)](C[r(1767)],{title:r(1342),open:pe,onCancel:()=>Ie(!1),footer:null,children:l.jsx(C[r(1249)],{layout:r(1323),children:l.jsx(C[r(1249)][r(1254)],{label:"测试数据 (JSON)",children:l.jsx(Al,{value:Ne,onChange:k=>{const S=r;Ee(!0),ke(k[S(500)][S(1044)])},rows:10,placeholder:r(387)})})})}),l.jsx(C[r(1767)],{title:"画布配置",open:$e,onCancel:()=>b0(!1),footer:null,children:l.jsxs(C[r(1249)],{layout:r(1323),children:[l[r(1375)](C.Form.Item,{label:"宽度",children:l[r(1375)](C[r(715)],{value:h.width,onChange:k=>m({width:k||1920}),min:100,max:5e3,style:{width:r(1575)}})}),l.jsx(C[r(1249)][r(1254)],{label:"高度",children:l[r(1375)](C[r(715)],{value:h[r(1355)],onChange:k=>m({height:k||1080}),min:100,max:5e3,style:{width:r(1575)}})}),l[r(1375)](C[r(1249)][r(1254)],{label:r(1185),children:l[r(1375)](C[r(1025)],{checked:h[r(1372)]!==!1,onChange:k=>m({showGrid:k})})}),l.jsx(C[r(1249)][r(1254)],{label:r(2021),children:l.jsxs(r(1037),{className:r(1965),children:[l[r(1375)](Mn,{value:h[r(2043)]||r(793),onChange:k=>m({background:k.toHexString()})}),l[r(1375)](C.Input,{value:h[r(2043)],onChange:k=>m({background:k.target[r(1044)]}),placeholder:"#ffffff"})]})}),l[r(884)](C.Form.Item,{label:r(513),children:[l.jsxs("div",{className:r(1965),children:[l[r(1375)](C[r(1596)],{accept:r(1986),showUploadList:!1,beforeUpload:k=>{const S=r;if(!k[S(1912)][S(2189)](S(1746)))return C[S(1109)][S(1036)]("只能上传图片文件!"),!1;const R=new FileReader;return R[S(695)]=ie=>{const K=S,Q=ie[K(500)]?.[K(933)];m({backgroundImage:Q}),C[K(1109)][K(1093)]("背景图片上传成功")},R[S(1075)](k),!1},children:l[r(1375)](C[r(1105)],{icon:l[r(1375)](de[r(838)],{}),children:r(1808)})}),l.jsx(C[r(465)],{value:h[r(875)],onChange:k=>m({backgroundImage:k[r(500)][r(1044)]}),placeholder:"输入图片 URL 或上传图片",style:{flex:1}}),h.backgroundImage&&l[r(1375)](C.Button,{icon:l.jsx(de[r(818)],{}),onClick:()=>m({backgroundImage:void 0}),danger:!0,size:r(1400)})]}),h[r(875)]&&l.jsx(r(1037),{className:r(1319),style:{maxWidth:r(1575)},children:l.jsx("img",{src:h[r(875)],alt:"背景预览",style:{maxWidth:r(1575),maxHeight:120,objectFit:r(1906)}})})]})]})}),l.jsx(C[r(1767)],{title:"画布管理",open:sr,onCancel:()=>{Ex(!1),Ct(null),pt("")},footer:null,width:760,children:l[r(1375)](C.Tabs,{items:[{key:"canvases",label:r(1181),children:l[r(884)](l[r(1465)],{children:[l[r(1375)](C[r(853)],{dataSource:v.canvases,renderItem:k=>l[r(1375)](C[r(853)][r(1254)],{actions:[zt===k.id?l.jsx(C[r(1105)],{type:r(2085),size:r(1400),onClick:()=>{Y(k.id,Ux),Ct(null)},children:"保存"}):l[r(1375)](C.Button,{type:r(1918),icon:l.jsx(de[r(2165)],{}),size:r(1400),onClick:()=>{Ct(k.id),pt(k.name)}}),v[r(974)].length>1&&l[r(1375)](C[r(1105)],{type:r(1918),danger:!0,icon:l[r(1375)](de.DeleteOutlined,{}),size:r(1400),onClick:()=>L(k.id)})].filter(Boolean),children:zt===k.id?l[r(1375)](C[r(465)],{value:Ux,onChange:S=>pt(S.target[r(1044)]),size:"small",style:{width:200}}):l[r(884)]("span",{style:{fontWeight:v[r(687)]===k.id?"bold":"normal"},children:[k[r(863)]," ",v.currentCanvasId===k.id&&r(2053)]})})}),l.jsx(r(1037),{className:r(1726),children:l[r(1375)](C.Button,{type:r(2085),icon:l[r(1375)](de[r(952)],{}),onClick:()=>N(),children:r(476)})})]})},{key:r(1543),label:r(1285),children:l[r(1375)](Il,{})}]})}),l[r(1375)](C[r(1767)],{title:"导入画布",open:B0,onOk:$0,onCancel:()=>{t0(!1),x0(""),h0(!1)},destroyOnClose:!0,width:600,children:l[r(884)](r(1037),{className:r(1888),children:[l[r(884)](r(1037),{children:[l.jsx("p",{className:"mb-2",children:"选择 JSON 文件导入:"}),l[r(1375)](r(614),{type:r(2161),accept:r(1115),onChange:k=>{const S=r,_=k[S(500)][S(2181)]?.[0];_&&q0(_)},className:r(406)})]}),l[r(1375)]("div",{className:"text-center text-gray-400",children:"或"}),l[r(884)](r(1037),{children:[l.jsx("p",{className:"mb-2",children:r(953)}),l.jsx("textarea",{value:a0,onChange:k=>x0(k[r(500)][r(1044)]),placeholder:"粘贴画布 JSON 内容...",className:r(1332)})]}),l[r(884)](r(1037),{className:r(1965),children:[l[r(1375)](r(614),{type:r(1610),id:"importAsNewCanvas",checked:s0,onChange:k=>h0(k[r(500)][r(893)]),className:"w-4 h-4 text-blue-600 border-gray-300 rounded focus:ring-blue-500"}),l[r(1375)](r(663),{htmlFor:"importAsNewCanvas",className:"text-sm text-gray-700",children:r(1179)})]})]})})]})},{Option:Ot}=C[s(1125)];function ci(e){return Array[s(565)](e)}function Yl(e){const n=s,t=new Set;return e[n(1322)](o=>Object[n(999)](o)[n(1322)](x=>t[n(729)](x))),Array[n(1365)](t)}function El(e,n){const t=s;return e[t(474)]((o,x)=>{const r=t,i=o[n],c=o[r(863)];return{label:String(c??"项 "+(x+1)),value:typeof i===r(1705)||typeof i===r(2059)?i:String(i)}})}function ai(e,n=""){const t=s,o=[];for(const[x,r]of Object[t(1615)](e)){const i=n?n+"."+x:x;r!==null&&typeof r===t(878)&&!Array[t(565)](r)?o.push(...ai(r,i)):o.push({paramsCode:i,paramsName:i,value:r})}return o}function Ul(e,n,t){const o=s;if(ci(e)){if(n!=null&&t!=null){const x=e[o(990)](r=>r[n]===t);if(x)return x}return{}}return e}const Gl=({material:e,onSave:n})=>{const t=s,o=e,x=o.content||{},r=Qe(y=>y[t(1440)]),[i,c]=B[t(883)]({label:x[t(663)]||"",value:x.value||"",valueSourceCode:x[t(1052)]||"",unit:x.unit||"",decimals:x[t(2070)]??2,labelFontSize:x.labelStyle?.[t(1688)]||14,labelFontWeight:x.labelStyle?.[t(977)]||t(1268),labelColor:x.labelStyle?.color||t(1085),valueFontSize:x.valueStyle?.[t(1688)]||14,valueFontWeight:x[t(1862)]?.fontWeight||"normal",valueColor:x[t(1862)]?.[t(1176)]||t(1483),boundDatasetId:x[t(965)]||"",boundDatasetBindCode:x[t(1289)]||"",boundDatasetBindValue:x[t(848)]??null}),d=B[t(1581)](()=>{const y=t;return r.find(p=>p.id===i[y(965)])},[r,i[t(965)]]),a=d?ci(d[t(2133)]):!1,u=B[t(1581)](()=>{const y=t;if(!d)return[];const p=Ul(d[y(2133)],i[y(1289)],i[y(848)]);return ai(p)},[d,i[t(1289)],i[t(848)]]);B.useEffect(()=>{const y=t;c({label:x.label||"",value:x.value||"",valueSourceCode:x.valueSourceCode||"",unit:x[y(2013)]||"",decimals:x[y(2070)]??2,labelFontSize:x[y(832)]?.[y(1688)]||14,labelFontWeight:x[y(832)]?.fontWeight||"bold",labelColor:x[y(832)]?.[y(1176)]||"#262626",valueFontSize:x[y(1862)]?.[y(1688)]||14,valueFontWeight:x[y(1862)]?.fontWeight||"normal",valueColor:x[y(1862)]?.[y(1176)]||"#1890ff",boundDatasetId:x.boundDatasetId||"",boundDatasetBindCode:x[y(1289)]||"",boundDatasetBindValue:x[y(848)]??null})},[e.id]);const f=(y,p)=>{c(z=>({...z,[y]:p}))},b=y=>{c(p=>({...p,boundDatasetId:y,boundDatasetBindCode:"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetId:y||void 0,boundDatasetBindCode:void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},g=y=>{c(p=>({...p,boundDatasetBindCode:y||"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetBindCode:y||void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},w=y=>{c(p=>({...p,boundDatasetBindValue:y??null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetBindValue:y??void 0,valueSourceCode:void 0}})},0)},h=y=>{const p=t,z=u[p(990)](G=>G[p(2104)]===y),P=z?.[p(2013)]||"";c(G=>({...G,valueSourceCode:y,unit:P,value:String(z?.[p(1044)]||"")})),setTimeout(()=>{n({content:{...x,valueSourceCode:y,value:String(z?.value||""),unit:P}})},0)},v=()=>{const y=t;n({content:{...x,label:i.label,value:i[y(1044)],valueSourceCode:i[y(1052)],unit:i[y(2013)],decimals:i[y(2070)],boundDatasetId:i[y(965)]||void 0,boundDatasetBindCode:i[y(1289)]||void 0,boundDatasetBindValue:i[y(848)]??void 0,labelStyle:{fontSize:i.labelFontSize,fontWeight:i[y(664)],color:i[y(899)]},valueStyle:{fontSize:i[y(1512)],fontWeight:i[y(647)],color:i[y(623)]}}})},M=d&&a?Yl(d[t(2133)]):[],m=d&&a&&i[t(1289)]?El(d[t(2133)],i[t(1289)]):[];return l[t(884)](t(1037),{className:t(1888),children:[l[t(1375)](C.Divider,{style:{marginTop:0},children:t(1897)}),l[t(884)](C[t(1249)],{layout:t(1323),children:[l[t(1375)](C[t(1249)][t(1254)],{label:"标签文本 (label)",children:l[t(1375)](C.Input,{value:i[t(663)],onChange:y=>f("label",y.target[t(1044)]),onBlur:v,placeholder:t(1502)})}),l[t(1375)](C[t(1249)][t(1254)],{label:t(716),help:t(1202),children:l[t(1375)](C[t(1125)],{allowClear:!0,placeholder:r[t(2179)]===0?"暂无数据集":t(1422),value:i[t(965)]||void 0,onChange:b,style:{width:t(1575)},options:r[t(474)](y=>({label:y.name,value:y.id}))})}),d&&a&&l[t(884)](l[t(1465)],{children:[l[t(1375)](C[t(1249)].Item,{label:t(503),help:t(2121),children:l.jsx(C[t(1125)],{allowClear:!0,placeholder:t(1263),value:i[t(1289)]||void 0,onChange:g,style:{width:"100%"},options:M.map(y=>({label:y,value:y}))})}),i[t(1289)]&&l[t(1375)](C[t(1249)][t(1254)],{label:t(1149),help:"选择该字段对应的具体值以定位数据项",children:l[t(1375)](C[t(1125)],{allowClear:!0,showSearch:!0,placeholder:t(411),value:i.boundDatasetBindValue??void 0,onChange:w,style:{width:t(1575)},options:m,filterOption:(y,p)=>String(p?.[t(663)]??"")[t(1239)]()[t(1419)](y[t(1239)]()),onInputKeyDown:y=>{const p=t;y.key===" "&&y[p(1313)]()}})})]}),l[t(1375)](C[t(1249)][t(1254)],{label:t(1395),help:t(d?1127:1553),children:l[t(1375)](C[t(1125)],{value:i[t(1052)]||void 0,onChange:h,placeholder:d?t(455):"请先绑定数据集",allowClear:!0,disabled:!d,style:{width:t(1575)},options:u[t(474)](y=>({value:y.paramsCode,label:y[t(1647)]}))})}),l[t(1375)](C[t(1249)][t(1254)],{label:i[t(1052)]?t(2075):t(1749),help:i[t(1052)]?t(1067):t(433),children:l[t(1375)](C[t(465)],{value:i[t(1044)],onChange:y=>f("value",y[t(500)][t(1044)]),onBlur:v,placeholder:i[t(1052)]?t(1807):t(1432),disabled:!!i.valueSourceCode,variant:i[t(1052)]?t(1949):void 0})}),l[t(1375)](C[t(1249)][t(1254)],{label:"单位",help:t(1265),children:l[t(1375)](C.Input,{value:i[t(2013)],onChange:y=>f(t(2013),y[t(500)][t(1044)]),onBlur:v,placeholder:t(892),suffix:i[t(1052)]&&u[t(2179)]>0?l[t(1375)](C[t(2158)],{color:"blue",style:{marginRight:-8},children:"自动"}):null})}),l.jsx(C[t(1249)].Item,{label:t(507),help:"数值格式化时保留的小数位数,-1表示不格式化",children:l[t(1375)](C[t(715)],{value:i[t(2070)],onChange:y=>f(t(2070),y??2),onBlur:v,min:-1,max:10,style:{width:t(1575)}})})]}),l[t(1375)](C.Divider,{children:t(796)}),l[t(884)](C[t(1249)],{layout:t(1323),children:[l[t(884)](C.Space,{children:[l[t(1375)](C[t(1249)][t(1254)],{label:t(449),children:l.jsx(C[t(715)],{value:i[t(483)],onChange:y=>f("labelFontSize",y||14),onBlur:v,min:8,max:72})}),l[t(1375)](C[t(1249)][t(1254)],{label:t(1435),children:l[t(884)](C.Select,{value:i[t(664)],onChange:y=>{f(t(664),y),setTimeout(v,0)},style:{width:100},children:[l[t(1375)](Ot,{value:"normal",children:"正常"}),l.jsx(Ot,{value:t(1268),children:"粗体"})]})})]}),l[t(1375)](C[t(1249)].Item,{label:t(1287),children:l[t(884)]("div",{className:"flex items-center gap-2",children:[l[t(1375)](Mn,{value:i[t(899)]||t(1085),onChange:y=>{const p=t;f(p(899),y[p(2072)]())},onChangeComplete:y=>{const p=t;n({content:{...x,label:i[p(663)],value:i[p(1044)],valueSourceCode:i[p(1052)],unit:i[p(2013)],decimals:i[p(2070)],boundDatasetId:i[p(965)]||void 0,boundDatasetBindCode:i[p(1289)]||void 0,boundDatasetBindValue:i.boundDatasetBindValue??void 0,labelStyle:{fontSize:i[p(483)],fontWeight:i[p(664)],color:y[p(2072)]()},valueStyle:{fontSize:i.valueFontSize,fontWeight:i[p(647)],color:i[p(623)]}}})}}),l[t(1375)](C[t(465)],{value:i.labelColor,onChange:y=>f(t(899),y[t(500)][t(1044)]),onBlur:v,placeholder:t(1085),style:{width:100}})]})})]}),l[t(1375)](C[t(1867)],{children:t(1794)}),l.jsxs(C.Form,{layout:t(1323),children:[l[t(884)](C[t(1450)],{children:[l.jsx(C[t(1249)][t(1254)],{label:t(449),children:l.jsx(C[t(715)],{value:i[t(1512)],onChange:y=>f(t(1512),y||14),onBlur:v,min:8,max:72})}),l[t(1375)](C[t(1249)][t(1254)],{label:"字体粗细",children:l[t(884)](C.Select,{value:i.valueFontWeight,onChange:y=>{f(t(647),y),setTimeout(v,0)},style:{width:100},children:[l[t(1375)](Ot,{value:"normal",children:"正常"}),l.jsx(Ot,{value:t(1268),children:"粗体"})]})})]}),l[t(1375)](C[t(1249)][t(1254)],{label:t(1287),children:l[t(884)]("div",{className:t(1965),children:[l[t(1375)](Mn,{value:i[t(623)]||t(1483),onChange:y=>{f(t(623),y.toHexString())},onChangeComplete:y=>{const p=t;n({content:{...x,label:i[p(663)],value:i[p(1044)],valueSourceCode:i[p(1052)],unit:i.unit,decimals:i[p(2070)],boundDatasetId:i[p(965)]||void 0,boundDatasetBindCode:i[p(1289)]||void 0,boundDatasetBindValue:i[p(848)]??void 0,labelStyle:{fontSize:i[p(483)],fontWeight:i[p(664)],color:i[p(899)]},valueStyle:{fontSize:i[p(1512)],fontWeight:i[p(647)],color:y[p(2072)]()}}})}}),l[t(1375)](C.Input,{value:i[t(623)],onChange:y=>f(t(623),y[t(500)][t(1044)]),onBlur:v,placeholder:"#1890ff",style:{width:100}})]})})]})]})},Ol=({material:e,onSave:n})=>{const t=s,o=e,[x,r]=B[t(883)]({name:e.name,src:o.src||"",backgroundColor:o.backgroundColor||"",fillColor:o[t(1334)]||""});B[t(2005)](()=>{const d=t;r({name:e[d(863)],src:o[d(1950)]||"",backgroundColor:o[d(1812)]||"",fillColor:o.fillColor||""})},[e.id]);const i=(d,a)=>{r(u=>({...u,[d]:a}))},c=()=>{const d=t;n({name:x[d(863)],src:x[d(1950)],backgroundColor:x[d(1812)]})};return l.jsxs(t(1037),{className:"space-y-4",children:[l[t(1375)](C.Divider,{style:{marginTop:0},children:"图片属性"}),l[t(884)](C[t(1249)],{layout:t(1323),children:[l[t(1375)](C[t(1249)][t(1254)],{label:"图片名称",children:l.jsx(C[t(465)],{value:x.name,onChange:d=>i("name",d.target[t(1044)]),onBlur:c})}),l[t(1375)](C.Form[t(1254)],{label:"图片地址 (src)",children:l.jsx(C[t(465)].TextArea,{value:x[t(1950)],onChange:d=>i(t(1950),d[t(500)][t(1044)]),onBlur:c,rows:4,placeholder:t(1279)})}),l.jsx(C[t(1249)][t(1254)],{label:t(1126),children:l[t(884)](t(1037),{className:t(1965),children:[l.jsx(Mn,{value:x[t(1334)]||"#1890ff",onChange:d=>{const a=t,u=d[a(2072)]();i(a(1334),u),n({name:x[a(863)],src:x[a(1950)],backgroundColor:x.backgroundColor,fillColor:u})}}),l[t(1375)](C[t(465)],{value:x[t(1334)],onChange:d=>i(t(1334),d[t(500)][t(1044)]),onBlur:c,placeholder:t(1483)})]})}),l[t(1375)](C[t(1249)].Item,{label:t(707),children:l[t(884)](t(1037),{className:t(1965),children:[l[t(1375)](Mn,{value:x[t(1812)]||t(1483),onChange:d=>{const a=t,u=d[a(2072)]();i(a(1812),u),n({name:x.name,src:x[a(1950)],backgroundColor:u,fillColor:x.fillColor})}}),l.jsx(C.Input,{value:x[t(1812)],onChange:d=>i("backgroundColor",d[t(500)].value),onBlur:c,placeholder:t(1483)})]})})]})]})},{Option:Hl}=C[s(1125)],Tl=({material:e,onSave:n})=>{const t=s,o=e[t(1936)]||{},[x,r]=B[t(883)]({lineWeight:o[t(1200)]||o[t(1531)]||2,color:o[t(1176)]||t(1085),lineType:o.lineType||t(535),startX:o[t(957)]??0,startY:o[t(504)]??0,endX:o[t(1676)]??100,endY:o[t(1945)]??0,rotate:o.rotate??0}),i=JSON[t(922)]({sw:o[t(1200)]??o[t(1531)],c:o[t(1176)],t:o[t(1518)],sx:o.startX,sy:o[t(504)],ex:o[t(1676)],ey:o.endY,r:o[t(1442)]});B[t(2005)](()=>{const a=t;r({lineWeight:o[a(1200)]||o[a(1531)]||2,color:o.color||"#262626",lineType:o[a(1518)]||a(535),startX:o.startX??0,startY:o.startY??0,endX:o[a(1676)]??100,endY:o[a(1945)]??0,rotate:o[a(1442)]??0})},[e.id,i]);const c=a=>{const u=t,f={...x,...a};r(f),n({config:{...o,thickness:f.lineWeight,lineWeight:f[u(1200)],color:f.color,lineType:f[u(1518)],startX:f[u(957)],startY:f[u(504)],endX:f[u(1676)],endY:f[u(1945)],rotate:f.rotate}})},d=[{value:t(535),label:"实线",desc:"连续实线"},{value:"dashed",label:"虚线",desc:t(554)},{value:t(613),label:t(1232),desc:t(362)},{value:t(1837),label:t(995),desc:"长划-双点交替"},{value:t(457),label:"点线",desc:t(1247)},{value:t(2007),label:t(1083),desc:"长划-点交替"}];return l.jsxs(t(1037),{className:t(1888),children:[l.jsx(C.Divider,{style:{marginTop:0},children:t(762)}),l.jsxs(C[t(1249)],{layout:t(1323),children:[l[t(884)](t(1037),{className:"grid grid-cols-2 gap-2",children:[l[t(1375)](C[t(1249)][t(1254)],{label:t(849),className:"mb-2",children:l.jsx(C.InputNumber,{value:x.startX,onChange:a=>c({startX:a??0}),style:{width:t(1575)}})}),l.jsx(C[t(1249)][t(1254)],{label:"起点 Y",className:t(373),children:l[t(1375)](C[t(715)],{value:x[t(504)],onChange:a=>c({startY:a??0}),style:{width:t(1575)}})}),l[t(1375)](C[t(1249)][t(1254)],{label:t(1071),className:t(373),children:l[t(1375)](C[t(715)],{value:x[t(1676)],onChange:a=>c({endX:a??100}),style:{width:"100%"}})}),l[t(1375)](C[t(1249)][t(1254)],{label:t(1557),className:"mb-2",children:l[t(1375)](C[t(715)],{value:x[t(1945)],onChange:a=>c({endY:a??0}),style:{width:t(1575)}})})]}),l.jsx(C.Form.Item,{label:"快速对齐",className:t(1645),children:l.jsxs(C[t(1450)],{children:[l[t(1375)](C[t(1105)],{size:t(1400),onClick:()=>{const a=t,u=o[a(957)]??x[a(957)],f=o[a(504)]??x.startY,b=o.endX??x[a(1676)],g=o[a(1945)]??x[a(1945)],w=b-u,h=g-f,v=Math[a(857)](w*w+h*h),M=w>=0?1:-1;c({endX:u+M*v,endY:f})},title:t(640),children:"水平"}),l[t(1375)](C[t(1105)],{size:t(1400),onClick:()=>{const a=t,u=o[a(957)]??x[a(957)],f=o[a(504)]??x.startY,b=o[a(1676)]??x[a(1676)],g=o[a(1945)]??x[a(1945)],w=b-u,h=g-f,v=Math[a(857)](w*w+h*h),M=h>=0?1:-1;c({endX:u,endY:f+M*v})},title:"将线条变为垂直线,保持长度",children:"垂直"}),l[t(1375)](C[t(1105)],{size:t(1400),onClick:()=>{const a=t,u=o.startX??x.startX,f=o[a(504)]??x.startY,b=o[a(1676)]??x.endX,g=o[a(1945)]??x.endY;c({startX:b,startY:g,endX:u,endY:f})},title:t(533),children:"反向"})]})}),l.jsx(C[t(1249)].Item,{label:t(553),help:t(1934),children:l[t(1375)](C[t(715)],{value:x[t(1442)],onChange:a=>{const u=t,f=a??0,b=o[u(957)]??x.startX,g=o[u(504)]??x[u(504)],w=o[u(1676)]??x[u(1676)],h=o[u(1945)]??x.endY,v=w-b,M=h-g,m=Math[u(857)](v*v+M*M),y=f*Math.PI/180;c({rotate:f,endX:Math.round(b+m*Math.cos(y)),endY:Math[u(381)](g+m*Math[u(1702)](y))})},style:{width:120}})})]}),l[t(1375)](C[t(1867)],{children:"线条属性"}),l[t(884)](C[t(1249)],{layout:t(1323),children:[l.jsx(C[t(1249)][t(1254)],{label:"线型",help:"选择线条样式",children:l[t(1375)](C[t(1125)],{value:x[t(1518)],onChange:a=>c({lineType:a}),children:d[t(474)](a=>l[t(1375)](Hl,{value:a[t(1044)],children:l[t(884)](t(1037),{className:t(1847),children:[l[t(1375)](t(2163),{children:a[t(663)]}),l.jsx(t(2163),{className:"text-xs text-gray-400",children:a[t(705)]})]})},a[t(1044)]))})}),l.jsx(C[t(1249)][t(1254)],{label:"线宽(像素)",children:l[t(1375)](C.InputNumber,{value:x[t(1200)],onChange:a=>c({lineWeight:a||2}),min:1,max:20,style:{width:120}})}),l.jsx(C.Form[t(1254)],{label:"颜色",children:l[t(884)](t(1037),{className:t(1965),children:[l[t(1375)](Mn,{value:x[t(1176)]||t(2106),onChange:a=>c({color:a[t(2072)]()})}),l.jsx(C[t(465)],{value:x[t(1176)],onChange:a=>c({color:a[t(500)][t(1044)]}),placeholder:"#d9d9d9",style:{width:100}})]})})]})]})};function si(e){return Array[s(565)](e)}function Vl(e){const n=s,t=new Set;return e[n(1322)](o=>Object[n(999)](o)[n(1322)](x=>t[n(729)](x))),Array[n(1365)](t)}function ql(e,n){const t=s;return e[t(474)]((o,x)=>{const r=t,i=o[n],c=o.name;return{label:String(c??"项 "+(x+1)),value:typeof i===r(1705)||typeof i===r(2059)?i:String(i)}})}function Wl(e,n,t){if(si(e)){if(n!=null&&t!=null){const o=e.find(x=>x[n]===t);if(o)return o}return{}}return e}const li=({status:e,onUpdate:n,onAppendToExpression:t})=>{const o=s,x=Qe(h=>h[o(1440)]),r=x.find(h=>h.id===e[o(965)]),i=r?si(r[o(2133)]):!1,c=r?Wl(r.sample,e[o(1289)],e[o(848)]):{},d=Cr(c),a=h=>{const v=o,M=v(1156)+h;t?t(M):n({expression:""+(e[v(572)]||"")+M})},u=h=>{n({boundDatasetId:h??null,boundDatasetBindCode:null,boundDatasetBindValue:null})},f=h=>{n({boundDatasetBindCode:h??null,boundDatasetBindValue:null})},b=h=>{n({boundDatasetBindValue:h??null})},g=r&&i?Vl(r[o(2133)]):[],w=r&&i&&e[o(1289)]?ql(r.sample,e[o(1289)]):[];return l[o(884)](l[o(1465)],{children:[l.jsx(C[o(1249)][o(1254)],{label:o(716),extra:x[o(2179)]===0?"请先在顶部工具栏点击「数据池」添加至少一个数据集(JSON 对象模板);宿主项目也可通过 initialScheme.dataPool 或 useEditorStore.getState().setDataPool() 注入。":o(1522),children:l.jsx(C[o(1125)],{allowClear:!0,showSearch:!0,placeholder:x[o(2179)]===0?o(1956):o(1593),value:e[o(965)]??void 0,options:x.map(h=>({label:h[o(863)],value:h.id})),onChange:u,filterOption:(h,v)=>String(v?.label??"")[o(1239)]()[o(1419)](h.toLowerCase()),onInputKeyDown:h=>{h[o(844)]===" "&&h.stopPropagation()}})}),r&&i&&l[o(884)](l[o(1465)],{children:[l[o(1375)](C[o(1249)].Item,{label:o(503),extra:"该数据集的 sample 为数组,请选择用于匹配数据项的字段",children:l[o(1375)](C.Select,{allowClear:!0,placeholder:o(1263),value:e.boundDatasetBindCode??void 0,options:g[o(474)](h=>({label:h,value:h})),onChange:f})}),e.boundDatasetBindCode&&l[o(1375)](C[o(1249)][o(1254)],{label:o(1149),extra:o(1628),children:l.jsx(C[o(1125)],{allowClear:!0,showSearch:!0,placeholder:o(411),value:e[o(848)]??void 0,options:w,onChange:b,filterOption:(h,v)=>String(v?.[o(663)]??"")[o(1239)]().includes(h[o(1239)]()),onInputKeyDown:h=>{const v=o;h[v(844)]===" "&&h[v(1313)]()}})})]}),d[o(2179)]>0&&l.jsx(C[o(1249)][o(1254)],{label:o(1016),children:l[o(1375)](C.Space,{size:[4,4],wrap:!0,children:d.map(h=>l.jsx(C.Tag,{className:o(2112),onClick:()=>a(h),children:o(1156)+h},h))})})]})},di=({material:e,onSave:n})=>{const t=s;switch(e[t(1912)]){case t(1509):return l[t(1375)](Gl,{material:e,onSave:n});case t(1054):return l[t(1375)](Ol,{material:e,onSave:n});case t(1701):return l.jsx(Tl,{material:e,onSave:n});default:return l[t(1375)](t(1037),{className:t(1814),children:"暂不支持编辑此类型的物料"})}},{Panel:ui}=C[s(860)],{TextArea:Xl}=C.Input,Kl=({node:e,updateNode:n,materials:t})=>{const o=s,x=t[o(815)](f=>f.type!==o(601)||!f[o(1936)]?.[o(960)]),r=(f,b)=>{const g=o,w=e[g(517)]?.[g(474)](h=>{const v=g;return h.id===f?{...h,contentInfo:{...h[v(742)],statusList:b}}:h});n(e.id,{children:w})},i=f=>{const b=o,g=e[b(517)]?.[b(990)](h=>h.id===f);if(!g)return;const w={id:Le[b(1335)](),name:"状态"+(g[b(742)][b(1833)][b(2179)]+1),expression:g[b(742)][b(1833)].length===0?b(2069):"return false;",material:{...x[0],id:Le[b(1335)]()},boundDatasetId:null};r(f,[...g[b(742)][b(1833)],w])},c=(f,b)=>{const g=o,w=e[g(517)]?.[g(990)](v=>v.id===f);if(!w)return;const h=w[g(742)].statusList[g(815)](v=>v.id!==b);r(f,h)},d=(f,b,g)=>{const w=o,h=e.children?.find(M=>M.id===f);if(!h)return;const v=h[w(742)][w(1833)][w(474)](M=>M.id===b?{...M,...g}:M);r(f,v)},a=(f,b,g)=>{const w=o,h=e[w(517)]?.[w(990)](m=>m.id===f);if(!h)return;const v=h.contentInfo[w(1833)][w(424)](m=>m.id===b);if(v===-1)return;const M=[...h.contentInfo[w(1833)]];g==="up"&&v>0?[M[v],M[v-1]]=[M[v-1],M[v]]:g===w(1221)&&v<M.length-1&&([M[v],M[v+1]]=[M[v+1],M[v]]),r(f,M)},u=(f,b,g)=>{const w=o,h=t[w(990)](v=>v.id===g);h&&d(f,b,{material:{...h,id:Le.nanoid()}})};return l[o(884)]("div",{className:o(1888),children:[l[o(1375)](o(1037),{className:o(2014),children:l.jsxs(o(1037),{className:o(1165),children:[l[o(1375)](o(645),{children:o(1659)}),":为每个子节点配置多个状态和绑定"]})}),l[o(1375)](C[o(860)],{ghost:!0,children:e.children?.[o(474)]((f,b)=>l[o(1375)](ui,{header:l[o(884)]("div",{className:"flex items-center justify-between w-full pr-4",children:[l.jsxs("span",{className:o(446),children:[o(1302),b+1]}),l.jsxs(C[o(2158)],{color:o(547),style:{fontSize:o(607),padding:"0 4px"},children:[f[o(742)][o(1833)][o(2179)]," 个状态"]})]}),children:l[o(884)]("div",{className:o(1463),children:[l[o(884)](o(1037),{className:o(1617),children:[l[o(1375)](o(2163),{className:"text-sm text-gray-600",children:"状态列表"}),l[o(1375)](C[o(1105)],{type:o(2085),size:"small",icon:l.jsx(de[o(952)],{}),onClick:()=>i(f.id),children:o(876)})]}),f[o(742)][o(1833)][o(2179)]===0?l[o(1375)](o(1037),{className:"text-center text-gray-400 py-4 bg-gray-50 rounded-lg",children:o(735)}):l[o(1375)](C.Collapse,{ghost:!0,children:f[o(742)].statusList[o(474)]((g,w)=>l[o(1375)](ui,{header:l[o(884)]("div",{className:o(1965),children:[l[o(1375)]("span",{className:o(2130),children:w+1}),l[o(1375)](o(2163),{className:"font-medium",children:g[o(863)]}),l[o(1375)](C[o(2158)],{color:o(384),className:"text-xs",children:g.material[o(1912)]})]}),extra:l.jsxs(C[o(1450)],{size:o(1400),onClick:h=>h[o(1313)](),children:[l[o(1375)](C[o(1105)],{type:o(1918),size:o(1400),icon:l.jsx(de[o(1307)],{}),disabled:w===0,onClick:h=>{h.stopPropagation(),a(f.id,g.id,"up")}}),l[o(1375)](C[o(1105)],{type:o(1918),size:o(1400),icon:l[o(1375)](de.ArrowDownOutlined,{}),disabled:w===f[o(742)][o(1833)][o(2179)]-1,onClick:h=>{const v=o;h[v(1313)](),a(f.id,g.id,v(1221))}}),l.jsx(C[o(1105)],{type:o(1918),size:o(1400),danger:!0,icon:l.jsx(de[o(635)],{}),onClick:h=>{h[o(1313)](),c(f.id,g.id)}})]}),children:l[o(884)](C[o(1249)],{layout:o(1323),children:[l[o(1375)](C[o(1249)][o(1254)],{label:"状态名称",children:l[o(1375)](C[o(465)],{value:g.name,onChange:h=>d(f.id,g.id,{name:h[o(500)][o(1044)]}),placeholder:o(1283)})}),l[o(1375)](li,{status:g,onUpdate:h=>d(f.id,g.id,h)}),l[o(1375)](C[o(1249)].Item,{label:o(1817),help:o(1819),children:l.jsx(Xl,{value:g[o(572)],onChange:h=>d(f.id,g.id,{expression:h[o(500)][o(1044)]}),rows:3,placeholder:o(2069)})}),l[o(1375)](C.Form[o(1254)],{label:o(2060),children:l[o(884)](o(1037),{className:o(1965),children:[l[o(1375)](C[o(2158)],{color:o(547),children:g[o(956)][o(863)]}),l[o(1375)](C.Tag,{color:"default",children:g[o(956)].type}),l[o(1375)](C[o(1125)],{placeholder:o(1500),style:{width:150},value:void 0,onChange:h=>h&&u(f.id,g.id,h),options:x[o(474)](h=>({value:h.id,label:h[o(863)]+" ("+h.type+")"}))})]})}),l.jsx(C.Divider,{style:{margin:"12px 0"}}),l[o(884)](o(1037),{className:o(1885),children:[l[o(884)]("div",{className:o(2009),children:[l[o(1375)](o(2163),{className:"text-sm font-medium",children:o(1252)}),l[o(1375)](C.Tag,{children:g.material[o(863)]})]}),l[o(1375)](di,{material:g[o(956)],onSave:h=>{const v=o,M={...g[v(956)],...h};d(f.id,g.id,{material:M})}})]})]})},g.id))})]})},f.id))})]})};function Xe(e){const n=s;if(typeof e===n(1705)||typeof e=="number")return""+e;let t="";if(Array[n(565)](e))for(let o=0,x;o<e[n(2179)];o++)(x=Xe(e[o]))!==""&&(t+=(t&&" ")+x);else for(let o in e)e[o]&&(t+=(t&&" ")+o);return t}var Zl={value:()=>{}};function Ht(){const e=s;for(var n=0,t=arguments.length,o={},x;n<t;++n){if(!(x=arguments[n]+"")||x in o||/[\s.]/[e(665)](x))throw new Error(e(1369)+x);o[x]=[]}return new Tt(o)}function Tt(e){this._=e}function Rl(e,n){const t=s;return e[t(349)]()[t(897)](/^|\s+/).map(function(o){const x=t;var r="",i=o[x(1878)](".");if(i>=0&&(r=o[x(852)](i+1),o=o[x(852)](0,i)),o&&!n[x(911)](o))throw new Error(x(1983)+o);return{type:o,name:r}})}Tt[s(2107)]=Ht.prototype={constructor:Tt,on:function(e,n){const t=s;var o=this._,x=Rl(e+"",o),r,i=-1,c=x[t(2179)];if(arguments.length<2){for(;++i<c;)if((r=(e=x[i])[t(1912)])&&(r=Jl(o[r],e.name)))return r;return}if(n!=null&&typeof n!==t(1347))throw new Error(t(1474)+n);for(;++i<c;)if(r=(e=x[i])[t(1912)])o[r]=fi(o[r],e[t(863)],n);else if(n==null)for(r in o)o[r]=fi(o[r],e.name,null);return this},copy:function(){const e=s;var n={},t=this._;for(var o in t)n[o]=t[o][e(852)]();return new Tt(n)},call:function(e,n){const t=s;if((r=arguments[t(2179)]-2)>0)for(var o=new Array(r),x=0,r,i;x<r;++x)o[x]=arguments[x+2];if(!this._[t(911)](e))throw new Error("unknown type: "+e);for(i=this._[e],x=0,r=i[t(2179)];x<r;++x)i[x][t(1044)][t(2185)](n,o)},apply:function(e,n,t){const o=s;if(!this._[o(911)](e))throw new Error("unknown type: "+e);for(var x=this._[e],r=0,i=x[o(2179)];r<i;++r)x[r][o(1044)][o(2185)](n,t)}};function Jl(e,n){const t=s;for(var o=0,x=e[t(2179)],r;o<x;++o)if((r=e[o])[t(863)]===n)return r[t(1044)]}function fi(e,n,t){const o=s;for(var x=0,r=e[o(2179)];x<r;++x)if(e[x][o(863)]===n){e[x]=Zl,e=e[o(852)](0,x)[o(758)](e[o(852)](x+1));break}return t!=null&&e[o(1759)]({name:n,value:t}),e}var io=s(2042);const hi={svg:s(413),xhtml:io,xlink:s(1622),xml:s(454),xmlns:s(944)};function Vt(e){const n=s;var t=e+="",o=t[n(1878)](":");return o>=0&&(t=e[n(852)](0,o))!==n(1717)&&(e=e[n(852)](o+1)),hi[n(911)](t)?{space:hi[t],local:e}:e}function _l(e){return function(){const n=_0x5590;var t=this[n(1277)],o=this[n(542)];return o===io&&t[n(1082)][n(542)]===io?t[n(2142)](e):t.createElementNS(o,e)}}function Ql(e){return function(){const n=_0x5590;return this[n(1277)].createElementNS(e[n(1680)],e[n(652)])}}function gi(e){const n=s;var t=Vt(e);return(t[n(652)]?Ql:_l)(t)}function Fl(){}function co(e){return e==null?Fl:function(){return this.querySelector(e)}}function $l(e){const n=s;typeof e!==n(1347)&&(e=co(e));for(var t=this._groups,o=t.length,x=new Array(o),r=0;r<o;++r)for(var i=t[r],c=i.length,d=x[r]=new Array(c),a,u,f=0;f<c;++f)(a=i[f])&&(u=e[n(414)](a,a[n(1813)],f,i))&&(n(1813)in a&&(u[n(1813)]=a[n(1813)]),d[f]=u);return new d0(x,this._parents)}function ed(e){const n=s;return e==null?[]:Array[n(565)](e)?e:Array.from(e)}function nd(){return[]}function bi(e){return e==null?nd:function(){return this[_0x5590(1214)](e)}}function td(e){return function(){return ed(e[_0x5590(2185)](this,arguments))}}function xd(e){const n=s;typeof e===n(1347)?e=td(e):e=bi(e);for(var t=this[n(2164)],o=t[n(2179)],x=[],r=[],i=0;i<o;++i)for(var c=t[i],d=c[n(2179)],a,u=0;u<d;++u)(a=c[u])&&(x[n(1759)](e[n(414)](a,a[n(1813)],u,c)),r.push(a));return new d0(x,r)}function yi(e){return function(){return this[_0x5590(1844)](e)}}function mi(e){return function(n){return n[_0x5590(1844)](e)}}var od=Array.prototype.find;function rd(e){return function(){return od[_0x5590(414)](this.children,e)}}function id(){return this.firstElementChild}function cd(e){const n=s;return this.select(e==null?id:rd(typeof e===n(1347)?e:mi(e)))}var ad=Array[s(2107)][s(815)];function sd(){return Array.from(this.children)}function ld(e){return function(){const n=_0x5590;return ad[n(414)](this[n(517)],e)}}function dd(e){const n=s;return this[n(1267)](e==null?sd:ld(typeof e===n(1347)?e:mi(e)))}function ud(e){const n=s;typeof e!==n(1347)&&(e=yi(e));for(var t=this[n(2164)],o=t[n(2179)],x=new Array(o),r=0;r<o;++r)for(var i=t[r],c=i[n(2179)],d=x[r]=[],a,u=0;u<c;++u)(a=i[u])&&e[n(414)](a,a.__data__,u,i)&&d[n(1759)](a);return new d0(x,this[n(1021)])}function wi(e){const n=s;return new Array(e[n(2179)])}function fd(){const e=s;return new d0(this[e(1368)]||this._groups[e(474)](wi),this._parents)}function qt(e,n){const t=s;this[t(1277)]=e.ownerDocument,this[t(542)]=e[t(542)],this[t(1785)]=null,this._parent=e,this.__data__=n}qt[s(2107)]={constructor:qt,appendChild:function(e){const n=s;return this[n(1947)][n(1370)](e,this[n(1785)])},insertBefore:function(e,n){const t=s;return this[t(1947)][t(1370)](e,n)},querySelector:function(e){const n=s;return this[n(1947)][n(1525)](e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function hd(e){return function(){return e}}function gd(e,n,t,o,x,r){const i=s;for(var c=0,d,a=n[i(2179)],u=r[i(2179)];c<u;++c)(d=n[c])?(d[i(1813)]=r[c],o[c]=d):t[c]=new qt(e,r[c]);for(;c<a;++c)(d=n[c])&&(x[c]=d)}function bd(e,n,t,o,x,r,i){const c=s;var d,a,u=new Map,f=n[c(2179)],b=r[c(2179)],g=new Array(f),w;for(d=0;d<f;++d)(a=n[d])&&(g[d]=w=i[c(414)](a,a[c(1813)],d,n)+"",u[c(1147)](w)?x[d]=a:u[c(721)](w,a));for(d=0;d<b;++d)w=i[c(414)](e,r[d],d,r)+"",(a=u.get(w))?(o[d]=a,a.__data__=r[d],u.delete(w)):t[d]=new qt(e,r[d]);for(d=0;d<f;++d)(a=n[d])&&u[c(1861)](g[d])===a&&(x[d]=a)}function yd(e){return e.__data__}function md(e,n){const t=s;if(!arguments.length)return Array.from(this,yd);var o=n?bd:gd,x=this[t(1021)],r=this._groups;typeof e!==t(1347)&&(e=hd(e));for(var i=r[t(2179)],c=new Array(i),d=new Array(i),a=new Array(i),u=0;u<i;++u){var f=x[u],b=r[u],g=b[t(2179)],w=wd(e[t(414)](f,f&&f[t(1813)],u,x)),h=w.length,v=d[u]=new Array(h),M=c[u]=new Array(h),m=a[u]=new Array(g);o(f,b,v,M,m,w,n);for(var y=0,p=0,z,P;y<h;++y)if(z=v[y]){for(y>=p&&(p=y+1);!(P=M[p])&&++p<h;);z[t(1785)]=P||null}}return c=new d0(c,x),c._enter=d,c[t(1246)]=a,c}function wd(e){const n=s;return typeof e===n(878)&&n(2179)in e?e:Array[n(1365)](e)}function vd(){const e=s;return new d0(this._exit||this[e(2164)][e(474)](wi),this[e(1021)])}function pd(e,n,t){const o=s;var x=this.enter(),r=this,i=this.exit();return typeof e=="function"?(x=e(x),x&&(x=x[o(2103)]())):x=x.append(e+""),n!=null&&(r=n(r),r&&(r=r[o(2103)]())),t==null?i.remove():t(i),x&&r?x[o(2e3)](r)[o(1868)]():r}function zd(e){const n=s;for(var t=e.selection?e[n(2103)]():e,o=this[n(2164)],x=t[n(2164)],r=o.length,i=x.length,c=Math[n(775)](r,i),d=new Array(r),a=0;a<c;++a)for(var u=o[a],f=x[a],b=u[n(2179)],g=d[a]=new Array(b),w,h=0;h<b;++h)(w=u[h]||f[h])&&(g[h]=w);for(;a<r;++a)d[a]=o[a];return new d0(d,this[n(1021)])}function Cd(){const e=s;for(var n=this[e(2164)],t=-1,o=n[e(2179)];++t<o;)for(var x=n[t],r=x[e(2179)]-1,i=x[r],c;--r>=0;)(c=x[r])&&(i&&c[e(2140)](i)^4&&i.parentNode[e(1370)](c,i),i=c);return this}function Md(e){const n=s;e||(e=Bd);function t(b,g){const w=_0x5590;return b&&g?e(b[w(1813)],g[w(1813)]):!b-!g}for(var o=this[n(2164)],x=o[n(2179)],r=new Array(x),i=0;i<x;++i){for(var c=o[i],d=c[n(2179)],a=r[i]=new Array(d),u,f=0;f<d;++f)(u=c[f])&&(a[f]=u);a[n(840)](t)}return new d0(r,this[n(1021)])[n(1868)]()}function Bd(e,n){return e<n?-1:e>n?1:e>=n?0:NaN}function Dd(){const e=s;var n=arguments[0];return arguments[0]=this,n[e(2185)](null,arguments),this}function Ld(){return Array[s(1365)](this)}function Nd(){const e=s;for(var n=this[e(2164)],t=0,o=n[e(2179)];t<o;++t)for(var x=n[t],r=0,i=x[e(2179)];r<i;++r){var c=x[r];if(c)return c}return null}function Sd(){let e=0;for(const n of this)++e;return e}function kd(){return!this[s(1504)]()}function Id(e){const n=s;for(var t=this[n(2164)],o=0,x=t.length;o<x;++o)for(var r=t[o],i=0,c=r.length,d;i<c;++i)(d=r[i])&&e[n(414)](d,d.__data__,i,r);return this}function Pd(e){return function(){this[_0x5590(2084)](e)}}function Ad(e){return function(){const n=_0x5590;this[n(534)](e.space,e[n(652)])}}function jd(e,n){return function(){this[_0x5590(1051)](e,n)}}function Yd(e,n){return function(){const t=_0x5590;this[t(1958)](e[t(1680)],e.local,n)}}function Ed(e,n){return function(){var o=n[_0x5590(2185)](this,arguments);o==null?this.removeAttribute(e):this.setAttribute(e,o)}}function Ud(e,n){return function(){const t=_0x5590;var o=n[t(2185)](this,arguments);o==null?this[t(534)](e[t(1680)],e[t(652)]):this[t(1958)](e[t(1680)],e[t(652)],o)}}function Gd(e,n){const t=s;var o=Vt(e);if(arguments[t(2179)]<2){var x=this.node();return o.local?x.getAttributeNS(o.space,o[t(652)]):x[t(659)](o)}return this[t(1270)]((n==null?o[t(652)]?Ad:Pd:typeof n===t(1347)?o[t(652)]?Ud:Ed:o[t(652)]?Yd:jd)(o,n))}function vi(e){const n=s;return e[n(1277)]&&e[n(1277)][n(1944)]||e[n(821)]&&e||e[n(1944)]}function Od(e){return function(){this[_0x5590(1476)].removeProperty(e)}}function Hd(e,n,t){return function(){const o=_0x5590;this[o(1476)][o(713)](e,n,t)}}function Td(e,n,t){return function(){const o=_0x5590;var x=n[o(2185)](this,arguments);x==null?this.style[o(661)](e):this[o(1476)][o(713)](e,x,t)}}function Vd(e,n,t){const o=s;return arguments[o(2179)]>1?this[o(1270)]((n==null?Od:typeof n===o(1347)?Td:Hd)(e,n,t??"")):Bn(this[o(1504)](),e)}function Bn(e,n){const t=s;return e.style.getPropertyValue(n)||vi(e)[t(704)](e,null)[t(872)](n)}function qd(e){return function(){delete this[e]}}function Wd(e,n){return function(){this[e]=n}}function Xd(e,n){return function(){var o=n[_0x5590(2185)](this,arguments);o==null?delete this[e]:this[e]=o}}function Kd(e,n){const t=s;return arguments[t(2179)]>1?this.each((n==null?qd:typeof n===t(1347)?Xd:Wd)(e,n)):this[t(1504)]()[e]}function pi(e){const n=s;return e.trim()[n(897)](/^|\s+/)}function ao(e){return e.classList||new zi(e)}function zi(e){const n=s;this[n(2170)]=e,this[n(1831)]=pi(e[n(659)](n(1414))||"")}zi[s(2107)]={add:function(e){const n=s;var t=this._names[n(1878)](e);t<0&&(this[n(1831)][n(1759)](e),this._node.setAttribute(n(1414),this._names[n(1881)](" ")))},remove:function(e){const n=s;var t=this[n(1831)][n(1878)](e);t>=0&&(this[n(1831)].splice(t,1),this[n(2170)][n(1051)]("class",this._names[n(1881)](" ")))},contains:function(e){const n=s;return this[n(1831)][n(1878)](e)>=0}};function Ci(e,n){for(var t=ao(e),o=-1,x=n.length;++o<x;)t.add(n[o])}function Mi(e,n){for(var t=ao(e),o=-1,x=n.length;++o<x;)t.remove(n[o])}function Zd(e){return function(){Ci(this,e)}}function Rd(e){return function(){Mi(this,e)}}function Jd(e,n){return function(){(n.apply(this,arguments)?Ci:Mi)(this,e)}}function _d(e,n){const t=s;var o=pi(e+"");if(arguments.length<2){for(var x=ao(this[t(1504)]()),r=-1,i=o[t(2179)];++r<i;)if(!x.contains(o[r]))return!1;return!0}return this.each((typeof n===t(1347)?Jd:n?Zd:Rd)(o,n))}function Qd(){this.textContent=""}function Fd(e){return function(){this.textContent=e}}function $d(e){return function(){const n=_0x5590;var t=e[n(2185)](this,arguments);this[n(1367)]=t??""}}function eu(e){const n=s;return arguments[n(2179)]?this[n(1270)](e==null?Qd:(typeof e===n(1347)?$d:Fd)(e)):this[n(1504)]()[n(1367)]}function nu(){const e=s;this[e(1244)]=""}function tu(e){return function(){const n=_0x5590;this[n(1244)]=e}}function xu(e){return function(){const n=_0x5590;var t=e[n(2185)](this,arguments);this[n(1244)]=t??""}}function ou(e){const n=s;return arguments[n(2179)]?this[n(1270)](e==null?nu:(typeof e===n(1347)?xu:tu)(e)):this.node()[n(1244)]}function ru(){const e=s;this[e(757)]&&this[e(1744)][e(1032)](this)}function iu(){return this[s(1270)](ru)}function cu(){const e=s;this.previousSibling&&this[e(1744)][e(1370)](this,this[e(1744)][e(866)])}function au(){return this[s(1270)](cu)}function su(e){const n=s;var t=typeof e===n(1347)?e:gi(e);return this[n(787)](function(){const o=n;return this[o(1032)](t[o(2185)](this,arguments))})}function lu(){return null}function du(e,n){const t=s;var o=typeof e===t(1347)?e:gi(e),x=n==null?lu:typeof n=="function"?n:co(n);return this.select(function(){return this[t(1370)](o.apply(this,arguments),x.apply(this,arguments)||null)})}function uu(){const e=s;var n=this[e(1744)];n&&n[e(1655)](this)}function fu(){return this.each(uu)}function hu(){const e=s;var n=this[e(1953)](!1),t=this[e(1744)];return t?t[e(1370)](n,this[e(757)]):n}function gu(){const e=s;var n=this[e(1953)](!0),t=this[e(1744)];return t?t[e(1370)](n,this[e(757)]):n}function bu(e){return this[s(787)](e?gu:hu)}function yu(e){const n=s;return arguments[n(2179)]?this.property(n(1813),e):this[n(1504)]()[n(1813)]}function mu(e){return function(n){const t=_0x5590;e[t(414)](this,n,this[t(1813)])}}function wu(e){const n=s;return e[n(349)]()[n(897)](/^|\s+/).map(function(t){const o=n;var x="",r=t.indexOf(".");return r>=0&&(x=t.slice(r+1),t=t[o(852)](0,r)),{type:t,name:x}})}function vu(e){return function(){const n=_0x5590;var t=this.__on;if(t){for(var o=0,x=-1,r=t.length,i;o<r;++o)i=t[o],(!e[n(1912)]||i[n(1912)]===e.type)&&i.name===e[n(863)]?this[n(1665)](i.type,i[n(456)],i.options):t[++x]=i;++x?t[n(2179)]=x:delete this.__on}}}function pu(e,n,t){return function(){const o=_0x5590;var x=this[o(936)],r,i=mu(n);if(x){for(var c=0,d=x[o(2179)];c<d;++c)if((r=x[c])[o(1912)]===e[o(1912)]&&r[o(863)]===e[o(863)]){this[o(1665)](r[o(1912)],r[o(456)],r[o(1964)]),this[o(1892)](r.type,r[o(456)]=i,r[o(1964)]=t),r[o(1044)]=n;return}}this.addEventListener(e[o(1912)],i,t),r={type:e[o(1912)],name:e[o(863)],value:n,listener:i,options:t},x?x[o(1759)](r):this[o(936)]=[r]}}function zu(e,n,t){const o=s;var x=wu(e+""),r,i=x[o(2179)],c;if(arguments[o(2179)]<2){var d=this[o(1504)]()[o(936)];if(d){for(var a=0,u=d[o(2179)],f;a<u;++a)for(r=0,f=d[a];r<i;++r)if((c=x[r]).type===f.type&&c[o(863)]===f[o(863)])return f[o(1044)]}return}for(d=n?pu:vu,r=0;r<i;++r)this[o(1270)](d(x[r],n,t));return this}function Bi(e,n,t){const o=s;var x=vi(e),r=x[o(1333)];typeof r===o(1347)?r=new r(n,t):(r=x[o(821)][o(1860)]("Event"),t?(r[o(1222)](n,t[o(1253)],t[o(2147)]),r[o(1065)]=t.detail):r[o(1222)](n,!1,!1)),e[o(1122)](r)}function Cu(e,n){return function(){return Bi(this,e,n)}}function Mu(e,n){return function(){return Bi(this,e,n.apply(this,arguments))}}function Bu(e,n){const t=s;return this.each((typeof n===t(1347)?Mu:Cu)(e,n))}function*Du(){const e=s;for(var n=this._groups,t=0,o=n[e(2179)];t<o;++t)for(var x=n[t],r=0,i=x[e(2179)],c;r<i;++r)(c=x[r])&&(yield c)}var Di=[null];function d0(e,n){const t=s;this[t(2164)]=e,this[t(1021)]=n}function Qn(){const e=s;return new d0([[document[e(1082)]]],Di)}function Lu(){return this}d0.prototype=Qn[s(2107)]={constructor:d0,select:$l,selectAll:xd,selectChild:cd,selectChildren:dd,filter:ud,data:md,enter:fd,exit:vd,join:pd,merge:zd,selection:Lu,order:Cd,sort:Md,call:Dd,nodes:Ld,node:Nd,size:Sd,empty:kd,each:Id,attr:Gd,style:Vd,property:Kd,classed:_d,text:eu,html:ou,raise:iu,lower:au,append:su,insert:du,remove:fu,clone:bu,datum:yu,on:zu,dispatch:Bu,[Symbol[s(1002)]]:Du};function u0(e){const n=s;return typeof e===n(1705)?new d0([[document[n(1525)](e)]],[document[n(1082)]]):new d0([[e]],Di)}function Nu(e){const n=s;let t;for(;t=e[n(1294)];)e=t;return e}function v0(e,n){const t=s;if(e=Nu(e),n===void 0&&(n=e.currentTarget),n){var o=n.ownerSVGElement||n;if(o[t(1111)]){var x=o[t(1111)]();return x.x=e[t(1072)],x.y=e.clientY,x=x[t(1454)](n.getScreenCTM().inverse()),[x.x,x.y]}if(n[t(1821)]){var r=n.getBoundingClientRect();return[e[t(1072)]-r.left-n[t(1262)],e[t(1301)]-r[t(1117)]-n[t(2114)]]}}return[e[t(894)],e[t(1178)]]}const Su={passive:!1},Fn={capture:!0,passive:!1};function so(e){e.stopImmediatePropagation()}function Dn(e){const n=s;e[n(810)](),e[n(774)]()}function Li(e){const n=s;var t=e[n(821)].documentElement,o=u0(e).on(n(1734),Dn,Fn);n(1637)in t?o.on(n(1875),Dn,Fn):(t.__noselect=t[n(1476)][n(855)],t.style[n(855)]="none")}function Ni(e,n){const t=s;var o=e[t(821)][t(1082)],x=u0(e).on("dragstart.drag",null);n&&(x.on(t(351),Dn,Fn),setTimeout(function(){const r=t;x.on(r(351),null)},0)),t(1637)in o?x.on(t(1875),null):(o[t(1476)][t(855)]=o[t(1954)],delete o[t(1954)])}const Wt=e=>()=>e;function lo(e,{sourceEvent:n,subject:t,target:o,identifier:x,active:r,x:i,y:c,dx:d,dy:a,dispatch:u}){Object[s(2046)](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:a,enumerable:!0,configurable:!0},_:{value:u}})}lo[s(2107)].on=function(){const e=s;var n=this._.on[e(2185)](this._,arguments);return n===this._?this:n};function ku(e){const n=s;return!e.ctrlKey&&!e[n(752)]}function Iu(){return this[s(1744)]}function Pu(e,n){return n??{x:e.x,y:e.y}}function Au(){const e=s;return navigator[e(1194)]||e(1243)in this}function Si(){const e=s;var n=ku,t=Iu,o=Pu,x=Au,r={},i=Ht(e(1310),e(1980),e(1942)),c=0,d,a,u,f,b=0;function g(z){const P=e;z.on(P(2139),w)[P(815)](x).on("touchstart.drag",M).on("touchmove.drag",m,Su).on(P(1577),y)[P(1476)]("touch-action","none")[P(1476)](P(1552),P(577))}function w(z,P){const G=e;if(!(f||!n[G(414)](this,z,P))){var O=p(this,t[G(414)](this,z,P),z,P,G(1727));O&&(u0(z[G(1863)]).on("mousemove.drag",h,Fn).on(G(1114),v,Fn),Li(z[G(1863)]),so(z),u=!1,d=z[G(1072)],a=z[G(1301)],O(G(1310),z))}}function h(z){const P=e;if(Dn(z),!u){var G=z[P(1072)]-d,O=z[P(1301)]-a;u=G*G+O*O>b}r[P(1727)]("drag",z)}function v(z){const P=e;u0(z.view).on(P(656),null),Ni(z[P(1863)],u),Dn(z),r[P(1727)](P(1942),z)}function M(z,P){const G=e;if(n[G(414)](this,z,P)){var O=z.changedTouches,V=t.call(this,z,P),j=O.length,q,H;for(q=0;q<j;++q)(H=p(this,V,z,P,O[q][G(1144)],O[q]))&&(so(z),H(G(1310),z,O[q]))}}function m(z){const P=e;var G=z[P(1134)],O=G[P(2179)],V,j;for(V=0;V<O;++V)(j=r[G[V].identifier])&&(Dn(z),j(P(1980),z,G[V]))}function y(z){const P=e;var G=z[P(1134)],O=G[P(2179)],V,j;for(f&&clearTimeout(f),f=setTimeout(function(){f=null},500),V=0;V<O;++V)(j=r[G[V][P(1144)]])&&(so(z),j(P(1942),z,G[V]))}function p(z,P,G,O,V,j){const q=e;var H=i[q(1826)](),W=v0(j||G,P),T,N,L;if((L=o[q(414)](z,new lo(q(1199),{sourceEvent:G,target:g,identifier:V,active:c,x:W[0],y:W[1],dx:0,dy:0,dispatch:H}),O))!=null)return T=L.x-W[0]||0,N=L.y-W[1]||0,function D(Y,U,I){const J=q;var $=W,F;switch(Y){case J(1310):r[V]=D,F=c++;break;case J(1942):delete r[V],--c;case J(1980):W=v0(I||U,P),F=c;break}H[J(414)](Y,z,new lo(Y,{sourceEvent:U,subject:L,target:g,identifier:V,active:F,x:W[0]+T,y:W[1]+N,dx:W[0]-$[0],dy:W[1]-$[1],dispatch:H}),O)}}return g[e(815)]=function(z){const P=e;return arguments[P(2179)]?(n=typeof z===P(1347)?z:Wt(!!z),g):n},g[e(390)]=function(z){const P=e;return arguments[P(2179)]?(t=typeof z===P(1347)?z:Wt(z),g):t},g.subject=function(z){const P=e;return arguments[P(2179)]?(o=typeof z===P(1347)?z:Wt(z),g):o},g[e(2136)]=function(z){return arguments.length?(x=typeof z=="function"?z:Wt(!!z),g):x},g.on=function(){var z=i.on.apply(i,arguments);return z===i?g:z},g[e(1614)]=function(z){const P=e;return arguments.length?(b=(z=+z)*z,g):Math[P(857)](b)},g}function uo(e,n,t){const o=s;e.prototype=n[o(2107)]=t,t[o(575)]=e}function ki(e,n){const t=s;var o=Object[t(1572)](e[t(2107)]);for(var x in n)o[x]=n[x];return o}function $n(){}var et=.7,Xt=1/et,Ln=s(1107),nt=s(881),k0=s(2105),ju=/^#([0-9a-f]{3,8})$/,Yu=new RegExp("^rgb\\("+Ln+","+Ln+","+Ln+s(1573)),Eu=new RegExp(s(1603)+k0+","+k0+","+k0+s(1573)),Uu=new RegExp(s(644)+Ln+","+Ln+","+Ln+","+nt+s(1573)),Gu=new RegExp(s(644)+k0+","+k0+","+k0+","+nt+s(1573)),Ou=new RegExp("^hsl\\("+nt+","+k0+","+k0+s(1573)),Hu=new RegExp(s(962)+nt+","+k0+","+k0+","+nt+s(1573)),Ii={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};uo($n,rn,{copy(e){const n=s;return Object[n(1060)](new this[n(575)],this,e)},displayable(){const e=s;return this.rgb()[e(438)]()},hex:Pi,formatHex:Pi,formatHex8:Tu,formatHsl:Vu,formatRgb:Ai,toString:Ai});function Pi(){const e=s;return this[e(1870)]()[e(2115)]()}function Tu(){const e=s;return this[e(1870)]()[e(1130)]()}function Vu(){return Gi(this).formatHsl()}function Ai(){return this[s(1870)]().formatRgb()}function rn(e){const n=s;var t,o;return e=(e+"")[n(349)]()[n(1239)](),(t=ju[n(2033)](e))?(o=t[1][n(2179)],t=parseInt(t[1],16),o===6?ji(t):o===3?new c0(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):o===8?Kt(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):o===4?Kt(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=Yu.exec(e))?new c0(t[1],t[2],t[3],1):(t=Eu.exec(e))?new c0(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Uu.exec(e))?Kt(t[1],t[2],t[3],t[4]):(t=Gu[n(2033)](e))?Kt(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Ou[n(2033)](e))?Ui(t[1],t[2]/100,t[3]/100,1):(t=Hu.exec(e))?Ui(t[1],t[2]/100,t[3]/100,t[4]):Ii[n(911)](e)?ji(Ii[e]):e==="transparent"?new c0(NaN,NaN,NaN,0):null}function ji(e){return new c0(e>>16&255,e>>8&255,e&255,1)}function Kt(e,n,t,o){return o<=0&&(e=n=t=NaN),new c0(e,n,t,o)}function qu(e){const n=s;return e instanceof $n||(e=rn(e)),e?(e=e[n(1870)](),new c0(e.r,e.g,e.b,e[n(1028)])):new c0}function fo(e,n,t,o){return arguments[s(2179)]===1?qu(e):new c0(e,n,t,o??1)}function c0(e,n,t,o){const x=s;this.r=+e,this.g=+n,this.b=+t,this[x(1028)]=+o}uo(c0,fo,ki($n,{brighter(e){const n=s;return e=e==null?Xt:Math[n(919)](Xt,e),new c0(this.r*e,this.g*e,this.b*e,this[n(1028)])},darker(e){const n=s;return e=e==null?et:Math[n(919)](et,e),new c0(this.r*e,this.g*e,this.b*e,this[n(1028)])},rgb(){return this},clamp(){return new c0(cn(this.r),cn(this.g),cn(this.b),Zt(this.opacity))},displayable(){const e=s;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(1028)]&&this.opacity<=1},hex:Yi,formatHex:Yi,formatHex8:Wu,formatRgb:Ei,toString:Ei}));function Yi(){return"#"+an(this.r)+an(this.g)+an(this.b)}function Wu(){const e=s;return"#"+an(this.r)+an(this.g)+an(this.b)+an((isNaN(this[e(1028)])?1:this[e(1028)])*255)}function Ei(){const e=s,n=Zt(this.opacity);return""+(n===1?"rgb(":e(755))+cn(this.r)+", "+cn(this.g)+", "+cn(this.b)+(n===1?")":", "+n+")")}function Zt(e){const n=s;return isNaN(e)?1:Math[n(2172)](0,Math[n(775)](1,e))}function cn(e){return Math.max(0,Math.min(255,Math[s(381)](e)||0))}function an(e){const n=s;return e=cn(e),(e<16?"0":"")+e[n(1957)](16)}function Ui(e,n,t,o){return o<=0?e=n=t=NaN:t<=0||t>=1?e=n=NaN:n<=0&&(e=NaN),new p0(e,n,t,o)}function Gi(e){const n=s;if(e instanceof p0)return new p0(e.h,e.s,e.l,e.opacity);if(e instanceof $n||(e=rn(e)),!e)return new p0;if(e instanceof p0)return e;e=e.rgb();var t=e.r/255,o=e.g/255,x=e.b/255,r=Math[n(775)](t,o,x),i=Math[n(2172)](t,o,x),c=NaN,d=i-r,a=(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/=a<.5?i+r:2-i-r,c*=60):d=a>0&&a<1?0:c,new p0(c,d,a,e[n(1028)])}function Xu(e,n,t,o){return arguments[s(2179)]===1?Gi(e):new p0(e,n,t,o??1)}function p0(e,n,t,o){const x=s;this.h=+e,this.s=+n,this.l=+t,this[x(1028)]=+o}uo(p0,Xu,ki($n,{brighter(e){const n=s;return e=e==null?Xt:Math[n(919)](Xt,e),new p0(this.h,this.s,this.l*e,this[n(1028)])},darker(e){const n=s;return e=e==null?et:Math[n(919)](et,e),new p0(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,n=isNaN(e)||isNaN(this.s)?0:this.s,t=this.l,o=t+(t<.5?t:1-t)*n,x=2*t-o;return new c0(ho(e>=240?e-240:e+120,x,o),ho(e,x,o),ho(e<120?e+240:e-120,x,o),this.opacity)},clamp(){const e=s;return new p0(Oi(this.h),Rt(this.s),Rt(this.l),Zt(this[e(1028)]))},displayable(){const e=s;return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this[e(1028)]<=1},formatHsl(){const e=s,n=Zt(this[e(1028)]);return""+(n===1?"hsl(":e(1223))+Oi(this.h)+", "+Rt(this.s)*100+e(1163)+Rt(this.l)*100+"%"+(n===1?")":", "+n+")")}}));function Oi(e){return e=(e||0)%360,e<0?e+360:e}function Rt(e){return Math.max(0,Math[s(775)](1,e||0))}function ho(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 go=e=>()=>e;function Ku(e,n){return function(t){return e+t*n}}function Zu(e,n,t){const o=s;return e=Math[o(919)](e,t),n=Math.pow(n,t)-e,t=1/t,function(x){return Math[o(919)](e+x*n,t)}}function Ru(e){return(e=+e)==1?Hi:function(n,t){return t-n?Zu(n,t,e):go(isNaN(n)?t:n)}}function Hi(e,n){var t=n-e;return t?Ku(e,t):go(isNaN(e)?n:e)}const Jt=(function e(n){const t=s;var o=Ru(n);function x(r,i){const c=_0x5590;var d=o((r=fo(r)).r,(i=fo(i)).r),a=o(r.g,i.g),u=o(r.b,i.b),f=Hi(r[c(1028)],i[c(1028)]);return function(b){const g=c;return r.r=d(b),r.g=a(b),r.b=u(b),r[g(1028)]=f(b),r+""}}return x[t(1608)]=e,x})(1);function Ju(e,n){const t=s;n||(n=[]);var o=e?Math.min(n[t(2179)],e[t(2179)]):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 _u(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Qu(e,n){const t=s;var o=n?n.length:0,x=e?Math[t(775)](o,e[t(2179)]):0,r=new Array(x),i=new Array(o),c;for(c=0;c<x;++c)r[c]=tt(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 Fu(e,n){var t=new Date;return e=+e,n=+n,function(o){return t[_0x5590(697)](e*(1-o)+n*o),t}}function I0(e,n){return e=+e,n=+n,function(t){return e*(1-t)+n*t}}function $u(e,n){const t=s;var o={},x={},r;(e===null||typeof e!==t(878))&&(e={}),(n===null||typeof n!==t(878))&&(n={});for(r in n)r in e?o[r]=tt(e[r],n[r]):x[r]=n[r];return function(i){for(r in o)x[r]=o[r](i);return x}}var bo=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,yo=new RegExp(bo.source,"g");function ef(e){return function(){return e}}function nf(e){return function(n){return e(n)+""}}function Ti(e,n){const t=s;var o=bo[t(1110)]=yo[t(1110)]=0,x,r,i,c=-1,d=[],a=[];for(e=e+"",n=n+"";(x=bo[t(2033)](e))&&(r=yo[t(2033)](n));)(i=r.index)>o&&(i=n[t(852)](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,a[t(1759)]({i:c,x:I0(x,r)})),o=yo.lastIndex;return o<n[t(2179)]&&(i=n[t(852)](o),d[c]?d[c]+=i:d[++c]=i),d[t(2179)]<2?a[0]?nf(a[0].x):ef(n):(n=a.length,function(u){const f=t;for(var b=0,g;b<n;++b)d[(g=a[b]).i]=g.x(u);return d[f(1881)]("")})}function tt(e,n){const t=s;var o=typeof n,x;return n==null||o===t(743)?go(n):(o===t(2059)?I0:o==="string"?(x=rn(n))?(n=x,Jt):Ti:n instanceof rn?Jt:n instanceof Date?Fu:_u(n)?Ju:Array.isArray(n)?Qu:typeof n[t(603)]!==t(1347)&&typeof n[t(1957)]!==t(1347)||isNaN(n)?$u:I0)(e,n)}var Vi=180/Math.PI,mo={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function qi(e,n,t,o,x,r){const i=s;var c,d,a;return(c=Math[i(857)](e*e+n*n))&&(e/=c,n/=c),(a=e*t+n*o)&&(t-=e*a,o-=n*a),(d=Math[i(857)](t*t+o*o))&&(t/=d,o/=d,a/=d),e*o<n*t&&(e=-e,n=-n,a=-a,c=-c),{translateX:x,translateY:r,rotate:Math.atan2(n,e)*Vi,skewX:Math.atan(a)*Vi,scaleX:c,scaleY:d}}var _t;function tf(e){const n=s,t=new(typeof DOMMatrix===n(1347)?DOMMatrix:WebKitCSSMatrix)(e+"");return t[n(540)]?mo:qi(t.a,t.b,t.c,t.d,t.e,t.f)}function xf(e){const n=s;return e==null||(_t||(_t=document[n(1633)](n(413),"g")),_t[n(1051)](n(1121),e),!(e=_t[n(1121)][n(777)][n(843)]()))?mo:(e=e[n(1943)],qi(e.a,e.b,e.c,e.d,e.e,e.f))}function Wi(e,n,t,o){function x(a){const u=_0x5590;return a[u(2179)]?a[u(1706)]()+" ":""}function r(a,u,f,b,g,w){const h=_0x5590;if(a!==f||u!==b){var v=g[h(1759)](h(1848),null,n,null,t);w[h(1759)]({i:v-4,x:I0(a,f)},{i:v-2,x:I0(u,b)})}else(f||b)&&g.push(h(1848)+f+n+b+t)}function i(a,u,f,b){const g=_0x5590;a!==u?(a-u>180?u+=360:u-a>180&&(a+=360),b[g(1759)]({i:f.push(x(f)+g(1448),null,o)-2,x:I0(a,u)})):u&&f[g(1759)](x(f)+g(1448)+u+o)}function c(a,u,f,b){const g=_0x5590;a!==u?b[g(1759)]({i:f[g(1759)](x(f)+g(792),null,o)-2,x:I0(a,u)}):u&&f[g(1759)](x(f)+g(792)+u+o)}function d(a,u,f,b,g,w){const h=_0x5590;if(a!==f||u!==b){var v=g.push(x(g)+h(1597),null,",",null,")");w.push({i:v-4,x:I0(a,f)},{i:v-2,x:I0(u,b)})}else(f!==1||b!==1)&&g[h(1759)](x(g)+h(1597)+f+","+b+")")}return function(a,u){const f=_0x5590;var b=[],g=[];return a=e(a),u=e(u),r(a[f(391)],a[f(1444)],u[f(391)],u[f(1444)],b,g),i(a[f(1442)],u[f(1442)],b,g),c(a[f(1180)],u[f(1180)],b,g),d(a[f(1859)],a[f(524)],u[f(1859)],u[f(524)],b,g),a=u=null,function(w){const h=f;for(var v=-1,M=g.length,m;++v<M;)b[(m=g[v]).i]=m.x(w);return b[h(1881)]("")}}}var of=Wi(tf,"px, ","px)","deg)"),rf=Wi(xf,", ",")",")"),cf=1e-12;function Xi(e){return((e=Math[s(1068)](e))+1/e)/2}function af(e){return((e=Math.exp(e))-1/e)/2}function sf(e){return((e=Math.exp(2*e))-1)/(e+1)}const Qt=(function e(n,t,o){const x=s;function r(i,c){const d=_0x5590;var a=i[0],u=i[1],f=i[2],b=c[0],g=c[1],w=c[2],h=b-a,v=g-u,M=h*h+v*v,m,y;if(M<cf)y=Math[d(1672)](w/f)/n,m=function(V){const j=d;return[a+V*h,u+V*v,f*Math[j(1068)](n*V*y)]};else{var p=Math[d(857)](M),z=(w*w-f*f+o*M)/(2*f*t*p),P=(w*w-f*f-o*M)/(2*w*t*p),G=Math[d(1672)](Math[d(857)](z*z+1)-z),O=Math[d(1672)](Math[d(857)](P*P+1)-P);y=(O-G)/n,m=function(V){var j=V*y,q=Xi(G),H=f/(t*p)*(q*sf(n*j+G)-af(G));return[a+H*h,u+H*v,f*q/Xi(n*j+G)]}}return m.duration=y*1e3*n/Math.SQRT2,m}return r[x(1364)]=function(i){var d=Math[x(2172)](.001,+i),a=d*d,u=a*a;return e(d,a,u)},r})(Math[s(2150)],2,4);var Nn=0,xt=0,ot=0,Ki=1e3,Ft,rt,$t=0,sn=0,ex=0,it=typeof performance===s(878)&&performance.now?performance:Date,Zi=typeof window===s(878)&&window[s(2074)]?window[s(2074)][s(2119)](window):function(e){setTimeout(e,17)};function wo(){const e=s;return sn||(Zi(lf),sn=it[e(1700)]()+ex)}function lf(){sn=0}function nx(){const e=s;this[e(1751)]=this[e(986)]=this[e(1785)]=null}nx[s(2107)]=Ri[s(2107)]={constructor:nx,restart:function(e,n,t){const o=s;if(typeof e!==o(1347))throw new TypeError("callback is not a function");t=(t==null?wo():+t)+(n==null?0:+n),!this[o(1785)]&&rt!==this&&(rt?rt[o(1785)]=this:Ft=this,rt=this),this[o(1751)]=e,this[o(986)]=t,vo()},stop:function(){const e=s;this[e(1751)]&&(this[e(1751)]=null,this._time=1/0,vo())}};function Ri(e,n,t){const o=s;var x=new nx;return x[o(1215)](e,n,t),x}function df(){const e=s;wo(),++Nn;for(var n=Ft,t;n;)(t=sn-n._time)>=0&&n._call[e(414)](void 0,t),n=n[e(1785)];--Nn}function Ji(){sn=($t=it[s(1700)]())+ex,Nn=xt=0;try{df()}finally{Nn=0,ff(),sn=0}}function uf(){var n=it[s(1700)](),t=n-$t;t>Ki&&(ex-=t,$t=n)}function ff(){const e=s;for(var n,t=Ft,o,x=1/0;t;)t[e(1751)]?(x>t[e(986)]&&(x=t[e(986)]),n=t,t=t[e(1785)]):(o=t[e(1785)],t[e(1785)]=null,t=n?n._next=o:Ft=o);rt=n,vo(x)}function vo(e){const n=s;if(!Nn){xt&&(xt=clearTimeout(xt));var t=e-sn;t>24?(e<1/0&&(xt=setTimeout(Ji,e-it[n(1700)]()-ex)),ot&&(ot=clearInterval(ot))):(ot||($t=it[n(1700)](),ot=setInterval(uf,Ki)),Nn=1,Zi(Ji))}}function _i(e,n,t){const o=s;var x=new nx;return n=n==null?0:+n,x[o(1215)](r=>{x.stop(),e(r+n)},n,t),x}var hf=Ht("start",s(1942),s(1750),s(1835)),gf=[],Qi=0,Fi=1,po=2,tx=3,$i=4,zo=5,xx=6;function ox(e,n,t,o,x,r){const i=s;var c=e[i(370)];if(!c)e[i(370)]={};else if(t in c)return;bf(e,t,{name:n,index:o,group:x,on:hf,tween:gf,time:r[i(412)],delay:r[i(541)],duration:r[i(850)],ease:r.ease,timer:null,state:Qi})}function Co(e,n){const t=s;var o=z0(e,n);if(o[t(437)]>Qi)throw new Error(t(949));return o}function P0(e,n){const t=s;var o=z0(e,n);if(o.state>tx)throw new Error(t(618));return o}function z0(e,n){const t=s;var o=e[t(370)];if(!o||!(o=o[n]))throw new Error(t(1278));return o}function bf(e,n,t){const o=s;var x=e[o(370)],r;x[n]=t,t[o(1612)]=Ri(i,0,t[o(412)]);function i(u){const f=o;t[f(437)]=Fi,t[f(1612)][f(1215)](c,t.delay,t[f(412)]),t[f(541)]<=u&&c(u-t.delay)}function c(u){const f=o;var b,g,w,h;if(t[f(437)]!==Fi)return a();for(b in x)if(h=x[b],h[f(863)]===t[f(863)]){if(h.state===tx)return _i(c);h[f(437)]===$i?(h[f(437)]=xx,h.timer.stop(),h.on[f(414)](f(1835),e,e.__data__,h[f(461)],h[f(744)]),delete x[b]):+b<n&&(h[f(437)]=xx,h[f(1612)][f(1722)](),h.on[f(414)](f(1750),e,e[f(1813)],h.index,h[f(744)]),delete x[b])}if(_i(function(){const v=f;t[v(437)]===tx&&(t[v(437)]=$i,t.timer[v(1215)](d,t.delay,t[v(412)]),d(u))}),t[f(437)]=po,t.on[f(414)](f(1310),e,e[f(1813)],t[f(461)],t[f(744)]),t[f(437)]===po){for(t[f(437)]=tx,r=new Array(w=t[f(1595)].length),b=0,g=-1;b<w;++b)(h=t[f(1595)][b][f(1044)][f(414)](e,e.__data__,t[f(461)],t[f(744)]))&&(r[++g]=h);r[f(2179)]=g+1}}function d(u){const f=o;for(var b=u<t[f(850)]?t[f(1834)].call(null,u/t.duration):(t.timer[f(1215)](a),t[f(437)]=zo,1),g=-1,w=r.length;++g<w;)r[g][f(414)](e,b);t.state===zo&&(t.on[f(414)]("end",e,e[f(1813)],t[f(461)],t.group),a())}function a(){const u=o;t[u(437)]=xx,t[u(1612)].stop(),delete x[n];for(var f in x)return;delete e[u(370)]}}function rx(e,n){const t=s;var o=e[t(370)],x,r,i=!0,c;if(o){n=n==null?null:n+"";for(c in o){if((x=o[c])[t(863)]!==n){i=!1;continue}r=x[t(437)]>po&&x[t(437)]<zo,x[t(437)]=xx,x.timer[t(1722)](),x.on[t(414)](t(r?1835:1750),e,e.__data__,x[t(461)],x[t(744)]),delete o[c]}i&&delete e[t(370)]}}function yf(e){return this[s(1270)](function(){rx(this,e)})}function mf(e,n){var t,o;return function(){const x=_0x5590;var r=P0(this,e),i=r.tween;if(i!==t){o=t=i;for(var c=0,d=o[x(2179)];c<d;++c)if(o[c].name===n){o=o[x(852)](),o[x(558)](c,1);break}}r[x(1595)]=o}}function wf(e,n,t){var o,x;if(typeof t!="function")throw new Error;return function(){const r=_0x5590;var i=P0(this,e),c=i[r(1595)];if(c!==o){x=(o=c)[r(852)]();for(var d={name:n,value:t},a=0,u=x[r(2179)];a<u;++a)if(x[a].name===n){x[a]=d;break}a===u&&x[r(1759)](d)}i[r(1595)]=x}}function vf(e,n){const t=s;var o=this[t(1251)];if(e+="",arguments[t(2179)]<2){for(var x=z0(this[t(1504)](),o)[t(1595)],r=0,i=x.length,c;r<i;++r)if((c=x[r])[t(863)]===e)return c[t(1044)];return null}return this[t(1270)]((n==null?mf:wf)(o,e,n))}function Mo(e,n,t){const o=s;var x=e._id;return e[o(1270)](function(){const r=o;var i=P0(this,x);(i[r(1044)]||(i[r(1044)]={}))[n]=t[r(2185)](this,arguments)}),function(r){const i=o;return z0(r,x)[i(1044)][n]}}function ec(e,n){const t=s;var o;return(typeof n===t(2059)?I0:n instanceof rn?Jt:(o=rn(n))?(n=o,Jt):Ti)(e,n)}function pf(e){return function(){this[_0x5590(2084)](e)}}function zf(e){return function(){const n=_0x5590;this[n(534)](e[n(1680)],e[n(652)])}}function Cf(e,n,t){var o,x=t+"",r;return function(){var c=this[_0x5590(659)](e);return c===x?null:c===o?r:r=n(o=c,t)}}function Mf(e,n,t){var o,x=t+"",r;return function(){const i=_0x5590;var c=this.getAttributeNS(e[i(1680)],e[i(652)]);return c===x?null:c===o?r:r=n(o=c,t)}}function Bf(e,n,t){var o,x,r;return function(){const i=_0x5590;var c,d=t(this),a;return d==null?void this[i(2084)](e):(c=this[i(659)](e),a=d+"",c===a?null:c===o&&a===x?r:(x=a,r=n(o=c,d)))}}function Df(e,n,t){var o,x,r;return function(){const i=_0x5590;var c,d=t(this),a;return d==null?void this[i(534)](e[i(1680)],e[i(652)]):(c=this[i(2155)](e[i(1680)],e.local),a=d+"",c===a?null:c===o&&a===x?r:(x=a,r=n(o=c,d)))}}function Lf(e,n){const t=s;var o=Vt(e),x=o===t(1121)?rf:ec;return this.attrTween(e,typeof n=="function"?(o.local?Df:Bf)(o,x,Mo(this,"attr."+e,n)):n==null?(o.local?zf:pf)(o):(o[t(652)]?Mf:Cf)(o,x,n))}function Nf(e,n){return function(t){const o=_0x5590;this[o(1051)](e,n[o(414)](this,t))}}function Sf(e,n){return function(t){const o=_0x5590;this[o(1958)](e.space,e[o(652)],n[o(414)](this,t))}}function kf(e,n){var t,o;function x(){var i=n[_0x5590(2185)](this,arguments);return i!==o&&(t=(o=i)&&Sf(e,i)),t}return x._value=n,x}function If(e,n){const t=s;var o,x;function r(){var c=n[_0x5590(2185)](this,arguments);return c!==x&&(o=(x=c)&&Nf(e,c)),o}return r[t(1266)]=n,r}function Pf(e,n){const t=s;var o=t(2018)+e;if(arguments[t(2179)]<2)return(o=this.tween(o))&&o[t(1266)];if(n==null)return this.tween(o,null);if(typeof n!==t(1347))throw new Error;var x=Vt(e);return this[t(1595)](o,(x[t(652)]?kf:If)(x,n))}function Af(e,n){return function(){const t=_0x5590;Co(this,e).delay=+n[t(2185)](this,arguments)}}function jf(e,n){return n=+n,function(){const t=_0x5590;Co(this,e)[t(541)]=n}}function Yf(e){const n=s;var t=this[n(1251)];return arguments[n(2179)]?this.each((typeof e===n(1347)?Af:jf)(t,e)):z0(this.node(),t).delay}function Ef(e,n){return function(){const t=_0x5590;P0(this,e).duration=+n[t(2185)](this,arguments)}}function Uf(e,n){return n=+n,function(){const t=_0x5590;P0(this,e)[t(850)]=n}}function Gf(e){const n=s;var t=this[n(1251)];return arguments.length?this[n(1270)]((typeof e===n(1347)?Ef:Uf)(t,e)):z0(this[n(1504)](),t).duration}function Of(e,n){const t=s;if(typeof n!==t(1347))throw new Error;return function(){const o=t;P0(this,e)[o(1834)]=n}}function Hf(e){const n=s;var t=this[n(1251)];return arguments[n(2179)]?this[n(1270)](Of(t,e)):z0(this[n(1504)](),t).ease}function Tf(e,n){return function(){const t=_0x5590;var o=n[t(2185)](this,arguments);if(typeof o!==t(1347))throw new Error;P0(this,e)[t(1834)]=o}}function Vf(e){const n=s;if(typeof e!==n(1347))throw new Error;return this[n(1270)](Tf(this[n(1251)],e))}function qf(e){const n=s;typeof e!==n(1347)&&(e=yi(e));for(var t=this[n(2164)],o=t[n(2179)],x=new Array(o),r=0;r<o;++r)for(var i=t[r],c=i[n(2179)],d=x[r]=[],a,u=0;u<c;++u)(a=i[u])&&e[n(414)](a,a.__data__,u,i)&&d[n(1759)](a);return new G0(x,this[n(1021)],this[n(1281)],this[n(1251)])}function Wf(e){const n=s;if(e[n(1251)]!==this._id)throw new Error;for(var t=this[n(2164)],o=e[n(2164)],x=t[n(2179)],r=o[n(2179)],i=Math.min(x,r),c=new Array(x),d=0;d<i;++d)for(var a=t[d],u=o[d],f=a[n(2179)],b=c[d]=new Array(f),g,w=0;w<f;++w)(g=a[w]||u[w])&&(b[w]=g);for(;d<x;++d)c[d]=t[d];return new G0(c,this[n(1021)],this[n(1281)],this[n(1251)])}function Xf(e){const n=s;return(e+"")[n(349)]()[n(897)](/^|\s+/)[n(1865)](function(t){const o=n;var x=t[o(1878)](".");return x>=0&&(t=t[o(852)](0,x)),!t||t==="start"})}function Kf(e,n,t){var o,x,r=Xf(n)?Co:P0;return function(){const i=_0x5590;var c=r(this,e),d=c.on;d!==o&&(x=(o=d)[i(1826)]()).on(n,t),c.on=x}}function Zf(e,n){const t=s;var o=this[t(1251)];return arguments[t(2179)]<2?z0(this.node(),o).on.on(e):this[t(1270)](Kf(o,e,n))}function Rf(e){return function(){const n=_0x5590;var t=this[n(1744)];for(var o in this[n(370)])if(+o!==e)return;t&&t.removeChild(this)}}function Jf(){const e=s;return this.on(e(763),Rf(this[e(1251)]))}function _f(e){const n=s;var t=this[n(1281)],o=this._id;typeof e!==n(1347)&&(e=co(e));for(var x=this._groups,r=x[n(2179)],i=new Array(r),c=0;c<r;++c)for(var d=x[c],a=d.length,u=i[c]=new Array(a),f,b,g=0;g<a;++g)(f=d[g])&&(b=e.call(f,f.__data__,g,d))&&(n(1813)in f&&(b[n(1813)]=f[n(1813)]),u[g]=b,ox(u[g],t,o,g,u,z0(f,o)));return new G0(i,this[n(1021)],t,o)}function Qf(e){const n=s;var t=this[n(1281)],o=this[n(1251)];typeof e!="function"&&(e=bi(e));for(var x=this._groups,r=x[n(2179)],i=[],c=[],d=0;d<r;++d)for(var a=x[d],u=a.length,f,b=0;b<u;++b)if(f=a[b]){for(var g=e.call(f,f[n(1813)],b,a),w,h=z0(f,o),v=0,M=g[n(2179)];v<M;++v)(w=g[v])&&ox(w,t,o,v,g,h);i.push(g),c.push(f)}return new G0(i,c,t,o)}var Ff=Qn.prototype.constructor;function $f(){const e=s;return new Ff(this[e(2164)],this[e(1021)])}function e2(e,n){var t,o,x;return function(){const r=_0x5590;var i=Bn(this,e),c=(this.style[r(661)](e),Bn(this,e));return i===c?null:i===t&&c===o?x:x=n(t=i,o=c)}}function nc(e){return function(){this.style.removeProperty(e)}}function n2(e,n,t){var o,x=t+"",r;return function(){var i=Bn(this,e);return i===x?null:i===o?r:r=n(o=i,t)}}function t2(e,n,t){var o,x,r;return function(){var i=Bn(this,e),c=t(this),d=c+"";return c==null&&(d=c=(this.style.removeProperty(e),Bn(this,e))),i===d?null:i===o&&d===x?r:(x=d,r=n(o=i,c))}}function x2(e,n){const t=s;var o,x,r,i="style."+n,c=t(927)+i,d;return function(){const a=t;var u=P0(this,e),f=u.on,b=u[a(1044)][i]==null?d||(d=nc(n)):void 0;(f!==o||r!==b)&&(x=(o=f).copy()).on(c,r=b),u.on=x}}function o2(e,n,t){const o=s;var x=(e+="")===o(1121)?of:ec;return n==null?this[o(1428)](e,e2(e,x)).on(o(1742)+e,nc(e)):typeof n===o(1347)?this[o(1428)](e,t2(e,x,Mo(this,o(1456)+e,n)))[o(1270)](x2(this[o(1251)],e)):this[o(1428)](e,n2(e,x,n),t).on(o(1742)+e,null)}function r2(e,n,t){return function(o){const x=_0x5590;this[x(1476)][x(713)](e,n[x(414)](this,o),t)}}function i2(e,n,t){const o=s;var x,r;function i(){var d=n[_0x5590(2185)](this,arguments);return d!==r&&(x=(r=d)&&r2(e,d,t)),x}return i[o(1266)]=n,i}function c2(e,n,t){const o=s;var x=o(1456)+(e+="");if(arguments[o(2179)]<2)return(x=this[o(1595)](x))&&x[o(1266)];if(n==null)return this[o(1595)](x,null);if(typeof n!==o(1347))throw new Error;return this[o(1595)](x,i2(e,n,t??""))}function a2(e){return function(){const n=_0x5590;this[n(1367)]=e}}function s2(e){return function(){var n=e(this);this.textContent=n??""}}function l2(e){const n=s;return this[n(1595)](n(1918),typeof e=="function"?s2(Mo(this,n(1918),e)):a2(e==null?"":e+""))}function d2(e){return function(n){const t=_0x5590;this[t(1367)]=e.call(this,n)}}function u2(e){var n,t;function o(){var x=e.apply(this,arguments);return x!==t&&(n=(t=x)&&d2(x)),n}return o._value=e,o}function f2(e){const n=s;var t="text";if(arguments[n(2179)]<1)return(t=this[n(1595)](t))&&t[n(1266)];if(e==null)return this[n(1595)](t,null);if(typeof e!==n(1347))throw new Error;return this[n(1595)](t,u2(e))}function h2(){const e=s;for(var n=this[e(1281)],t=this[e(1251)],o=tc(),x=this[e(2164)],r=x[e(2179)],i=0;i<r;++i)for(var c=x[i],d=c.length,a,u=0;u<d;++u)if(a=c[u]){var f=z0(a,t);ox(a,n,o,u,c,{time:f[e(412)]+f[e(541)]+f[e(850)],delay:0,duration:f.duration,ease:f.ease})}return new G0(x,this[e(1021)],n,o)}function g2(){const e=s;var n,t,o=this,x=o[e(1251)],r=o[e(1046)]();return new Promise(function(i,c){const d=e;var a={value:c},u={value:function(){--r===0&&i()}};o[d(1270)](function(){const f=d;var b=P0(this,x),g=b.on;g!==n&&(t=(n=g)[f(1826)](),t._[f(1750)][f(1759)](a),t._[f(1835)][f(1759)](a),t._[f(1942)][f(1759)](u)),b.on=t}),r===0&&i()})}var b2=0;function G0(e,n,t,o){const x=s;this[x(2164)]=e,this[x(1021)]=n,this._name=t,this._id=o}function tc(){return++b2}var O0=Qn[s(2107)];G0[s(2107)]={constructor:G0,select:_f,selectAll:Qf,selectChild:O0[s(1089)],selectChildren:O0[s(1652)],filter:qf,merge:Wf,selection:$f,transition:h2,call:O0[s(414)],nodes:O0[s(960)],node:O0[s(1504)],size:O0[s(1046)],empty:O0[s(2001)],each:O0[s(1270)],on:Zf,attr:Lf,attrTween:Pf,style:o2,styleTween:c2,text:l2,textTween:f2,remove:Jf,tween:vf,delay:Yf,duration:Gf,ease:Hf,easeVarying:Vf,end:g2,[Symbol[s(1002)]]:O0[Symbol[s(1002)]]};function y2(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var m2={time:null,delay:0,duration:250,ease:y2};function w2(e,n){const t=s;for(var o;!(o=e[t(370)])||!(o=o[n]);)if(!(e=e.parentNode))throw new Error("transition "+n+" not found");return o}function v2(e){const n=s;var t,o;e instanceof G0?(t=e[n(1251)],e=e[n(1281)]):(t=tc(),(o=m2)[n(412)]=wo(),e=e==null?null:e+"");for(var x=this._groups,r=x[n(2179)],i=0;i<r;++i)for(var c=x[i],d=c.length,a,u=0;u<d;++u)(a=c[u])&&ox(a,e,t,u,c,o||w2(a,t));return new G0(x,this[n(1021)],e,t)}Qn[s(2107)][s(1835)]=yf,Qn[s(2107)][s(1237)]=v2;const ix=e=>()=>e;function p2(e,{sourceEvent:n,target:t,transform:o,dispatch:x}){Object.defineProperties(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 H0(e,n,t){this.k=e,this.x=n,this.y=t}H0.prototype={constructor:H0,scale:function(e){return e===1?this:new H0(this.k*e,this.x,this.y)},translate:function(e,n){return e===0&n===0?this:new H0(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=s;return e[n(1826)]()[n(1006)](e.range().map(this.invertX,this)[n(474)](e[n(1565)],e))},rescaleY:function(e){const n=s;return e[n(1826)]()[n(1006)](e.range()[n(474)](this.invertY,this)[n(474)](e[n(1565)],e))},toString:function(){return s(1848)+this.x+","+this.y+") scale("+this.k+")"}};var cx=new H0(1,0,0);xc[s(2107)]=H0[s(2107)];function xc(e){const n=s;for(;!e[n(501)];)if(!(e=e[n(1744)]))return cx;return e.__zoom}function Bo(e){e[s(774)]()}function ct(e){e[s(810)](),e.stopImmediatePropagation()}function z2(e){const n=s;return(!e.ctrlKey||e[n(1912)]===n(1849))&&!e.button}function C2(){const e=s;var n=this;return n instanceof SVGElement?(n=n[e(1670)]||n,n[e(1170)](e(1269))?(n=n.viewBox.baseVal,[[n.x,n.y],[n.x+n[e(1710)],n.y+n[e(1355)]]]):[[0,0],[n.width[e(777)][e(1044)],n[e(1355)][e(777)][e(1044)]]]):[[0,0],[n[e(1455)],n[e(626)]]]}function oc(){return this[s(501)]||cx}function M2(e){const n=s;return-e[n(1073)]*(e[n(924)]===1?.05:e[n(924)]?1:.002)*(e[n(1679)]?10:1)}function B2(){const e=s;return navigator[e(1194)]||e(1243)in this}function D2(e,n,t){const o=s;var x=e[o(946)](n[0][0])-t[0][0],r=e[o(946)](n[1][0])-t[1][0],i=e[o(583)](n[0][1])-t[0][1],c=e[o(583)](n[1][1])-t[1][1];return e[o(1184)](r>x?(x+r)/2:Math.min(0,x)||Math[o(2172)](0,r),c>i?(i+c)/2:Math[o(775)](0,i)||Math[o(2172)](0,c))}function rc(){const e=s;var n=z2,t=C2,o=D2,x=M2,r=B2,i=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],d=250,a=Qt,u=Ht("start","zoom",e(1942)),f,b,g,w=500,h=150,v=0,M=10;function m(N){const L=e;N[L(2090)](L(501),oc).on(L(2004),V,{passive:!1}).on(L(466),j).on(L(2109),q).filter(r).on(L(1995),H).on(L(1598),W).on(L(1515),T)[L(1476)](L(1552),"rgba(0,0,0,0)")}m[e(1121)]=function(N,L,D,Y){const U=e;var I=N[U(2103)]?N[U(2103)]():N;I[U(2090)](U(501),oc),N!==I?P(N,L,D,Y):I[U(1835)]()[U(1270)](function(){const J=U;G(this,arguments)[J(1845)](Y)[J(1310)]()[J(1675)](null,typeof L=="function"?L[J(2185)](this,arguments):L)[J(1942)]()})},m[e(1175)]=function(N,L,D,Y){const U=e;m[U(407)](N,function(){const I=U;var J=this[I(501)].k,$=typeof L===I(1347)?L[I(2185)](this,arguments):L;return J*$},D,Y)},m[e(407)]=function(N,L,D,Y){const U=e;m[U(1121)](N,function(){const I=U;var J=t.apply(this,arguments),$=this[I(501)],F=D==null?z(J):typeof D===I(1347)?D.apply(this,arguments):D,xe=$[I(1565)](F),re=typeof L===I(1347)?L[I(2185)](this,arguments):L;return o(p(y($,re),F,xe),J,c)},D,Y)},m[e(1451)]=function(N,L,D,Y){const U=e;m[U(1121)](N,function(){const I=U;return o(this.__zoom[I(1184)](typeof L===I(1347)?L[I(2185)](this,arguments):L,typeof D=="function"?D[I(2185)](this,arguments):D),t[I(2185)](this,arguments),c)},null,Y)},m.translateTo=function(N,L,D,Y,U){m.transform(N,function(){const I=_0x5590;var J=t[I(2185)](this,arguments),$=this[I(501)],F=Y==null?z(J):typeof Y===I(1347)?Y.apply(this,arguments):Y;return o(cx[I(1184)](F[0],F[1])[I(690)]($.k)[I(1184)](typeof L===I(1347)?-L[I(2185)](this,arguments):-L,typeof D===I(1347)?-D[I(2185)](this,arguments):-D),J,c)},Y,U)};function y(N,L){const D=e;return L=Math[D(2172)](i[0],Math[D(775)](i[1],L)),L===N.k?N:new H0(L,N.x,N.y)}function p(N,L,D){var Y=L[0]-D[0]*N.k,U=L[1]-D[1]*N.k;return Y===N.x&&U===N.y?N:new H0(N.k,Y,U)}function z(N){return[(+N[0][0]+ +N[1][0])/2,(+N[0][1]+ +N[1][1])/2]}function P(N,L,D,Y){const U=e;N.on("start.zoom",function(){const I=_0x5590;G(this,arguments)[I(1845)](Y)[I(1310)]()}).on("interrupt.zoom end.zoom",function(){const I=_0x5590;G(this,arguments)[I(1845)](Y)[I(1942)]()})[U(1595)]("zoom",function(){const I=U;var J=this,$=arguments,F=G(J,$)[I(1845)](Y),xe=t[I(2185)](J,$),re=D==null?z(xe):typeof D=="function"?D[I(2185)](J,$):D,ae=Math[I(2172)](xe[1][0]-xe[0][0],xe[1][1]-xe[0][1]),ue=J.__zoom,me=typeof L===I(1347)?L.apply(J,$):L,se=a(ue[I(1565)](re)[I(758)](ae/ue.k),me[I(1565)](re)[I(758)](ae/me.k));return function(ee){const le=I;if(ee===1)ee=me;else{var be=se(ee),E=ae/be[2];ee=new H0(E,re[0]-be[0]*E,re[1]-be[1]*E)}F[le(1675)](null,ee)}})}function G(N,L,D){return!D&&N[e(537)]||new O(N,L)}function O(N,L){const D=e;this[D(1653)]=N,this[D(1869)]=L,this[D(978)]=0,this[D(1294)]=null,this[D(502)]=t.apply(N,L),this.taps=0}O.prototype={event:function(N){const L=e;return N&&(this[L(1294)]=N),this},start:function(){const N=e;return++this[N(978)]===1&&(this[N(1653)][N(537)]=this,this[N(1478)](N(1310))),this},zoom:function(N,L){const D=e;return this[D(1727)]&&N!==D(1727)&&(this[D(1727)][1]=L.invert(this.mouse[0])),this[D(1539)]&&N!=="touch"&&(this[D(1539)][1]=L[D(1565)](this.touch0[0])),this.touch1&&N!==D(1673)&&(this[D(1207)][1]=L[D(1565)](this[D(1207)][0])),this[D(1653)][D(501)]=L,this.emit(D(1675)),this},end:function(){const N=e;return--this.active===0&&(delete this.that[N(537)],this[N(1478)](N(1942))),this},emit:function(N){const L=e;var D=u0(this[L(1653)])[L(1096)]();u.call(N,this[L(1653)],new p2(N,{sourceEvent:this.sourceEvent,target:m,transform:this[L(1653)].__zoom,dispatch:u}),D)}};function V(N,...L){const D=e;if(!n[D(2185)](this,arguments))return;var Y=G(this,L)[D(1845)](N),U=this[D(501)],I=Math.max(i[0],Math[D(775)](i[1],U.k*Math.pow(2,x[D(2185)](this,arguments)))),J=v0(N);if(Y.wheel)(Y.mouse[0][0]!==J[0]||Y[D(1727)][0][1]!==J[1])&&(Y[D(1727)][1]=U[D(1565)](Y[D(1727)][0]=J)),clearTimeout(Y[D(1849)]);else{if(U.k===I)return;Y[D(1727)]=[J,U[D(1565)](J)],rx(this),Y.start()}ct(N),Y[D(1849)]=setTimeout($,h),Y[D(1675)]("mouse",o(p(y(U,I),Y[D(1727)][0],Y[D(1727)][1]),Y.extent,c));function $(){const F=D;Y[F(1849)]=null,Y.end()}}function j(N,...L){const D=e;if(g||!n[D(2185)](this,arguments))return;var Y=N.currentTarget,U=G(this,L,!0)[D(1845)](N),I=u0(N[D(1863)]).on("mousemove.zoom",xe,!0).on(D(374),re,!0),J=v0(N,Y),$=N.clientX,F=N[D(1301)];Li(N[D(1863)]),Bo(N),U[D(1727)]=[J,this.__zoom[D(1565)](J)],rx(this),U.start();function xe(ae){const ue=D;if(ct(ae),!U[ue(1427)]){var me=ae[ue(1072)]-$,se=ae[ue(1301)]-F;U.moved=me*me+se*se>v}U[ue(1845)](ae).zoom("mouse",o(p(U[ue(1653)][ue(501)],U[ue(1727)][0]=v0(ae,Y),U[ue(1727)][1]),U[ue(502)],c))}function re(ae){const ue=D;I.on(ue(1855),null),Ni(ae[ue(1863)],U[ue(1427)]),ct(ae),U[ue(1845)](ae)[ue(1942)]()}}function q(N,...L){const D=e;if(n.apply(this,arguments)){var Y=this.__zoom,U=v0(N[D(1134)]?N[D(1134)][0]:N,this),I=Y[D(1565)](U),J=Y.k*(N.shiftKey?.5:2),$=o(p(y(Y,J),U,I),t.apply(this,L),c);ct(N),d>0?u0(this)[D(1237)]()[D(850)](d)[D(414)](P,$,U,N):u0(this).call(m[D(1121)],$,U,N)}}function H(N,...L){const D=e;if(n[D(2185)](this,arguments)){var Y=N.touches,U=Y[D(2179)],I=G(this,L,N[D(1134)].length===U)[D(1845)](N),J,$,F,xe;for(Bo(N),$=0;$<U;++$)F=Y[$],xe=v0(F,this),xe=[xe,this.__zoom[D(1565)](xe),F[D(1144)]],I[D(1539)]?!I[D(1207)]&&I[D(1539)][2]!==xe[2]&&(I[D(1207)]=xe,I[D(684)]=0):(I[D(1539)]=xe,J=!0,I[D(684)]=1+!!f);f&&(f=clearTimeout(f)),J&&(I[D(684)]<2&&(b=xe[0],f=setTimeout(function(){f=null},w)),rx(this),I.start())}}function W(N,...L){const D=e;if(this.__zooming){var Y=G(this,L).event(N),U=N[D(1134)],I=U[D(2179)],J,$,F,xe;for(ct(N),J=0;J<I;++J)$=U[J],F=v0($,this),Y.touch0&&Y[D(1539)][2]===$[D(1144)]?Y[D(1539)][0]=F:Y[D(1207)]&&Y[D(1207)][2]===$[D(1144)]&&(Y[D(1207)][0]=F);if($=Y[D(1653)][D(501)],Y[D(1207)]){var re=Y[D(1539)][0],ae=Y.touch0[1],ue=Y[D(1207)][0],me=Y[D(1207)][1],se=(se=ue[0]-re[0])*se+(se=ue[1]-re[1])*se,ee=(ee=me[0]-ae[0])*ee+(ee=me[1]-ae[1])*ee;$=y($,Math[D(857)](se/ee)),F=[(re[0]+ue[0])/2,(re[1]+ue[1])/2],xe=[(ae[0]+me[0])/2,(ae[1]+me[1])/2]}else if(Y[D(1539)])F=Y[D(1539)][0],xe=Y[D(1539)][1];else return;Y[D(1675)](D(1673),o(p($,F,xe),Y[D(502)],c))}}function T(N,...L){const D=e;if(this[D(537)]){var Y=G(this,L).event(N),U=N[D(1134)],I=U[D(2179)],J,$;for(Bo(N),g&&clearTimeout(g),g=setTimeout(function(){g=null},w),J=0;J<I;++J)$=U[J],Y[D(1539)]&&Y[D(1539)][2]===$[D(1144)]?delete Y.touch0:Y[D(1207)]&&Y[D(1207)][2]===$[D(1144)]&&delete Y[D(1207)];if(Y[D(1207)]&&!Y.touch0&&(Y.touch0=Y.touch1,delete Y.touch1),Y[D(1539)])Y.touch0[1]=this[D(501)][D(1565)](Y.touch0[0]);else if(Y[D(1942)](),Y[D(684)]===2&&($=v0($,this),Math[D(783)](b[0]-$[0],b[1]-$[1])<M)){var F=u0(this).on(D(2109));F&&F[D(2185)](this,arguments)}}}return m[e(1069)]=function(N){const L=e;return arguments.length?(x=typeof N===L(1347)?N:ix(+N),m):x},m.filter=function(N){return arguments.length?(n=typeof N=="function"?N:ix(!!N),m):n},m[e(2136)]=function(N){const L=e;return arguments[L(2179)]?(r=typeof N===L(1347)?N:ix(!!N),m):r},m[e(502)]=function(N){const L=e;return arguments.length?(t=typeof N===L(1347)?N:ix([[+N[0][0],+N[0][1]],[+N[1][0],+N[1][1]]]),m):t},m.scaleExtent=function(N){return arguments.length?(i[0]=+N[0],i[1]=+N[1],m):[i[0],i[1]]},m.translateExtent=function(N){return arguments.length?(c[0][0]=+N[0][0],c[1][0]=+N[1][0],c[0][1]=+N[0][1],c[1][1]=+N[1][1],m):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},m[e(1607)]=function(N){return arguments[e(2179)]?(o=N,m):o},m[e(850)]=function(N){return arguments.length?(d=+N,m):d},m[e(1939)]=function(N){return arguments[e(2179)]?(a=N,m):a},m.on=function(){const N=e;var L=u.on[N(2185)](u,arguments);return L===u?m:L},m[e(1614)]=function(N){return arguments.length?(v=(N=+N)*N,m):Math.sqrt(v)},m[e(1585)]=function(N){return arguments.length?(M=+N,m):M},m}const f0={error001:()=>"[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001",error002:()=>s(646),error003:e=>s(578)+e+'" not found. Using fallback type "default".',error004:()=>"The React Flow parent container needs a width and a height to render the graph.",error005:()=>"Only child nodes can use a parent extent.",error006:()=>s(2117),error007:e=>s(1979)+e+s(2048),error009:e=>s(845)+e+`" doesn't exist.`,error008:(e,{id:n,sourceHandle:t,targetHandle:o})=>s(1485)+e+s(1137)+(e==="source"?t:o)+'", edge id: '+n+".",error010:()=>s(1853),error011:e=>s(1498)+e+s(1135),error012:e=>s(460)+e+'" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.',error013:(e=s(1530))=>"It seems that you haven't loaded the styles. Please import '@xyflow/"+e+s(1762),error014:()=>s(2187),error015:()=>s(1488)},at=[[Number[s(1891)],Number[s(1891)]],[Number[s(1011)],Number.POSITIVE_INFINITY]],ic=[s(1818)," ",s(1286)],cc={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":s(570),"node.a11yDescription.ariaLiveMessage":({direction:e,x:n,y:t})=>s(675)+e+s(736)+n+s(598)+t,"edge.a11yDescription.default":s(788),"controls.ariaLabel":s(1996),"controls.zoomIn.ariaLabel":s(2188),"controls.zoomOut.ariaLabel":s(934),"controls.fitView.ariaLabel":s(642),"controls.interactive.ariaLabel":s(1290),"minimap.ariaLabel":"Mini Map","handle.ariaLabel":s(1877)};var Sn;(function(e){const n=s;e[n(600)]=n(1559),e.Loose=n(798)})(Sn||(Sn={}));var ln;(function(e){const n=s;e[n(699)]="free",e[n(1520)]=n(1323),e[n(462)]=n(1240)})(ln||(ln={}));var st;(function(e){const n=s;e[n(1098)]="partial",e.Full=n(2037)})(st||(st={}));const ac={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var R0;(function(e){const n=s;e.Bezier=n(384),e[n(1224)]="straight",e[n(1508)]=n(983),e[n(2092)]="smoothstep",e[n(1538)]="simplebezier"})(R0||(R0={}));var ax;(function(e){const n=s;e.Arrow="arrow",e[n(842)]="arrowclosed"})(ax||(ax={}));var ze;(function(e){const n=s;e[n(1029)]=n(937),e[n(1962)]=n(1117),e.Right=n(1790),e[n(2110)]=n(689)})(ze||(ze={}));const sc={[ze[s(1029)]]:ze[s(365)],[ze[s(365)]]:ze[s(1029)],[ze[s(1962)]]:ze[s(2110)],[ze.Bottom]:ze[s(1962)]};function lc(e){const n=s;return e===null?null:n(e?453:1732)}const dc=e=>"id"in e&&s(766)in e&&s(500)in e,L2=e=>"id"in e&&s(835)in e&&!(s(766)in e)&&!(s(500)in e),Do=e=>"id"in e&&"internals"in e&&!(s(766)in e)&&!(s(500)in e),lt=(e,n=[0,0])=>{const{width:t,height:o}=T0(e),x=e.origin??n,r=t*x[0],i=o*x[1];return{x:e.position.x-r,y:e.position.y-i}},N2=(e,n={nodeOrigin:[0,0]})=>{const t=s;if(process.env.NODE_ENV===t(1549)&&!n[t(717)]&&console[t(2015)]("Please use `getNodesBounds` from `useReactFlow`/`useSvelteFlow` hook to ensure correct values for sub flows. If not possible, you have to provide a nodeLookup to support sub flows."),e[t(2179)]===0)return{x:0,y:0,width:0,height:0};const o=e.reduce((x,r)=>{const i=t,c=typeof r===i(1705);let d=!n.nodeLookup&&!c?r:void 0;n[i(717)]&&(d=c?n[i(717)][i(1861)](r):Do(r)?r:n[i(717)].get(r.id));const a=d?dx(d,n[i(1031)]):{x:0,y:0,x2:0,y2:0};return sx(x,a)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return lx(o)},dt=(e,n={})=>{const t=s;let o={x:1/0,y:1/0,x2:-1/0,y2:-1/0},x=!1;return e[t(1322)](r=>{(n[t(815)]===void 0||n.filter(r))&&(o=sx(o,dx(r)),x=!0)}),x?lx(o):{x:0,y:0,width:0,height:0}},Lo=(e,n,[t,o,x]=[0,0,1],r=!1,i=!1)=>{const c=s,d={...ht(n,[t,o,x]),width:n[c(1710)]/x,height:n[c(1355)]/x},a=[];for(const u of e[c(1982)]()){const{measured:f,selectable:b=!0,hidden:g=!1}=u;if(i&&!b||g)continue;const w=f[c(1710)]??u.width??u[c(2175)]??null,h=f[c(1355)]??u[c(1355)]??u[c(586)]??null,v=ut(d,In(u)),M=(w??0)*(h??0),m=r&&v>0;(!u[c(1157)][c(610)]||m||v>=M||u[c(1941)])&&a[c(1759)](u)}return a},S2=(e,n)=>{const t=s,o=new Set;return e[t(1322)](x=>{o[t(729)](x.id)}),n[t(815)](x=>o[t(1147)](x[t(766)])||o[t(1147)](x[t(500)]))};function k2(e,n){const t=s,o=new Map,x=n?.[t(960)]?new Set(n[t(960)][t(474)](r=>r.id)):null;return e[t(1322)](r=>{const i=t;r.measured[i(1710)]&&r[i(510)][i(1355)]&&(n?.[i(590)]||!r.hidden)&&(!x||x[i(1147)](r.id))&&o[i(721)](r.id,r)}),o}async function I2({nodes:e,width:n,height:t,panZoom:o,minZoom:x,maxZoom:r},i){const c=s;if(e[c(1046)]===0)return Promise[c(1952)](!0);const d=k2(e,i),a=dt(d),u=So(a,n,t,i?.[c(1132)]??x,i?.[c(1356)]??r,i?.[c(448)]??.1);return await o[c(1758)](u,{duration:i?.duration,ease:i?.[c(1834)],interpolate:i?.[c(1939)]}),Promise[c(1952)](!0)}function uc({nodeId:e,nextPosition:n,nodeLookup:t,nodeOrigin:o=[0,0],nodeExtent:x,onError:r}){const i=s,c=t[i(1861)](e),d=c[i(1907)]?t.get(c.parentId):void 0,{x:a,y:u}=d?d[i(1157)][i(1443)]:{x:0,y:0},f=c[i(1639)]??o;let b=c[i(502)]||x;if(c[i(502)]===i(1923)&&!c[i(1935)])if(!d)r?.(i(761),f0[i(612)]());else{const w=d[i(510)].width,h=d[i(510)][i(1355)];w&&h&&(b=[[a,u],[a+w,u+h]])}else d&&An(c[i(502)])&&(b=[[c.extent[0][0]+a,c[i(502)][0][1]+u],[c[i(502)][1][0]+a,c.extent[1][1]+u]]);const g=An(b)?dn(n,b,c.measured):n;return(c[i(510)][i(1710)]===void 0||c[i(510)].height===void 0)&&r?.(i(1155),f0.error015()),{position:{x:g.x-a+(c[i(510)][i(1710)]??0)*f[0],y:g.y-u+(c[i(510)].height??0)*f[1]},positionAbsolute:g}}async function P2({nodesToRemove:e=[],edgesToRemove:n=[],nodes:t,edges:o,onBeforeDelete:x}){const r=s,i=new Set(e[r(474)](g=>g.id)),c=[];for(const g of t){if(g.deletable===!1)continue;const w=i[r(1147)](g.id),h=!w&&g[r(1907)]&&c[r(990)](v=>v.id===g.parentId);(w||h)&&c.push(g)}const d=new Set(n[r(474)](g=>g.id)),a=o[r(815)](g=>g.deletable!==!1),u=S2(c,a),f=u;for(const g of a)d[r(1147)](g.id)&&!f[r(990)](h=>h.id===g.id)&&f[r(1759)](g);if(!x)return{edges:f,nodes:c};const b=await x({nodes:c,edges:f});return typeof b===r(743)?b?{edges:f,nodes:c}:{edges:[],nodes:[]}:b}const kn=(e,n=0,t=1)=>Math[s(775)](Math[s(2172)](e,n),t),dn=(e={x:0,y:0},n,t)=>({x:kn(e.x,n[0][0],n[1][0]-(t?.[s(1710)]??0)),y:kn(e.y,n[0][1],n[1][1]-(t?.height??0))});function fc(e,n,t){const o=s,{width:x,height:r}=T0(t),{x:i,y:c}=t[o(1157)][o(1443)];return dn(e,[[i,c],[i+x,c+r]],n)}const hc=(e,n,t)=>e<n?kn(Math.abs(e-n),1,n)/n:e>t?-kn(Math.abs(e-t),1,n)/n:0,gc=(e,n,t=15,o=40)=>{const x=s,r=hc(e.x,o,n[x(1710)]-o)*t,i=hc(e.y,o,n[x(1355)]-o)*t;return[r,i]},sx=(e,n)=>({x:Math[s(775)](e.x,n.x),y:Math.min(e.y,n.y),x2:Math[s(2172)](e.x2,n.x2),y2:Math[s(2172)](e.y2,n.y2)}),No=({x:e,y:n,width:t,height:o})=>({x:e,y:n,x2:e+t,y2:n+o}),lx=({x:e,y:n,x2:t,y2:o})=>({x:e,y:n,width:t-e,height:o-n}),In=(e,n=[0,0])=>{const t=s,{x:o,y:x}=Do(e)?e[t(1157)][t(1443)]:lt(e,n);return{x:o,y:x,width:e[t(510)]?.width??e[t(1710)]??e[t(2175)]??0,height:e[t(510)]?.[t(1355)]??e[t(1355)]??e[t(586)]??0}},dx=(e,n=[0,0])=>{const t=s,{x:o,y:x}=Do(e)?e[t(1157)][t(1443)]:lt(e,n);return{x:o,y:x,x2:o+(e[t(510)]?.[t(1710)]??e.width??e.initialWidth??0),y2:x+(e[t(510)]?.[t(1355)]??e[t(1355)]??e.initialHeight??0)}},bc=(e,n)=>lx(sx(No(e),No(n))),ut=(e,n)=>{const t=s,o=Math[t(2172)](0,Math.min(e.x+e[t(1710)],n.x+n[t(1710)])-Math[t(2172)](e.x,n.x)),x=Math.max(0,Math[t(775)](e.y+e[t(1355)],n.y+n.height)-Math[t(2172)](e.y,n.y));return Math[t(1148)](o*x)},yc=e=>C0(e[s(1710)])&&C0(e.height)&&C0(e.x)&&C0(e.y),C0=e=>!isNaN(e)&&isFinite(e),mc=(e,n)=>{const t=s;process.env.NODE_ENV===t(1549)&&console[t(2015)](t(782)+n+t(1780)+e)},ft=(e,n=[1,1])=>{const t=s;return{x:n[0]*Math[t(381)](e.x/n[0]),y:n[1]*Math[t(381)](e.y/n[1])}},ht=({x:e,y:n},[t,o,x],r=!1,i=[1,1])=>{const c={x:(e-t)/x,y:(n-o)/x};return r?ft(c,i):c},ux=({x:e,y:n},[t,o,x])=>({x:e*x+t,y:n*x+o});function Pn(e,n){const t=s;if(typeof e===t(2059))return Math[t(1938)]((n-n/(1+e))*.5);if(typeof e===t(1705)&&e[t(1150)]("px")){const o=parseFloat(e);if(!Number[t(1782)](o))return Math[t(1938)](o)}if(typeof e===t(1705)&&e[t(1150)]("%")){const o=parseFloat(e);if(!Number[t(1782)](o))return Math[t(1938)](n*o*.01)}return console[t(1036)](t(943)+e+t(779)),0}function A2(e,n,t){const o=s;if(typeof e=="string"||typeof e===o(2059)){const x=Pn(e,t),r=Pn(e,n);return{top:x,right:r,bottom:x,left:r,x:r*2,y:x*2}}if(typeof e=="object"){const x=Pn(e[o(1117)]??e.y??0,t),r=Pn(e[o(689)]??e.y??0,t),i=Pn(e[o(937)]??e.x??0,n),c=Pn(e.right??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 j2(e,n,t,o,x,r){const i=s,{x:c,y:d}=ux(e,[n,t,o]),{x:a,y:u}=ux({x:e.x+e[i(1710)],y:e.y+e.height},[n,t,o]),f=x-a,b=r-u;return{left:Math[i(1938)](c),top:Math[i(1938)](d),right:Math[i(1938)](f),bottom:Math[i(1938)](b)}}const So=(e,n,t,o,x,r)=>{const i=s,c=A2(r,n,t),d=(n-c.x)/e[i(1710)],a=(t-c.y)/e[i(1355)],u=Math[i(775)](d,a),f=kn(u,o,x),b=e.x+e.width/2,g=e.y+e[i(1355)]/2,w=n/2-b*f,h=t/2-g*f,v=j2(e,w,h,f,n,t),M={left:Math[i(775)](v[i(937)]-c[i(937)],0),top:Math[i(775)](v[i(1117)]-c[i(1117)],0),right:Math[i(775)](v[i(1790)]-c[i(1790)],0),bottom:Math[i(775)](v[i(689)]-c[i(689)],0)};return{x:w-M.left+M.right,y:h-M[i(1117)]+M.bottom,zoom:f}},gt=()=>typeof navigator!==s(383)&&navigator?.[s(1772)]?.[s(1878)](s(1349))>=0;function An(e){return e!=null&&e!=="parent"}function T0(e){const n=s;return{width:e.measured?.width??e[n(1710)]??e[n(2175)]??0,height:e[n(510)]?.height??e[n(1355)]??e[n(586)]??0}}function wc(e){const n=s;return(e.measured?.width??e[n(1710)]??e[n(2175)])!==void 0&&(e[n(510)]?.height??e[n(1355)]??e[n(586)])!==void 0}function vc(e,n={width:0,height:0},t,o,x){const r=s,i={...e},c=o[r(1861)](t);if(c){const d=c[r(1639)]||x;i.x+=c[r(1157)][r(1443)].x-(n[r(1710)]??0)*d[0],i.y+=c[r(1157)].positionAbsolute.y-(n[r(1355)]??0)*d[1]}return i}function pc(e,n){const t=s;if(e[t(1046)]!==n[t(1046)])return!1;for(const o of e)if(!n[t(1147)](o))return!1;return!0}function Y2(){let e,n;return{promise:new Promise((o,x)=>{e=o,n=x}),resolve:e,reject:n}}function E2(e){return{...cc,...e||{}}}function bt(e,{snapGrid:n=[0,0],snapToGrid:t=!1,transform:o,containerBounds:x}){const r=s,{x:i,y:c}=M0(e),d=ht({x:i-(x?.[r(937)]??0),y:c-(x?.top??0)},o),{x:a,y:u}=t?ft(d,n):d;return{xSnapped:a,ySnapped:u,...d}}const ko=e=>({width:e[s(1796)],height:e[s(435)]}),zc=e=>e?.getRootNode?.()||window?.document,U2=[s(1049),s(1846),s(812)];function Cc(e){const n=s,t=e[n(891)]?.()?.[0]||e[n(500)];return t?.[n(1783)]!==1?!1:U2[n(1419)](t[n(1213)])||t[n(1170)](n(1987))||!!t[n(1720)](n(1124))}const Mc=e=>s(1072)in e,M0=(e,n)=>{const t=s,o=Mc(e),x=o?e[t(1072)]:e[t(2006)]?.[0][t(1072)],r=o?e.clientY:e[t(2006)]?.[0][t(1301)];return{x:x-(n?.[t(937)]??0),y:r-(n?.[t(1117)]??0)}},Bc=(e,n,t,o,x)=>{const r=s,i=n[r(1214)]("."+e);return!i||!i.length?null:Array[r(1365)](i).map(c=>{const d=r,a=c[d(1821)]();return{id:c.getAttribute("data-handleid"),type:e,nodeId:x,position:c.getAttribute("data-handlepos"),x:(a[d(937)]-t[d(937)])/o,y:(a[d(1117)]-t[d(1117)])/o,...ko(c)}})};function Dc({sourceX:e,sourceY:n,targetX:t,targetY:o,sourceControlX:x,sourceControlY:r,targetControlX:i,targetControlY:c}){const d=s,a=e*.125+x*.375+i*.375+t*.125,u=n*.125+r*.375+c*.375+o*.125,f=Math[d(1537)](a-e),b=Math.abs(u-n);return[a,u,f,b]}function fx(e,n){return e>=0?.5*e:n*25*Math.sqrt(-e)}function Lc({pos:e,x1:n,y1:t,x2:o,y2:x,c:r}){const i=s;switch(e){case ze[i(1029)]:return[n-fx(n-o,r),t];case ze[i(365)]:return[n+fx(o-n,r),t];case ze[i(1962)]:return[n,t-fx(t-x,r)];case ze[i(2110)]:return[n,t+fx(x-t,r)]}}function Nc({sourceX:e,sourceY:n,sourcePosition:t=ze[s(2110)],targetX:o,targetY:x,targetPosition:r=ze[s(1962)],curvature:i=.25}){const[c,d]=Lc({pos:t,x1:e,y1:n,x2:o,y2:x,c:i}),[a,u]=Lc({pos:r,x1:o,y1:x,x2:e,y2:n,c:i}),[f,b,g,w]=Dc({sourceX:e,sourceY:n,targetX:o,targetY:x,sourceControlX:c,sourceControlY:d,targetControlX:a,targetControlY:u});return["M"+e+","+n+" C"+c+","+d+" "+a+","+u+" "+o+","+x,f,b,g,w]}function Sc({sourceX:e,sourceY:n,targetX:t,targetY:o}){const x=s,r=Math[x(1537)](t-e)/2,i=t<e?t+r:t-r,c=Math[x(1537)](o-n)/2,d=o<n?o+c:o-c;return[i,d,r,c]}function G2({sourceNode:e,targetNode:n,selected:t=!1,zIndex:o=0,elevateOnSelect:x=!1,zIndexMode:r="basic"}){const i=s;if(r==="manual")return o;const c=x&&t?o+1e3:o,d=Math.max(e[i(1907)]||x&&e.selected?e[i(1157)].z:0,n[i(1907)]||x&&n[i(1274)]?n[i(1157)].z:0);return c+d}function O2({sourceNode:e,targetNode:n,width:t,height:o,transform:x}){const r=sx(dx(e),dx(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 ut(i,lx(r))>0}const H2=({source:e,sourceHandle:n,target:t,targetHandle:o})=>s(727)+e+(n||"")+"-"+t+(o||""),T2=(e,n)=>{const t=s;return n.some(o=>o[t(766)]===e[t(766)]&&o[t(500)]===e[t(500)]&&(o.sourceHandle===e[t(837)]||!o.sourceHandle&&!e[t(837)])&&(o[t(1924)]===e[t(1924)]||!o[t(1924)]&&!e[t(1924)]))},kc=(e,n,t={})=>{const o=s;if(!e[o(766)]||!e[o(500)])return mc("006",f0[o(873)]()),n;const x=t[o(1228)]||H2;let r;return dc(e)?r={...e}:r={...e,id:x(e)},T2(r,n)?n:(r[o(837)]===null&&delete r[o(837)],r[o(1924)]===null&&delete r[o(1924)],n[o(758)](r))};function Ic({sourceX:e,sourceY:n,targetX:t,targetY:o}){const[x,r,i,c]=Sc({sourceX:e,sourceY:n,targetX:t,targetY:o});return["M "+e+","+n+"L "+t+","+o,x,r,i,c]}const Pc={[ze.Left]:{x:-1,y:0},[ze.Right]:{x:1,y:0},[ze[s(1962)]]:{x:0,y:-1},[ze[s(2110)]]:{x:0,y:1}},V2=({source:e,sourcePosition:n=ze[s(2110)],target:t})=>n===ze[s(1029)]||n===ze.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},Ac=(e,n)=>Math.sqrt(Math[s(919)](n.x-e.x,2)+Math.pow(n.y-e.y,2));function q2({source:e,sourcePosition:n=ze[s(2110)],target:t,targetPosition:o=ze.Top,center:x,offset:r,stepPosition:i}){const c=s,d=Pc[n],a=Pc[o],u={x:e.x+d.x*r,y:e.y+d.y*r},f={x:t.x+a.x*r,y:t.y+a.y*r},b=V2({source:u,sourcePosition:n,target:f}),g=b.x!==0?"x":"y",w=b[g];let h=[],v,M;const m={x:0,y:0},y={x:0,y:0},[,,p,z]=Sc({sourceX:e.x,sourceY:e.y,targetX:t.x,targetY:t.y});if(d[g]*a[g]===-1){g==="x"?(v=x.x??u.x+(f.x-u.x)*i,M=x.y??(u.y+f.y)/2):(v=x.x??(u.x+f.x)/2,M=x.y??u.y+(f.y-u.y)*i);const V=[{x:v,y:u.y},{x:v,y:f.y}],j=[{x:u.x,y:M},{x:f.x,y:M}];d[g]===w?h=g==="x"?V:j:h=g==="x"?j:V}else{const V=[{x:u.x,y:f.y}],j=[{x:f.x,y:u.y}];if(g==="x"?h=d.x===w?j:V:h=d.y===w?V:j,n===o){const N=Math[c(1537)](e[g]-t[g]);if(N<=r){const L=Math[c(775)](r-1,r-N);d[g]===w?m[g]=(u[g]>e[g]?-1:1)*L:y[g]=(f[g]>t[g]?-1:1)*L}}if(n!==o){const N=g==="x"?"y":"x",L=d[g]===a[N],D=u[N]>f[N],Y=u[N]<f[N];(d[g]===1&&(!L&&D||L&&Y)||d[g]!==1&&(!L&&Y||L&&D))&&(h=g==="x"?V:j)}const q={x:u.x+m.x,y:u.y+m.y},H={x:f.x+y.x,y:f.y+y.y},W=Math[c(2172)](Math[c(1537)](q.x-h[0].x),Math[c(1537)](H.x-h[0].x)),T=Math[c(2172)](Math[c(1537)](q.y-h[0].y),Math[c(1537)](H.y-h[0].y));W>=T?(v=(q.x+H.x)/2,M=h[0].y):(v=h[0].x,M=(q.y+H.y)/2)}const P={x:u.x+m.x,y:u.y+m.y},G={x:f.x+y.x,y:f.y+y.y};return[[e,...P.x!==h[0].x||P.y!==h[0].y?[P]:[],...h,...G.x!==h[h[c(2179)]-1].x||G.y!==h[h[c(2179)]-1].y?[G]:[],t],v,M,p,z]}function W2(e,n,t,o){const x=Math.min(Ac(e,n)/2,Ac(n,t)/2,o),{x:r,y:i}=n;if(e.x===r&&r===t.x||e.y===i&&i===t.y)return"L"+r+" "+i;if(e.y===i){const a=e.x<t.x?-1:1,u=e.y<t.y?1:-1;return"L "+(r+x*a)+","+i+"Q "+r+","+i+" "+r+","+(i+x*u)}const c=e.x<t.x?1:-1,d=e.y<t.y?-1:1;return"L "+r+","+(i+x*d)+"Q "+r+","+i+" "+(r+x*c)+","+i}function Io({sourceX:e,sourceY:n,sourcePosition:t=ze[s(2110)],targetX:o,targetY:x,targetPosition:r=ze[s(1962)],borderRadius:i=5,centerX:c,centerY:d,offset:a=20,stepPosition:u=.5}){const f=s,[b,g,w,h,v]=q2({source:{x:e,y:n},sourcePosition:t,target:{x:o,y:x},targetPosition:r,center:{x:c,y:d},offset:a,stepPosition:u});let M="M"+b[0].x+" "+b[0].y;for(let m=1;m<b[f(2179)]-1;m++)M+=W2(b[m-1],b[m],b[m+1],i);return M+="L"+b[b[f(2179)]-1].x+" "+b[b[f(2179)]-1].y,[M,g,w,h,v]}function jc(e){const n=s;return e&&!!(e[n(1157)].handleBounds||e.handles?.[n(2179)])&&!!(e[n(510)][n(1710)]||e[n(1710)]||e.initialWidth)}function X2(e){const n=s,{sourceNode:t,targetNode:o}=e;if(!jc(t)||!jc(o))return null;const x=t[n(1157)].handleBounds||Yc(t[n(1901)]),r=o[n(1157)][n(610)]||Yc(o.handles),i=Ec(x?.[n(766)]??[],e[n(837)]),c=Ec(e[n(1579)]===Sn[n(600)]?r?.[n(500)]??[]:(r?.[n(500)]??[])[n(758)](r?.[n(766)]??[]),e[n(1924)]);if(!i||!c)return e[n(581)]?.(n(1030),f0[n(625)](n(i?500:766),{id:e.id,sourceHandle:e[n(837)],targetHandle:e[n(1924)]})),null;const d=i?.[n(835)]||ze[n(2110)],a=c?.position||ze[n(1962)],u=un(t,i,d),f=un(o,c,a);return{sourceX:u.x,sourceY:u.y,targetX:f.x,targetY:f.y,sourcePosition:d,targetPosition:a}}function Yc(e){const n=s;if(!e)return null;const t=[],o=[];for(const x of e)x[n(1710)]=x[n(1710)]??1,x[n(1355)]=x[n(1355)]??1,x[n(1912)]===n(766)?t[n(1759)](x):x[n(1912)]===n(500)&&o[n(1759)](x);return{source:t,target:o}}function un(e,n,t=ze[s(1029)],o=!1){const x=s,r=(n?.x??0)+e[x(1157)][x(1443)].x,i=(n?.y??0)+e[x(1157)].positionAbsolute.y,{width:c,height:d}=n??T0(e);if(o)return{x:r+c/2,y:i+d/2};switch(n?.[x(835)]??t){case ze[x(1962)]:return{x:r+c/2,y:i};case ze.Right:return{x:r+c,y:i+d/2};case ze[x(2110)]:return{x:r+c/2,y:i+d};case ze[x(1029)]:return{x:r,y:i+d/2}}}function Ec(e,n){return e&&(n?e.find(t=>t.id===n):e[0])||null}function Po(e,n){const t=s;return e?typeof e===t(1705)?e:""+(n?n+"__":"")+Object[t(999)](e)[t(840)]()[t(474)](x=>x+"="+e[x])[t(1881)]("&"):""}function K2(e,{id:n,defaultColor:t,defaultMarkerStart:o,defaultMarkerEnd:x}){const r=s,i=new Set;return e[r(1106)]((c,d)=>{const a=r;return[d.markerStart||o,d[a(1977)]||x][a(1322)](u=>{const f=a;if(u&&typeof u===f(878)){const b=Po(u,n);!i[f(1147)](b)&&(c[f(1759)]({id:b,color:u[f(1176)]||t,...u}),i[f(729)](b))}}),c},[])[r(840)]((c,d)=>c.id.localeCompare(d.id))}const Uc=1e3,Z2=10,Ao={nodeOrigin:[0,0],nodeExtent:at,elevateNodesOnSelect:!0,zIndexMode:s(1212),defaults:{}},R2={...Ao,checkEquality:!0};function jo(e,n){const t={...e};for(const o in n)n[o]!==void 0&&(t[o]=n[o]);return t}function J2(e,n,t){const o=s,x=jo(Ao,t);for(const r of e[o(1982)]())if(r[o(1907)])Uo(r,e,n,x);else{const i=lt(r,x.nodeOrigin),c=An(r[o(502)])?r[o(502)]:x[o(790)],d=dn(i,c,T0(r));r[o(1157)][o(1443)]=d}}function _2(e,n){const t=s;if(!e[t(1901)])return e[t(510)]?n?.[t(1157)].handleBounds:void 0;const o=[],x=[];for(const r of e[t(1901)]){const i={id:r.id,width:r[t(1710)]??1,height:r[t(1355)]??1,nodeId:e.id,x:r.x,y:r.y,position:r.position,type:r[t(1912)]};r[t(1912)]===t(766)?o[t(1759)](i):r[t(1912)]===t(500)&&x.push(i)}return{source:o,target:x}}function Yo(e){return e===s(1873)}function Eo(e,n,t,o={}){const x=s,r=jo(R2,o),i={i:0},c=new Map(n),d=r?.[x(1276)]&&!Yo(r[x(1316)])?Uc:0;let a=e[x(2179)]>0,u=!1;n.clear(),t[x(1390)]();for(const f of e){let b=c[x(1861)](f.id);if(r[x(1506)]&&f===b?.[x(1157)].userNode)n[x(721)](f.id,b);else{const g=lt(f,r[x(1031)]),w=An(f[x(502)])?f[x(502)]:r.nodeExtent,h=dn(g,w,T0(f));b={...r[x(1043)],...f,measured:{width:f.measured?.[x(1710)],height:f[x(510)]?.[x(1355)]},internals:{positionAbsolute:h,handleBounds:_2(f,b),z:Gc(f,d,r[x(1316)]),userNode:f}},n[x(721)](f.id,b)}(b[x(510)]===void 0||b[x(510)][x(1710)]===void 0||b[x(510)][x(1355)]===void 0)&&!b[x(1771)]&&(a=!1),f[x(1907)]&&Uo(b,n,t,o,i),u||=f[x(1274)]??!1}return{nodesInitialized:a,hasSelectedNodes:u}}function Q2(e,n){const t=s;if(!e[t(1907)])return;const o=n[t(1861)](e[t(1907)]);o?o.set(e.id,e):n[t(721)](e[t(1907)],new Map([[e.id,e]]))}function Uo(e,n,t,o,x){const r=s,{elevateNodesOnSelect:i,nodeOrigin:c,nodeExtent:d,zIndexMode:a}=jo(Ao,o),u=e[r(1907)],f=n[r(1861)](u);if(!f){console[r(2015)](r(496)+u+r(1303));return}Q2(e,t),x&&!f[r(1907)]&&f.internals[r(1830)]===void 0&&a===r(1798)&&(f[r(1157)][r(1830)]=++x.i,f[r(1157)].z=f[r(1157)].z+x.i*Z2),x&&f[r(1157)][r(1830)]!==void 0&&(x.i=f.internals[r(1830)]);const b=i&&!Yo(a)?Uc:0,{x:g,y:w,z:h}=F2(e,f,c,d,b,a),{positionAbsolute:v}=e[r(1157)],M=g!==v.x||w!==v.y;(M||h!==e[r(1157)].z)&&n[r(721)](e.id,{...e,internals:{...e[r(1157)],positionAbsolute:M?{x:g,y:w}:v,z:h}})}function Gc(e,n,t){const o=s,x=C0(e[o(741)])?e[o(741)]:0;return Yo(t)?x:x+(e[o(1274)]?n:0)}function F2(e,n,t,o,x,r){const i=s,{x:c,y:d}=n[i(1157)].positionAbsolute,a=T0(e),u=lt(e,t),f=An(e.extent)?dn(u,e[i(502)],a):u;let b=dn({x:c+f.x,y:d+f.y},o,a);e.extent==="parent"&&(b=fc(b,a,n));const g=Gc(e,x,r),w=n[i(1157)].z??0;return{x:b.x,y:b.y,z:w>=g?w+1:g}}function Go(e,n,t,o=[0,0]){const x=s,r=[],i=new Map;for(const c of e){const d=n[x(1861)](c[x(1907)]);if(!d)continue;const a=i[x(1861)](c.parentId)?.[x(1411)]??In(d),u=bc(a,c[x(1389)]);i[x(721)](c[x(1907)],{expandedRect:u,parent:d})}return i[x(1046)]>0&&i[x(1322)](({expandedRect:c,parent:d},a)=>{const u=x,f=d[u(1157)][u(1443)],b=T0(d),g=d[u(1639)]??o,w=c.x<f.x?Math[u(381)](Math[u(1537)](f.x-c.x)):0,h=c.y<f.y?Math[u(381)](Math.abs(f.y-c.y)):0,v=Math.max(b.width,Math[u(381)](c[u(1710)])),M=Math.max(b.height,Math.round(c[u(1355)])),m=(v-b[u(1710)])*g[0],y=(M-b.height)*g[1];(w>0||h>0||m||y)&&(r[u(1759)]({id:a,type:u(835),position:{x:d.position.x-w+m,y:d[u(835)].y-h+y}}),t[u(1861)](a)?.forEach(p=>{const z=u;!e[z(1496)](P=>P.id===p.id)&&r.push({id:p.id,type:z(835),position:{x:p[z(835)].x+w,y:p[z(835)].y+h}})})),(b.width<c.width||b.height<c[u(1355)]||w||h)&&r[u(1759)]({id:a,type:"dimensions",setAttributes:!0,dimensions:{width:v+(w?g[0]*w-m:0),height:M+(h?g[1]*h-y:0)}})}),r}function $2(e,n,t,o,x,r,i){const c=s,d=o?.[c(1525)](c(1380));let a=!1;if(!d)return{changes:[],updatedInternals:a};const u=[],f=window[c(704)](d),{m22:b}=new window.DOMMatrixReadOnly(f[c(1121)]),g=[];for(const w of e.values()){const h=n[c(1861)](w.id);if(!h)continue;if(h[c(1771)]){n.set(h.id,{...h,internals:{...h[c(1157)],handleBounds:void 0}}),a=!0;continue}const v=ko(w[c(585)]),M=h.measured[c(1710)]!==v[c(1710)]||h[c(510)].height!==v[c(1355)];if(!!(v[c(1710)]&&v.height&&(M||!h[c(1157)].handleBounds||w[c(1264)]))){const y=w[c(585)][c(1821)](),p=An(h[c(502)])?h[c(502)]:r;let{positionAbsolute:z}=h[c(1157)];h[c(1907)]&&h[c(502)]==="parent"?z=fc(z,v,n[c(1861)](h[c(1907)])):p&&(z=dn(z,p,v));const P={...h,measured:v,internals:{...h.internals,positionAbsolute:z,handleBounds:{source:Bc(c(766),w[c(585)],y,b,h.id),target:Bc(c(500),w[c(585)],y,b,h.id)}}};n[c(721)](h.id,P),h[c(1907)]&&Uo(P,n,t,{nodeOrigin:x,zIndexMode:i}),a=!0,M&&(u[c(1759)]({id:h.id,type:"dimensions",dimensions:v}),h[c(1935)]&&h[c(1907)]&&g[c(1759)]({id:h.id,parentId:h[c(1907)],rect:In(P,x)}))}}if(g[c(2179)]>0){const w=Go(g,n,t,x);u.push(...w)}return{changes:u,updatedInternals:a}}async function e5({delta:e,panZoom:n,transform:t,translateExtent:o,width:x,height:r}){const i=s;if(!n||!e.x&&!e.y)return Promise[i(1952)](!1);const c=await n[i(672)]({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(1952)](d)}function Oc(e,n,t,o,x,r){const i=s;let c=x;const d=o[i(1861)](c)||new Map;o[i(721)](c,d[i(721)](t,n)),c=x+"-"+e;const a=o[i(1861)](c)||new Map;if(o[i(721)](c,a[i(721)](t,n)),r){c=x+"-"+e+"-"+r;const u=o[i(1861)](c)||new Map;o[i(721)](c,u.set(t,n))}}function Hc(e,n,t){const o=s;e[o(1390)](),n[o(1390)]();for(const x of t){const{source:r,target:i,sourceHandle:c=null,targetHandle:d=null}=x,a={edgeId:x.id,source:r,target:i,sourceHandle:c,targetHandle:d},u=r+"-"+c+"--"+i+"-"+d,f=i+"-"+d+"--"+r+"-"+c;Oc(o(766),a,f,e,r,c),Oc(o(500),a,u,e,i,d),n[o(721)](x.id,x)}}function Tc(e,n){const t=s;if(!e[t(1907)])return!1;const o=n[t(1861)](e[t(1907)]);return o?o[t(1274)]?!0:Tc(o,n):!1}function Vc(e,n,t){const o=s;let x=e;do{if(x?.matches?.(n))return!0;if(x===t)return!1;x=x?.[o(560)]}while(x);return!1}function n5(e,n,t,o){const x=s,r=new Map;for(const[i,c]of e)if((c[x(1274)]||c.id===o)&&(!c[x(1907)]||!Tc(c,e))&&(c[x(1533)]||n&&typeof c[x(1533)]===x(383))){const d=e[x(1861)](i);d&&r[x(721)](i,{id:i,position:d[x(835)]||{x:0,y:0},distance:{x:t.x-d.internals[x(1443)].x,y:t.y-d.internals.positionAbsolute.y},extent:d[x(502)],parentId:d[x(1907)],origin:d[x(1639)],expandParent:d[x(1935)],internals:{positionAbsolute:d.internals.positionAbsolute||{x:0,y:0}},measured:{width:d[x(510)][x(1710)]??0,height:d[x(510)][x(1355)]??0}})}return r}function Oo({nodeId:e,dragItems:n,nodeLookup:t,dragging:o=!0}){const x=s,r=[];for(const[c,d]of n){const a=t[x(1861)](c)?.[x(1157)].userNode;a&&r[x(1759)]({...a,position:d.position,dragging:o})}if(!e)return[r[0],r];const i=t[x(1861)](e)?.internals[x(1275)];return[i?{...i,position:n[x(1861)](e)?.position||i[x(835)],dragging:o}:r[0],r]}function t5({dragItems:e,snapGrid:n,x:t,y:o}){const x=s,r=e[x(1982)]().next()[x(1044)];if(!r)return null;const i={x:t-r[x(750)].x,y:o-r[x(750)].y},c=ft(i,n);return{x:c.x-i.x,y:c.y-i.y}}function x5({onNodeMouseDown:e,getStoreItems:n,onDragStart:t,onDrag:o,onDragStop:x}){let r={x:null,y:null},i=0,c=new Map,d=!1,a={x:0,y:0},u=null,f=!1,b=null,g=!1,w=!1,h=null;function v({noDragClassName:m,handleSelector:y,domNode:p,isSelectable:z,nodeId:P,nodeClickDistance:G=0}){const O=_0x5590;b=u0(p);function V({x:W,y:T}){const N=_0x5590,{nodeLookup:L,nodeExtent:D,snapGrid:Y,snapToGrid:U,nodeOrigin:I,onNodeDrag:J,onSelectionDrag:$,onError:F,updateNodePositions:xe}=n();r={x:W,y:T};let re=!1;const ae=c[N(1046)]>1,ue=ae&&D?No(dt(c)):null,me=ae&&U?t5({dragItems:c,snapGrid:Y,x:W,y:T}):null;for(const[se,ee]of c){if(!L[N(1147)](se))continue;let le={x:W-ee.distance.x,y:T-ee[N(750)].y};U&&(le=me?{x:Math[N(381)](le.x+me.x),y:Math[N(381)](le.y+me.y)}:ft(le,Y));let be=null;if(ae&&D&&!ee[N(502)]&&ue){const{positionAbsolute:Z}=ee[N(1157)],ne=Z.x-ue.x+D[0][0],te=Z.x+ee.measured[N(1710)]-ue.x2+D[1][0],X=Z.y-ue.y+D[0][1],oe=Z.y+ee[N(510)][N(1355)]-ue.y2+D[1][1];be=[[ne,X],[te,oe]]}const{position:E,positionAbsolute:A}=uc({nodeId:se,nextPosition:le,nodeLookup:L,nodeExtent:be||D,nodeOrigin:I,onError:F});re=re||ee.position.x!==E.x||ee[N(835)].y!==E.y,ee[N(835)]=E,ee.internals.positionAbsolute=A}if(w=w||re,!!re&&(xe(c,!0),h&&(o||J||!P&&$))){const[se,ee]=Oo({nodeId:P,dragItems:c,nodeLookup:L});o?.(h,c,se,ee),J?.(h,se,ee),!P&&$?.(h,ee)}}async function j(){if(!u)return;const{transform:W,panBy:T,autoPanSpeed:N,autoPanOnNodeDrag:L}=n();if(!L){d=!1,cancelAnimationFrame(i);return}const[D,Y]=gc(a,u,N);(D!==0||Y!==0)&&(r.x=(r.x??0)-D/W[2],r.y=(r.y??0)-Y/W[2],await T({x:D,y:Y})&&V(r)),i=requestAnimationFrame(j)}function q(W){const T=_0x5590,{nodeLookup:N,multiSelectionActive:L,nodesDraggable:D,transform:Y,snapGrid:U,snapToGrid:I,selectNodesOnDrag:J,onNodeDragStart:$,onSelectionDragStart:F,unselectNodesAndEdges:xe}=n();f=!0,(!J||!z)&&!L&&P&&!N.get(P)?.[T(1274)]&&xe(),z&&J&&P&&e?.(P);const re=bt(W[T(1294)],{transform:Y,snapGrid:U,snapToGrid:I,containerBounds:u});if(r=re,c=n5(N,D,re,P),c[T(1046)]>0&&(t||$||!P&&F)){const[ae,ue]=Oo({nodeId:P,dragItems:c,nodeLookup:N});t?.(W.sourceEvent,c,ae,ue),$?.(W[T(1294)],ae,ue),!P&&F?.(W[T(1294)],ue)}}const H=Si()[O(1614)](G).on("start",W=>{const T=O,{domNode:N,nodeDragThreshold:L,transform:D,snapGrid:Y,snapToGrid:U}=n();u=N?.[T(1821)]()||null,g=!1,w=!1,h=W[T(1294)],L===0&&q(W),r=bt(W[T(1294)],{transform:D,snapGrid:Y,snapToGrid:U,containerBounds:u}),a=M0(W.sourceEvent,u)}).on(O(1980),W=>{const T=O,{autoPanOnNodeDrag:N,transform:L,snapGrid:D,snapToGrid:Y,nodeDragThreshold:U,nodeLookup:I}=n(),J=bt(W[T(1294)],{transform:L,snapGrid:D,snapToGrid:Y,containerBounds:u});if(h=W[T(1294)],(W[T(1294)][T(1912)]==="touchmove"&&W.sourceEvent[T(2006)][T(2179)]>1||P&&!I[T(1147)](P))&&(g=!0),!g){if(!d&&N&&f&&(d=!0,j()),!f){const $=M0(W[T(1294)],u),F=$.x-a.x,xe=$.y-a.y;Math[T(857)](F*F+xe*xe)>U&&q(W)}(r.x!==J[T(1464)]||r.y!==J.ySnapped)&&c&&f&&(a=M0(W[T(1294)],u),V(J))}}).on(O(1942),W=>{const T=O;if(!(!f||g)&&(d=!1,f=!1,cancelAnimationFrame(i),c[T(1046)]>0)){const{nodeLookup:N,updateNodePositions:L,onNodeDragStop:D,onSelectionDragStop:Y}=n();if(w&&(L(c,!1),w=!1),x||D||!P&&Y){const[U,I]=Oo({nodeId:P,dragItems:c,nodeLookup:N,dragging:!1});x?.(W[T(1294)],c,U,I),D?.(W[T(1294)],U,I),!P&&Y?.(W.sourceEvent,I)}}}).filter(W=>{const T=O,N=W[T(500)];return!W.button&&(!m||!Vc(N,"."+m,p))&&(!y||Vc(N,y,p))});b[O(414)](H)}function M(){b?.on(".drag",null)}return{update:v,destroy:M}}function o5(e,n,t){const o=[],x={x:e.x-t,y:e.y-t,width:t*2,height:t*2};for(const r of n.values())ut(x,In(r))>0&&o.push(r);return o}const r5=250;function i5(e,n,t,o){const x=s;let r=[],i=1/0;const c=o5(e,t,n+r5);for(const d of c){const a=[...d[x(1157)][x(610)]?.[x(766)]??[],...d[x(1157)][x(610)]?.[x(500)]??[]];for(const u of a){if(o.nodeId===u[x(1632)]&&o.type===u[x(1912)]&&o.id===u.id)continue;const{x:f,y:b}=un(d,u,u[x(835)],!0),g=Math.sqrt(Math[x(919)](f-e.x,2)+Math.pow(b-e.y,2));g>n||(g<i?(r=[{...u,x:f,y:b}],i=g):g===i&&r[x(1759)]({...u,x:f,y:b}))}}if(!r[x(2179)])return null;if(r[x(2179)]>1){const d=o[x(1912)]===x(766)?x(500):x(766);return r.find(a=>a[x(1912)]===d)??r[0]}return r[0]}function qc(e,n,t,o,x,r=!1){const i=s,c=o[i(1861)](e);if(!c)return null;const d=x==="strict"?c.internals[i(610)]?.[n]:[...c[i(1157)].handleBounds?.[i(766)]??[],...c[i(1157)][i(610)]?.target??[]],a=(t?d?.find(u=>u.id===t):d?.[0])??null;return a&&r?{...a,...un(c,a,a[i(835)],!0)}:a}function Wc(e,n){const t=s;return e||(n?.[t(2044)][t(611)]("target")?t(500):n?.[t(2044)][t(611)](t(766))?t(766):null)}function c5(e,n){let t=null;return n?t=!0:e&&!n&&(t=!1),t}const Xc=()=>!0;function a5(e,{connectionMode:n,connectionRadius:t,handleId:o,nodeId:x,edgeUpdaterType:r,isTarget:i,domNode:c,nodeLookup:d,lib:a,autoPanOnConnect:u,flowId:f,panBy:b,cancelConnection:g,onConnectStart:w,onConnect:h,onConnectEnd:v,isValidConnection:M=Xc,onReconnectEnd:m,updateConnection:y,getTransform:p,getFromHandle:z,autoPanSpeed:P,dragThreshold:G=1,handleDomNode:O}){const V=s,j=zc(e[V(500)]);let q=0,H;const{x:W,y:T}=M0(e),N=Wc(r,O),L=c?.getBoundingClientRect();let D=!1;if(!L||!N)return;const Y=qc(x,N,o,d,n);if(!Y)return;let U=M0(e,L),I=!1,J=null,$=!1,F=null;function xe(){if(!u||!L)return;const[be,E]=gc(U,L,P);b({x:be,y:E}),q=requestAnimationFrame(xe)}const re={...Y,nodeId:x,type:N,position:Y.position},ae=d.get(x);let me={inProgress:!0,isValid:null,from:un(ae,re,ze[V(1029)],!0),fromHandle:re,fromPosition:re[V(835)],fromNode:ae,to:U,toHandle:null,toPosition:sc[re[V(835)]],toNode:null,pointer:U};function se(){D=!0,y(me),w?.(e,{nodeId:x,handleId:o,handleType:N})}G===0&&se();function ee(be){const E=V;if(!D){const{x:oe,y:ve}=M0(be),pe=oe-W,Ie=ve-T;if(!(pe*pe+Ie*Ie>G*G))return;se()}if(!z()||!re){le(be);return}const A=p();U=M0(be,L),H=i5(ht(U,A,!1,[1,1]),t,d,re),!I&&(xe(),I=!0);const Z=Kc(be,{handle:H,connectionMode:n,fromNodeId:x,fromHandleId:o,fromType:i?"target":E(766),isValidConnection:M,doc:j,lib:a,flowId:f,nodeLookup:d});F=Z.handleDomNode,J=Z[E(1561)],$=c5(!!H,Z[E(706)]);const ne=d[E(1861)](x),te=ne?un(ne,re,ze[E(1029)],!0):me[E(1365)],X={...me,from:te,isValid:$,to:Z.toHandle&&$?ux({x:Z.toHandle.x,y:Z[E(824)].y},A):U,toHandle:Z[E(824)],toPosition:$&&Z.toHandle?Z[E(824)].position:sc[re[E(835)]],toNode:Z[E(824)]?d.get(Z[E(824)][E(1632)]):null,pointer:U};y(X),me=X}function le(be){const E=V;if(!("touches"in be&&be[E(2006)][E(2179)]>0)){if(D){(H||F)&&J&&$&&h?.(J);const{inProgress:A,...Z}=me,ne={...Z,toPosition:me[E(824)]?me[E(1523)]:null};v?.(be,ne),r&&m?.(be,ne)}g(),cancelAnimationFrame(q),I=!1,$=!1,J=null,F=null,j[E(1665)](E(920),ee),j[E(1665)](E(814),le),j[E(1665)]("touchmove",ee),j.removeEventListener(E(851),le)}}j.addEventListener(V(920),ee),j[V(1892)]("mouseup",le),j.addEventListener("touchmove",ee),j[V(1892)](V(851),le)}function Kc(e,{handle:n,connectionMode:t,fromNodeId:o,fromHandleId:x,fromType:r,doc:i,lib:c,flowId:d,isValidConnection:a=Xc,nodeLookup:u}){const f=s,b=r==="target",g=n?i[f(1525)]("."+c+f(1960)+d+"-"+n?.[f(1632)]+"-"+n?.id+"-"+n?.[f(1912)]+'"]'):null,{x:w,y:h}=M0(e),v=i[f(901)](w,h),M=v?.classList[f(611)](c+f(1472))?v:g,m={handleDomNode:M,isValid:!1,connection:null,toHandle:null};if(M){const y=Wc(void 0,M),p=M[f(659)](f(579)),z=M[f(659)](f(1969)),P=M[f(2044)][f(611)](f(1424)),G=M[f(2044)][f(611)](f(1407));if(!p||!y)return m;const O={source:b?p:o,sourceHandle:b?z:x,target:b?o:p,targetHandle:b?x:z};m[f(1561)]=O;const V=P&&G,j=V&&(t===Sn[f(600)]?b&&y===f(766)||!b&&y===f(500):p!==o||z!==x);m[f(706)]=j&&a(O),m[f(824)]=qc(p,y,z,u,t,!0)}return m}const Ho={onPointerDown:a5,isValid:Kc};function s5({domNode:e,panZoom:n,getTransform:t,getViewScale:o}){const x=u0(e);function r({translateExtent:c,width:d,height:a,zoomStep:u=1,pannable:f=!0,zoomable:b=!0,inversePan:g=!1}){const w=_0x5590,h=p=>{const z=_0x5590;if(p[z(1294)][z(1912)]!==z(1849)||!n)return;const P=t(),G=p.sourceEvent.ctrlKey&&gt()?10:1,O=-p.sourceEvent[z(1073)]*(p.sourceEvent[z(924)]===1?.05:p.sourceEvent[z(924)]?1:.002)*u,V=P[2]*Math[z(919)](2,O*G);n.scaleTo(V)};let v=[0,0];const M=p=>{const z=_0x5590;(p[z(1294)][z(1912)]===z(1618)||p[z(1294)].type===z(1927))&&(v=[p[z(1294)].clientX??p.sourceEvent.touches[0].clientX,p.sourceEvent[z(1301)]??p[z(1294)].touches[0].clientY])},m=p=>{const z=_0x5590,P=t();if(p[z(1294)][z(1912)]!==z(920)&&p.sourceEvent[z(1912)]!==z(1328)||!n)return;const G=[p[z(1294)][z(1072)]??p[z(1294)][z(2006)][0][z(1072)],p[z(1294)][z(1301)]??p[z(1294)].touches[0][z(1301)]],O=[G[0]-v[0],G[1]-v[1]];v=G;const V=o()*Math[z(2172)](P[2],Math[z(1672)](P[2]))*(g?-1:1),j={x:P[0]-O[0]*V,y:P[1]-O[1]*V},q=[[0,0],[d,a]];n[z(672)]({x:j.x,y:j.y,zoom:P[2]},q,c)},y=rc().on(w(1310),M).on(w(1675),f?m:null).on("zoom.wheel",b?h:null);x[w(414)](y,{})}function i(){const c=_0x5590;x.on(c(1675),null)}return{update:r,destroy:i,pointer:v0}}const hx=e=>({x:e.x,y:e.y,zoom:e.k}),To=({x:e,y:n,zoom:t})=>cx.translate(e,n).scale(t),jn=(e,n)=>e[s(500)].closest("."+n),Zc=(e,n)=>n===2&&Array[s(565)](e)&&e[s(1419)](2),l5=e=>((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2,Vo=(e,n=0,t=l5,o=()=>{})=>{const x=s,r=typeof n===x(2059)&&n>0;return!r&&o(),r?e[x(1237)]().duration(n).ease(t).on(x(1942),o):e},Rc=e=>{const n=s,t=e[n(1679)]&&gt()?10:1;return-e[n(1073)]*(e[n(924)]===1?.05:e.deltaMode?1:.002)*t};function d5({zoomPanValues:e,noWheelClassName:n,d3Selection:t,d3Zoom:o,panOnScrollMode:x,panOnScrollSpeed:r,zoomOnPinch:i,onPanZoomStart:c,onPanZoom:d,onPanZoomEnd:a}){return u=>{const f=_0x5590;if(jn(u,n))return u[f(1679)]&&u.preventDefault(),!1;u[f(810)](),u[f(774)]();const b=t[f(2090)](f(501)).k||1;if(u[f(1679)]&&i){const M=v0(u),m=Rc(u),y=b*Math[f(919)](2,m);o[f(407)](t,y,M,u);return}const g=u[f(924)]===1?20:1;let w=x===ln.Vertical?0:u[f(628)]*g,h=x===ln[f(462)]?0:u[f(1073)]*g;!gt()&&u[f(1139)]&&x!==ln[f(1520)]&&(w=u[f(1073)]*g,h=0),o[f(1451)](t,-(w/b)*r,-(h/b)*r,{internal:!0});const v=hx(t[f(2090)](f(501)));clearTimeout(e[f(494)]),e.isPanScrolling?(d?.(u,v),e[f(494)]=setTimeout(()=>{const M=f;a?.(u,v),e[M(348)]=!1},150)):(e[f(348)]=!0,c?.(u,v))}}function u5({noWheelClassName:e,preventScrolling:n,d3ZoomHandler:t}){return function(o,x){const r=_0x5590,i=o.type==="wheel",c=!n&&i&&!o[r(1679)],d=jn(o,e);if(o[r(1679)]&&i&&d&&o[r(810)](),c||d)return null;o[r(810)](),t[r(414)](this,o,x)}}function f5({zoomPanValues:e,onDraggingChange:n,onPanZoomStart:t}){return o=>{const x=_0x5590;if(o[x(1294)]?.internal)return;const r=hx(o[x(1121)]);e[x(1975)]=o[x(1294)]?.button||0,e[x(2190)]=!0,e[x(784)]=r,o[x(1294)]?.[x(1912)]===x(1618)&&n(!0),t&&t?.(o[x(1294)],r)}}function h5({zoomPanValues:e,panOnDrag:n,onPaneContextMenu:t,onTransformChange:o,onPanZoom:x}){return r=>{const i=_0x5590;e.usedRightMouseButton=!!(t&&Zc(n,e[i(1975)]??0)),!r[i(1294)]?.[i(966)]&&o([r[i(1121)].x,r[i(1121)].y,r.transform.k]),x&&!r[i(1294)]?.[i(393)]&&x?.(r[i(1294)],hx(r[i(1121)]))}}function g5({zoomPanValues:e,panOnDrag:n,panOnScroll:t,onDraggingChange:o,onPanZoomEnd:x,onPaneContextMenu:r}){return i=>{const c=_0x5590;if(!i.sourceEvent?.[c(393)]&&(e[c(2190)]=!1,r&&Zc(n,e[c(1975)]??0)&&!e.usedRightMouseButton&&i[c(1294)]&&r(i[c(1294)]),e.usedRightMouseButton=!1,o(!1),x)){const d=hx(i[c(1121)]);e[c(784)]=d,clearTimeout(e[c(609)]),e[c(609)]=setTimeout(()=>{x?.(i[c(1294)],d)},t?150:0)}}}function b5({zoomActivationKeyPressed:e,zoomOnScroll:n,zoomOnPinch:t,panOnDrag:o,panOnScroll:x,zoomOnDoubleClick:r,userSelectionActive:i,noWheelClassName:c,noPanClassName:d,lib:a,connectionInProgress:u}){return f=>{const b=_0x5590,g=e||n,w=t&&f[b(1679)],h=f.type==="wheel";if(f[b(752)]===1&&f.type===b(1618)&&(jn(f,a+b(882))||jn(f,a+b(1095))))return!0;if(!o&&!g&&!x&&!r&&!t||i||u&&!h||jn(f,c)&&h||jn(f,d)&&(!h||x&&h&&!e)||!t&&f[b(1679)]&&h)return!1;if(!t&&f.type===b(1927)&&f[b(2006)]?.[b(2179)]>1)return f[b(810)](),!1;if(!g&&!x&&!w&&h||!o&&(f.type===b(1618)||f[b(1912)]===b(1927))||Array[b(565)](o)&&!o[b(1419)](f[b(752)])&&f[b(1912)]===b(1618))return!1;const v=Array[b(565)](o)&&o[b(1419)](f[b(752)])||!f[b(752)]||f.button<=1;return(!f[b(1679)]||h)&&v}}function y5({domNode:e,minZoom:n,maxZoom:t,translateExtent:o,viewport:x,onPanZoom:r,onPanZoomStart:i,onPanZoomEnd:c,onDraggingChange:d}){const a=s,u={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},f=e[a(1821)](),b=rc()[a(668)]([n,t])[a(1723)](o),g=u0(e).call(b);y({x:x.x,y:x.y,zoom:kn(x[a(1675)],n,t)},[[0,0],[f[a(1710)],f[a(1355)]]],o);const w=g.on(a(2004)),h=g.on(a(2109));b[a(1069)](Rc);function v(H,W){const T=a;return g?new Promise(N=>{const L=_0x5590;b?.interpolate(W?.[L(1939)]===L(1584)?tt:Qt)[L(1121)](Vo(g,W?.[L(850)],W?.[L(1834)],()=>N(!0)),H)}):Promise[T(1952)](!1)}function M({noWheelClassName:H,noPanClassName:W,onPaneContextMenu:T,userSelectionActive:N,panOnScroll:L,panOnDrag:D,panOnScrollMode:Y,panOnScrollSpeed:U,preventScrolling:I,zoomOnPinch:J,zoomOnScroll:$,zoomOnDoubleClick:F,zoomActivationKeyPressed:xe,lib:re,onTransformChange:ae,connectionInProgress:ue,paneClickDistance:me,selectionOnDrag:se}){const ee=a;N&&!u[ee(2190)]&&m();const le=L&&!xe&&!N;b.clickDistance(se?1/0:!C0(me)||me<0?0:me);const be=le?d5({zoomPanValues:u,noWheelClassName:H,d3Selection:g,d3Zoom:b,panOnScrollMode:Y,panOnScrollSpeed:U,zoomOnPinch:J,onPanZoomStart:i,onPanZoom:r,onPanZoomEnd:c}):u5({noWheelClassName:H,preventScrolling:I,d3ZoomHandler:w});if(g.on(ee(2004),be,{passive:!1}),!N){const A=f5({zoomPanValues:u,onDraggingChange:d,onPanZoomStart:i});b.on("start",A);const Z=h5({zoomPanValues:u,panOnDrag:D,onPaneContextMenu:!!T,onPanZoom:r,onTransformChange:ae});b.on(ee(1675),Z);const ne=g5({zoomPanValues:u,panOnDrag:D,panOnScroll:L,onPaneContextMenu:T,onPanZoomEnd:c,onDraggingChange:d});b.on(ee(1942),ne)}const E=b5({zoomActivationKeyPressed:xe,panOnDrag:D,zoomOnScroll:$,panOnScroll:L,zoomOnDoubleClick:F,zoomOnPinch:J,userSelectionActive:N,noPanClassName:W,noWheelClassName:H,lib:re,connectionInProgress:ue});b.filter(E),F?g.on("dblclick.zoom",h):g.on(ee(2109),null)}function m(){const H=a;b.on(H(1675),null)}async function y(H,W,T){const N=To(H),L=b?.constrain()(N,W,T);return L&&await v(L),new Promise(D=>D(L))}async function p(H,W){const T=To(H);return await v(T,W),new Promise(N=>N(T))}function z(H){const W=a;if(g){const T=To(H),N=g.property("__zoom");(N.k!==H[W(1675)]||N.x!==H.x||N.y!==H.y)&&b?.[W(1121)](g,T,null,{sync:!0})}}function P(){const H=a,W=g?xc(g[H(1504)]()):{x:0,y:0,k:1};return{x:W.x,y:W.y,zoom:W.k}}function G(H,W){return g?new Promise(T=>{const N=_0x5590;b?.[N(1939)](W?.[N(1939)]==="linear"?tt:Qt)[N(407)](Vo(g,W?.[N(850)],W?.ease,()=>T(!0)),H)}):Promise.resolve(!1)}function O(H,W){const T=a;return g?new Promise(N=>{const L=_0x5590;b?.[L(1939)](W?.[L(1939)]===L(1584)?tt:Qt).scaleBy(Vo(g,W?.[L(850)],W?.[L(1834)],()=>N(!0)),H)}):Promise[T(1952)](!1)}function V(H){b?.[a(668)](H)}function j(H){b?.[a(1723)](H)}function q(H){const W=a,T=!C0(H)||H<0?0:H;b?.[W(1614)](T)}return{update:M,destroy:m,setViewport:p,setViewportConstrained:y,getViewport:P,scaleTo:G,scaleBy:O,setScaleExtent:V,setTranslateExtent:j,syncViewport:z,setClickDistance:q}}var Yn;(function(e){const n=s;e[n(828)]=n(1190),e.Handle=n(932)})(Yn||(Yn={}));function m5({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 Jc(e){const n=s,t=e[n(1419)](n(1790))||e[n(1419)](n(937)),o=e.includes(n(689))||e.includes(n(1117)),x=e[n(1419)]("left"),r=e[n(1419)](n(1117));return{isHorizontal:t,isVertical:o,affectsX:x,affectsY:r}}function J0(e,n){return Math.max(0,n-e)}function _0(e,n){return Math.max(0,e-n)}function gx(e,n,t){return Math[s(2172)](0,n-e,e-t)}function _c(e,n){return e?!n:n}function w5(e,n,t,o,x,r,i,c){const d=s;let{affectsX:a,affectsY:u}=n;const{isHorizontal:f,isVertical:b}=n,g=f&&b,{xSnapped:w,ySnapped:h}=t,{minWidth:v,maxWidth:M,minHeight:m,maxHeight:y}=o,{x:p,y:z,width:P,height:G,aspectRatio:O}=e;let V=Math[d(1938)](f?w-e[d(1627)]:0),j=Math[d(1938)](b?h-e.pointerY:0);const q=P+(a?-V:V),H=G+(u?-j:j),W=-r[0]*P,T=-r[1]*G;let N=gx(q,v,M),L=gx(H,m,y);if(i){let U=0,I=0;a&&V<0?U=J0(p+V+W,i[0][0]):!a&&V>0&&(U=_0(p+q+W,i[1][0])),u&&j<0?I=J0(z+j+T,i[0][1]):!u&&j>0&&(I=_0(z+H+T,i[1][1])),N=Math[d(2172)](N,U),L=Math.max(L,I)}if(c){let U=0,I=0;a&&V>0?U=_0(p+V,c[0][0]):!a&&V<0&&(U=J0(p+q,c[1][0])),u&&j>0?I=_0(z+j,c[0][1]):!u&&j<0&&(I=J0(z+H,c[1][1])),N=Math.max(N,U),L=Math[d(2172)](L,I)}if(x){if(f){const U=gx(q/O,m,y)*O;if(N=Math[d(2172)](N,U),i){let I=0;!a&&!u||a&&!u&&g?I=_0(z+T+q/O,i[1][1])*O:I=J0(z+T+(a?V:-V)/O,i[0][1])*O,N=Math[d(2172)](N,I)}if(c){let I=0;!a&&!u||a&&!u&&g?I=J0(z+q/O,c[1][1])*O:I=_0(z+(a?V:-V)/O,c[0][1])*O,N=Math[d(2172)](N,I)}}if(b){const U=gx(H*O,v,M)/O;if(L=Math[d(2172)](L,U),i){let I=0;!a&&!u||u&&!a&&g?I=_0(p+H*O+W,i[1][0])/O:I=J0(p+(u?j:-j)*O+W,i[0][0])/O,L=Math[d(2172)](L,I)}if(c){let I=0;!a&&!u||u&&!a&&g?I=J0(p+H*O,c[1][0])/O:I=_0(p+(u?j:-j)*O,c[0][0])/O,L=Math[d(2172)](L,I)}}}j=j+(j<0?L:-L),V=V+(V<0?N:-N),x&&(g?q>H*O?j=(_c(a,u)?-V:V)/O:V=(_c(a,u)?-j:j)*O:f?(j=V/O,u=a):(V=j*O,a=u));const D=a?p+V:p,Y=u?z+j:z;return{width:P+(a?-V:V),height:G+(u?-j:j),x:r[0]*V*(a?-1:1)+D,y:r[1]*j*(u?-1:1)+Y}}const Qc={width:0,height:0,x:0,y:0},v5={...Qc,pointerX:0,pointerY:0,aspectRatio:1};function p5(e){const n=s;return[[0,0],[e[n(510)][n(1710)],e[n(510)][n(1355)]]]}function z5(e,n,t){const o=s,x=n[o(835)].x+e[o(835)].x,r=n.position.y+e[o(835)].y,i=e.measured[o(1710)]??0,c=e[o(510)][o(1355)]??0,d=t[0]*i,a=t[1]*c;return[[x-d,r-a],[x+i-d,r+c-a]]}function C5({domNode:e,nodeId:n,getStoreItems:t,onChange:o,onEnd:x}){const r=s,i=u0(e);let c={controlDirection:Jc("bottom-right"),boundaries:{minWidth:0,minHeight:0,maxWidth:Number[r(896)],maxHeight:Number[r(896)]},resizeDirection:void 0,keepAspectRatio:!1};function d({controlPosition:u,boundaries:f,keepAspectRatio:b,resizeDirection:g,onResizeStart:w,onResize:h,onResizeEnd:v,shouldResize:M}){const m=r;let y={...Qc},p={...v5};c={boundaries:f,resizeDirection:g,keepAspectRatio:b,controlDirection:Jc(u)};let z,P=null,G=[],O,V,j,q=!1;const H=Si().on("start",W=>{const T=_0x5590,{nodeLookup:N,transform:L,snapGrid:D,snapToGrid:Y,nodeOrigin:U,paneDomNode:I}=t();if(z=N[T(1861)](n),!z)return;P=I?.getBoundingClientRect()??null;const{xSnapped:J,ySnapped:$}=bt(W[T(1294)],{transform:L,snapGrid:D,snapToGrid:Y,containerBounds:P});y={width:z[T(510)].width??0,height:z[T(510)][T(1355)]??0,x:z[T(835)].x??0,y:z[T(835)].y??0},p={...y,pointerX:J,pointerY:$,aspectRatio:y[T(1710)]/y[T(1355)]},O=void 0,z[T(1907)]&&(z[T(502)]===T(1923)||z[T(1935)])&&(O=N[T(1861)](z[T(1907)]),V=O&&z[T(502)]===T(1923)?p5(O):void 0),G=[],j=void 0;for(const[F,xe]of N)if(xe.parentId===n&&(G[T(1759)]({id:F,position:{...xe[T(835)]},extent:xe.extent}),xe.extent===T(1923)||xe.expandParent)){const re=z5(xe,z,xe.origin??U);j?j=[[Math[T(775)](re[0][0],j[0][0]),Math.min(re[0][1],j[0][1])],[Math[T(2172)](re[1][0],j[1][0]),Math[T(2172)](re[1][1],j[1][1])]]:j=re}w?.(W,{...y})}).on(m(1980),W=>{const T=m,{transform:N,snapGrid:L,snapToGrid:D,nodeOrigin:Y}=t(),U=bt(W.sourceEvent,{transform:N,snapGrid:L,snapToGrid:D,containerBounds:P}),I=[];if(!z)return;const{x:J,y:$,width:F,height:xe}=y,re={},ae=z[T(1639)]??Y,{width:ue,height:me,x:se,y:ee}=w5(p,c[T(2099)],U,c[T(621)],c[T(1806)],ae,V,j),le=ue!==F,be=me!==xe,E=se!==J&&le,A=ee!==$&&be;if(!E&&!A&&!le&&!be)return;if((E||A||ae[0]===1||ae[1]===1)&&(re.x=E?se:y.x,re.y=A?ee:y.y,y.x=re.x,y.y=re.y,G[T(2179)]>0)){const X=se-J,oe=ee-$;for(const ve of G)ve[T(835)]={x:ve[T(835)].x-X+ae[0]*(ue-F),y:ve[T(835)].y-oe+ae[1]*(me-xe)},I.push(ve)}if((le||be)&&(re.width=le&&(!c[T(1393)]||c[T(1393)]===T(1240))?ue:y[T(1710)],re[T(1355)]=be&&(!c[T(1393)]||c.resizeDirection===T(1323))?me:y[T(1355)],y[T(1710)]=re.width,y[T(1355)]=re[T(1355)]),O&&z[T(1935)]){const X=ae[0]*(re.width??0);re.x&&re.x<X&&(y.x=X,p.x=p.x-(re.x-X));const oe=ae[1]*(re[T(1355)]??0);re.y&&re.y<oe&&(y.y=oe,p.y=p.y-(re.y-oe))}const Z=m5({width:y[T(1710)],prevWidth:F,height:y[T(1355)],prevHeight:xe,affectsX:c[T(2099)][T(467)],affectsY:c[T(2099)][T(1840)]}),ne={...y,direction:Z};M?.(W,ne)!==!1&&(q=!0,h?.(W,ne),o(re,I))}).on("end",W=>{q&&(v?.(W,{...y}),x?.({...y}),q=!1)});i[m(414)](H)}function a(){const u=r;i.on(u(516),null)}return{update:d,destroy:a}}var bx={exports:{}},qo={},yx={exports:{}},Wo={},Fc;function M5(){const e=s;if(Fc)return Wo;Fc=1;var n=B;function t(b,g){return b===g&&(b!==0||1/b===1/g)||b!==b&&g!==g}var o=e(1347)===typeof Object.is?Object.is:t,x=n[e(883)],r=n.useEffect,i=n[e(1624)],c=n[e(1743)];function d(b,g){const w=e;var h=g(),v=x({inst:{value:h,getSnapshot:g}}),M=v[0][w(719)],m=v[1];return i(function(){const y=w;M[y(1044)]=h,M[y(2095)]=g,a(M)&&m({inst:M})},[b,h,g]),r(function(){return a(M)&&m({inst:M}),b(function(){a(M)&&m({inst:M})})},[b]),c(h),h}function a(b){const g=e;var w=b[g(2095)];b=b[g(1044)];try{var h=w();return!o(b,h)}catch{return!0}}function u(b,g){return g()}var f=e(383)===typeof window||e(383)===typeof window[e(821)]||e(383)===typeof window[e(821)].createElement?u:d;return Wo.useSyncExternalStore=n[e(1997)]!==void 0?n[e(1997)]:f,Wo}var Xo={},$c;function B5(){const e=s;return $c||($c=1,e(895)!==process.env.NODE_ENV&&(function(){const n=e;function t(h,v){return h===v&&(h!==0||1/h===1/v)||h!==h&&v!==v}function o(h,v){const M=_0x5590;b||i.startTransition===void 0||(b=!0,console[M(1036)](M(1769)));var m=v();if(!g){var y=v();c(m,y)||(console[M(1036)](M(1836)),g=!0)}y=d({inst:{value:m,getSnapshot:v}});var p=y[0][M(719)],z=y[1];return u(function(){const P=M;p.value=m,p[P(2095)]=v,x(p)&&z({inst:p})},[h,m,v]),a(function(){return x(p)&&z({inst:p}),h(function(){x(p)&&z({inst:p})})},[h]),f(m),m}function x(h){var M=h[_0x5590(2095)];h=h.value;try{var m=M();return!c(h,m)}catch{return!0}}function r(h,v){return v()}n(383)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&n(1347)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(421)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(421)](Error());var i=B,c=n(1347)===typeof Object.is?Object.is:t,d=i[n(883)],a=i[n(2005)],u=i[n(1624)],f=i[n(1743)],b=!1,g=!1,w=n(383)===typeof window||n(383)===typeof window.document||n(383)===typeof window[n(821)][n(2142)]?r:o;Xo[n(1997)]=i[n(1997)]!==void 0?i[n(1997)]:w,n(383)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&n(1347)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(887)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(887)](Error())})()),Xo}var ea;function na(){const e=s;return ea||(ea=1,process.env.NODE_ENV===e(895)?yx.exports=M5():yx[e(1896)]=B5()),yx[e(1896)]}var ta;function D5(){const e=s;if(ta)return qo;ta=1;var n=B,t=na();function o(u,f){return u===f&&(u!==0||1/u===1/f)||u!==u&&f!==f}var x=e(1347)===typeof Object.is?Object.is:o,r=t.useSyncExternalStore,i=n[e(780)],c=n.useEffect,d=n[e(1581)],a=n.useDebugValue;return qo[e(1524)]=function(u,f,b,g,w){const h=e;var v=i(null);if(v[h(523)]===null){var M={hasValue:!1,value:null};v[h(523)]=M}else M=v[h(523)];v=d(function(){function y(O){const V=_0x5590;if(!p){if(p=!0,z=O,O=g(O),w!==void 0&&M.hasValue){var j=M[V(1044)];if(w(j,O))return P=j}return P=O}if(j=P,x(z,O))return j;var q=g(O);return w!==void 0&&w(j,q)?(z=O,j):(z=O,P=q)}var p=!1,z,P,G=b===void 0?null:b;return[function(){return y(f())},G===null?void 0:function(){return y(G())}]},[f,b,g,w]);var m=r(u,v[0],v[1]);return c(function(){const y=h;M[y(2025)]=!0,M[y(1044)]=m},[m]),a(m),m},qo}var Ko={},xa;function L5(){return xa||(xa=1,process.env.NODE_ENV!=="production"&&(function(){const e=_0x5590;function n(u,f){return u===f&&(u!==0||1/u===1/f)||u!==u&&f!==f}e(383)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&e(1347)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[e(421)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[e(421)](Error());var t=B,o=na(),x=typeof Object.is=="function"?Object.is:n,r=o[e(1997)],i=t[e(780)],c=t[e(2005)],d=t[e(1581)],a=t[e(1743)];Ko[e(1524)]=function(u,f,b,g,w){const h=e;var v=i(null);if(v[h(523)]===null){var M={hasValue:!1,value:null};v.current=M}else M=v[h(523)];v=d(function(){function y(O){const V=_0x5590;if(!p){if(p=!0,z=O,O=g(O),w!==void 0&&M[V(2025)]){var j=M[V(1044)];if(w(j,O))return P=j}return P=O}if(j=P,x(z,O))return j;var q=g(O);return w!==void 0&&w(j,q)?(z=O,j):(z=O,P=q)}var p=!1,z,P,G=b===void 0?null:b;return[function(){return y(f())},G===null?void 0:function(){return y(G())}]},[f,b,g,w]);var m=r(u,v[0],v[1]);return c(function(){const y=h;M[y(2025)]=!0,M[y(1044)]=m},[m]),a(m),m},e(383)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&e(1347)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__[e(887)](Error())})()),Ko}var oa;function N5(){const e=s;return oa||(oa=1,process.env.NODE_ENV===e(895)?bx.exports=D5():bx[e(1896)]=L5()),bx[e(1896)]}var S5=N5();const k5=Vn(S5),I5={},ra=e=>{let n;const t=new Set,o=(u,f)=>{const b=_0x5590,g=typeof u=="function"?u(n):u;if(!Object.is(g,n)){const w=n;n=f??(typeof g!="object"||g===null)?g:Object[b(1060)]({},n,g),t[b(1322)](h=>h(n,w))}},x=()=>n,r=()=>a,i=u=>{const f=_0x5590;return t[f(729)](u),()=>t[f(1234)](u)},c=()=>{const u=_0x5590;(I5?"production":void 0)!==u(895)&&console[u(2015)](u(1604)),t.clear()},d={setState:o,getState:x,getInitialState:r,subscribe:i,destroy:c},a=n=e(o,x,d);return d},P5=e=>e?ra(e):ra,{useDebugValue:A5}=B,{useSyncExternalStoreWithSelector:j5}=k5,Y5=e=>e;function ia(e,n=Y5,t){const o=s,x=j5(e[o(1745)],e.getState,e[o(1397)]||e[o(685)],n,t);return A5(x),x}const ca=(e,n)=>{const t=s,o=P5(e),x=(r,i=n)=>ia(o,r,i);return Object[t(1060)](x,o),x},E5=(e,n)=>e?ca(e,n):ca;function Ue(e,n){const t=s;if(Object.is(e,n))return!0;if(typeof e!==t(878)||e===null||typeof n!==t(878)||n===null)return!1;if(e instanceof Map&&n instanceof Map){if(e[t(1046)]!==n.size)return!1;for(const[x,r]of e)if(!Object.is(r,n.get(x)))return!1;return!0}if(e instanceof Set&&n instanceof Set){if(e[t(1046)]!==n[t(1046)])return!1;for(const x of e)if(!n[t(1147)](x))return!1;return!0}const o=Object[t(999)](e);if(o.length!==Object.keys(n)[t(2179)])return!1;for(const x of o)if(!Object[t(2107)][t(911)][t(414)](n,x)||!Object.is(e[x],n[x]))return!1;return!0}const mx=B[s(531)](null),U5=mx[s(431)],aa=f0[s(1458)]();function Pe(e,n){const t=s,o=B[t(1773)](mx);if(o===null)throw new Error(aa);return ia(o,e,n)}function Ge(){const e=s,n=B[e(1773)](mx);if(n===null)throw new Error(aa);return B[e(1581)](()=>({getState:n[e(1305)],setState:n.setState,subscribe:n[e(1745)]}),[n])}const sa={display:s(988)},G5={position:s(2122),width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:s(926),clipPath:"inset(100%)"},la=s(1471),da=s(776),O5=s(1651),H5=e=>e[s(670)],T5=e=>e[s(347)];function V5({rfId:e}){const n=s,t=Pe(H5);return l[n(1375)](n(1037),{id:O5+"-"+e,"aria-live":"assertive","aria-atomic":n(1981),style:G5,children:t})}function q5({rfId:e,disableKeyboardA11y:n}){const t=s,o=Pe(T5);return l[t(884)](l.Fragment,{children:[l[t(1375)](t(1037),{id:la+"-"+e,style:sa,children:n?o["node.a11yDescription.default"]:o[t(1931)]}),l[t(1375)](t(1037),{id:da+"-"+e,style:sa,children:o[t(1325)]}),!n&&l[t(1375)](V5,{rfId:e})]})}const wx=B.forwardRef(({position:e=s(1984),children:n,className:t,style:o,...x},r)=>{const i=s,c=(""+e)[i(897)]("-");return l[i(1375)]("div",{className:Xe(["react-flow__panel",t,...c]),style:o,ref:r,...x,children:n})});wx.displayName=s(1560);function W5({proOptions:e,position:n=s(1241)}){const t=s;return e?.[t(1064)]?null:l[t(1375)](wx,{position:n,className:t(2135),"data-message":t(2182),children:l.jsx("a",{href:t(1646),target:"_blank",rel:t(599),"aria-label":t(633),children:"React Flow"})})}const X5=e=>{const n=s,t=[],o=[];for(const[,x]of e.nodeLookup)x.selected&&t[n(1759)](x[n(1157)][n(1275)]);for(const[,x]of e[n(2052)])x[n(1274)]&&o[n(1759)](x);return{selectedNodes:t,selectedEdges:o}},vx=e=>e.id;function K5(e,n){const t=s;return Ue(e.selectedNodes[t(474)](vx),n.selectedNodes[t(474)](vx))&&Ue(e.selectedEdges[t(474)](vx),n[t(1516)][t(474)](vx))}function Z5({onSelectionChange:e}){const n=s,t=Ge(),{selectedNodes:o,selectedEdges:x}=Pe(X5,K5);return B[n(2005)](()=>{const r=n,i={nodes:o,edges:x};e?.(i),t[r(1305)]()[r(1260)][r(1322)](c=>c(i))},[o,x,e]),null}const R5=e=>!!e.onSelectionChangeHandlers;function J5({onSelectionChange:e}){const n=s,t=Pe(R5);return e||t?l[n(1375)](Z5,{onSelectionChange:e}):null}const Zo=typeof window<"u"?B[s(1624)]:B[s(2005)],ua=[0,0],_5={x:0,y:0,zoom:1},Q5=[s(960),s(2083),s(1788),s(1638),s(1902),"onConnectStart",s(2108),s(1012),s(1866),"nodesDraggable",s(2054),s(563),"nodesFocusable",s(909),s(679),s(1276),s(1532),"minZoom",s(1356),s(790),s(1932),s(709),"elementsSelectable",s(1579),s(1556),s(1406),s(1723),s(1937),"defaultEdgeOptions",s(1429),s(1169),"onNodesDelete",s(427),s(680),"onNodeDrag",s(1728),s(1754),s(1361),s(1658),s(566),s(2123),"onMove",s(508),"noPanClassName",s(1031),s(1298),s(733),"onError",s(2050),s(1100),s(1690),s(356),"connectionDragThreshold",s(1611),s(1761),s(768),s(347),s(1316)],fa=[...Q5,s(638)],F5=e=>({setNodes:e[s(410)],setEdges:e[s(1040)],setMinZoom:e[s(1282)],setMaxZoom:e.setMaxZoom,setTranslateExtent:e[s(1457)],setNodeExtent:e[s(1963)],reset:e[s(1775)],setDefaultNodesAndEdges:e[s(2067)]}),ha={translateExtent:at,nodeOrigin:ua,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:s(1856),rfId:"1"};function $5(e){const n=s,{setNodes:t,setEdges:o,setMinZoom:x,setMaxZoom:r,setTranslateExtent:i,setNodeExtent:c,reset:d,setDefaultNodesAndEdges:a}=Pe(F5,Ue),u=Ge();Zo(()=>{const b=_0x5590;return a(e[b(1788)],e.defaultEdges),()=>{const g=b;f[g(523)]=ha,d()}},[]);const f=B[n(780)](ha);return Zo(()=>{const b=n;for(const g of fa){const w=e[g],h=f[b(523)][g];w!==h&&typeof e[g]!==b(383)&&(g==="nodes"?t(w):g===b(2083)?o(w):g===b(1132)?x(w):g===b(1356)?r(w):g===b(1723)?i(w):g==="nodeExtent"?c(w):g===b(347)?u[b(1770)]({ariaLabelConfig:E2(w)}):g===b(1429)?u[b(1770)]({fitViewQueued:w}):g===b(1169)?u.setState({fitViewOptions:w}):u[b(1770)]({[g]:w}))}f.current=e},fa[n(474)](b=>e[b])),null}function ga(){const e=s;return typeof window===e(383)||!window[e(816)]?null:window[e(816)](e(2177))}function eh(e){const n=s,[t,o]=B[n(883)](e==="system"?null:e);return B[n(2005)](()=>{const x=n;if(e!==x(1358)){o(e);return}const r=ga(),i=()=>o(r?.[x(1844)]?x(1842):x(1592));return i(),r?.[x(1892)](x(734),i),()=>{const c=x;r?.[c(1665)](c(734),i)}},[e]),t!==null?t:ga()?.[n(1844)]?n(1842):n(1592)}const ba=typeof document!==s(383)?document:null;function yt(e=null,n={target:ba,actInsideInputWithModifier:!0}){const t=s,[o,x]=B[t(883)](!1),r=B.useRef(!1),i=B[t(780)](new Set([])),[c,d]=B[t(1581)](()=>{const a=t;if(e!==null){const u=Array.isArray(e)?e:[e],f=u.filter(g=>typeof g===a(1705))[a(474)](g=>g[a(830)]("+",`
4
- `)[a(830)](`
1
+ (function(ke,l){const D=_0x31ec,C=ke();for(;;)try{if(-parseInt(D(1789))/1*(-parseInt(D(414))/2)+parseInt(D(1145))/3+parseInt(D(412))/4*(parseInt(D(1679))/5)+parseInt(D(546))/6+parseInt(D(973))/7+parseInt(D(912))/8*(-parseInt(D(1986))/9)+-parseInt(D(2049))/10===l)break;C.push(C.shift())}catch{C.push(C.shift())}})(_0x27b5,768430),(function(ke,l){const D=_0x31ec;typeof exports===D(704)&&typeof module!==D(2053)?l(exports,require(D(806)),require(D(1637)),require(D(923)),require(D(1295)),require(D(1109)),require(D(1763)),require(D(1408)),require("react-zoom-pan-pinch"),require("react-dom")):typeof define===D(1701)&&define[D(438)]?define([D(2104),D(806),D(1637),D(923),D(1295),D(1109),D(1763),D(1408),D(1440),D(522)],l):(ke=typeof globalThis!==D(2053)?globalThis:ke||self,l(ke[D(1750)]={},ke[D(404)],ke[D(475)],ke.antd,ke[D(379)],ke[D(1109)],ke[D(1763)],ke.nanoid,ke[D(2144)]))})(this,function(ke,l,D,C,de,Kx,Ot,Ne,Gt){"use strict";const c=_0x31ec;var Dn=document.createElement(c(1482));Dn.textContent=`.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}.inline-flex{display:inline-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-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / 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)}.outline{outline-style:solid}.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 }.blur{--tw-blur: blur(8px);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)}.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[c(898)][c(1306)](Dn);function nt(e){const n=c;return e&&e[n(2154)]&&Object[n(807)][n(659)][n(1020)](e,n(1815))?e.default:e}var u0={},U0={exports:{}},O0;function tt(){const e=c;return O0||(O0=1,(function(n){const t=e;function o(x){return x&&x[_0x31ec(2154)]?x:{default:x}}n[t(2104)]=o,n.exports[t(2154)]=!0,n.exports[t(1815)]=n[t(2104)]})(U0)),U0[e(2104)]}var xt={},hr;function Ms(){const e=c;if(hr)return xt;hr=1,Object[e(1827)](xt,e(2154),{value:!0}),xt[e(1815)]=void 0;const n={items_per_page:e(1403),jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:e(388),next_page:e(1431),prev_5:e(960),next_5:e(930),prev_3:e(1888),next_3:"向后 3 页",page_size:"页码"};return xt[e(1815)]=n,xt}var ot={},rt={},it={},at={},gr;function Bs(){const e=c;return gr||(gr=1,Object[e(1827)](at,e(2154),{value:!0}),at[e(396)]=void 0,at[e(396)]={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),at}var br;function Ds(){const e=c;if(br)return it;br=1,Object.defineProperty(it,e(2154),{value:!0}),it[e(1815)]=void 0;var n=Bs();function t(s){"@babel/helpers - typeof";const d=e;return t=d(1701)==typeof Symbol&&d(472)==typeof Symbol[d(2121)]?function(f){return typeof f}:function(f){const b=d;return f&&b(1701)==typeof Symbol&&f[b(631)]===Symbol&&f!==Symbol.prototype?"symbol":typeof f},t(s)}function o(s,d){const f=e;var b=Object.keys(s);if(Object[f(1704)]){var g=Object[f(1704)](s);d&&(g=g.filter(function(w){return Object[f(2224)](s,w).enumerable})),b[f(591)].apply(b,g)}return b}function x(s){const d=e;for(var f=1;f<arguments.length;f++){var b=arguments[f]!=null?arguments[f]:{};f%2?o(Object(b),!0)[d(643)](function(g){r(s,g,b[g])}):Object[d(1769)]?Object[d(1570)](s,Object[d(1769)](b)):o(Object(b)).forEach(function(g){const w=d;Object[w(1827)](s,g,Object[w(2224)](b,g))})}return s}function r(s,d,f){const b=e;return d=i(d),d in s?Object[b(1827)](s,d,{value:f,enumerable:!0,configurable:!0,writable:!0}):s[d]=f,s}function i(s){const d=e;var f=a(s,"string");return d(472)==t(f)?f:String(f)}function a(s,d){const f=e;if(f(704)!=t(s)||!s)return s;var b=s[Symbol[f(828)]];if(b!==void 0){var g=b.call(s,d);if(f(704)!=t(g))return g;throw new TypeError(f(789))}return(d==="string"?String:Number)(s)}var u=x(x({},n[e(396)]),{},{locale:e(1314),today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:e(1634),clear:"清除",week:"周",month:"月",year:"年",previousMonth:e(1778),nextMonth:e(640),monthSelect:e(1599),yearSelect:e(756),decadeSelect:e(579),previousYear:e(1736),nextYear:e(2023),previousDecade:"上一年代",nextDecade:e(1989),previousCentury:"上一世纪",nextCentury:e(891),yearFormat:e(1081),cellDateFormat:"D",monthBeforeYear:!1});return it[e(1815)]=u,it}var ct={},yr;function mr(){const e=c;if(yr)return ct;yr=1,Object[e(1827)](ct,e(2154),{value:!0}),ct[e(1815)]=void 0;const n={placeholder:e(673),rangePlaceholder:["开始时间",e(1055)]};return ct.default=n,ct}var wr;function vr(){const e=c;if(wr)return rt;wr=1;var n=tt()[e(1815)];Object[e(1827)](rt,e(2154),{value:!0}),rt[e(1815)]=void 0;var t=n(Ds()),o=n(mr());const x={lang:{placeholder:e(607),yearPlaceholder:e(1775),quarterPlaceholder:e(1680),monthPlaceholder:e(852),weekPlaceholder:"请选择周",rangePlaceholder:["开始日期",e(1829)],rangeYearPlaceholder:[e(1147),e(1454)],rangeMonthPlaceholder:[e(1320),e(2192)],rangeQuarterPlaceholder:[e(1847),e(738)],rangeWeekPlaceholder:[e(2037),e(2076)],...t[e(1815)]},timePickerLocale:{...o[e(1815)]}};return x[e(798)].ok="确定",rt[e(1815)]=x,rt}var pr;function Ls(){const e=c;if(pr)return ot;pr=1;var n=tt()[e(1815)];Object[e(1827)](ot,e(2154),{value:!0}),ot[e(1815)]=void 0;var t=n(vr());return ot.default=t[e(1815)],ot}var zr;function Ns(){const e=c;if(zr)return u0;zr=1;var n=tt()[e(1815)];Object[e(1827)](u0,"__esModule",{value:!0}),u0[e(1815)]=void 0;var t=n(Ms()),o=n(Ls()),x=n(vr()),r=n(mr());const i=e(1682),a={locale:e(682),Pagination:t[e(1815)],DatePicker:x.default,TimePicker:r.default,Calendar:o[e(1815)],global:{placeholder:e(627),close:"关闭",sortable:"可排序"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:e(1422),filterCheckAll:"全选",filterSearchPlaceholder:e(1449),emptyText:e(801),selectAll:e(1885),selectInvert:e(1790),selectNone:e(565),selectionAll:e(1167),sortTitle:"排序",expand:e(677),collapse:"关闭行",triggerDesc:e(490),triggerAsc:e(936),cancelSort:e(429)},Modal:{okText:"确定",cancelText:"取消",justOkText:e(1303)},Tour:{Next:e(515),Previous:e(938),Finish:"结束导览"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:e(586),itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:e(1167),deselectAll:"取消全选",removeAll:"删除全部",selectInvert:e(1790)},Upload:{uploading:e(416),removeFile:e(1117),uploadError:e(1901),previewFile:e(692),downloadFile:"下载文件"},Empty:{description:e(801)},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:e(1410),expand:"展开",collapse:"收起"},Form:{optional:e(1758),defaultValidateMessages:{default:e(1948),required:e(1083),enum:e(1839),whitespace:e(1612),date:{format:e(1030),parse:e(596),invalid:e(2031)},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:"${label}须为${len}个字符",min:e(2048),max:e(1317),range:e(1148)},number:{len:e(880),min:"${label}最小值为${min}",max:e(1447),range:e(868)},array:{len:e(425),min:e(992),max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},QRCode:{expired:e(734),refresh:"点击刷新",scanned:"已扫描"},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:e(1466)}};return u0[e(1815)]=a,u0}var Rx,Cr;function Ss(){return Cr||(Cr=1,Rx=Ns()),Rx}var ks=Ss();const Is=nt(ks),Ps=e=>(n,t,o)=>{const x=c;return o[x(1092)]=(r,i,...a)=>{const u=typeof r=="function"?Ot.produce(r):r;return n(u,i,...a)},e(o.setState,t,o)},As=Ps;function Es(e){return Array[c(1405)](e)}function Mr(e){const n=c,t=[];for(const o of Object[n(1772)](e)){t[n(591)](o);const x=e[o];if(x!==null&&typeof x===n(704)&&!Array[n(1405)](x))for(const r of Object[n(1772)](x))t.push(o+"."+r)}return t}function js(e,n,t){const o=c,x=e[o(452)];if(Es(x)){if(n!=null&&t!=null){const r=x[o(581)](i=>i[n]===t);if(r)return r}return{}}return x}function Br(e,n,t,o){const x=c,r=js(e,t,o),i={...r};if(n&&typeof n=="object"&&!Array[x(1405)](n))return{...i,...n};if(Array[x(1405)](n)){const a={...i};for(const u of n){if(!u||typeof u!==x(704))continue;const s=u;s[x(781)]!=null&&(a[String(s[x(781)])]=s[x(2069)])}return a}return i}const Ys={id:"_",name:"_",sample:{}};function _x(e,n,t){const o=c,x=e[o(1251)]!=null?String(e[o(1251)])[o(1601)]():"",r=x?t.find(a=>a.id===x):void 0,i=r??Ys;try{const a=Br(i,n,e.boundDatasetBindCode,e[o(1470)]);return new Function(o(1074),e[o(1174)])(a)===!0}catch(a){return console[o(2052)](o(1715)+e[o(1907)]+"]:",a),!1}}function Dr(e,n,t){for(const o of e)if(_x(o,n,t))return o}function Lr(e,n){const t=c;for(const o of e){for(const x of o.contentInfo[t(761)])x[t(1251)]===n&&(x[t(1251)]=null,x.boundDatasetBindCode=null,x.boundDatasetBindValue=null);o[t(402)]===t(1070)&&o[t(1450)]?.[t(1115)]&&Lr(o[t(1450)],n)}}function Jx(e){const n=c;for(const t of e){for(const o of t[n(2161)][n(761)])delete o[n(1504)];t.type===n(1070)&&t[n(1450)]?.[n(1115)]&&Jx(t.children)}}const Qx=(e,n)=>({id:e||Ne[c(1408)](),name:n||c(1041),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:[]}}),Us=()=>{const e=c,n=Qx();return{id:Ne[e(1408)](),name:"默认项目",canvases:[n],currentCanvasId:n.id,siblingGroups:[],activeSiblingGroupId:null,navigationStack:[]}},Nr=Us(),on=Nr[c(693)][0],Os={root:Nr,materials:[],mode:"select",lineDrawing:{isDrawing:!1,material:null,startPoint:null,endPoint:null},eventFlow:{eventBlocks:[],eventRoots:[],editingEventRootId:null,isEditingEventFlow:!1},dataPool:[],externalHandlerCatalog:[],nodes:on[c(821)],canvas:on[c(1389)],viewport:on[c(1204)],selectedNodeId:on[c(1073)],selectedNodeIds:on.selectedNodeIds,selectedStatusId:on.selectedStatusId,history:on.history},I0=(e,n,t)=>({id:Ne[c(1408)](),type:e,targetId:n,payload:t,timestamp:Date[c(2044)]()}),$e=Kx[c(442)]()(As((e,n)=>({...Os,addCanvas:t=>{const o=c,x=Qx(Ne[o(1408)](),t||o(420)+(n().root.canvases[o(1115)]+1));return e(r=>{const i=o;r[i(1237)][i(693)].push(x),r[i(1237)].currentCanvasId=x.id;const a=x;r[i(821)]=a[i(821)],r[i(1372)]=a.canvasConfig,r.viewport=a[i(1204)],r.selectedNodeId=a[i(1073)],r[i(895)]=a[i(895)],r[i(1805)]=a[i(1805)],r[i(427)]=a[i(427)]}),x.id},removeCanvas:t=>{e(o=>{const x=_0x31ec,r=o[x(1237)].canvases[x(1933)](a=>a.id===t);if(r===-1||o[x(1237)].canvases[x(1115)]<=1)return;if(o[x(1237)].canvases[x(1327)](r,1),o[x(1237)][x(815)])for(const a of o[x(1237)].siblingGroups){const u=a[x(532)][x(455)](t);u!==-1&&a[x(532)][x(1327)](u,1)}if(o[x(1237)][x(2038)]&&o[x(1237)][x(2038)][x(1115)]>0&&(o.root.navigationStack=o[x(1237)].navigationStack.filter(a=>a!==t)),o[x(1237)][x(661)]===t){const a=o[x(1237)][x(693)][0];o[x(1237)][x(661)]=a.id,o.nodes=a[x(821)],o[x(1372)]=a[x(1389)],o[x(1204)]=a.viewport,o[x(1073)]=a[x(1073)],o[x(895)]=a[x(895)],o[x(1805)]=a[x(1805)],o[x(427)]=a[x(427)]}const i=o.root[x(2203)];if(i){const a=(o.root[x(815)]||[])[x(581)](u=>u.id===i);(!a||!a.canvasIds[x(600)](o[x(1237)].currentCanvasId||""))&&(o[x(1237)].activeSiblingGroupId=null)}})},switchCanvas:t=>{e(o=>{const x=_0x31ec,r=o[x(1237)].canvases[x(581)](a=>a.id===t);if(!r)return;o[x(1237)][x(661)]=t,o[x(821)]=r[x(821)],o.canvas=r[x(1389)],o[x(1204)]=r.viewport,o[x(1073)]=r[x(1073)],o[x(895)]=r[x(895)],o[x(1805)]=r[x(1805)],o[x(427)]=r[x(427)];const i=o[x(1237)][x(2203)];if(i){const a=(o[x(1237)].siblingGroups||[])[x(581)](u=>u.id===i);(!a||!a[x(532)][x(600)](t))&&(o.root.activeSiblingGroupId=null)}})},updateCanvasName:(t,o)=>{e(x=>{const r=_0x31ec,i=x[r(1237)][r(693)][r(581)](a=>a.id===t);i&&(i[r(1907)]=o)})},getCurrentCanvas:()=>{const t=c,o=n();return o[t(1237)][t(693)][t(581)](x=>x.id===o[t(1237)].currentCanvasId)},addSiblingGroup:(t,o)=>{const x=Ne.nanoid();return e(r=>{const i=_0x31ec;r[i(1237)].siblingGroups||(r[i(1237)][i(815)]=[]);const a=r[i(1237)][i(815)][i(1115)]+1,u=Array[i(2088)](new Set((o||[]).filter(s=>r[i(1237)][i(693)][i(1432)](d=>d.id===s))));r.root[i(815)][i(591)]({id:x,name:t||i(931)+a,canvasIds:u})}),x},removeSiblingGroup:t=>{e(o=>{const x=_0x31ec;if(!o.root[x(815)])return;const r=o.root[x(815)].findIndex(i=>i.id===t);r!==-1&&o[x(1237)][x(815)][x(1327)](r,1),o[x(1237)][x(2203)]===t&&(o[x(1237)].activeSiblingGroupId=null)})},updateSiblingGroup:(t,o)=>{e(x=>{const r=_0x31ec;if(!x.root[r(815)])return;const i=x.root[r(815)][r(581)](a=>a.id===t);if(i&&(o.name!==void 0&&(i[r(1907)]=o.name),o.canvasIds!==void 0)){const a=new Set,u=[];for(const s of o[r(532)])a[r(1696)](s)||x[r(1237)][r(693)][r(1432)](d=>d.id===s)&&(a[r(1923)](s),u[r(591)](s));i.canvasIds=u}})},addCanvasToSiblingGroup:(t,o,x)=>{e(r=>{const i=_0x31ec;if(!r[i(1237)][i(815)])return;const a=r.root.siblingGroups[i(581)](u=>u.id===t);a&&r[i(1237)].canvases[i(1432)](u=>u.id===o)&&(a.canvasIds[i(600)](o)||(typeof x===i(552)&&x>=0&&x<=a.canvasIds[i(1115)]?a.canvasIds[i(1327)](x,0,o):a.canvasIds[i(591)](o)))})},removeCanvasFromSiblingGroup:(t,o)=>{e(x=>{const r=_0x31ec;if(!x[r(1237)][r(815)])return;const i=x.root[r(815)][r(581)](u=>u.id===t);if(!i)return;const a=i[r(532)][r(455)](o);a!==-1&&i[r(532)].splice(a,1)})},moveCanvasInSiblingGroup:(t,o,x)=>{e(r=>{const i=_0x31ec;if(!r.root.siblingGroups)return;const a=r[i(1237)][i(815)][i(581)](d=>d.id===t);if(!a)return;const u=a[i(532)][i(455)](o);if(u===-1)return;const s=x==="up"?u-1:u+1;s<0||s>=a[i(532)][i(1115)]||([a[i(532)][u],a[i(532)][s]]=[a[i(532)][s],a[i(532)][u]])})},nextSiblingCanvas:(t,o=!1)=>{const x=c,r=n(),i=r[x(1237)][x(815)]?.[x(581)](d=>d.id===t);if(!i||i.canvasIds[x(1115)]===0)return null;const a=i.canvasIds[x(2191)](d=>r[x(1237)][x(693)][x(1432)](f=>f.id===d));if(a[x(1115)]===0)return null;const u=a[x(455)](r[x(1237)][x(661)]||"");let s;if(u===-1)s=0;else if(u===a[x(1115)]-1){if(!o)return null;s=0}else s=u+1;return e(d=>{const f=x;d.root[f(2203)]=t}),n()[x(1411)](a[s]),a[s]},prevSiblingCanvas:(t,o=!1)=>{const x=c,r=n(),i=r[x(1237)][x(815)]?.find(d=>d.id===t);if(!i||i[x(532)][x(1115)]===0)return null;const a=i[x(532)][x(2191)](d=>r[x(1237)][x(693)][x(1432)](f=>f.id===d));if(a[x(1115)]===0)return null;const u=a[x(455)](r[x(1237)].currentCanvasId||"");let s;if(u===-1)s=a[x(1115)]-1;else if(u===0){if(!o)return null;s=a[x(1115)]-1}else s=u-1;return e(d=>{const f=x;d.root[f(2203)]=t}),n()[x(1411)](a[s]),a[s]},gotoSiblingCanvas:(t,o)=>{const x=c,r=n(),i=r[x(1237)][x(815)]?.[x(581)](u=>u.id===t);if(!i)return null;const a=i[x(532)][x(2191)](u=>r[x(1237)].canvases[x(1432)](s=>s.id===u));return o<0||o>=a.length?null:(e(u=>{const s=x;u[s(1237)][s(2203)]=t}),n()[x(1411)](a[o]),a[o])},getSiblingGroupsByCanvas:t=>{const o=c;return(n()[o(1237)][o(815)]||[])[o(2191)](r=>r[o(532)][o(600)](t))},setActiveSiblingGroup:t=>{e(o=>{const x=_0x31ec;if(t===null){o.root[x(2203)]=null;return}(o[x(1237)][x(815)]||[]).some(i=>i.id===t)&&(o[x(1237)][x(2203)]=t)})},jumpToCanvas:t=>{const o=c,x=n();if(!x[o(1237)][o(693)].some(i=>i.id===t)||x[o(1237)][o(661)]===t)return;const r=x[o(1237)][o(661)];r&&e(i=>{const a=o;i[a(1237)].navigationStack||(i.root[a(2038)]=[]),i[a(1237)][a(2038)].push(r)}),n()[o(1411)](t)},goBack:()=>{const t=c,o=n();if((o[t(1237)][t(2038)]||[])[t(1115)]===0)return null;let r=null;const i=new Set(o[t(1237)].canvases[t(477)](a=>a.id));return e(a=>{const u=t;for(;a[u(1237)][u(2038)]&&a[u(1237)].navigationStack[u(1115)]>0;){const s=a[u(1237)][u(2038)][u(925)]();if(i[u(1696)](s)){r=s;break}}}),r&&n()[t(1411)](r),r},clearNavigationStack:()=>{e(t=>{const o=_0x31ec;t[o(1237)].navigationStack=[]})},setSelectedNodeIds:t=>{e(o=>{const x=_0x31ec,r=o[x(1237)][x(693)][x(581)](i=>i.id===o[x(1237)].currentCanvasId);r&&(r.selectedNodeIds=t,o[x(895)]=t)})},addSelectedNodeId:t=>{e(o=>{const x=_0x31ec,r=o.root[x(693)][x(581)](i=>i.id===o[x(1237)][x(661)]);r&&!r[x(895)][x(600)](t)&&(r.selectedNodeIds[x(591)](t),o[x(895)]=r[x(895)])})},removeSelectedNodeId:t=>{e(o=>{const x=_0x31ec,r=o[x(1237)][x(693)][x(581)](i=>i.id===o[x(1237)].currentCanvasId);r&&(r.selectedNodeIds=r[x(895)][x(2191)](i=>i!==t),o[x(895)]=r.selectedNodeIds)})},clearSelectedNodeIds:()=>{e(t=>{const o=_0x31ec,x=t[o(1237)][o(693)].find(r=>r.id===t[o(1237)][o(661)]);x&&(x[o(895)]=[],t[o(895)]=[])})},addNode:(t,o=!0)=>{e(x=>{const r=_0x31ec,i=x.root[r(693)][r(581)](u=>u.id===x[r(1237)][r(661)]);if(!i)return;const a={...t,id:t.id||Ne[r(1408)]()};i[r(821)][r(591)](a),x[r(821)]=i.nodes,o&&(i[r(1073)]=a.id,x[r(1073)]=a.id,i.history[r(2110)][r(591)](I0(r(1128),a.id)),x.history=i[r(427)])})},updateNode:(t,o)=>{e(x=>{const r=_0x31ec,i=x.root.canvases.find(u=>u.id===x[r(1237)].currentCanvasId);if(!i)return;const a=i.nodes.find(u=>u.id===t);a&&(o[r(450)]&&Object[r(1086)](a.normalStyle,o[r(450)]),o.contentInfo&&(a[r(2161)]={...a[r(2161)],...o.contentInfo}),o[r(1907)]&&(a[r(1907)]=o[r(1907)]),o.controlInfo&&Object[r(1086)](a[r(837)],o[r(837)]),o[r(1450)]&&(a.children=o[r(1450)]),i[r(427)][r(2110)][r(591)](I0(r(512),t,o)),x.history=i[r(427)],x[r(821)]=i[r(821)])})},updateNodeStyle:(t,o)=>{e(x=>{const r=_0x31ec,i=x.root[r(693)].find(u=>u.id===x.root[r(661)]);if(!i)return;const a=i[r(821)][r(581)](u=>u.id===t);a&&(Object[r(1086)](a[r(450)],o),i[r(427)][r(2110)][r(591)](I0("PROPERTY_CHANGE",t,{normalStyle:o})),x[r(427)]=i.history,x[r(821)]=i[r(821)])})},updateNodeContent:(t,o)=>{e(x=>{const r=_0x31ec,i=x[r(1237)][r(693)][r(581)](u=>u.id===x[r(1237)][r(661)]);if(!i)return;const a=i[r(821)].find(u=>u.id===t);a&&(a[r(2161)]={...a[r(2161)],...o},i[r(427)][r(2110)].push(I0(r(512),t,{contentInfo:o})),x[r(427)]=i[r(427)],x[r(821)]=i.nodes)})},updateNodeControl:(t,o)=>{e(x=>{const r=_0x31ec,i=x.root[r(693)].find(u=>u.id===x[r(1237)][r(661)]);if(!i)return;const a=i.nodes[r(581)](u=>u.id===t);a&&(Object[r(1086)](a.controlInfo,o),i.history[r(2110)][r(591)](I0(r(512),t,{controlInfo:o})),x[r(427)]=i.history,x.nodes=i.nodes)})},removeNode:t=>{e(o=>{const x=_0x31ec,r=o[x(1237)][x(693)][x(581)](a=>a.id===o[x(1237)].currentCanvasId);if(!r)return;const i=r.nodes[x(1933)](a=>a.id===t);i!==-1&&(r[x(821)][x(1327)](i,1),o[x(821)]=r[x(821)],r[x(1073)]===t&&(r[x(1073)]=null,o[x(1073)]=null,r[x(1805)]=null,o[x(1805)]=null),r[x(895)]=r[x(895)][x(2191)](a=>a!==t),o[x(895)]=r[x(895)],r[x(427)][x(2110)][x(591)](I0(x(587),t)),o.history=r[x(427)])})},selectNode:t=>{e(o=>{const x=_0x31ec,r=o[x(1237)][x(693)][x(581)](i=>i.id===o[x(1237)][x(661)]);r&&(r[x(1073)]=t,o.selectedNodeId=t,r[x(1805)]=null,o.selectedStatusId=null,t&&(r[x(427)][x(2110)][x(591)](I0("NODE_SELECT",t)),o[x(427)]=r.history))})},bringToFront:t=>{e(o=>{const x=_0x31ec,r=o[x(1237)][x(693)][x(581)](u=>u.id===o[x(1237)].currentCanvasId);if(!r)return;const i=r.nodes[x(1933)](u=>u.id===t);if(i===-1||i===r[x(821)][x(1115)]-1)return;const[a]=r.nodes[x(1327)](i,1);r[x(821)][x(591)](a),o.nodes=r[x(821)],r.history.past.push(I0("PROPERTY_CHANGE",t,{zOrder:x(1164)})),o[x(427)]=r.history})},sendToBack:t=>{e(o=>{const x=_0x31ec,r=o.root.canvases[x(581)](u=>u.id===o[x(1237)].currentCanvasId);if(!r)return;const i=r[x(821)][x(1933)](u=>u.id===t);if(i<=0)return;const[a]=r[x(821)].splice(i,1);r[x(821)][x(1189)](a),o[x(821)]=r[x(821)],r[x(427)][x(2110)][x(591)](I0(x(512),t,{zOrder:x(1114)})),o.history=r[x(427)]})},addStatus:(t,o)=>{e(x=>{const r=_0x31ec,i=x.root[r(693)][r(581)](s=>s.id===x.root.currentCanvasId);if(!i)return;const a=i[r(821)][r(581)](s=>s.id===t);if(!a)return;const u={...o,id:Ne[r(1408)]()};a[r(2161)][r(761)].push(u),i[r(427)][r(2110)][r(591)](I0(r(2114),t,{statusId:u.id})),x[r(427)]=i.history})},removeStatus:(t,o)=>{e(x=>{const r=_0x31ec,i=x[r(1237)][r(693)][r(581)](s=>s.id===x.root[r(661)]);if(!i)return;const a=i[r(821)][r(581)](s=>s.id===t);if(!a)return;const u=a[r(2161)][r(761)][r(1933)](s=>s.id===o);u!==-1&&(a[r(2161)][r(761)].splice(u,1),a[r(2161)][r(545)]===o&&(a[r(2161)][r(545)]=void 0),i[r(1805)]===o&&(i[r(1805)]=null,x[r(1805)]=null))})},updateStatus:(t,o,x)=>{e(r=>{const i=_0x31ec,a=r.root[i(693)].find(d=>d.id===r.root[i(661)]);if(!a)return;const u=a[i(821)].find(d=>d.id===t);if(!u)return;const s=u[i(2161)][i(761)][i(581)](d=>d.id===o);s&&Object.assign(s,x)})},selectStatus:t=>{e(o=>{const x=_0x31ec,r=o.root[x(693)][x(581)](i=>i.id===o.root[x(661)]);r&&(r[x(1805)]=t,o[x(1805)]=t)})},evaluateCurrentStatus:(t,o)=>{const x=c,r=n(),i=r[x(1237)].canvases[x(581)](s=>s.id===r[x(1237)][x(661)]);if(!i)return;const a=i[x(821)][x(581)](s=>s.id===t);if(!a)return;const{dataPool:u}=n();for(const s of a[x(2161)][x(761)])if(_x(s,o,u))return s.id},addDataPoolItem:t=>{const o=c,x=Ne[o(1408)]();return e(r=>{const i=o;let a={};t[i(452)]&&typeof t[i(452)]=="object"&&(Array[i(1405)](t.sample)?a=t[i(452)]:a=t.sample),r.dataPool[i(591)]({...t,id:x,sample:a})}),x},updateDataPoolItem:(t,o)=>{e(x=>{const r=_0x31ec,i=x[r(474)].find(a=>a.id===t);i&&(o[r(1907)]!==void 0&&(i[r(1907)]=o[r(1907)]),o[r(452)]!==void 0&&(o.sample&&typeof o[r(452)]=="object"?i[r(452)]=o[r(452)]:i[r(452)]={}))})},removeDataPoolItem:t=>{e(o=>{const x=_0x31ec,r=o[x(474)][x(1933)](i=>i.id===t);if(r!==-1){o[x(474)][x(1327)](r,1);for(const i of o.root[x(693)])Lr(i.nodes,t)}})},setDataPool:t=>{e(o=>{const x=_0x31ec;o[x(474)]=t[x(477)](r=>{const i=x;let a={};return r.sample&&typeof r.sample=="object"&&(a=r[i(452)]),{...r,sample:a}})})},setEventFlow:t=>{e(o=>{const x=_0x31ec;o[x(2133)]={eventBlocks:t[x(1336)]??[],eventRoots:t[x(2162)]??[],editingEventRootId:t[x(1417)]??null,isEditingEventFlow:t[x(788)]??!1}})},setExternalHandlerCatalog:t=>{e(o=>{const x=_0x31ec,r=new Set;o[x(904)]=[];for(const i of t){const a=String(i[x(874)]??"")[x(1601)]();!a||r[x(1696)](a)||(r[x(1923)](a),o[x(904)][x(591)]({key:a,label:String(i.label??"")[x(1601)]()||a,description:i[x(1006)]}))}})},addMaterial:t=>{e(o=>{const x=_0x31ec;if(o[x(1519)][x(1432)](a=>a[x(1907)]===t.name))return;const i={...t,id:Ne[x(1408)]()};o.materials.push(i)})},updateMaterial:(t,o)=>{e(x=>{const r=_0x31ec,i=x[r(1519)][r(581)](a=>a.id===t);i&&Object.assign(i,o)})},removeMaterial:t=>{e(o=>{const x=_0x31ec,r=o[x(1519)][x(1933)](i=>i.id===t);r!==-1&&o[x(1519)].splice(r,1)})},setViewport:t=>{e(o=>{const x=_0x31ec,r=o[x(1237)][x(693)][x(581)](i=>i.id===o[x(1237)][x(661)]);r&&(Object.assign(r[x(1204)],t),o.viewport=r[x(1204)])})},setCanvasConfig:t=>{e(o=>{const x=_0x31ec,r=o[x(1237)].canvases.find(i=>i.id===o[x(1237)].currentCanvasId);r&&(r[x(1389)]={...r[x(1389)],...t},o[x(1372)]=r[x(1389)])})},setMode:t=>{e(o=>{const x=_0x31ec;o[x(1714)]=t})},startLineDrawing:t=>{e(o=>{const x=_0x31ec;o.mode=x(1618),o[x(1721)]={isDrawing:!0,material:t,startPoint:null,endPoint:null}})},updateLineDrawing:t=>{e(o=>{const x=_0x31ec;o[x(1721)][x(1272)]&&(o[x(1721)][x(380)]=t)})},endLineDrawing:()=>{e(t=>{const o=_0x31ec;t[o(1714)]=o(1435),t[o(1721)]={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},cancelLineDrawing:()=>{e(t=>{const o=_0x31ec;t.mode=o(1435),t[o(1721)]={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},undo:()=>{e(t=>{const o=_0x31ec,x=t[o(1237)][o(693)].find(i=>i.id===t[o(1237)][o(661)]);if(!x)return;const r=x[o(427)][o(2110)][o(925)]();r&&(x[o(427)].future[o(591)](r),t[o(427)]=x[o(427)])})},redo:()=>{e(t=>{const o=_0x31ec,x=t[o(1237)].canvases[o(581)](i=>i.id===t[o(1237)][o(661)]);if(!x)return;const r=x.history[o(1099)][o(925)]();r&&(x.history.past.push(r),t[o(427)]=x[o(427)])})},recordEvent:t=>{e(o=>{const x=_0x31ec,r=o[x(1237)].canvases[x(581)](i=>i.id===o[x(1237)][x(661)]);r&&(r.history[x(2110)][x(591)](t),r[x(427)].future=[],o[x(427)]=r[x(427)])})},exportScheme:()=>{const t=c,o=n(),{activeSiblingGroupId:x,navigationStack:r,...i}=o[t(1237)];return{version:t(1576),root:i,materials:o[t(1519)],dataPool:o.dataPool,eventFlow:o.eventFlow,metadata:{name:o.root[t(1907)],description:"",createdAt:new Date()[t(1007)](),updatedAt:new Date()[t(1007)]()}}},importScheme:t=>{e(o=>{const x=_0x31ec;if(t[x(1237)]){if(o.root=t.root,!o.root[x(815)])o[x(1237)][x(815)]=[];else{const i=new Set(o[x(1237)].canvases[x(477)](a=>a.id));for(const a of o[x(1237)][x(815)])a[x(532)]=a[x(532)][x(2191)](u=>i.has(u))}o.root[x(2203)]=null,o[x(1237)][x(2038)]=[],o[x(474)]=t.dataPool??[],t[x(2133)]&&(o[x(2133)]={eventBlocks:t.eventFlow[x(1336)]??[],eventRoots:t[x(2133)][x(2162)]??[],editingEventRootId:t.eventFlow.editingEventRootId??null,isEditingEventFlow:t[x(2133)].isEditingEventFlow??!1});const r=o.root[x(693)][x(581)](i=>i.id===o[x(1237)][x(661)])||o[x(1237)].canvases[0];r&&(o[x(1237)][x(661)]=r.id,o[x(821)]=r[x(821)],o[x(1372)]=r[x(1389)],o[x(1204)]=r.viewport,o[x(1073)]=r[x(1073)],o.selectedNodeIds=r.selectedNodeIds,o[x(1805)]=r.selectedStatusId,o[x(427)]=r.history)}else{const r=Qx();r[x(821)]=t[x(821)]||[],o[x(1237)][x(693)]=[r],o[x(1237)][x(661)]=r.id,o[x(1237)][x(815)]=[],o[x(1237)][x(2203)]=null,o[x(1237)][x(2038)]=[],o[x(474)]=t[x(474)]??[],t[x(2133)]&&(o[x(2133)]={eventBlocks:t[x(2133)][x(1336)]??[],eventRoots:t[x(2133)][x(2162)]??[],editingEventRootId:t[x(2133)][x(1417)]??null,isEditingEventFlow:t[x(2133)].isEditingEventFlow??!1}),o.nodes=r[x(821)],o[x(1372)]=r[x(1389)],o.viewport=t[x(1204)]||r[x(1204)],o.selectedNodeId=null,o[x(1805)]=null,o.history={past:[],future:[]}}for(const r of o[x(1237)][x(693)])Jx(r[x(821)])})},exportCanvas:t=>{const o=c,x=n(),r=t||x.root[o(661)],i=x[o(1237)][o(693)][o(581)](a=>a.id===r);if(!i)throw new Error("画布 "+r+" 不存在");return{version:"2.0.0",canvas:i,metadata:{name:i.name,description:"",exportedAt:new Date()[o(1007)]()}}},importCanvas:(t,o)=>{e(x=>{const r=_0x31ec,i=t.canvas,a=o||x.root[r(661)],u=x[r(1237)][r(693)][r(581)](s=>s.id===a);if(u)u[r(1907)]=i[r(1907)],u.nodes=i[r(821)]||[],u[r(1389)]=i.canvasConfig,u[r(1204)]=i[r(1204)],u[r(1073)]=null,u[r(895)]=[],u[r(1805)]=null,u.history=i[r(427)]||{past:[],future:[]},a===x[r(1237)][r(661)]&&(x[r(821)]=u[r(821)],x[r(1372)]=u[r(1389)],x[r(1204)]=u[r(1204)],x[r(1073)]=u[r(1073)],x[r(895)]=u[r(895)],x[r(1805)]=u.selectedStatusId,x[r(427)]=u[r(427)]);else{const s={...i,id:Ne[r(1408)](),selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null};x.root.canvases[r(591)](s),x[r(1237)][r(661)]=s.id,x.nodes=s[r(821)],x[r(1372)]=s[r(1389)],x[r(1204)]=s.viewport,x[r(1073)]=s.selectedNodeId,x.selectedNodeIds=s.selectedNodeIds,x[r(1805)]=s[r(1805)],x[r(427)]=s[r(427)]}for(const s of x[r(1237)][r(693)])Jx(s[r(821)])})},addEventBlock:t=>{const o=c,x=Ne[o(1408)]();return e(r=>{const i=o;r[i(2133)].eventBlocks[i(591)]({...t,id:x})}),x},upsertEventBlock:t=>{e(o=>{const x=_0x31ec,r=o[x(2133)][x(1336)].findIndex(i=>i.id===t.id);r!==-1?o[x(2133)].eventBlocks[r]={...t}:o[x(2133)][x(1336)][x(591)]({...t})})},updateEventBlock:(t,o)=>{e(x=>{const r=_0x31ec,i=x.eventFlow[r(1336)].find(a=>a.id===t);i&&Object[r(1086)](i,o)})},removeEventBlock:t=>{e(o=>{const x=_0x31ec,r=o[x(2133)][x(1336)][x(1933)](i=>i.id===t);r!==-1&&o[x(2133)][x(1336)].splice(r,1)})},addEventRoot:t=>{const o=c,x=Ne[o(1408)]();return e(r=>{const i=o;r[i(2133)][i(2162)][i(591)]({...t,id:x})}),x},updateEventRoot:(t,o)=>{e(x=>{const r=_0x31ec,i=x[r(2133)][r(2162)][r(581)](a=>a.id===t);i&&Object[r(1086)](i,o)})},removeEventRoot:t=>{e(o=>{const x=_0x31ec,r=o[x(2133)][x(2162)][x(1933)](i=>i.id===t);r!==-1&&o[x(2133)][x(2162)][x(1327)](r,1)})},setEditingEventRoot:t=>{e(o=>{const x=_0x31ec;o[x(2133)][x(1417)]=t})},setIsEditingEventFlow:t=>{e(o=>{const x=_0x31ec;o[x(2133)][x(788)]=t})},bindNodeEvent:(t,o,x)=>{const r=c,i=Ne[r(1408)]();return e(a=>{const u=r;a.eventFlow[u(2162)].push({id:i,bindNodeId:t,eventType:o,flowData:x,enabled:!0})}),i},unbindNodeEvent:(t,o,x)=>{e(r=>{const i=_0x31ec,a=r[i(2133)].eventRoots[i(1933)](u=>{const s=i;return u.bindNodeId!==t||u.eventType!==o?!1:o===s(568)?(u[s(1698)]||"")[s(1601)]()===(x||"")[s(1601)]():!0});a!==-1&&r[i(2133)][i(2162)][i(1327)](a,1)})},getNodeEventRoots:t=>{const o=c;return n()[o(2133)].eventRoots[o(2191)](x=>x[o(473)]===t)}}))),Sr=[{id:Ne[c(1408)](),name:"矩形",type:c(2215),src:c(2056)+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="60"><rect width="100" height="60" fill="#1890ff" rx="4"/></svg>')},{id:Ne[c(1408)](),name:"圆形",type:c(2215),src:c(2056)+encodeURIComponent(c(654))},{id:Ne.nanoid(),name:"圆角矩形",type:c(2215),src:c(2056)+encodeURIComponent(c(2167))},{id:Ne[c(1408)](),name:"阀门",type:c(2215),src:c(2056)+encodeURIComponent(c(1565))},{id:Ne.nanoid(),name:"泵",type:c(2215),src:c(2056)+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:Ne[c(1408)](),name:"罐体",type:c(2215),src:c(2056)+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="60" height="80"><ellipse cx="30" cy="10" rx="25" ry="10" fill="#d9d9d9" stroke="#595959" stroke-width="2"/><rect x="5" y="10" width="50" height="60" fill="#f0f0f0" stroke="#595959" stroke-width="2"/><ellipse cx="30" cy="70" rx="25" ry="10" fill="#d9d9d9" stroke="#595959" stroke-width="2"/></svg>')},{id:Ne[c(1408)](),name:"文本标签",type:c(1254),content:{label:"标签",value:"值",labelStyle:{fontSize:14,fontWeight:c(2028),color:c(1126),textAlign:c(2039)},valueStyle:{fontSize:14,fontWeight:c(1672),color:c(829),textAlign:c(2039)}}},{id:Ne[c(1408)](),name:"线条",type:c(769),config:{thickness:2,lineWeight:2,color:c(1126),lineType:c(823)}}],Fx=e=>({id:Ne[c(1408)](),name:"默认状态",expression:c(1600),material:{...e,id:Ne[c(1408)]()},boundDatasetId:null}),kr=(e,n,t)=>{const o=c;if(t?.[o(402)]==="CUSTOM"&&t.config?.[o(821)]){const x=t[o(2217)][o(821)].map(d=>({...d,id:Ne[o(1408)]()}));let r=1/0,i=1/0,a=-1/0,u=-1/0;x[o(643)](d=>{const f=o,b=d[f(450)].x||0,g=d[f(450)].y||0,w=d[f(450)].width||0,h=d[f(450)][f(505)]||0;r=Math[f(1666)](r,b),i=Math.min(i,g),a=Math.max(a,b+w),u=Math.max(u,g+h)});const s=x.map(d=>({...d,normalStyle:{...d[o(450)],x:(d[o(450)].x||0)-r,y:(d[o(450)].y||0)-i,scale:void 0}}));return{id:Ne.nanoid(),name:t[o(1907)]||o(1921),type:o(1070),normalStyle:{width:a-r,height:u-i,x:e,y:n},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:s}}return{id:Ne.nanoid(),name:o(518),type:o(1672),normalStyle:{width:120,height:100,x:e,y:n,background:"transparent",padding:8},contentInfo:{statusList:t?[Fx(t)]:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}}},{Panel:Ln}=C[c(1498)],{Text:Ht}=C[c(1457)],Ir=({onUploadSvg:e})=>{const n=c,{materials:t,addMaterial:o,removeMaterial:x,selectedStatusId:r,selectStatus:i,mode:a,lineDrawing:u,startLineDrawing:s,cancelLineDrawing:d}=$e(),[f,b]=D[n(955)]([n(1061),n(1085),n(1347),n(1188)]),g=y=>{const m=n,p=new FileReader;return p.onload=z=>{const I=_0x31ec,O=z.target?.[I(1248)];o({name:y[I(1907)][I(890)](".svg",""),type:"IMAGE",src:O})},p[m(1864)](y),!1},w={basic:t.filter(y=>["矩形","圆形",n(1089)].includes(y[n(1907)])),device:t[n(2191)](y=>["阀门","泵","罐体"][n(600)](y.name)||y[n(402)]==="IMAGE"&&!["矩形","圆形",n(1089)][n(600)](y[n(1907)])&&y[n(1907)]!=="自定义"),text:t[n(2191)](y=>y[n(402)]===n(1254)),line:t[n(2191)](y=>y[n(402)]==="LINE"),group:t[n(2191)](y=>y[n(402)]==="CUSTOM"&&y[n(2217)]?.[n(821)]),custom:t.filter(y=>y.type==="CUSTOM"&&!y.config?.nodes||y[n(402)]===n(2215)&&!["矩形","圆形",n(1089),"阀门","泵","罐体"][n(600)](y[n(1907)]))},h=(y,m)=>{const p=n;y.dataTransfer[p(1668)]="copy",y[p(1742)][p(1216)](p(1221),JSON.stringify(m));const z=y[p(1667)][p(644)](p(1344));z&&y[p(1742)][p(1106)](z,20,20)},v=y=>{y[n(402)]==="LINE"&&s(y)},M=(y,m=!1,p=n(825))=>{const z=n,I=m===!0,O=a===z(1618)&&I&&u[z(1801)]?.id===y.id;return l[z(822)](C[z(795)][z(1218)],{draggable:!I,onDragStart:H=>h(H,y),onClick:()=>I&&v(y),className:z(1958)+z(I?838:2034)+z(1110)+z(700)+z(1110)+(O?"bg-blue-50 ring-2 ring-blue-400":"")+z(1685),actions:[I?l[z(822)](C[z(1804)],{type:z(1347),size:z(1718),icon:l[z(822)](de[z(614)],{}),onClick:H=>{H.stopPropagation(),v(y)},children:"绘制"},z(1495)):null,l.jsx(C[z(1804)],{type:z(1347),size:z(1718),danger:!0,icon:l[z(822)](de[z(2079)],{}),onClick:H=>{H[z(655)](),x(y.id)}},z(1611))][z(2191)](Boolean),children:l.jsxs(z(1022),{className:z(2123)+(I?"":z(1963)),children:[l[z(822)](z(1022),{className:"material-preview w-12 h-12 flex items-center justify-center rounded border border-gray-200 "+p,children:y[z(402)]===z(2215)&&y[z(1623)]?l[z(822)](C.Image,{src:y.src,alt:y[z(1907)],width:40,height:40,preview:!1}):y.type===z(1254)?l[z(822)](z(1033),{className:z(1351),children:"T"}):y[z(402)]===z(769)?l[z(822)](z(1022),{className:"w-8 h-0.5 bg-gray-400"}):y.type==="CUSTOM"&&y.config?.[z(821)]?l[z(822)](z(1033),{className:z(2026),children:"G"}):l.jsx(z(1033),{className:z(1351),children:"?"})}),l.jsxs(z(1022),{className:z(793),children:[l[z(822)](Ht,{strong:!0,className:"block truncate",children:y.name}),l[z(1183)](z(1022),{className:z(1445),children:[l[z(822)](Ht,{type:"secondary",className:z(884),children:y[z(402)]}),O&&l.jsx(C.Tag,{color:z(2098),className:"text-xs",children:"绘制中"})]})]})]})},y.id)};return l[n(1183)](n(1022),{className:n(845),children:[l.jsxs(n(1022),{className:n(397),children:[l.jsx("h3",{className:n(2218),children:n(1452)}),l.jsx(Ht,{type:n(1263),className:n(1015),children:n(457)})]}),l[n(822)](n(1022),{className:n(578),children:e?l[n(822)](C[n(1804)],{icon:l[n(822)](de[n(1256)],{}),block:!0,type:n(575),onClick:()=>{e().catch(y=>{console.log(_0x31ec(626),y)})},children:n(1168)}):l[n(822)](C.Upload,{accept:n(914),beforeUpload:g,showUploadList:!1,children:l.jsx(C.Button,{icon:l[n(822)](de.UploadOutlined,{}),block:!0,type:"dashed",children:n(1168)})})}),l[n(822)](n(1022),{className:n(943),children:l[n(1183)](C[n(1498)],{activeKey:f,onChange:y=>b(y),ghost:!0,expandIconPosition:n(2030),children:[l[n(822)](Ln,{header:n(2136),children:l.jsx(C[n(795)],{dataSource:w.basic,renderItem:y=>M(y,!1),locale:{emptyText:l[n(822)](C[n(2090)],{description:n(2180),image:C.Empty[n(1203)]})}})},n(1061)),l[n(822)](Ln,{header:"设备图标",children:l.jsx(C.List,{dataSource:w[n(1085)],renderItem:y=>M(y,!1,n(686)),locale:{emptyText:l[n(822)](C[n(2090)],{description:n(2180),image:C[n(2090)].PRESENTED_IMAGE_SIMPLE})}})},n(1085)),l.jsx(Ln,{header:"文本",children:l[n(822)](C.List,{dataSource:w[n(1347)],renderItem:y=>M(y,!1),locale:{emptyText:l[n(822)](C[n(2090)],{description:n(2180),image:C[n(2090)].PRESENTED_IMAGE_SIMPLE})}})},n(1347)),l[n(1183)](Ln,{header:l[n(1183)](n(1022),{className:n(1404),children:[l.jsx(n(1033),{children:"线条"}),a===n(1618)&&l[n(822)](C[n(2200)],{color:n(2098),className:"text-xs",children:n(787)})]}),children:[l[n(822)](C[n(795)],{dataSource:w.line,renderItem:y=>M(y,!0),locale:{emptyText:l.jsx(C[n(2090)],{description:n(2180),image:C[n(2090)].PRESENTED_IMAGE_SIMPLE})}}),a==="line-draw"&&l[n(1183)]("div",{className:"mt-2 p-2 bg-blue-50 rounded text-xs text-blue-600",children:[l[n(822)](n(1022),{children:n(1023)}),l[n(822)]("div",{children:n(826)})]})]},"line"),w.group[n(1115)]>0&&l[n(822)](Ln,{header:"群组",children:l[n(822)](C.List,{dataSource:w[n(1070)],renderItem:y=>M(y,!1),locale:{emptyText:l[n(822)](C.Empty,{description:n(2180),image:C.Empty[n(1203)]})}})},n(1070)),w[n(833)].length>0&&l.jsx(Ln,{header:n(1231),children:l[n(822)](C[n(795)],{dataSource:w.custom,renderItem:y=>M(y,!1),locale:{emptyText:l[n(822)](C[n(2090)],{description:n(2180),image:C[n(2090)].PRESENTED_IMAGE_SIMPLE})}})},"custom")]})}),l[n(822)](n(1022),{className:"p-3 border-t border-gray-200 bg-gray-50",children:l[n(822)](Ht,{type:n(1263),className:n(884),children:a==="line-draw"?l[n(822)](l[n(2135)],{children:n(679)}):l.jsx(l[n(2135)],{children:n(2063)})})})]})};var $x=function(e,n){const t=c;return $x=Object[t(1665)]||{__proto__:[]}instanceof Array&&function(o,x){const r=t;o[r(424)]=x}||function(o,x){const r=t;for(var i in x)Object.prototype[r(659)][r(1020)](x,i)&&(o[i]=x[i])},$x(e,n)};function _0(e,n){const t=c;if(typeof n!="function"&&n!==null)throw new TypeError(t(2105)+String(n)+" is not a constructor or null");$x(e,n);function o(){const x=t;this[x(631)]=e}e.prototype=n===null?Object[t(442)](n):(o.prototype=n[t(807)],new o)}function Gs(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=_0x31ec;function u(f){const b=_0x31ec;try{d(o[b(1049)](f))}catch(g){i(g)}}function s(f){const b=_0x31ec;try{d(o[b(993)](f))}catch(g){i(g)}}function d(f){const b=_0x31ec;f[b(1476)]?r(f[b(2069)]):x(f[b(2069)])[b(2181)](u,s)}d((o=o[a(1579)](e,n||[]))[a(1049)]())})}function Pr(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(442)]((typeof Iterator=="function"?Iterator:Object)[t(807)]);return a[t(1049)]=u(0),a.throw=u(1),a.return=u(2),typeof Symbol===t(1701)&&(a[Symbol[t(2121)]]=function(){return this}),a;function u(d){return function(f){return s([d,f])}}function s(d){const f=t;if(x)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(o=0)),o;)try{if(x=1,r&&(i=d[0]&2?r.return:d[0]?r[f(993)]||((i=r[f(1483)])&&i[f(1020)](r),0):r[f(1049)])&&!(i=i[f(1020)](r,d[1]))[f(1476)])return i;switch(r=0,i&&(d=[d[0]&2,i.value]),d[0]){case 0:case 1:i=d;break;case 4:return o[f(846)]++,{value:d[1],done:!1};case 5:o.label++,r=d[1],d=[0];continue;case 7:d=o.ops.pop(),o[f(560)][f(925)]();continue;default:if(i=o[f(560)],!(i=i.length>0&&i[i[f(1115)]-1])&&(d[0]===6||d[0]===2)){o=0;continue}if(d[0]===3&&(!i||d[1]>i[0]&&d[1]<i[3])){o[f(846)]=d[1];break}if(d[0]===6&&o[f(846)]<i[1]){o[f(846)]=i[1],i=d;break}if(i&&o[f(846)]<i[2]){o[f(846)]=i[2],o[f(1131)][f(591)](d);break}i[2]&&o[f(1131)][f(925)](),o[f(560)].pop();continue}d=n[f(1020)](e,o)}catch(b){d=[6,b],r=0}finally{x=i=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}function Nn(e){const n=c;var t=typeof Symbol===n(1701)&&Symbol[n(2121)],o=t&&e[t],x=0;if(o)return o[n(1020)](e);if(e&&typeof e[n(1115)]===n(552))return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(n(t?1625:802))}function Vt(e,n){const t=c;var o=typeof Symbol===t(1701)&&e[Symbol[t(2121)]];if(!o)return e;var x=o[t(1020)](e),r,i=[],a;try{for(;(n===void 0||n-- >0)&&!(r=x[t(1049)]())[t(1476)];)i[t(591)](r[t(2069)])}catch(u){a={error:u}}finally{try{r&&!r[t(1476)]&&(o=x.return)&&o.call(x)}finally{if(a)throw a[t(541)]}}return i}function Tt(e,n,t){const o=c;if(t||arguments[o(1115)]===2)for(var x=0,r=n[o(1115)],i;x<r;x++)(i||!(x in n))&&(i||(i=Array[o(807)][o(2051)].call(n,0,x)),i[x]=n[x]);return e[o(660)](i||Array.prototype[o(2051)][o(1020)](n))}function Sn(e){return this instanceof Sn?(this.v=e,this):new Sn(e)}function Hs(e,n,t){const o=c;if(!Symbol[o(509)])throw new TypeError(o(1390));var x=t[o(1579)](e,n||[]),r,i=[];return r=Object.create((typeof AsyncIterator===o(1701)?AsyncIterator:Object)[o(807)]),u(o(1049)),u(o(993)),u("return",a),r[Symbol.asyncIterator]=function(){return this},r;function a(w){return function(h){const v=_0x31ec;return Promise[v(481)](h)[v(2181)](w,b)}}function u(w,h){x[w]&&(r[w]=function(v){return new Promise(function(M,y){i[_0x31ec(591)]([w,v,M,y])>1||s(w,v)})},h&&(r[w]=h(r[w])))}function s(w,h){try{d(x[w](h))}catch(v){g(i[0][3],v)}}function d(w){const h=o;w[h(2069)]instanceof Sn?Promise.resolve(w[h(2069)].v)[h(2181)](f,b):g(i[0][2],w)}function f(w){s(o(1049),w)}function b(w){s(o(993),w)}function g(w,h){const v=o;w(h),i[v(407)](),i.length&&s(i[0][0],i[0][1])}}function Vs(e){const n=c;if(!Symbol[n(509)])throw new TypeError(n(1390));var t=e[Symbol[n(509)]],o;return t?t[n(1020)](e):(e=typeof Nn===n(1701)?Nn(e):e[Symbol[n(2121)]](),o={},x(n(1049)),x(n(993)),x("return"),o[Symbol[n(509)]]=function(){return this},o);function x(i){o[i]=e[i]&&function(a){return new Promise(function(u,s){const d=_0x31ec;a=e[i](a),r(u,s,a[d(1476)],a[d(2069)])})}}function r(i,a,u,s){Promise[n(481)](s).then(function(f){i({value:f,done:u})},a)}}typeof SuppressedError===c(1701)&&SuppressedError;function We(e){return typeof e=="function"}function eo(e){const n=c;var t=function(x){const r=_0x31ec;Error[r(1020)](x),x[r(951)]=new Error()[r(951)]},o=e(t);return o.prototype=Object[n(442)](Error[n(807)]),o[n(807)][n(631)]=o,o}var no=eo(function(e){return function(t){const o=_0x31ec;e(this),this[o(1974)]=t?t[o(1115)]+o(933)+t.map(function(x,r){return r+1+") "+x.toString()})[o(894)](o(2046)):"",this.name=o(1660),this.errors=t}});function qt(e,n){const t=c;if(e){var o=e[t(455)](n);0<=o&&e.splice(o,1)}}var st=(function(){const e=c;function n(t){const o=_0x31ec;this[o(1681)]=t,this[o(550)]=!1,this[o(1069)]=null,this._finalizers=null}return n[e(807)][e(622)]=function(){const t=e;var o,x,r,i,a;if(!this[t(550)]){this[t(550)]=!0;var u=this[t(1069)];if(u)if(this[t(1069)]=null,Array[t(1405)](u))try{for(var s=Nn(u),d=s[t(1049)]();!d.done;d=s[t(1049)]()){var f=d[t(2069)];f.remove(this)}}catch(M){o={error:M}}finally{try{d&&!d[t(1476)]&&(x=s[t(1483)])&&x[t(1020)](s)}finally{if(o)throw o[t(541)]}}else u[t(670)](this);var b=this[t(1681)];if(We(b))try{b()}catch(M){a=M instanceof no?M.errors:[M]}var g=this._finalizers;if(g){this._finalizers=null;try{for(var w=Nn(g),h=w[t(1049)]();!h.done;h=w[t(1049)]()){var v=h.value;try{jr(v)}catch(M){a=a??[],M instanceof no?a=Tt(Tt([],Vt(a)),Vt(M[t(814)])):a[t(591)](M)}}}catch(M){r={error:M}}finally{try{h&&!h[t(1476)]&&(i=w[t(1483)])&&i[t(1020)](w)}finally{if(r)throw r.error}}}if(a)throw new no(a)}},n[e(807)][e(1923)]=function(t){const o=e;var x;if(t&&t!==this)if(this[o(550)])jr(t);else{if(t instanceof n){if(t[o(550)]||t[o(537)](this))return;t[o(1358)](this)}(this[o(1477)]=(x=this._finalizers)!==null&&x!==void 0?x:[])[o(591)](t)}},n[e(807)][e(537)]=function(t){const o=e;var x=this[o(1069)];return x===t||Array[o(1405)](x)&&x[o(600)](t)},n[e(807)]._addParent=function(t){const o=e;var x=this[o(1069)];this[o(1069)]=Array[o(1405)](x)?(x[o(591)](t),x):x?[x,t]:t},n.prototype[e(2010)]=function(t){const o=e;var x=this[o(1069)];x===t?this[o(1069)]=null:Array.isArray(x)&&qt(x,t)},n[e(807)].remove=function(t){const o=e;var x=this[o(1477)];x&&qt(x,t),t instanceof n&&t[o(2010)](this)},n.EMPTY=(function(){const t=e;var o=new n;return o[t(550)]=!0,o})(),n})(),Ar=st.EMPTY;function Er(e){const n=c;return e instanceof st||e&&"closed"in e&&We(e.remove)&&We(e[n(1923)])&&We(e[n(622)])}function jr(e){const n=c;We(e)?e():e[n(622)]()}var Ts={Promise:void 0},qs={setTimeout:function(e,n){const t=c;for(var o=[],x=2;x<arguments[t(1115)];x++)o[x-2]=arguments[x];return setTimeout[t(1579)](void 0,Tt([e,n],Vt(o)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Yr(e){qs[c(924)](function(){throw e})}function Ur(){}function Wt(e){e()}var to=(function(e){const n=c;_0(t,e);function t(o){const x=_0x31ec;var r=e[x(1020)](this)||this;return r[x(1786)]=!1,o?(r.destination=o,Er(o)&&o[x(1923)](r)):r[x(1663)]=Zs,r}return t.create=function(o,x,r){return new xo(o,x,r)},t[n(807)][n(1049)]=function(o){const x=n;this.isStopped||this[x(760)](o)},t[n(807)].error=function(o){const x=n;this.isStopped||(this[x(1786)]=!0,this[x(1481)](o))},t[n(807)][n(1909)]=function(){const o=n;this[o(1786)]||(this[o(1786)]=!0,this._complete())},t[n(807)][n(622)]=function(){const o=n;!this[o(550)]&&(this[o(1786)]=!0,e[o(807)].unsubscribe[o(1020)](this),this.destination=null)},t.prototype[n(760)]=function(o){this.destination.next(o)},t[n(807)]._error=function(o){const x=n;try{this.destination[x(541)](o)}finally{this.unsubscribe()}},t[n(807)][n(535)]=function(){const o=n;try{this[o(1663)][o(1909)]()}finally{this[o(622)]()}},t})(st),Ws=(function(){const e=c;function n(t){const o=_0x31ec;this[o(843)]=t}return n[e(807)][e(1049)]=function(t){const o=e;var x=this.partialObserver;if(x[o(1049)])try{x.next(t)}catch(r){Xt(r)}},n[e(807)].error=function(t){const o=e;var x=this[o(843)];if(x.error)try{x[o(541)](t)}catch(r){Xt(r)}else Xt(t)},n[e(807)].complete=function(){var o=this[e(843)];if(o.complete)try{o.complete()}catch(x){Xt(x)}},n})(),xo=(function(e){_0(n,e);function n(t,o,x){const r=_0x31ec;var i=e[r(1020)](this)||this,a;return We(t)||!t?a={next:t??void 0,error:o??void 0,complete:x??void 0}:a=t,i[r(1663)]=new Ws(a),i}return n})(to);function Xt(e){Yr(e)}function Xs(e){throw e}var Zs={closed:!0,next:Ur,error:Xs,complete:Ur},oo=(function(){const e=c;return typeof Symbol=="function"&&Symbol[e(1518)]||e(1173)})();function Or(e){return e}function Ks(e){const n=c;return e[n(1115)]===0?Or:e.length===1?e[0]:function(o){return e[n(1267)](function(r,i){return i(r)},o)}}var y0=(function(){const e=c;function n(t){t&&(this._subscribe=t)}return n[e(807)][e(1812)]=function(t){const o=e;var x=new n;return x[o(2124)]=this,x[o(460)]=t,x},n[e(807)][e(1743)]=function(t,o,x){var r=this,i=_s(t)?t:new xo(t,o,x);return Wt(function(){const a=_0x31ec;var u=r,s=u.operator,d=u.source;i[a(1923)](s?s.call(i,d):d?r[a(1734)](i):r[a(1423)](i))}),i},n[e(807)][e(1423)]=function(t){const o=e;try{return this._subscribe(t)}catch(x){t[o(541)](x)}},n[e(807)][e(643)]=function(t,o){var x=this;return o=Gr(o),new o(function(r,i){var a=new xo({next:function(u){const s=_0x31ec;try{t(u)}catch(d){i(d),a[s(622)]()}},error:i,complete:r});x.subscribe(a)})},n[e(807)][e(1734)]=function(t){const o=e;var x;return(x=this[o(2124)])===null||x===void 0?void 0:x[o(1743)](t)},n[e(807)][oo]=function(){return this},n[e(807)][e(726)]=function(){const t=e;for(var o=[],x=0;x<arguments[t(1115)];x++)o[x]=arguments[x];return Ks(o)(this)},n[e(807)][e(2020)]=function(t){var o=this;return t=Gr(t),new t(function(x,r){const i=_0x31ec;var a;o[i(1743)](function(u){return a=u},function(u){return r(u)},function(){return x(a)})})},n.create=function(t){return new n(t)},n})();function Gr(e){var n;return(n=e??Ts.Promise)!==null&&n!==void 0?n:Promise}function Rs(e){const n=c;return e&&We(e[n(1049)])&&We(e[n(541)])&&We(e.complete)}function _s(e){return e&&e instanceof to||Rs(e)&&Er(e)}function Js(e){return We(e?.[c(1812)])}function rn(e){return function(n){const t=_0x31ec;if(Js(n))return n[t(1812)](function(o){try{return e(o,this)}catch(x){this.error(x)}});throw new TypeError(t(1446))}}function an(e,n,t,o,x){return new Qs(e,n,t,o,x)}var Qs=(function(e){const n=c;_0(t,e);function t(o,x,r,i,a,u){const s=_0x31ec;var d=e.call(this,o)||this;return d[s(1719)]=a,d[s(1940)]=u,d[s(760)]=x?function(f){const b=s;try{x(f)}catch(g){o[b(541)](g)}}:e[s(807)][s(760)],d[s(1481)]=i?function(f){try{i(f)}catch(b){o.error(b)}finally{this.unsubscribe()}}:e[s(807)][s(1481)],d[s(535)]=r?function(){const f=s;try{r()}catch(b){o.error(b)}finally{this[f(622)]()}}:e[s(807)][s(535)],d}return t[n(807)].unsubscribe=function(){const o=n;var x;if(!this[o(1940)]||this[o(1940)]()){var r=this[o(550)];e.prototype.unsubscribe[o(1020)](this),!r&&((x=this.onFinalize)===null||x===void 0||x[o(1020)](this))}},t})(to),Fs=eo(function(e){return function(){const t=_0x31ec;e(this),this[t(1907)]=t(1538),this[t(1974)]=t(2138)}}),Hr=(function(e){const n=c;_0(t,e);function t(){const o=_0x31ec;var x=e[o(1020)](this)||this;return x[o(550)]=!1,x[o(2229)]=null,x[o(1633)]=[],x[o(1786)]=!1,x[o(1748)]=!1,x[o(1328)]=null,x}return t[n(807)][n(1812)]=function(o){const x=n;var r=new Vr(this,this);return r[x(460)]=o,r},t[n(807)][n(1988)]=function(){if(this[n(550)])throw new Fs},t[n(807)][n(1049)]=function(o){var x=this;Wt(function(){const r=_0x31ec;var i,a;if(x[r(1988)](),!x.isStopped){!x[r(2229)]&&(x[r(2229)]=Array[r(2088)](x[r(1633)]));try{for(var u=Nn(x[r(2229)]),s=u[r(1049)]();!s[r(1476)];s=u[r(1049)]()){var d=s[r(2069)];d.next(o)}}catch(f){i={error:f}}finally{try{s&&!s[r(1476)]&&(a=u[r(1483)])&&a[r(1020)](u)}finally{if(i)throw i[r(541)]}}}})},t[n(807)][n(541)]=function(o){var x=this;Wt(function(){const r=_0x31ec;if(x[r(1988)](),!x[r(1786)]){x[r(1748)]=x[r(1786)]=!0,x[r(1328)]=o;for(var i=x[r(1633)];i[r(1115)];)i[r(407)]().error(o)}})},t[n(807)][n(1909)]=function(){var o=this;Wt(function(){const x=_0x31ec;if(o[x(1988)](),!o.isStopped){o[x(1786)]=!0;for(var r=o[x(1633)];r[x(1115)];)r[x(407)]()[x(1909)]()}})},t[n(807)][n(622)]=function(){const o=n;this[o(1786)]=this[o(550)]=!0,this[o(1633)]=this[o(2229)]=null},Object[n(1827)](t.prototype,n(1966),{get:function(){const o=n;var x;return((x=this[o(1633)])===null||x===void 0?void 0:x[o(1115)])>0},enumerable:!1,configurable:!0}),t[n(807)][n(1423)]=function(o){const x=n;return this[x(1988)](),e[x(807)]._trySubscribe[x(1020)](this,o)},t[n(807)][n(1734)]=function(o){const x=n;return this[x(1988)](),this[x(932)](o),this._innerSubscribe(o)},t.prototype[n(1236)]=function(o){const x=n;var r=this,i=this,a=i.hasError,u=i[x(1786)],s=i.observers;return a||u?Ar:(this.currentObservers=null,s.push(o),new st(function(){const d=x;r[d(2229)]=null,qt(s,o)}))},t[n(807)][n(932)]=function(o){const x=n;var r=this,i=r[x(1748)],a=r[x(1328)],u=r[x(1786)];i?o[x(541)](a):u&&o[x(1909)]()},t.prototype.asObservable=function(){const o=n;var x=new y0;return x[o(2124)]=this,x},t.create=function(o,x){return new Vr(o,x)},t})(y0),Vr=(function(e){const n=c;_0(t,e);function t(o,x){const r=_0x31ec;var i=e.call(this)||this;return i[r(1663)]=o,i[r(2124)]=x,i}return t[n(807)][n(1049)]=function(o){const x=n;var r,i;(i=(r=this[x(1663)])===null||r===void 0?void 0:r[x(1049)])===null||i===void 0||i[x(1020)](r,o)},t[n(807)][n(541)]=function(o){const x=n;var r,i;(i=(r=this[x(1663)])===null||r===void 0?void 0:r[x(541)])===null||i===void 0||i[x(1020)](r,o)},t[n(807)][n(1909)]=function(){const o=n;var x,r;(r=(x=this[o(1663)])===null||x===void 0?void 0:x[o(1909)])===null||r===void 0||r.call(x)},t.prototype._subscribe=function(o){const x=n;var r,i;return(i=(r=this[x(2124)])===null||r===void 0?void 0:r[x(1743)](o))!==null&&i!==void 0?i:Ar},t})(Hr),$s={now:function(){return Date[c(2044)]()}},el=(function(e){const n=c;_0(t,e);function t(o,x){return e.call(this)||this}return t[n(807)][n(831)]=function(o,x){return this},t})(st),Tr={setInterval:function(e,n){const t=c;for(var o=[],x=2;x<arguments[t(1115)];x++)o[x-2]=arguments[x];return setInterval[t(1579)](void 0,Tt([e,n],Vt(o)))},clearInterval:function(e){return clearInterval(e)},delegate:void 0},nl=(function(e){const n=c;_0(t,e);function t(o,x){const r=_0x31ec;var i=e[r(1020)](this,o,x)||this;return i[r(1154)]=o,i.work=x,i[r(813)]=!1,i}return t[n(807)].schedule=function(o,x){const r=n;var i;if(x===void 0&&(x=0),this[r(550)])return this;this[r(1053)]=o;var a=this.id,u=this[r(1154)];return a!=null&&(this.id=this[r(628)](u,a,x)),this[r(813)]=!0,this[r(671)]=x,this.id=(i=this.id)!==null&&i!==void 0?i:this[r(1044)](u,this.id,x),this},t[n(807)][n(1044)]=function(o,x,r){const i=n;return r===void 0&&(r=0),Tr.setInterval(o[i(610)][i(2032)](o,this),r)},t.prototype[n(628)]=function(o,x,r){const i=n;return r===void 0&&(r=0),r!=null&&this[i(671)]===r&&this[i(813)]===!1?x:(x!=null&&Tr.clearInterval(x),void 0)},t.prototype[n(1659)]=function(o,x){const r=n;if(this[r(550)])return new Error(r(2112));this[r(813)]=!1;var i=this._execute(o,x);if(i)return i;this[r(813)]===!1&&this.id!=null&&(this.id=this[r(628)](this.scheduler,this.id,null))},t[n(807)][n(1946)]=function(o,x){const r=n;var i=!1,a;try{this[r(1993)](o)}catch(u){i=!0,a=u||new Error(r(1107))}if(i)return this[r(622)](),a},t[n(807)][n(622)]=function(){const o=n;if(!this.closed){var x=this,r=x.id,i=x[o(1154)],a=i.actions;this[o(1993)]=this.state=this[o(1154)]=null,this[o(813)]=!1,qt(a,this),r!=null&&(this.id=this[o(628)](i,r,null)),this[o(671)]=null,e[o(807)].unsubscribe[o(1020)](this)}},t})(el),qr=(function(){const e=c;function n(t,o){const x=_0x31ec;o===void 0&&(o=n.now),this[x(1134)]=t,this[x(2044)]=o}return n[e(807)][e(831)]=function(t,o,x){const r=e;return o===void 0&&(o=0),new this[r(1134)](this,t)[r(831)](x,o)},n[e(2044)]=$s[e(2044)],n})(),tl=(function(e){const n=c;_0(t,e);function t(o,x){const r=_0x31ec;x===void 0&&(x=qr[r(2044)]);var i=e.call(this,o,x)||this;return i.actions=[],i[r(656)]=!1,i}return t[n(807)][n(610)]=function(o){const x=n;var r=this.actions;if(this._active){r.push(o);return}var i;this[x(656)]=!0;do if(i=o.execute(o[x(1053)],o[x(671)]))break;while(o=r[x(407)]());if(this[x(656)]=!1,i){for(;o=r[x(407)]();)o[x(622)]();throw i}},t})(qr),xl=new tl(nl);function ol(e){return e&&We(e[c(831)])}function rl(e){return e[e[c(1115)]-1]}function il(e){const n=c;return ol(rl(e))?e[n(925)]():void 0}var Wr=function(e){const n=c;return e&&typeof e[n(1115)]===n(552)&&typeof e!==n(1701)};function Xr(e){return We(e?.[c(2181)])}function Zr(e){return We(e[oo])}function Kr(e){return Symbol.asyncIterator&&We(e?.[Symbol.asyncIterator])}function Rr(e){const n=c;return new TypeError(n(1122)+(e!==null&&typeof e===n(704)?n(613):"'"+e+"'")+n(530))}function al(){const e=c;return typeof Symbol!==e(1701)||!Symbol[e(2121)]?e(1399):Symbol[e(2121)]}var _r=al();function Jr(e){return We(e?.[_r])}function Qr(e){return Hs(this,arguments,function(){var t,o,x,r;return Pr(this,function(i){const a=_0x31ec;switch(i[a(846)]){case 0:t=e[a(1480)](),i.label=1;case 1:i[a(560)][a(591)]([1,,9,10]),i[a(846)]=2;case 2:return[4,Sn(t[a(1687)]())];case 3:return o=i[a(1212)](),x=o[a(2069)],r=o[a(1476)],r?[4,Sn(void 0)]:[3,5];case 4:return[2,i[a(1212)]()];case 5:return[4,Sn(x)];case 6:return[4,i[a(1212)]()];case 7:return i[a(1212)](),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function Fr(e){return We(e?.getReader)}function cn(e){if(e instanceof y0)return e;if(e!=null){if(Zr(e))return cl(e);if(Wr(e))return sl(e);if(Xr(e))return ll(e);if(Kr(e))return $r(e);if(Jr(e))return dl(e);if(Fr(e))return ul(e)}throw Rr(e)}function cl(e){return new y0(function(n){const t=_0x31ec;var o=e[oo]();if(We(o[t(1743)]))return o.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function sl(e){return new y0(function(n){const t=_0x31ec;for(var o=0;o<e.length&&!n.closed;o++)n.next(e[o]);n[t(1909)]()})}function ll(e){return new y0(function(n){const t=_0x31ec;e[t(2181)](function(o){const x=t;!n[x(550)]&&(n[x(1049)](o),n.complete())},function(o){return n.error(o)})[t(2181)](null,Yr)})}function dl(e){return new y0(function(n){const t=_0x31ec;var o,x;try{for(var r=Nn(e),i=r[t(1049)]();!i[t(1476)];i=r[t(1049)]()){var a=i[t(2069)];if(n[t(1049)](a),n.closed)return}}catch(u){o={error:u}}finally{try{i&&!i[t(1476)]&&(x=r.return)&&x[t(1020)](r)}finally{if(o)throw o[t(541)]}}n.complete()})}function $r(e){return new y0(function(n){const t=_0x31ec;fl(e,n)[t(561)](function(o){return n.error(o)})})}function ul(e){return $r(Qr(e))}function fl(e,n){var t,o,x,r;return Gs(this,void 0,void 0,function(){var i,a;return Pr(this,function(u){const s=_0x31ec;switch(u[s(846)]){case 0:u.trys[s(591)]([0,5,6,11]),t=Vs(e),u[s(846)]=1;case 1:return[4,t[s(1049)]()];case 2:if(o=u[s(1212)](),!!o[s(1476)])return[3,4];if(i=o[s(2069)],n.next(i),n.closed)return[2];u[s(846)]=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=u[s(1212)](),x={error:a},[3,11];case 6:return u[s(560)][s(591)]([6,,9,10]),o&&!o[s(1476)]&&(r=t[s(1483)])?[4,r[s(1020)](t)]:[3,8];case 7:u[s(1212)](),u[s(846)]=8;case 8:return[3,10];case 9:if(x)throw x.error;return[7];case 10:return[7];case 11:return n.complete(),[2]}})})}function J0(e,n,t,o,x){const r=c;o===void 0&&(o=0),x===void 0&&(x=!1);var i=n[r(831)](function(){const a=r;t(),x?e.add(this[a(831)](null,o)):this[a(622)]()},o);if(e[r(1923)](i),!x)return i}function ei(e,n){return n===void 0&&(n=0),rn(function(t,o){t[_0x31ec(1743)](an(o,function(r){return J0(o,e,function(){return o[_0x31ec(1049)](r)},n)},function(){return J0(o,e,function(){return o[_0x31ec(1909)]()},n)},function(r){return J0(o,e,function(){return o[_0x31ec(541)](r)},n)}))})}function ni(e,n){return n===void 0&&(n=0),rn(function(t,o){o.add(e.schedule(function(){return t.subscribe(o)},n))})}function hl(e,n){const t=c;return cn(e)[t(726)](ni(n),ei(n))}function gl(e,n){return cn(e).pipe(ni(n),ei(n))}function bl(e,n){return new y0(function(t){const o=_0x31ec;var x=0;return n[o(831)](function(){const r=o;x===e[r(1115)]?t[r(1909)]():(t.next(e[x++]),!t[r(550)]&&this.schedule())})})}function yl(e,n){return new y0(function(t){var o;return J0(t,n,function(){o=e[_r](),J0(t,n,function(){const x=_0x31ec;var r,i,a;try{r=o.next(),i=r[x(2069)],a=r[x(1476)]}catch(u){t[x(541)](u);return}a?t[x(1909)]():t[x(1049)](i)},0,!0)}),function(){const x=_0x31ec;return We(o?.[x(1483)])&&o[x(1483)]()}})}function ti(e,n){const t=c;if(!e)throw new Error(t(1995));return new y0(function(o){J0(o,n,function(){const x=_0x31ec;var r=e[Symbol[x(509)]]();J0(o,n,function(){const i=x;r[i(1049)]()[i(2181)](function(a){const u=i;a[u(1476)]?o.complete():o[u(1049)](a[u(2069)])})},0,!0)})})}function ml(e,n){return ti(Qr(e),n)}function wl(e,n){if(e!=null){if(Zr(e))return hl(e,n);if(Wr(e))return bl(e,n);if(Xr(e))return gl(e,n);if(Kr(e))return ti(e,n);if(Jr(e))return yl(e,n);if(Fr(e))return ml(e,n)}throw Rr(e)}function Zt(e,n){return n?wl(e,n):cn(e)}function p0(){const e=c;for(var n=[],t=0;t<arguments[e(1115)];t++)n[t]=arguments[t];var o=il(n);return Zt(n,o)}function e0(e,n){var t=We(e)?e:function(){return e},o=function(x){return x[_0x31ec(541)](t())};return new y0(o)}function vl(e){return e instanceof Date&&!isNaN(e)}var pl=eo(function(e){return function(t){const o=_0x31ec;t===void 0&&(t=null),e(this),this.message="Timeout has occurred",this[o(1907)]=o(1858),this[o(1132)]=t}});function zl(e,n){const t=c;var o=vl(e)?{first:e}:{each:e},x=o[t(1897)],r=o[t(2156)],i=o.with,a=i===void 0?Cl:i,u=o[t(1154)],s=u===void 0?xl:u,d=o.meta,f=d===void 0?null:d;if(x==null&&r==null)throw new TypeError(t(1209));return rn(function(b,g){const w=t;var h,v,M=null,y=0,m=function(p){v=J0(g,s,function(){const z=_0x31ec;try{h[z(622)](),cn(a({meta:f,lastValue:M,seen:y})).subscribe(g)}catch(I){g[z(541)](I)}},p)};h=b.subscribe(an(g,function(p){const z=_0x31ec;v?.unsubscribe(),y++,g[z(1049)](M=p),r>0&&m(r)},void 0,void 0,function(){const p=_0x31ec;!v?.[p(550)]&&v?.[p(622)](),M=null})),!y&&m(x!=null?typeof x===w(552)?x:+x-s.now():r)})}function Cl(e){throw new pl(e)}function Kt(e,n){return rn(function(t,o){const x=_0x31ec;var r=0;t[x(1743)](an(o,function(i){const a=x;o.next(e[a(1020)](n,i,r++))}))})}function Ml(e,n,t,o,x,r,i,a){const u=c;var s=[],d=0,f=0,b=!1,g=function(){const v=_0x31ec;b&&!s[v(1115)]&&!d&&n[v(1909)]()},w=function(v){return d<o?h(v):s.push(v)},h=function(v){const M=_0x31ec;d++;var y=!1;cn(t(v,f++))[M(1743)](an(n,function(m){n[M(1049)](m)},function(){y=!0},void 0,function(){if(y)try{d--;for(var m=function(){var z=s[_0x31ec(407)]();i||h(z)};s.length&&d<o;)m();g()}catch(p){n.error(p)}}))};return e[u(1743)](an(n,w,function(){b=!0,g()})),function(){}}function ro(e,n,t){return t===void 0&&(t=1/0),We(n)?ro(function(o,x){return Kt(function(r,i){return n(o,r,x,i)})(cn(e(o,x)))},t):(typeof n=="number"&&(t=n),rn(function(o,x){return Ml(o,x,e,t)}))}function Rt(e){return rn(function(n,t){const o=_0x31ec;var x=null,r=!1,i;x=n[o(1743)](an(t,void 0,void 0,function(a){const u=o;i=cn(e(a,Rt(e)(n))),x?(x[u(622)](),x=null,i.subscribe(t)):r=!0})),r&&(x[o(622)](),x=null,i.subscribe(t))})}function Bl(e,n,t){var o=We(e)||n||t?{next:e,error:n,complete:t}:e;return o?rn(function(x,r){const i=_0x31ec;var a;(a=o.subscribe)===null||a===void 0||a.call(o);var u=!0;x[i(1743)](an(r,function(s){const d=i;var f;(f=o[d(1049)])===null||f===void 0||f.call(o,s),r.next(s)},function(){const s=i;var d;u=!1,(d=o[s(1909)])===null||d===void 0||d[s(1020)](o),r.complete()},function(s){const d=i;var f;u=!1,(f=o[d(541)])===null||f===void 0||f[d(1020)](o,s),r[d(541)](s)},function(){const s=i;var d,f;u&&((d=o.unsubscribe)===null||d===void 0||d[s(1020)](o)),(f=o[s(1094)])===null||f===void 0||f[s(1020)](o)}))}):Or}function io(e){const n=c;return encodeURIComponent((e||"")[n(1601)]()||n(1042))}function Dl(e){const n=c;return e[n(990)]==="external"?e[n(473)]+n(1129)+io(e[n(1698)]??""):e[n(473)]+"::"+e.eventType}function xi(e,n){return e+":"+n}class kn{static[c(858)];[c(491)]=new Map;[c(1270)]=new Map;eventBlocks=new Map;[c(1032)]=new Map;[c(2009)];constructor(){}static getInstance(){const n=c;return!kn[n(858)]&&(kn[n(858)]=new kn),kn[n(858)]}registerEventBlock(n){const t=c;this[t(1336)][t(848)](n.id,n)}unregisterEventBlock(n){this[c(1336)].delete(n)}[c(2178)](n){return this[c(1336)].get(n)}[c(1282)](n){const t=c;this[t(2009)]=n}[c(510)](n){const t=c;if(!n)return;const o=this[t(2009)];this[t(2009)]={dataRequest:{...o?.[t(1525)],...n[t(1525)]},external:{...o?.external,...n[t(568)]}}}[c(1393)](n){const t=c,o=this.defaultRuntimeHandlers;if(!(!o&&!n))return{dataRequest:{...o?.dataRequest,...n?.[t(1525)]},external:{...o?.[t(568)],...n?.[t(568)]}}}[c(1379)](n){const t=c,o=this[t(1270)][t(1187)](n.id);o&&(o[t(622)](),this[t(1270)][t(1611)](n.id)),this[t(491)][t(1611)](n.id)}bindNodeEvent(n){const t=c,o=Dl(n),x=this[t(1032)][t(1187)](o);x&&x.id!==n.id&&this[t(1379)](x),this.nodeEventBindings[t(848)](o,n),!this.eventSubjects[t(1696)](n.id)&&this[t(1606)](n)}[c(1577)](n,t,o){const x=c;if(t===x(568)){const u=n+x(1129)+io(o??""),s=this.nodeEventBindings[x(1187)](u);s&&(this[x(1379)](s),this.nodeEventBindings[x(1611)](u));return}const r=n+"::"+t,i=xi(n,t),a=this[x(1032)].get(r)??this[x(1032)][x(1187)](i);a&&(this.disposeEventRootPipeline(a),this.nodeEventBindings[x(1611)](r),this[x(1032)][x(1611)](i))}unbindAllForNode(n){const t=c,o=[];this[t(1032)].forEach((x,r)=>{const i=t;x[i(473)]===n&&o[i(591)]({key:r,root:x})}),o[t(643)](({key:x,root:r})=>{const i=t;this[i(1379)](r),this[i(1032)].delete(x)})}getNodeEventBindings(n){const t=c,o=[];return this.nodeEventBindings[t(643)](x=>{x[t(473)]===n&&o.push(x)}),o}[c(1882)](n,t,o){const x=c,r=n+"::"+t,i=this[x(1032)][x(1187)](r)??this[x(1032)][x(1187)](xi(n,t));if(!i||!i[x(944)])return p0({success:!0,result:null,path:[],duration:0});if(!this.eventSubjects.get(i.id))return e0(()=>new Error(x(405)+r));const u=Date[x(2044)](),s={...o,executionPath:o[x(1735)]||[],runtimeHandlers:this[x(1393)](o[x(851)])};return this[x(1301)](i,s)[x(726)](Kt(d=>({success:!0,result:d,path:s.executionPath,duration:Date[x(2044)]()-u})),Rt(d=>p0({success:!1,error:d[x(1974)]||x(1713),path:s[x(1735)],duration:Date[x(2044)]()-u})))}[c(741)](n,t,o){const x=c,r=n+x(1129)+io(t),i=this.nodeEventBindings.get(r);if(!i||!i[x(944)])return p0({success:!0,result:null,path:[],duration:0});if(!this.eventSubjects[x(1187)](i.id))return e0(()=>new Error("Event flow not initialized for "+r));const u=Date[x(2044)](),s={...o,executionPath:o[x(1735)]||[],runtimeHandlers:this[x(1393)](o[x(851)])};return this.executeEventFlow(i,s).pipe(Kt(d=>({success:!0,result:d,path:s[x(1735)],duration:Date[x(2044)]()-u})),Rt(d=>p0({success:!1,error:d[x(1974)]||x(1713),path:s.executionPath,duration:Date.now()-u})))}[c(1606)](n){const t=c,o=new Hr;this[t(491)].set(n.id,o)}executeEventFlow(n,t){const o=c,{nodes:x,edges:r}=n[o(959)];if(x[o(1115)]===0)return p0(null);const i=x[o(2191)](a=>a[o(725)][o(1115)]===0);return i[o(1115)]===0?e0(()=>new Error(o(1532))):this[o(1219)](i,x,r,t,{})}[c(1219)](n,t,o,x,r){const i=c;if(n.length===0)return p0(r);const a=n[i(477)](u=>this[i(1855)](u,x,r).pipe(Bl(s=>{const d=i;r[u.id]=s,x.executionPath[d(591)](u.id)})));return Zt(a).pipe(ro(u=>u,1),Kt(()=>{const u=i,s=new Set;return n[u(643)](f=>{const b=u;f[b(1757)][b(643)](g=>{const w=b,h=t[w(581)](v=>v.id===g);h&&h[w(725)][w(576)](M=>r[M]!==void 0)&&s[w(1923)](g)})}),t[u(2191)](f=>s.has(f.id))}),ro(u=>u[i(1115)]>0?this.executeFlowNodes(u,t,o,x,r):p0(r)),zl(3e4),Rt(u=>{const s=i;return console[s(541)](s(1861),u),e0(()=>u)}))}[c(2036)](n){const t=c;return this[t(1336)][t(1187)](n.eventBlockId)??n[t(1074)][t(1595)]}[c(1133)](n,t,o){return n.replace(/\{\{\s*([^}]+?)\s*\}\}/g,(x,r)=>{const i=_0x31ec,a=String(r)[i(1601)]();if(a[i(1138)]("$")){const s=this.getValueFromPath(o,a.slice(1));return s==null?"":String(s)}const u=t[a];return u==null?"":String(u)})}[c(2211)](n,t,o){const x=c,r=n[x(623)];if(!r)return e0(()=>new Error("内置动作未选择类型"));if(r===x(2173)){const i=n[x(1635)]??{},a=String(i[x(965)]??""),u=i[x(2115)]??x(1132),s=i[x(859)],d=this[x(1133)](a,o,t);if(!d[x(1601)]())return e0(()=>new Error(x(1626)));try{const f={type:u,content:d};if(s!=null&&s!==""){const b=Number(s);!Number[x(1930)](b)&&(f[x(859)]=b)}return C[x(1974)].open(f),p0({ok:!0,builtinId:r,content:d,level:u})}catch(f){return e0(()=>f)}}if(r==="switchCanvas"){const i=n[x(1635)]??{},a=String(i.targetCanvasId??"")[x(1601)]();if(!a)return e0(()=>new Error(x(619)));const u=t[x(1121)]??t.switchCanvas;if(!u)return e0(()=>new Error(x(1876)));try{return u(a),p0({ok:!0,builtinId:r,targetCanvasId:a,withHistory:!!t[x(1121)]})}catch(s){return e0(()=>s)}}return e0(()=>new Error("未知内置动作: "+String(r)))}invokeRuntimeHandler(n,t,o){try{const x=n(t,o);return x instanceof Promise?Zt(x):p0(x)}catch(x){return e0(()=>x)}}[c(1855)](n,t,o){const x=c,r=this[x(2036)](n);if(!r)return e0(()=>new Error("Event block not found: "+n[x(1527)]));const i=this[x(1793)](n,t,o),a=r[x(1880)]??x(2014);if(a===x(1525)){const u=(r[x(488)]||"")[x(1601)]();if(!u)return e0(()=>new Error(x(583)));const s=t[x(851)]?.dataRequest?.[u];return s?this[x(1800)](s,t,i):e0(()=>new Error(x(1414)+u))}if(a===x(568)){const u=(r[x(1491)]||"").trim();if(!u)return e0(()=>new Error(x(911)));const s=t.runtimeHandlers?.[x(568)]?.[u];return s?this[x(1800)](s,t,i):e0(()=>new Error(x(1348)+u))}if(a===x(918))return this[x(2211)](r,t,i);try{const u=new Function(x(1771),"context",x(1097),r[x(2201)]),s=u(t.triggerNode,t,i);return s instanceof Promise?Zt(s):p0(s)}catch(u){return e0(()=>u)}}[c(1793)](n,t,o){const x=c,r={$event:t.originalEvent,$data:t.data,$node:t[x(378)]},{inputMapping:i}=n[x(1074)];return i&&Object[x(690)](i)[x(643)](([a,u])=>{const s=x;if(u[s(1138)]("$prev.")){const d=u[s(890)](s(1192),"");r[a]=o[d]}else if(u[s(1138)]("$")){const d=u[s(2051)](1);r[a]=this[s(1640)](t,d)}else r[a]=u}),r}getValueFromPath(n,t){const o=c;return t[o(1325)](".")[o(1267)]((x,r)=>{if(x!==null&&typeof x===o(704)&&r in x)return x[r]},n)}[c(2113)](){const n=c;this[n(1270)][n(643)](t=>t[n(622)]()),this[n(1270)][n(1021)](),this[n(491)][n(1021)](),this.nodeEventBindings[n(1021)]()}}const In=kn[c(1689)](),oi=({node:e,children:n,runtimeHandlers:t,flowContextData:o})=>{const x=c,{eventFlow:r,switchCanvas:i,jumpToCanvas:a}=$e(),u=D[x(2134)](null),s=D[x(1832)](()=>{const f=x;return r[f(2162)][f(2191)](b=>b[f(473)]===e.id&&b[f(944)])},[r[x(2162)],e.id]),d=D.useCallback(f=>b=>{const g=_0x31ec,w=s().filter(v=>v[g(990)]===f);if(w[g(1115)]===0)return;f!==g(1795)&&f!=="mouseLeave"&&b[g(875)](),b[g(655)]();const h=o&&typeof o===g(704)?{...o}:{};w[g(643)](v=>{const M=g;In[M(1882)](e.id,f,{triggerNode:e,originalEvent:b,data:h,runtimeHandlers:t,switchCanvas:i,jumpToCanvas:a})[M(1743)]({next:y=>{const m=M;!y[m(2103)]&&console[m(541)](m(1764),y[m(541)])},error:y=>{console.error(M(1770),y)}})})},[s,e,t,o]);return D.useEffect(()=>{const f=x;return s()[f(643)](g=>{In.bindNodeEvent(g)}),()=>{In.unbindAllForNode(e.id)}},[s,e.id]),D[x(713)](()=>{const f=x,b=u[f(2225)];if(!b)return;const g={click:d(f(919)),mousedown:d(f(638)),mouseup:d(f(1240)),dblclick:d(f(1479)),mouseover:d(f(1795)),mouseleave:d("mouseLeave"),mouseenter:d("mouseEnter"),contextmenu:d("contextMenu")};return Object.entries(g)[f(643)](([w,h])=>{b.addEventListener(w,h,!0)}),()=>{Object[f(690)](g).forEach(([h,v])=>{b.removeEventListener(h,v,!0)})}},[d]),D[x(1621)](n,{ref:f=>{const b=x;u.current=f;const g=n[b(1773)];typeof g===b(1701)?g(f):g&&b(2225)in g&&(g[b(2225)]=f)}})},{Text:ri}=C.Typography,ii=(e,n)=>{const t=c;if(!n||!e)return{value:void 0};if(Array[t(1405)](e)){const o=e[t(581)](x=>x[t(781)]===n);if(o)return{value:o[t(2069)],unit:o[t(2092)]}}else if(typeof e===t(704)){const o=n[t(1325)](".");let x=e;for(const r of o){if(x===null||typeof x!==t(704))return{value:void 0};x=x[r]}if(x!==void 0)return{value:x,unit:e[t(2092)]}}return{value:void 0}};function Ll(e){return Array.isArray(e)}const Nl=(e,n,t)=>{const o=c,x=e[o(965)]||{},{valueSourceCode:r,boundDatasetId:i,boundDatasetBindCode:a,boundDatasetBindValue:u}=x;if(!r)return{value:void 0};if(i){const s=n.find(d=>d.id===i);if(s){let d;Ll(s[o(452)])?a!=null&&u!=null?d=s[o(452)].find(b=>b[a]===u)||{}:d={}:d=s[o(452)];const f=t&&typeof t=="object"?{...d,...t}:d;return ii(f,r)}}return ii(t,r)},Sl=(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(601)](n??2)},kl=(e,n,t,o,x)=>{const r=c;switch(e[r(402)]){case"IMAGE":const i=e,a=i[r(1113)],u=i[r(1105)];let s=i.src;return u&&s&&s.includes(r(410))&&(e[r(1907)]==="矩形"?s=r(2056)+encodeURIComponent(r(506)+u+r(1780)):e[r(1907)]==="圆形"?s=r(2056)+encodeURIComponent(r(1749)+u+r(881)):e[r(1907)]===r(1089)&&(s=r(2056)+encodeURIComponent(r(506)+u+r(1755)))),l.jsx(r(1022),{className:r(1849),style:{backgroundColor:a},children:s?l[r(822)](r(1816),{src:s,alt:e.name,style:{width:r(2017),height:r(2017),objectFit:r(617)}}):l[r(822)]("div",{className:r(1215),children:l[r(822)](r(1033),{className:r(1514),children:r(1688)})})});case"TEXT":const d=e,{label:f,value:b,valueSourceCode:g,unit:w,decimals:h,labelStyle:v,valueStyle:M,customStyle:y}=d[r(965)]||{},{value:m,unit:p}=g?Nl(d,x||[],n):{value:void 0,unit:void 0},z=m!==void 0?m:b,I=Sl(z,h),O=w||p||"";return l[r(1183)]("div",{className:"w-full h-full flex flex-col justify-center gap-1",style:{...y},children:[f&&l.jsx(ri,{style:{fontSize:14,fontWeight:r(2028),color:r(1126),textAlign:r(2039),...v},children:f}),I&&l[r(1183)](ri,{style:{fontSize:14,color:"#1890ff",textAlign:r(2039),...M},children:[I,O?" "+O:""]})]});case r(769):const H=e,{thickness:T=2,color:j=r(1799),dashed:q=!1,lineType:V=q?"dashed":r(823),lineWeight:X=T,startX:G=0,startY:L=0,endX:N=100,endY:B=0}=H[r(2217)]||{},E=F=>{const $=r,oe=Math.max(X,1);switch(F){case"solid":return"";case $(575):return oe*8+","+oe*4;case $(1084):return oe*12+","+oe*3+","+oe*2+","+oe*3;case $(1141):return oe*12+","+oe*3+","+oe*2+","+oe*3+","+oe*2+","+oe*3;case $(1970):return oe+","+oe*3;case $(839):return oe*8+","+oe*3+","+oe+","+oe*3;default:return""}},Y=E(V),P=t?r(829):j;return l[r(822)]("div",{className:"w-full h-full relative",style:{overflow:r(428)},children:l[r(1183)](r(1699),{className:r(863),width:"100%",height:r(2017),style:{overflow:r(428),pointerEvents:"none"},children:[l[r(822)](r(1188),{x1:G,y1:L,x2:N,y2:B,stroke:"transparent",strokeWidth:Math[r(1824)](X,10),strokeLinecap:r(1892),strokeLinejoin:r(1892),style:{pointerEvents:r(1161),cursor:r(909)}}),l.jsx(r(1188),{x1:G,y1:L,x2:N,y2:B,stroke:P,strokeWidth:X,strokeDasharray:Y,strokeLinecap:r(1892),strokeLinejoin:r(1892),style:{pointerEvents:r(559)}})]})});case r(606):const J=e;return J[r(1552)]?J[r(1552)]({}):l[r(822)](r(1022),{className:r(1257),children:l.jsx(r(1033),{className:r(1514),children:r(1802)})});default:return l[r(822)](r(1022),{className:r(1257),children:l[r(822)]("span",{className:r(1514),children:r(1302)})})}},Il=({node:e,isSelected:n=!1,onClick:t,onMouseDown:o,data:x,onUpdateNode:r,scale:i=1,enableEventFlow:a=!1,eventFlowData:u})=>{const s=c,{normalStyle:d,controlInfo:f}=e,{isClickable:b,isDraggable:g,isResizable:w}=f,h=e[s(2161)],v=$e(A=>A[s(474)]),M=$e(A=>A.updateNode),y=D.useRef(t);D[s(713)](()=>{const A=s;y[A(2225)]=t},[t]);const[m,p]=D[s(955)](null),z=D.useRef(null),I=D.useRef(null),O=D[s(2134)](null),H=D[s(2134)](null),T=D[s(2134)](null),[j,q]=D[s(955)](null),V=D.useRef(null),X=D[s(2134)](null),G=D[s(2089)](()=>{const A=s,R=e[A(2161)][A(761)];if(R.length===0)return;const te=Dr(R,x,v);return te||R[0]},[e[s(2161)][s(761)],x,v]),L=D[s(2134)](e[s(2161)][s(545)]);D[s(713)](()=>{const A=s;L.current=e[A(2161)].currentStatusId},[e.id]),D[s(713)](()=>{const A=s,R=G?.id;R!==void 0&&L.current!==R&&(L[A(2225)]=R,M(e.id,{contentInfo:{...e[A(2161)],currentStatusId:R}}))},[G?.id,e.id,M]);const N=G?.[s(1801)],B=N?.type===s(769),E=B?N[s(2217)]:null,Y=d.scale??1,P=(d[s(1142)]||100)*Y,J=(d.height||100)*Y,F=D.useCallback(()=>{const A=s,R=T[A(2225)]?.[A(1077)](A(1394));if(!R)return i;const te=R[A(2226)](),ne=parseFloat(R[A(1482)][A(1142)]);return ne?te[A(1142)]/ne:i},[i]),$=D[s(1832)]((A,R)=>{const te=s;A[te(655)](),A.preventDefault();const ne=E?.[te(685)]||0,W=E?.[te(501)]||0,re=E?.endX||0,ze=E?.[te(870)]||0,Me=d.x||0,Ie=d.y||0,Ee=Math[te(1824)]((E?.[te(1318)]||E?.[te(1103)]||2)*2,4),Ye=Math.min(ne,re),Se=Math.min(W,ze),De=Math[te(1824)](ne,re),Ve=Math.max(W,ze),je=Math[te(1824)](De-Ye,Ee),Xe=Math[te(1824)](Ve-Se,Ee);z[te(2225)]={mouseX:A[te(866)],mouseY:A.clientY,startX:ne,startY:W,endX:re,endY:ze,nodeX:Me,nodeY:Ie};const Ze=Math[te(1666)](ne,re),n0=Math.min(W,ze);O[te(2225)]={nodeX:Me+Ze,nodeY:Ie+n0,width:je,height:Xe,startX:ne-Ze,startY:W-n0,endX:re-Ze,endY:ze-n0},I[te(2225)]=G||null,p(R)},[E,d.x,d.y,G]);D[s(713)](()=>{const A=s;if(!m||!B||!E||!r)return;const R=ne=>{const W=_0x31ec,re=z[W(2225)];if(!re||!T.current)return;const ze=F(),Me=(ne.clientX-re.mouseX)/ze,Ie=(ne[W(1090)]-re[W(1559)])/ze;let Ee=re.startX,Ye=re[W(501)],Se=re[W(2084)],De=re[W(870)],Ve=re[W(1427)],je=re.nodeY;m===W(778)?(Ee=re[W(685)]+Me,Ye=re[W(501)]+Ie,Ee<0&&(Ve=re[W(1427)]+Ee,Se=re[W(2084)]-Ee,Ee=0),Ye<0&&(je=re[W(1884)]+Ye,De=re[W(870)]-Ye,Ye=0)):(Se=re[W(2084)]+Me,De=re[W(870)]+Ie,Se<0&&(Ve=re[W(1427)]+Se,Ee=re[W(685)]-Se,Se=0),De<0&&(je=re[W(1884)]+De,Ye=re.startY-De,De=0));const Xe=Math[W(1824)]((E[W(1318)]||2)*2,4),Ze=Math[W(1666)](Ee,Se),n0=Math[W(1666)](Ye,De),m0=Math[W(1824)](Ee,Se),L0=Math[W(1824)](Ye,De),r0=Math[W(1892)](Ve+Ze),l0=Math.round(je+n0),i0=Math[W(1892)](Ee-Ze),d0=Math.round(Ye-n0),b0=Math[W(1892)](Se-Ze),q0=Math.round(De-n0),tn=Math[W(1892)](Math[W(1824)](m0-Ze,Xe)),W0=Math[W(1892)](Math[W(1824)](L0-n0,Xe));O[W(2225)]={nodeX:r0,nodeY:l0,width:tn,height:W0,startX:i0,startY:d0,endX:b0,endY:q0};const Re=T[W(2225)];Re[W(1482)][W(2039)]=r0+"px",Re[W(1482)].top=l0+"px",Re.style[W(1142)]=tn+"px",Re[W(1482)][W(505)]=W0+"px",Re[W(1609)]("svg line")[W(643)](N0=>{const Zn=W;N0[Zn(1894)]("x1",String(i0)),N0[Zn(1894)]("y1",String(d0)),N0.setAttribute("x2",String(b0)),N0.setAttribute("y2",String(q0))});const t0=Re.querySelector(W(1539)),j0=Re.querySelector(W(1575));t0&&(t0[W(1482)][W(2039)]=i0-6+"px",t0[W(1482)][W(709)]=d0-6+"px"),j0&&(j0[W(1482)][W(2039)]=b0-6+"px",j0.style[W(709)]=q0-6+"px")},te=()=>{const ne=_0x31ec,W=O[ne(2225)];if(!W||!r){p(null),z[ne(2225)]=null,O[ne(2225)]=null,I[ne(2225)]=null;return}const re=$e.getState()[ne(821)][ne(581)](Se=>Se.id===e.id),ze=re?.[ne(2161)][ne(761)]??e.contentInfo.statusList,Me=I[ne(2225)],Ie=Me?.id??ze[ne(581)](Se=>Se[ne(1801)][ne(402)]===ne(769))?.id,Ee=ze[ne(477)](Se=>{const De=ne;if(Se[De(1801)][De(402)]!==De(769)||Se.id!==Ie)return Se;const Ve=Se[De(1801)];return{...Se,material:{...Ve,config:{...Ve.config,startX:Math[De(1892)](W[De(685)]),startY:Math[De(1892)](W.startY),endX:Math[De(1892)](W[De(2084)]),endY:Math.round(W[De(870)])}}}}),Ye=re?.[ne(2161)]??h;r(e.id,{normalStyle:{x:Math[ne(1892)](W[ne(1427)]),y:Math[ne(1892)](W.nodeY),width:Math.round(W.width),height:Math[ne(1892)](W[ne(505)])},contentInfo:{...Ye,statusList:Ee}}),p(null),z[ne(2225)]=null,O[ne(2225)]=null,I[ne(2225)]=null};return window.addEventListener(A(1925),R),window[A(1776)]("mouseup",te),()=>{const ne=A;window[ne(782)]("mousemove",R),window[ne(782)](ne(1650),te)}},[m,B,E,e.id,d,h,e[s(2161)][s(761)],r,F]),D[s(713)](()=>{const A=s;if(!j||!r)return;const R=ne=>{const W=_0x31ec;if(!T[W(2225)])return;const re=F(),ze=(ne.clientX-j[W(685)])/re,Me=(ne[W(1090)]-j[W(501)])/re,Ie=j[W(1057)],Ee=Ie*Math.PI/180,Ye=Math[W(1542)](Ee),Se=Math[W(2210)](Ee),De=ze*Ye+Me*Se,Ve=-ze*Se+Me*Ye;let je=j[W(1003)],Xe=j.startHeight,Ze=j[W(928)],n0=j[W(1702)];switch(j.corner){case"se":je=Math[W(1824)](20,j.startWidth+De),Xe=Math[W(1824)](20,j.startHeight+Ve);break;case"sw":je=Math[W(1824)](20,j[W(1003)]-De),Xe=Math[W(1824)](20,j[W(1467)]+Ve),Ze=j[W(928)]+(j[W(1003)]-je);break;case"ne":je=Math.max(20,j[W(1003)]+De),Xe=Math.max(20,j[W(1467)]-Ve),n0=j[W(1702)]+(j[W(1467)]-Xe);break;case"nw":je=Math.max(20,j.startWidth-De),Xe=Math[W(1824)](20,j.startHeight-Ve),Ze=j[W(928)]+(j[W(1003)]-je),n0=j.startNodeY+(j[W(1467)]-Xe);break}if(Ie!==0){let L0=0,r0=0,l0=0,i0=0;switch(j[W(603)]){case"se":L0=0,r0=0,l0=0,i0=0;break;case"sw":L0=j[W(1003)],r0=0,l0=je,i0=0;break;case"ne":L0=0,r0=j.startHeight,l0=0,i0=Xe;break;case"nw":L0=j.startWidth,r0=j[W(1467)],l0=je,i0=Xe;break}const d0=L0-j[W(1003)]/2,b0=r0-j[W(1467)]/2,q0=d0*Ye-b0*Se,tn=d0*Se+b0*Ye,W0=l0-je/2,Re=i0-Xe/2,yn=W0*Ye-Re*Se,t0=W0*Se+Re*Ye;Ze=j[W(928)]+j.startWidth/2-je/2+q0-yn,n0=j[W(1702)]+j[W(1467)]/2-Xe/2+tn-t0}H.current={x:Math[W(1892)](Ze),y:Math[W(1892)](n0),width:Math[W(1892)](je),height:Math.round(Xe)};const m0=T.current;m0[W(1482)][W(2039)]=Math[W(1892)](Ze)+"px",m0[W(1482)][W(709)]=Math[W(1892)](n0)+"px",m0[W(1482)][W(1142)]=Math[W(1892)](je)+"px",m0[W(1482)][W(505)]=Math.round(Xe)+"px"},te=()=>{const ne=_0x31ec,W=H.current;W&&r(e.id,{normalStyle:{...d,x:Math[ne(1892)](W.x),y:Math[ne(1892)](W.y),width:Math[ne(1892)](W.width),height:Math[ne(1892)](W[ne(505)])}}),q(null),H[ne(2225)]=null};return window[A(1776)](A(1925),R),window[A(1776)]("mouseup",te),()=>{const ne=A;window[ne(782)](ne(1925),R),window[ne(782)](ne(1650),te)}},[j,r,e.id,d,F]);const oe=D[s(1832)]((A,R)=>{const te=s;A[te(655)](),A.preventDefault(),q({corner:R,startX:A.clientX,startY:A[te(1090)],startWidth:d[te(1142)]||100,startHeight:d[te(505)]||100,startNodeX:d.x||0,startNodeY:d.y||0,startRotate:d[te(1814)]||0})},[d[s(1142)],d[s(505)],d.x,d.y,d[s(1814)]]),ie=D[s(1832)](A=>{const R=s;A.stopPropagation(),A[R(875)]();const te=T[R(2225)]?.getBoundingClientRect();if(!te)return;V[R(2225)]={startX:A[R(866)],startY:A[R(1090)],startAngle:d[R(1814)]||0,centerX:te[R(2039)]+te.width/2,centerY:te.top+te.height/2};const ne=d[R(1844)]||"",W=Me=>{const Ie=R;T.current&&(T.current[Ie(1482)][Ie(1844)]=ne?Ie(926)+Me+"deg) "+ne:Ie(926)+Me+Ie(2145))};W(d.rotate||0);const re=Me=>{const Ie=R;if(!V[Ie(2225)])return;const Ee=Me[Ie(866)]-V.current[Ie(1541)],Ye=Me[Ie(1090)]-V.current[Ie(1568)];let De=(Math[Ie(2011)](Ye,Ee)*(180/Math.PI)+90)%360;De<0&&(De+=360),X.current=De,W(De)},ze=()=>{const Me=R,Ie=X[Me(2225)]??V[Me(2225)][Me(2223)];if(X[Me(2225)]=null,V.current=null,r){const Ee=e.normalStyle;r(e.id,{normalStyle:{...Ee,rotate:Math[Me(1892)](Ie)}})}T.current?.style[Me(574)]("transform"),window[Me(782)](Me(1925),re),window.removeEventListener(Me(1650),ze)};window[R(1776)](R(1925),re),window.addEventListener(R(1650),ze)},[d.rotate,d[s(1844)],r,e.id,e[s(450)]]),ce=e.type===s(1070),fe=d[s(1844)]||"",pe=d.rotate||0,se={position:"absolute",left:d.x||0,top:d.y||0,width:P,height:J,background:ce?s(2199):d.background||s(2199),backgroundImage:ce?void 0:d[s(1762)]?s(1502)+d[s(1762)]+")":void 0,backgroundSize:s(1860),backgroundPosition:"center",padding:Array[s(1405)](d.padding)?d[s(618)][s(894)](s(906))+"px":d[s(618)],margin:Array[s(1405)](d[s(508)])?d.margin[s(894)]("px ")+"px":d.margin,borderRadius:ce?void 0:d[s(1883)],border:B||ce?"none":n?s(939):d.border||s(777),outline:n&&ce&&!B?s(939):void 0,pointerEvents:s(1891),opacity:d[s(1983)]??1,transform:B?fe||void 0:fe?s(926)+pe+s(1954)+fe:s(926)+pe+s(2145),transformOrigin:s(1767),zIndex:n?1e3:d[s(441)]??1,cursor:s(g&&!m?2100:b?909:1815),boxSizing:s(1444),overflow:n||B||ce?s(428):"hidden"},ee={width:s(2017),height:s(2017),position:s(554),transformOrigin:"center center",...d.flipX||d[s(1005)]?{transform:s(1474)+(d.flipX?-1:1)+") scaleY("+(d[s(1005)]?-1:1)+")"}:{}},le=E?{x:E[s(685)]||0,y:E.startY||0}:{x:0,y:0},be=E?{x:E.endX||0,y:E[s(870)]||0}:{x:0,y:0},U=l[s(1183)](s(1022),{ref:T,"data-node-id":e.id,style:se,onClick:A=>{const R=s;console[R(1028)]("NodeRenderer onClick",e.id,R(2157),b);const te=y[R(2225)];b&&te&&!m&&!j&&!V[R(2225)]&&(A[R(655)](),te(A))},onMouseDown:A=>{g&&o&&!m&&o(A)},children:[n&&!B&&l[s(1183)](l.Fragment,{children:[!ce&&l[s(1183)](l[s(2135)],{children:[l[s(822)]("div",{className:"absolute top-0 left-0 w-3 h-3 bg-blue-500 border-2 border-white rounded-full",style:{zIndex:9999,pointerEvents:s(1891),cursor:s(1091),marginTop:s(1359),marginLeft:s(1359)},onMouseDown:A=>oe(A,"nw"),title:s(735)}),l[s(822)]("div",{className:"absolute top-0 right-0 w-3 h-3 bg-blue-500 border-2 border-white rounded-full",style:{zIndex:9999,pointerEvents:s(1891),cursor:s(1944),marginTop:"-6px",marginRight:s(1359)},onMouseDown:A=>oe(A,"ne"),title:s(735)}),l[s(822)](s(1022),{className:s(1465),style:{zIndex:9999,pointerEvents:"auto",cursor:s(810),marginBottom:"-6px",marginLeft:s(1359)},onMouseDown:A=>oe(A,"sw"),title:s(735)}),l.jsx(s(1022),{className:"absolute bottom-0 right-0 w-3 h-3 bg-blue-500 border-2 border-white rounded-full",style:{zIndex:9999,pointerEvents:s(1891),cursor:s(847),marginBottom:s(1359),marginRight:s(1359)},onMouseDown:A=>oe(A,"se"),title:s(735)})]}),l[s(822)](s(1022),{className:"absolute top-0 left-1/2 w-4 h-4 bg-green-500 border-2 border-white rounded-full",style:{zIndex:9999,pointerEvents:s(1891),cursor:"grab",marginTop:s(2166),transform:s(1588),boxShadow:s(1157)},onMouseDown:A=>ie(A),title:s(376)}),l.jsx("div",{className:"absolute top-0 left-1/2 w-0.5 h-3 bg-green-500",style:{zIndex:9998,pointerEvents:s(559),marginTop:"-14px",transform:s(1588)}}),l[s(1183)]("div",{className:s(1645),children:[e[s(1907)]," ",G?"("+G[s(1907)]+")":""]})]}),n&&B&&E&&r&&l[s(1183)](l.Fragment,{children:[l[s(822)](s(1022),{"data-handle":"start",className:"absolute w-3 h-3 bg-blue-500 border-2 border-white rounded-full cursor-move z-50",style:{left:le.x-6,top:le.y-6,boxShadow:s(1157)},onMouseDown:A=>$(A,s(778)),title:"拖拽调整起点"}),l.jsx("div",{"data-handle":"end",className:s(486),style:{left:be.x-6,top:be.y-6,boxShadow:s(1157)},onMouseDown:A=>$(A,s(2030)),title:s(539)}),l[s(822)](s(1022),{className:s(1645),children:e[s(1907)]})]}),l[s(1183)](s(1022),{style:B?void 0:ee,className:B?"w-full h-full relative":void 0,children:[l[s(822)](s(1022),{className:s(1616),children:N?l[s(822)](s(1022),{className:s(1112),children:kl(N,x,n,e,v)}):ce?null:l[s(822)](s(1022),{className:s(1596),children:s(1558)})}),e.type===s(1070)&&e[s(1450)]&&l.jsx("div",{className:s(1232),children:e[s(1450)][s(477)](A=>l.jsx(s(1022),{className:s(1841),children:l.jsx(ao,{node:A,isSelected:!1,data:x,onUpdateNode:r,scale:i,enableEventFlow:a,eventFlowData:u})},A.id))})]})]});return a?l[s(822)](oi,{node:e,flowContextData:u,children:U}):U},ao=D[c(2149)](Il,(e,n)=>{const t=c,o=e[t(1771)],x=n[t(1771)],r=o.id===x.id&&o[t(450)].x===x[t(450)].x&&o[t(450)].y===x.normalStyle.y&&o.normalStyle[t(1142)]===x[t(450)][t(1142)]&&o.normalStyle[t(505)]===x[t(450)][t(505)]&&o.normalStyle.rotate===x[t(450)][t(1814)]&&o[t(450)][t(1843)]===x.normalStyle[t(1843)]&&o[t(450)][t(1005)]===x[t(450)][t(1005)],i=o[t(2161)]===x[t(2161)],a=JSON[t(681)](e[t(1997)]??null)===JSON[t(681)](n.eventFlowData??null),u=e[t(835)]===n.isSelected&&e[t(745)]===n[t(745)]&&e[t(1031)]===n[t(1031)]&&a,s=g=>{const w=t,h=[];return g[w(2161)]?.[w(761)]?.[w(643)](v=>{const M=w;if(v[M(1801)]?.type==="LINE"){const y=v[M(1801)].config;h[M(591)]({statusId:v.id,startX:y?.[M(685)]??0,startY:y?.[M(501)]??0,endX:y?.endX??100,endY:y?.[M(870)]??0})}}),h},d=s(o),f=s(x);let b=!0;if(d[t(1115)]!==f[t(1115)])b=!1;else for(let g=0;g<d[t(1115)];g++){const w=d[g],h=f[t(581)](v=>v[t(409)]===w[t(409)]);if(!h||w[t(685)]!==h[t(685)]||w[t(501)]!==h[t(501)]||w[t(2084)]!==h[t(2084)]||w.endY!==h[t(870)]){b=!1;break}}return r&&i&&u&&b}),Pl=()=>{const e=c,{root:n,addSiblingGroup:t,removeSiblingGroup:o,updateSiblingGroup:x,addCanvasToSiblingGroup:r,removeCanvasFromSiblingGroup:i,moveCanvasInSiblingGroup:a,nextSiblingCanvas:u,prevSiblingCanvas:s,setActiveSiblingGroup:d}=$e(),f=n.activeSiblingGroupId??null,b=n[e(815)]||[],[g,w]=D[e(955)](b[0]?.id??null),h=D[e(2089)](()=>b[e(581)](j=>j.id===g)||null,[b,g]),[v,M]=D[e(955)](null),[y,m]=D.useState(""),[p,z]=D[e(955)](void 0),I=D[e(2089)](()=>{const j=e;return h?n.canvases.filter(q=>!h.canvasIds[j(600)](q.id)):n[j(693)]},[n[e(693)],h]),O=D[e(1832)](()=>{const j=t();w(j)},[t]),H=D.useCallback(j=>{const q=e,V=y[q(1601)]();if(!V){C[q(1974)].warning(q(1833));return}x(j,{name:V}),M(null),m("")},[y,x]),T=D.useCallback(()=>{!h||!p||(r(h.id,p),z(void 0))},[h,p,r]);return l.jsxs(e(1022),{className:e(1296),style:{minHeight:360},children:[l[e(1183)](e(1022),{className:e(1906),style:{minWidth:220},children:[l[e(1183)]("div",{className:"flex items-center justify-between mb-2",children:[l[e(822)](e(1033),{className:e(494),children:e(1088)}),l.jsx(C.Button,{type:e(1850),size:e(1718),icon:l.jsx(de[e(635)],{}),onClick:O,children:"新建"})]}),b[e(1115)]===0?l[e(822)](C[e(2090)],{description:"暂无同级关系,点击「新建」开始",image:C[e(2090)][e(1203)],style:{marginTop:40}}):l[e(822)](C.List,{size:e(1718),dataSource:b,renderItem:j=>{const q=e,V=j.id===g,X=v===j.id;return l.jsx(C.List.Item,{onClick:()=>{X||w(j.id)},style:{cursor:"pointer",background:V?q(1111):void 0,padding:q(1004)},actions:[X?l.jsx(C[q(1804)],{type:q(1584),size:q(1718),onClick:G=>{G[q(655)](),H(j.id)},children:"保存"}):l.jsx(C[q(1048)],{title:"重命名",children:l[q(822)](C[q(1804)],{type:"text",size:q(1718),icon:l[q(822)](de.EditOutlined,{}),onClick:G=>{const L=q;G[L(655)](),M(j.id),m(j[L(1907)])}})},"rename"),l[q(822)](C[q(1175)],{title:q(1620),okText:"删除",cancelText:"取消",okButtonProps:{danger:!0},onConfirm:G=>{if(G?.[q(655)](),o(j.id),g===j.id){const N=b.filter(B=>B.id!==j.id);w(N[0]?.id??null)}},onCancel:G=>G?.[q(655)](),children:l[q(822)](C[q(1804)],{type:"text",size:q(1718),danger:!0,icon:l.jsx(de[q(2079)],{}),onClick:G=>G[q(655)]()})},"delete")],children:X?l.jsx(C.Input,{autoFocus:!0,size:q(1718),value:y,onChange:G=>m(G[q(1572)][q(2069)]),onPressEnter:()=>H(j.id),onClick:G=>G[q(655)](),style:{width:140}}):l[q(1183)]("span",{className:q(1299),children:[l[q(822)](q(1033),{style:{fontWeight:V?600:400},children:j[q(1907)]}),l.jsx(C[q(2200)],{color:q(2098),children:j[q(532)][q(1115)]}),f===j.id&&l[q(822)](C[q(2200)],{color:q(449),children:q(1774)})]})})}})]}),l[e(822)](e(1022),{className:e(1906),style:{minWidth:280},children:h?l.jsxs(l[e(2135)],{children:[l.jsxs(e(1022),{className:e(1323),children:[l[e(822)](e(1033),{className:"font-semibold text-gray-700",children:e(746)}),l[e(1183)](C.Space,{size:"small",children:[f===h.id?l[e(822)](C[e(1048)],{title:e(1978),children:l[e(822)](C.Button,{size:"small",onClick:()=>d(null),children:e(1971)})}):l[e(822)](C[e(1048)],{title:e(1118),children:l[e(822)](C[e(1804)],{size:e(1718),type:"primary",ghost:!0,disabled:h[e(532)].length===0,onClick:()=>d(h.id),children:"设为活跃组"})}),l.jsx(C[e(1048)],{title:e(889),children:l.jsx(C[e(1804)],{size:e(1718),icon:l.jsx(de[e(2185)],{}),disabled:h[e(532)].length<2,onClick:()=>s(h.id)})}),l[e(822)](C[e(1048)],{title:"翻到下一页(基于当前画布)",children:l[e(822)](C[e(1804)],{size:e(1718),icon:l.jsx(de[e(2018)],{}),disabled:h[e(532)].length<2,onClick:()=>u(h.id)})})]})]}),l[e(1183)](e(1022),{className:e(1144),children:[l[e(822)](C[e(1367)],{placeholder:e(1837),value:p,onChange:z,style:{flex:1},size:"small",disabled:I[e(1115)]===0,options:I[e(477)](j=>({label:j[e(1907)],value:j.id}))}),l[e(822)](C[e(1804)],{size:e(1718),type:"primary",icon:l[e(822)](de[e(635)],{}),disabled:!p,onClick:T,children:"加入"})]}),h[e(532)][e(1115)]===0?l.jsx(C[e(2090)],{description:e(421),image:C[e(2090)][e(1203)],style:{marginTop:40}}):l[e(822)](C[e(795)],{size:e(1718),dataSource:h[e(532)],renderItem:(j,q)=>{const V=e,X=n.canvases[V(581)](N=>N.id===j),G=n[V(661)]===j,L=h[V(532)][V(1115)];return l.jsx(C[V(795)].Item,{style:{padding:V(1004)},actions:[l[V(822)](C.Tooltip,{title:"上移",children:l[V(822)](C[V(1804)],{type:"text",size:"small",icon:l[V(822)](de[V(1935)],{}),disabled:q===0,onClick:()=>a(h.id,j,"up")})},"up"),l[V(822)](C[V(1048)],{title:"下移",children:l.jsx(C.Button,{type:"text",size:V(1718),icon:l[V(822)](de[V(2080)],{}),disabled:q===L-1,onClick:()=>a(h.id,j,V(902))})},V(902)),l.jsx(C.Tooltip,{title:V(836),children:l[V(822)](C[V(1804)],{type:V(1347),size:"small",danger:!0,icon:l[V(822)](de[V(2079)],{}),onClick:()=>i(h.id,j)})},V(670))],children:l[V(1183)](V(1033),{className:V(1299),children:[l[V(822)](C[V(2200)],{children:q+1}),l[V(822)]("span",{style:{fontWeight:G?600:400},children:X?.[V(1907)]??V(1709)+j[V(2051)](0,6)+")"}),G&&l[V(822)](C[V(2200)],{color:"green",children:"当前"})]})})}})]}):l[e(822)](C[e(2090)],{description:e(2222),image:C[e(2090)][e(1203)],style:{marginTop:60}})})]})},Al=[c(829),c(2002),"#faad14",c(570),c(963),c(1293),c(2183),"#fa8c16",c(818),c(1126),c(1929),"#d9d9d9",c(483),c(887),c(389),c(1728)],Pn=({value:e="#1890ff",onChange:n,onChangeComplete:t})=>{const o=c,[x,r]=D[o(955)](!1),[i,a]=D[o(955)](e),u=D.useRef(null);D.useEffect(()=>{a(e)},[e]),D[o(713)](()=>{const d=o,f=b=>{const g=_0x31ec;u[g(2225)]&&!u[g(2225)].contains(b.target)&&(r(!1),t?.({toHexString:()=>i}))};return x&&document[d(1776)](d(1977),f),()=>document[d(782)](d(1977),f)},[x,t,i]);const s=d=>{a(d),n?.({toHexString:()=>d})};return l[o(1183)](o(1022),{ref:u,style:{position:o(554),display:o(2184)},children:[l[o(822)](o(1022),{onClick:()=>r(!x),style:{width:28,height:28,backgroundColor:i,border:o(1893),borderRadius:4,cursor:o(909)}}),x&&l[o(1183)](o(1022),{style:{position:"absolute",top:32,left:0,zIndex:1e3,background:o(1489),padding:8,borderRadius:4,boxShadow:o(962),border:"1px solid #f0f0f0"},children:[l[o(822)](o(1022),{style:{display:"grid",gridTemplateColumns:"repeat(8, 1fr)",gap:4},children:Al[o(477)](d=>l[o(822)]("div",{onClick:()=>{s(d),r(!1),t?.({toHexString:()=>d})},style:{width:20,height:20,backgroundColor:d,border:i===d?"2px solid #1890ff":o(1893),borderRadius:2,cursor:o(909)}},d))}),l.jsx(o(1475),{type:o(551),value:i,onChange:d=>s(d[o(1572)].value),onBlur:()=>t?.({toHexString:()=>i}),style:{width:o(2017),marginTop:8,height:28,border:o(1893),borderRadius:4}})]})]})},{TextArea:El}=C[c(1788)];function jl(e){const n=c;if(!e||!(e instanceof HTMLElement))return!1;const t=e[n(1238)];return!!(t===n(650)||t==="TEXTAREA"||t===n(1953)||t===n(1859)||e.isContentEditable||e.closest(n(749))||e[n(1077)](n(1684))||e[n(1077)]('[role="listbox"]')||e[n(1077)](n(920)))}const ai=({defaultTestData:e,readonly:n=!1,backgroundImageUrl:t,initialViewportWidth:o,initialViewportHeight:x})=>{const r=c,i=D[r(2134)](null),a=D[r(2134)](null),u=D.useRef(null),{nodes:s,selectedNodeId:d,selectedNodeIds:f,mode:b,lineDrawing:g,viewport:w,canvas:h,root:v,setViewport:M,setCanvasConfig:y,addNode:m,selectNode:p,updateNode:z,removeNode:I,bringToFront:O,sendToBack:H,undo:T,redo:j,setMode:q,startLineDrawing:V,endLineDrawing:X,cancelLineDrawing:G,addCanvas:L,removeCanvas:N,switchCanvas:B,updateCanvasName:E,exportCanvas:Y,importCanvas:P,setSelectedNodeIds:J}=$e(),[F,$]=D[r(955)](!1),[,oe]=D[r(955)]({}),ie=D[r(2134)](b);D[r(713)](()=>{const k=r;ie[k(2225)]=b},[b]),D[r(713)](()=>{const k=r;q(k(n?710:1435))},[n,q]);const ce=n&&o&&h[r(1142)]>0?Math[r(1666)](o/h[r(1142)],1):.5,fe=n&&o?1:5,pe=n&&o&&h.width>0?ce:1,se=n&&o?r(705)+o+"-"+(x||r(1891))+r(1759)+h[r(1142)]+"-"+h[r(505)]:r(1815),ee=D.useRef(pe),le=D[r(2134)](!1),be=D[r(2134)]({x:0,y:0}),U=D.useRef({x:0,y:0,newX:0,newY:0}),A=D[r(2134)](null),[R,te]=D[r(955)]({start:null,end:null,isDrawing:!1}),[ne,W]=D[r(955)]({start:null,end:null}),re=f,ze=J;D.useRef(!1);const[Me,Ie]=D[r(955)](!1),[Ee,Ye]=D.useState(!1),[Se,De]=D[r(955)](()=>JSON[r(681)](e??null,null,2)),Ve=D[r(2089)](()=>{const k=r;if(!Ee)return e;try{return JSON[k(1798)](Se)}catch{return e}},[Se,e,Ee]),je=D[r(2089)](()=>{const k=r,S=Ve;if(S!==null&&typeof S===k(704))return S;if(S!==void 0)return{_payload:S}},[Ve]),Xe=D[r(2089)](()=>{const k=r,S=Ve;return S!==null&&typeof S=="object"&&!Array[k(1405)](S)?S:Array.isArray(S)?{_telemetryRows:S}:S==null?{}:{_payload:S}},[Ve]),Ze=D[r(1832)](()=>{const k=r;let S=e;if(Ee)try{S=JSON[k(1798)](Se)}catch{S=e}De(JSON[k(681)](S??null,null,2)),Ie(!0)},[Se,e,Ee]),[n0,m0]=D.useState(!1),[L0,r0]=D[r(955)](!1),[l0,i0]=D[r(955)](""),[d0,b0]=D.useState(!1),q0=D[r(1832)](()=>{const k=r;try{const S=Y(),Q=JSON.stringify(S,null,2),K=k(702)+encodeURIComponent(Q),xe="canvas_"+S[k(1372)][k(1907)]+"_"+Date[k(2044)]()+k(747),Z=document.createElement("a");Z[k(1894)](k(1075),K),Z.setAttribute(k(723),xe),Z.click(),C[k(1974)][k(2103)](k(637))}catch{C.message[k(541)](k(1342))}},[Y]),tn=D[r(1832)](()=>{const k=r;try{const S=JSON[k(1798)](l0);d0?P(S):P(S,v[k(661)]||void 0),r0(!1),i0(""),b0(!1),C[k(1974)][k(2103)](k(1661))}catch{C.message[k(541)]("JSON 格式错误,请检查输入")}},[l0,d0,P,v[r(661)]]),W0=D[r(1832)](k=>{const S=r,Q=new FileReader;return Q[S(1322)]=K=>{const xe=S;try{const Z=K[xe(1572)]?.[xe(1248)],_=JSON[xe(1798)](Z);d0?P(_):P(_,v[xe(661)]||void 0),C[xe(1974)][xe(2103)](xe(1661)),r0(!1),b0(!1)}catch{C.message[xe(541)](xe(2111))}},Q.readAsText(k),!1},[d0,P,v[r(661)]]),[Re,yn]=D[r(955)](!1),t0=D[r(1832)]((k,S)=>{const Q=r;if(!a[Q(2225)])return{x:0,y:0};const K=a[Q(2225)][Q(2226)](),xe=k-K.left,Z=S-K[Q(709)],_=K.width/h.width,ye=K[Q(505)]/h[Q(505)],me=xe/_,ue=Z/ye;return{x:Math[Q(1892)](me),y:Math[Q(1892)](ue)}},[h.width,h[r(505)]]),j0=D[r(1832)]((k,S)=>t0(k,S),[t0]),N0=D[r(1832)]((k,S,Q=!0)=>{const K=r;if(!g[K(1801)])return;const xe=g[K(1801)],Z=xe[K(2217)]||{},_=Z[K(1318)]||Z.thickness||2,ye=Math[K(1892)](Math[K(1666)](k.x,S.x)),me=Math[K(1892)](Math[K(1666)](k.y,S.y)),ue=Math[K(1892)](k.x)-ye,he=Math[K(1892)](k.y)-me,we=Math[K(1892)](S.x)-ye,Le=Math[K(1892)](S.y)-me,Be=Math.max(_*2,4),ve=Math[K(1824)](Math[K(1217)](we-ue),Be),Ue=Math[K(1824)](Math[K(1217)](Le-he),Be),Pe=S.x-k.x,ae=S.y-k.y,ge=Math.round(Math[K(2011)](ae,Pe)*(180/Math.PI)),Oe={...xe,id:Ne[K(1408)](),config:{color:Z[K(551)],lineWeight:_,thickness:_,lineType:Z[K(1043)],startX:ue,startY:he,endX:we,endY:Le,rotate:ge}},Te={id:Ne.nanoid(),name:xe.name+"_"+Date[K(2044)](),type:K(1672),normalStyle:{width:ve,height:Ue,x:ye,y:me,background:K(2199)},contentInfo:{statusList:[Fx(Oe)],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}};if(m(Te,!1),Q){const x0={x:S.x,y:S.y};te({start:x0,end:{...x0},isDrawing:!0})}else te({start:null,end:null,isDrawing:!1}),X()},[g[r(1801)],m,X]),Zn=D[r(1832)](()=>{const k=r,S=i[k(2225)]?.instance;if(!S)return;const Q=S[k(590)];ee[k(2225)]=Q[k(745)],M({scale:Q[k(745)],positionX:0,positionY:0})},[M]),nr=D.useCallback(k=>{const S=r;le.current||b!=="box-select"&&(k[S(1572)]===a[S(2225)]||k[S(1572)][S(1524)]?.[S(1372)]===S(1656))&&(p(null),ze([]))},[p,b]),tr=D[r(1832)](k=>{const S=r;if(k[S(1127)]===0){if(b==="line-draw"&&g[S(1801)]){k[S(655)]();const Q=t0(k.clientX,k[S(1090)]);R[S(1272)]?R[S(778)]&&N0(R[S(778)],Q,!0):te({start:Q,end:Q,isDrawing:!0});return}if(b===S(1241)&&!Re){const Q=j0(k[S(866)],k[S(1090)]);W({start:Q,end:Q}),ze([]),p(null),k[S(875)](),k[S(655)]()}}},[b,g[r(1801)],R[r(1272)],R[r(778)],Re,N0,t0,j0]),xr=D[r(1832)](k=>{const S=r;if(!(b!==S(1618)||!g[S(1801)])&&R[S(1272)]&&R[S(778)]){const Q=t0(k.clientX,k[S(1090)]);N0(R[S(778)],Q,!1)}},[b,g[r(1801)],R[r(1272)],R.start,N0,t0]),or=D.useCallback(k=>{const S=r;k[S(875)](),k[S(1742)][S(1573)]=S(456),$(!0)},[]),rr=D.useCallback(k=>{k.preventDefault(),$(!1)},[]),ir=D[r(1832)](k=>{const S=r;if(k.preventDefault(),$(!1),!(!a[S(2225)]||b!==S(1435)&&b!==S(1241)))try{const Q=k.dataTransfer.getData("application/json");if(!Q)return;const K=JSON.parse(Q),xe=t0(k.clientX,k[S(1090)]),Z=xe.x-50,_=xe.y-50,ye=kr(Z,_,K);m(ye),ze([ye.id])}catch(Q){console[S(541)](S(876),Q)}},[b,m,t0,ze]),ar=D[r(1832)]((k,S)=>{const Q=r;b!==Q(1435)&&b!=="box-select"||!S[Q(837)][Q(743)]||(k[Q(655)](),p(S.id),le[Q(2225)]=!0,be.current={x:k[Q(866)],y:k[Q(1090)]},U.current={x:S[Q(450)].x||0,y:S[Q(450)].y||0,newX:S[Q(450)].x||0,newY:S[Q(450)].y||0},A[Q(2225)]=S,k[Q(875)]())},[b,p]),It=D.useCallback(k=>{const S=r,Q=re[S(1115)]>0?re:d?[d]:[];Q[S(1115)]!==0&&Q[S(643)](K=>{const xe=S,Z=s[xe(581)](qe=>qe.id===K);if(!Z)return;const _=Z.contentInfo[xe(761)][xe(581)](qe=>qe[xe(1801)][xe(402)]===xe(769));if(!_)return;const ye=_.material,me=ye.config||{},ue=me[xe(685)]??0,he=me[xe(501)]??0,we=me.endX??100,Le=me.endY??0,Be=we-ue,ve=Le-he,Ue=Math[xe(696)](Be*Be+ve*ve);let Pe=we,ae=Le;if(k===xe(1376)){const qe=Be>=0?1:-1;Pe=ue+qe*Ue,ae=he}else{const qe=ve>=0?1:-1;Pe=ue,ae=he+qe*Ue}const ge=me[xe(1318)]||me[xe(1103)]||2,Oe=Math[xe(1824)](ge*2,4),Te=Math[xe(1666)](ue,Pe),x0=Math.min(he,ae),Z0=Math[xe(1824)](ue,Pe),Yt=Math[xe(1824)](he,ae),Jn=Math[xe(1892)]((Z[xe(450)].x||0)+Te),Qn=Math.round((Z[xe(450)].y||0)+x0),K0=Math[xe(1892)](ue-Te),vn=Math[xe(1892)](he-x0),pn=Math[xe(1892)](Pe-Te),zn=Math.round(ae-x0),Cn=Math[xe(1892)](Math.max(Z0-Te,Oe)),Fn=Math[xe(1892)](Math.max(Yt-x0,Oe)),Mn=pn-K0,Bn=zn-vn,$n=Math[xe(1892)](Math.atan2(Bn,Mn)*(180/Math.PI)),w0=Z[xe(2161)][xe(761)][xe(477)](qe=>{const Y0=xe;return qe.id!==_.id?qe:{...qe,material:{...qe[Y0(1801)],config:{...qe[Y0(1801)][Y0(2217)],startX:K0,startY:vn,endX:pn,endY:zn,rotate:$n}}}});z(K,{normalStyle:{...Z[xe(450)],x:Jn,y:Qn,width:Cn,height:Fn},contentInfo:{...Z.contentInfo,statusList:w0}})})},[d,re,s,z]);D[r(713)](()=>{const k=r,S=Z=>{const _=_0x31ec;if(le.current&&d&&A.current){if(!a[_(2225)])return;const ye=a[_(2225)].getBoundingClientRect(),me=ye.width/h[_(1142)],ue=ye[_(505)]/h.height,he=Z[_(866)]-be.current.x,we=Z[_(1090)]-be[_(2225)].y,Le=he/me,Be=we/ue,ve=Math.round(U[_(2225)].x+Le),Ue=Math[_(1892)](U[_(2225)].y+Be),Pe=document[_(644)](_(753)+d+'"]');Pe&&(Pe.style[_(2039)]=ve+"px",Pe[_(1482)][_(709)]=Ue+"px"),U[_(2225)].newX=ve,U.current[_(502)]=Ue}if(b===_(1241)&&ne.start){const ye=j0(Z.clientX,Z.clientY);W(me=>({...me,end:ye}))}if(b===_(1618)&&R[_(1272)]){const ye=t0(Z[_(866)],Z[_(1090)]);te(me=>({...me,end:ye}))}},Q=()=>{const Z=_0x31ec;if(le.current&&d&&A[Z(2225)]){const _=$e[Z(1537)](),ye=U.current[Z(1244)]??U[Z(2225)].x,me=U.current[Z(502)]??U[Z(2225)].y;_[Z(641)](d,{normalStyle:{...A.current[Z(450)],x:Math[Z(1892)](ye),y:Math[Z(1892)](me)}})}if(le[Z(2225)]=!1,A[Z(2225)]=null,oe({}),b===Z(1241)&&ne[Z(778)]&&ne.end){const _=Math.min(ne.start.x,ne[Z(2030)].x),ye=Math[Z(1824)](ne.start.x,ne[Z(2030)].x),me=Math[Z(1666)](ne[Z(778)].y,ne[Z(2030)].y),ue=Math[Z(1824)](ne[Z(778)].y,ne.end.y),he=s.filter(we=>{const Le=Z,Be=we[Le(450)].x||0,ve=we[Le(450)].y||0,Ue=we[Le(450)].width||0,Pe=we[Le(450)].height||0,ae=Be+Ue/2,ge=ve+Pe/2;return ae>=_&&ae<=ye&&ge>=me&&ge<=ue})[Z(477)](we=>we.id);ze(he),W({start:null,end:null})}},K=Z=>{const _=_0x31ec;if(!jl(Z.target)){if(Z[_(874)]===_(1549)&&b===_(1618)&&(te({start:null,end:null,isDrawing:!1}),G()),Z[_(874)]==="Delete"&&(d?I(d):re.length>0&&(re[_(643)](ye=>I(ye)),ze([]))),Z[_(1990)]&&Z.key==="z"&&(Z[_(875)](),T()),Z[_(1990)]&&Z[_(874)]==="y"&&(Z[_(875)](),j()),(b===_(1435)||b==="box-select")&&(Z[_(874)]===_(2151)||Z[_(874)]===_(977)||Z[_(874)]===_(900)||Z[_(874)]==="ArrowDown")){const ye=re[_(1115)]>0?re:d?[d]:[];if(ye[_(1115)]>0){Z[_(875)]();const me=Z.key==="ArrowLeft"?-2:Z[_(874)]==="ArrowRight"?2:0,ue=Z.key===_(900)?-2:Z[_(874)]===_(469)?2:0;ye[_(643)](he=>{const we=_,Le=s[we(581)](Be=>Be.id===he);Le&&z(he,{normalStyle:{...Le.normalStyle,x:(Le[we(450)].x||0)+me,y:(Le.normalStyle.y||0)+ue}})})}}(b===_(1435)||b===_(1241))&&(Z[_(874)]==="h"||Z[_(874)]==="H")&&(Z[_(875)](),It("horizontal")),(b===_(1435)||b===_(1241))&&(Z[_(874)]==="v"||Z.key==="V")&&(Z[_(875)](),It(_(2022))),Z.key===" "&&(Z[_(875)](),!Re&&yn(!0))}},xe=Z=>{Z[_0x31ec(874)]===" "&&Re&&yn(!1)};return window.addEventListener("mousemove",S),window[k(1776)](k(1650),Q),window[k(1776)](k(1916),K),window[k(1776)]("keyup",xe),()=>{const Z=k;window.removeEventListener("mousemove",S),window[Z(782)](Z(1650),Q),window[Z(782)]("keydown",K),window[Z(782)](Z(1360),xe)}},[d,ne,b,R.isDrawing,re,s,h[r(1142)],h.height,I,T,Re,j,G,t0,j0,ze,z,It]);const Ux=(k,S=!0)=>{const Q=r,K={...k,id:Ne[Q(1408)](),name:k.name+Q(1159),normalStyle:{...k[Q(450)],x:(k.normalStyle.x||0)+(S?20:0),y:(k[Q(450)].y||0)+(S?20:0)}};return k.type===Q(1070)&&k[Q(1450)]&&(K[Q(1450)]=k[Q(1450)][Q(477)](xe=>Ux(xe,!1))),K},Ox=D[r(1832)](()=>{const k=r,S=re[k(1115)]>0?re[k(477)](K=>s.find(xe=>xe.id===K))[k(2191)](Boolean):d?[s.find(K=>K.id===d)].filter(Boolean):[];if(S[k(1115)]===0)return;const Q=[];S[k(643)](K=>{const xe=k,Z=Ux(K);m(Z),Q[xe(591)](Z.id)}),Q[k(1115)]===1?p(Q[0]):ze(Q)},[d,re,s,m,p,ze]),Gx=D[r(1832)](k=>{const S=r,Q=k[S(450)].x||0,K=k[S(450)].y||0,xe=k[S(450)].width||0,Z=k.normalStyle[S(505)]||0,_=k[S(450)][S(1814)]||0;if(!_)return{minX:Q,minY:K,maxX:Q+xe,maxY:K+Z};const ye=Q+xe/2,me=K+Z/2,ue=_*Math.PI/180,he=Math[S(1542)](ue),we=Math.sin(ue),Le=[{x:-xe/2,y:-Z/2},{x:xe/2,y:-Z/2},{x:xe/2,y:Z/2},{x:-xe/2,y:Z/2}];let Be=1/0,ve=1/0,Ue=-1/0,Pe=-1/0;for(const ae of Le){const ge=ye+ae.x*he-ae.y*we,Oe=me+ae.x*we+ae.y*he;Be=Math[S(1666)](Be,ge),ve=Math[S(1666)](ve,Oe),Ue=Math.max(Ue,ge),Pe=Math[S(1824)](Pe,Oe)}return{minX:Be,minY:ve,maxX:Ue,maxY:Pe}},[]),Hx=D[r(1832)](k=>{const S=r,Q=k[S(450)].x||0,K=k[S(450)].y||0,xe=k[S(450)][S(1142)]||0,Z=k[S(450)][S(505)]||0,_=k[S(450)][S(1814)]||0;if(!_)return(k[S(1450)]||[])[S(477)](Be=>({...Be,normalStyle:{...Be[S(450)],x:Math[S(1892)](Q+(Be[S(450)].x||0)),y:Math[S(1892)](K+(Be[S(450)].y||0))}}));const ye=_*Math.PI/180,me=Math[S(1542)](ye),ue=Math.sin(ye),he=Q+xe/2,we=K+Z/2,Le=(Be,ve)=>{const Ue=Be-xe/2,Pe=ve-Z/2;return{x:he+Ue*me-Pe*ue,y:we+Ue*ue+Pe*me}};return(k.children||[])[S(477)](Be=>{const ve=S;if(Be[ve(2161)][ve(761)][ve(1432)](K0=>K0[ve(1801)][ve(402)]===ve(769))){const K0=Be[ve(450)].x||0,vn=Be[ve(450)].y||0,pn=Be.normalStyle[ve(1142)]||0,zn=Be.normalStyle[ve(505)]||0,Cn=Be[ve(450)][ve(1814)]||0,Fn=Cn*Math.PI/180,Mn=Math[ve(1542)](Fn),Bn=Math.sin(Fn),$n=(k0,Fe)=>{const a0=k0-pn/2,v0=Fe-zn/2,_e=a0*Mn-v0*Bn+pn/2,Je=a0*Bn+v0*Mn+zn/2;return Le(K0+_e,vn+Je)};let w0=1/0,qe=1/0,Y0=-1/0,et=-1/0,S0=2;const R0=Be[ve(2161)].statusList[ve(477)](k0=>{const Fe=ve;if(k0[Fe(1801)][Fe(402)]!==Fe(769))return null;const a0=k0[Fe(1801)][Fe(2217)]||{},v0=$n(a0[Fe(685)]||0,a0[Fe(501)]||0),_e=$n(a0.endX||0,a0[Fe(870)]||0);return w0=Math[Fe(1666)](w0,v0.x,_e.x),qe=Math[Fe(1666)](qe,v0.y,_e.y),Y0=Math.max(Y0,v0.x,_e.x),et=Math[Fe(1824)](et,v0.y,_e.y),S0=Math.max(S0,a0.lineWeight||a0.thickness||2),{s:v0,e:_e}});if(Number[ve(1496)](w0)&&Number.isFinite(qe)){const k0=Math[ve(1824)](S0*2,4),Fe=Math[ve(1824)](Y0-w0,k0),a0=Math.max(et-qe,k0),v0=Be[ve(2161)][ve(761)].map((_e,Je)=>{const Qe=ve,o0=R0[Je];if(!o0||_e[Qe(1801)][Qe(402)]!==Qe(769))return _e;const c0=_e[Qe(1801)];return{..._e,material:{...c0,config:{...c0[Qe(2217)]||{},startX:Math.round(o0.s.x-w0),startY:Math[Qe(1892)](o0.s.y-qe),endX:Math[Qe(1892)](o0.e.x-w0),endY:Math[Qe(1892)](o0.e.y-qe)}}}});return{...Be,normalStyle:{...Be.normalStyle,x:Math[ve(1892)](w0),y:Math.round(qe),width:Math[ve(1892)](Fe),height:Math[ve(1892)](a0),rotate:0},contentInfo:{...Be.contentInfo,statusList:v0}}}return{...Be,normalStyle:{...Be[ve(450)],x:Q+K0,y:K+vn,rotate:0}}}const Pe=Be[ve(450)][ve(1142)]||0,ae=Be[ve(450)][ve(505)]||0,ge=Be[ve(450)].x||0,Oe=Be[ve(450)].y||0,Te=ge+Pe/2-xe/2,x0=Oe+ae/2-Z/2,Z0=he+Te*me-x0*ue,Yt=we+Te*ue+x0*me,Jn=Be.normalStyle[ve(1814)]||0,Qn=((Jn+_)%360+360)%360;return{...Be,normalStyle:{...Be[ve(450)],x:Z0-Pe/2,y:Yt-ae/2,rotate:Qn}}})},[]),Vx=D.useCallback(()=>{const k=r;if(re[k(1115)]<2)return;const S=[];for(let me=0;me<re.length;me++){const ue=re[me],he=s[k(581)](we=>we.id===ue);if(he){if(he?.[k(402)]===k(1070)){Hx(he)[k(643)](Le=>S[k(591)](Le)),I(ue);continue}S[k(591)](he)}}if(S[k(1115)]<2)return;let Q=1/0,K=1/0,xe=-1/0,Z=-1/0;S[k(643)](me=>{const ue=k,he=Gx(me);Q=Math[ue(1666)](Q,he.minX),K=Math[ue(1666)](K,he[ue(1395)]),xe=Math[ue(1824)](xe,he[ue(2143)]),Z=Math[ue(1824)](Z,he[ue(1761)])});const _=S[k(477)](me=>({...me,normalStyle:{...me[k(450)],x:Math[k(1892)]((me[k(450)].x||0)-Q),y:Math[k(1892)]((me[k(450)].y||0)-K)}})),ye={id:Ne[k(1408)](),name:k(2033)+Date.now(),type:k(1070),normalStyle:{x:Math.round(Q),y:Math[k(1892)](K),width:Math[k(1892)](xe-Q),height:Math.round(Z-K),background:k(2199)},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:_};re[k(643)](me=>I(me)),m(ye),ze([]),p(ye.id)},[re,s,I,m,p,Hx,Gx]),Pt=k=>{const S=r,Q={...k,id:Ne[S(1408)]()};return k[S(402)]===S(1070)&&k.children&&(Q[S(1450)]=k[S(1450)][S(477)](K=>Pt(K))),Q},At=D[r(1832)](()=>{const k=r,S=re[k(1115)]>0?re[k(477)](Q=>s[k(581)](K=>K.id===Q))[k(2191)](Q=>!!Q&&Q[k(402)]===k(1070)):d?[s[k(581)](Q=>Q.id===d)][k(2191)](Q=>!!Q&&Q[k(402)]==="group"):[];S.length!==0&&(S[k(643)](Q=>{const K=k;if(!Q.children||Q[K(1450)][K(1115)]===0)return;const xe=Q[K(450)].x||0,Z=Q[K(450)].y||0,_=Q[K(450)].width||0,ye=Q[K(450)][K(505)]||0,me=Q[K(450)][K(1814)]||0,ue=me*Math.PI/180,he=Math[K(1542)](ue),we=Math.sin(ue),Le=xe+_/2,Be=Z+ye/2,ve=(Pe,ae)=>{const ge=Pe-_/2,Oe=ae-ye/2;return{x:Le+ge*he-Oe*we,y:Be+ge*we+Oe*he}},Ue=Q[K(1450)][K(477)](Pe=>{const ae=K,ge=Pt(Pe);if(ge.contentInfo[ae(761)].some(Cn=>Cn.material[ae(402)]==="LINE")){const Cn=ge[ae(450)].x||0,Fn=ge.normalStyle.y||0,Mn=ge[ae(450)][ae(1142)]||0,Bn=ge[ae(450)][ae(505)]||0,$n=ge[ae(450)][ae(1814)]||0,w0=$n*Math.PI/180,qe=Math[ae(1542)](w0),Y0=Math[ae(2210)](w0),et=(_e,Je)=>{const Qe=_e-Mn/2,o0=Je-Bn/2,c0=Qe*qe-o0*Y0+Mn/2,fr=Qe*Y0+o0*qe+Bn/2;return ve(Cn+c0,Fn+fr)};let S0=1/0,R0=1/0,k0=-1/0,Fe=-1/0,a0=2;const v0=ge.contentInfo.statusList[ae(477)](_e=>{const Je=ae;if(_e[Je(1801)][Je(402)]!==Je(769))return null;const Qe=_e[Je(1801)].config||{},o0=et(Qe[Je(685)]||0,Qe[Je(501)]||0),c0=et(Qe[Je(2084)]||0,Qe[Je(870)]||0);return S0=Math.min(S0,o0.x,c0.x),R0=Math.min(R0,o0.y,c0.y),k0=Math[Je(1824)](k0,o0.x,c0.x),Fe=Math[Je(1824)](Fe,o0.y,c0.y),a0=Math[Je(1824)](a0,Qe.lineWeight||Qe[Je(1103)]||2),{s:o0,e:c0}});if(Number[ae(1496)](S0)&&Number[ae(1496)](R0)){const _e=Math.max(a0*2,4),Je=Math.max(k0-S0,_e),Qe=Math[ae(1824)](Fe-R0,_e),o0=ge.contentInfo[ae(761)][ae(477)]((c0,fr)=>{const xn=ae,Ut=v0[fr];if(!Ut||c0[xn(1801)].type!==xn(769))return c0;const Cs=c0[xn(1801)];return{...c0,material:{...Cs,config:{...Cs[xn(2217)]||{},startX:Math[xn(1892)](Ut.s.x-S0),startY:Math[xn(1892)](Ut.s.y-R0),endX:Math[xn(1892)](Ut.e.x-S0),endY:Math[xn(1892)](Ut.e.y-R0)}}}});return{...ge,normalStyle:{...ge.normalStyle,x:Math[ae(1892)](S0),y:Math[ae(1892)](R0),width:Math.round(Je),height:Math[ae(1892)](Qe),rotate:0},contentInfo:{...ge[ae(2161)],statusList:o0}}}}const Te=ge[ae(450)][ae(1142)]||0,x0=ge[ae(450)][ae(505)]||0,Z0=ge[ae(450)].x||0,Yt=ge[ae(450)].y||0,Jn=Z0+Te/2-_/2,Qn=Yt+x0/2-ye/2,K0=Le+Jn*he-Qn*we,vn=Be+Jn*we+Qn*he,pn=ge[ae(450)][ae(1814)]||0,zn=((pn+me)%360+360)%360;return{...ge,normalStyle:{...ge[ae(450)],x:K0-Te/2,y:vn-x0/2,rotate:zn}}});I(Q.id),Ue[K(643)](Pe=>m(Pe))}),ze([]),p(null))},[d,re,s,I,m,p,ze]),Kn=D[r(1832)](k=>{const S=r;if(re[S(1115)]<1)return;const Q=re.map(K=>s[S(581)](xe=>xe.id===K))[S(2191)](K=>!!K);if(Q[S(1115)]===1&&Q[0][S(402)]==="group"){const K=Q[0];if(!K[S(1450)]||K[S(1450)][S(1115)]<2)return;const xe=[...K[S(1450)]];let Z=1/0,_=1/0,ye=-1/0,me=-1/0;if(k===S(1376)){const ue=[...xe][S(1093)]((ae,ge)=>(ae[S(450)].x||0)-(ge.normalStyle.x||0));let he=1/0,we=-1/0,Le=0;ue[S(643)](ae=>{const ge=S,Oe=ae[ge(450)].x||0,Te=ae.normalStyle[ge(1142)]||0;he=Math[ge(1666)](he,Oe),we=Math[ge(1824)](we,Oe+Te),Le+=Te});const Be=(we-he-Le)/(ue.length-1);let ve=he;const Ue=new Map;ue.forEach(ae=>{const ge=S;Ue.set(ae.id,ve),ve+=(ae[ge(450)][ge(1142)]||0)+Be});const Pe=xe[S(477)](ae=>({...ae,normalStyle:{...ae.normalStyle,x:Ue[S(1187)](ae.id)??ae[S(450)].x}}));Pe.forEach(ae=>{const ge=S,Oe=ae[ge(450)].x||0,Te=ae.normalStyle.y||0,x0=ae[ge(450)][ge(1142)]||0,Z0=ae[ge(450)].height||0;Z=Math[ge(1666)](Z,Oe),_=Math.min(_,Te),ye=Math[ge(1824)](ye,Oe+x0),me=Math[ge(1824)](me,Te+Z0)}),z(K.id,{normalStyle:{...K[S(450)],x:Math[S(1892)]((K[S(450)].x||0)+Z),y:Math[S(1892)]((K[S(450)].y||0)+_),width:Math[S(1892)](ye-Z),height:Math.round(me-_)},children:Pe.map(ae=>({...ae,normalStyle:{...ae[S(450)],x:Math[S(1892)]((ae.normalStyle.x||0)-Z),y:Math[S(1892)]((ae[S(450)].y||0)-_)}}))})}else{const ue=[...xe][S(1093)]((ae,ge)=>(ae[S(450)].y||0)-(ge[S(450)].y||0));let he=1/0,we=-1/0,Le=0;ue[S(643)](ae=>{const ge=S,Oe=ae[ge(450)].y||0,Te=ae[ge(450)][ge(505)]||0;he=Math.min(he,Oe),we=Math[ge(1824)](we,Oe+Te),Le+=Te});const Be=(we-he-Le)/(ue[S(1115)]-1);let ve=he;const Ue=new Map;ue.forEach(ae=>{const ge=S;Ue[ge(848)](ae.id,ve),ve+=(ae[ge(450)][ge(505)]||0)+Be});const Pe=xe[S(477)](ae=>({...ae,normalStyle:{...ae[S(450)],y:Ue.get(ae.id)??ae.normalStyle.y}}));Pe[S(643)](ae=>{const ge=S,Oe=ae.normalStyle.x||0,Te=ae[ge(450)].y||0,x0=ae[ge(450)][ge(1142)]||0,Z0=ae[ge(450)][ge(505)]||0;Z=Math.min(Z,Oe),_=Math[ge(1666)](_,Te),ye=Math[ge(1824)](ye,Oe+x0),me=Math.max(me,Te+Z0)}),z(K.id,{normalStyle:{...K[S(450)],x:(K[S(450)].x||0)+Z,y:(K[S(450)].y||0)+_,width:ye-Z,height:me-_},children:Pe[S(477)](ae=>({...ae,normalStyle:{...ae[S(450)],x:(ae[S(450)].x||0)-Z,y:(ae.normalStyle.y||0)-_}}))})}return}if(!(Q[S(1115)]<2))if(k===S(1376)){const K=[...Q][S(1093)]((ue,he)=>{const we=S;return(ue[we(450)].x||0)-(he[we(450)].x||0)});let xe=1/0,Z=-1/0,_=0;K.forEach(ue=>{const he=S,we=ue[he(450)].x||0,Le=ue[he(450)].width||0;xe=Math[he(1666)](xe,we),Z=Math[he(1824)](Z,we+Le),_+=Le});const ye=(Z-xe-_)/(K[S(1115)]-1);let me=xe;K[S(643)](ue=>{const he=S,we=me;z(ue.id,{normalStyle:{...ue[he(450)],x:Math[he(1892)](we)}}),me+=(ue[he(450)].width||0)+ye})}else{const K=[...Q][S(1093)]((ue,he)=>{const we=S;return(ue[we(450)].y||0)-(he[we(450)].y||0)});let xe=1/0,Z=-1/0,_=0;K[S(643)](ue=>{const he=S,we=ue[he(450)].y||0,Le=ue[he(450)].height||0;xe=Math[he(1666)](xe,we),Z=Math.max(Z,we+Le),_+=Le});const ye=(Z-xe-_)/(K[S(1115)]-1);let me=xe;K[S(643)](ue=>{const he=S,we=me;z(ue.id,{normalStyle:{...ue[he(450)],y:Math[he(1892)](we)}}),me+=(ue[he(450)][he(505)]||0)+ye})}},[re,s,z]),mn=k=>{const S=r,Q=k[S(2161)][S(761)].find(K=>K[S(1801)][S(402)]==="LINE");return Q?Q.material[S(2217)]:null},wn=D[r(1832)](k=>{const S=r;if(re[S(1115)]<2)return;const Q=$e[S(1537)](),K=re[S(477)](Z=>s.find(_=>_.id===Z)).filter(Z=>!!Z);if(K[S(1115)]<2)return;let xe=0;switch(k){case S(2039):xe=Math[S(1666)](...K[S(477)](Z=>{const _=S,ye=mn(Z);return ye?(Z[_(450)].x||0)+(ye[_(685)]||0):Z[_(450)].x||0}));break;case S(1862):xe=Math.max(...K[S(477)](Z=>{const _=S,ye=mn(Z);return ye?(Z[_(450)].x||0)+(ye[_(2084)]||0):(Z[_(450)].x||0)+(Z[_(450)][_(1142)]||0)}));break;case S(709):xe=Math[S(1666)](...K[S(477)](Z=>{const _=S,ye=mn(Z);return ye?(Z.normalStyle.y||0)+(ye[_(501)]||0):Z.normalStyle.y||0}));break;case S(604):xe=Math[S(1824)](...K[S(477)](Z=>{const _=S,ye=mn(Z);return ye?(Z[_(450)].y||0)+(ye.endY||0):(Z.normalStyle.y||0)+(Z[_(450)][_(505)]||0)}));break}K[S(643)](Z=>{const _=S;let ye=Z.normalStyle.x||0,me=Z[_(450)].y||0;const ue=mn(Z);switch(k){case _(2039):ue?ye=xe-(ue[_(685)]||0):ye=xe;break;case _(1862):ue?ye=xe-(ue[_(2084)]||0):ye=xe-(Z[_(450)][_(1142)]||0);break;case _(709):ue?me=xe-(ue[_(501)]||0):me=xe;break;case _(604):ue?me=xe-(ue[_(870)]||0):me=xe-(Z[_(450)].height||0);break}Q[_(641)](Z.id,{normalStyle:{...Z[_(450)],x:Math[_(1892)](ye),y:Math.round(me)}})})},[re,s]),cr=[{icon:l.jsx(de.SelectOutlined,{}),title:r(980),active:b===r(1435),onClick:()=>{q(r(1435))}},{icon:l[r(822)](de.GroupOutlined,{}),title:r(1602),active:b==="box-select",onClick:()=>{q(r(1241)),ze([])}},{icon:l[r(822)](de[r(1120)],{}),title:"拖拽模式",active:b===r(1917),onClick:()=>{q("drag")}},{icon:l.jsx(de[r(614)],{}),title:r(1151),active:b==="line-draw",onClick:()=>{q(r(1618))}},{icon:l[r(822)](de[r(1202)],{}),title:"预览模式",active:b===r(710),onClick:()=>{q(r(710))}}],X0=D[r(1832)](()=>re[r(1115)]>0?re:d?[d]:[],[re,d]),Tx=D[r(1832)](()=>{const k=r,S=X0();if(S.length===0)return;s[k(2191)](K=>S.includes(K.id)).map(K=>K.id)[k(643)](K=>O(K))},[X0,s,O]),qx=D[r(1832)](()=>{const k=r,S=X0();if(S[k(1115)]===0)return;[...s[k(2191)](K=>S[k(600)](K.id)).map(K=>K.id)][k(1349)]()[k(643)](K=>H(K))},[X0,s,H]),Rn=D[r(1832)](k=>{const S=X0();S.length!==0&&S.forEach(Q=>{const K=_0x31ec,xe=s[K(581)](_=>_.id===Q);!xe||xe[K(402)]===K(1070)||!xe[K(2161)][K(761)].some(_=>_[K(1801)][K(402)]===K(2215))||(k==="horizontal"?z(Q,{normalStyle:{...xe[K(450)],flipX:!xe[K(450)][K(1843)]}}):z(Q,{normalStyle:{...xe[K(450)],flipY:!xe[K(450)].flipY}}))})},[X0,s,z]),sr=X0(),Et=sr.some(k=>{const S=r,Q=s[S(581)](K=>K.id===k);return Q&&Q[S(402)]!==S(1070)&&Q[S(2161)][S(761)].some(K=>K[S(1801)][S(402)]==="IMAGE")}),{actionButtonsRow1:lr,actionButtonsRow2:dr}=D[r(2089)](()=>({actionButtonsRow1:[{icon:l[r(822)](de[r(1664)],{}),title:"置于顶层",disabled:!d&&re[r(1115)]===0,onClick:Tx},{icon:l[r(822)](de[r(1199)],{}),title:"置于底层",disabled:!d&&re[r(1115)]===0,onClick:qx},{icon:l[r(822)](de[r(1026)],{}),title:r(1285),disabled:!d&&re[r(1115)]===0,onClick:Ox},{icon:l[r(822)](de[r(513)],{}),title:r(444),disabled:re.length<2,onClick:Vx},{icon:l[r(822)](de[r(1040)],{}),title:r(667),disabled:!d&&re[r(1115)]===0,onClick:At},{icon:l[r(822)](de[r(967)],{}),title:"画布配置",onClick:()=>m0(!0)},{icon:l[r(822)](de[r(594)],{}),title:r(719),type:r(1850),onClick:Ze},{icon:l[r(822)](de[r(2079)],{}),title:r(1817),disabled:!d&&re[r(1115)]===0,onClick:()=>{const k=r;d?I(d):re.length>0&&(re[k(643)](S=>I(S)),ze([]))}}],actionButtonsRow2:[{icon:l.jsx(de[r(1512)],{}),title:r(1673),disabled:re[r(1115)]<2,onClick:()=>wn(r(2039))},{icon:l[r(822)](de.AlignRightOutlined,{}),title:r(1503),disabled:re[r(1115)]<2,onClick:()=>wn("right")},{icon:l[r(822)](de.VerticalAlignTopOutlined,{}),title:r(392),disabled:re[r(1115)]<2,onClick:()=>wn(r(709))},{icon:l[r(822)](de[r(1050)],{}),title:r(1350),disabled:re[r(1115)]<2,onClick:()=>wn(r(604))},{icon:l[r(822)](de.ColumnWidthOutlined,{}),title:r(1158),disabled:(()=>{const k=r;if(re[k(1115)]>=2)return!1;if(re[k(1115)]===1){const S=s[k(581)](Q=>Q.id===re[0]);return!(S?.[k(402)]===k(1070)&&S[k(1450)]&&S[k(1450)][k(1115)]>=2)}return!0})(),onClick:()=>Kn("horizontal")},{icon:l[r(822)](de[r(1067)],{}),title:"垂直分布",disabled:(()=>{const k=r;if(re[k(1115)]>=2)return!1;if(re[k(1115)]===1){const S=s.find(Q=>Q.id===re[0]);return!(S?.[k(402)]==="group"&&S[k(1450)]&&S[k(1450)][k(1115)]>=2)}return!0})(),onClick:()=>Kn(r(2022))},{icon:l[r(822)](de.SwapOutlined,{}),title:"水平翻转",disabled:!Et,onClick:()=>Rn(r(1376))},{icon:l[r(822)](r(1033),{style:{display:r(1840),transform:r(910)},children:l.jsx(de.SwapOutlined,{})}),title:r(1535),disabled:!Et,onClick:()=>Rn(r(2022))}]}),[T,j,b,q,ze,re,Vx,At,Ox,wn,Kn,Tx,qx,m0,Ie,Ze,d,I,v[r(661)],Et,Rn,s]),[ur,Wx]=D[r(955)](!1),[Xx,_n]=D[r(955)](""),[Zx,jt]=D.useState(null);return l[r(1183)](r(1022),{className:"flex flex-col "+(n?"":r(1364)),children:[!n&&l[r(1183)](r(1022),{className:r(1335),children:[l[r(1183)](C[r(1652)],{children:[cr[r(477)](k=>l[r(822)](C[r(1048)],{title:k[r(1562)],children:l.jsx(C[r(1804)],{type:k[r(1059)]?r(1850):r(1815),icon:k.icon,onClick:k[r(1334)]})},k[r(1562)])),l.jsx(r(1022),{className:r(733)}),l.jsx(C[r(1367)],{value:v.currentCanvasId,onChange:B,style:{width:140},dropdownRender:k=>l[r(1183)](l.Fragment,{children:[k,l[r(822)](r(1022),{className:"border-t border-gray-200 mt-1 pt-1",children:l[r(822)](C.Button,{type:r(1584),size:"small",block:!0,onClick:()=>Wx(!0),children:r(608)})})]}),children:v[r(693)][r(477)](k=>l[r(822)](C.Select[r(1508)],{value:k.id,children:k[r(1907)]},k.id))}),l[r(822)](C[r(1804)],{icon:l[r(822)](de[r(635)],{}),size:r(1718),onClick:()=>L(),title:r(1366)}),l[r(822)](C.Tooltip,{title:"导出当前画布",children:l[r(822)](C[r(1804)],{icon:l[r(822)](de[r(612)],{}),size:r(1718),onClick:q0})}),l[r(822)](C[r(1048)],{title:r(1617),children:l[r(822)](C[r(1804)],{icon:l[r(822)](de[r(1256)],{}),size:r(1718),onClick:()=>r0(!0)})})]}),l[r(1183)](C.Space,{direction:"vertical",size:4,children:[l.jsx(C[r(1652)],{children:lr.map(k=>l.jsx(C[r(1048)],{title:k[r(1562)],children:l[r(822)](C[r(1804)],{type:k[r(1059)]?r(1850):k[r(402)]||r(1815),icon:k.icon,onClick:S=>{const Q=r;k[Q(1334)](),S.currentTarget[Q(1707)]()},disabled:k.disabled})},k.title))}),l[r(822)](C.Space,{children:dr[r(477)](k=>l[r(822)](C[r(1048)],{title:k[r(1562)],children:l[r(822)](C[r(1804)],{type:k[r(1059)]?r(1850):k[r(402)]||r(1815),icon:k.icon,onClick:S=>{const Q=r;k[Q(1334)](),S[Q(1667)][Q(1707)]()},disabled:k[r(1543)]})},k[r(1562)]))})]})]}),l[r(822)](r(1022),{ref:u,className:"relative "+(n?"":r(487)),style:n&&o?{display:"flex",justifyContent:r(1307),alignItems:r(1307)}:void 0,onWheel:n&&o?k=>{const S=r;k[S(875)](),k[S(655)]();const Q=i[S(2225)];if(!Q)return;const K=ee[S(2225)],xe=.1,Z=k[S(1045)]>0?Math[S(1824)](K-xe,ce):Math.min(K+xe,fe);Q.setTransform(0,0,Z,0)}:void 0,children:l[r(822)](Gt[r(657)],{ref:i,initialScale:pe,initialPositionX:0,initialPositionY:0,minScale:ce,maxScale:fe,onTransformed:Zn,limitToBounds:n&&!!o,centerZoomedOut:n&&!!o,panning:{disabled:!Re&&b!==r(1917),velocityDisabled:!0},wheel:{disabled:n&&!!o,step:.1},pinch:{disabled:!1},doubleClick:{disabled:!0},children:({zoomIn:k,zoomOut:S,resetTransform:Q})=>l[r(1183)](l.Fragment,{children:[!n&&l[r(822)](r(1022),{className:"absolute bottom-4 right-4 z-10 bg-white rounded-lg shadow-lg p-2",children:l.jsxs(C[r(1652)],{direction:r(2022),children:[l[r(822)](C[r(1048)],{title:"放大",children:l[r(822)](C.Button,{icon:l[r(822)](de.ZoomInOutlined,{}),onClick:()=>k()})}),l.jsx(C[r(1048)],{title:"缩小",children:l[r(822)](C[r(1804)],{icon:l[r(822)](de.ZoomOutOutlined,{}),onClick:()=>S()})}),l[r(822)](C.Tooltip,{title:r(942),children:l.jsx(C[r(1804)],{onClick:()=>Q(),children:r(2017)})}),l[r(1183)](r(1022),{className:"text-center text-xs text-gray-500",children:[Math[r(1892)](w[r(745)]*100),"%"]})]})}),l[r(822)](Gt.TransformComponent,{wrapperStyle:n&&o?{width:o,height:x||h[r(505)]*(ee[r(2225)]||1)+"px",position:r(554),overflow:r(1123)}:{width:r(2017),height:n?h.height*(ee[r(2225)]||1)+"px":r(2017),position:r(554),overflow:r(n?428:1123)},contentStyle:{width:n?h.width+"px":"100%",height:n?h[r(505)]+"px":"100%",display:r(1357),alignItems:r(n?1307:1084),justifyContent:r(n?1307:1084)},children:l.jsxs("div",{ref:a,"data-canvas":r(1656),className:r(556)+(F?r(1751):"")+" "+(b===r(1618)?"cursor-crosshair":"")+" "+(Re?"cursor-grab":""),style:{width:h.width,height:h[r(505)],flexShrink:0,backgroundColor:h[r(878)],backgroundImage:h[r(1762)]?"url("+h[r(1762)]+")":void 0,backgroundSize:r(1860),backgroundPosition:r(1084)},onClick:nr,onMouseDown:tr,onDoubleClick:xr,onDragOver:or,onDragLeave:rr,onDrop:ir,children:[t&&!n&&l[r(1183)](r(1022),{className:r(1675),style:{width:h[r(1142)],height:h[r(505)]},children:[l.jsx(r(1816),{src:t,alt:"",className:r(865),draggable:!1}),l[r(822)](r(1699),{className:"absolute top-0 left-0 pointer-events-none",width:1920,height:1080,children:l[r(822)](r(415),{x:"0",y:"0",width:r(1905),height:"1080",fill:r(559),stroke:r(605),strokeWidth:"2"})})]}),h[r(495)]!==!1&&l[r(1183)]("svg",{className:r(1119),width:h.width,height:h[r(505)],children:[l[r(822)](r(651),{children:l[r(822)](r(1961),{id:r(2205),width:"20",height:"20",patternUnits:"userSpaceOnUse",children:l[r(822)](r(1137),{d:r(768),fill:r(559),stroke:r(2013),opacity:r(2043),strokeWidth:"1"})})}),l[r(822)](r(415),{width:r(2017),height:"100%",fill:r(684)})]}),s.map(K=>l[r(822)](ao,{node:K,isSelected:b===r(710)?!1:d===K.id||re[r(600)](K.id),data:je,onClick:b===r(710)?void 0:xe=>{const Z=r;console[Z(1028)]("Node onClick:",K.id,Z(799),ie[Z(2225)]),ie[Z(2225)]!=="line-draw"&&(xe[Z(1546)]?(p(K.id),ze([...re,K.id])):(p(K.id),ze([K.id])))},onMouseDown:b==="preview"?void 0:xe=>ar(xe,K),onUpdateNode:b===r(710)?void 0:(xe,Z)=>z(xe,Z),scale:w[r(745)],enableEventFlow:b===r(710),eventFlowData:Xe},""+K.id)),b===r(1618)&&R[r(1272)]&&R[r(778)]&&R[r(2030)]&&l[r(822)](r(1699),{className:r(1119),width:h[r(1142)],height:h[r(505)],children:l[r(822)](r(1188),{x1:R[r(778)].x,y1:R[r(778)].y,x2:R[r(2030)].x,y2:R[r(2030)].y,stroke:r(829),strokeWidth:"2",strokeDasharray:r(1697),strokeLinecap:r(1892),strokeLinejoin:r(1892)})}),b===r(1241)&&ne[r(778)]&&ne[r(2030)]&&l[r(822)](r(1022),{className:r(1877),style:{left:Math[r(1666)](ne[r(778)].x,ne[r(2030)].x),top:Math.min(ne[r(778)].y,ne.end.y),width:Math.abs(ne[r(2030)].x-ne[r(778)].x),height:Math.abs(ne.end.y-ne[r(778)].y),zIndex:9999}})]})})]})},se)}),l[r(822)](C[r(599)],{title:r(719),open:Me,onCancel:()=>Ie(!1),footer:null,children:l.jsx(C[r(1039)],{layout:r(2022),children:l[r(822)](C[r(1039)][r(1218)],{label:r(1388),children:l[r(822)](El,{value:Se,onChange:k=>{const S=r;Ye(!0),De(k[S(1572)].value)},rows:10,placeholder:r(1826)})})})}),l.jsx(C[r(599)],{title:r(423),open:n0,onCancel:()=>m0(!1),footer:null,children:l.jsxs(C[r(1039)],{layout:r(2022),children:[l[r(822)](C[r(1039)].Item,{label:"宽度",children:l[r(822)](C[r(1172)],{value:h[r(1142)],onChange:k=>y({width:k||1920}),min:100,max:5e3,style:{width:r(2017)}})}),l[r(822)](C[r(1039)].Item,{label:"高度",children:l[r(822)](C.InputNumber,{value:h[r(505)],onChange:k=>y({height:k||1080}),min:100,max:5e3,style:{width:r(2017)}})}),l.jsx(C[r(1039)][r(1218)],{label:r(2093),children:l[r(822)](C[r(715)],{checked:h[r(495)]!==!1,onChange:k=>y({showGrid:k})})}),l.jsx(C.Form[r(1218)],{label:r(1462),children:l.jsxs(r(1022),{className:"flex items-center gap-2",children:[l[r(822)](Pn,{value:h.background||r(2198),onChange:k=>y({background:k.toHexString()})}),l[r(822)](C[r(1788)],{value:h.background,onChange:k=>y({background:k[r(1572)][r(2069)]}),placeholder:r(483)})]})}),l[r(1183)](C[r(1039)].Item,{label:r(1001),children:[l[r(1183)](r(1022),{className:"flex items-center gap-2",children:[l[r(822)](C.Upload,{accept:r(674),showUploadList:!1,beforeUpload:k=>{const S=r;if(!k[S(402)][S(1138)](S(1309)))return C[S(1974)][S(541)](S(639)),!1;const K=new FileReader;return K[S(1322)]=xe=>{const Z=S,_=xe[Z(1572)]?.[Z(1248)];y({backgroundImage:_}),C.message[Z(2103)]("背景图片上传成功")},K.readAsDataURL(k),!1},children:l[r(822)](C[r(1804)],{icon:l[r(822)](de[r(1256)],{}),children:"上传图片"})}),l[r(822)](C[r(1788)],{value:h[r(1762)],onChange:k=>y({backgroundImage:k[r(1572)].value}),placeholder:"输入图片 URL 或上传图片",style:{flex:1}}),h[r(1762)]&&l[r(822)](C[r(1804)],{icon:l[r(822)](de.CloseOutlined,{}),onClick:()=>y({backgroundImage:void 0}),danger:!0,size:"small"})]}),h[r(1762)]&&l.jsx(r(1022),{className:r(1034),style:{maxWidth:"100%"},children:l[r(822)]("img",{src:h[r(1762)],alt:r(1265),style:{maxWidth:r(2017),maxHeight:120,objectFit:r(617)}})})]})]})}),l[r(822)](C[r(599)],{title:r(1337),open:ur,onCancel:()=>{Wx(!1),jt(null),_n("")},footer:null,width:760,children:l[r(822)](C[r(461)],{items:[{key:r(693),label:r(1245),children:l.jsxs(l[r(2135)],{children:[l.jsx(C.List,{dataSource:v[r(693)],renderItem:k=>l[r(822)](C[r(795)][r(1218)],{actions:[Zx===k.id?l[r(822)](C.Button,{type:"primary",size:r(1718),onClick:()=>{E(k.id,Xx),jt(null)},children:"保存"}):l[r(822)](C[r(1804)],{type:"text",icon:l[r(822)](de[r(614)],{}),size:"small",onClick:()=>{jt(k.id),_n(k.name)}}),v[r(693)][r(1115)]>1&&l[r(822)](C[r(1804)],{type:r(1347),danger:!0,icon:l[r(822)](de[r(2079)],{}),size:r(1718),onClick:()=>N(k.id)})][r(2191)](Boolean),children:Zx===k.id?l[r(822)](C[r(1788)],{value:Xx,onChange:S=>_n(S.target[r(2069)]),size:r(1718),style:{width:200}}):l[r(1183)](r(1033),{style:{fontWeight:v[r(661)]===k.id?r(2028):r(1672)},children:[k.name," ",v[r(661)]===k.id&&r(1554)]})})}),l.jsx(r(1022),{className:r(1945),children:l.jsx(C[r(1804)],{type:r(1850),icon:l[r(822)](de.PlusOutlined,{}),onClick:()=>L(),children:r(1366)})})]})},{key:r(1355),label:"同级关系",children:l[r(822)](Pl,{})}]})}),l.jsx(C[r(599)],{title:r(1617),open:L0,onOk:tn,onCancel:()=>{r0(!1),i0(""),b0(!1)},destroyOnClose:!0,width:600,children:l.jsxs("div",{className:r(558),children:[l[r(1183)](r(1022),{children:[l[r(822)]("p",{className:"mb-2",children:r(2142)}),l.jsx(r(1475),{type:"file",accept:r(747),onChange:k=>{const S=r,Q=k.target[S(2085)]?.[0];Q&&W0(Q)},className:r(1825)})]}),l.jsx(r(1022),{className:r(1937),children:"或"}),l[r(1183)](r(1022),{children:[l[r(822)]("p",{className:r(1996),children:r(2081)}),l[r(822)]("textarea",{value:l0,onChange:k=>i0(k[r(1572)][r(2069)]),placeholder:r(1108),className:r(952)})]}),l[r(1183)](r(1022),{className:r(1299),children:[l.jsx(r(1475),{type:r(523),id:"importAsNewCanvas",checked:d0,onChange:k=>b0(k[r(1572)].checked),className:r(1223)}),l[r(822)]("label",{htmlFor:"importAsNewCanvas",className:r(1433),children:r(1352)})]})]})})]})},{Option:_t}=C[c(1367)];function ci(e){return Array[c(1405)](e)}function Yl(e){const n=c,t=new Set;return e[n(643)](o=>Object[n(1772)](o)[n(643)](x=>t.add(x))),Array[n(2088)](t)}function Ul(e,n){const t=c;return e[t(477)]((o,x)=>{const r=t,i=o[n],a=o[r(1907)];return{label:String(a??"项 "+(x+1)),value:typeof i===r(1890)||typeof i===r(552)?i:String(i)}})}function si(e,n=""){const t=c,o=[];for(const[x,r]of Object[t(690)](e)){const i=n?n+"."+x:x;r!==null&&typeof r===t(704)&&!Array[t(1405)](r)?o[t(591)](...si(r,i)):o[t(591)]({paramsCode:i,paramsName:i,value:r})}return o}function Ol(e,n,t){if(ci(e)){if(n!=null&&t!=null){const o=e.find(x=>x[n]===t);if(o)return o}return{}}return e}const Gl=({material:e,onSave:n})=>{const t=c,o=e,x=o[t(965)]||{},r=$e(m=>m[t(474)]),[i,a]=D[t(955)]({label:x.label||"",value:x[t(2069)]||"",valueSourceCode:x[t(1068)]||"",unit:x[t(2092)]||"",decimals:x[t(1753)]??2,labelFontSize:x[t(2155)]?.[t(2025)]||14,labelFontWeight:x.labelStyle?.[t(1373)]||"bold",labelColor:x[t(2155)]?.color||t(1126),valueFontSize:x.valueStyle?.fontSize||14,valueFontWeight:x[t(642)]?.[t(1373)]||"normal",valueColor:x[t(642)]?.[t(551)]||"#1890ff",boundDatasetId:x.boundDatasetId||"",boundDatasetBindCode:x[t(1557)]||"",boundDatasetBindValue:x.boundDatasetBindValue??null}),u=D[t(2089)](()=>{const m=t;return r[m(581)](p=>p.id===i[m(1251)])},[r,i[t(1251)]]),s=u?ci(u[t(452)]):!1,d=D[t(2089)](()=>{const m=t;if(!u)return[];const p=Ol(u.sample,i[m(1557)],i[m(1470)]);return si(p)},[u,i[t(1557)],i[t(1470)]]);D[t(713)](()=>{const m=t;a({label:x[m(846)]||"",value:x[m(2069)]||"",valueSourceCode:x[m(1068)]||"",unit:x[m(2092)]||"",decimals:x[m(1753)]??2,labelFontSize:x[m(2155)]?.[m(2025)]||14,labelFontWeight:x.labelStyle?.[m(1373)]||m(2028),labelColor:x.labelStyle?.[m(551)]||m(1126),valueFontSize:x[m(642)]?.[m(2025)]||14,valueFontWeight:x.valueStyle?.[m(1373)]||m(1672),valueColor:x[m(642)]?.[m(551)]||m(829),boundDatasetId:x[m(1251)]||"",boundDatasetBindCode:x[m(1557)]||"",boundDatasetBindValue:x.boundDatasetBindValue??null})},[e.id]);const f=(m,p)=>{a(z=>({...z,[m]:p}))},b=m=>{a(p=>({...p,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(p=>({...p,boundDatasetBindCode:m||"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetBindCode:m||void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},w=m=>{a(p=>({...p,boundDatasetBindValue:m??null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetBindValue:m??void 0,valueSourceCode:void 0}})},0)},h=m=>{const p=t,z=d[p(581)](O=>O[p(781)]===m),I=z?.unit||"";a(O=>({...O,valueSourceCode:m,unit:I,value:String(z?.[p(2069)]||"")})),setTimeout(()=>{n({content:{...x,valueSourceCode:m,value:String(z?.[p(2069)]||""),unit:I}})},0)},v=()=>{const m=t;n({content:{...x,label:i[m(846)],value:i[m(2069)],valueSourceCode:i[m(1068)],unit:i.unit,decimals:i[m(1753)],boundDatasetId:i[m(1251)]||void 0,boundDatasetBindCode:i.boundDatasetBindCode||void 0,boundDatasetBindValue:i[m(1470)]??void 0,labelStyle:{fontSize:i[m(699)],fontWeight:i[m(780)],color:i[m(2024)]},valueStyle:{fontSize:i.valueFontSize,fontWeight:i[m(542)],color:i.valueColor}}})},M=u&&s?Yl(u[t(452)]):[],y=u&&s&&i[t(1557)]?Ul(u[t(452)],i[t(1557)]):[];return l.jsxs(t(1022),{className:t(558),children:[l.jsx(C[t(1739)],{style:{marginTop:0},children:t(1655)}),l.jsxs(C[t(1039)],{layout:t(2022),children:[l[t(822)](C.Form[t(1218)],{label:"标签文本 (label)",children:l[t(822)](C.Input,{value:i[t(846)],onChange:m=>f(t(846),m[t(1572)][t(2069)]),onBlur:v,placeholder:t(1326)})}),l[t(822)](C[t(1039)][t(1218)],{label:"绑定数据集",help:t(2176),children:l[t(822)](C[t(1367)],{allowClear:!0,placeholder:r[t(1115)]===0?t(454):t(1591),value:i[t(1251)]||void 0,onChange:b,style:{width:t(2017)},options:r[t(477)](m=>({label:m[t(1907)],value:m.id}))})}),u&&s&&l[t(1183)](l.Fragment,{children:[l[t(822)](C[t(1039)][t(1218)],{label:"绑定字段",help:t(1319),children:l[t(822)](C[t(1367)],{allowClear:!0,placeholder:"选择绑定字段",value:i[t(1557)]||void 0,onChange:g,style:{width:t(2017)},options:M[t(477)](m=>({label:m,value:m}))})}),i[t(1557)]&&l[t(822)](C.Form.Item,{label:t(1439),help:"选择该字段对应的具体值以定位数据项",children:l.jsx(C.Select,{allowClear:!0,showSearch:!0,placeholder:"选择绑定值",value:i[t(1470)]??void 0,onChange:w,style:{width:t(2017)},options:y,filterOption:(m,p)=>String(p?.label??"")[t(2122)]()[t(600)](m.toLowerCase()),onInputKeyDown:m=>{const p=t;m.key===" "&&m[p(655)]()}})})]}),l[t(822)](C.Form[t(1218)],{label:t(1785),help:t(u?879:1941),children:l[t(822)](C[t(1367)],{value:i[t(1068)]||void 0,onChange:h,placeholder:u?"选择数据字段":t(1941),allowClear:!0,disabled:!u,style:{width:t(2017)},options:d.map(m=>({value:m.paramsCode,label:m[t(1818)]}))})}),l[t(822)](C[t(1039)][t(1218)],{label:i.valueSourceCode?t(1777):t(1710),help:i[t(1068)]?"已绑定数据源,实际值将来自数据字段":t(1962),children:l[t(822)](C[t(1788)],{value:i[t(2069)],onChange:m=>f(t(2069),m.target[t(2069)]),onBlur:v,placeholder:i.valueSourceCode?t(1731):"输入值文本",disabled:!!i.valueSourceCode,variant:i[t(1068)]?"filled":void 0})}),l.jsx(C[t(1039)][t(1218)],{label:"单位",help:t(1809),children:l[t(822)](C[t(1788)],{value:i[t(2092)],onChange:m=>f(t(2092),m.target[t(2069)]),onBlur:v,placeholder:t(996),suffix:i[t(1068)]&&d[t(1115)]>0?l.jsx(C[t(2200)],{color:"blue",style:{marginRight:-8},children:"自动"}):null})}),l.jsx(C.Form[t(1218)],{label:t(553),help:t(2077),children:l[t(822)](C.InputNumber,{value:i[t(1753)],onChange:m=>f(t(1753),m??2),onBlur:v,min:-1,max:10,style:{width:t(2017)}})})]}),l[t(822)](C[t(1739)],{children:t(953)}),l[t(1183)](C[t(1039)],{layout:t(2022),children:[l[t(1183)](C[t(1652)],{children:[l.jsx(C[t(1039)].Item,{label:"字体大小",children:l[t(822)](C.InputNumber,{value:i[t(699)],onChange:m=>f(t(699),m||14),onBlur:v,min:8,max:72})}),l[t(822)](C[t(1039)][t(1218)],{label:t(796),children:l[t(1183)](C[t(1367)],{value:i.labelFontWeight,onChange:m=>{f(t(780),m),setTimeout(v,0)},style:{width:100},children:[l[t(822)](_t,{value:"normal",children:"正常"}),l[t(822)](_t,{value:t(2028),children:"粗体"})]})})]}),l[t(822)](C.Form[t(1218)],{label:t(764),children:l[t(1183)](t(1022),{className:t(1299),children:[l[t(822)](Pn,{value:i.labelColor||t(1126),onChange:m=>{f("labelColor",m[t(1615)]())},onChangeComplete:m=>{const p=t;n({content:{...x,label:i[p(846)],value:i[p(2069)],valueSourceCode:i[p(1068)],unit:i[p(2092)],decimals:i.decimals,boundDatasetId:i[p(1251)]||void 0,boundDatasetBindCode:i[p(1557)]||void 0,boundDatasetBindValue:i.boundDatasetBindValue??void 0,labelStyle:{fontSize:i[p(699)],fontWeight:i[p(780)],color:m[p(1615)]()},valueStyle:{fontSize:i[p(1857)],fontWeight:i.valueFontWeight,color:i[p(2165)]}}})}}),l[t(822)](C.Input,{value:i[t(2024)],onChange:m=>f(t(2024),m[t(1572)].value),onBlur:v,placeholder:"#262626",style:{width:100}})]})})]}),l[t(822)](C[t(1739)],{children:t(1472)}),l.jsxs(C.Form,{layout:t(2022),children:[l.jsxs(C.Space,{children:[l[t(822)](C[t(1039)][t(1218)],{label:t(1922),children:l[t(822)](C.InputNumber,{value:i[t(1857)],onChange:m=>f("valueFontSize",m||14),onBlur:v,min:8,max:72})}),l[t(822)](C.Form[t(1218)],{label:t(796),children:l[t(1183)](C.Select,{value:i[t(542)],onChange:m=>{f(t(542),m),setTimeout(v,0)},style:{width:100},children:[l[t(822)](_t,{value:t(1672),children:"正常"}),l.jsx(_t,{value:t(2028),children:"粗体"})]})})]}),l[t(822)](C.Form[t(1218)],{label:t(764),children:l[t(1183)](t(1022),{className:t(1299),children:[l[t(822)](Pn,{value:i[t(2165)]||t(829),onChange:m=>{f(t(2165),m.toHexString())},onChangeComplete:m=>{const p=t;n({content:{...x,label:i[p(846)],value:i[p(2069)],valueSourceCode:i[p(1068)],unit:i.unit,decimals:i[p(1753)],boundDatasetId:i.boundDatasetId||void 0,boundDatasetBindCode:i.boundDatasetBindCode||void 0,boundDatasetBindValue:i.boundDatasetBindValue??void 0,labelStyle:{fontSize:i.labelFontSize,fontWeight:i[p(780)],color:i[p(2024)]},valueStyle:{fontSize:i[p(1857)],fontWeight:i[p(542)],color:m[p(1615)]()}}})}}),l.jsx(C.Input,{value:i[t(2165)],onChange:m=>f("valueColor",m[t(1572)][t(2069)]),onBlur:v,placeholder:"#1890ff",style:{width:100}})]})})]})]})},Hl=({material:e,onSave:n})=>{const t=c,o=e,[x,r]=D[t(955)]({name:e.name,src:o[t(1623)]||"",backgroundColor:o[t(1113)]||"",fillColor:o.fillColor||""});D[t(713)](()=>{const u=t;r({name:e[u(1907)],src:o[u(1623)]||"",backgroundColor:o[u(1113)]||"",fillColor:o[u(1105)]||""})},[e.id]);const i=(u,s)=>{r(d=>({...d,[u]:s}))},a=()=>{const u=t;n({name:x.name,src:x[u(1623)],backgroundColor:x.backgroundColor})};return l[t(1183)](t(1022),{className:t(558),children:[l[t(822)](C[t(1739)],{style:{marginTop:0},children:"图片属性"}),l[t(1183)](C[t(1039)],{layout:t(2022),children:[l[t(822)](C[t(1039)][t(1218)],{label:t(1676),children:l[t(822)](C[t(1788)],{value:x.name,onChange:u=>i(t(1907),u[t(1572)][t(2069)]),onBlur:a})}),l[t(822)](C[t(1039)].Item,{label:t(1717),children:l[t(822)](C[t(1788)][t(803)],{value:x[t(1623)],onChange:u=>i(t(1623),u.target[t(2069)]),onBlur:a,rows:4,placeholder:"输入图片 URL 或 Data URI"})}),l[t(822)](C[t(1039)][t(1218)],{label:"填充颜色(基本形状)",children:l[t(1183)](t(1022),{className:t(1299),children:[l[t(822)](Pn,{value:x.fillColor||t(829),onChange:u=>{const s=t,d=u[s(1615)]();i(s(1105),d),n({name:x[s(1907)],src:x[s(1623)],backgroundColor:x.backgroundColor,fillColor:d})}}),l[t(822)](C[t(1788)],{value:x[t(1105)],onChange:u=>i(t(1105),u.target[t(2069)]),onBlur:a,placeholder:t(829)})]})}),l.jsx(C[t(1039)][t(1218)],{label:"背景颜色",children:l[t(1183)](t(1022),{className:"flex items-center gap-2",children:[l.jsx(Pn,{value:x.backgroundColor||t(829),onChange:u=>{const s=t,d=u[s(1615)]();i("backgroundColor",d),n({name:x[s(1907)],src:x.src,backgroundColor:d,fillColor:x[s(1105)]})}}),l[t(822)](C[t(1788)],{value:x[t(1113)],onChange:u=>i(t(1113),u[t(1572)][t(2069)]),onBlur:a,placeholder:t(829)})]})})]})]})},{Option:Vl}=C[c(1367)],Tl=({material:e,onSave:n})=>{const t=c,o=e[t(2217)]||{},[x,r]=D.useState({lineWeight:o[t(1318)]||o[t(1103)]||2,color:o[t(551)]||t(1126),lineType:o[t(1043)]||t(823),startX:o[t(685)]??0,startY:o[t(501)]??0,endX:o[t(2084)]??100,endY:o[t(870)]??0,rotate:o.rotate??0}),i=JSON.stringify({sw:o[t(1318)]??o.thickness,c:o[t(551)],t:o.lineType,sx:o[t(685)],sy:o[t(501)],ex:o[t(2084)],ey:o[t(870)],r:o[t(1814)]});D[t(713)](()=>{const s=t;r({lineWeight:o[s(1318)]||o[s(1103)]||2,color:o.color||s(1126),lineType:o[s(1043)]||s(823),startX:o.startX??0,startY:o[s(501)]??0,endX:o[s(2084)]??100,endY:o[s(870)]??0,rotate:o[s(1814)]??0})},[e.id,i]);const a=s=>{const d=t,f={...x,...s};r(f),n({config:{...o,thickness:f.lineWeight,lineWeight:f[d(1318)],color:f[d(551)],lineType:f[d(1043)],startX:f.startX,startY:f[d(501)],endX:f[d(2084)],endY:f[d(870)],rotate:f[d(1814)]}})},u=[{value:"solid",label:"实线",desc:t(775)},{value:"dashed",label:"虚线",desc:t(527)},{value:t(1084),label:t(1008),desc:t(697)},{value:t(1141),label:t(1866),desc:t(1903)},{value:t(1970),label:"点线",desc:"密集点状"},{value:t(839),label:t(1670),desc:"长划-点交替"}];return l[t(1183)]("div",{className:t(558),children:[l.jsx(C[t(1739)],{style:{marginTop:0},children:t(680)}),l.jsxs(C[t(1039)],{layout:t(2022),children:[l[t(1183)](t(1022),{className:"grid grid-cols-2 gap-2",children:[l[t(822)](C[t(1039)][t(1218)],{label:"起点 X",className:t(1996),children:l[t(822)](C[t(1172)],{value:x[t(685)],onChange:s=>a({startX:s??0}),style:{width:t(2017)}})}),l[t(822)](C[t(1039)][t(1218)],{label:t(849),className:t(1996),children:l[t(822)](C[t(1172)],{value:x[t(501)],onChange:s=>a({startY:s??0}),style:{width:t(2017)}})}),l.jsx(C[t(1039)][t(1218)],{label:t(1830),className:t(1996),children:l.jsx(C[t(1172)],{value:x[t(2084)],onChange:s=>a({endX:s??100}),style:{width:t(2017)}})}),l[t(822)](C[t(1039)][t(1218)],{label:"终点 Y",className:t(1996),children:l[t(822)](C.InputNumber,{value:x.endY,onChange:s=>a({endY:s??0}),style:{width:t(2017)}})})]}),l.jsx(C[t(1039)].Item,{label:t(2102),className:t(1076),children:l.jsxs(C[t(1652)],{children:[l.jsx(C[t(1804)],{size:"small",onClick:()=>{const s=t,d=o[s(685)]??x[s(685)],f=o[s(501)]??x.startY,b=o[s(2084)]??x[s(2084)],g=o.endY??x[s(870)],w=b-d,h=g-f,v=Math.sqrt(w*w+h*h),M=w>=0?1:-1;a({endX:d+M*v,endY:f})},title:t(536),children:"水平"}),l[t(822)](C.Button,{size:t(1718),onClick:()=>{const s=t,d=o.startX??x.startX,f=o[s(501)]??x[s(501)],b=o[s(2084)]??x[s(2084)],g=o[s(870)]??x[s(870)],w=b-d,h=g-f,v=Math.sqrt(w*w+h*h),M=h>=0?1:-1;a({endX:d,endY:f+M*v})},title:t(1657),children:"垂直"}),l[t(822)](C.Button,{size:"small",onClick:()=>{const s=t,d=o[s(685)]??x[s(685)],f=o[s(501)]??x[s(501)],b=o.endX??x[s(2084)],g=o[s(870)]??x[s(870)];a({startX:b,startY:g,endX:d,endY:f})},title:t(544),children:"反向"})]})}),l[t(822)](C.Form[t(1218)],{label:t(480),help:t(1170),children:l[t(822)](C.InputNumber,{value:x[t(1814)],onChange:s=>{const d=t,f=s??0,b=o[d(685)]??x[d(685)],g=o.startY??x[d(501)],w=o[d(2084)]??x[d(2084)],h=o[d(870)]??x[d(870)],v=w-b,M=h-g,y=Math[d(696)](v*v+M*M),m=f*Math.PI/180;a({rotate:f,endX:Math[d(1892)](b+y*Math[d(1542)](m)),endY:Math[d(1892)](g+y*Math.sin(m))})},style:{width:120}})})]}),l[t(822)](C[t(1739)],{children:t(1102)}),l.jsxs(C[t(1039)],{layout:t(2022),children:[l[t(822)](C[t(1039)].Item,{label:"线型",help:"选择线条样式",children:l[t(822)](C.Select,{value:x[t(1043)],onChange:s=>a({lineType:s}),children:u[t(477)](s=>l[t(822)](Vl,{value:s[t(2069)],children:l[t(1183)](t(1022),{className:t(711),children:[l[t(822)](t(1033),{children:s[t(846)]}),l[t(822)](t(1033),{className:t(957),children:s.desc})]})},s.value))})}),l[t(822)](C[t(1039)].Item,{label:t(842),children:l[t(822)](C[t(1172)],{value:x[t(1318)],onChange:s=>a({lineWeight:s||2}),min:1,max:20,style:{width:120}})}),l[t(822)](C[t(1039)][t(1218)],{label:"颜色",children:l[t(1183)](t(1022),{className:"flex items-center gap-2",children:[l[t(822)](Pn,{value:x.color||t(1799),onChange:s=>a({color:s[t(1615)]()})}),l[t(822)](C[t(1788)],{value:x[t(551)],onChange:s=>a({color:s[t(1572)][t(2069)]}),placeholder:t(1799),style:{width:100}})]})})]})]})};function li(e){return Array[c(1405)](e)}function ql(e){const n=c,t=new Set;return e[n(643)](o=>Object[n(1772)](o)[n(643)](x=>t[n(1923)](x))),Array[n(2088)](t)}function Wl(e,n){const t=c;return e[t(477)]((o,x)=>{const r=t,i=o[n],a=o[r(1907)];return{label:String(a??"项 "+(x+1)),value:typeof i===r(1890)||typeof i=="number"?i:String(i)}})}function Xl(e,n,t){const o=c;if(li(e)){if(n!=null&&t!=null){const x=e[o(581)](r=>r[n]===t);if(x)return x}return{}}return e}const di=({status:e,onUpdate:n,onAppendToExpression:t})=>{const o=c,x=$e(h=>h[o(474)]),r=x.find(h=>h.id===e.boundDatasetId),i=r?li(r[o(452)]):!1,a=r?Xl(r[o(452)],e[o(1557)],e.boundDatasetBindValue):{},u=Mr(a),s=h=>{const v=o,M="data."+h;t?t(M):n({expression:""+(e[v(1174)]||"")+M})},d=h=>{n({boundDatasetId:h??null,boundDatasetBindCode:null,boundDatasetBindValue:null})},f=h=>{n({boundDatasetBindCode:h??null,boundDatasetBindValue:null})},b=h=>{n({boundDatasetBindValue:h??null})},g=r&&i?ql(r.sample):[],w=r&&i&&e[o(1557)]?Wl(r.sample,e[o(1557)]):[];return l.jsxs(l[o(2135)],{children:[l.jsx(C.Form.Item,{label:"绑定数据集",extra:x.length===0?"请先在顶部工具栏点击「数据池」添加至少一个数据集(JSON 对象模板);宿主项目也可通过 initialScheme.dataPool 或 useEditorStore.getState().setDataPool() 注入。":o(1362),children:l[o(822)](C[o(1367)],{allowClear:!0,showSearch:!0,placeholder:x.length===0?"暂无数据集,请打开「数据池」添加":o(533),value:e.boundDatasetId??void 0,options:x[o(477)](h=>({label:h[o(1907)],value:h.id})),onChange:d,filterOption:(h,v)=>String(v?.label??"")[o(2122)]().includes(h[o(2122)]()),onInputKeyDown:h=>{const v=o;h.key===" "&&h[v(655)]()}})}),r&&i&&l[o(1183)](l.Fragment,{children:[l[o(822)](C[o(1039)][o(1218)],{label:"绑定字段",extra:o(1319),children:l[o(822)](C.Select,{allowClear:!0,placeholder:"选择绑定字段",value:e[o(1557)]??void 0,options:g[o(477)](h=>({label:h,value:h})),onChange:f})}),e[o(1557)]&&l[o(822)](C[o(1039)][o(1218)],{label:o(1439),extra:o(1281),children:l[o(822)](C[o(1367)],{allowClear:!0,showSearch:!0,placeholder:o(1426),value:e[o(1470)]??void 0,options:w,onChange:b,filterOption:(h,v)=>String(v?.[o(846)]??"")[o(2122)]().includes(h[o(2122)]()),onInputKeyDown:h=>{const v=o;h[v(874)]===" "&&h[v(655)]()}})})]}),u[o(1115)]>0&&l[o(822)](C[o(1039)][o(1218)],{label:o(1545),children:l[o(822)](C[o(1652)],{size:[4,4],wrap:!0,children:u[o(477)](h=>l[o(822)](C[o(2200)],{className:o(2140),onClick:()=>s(h),children:o(1828)+h},h))})})]})},ui=({material:e,onSave:n})=>{const t=c;switch(e[t(402)]){case t(1254):return l.jsx(Gl,{material:e,onSave:n});case t(2215):return l[t(822)](Hl,{material:e,onSave:n});case t(769):return l.jsx(Tl,{material:e,onSave:n});default:return l[t(822)]("div",{className:"text-center text-gray-400 py-8",children:t(1752)})}},{Panel:fi}=C[c(1498)],{TextArea:Zl}=C.Input,Kl=({node:e,updateNode:n,materials:t})=>{const o=c,x=t[o(2191)](f=>f[o(402)]!==o(606)||!f[o(2217)]?.[o(821)]),r=(f,b)=>{const g=o,w=e[g(1450)]?.[g(477)](h=>{const v=g;return h.id===f?{...h,contentInfo:{...h[v(2161)],statusList:b}}:h});n(e.id,{children:w})},i=f=>{const b=o,g=e[b(1450)]?.[b(581)](h=>h.id===f);if(!g)return;const w={id:Ne.nanoid(),name:"状态"+(g.contentInfo[b(761)][b(1115)]+1),expression:g[b(2161)][b(761)][b(1115)]===0?b(1600):b(1984),material:{...x[0],id:Ne.nanoid()},boundDatasetId:null};r(f,[...g[b(2161)].statusList,w])},a=(f,b)=>{const g=o,w=e[g(1450)]?.[g(581)](v=>v.id===f);if(!w)return;const h=w[g(2161)].statusList.filter(v=>v.id!==b);r(f,h)},u=(f,b,g)=>{const w=o,h=e[w(1450)]?.[w(581)](M=>M.id===f);if(!h)return;const v=h[w(2161)].statusList[w(477)](M=>M.id===b?{...M,...g}:M);r(f,v)},s=(f,b,g)=>{const w=o,h=e[w(1450)]?.find(y=>y.id===f);if(!h)return;const v=h[w(2161)][w(761)][w(1933)](y=>y.id===b);if(v===-1)return;const M=[...h[w(2161)][w(761)]];g==="up"&&v>0?[M[v],M[v-1]]=[M[v-1],M[v]]:g===w(902)&&v<M.length-1&&([M[v],M[v+1]]=[M[v+1],M[v]]),r(f,M)},d=(f,b,g)=>{const w=o,h=t[w(581)](v=>v.id===g);h&&u(f,b,{material:{...h,id:Ne.nanoid()}})};return l[o(1183)](o(1022),{className:"space-y-4",children:[l.jsx(o(1022),{className:o(805),children:l[o(1183)](o(1022),{className:o(800),children:[l.jsx(o(1889),{children:o(1921)}),o(773)]})}),l[o(822)](C[o(1498)],{ghost:!0,children:e.children?.[o(477)]((f,b)=>l[o(822)](fi,{header:l[o(1183)](o(1022),{className:"flex items-center justify-between w-full pr-4",children:[l.jsxs(o(1033),{className:o(1918),children:[o(2141),b+1]}),l.jsxs(C[o(2200)],{color:o(2098),style:{fontSize:"12px",padding:o(882)},children:[f.contentInfo.statusList[o(1115)],o(2153)]})]}),children:l[o(1183)]("div",{className:o(1146),children:[l[o(1183)]("div",{className:o(1985),children:[l[o(822)]("span",{className:o(1143),children:"状态列表"}),l[o(822)](C[o(1804)],{type:o(1850),size:o(1718),icon:l[o(822)](de[o(635)],{}),onClick:()=>i(f.id),children:o(1662)})]}),f[o(2161)][o(761)][o(1115)]===0?l[o(822)]("div",{className:o(514),children:o(1531)}):l[o(822)](C[o(1498)],{ghost:!0,children:f.contentInfo.statusList.map((g,w)=>l[o(822)](fi,{header:l[o(1183)](o(1022),{className:"flex items-center gap-2",children:[l.jsx(o(1033),{className:"text-xs text-gray-400 w-5",children:w+1}),l.jsx(o(1033),{className:o(1842),children:g[o(1907)]}),l[o(822)](C.Tag,{color:"default",className:o(884),children:g[o(1801)][o(402)]})]}),extra:l[o(1183)](C[o(1652)],{size:o(1718),onClick:h=>h[o(655)](),children:[l[o(822)](C[o(1804)],{type:"text",size:"small",icon:l[o(822)](de.ArrowUpOutlined,{}),disabled:w===0,onClick:h=>{h.stopPropagation(),s(f.id,g.id,"up")}}),l[o(822)](C[o(1804)],{type:"text",size:o(1718),icon:l[o(822)](de[o(2080)],{}),disabled:w===f[o(2161)].statusList[o(1115)]-1,onClick:h=>{h[o(655)](),s(f.id,g.id,"down")}}),l[o(822)](C[o(1804)],{type:o(1347),size:o(1718),danger:!0,icon:l[o(822)](de[o(2079)],{}),onClick:h=>{h[o(655)](),a(f.id,g.id)}})]}),children:l[o(1183)](C.Form,{layout:"vertical",children:[l[o(822)](C[o(1039)][o(1218)],{label:"状态名称",children:l[o(822)](C[o(1788)],{value:g[o(1907)],onChange:h=>u(f.id,g.id,{name:h[o(1572)][o(2069)]}),placeholder:o(1820)})}),l[o(822)](di,{status:g,onUpdate:h=>u(f.id,g.id,h)}),l.jsx(C[o(1039)][o(1218)],{label:o(1911),help:o(1653),children:l[o(822)](Zl,{value:g[o(1174)],onChange:h=>u(f.id,g.id,{expression:h[o(1572)][o(2069)]}),rows:3,placeholder:o(1600)})}),l[o(822)](C[o(1039)][o(1218)],{label:"更换物料",children:l[o(1183)](o(1022),{className:"flex items-center gap-2",children:[l.jsx(C[o(2200)],{color:"blue",children:g[o(1801)][o(1907)]}),l[o(822)](C[o(2200)],{color:o(1815),children:g[o(1801)][o(402)]}),l[o(822)](C[o(1367)],{placeholder:o(841),style:{width:150},value:void 0,onChange:h=>h&&d(f.id,g.id,h),options:x.map(h=>({value:h.id,label:h[o(1907)]+" ("+h.type+")"}))})]})}),l.jsx(C[o(1739)],{style:{margin:o(1448)}}),l[o(1183)]("div",{className:o(2070),children:[l[o(1183)](o(1022),{className:o(1323),children:[l[o(822)](o(1033),{className:o(1987),children:o(1639)}),l.jsx(C[o(2200)],{children:g[o(1801)][o(1907)]})]}),l[o(822)](ui,{material:g[o(1801)],onSave:h=>{const v=o,M={...g[v(1801)],...h};u(f.id,g.id,{material:M})}})]})]})},g.id))})]})},f.id))})]})};function Ke(e){const n=c;if(typeof e=="string"||typeof e=="number")return""+e;let t="";if(Array[n(1405)](e))for(let o=0,x;o<e[n(1115)];o++)(x=Ke(e[o]))!==""&&(t+=(t&&" ")+x);else for(let o in e)e[o]&&(t+=(t&&" ")+o);return t}var Rl={value:()=>{}};function Jt(){const e=c;for(var n=0,t=arguments[e(1115)],o={},x;n<t;++n){if(!(x=arguments[n]+"")||x in o||/[\s.]/.test(x))throw new Error("illegal type: "+x);o[x]=[]}return new Qt(o)}function Qt(e){this._=e}function _l(e,n){const t=c;return e[t(1601)]()[t(1325)](/^|\s+/)[t(477)](function(o){const x=t;var r="",i=o[x(455)](".");if(i>=0&&(r=o[x(2051)](i+1),o=o[x(2051)](0,i)),o&&!n[x(659)](o))throw new Error(x(1438)+o);return{type:o,name:r}})}Qt[c(807)]=Jt[c(807)]={constructor:Qt,on:function(e,n){const t=c;var o=this._,x=_l(e+"",o),r,i=-1,a=x[t(1115)];if(arguments[t(1115)]<2){for(;++i<a;)if((r=(e=x[i]).type)&&(r=Jl(o[r],e.name)))return r;return}if(n!=null&&typeof n!="function")throw new Error(t(853)+n);for(;++i<a;)if(r=(e=x[i]).type)o[r]=hi(o[r],e[t(1907)],n);else if(n==null)for(r in o)o[r]=hi(o[r],e.name,null);return this},copy:function(){var e={},n=this._;for(var t in n)e[t]=n[t].slice();return new Qt(e)},call:function(e,n){const t=c;if((r=arguments[t(1115)]-2)>0)for(var o=new Array(r),x=0,r,i;x<r;++x)o[x]=arguments[x+2];if(!this._[t(659)](e))throw new Error(t(1438)+e);for(i=this._[e],x=0,r=i[t(1115)];x<r;++x)i[x][t(2069)][t(1579)](n,o)},apply:function(e,n,t){const o=c;if(!this._[o(659)](e))throw new Error(o(1438)+e);for(var x=this._[e],r=0,i=x[o(1115)];r<i;++r)x[r][o(2069)].apply(n,t)}};function Jl(e,n){const t=c;for(var o=0,x=e.length,r;o<x;++o)if((r=e[o])[t(1907)]===n)return r[t(2069)]}function hi(e,n,t){const o=c;for(var x=0,r=e[o(1115)];x<r;++x)if(e[x][o(1907)]===n){e[x]=Rl,e=e[o(2051)](0,x)[o(660)](e[o(2051)](x+1));break}return t!=null&&e[o(591)]({name:n,value:t}),e}var co=c(2094);const gi={svg:c(1932),xhtml:co,xlink:c(1321),xml:"http://www.w3.org/XML/1998/namespace",xmlns:c(1593)};function Ft(e){const n=c;var t=e+="",o=t[n(455)](":");return o>=0&&(t=e[n(2051)](0,o))!=="xmlns"&&(e=e[n(2051)](o+1)),gi[n(659)](t)?{space:gi[t],local:e}:e}function Ql(e){return function(){const n=_0x31ec;var t=this.ownerDocument,o=this.namespaceURI;return o===co&&t.documentElement.namespaceURI===co?t[n(598)](e):t[n(520)](o,e)}}function Fl(e){return function(){const n=_0x31ec;return this[n(386)].createElementNS(e.space,e[n(975)])}}function bi(e){const n=c;var t=Ft(e);return(t[n(975)]?Fl:Ql)(t)}function $l(){}function so(e){return e==null?$l:function(){return this[_0x31ec(644)](e)}}function ed(e){const n=c;typeof e!==n(1701)&&(e=so(e));for(var t=this[n(1346)],o=t.length,x=new Array(o),r=0;r<o;++r)for(var i=t[r],a=i.length,u=x[r]=new Array(a),s,d,f=0;f<a;++f)(s=i[f])&&(d=e[n(1020)](s,s[n(1279)],f,i))&&("__data__"in s&&(d[n(1279)]=s[n(1279)]),u[f]=d);return new f0(x,this._parents)}function nd(e){return e==null?[]:Array.isArray(e)?e:Array.from(e)}function td(){return[]}function yi(e){return e==null?td:function(){return this[_0x31ec(1609)](e)}}function xd(e){return function(){return nd(e.apply(this,arguments))}}function od(e){const n=c;typeof e===n(1701)?e=xd(e):e=yi(e);for(var t=this[n(1346)],o=t[n(1115)],x=[],r=[],i=0;i<o;++i)for(var a=t[i],u=a.length,s,d=0;d<u;++d)(s=a[d])&&(x.push(e[n(1020)](s,s[n(1279)],d,a)),r[n(591)](s));return new f0(x,r)}function mi(e){return function(){return this[_0x31ec(1421)](e)}}function wi(e){return function(n){return n[_0x31ec(1421)](e)}}var rd=Array[c(807)][c(581)];function id(e){return function(){return rd[_0x31ec(1020)](this.children,e)}}function ad(){return this.firstElementChild}function cd(e){const n=c;return this[n(1435)](e==null?ad:id(typeof e===n(1701)?e:wi(e)))}var sd=Array[c(807)][c(2191)];function ld(){return Array.from(this[c(1450)])}function dd(e){return function(){return sd.call(this.children,e)}}function ud(e){return this[c(2202)](e==null?ld:dd(typeof e=="function"?e:wi(e)))}function fd(e){const n=c;typeof e!==n(1701)&&(e=mi(e));for(var t=this[n(1346)],o=t[n(1115)],x=new Array(o),r=0;r<o;++r)for(var i=t[r],a=i[n(1115)],u=x[r]=[],s,d=0;d<a;++d)(s=i[d])&&e[n(1020)](s,s[n(1279)],d,i)&&u[n(591)](s);return new f0(x,this[n(633)])}function vi(e){return new Array(e.length)}function hd(){const e=c;return new f0(this[e(1195)]||this[e(1346)][e(477)](vi),this[e(633)])}function $t(e,n){const t=c;this[t(386)]=e[t(386)],this[t(1406)]=e[t(1406)],this[t(760)]=null,this[t(1705)]=e,this[t(1279)]=n}$t[c(807)]={constructor:$t,appendChild:function(e){const n=c;return this[n(1705)][n(2107)](e,this[n(760)])},insertBefore:function(e,n){const t=c;return this._parent[t(2107)](e,n)},querySelector:function(e){const n=c;return this._parent[n(644)](e)},querySelectorAll:function(e){const n=c;return this._parent[n(1609)](e)}};function gd(e){return function(){return e}}function bd(e,n,t,o,x,r){const i=c;for(var a=0,u,s=n.length,d=r[i(1115)];a<d;++a)(u=n[a])?(u[i(1279)]=r[a],o[a]=u):t[a]=new $t(e,r[a]);for(;a<s;++a)(u=n[a])&&(x[a]=u)}function yd(e,n,t,o,x,r,i){const a=c;var u,s,d=new Map,f=n.length,b=r.length,g=new Array(f),w;for(u=0;u<f;++u)(s=n[u])&&(g[u]=w=i.call(s,s.__data__,u,n)+"",d.has(w)?x[u]=s:d[a(848)](w,s));for(u=0;u<b;++u)w=i.call(e,r[u],u,r)+"",(s=d[a(1187)](w))?(o[u]=s,s[a(1279)]=r[u],d[a(1611)](w)):t[u]=new $t(e,r[u]);for(u=0;u<f;++u)(s=n[u])&&d.get(g[u])===s&&(x[u]=s)}function md(e){return e.__data__}function wd(e,n){const t=c;if(!arguments[t(1115)])return Array.from(this,md);var o=n?yd:bd,x=this._parents,r=this[t(1346)];typeof e!="function"&&(e=gd(e));for(var i=r[t(1115)],a=new Array(i),u=new Array(i),s=new Array(i),d=0;d<i;++d){var f=x[d],b=r[d],g=b.length,w=vd(e.call(f,f&&f[t(1279)],d,x)),h=w[t(1115)],v=u[d]=new Array(h),M=a[d]=new Array(h),y=s[d]=new Array(g);o(f,b,v,M,y,w,n);for(var m=0,p=0,z,I;m<h;++m)if(z=v[m]){for(m>=p&&(p=m+1);!(I=M[p])&&++p<h;);z._next=I||null}}return a=new f0(a,x),a[t(1195)]=u,a._exit=s,a}function vd(e){const n=c;return typeof e===n(704)&&n(1115)in e?e:Array[n(2088)](e)}function pd(){const e=c;return new f0(this[e(2067)]||this[e(1346)][e(477)](vi),this._parents)}function zd(e,n,t){const o=c;var x=this[o(1214)](),r=this,i=this[o(1486)]();return typeof e===o(1701)?(x=e(x),x&&(x=x[o(771)]())):x=x[o(2087)](e+""),n!=null&&(r=n(r),r&&(r=r.selection())),t==null?i[o(670)]():t(i),x&&r?x.merge(r).order():r}function Cd(e){const n=c;for(var t=e[n(771)]?e[n(771)]():e,o=this[n(1346)],x=t[n(1346)],r=o.length,i=x.length,a=Math.min(r,i),u=new Array(r),s=0;s<a;++s)for(var d=o[s],f=x[s],b=d[n(1115)],g=u[s]=new Array(b),w,h=0;h<b;++h)(w=d[h]||f[h])&&(g[h]=w);for(;s<r;++s)u[s]=o[s];return new f0(u,this[n(633)])}function Md(){const e=c;for(var n=this[e(1346)],t=-1,o=n[e(1115)];++t<o;)for(var x=n[t],r=x[e(1115)]-1,i=x[r],a;--r>=0;)(a=x[r])&&(i&&a[e(413)](i)^4&&i[e(1838)][e(2107)](a,i),i=a);return this}function Bd(e){const n=c;e||(e=Dd);function t(b,g){return b&&g?e(b[_0x31ec(1279)],g.__data__):!b-!g}for(var o=this[n(1346)],x=o[n(1115)],r=new Array(x),i=0;i<x;++i){for(var a=o[i],u=a[n(1115)],s=r[i]=new Array(u),d,f=0;f<u;++f)(d=a[f])&&(s[f]=d);s[n(1093)](t)}return new f0(r,this[n(633)])[n(384)]()}function Dd(e,n){return e<n?-1:e>n?1:e>=n?0:NaN}function Ld(){const e=c;var n=arguments[0];return arguments[0]=this,n[e(1579)](null,arguments),this}function Nd(){return Array[c(2088)](this)}function Sd(){const e=c;for(var n=this[e(1346)],t=0,o=n[e(1115)];t<o;++t)for(var x=n[t],r=0,i=x[e(1115)];r<i;++r){var a=x[r];if(a)return a}return null}function kd(){let e=0;for(const n of this)++e;return e}function Id(){return!this[c(1771)]()}function Pd(e){const n=c;for(var t=this[n(1346)],o=0,x=t.length;o<x;++o)for(var r=t[o],i=0,a=r[n(1115)],u;i<a;++i)(u=r[i])&&e[n(1020)](u,u[n(1279)],i,r);return this}function Ad(e){return function(){this[_0x31ec(1902)](e)}}function Ed(e){return function(){const n=_0x31ec;this[n(476)](e.space,e[n(975)])}}function jd(e,n){return function(){this.setAttribute(e,n)}}function Yd(e,n){return function(){const t=_0x31ec;this[t(1242)](e[t(1528)],e.local,n)}}function Ud(e,n){return function(){const t=_0x31ec;var o=n[t(1579)](this,arguments);o==null?this[t(1902)](e):this.setAttribute(e,o)}}function Od(e,n){return function(){const t=_0x31ec;var o=n.apply(this,arguments);o==null?this[t(476)](e[t(1528)],e[t(975)]):this.setAttributeNS(e[t(1528)],e.local,o)}}function Gd(e,n){const t=c;var o=Ft(e);if(arguments[t(1115)]<2){var x=this[t(1771)]();return o.local?x.getAttributeNS(o[t(1528)],o[t(975)]):x[t(436)](o)}return this[t(2156)]((n==null?o[t(975)]?Ed:Ad:typeof n=="function"?o[t(975)]?Od:Ud:o[t(975)]?Yd:jd)(o,n))}function pi(e){const n=c;return e.ownerDocument&&e[n(386)].defaultView||e[n(1994)]&&e||e.defaultView}function Hd(e){return function(){const n=_0x31ec;this[n(1482)][n(574)](e)}}function Vd(e,n,t){return function(){this[_0x31ec(1482)].setProperty(e,n,t)}}function Td(e,n,t){return function(){const o=_0x31ec;var x=n[o(1579)](this,arguments);x==null?this.style[o(574)](e):this.style[o(2008)](e,x,t)}}function qd(e,n,t){const o=c;return arguments[o(1115)]>1?this.each((n==null?Hd:typeof n=="function"?Td:Vd)(e,n,t??"")):An(this[o(1771)](),e)}function An(e,n){const t=c;return e.style[t(1363)](n)||pi(e).getComputedStyle(e,null)[t(1363)](n)}function Wd(e){return function(){delete this[e]}}function Xd(e,n){return function(){this[e]=n}}function Zd(e,n){return function(){var o=n[_0x31ec(1579)](this,arguments);o==null?delete this[e]:this[e]=o}}function Kd(e,n){const t=c;return arguments[t(1115)]>1?this[t(2156)]((n==null?Wd:typeof n===t(1701)?Zd:Xd)(e,n)):this[t(1771)]()[e]}function zi(e){const n=c;return e.trim()[n(1325)](/^|\s+/)}function lo(e){return e[c(1914)]||new Ci(e)}function Ci(e){const n=c;this[n(517)]=e,this._names=zi(e[n(436)]("class")||"")}Ci[c(807)]={add:function(e){const n=c;var t=this[n(869)][n(455)](e);t<0&&(this[n(869)][n(591)](e),this._node.setAttribute(n(1260),this[n(869)][n(894)](" ")))},remove:function(e){const n=c;var t=this[n(869)][n(455)](e);t>=0&&(this[n(869)][n(1327)](t,1),this._node[n(1894)](n(1260),this[n(869)][n(894)](" ")))},contains:function(e){const n=c;return this[n(869)][n(455)](e)>=0}};function Mi(e,n){const t=c;for(var o=lo(e),x=-1,r=n[t(1115)];++x<r;)o.add(n[x])}function Bi(e,n){const t=c;for(var o=lo(e),x=-1,r=n[t(1115)];++x<r;)o[t(670)](n[x])}function Rd(e){return function(){Mi(this,e)}}function _d(e){return function(){Bi(this,e)}}function Jd(e,n){return function(){(n[_0x31ec(1579)](this,arguments)?Mi:Bi)(this,e)}}function Qd(e,n){const t=c;var o=zi(e+"");if(arguments[t(1115)]<2){for(var x=lo(this[t(1771)]()),r=-1,i=o[t(1115)];++r<i;)if(!x[t(390)](o[r]))return!1;return!0}return this[t(2156)]((typeof n===t(1701)?Jd:n?Rd:_d)(o,n))}function Fd(){const e=c;this[e(964)]=""}function $d(e){return function(){const n=_0x31ec;this[n(964)]=e}}function eu(e){return function(){const n=_0x31ec;var t=e[n(1579)](this,arguments);this[n(964)]=t??""}}function nu(e){const n=c;return arguments[n(1115)]?this[n(2156)](e==null?Fd:(typeof e===n(1701)?eu:$d)(e)):this[n(1771)]()[n(964)]}function tu(){this.innerHTML=""}function xu(e){return function(){const n=_0x31ec;this[n(1919)]=e}}function ou(e){return function(){var t=e[_0x31ec(1579)](this,arguments);this.innerHTML=t??""}}function ru(e){const n=c;return arguments[n(1115)]?this[n(2156)](e==null?tu:(typeof e===n(1701)?ou:xu)(e)):this[n(1771)]()[n(1919)]}function iu(){const e=c;this[e(1425)]&&this[e(1838)][e(1306)](this)}function au(){return this.each(iu)}function cu(){const e=c;this[e(2188)]&&this[e(1838)][e(2107)](this,this[e(1838)][e(1386)])}function su(){return this[c(2156)](cu)}function lu(e){const n=c;var t=typeof e===n(1701)?e:bi(e);return this[n(1435)](function(){const o=n;return this[o(1306)](t[o(1579)](this,arguments))})}function du(){return null}function uu(e,n){const t=c;var o=typeof e===t(1701)?e:bi(e),x=n==null?du:typeof n===t(1701)?n:so(n);return this[t(1435)](function(){const r=t;return this[r(2107)](o[r(1579)](this,arguments),x[r(1579)](this,arguments)||null)})}function fu(){const e=c;var n=this.parentNode;n&&n[e(1278)](this)}function hu(){return this.each(fu)}function gu(){const e=c;var n=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(n,this[e(1425)]):n}function bu(){const e=c;var n=this.cloneNode(!0),t=this[e(1838)];return t?t[e(2107)](n,this[e(1425)]):n}function yu(e){return this[c(1435)](e?bu:gu)}function mu(e){const n=c;return arguments[n(1115)]?this[n(1926)]("__data__",e):this[n(1771)]().__data__}function wu(e){return function(n){const t=_0x31ec;e.call(this,n,this[t(1279)])}}function vu(e){const n=c;return e[n(1601)]()[n(1325)](/^|\s+/)[n(477)](function(t){const o=n;var x="",r=t[o(455)](".");return r>=0&&(x=t[o(2051)](r+1),t=t[o(2051)](0,r)),{type:t,name:x}})}function pu(e){return function(){const n=_0x31ec;var t=this[n(776)];if(t){for(var o=0,x=-1,r=t[n(1115)],i;o<r;++o)i=t[o],(!e[n(402)]||i[n(402)]===e[n(402)])&&i.name===e[n(1907)]?this[n(782)](i[n(402)],i[n(1725)],i[n(1895)]):t[++x]=i;++x?t[n(1115)]=x:delete this[n(776)]}}}function zu(e,n,t){return function(){const o=_0x31ec;var x=this[o(776)],r,i=wu(n);if(x){for(var a=0,u=x[o(1115)];a<u;++a)if((r=x[a])[o(402)]===e.type&&r[o(1907)]===e[o(1907)]){this.removeEventListener(r[o(402)],r[o(1725)],r.options),this.addEventListener(r[o(402)],r[o(1725)]=i,r[o(1895)]=t),r.value=n;return}}this.addEventListener(e.type,i,t),r={type:e[o(402)],name:e[o(1907)],value:n,listener:i,options:t},x?x.push(r):this.__on=[r]}}function Cu(e,n,t){const o=c;var x=vu(e+""),r,i=x.length,a;if(arguments[o(1115)]<2){var u=this[o(1771)]()[o(776)];if(u){for(var s=0,d=u[o(1115)],f;s<d;++s)for(r=0,f=u[s];r<i;++r)if((a=x[r])[o(402)]===f[o(402)]&&a[o(1907)]===f[o(1907)])return f[o(2069)]}return}for(u=n?zu:pu,r=0;r<i;++r)this[o(2156)](u(x[r],n,t));return this}function Di(e,n,t){const o=c;var x=pi(e),r=x[o(1955)];typeof r===o(1701)?r=new r(n,t):(r=x[o(1994)].createEvent(o(1910)),t?(r.initEvent(n,t.bubbles,t[o(1794)]),r[o(1066)]=t[o(1066)]):r[o(1166)](n,!1,!1)),e[o(1211)](r)}function Mu(e,n){return function(){return Di(this,e,n)}}function Bu(e,n){return function(){return Di(this,e,n[_0x31ec(1579)](this,arguments))}}function Du(e,n){const t=c;return this[t(2156)]((typeof n===t(1701)?Bu:Mu)(e,n))}function*Lu(){const e=c;for(var n=this._groups,t=0,o=n[e(1115)];t<o;++t)for(var x=n[t],r=0,i=x[e(1115)],a;r<i;++r)(a=x[r])&&(yield a)}var Li=[null];function f0(e,n){const t=c;this._groups=e,this[t(633)]=n}function lt(){const e=c;return new f0([[document[e(1607)]]],Li)}function Nu(){return this}f0[c(807)]=lt[c(807)]={constructor:f0,select:ed,selectAll:od,selectChild:cd,selectChildren:ud,filter:fd,data:wd,enter:hd,exit:pd,join:zd,merge:Cd,selection:Nu,order:Md,sort:Bd,call:Ld,nodes:Nd,node:Sd,size:kd,empty:Id,each:Pd,attr:Gd,style:qd,property:Kd,classed:Qd,text:nu,html:ru,raise:au,lower:su,append:lu,insert:uu,remove:hu,clone:yu,datum:mu,on:Cu,dispatch:Du,[Symbol[c(2121)]]:Lu};function h0(e){const n=c;return typeof e=="string"?new f0([[document[n(644)](e)]],[document[n(1607)]]):new f0([[e]],Li)}function Su(e){let n;for(;n=e.sourceEvent;)e=n;return e}function z0(e,n){const t=c;if(e=Su(e),n===void 0&&(n=e[t(1667)]),n){var o=n[t(1511)]||n;if(o[t(1230)]){var x=o[t(1230)]();return x.x=e[t(866)],x.y=e[t(1090)],x=x.matrixTransform(n[t(540)]().inverse()),[x.x,x.y]}if(n.getBoundingClientRect){var r=n[t(2226)]();return[e[t(866)]-r[t(2039)]-n.clientLeft,e[t(1090)]-r.top-n[t(589)]]}}return[e[t(1179)],e.pageY]}const ku={passive:!1},dt={capture:!0,passive:!1};function uo(e){e.stopImmediatePropagation()}function En(e){const n=c;e.preventDefault(),e[n(1201)]()}function Ni(e){const n=c;var t=e[n(1994)][n(1607)],o=h0(e).on("dragstart.drag",En,dt);n(1354)in t?o.on(n(1324),En,dt):(t.__noselect=t[n(1482)][n(434)],t[n(1482)][n(434)]=n(559))}function Si(e,n){const t=c;var o=e[t(1994)][t(1607)],x=h0(e).on(t(968),null);n&&(x.on(t(1002),En,dt),setTimeout(function(){x.on("click.drag",null)},0)),"onselectstart"in o?x.on("selectstart.drag",null):(o[t(1482)].MozUserSelect=o[t(897)],delete o.__noselect)}const ex=e=>()=>e;function fo(e,{sourceEvent:n,subject:t,target:o,identifier:x,active:r,x:i,y:a,dx:u,dy:s,dispatch:d}){Object[c(1570)](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:u,enumerable:!0,configurable:!0},dy:{value:s,enumerable:!0,configurable:!0},_:{value:d}})}fo[c(807)].on=function(){const e=c;var n=this._.on[e(1579)](this._,arguments);return n===this._?this:n};function Iu(e){const n=c;return!e[n(1990)]&&!e[n(1127)]}function Pu(){return this[c(1838)]}function Au(e,n){return n??{x:e.x,y:e.y}}function Eu(){return navigator[c(2221)]||"ontouchstart"in this}function ki(){const e=c;var n=Iu,t=Pu,o=Au,x=Eu,r={},i=Jt(e(778),e(1917),"end"),a=0,u,s,d,f,b=0;function g(z){const I=e;z.on(I(592),w).filter(x).on(I(1169),M).on(I(1544),y,ku).on(I(982),m)[I(1482)](I(636),"none")[I(1482)](I(1e3),"rgba(0,0,0,0)")}function w(z,I){const O=e;if(!(f||!n[O(1020)](this,z,I))){var H=p(this,t.call(this,z,I),z,I,"mouse");H&&(h0(z.view).on(O(1869),h,dt).on("mouseup.drag",v,dt),Ni(z[O(1019)]),uo(z),d=!1,u=z[O(866)],s=z[O(1090)],H(O(778),z))}}function h(z){const I=e;if(En(z),!d){var O=z[I(866)]-u,H=z.clientY-s;d=O*O+H*H>b}r[I(1724)](I(1917),z)}function v(z){const I=e;h0(z.view).on("mousemove.drag mouseup.drag",null),Si(z[I(1019)],d),En(z),r[I(1724)](I(2030),z)}function M(z,I){const O=e;if(n[O(1020)](this,z,I)){var H=z.changedTouches,T=t[O(1020)](this,z,I),j=H[O(1115)],q,V;for(q=0;q<j;++q)(V=p(this,T,z,I,H[q].identifier,H[q]))&&(uo(z),V(O(778),z,H[q]))}}function y(z){const I=e;var O=z[I(827)],H=O[I(1115)],T,j;for(T=0;T<H;++T)(j=r[O[T][I(2195)]])&&(En(z),j(I(1917),z,O[T]))}function m(z){const I=e;var O=z[I(827)],H=O.length,T,j;for(f&&clearTimeout(f),f=setTimeout(function(){f=null},500),T=0;T<H;++T)(j=r[O[T][I(2195)]])&&(uo(z),j(I(2030),z,O[T]))}function p(z,I,O,H,T,j){const q=e;var V=i[q(456)](),X=z0(j||O,I),G,L,N;if((N=o[q(1020)](z,new fo(q(464),{sourceEvent:O,target:g,identifier:T,active:a,x:X[0],y:X[1],dx:0,dy:0,dispatch:V}),H))!=null)return G=N.x-X[0]||0,L=N.y-X[1]||0,function B(E,Y,P){const J=q;var F=X,$;switch(E){case J(778):r[T]=B,$=a++;break;case J(2030):delete r[T],--a;case"drag":X=z0(P||Y,I),$=a;break}V[J(1020)](E,z,new fo(E,{sourceEvent:Y,subject:N,target:g,identifier:T,active:$,x:X[0]+G,y:X[1]+L,dx:X[0]-F[0],dy:X[1]-F[1],dispatch:V}),H)}}return g[e(2191)]=function(z){const I=e;return arguments[I(1115)]?(n=typeof z===I(1701)?z:ex(!!z),g):n},g[e(1848)]=function(z){const I=e;return arguments[I(1115)]?(t=typeof z===I(1701)?z:ex(z),g):t},g.subject=function(z){const I=e;return arguments[I(1115)]?(o=typeof z===I(1701)?z:ex(z),g):o},g[e(988)]=function(z){const I=e;return arguments[I(1115)]?(x=typeof z===I(1701)?z:ex(!!z),g):x},g.on=function(){const z=e;var I=i.on[z(1579)](i,arguments);return I===i?g:I},g[e(584)]=function(z){return arguments.length?(b=(z=+z)*z,g):Math.sqrt(b)},g}function ho(e,n,t){const o=c;e[o(807)]=n[o(807)]=t,t[o(631)]=e}function Ii(e,n){var o=Object[c(442)](e.prototype);for(var x in n)o[x]=n[x];return o}function ut(){}var ft=.7,nx=1/ft,jn=c(1976),ht="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",P0=c(1868),ju=/^#([0-9a-f]{3,8})$/,Yu=new RegExp("^rgb\\("+jn+","+jn+","+jn+c(646)),Uu=new RegExp(c(417)+P0+","+P0+","+P0+c(646)),Ou=new RegExp(c(1027)+jn+","+jn+","+jn+","+ht+c(646)),Gu=new RegExp(c(1027)+P0+","+P0+","+P0+","+ht+c(646)),Hu=new RegExp(c(1561)+ht+","+P0+","+P0+c(646)),Vu=new RegExp(c(439)+ht+","+P0+","+P0+","+ht+"\\)$"),Pi={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};ho(ut,sn,{copy(e){return Object[c(1086)](new this.constructor,this,e)},displayable(){const e=c;return this[e(862)]()[e(2003)]()},hex:Ai,formatHex:Ai,formatHex8:Tu,formatHsl:qu,formatRgb:Ei,toString:Ei});function Ai(){return this[c(862)]().formatHex()}function Tu(){return this[c(862)]().formatHex8()}function qu(){const e=c;return Gi(this)[e(954)]()}function Ei(){const e=c;return this[e(862)]()[e(400)]()}function sn(e){const n=c;var t,o;return e=(e+"")[n(1601)]().toLowerCase(),(t=ju[n(1227)](e))?(o=t[1][n(1115)],t=parseInt(t[1],16),o===6?ji(t):o===3?new s0(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):o===8?tx(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):o===4?tx(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=Yu.exec(e))?new s0(t[1],t[2],t[3],1):(t=Uu.exec(e))?new s0(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Ou.exec(e))?tx(t[1],t[2],t[3],t[4]):(t=Gu.exec(e))?tx(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Hu[n(1227)](e))?Oi(t[1],t[2]/100,t[3]/100,1):(t=Vu.exec(e))?Oi(t[1],t[2]/100,t[3]/100,t[4]):Pi[n(659)](e)?ji(Pi[e]):e==="transparent"?new s0(NaN,NaN,NaN,0):null}function ji(e){return new s0(e>>16&255,e>>8&255,e&255,1)}function tx(e,n,t,o){return o<=0&&(e=n=t=NaN),new s0(e,n,t,o)}function Wu(e){const n=c;return e instanceof ut||(e=sn(e)),e?(e=e[n(862)](),new s0(e.r,e.g,e.b,e[n(1983)])):new s0}function go(e,n,t,o){return arguments.length===1?Wu(e):new s0(e,n,t,o??1)}function s0(e,n,t,o){const x=c;this.r=+e,this.g=+n,this.b=+t,this[x(1983)]=+o}ho(s0,go,Ii(ut,{brighter(e){const n=c;return e=e==null?nx:Math[n(504)](nx,e),new s0(this.r*e,this.g*e,this.b*e,this[n(1983)])},darker(e){const n=c;return e=e==null?ft:Math[n(504)](ft,e),new s0(this.r*e,this.g*e,this.b*e,this[n(1983)])},rgb(){return this},clamp(){const e=c;return new s0(ln(this.r),ln(this.g),ln(this.b),xx(this[e(1983)]))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Yi,formatHex:Yi,formatHex8:Xu,formatRgb:Ui,toString:Ui}));function Yi(){return"#"+dn(this.r)+dn(this.g)+dn(this.b)}function Xu(){const e=c;return"#"+dn(this.r)+dn(this.g)+dn(this.b)+dn((isNaN(this[e(1983)])?1:this.opacity)*255)}function Ui(){const e=c,n=xx(this.opacity);return""+e(n===1?1582:2e3)+ln(this.r)+", "+ln(this.g)+", "+ln(this.b)+(n===1?")":", "+n+")")}function xx(e){const n=c;return isNaN(e)?1:Math[n(1824)](0,Math.min(1,e))}function ln(e){const n=c;return Math[n(1824)](0,Math[n(1666)](255,Math.round(e)||0))}function dn(e){const n=c;return e=ln(e),(e<16?"0":"")+e[n(2131)](16)}function Oi(e,n,t,o){return o<=0?e=n=t=NaN:t<=0||t>=1?e=n=NaN:n<=0&&(e=NaN),new C0(e,n,t,o)}function Gi(e){const n=c;if(e instanceof C0)return new C0(e.h,e.s,e.l,e.opacity);if(e instanceof ut||(e=sn(e)),!e)return new C0;if(e instanceof C0)return e;e=e.rgb();var t=e.r/255,o=e.g/255,x=e.b/255,r=Math[n(1666)](t,o,x),i=Math.max(t,o,x),a=NaN,u=i-r,s=(i+r)/2;return u?(t===i?a=(o-x)/u+(o<x)*6:o===i?a=(x-t)/u+2:a=(t-o)/u+4,u/=s<.5?i+r:2-i-r,a*=60):u=s>0&&s<1?0:a,new C0(a,u,s,e[n(1983)])}function Zu(e,n,t,o){return arguments[c(1115)]===1?Gi(e):new C0(e,n,t,o??1)}function C0(e,n,t,o){const x=c;this.h=+e,this.s=+n,this.l=+t,this[x(1983)]=+o}ho(C0,Zu,Ii(ut,{brighter(e){const n=c;return e=e==null?nx:Math[n(504)](nx,e),new C0(this.h,this.s,this.l*e,this[n(1983)])},darker(e){const n=c;return e=e==null?ft:Math[n(504)](ft,e),new C0(this.h,this.s,this.l*e,this[n(1983)])},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 s0(bo(n>=240?n-240:n+120,r,x),bo(n,r,x),bo(n<120?n+240:n-120,r,x),this[e(1983)])},clamp(){const e=c;return new C0(Hi(this.h),ox(this.s),ox(this.l),xx(this[e(1983)]))},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(1983)]<=1},formatHsl(){const e=c,n=xx(this[e(1983)]);return""+e(n===1?665:1415)+Hi(this.h)+", "+ox(this.s)*100+e(950)+ox(this.l)*100+"%"+(n===1?")":", "+n+")")}}));function Hi(e){return e=(e||0)%360,e<0?e+360:e}function ox(e){const n=c;return Math[n(1824)](0,Math[n(1666)](1,e||0))}function bo(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 yo=e=>()=>e;function Ku(e,n){return function(t){return e+t*n}}function Ru(e,n,t){const o=c;return e=Math[o(504)](e,t),n=Math[o(504)](n,t)-e,t=1/t,function(x){return Math[o(504)](e+x*n,t)}}function _u(e){return(e=+e)==1?Vi:function(n,t){return t-n?Ru(n,t,e):yo(isNaN(n)?t:n)}}function Vi(e,n){var t=n-e;return t?Ku(e,t):yo(isNaN(e)?n:e)}const rx=(function e(n){const t=c;var o=_u(n);function x(r,i){const a=_0x31ec;var u=o((r=go(r)).r,(i=go(i)).r),s=o(r.g,i.g),d=o(r.b,i.b),f=Vi(r[a(1983)],i.opacity);return function(b){const g=a;return r.r=u(b),r.g=s(b),r.b=d(b),r[g(1983)]=f(b),r+""}}return x[t(1646)]=e,x})(1);function Ju(e,n){const t=c;n||(n=[]);var o=e?Math[t(1666)](n[t(1115)],e[t(1115)]):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 Qu(e){return ArrayBuffer[c(1810)](e)&&!(e instanceof DataView)}function Fu(e,n){const t=c;var o=n?n[t(1115)]:0,x=e?Math[t(1666)](o,e[t(1115)]):0,r=new Array(x),i=new Array(o),a;for(a=0;a<x;++a)r[a]=gt(e[a],n[a]);for(;a<o;++a)i[a]=n[a];return function(u){for(a=0;a<x;++a)i[a]=r[a](u);return i}}function $u(e,n){var t=new Date;return e=+e,n=+n,function(o){return t[_0x31ec(1419)](e*(1-o)+n*o),t}}function A0(e,n){return e=+e,n=+n,function(t){return e*(1-t)+n*t}}function ef(e,n){const t=c;var o={},x={},r;(e===null||typeof e!==t(704))&&(e={}),(n===null||typeof n!==t(704))&&(n={});for(r in n)r in e?o[r]=gt(e[r],n[r]):x[r]=n[r];return function(i){for(r in o)x[r]=o[r](i);return x}}var mo=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,wo=new RegExp(mo.source,"g");function nf(e){return function(){return e}}function tf(e){return function(n){return e(n)+""}}function Ti(e,n){const t=c;var o=mo[t(1627)]=wo[t(1627)]=0,x,r,i,a=-1,u=[],s=[];for(e=e+"",n=n+"";(x=mo.exec(e))&&(r=wo[t(1227)](n));)(i=r[t(1459)])>o&&(i=n[t(2051)](o,i),u[a]?u[a]+=i:u[++a]=i),(x=x[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,s.push({i:a,x:A0(x,r)})),o=wo[t(1627)];return o<n[t(1115)]&&(i=n[t(2051)](o),u[a]?u[a]+=i:u[++a]=i),u[t(1115)]<2?s[0]?tf(s[0].x):nf(n):(n=s.length,function(d){const f=t;for(var b=0,g;b<n;++b)u[(g=s[b]).i]=g.x(d);return u[f(894)]("")})}function gt(e,n){const t=c;var o=typeof n,x;return n==null||o===t(1124)?yo(n):(o==="number"?A0:o==="string"?(x=sn(n))?(n=x,rx):Ti:n instanceof sn?rx:n instanceof Date?$u:Qu(n)?Ju:Array.isArray(n)?Fu:typeof n[t(1981)]!==t(1701)&&typeof n[t(2131)]!==t(1701)||isNaN(n)?ef:A0)(e,n)}var qi=180/Math.PI,vo={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Wi(e,n,t,o,x,r){const i=c;var a,u,s;return(a=Math[i(696)](e*e+n*n))&&(e/=a,n/=a),(s=e*t+n*o)&&(t-=e*s,o-=n*s),(u=Math[i(696)](t*t+o*o))&&(t/=u,o/=u,s/=u),e*o<n*t&&(e=-e,n=-n,s=-s,a=-a),{translateX:x,translateY:r,rotate:Math.atan2(n,e)*qi,skewX:Math[i(1416)](s)*qi,scaleX:a,scaleY:u}}var ix;function xf(e){const n=c,t=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(e+"");return t[n(1058)]?vo:Wi(t.a,t.b,t.c,t.d,t.e,t.f)}function of(e){const n=c;return e==null||(ix||(ix=document[n(520)](n(1932),"g")),ix[n(1894)](n(1844),e),!(e=ix[n(1844)].baseVal[n(580)]()))?vo:(e=e[n(394)],Wi(e.a,e.b,e.c,e.d,e.e,e.f))}function Xi(e,n,t,o){function x(s){const d=_0x31ec;return s[d(1115)]?s[d(925)]()+" ":""}function r(s,d,f,b,g,w){const h=_0x31ec;if(s!==f||d!==b){var v=g.push(h(2125),null,n,null,t);w.push({i:v-4,x:A0(s,f)},{i:v-2,x:A0(d,b)})}else(f||b)&&g[h(591)](h(2125)+f+n+b+t)}function i(s,d,f,b){const g=_0x31ec;s!==d?(s-d>180?d+=360:d-s>180&&(s+=360),b[g(591)]({i:f[g(591)](x(f)+g(926),null,o)-2,x:A0(s,d)})):d&&f.push(x(f)+g(926)+d+o)}function a(s,d,f,b){const g=_0x31ec;s!==d?b[g(591)]({i:f[g(591)](x(f)+"skewX(",null,o)-2,x:A0(s,d)}):d&&f.push(x(f)+g(526)+d+o)}function u(s,d,f,b,g,w){const h=_0x31ec;if(s!==f||d!==b){var v=g.push(x(g)+"scale(",null,",",null,")");w.push({i:v-4,x:A0(s,f)},{i:v-2,x:A0(d,b)})}else(f!==1||b!==1)&&g[h(591)](x(g)+h(1428)+f+","+b+")")}return function(s,d){const f=_0x31ec;var b=[],g=[];return s=e(s),d=e(d),r(s.translateX,s[f(1851)],d[f(1522)],d[f(1851)],b,g),i(s[f(1814)],d[f(1814)],b,g),a(s[f(1434)],d.skewX,b,g),u(s[f(1353)],s.scaleY,d[f(1353)],d[f(809)],b,g),s=d=null,function(w){const h=f;for(var v=-1,M=g.length,y;++v<M;)b[(y=g[v]).i]=y.x(w);return b[h(894)]("")}}}var rf=Xi(xf,c(2099),c(763),c(2145)),af=Xi(of,", ",")",")"),cf=1e-12;function Zi(e){return((e=Math[c(630)](e))+1/e)/2}function sf(e){return((e=Math.exp(e))-1/e)/2}function lf(e){return((e=Math[c(630)](2*e))-1)/(e+1)}const ax=(function e(n,t,o){function x(r,i){const a=_0x31ec;var u=r[0],s=r[1],d=r[2],f=i[0],b=i[1],g=i[2],w=f-u,h=b-s,v=w*w+h*h,M,y;if(v<cf)y=Math[a(1028)](g/d)/n,M=function(H){const T=a;return[u+H*w,s+H*h,d*Math[T(630)](n*H*y)]};else{var m=Math[a(696)](v),p=(g*g-d*d+o*v)/(2*d*t*m),z=(g*g-d*d-o*v)/(2*g*t*m),I=Math.log(Math.sqrt(p*p+1)-p),O=Math[a(1028)](Math.sqrt(z*z+1)-z);y=(O-I)/n,M=function(H){var T=H*y,j=Zi(I),q=d/(t*m)*(j*lf(n*T+I)-sf(I));return[u+q*w,s+q*h,d*j/Zi(n*T+I)]}}return M[a(859)]=y*1e3*n/Math[a(1521)],M}return x.rho=function(r){var a=Math[_0x31ec(1824)](.001,+r),u=a*a,s=u*u;return e(a,u,s)},x})(Math[c(1521)],2,4);var Yn=0,bt=0,yt=0,Ki=1e3,cx,mt,sx=0,un=0,lx=0,wt=typeof performance===c(704)&&performance[c(2044)]?performance:Date,Ri=typeof window===c(704)&&window[c(2213)]?window.requestAnimationFrame[c(2032)](window):function(e){setTimeout(e,17)};function po(){const e=c;return un||(Ri(df),un=wt[e(2044)]()+lx)}function df(){un=0}function dx(){const e=c;this._call=this[e(385)]=this._next=null}dx[c(807)]=_i[c(807)]={constructor:dx,restart:function(e,n,t){const o=c;if(typeof e!="function")throw new TypeError(o(1025));t=(t==null?po():+t)+(n==null?0:+n),!this._next&&mt!==this&&(mt?mt[o(760)]=this:cx=this,mt=this),this._call=e,this[o(385)]=t,zo()},stop:function(){const e=c;this._call&&(this._call=null,this[e(385)]=1/0,zo())}};function _i(e,n,t){var o=new dx;return o.restart(e,n,t),o}function uf(){const e=c;po(),++Yn;for(var n=cx,t;n;)(t=un-n[e(385)])>=0&&n[e(1872)][e(1020)](void 0,t),n=n[e(760)];--Yn}function Ji(){un=(sx=wt[c(2044)]())+lx,Yn=bt=0;try{uf()}finally{Yn=0,hf(),un=0}}function ff(){var n=wt[c(2044)](),t=n-sx;t>Ki&&(lx-=t,sx=n)}function hf(){const e=c;for(var n,t=cx,o,x=1/0;t;)t[e(1872)]?(x>t[e(385)]&&(x=t._time),n=t,t=t._next):(o=t[e(760)],t[e(760)]=null,t=n?n[e(760)]=o:cx=o);mt=n,zo(x)}function zo(e){const n=c;if(!Yn){bt&&(bt=clearTimeout(bt));var t=e-un;t>24?(e<1/0&&(bt=setTimeout(Ji,e-wt[n(2044)]()-lx)),yt&&(yt=clearInterval(yt))):(yt||(sx=wt[n(2044)](),yt=setInterval(ff,Ki)),Yn=1,Ri(Ji))}}function Qi(e,n,t){const o=c;var x=new dx;return n=n==null?0:+n,x[o(1950)](r=>{x[o(1578)](),e(r+n)},n,t),x}var gf=Jt(c(778),"end",c(820),c(1526)),bf=[],Fi=0,$i=1,Co=2,ux=3,ea=4,Mo=5,fx=6;function hx(e,n,t,o,x,r){const i=c;var a=e[i(1908)];if(!a)e[i(1908)]={};else if(t in a)return;yf(e,t,{name:n,index:o,group:x,on:gf,tween:bf,time:r[i(2075)],delay:r[i(671)],duration:r[i(859)],ease:r[i(1644)],timer:null,state:Fi})}function Bo(e,n){const t=c;var o=M0(e,n);if(o[t(1053)]>Fi)throw new Error(t(2001));return o}function E0(e,n){const t=c;var o=M0(e,n);if(o[t(1053)]>ux)throw new Error(t(1947));return o}function M0(e,n){const t=c;var o=e[t(1908)];if(!o||!(o=o[n]))throw new Error(t(1566));return o}function yf(e,n,t){const o=c;var x=e.__transition,r;x[n]=t,t[o(1271)]=_i(i,0,t.time);function i(d){const f=o;t[f(1053)]=$i,t.timer[f(1950)](a,t[f(671)],t[f(2075)]),t[f(671)]<=d&&a(d-t.delay)}function a(d){const f=o;var b,g,w,h;if(t[f(1053)]!==$i)return s();for(b in x)if(h=x[b],h[f(1907)]===t[f(1907)]){if(h[f(1053)]===ux)return Qi(a);h[f(1053)]===ea?(h[f(1053)]=fx,h[f(1271)].stop(),h.on.call(f(1526),e,e[f(1279)],h.index,h[f(1070)]),delete x[b]):+b<n&&(h[f(1053)]=fx,h[f(1271)][f(1578)](),h.on[f(1020)](f(820),e,e.__data__,h[f(1459)],h[f(1070)]),delete x[b])}if(Qi(function(){const v=f;t[v(1053)]===ux&&(t.state=ea,t.timer[v(1950)](u,t.delay,t[v(2075)]),u(d))}),t[f(1053)]=Co,t.on[f(1020)]("start",e,e[f(1279)],t[f(1459)],t[f(1070)]),t[f(1053)]===Co){for(t[f(1053)]=ux,r=new Array(w=t[f(871)][f(1115)]),b=0,g=-1;b<w;++b)(h=t.tween[b][f(2069)][f(1020)](e,e[f(1279)],t[f(1459)],t.group))&&(r[++g]=h);r.length=g+1}}function u(d){const f=o;for(var b=d<t.duration?t[f(1644)][f(1020)](null,d/t[f(859)]):(t[f(1271)].restart(s),t[f(1053)]=Mo,1),g=-1,w=r[f(1115)];++g<w;)r[g][f(1020)](e,b);t[f(1053)]===Mo&&(t.on[f(1020)](f(2030),e,e[f(1279)],t.index,t[f(1070)]),s())}function s(){const d=o;t.state=fx,t.timer[d(1578)](),delete x[n];for(var f in x)return;delete e.__transition}}function gx(e,n){const t=c;var o=e[t(1908)],x,r,i=!0,a;if(o){n=n==null?null:n+"";for(a in o){if((x=o[a])[t(1907)]!==n){i=!1;continue}r=x.state>Co&&x[t(1053)]<Mo,x[t(1053)]=fx,x[t(1271)].stop(),x.on[t(1020)](t(r?1526:820),e,e.__data__,x[t(1459)],x.group),delete o[a]}i&&delete e.__transition}}function mf(e){return this[c(2156)](function(){gx(this,e)})}function wf(e,n){var t,o;return function(){const x=_0x31ec;var r=E0(this,e),i=r[x(871)];if(i!==t){o=t=i;for(var a=0,u=o.length;a<u;++a)if(o[a][x(1907)]===n){o=o[x(2051)](),o[x(1327)](a,1);break}}r[x(871)]=o}}function vf(e,n,t){var o,x;if(typeof t!="function")throw new Error;return function(){const r=_0x31ec;var i=E0(this,e),a=i[r(871)];if(a!==o){x=(o=a)[r(2051)]();for(var u={name:n,value:t},s=0,d=x[r(1115)];s<d;++s)if(x[s][r(1907)]===n){x[s]=u;break}s===d&&x.push(u)}i[r(871)]=x}}function pf(e,n){const t=c;var o=this[t(2060)];if(e+="",arguments[t(1115)]<2){for(var x=M0(this[t(1771)](),o)[t(871)],r=0,i=x[t(1115)],a;r<i;++r)if((a=x[r])[t(1907)]===e)return a[t(2069)];return null}return this.each((n==null?wf:vf)(o,e,n))}function Do(e,n,t){const o=c;var x=e[o(2060)];return e[o(2156)](function(){const r=o;var i=E0(this,x);(i[r(2069)]||(i[r(2069)]={}))[n]=t.apply(this,arguments)}),function(r){return M0(r,x).value[n]}}function na(e,n){const t=c;var o;return(typeof n===t(552)?A0:n instanceof sn?rx:(o=sn(n))?(n=o,rx):Ti)(e,n)}function zf(e){return function(){this.removeAttribute(e)}}function Cf(e){return function(){const n=_0x31ec;this[n(476)](e[n(1528)],e[n(975)])}}function Mf(e,n,t){var o,x=t+"",r;return function(){var a=this[_0x31ec(436)](e);return a===x?null:a===o?r:r=n(o=a,t)}}function Bf(e,n,t){var o,x=t+"",r;return function(){const i=_0x31ec;var a=this.getAttributeNS(e[i(1528)],e[i(975)]);return a===x?null:a===o?r:r=n(o=a,t)}}function Df(e,n,t){var o,x,r;return function(){const i=_0x31ec;var a,u=t(this),s;return u==null?void this[i(1902)](e):(a=this[i(436)](e),s=u+"",a===s?null:a===o&&s===x?r:(x=s,r=n(o=a,u)))}}function Lf(e,n,t){var o,x,r;return function(){const i=_0x31ec;var a,u=t(this),s;return u==null?void this[i(476)](e[i(1528)],e[i(975)]):(a=this[i(2158)](e.space,e.local),s=u+"",a===s?null:a===o&&s===x?r:(x=s,r=n(o=a,u)))}}function Nf(e,n){const t=c;var o=Ft(e),x=o===t(1844)?af:na;return this[t(922)](e,typeof n===t(1701)?(o[t(975)]?Lf:Df)(o,x,Do(this,t(999)+e,n)):n==null?(o.local?Cf:zf)(o):(o[t(975)]?Bf:Mf)(o,x,n))}function Sf(e,n){return function(t){const o=_0x31ec;this[o(1894)](e,n[o(1020)](this,t))}}function kf(e,n){return function(t){const o=_0x31ec;this[o(1242)](e[o(1528)],e.local,n[o(1020)](this,t))}}function If(e,n){const t=c;var o,x;function r(){var i=n.apply(this,arguments);return i!==x&&(o=(x=i)&&kf(e,i)),o}return r[t(1176)]=n,r}function Pf(e,n){const t=c;var o,x;function r(){var a=n[_0x31ec(1579)](this,arguments);return a!==x&&(o=(x=a)&&Sf(e,a)),o}return r[t(1176)]=n,r}function Af(e,n){const t=c;var o=t(999)+e;if(arguments[t(1115)]<2)return(o=this.tween(o))&&o[t(1176)];if(n==null)return this.tween(o,null);if(typeof n!==t(1701))throw new Error;var x=Ft(e);return this[t(871)](o,(x.local?If:Pf)(x,n))}function Ef(e,n){return function(){const t=_0x31ec;Bo(this,e)[t(671)]=+n[t(1579)](this,arguments)}}function jf(e,n){return n=+n,function(){const t=_0x31ec;Bo(this,e)[t(671)]=n}}function Yf(e){const n=c;var t=this._id;return arguments[n(1115)]?this[n(2156)]((typeof e===n(1701)?Ef:jf)(t,e)):M0(this[n(1771)](),t)[n(671)]}function Uf(e,n){return function(){const t=_0x31ec;E0(this,e)[t(859)]=+n[t(1579)](this,arguments)}}function Of(e,n){return n=+n,function(){const t=_0x31ec;E0(this,e)[t(859)]=n}}function Gf(e){const n=c;var t=this[n(2060)];return arguments.length?this[n(2156)]((typeof e===n(1701)?Uf:Of)(t,e)):M0(this[n(1771)](),t)[n(859)]}function Hf(e,n){const t=c;if(typeof n!==t(1701))throw new Error;return function(){const o=t;E0(this,e)[o(1644)]=n}}function Vf(e){const n=c;var t=this[n(2060)];return arguments[n(1115)]?this[n(2156)](Hf(t,e)):M0(this.node(),t)[n(1644)]}function Tf(e,n){return function(){const t=_0x31ec;var o=n.apply(this,arguments);if(typeof o!==t(1701))throw new Error;E0(this,e)[t(1644)]=o}}function qf(e){const n=c;if(typeof e!="function")throw new Error;return this.each(Tf(this[n(2060)],e))}function Wf(e){const n=c;typeof e!==n(1701)&&(e=mi(e));for(var t=this[n(1346)],o=t.length,x=new Array(o),r=0;r<o;++r)for(var i=t[r],a=i[n(1115)],u=x[r]=[],s,d=0;d<a;++d)(s=i[d])&&e[n(1020)](s,s.__data__,d,i)&&u[n(591)](s);return new G0(x,this[n(633)],this._name,this[n(2060)])}function Xf(e){const n=c;if(e._id!==this[n(2060)])throw new Error;for(var t=this[n(1346)],o=e._groups,x=t[n(1115)],r=o[n(1115)],i=Math[n(1666)](x,r),a=new Array(x),u=0;u<i;++u)for(var s=t[u],d=o[u],f=s[n(1115)],b=a[u]=new Array(f),g,w=0;w<f;++w)(g=s[w]||d[w])&&(b[w]=g);for(;u<x;++u)a[u]=t[u];return new G0(a,this._parents,this._name,this[n(2060)])}function Zf(e){const n=c;return(e+"")[n(1601)]()[n(1325)](/^|\s+/)[n(576)](function(t){const o=n;var x=t[o(455)](".");return x>=0&&(t=t[o(2051)](0,x)),!t||t===o(778)})}function Kf(e,n,t){var o,x,r=Zf(n)?Bo:E0;return function(){var i=r(this,e),a=i.on;a!==o&&(x=(o=a).copy()).on(n,t),i.on=x}}function Rf(e,n){const t=c;var o=this[t(2060)];return arguments[t(1115)]<2?M0(this[t(1771)](),o).on.on(e):this[t(2156)](Kf(o,e,n))}function _f(e){return function(){const n=_0x31ec;var t=this[n(1838)];for(var o in this.__transition)if(+o!==e)return;t&&t[n(1278)](this)}}function Jf(){const e=c;return this.on(e(652),_f(this._id))}function Qf(e){const n=c;var t=this[n(1186)],o=this[n(2060)];typeof e!==n(1701)&&(e=so(e));for(var x=this[n(1346)],r=x[n(1115)],i=new Array(r),a=0;a<r;++a)for(var u=x[a],s=u[n(1115)],d=i[a]=new Array(s),f,b,g=0;g<s;++g)(f=u[g])&&(b=e.call(f,f[n(1279)],g,u))&&("__data__"in f&&(b[n(1279)]=f[n(1279)]),d[g]=b,hx(d[g],t,o,g,d,M0(f,o)));return new G0(i,this._parents,t,o)}function Ff(e){const n=c;var t=this[n(1186)],o=this._id;typeof e!="function"&&(e=yi(e));for(var x=this._groups,r=x[n(1115)],i=[],a=[],u=0;u<r;++u)for(var s=x[u],d=s[n(1115)],f,b=0;b<d;++b)if(f=s[b]){for(var g=e[n(1020)](f,f[n(1279)],b,s),w,h=M0(f,o),v=0,M=g.length;v<M;++v)(w=g[v])&&hx(w,t,o,v,g,h);i.push(g),a[n(591)](f)}return new G0(i,a,t,o)}var $f=lt[c(807)][c(631)];function e5(){const e=c;return new $f(this[e(1346)],this[e(633)])}function n5(e,n){var t,o,x;return function(){const r=_0x31ec;var i=An(this,e),a=(this[r(1482)][r(574)](e),An(this,e));return i===a?null:i===t&&a===o?x:x=n(t=i,o=a)}}function ta(e){return function(){const n=_0x31ec;this.style[n(574)](e)}}function t5(e,n,t){var o,x=t+"",r;return function(){var i=An(this,e);return i===x?null:i===o?r:r=n(o=i,t)}}function x5(e,n,t){var o,x,r;return function(){const i=_0x31ec;var a=An(this,e),u=t(this),s=u+"";return u==null&&(s=u=(this[i(1482)][i(574)](e),An(this,e))),a===s?null:a===o&&s===x?r:(x=s,r=n(o=a,u))}}function o5(e,n){const t=c;var o,x,r,i=t(958)+n,a=t(1294)+i,u;return function(){var s=E0(this,e),d=s.on,f=s.value[i]==null?u||(u=ta(n)):void 0;(d!==o||r!==f)&&(x=(o=d).copy()).on(a,r=f),s.on=x}}function r5(e,n,t){const o=c;var x=(e+="")=="transform"?rf:na;return n==null?this[o(426)](e,n5(e,x)).on(o(2212)+e,ta(e)):typeof n=="function"?this.styleTween(e,x5(e,x,Do(this,o(958)+e,n)))[o(2156)](o5(this[o(2060)],e)):this[o(426)](e,t5(e,x,n),t).on(o(2212)+e,null)}function i5(e,n,t){return function(o){const x=_0x31ec;this.style[x(2008)](e,n.call(this,o),t)}}function a5(e,n,t){const o=c;var x,r;function i(){var a=n.apply(this,arguments);return a!==r&&(x=(r=a)&&i5(e,a,t)),x}return i[o(1176)]=n,i}function c5(e,n,t){const o=c;var x=o(958)+(e+="");if(arguments[o(1115)]<2)return(x=this[o(871)](x))&&x[o(1176)];if(n==null)return this.tween(x,null);if(typeof n!==o(1701))throw new Error;return this[o(871)](x,a5(e,n,t??""))}function s5(e){return function(){this.textContent=e}}function l5(e){return function(){var n=e(this);this.textContent=n??""}}function d5(e){const n=c;return this[n(871)](n(1347),typeof e===n(1701)?l5(Do(this,n(1347),e)):s5(e==null?"":e+""))}function u5(e){return function(n){const t=_0x31ec;this.textContent=e[t(1020)](this,n)}}function f5(e){var n,t;function o(){var r=e[_0x31ec(1579)](this,arguments);return r!==t&&(n=(t=r)&&u5(r)),n}return o._value=e,o}function h5(e){const n=c;var t="text";if(arguments[n(1115)]<1)return(t=this[n(871)](t))&&t[n(1176)];if(e==null)return this[n(871)](t,null);if(typeof e!==n(1701))throw new Error;return this.tween(t,f5(e))}function g5(){const e=c;for(var n=this[e(1186)],t=this._id,o=xa(),x=this[e(1346)],r=x[e(1115)],i=0;i<r;++i)for(var a=x[i],u=a[e(1115)],s,d=0;d<u;++d)if(s=a[d]){var f=M0(s,t);hx(s,n,o,d,a,{time:f[e(2075)]+f.delay+f[e(859)],delay:0,duration:f[e(859)],ease:f[e(1644)]})}return new G0(x,this[e(633)],n,o)}function b5(){const e=c;var n,t,o=this,x=o._id,r=o[e(435)]();return new Promise(function(i,a){const u=e;var s={value:a},d={value:function(){--r===0&&i()}};o[u(2156)](function(){const f=u;var b=E0(this,x),g=b.on;g!==n&&(t=(n=g)[f(456)](),t._[f(820)].push(s),t._[f(1526)].push(s),t._[f(2030)][f(591)](d)),b.on=t}),r===0&&i()})}var y5=0;function G0(e,n,t,o){const x=c;this._groups=e,this[x(633)]=n,this._name=t,this._id=o}function xa(){return++y5}var H0=lt[c(807)];G0.prototype={constructor:G0,select:Qf,selectAll:Ff,selectChild:H0[c(519)],selectChildren:H0[c(754)],filter:Wf,merge:Xf,selection:e5,transition:g5,call:H0[c(1020)],nodes:H0[c(821)],node:H0[c(1771)],size:H0[c(435)],empty:H0[c(611)],each:H0[c(2156)],on:Rf,attr:Nf,attrTween:Af,style:r5,styleTween:c5,text:d5,textTween:h5,remove:Jf,tween:pf,delay:Yf,duration:Gf,ease:Vf,easeVarying:qf,end:b5,[Symbol[c(2121)]]:H0[Symbol[c(2121)]]};function m5(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var w5={time:null,delay:0,duration:250,ease:m5};function v5(e,n){const t=c;for(var o;!(o=e[t(1908)])||!(o=o[n]);)if(!(e=e.parentNode))throw new Error(t(744)+n+" not found");return o}function p5(e){const n=c;var t,o;e instanceof G0?(t=e[n(2060)],e=e[n(1186)]):(t=xa(),(o=w5)[n(2075)]=po(),e=e==null?null:e+"");for(var x=this[n(1346)],r=x[n(1115)],i=0;i<r;++i)for(var a=x[i],u=a[n(1115)],s,d=0;d<u;++d)(s=a[d])&&hx(s,e,t,d,a,o||v5(s,t));return new G0(x,this._parents,e,t)}lt[c(807)][c(1526)]=mf,lt[c(807)][c(981)]=p5;const bx=e=>()=>e;function z5(e,{sourceEvent:n,target:t,transform:o,dispatch:x}){Object[c(1570)](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 V0(e,n,t){this.k=e,this.x=n,this.y=t}V0[c(807)]={constructor:V0,scale:function(e){return e===1?this:new V0(this.k*e,this.x,this.y)},translate:function(e,n){return e===0&n===0?this:new V0(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[n(456)]()[n(1233)](e[n(1087)]()[n(477)](this[n(1243)],this)[n(477)](e[n(602)],e))},rescaleY:function(e){const n=c;return e.copy()[n(1233)](e.range()[n(477)](this[n(708)],this)[n(477)](e[n(602)],e))},toString:function(){const e=c;return"translate("+this.x+","+this.y+e(983)+this.k+")"}};var yx=new V0(1,0,0);oa[c(807)]=V0[c(807)];function oa(e){const n=c;for(;!e.__zoom;)if(!(e=e.parentNode))return yx;return e[n(1291)]}function Lo(e){e[c(1201)]()}function vt(e){const n=c;e[n(875)](),e[n(1201)]()}function C5(e){const n=c;return(!e[n(1990)]||e.type===n(755))&&!e[n(1127)]}function M5(){const e=c;var n=this;return n instanceof SVGElement?(n=n[e(1511)]||n,n[e(489)]("viewBox")?(n=n[e(766)].baseVal,[[n.x,n.y],[n.x+n[e(1142)],n.y+n[e(505)]]]):[[0,0],[n[e(1142)][e(1391)][e(2069)],n.height[e(1391)][e(2069)]]]):[[0,0],[n[e(625)],n.clientHeight]]}function ra(){return this[c(1291)]||yx}function B5(e){const n=c;return-e[n(1045)]*(e[n(1165)]===1?.05:e[n(1165)]?1:.002)*(e[n(1990)]?10:1)}function D5(){return navigator[c(2221)]||"ontouchstart"in this}function L5(e,n,t){const o=c;var x=e.invertX(n[0][0])-t[0][0],r=e[o(1243)](n[1][0])-t[1][0],i=e[o(708)](n[0][1])-t[0][1],a=e[o(708)](n[1][1])-t[1][1];return e.translate(r>x?(x+r)/2:Math[o(1666)](0,x)||Math[o(1824)](0,r),a>i?(i+a)/2:Math[o(1666)](0,i)||Math[o(1824)](0,a))}function ia(){const e=c;var n=C5,t=M5,o=L5,x=B5,r=D5,i=[0,1/0],a=[[-1/0,-1/0],[1/0,1/0]],u=250,s=ax,d=Jt(e(778),e(585),"end"),f,b,g,w=500,h=150,v=0,M=10;function y(L){const N=e;L[N(1926)]("__zoom",ra).on("wheel.zoom",T,{passive:!1}).on("mousedown.zoom",j).on("dblclick.zoom",q)[N(2191)](r).on(N(1054),V).on(N(1018),X).on(N(1555),G)[N(1482)](N(1e3),N(1062))}y[e(1844)]=function(L,N,B,E){const Y=e;var P=L[Y(771)]?L[Y(771)]():L;P.property("__zoom",ra),L!==P?I(L,N,B,E):P[Y(1526)]().each(function(){const J=Y;O(this,arguments).event(E)[J(778)]().zoom(null,typeof N=="function"?N[J(1579)](this,arguments):N)[J(2030)]()})},y[e(1560)]=function(L,N,B,E){const Y=e;y[Y(759)](L,function(){const P=Y;var J=this[P(1291)].k,F=typeof N===P(1701)?N[P(1579)](this,arguments):N;return J*F},B,E)},y[e(759)]=function(L,N,B,E){const Y=e;y[Y(1844)](L,function(){const P=Y;var J=t.apply(this,arguments),F=this[P(1291)],$=B==null?z(J):typeof B===P(1701)?B[P(1579)](this,arguments):B,oe=F[P(602)]($),ie=typeof N===P(1701)?N[P(1579)](this,arguments):N;return o(p(m(F,ie),$,oe),J,a)},B,E)},y[e(1290)]=function(L,N,B,E){const Y=e;y[Y(1844)](L,function(){const P=Y;return o(this[P(1291)][P(797)](typeof N===P(1701)?N[P(1579)](this,arguments):N,typeof B===P(1701)?B.apply(this,arguments):B),t.apply(this,arguments),a)},null,E)},y[e(1392)]=function(L,N,B,E,Y){const P=e;y[P(1844)](L,function(){const J=P;var F=t[J(1579)](this,arguments),$=this[J(1291)],oe=E==null?z(F):typeof E===J(1701)?E[J(1579)](this,arguments):E;return o(yx[J(797)](oe[0],oe[1])[J(745)]($.k)[J(797)](typeof N=="function"?-N.apply(this,arguments):-N,typeof B===J(1701)?-B[J(1579)](this,arguments):-B),F,a)},E,Y)};function m(L,N){const B=e;return N=Math[B(1824)](i[0],Math[B(1666)](i[1],N)),N===L.k?L:new V0(N,L.x,L.y)}function p(L,N,B){var E=N[0]-B[0]*L.k,Y=N[1]-B[1]*L.k;return E===L.x&&Y===L.y?L:new V0(L.k,E,Y)}function z(L){return[(+L[0][0]+ +L[1][0])/2,(+L[0][1]+ +L[1][1])/2]}function I(L,N,B,E){const Y=e;L.on(Y(2071),function(){const P=Y;O(this,arguments)[P(861)](E)[P(778)]()}).on(Y(1928),function(){const P=Y;O(this,arguments)[P(861)](E)[P(2030)]()})[Y(871)](Y(585),function(){const P=Y;var J=this,F=arguments,$=O(J,F)[P(861)](E),oe=t[P(1579)](J,F),ie=B==null?z(oe):typeof B===P(1701)?B.apply(J,F):B,ce=Math[P(1824)](oe[1][0]-oe[0][0],oe[1][1]-oe[0][1]),fe=J[P(1291)],pe=typeof N===P(1701)?N[P(1579)](J,F):N,se=s(fe.invert(ie)[P(660)](ce/fe.k),pe.invert(ie).concat(ce/pe.k));return function(ee){const le=P;if(ee===1)ee=pe;else{var be=se(ee),U=ce/be[2];ee=new V0(U,ie[0]-be[0]*U,ie[1]-be[1]*U)}$[le(585)](null,ee)}})}function O(L,N,B){return!B&&L[e(1915)]||new H(L,N)}function H(L,N){const B=e;this[B(528)]=L,this[B(1097)]=N,this[B(1059)]=0,this[B(1594)]=null,this[B(1520)]=t.apply(L,N),this[B(2204)]=0}H[e(807)]={event:function(L){const N=e;return L&&(this[N(1594)]=L),this},start:function(){const L=e;return++this[L(1059)]===1&&(this[L(528)][L(1915)]=this,this[L(1882)](L(778))),this},zoom:function(L,N){const B=e;return this[B(1724)]&&L!==B(1724)&&(this.mouse[1]=N[B(602)](this[B(1724)][0])),this[B(547)]&&L!==B(1608)&&(this[B(547)][1]=N.invert(this[B(547)][0])),this.touch1&&L!==B(1608)&&(this[B(1385)][1]=N[B(602)](this[B(1385)][0])),this.that[B(1291)]=N,this[B(1882)]("zoom"),this},end:function(){const L=e;return--this.active===0&&(delete this[L(528)][L(1915)],this[L(1882)](L(2030))),this},emit:function(L){const N=e;var B=h0(this[N(528)])[N(395)]();d[N(1020)](L,this.that,new z5(L,{sourceEvent:this.sourceEvent,target:y,transform:this[N(528)][N(1291)],dispatch:d}),B)}};function T(L,...N){const B=e;if(!n[B(1579)](this,arguments))return;var E=O(this,N)[B(861)](L),Y=this[B(1291)],P=Math[B(1824)](i[0],Math.min(i[1],Y.k*Math[B(504)](2,x.apply(this,arguments)))),J=z0(L);if(E[B(755)])(E[B(1724)][0][0]!==J[0]||E[B(1724)][0][1]!==J[1])&&(E[B(1724)][1]=Y.invert(E[B(1724)][0]=J)),clearTimeout(E[B(755)]);else{if(Y.k===P)return;E[B(1724)]=[J,Y[B(602)](J)],gx(this),E[B(778)]()}vt(L),E.wheel=setTimeout(F,h),E[B(585)](B(1724),o(p(m(Y,P),E.mouse[0],E.mouse[1]),E.extent,a));function F(){const $=B;E[$(755)]=null,E.end()}}function j(L,...N){const B=e;if(g||!n[B(1579)](this,arguments))return;var E=L[B(1667)],Y=O(this,N,!0)[B(861)](L),P=h0(L[B(1019)]).on(B(467),oe,!0).on(B(2054),ie,!0),J=z0(L,E),F=L[B(866)],$=L[B(1090)];Ni(L.view),Lo(L),Y[B(1724)]=[J,this[B(1291)][B(602)](J)],gx(this),Y[B(778)]();function oe(ce){const fe=B;if(vt(ce),!Y[fe(1274)]){var pe=ce[fe(866)]-F,se=ce[fe(1090)]-$;Y[fe(1274)]=pe*pe+se*se>v}Y.event(ce)[fe(585)]("mouse",o(p(Y[fe(528)][fe(1291)],Y.mouse[0]=z0(ce,E),Y[fe(1724)][1]),Y[fe(1520)],a))}function ie(ce){const fe=B;P.on(fe(1374),null),Si(ce.view,Y[fe(1274)]),vt(ce),Y[fe(861)](ce)[fe(2030)]()}}function q(L,...N){const B=e;if(n[B(1579)](this,arguments)){var E=this[B(1291)],Y=z0(L[B(827)]?L.changedTouches[0]:L,this),P=E.invert(Y),J=E.k*(L[B(1546)]?.5:2),F=o(p(m(E,J),Y,P),t[B(1579)](this,N),a);vt(L),u>0?h0(this)[B(981)]()[B(859)](u)[B(1020)](I,F,Y,L):h0(this)[B(1020)](y[B(1844)],F,Y,L)}}function V(L,...N){const B=e;if(n[B(1579)](this,arguments)){var E=L[B(432)],Y=E[B(1115)],P=O(this,N,L[B(827)][B(1115)]===Y)[B(861)](L),J,F,$,oe;for(Lo(L),F=0;F<Y;++F)$=E[F],oe=z0($,this),oe=[oe,this[B(1291)][B(602)](oe),$[B(2195)]],P.touch0?!P[B(1385)]&&P[B(547)][2]!==oe[2]&&(P.touch1=oe,P.taps=0):(P[B(547)]=oe,J=!0,P.taps=1+!!f);f&&(f=clearTimeout(f)),J&&(P.taps<2&&(b=oe[0],f=setTimeout(function(){f=null},w)),gx(this),P[B(778)]())}}function X(L,...N){const B=e;if(this[B(1915)]){var E=O(this,N).event(L),Y=L[B(827)],P=Y.length,J,F,$,oe;for(vt(L),J=0;J<P;++J)F=Y[J],$=z0(F,this),E[B(547)]&&E.touch0[2]===F[B(2195)]?E[B(547)][0]=$:E[B(1385)]&&E[B(1385)][2]===F.identifier&&(E[B(1385)][0]=$);if(F=E[B(528)].__zoom,E[B(1385)]){var ie=E[B(547)][0],ce=E.touch0[1],fe=E[B(1385)][0],pe=E.touch1[1],se=(se=fe[0]-ie[0])*se+(se=fe[1]-ie[1])*se,ee=(ee=pe[0]-ce[0])*ee+(ee=pe[1]-ce[1])*ee;F=m(F,Math.sqrt(se/ee)),$=[(ie[0]+fe[0])/2,(ie[1]+fe[1])/2],oe=[(ce[0]+pe[0])/2,(ce[1]+pe[1])/2]}else if(E[B(547)])$=E.touch0[0],oe=E[B(547)][1];else return;E.zoom("touch",o(p(F,$,oe),E[B(1520)],a))}}function G(L,...N){const B=e;if(this[B(1915)]){var E=O(this,N)[B(861)](L),Y=L[B(827)],P=Y[B(1115)],J,F;for(Lo(L),g&&clearTimeout(g),g=setTimeout(function(){g=null},w),J=0;J<P;++J)F=Y[J],E.touch0&&E[B(547)][2]===F[B(2195)]?delete E[B(547)]:E.touch1&&E[B(1385)][2]===F[B(2195)]&&delete E[B(1385)];if(E[B(1385)]&&!E[B(547)]&&(E[B(547)]=E[B(1385)],delete E[B(1385)]),E[B(547)])E[B(547)][1]=this.__zoom.invert(E[B(547)][0]);else if(E[B(2030)](),E[B(2204)]===2&&(F=z0(F,this),Math[B(1473)](b[0]-F[0],b[1]-F[1])<M)){var $=h0(this).on(B(1597));$&&$[B(1579)](this,arguments)}}}return y[e(1277)]=function(L){const N=e;return arguments[N(1115)]?(x=typeof L===N(1701)?L:bx(+L),y):x},y[e(2191)]=function(L){return arguments[e(1115)]?(n=typeof L=="function"?L:bx(!!L),y):n},y[e(988)]=function(L){const N=e;return arguments[N(1115)]?(r=typeof L===N(1701)?L:bx(!!L),y):r},y.extent=function(L){return arguments[e(1115)]?(t=typeof L=="function"?L:bx([[+L[0][0],+L[0][1]],[+L[1][0],+L[1][1]]]),y):t},y.scaleExtent=function(L){return arguments[e(1115)]?(i[0]=+L[0],i[1]=+L[1],y):[i[0],i[1]]},y[e(2206)]=function(L){return arguments[e(1115)]?(a[0][0]=+L[0][0],a[1][0]=+L[1][0],a[0][1]=+L[0][1],a[1][1]=+L[1][1],y):[[a[0][0],a[0][1]],[a[1][0],a[1][1]]]},y[e(2164)]=function(L){return arguments[e(1115)]?(o=L,y):o},y[e(859)]=function(L){return arguments.length?(u=+L,y):u},y[e(2128)]=function(L){return arguments[e(1115)]?(s=L,y):s},y.on=function(){var L=d.on.apply(d,arguments);return L===d?y:L},y[e(584)]=function(L){const N=e;return arguments[N(1115)]?(v=(L=+L)*L,y):Math[N(696)](v)},y.tapDistance=function(L){return arguments[e(1115)]?(M=+L,y):M},y}const g0={error001:()=>"[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001",error002:()=>c(1378),error003:e=>c(1104)+e+c(2163),error004:()=>c(1629),error005:()=>c(1898),error006:()=>c(2152),error007:e=>c(562)+e+" does not exist.",error009:e=>c(2118)+e+c(1492),error008:(e,{id:n,sourceHandle:t,targetHandle:o})=>"Couldn't create edge for "+e+c(1613)+(e==="source"?t:o)+c(855)+n+".",error010:()=>"Handle: No node id found. Make sure to only use a Handle inside a custom Node.",error011:e=>c(791)+e+'" not found. Using fallback type "default".',error012:e=>c(1873)+e+c(1333),error013:(e=c(1637))=>"It seems that you haven't loaded the styles. Please import '@xyflow/"+e+c(1153),error014:()=>c(1691),error015:()=>c(1116)},pt=[[Number[c(1819)],Number[c(1819)]],[Number[c(653)],Number.POSITIVE_INFINITY]],aa=[c(1603)," ",c(1549)],ca={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":c(2160),"node.a11yDescription.ariaLiveMessage":({direction:e,x:n,y:t})=>c(1461)+e+". New position, x: "+n+c(1500)+t,"edge.a11yDescription.default":c(1180),"controls.ariaLabel":c(1716),"controls.zoomIn.ariaLabel":"Zoom In","controls.zoomOut.ariaLabel":c(1683),"controls.fitView.ariaLabel":"Fit View","controls.interactive.ariaLabel":c(1160),"minimap.ariaLabel":c(382),"handle.ariaLabel":c(1744)};var Un;(function(e){const n=c;e[n(1638)]="strict",e[n(2208)]=n(1792)})(Un||(Un={}));var fn;(function(e){const n=c;e.Free=n(1329),e.Vertical="vertical",e[n(1712)]=n(1376)})(fn||(fn={}));var zt;(function(e){const n=c;e[n(2074)]=n(864),e[n(1220)]="full"})(zt||(zt={}));const sa={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var Q0;(function(e){const n=c;e[n(1779)]=n(1815),e[n(1013)]=n(1965),e[n(2045)]=n(478),e[n(1224)]=n(840),e[n(492)]=n(1268)})(Q0||(Q0={}));var mx;(function(e){const n=c;e[n(676)]="arrow",e.ArrowClosed=n(940)})(mx||(mx={}));var Ce;(function(e){const n=c;e[n(1747)]=n(2039),e[n(1835)]="top",e.Right="right",e[n(1852)]=n(604)})(Ce||(Ce={}));const la={[Ce[c(1747)]]:Ce[c(739)],[Ce[c(739)]]:Ce[c(1747)],[Ce[c(1835)]]:Ce[c(1852)],[Ce[c(1852)]]:Ce[c(1835)]};function da(e){return e===null?null:e?"valid":c(645)}const ua=e=>"id"in e&&c(2124)in e&&c(1572)in e,N5=e=>"id"in e&&"position"in e&&!("source"in e)&&!(c(1572)in e),No=e=>"id"in e&&c(2219)in e&&!(c(2124)in e)&&!(c(1572)in e),Ct=(e,n=[0,0])=>{const t=c,{width:o,height:x}=T0(e),r=e.origin??n,i=o*r[0],a=x*r[1];return{x:e.position.x-i,y:e[t(582)].y-a}},S5=(e,n={nodeOrigin:[0,0]})=>{const t=c;if(process.env.NODE_ENV==="development"&&!n[t(2068)]&&console[t(2052)](t(995)),e.length===0)return{x:0,y:0,width:0,height:0};const o=e.reduce((x,r)=>{const i=t,a=typeof r===i(1890);let u=!n[i(2068)]&&!a?r:void 0;n[i(2068)]&&(u=a?n[i(2068)][i(1187)](r):No(r)?r:n[i(2068)][i(1187)](r.id));const s=u?px(u,n[i(1574)]):{x:0,y:0,x2:0,y2:0};return wx(x,s)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return vx(o)},Mt=(e,n={})=>{let t={x:1/0,y:1/0,x2:-1/0,y2:-1/0},o=!1;return e.forEach(x=>{(n[_0x31ec(2191)]===void 0||n.filter(x))&&(t=wx(t,px(x)),o=!0)}),o?vx(t):{x:0,y:0,width:0,height:0}},So=(e,n,[t,o,x]=[0,0,1],r=!1,i=!1)=>{const a=c,u={...Lt(n,[t,o,x]),width:n[a(1142)]/x,height:n[a(505)]/x},s=[];for(const d of e[a(1442)]()){const{measured:f,selectable:b=!0,hidden:g=!1}=d;if(i&&!b||g)continue;const w=f[a(1142)]??d[a(1142)]??d[a(1340)]??null,h=f.height??d[a(505)]??d[a(647)]??null,v=Bt(u,Gn(d)),M=(w??0)*(h??0),y=r&&v>0;(!d[a(2219)][a(2035)]||y||v>=M||d.dragging)&&s[a(591)](d)}return s},k5=(e,n)=>{const t=c,o=new Set;return e[t(643)](x=>{o[t(1923)](x.id)}),n[t(2191)](x=>o[t(1696)](x[t(2124)])||o[t(1696)](x.target))};function I5(e,n){const t=c,o=new Map,x=n?.[t(821)]?new Set(n.nodes[t(477)](r=>r.id)):null;return e[t(643)](r=>{const i=t;r[i(1927)][i(1142)]&&r[i(1927)][i(505)]&&(n?.includeHiddenNodes||!r.hidden)&&(!x||x.has(r.id))&&o[i(848)](r.id,r)}),o}async function P5({nodes:e,width:n,height:t,panZoom:o,minZoom:x,maxZoom:r},i){const a=c;if(e[a(435)]===0)return Promise[a(481)](!0);const u=I5(e,i),s=Mt(u),d=Io(s,n,t,i?.[a(569)]??x,i?.[a(1056)]??r,i?.[a(618)]??.1);return await o[a(573)](d,{duration:i?.duration,ease:i?.ease,interpolate:i?.interpolate}),Promise.resolve(!0)}function fa({nodeId:e,nextPosition:n,nodeLookup:t,nodeOrigin:o=[0,0],nodeExtent:x,onError:r}){const i=c,a=t[i(1187)](e),u=a[i(1913)]?t[i(1187)](a[i(1913)]):void 0,{x:s,y:d}=u?u.internals[i(1197)]:{x:0,y:0},f=a.origin??o;let b=a[i(1520)]||x;if(a[i(1520)]===i(785)&&!a[i(694)])if(!u)r?.(i(1384),g0[i(984)]());else{const w=u[i(1927)][i(1142)],h=u.measured.height;w&&h&&(b=[[s,d],[s+w,d+h]])}else u&&Vn(a[i(1520)])&&(b=[[a.extent[0][0]+s,a[i(1520)][0][1]+d],[a.extent[1][0]+s,a[i(1520)][1][1]+d]]);const g=Vn(b)?hn(n,b,a.measured):n;return(a[i(1927)].width===void 0||a[i(1927)][i(505)]===void 0)&&r?.(i(1310),g0[i(632)]()),{position:{x:g.x-s+(a[i(1927)][i(1142)]??0)*f[0],y:g.y-d+(a.measured[i(505)]??0)*f[1]},positionAbsolute:g}}async function A5({nodesToRemove:e=[],edgesToRemove:n=[],nodes:t,edges:o,onBeforeDelete:x}){const r=c,i=new Set(e[r(477)](g=>g.id)),a=[];for(const g of t){if(g.deletable===!1)continue;const w=i[r(1696)](g.id),h=!w&&g[r(1913)]&&a[r(581)](v=>v.id===g.parentId);(w||h)&&a[r(591)](g)}const u=new Set(n[r(477)](g=>g.id)),s=o[r(2191)](g=>g[r(498)]!==!1),d=k5(a,s),f=d;for(const g of s)u[r(1696)](g.id)&&!f.find(h=>h.id===g.id)&&f.push(g);if(!x)return{edges:f,nodes:a};const b=await x({nodes:a,edges:f});return typeof b=="boolean"?b?{edges:f,nodes:a}:{edges:[],nodes:[]}:b}const On=(e,n=0,t=1)=>Math.min(Math[c(1824)](e,n),t),hn=(e={x:0,y:0},n,t)=>({x:On(e.x,n[0][0],n[1][0]-(t?.[c(1142)]??0)),y:On(e.y,n[0][1],n[1][1]-(t?.[c(505)]??0))});function ha(e,n,t){const{width:o,height:x}=T0(t),{x:r,y:i}=t.internals.positionAbsolute;return hn(e,[[r,i],[r+o,i+x]],n)}const ga=(e,n,t)=>{const o=c;return e<n?On(Math.abs(e-n),1,n)/n:e>t?-On(Math[o(1217)](e-t),1,n)/n:0},ba=(e,n,t=15,o=40)=>{const x=c,r=ga(e.x,o,n[x(1142)]-o)*t,i=ga(e.y,o,n[x(505)]-o)*t;return[r,i]},wx=(e,n)=>({x:Math.min(e.x,n.x),y:Math[c(1666)](e.y,n.y),x2:Math[c(1824)](e.x2,n.x2),y2:Math[c(1824)](e.y2,n.y2)}),ko=({x:e,y:n,width:t,height:o})=>({x:e,y:n,x2:e+t,y2:n+o}),vx=({x:e,y:n,x2:t,y2:o})=>({x:e,y:n,width:t-e,height:o-n}),Gn=(e,n=[0,0])=>{const t=c,{x:o,y:x}=No(e)?e[t(2219)][t(1197)]:Ct(e,n);return{x:o,y:x,width:e[t(1927)]?.[t(1142)]??e.width??e[t(1340)]??0,height:e[t(1927)]?.[t(505)]??e.height??e[t(647)]??0}},px=(e,n=[0,0])=>{const t=c,{x:o,y:x}=No(e)?e.internals[t(1197)]:Ct(e,n);return{x:o,y:x,x2:o+(e[t(1927)]?.width??e.width??e[t(1340)]??0),y2:x+(e[t(1927)]?.[t(505)]??e.height??e[t(647)]??0)}},ya=(e,n)=>vx(wx(ko(e),ko(n))),Bt=(e,n)=>{const t=c,o=Math[t(1824)](0,Math[t(1666)](e.x+e[t(1142)],n.x+n[t(1142)])-Math[t(1824)](e.x,n.x)),x=Math.max(0,Math[t(1666)](e.y+e[t(505)],n.y+n[t(505)])-Math[t(1824)](e.y,n.y));return Math[t(1969)](o*x)},ma=e=>B0(e[c(1142)])&&B0(e.height)&&B0(e.x)&&B0(e.y),B0=e=>!isNaN(e)&&isFinite(e),wa=(e,n)=>{const t=c;process.env.NODE_ENV===t(499)&&console[t(2052)](t(1371)+n+" Help: https://reactflow.dev/error#"+e)},Dt=(e,n=[1,1])=>({x:n[0]*Math.round(e.x/n[0]),y:n[1]*Math.round(e.y/n[1])}),Lt=({x:e,y:n},[t,o,x],r=!1,i=[1,1])=>{const a={x:(e-t)/x,y:(n-o)/x};return r?Dt(a,i):a},zx=({x:e,y:n},[t,o,x])=>({x:e*x+t,y:n*x+o});function Hn(e,n){const t=c;if(typeof e===t(552))return Math[t(1136)]((n-n/(1+e))*.5);if(typeof e=="string"&&e[t(1339)]("px")){const o=parseFloat(e);if(!Number.isNaN(o))return Math.floor(o)}if(typeof e=="string"&&e.endsWith("%")){const o=parseFloat(e);if(!Number[t(1930)](o))return Math[t(1136)](n*o*.01)}return console[t(541)]('[React Flow] The padding value "'+e+t(1740)),0}function E5(e,n,t){const o=c;if(typeof e=="string"||typeof e===o(552)){const x=Hn(e,t),r=Hn(e,n);return{top:x,right:r,bottom:x,left:r,x:r*2,y:x*2}}if(typeof e===o(704)){const x=Hn(e[o(709)]??e.y??0,t),r=Hn(e[o(604)]??e.y??0,t),i=Hn(e[o(2039)]??e.x??0,n),a=Hn(e[o(1862)]??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 j5(e,n,t,o,x,r){const i=c,{x:a,y:u}=zx(e,[n,t,o]),{x:s,y:d}=zx({x:e.x+e.width,y:e.y+e.height},[n,t,o]),f=x-s,b=r-d;return{left:Math.floor(a),top:Math[i(1136)](u),right:Math[i(1136)](f),bottom:Math[i(1136)](b)}}const Io=(e,n,t,o,x,r)=>{const i=c,a=E5(r,n,t),u=(n-a.x)/e[i(1142)],s=(t-a.y)/e[i(505)],d=Math.min(u,s),f=On(d,o,x),b=e.x+e.width/2,g=e.y+e[i(505)]/2,w=n/2-b*f,h=t/2-g*f,v=j5(e,w,h,f,n,t),M={left:Math[i(1666)](v.left-a.left,0),top:Math[i(1666)](v[i(709)]-a.top,0),right:Math[i(1666)](v.right-a[i(1862)],0),bottom:Math[i(1666)](v[i(604)]-a[i(604)],0)};return{x:w-M[i(2039)]+M[i(1862)],y:h-M[i(709)]+M[i(604)],zoom:f}},Nt=()=>typeof navigator<"u"&&navigator?.[c(1079)]?.[c(455)](c(468))>=0;function Vn(e){const n=c;return e!=null&&e!==n(785)}function T0(e){const n=c;return{width:e[n(1927)]?.[n(1142)]??e.width??e.initialWidth??0,height:e[n(1927)]?.[n(505)]??e[n(505)]??e[n(647)]??0}}function va(e){const n=c;return(e[n(1927)]?.[n(1142)]??e[n(1142)]??e[n(1340)])!==void 0&&(e[n(1927)]?.[n(505)]??e[n(505)]??e[n(647)])!==void 0}function pa(e,n={width:0,height:0},t,o,x){const r=c,i={...e},a=o.get(t);if(a){const u=a[r(1273)]||x;i.x+=a[r(2219)][r(1197)].x-(n.width??0)*u[0],i.y+=a[r(2219)].positionAbsolute.y-(n[r(505)]??0)*u[1]}return i}function za(e,n){const t=c;if(e[t(435)]!==n[t(435)])return!1;for(const o of e)if(!n[t(1696)](o))return!1;return!0}function Y5(){let e,n;return{promise:new Promise((o,x)=>{e=o,n=x}),resolve:e,reject:n}}function U5(e){return{...ca,...e||{}}}function St(e,{snapGrid:n=[0,0],snapToGrid:t=!1,transform:o,containerBounds:x}){const r=c,{x:i,y:a}=D0(e),u=Lt({x:i-(x?.[r(2039)]??0),y:a-(x?.[r(709)]??0)},o),{x:s,y:d}=t?Dt(u,n):u;return{xSnapped:s,ySnapped:d,...u}}const Po=e=>({width:e[c(566)],height:e[c(1100)]}),Ca=e=>e?.getRootNode?.()||window?.[c(1994)],O5=["INPUT","SELECT","TEXTAREA"];function Ma(e){const n=c,t=e[n(406)]?.()?.[0]||e[n(1572)];return t?.[n(451)]!==1?!1:O5.includes(t[n(1834)])||t.hasAttribute("contenteditable")||!!t[n(1077)](n(2007))}const Ba=e=>c(866)in e,D0=(e,n)=>{const t=c,o=Ba(e),x=o?e.clientX:e[t(432)]?.[0][t(866)],r=o?e[t(1090)]:e[t(432)]?.[0].clientY;return{x:x-(n?.[t(2039)]??0),y:r-(n?.[t(709)]??0)}},Da=(e,n,t,o,x)=>{const r=c,i=n[r(1609)]("."+e);return!i||!i[r(1115)]?null:Array[r(2088)](i)[r(477)](a=>{const u=r,s=a[u(2226)]();return{id:a.getAttribute(u(1356)),type:e,nodeId:x,position:a[u(436)](u(893)),x:(s.left-t[u(2039)])/o,y:(s[u(709)]-t.top)/o,...Po(a)}})};function La({sourceX:e,sourceY:n,targetX:t,targetY:o,sourceControlX:x,sourceControlY:r,targetControlX:i,targetControlY:a}){const u=c,s=e*.125+x*.375+i*.375+t*.125,d=n*.125+r*.375+a*.375+o*.125,f=Math[u(1217)](s-e),b=Math[u(1217)](d-n);return[s,d,f,b]}function Cx(e,n){const t=c;return e>=0?.5*e:n*25*Math[t(696)](-e)}function Na({pos:e,x1:n,y1:t,x2:o,y2:x,c:r}){const i=c;switch(e){case Ce[i(1747)]:return[n-Cx(n-o,r),t];case Ce[i(739)]:return[n+Cx(o-n,r),t];case Ce[i(1835)]:return[n,t-Cx(t-x,r)];case Ce[i(1852)]:return[n,t+Cx(x-t,r)]}}function Sa({sourceX:e,sourceY:n,sourcePosition:t=Ce[c(1852)],targetX:o,targetY:x,targetPosition:r=Ce[c(1835)],curvature:i=.25}){const[a,u]=Na({pos:t,x1:e,y1:n,x2:o,y2:x,c:i}),[s,d]=Na({pos:r,x1:o,y1:x,x2:e,y2:n,c:i}),[f,b,g,w]=La({sourceX:e,sourceY:n,targetX:o,targetY:x,sourceControlX:a,sourceControlY:u,targetControlX:s,targetControlY:d});return["M"+e+","+n+" C"+a+","+u+" "+s+","+d+" "+o+","+x,f,b,g,w]}function ka({sourceX:e,sourceY:n,targetX:t,targetY:o}){const x=c,r=Math[x(1217)](t-e)/2,i=t<e?t+r:t-r,a=Math[x(1217)](o-n)/2,u=o<n?o+a:o-a;return[i,u,r,a]}function G5({sourceNode:e,targetNode:n,selected:t=!1,zIndex:o=0,elevateOnSelect:x=!1,zIndexMode:r=c(1061)}){const i=c;if(r===i(1956))return o;const a=x&&t?o+1e3:o,u=Math[i(1824)](e.parentId||x&&e[i(1412)]?e[i(2219)].z:0,n[i(1913)]||x&&n[i(1412)]?n[i(2219)].z:0);return a+u}function H5({sourceNode:e,targetNode:n,width:t,height:o,transform:x}){const r=wx(px(e),px(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 Bt(i,vx(r))>0}const V5=({source:e,sourceHandle:n,target:t,targetHandle:o})=>"xy-edge__"+e+(n||"")+"-"+t+(o||""),T5=(e,n)=>{const t=c;return n[t(1432)](o=>o[t(2124)]===e.source&&o[t(1572)]===e[t(1572)]&&(o[t(1400)]===e[t(1400)]||!o[t(1400)]&&!e.sourceHandle)&&(o[t(819)]===e[t(819)]||!o[t(819)]&&!e[t(819)]))},Ia=(e,n,t={})=>{const o=c;if(!e[o(2124)]||!e[o(1572)])return wa(o(629),g0[o(2055)]()),n;const x=t[o(730)]||V5;let r;return ua(e)?r={...e}:r={...e,id:x(e)},T5(r,n)?n:(r[o(1400)]===null&&delete r[o(1400)],r.targetHandle===null&&delete r[o(819)],n[o(660)](r))};function Pa({sourceX:e,sourceY:n,targetX:t,targetY:o}){const[x,r,i,a]=ka({sourceX:e,sourceY:n,targetX:t,targetY:o});return["M "+e+","+n+"L "+t+","+o,x,r,i,a]}const Aa={[Ce.Left]:{x:-1,y:0},[Ce[c(739)]]:{x:1,y:0},[Ce[c(1835)]]:{x:0,y:-1},[Ce[c(1852)]]:{x:0,y:1}},q5=({source:e,sourcePosition:n=Ce[c(1852)],target:t})=>{const o=c;return n===Ce[o(1747)]||n===Ce[o(739)]?e.x<t.x?{x:1,y:0}:{x:-1,y:0}:e.y<t.y?{x:0,y:1}:{x:0,y:-1}},Ea=(e,n)=>Math.sqrt(Math[c(504)](n.x-e.x,2)+Math[c(504)](n.y-e.y,2));function W5({source:e,sourcePosition:n=Ce[c(1852)],target:t,targetPosition:o=Ce[c(1835)],center:x,offset:r,stepPosition:i}){const a=c,u=Aa[n],s=Aa[o],d={x:e.x+u.x*r,y:e.y+u.y*r},f={x:t.x+s.x*r,y:t.y+s.y*r},b=q5({source:d,sourcePosition:n,target:f}),g=b.x!==0?"x":"y",w=b[g];let h=[],v,M;const y={x:0,y:0},m={x:0,y:0},[,,p,z]=ka({sourceX:e.x,sourceY:e.y,targetX:t.x,targetY:t.y});if(u[g]*s[g]===-1){g==="x"?(v=x.x??d.x+(f.x-d.x)*i,M=x.y??(d.y+f.y)/2):(v=x.x??(d.x+f.x)/2,M=x.y??d.y+(f.y-d.y)*i);const T=[{x:v,y:d.y},{x:v,y:f.y}],j=[{x:d.x,y:M},{x:f.x,y:M}];u[g]===w?h=g==="x"?T:j:h=g==="x"?j:T}else{const T=[{x:d.x,y:f.y}],j=[{x:f.x,y:d.y}];if(g==="x"?h=u.x===w?j:T:h=u.y===w?T:j,n===o){const L=Math[a(1217)](e[g]-t[g]);if(L<=r){const N=Math[a(1666)](r-1,r-L);u[g]===w?y[g]=(d[g]>e[g]?-1:1)*N:m[g]=(f[g]>t[g]?-1:1)*N}}if(n!==o){const L=g==="x"?"y":"x",N=u[g]===s[L],B=d[L]>f[L],E=d[L]<f[L];(u[g]===1&&(!N&&B||N&&E)||u[g]!==1&&(!N&&E||N&&B))&&(h=g==="x"?T:j)}const q={x:d.x+y.x,y:d.y+y.y},V={x:f.x+m.x,y:f.y+m.y},X=Math[a(1824)](Math.abs(q.x-h[0].x),Math[a(1217)](V.x-h[0].x)),G=Math[a(1824)](Math[a(1217)](q.y-h[0].y),Math.abs(V.y-h[0].y));X>=G?(v=(q.x+V.x)/2,M=h[0].y):(v=h[0].x,M=(q.y+V.y)/2)}const I={x:d.x+y.x,y:d.y+y.y},O={x:f.x+m.x,y:f.y+m.y};return[[e,...I.x!==h[0].x||I.y!==h[0].y?[I]:[],...h,...O.x!==h[h[a(1115)]-1].x||O.y!==h[h[a(1115)]-1].y?[O]:[],t],v,M,p,z]}function X5(e,n,t,o){const x=c,r=Math[x(1666)](Ea(e,n)/2,Ea(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 d=e.x<t.x?-1:1,f=e.y<t.y?1:-1;return"L "+(i+r*d)+","+a+"Q "+i+","+a+" "+i+","+(a+r*f)}const u=e.x<t.x?1:-1,s=e.y<t.y?-1:1;return"L "+i+","+(a+r*s)+"Q "+i+","+a+" "+(i+r*u)+","+a}function Ao({sourceX:e,sourceY:n,sourcePosition:t=Ce.Bottom,targetX:o,targetY:x,targetPosition:r=Ce.Top,borderRadius:i=5,centerX:a,centerY:u,offset:s=20,stepPosition:d=.5}){const f=c,[b,g,w,h,v]=W5({source:{x:e,y:n},sourcePosition:t,target:{x:o,y:x},targetPosition:r,center:{x:a,y:u},offset:s,stepPosition:d});let M="M"+b[0].x+" "+b[0].y;for(let y=1;y<b[f(1115)]-1;y++)M+=X5(b[y-1],b[y],b[y+1],i);return M+="L"+b[b[f(1115)]-1].x+" "+b[b[f(1115)]-1].y,[M,g,w,h,v]}function ja(e){const n=c;return e&&!!(e[n(2219)][n(2035)]||e[n(1456)]?.[n(1115)])&&!!(e[n(1927)].width||e[n(1142)]||e[n(1340)])}function Z5(e){const n=c,{sourceNode:t,targetNode:o}=e;if(!ja(t)||!ja(o))return null;const x=t.internals[n(2035)]||Ya(t.handles),r=o[n(2219)][n(2035)]||Ya(o.handles),i=Ua(x?.[n(2124)]??[],e[n(1400)]),a=Ua(e.connectionMode===Un[n(1638)]?r?.target??[]:(r?.[n(1572)]??[])[n(660)](r?.[n(2124)]??[]),e[n(819)]);if(!i||!a)return e[n(856)]?.(n(941),g0[n(1036)](n(i?1572:2124),{id:e.id,sourceHandle:e.sourceHandle,targetHandle:e[n(819)]})),null;const u=i?.[n(582)]||Ce.Bottom,s=a?.position||Ce[n(1835)],d=gn(t,i,u),f=gn(o,a,s);return{sourceX:d.x,sourceY:d.y,targetX:f.x,targetY:f.y,sourcePosition:u,targetPosition:s}}function Ya(e){const n=c;if(!e)return null;const t=[],o=[];for(const x of e)x[n(1142)]=x[n(1142)]??1,x[n(505)]=x[n(505)]??1,x[n(402)]===n(2124)?t[n(591)](x):x[n(402)]==="target"&&o[n(591)](x);return{source:t,target:o}}function gn(e,n,t=Ce[c(1747)],o=!1){const x=c,r=(n?.x??0)+e[x(2219)][x(1197)].x,i=(n?.y??0)+e[x(2219)][x(1197)].y,{width:a,height:u}=n??T0(e);if(o)return{x:r+a/2,y:i+u/2};switch(n?.[x(582)]??t){case Ce[x(1835)]:return{x:r+a/2,y:i};case Ce[x(739)]:return{x:r+a,y:i+u/2};case Ce[x(1852)]:return{x:r+a/2,y:i+u};case Ce[x(1747)]:return{x:r,y:i+u/2}}}function Ua(e,n){const t=c;return e&&(n?e[t(581)](o=>o.id===n):e[0])||null}function Eo(e,n){const t=c;return e?typeof e===t(1890)?e:""+(n?n+"__":"")+Object[t(1772)](e).sort().map(x=>x+"="+e[x])[t(894)]("&"):""}function K5(e,{id:n,defaultColor:t,defaultMarkerStart:o,defaultMarkerEnd:x}){const r=c,i=new Set;return e[r(1267)]((a,u)=>{const s=r;return[u[s(1952)]||o,u[s(687)]||x][s(643)](d=>{const f=s;if(d&&typeof d===f(704)){const b=Eo(d,n);!i[f(1696)](b)&&(a[f(591)]({id:b,color:d[f(551)]||t,...d}),i[f(1923)](b))}}),a},[])[r(1093)]((a,u)=>a.id.localeCompare(u.id))}const Oa=1e3,R5=10,jo={nodeOrigin:[0,0],nodeExtent:pt,elevateNodesOnSelect:!0,zIndexMode:c(1061),defaults:{}},_5={...jo,checkEquality:!0};function Yo(e,n){const t={...e};for(const o in n)n[o]!==void 0&&(t[o]=n[o]);return t}function J5(e,n,t){const o=c,x=Yo(jo,t);for(const r of e.values())if(r[o(1913)])Go(r,e,n,x);else{const i=Ct(r,x[o(1574)]),a=Vn(r[o(1520)])?r[o(1520)]:x[o(850)],u=hn(i,a,T0(r));r[o(2219)][o(1197)]=u}}function Q5(e,n){const t=c;if(!e[t(1456)])return e[t(1927)]?n?.internals[t(2035)]:void 0;const o=[],x=[];for(const r of e[t(1456)]){const i={id:r.id,width:r[t(1142)]??1,height:r[t(505)]??1,nodeId:e.id,x:r.x,y:r.y,position:r[t(582)],type:r[t(402)]};r[t(402)]===t(2124)?o.push(i):r[t(402)]==="target"&&x.push(i)}return{source:o,target:x}}function Uo(e){return e==="manual"}function Oo(e,n,t,o={}){const x=c,r=Yo(_5,o),i={i:0},a=new Map(n),u=r?.[x(2106)]&&!Uo(r.zIndexMode)?Oa:0;let s=e.length>0,d=!1;n[x(1021)](),t[x(1021)]();for(const f of e){let b=a[x(1187)](f.id);if(r[x(2101)]&&f===b?.[x(2219)][x(408)])n[x(848)](f.id,b);else{const g=Ct(f,r[x(1574)]),w=Vn(f.extent)?f.extent:r[x(850)],h=hn(g,w,T0(f));b={...r[x(465)],...f,measured:{width:f[x(1927)]?.[x(1142)],height:f[x(1927)]?.height},internals:{positionAbsolute:h,handleBounds:Q5(f,b),z:Ga(f,u,r[x(1012)]),userNode:f}},n[x(848)](f.id,b)}(b[x(1927)]===void 0||b.measured[x(1142)]===void 0||b.measured[x(505)]===void 0)&&!b[x(1123)]&&(s=!1),f.parentId&&Go(b,n,t,o,i),d||=f[x(1412)]??!1}return{nodesInitialized:s,hasSelectedNodes:d}}function F5(e,n){const t=c;if(!e.parentId)return;const o=n[t(1187)](e[t(1913)]);o?o[t(848)](e.id,e):n.set(e[t(1913)],new Map([[e.id,e]]))}function Go(e,n,t,o,x){const r=c,{elevateNodesOnSelect:i,nodeOrigin:a,nodeExtent:u,zIndexMode:s}=Yo(jo,o),d=e.parentId,f=n.get(d);if(!f){console.warn(r(2197)+d+r(1821));return}F5(e,t),x&&!f[r(1913)]&&f[r(2219)][r(1420)]===void 0&&s===r(1891)&&(f[r(2219)].rootParentIndex=++x.i,f[r(2219)].z=f[r(2219)].z+x.i*R5),x&&f.internals.rootParentIndex!==void 0&&(x.i=f[r(2219)][r(1420)]);const b=i&&!Uo(s)?Oa:0,{x:g,y:w,z:h}=$5(e,f,a,u,b,s),{positionAbsolute:v}=e.internals,M=g!==v.x||w!==v.y;(M||h!==e.internals.z)&&n[r(848)](e.id,{...e,internals:{...e[r(2219)],positionAbsolute:M?{x:g,y:w}:v,z:h}})}function Ga(e,n,t){const o=c,x=B0(e[o(441)])?e[o(441)]:0;return Uo(t)?x:x+(e.selected?n:0)}function $5(e,n,t,o,x,r){const i=c,{x:a,y:u}=n.internals[i(1197)],s=T0(e),d=Ct(e,t),f=Vn(e[i(1520)])?hn(d,e[i(1520)],s):d;let b=hn({x:a+f.x,y:u+f.y},o,s);e.extent===i(785)&&(b=ha(b,s,n));const g=Ga(e,x,r),w=n[i(2219)].z??0;return{x:b.x,y:b.y,z:w>=g?w+1:g}}function Ho(e,n,t,o=[0,0]){const x=c,r=[],i=new Map;for(const a of e){const u=n[x(1187)](a[x(1913)]);if(!u)continue;const s=i[x(1187)](a[x(1913)])?.expandedRect??Gn(u),d=ya(s,a[x(415)]);i[x(848)](a[x(1913)],{expandedRect:d,parent:u})}return i[x(435)]>0&&i[x(643)](({expandedRect:a,parent:u},s)=>{const d=x,f=u[d(2219)][d(1197)],b=T0(u),g=u.origin??o,w=a.x<f.x?Math[d(1892)](Math[d(1217)](f.x-a.x)):0,h=a.y<f.y?Math.round(Math[d(1217)](f.y-a.y)):0,v=Math[d(1824)](b[d(1142)],Math[d(1892)](a[d(1142)])),M=Math.max(b[d(505)],Math[d(1892)](a[d(505)])),y=(v-b[d(1142)])*g[0],m=(M-b[d(505)])*g[1];(w>0||h>0||y||m)&&(r[d(591)]({id:s,type:d(582),position:{x:u.position.x-w+y,y:u[d(582)].y-h+m}}),t[d(1187)](s)?.[d(643)](p=>{const z=d;!e[z(1432)](I=>I.id===p.id)&&r.push({id:p.id,type:z(582),position:{x:p[z(582)].x+w,y:p.position.y+h}})})),(b[d(1142)]<a.width||b.height<a[d(505)]||w||h)&&r[d(591)]({id:s,type:d(908),setAttributes:!0,dimensions:{width:v+(w?g[0]*w-y:0),height:M+(h?g[1]*h-m:0)}})}),r}function e2(e,n,t,o,x,r,i){const a=c,u=o?.[a(644)](a(1413));let s=!1;if(!u)return{changes:[],updatedInternals:s};const d=[],f=window[a(706)](u),{m22:b}=new window[a(2073)](f[a(1844)]),g=[];for(const w of e[a(1442)]()){const h=n.get(w.id);if(!h)continue;if(h[a(1123)]){n[a(848)](h.id,{...h,internals:{...h[a(2219)],handleBounds:void 0}}),s=!0;continue}const v=Po(w[a(391)]),M=h[a(1927)].width!==v[a(1142)]||h[a(1927)][a(505)]!==v[a(505)];if(!!(v.width&&v[a(505)]&&(M||!h[a(2219)][a(2035)]||w[a(1610)]))){const m=w.nodeElement.getBoundingClientRect(),p=Vn(h[a(1520)])?h[a(1520)]:r;let{positionAbsolute:z}=h.internals;h[a(1913)]&&h[a(1520)]===a(785)?z=ha(z,v,n[a(1187)](h.parentId)):p&&(z=hn(z,p,v));const I={...h,measured:v,internals:{...h[a(2219)],positionAbsolute:z,handleBounds:{source:Da(a(2124),w.nodeElement,m,b,h.id),target:Da(a(1572),w.nodeElement,m,b,h.id)}}};n.set(h.id,I),h.parentId&&Go(I,n,t,{nodeOrigin:x,zIndexMode:i}),s=!0,M&&(d[a(591)]({id:h.id,type:"dimensions",dimensions:v}),h[a(694)]&&h.parentId&&g.push({id:h.id,parentId:h[a(1913)],rect:Gn(I,x)}))}}if(g[a(1115)]>0){const w=Ho(g,n,t,x);d[a(591)](...w)}return{changes:d,updatedInternals:s}}async function n2({delta:e,panZoom:n,transform:t,translateExtent:o,width:x,height:r}){const i=c;if(!n||!e.x&&!e.y)return Promise[i(481)](!1);const a=await n.setViewportConstrained({x:t[0]+e.x,y:t[1]+e.y,zoom:t[2]},[[0,0],[x,r]],o),u=!!a&&(a.x!==t[0]||a.y!==t[1]||a.k!==t[2]);return Promise[i(481)](u)}function Ha(e,n,t,o,x,r){const i=c;let a=x;const u=o[i(1187)](a)||new Map;o[i(848)](a,u[i(848)](t,n)),a=x+"-"+e;const s=o.get(a)||new Map;if(o[i(848)](a,s[i(848)](t,n)),r){a=x+"-"+e+"-"+r;const d=o.get(a)||new Map;o[i(848)](a,d[i(848)](t,n))}}function Va(e,n,t){const o=c;e.clear(),n[o(1021)]();for(const x of t){const{source:r,target:i,sourceHandle:a=null,targetHandle:u=null}=x,s={edgeId:x.id,source:r,target:i,sourceHandle:a,targetHandle:u},d=r+"-"+a+"--"+i+"-"+u,f=i+"-"+u+"--"+r+"-"+a;Ha(o(2124),s,f,e,r,a),Ha(o(1572),s,d,e,i,u),n.set(x.id,x)}}function Ta(e,n){const t=c;if(!e[t(1913)])return!1;const o=n[t(1187)](e[t(1913)]);return o?o[t(1412)]?!0:Ta(o,n):!1}function qa(e,n,t){const o=c;let x=e;do{if(x?.[o(1421)]?.(n))return!0;if(x===t)return!1;x=x?.parentElement}while(x);return!1}function t2(e,n,t,o){const x=c,r=new Map;for(const[i,a]of e)if((a[x(1412)]||a.id===o)&&(!a[x(1913)]||!Ta(a,e))&&(a[x(511)]||n&&typeof a[x(511)]===x(2053))){const u=e[x(1187)](i);u&&r[x(848)](i,{id:i,position:u[x(582)]||{x:0,y:0},distance:{x:t.x-u[x(2219)][x(1197)].x,y:t.y-u[x(2219)][x(1197)].y},extent:u[x(1520)],parentId:u.parentId,origin:u[x(1273)],expandParent:u[x(694)],internals:{positionAbsolute:u[x(2219)].positionAbsolute||{x:0,y:0}},measured:{width:u[x(1927)][x(1142)]??0,height:u[x(1927)][x(505)]??0}})}return r}function Vo({nodeId:e,dragItems:n,nodeLookup:t,dragging:o=!0}){const x=c,r=[];for(const[a,u]of n){const s=t[x(1187)](a)?.internals[x(408)];s&&r.push({...s,position:u.position,dragging:o})}if(!e)return[r[0],r];const i=t[x(1187)](e)?.internals[x(408)];return[i?{...i,position:n[x(1187)](e)?.[x(582)]||i[x(582)],dragging:o}:r[0],r]}function x2({dragItems:e,snapGrid:n,x:t,y:o}){const x=c,r=e.values()[x(1049)]().value;if(!r)return null;const i={x:t-r[x(615)].x,y:o-r[x(615)].y},a=Dt(i,n);return{x:a.x-i.x,y:a.y-i.y}}function o2({onNodeMouseDown:e,getStoreItems:n,onDragStart:t,onDrag:o,onDragStop:x}){let r={x:null,y:null},i=0,a=new Map,u=!1,s={x:0,y:0},d=null,f=!1,b=null,g=!1,w=!1,h=null;function v({noDragClassName:y,handleSelector:m,domNode:p,isSelectable:z,nodeId:I,nodeClickDistance:O=0}){const H=_0x31ec;b=h0(p);function T({x:X,y:G}){const L=_0x31ec,{nodeLookup:N,nodeExtent:B,snapGrid:E,snapToGrid:Y,nodeOrigin:P,onNodeDrag:J,onSelectionDrag:F,onError:$,updateNodePositions:oe}=n();r={x:X,y:G};let ie=!1;const ce=a.size>1,fe=ce&&B?ko(Mt(a)):null,pe=ce&&Y?x2({dragItems:a,snapGrid:E,x:X,y:G}):null;for(const[se,ee]of a){if(!N[L(1696)](se))continue;let le={x:X-ee.distance.x,y:G-ee[L(615)].y};Y&&(le=pe?{x:Math[L(1892)](le.x+pe.x),y:Math[L(1892)](le.y+pe.y)}:Dt(le,E));let be=null;if(ce&&B&&!ee[L(1520)]&&fe){const{positionAbsolute:R}=ee[L(2219)],te=R.x-fe.x+B[0][0],ne=R.x+ee[L(1927)][L(1142)]-fe.x2+B[1][0],W=R.y-fe.y+B[0][1],re=R.y+ee[L(1927)][L(505)]-fe.y2+B[1][1];be=[[te,W],[ne,re]]}const{position:U,positionAbsolute:A}=fa({nodeId:se,nextPosition:le,nodeLookup:N,nodeExtent:be||B,nodeOrigin:P,onError:$});ie=ie||ee[L(582)].x!==U.x||ee[L(582)].y!==U.y,ee[L(582)]=U,ee.internals[L(1197)]=A}if(w=w||ie,!!ie&&(oe(a,!0),h&&(o||J||!I&&F))){const[se,ee]=Vo({nodeId:I,dragItems:a,nodeLookup:N});o?.(h,a,se,ee),J?.(h,se,ee),!I&&F?.(h,ee)}}async function j(){if(!d)return;const{transform:X,panBy:G,autoPanSpeed:L,autoPanOnNodeDrag:N}=n();if(!N){u=!1,cancelAnimationFrame(i);return}const[B,E]=ba(s,d,L);(B!==0||E!==0)&&(r.x=(r.x??0)-B/X[2],r.y=(r.y??0)-E/X[2],await G({x:B,y:E})&&T(r)),i=requestAnimationFrame(j)}function q(X){const G=_0x31ec,{nodeLookup:L,multiSelectionActive:N,nodesDraggable:B,transform:E,snapGrid:Y,snapToGrid:P,selectNodesOnDrag:J,onNodeDragStart:F,onSelectionDragStart:$,unselectNodesAndEdges:oe}=n();f=!0,(!J||!z)&&!N&&I&&!L.get(I)?.[G(1412)]&&oe(),z&&J&&I&&e?.(I);const ie=St(X[G(1594)],{transform:E,snapGrid:Y,snapToGrid:P,containerBounds:d});if(r=ie,a=t2(L,B,ie,I),a.size>0&&(t||F||!I&&$)){const[ce,fe]=Vo({nodeId:I,dragItems:a,nodeLookup:L});t?.(X.sourceEvent,a,ce,fe),F?.(X[G(1594)],ce,fe),!I&&$?.(X[G(1594)],fe)}}const V=ki().clickDistance(O).on(H(778),X=>{const G=H,{domNode:L,nodeDragThreshold:N,transform:B,snapGrid:E,snapToGrid:Y}=n();d=L?.[G(2226)]()||null,g=!1,w=!1,h=X[G(1594)],N===0&&q(X),r=St(X[G(1594)],{transform:B,snapGrid:E,snapToGrid:Y,containerBounds:d}),s=D0(X.sourceEvent,d)}).on(H(1917),X=>{const G=H,{autoPanOnNodeDrag:L,transform:N,snapGrid:B,snapToGrid:E,nodeDragThreshold:Y,nodeLookup:P}=n(),J=St(X[G(1594)],{transform:N,snapGrid:B,snapToGrid:E,containerBounds:d});if(h=X[G(1594)],(X[G(1594)][G(402)]===G(466)&&X.sourceEvent[G(432)][G(1115)]>1||I&&!P.has(I))&&(g=!0),!g){if(!u&&L&&f&&(u=!0,j()),!f){const F=D0(X[G(1594)],d),$=F.x-s.x,oe=F.y-s.y;Math[G(696)]($*$+oe*oe)>Y&&q(X)}(r.x!==J.xSnapped||r.y!==J[G(1288)])&&a&&f&&(s=D0(X[G(1594)],d),T(J))}}).on(H(2030),X=>{const G=H;if(!(!f||g)&&(u=!1,f=!1,cancelAnimationFrame(i),a[G(435)]>0)){const{nodeLookup:L,updateNodePositions:N,onNodeDragStop:B,onSelectionDragStop:E}=n();if(w&&(N(a,!1),w=!1),x||B||!I&&E){const[Y,P]=Vo({nodeId:I,dragItems:a,nodeLookup:L,dragging:!1});x?.(X.sourceEvent,a,Y,P),B?.(X[G(1594)],Y,P),!I&&E?.(X.sourceEvent,P)}}})[H(2191)](X=>{const G=H,L=X[G(1572)];return!X[G(1127)]&&(!y||!qa(L,"."+y,p))&&(!m||qa(L,m,p))});b.call(V)}function M(){const y=_0x31ec;b?.on(y(816),null)}return{update:v,destroy:M}}function r2(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(1442)]())Bt(r,Gn(i))>0&&x[o(591)](i);return x}const i2=250;function a2(e,n,t,o){const x=c;let r=[],i=1/0;const a=r2(e,t,n+i2);for(const u of a){const s=[...u[x(2219)].handleBounds?.source??[],...u[x(2219)][x(2035)]?.target??[]];for(const d of s){if(o.nodeId===d.nodeId&&o[x(402)]===d[x(402)]&&o.id===d.id)continue;const{x:f,y:b}=gn(u,d,d[x(582)],!0),g=Math.sqrt(Math[x(504)](f-e.x,2)+Math[x(504)](b-e.y,2));g>n||(g<i?(r=[{...d,x:f,y:b}],i=g):g===i&&r.push({...d,x:f,y:b}))}}if(!r[x(1115)])return null;if(r.length>1){const u=o[x(402)]==="source"?x(1572):"source";return r.find(s=>s[x(402)]===u)??r[0]}return r[0]}function Wa(e,n,t,o,x,r=!1){const i=c,a=o[i(1187)](e);if(!a)return null;const u=x===i(757)?a[i(2219)][i(2035)]?.[n]:[...a[i(2219)][i(2035)]?.[i(2124)]??[],...a[i(2219)][i(2035)]?.[i(1572)]??[]],s=(t?u?.[i(581)](d=>d.id===t):u?.[0])??null;return s&&r?{...s,...gn(a,s,s[i(582)],!0)}:s}function Xa(e,n){const t=c;return e||(n?.classList.contains(t(1572))?t(1572):n?.[t(1914)].contains(t(2124))?"source":null)}function c2(e,n){let t=null;return n?t=!0:e&&!n&&(t=!1),t}const Za=()=>!0;function s2(e,{connectionMode:n,connectionRadius:t,handleId:o,nodeId:x,edgeUpdaterType:r,isTarget:i,domNode:a,nodeLookup:u,lib:s,autoPanOnConnect:d,flowId:f,panBy:b,cancelConnection:g,onConnectStart:w,onConnect:h,onConnectEnd:v,isValidConnection:M=Za,onReconnectEnd:y,updateConnection:m,getTransform:p,getFromHandle:z,autoPanSpeed:I,dragThreshold:O=1,handleDomNode:H}){const T=c,j=Ca(e.target);let q=0,V;const{x:X,y:G}=D0(e),L=Xa(r,H),N=a?.[T(2226)]();let B=!1;if(!N||!L)return;const E=Wa(x,L,o,u,n);if(!E)return;let Y=D0(e,N),P=!1,J=null,F=!1,$=null;function oe(){if(!d||!N)return;const[be,U]=ba(Y,N,I);b({x:be,y:U}),q=requestAnimationFrame(oe)}const ie={...E,nodeId:x,type:L,position:E[T(582)]},ce=u[T(1187)](x);let pe={inProgress:!0,isValid:null,from:gn(ce,ie,Ce[T(1747)],!0),fromHandle:ie,fromPosition:ie[T(582)],fromNode:ce,to:Y,toHandle:null,toPosition:la[ie.position],toNode:null,pointer:Y};function se(){B=!0,m(pe),w?.(e,{nodeId:x,handleId:o,handleType:L})}O===0&&se();function ee(be){const U=T;if(!B){const{x:re,y:ze}=D0(be),Me=re-X,Ie=ze-G;if(!(Me*Me+Ie*Ie>O*O))return;se()}if(!z()||!ie){le(be);return}const A=p();Y=D0(be,N),V=a2(Lt(Y,A,!1,[1,1]),t,u,ie),!P&&(oe(),P=!0);const R=Ka(be,{handle:V,connectionMode:n,fromNodeId:x,fromHandleId:o,fromType:i?U(1572):"source",isValidConnection:M,doc:j,lib:s,flowId:f,nodeLookup:u});$=R.handleDomNode,J=R.connection,F=c2(!!V,R[U(387)]);const te=u.get(x),ne=te?gn(te,ie,Ce[U(1747)],!0):pe[U(2088)],W={...pe,from:ne,isValid:F,to:R[U(1581)]&&F?zx({x:R[U(1581)].x,y:R.toHandle.y},A):Y,toHandle:R[U(1581)],toPosition:F&&R.toHandle?R[U(1581)][U(582)]:la[ie.position],toNode:R[U(1581)]?u.get(R[U(1581)][U(1931)]):null,pointer:Y};m(W),pe=W}function le(be){const U=T;if(!(U(432)in be&&be[U(432)].length>0)){if(B){(V||$)&&J&&F&&h?.(J);const{inProgress:A,...R}=pe,te={...R,toPosition:pe[U(1581)]?pe[U(2029)]:null};v?.(be,te),r&&y?.(be,te)}g(),cancelAnimationFrame(q),P=!1,F=!1,J=null,$=null,j[U(782)]("mousemove",ee),j[U(782)](U(1650),le),j[U(782)](U(466),ee),j.removeEventListener("touchend",le)}}j[T(1776)](T(1925),ee),j[T(1776)](T(1650),le),j.addEventListener(T(466),ee),j.addEventListener(T(529),le)}function Ka(e,{handle:n,connectionMode:t,fromNodeId:o,fromHandleId:x,fromType:r,doc:i,lib:a,flowId:u,isValidConnection:s=Za,nodeLookup:d}){const f=c,b=r===f(1572),g=n?i[f(644)]("."+a+f(907)+u+"-"+n?.[f(1931)]+"-"+n?.id+"-"+n?.[f(402)]+'"]'):null,{x:w,y:h}=D0(e),v=i[f(872)](w,h),M=v?.classList.contains(a+"-flow__handle")?v:g,y={handleDomNode:M,isValid:!1,connection:null,toHandle:null};if(M){const m=Xa(void 0,M),p=M[f(436)]("data-nodeid"),z=M[f(436)]("data-handleid"),I=M.classList[f(390)](f(1636)),O=M[f(1914)][f(390)](f(1125));if(!p||!m)return y;const H={source:b?p:o,sourceHandle:b?z:x,target:b?o:p,targetHandle:b?x:z};y.connection=H;const T=I&&O,j=T&&(t===Un[f(1638)]?b&&m==="source"||!b&&m===f(1572):p!==o||z!==x);y[f(387)]=j&&s(H),y[f(1581)]=Wa(p,m,z,d,t,!0)}return y}const To={onPointerDown:s2,isValid:Ka};function l2({domNode:e,panZoom:n,getTransform:t,getViewScale:o}){const x=h0(e);function r({translateExtent:a,width:u,height:s,zoomStep:d=1,pannable:f=!0,zoomable:b=!0,inversePan:g=!1}){const w=_0x31ec,h=p=>{const z=_0x31ec;if(p.sourceEvent[z(402)]!=="wheel"||!n)return;const I=t(),O=p[z(1594)][z(1990)]&&Nt()?10:1,H=-p[z(1594)][z(1045)]*(p[z(1594)].deltaMode===1?.05:p[z(1594)][z(1165)]?1:.002)*d,T=I[2]*Math[z(504)](2,H*O);n[z(759)](T)};let v=[0,0];const M=p=>{const z=_0x31ec;(p[z(1594)][z(402)]===z(1977)||p.sourceEvent.type==="touchstart")&&(v=[p[z(1594)].clientX??p.sourceEvent.touches[0][z(866)],p[z(1594)][z(1090)]??p.sourceEvent[z(432)][0][z(1090)]])},y=p=>{const z=_0x31ec,I=t();if(p.sourceEvent.type!==z(1925)&&p[z(1594)][z(402)]!==z(466)||!n)return;const O=[p[z(1594)][z(866)]??p.sourceEvent[z(432)][0].clientX,p[z(1594)][z(1090)]??p[z(1594)].touches[0][z(1090)]],H=[O[0]-v[0],O[1]-v[1]];v=O;const T=o()*Math.max(I[2],Math.log(I[2]))*(g?-1:1),j={x:I[0]-H[0]*T,y:I[1]-H[1]*T},q=[[0,0],[u,s]];n[z(1343)]({x:j.x,y:j.y,zoom:I[2]},q,a)},m=ia().on(w(778),M).on(w(585),f?y:null).on(w(1754),b?h:null);x[w(1020)](m,{})}function i(){const a=_0x31ec;x.on(a(585),null)}return{update:r,destroy:i,pointer:z0}}const Mx=e=>({x:e.x,y:e.y,zoom:e.k}),qo=({x:e,y:n,zoom:t})=>yx[c(797)](e,n).scale(t),Tn=(e,n)=>e[c(1572)][c(1077)]("."+n),Ra=(e,n)=>n===2&&Array[c(1405)](e)&&e[c(600)](2),d2=e=>((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2,Wo=(e,n=0,t=d2,o=()=>{})=>{const x=c,r=typeof n=="number"&&n>0;return!r&&o(),r?e.transition()[x(859)](n).ease(t).on(x(2030),o):e},_a=e=>{const n=c,t=e[n(1990)]&&Nt()?10:1;return-e[n(1045)]*(e.deltaMode===1?.05:e.deltaMode?1:.002)*t};function u2({zoomPanValues:e,noWheelClassName:n,d3Selection:t,d3Zoom:o,panOnScrollMode:x,panOnScrollSpeed:r,zoomOnPinch:i,onPanZoomStart:a,onPanZoom:u,onPanZoomEnd:s}){return d=>{const f=_0x31ec;if(Tn(d,n))return d[f(1990)]&&d.preventDefault(),!1;d.preventDefault(),d[f(1201)]();const b=t[f(1926)]("__zoom").k||1;if(d[f(1990)]&&i){const M=z0(d),y=_a(d),m=b*Math[f(504)](2,y);o[f(759)](t,m,M,d);return}const g=d[f(1165)]===1?20:1;let w=x===fn[f(430)]?0:d[f(2108)]*g,h=x===fn[f(1712)]?0:d[f(1045)]*g;!Nt()&&d.shiftKey&&x!==fn.Vertical&&(w=d[f(1045)]*g,h=0),o[f(1290)](t,-(w/b)*r,-(h/b)*r,{internal:!0});const v=Mx(t[f(1926)](f(1291)));clearTimeout(e.panScrollTimeout),e[f(1418)]?(u?.(d,v),e.panScrollTimeout=setTimeout(()=>{s?.(d,v),e.isPanScrolling=!1},150)):(e[f(1418)]=!0,a?.(d,v))}}function f2({noWheelClassName:e,preventScrolling:n,d3ZoomHandler:t}){return function(o,x){const r=_0x31ec,i=o[r(402)]===r(755),a=!n&&i&&!o[r(1990)],u=Tn(o,e);if(o[r(1990)]&&i&&u&&o[r(875)](),a||u)return null;o[r(875)](),t[r(1020)](this,o,x)}}function h2({zoomPanValues:e,onDraggingChange:n,onPanZoomStart:t}){return o=>{const x=_0x31ec;if(o[x(1594)]?.[x(1024)])return;const r=Mx(o.transform);e.mouseButton=o[x(1594)]?.button||0,e[x(2159)]=!0,e[x(1501)]=r,o[x(1594)]?.type==="mousedown"&&n(!0),t&&t?.(o[x(1594)],r)}}function g2({zoomPanValues:e,panOnDrag:n,onPaneContextMenu:t,onTransformChange:o,onPanZoom:x}){return r=>{const i=_0x31ec;e[i(1533)]=!!(t&&Ra(n,e.mouseButton??0)),!r[i(1594)]?.[i(2096)]&&o([r[i(1844)].x,r.transform.y,r.transform.k]),x&&!r[i(1594)]?.internal&&x?.(r[i(1594)],Mx(r[i(1844)]))}}function b2({zoomPanValues:e,panOnDrag:n,panOnScroll:t,onDraggingChange:o,onPanZoomEnd:x,onPaneContextMenu:r}){return i=>{const a=_0x31ec;if(!i[a(1594)]?.[a(1024)]&&(e[a(2159)]=!1,r&&Ra(n,e[a(1463)]??0)&&!e[a(1533)]&&i[a(1594)]&&r(i.sourceEvent),e[a(1533)]=!1,o(!1),x)){const u=Mx(i[a(1844)]);e[a(1501)]=u,clearTimeout(e[a(701)]),e.timerId=setTimeout(()=>{x?.(i[a(1594)],u)},t?150:0)}}}function y2({zoomActivationKeyPressed:e,zoomOnScroll:n,zoomOnPinch:t,panOnDrag:o,panOnScroll:x,zoomOnDoubleClick:r,userSelectionActive:i,noWheelClassName:a,noPanClassName:u,lib:s,connectionInProgress:d}){return f=>{const b=_0x31ec,g=e||n,w=t&&f[b(1990)],h=f[b(402)]===b(755);if(f.button===1&&f[b(402)]===b(1977)&&(Tn(f,s+b(1972))||Tn(f,s+b(1548))))return!0;if(!o&&!g&&!x&&!r&&!t||i||d&&!h||Tn(f,a)&&h||Tn(f,u)&&(!h||x&&h&&!e)||!t&&f[b(1990)]&&h)return!1;if(!t&&f.type===b(2083)&&f[b(432)]?.length>1)return f[b(875)](),!1;if(!g&&!x&&!w&&h||!o&&(f[b(402)]===b(1977)||f[b(402)]===b(2083))||Array[b(1405)](o)&&!o.includes(f.button)&&f[b(402)]===b(1977))return!1;const v=Array[b(1405)](o)&&o[b(600)](f[b(1127)])||!f[b(1127)]||f.button<=1;return(!f[b(1990)]||h)&&v}}function m2({domNode:e,minZoom:n,maxZoom:t,translateExtent:o,viewport:x,onPanZoom:r,onPanZoomStart:i,onPanZoomEnd:a,onDraggingChange:u}){const s=c,d={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},f=e[s(2226)](),b=ia()[s(2078)]([n,t])[s(2206)](o),g=h0(e)[s(1020)](b);m({x:x.x,y:x.y,zoom:On(x[s(585)],n,t)},[[0,0],[f[s(1142)],f[s(505)]]],o);const w=g.on(s(1370)),h=g.on("dblclick.zoom");b[s(1277)](_a);function v(V,X){const G=s;return g?new Promise(L=>{const N=_0x31ec;b?.[N(2128)](X?.[N(2128)]===N(767)?gt:ax)[N(1844)](Wo(g,X?.duration,X?.ease,()=>L(!0)),V)}):Promise[G(481)](!1)}function M({noWheelClassName:V,noPanClassName:X,onPaneContextMenu:G,userSelectionActive:L,panOnScroll:N,panOnDrag:B,panOnScrollMode:E,panOnScrollSpeed:Y,preventScrolling:P,zoomOnPinch:J,zoomOnScroll:F,zoomOnDoubleClick:$,zoomActivationKeyPressed:oe,lib:ie,onTransformChange:ce,connectionInProgress:fe,paneClickDistance:pe,selectionOnDrag:se}){const ee=s;L&&!d[ee(2159)]&&y();const le=N&&!oe&&!L;b.clickDistance(se?1/0:!B0(pe)||pe<0?0:pe);const be=le?u2({zoomPanValues:d,noWheelClassName:V,d3Selection:g,d3Zoom:b,panOnScrollMode:E,panOnScrollSpeed:Y,zoomOnPinch:J,onPanZoomStart:i,onPanZoom:r,onPanZoomEnd:a}):f2({noWheelClassName:V,preventScrolling:P,d3ZoomHandler:w});if(g.on(ee(1370),be,{passive:!1}),!L){const A=h2({zoomPanValues:d,onDraggingChange:u,onPanZoomStart:i});b.on("start",A);const R=g2({zoomPanValues:d,panOnDrag:B,onPaneContextMenu:!!G,onPanZoom:r,onTransformChange:ce});b.on("zoom",R);const te=b2({zoomPanValues:d,panOnDrag:B,panOnScroll:N,onPaneContextMenu:G,onPanZoomEnd:a,onDraggingChange:u});b.on(ee(2030),te)}const U=y2({zoomActivationKeyPressed:oe,panOnDrag:B,zoomOnScroll:F,panOnScroll:N,zoomOnDoubleClick:$,zoomOnPinch:J,userSelectionActive:L,noPanClassName:X,noWheelClassName:V,lib:ie,connectionInProgress:fe});b[ee(2191)](U),$?g.on(ee(1597),h):g.on(ee(1597),null)}function y(){const V=s;b.on(V(585),null)}async function m(V,X,G){const L=s,N=qo(V),B=b?.[L(2164)]()(N,X,G);return B&&await v(B),new Promise(E=>E(B))}async function p(V,X){const G=qo(V);return await v(G,X),new Promise(L=>L(G))}function z(V){const X=s;if(g){const G=qo(V),L=g[X(1926)](X(1291));(L.k!==V.zoom||L.x!==V.x||L.y!==V.y)&&b?.[X(1844)](g,G,null,{sync:!0})}}function I(){const V=s,X=g?oa(g[V(1771)]()):{x:0,y:0,k:1};return{x:X.x,y:X.y,zoom:X.k}}function O(V,X){return g?new Promise(G=>{const L=_0x31ec;b?.[L(2128)](X?.[L(2128)]===L(767)?gt:ax)[L(759)](Wo(g,X?.[L(859)],X?.[L(1644)],()=>G(!0)),V)}):Promise.resolve(!1)}function H(V,X){return g?new Promise(G=>{const L=_0x31ec;b?.[L(2128)](X?.interpolate===L(767)?gt:ax).scaleBy(Wo(g,X?.[L(859)],X?.[L(1644)],()=>G(!0)),V)}):Promise.resolve(!1)}function T(V){b?.scaleExtent(V)}function j(V){b?.[s(2206)](V)}function q(V){const X=s,G=!B0(V)||V<0?0:V;b?.[X(584)](G)}return{update:M,destroy:y,setViewport:p,setViewportConstrained:m,getViewport:I,scaleTo:O,scaleBy:H,setScaleExtent:T,setTranslateExtent:j,syncViewport:z,setClickDistance:q}}var qn;(function(e){const n=c;e[n(717)]="line",e.Handle=n(985)})(qn||(qn={}));function w2({width:e,prevWidth:n,height:t,prevHeight:o,affectsX:x,affectsY:r}){const i=e-n,a=t-o,u=[i>0?1:i<0?-1:0,a>0?1:a<0?-1:0];return i&&x&&(u[0]=u[0]*-1),a&&r&&(u[1]=u[1]*-1),u}function Ja(e){const n=c,t=e.includes(n(1862))||e.includes(n(2039)),o=e[n(600)](n(604))||e[n(600)](n(709)),x=e[n(600)](n(2039)),r=e[n(600)](n(709));return{isHorizontal:t,isVertical:o,affectsX:x,affectsY:r}}function F0(e,n){return Math[c(1824)](0,n-e)}function $0(e,n){return Math.max(0,e-n)}function Bx(e,n,t){return Math[c(1824)](0,n-e,e-t)}function Qa(e,n){return e?!n:n}function v2(e,n,t,o,x,r,i,a){const u=c;let{affectsX:s,affectsY:d}=n;const{isHorizontal:f,isVertical:b}=n,g=f&&b,{xSnapped:w,ySnapped:h}=t,{minWidth:v,maxWidth:M,minHeight:y,maxHeight:m}=o,{x:p,y:z,width:I,height:O,aspectRatio:H}=e;let T=Math[u(1136)](f?w-e[u(1239)]:0),j=Math[u(1136)](b?h-e.pointerY:0);const q=I+(s?-T:T),V=O+(d?-j:j),X=-r[0]*I,G=-r[1]*O;let L=Bx(q,v,M),N=Bx(V,y,m);if(i){let Y=0,P=0;s&&T<0?Y=F0(p+T+X,i[0][0]):!s&&T>0&&(Y=$0(p+q+X,i[1][0])),d&&j<0?P=F0(z+j+G,i[0][1]):!d&&j>0&&(P=$0(z+V+G,i[1][1])),L=Math[u(1824)](L,Y),N=Math[u(1824)](N,P)}if(a){let Y=0,P=0;s&&T>0?Y=$0(p+T,a[0][0]):!s&&T<0&&(Y=F0(p+q,a[1][0])),d&&j>0?P=$0(z+j,a[0][1]):!d&&j<0&&(P=F0(z+V,a[1][1])),L=Math.max(L,Y),N=Math[u(1824)](N,P)}if(x){if(f){const Y=Bx(q/H,y,m)*H;if(L=Math[u(1824)](L,Y),i){let P=0;!s&&!d||s&&!d&&g?P=$0(z+G+q/H,i[1][1])*H:P=F0(z+G+(s?T:-T)/H,i[0][1])*H,L=Math[u(1824)](L,P)}if(a){let P=0;!s&&!d||s&&!d&&g?P=F0(z+q/H,a[1][1])*H:P=$0(z+(s?T:-T)/H,a[0][1])*H,L=Math.max(L,P)}}if(b){const Y=Bx(V*H,v,M)/H;if(N=Math[u(1824)](N,Y),i){let P=0;!s&&!d||d&&!s&&g?P=$0(p+V*H+X,i[1][0])/H:P=F0(p+(d?j:-j)*H+X,i[0][0])/H,N=Math.max(N,P)}if(a){let P=0;!s&&!d||d&&!s&&g?P=F0(p+V*H,a[1][0])/H:P=$0(p+(d?j:-j)*H,a[0][0])/H,N=Math[u(1824)](N,P)}}}j=j+(j<0?N:-N),T=T+(T<0?L:-L),x&&(g?q>V*H?j=(Qa(s,d)?-T:T)/H:T=(Qa(s,d)?-j:j)*H:f?(j=T/H,d=s):(T=j*H,s=d));const B=s?p+T:p,E=d?z+j:z;return{width:I+(s?-T:T),height:O+(d?-j:j),x:r[0]*T*(s?-1:1)+B,y:r[1]*j*(d?-1:1)+E}}const Fa={width:0,height:0,x:0,y:0},p2={...Fa,pointerX:0,pointerY:0,aspectRatio:1};function z2(e){const n=c;return[[0,0],[e.measured[n(1142)],e[n(1927)][n(505)]]]}function C2(e,n,t){const o=c,x=n[o(582)].x+e[o(582)].x,r=n[o(582)].y+e[o(582)].y,i=e[o(1927)][o(1142)]??0,a=e.measured[o(505)]??0,u=t[0]*i,s=t[1]*a;return[[x-u,r-s],[x+i-u,r+a-s]]}function M2({domNode:e,nodeId:n,getStoreItems:t,onChange:o,onEnd:x}){const r=c,i=h0(e);let a={controlDirection:Ja(r(1550)),boundaries:{minWidth:0,minHeight:0,maxWidth:Number[r(1949)],maxHeight:Number[r(1949)]},resizeDirection:void 0,keepAspectRatio:!1};function u({controlPosition:d,boundaries:f,keepAspectRatio:b,resizeDirection:g,onResizeStart:w,onResize:h,onResizeEnd:v,shouldResize:M}){const y=r;let m={...Fa},p={...p2};a={boundaries:f,resizeDirection:g,keepAspectRatio:b,controlDirection:Ja(d)};let z,I=null,O=[],H,T,j,q=!1;const V=ki().on("start",X=>{const G=_0x31ec,{nodeLookup:L,transform:N,snapGrid:B,snapToGrid:E,nodeOrigin:Y,paneDomNode:P}=t();if(z=L[G(1187)](n),!z)return;I=P?.[G(2226)]()??null;const{xSnapped:J,ySnapped:F}=St(X[G(1594)],{transform:N,snapGrid:B,snapToGrid:E,containerBounds:I});m={width:z[G(1927)][G(1142)]??0,height:z[G(1927)][G(505)]??0,x:z[G(582)].x??0,y:z[G(582)].y??0},p={...m,pointerX:J,pointerY:F,aspectRatio:m[G(1142)]/m[G(505)]},H=void 0,z[G(1913)]&&(z[G(1520)]===G(785)||z[G(694)])&&(H=L[G(1187)](z[G(1913)]),T=H&&z[G(1520)]===G(785)?z2(H):void 0),O=[],j=void 0;for(const[$,oe]of L)if(oe[G(1913)]===n&&(O[G(591)]({id:$,position:{...oe[G(582)]},extent:oe[G(1520)]}),oe[G(1520)]==="parent"||oe[G(694)])){const ie=C2(oe,z,oe[G(1273)]??Y);j?j=[[Math.min(ie[0][0],j[0][0]),Math[G(1666)](ie[0][1],j[0][1])],[Math[G(1824)](ie[1][0],j[1][0]),Math[G(1824)](ie[1][1],j[1][1])]]:j=ie}w?.(X,{...m})}).on("drag",X=>{const G=_0x31ec,{transform:L,snapGrid:N,snapToGrid:B,nodeOrigin:E}=t(),Y=St(X.sourceEvent,{transform:L,snapGrid:N,snapToGrid:B,containerBounds:I}),P=[];if(!z)return;const{x:J,y:F,width:$,height:oe}=m,ie={},ce=z[G(1273)]??E,{width:fe,height:pe,x:se,y:ee}=v2(p,a[G(883)],Y,a[G(1730)],a[G(2041)],ce,T,j),le=fe!==$,be=pe!==oe,U=se!==J&&le,A=ee!==F&&be;if(!U&&!A&&!le&&!be)return;if((U||A||ce[0]===1||ce[1]===1)&&(ie.x=U?se:m.x,ie.y=A?ee:m.y,m.x=ie.x,m.y=ie.y,O[G(1115)]>0)){const W=se-J,re=ee-F;for(const ze of O)ze[G(582)]={x:ze[G(582)].x-W+ce[0]*(fe-$),y:ze[G(582)].y-re+ce[1]*(pe-oe)},P[G(591)](ze)}if((le||be)&&(ie[G(1142)]=le&&(!a[G(1806)]||a.resizeDirection==="horizontal")?fe:m.width,ie.height=be&&(!a.resizeDirection||a[G(1806)]==="vertical")?pe:m[G(505)],m.width=ie[G(1142)],m[G(505)]=ie.height),H&&z.expandParent){const W=ce[0]*(ie[G(1142)]??0);ie.x&&ie.x<W&&(m.x=W,p.x=p.x-(ie.x-W));const re=ce[1]*(ie[G(505)]??0);ie.y&&ie.y<re&&(m.y=re,p.y=p.y-(ie.y-re))}const R=w2({width:m[G(1142)],prevWidth:$,height:m[G(505)],prevHeight:oe,affectsX:a[G(883)][G(860)],affectsY:a.controlDirection[G(2119)]}),te={...m,direction:R};M?.(X,te)!==!1&&(q=!0,h?.(X,te),o(ie,P))}).on(y(2030),X=>{q&&(v?.(X,{...m}),x?.({...m}),q=!1)});i[y(1020)](V)}function s(){const d=r;i.on(d(816),null)}return{update:u,destroy:s}}var Dx={exports:{}},Xo={},Lx={exports:{}},Zo={},$a;function B2(){const e=c;if($a)return Zo;$a=1;var n=D;function t(b,g){return b===g&&(b!==0||1/b===1/g)||b!==b&&g!==g}var o=typeof Object.is=="function"?Object.is:t,x=n.useState,r=n.useEffect,i=n[e(1308)],a=n.useDebugValue;function u(b,g){const w=e;var h=g(),v=x({inst:{value:h,getSnapshot:g}}),M=v[0][w(557)],y=v[1];return i(function(){const m=w;M[m(2069)]=h,M.getSnapshot=g,s(M)&&y({inst:M})},[b,h,g]),r(function(){return s(M)&&y({inst:M}),b(function(){s(M)&&y({inst:M})})},[b]),a(h),h}function s(b){var w=b[e(2196)];b=b.value;try{var h=w();return!o(b,h)}catch{return!0}}function d(b,g){return g()}var f=typeof window>"u"||e(2053)===typeof window[e(1994)]||typeof window.document.createElement>"u"?d:u;return Zo[e(1287)]=n[e(1287)]!==void 0?n[e(1287)]:f,Zo}var Ko={},ec;function D2(){const e=c;return ec||(ec=1,e(503)!==process.env.NODE_ENV&&(function(){const n=e;function t(h,v){return h===v&&(h!==0||1/h===1/v)||h!==h&&v!==v}function o(h,v){const M=_0x31ec;b||i.startTransition===void 0||(b=!0,console[M(541)]("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var y=v();if(!g){var m=v();a(y,m)||(console[M(541)](M(1874)),g=!0)}m=u({inst:{value:y,getSnapshot:v}});var p=m[0].inst,z=m[1];return d(function(){p.value=y,p.getSnapshot=v,x(p)&&z({inst:p})},[h,y,v]),s(function(){return x(p)&&z({inst:p}),h(function(){x(p)&&z({inst:p})})},[h]),f(y),y}function x(h){var M=h[_0x31ec(2196)];h=h.value;try{var y=M();return!a(h,y)}catch{return!0}}function r(h,v){return v()}n(2053)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&n(1701)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(752)](Error());var i=D,a=n(1701)===typeof Object.is?Object.is:t,u=i[n(955)],s=i[n(713)],d=i[n(1308)],f=i[n(1938)],b=!1,g=!1,w=n(2053)===typeof window||n(2053)===typeof window[n(1994)]||n(2053)===typeof window[n(1994)][n(598)]?r:o;Ko[n(1287)]=i[n(1287)]!==void 0?i[n(1287)]:w,n(2053)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(1283)]=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(1283)](Error())})()),Ko}var nc;function tc(){const e=c;return nc||(nc=1,process.env.NODE_ENV===e(503)?Lx.exports=B2():Lx.exports=D2()),Lx[e(2104)]}var xc;function L2(){const e=c;if(xc)return Xo;xc=1;var n=D,t=tc();function o(d,f){return d===f&&(d!==0||1/d===1/f)||d!==d&&f!==f}var x=typeof Object.is=="function"?Object.is:o,r=t.useSyncExternalStore,i=n[e(2134)],a=n[e(713)],u=n[e(2089)],s=n.useDebugValue;return Xo[e(1493)]=function(d,f,b,g,w){const h=e;var v=i(null);if(v[h(2225)]===null){var M={hasValue:!1,value:null};v.current=M}else M=v.current;v=u(function(){function m(H){const T=_0x31ec;if(!p){if(p=!0,z=H,H=g(H),w!==void 0&&M[T(1402)]){var j=M.value;if(w(j,H))return I=j}return I=H}if(j=I,x(z,H))return j;var q=g(H);return w!==void 0&&w(j,q)?(z=H,j):(z=H,I=q)}var p=!1,z,I,O=b===void 0?null:b;return[function(){return m(f())},O===null?void 0:function(){return m(O())}]},[f,b,g,w]);var y=r(d,v[0],v[1]);return a(function(){const m=h;M[m(1402)]=!0,M[m(2069)]=y},[y]),s(y),y},Xo}var Ro={},oc;function N2(){const e=c;return oc||(oc=1,e(503)!==process.env.NODE_ENV&&(function(){const n=e;function t(f,b){return f===b&&(f!==0||1/f===1/b)||f!==f&&b!==b}n(2053)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&n(1701)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(752)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(752)](Error());var o=D,x=tc(),r=typeof Object.is=="function"?Object.is:t,i=x[n(1287)],a=o.useRef,u=o[n(713)],s=o.useMemo,d=o[n(1938)];Ro.useSyncExternalStoreWithSelector=function(f,b,g,w,h){const v=n;var M=a(null);if(M[v(2225)]===null){var y={hasValue:!1,value:null};M[v(2225)]=y}else y=M[v(2225)];M=s(function(){function p(T){const j=_0x31ec;if(!z){if(z=!0,I=T,T=w(T),h!==void 0&&y[j(1402)]){var q=y.value;if(h(q,T))return O=q}return O=T}if(q=O,r(I,T))return q;var V=w(T);return h!==void 0&&h(q,V)?(I=T,q):(I=T,O=V)}var z=!1,I,O,H=g===void 0?null:g;return[function(){return p(b())},H===null?void 0:function(){return p(H())}]},[b,g,w,h]);var m=i(f,M[0],M[1]);return u(function(){const p=v;y[p(1402)]=!0,y.value=m},[m]),d(m),m},n(2053)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&n(1701)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Ro}var rc;function S2(){const e=c;return rc?Dx[e(2104)]:(rc=1,process.env.NODE_ENV===e(503)?Dx[e(2104)]=L2():Dx[e(2104)]=N2(),Dx.exports)}var k2=S2();const I2=nt(k2),P2={},ic=e=>{let n;const t=new Set,o=(d,f)=>{const b=_0x31ec,g=typeof d=="function"?d(n):d;if(!Object.is(g,n)){const w=n;n=f??(typeof g!==b(704)||g===null)?g:Object[b(1086)]({},n,g),t[b(643)](h=>h(n,w))}},x=()=>n,r=()=>s,i=d=>{const f=_0x31ec;return t[f(1923)](d),()=>t[f(1611)](d)},a=()=>{(P2?_0x31ec(503):void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),t.clear()},u={setState:o,getState:x,getInitialState:r,subscribe:i,destroy:a},s=n=e(o,x,u);return u},A2=e=>e?ic(e):ic,{useDebugValue:E2}=D,{useSyncExternalStoreWithSelector:j2}=I2,Y2=e=>e;function ac(e,n=Y2,t){const o=c,x=j2(e.subscribe,e[o(1537)],e.getServerState||e.getInitialState,n,t);return E2(x),x}const cc=(e,n)=>{const t=c,o=A2(e),x=(r,i=n)=>ac(o,r,i);return Object[t(1086)](x,o),x},U2=(e,n)=>e?cc(e,n):cc;function Ge(e,n){const t=c;if(Object.is(e,n))return!0;if(typeof e!==t(704)||e===null||typeof n!="object"||n===null)return!1;if(e instanceof Map&&n instanceof Map){if(e.size!==n[t(435)])return!1;for(const[x,r]of e)if(!Object.is(r,n.get(x)))return!1;return!0}if(e instanceof Set&&n instanceof Set){if(e[t(435)]!==n.size)return!1;for(const x of e)if(!n.has(x))return!1;return!0}const o=Object[t(1772)](e);if(o[t(1115)]!==Object[t(1772)](n)[t(1115)])return!1;for(const x of o)if(!Object.prototype[t(659)][t(1020)](n,x)||!Object.is(e[x],n[x]))return!1;return!0}const Nx=D[c(2168)](null),O2=Nx.Provider,sc=g0[c(564)]();function Ae(e,n){const t=c,o=D[t(1387)](Nx);if(o===null)throw new Error(sc);return ac(o,e,n)}function He(){const e=c,n=D[e(1387)](Nx);if(n===null)throw new Error(sc);return D[e(2089)](()=>({getState:n[e(1537)],setState:n[e(1092)],subscribe:n[e(1743)]}),[n])}const lc={display:c(559)},G2={position:c(1622),width:1,height:1,margin:-1,border:0,padding:0,overflow:c(1123),clip:c(966),clipPath:c(1407)},dc=c(1101),uc="react-flow__edge-desc",H2=c(1505),V2=e=>e[c(1380)],T2=e=>e[c(1654)];function q2({rfId:e}){const n=c,t=Ae(V2);return l[n(822)](n(1022),{id:H2+"-"+e,"aria-live":n(1564),"aria-atomic":"true",style:G2,children:t})}function W2({rfId:e,disableKeyboardA11y:n}){const t=c,o=Ae(T2);return l[t(1183)](l.Fragment,{children:[l.jsx(t(1022),{id:dc+"-"+e,style:lc,children:n?o[t(1796)]:o[t(2016)]}),l.jsx(t(1022),{id:uc+"-"+e,style:lc,children:o["edge.a11yDescription.default"]}),!n&&l[t(822)](q2,{rfId:e})]})}const Sx=D[c(956)](({position:e=c(1694),children:n,className:t,style:o,...x},r)=>{const i=c,a=(""+e).split("-");return l[i(822)](i(1022),{className:Ke(["react-flow__panel",t,...a]),style:o,ref:r,...x,children:n})});Sx[c(812)]=c(669);function X2({proOptions:e,position:n=c(1550)}){const t=c;return e?.[t(453)]?null:l[t(822)](Sx,{position:n,className:t(779),"data-message":t(1569),children:l.jsx("a",{href:t(1553),target:"_blank",rel:"noopener noreferrer","aria-label":t(1017),children:t(2066)})})}const Z2=e=>{const n=c,t=[],o=[];for(const[,x]of e[n(2068)])x[n(1412)]&&t[n(591)](x[n(2219)][n(408)]);for(const[,x]of e[n(1014)])x[n(1412)]&&o[n(591)](x);return{selectedNodes:t,selectedEdges:o}},kx=e=>e.id;function K2(e,n){const t=c;return Ge(e.selectedNodes[t(477)](kx),n[t(1304)][t(477)](kx))&&Ge(e[t(1194)][t(477)](kx),n[t(1194)][t(477)](kx))}function R2({onSelectionChange:e}){const n=c,t=He(),{selectedNodes:o,selectedEdges:x}=Ae(Z2,K2);return D[n(713)](()=>{const r=n,i={nodes:o,edges:x};e?.(i),t.getState()[r(1674)][r(643)](a=>a(i))},[o,x,e]),null}const _2=e=>!!e.onSelectionChangeHandlers;function J2({onSelectionChange:e}){const n=c,t=Ae(_2);return e||t?l[n(822)](R2,{onSelectionChange:e}):null}const _o=typeof window!==c(2053)?D[c(1308)]:D[c(713)],fc=[0,0],Q2={x:0,y:0,zoom:1},F2=[c(821),c(1708),c(1430),c(1345),c(1887),"onConnectStart",c(1261),c(972),c(1368),c(500),c(2146),c(1692),c(1478),"edgesFocusable",c(1760),c(2106),c(1234),c(569),c(1056),"nodeExtent",c(521),"onEdgesChange","elementsSelectable",c(377),c(1488),c(1098),c(2206),"connectOnClick",c(1365),"fitView","fitViewOptions",c(463),c(2047),c(555),c(1469),c(817),c(2064),c(1651),"onSelectionDragStart",c(1052),c(2190),c(1375),c(1991),"noPanClassName",c(1574),"autoPanOnConnect",c(1269),"onError",c(1530),c(727),"selectNodesOnDrag",c(1515),"connectionDragThreshold",c(1509),c(571),c(937),c(1654),c(1012)],hc=[...F2,c(1255)],$2=e=>({setNodes:e.setNodes,setEdges:e[c(703)],setMinZoom:e[c(393)],setMaxZoom:e.setMaxZoom,setTranslateExtent:e[c(675)],setNodeExtent:e[c(772)],reset:e.reset,setDefaultNodesAndEdges:e[c(616)]}),gc={translateExtent:pt,nodeOrigin:fc,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:"nopan",rfId:"1"};function e3(e){const n=c,{setNodes:t,setEdges:o,setMinZoom:x,setMaxZoom:r,setTranslateExtent:i,setNodeExtent:a,reset:u,setDefaultNodesAndEdges:s}=Ae($2,Ge),d=He();_o(()=>{const b=_0x31ec;return s(e[b(1430)],e[b(1345)]),()=>{const g=b;f[g(2225)]=gc,u()}},[]);const f=D[n(2134)](gc);return _o(()=>{const b=n;for(const g of hc){const w=e[g],h=f.current[g];w!==h&&typeof e[g]!==b(2053)&&(g===b(821)?t(w):g===b(1708)?o(w):g===b(569)?x(w):g===b(1056)?r(w):g===b(2206)?i(w):g===b(850)?a(w):g===b(1654)?d[b(1092)]({ariaLabelConfig:U5(w)}):g===b(1943)?d[b(1092)]({fitViewQueued:w}):g===b(750)?d[b(1092)]({fitViewOptions:w}):d.setState({[g]:w}))}f[b(2225)]=e},hc[n(477)](b=>e[b])),null}function bc(){const e=c;return typeof window>"u"||!window.matchMedia?null:window[e(1468)](e(1178))}function n3(e){const n=c,[t,o]=D[n(955)](e===n(948)?null:e);return D.useEffect(()=>{const x=n;if(e!==x(948)){o(e);return}const r=bc(),i=()=>o(r?.[x(1421)]?"dark":"light");return i(),r?.[x(1776)](x(720),i),()=>{const a=x;r?.[a(782)](a(720),i)}},[e]),t!==null?t:bc()?.[n(1421)]?n(1939):n(1292)}const yc=typeof document!==c(2053)?document:null;function kt(e=null,n={target:yc,actInsideInputWithModifier:!0}){const t=c,[o,x]=D[t(955)](!1),r=D[t(2134)](!1),i=D[t(2134)](new Set([])),[a,u]=D[t(2089)](()=>{const s=t;if(e!==null){const d=Array[s(1405)](e)?e:[e],f=d.filter(g=>typeof g===s(1890))[s(477)](g=>g[s(890)]("+",`
3
+ `)[s(890)](`
5
4
 
6
5
  `,`
7
- +`)[a(897)](`
8
- `)),b=f[a(1106)]((g,w)=>g[a(758)](...w),[]);return[f,b]}return[[],[]]},[e]);return B[t(2005)](()=>{const a=t,u=n?.[a(500)]??ba,f=n?.[a(2008)]??!0;if(e!==null){const b=h=>{const v=a;if(r[v(523)]=h[v(1679)]||h.metaKey||h[v(1139)]||h.altKey,(!r.current||r[v(523)]&&!f)&&Cc(h))return!1;const m=ma(h[v(519)],d);if(i[v(523)].add(h[m]),ya(c,i[v(523)],!1)){const y=h[v(891)]?.()?.[0]||h[v(500)],p=y?.[v(1213)]==="BUTTON"||y?.nodeName==="A";n[v(810)]!==!1&&(r.current||!p)&&h[v(810)](),x(!0)}},g=h=>{const v=a,M=ma(h[v(519)],d);ya(c,i[v(523)],!0)?(x(!1),i.current[v(1390)]()):i.current[v(1234)](h[M]),h[v(844)]==="Meta"&&i[v(523)][v(1390)](),r.current=!1},w=()=>{const h=a;i[h(523)][h(1390)](),x(!1)};return u?.[a(1892)](a(1920),b),u?.[a(1892)]("keyup",g),window[a(1892)](a(549),w),window[a(1892)](a(1683),w),()=>{const h=a;u?.[h(1665)](h(1920),b),u?.[h(1665)]("keyup",g),window.removeEventListener(h(549),w),window[h(1665)](h(1683),w)}}},[e,x]),o}function ya(e,n,t){const o=s;return e[o(815)](x=>t||x[o(2179)]===n[o(1046)])[o(1496)](x=>x[o(1865)](r=>n[o(1147)](r)))}function ma(e,n){const t=s;return n.includes(e)?t(519):t(844)}const nh=()=>{const e=s,n=Ge();return B[e(1581)](()=>{const t=e;return{zoomIn:o=>{const x=_0x5590,{panZoom:r}=n.getState();return r?r.scaleBy(1.2,o):Promise[x(1952)](!1)},zoomOut:o=>{const x=_0x5590,{panZoom:r}=n[x(1305)]();return r?r[x(1175)](1/1.2,o):Promise[x(1952)](!1)},zoomTo:(o,x)=>{const r=_0x5590,{panZoom:i}=n[r(1305)]();return i?i[r(407)](o,x):Promise[r(1952)](!1)},getZoom:()=>n[t(1305)]()[t(1121)][2],setViewport:async(o,x)=>{const r=t,{transform:[i,c,d],panZoom:a}=n[r(1305)]();return a?(await a.setViewport({x:o.x??i,y:o.y??c,zoom:o[r(1675)]??d},x),Promise[r(1952)](!0)):Promise[r(1952)](!1)},getViewport:()=>{const o=t,[x,r,i]=n[o(1305)]()[o(1121)];return{x,y:r,zoom:i}},setCenter:async(o,x,r)=>n[t(1305)]().setCenter(o,x,r),fitBounds:async(o,x)=>{const r=t,{width:i,height:c,minZoom:d,maxZoom:a,panZoom:u}=n[r(1305)](),f=So(o,i,c,d,a,x?.[r(448)]??.1);return u?(await u[r(1758)](f,{duration:x?.[r(850)],ease:x?.[r(1834)],interpolate:x?.[r(1939)]}),Promise[r(1952)](!0)):Promise[r(1952)](!1)},screenToFlowPosition:(o,x={})=>{const r=t,{transform:i,snapGrid:c,snapToGrid:d,domNode:a}=n[r(1305)]();if(!a)return o;const{x:u,y:f}=a.getBoundingClientRect(),b={x:o.x-u,y:o.y-f},g=x.snapGrid??c,w=x.snapToGrid??d;return ht(b,i,w,g)},flowToScreenPosition:o=>{const x=t,{transform:r,domNode:i}=n[x(1305)]();if(!i)return o;const{x:c,y:d}=i[x(1821)](),a=ux(o,r);return{x:a.x+c,y:a.y+d}}}},[])};function wa(e,n){const t=s,o=[],x=new Map,r=[];for(const i of e)if(i.type===t(729)){r[t(1759)](i);continue}else if(i[t(1912)]==="remove"||i[t(1912)]===t(830))x[t(721)](i.id,[i]);else{const c=x[t(1861)](i.id);c?c.push(i):x.set(i.id,[i])}for(const i of n){const c=x[t(1861)](i.id);if(!c){o[t(1759)](i);continue}if(c[0][t(1912)]===t(928))continue;if(c[0][t(1912)]===t(830)){o[t(1759)]({...c[0][t(1160)]});continue}const d={...i};for(const a of c)th(a,d);o[t(1759)](d)}return r[t(2179)]&&r[t(1322)](i=>{const c=t;i[c(461)]!==void 0?o.splice(i[c(461)],0,{...i.item}):o[c(1759)]({...i[c(1160)]})}),o}function th(e,n){const t=s;switch(e[t(1912)]){case t(787):{n[t(1274)]=e[t(1274)];break}case"position":{typeof e[t(835)]!==t(383)&&(n.position=e[t(835)]),typeof e[t(1941)]!==t(383)&&(n.dragging=e[t(1941)]);break}case t(497):{typeof e[t(497)]!==t(383)&&(n[t(510)]={...e.dimensions},e.setAttributes&&((e[t(1329)]===!0||e[t(1329)]===t(1710))&&(n[t(1710)]=e[t(497)][t(1710)]),(e[t(1329)]===!0||e.setAttributes===t(1355))&&(n[t(1355)]=e[t(497)].height))),typeof e[t(1503)]===t(743)&&(n[t(1503)]=e[t(1503)]);break}}}function va(e,n){return wa(e,n)}function pa(e,n){return wa(e,n)}function fn(e,n){return{id:e,type:s(787),selected:n}}function En(e,n=new Set,t=!1){const o=s,x=[];for(const[r,i]of e){const c=n[o(1147)](r);!(i[o(1274)]===void 0&&!c)&&i[o(1274)]!==c&&(t&&(i.selected=c),x.push(fn(i.id,c)))}return x}function za({items:e=[],lookup:n}){const t=s,o=[],x=new Map(e[t(474)](r=>[r.id,r]));for(const[r,i]of e[t(1615)]()){const c=n.get(i.id),d=c?.[t(1157)]?.userNode??c;d!==void 0&&d!==i&&o[t(1759)]({id:i.id,item:i,type:t(830)}),d===void 0&&o[t(1759)]({item:i,type:t(729),index:r})}for(const[r]of n)x.get(r)===void 0&&o[t(1759)]({id:r,type:t(928)});return o}function Ca(e){const n=s;return{id:e.id,type:n(928)}}const Ma=e=>L2(e),xh=e=>dc(e);function Ba(e){return B[s(426)](e)}function Da(e){const n=s,[t,o]=B[n(883)](BigInt(0)),[x]=B.useState(()=>oh(()=>o(r=>r+BigInt(1))));return Zo(()=>{const r=n,i=x[r(1861)]();i[r(2179)]&&(e(i),x[r(1775)]())},[t]),x}function oh(e){let n=[];return{get:()=>n,reset:()=>{n=[]},push:t=>{n[_0x5590(1759)](t),e()}}}const La=B.createContext(null);function rh({children:e}){const n=s,t=Ge(),o=B[n(1318)](d=>{const a=n,{nodes:u=[],setNodes:f,hasDefaultNodes:b,onNodesChange:g,nodeLookup:w,fitViewQueued:h,onNodesChangeMiddlewareMap:v}=t[a(1305)]();let M=u;for(const y of d)M=typeof y===a(1347)?y(M):y;let m=za({items:M,lookup:w});for(const y of v[a(1982)]())m=y(m);b&&f(M),m[a(2179)]>0?g?.(m):h&&window.requestAnimationFrame(()=>{const{fitViewQueued:y,nodes:p,setNodes:z}=t.getState();y&&z(p)})},[]),x=Da(o),r=B.useCallback(d=>{const a=n,{edges:u=[],setEdges:f,hasDefaultEdges:b,onEdgesChange:g,edgeLookup:w}=t[a(1305)]();let h=u;for(const v of d)h=typeof v===a(1347)?v(h):v;b?f(h):g&&g(za({items:h,lookup:w}))},[]),i=Da(r),c=B[n(1581)](()=>({nodeQueue:x,edgeQueue:i}),[]);return l[n(1375)](La.Provider,{value:c,children:e})}function ih(){const e=s,n=B[e(1773)](La);if(!n)throw new Error("useBatchContext must be used within a BatchProvider");return n}const ch=e=>!!e[s(686)];function Ro(){const e=s,n=nh(),t=Ge(),o=ih(),x=Pe(ch),r=B.useMemo(()=>{const i=_0x5590,c=g=>t[i(1305)]()[i(717)][i(1861)](g),d=g=>{const w=i;o.nodeQueue[w(1759)](g)},a=g=>{const w=i;o.edgeQueue[w(1759)](g)},u=g=>{const w=i,{nodeLookup:h,nodeOrigin:v}=t[w(1305)](),M=Ma(g)?g:h[w(1861)](g.id),m=M[w(1907)]?vc(M[w(835)],M.measured,M[w(1907)],h,v):M[w(835)],y={...M,position:m,width:M[w(510)]?.[w(1710)]??M[w(1710)],height:M[w(510)]?.[w(1355)]??M[w(1355)]};return In(y)},f=(g,w,h={replace:!1})=>{const v=i;d(M=>M[v(474)](m=>{if(m.id===g){const y=typeof w=="function"?w(m):w;return h.replace&&Ma(y)?y:{...m,...y}}return m}))},b=(g,w,h={replace:!1})=>{const v=i;a(M=>M[v(474)](m=>{const y=v;if(m.id===g){const p=typeof w===y(1347)?w(m):w;return h[y(830)]&&xh(p)?p:{...m,...p}}return m}))};return{getNodes:()=>t[i(1305)]()[i(960)][i(474)](g=>({...g})),getNode:g=>c(g)?.[i(1157)][i(1275)],getInternalNode:c,getEdges:()=>{const g=i,{edges:w=[]}=t[g(1305)]();return w[g(474)](h=>({...h}))},getEdge:g=>t[i(1305)]()[i(2052)][i(1861)](g),setNodes:d,setEdges:a,addNodes:g=>{const w=i,h=Array.isArray(g)?g:[g];o[w(492)][w(1759)](v=>[...v,...h])},addEdges:g=>{const w=i,h=Array.isArray(g)?g:[g];o.edgeQueue[w(1759)](v=>[...v,...h])},toObject:()=>{const g=i,{nodes:w=[],edges:h=[],transform:v}=t[g(1305)](),[M,m,y]=v;return{nodes:w.map(p=>({...p})),edges:h[g(474)](p=>({...p})),viewport:{x:M,y:m,zoom:y}}},deleteElements:async({nodes:g=[],edges:w=[]})=>{const h=i,{nodes:v,edges:M,onNodesDelete:m,onEdgesDelete:y,triggerNodeChanges:p,triggerEdgeChanges:z,onDelete:P,onBeforeDelete:G}=t[h(1305)](),{nodes:O,edges:V}=await P2({nodesToRemove:g,edgesToRemove:w,nodes:v,edges:M,onBeforeDelete:G}),j=V[h(2179)]>0,q=O[h(2179)]>0;if(j){const H=V[h(474)](Ca);y?.(V),z(H)}if(q){const H=O[h(474)](Ca);m?.(O),p(H)}return(q||j)&&P?.({nodes:O,edges:V}),{deletedNodes:O,deletedEdges:V}},getIntersectingNodes:(g,w=!0,h)=>{const v=i,M=yc(g),m=M?g:u(g),y=h!==void 0;return m?(h||t.getState()[v(960)])[v(815)](p=>{const z=v,P=t.getState()[z(717)][z(1861)](p.id);if(P&&!M&&(p.id===g.id||!P[z(1157)].positionAbsolute))return!1;const G=In(y?p:P),O=ut(G,m);return w&&O>0||O>=G[z(1710)]*G[z(1355)]||O>=m[z(1710)]*m[z(1355)]}):[]},isNodeIntersecting:(g,w,h=!0)=>{const v=i,M=yc(g),m=M?g:u(g);if(!m)return!1;const y=ut(m,w);return h&&y>0||y>=w[v(1710)]*w.height||y>=m.width*m[v(1355)]},updateNode:f,updateNodeData:(g,w,h={replace:!1})=>{f(g,v=>{const M=_0x5590,m=typeof w=="function"?w(v):w;return h[M(830)]?{...v,data:m}:{...v,data:{...v[M(1551)],...m}}},h)},updateEdge:b,updateEdgeData:(g,w,h={replace:!1})=>{b(g,v=>{const M=_0x5590,m=typeof w===M(1347)?w(v):w;return h[M(830)]?{...v,data:m}:{...v,data:{...v[M(1551)],...m}}},h)},getNodesBounds:g=>{const w=i,{nodeLookup:h,nodeOrigin:v}=t[w(1305)]();return N2(g,{nodeLookup:h,nodeOrigin:v})},getHandleConnections:({type:g,id:w,nodeId:h})=>Array[i(1365)](t[i(1305)]()[i(799)][i(1861)](h+"-"+g+(w?"-"+w:""))?.[i(1982)]()??[]),getNodeConnections:({type:g,handleId:w,nodeId:h})=>Array[i(1365)](t[i(1305)]()[i(799)][i(1861)](""+h+(g?w?"-"+g+"-"+w:"-"+g:""))?.[i(1982)]()??[]),fitView:async g=>{const w=i,h=t[w(1305)]()[w(1789)]??Y2();return t[w(1770)]({fitViewQueued:!0,fitViewOptions:g,fitViewResolver:h}),o[w(492)][w(1759)](v=>[...v]),h[w(1915)]}}},[]);return B[e(1581)](()=>({...r,...n,viewportInitialized:x}),[x])}const Na=e=>e[s(1274)],ah=typeof window!==s(383)?window:void 0;function sh({deleteKeyCode:e,multiSelectionKeyCode:n}){const t=s,o=Ge(),{deleteElements:x}=Ro(),r=yt(e,{actInsideInputWithModifier:!1}),i=yt(n,{target:ah});B.useEffect(()=>{const c=_0x5590;if(r){const{edges:d,nodes:a}=o[c(1305)]();x({nodes:a.filter(Na),edges:d.filter(Na)}),o.setState({nodesSelectionActive:!1})}},[r]),B[t(2005)](()=>{o[t(1770)]({multiSelectionActive:i})},[i])}function lh(e){const n=s,t=Ge();B[n(2005)](()=>{const o=n,x=()=>{const r=_0x5590;if(!e[r(523)]||!(e[r(523)][r(731)]?.()??!0))return!1;const i=ko(e[r(523)]);(i[r(1355)]===0||i[r(1710)]===0)&&t[r(1305)]()[r(581)]?.("004",f0[r(1198)]()),t[r(1770)]({width:i[r(1710)]||500,height:i.height||500})};if(e[o(523)]){x(),window[o(1892)]("resize",x);const r=new ResizeObserver(()=>x());return r[o(2100)](e[o(523)]),()=>{const i=o;window[i(1665)](i(1816),x),r&&e[i(523)]&&r[i(1643)](e[i(523)])}}},[])}const px={position:s(2122),width:s(1575),height:"100%",top:0,left:0},dh=e=>({userSelectionActive:e.userSelectionActive,lib:e[s(1061)],connectionInProgress:e[s(1561)][s(1829)]});function uh({onPaneContextMenu:e,zoomOnScroll:n=!0,zoomOnPinch:t=!0,panOnScroll:o=!1,panOnScrollSpeed:x=.5,panOnScrollMode:r=ln[s(699)],zoomOnDoubleClick:i=!0,panOnDrag:c=!0,defaultViewport:d,translateExtent:a,minZoom:u,maxZoom:f,zoomActivationKeyCode:b,preventScrolling:g=!0,children:w,noWheelClassName:h,noPanClassName:v,onViewportChange:M,isControlledViewport:m,paneClickDistance:y,selectionOnDrag:p}){const z=s,P=Ge(),G=B[z(780)](null),{userSelectionActive:O,lib:V,connectionInProgress:j}=Pe(dh,Ue),q=yt(b),H=B.useRef();lh(G);const W=B[z(1318)](T=>{const N=z;M?.({x:T[0],y:T[1],zoom:T[2]}),!m&&P[N(1770)]({transform:T})},[M,m]);return B[z(2005)](()=>{const T=z;if(G[T(523)]){H.current=y5({domNode:G[T(523)],minZoom:u,maxZoom:f,translateExtent:a,viewport:d,onDraggingChange:Y=>P[T(1770)](U=>U[T(1321)]===Y?U:{paneDragging:Y}),onPanZoomStart:(Y,U)=>{const I=T,{onViewportChangeStart:J,onMoveStart:$}=P[I(1305)]();$?.(Y,U),J?.(U)},onPanZoom:(Y,U)=>{const{onViewportChange:I,onMove:J}=P.getState();J?.(Y,U),I?.(U)},onPanZoomEnd:(Y,U)=>{const I=T,{onViewportChangeEnd:J,onMoveEnd:$}=P[I(1305)]();$?.(Y,U),J?.(U)}});const{x:N,y:L,zoom:D}=H.current[T(1641)]();return P[T(1770)]({panZoom:H[T(523)],transform:[N,L,D],domNode:G[T(523)][T(1720)](T(1778))}),()=>{const Y=T;H[Y(523)]?.[Y(1544)]()}}},[]),B.useEffect(()=>{H.current?.update({onPaneContextMenu:e,zoomOnScroll:n,zoomOnPinch:t,panOnScroll:o,panOnScrollSpeed:x,panOnScrollMode:r,zoomOnDoubleClick:i,panOnDrag:c,zoomActivationKeyPressed:q,preventScrolling:g,noPanClassName:v,userSelectionActive:O,noWheelClassName:h,lib:V,onTransformChange:W,connectionInProgress:j,selectionOnDrag:p,paneClickDistance:y})},[e,n,t,o,x,r,i,c,q,g,v,O,h,V,W,j,p,y]),l.jsx(z(1037),{className:z(1948),ref:G,style:px,children:w})}const fh=e=>({userSelectionActive:e[s(2176)],userSelectionRect:e[s(2027)]});function hh(){const e=s,{userSelectionActive:n,userSelectionRect:t}=Pe(fh,Ue);return n&&t?l[e(1375)]("div",{className:"react-flow__selection react-flow__container",style:{width:t[e(1710)],height:t[e(1355)],transform:e(1848)+t.x+e(1057)+t.y+e(604)}}):null}const Jo=(e,n)=>t=>{const o=_0x5590;t[o(500)]===n[o(523)]&&e?.(t)},gh=e=>({userSelectionActive:e[s(2176)],elementsSelectable:e[s(760)],connectionInProgress:e.connection.inProgress,dragging:e[s(1321)]});function bh({isSelecting:e,selectionKeyPressed:n,selectionMode:t=st[s(452)],panOnDrag:o,paneClickDistance:x,selectionOnDrag:r,onSelectionStart:i,onSelectionEnd:c,onPaneClick:d,onPaneContextMenu:a,onPaneScroll:u,onPaneMouseEnter:f,onPaneMouseMove:b,onPaneMouseLeave:g,children:w}){const h=s,v=Ge(),{userSelectionActive:M,elementsSelectable:m,dragging:y,connectionInProgress:p}=Pe(gh,Ue),z=m&&(e||M),P=B[h(780)](null),G=B[h(780)](),O=B.useRef(new Set),V=B[h(780)](new Set),j=B[h(780)](!1),q=U=>{const I=h;if(j[I(523)]||p){j[I(523)]=!1;return}d?.(U),v.getState()[I(637)](),v[I(1770)]({nodesSelectionActive:!1})},H=U=>{const I=h;if(Array[I(565)](o)&&o?.[I(1419)](2)){U.preventDefault();return}a?.(U)},W=u?U=>u(U):void 0,T=U=>{const I=h;j[I(523)]&&(U[I(1313)](),j[I(523)]=!1)},N=U=>{const I=h,{domNode:J}=v[I(1305)]();if(G[I(523)]=J?.[I(1821)](),!G.current)return;const $=U.target===P[I(523)];if(!$&&!!U.target[I(1720)](".nokey")||!e||!(r&&$||n)||U[I(752)]!==0||!U[I(1326)])return;U[I(500)]?.[I(2146)]?.(U.pointerId),j[I(523)]=!1;const{x:re,y:ae}=M0(U.nativeEvent,G.current);v[I(1770)]({userSelectionRect:{width:0,height:0,startX:re,startY:ae,x:re,y:ae}}),!$&&(U[I(1313)](),U.preventDefault())},L=U=>{const I=h,{userSelectionRect:J,transform:$,nodeLookup:F,edgeLookup:xe,connectionLookup:re,triggerNodeChanges:ae,triggerEdgeChanges:ue,defaultEdgeOptions:me,resetSelectedElements:se}=v[I(1305)]();if(!G.current||!J)return;const{x:ee,y:le}=M0(U.nativeEvent,G[I(523)]),{startX:be,startY:E}=J;if(!j[I(523)]){const X=n?0:x;if(Math[I(783)](ee-be,le-E)<=X)return;se(),i?.(U)}j[I(523)]=!0;const A={startX:be,startY:E,x:ee<be?ee:be,y:le<E?le:E,width:Math[I(1537)](ee-be),height:Math[I(1537)](le-E)},Z=O[I(523)],ne=V.current;O[I(523)]=new Set(Lo(F,A,$,t===st[I(1098)],!0).map(X=>X.id)),V[I(523)]=new Set;const te=me?.[I(1546)]??!0;for(const X of O[I(523)]){const oe=re[I(1861)](X);if(oe)for(const{edgeId:ve}of oe[I(1982)]()){const pe=xe[I(1861)](ve);pe&&(pe[I(1546)]??te)&&V[I(523)][I(729)](ve)}}if(!pc(Z,O.current)){const X=En(F,O[I(523)],!0);ae(X)}if(!pc(ne,V.current)){const X=En(xe,V[I(523)]);ue(X)}v[I(1770)]({userSelectionRect:A,userSelectionActive:!0,nodesSelectionActive:!1})},D=U=>{const I=h;U.button===0&&(U[I(500)]?.[I(683)]?.(U[I(976)]),!M&&U[I(500)]===P.current&&v[I(1305)]()[I(2027)]&&q?.(U),v.setState({userSelectionActive:!1,userSelectionRect:null}),j[I(523)]&&(c?.(U),v[I(1770)]({nodesSelectionActive:O[I(523)][I(1046)]>0})))},Y=o===!0||Array[h(565)](o)&&o[h(1419)](0);return l[h(884)](h(1037),{className:Xe([h(805),{draggable:Y,dragging:y,selection:e}]),onClick:z?void 0:Jo(q,P),onContextMenu:Jo(H,P),onWheel:Jo(W,P),onPointerEnter:z?void 0:f,onPointerMove:z?L:b,onPointerUp:z?D:void 0,onPointerDownCapture:z?N:void 0,onClickCapture:z?T:void 0,onPointerLeave:g,ref:P,style:px,children:[w,l[h(1375)](hh,{})]})}function _o({id:e,store:n,unselect:t=!1,nodeRef:o}){const x=s,{addSelectedNodes:r,unselectNodesAndEdges:i,multiSelectionActive:c,nodeLookup:d,onError:a}=n[x(1305)](),u=d.get(e);if(!u){a?.(x(2019),f0.error012(e));return}n.setState({nodesSelectionActive:!1}),u[x(1274)]?(t||u[x(1274)]&&c)&&(i({nodes:[u],edges:[]}),requestAnimationFrame(()=>o?.current?.[x(549)]())):r([e])}function Sa({nodeRef:e,disabled:n=!1,noDragClassName:t,handleSelector:o,nodeId:x,isSelectable:r,nodeClickDistance:i}){const c=s,d=Ge(),[a,u]=B.useState(!1),f=B[c(780)]();return B[c(2005)](()=>{const b=c;f[b(523)]=x5({getStoreItems:()=>d[b(1305)](),onNodeMouseDown:g=>{_o({id:g,store:d,nodeRef:e})},onDragStart:()=>{u(!0)},onDragStop:()=>{u(!1)}})},[]),B.useEffect(()=>{const b=c;if(!(n||!e[b(523)]||!f.current))return f[b(523)][b(905)]({noDragClassName:t,handleSelector:o,domNode:e[b(523)],isSelectable:r,nodeId:x,nodeClickDistance:i}),()=>{const g=b;f[g(523)]?.[g(1544)]()}},[t,o,n,r,e,x,i]),a}const yh=e=>n=>n.selected&&(n[s(1533)]||e&&typeof n[s(1533)]===s(383));function ka(){const e=s,n=Ge();return B[e(1318)](o=>{const x=e,{nodeExtent:r,snapToGrid:i,snapGrid:c,nodesDraggable:d,onError:a,updateNodePositions:u,nodeLookup:f,nodeOrigin:b}=n[x(1305)](),g=new Map,w=yh(d),h=i?c[0]:5,v=i?c[1]:5,M=o[x(1917)].x*h*o[x(833)],m=o[x(1917)].y*v*o[x(833)];for(const[,y]of f){if(!w(y))continue;let p={x:y.internals[x(1443)].x+M,y:y[x(1157)][x(1443)].y+m};i&&(p=ft(p,c));const{position:z,positionAbsolute:P}=uc({nodeId:y.id,nextPosition:p,nodeLookup:f,nodeExtent:r,nodeOrigin:b,onError:a});y[x(835)]=z,y[x(1157)][x(1443)]=P,g.set(y.id,y)}u(g)},[])}const Qo=B[s(531)](null),mh=Qo[s(431)];Qo[s(1721)];const Ia=()=>B.useContext(Qo),wh=e=>({connectOnClick:e[s(1937)],noPanClassName:e[s(1059)],rfId:e.rfId}),vh=(e,n,t)=>o=>{const x=s,{connectionClickStartHandle:r,connectionMode:i,connection:c}=o,{fromHandle:d,toHandle:a,isValid:u}=c,f=a?.[x(1632)]===e&&a?.id===n&&a?.[x(1912)]===t;return{connectingFrom:d?.nodeId===e&&d?.id===n&&d?.[x(1912)]===t,connectingTo:f,clickConnecting:r?.nodeId===e&&r?.id===n&&r?.type===t,isPossibleEndHandle:i===Sn[x(600)]?d?.[x(1912)]!==t:e!==d?.[x(1632)]||n!==d?.id,connectionInProcess:!!d,clickConnectionInProcess:!!r,valid:f&&u}};function ph({type:e=s(766),position:n=ze[s(1962)],isValidConnection:t,isConnectable:o=!0,isConnectableStart:x=!0,isConnectableEnd:r=!0,id:i,onConnect:c,children:d,className:a,onMouseDown:u,onTouchStart:f,...b},g){const w=s,h=i||null,v=e===w(500),M=Ge(),m=Ia(),{connectOnClick:y,noPanClassName:p,rfId:z}=Pe(wh,Ue),{connectingFrom:P,connectingTo:G,clickConnecting:O,isPossibleEndHandle:V,connectionInProcess:j,clickConnectionInProcess:q,valid:H}=Pe(vh(m,h,e),Ue);!m&&M[w(1305)]()[w(581)]?.(w(1809),f0.error010());const W=L=>{const D=w,{defaultEdgeOptions:Y,onConnect:U,hasDefaultEdges:I}=M.getState(),J={...Y,...L};if(I){const{edges:$,setEdges:F}=M[D(1305)]();F(kc(J,$))}U?.(J),c?.(J)},T=L=>{const D=w;if(!m)return;const Y=Mc(L[D(939)]);if(x&&(Y&&L[D(752)]===0||!Y)){const U=M.getState();Ho[D(1409)](L[D(939)],{handleDomNode:L[D(1630)],autoPanOnConnect:U.autoPanOnConnect,connectionMode:U.connectionMode,connectionRadius:U[D(2050)],domNode:U.domNode,nodeLookup:U[D(717)],lib:U.lib,isTarget:v,handleId:h,nodeId:m,flowId:U[D(638)],panBy:U.panBy,cancelConnection:U[D(2076)],onConnectStart:U[D(2061)],onConnectEnd:(...I)=>M.getState()[D(2108)]?.(...I),updateConnection:U.updateConnection,onConnect:W,isValidConnection:t||((...I)=>M[D(1305)]()[D(1100)]?.(...I)??!0),getTransform:()=>M[D(1305)]().transform,getFromHandle:()=>M[D(1305)]()[D(1561)][D(2118)],autoPanSpeed:U[D(768)],dragThreshold:U.connectionDragThreshold})}Y?u?.(L):f?.(L)},N=L=>{const D=w,{onClickConnectStart:Y,onClickConnectEnd:U,connectionClickStartHandle:I,connectionMode:J,isValidConnection:$,lib:F,rfId:xe,nodeLookup:re,connection:ae}=M[D(1305)]();if(!m||!I&&!x)return;if(!I){Y?.(L.nativeEvent,{nodeId:m,handleId:h,handleType:e}),M[D(1770)]({connectionClickStartHandle:{nodeId:m,type:e,id:h}});return}const ue=zc(L[D(500)]),me=t||$,{connection:se,isValid:ee}=Ho[D(706)](L[D(939)],{handle:{nodeId:m,id:h,type:e},connectionMode:J,fromNodeId:I[D(1632)],fromHandleId:I.id||null,fromType:I[D(1912)],isValidConnection:me,flowId:xe,doc:ue,lib:F,nodeLookup:re});ee&&se&&W(se);const le=structuredClone(ae);delete le[D(1829)],le.toPosition=le[D(824)]?le[D(824)].position:null,U?.(L,le),M.setState({connectionClickStartHandle:null})};return l.jsx(w(1037),{"data-handleid":h,"data-nodeid":m,"data-handlepos":n,"data-id":z+"-"+m+"-"+h+"-"+e,className:Xe([w(1541),"react-flow__handle-"+n,"nodrag",p,a,{source:!v,target:v,connectable:o,connectablestart:x,connectableend:r,clickconnecting:O,connectingfrom:P,connectingto:G,valid:H,connectionindicator:o&&(!j||V)&&(j||q?r:x)}]),onMouseDown:T,onTouchStart:T,onClick:y?N:void 0,ref:g,...b,children:d})}const Un=B[s(2002)](Ba(ph));function zh({data:e,isConnectable:n,sourcePosition:t=ze[s(2110)]}){const o=s;return l.jsxs(l[o(1465)],{children:[e?.[o(663)],l.jsx(Un,{type:o(766),position:t,isConnectable:n})]})}function Ch({data:e,isConnectable:n,targetPosition:t=ze[s(1962)],sourcePosition:o=ze.Bottom}){const x=s;return l[x(884)](l[x(1465)],{children:[l[x(1375)](Un,{type:x(500),position:t,isConnectable:n}),e?.label,l[x(1375)](Un,{type:"source",position:o,isConnectable:n})]})}function Mh(){return null}function Bh({data:e,isConnectable:n,targetPosition:t=ze[s(1962)]}){const o=s;return l[o(884)](l[o(1465)],{children:[l.jsx(Un,{type:o(500),position:t,isConnectable:n}),e?.[o(663)]]})}const zx={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},Pa={input:zh,default:Ch,output:Bh,group:Mh};function Dh(e){const n=s;return e.internals.handleBounds===void 0?{width:e.width??e[n(2175)]??e[n(1476)]?.[n(1710)],height:e[n(1355)]??e.initialHeight??e[n(1476)]?.height}:{width:e[n(1710)]??e.style?.[n(1710)],height:e[n(1355)]??e[n(1476)]?.[n(1355)]}}const Lh=e=>{const n=s,{width:t,height:o,x,y:r}=dt(e.nodeLookup,{filter:i=>!!i[n(1274)]});return{width:C0(t)?t:null,height:C0(o)?o:null,userSelectionActive:e.userSelectionActive,transformString:n(1848)+e[n(1121)][0]+n(1619)+e[n(1121)][1]+n(1366)+e[n(1121)][2]+n(1696)+x+n(1619)+r+n(604)}};function Nh({onSelectionContextMenu:e,noPanClassName:n,disableKeyboardA11y:t}){const o=s,x=Ge(),{width:r,height:i,transformString:c,userSelectionActive:d}=Pe(Lh,Ue),a=ka(),u=B.useRef(null);B[o(2005)](()=>{!t&&u.current?.focus({preventScroll:!0})},[t]);const f=!d&&r!==null&&i!==null;if(Sa({nodeRef:u,disabled:!f}),!f)return null;const b=e?w=>{const h=o,v=x[h(1305)]().nodes[h(815)](M=>M.selected);e(w,v)}:void 0,g=w=>{const h=o;Object[h(2107)][h(911)][h(414)](zx,w[h(844)])&&(w[h(810)](),a({direction:zx[w.key],factor:w[h(1139)]?4:1}))};return l[o(1375)](o(1037),{className:Xe([o(900),o(595),n]),style:{transform:c},children:l[o(1375)]("div",{ref:u,className:o(1433),onContextMenu:b,tabIndex:t?void 0:-1,onKeyDown:t?void 0:g,style:{width:r,height:i}})})}const Aa=typeof window!==s(383)?window:void 0,Sh=e=>({nodesSelectionActive:e[s(1005)],userSelectionActive:e.userSelectionActive});function ja({children:e,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:o,onPaneMouseLeave:x,onPaneContextMenu:r,onPaneScroll:i,paneClickDistance:c,deleteKeyCode:d,selectionKeyCode:a,selectionOnDrag:u,selectionMode:f,onSelectionStart:b,onSelectionEnd:g,multiSelectionKeyCode:w,panActivationKeyCode:h,zoomActivationKeyCode:v,elementsSelectable:M,zoomOnScroll:m,zoomOnPinch:y,panOnScroll:p,panOnScrollSpeed:z,panOnScrollMode:P,zoomOnDoubleClick:G,panOnDrag:O,defaultViewport:V,translateExtent:j,minZoom:q,maxZoom:H,preventScrolling:W,onSelectionContextMenu:T,noWheelClassName:N,noPanClassName:L,disableKeyboardA11y:D,onViewportChange:Y,isControlledViewport:U}){const I=s,{nodesSelectionActive:J,userSelectionActive:$}=Pe(Sh,Ue),F=yt(a,{target:Aa}),xe=yt(h,{target:Aa}),re=xe||O,ae=xe||p,ue=u&&re!==!0,me=F||$||ue;return sh({deleteKeyCode:d,multiSelectionKeyCode:w}),l[I(1375)](uh,{onPaneContextMenu:r,elementsSelectable:M,zoomOnScroll:m,zoomOnPinch:y,panOnScroll:ae,panOnScrollSpeed:z,panOnScrollMode:P,zoomOnDoubleClick:G,panOnDrag:!F&&re,defaultViewport:V,translateExtent:j,minZoom:q,maxZoom:H,zoomActivationKeyCode:v,preventScrolling:W,noWheelClassName:N,noPanClassName:L,onViewportChange:Y,isControlledViewport:U,paneClickDistance:c,selectionOnDrag:ue,children:l.jsxs(bh,{onSelectionStart:b,onSelectionEnd:g,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:o,onPaneMouseLeave:x,onPaneContextMenu:r,onPaneScroll:i,panOnDrag:re,isSelecting:!!me,selectionMode:f,selectionKeyPressed:F,paneClickDistance:c,selectionOnDrag:ue,children:[e,J&&l[I(1375)](Nh,{onSelectionContextMenu:T,noPanClassName:L,disableKeyboardA11y:D})]})})}ja[s(1293)]=s(1201);const kh=B.memo(ja),Ih=e=>n=>{const t=s;return e?Lo(n[t(717)],{x:0,y:0,width:n[t(1710)],height:n[t(1355)]},n.transform,!0)[t(474)](o=>o.id):Array[t(1365)](n[t(717)][t(999)]())};function Ph(e){return Pe(B[s(1318)](Ih(e),[e]),Ue)}const Ah=e=>e.updateNodeInternals;function jh(){const e=s,n=Pe(Ah),[t]=B[e(883)](()=>typeof ResizeObserver===e(383)?null:new ResizeObserver(x=>{const r=new Map;x.forEach(i=>{const c=_0x5590,d=i[c(500)].getAttribute(c(395));r[c(721)](d,{id:d,nodeElement:i.target,force:!0})}),n(r)}));return B[e(2005)](()=>()=>{t?.[_0x5590(1714)]()},[t]),t}function Yh({node:e,nodeType:n,hasDimensions:t,resizeObserver:o}){const x=s,r=Ge(),i=B.useRef(null),c=B[x(780)](null),d=B[x(780)](e[x(885)]),a=B[x(780)](e[x(1558)]),u=B[x(780)](n),f=t&&!!e[x(1157)].handleBounds;return B.useEffect(()=>{const b=x;i[b(523)]&&!e[b(1771)]&&(!f||c[b(523)]!==i.current)&&(c[b(523)]&&o?.[b(1643)](c.current),o?.[b(2100)](i[b(523)]),c.current=i.current)},[f,e[x(1771)]]),B.useEffect(()=>()=>{const b=_0x5590;c.current&&(o?.unobserve(c.current),c[b(523)]=null)},[]),B[x(2005)](()=>{const b=x;if(i.current){const g=u.current!==n,w=d.current!==e[b(885)],h=a.current!==e[b(1558)];(g||w||h)&&(u[b(523)]=n,d.current=e.sourcePosition,a[b(523)]=e[b(1558)],r[b(1305)]().updateNodeInternals(new Map([[e.id,{id:e.id,nodeElement:i.current,force:!0}]])))}},[e.id,n,e.sourcePosition,e[x(1558)]]),i}function Eh({id:e,onClick:n,onMouseEnter:t,onMouseMove:o,onMouseLeave:x,onContextMenu:r,onDoubleClick:i,nodesDraggable:c,elementsSelectable:d,nodesConnectable:a,nodesFocusable:u,resizeObserver:f,noDragClassName:b,noPanClassName:g,disableKeyboardA11y:w,rfId:h,nodeTypes:v,nodeClickDistance:M,onError:m}){const y=s,{node:p,internals:z,isParent:P}=Pe(se=>{const ee=_0x5590,le=se[ee(717)][ee(1861)](e),be=se.parentLookup.has(e);return{node:le,internals:le.internals,isParent:be}},Ue);let G=p[y(1912)]||y(384),O=v?.[G]||Pa[G];O===void 0&&(m?.("003",f0[y(1883)](G)),G="default",O=v?.default||Pa[y(384)]);const V=!!(p[y(1533)]||c&&typeof p.draggable===y(383)),j=!!(p[y(1546)]||d&&typeof p[y(1546)]===y(383)),q=!!(p[y(1424)]||a&&typeof p[y(1424)]===y(383)),H=!!(p.focusable||u&&typeof p.focusable===y(383)),W=Ge(),T=wc(p),N=Yh({node:p,nodeType:G,hasDimensions:T,resizeObserver:f}),L=Sa({nodeRef:N,disabled:p[y(1771)]||!V,noDragClassName:b,handleSelector:p[y(1970)],nodeId:e,isSelectable:j,nodeClickDistance:M}),D=ka();if(p[y(1771)])return null;const Y=T0(p),U=Dh(p),I=j||V||n||t||o||x,J=t?se=>t(se,{...z.userNode}):void 0,$=o?se=>o(se,{...z[y(1275)]}):void 0,F=x?se=>x(se,{...z[y(1275)]}):void 0,xe=r?se=>r(se,{...z[y(1275)]}):void 0,re=i?se=>i(se,{...z[y(1275)]}):void 0,ae=se=>{const ee=y,{selectNodesOnDrag:le,nodeDragThreshold:be}=W[ee(1305)]();j&&(!le||!V||be>0)&&_o({id:e,store:W,nodeRef:N}),n&&n(se,{...z.userNode})},ue=se=>{const ee=y;if(!(Cc(se[ee(939)])||w)){if(ic.includes(se[ee(844)])&&j){const le=se.key===ee(1286);_o({id:e,store:W,unselect:le,nodeRef:N})}else if(V&&p[ee(1274)]&&Object[ee(2107)][ee(911)][ee(414)](zx,se[ee(844)])){se[ee(810)]();const{ariaLabelConfig:le}=W[ee(1305)]();W[ee(1770)]({ariaLiveMessage:le[ee(1141)]({direction:se.key[ee(830)](ee(877),"")[ee(1239)](),x:~~z.positionAbsolute.x,y:~~z[ee(1443)].y})}),D({direction:zx[se[ee(844)]],factor:se.shiftKey?4:1})}}},me=()=>{const se=y;if(w||!N[se(523)]?.[se(1844)](se(1895)))return;const{transform:ee,width:le,height:be,autoPanOnNodeFocus:E,setCenter:A}=W[se(1305)]();if(!E)return;!(Lo(new Map([[e,p]]),{x:0,y:0,width:le,height:be},ee,!0)[se(2179)]>0)&&A(p[se(835)].x+Y[se(1710)]/2,p[se(835)].y+Y.height/2,{zoom:ee[2]})};return l[y(1375)](y(1037),{className:Xe([y(1344),"react-flow__node-"+G,{[g]:V},p[y(1320)],{selected:p[y(1274)],selectable:j,parent:P,draggable:V,dragging:L}]),ref:N,style:{zIndex:z.z,transform:y(1848)+z[y(1443)].x+y(1619)+z[y(1443)].y+y(604),pointerEvents:y(I?906:988),visibility:y(T?963:1771),...p[y(1476)],...U},"data-id":e,"data-testid":y(1490)+e,onMouseEnter:J,onMouseMove:$,onMouseLeave:F,onContextMenu:xe,onClick:ae,onDoubleClick:re,onKeyDown:H?ue:void 0,tabIndex:H?0:void 0,onFocus:H?me:void 0,role:p[y(1001)]??(H?y(744):void 0),"aria-roledescription":y(1504),"aria-describedby":w?void 0:la+"-"+h,"aria-label":p[y(353)],...p[y(1566)],children:l[y(1375)](mh,{value:e,children:l[y(1375)](O,{id:e,data:p[y(1551)],type:G,positionAbsoluteX:z[y(1443)].x,positionAbsoluteY:z[y(1443)].y,selected:p[y(1274)]??!1,selectable:j,draggable:V,deletable:p[y(1092)]??!0,isConnectable:q,sourcePosition:p[y(885)],targetPosition:p[y(1558)],dragging:L,dragHandle:p.dragHandle,zIndex:z.z,parentId:p[y(1907)],...Y})})})}var Uh=B[s(2002)](Eh);const Gh=e=>({nodesDraggable:e[s(1309)],nodesConnectable:e[s(563)],nodesFocusable:e[s(555)],elementsSelectable:e.elementsSelectable,onError:e[s(581)]});function Ya(e){const n=s,{nodesDraggable:t,nodesConnectable:o,nodesFocusable:x,elementsSelectable:r,onError:i}=Pe(Gh,Ue),c=Ph(e.onlyRenderVisibleElements),d=jh();return l.jsx(n(1037),{className:"react-flow__nodes",style:px,children:c.map(a=>{const u=n;return l[u(1375)](Uh,{id:a,nodeTypes:e.nodeTypes,nodeExtent:e[u(790)],onClick:e[u(1820)],onMouseEnter:e[u(1535)],onMouseMove:e[u(1822)],onMouseLeave:e[u(1905)],onContextMenu:e[u(521)],onDoubleClick:e[u(1357)],noDragClassName:e[u(970)],noPanClassName:e[u(1059)],rfId:e[u(638)],disableKeyboardA11y:e[u(1116)],resizeObserver:d,nodesDraggable:t,nodesConnectable:o,nodesFocusable:x,elementsSelectable:r,nodeClickDistance:e[u(1961)],onError:i},a)})})}Ya.displayName="NodeRenderer";const Oh=B.memo(Ya);function Hh(e){const n=s;return Pe(B[n(1318)](o=>{const x=n;if(!e)return o[x(2083)].map(i=>i.id);const r=[];if(o[x(1710)]&&o[x(1355)])for(const i of o[x(2083)]){const c=o[x(717)][x(1861)](i[x(766)]),d=o[x(717)].get(i[x(500)]);c&&d&&O2({sourceNode:c,targetNode:d,width:o[x(1710)],height:o.height,transform:o[x(1121)]})&&r.push(i.id)}return r},[e]),Ue)}const Th=({color:e="none",strokeWidth:n=1})=>{const t=s,o={strokeWidth:n,...e&&{stroke:e}};return l.jsx("polyline",{className:t(1713),style:o,strokeLinecap:t(381),fill:t(988),strokeLinejoin:"round",points:t(2128)})},Vh=({color:e=s(988),strokeWidth:n=1})=>{const t=s,o={strokeWidth:n,...e&&{stroke:e,fill:e}};return l[t(1375)](t(674),{className:t(1362),style:o,strokeLinecap:t(381),strokeLinejoin:t(381),points:t(1664)})},Ea={[ax[s(877)]]:Th,[ax[s(842)]]:Vh};function qh(e){const n=s,t=Ge();return B[n(1581)](()=>{const x=n;return Object[x(2107)][x(911)][x(414)](Ea,e)?Ea[e]:(t[x(1305)]()[x(581)]?.(x(1236),f0.error009(e)),null)},[e])}const Wh=({id:e,type:n,color:t,width:o=12.5,height:x=12.5,markerUnits:r=s(1473),strokeWidth:i,orient:c=s(417)})=>{const d=s,a=qh(n);return a?l.jsx(d(1360),{className:d(629),id:e,markerWidth:""+o,markerHeight:""+x,viewBox:d(1999),markerUnits:r,orient:c,refX:"0",refY:"0",children:l[d(1375)](a,{color:t,strokeWidth:i})}):null},Ua=({defaultColor:e,rfId:n})=>{const t=s,o=Pe(i=>i[t(2083)]),x=Pe(i=>i[t(1555)]),r=B[t(1581)](()=>{const i=t;return K2(o,{id:n,defaultColor:e,defaultMarkerStart:x?.[i(622)],defaultMarkerEnd:x?.[i(1977)]})},[o,x,n,e]);return r.length?l[t(1375)](t(1350),{className:t(450),"aria-hidden":t(1981),children:l[t(1375)](t(1876),{children:r[t(474)](i=>l[t(1375)](Wh,{id:i.id,type:i.type,color:i[t(1176)],width:i.width,height:i[t(1355)],markerUnits:i.markerUnits,strokeWidth:i[t(1473)],orient:i[t(1250)]},i.id))})}):null};Ua[s(1293)]=s(1413);var Xh=B.memo(Ua);function Ga({x:e,y:n,label:t,labelStyle:o,labelShowBg:x=!0,labelBgStyle:r,labelBgPadding:i=[2,4],labelBgBorderRadius:c=2,children:d,className:a,...u}){const f=s,[b,g]=B[f(883)]({x:1,y:0,width:0,height:0}),w=Xe([f(486),a]),h=B.useRef(null);return B[f(2005)](()=>{const v=f;if(h[v(523)]){const M=h[v(523)][v(1383)]();g({x:M.x,y:M.y,width:M[v(1710)],height:M[v(1355)]})}},[t]),t?l.jsxs("g",{transform:f(1848)+(e-b[f(1710)]/2)+" "+(n-b[f(1355)]/2)+")",className:w,visibility:b.width?f(963):f(1771),...u,children:[x&&l[f(1375)](f(1389),{width:b[f(1710)]+2*i[0],x:-i[0],y:-i[1],height:b[f(1355)]+2*i[1],className:f(1740),style:r,rx:c,ry:c}),l.jsx("text",{className:f(2062),y:b.height/2,dy:"0.3em",ref:h,style:o,children:t}),d]}):null}Ga[s(1293)]=s(1550);const Kh=B[s(2002)](Ga);function Cx({path:e,labelX:n,labelY:t,label:o,labelStyle:x,labelShowBg:r,labelBgStyle:i,labelBgPadding:c,labelBgBorderRadius:d,interactionWidth:a=20,...u}){const f=s;return l[f(884)](l[f(1465)],{children:[l[f(1375)](f(1850),{...u,d:e,fill:"none",className:Xe([f(746),u[f(1320)]])}),a?l[f(1375)](f(1850),{d:e,fill:f(988),strokeOpacity:0,strokeWidth:a,className:f(839)}):null,o&&C0(n)&&C0(t)?l.jsx(Kh,{x:n,y:t,label:o,labelStyle:x,labelShowBg:r,labelBgStyle:i,labelBgPadding:c,labelBgBorderRadius:d}):null]})}function Oa({pos:e,x1:n,y1:t,x2:o,y2:x}){return e===ze[s(1029)]||e===ze.Right?[.5*(n+o),t]:[n,.5*(t+x)]}function Ha({sourceX:e,sourceY:n,sourcePosition:t=ze[s(2110)],targetX:o,targetY:x,targetPosition:r=ze[s(1962)]}){const[i,c]=Oa({pos:t,x1:e,y1:n,x2:o,y2:x}),[d,a]=Oa({pos:r,x1:o,y1:x,x2:e,y2:n}),[u,f,b,g]=Dc({sourceX:e,sourceY:n,targetX:o,targetY:x,sourceControlX:i,sourceControlY:c,targetControlX:d,targetControlY:a});return["M"+e+","+n+" C"+i+","+c+" "+d+","+a+" "+o+","+x,u,f,b,g]}function Ta(e){const n=s;return B[n(2002)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:c,targetPosition:d,label:a,labelStyle:u,labelShowBg:f,labelBgStyle:b,labelBgPadding:g,labelBgBorderRadius:w,style:h,markerEnd:v,markerStart:M,interactionWidth:m})=>{const y=n,[p,z,P]=Ha({sourceX:o,sourceY:x,sourcePosition:c,targetX:r,targetY:i,targetPosition:d}),G=e[y(1353)]?void 0:t;return l[y(1375)](Cx,{id:G,path:p,labelX:z,labelY:P,label:a,labelStyle:u,labelShowBg:f,labelBgStyle:b,labelBgPadding:g,labelBgBorderRadius:w,style:h,markerEnd:v,markerStart:M,interactionWidth:m})})}const Zh=Ta({isInternal:!1}),Va=Ta({isInternal:!0});Zh.displayName="SimpleBezierEdge",Va[s(1293)]=s(1898);function qa(e){const n=s;return B[n(2002)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,label:c,labelStyle:d,labelShowBg:a,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:b,style:g,sourcePosition:w=ze[n(2110)],targetPosition:h=ze[n(1962)],markerEnd:v,markerStart:M,pathOptions:m,interactionWidth:y})=>{const p=n,[z,P,G]=Io({sourceX:o,sourceY:x,sourcePosition:w,targetX:r,targetY:i,targetPosition:h,borderRadius:m?.[p(681)],offset:m?.[p(1709)],stepPosition:m?.[p(1161)]}),O=e.isInternal?void 0:t;return l[p(1375)](Cx,{id:O,path:z,labelX:P,labelY:G,label:c,labelStyle:d,labelShowBg:a,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:b,style:g,markerEnd:v,markerStart:M,interactionWidth:y})})}const Wa=qa({isInternal:!1}),Xa=qa({isInternal:!0});Wa.displayName=s(405),Xa[s(1293)]=s(1405);function Ka(e){const n=s;return B[n(2002)](({id:t,...o})=>{const x=n,r=e[x(1353)]?void 0:t;return l[x(1375)](Wa,{...o,id:r,pathOptions:B.useMemo(()=>({borderRadius:0,offset:o[x(1857)]?.[x(1709)]}),[o.pathOptions?.[x(1709)]])})})}const Rh=Ka({isInternal:!1}),Za=Ka({isInternal:!0});Rh[s(1293)]="StepEdge",Za.displayName="StepEdgeInternal";function Ra(e){const n=s;return B[n(2002)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,label:c,labelStyle:d,labelShowBg:a,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:b,style:g,markerEnd:w,markerStart:h,interactionWidth:v})=>{const M=n,[m,y,p]=Ic({sourceX:o,sourceY:x,targetX:r,targetY:i}),z=e[M(1353)]?void 0:t;return l.jsx(Cx,{id:z,path:m,labelX:y,labelY:p,label:c,labelStyle:d,labelShowBg:a,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:b,style:g,markerEnd:w,markerStart:h,interactionWidth:v})})}const Jh=Ra({isInternal:!1}),Ja=Ra({isInternal:!0});Jh[s(1293)]=s(2073),Ja[s(1293)]=s(950);function _a(e){const n=s;return B[n(2002)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:c=ze[n(2110)],targetPosition:d=ze[n(1962)],label:a,labelStyle:u,labelShowBg:f,labelBgStyle:b,labelBgPadding:g,labelBgBorderRadius:w,style:h,markerEnd:v,markerStart:M,pathOptions:m,interactionWidth:y})=>{const p=n,[z,P,G]=Nc({sourceX:o,sourceY:x,sourcePosition:c,targetX:r,targetY:i,targetPosition:d,curvature:m?.[p(1467)]}),O=e[p(1353)]?void 0:t;return l.jsx(Cx,{id:O,path:z,labelX:P,labelY:G,label:a,labelStyle:u,labelShowBg:f,labelBgStyle:b,labelBgPadding:g,labelBgBorderRadius:w,style:h,markerEnd:v,markerStart:M,interactionWidth:y})})}const _h=_a({isInternal:!1}),Qa=_a({isInternal:!0});_h[s(1293)]=s(930),Qa.displayName=s(538);const Fa={default:Qa,straight:Ja,step:Za,smoothstep:Xa,simplebezier:Va},$a={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},Qh=(e,n,t)=>t===ze[s(1029)]?e-n:t===ze.Right?e+n:e,Fh=(e,n,t)=>t===ze[s(1962)]?e-n:t===ze.Bottom?e+n:e,es=s(918);function ns({position:e,centerX:n,centerY:t,radius:o=10,onMouseDown:x,onMouseEnter:r,onMouseOut:i,type:c}){const d=s;return l[d(1375)](d(1602),{onMouseDown:x,onMouseEnter:r,onMouseOut:i,className:Xe([es,es+"-"+c]),cx:Qh(n,o,e),cy:Fh(t,o,e),r:o,stroke:d(1911),fill:d(1911)})}function $h({isReconnectable:e,reconnectRadius:n,edge:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:c,targetPosition:d,onReconnect:a,onReconnectStart:u,onReconnectEnd:f,setReconnecting:b,setUpdateHover:g}){const w=s,h=Ge(),v=(z,P)=>{const G=_0x5590;if(z[G(752)]!==0)return;const{autoPanOnConnect:O,domNode:V,connectionMode:j,connectionRadius:q,lib:H,onConnectStart:W,cancelConnection:T,nodeLookup:N,rfId:L,panBy:D,updateConnection:Y}=h[G(1305)](),U=P[G(1912)]===G(500),I=(F,xe)=>{b(!1),f?.(F,t,P.type,xe)},J=F=>a?.(t,F),$=(F,xe)=>{const re=G;b(!0),u?.(z,t,P[re(1912)]),W?.(F,xe)};Ho.onPointerDown(z[G(939)],{autoPanOnConnect:O,connectionMode:j,connectionRadius:q,domNode:V,handleId:P.id,nodeId:P.nodeId,nodeLookup:N,isTarget:U,edgeUpdaterType:P.type,lib:H,flowId:L,cancelConnection:T,panBy:D,isValidConnection:(...F)=>h[G(1305)]().isValidConnection?.(...F)??!0,onConnect:J,onConnectStart:$,onConnectEnd:(...F)=>h[G(1305)]()[G(2108)]?.(...F),onReconnectEnd:I,updateConnection:Y,getTransform:()=>h.getState().transform,getFromHandle:()=>h[G(1305)]().connection[G(2118)],dragThreshold:h[G(1305)]()[G(822)],handleDomNode:z[G(1630)]})},M=z=>v(z,{nodeId:t[w(500)],id:t[w(1924)]??null,type:w(500)}),m=z=>v(z,{nodeId:t[w(766)],id:t[w(837)]??null,type:w(766)}),y=()=>g(!0),p=()=>g(!1);return l[w(884)](l[w(1465)],{children:[(e===!0||e===w(766))&&l.jsx(ns,{position:c,centerX:o,centerY:x,radius:n,onMouseDown:M,onMouseEnter:y,onMouseOut:p,type:w(766)}),(e===!0||e===w(500))&&l[w(1375)](ns,{position:d,centerX:r,centerY:i,radius:n,onMouseDown:m,onMouseEnter:y,onMouseOut:p,type:"target"})]})}function e3({id:e,edgesFocusable:n,edgesReconnectable:t,elementsSelectable:o,onClick:x,onDoubleClick:r,onContextMenu:i,onMouseEnter:c,onMouseMove:d,onMouseLeave:a,reconnectRadius:u,onReconnect:f,onReconnectStart:b,onReconnectEnd:g,rfId:w,edgeTypes:h,noPanClassName:v,onError:M,disableKeyboardA11y:m}){const y=s;let p=Pe(E=>E[y(2052)][y(1861)](e));const z=Pe(E=>E[y(1555)]);p=z?{...z,...p}:p;let P=p[y(1912)]||"default",G=h?.[P]||Fa[P];G===void 0&&(M?.(y(1292),f0.error011(P)),P=y(384),G=h?.default||Fa[y(384)]);const O=!!(p[y(722)]||n&&typeof p[y(722)]===y(383)),V=typeof f<"u"&&(p[y(1086)]||t&&typeof p[y(1086)]===y(383)),j=!!(p[y(1546)]||o&&typeof p[y(1546)]>"u"),q=B.useRef(null),[H,W]=B.useState(!1),[T,N]=B[y(883)](!1),L=Ge(),{zIndex:D,sourceX:Y,sourceY:U,targetX:I,targetY:J,sourcePosition:$,targetPosition:F}=Pe(B.useCallback(E=>{const A=y,Z=E[A(717)][A(1861)](p.source),ne=E[A(717)][A(1861)](p[A(500)]);if(!Z||!ne)return{zIndex:p.zIndex,...$a};const te=X2({id:e,sourceNode:Z,targetNode:ne,sourceHandle:p[A(837)]||null,targetHandle:p.targetHandle||null,connectionMode:E[A(1579)],onError:M});return{zIndex:G2({selected:p[A(1274)],zIndex:p.zIndex,sourceNode:Z,targetNode:ne,elevateOnSelect:E[A(1532)],zIndexMode:E[A(1316)]}),...te||$a}},[p[y(766)],p[y(500)],p[y(837)],p[y(1924)],p[y(1274)],p[y(741)]]),Ue),xe=B[y(1581)](()=>p[y(622)]?"url('#"+Po(p.markerStart,w)+"')":void 0,[p[y(622)],w]),re=B[y(1581)](()=>p[y(1977)]?y(2152)+Po(p.markerEnd,w)+"')":void 0,[p[y(1977)],w]);if(p[y(1771)]||Y===null||U===null||I===null||J===null)return null;const ae=E=>{const A=y,{addSelectedEdges:Z,unselectNodesAndEdges:ne,multiSelectionActive:te}=L[A(1305)]();j&&(L[A(1770)]({nodesSelectionActive:!1}),p[A(1274)]&&te?(ne({nodes:[],edges:[p]}),q[A(523)]?.[A(549)]()):Z([e])),x&&x(E,p)},ue=r?E=>{r(E,{...p})}:void 0,me=i?E=>{i(E,{...p})}:void 0,se=c?E=>{c(E,{...p})}:void 0,ee=d?E=>{d(E,{...p})}:void 0,le=a?E=>{a(E,{...p})}:void 0,be=E=>{const A=y;if(!m&&ic[A(1419)](E[A(844)])&&j){const{unselectNodesAndEdges:Z,addSelectedEdges:ne}=L[A(1305)]();E[A(844)]===A(1286)?(q[A(523)]?.[A(549)](),Z({edges:[p]})):ne([e])}};return l[y(1375)]("svg",{style:{zIndex:D},children:l.jsxs("g",{className:Xe([y(1649),"react-flow__edge-"+P,p[y(1320)],v,{selected:p[y(1274)],animated:p[y(624)],inactive:!j&&!x,updating:H,selectable:j}]),onClick:ae,onDoubleClick:ue,onContextMenu:me,onMouseEnter:se,onMouseMove:ee,onMouseLeave:le,onKeyDown:O?be:void 0,tabIndex:O?0:void 0,role:p[y(1001)]??y(O?744:1663),"aria-roledescription":"edge","data-id":e,"data-testid":"rf__edge-"+e,"aria-label":p.ariaLabel===null?void 0:p.ariaLabel||y(589)+p[y(766)]+y(1989)+p.target,"aria-describedby":O?da+"-"+w:void 0,ref:q,...p[y(1566)],children:[!T&&l[y(1375)](G,{id:e,source:p[y(766)],target:p[y(500)],type:p.type,selected:p[y(1274)],animated:p[y(624)],selectable:j,deletable:p.deletable??!0,label:p.label,labelStyle:p.labelStyle,labelShowBg:p[y(1123)],labelBgStyle:p[y(694)],labelBgPadding:p[y(379)],labelBgBorderRadius:p[y(1154)],sourceX:Y,sourceY:U,targetX:I,targetY:J,sourcePosition:$,targetPosition:F,data:p.data,style:p[y(1476)],sourceHandleId:p[y(837)],targetHandleId:p[y(1924)],markerStart:xe,markerEnd:re,pathOptions:y(1857)in p?p[y(1857)]:void 0,interactionWidth:p.interactionWidth}),V&&l[y(1375)]($h,{edge:p,isReconnectable:V,reconnectRadius:u,onReconnect:f,onReconnectStart:b,onReconnectEnd:g,sourceX:Y,sourceY:U,targetX:I,targetY:J,sourcePosition:$,targetPosition:F,setUpdateHover:W,setReconnecting:N})]})})}var n3=B[s(2002)](e3);const t3=e=>({edgesFocusable:e[s(909)],edgesReconnectable:e[s(679)],elementsSelectable:e[s(760)],connectionMode:e.connectionMode,onError:e[s(581)]});function ts({defaultMarkerColor:e,onlyRenderVisibleElements:n,rfId:t,edgeTypes:o,noPanClassName:x,onReconnect:r,onEdgeContextMenu:i,onEdgeMouseEnter:c,onEdgeMouseMove:d,onEdgeMouseLeave:a,onEdgeClick:u,reconnectRadius:f,onEdgeDoubleClick:b,onReconnectStart:g,onReconnectEnd:w,disableKeyboardA11y:h}){const v=s,{edgesFocusable:M,edgesReconnectable:m,elementsSelectable:y,onError:p}=Pe(t3,Ue),z=Hh(n);return l[v(884)](v(1037),{className:"react-flow__edges",children:[l[v(1375)](Xh,{defaultColor:e,rfId:t}),z[v(474)](P=>l[v(1375)](n3,{id:P,edgesFocusable:M,edgesReconnectable:m,elementsSelectable:y,noPanClassName:x,onReconnect:r,onContextMenu:i,onMouseEnter:c,onMouseMove:d,onMouseLeave:a,onClick:u,reconnectRadius:f,onDoubleClick:b,onReconnectStart:g,onReconnectEnd:w,rfId:t,onError:p,edgeTypes:o,disableKeyboardA11y:h},P))]})}ts[s(1293)]=s(1684);const x3=B[s(2002)](ts),o3=e=>"translate("+e[s(1121)][0]+"px,"+e[s(1121)][1]+s(1366)+e[s(1121)][2]+")";function r3({children:e}){const n=s,t=Pe(o3);return l[n(1375)](n(1037),{className:n(1291),style:{transform:t},children:e})}function i3(e){const n=s,t=Ro(),o=B[n(780)](!1);B[n(2005)](()=>{const x=n;!o.current&&t.viewportInitialized&&e&&(setTimeout(()=>e(t),1),o[x(523)]=!0)},[e,t[n(1145)]])}const c3=e=>e.panZoom?.[s(730)];function a3(e){const n=s,t=Pe(c3),o=Ge();return B[n(2005)](()=>{const x=n;e&&(t?.(e),o[x(1770)]({transform:[e.x,e.y,e[x(1675)]]}))},[e,t]),null}function s3(e){const n=s;return e[n(1561)][n(1829)]?{...e.connection,to:ht(e[n(1561)].to,e.transform)}:{...e[n(1561)]}}function l3(e){return s3}function d3(e){const n=l3();return Pe(n,Ue)}const u3=e=>({nodesConnectable:e[s(563)],isValid:e[s(1561)][s(706)],inProgress:e.connection.inProgress,width:e[s(1710)],height:e[s(1355)]});function f3({containerStyle:e,style:n,type:t,component:o}){const x=s,{nodesConnectable:r,width:i,height:c,isValid:d,inProgress:a}=Pe(u3,Ue);return!(i&&r&&a)?null:l[x(1375)](x(1350),{style:e,width:i,height:c,className:x(929),children:l[x(1375)]("g",{className:Xe([x(1090),lc(d)]),children:l[x(1375)](xs,{style:n,type:t,CustomComponent:o,isValid:d})})})}const xs=({style:e,type:n=R0.Bezier,CustomComponent:t,isValid:o})=>{const x=s,{inProgress:r,from:i,fromNode:c,fromHandle:d,fromPosition:a,to:u,toNode:f,toHandle:b,toPosition:g,pointer:w}=d3();if(!r)return;if(t)return l[x(1375)](t,{connectionLineType:n,connectionLineStyle:e,fromNode:c,fromHandle:d,fromX:i.x,fromY:i.y,toX:u.x,toY:u.y,fromPosition:a,toPosition:g,connectionStatus:lc(o),toNode:f,toHandle:b,pointer:w});let h="";const v={sourceX:i.x,sourceY:i.y,sourcePosition:a,targetX:u.x,targetY:u.y,targetPosition:g};switch(n){case R0.Bezier:[h]=Nc(v);break;case R0[x(1538)]:[h]=Ha(v);break;case R0[x(1508)]:[h]=Io({...v,borderRadius:0});break;case R0[x(2092)]:[h]=Io(v);break;default:[h]=Ic(v)}return l.jsx(x(1850),{d:h,fill:x(988),className:"react-flow__connection-path",style:e})};xs[s(1293)]=s(1921);const h3={};function os(e=h3){const n=B.useRef(e),t=Ge();B.useEffect(()=>{const o=_0x5590;if(process.env.NODE_ENV===o(1549)){const x=new Set([...Object.keys(n.current),...Object.keys(e)]);for(const r of x)if(n.current[r]!==e[r]){t[o(1305)]()[o(581)]?.(o(615),f0[o(1426)]());break}n[o(523)]=e}},[e])}function g3(){const e=s,n=Ge(),t=B.useRef(!1);B[e(2005)](()=>{const o=e;if(process.env.NODE_ENV===o(1549)&&!t[o(523)]){const x=document[o(1525)](".react-flow__pane");x&&window[o(704)](x)[o(741)]!=="1"&&n[o(1305)]()[o(581)]?.(o(1657),f0.error013(o(1530))),t.current=!0}},[])}function rs({nodeTypes:e,edgeTypes:n,onInit:t,onNodeClick:o,onEdgeClick:x,onNodeDoubleClick:r,onEdgeDoubleClick:i,onNodeMouseEnter:c,onNodeMouseMove:d,onNodeMouseLeave:a,onNodeContextMenu:u,onSelectionContextMenu:f,onSelectionStart:b,onSelectionEnd:g,connectionLineType:w,connectionLineStyle:h,connectionLineComponent:v,connectionLineContainerStyle:M,selectionKeyCode:m,selectionOnDrag:y,selectionMode:p,multiSelectionKeyCode:z,panActivationKeyCode:P,zoomActivationKeyCode:G,deleteKeyCode:O,onlyRenderVisibleElements:V,elementsSelectable:j,defaultViewport:q,translateExtent:H,minZoom:W,maxZoom:T,preventScrolling:N,defaultMarkerColor:L,zoomOnScroll:D,zoomOnPinch:Y,panOnScroll:U,panOnScrollSpeed:I,panOnScrollMode:J,zoomOnDoubleClick:$,panOnDrag:F,onPaneClick:xe,onPaneMouseEnter:re,onPaneMouseMove:ae,onPaneMouseLeave:ue,onPaneScroll:me,onPaneContextMenu:se,paneClickDistance:ee,nodeClickDistance:le,onEdgeContextMenu:be,onEdgeMouseEnter:E,onEdgeMouseMove:A,onEdgeMouseLeave:Z,reconnectRadius:ne,onReconnect:te,onReconnectStart:X,onReconnectEnd:oe,noDragClassName:ve,noWheelClassName:pe,noPanClassName:Ie,disableKeyboardA11y:Ae,nodeExtent:Ee,rfId:Ne,viewport:ke,onViewportChange:Oe}){const je=s;return os(e),os(n),g3(),i3(t),a3(ke),l.jsx(kh,{onPaneClick:xe,onPaneMouseEnter:re,onPaneMouseMove:ae,onPaneMouseLeave:ue,onPaneContextMenu:se,onPaneScroll:me,paneClickDistance:ee,deleteKeyCode:O,selectionKeyCode:m,selectionOnDrag:y,selectionMode:p,onSelectionStart:b,onSelectionEnd:g,multiSelectionKeyCode:z,panActivationKeyCode:P,zoomActivationKeyCode:G,elementsSelectable:j,zoomOnScroll:D,zoomOnPinch:Y,zoomOnDoubleClick:$,panOnScroll:U,panOnScrollSpeed:I,panOnScrollMode:J,panOnDrag:F,defaultViewport:q,translateExtent:H,minZoom:W,maxZoom:T,onSelectionContextMenu:f,preventScrolling:N,noDragClassName:ve,noWheelClassName:pe,noPanClassName:Ie,disableKeyboardA11y:Ae,onViewportChange:Oe,isControlledViewport:!!ke,children:l[je(884)](r3,{children:[l.jsx(x3,{edgeTypes:n,onEdgeClick:x,onEdgeDoubleClick:i,onReconnect:te,onReconnectStart:X,onReconnectEnd:oe,onlyRenderVisibleElements:V,onEdgeContextMenu:be,onEdgeMouseEnter:E,onEdgeMouseMove:A,onEdgeMouseLeave:Z,reconnectRadius:ne,defaultMarkerColor:L,noPanClassName:Ie,disableKeyboardA11y:Ae,rfId:Ne}),l[je(1375)](f3,{style:h,type:w,component:v,containerStyle:M}),l[je(1375)](je(1037),{className:je(2145)}),l[je(1375)](Oh,{nodeTypes:e,onNodeClick:o,onNodeDoubleClick:r,onNodeMouseEnter:c,onNodeMouseMove:d,onNodeMouseLeave:a,onNodeContextMenu:u,nodeClickDistance:le,onlyRenderVisibleElements:V,noPanClassName:Ie,noDragClassName:ve,disableKeyboardA11y:Ae,nodeExtent:Ee,rfId:Ne}),l[je(1375)](je(1037),{className:je(587)})]})})}rs.displayName=s(1545);const b3=B[s(2002)](rs),is=({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:i,fitViewOptions:c,minZoom:d=.5,maxZoom:a=2,nodeOrigin:u,nodeExtent:f,zIndexMode:b="basic"}={})=>{const g=s,w=new Map,h=new Map,v=new Map,M=new Map,m=o??n??[],y=t??e??[],p=u??[0,0],z=f??at;Hc(v,M,m);const{nodesInitialized:P}=Eo(y,w,h,{nodeOrigin:p,nodeExtent:z,zIndexMode:b});let G=[0,0,1];if(i&&x&&r){const O=dt(w,{filter:H=>!!((H.width||H.initialWidth)&&(H[g(1355)]||H[g(586)]))}),{x:V,y:j,zoom:q}=So(O,x,r,d,a,c?.[g(448)]??.1);G=[V,j,q]}return{rfId:"1",width:x??0,height:r??0,transform:G,nodes:y,nodesInitialized:P,nodeLookup:w,parentLookup:h,edges:m,edgeLookup:M,connectionLookup:v,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:t!==void 0,hasDefaultEdges:o!==void 0,panZoom:null,minZoom:d,maxZoom:a,translateExtent:at,nodeExtent:z,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:Sn[g(600)],domNode:null,paneDragging:!1,noPanClassName:g(1856),nodeOrigin:p,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:{...ac},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:mc,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:g(1530),debug:!1,ariaLabelConfig:cc,zIndexMode:b,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},y3=({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:i,fitViewOptions:c,minZoom:d,maxZoom:a,nodeOrigin:u,nodeExtent:f,zIndexMode:b})=>E5((g,w)=>{async function h(){const v=_0x5590,{nodeLookup:M,panZoom:m,fitViewOptions:y,fitViewResolver:p,width:z,height:P,minZoom:G,maxZoom:O}=w();m&&(await I2({nodes:M,width:z,height:P,panZoom:m,minZoom:G,maxZoom:O},y),p?.[v(1952)](!0),g({fitViewResolver:null}))}return{...is({nodes:e,edges:n,width:x,height:r,fitView:i,fitViewOptions:c,minZoom:d,maxZoom:a,nodeOrigin:u,nodeExtent:f,defaultNodes:t,defaultEdges:o,zIndexMode:b}),setNodes:v=>{const{nodeLookup:M,parentLookup:m,nodeOrigin:y,elevateNodesOnSelect:p,fitViewQueued:z,zIndexMode:P,nodesSelectionActive:G}=w(),{nodesInitialized:O,hasSelectedNodes:V}=Eo(v,M,m,{nodeOrigin:y,nodeExtent:f,elevateNodesOnSelect:p,checkEquality:!0,zIndexMode:P}),j=G&&V;z&&O?(h(),g({nodes:v,nodesInitialized:O,fitViewQueued:!1,fitViewOptions:void 0,nodesSelectionActive:j})):g({nodes:v,nodesInitialized:O,nodesSelectionActive:j})},setEdges:v=>{const{connectionLookup:M,edgeLookup:m}=w();Hc(M,m,v),g({edges:v})},setDefaultNodesAndEdges:(v,M)=>{if(v){const{setNodes:m}=w();m(v),g({hasDefaultNodes:!0})}if(M){const{setEdges:m}=w();m(M),g({hasDefaultEdges:!0})}},updateNodeInternals:v=>{const M=_0x5590,{triggerNodeChanges:m,nodeLookup:y,parentLookup:p,domNode:z,nodeOrigin:P,nodeExtent:G,debug:O,fitViewQueued:V,zIndexMode:j}=w(),{changes:q,updatedInternals:H}=$2(v,y,p,z,P,G,j);H&&(J2(y,p,{nodeOrigin:P,nodeExtent:G,zIndexMode:j}),V?(h(),g({fitViewQueued:!1,fitViewOptions:void 0})):g({}),q?.[M(2179)]>0&&(O&&console[M(1672)](M(631),q),m?.(q)))},updateNodePositions:(v,M=!1)=>{const m=_0x5590,y=[];let p=[];const{nodeLookup:z,triggerNodeChanges:P,connection:G,updateConnection:O,onNodesChangeMiddlewareMap:V}=w();for(const[j,q]of v){const H=z[m(1861)](j),W=!!(H?.[m(1935)]&&H?.[m(1907)]&&q?.[m(835)]),T={id:j,type:m(835),position:W?{x:Math[m(2172)](0,q[m(835)].x),y:Math[m(2172)](0,q.position.y)}:q[m(835)],dragging:M};if(H&&G[m(1829)]&&G[m(1445)].id===H.id){const N=un(H,G[m(2118)],ze.Left,!0);O({...G,from:N})}W&&H.parentId&&y[m(1759)]({id:j,parentId:H[m(1907)],rect:{...q.internals.positionAbsolute,width:q[m(510)].width??0,height:q[m(510)][m(1355)]??0}}),p[m(1759)](T)}if(y[m(2179)]>0){const{parentLookup:j,nodeOrigin:q}=w(),H=Go(y,z,j,q);p[m(1759)](...H)}for(const j of V[m(1982)]())p=j(p);P(p)},triggerNodeChanges:v=>{const M=_0x5590,{onNodesChange:m,setNodes:y,nodes:p,hasDefaultNodes:z,debug:P}=w();if(v?.[M(2179)]){if(z){const G=va(v,p);y(G)}P&&console.log(M(631),v),m?.(v)}},triggerEdgeChanges:v=>{const M=_0x5590,{onEdgesChange:m,setEdges:y,edges:p,hasDefaultEdges:z,debug:P}=w();if(v?.length){if(z){const G=pa(v,p);y(G)}P&&console[M(1672)]("React Flow: trigger edge changes",v),m?.(v)}},addSelectedNodes:v=>{const M=_0x5590,{multiSelectionActive:m,edgeLookup:y,nodeLookup:p,triggerNodeChanges:z,triggerEdgeChanges:P}=w();if(m){const G=v[M(474)](O=>fn(O,!0));z(G);return}z(En(p,new Set([...v]),!0)),P(En(y))},addSelectedEdges:v=>{const M=_0x5590,{multiSelectionActive:m,edgeLookup:y,nodeLookup:p,triggerNodeChanges:z,triggerEdgeChanges:P}=w();if(m){const G=v[M(474)](O=>fn(O,!0));P(G);return}P(En(y,new Set([...v]))),z(En(p,new Set,!0))},unselectNodesAndEdges:({nodes:v,edges:M}={})=>{const m=_0x5590,{edges:y,nodes:p,nodeLookup:z,triggerNodeChanges:P,triggerEdgeChanges:G}=w(),O=v||p,V=M||y,j=[];for(const H of O){if(!H[m(1274)])continue;const W=z[m(1861)](H.id);W&&(W[m(1274)]=!1),j[m(1759)](fn(H.id,!1))}const q=[];for(const H of V)H.selected&&q[m(1759)](fn(H.id,!1));P(j),G(q)},setMinZoom:v=>{const M=_0x5590,{panZoom:m,maxZoom:y}=w();m?.[M(889)]([v,y]),g({minZoom:v})},setMaxZoom:v=>{const{panZoom:M,minZoom:m}=w();M?.setScaleExtent([m,v]),g({maxZoom:v})},setTranslateExtent:v=>{const M=_0x5590;w()[M(686)]?.setTranslateExtent(v),g({translateExtent:v})},resetSelectedElements:()=>{const v=_0x5590,{edges:M,nodes:m,triggerNodeChanges:y,triggerEdgeChanges:p,elementsSelectable:z}=w();if(!z)return;const P=m[v(1106)]((O,V)=>V[v(1274)]?[...O,fn(V.id,!1)]:O,[]),G=M.reduce((O,V)=>V[v(1274)]?[...O,fn(V.id,!1)]:O,[]);y(P),p(G)},setNodeExtent:v=>{const{nodes:M,nodeLookup:m,parentLookup:y,nodeOrigin:p,elevateNodesOnSelect:z,nodeExtent:P,zIndexMode:G}=w();v[0][0]===P[0][0]&&v[0][1]===P[0][1]&&v[1][0]===P[1][0]&&v[1][1]===P[1][1]||(Eo(M,m,y,{nodeOrigin:p,nodeExtent:v,elevateNodesOnSelect:z,checkEquality:!1,zIndexMode:G}),g({nodeExtent:v}))},panBy:v=>{const{transform:M,width:m,height:y,panZoom:p,translateExtent:z}=w();return e5({delta:v,panZoom:p,transform:M,translateExtent:z,width:m,height:y})},setCenter:async(v,M,m)=>{const y=_0x5590,{width:p,height:z,maxZoom:P,panZoom:G}=w();if(!G)return Promise[y(1952)](!1);const O=typeof m?.[y(1675)]<"u"?m.zoom:P;return await G.setViewport({x:p/2-v*O,y:z/2-M*O,zoom:O},{duration:m?.[y(850)],ease:m?.[y(1834)],interpolate:m?.[y(1939)]}),Promise[y(1952)](!0)},cancelConnection:()=>{g({connection:{...ac}})},updateConnection:v=>{g({connection:v})},reset:()=>g({...is()})}},Object.is);function m3({initialNodes:e,initialEdges:n,defaultNodes:t,defaultEdges:o,initialWidth:x,initialHeight:r,initialMinZoom:i,initialMaxZoom:c,initialFitViewOptions:d,fitView:a,nodeOrigin:u,nodeExtent:f,zIndexMode:b,children:g}){const w=s,[h]=B[w(883)](()=>y3({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:a,minZoom:i,maxZoom:c,fitViewOptions:d,nodeOrigin:u,nodeExtent:f,zIndexMode:b}));return l[w(1375)](U5,{value:h,children:l.jsx(rh,{children:g})})}function w3({children:e,nodes:n,edges:t,defaultNodes:o,defaultEdges:x,width:r,height:i,fitView:c,fitViewOptions:d,minZoom:a,maxZoom:u,nodeOrigin:f,nodeExtent:b,zIndexMode:g}){const w=s;return B[w(1773)](mx)?l[w(1375)](l[w(1465)],{children:e}):l[w(1375)](m3,{initialNodes:n,initialEdges:t,defaultNodes:o,defaultEdges:x,initialWidth:r,initialHeight:i,fitView:c,initialFitViewOptions:d,initialMinZoom:a,initialMaxZoom:u,nodeOrigin:f,nodeExtent:b,zIndexMode:g,children:e})}const v3={width:"100%",height:"100%",overflow:"hidden",position:"relative",zIndex:0};function p3({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,className:x,nodeTypes:r,edgeTypes:i,onNodeClick:c,onEdgeClick:d,onInit:a,onMove:u,onMoveStart:f,onMoveEnd:b,onConnect:g,onConnectStart:w,onConnectEnd:h,onClickConnectStart:v,onClickConnectEnd:M,onNodeMouseEnter:m,onNodeMouseMove:y,onNodeMouseLeave:p,onNodeContextMenu:z,onNodeDoubleClick:P,onNodeDragStart:G,onNodeDrag:O,onNodeDragStop:V,onNodesDelete:j,onEdgesDelete:q,onDelete:H,onSelectionChange:W,onSelectionDragStart:T,onSelectionDrag:N,onSelectionDragStop:L,onSelectionContextMenu:D,onSelectionStart:Y,onSelectionEnd:U,onBeforeDelete:I,connectionMode:J,connectionLineType:$=R0.Bezier,connectionLineStyle:F,connectionLineComponent:xe,connectionLineContainerStyle:re,deleteKeyCode:ae=s(1003),selectionKeyCode:ue=s(1330),selectionOnDrag:me=!1,selectionMode:se=st[s(452)],panActivationKeyCode:ee=s(1450),multiSelectionKeyCode:le=gt()?s(1453):s(1725),zoomActivationKeyCode:be=gt()?s(1453):s(1725),snapToGrid:E,snapGrid:A,onlyRenderVisibleElements:Z=!1,selectNodesOnDrag:ne,nodesDraggable:te,autoPanOnNodeFocus:X,nodesConnectable:oe,nodesFocusable:ve,nodeOrigin:pe=ua,edgesFocusable:Ie,edgesReconnectable:Ae,elementsSelectable:Ee=!0,defaultViewport:Ne=_5,minZoom:ke=.5,maxZoom:Oe=2,translateExtent:je=at,preventScrolling:qe=!0,nodeExtent:We,defaultMarkerColor:$e=s(2169),zoomOnScroll:b0=!0,zoomOnPinch:B0=!0,panOnScroll:t0=!1,panOnScrollSpeed:a0=.5,panOnScrollMode:x0=ln[s(699)],zoomOnDoubleClick:s0=!0,panOnDrag:h0=!0,onPaneClick:V0,onPaneMouseEnter:$0,onPaneMouseMove:q0,onPaneMouseLeave:Ke,onPaneScroll:hn,onPaneContextMenu:e0,paneClickDistance:A0=1,nodeClickDistance:D0=0,children:gn,onReconnect:$o,onReconnectStart:er,onReconnectEnd:nr,onEdgeContextMenu:tr,onEdgeDoubleClick:xr,onEdgeMouseEnter:or,onEdgeMouseMove:rr,onEdgeMouseLeave:Lx,reconnectRadius:Nx=10,onNodesChange:Sx,onEdgesChange:kx,noDragClassName:Ix=s(820),noWheelClassName:Px=s(1668),noPanClassName:mt=s(1856),fitView:Gn,fitViewOptions:en,connectOnClick:bn,attributionPosition:ir,proOptions:W0,defaultEdgeOptions:Ax,elevateNodesOnSelect:jx=!0,elevateEdgesOnSelect:wt=!1,disableKeyboardA11y:Yx=!1,autoPanOnConnect:vt,autoPanOnNodeDrag:cr,autoPanSpeed:ar,connectionRadius:sr,isValidConnection:Ex,onError:Ux,style:pt,id:zt,nodeDragThreshold:Ct,connectionDragThreshold:k,viewport:S,onViewportChange:_,width:R,height:ie,colorMode:K=s(1592),debug:Q,onScroll:fe,ariaLabelConfig:ye,zIndexMode:he=s(1212),...we},Me){const De=s,Be=zt||"1",Ce=eh(K),He=B[De(1318)](Ye=>{const ce=De;Ye[ce(1630)][ce(402)]({top:0,left:0,behavior:"instant"}),fe?.(Ye)},[fe]);return l[De(1375)]("div",{"data-testid":De(2003),...we,onScroll:He,style:{...pt,...v3},ref:Me,className:Xe([De(726),x,Ce]),id:zt,role:"application",children:l.jsxs(w3,{nodes:e,edges:n,width:R,height:ie,fitView:Gn,fitViewOptions:en,minZoom:ke,maxZoom:Oe,nodeOrigin:pe,nodeExtent:We,zIndexMode:he,children:[l.jsx($5,{nodes:e,edges:n,defaultNodes:t,defaultEdges:o,onConnect:g,onConnectStart:w,onConnectEnd:h,onClickConnectStart:v,onClickConnectEnd:M,nodesDraggable:te,autoPanOnNodeFocus:X,nodesConnectable:oe,nodesFocusable:ve,edgesFocusable:Ie,edgesReconnectable:Ae,elementsSelectable:Ee,elevateNodesOnSelect:jx,elevateEdgesOnSelect:wt,minZoom:ke,maxZoom:Oe,nodeExtent:We,onNodesChange:Sx,onEdgesChange:kx,snapToGrid:E,snapGrid:A,connectionMode:J,translateExtent:je,connectOnClick:bn,defaultEdgeOptions:Ax,fitView:Gn,fitViewOptions:en,onNodesDelete:j,onEdgesDelete:q,onDelete:H,onNodeDragStart:G,onNodeDrag:O,onNodeDragStop:V,onSelectionDrag:N,onSelectionDragStart:T,onSelectionDragStop:L,onMove:u,onMoveStart:f,onMoveEnd:b,noPanClassName:mt,nodeOrigin:pe,rfId:Be,autoPanOnConnect:vt,autoPanOnNodeDrag:cr,autoPanSpeed:ar,onError:Ux,connectionRadius:sr,isValidConnection:Ex,selectNodesOnDrag:ne,nodeDragThreshold:Ct,connectionDragThreshold:k,onBeforeDelete:I,debug:Q,ariaLabelConfig:ye,zIndexMode:he}),l[De(1375)](b3,{onInit:a,onNodeClick:c,onEdgeClick:d,onNodeMouseEnter:m,onNodeMouseMove:y,onNodeMouseLeave:p,onNodeContextMenu:z,onNodeDoubleClick:P,nodeTypes:r,edgeTypes:i,connectionLineType:$,connectionLineStyle:F,connectionLineComponent:xe,connectionLineContainerStyle:re,selectionKeyCode:ue,selectionOnDrag:me,selectionMode:se,deleteKeyCode:ae,multiSelectionKeyCode:le,panActivationKeyCode:ee,zoomActivationKeyCode:be,onlyRenderVisibleElements:Z,defaultViewport:Ne,translateExtent:je,minZoom:ke,maxZoom:Oe,preventScrolling:qe,zoomOnScroll:b0,zoomOnPinch:B0,zoomOnDoubleClick:s0,panOnScroll:t0,panOnScrollSpeed:a0,panOnScrollMode:x0,panOnDrag:h0,onPaneClick:V0,onPaneMouseEnter:$0,onPaneMouseMove:q0,onPaneMouseLeave:Ke,onPaneScroll:hn,onPaneContextMenu:e0,paneClickDistance:A0,nodeClickDistance:D0,onSelectionContextMenu:D,onSelectionStart:Y,onSelectionEnd:U,onReconnect:$o,onReconnectStart:er,onReconnectEnd:nr,onEdgeContextMenu:tr,onEdgeDoubleClick:xr,onEdgeMouseEnter:or,onEdgeMouseMove:rr,onEdgeMouseLeave:Lx,reconnectRadius:Nx,defaultMarkerColor:$e,noDragClassName:Ix,noWheelClassName:Px,noPanClassName:mt,rfId:Be,disableKeyboardA11y:Yx,nodeExtent:We,viewport:S,onViewportChange:_}),l.jsx(J5,{onSelectionChange:W}),gn,l[De(1375)](W5,{proOptions:W0,position:ir}),l[De(1375)](q5,{rfId:Be,disableKeyboardA11y:Yx})]})})}var z3=Ba(p3);function C3(e){const n=s,[t,o]=B.useState(e),x=B[n(1318)](r=>o(i=>va(r,i)),[]);return[t,o,x]}function M3(e){const n=s,[t,o]=B[n(883)](e),x=B[n(1318)](r=>o(i=>pa(r,i)),[]);return[t,o,x]}function B3({dimensions:e,lineWidth:n,variant:t,className:o}){const x=s;return l[x(1375)]("path",{strokeWidth:n,d:"M"+e[0]/2+x(562)+e[1]+x(468)+e[1]/2+" H"+e[0],className:Xe([x(363),t,o])})}function D3({radius:e,className:n}){const t=s;return l[t(1375)](t(1602),{cx:e,cy:e,r:e,className:Xe(["react-flow__background-pattern",t(1712),n])})}var Q0;(function(e){const n=s;e[n(701)]=n(676),e[n(2081)]=n(1712),e[n(1304)]="cross"})(Q0||(Q0={}));const L3={[Q0[s(2081)]]:1,[Q0.Lines]:1,[Q0[s(1304)]]:6},N3=e=>({transform:e[s(1121)],patternId:"pattern-"+e[s(638)]});function cs({id:e,variant:n=Q0[s(2081)],gap:t=20,size:o,lineWidth:x=1,offset:r=0,color:i,bgColor:c,style:d,className:a,patternClassName:u}){const f=s,b=B[f(780)](null),{transform:g,patternId:w}=Pe(N3,Ue),h=o||L3[n],v=n===Q0[f(2081)],M=n===Q0.Cross,m=Array[f(565)](t)?t:[t,t],y=[m[0]*g[2]||1,m[1]*g[2]||1],p=h*g[2],z=Array[f(565)](r)?r:[r,r],P=M?[p,p]:y,G=[z[0]*g[2]||1+P[0]/2,z[1]*g[2]||1+P[1]/2],O=""+w+(e||"");return l[f(884)]("svg",{className:Xe([f(1087),a]),style:{...d,...px,"--xy-background-color-props":c,"--xy-background-pattern-color-props":i},ref:b,"data-testid":f(1644),children:[l[f(1375)](f(505),{id:O,x:g[0]%y[0],y:g[1]%y[1],width:y[0],height:y[1],patternUnits:f(1470),patternTransform:f(973)+G[0]+",-"+G[1]+")",children:v?l.jsx(D3,{radius:p/2,className:u}):l.jsx(B3,{dimensions:P,lineWidth:x,variant:n,className:u})}),l[f(1375)](f(1389),{x:"0",y:"0",width:f(1575),height:f(1575),fill:f(1076)+O+")"})]})}cs[s(1293)]=s(1514);const S3=B.memo(cs);function k3(){const e=s;return l[e(1375)](e(1350),{xmlns:e(413),viewBox:e(1567),children:l.jsx("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"})})}function I3(){const e=s;return l.jsx(e(1350),{xmlns:e(413),viewBox:"0 0 32 5",children:l.jsx(e(1850),{d:"M0 0h32v4.2H0z"})})}function P3(){const e=s;return l[e(1375)](e(1350),{xmlns:e(413),viewBox:"0 0 32 30",children:l[e(1375)]("path",{d:e(809)})})}function A3(){const e=s;return l[e(1375)](e(1350),{xmlns:"http://www.w3.org/2000/svg",viewBox:e(1053),children:l[e(1375)](e(1850),{d:e(786)})})}function j3(){const e=s;return l[e(1375)](e(1350),{xmlns:"http://www.w3.org/2000/svg",viewBox:e(1053),children:l[e(1375)](e(1850),{d:e(1018)})})}function Mx({children:e,className:n,...t}){const o=s;return l[o(1375)](o(752),{type:o(752),className:Xe([o(1479),n]),...t,children:e})}const Y3=e=>({isInteractive:e[s(1309)]||e[s(563)]||e[s(760)],minZoomReached:e.transform[2]<=e[s(1132)],maxZoomReached:e.transform[2]>=e.maxZoom,ariaLabelConfig:e[s(347)]});function as({style:e,showZoom:n=!0,showFitView:t=!0,showInteractive:o=!0,fitViewOptions:x,onZoomIn:r,onZoomOut:i,onFitView:c,onInteractiveChange:d,className:a,children:u,position:f=s(528),orientation:b=s(1323),"aria-label":g}){const w=s,h=Ge(),{isInteractive:v,minZoomReached:M,maxZoomReached:m,ariaLabelConfig:y}=Pe(Y3,Ue),{zoomIn:p,zoomOut:z,fitView:P}=Ro(),G=()=>{p(),r?.()},O=()=>{z(),i?.()},V=()=>{P(x),c?.()},j=()=>{h.setState({nodesDraggable:!v,nodesConnectable:!v,elementsSelectable:!v}),d?.(!v)},q=b===w(1240)?w(1240):w(1323);return l[w(884)](wx,{className:Xe([w(772),q,a]),position:f,style:e,"data-testid":w(1324),"aria-label":g??y["controls.ariaLabel"],children:[n&&l.jsxs(l.Fragment,{children:[l[w(1375)](Mx,{onClick:G,className:w(1889),title:y[w(1677)],"aria-label":y[w(1677)],disabled:m,children:l.jsx(k3,{})}),l[w(1375)](Mx,{onClick:O,className:w(1513),title:y[w(1399)],"aria-label":y[w(1399)],disabled:M,children:l.jsx(I3,{})})]}),t&&l[w(1375)](Mx,{className:w(1128),onClick:V,title:y[w(649)],"aria-label":y[w(649)],children:l[w(1375)](P3,{})}),o&&l[w(1375)](Mx,{className:w(636),onClick:j,title:y["controls.interactive.ariaLabel"],"aria-label":y[w(938)],children:v?l.jsx(j3,{}):l[w(1375)](A3,{})}),u]})}as.displayName="Controls";const E3=B[s(2002)](as);function U3({id:e,x:n,y:t,width:o,height:x,style:r,color:i,strokeColor:c,strokeWidth:d,className:a,borderRadius:u,shapeRendering:f,selected:b,onClick:g}){const w=s,{background:h,backgroundColor:v}=r||{},M=i||h||v;return l.jsx(w(1389),{className:Xe(["react-flow__minimap-node",{selected:b},a]),x:n,y:t,rx:u,ry:u,width:o,height:x,style:{fill:M,stroke:c,strokeWidth:d},shapeRendering:f,onClick:g?m=>g(m,e):void 0})}const G3=B[s(2002)](U3),O3=e=>e[s(960)][s(474)](n=>n.id),Fo=e=>e instanceof Function?e:()=>e;function H3({nodeStrokeColor:e,nodeColor:n,nodeClassName:t="",nodeBorderRadius:o=5,nodeStrokeWidth:x,nodeComponent:r=G3,onClick:i}){const c=s,d=Pe(O3,Ue),a=Fo(n),u=Fo(e),f=Fo(t),b=typeof window===c(383)||window[c(375)]?c(902):"geometricPrecision";return l[c(1375)](l[c(1465)],{children:d[c(474)](g=>l[c(1375)](V3,{id:g,nodeColorFunc:a,nodeStrokeColorFunc:u,nodeClassNameFunc:f,nodeBorderRadius:o,nodeStrokeWidth:x,NodeComponent:r,onClick:i,shapeRendering:b},g))})}function T3({id:e,nodeColorFunc:n,nodeStrokeColorFunc:t,nodeClassNameFunc:o,nodeBorderRadius:x,nodeStrokeWidth:r,shapeRendering:i,NodeComponent:c,onClick:d}){const a=s,{node:u,x:f,y:b,width:g,height:w}=Pe(h=>{const v=_0x5590,M=h[v(717)].get(e);if(!M)return{node:void 0,x:0,y:0,width:0,height:0};const m=M.internals[v(1275)],{x:y,y:p}=M[v(1157)][v(1443)],{width:z,height:P}=T0(m);return{node:m,x:y,y:p,width:z,height:P}},Ue);return!u||u[a(1771)]||!wc(u)?null:l[a(1375)](c,{x:f,y:b,width:g,height:w,style:u[a(1476)],selected:!!u[a(1274)],className:o(u),color:n(u),borderRadius:x,strokeColor:t(u),strokeWidth:r,shapeRendering:i,onClick:d,id:u.id})}const V3=B.memo(T3);var q3=B[s(2002)](H3);const W3=200,X3=150,K3=e=>!e[s(1771)],Z3=e=>{const n=s,t={x:-e.transform[0]/e[n(1121)][2],y:-e[n(1121)][1]/e[n(1121)][2],width:e[n(1710)]/e[n(1121)][2],height:e[n(1355)]/e[n(1121)][2]};return{viewBB:t,boundingRect:e[n(717)][n(1046)]>0?bc(dt(e[n(717)],{filter:K3}),t):t,rfId:e.rfId,panZoom:e[n(686)],translateExtent:e[n(1723)],flowWidth:e[n(1710)],flowHeight:e[n(1355)],ariaLabelConfig:e[n(347)]}},R3=s(1737);function ss({style:e,className:n,nodeStrokeColor:t,nodeColor:o,nodeClassName:x="",nodeBorderRadius:r=5,nodeStrokeWidth:i,nodeComponent:c,bgColor:d,maskColor:a,maskStrokeColor:u,maskStrokeWidth:f,position:b=s(1241),onClick:g,onNodeClick:w,pannable:h=!1,zoomable:v=!1,ariaLabel:M,inversePan:m,zoomStep:y=1,offsetScale:p=5}){const z=s,P=Ge(),G=B.useRef(null),{boundingRect:O,viewBB:V,rfId:j,panZoom:q,translateExtent:H,flowWidth:W,flowHeight:T,ariaLabelConfig:N}=Pe(Z3,Ue),L=e?.[z(1710)]??W3,D=e?.height??X3,Y=O[z(1710)]/L,U=O.height/D,I=Math[z(2172)](Y,U),J=I*L,$=I*D,F=p*I,xe=O.x-(J-O[z(1710)])/2-F,re=O.y-($-O[z(1355)])/2-F,ae=J+F*2,ue=$+F*2,me=R3+"-"+j,se=B[z(780)](0),ee=B[z(780)]();se[z(523)]=I,B[z(2005)](()=>{const A=z;if(G[A(523)]&&q)return ee[A(523)]=s5({domNode:G.current,panZoom:q,getTransform:()=>P[A(1305)]()[A(1121)],getViewScale:()=>se[A(523)]}),()=>{ee.current?.destroy()}},[q]),B.useEffect(()=>{const A=z;ee.current?.[A(905)]({translateExtent:H,width:W,height:T,inversePan:m,pannable:h,zoomStep:y,zoomable:v})},[h,v,m,y,H,W,T]);const le=g?A=>{const Z=z,[ne,te]=ee[Z(523)]?.[Z(619)](A)||[0,0];g(A,{x:ne,y:te})}:void 0,be=w?B.useCallback((A,Z)=>{const ne=z,te=P[ne(1305)]().nodeLookup[ne(1861)](Z).internals[ne(1275)];w(A,te)},[]):void 0,E=M??N[z(1793)];return l[z(1375)](wx,{position:b,style:{...e,"--xy-minimap-background-color-props":typeof d===z(1705)?d:void 0,"--xy-minimap-mask-background-color-props":typeof a===z(1705)?a:void 0,"--xy-minimap-mask-stroke-color-props":typeof u===z(1705)?u:void 0,"--xy-minimap-mask-stroke-width-props":typeof f===z(2059)?f*I:void 0,"--xy-minimap-node-background-color-props":typeof o=="string"?o:void 0,"--xy-minimap-node-stroke-color-props":typeof t===z(1705)?t:void 0,"--xy-minimap-node-stroke-width-props":typeof i===z(2059)?i:void 0},className:Xe([z(469),n]),"data-testid":z(1259),children:l[z(884)]("svg",{width:L,height:D,viewBox:xe+" "+re+" "+ae+" "+ue,className:z(1629),role:z(1663),"aria-labelledby":me,ref:G,onClick:le,children:[E&&l[z(1375)](z(1528),{id:me,children:E}),l[z(1375)](q3,{onClick:be,nodeColor:o,nodeStrokeColor:t,nodeBorderRadius:r,nodeClassName:x,nodeStrokeWidth:i,nodeComponent:c}),l[z(1375)](z(1850),{className:z(1919),d:"M"+(xe-F)+","+(re-F)+"h"+(ae+F*2)+"v"+(ue+F*2)+"h"+(-ae-F*2)+`z
9
- M`+V.x+","+V.y+"h"+V.width+"v"+V[z(1355)]+"h"+-V[z(1710)]+"z",fillRule:z(710),pointerEvents:z(988)})]})})}ss[s(1293)]=s(1152);const J3=B[s(2002)](ss),_3=e=>n=>e?""+Math[s(2172)](1/n[s(1121)][2],1):void 0,Q3={[Yn[s(828)]]:s(1790),[Yn[s(1877)]]:s(1241)};function F3({nodeId:e,position:n,variant:t=Yn[s(1877)],className:o,style:x=void 0,children:r,color:i,minWidth:c=10,minHeight:d=10,maxWidth:a=Number[s(896)],maxHeight:u=Number.MAX_VALUE,keepAspectRatio:f=!1,resizeDirection:b,autoScale:g=!0,shouldResize:w,onResizeStart:h,onResize:v,onResizeEnd:M}){const m=s,y=Ia(),p=typeof e===m(1705)?e:y,z=Ge(),P=B[m(780)](null),G=t===Yn[m(1877)],O=Pe(B.useCallback(_3(G&&g),[G,g]),Ue),V=B[m(780)](null),j=n??Q3[t];B[m(2005)](()=>{const H=m;if(!(!P.current||!p))return!V[H(523)]&&(V[H(523)]=C5({domNode:P[H(523)],nodeId:p,getStoreItems:()=>{const{nodeLookup:W,transform:T,snapGrid:N,snapToGrid:L,nodeOrigin:D,domNode:Y}=z.getState();return{nodeLookup:W,transform:T,snapGrid:N,snapToGrid:L,nodeOrigin:D,paneDomNode:Y}},onChange:(W,T)=>{const N=H,{triggerNodeChanges:L,nodeLookup:D,parentLookup:Y,nodeOrigin:U}=z[N(1305)](),I=[],J={x:W.x,y:W.y},$=D[N(1861)](p);if($&&$.expandParent&&$[N(1907)]){const F=$[N(1639)]??U,xe=W.width??$.measured[N(1710)]??0,re=W[N(1355)]??$.measured[N(1355)]??0,ae={id:$.id,parentId:$[N(1907)],rect:{width:xe,height:re,...vc({x:W.x??$[N(835)].x,y:W.y??$[N(835)].y},{width:xe,height:re},$[N(1907)],D,F)}},ue=Go([ae],D,Y,U);I.push(...ue),J.x=W.x?Math[N(2172)](F[0]*xe,W.x):void 0,J.y=W.y?Math[N(2172)](F[1]*re,W.y):void 0}if(J.x!==void 0&&J.y!==void 0){const F={id:p,type:N(835),position:{...J}};I.push(F)}if(W[N(1710)]!==void 0&&W[N(1355)]!==void 0){const F=b?N(b==="horizontal"?1710:1355):!0,xe={id:p,type:N(497),resizing:!0,setAttributes:F,dimensions:{width:W[N(1710)],height:W.height}};I[N(1759)](xe)}for(const F of T){const xe={...F,type:"position"};I[N(1759)](xe)}L(I)},onEnd:({width:W,height:T})=>{const N=H,L={id:p,type:N(497),resizing:!1,dimensions:{width:W,height:T}};z[N(1305)]().triggerNodeChanges([L])}})),V.current[H(905)]({controlPosition:j,boundaries:{minWidth:c,minHeight:d,maxWidth:a,maxHeight:u},keepAspectRatio:f,resizeDirection:b,onResizeStart:h,onResize:v,onResizeEnd:M,shouldResize:w}),()=>{V[H(523)]?.destroy()}},[j,c,d,a,u,f,h,v,M,w]);const q=j[m(897)]("-");return l[m(1375)](m(1037),{className:Xe([m(651),m(820),...q,t,o]),ref:P,style:{...x,scale:O,...i&&{[G?m(1812):"borderColor"]:i}},children:r})}B.memo(F3);const ls=e=>Symbol.iterator in e,ds=e=>"entries"in e,us=(e,n)=>{const t=s,o=e instanceof Map?e:new Map(e.entries()),x=n instanceof Map?n:new Map(n[t(1615)]());if(o[t(1046)]!==x.size)return!1;for(const[r,i]of o)if(!x[t(1147)](r)||!Object.is(i,x[t(1861)](r)))return!1;return!0},$3=(e,n)=>{const t=s,o=e[Symbol.iterator](),x=n[Symbol.iterator]();let r=o[t(1026)](),i=x.next();for(;!r[t(1998)]&&!i.done;){if(!Object.is(r[t(1044)],i[t(1044)]))return!1;r=o[t(1026)](),i=x[t(1026)]()}return!!r.done&&!!i[t(1998)]};function eg(e,n){const t=s;return Object.is(e,n)?!0:typeof e!==t(878)||e===null||typeof n!==t(878)||n===null||Object.getPrototypeOf(e)!==Object[t(1733)](n)?!1:ls(e)&&ls(n)?ds(e)&&ds(n)?us(e,n):$3(e,n):us({entries:()=>Object[t(1615)](e)},{entries:()=>Object[t(1615)](n)})}const fs={inlineScript:s(564),dataRequest:s(1548),external:s(1077),builtin:s(1295)},ng=[{label:s(1540),value:"antdMessage"},{label:s(967),value:"switchCanvas"}],tg=[{label:"info",value:"info"},{label:s(1093),value:"success"},{label:s(1517),value:s(1517)},{label:"error",value:s(1036)},{label:s(997),value:s(997)}];function hs(e,n,t){const o=s,x=t[o(815)](i=>i.target===e),r=x[o(2179)];return x[o(474)]((i,c)=>{const d=o,a=n.find(f=>f.id===i[d(766)]),u=a?.data;return{sourceId:i.source,sourceLabel:u?.label??i.source,edgeIndex:c,totalIncoming:r}})}const xg=({data:e,id:n})=>{const t=s,{root:o}=Qe(),x=Pe(B.useCallback(c=>hs(n,c[t(960)],c[t(2083)])[t(474)](({sourceId:d,sourceLabel:a})=>({sourceId:d,label:a})),[n]),eg),r=e[t(1418)].executorType??"inlineScript",i=r===t(874)?e[t(1418)][t(439)]:r===t(1925)?e[t(1418)].externalHandlerKey:r==="builtin"?e[t(1418)][t(747)]===t(1974)?e[t(1418)][t(747)]+": "+String(e[t(1418)][t(1554)]?.[t(592)]??"").slice(0,24):e.eventBlock[t(747)]==="switchCanvas"?t(1704)+(o[t(974)].find(c=>c.id===e[t(1418)].builtinConfig?.[t(1587)])?.name??t(1505)):e[t(1418)].builtinId:null;return l[t(884)](t(1037),{className:t(1416),children:[l[t(1375)](Un,{type:t(500),position:ze[t(1962)],className:t(506)}),l[t(884)](t(1037),{className:t(2009),children:[l[t(1375)](t(2163),{className:"font-medium text-sm truncate",children:e[t(663)]}),l.jsxs(C[t(1450)],{size:t(1400),children:[l[t(1375)](C.Button,{type:t(1918),size:"small",icon:l.jsx(de[t(2165)],{}),onClick:()=>e.onEdit(n)}),l[t(1375)](C.Button,{type:"text",size:t(1400),danger:!0,icon:l[t(1375)](de[t(635)],{}),onClick:()=>e[t(680)](n)})]})]}),l[t(1375)](t(1037),{className:t(1296),children:l[t(884)](C.Tag,{color:r===t(608)?"default":r===t(434)?t(1992):t(1363),className:t(552),children:[fs[r],i?t(1890)+i:""]})}),l.jsxs(t(1037),{className:t(1959),children:[e.eventBlock[t(1439)]?.[t(2179)]>0&&l.jsxs("div",{children:[t(1058),e[t(1418)][t(1439)][t(474)](c=>c[t(863)]).join(", ")]}),x[t(2179)]>0&&l.jsxs(t(1037),{className:t(1402),children:[t(1248),x[t(474)](c=>l[t(884)](t(1037),{className:t(1893),children:["←「",c[t(663)],"」(整块返回值)"]},c.sourceId))]})]}),l.jsx(Un,{type:t(766),position:ze.Bottom,className:t(506)})]})},og={eventBlock:xg},rg=Object[s(1615)](fs)[s(474)](([e,n])=>({label:n,value:e})),gs=[{label:"点击",value:s(1164)},{label:s(2124),value:s(1899)},{label:"鼠标释放",value:s(1760)},{label:"双击",value:s(536)},{label:s(1484),value:s(2168)},{label:s(913),value:s(1678)},{label:s(1879),value:s(1340)},{label:s(888),value:s(1133)},{label:s(961),value:s(874)},{label:"外部事件",value:s(1925)}];function ig(e,n){const t={},o=[...e];return o.forEach((x,r)=>{const i=_0x5590,c=n[i(1439)][r]?.[i(863)]??(o[i(2179)]===1?"prev":i(1527)+r);t[c]="$prev."+x[i(766)]}),t}function cg(e,n,t){const o=s;return t[e]?.[o(863)]??(n===1?o(1527):o(1527)+e)}const ag=[{label:"string",value:"string"},{label:s(2059),value:s(2059)},{label:s(743),value:s(743)},{label:s(878),value:"object"},{label:s(1255),value:s(1255)}];function bs(e){const n=s,t=gs[n(990)](x=>x[n(1044)]===e[n(1354)]),o=t?.label??e[n(1354)];if(e[n(1354)]==="external"){const x=(e[n(858)]||"")[n(349)]();return x?o+n(1890)+x:o}return o}const sg=({open:e,onClose:n,bindNodeId:t,editingRoot:o})=>{const x=s,{nodes:r,eventFlow:i,externalHandlerCatalog:c,addEventBlock:d,upsertEventBlock:a,removeEventBlock:u,addEventRoot:f,updateEventRoot:b,root:g}=Qe(),[w,h,v]=C3([]),[M,m,y]=M3([]),p=B[x(780)](w);p.current=w;const[z,P]=B.useState(()=>o??null),[G,O]=B[x(883)](!1),[V]=C[x(1249)][x(403)](),j=C[x(1249)][x(1042)]("eventType",V),[q,H]=B[x(883)](null),[W,T]=B[x(883)](!1),[N]=C.Form[x(403)](),L=C[x(1249)][x(1042)](x(1205),N),D=C[x(1249)][x(1042)](x(747),N),Y=C[x(1249)].useWatch(x(1439),N),U=B[x(1581)](()=>!W||!q?[]:hs(q.id,w,M),[W,q,w,M]),I=B[x(780)](()=>{}),J=B[x(780)](()=>{});B[x(2005)](()=>{const E=x;if(W&&q){const A=q[E(1554)]??{},{outputs:Z,...ne}=q;N[E(985)]({...ne,executorType:q[E(1205)]??E(608),builtinId:q[E(747)],inputs:q[E(1439)]??[],builtinConfig:{content:String(A[E(592)]??""),level:String(A[E(1763)]??"info"),duration:A[E(850)]===void 0||A[E(850)]===null?void 0:Number(A[E(850)])}})}},[W,q,N]);const $=B.useCallback(E=>{m(A=>kc(E,A))},[m]),F=E=>{const A=x,Z={bindNodeId:E[A(458)],eventType:E[A(1354)],externalEventKey:E[A(1354)]===A(1925)?(E[A(858)]||"")[A(349)]():void 0,flowData:{nodes:[],edges:[]},enabled:!0},ne=f(Z);P({...Z,id:ne}),V.resetFields(),O(!1),C[A(1109)][A(1093)](A(580))},xe=B[x(1318)](E=>{const A=x;u(E),h(Z=>Z.filter(ne=>ne.id!==E)),m(Z=>Z[A(815)](ne=>ne[A(766)]!==E&&ne.target!==E))},[u,h,m]),re=B[x(1318)](E=>{const A=x,Z=p[A(523)][A(990)](X=>X.id===E)?.[A(1551)]?.[A(1418)],ne=i[A(1507)].find(X=>X.id===E),te=Z??ne;te?(H({...te,id:E}),T(!0)):C[A(1109)][A(1517)](A(371))},[i.eventBlocks]);I.current=re,J[x(523)]=xe,B[x(2005)](()=>{const E=x;if(e&&z){const A=z[E(1492)][E(960)][E(474)](ne=>({id:ne.id,type:E(1418),position:ne.position,data:{label:ne.data[E(663)],eventBlock:ne[E(1551)].eventBlock,onEdit:te=>I.current(te),onDelete:te=>J[E(523)](te)}})),Z=z[E(1492)].edges[E(474)](ne=>({id:ne.id,source:ne[E(766)],target:ne[E(500)]}));h(A),m(Z)}},[e,z,h,m]);const ae=()=>{const E=x,A={name:E(1634),executorType:E(608),callback:"return args;",inputs:[],outputs:[]},Z=d(A),ne={...A,id:Z},te={id:Z,type:E(1418),position:{x:100+w[E(2179)]*50,y:100+w.length*30},data:{label:ne[E(863)],eventBlock:ne,onEdit:X=>I[E(523)](X),onDelete:X=>J.current(X)}};h(X=>[...X,te])},ue=()=>{const E=x,A={name:E(1392),executorType:"builtin",builtinId:E(1974),builtinConfig:{content:E(377),level:E(658)},callback:E(1802),inputs:[],outputs:[]},Z=d(A),ne={...A,id:Z},te={id:Z,type:E(1418),position:{x:120+w.length*50,y:140+w[E(2179)]*30},data:{label:ne[E(863)],eventBlock:ne,onEdit:X=>I.current(X),onDelete:X=>J[E(523)](X)}};h(X=>[...X,te])},me=()=>{const E=x,A={name:E(967),executorType:E(434),builtinId:"switchCanvas",builtinConfig:{targetCanvasId:g[E(974)][0]?.id||""},callback:E(1802),inputs:[],outputs:[]},Z=d(A),ne={...A,id:Z},te={id:Z,type:E(1418),position:{x:120+w[E(2179)]*50,y:140+w[E(2179)]*30},data:{label:ne.name,eventBlock:ne,onEdit:X=>I[E(523)](X),onDelete:X=>J[E(523)](X)}};h(X=>[...X,te])},se=E=>{const A=x;if(!q)return;const Z=E[A(1205)]??q.executorType??A(608),ne={name:E[A(863)],callback:E[A(745)]??q[A(745)],executorType:Z,dataRequestKey:Z===A(874)?(E[A(439)]||"")[A(349)]():void 0,externalHandlerKey:Z==="external"?(E.externalHandlerKey||"").trim():void 0,builtinId:Z===A(434)?E.builtinId:void 0,builtinConfig:Z===A(434)&&E[A(747)]===A(1974)?{content:String(E[A(1554)]?.content??"")[A(349)](),level:E.builtinConfig?.[A(1763)]||A(658),duration:E[A(1554)]?.[A(850)]===null||E[A(1554)]?.duration===void 0?void 0:Number(E.builtinConfig[A(850)])}:Z===A(434)&&E[A(747)]==="switchCanvas"?{targetCanvasId:String(E.builtinConfig?.[A(1587)]??"")[A(349)]()}:void 0},te=E[A(1439)]??[],X=te[A(815)](ve=>ve?.[A(863)]&&String(ve[A(863)])[A(349)]()),oe={...q,...ne,inputs:X,outputs:[]};a(oe),h(ve=>ve[A(474)](pe=>pe.id===q.id?{...pe,data:{...pe[A(1551)],label:oe[A(863)]||pe[A(1551)][A(663)],eventBlock:oe}}:pe)),T(!1),H(null),C.message[A(1093)](A(1420))},ee=()=>{const E=x;if(!z)return;const A=w[E(474)](ne=>{const te=E,X=M[te(815)](pe=>pe[te(500)]===ne.id),oe=ne.data[te(1418)],ve={...oe,outputs:[]};return{id:ne.id,eventBlockId:ne.id,position:ne[te(835)],inputs:X.map(pe=>pe[te(766)]),outputs:M[te(815)](pe=>pe[te(766)]===ne.id)[te(474)](pe=>pe[te(500)]),data:{label:ne[te(1551)].label,eventBlock:ve,inputMapping:ig(X,ve)}}}),Z=M[E(474)](ne=>({id:ne.id,source:ne[E(766)],target:ne.target}));b(z.id,{flowData:{nodes:A,edges:Z}}),Cn[E(1480)]({...z,flowData:{nodes:A,edges:Z}}),C[E(1109)][E(1093)](E(620)),n()},le=B[x(1581)](()=>r[x(474)](E=>({label:E[x(863)],value:E.id})),[r]),be=B[x(1581)](()=>t?i[x(1271)][x(815)](E=>E.bindNodeId===t):i.eventRoots,[i.eventRoots,t]);return e?l.jsxs(C[x(1767)],{title:x(1404),open:e,onCancel:n,width:1200,footer:null,styles:{body:{height:700,padding:0}},children:[z?l.jsxs(x(1037),{className:x(1908),style:{height:700},children:[l[x(884)](x(1037),{className:x(355),children:[l.jsx(C.Space,{children:l[x(884)](x(2163),{className:x(1430),children:[x(1048),bs(z)," →"," ",r[x(990)](E=>E.id===z.bindNodeId)?.name]})}),l[x(884)](C[x(1450)],{children:[l[x(1375)](C.Button,{icon:l[x(1375)](de[x(952)],{}),onClick:ae,children:x(436)}),l[x(1375)](C[x(1105)],{icon:l[x(1375)](de[x(952)],{}),onClick:ue,children:"Message 提示"}),l[x(1375)](C[x(1105)],{icon:l[x(1375)](de[x(952)],{}),onClick:me,children:"跳转画布"}),l[x(1375)](C.Button,{type:x(2085),icon:l[x(1375)](de.SaveOutlined,{}),onClick:ee,children:"保存"}),l[x(1375)](C[x(1105)],{icon:l[x(1375)](de[x(818)],{}),onClick:()=>P(null),children:"返回列表"})]})]}),l[x(1375)]("div",{className:x(785),children:l[x(884)](z3,{nodes:w,edges:M,onNodesChange:v,onEdgesChange:y,onConnect:$,nodeTypes:og,fitView:!0,children:[l[x(1375)](S3,{}),l.jsx(E3,{}),l[x(1375)](J3,{})]})})]}):l[x(884)](x(1037),{className:x(627),children:[l[x(884)](x(1037),{className:x(1010),children:[l[x(1375)]("h3",{className:"text-lg font-medium",children:x(1736)}),l[x(1375)](C[x(1105)],{type:"primary",icon:l.jsx(de[x(952)],{}),onClick:()=>O(!0),children:x(557)})]}),l[x(1375)](C[x(853)],{dataSource:be,renderItem:E=>l[x(1375)](C[x(853)][x(1254)],{actions:[l[x(1375)](C[x(1105)],{type:"primary",icon:l[x(1375)](de[x(2165)],{}),onClick:()=>P(E),children:"编辑"},x(1841))],children:l[x(1375)](C[x(853)][x(1254)][x(1453)],{title:l[x(884)](C[x(1450)],{children:[l[x(884)]("span",{children:[x(998),bs(E)]}),l[x(1375)](C[x(2158)],{color:x(547),children:r[x(990)](A=>A.id===E[x(458)])?.[x(863)]||E[x(458)]})]}),description:x(1724)+E[x(1492)][x(960)][x(2179)]+", 连接数: "+E.flowData.edges[x(2179)]})}),locale:{emptyText:l[x(1375)](C.Empty,{description:x(940)})}}),l[x(1375)](C[x(1767)],{title:"新建事件流",open:G,onCancel:()=>{V.resetFields(),O(!1)},footer:null,afterOpenChange:E=>{E&&(V[x(527)](),t&&V.setFieldsValue({bindNodeId:t}))},children:l.jsxs(C.Form,{form:V,onFinish:F,layout:x(1323),children:[l[x(1375)](C[x(1249)][x(1254)],{name:x(458),label:"绑定节点",rules:[{required:!0,message:x(847)}],initialValue:t,children:l[x(1375)](C[x(1125)],{options:le,placeholder:x(650),disabled:!!t})}),l[x(1375)](C[x(1249)][x(1254)],{name:x(1354),label:x(1102),rules:[{required:!0,message:"请选择触发方式"}],children:l.jsx(C[x(1125)],{options:gs,placeholder:x(1768)})}),j==="external"&&l[x(1375)](C[x(1249)][x(1254)],{name:"externalEventKey",label:x(1940),rules:[{required:!0,message:x(1131)},{validator:(E,A)=>(A||"")[x(349)]()?Promise[x(1952)]():Promise[x(522)](new Error(x(751)))}],extra:"与 eventBus.emitExternal(节点id, 该标识) 一致",children:l[x(1375)](C[x(465)],{placeholder:"例如:refresh"})}),l.jsx(C.Form[x(1254)],{className:"mb-0",children:l.jsxs(C.Space,{className:x(1519),children:[l[x(1375)](C[x(1105)],{onClick:()=>{V[x(527)](),O(!1)},children:"取消"}),l[x(1375)](C[x(1105)],{type:x(2085),htmlType:x(1993),children:"创建"})]})})]})})]}),l[x(1375)](C[x(1767)],{title:x(440),open:W,onCancel:()=>{T(!1),H(null)},footer:null,destroyOnClose:!0,children:l.jsxs(C.Form,{form:N,onFinish:se,layout:x(1323),children:[l[x(1375)](C[x(1249)].Item,{name:x(863),label:"名称",rules:[{required:!0,message:x(1273)}],children:l[x(1375)](C.Input,{})}),l[x(1375)](C[x(1249)][x(1254)],{name:x(1205),label:x(854),rules:[{required:!0,message:x(447)}],children:l.jsx(C[x(1125)],{options:rg,placeholder:x(404)})}),L==="builtin"&&l[x(1375)](C[x(1249)][x(1254)],{name:x(747),label:x(1295),rules:[{required:!0,message:x(1343)}],children:l[x(1375)](C.Select,{options:ng,placeholder:x(1695)})}),L==="builtin"&&D===x(1974)&&l[x(884)](l[x(1465)],{children:[l.jsx(C[x(1249)].Item,{name:[x(1554),x(592)],label:x(2077),rules:[{required:!0,message:x(1616)}],extra:"占位符:{{prev}}、{{入参名}} 引用上游连线入参;{{$data.xxx}} 取事件上下文 data",children:l[x(1375)](C.Input[x(1529)],{rows:3,placeholder:x(987)})}),l[x(1375)](C[x(1249)][x(1254)],{name:["builtinConfig",x(1763)],label:x(947),children:l[x(1375)](C[x(1125)],{options:tg})}),l[x(1375)](C[x(1249)][x(1254)],{name:["builtinConfig",x(850)],label:"持续时间(秒)",extra:x(1118),children:l[x(1375)](C[x(715)],{min:0,step:.5,style:{width:"100%"},placeholder:"默认"})})]}),L===x(434)&&D==="switchCanvas"&&l[x(1375)](C[x(1249)].Item,{name:[x(1554),"targetCanvasId"],label:x(1486),rules:[{required:!0,message:x(1786)}],children:l[x(1375)](C[x(1125)],{placeholder:"选择要跳转的画布",options:g[x(974)][x(474)](E=>({value:E.id,label:E[x(863)]}))})}),L==="dataRequest"&&l[x(1375)](C[x(1249)][x(1254)],{name:"dataRequestKey",label:x(352),rules:[{required:!0,message:x(419)},{validator:(E,A)=>(A||"")[x(349)]()?Promise.resolve():Promise[x(522)](new Error(x(751)))}],extra:"运行时 eventBus.setDefaultRuntimeHandlers({ dataRequest: { [标识]: (ctx, args) => ... } })",children:l[x(1375)](C.Input,{placeholder:x(1578)})}),L===x(1925)&&l.jsx(C[x(1249)][x(1254)],{name:x(357),label:x(1186),rules:[{required:!0,message:x(2026)},{validator:(E,A)=>(A||"")[x(349)]()?Promise[x(1952)]():Promise.reject(new Error(x(751)))}],extra:c[x(2179)]>0?"来自 ConfigEditor 的 externalEventActions;也可在运行时 eventBus.mergeDefaultRuntimeHandlers({ external }) 补充":"未配置下拉时手动填写 key;宿主可用 ConfigEditor externalEventActions 注册选项与 handler,或 eventBus.mergeDefaultRuntimeHandlers",children:c[x(2179)]>0?l[x(1375)](C[x(1125)],{showSearch:!0,optionFilterProp:x(663),allowClear:!0,placeholder:x(1388),options:c[x(474)](E=>({value:E[x(844)],label:E.label,title:E[x(994)]?E[x(663)]+" — "+E[x(994)]:E.label+" ("+E[x(844)]+")"})),onInputKeyDown:E=>{const A=x;E[A(844)]===" "&&E[A(1313)]()}}):l[x(1375)](C.Input,{placeholder:x(2144)})}),L===x(608)&&l.jsx(C[x(1249)][x(1254)],{name:x(745),label:"执行代码",rules:[{validator:(E,A)=>{const Z=x;return typeof A===Z(1705)&&A[Z(349)]()?Promise[Z(1952)]():Promise[Z(522)](new Error(Z(2029)))}}],children:l[x(1375)](C.Input[x(1529)],{rows:6,placeholder:x(1345)})}),U[x(2179)]>0&&l.jsxs(x(1037),{className:x(369),children:[l[x(1375)](x(1037),{className:"font-medium text-amber-950 mb-2",children:x(856)}),l.jsx("ul",{className:"list-none space-y-2 m-0 p-0",children:U[x(474)](E=>{const A=x,Z=Y??q?.[A(1439)]??[],ne=cg(E[A(1666)],E.totalIncoming,Z);return l[A(884)]("li",{className:A(2126),children:[l.jsxs(A(1037),{className:A(354),children:["第 ",E[A(1666)]+1,A(430),E[A(1119)],A(765),l[A(1375)](A(645),{children:A(1004)})," →"," ",l[A(884)]("code",{className:"bg-white px-1 rounded",children:["args.",ne]})]}),l.jsxs("div",{className:A(2066),children:["在下方第 ",E[A(1666)]+1,A(1452)]})]},E[A(795)])})})]}),l[x(1375)]("div",{className:"font-medium text-gray-800 mb-2",children:x(443)}),l[x(884)](x(1037),{className:x(1787),children:[x(1408)," ",l[x(1375)](x(519),{children:x(862)}),x(1261),l[x(1375)](x(519),{children:x(871)}),"、",l[x(1375)]("code",{children:x(971)}),"…"]}),l.jsx(C[x(1249)][x(853)],{name:x(1439),children:(E,{add:A,remove:Z})=>l[x(884)](l.Fragment,{children:[E.map(({key:ne,name:te,...X})=>l.jsxs(C[x(1450)],{align:x(1741),wrap:!0,className:x(373),children:[l[x(1375)](C[x(1249)][x(1254)],{...X,name:[te,"name"],rules:[{required:!0,message:"名称"}],children:l[x(1375)](C[x(465)],{placeholder:x(1805),style:{width:140}})}),l.jsx(C[x(1249)][x(1254)],{...X,name:[te,"type"],initialValue:x(1255),children:l[x(1375)](C[x(1125)],{options:ag,style:{width:100}})}),l[x(1375)](de[x(1968)],{className:"text-gray-400 hover:text-red-500 cursor-pointer",onClick:()=>Z(te)})]},ne)),l[x(1375)](C[x(1105)],{type:x(444),onClick:()=>A({type:x(1255)}),block:!0,icon:l[x(1375)](de[x(952)],{}),children:x(914)})]})}),l[x(1375)](C[x(1249)][x(1254)],{className:x(550),children:l[x(884)](C[x(1450)],{className:x(1519),children:[l[x(1375)](C[x(1105)],{onClick:()=>{T(!1),H(null)},children:"取消"}),l.jsx(C[x(1105)],{type:"primary",htmlType:"submit",children:"保存"})]})})]})})]}):null},Bx={click:"点击",mouseDown:s(2124),mouseUp:"鼠标释放",doubleClick:"双击",mouseOver:s(1484),mouseLeave:s(913),mouseEnter:s(1879),contextMenu:"右键菜单",dataRequest:s(961),external:"外部事件"};function lg(e){const n=s;if(e[n(1354)]===n(1925)){const t=(e[n(858)]||"")[n(349)]();return t?Bx[n(1925)]+n(1890)+t:Bx[n(1925)]}return Bx[e[n(1354)]]}const dg=Object[s(1615)](Bx).map(([e,n])=>({label:n,value:e})),ug=({nodeId:e})=>{const n=s,{eventFlow:t,addEventRoot:o,updateEventRoot:x,removeEventRoot:r}=Qe(),[i,c]=B[n(883)](!1),[d,a]=B[n(883)](null),[u,f]=B[n(883)](!1),[b]=C.Form[n(403)](),g=C[n(1249)].useWatch(n(1354),b),w=B[n(1581)](()=>{const y=n;return t.eventRoots[y(815)](p=>p[y(458)]===e)},[t[n(1271)],e]),h=y=>{const p=n,z={bindNodeId:e,eventType:y[p(1354)],externalEventKey:y[p(1354)]===p(1925)?(y[p(858)]||"")[p(349)]():void 0,flowData:{nodes:[],edges:[]},enabled:!0};o(z),b[p(527)](),f(!1)},v=y=>{a(y),c(!0)},M=(y,p)=>{x(y.id,{enabled:p})},m=y=>{r(y)};return l[n(884)](n(1037),{children:[l[n(884)]("div",{className:n(1010),children:[l[n(1375)]("h4",{className:n(951),children:n(1851)}),l.jsx(C[n(1105)],{type:n(2085),size:"small",icon:l[n(1375)](de[n(952)],{}),onClick:()=>f(!0),children:n(880)})]}),l.jsx(C[n(853)],{dataSource:w,renderItem:y=>l[n(1375)](C[n(853)][n(1254)],{actions:[l.jsx(C[n(1025)],{checked:y.enabled,size:n(1400),onChange:p=>M(y,p)},"enable"),l[n(1375)](C[n(1105)],{type:n(1918),size:"small",icon:l.jsx(de.EditOutlined,{}),onClick:()=>v(y)},n(1841)),l[n(1375)](C[n(1708)],{title:"确认删除",description:n(1063),onConfirm:()=>m(y.id),children:l[n(1375)](C.Button,{type:n(1918),danger:!0,size:n(1400),icon:l[n(1375)](de[n(635)],{})})},n(1234))],children:l[n(1375)](C.List[n(1254)][n(1453)],{title:l[n(884)](C[n(1450)],{children:[l[n(1375)](C[n(2158)],{color:y[n(1306)]?"blue":"default",children:lg(y)}),l[n(884)](n(2163),{className:n(1460),children:[y[n(1492)][n(960)][n(2179)]," 个节点"]})]}),description:y[n(1306)]?l[n(1375)](n(2163),{className:"text-xs text-green-600",children:n(1828)}):l[n(1375)](n(2163),{className:n(1460),children:n(544)})})}),locale:{emptyText:l[n(1375)](C[n(1491)],{image:C.Empty[n(1462)],description:n(1858)})}}),l[n(1375)](C.Modal,{title:n(880),open:u,onCancel:()=>{b.resetFields(),f(!1)},footer:null,afterOpenChange:y=>{y&&b[n(527)]()},children:l[n(884)](C.Form,{form:b,onFinish:h,layout:n(1323),children:[l[n(1375)](C[n(1249)][n(1254)],{name:n(1354),label:"触发方式",rules:[{required:!0,message:n(948)}],children:l[n(1375)](C.Select,{options:dg,placeholder:"选择触发方式(DOM / 数据请求 / 外部)"})}),g===n(1925)&&l[n(1375)](C.Form[n(1254)],{name:"externalEventKey",label:n(1940),rules:[{required:!0,message:"请填写外部事件标识"},{validator:(y,p)=>(p||"")[n(349)]()?Promise[n(1952)]():Promise[n(522)](new Error(n(751)))}],extra:"与运行时 eventBus.emitExternal(节点id, 该标识) 一致,例如:refresh、dialog:opened",children:l[n(1375)](C[n(465)],{placeholder:n(1438)})}),l[n(1375)](C[n(1249)][n(1254)],{className:n(1928),children:l[n(884)](C[n(1450)],{className:n(1519),children:[l[n(1375)](C[n(1105)],{onClick:()=>f(!1),children:"取消"}),l.jsx(C.Button,{type:n(2085),htmlType:n(1993),children:"创建"})]})})]})}),l[n(1375)](sg,{open:i,onClose:()=>{c(!1),a(null)},bindNodeId:e,editingRoot:d},d?.id??n(1933)+e)]})},{Panel:F0}=C[s(860)],{TabPane:Dx}=C.Tabs,{TextArea:fg}=C[s(465)],ys=({defaultTestData:e})=>{const n=s,{nodes:t,selectedNodeId:o,updateNode:x,updateNodeStyle:r,updateNodeControl:i,updateNodeContent:c,materials:d,selectedStatusId:a,selectStatus:u}=Qe(),[f]=C.Form[n(403)](),[b,g]=B[n(883)](n(1212)),[w,h]=B[n(883)](!1),[v,M]=B[n(883)](null),[m,y]=B.useState({}),p=B[n(1581)](()=>t[n(990)](D=>D.id===o),[t,o]),z=p?.[n(742)][n(1833)]||[],P=L=>{const D=n;o&&(L[D(1379)]&&r(o,L[D(1379)]),L[D(863)]!==void 0&&x(o,{name:L[D(863)]}),L[D(908)]&&i(o,L[D(908)]))};console[n(1672)](o,n(1469),p),B[n(2005)](()=>{const L=n;p&&p&&(f[L(985)]({name:p.name,normalStyle:{width:100,height:100,x:0,y:0,padding:8,background:L(1911),borderRadius:0,opacity:1,...p[L(1379)]},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0,...p[L(908)]}}),u(null))},[p,u,f]);const G=()=>{const L=n;!o||!p||(M(L(1206)),h(!0))},O=L=>{const D=n;if(!o||!p)return;const Y={id:Le[D(1335)](),name:L[D(863)]+D(1735)+(z.length+1),expression:z[D(2179)]===0?D(2069):D(2032),material:{...L,id:Le[D(1335)]()},boundDatasetId:null};if(v==="new"){const U=[...z,Y];c(o,{statusList:U})}else if(v){const U=z[D(474)](I=>{const J=D;return I.id===v?{...I,material:{...L,id:Le[J(1335)]()}}:I});c(o,{statusList:U})}h(!1),M(null)},V=L=>{const D=n;if(!o||!p)return;const Y=p.contentInfo[D(1833)]?.[D(815)](U=>U.id!==L)||[];c(o,{statusList:Y}),a===L&&u(null)},j=(L,D)=>{const Y=n;if(!o||!p)return;const U=p[Y(742)][Y(1833)]?.[Y(474)](I=>I.id===L?{...I,...D}:I)||[];c(o,{statusList:U})},q=L=>{const D=n;if(!o||!p)return;const Y={...L,id:Le[D(1335)](),name:L.name+D(870),expression:"return false;"},U=[...z,Y];c(o,{statusList:U})},H=(L,D)=>{const Y=n;if(!o||!p)return;const U=z[Y(424)](J=>J.id===L);if(U===-1)return;const I=[...z];D==="up"&&U>0?[I[U],I[U-1]]=[I[U-1],I[U]]:D==="down"&&U<I[Y(2179)]-1&&([I[U],I[U+1]]=[I[U+1],I[U]]),c(o,{statusList:I})},W=L=>{M(L),h(!0)},T=(L,D)=>{const Y=n,U=D[Y(1936)]||{},I=U.startX??0,J=U[Y(504)]??0,$=U.endX??100,F=U[Y(1945)]??0,xe=Math[Y(2172)]((U.lineWeight||U[Y(1531)]||2)*2,4),re=Math[Y(775)](I,$),ae=Math[Y(775)](J,F),ue=Math[Y(2172)](I,$),me=Math[Y(2172)](J,F),se=Math[Y(2172)](ue-re,xe),ee=Math[Y(2172)](me-ae,xe),le=L[Y(1379)].x||0,be=L.normalStyle.y||0;return{material:{...D,config:{...U,startX:I-re,startY:J-ae,endX:$-re,endY:F-ae}},box:{x:le+re,y:be+ae,width:se,height:ee}}},N=(L,D)=>{const Y=n;if(!o||!p)return;const{list:U,lineBox:I}=z[Y(1106)]((J,$)=>{const F=Y;if($.id!==L)return J[F(1797)].push($),J;let xe;if($[F(956)][F(1912)]===F(1701)&&F(1936)in D&&D[F(1936)]!==void 0){const re=$[F(956)],ae=D.config;xe={...re,...D,config:{...re[F(1936)]||{},...ae}}}else xe={...$.material,...D};if(xe.type===F(1701)){const{material:re,box:ae}=T(p,xe);return J[F(1797)][F(1759)]({...$,material:re}),J.lineBox=ae,J}return J[F(1797)].push({...$,material:xe}),J},{list:[],lineBox:null});I!==null?x(o,{normalStyle:{...p[Y(1379)],x:I.x,y:I.y,width:I.width,height:I[Y(1355)]},contentInfo:{...p[Y(742)],statusList:U}}):c(o,{statusList:U})};return p?l[n(884)](n(1037),{className:n(1226),children:[l.jsxs(n(1037),{className:n(591),children:[l[n(1375)]("h3",{className:n(1410),children:n(2063)}),l[n(1375)]("p",{className:"text-sm text-gray-500",children:"编辑选中节点的属性"})]}),l.jsx(n(1037),{className:"flex-1 overflow-y-auto p-4",children:l[n(884)](C[n(1417)],{activeKey:b,onChange:g,children:[l[n(1375)](Dx,{tab:"基础",children:l.jsxs(C[n(1249)],{form:f,layout:n(1323),onValuesChange:P,initialValues:{name:p[n(863)]},children:[l[n(1375)](C[n(1249)][n(1254)],{label:n(1415),name:n(863),children:l.jsx(C.Input,{placeholder:n(361)})}),l[n(884)](C.Collapse,{ghost:!0,defaultActiveKey:[n(835),"size",n(1476)],children:[l[n(1375)](F0,{header:"位置",children:l[n(884)](C[n(1450)],{children:[l.jsx(C[n(1249)][n(1254)],{label:"X",name:[n(1379),"x"],children:l[n(1375)](C[n(715)],{})}),l[n(1375)](C[n(1249)][n(1254)],{label:"Y",name:[n(1379),"y"],children:l[n(1375)](C[n(715)],{})})]})},n(835)),l.jsx(F0,{header:"尺寸",children:l.jsxs(C[n(1450)],{children:[l[n(1375)](C.Form[n(1254)],{label:"宽度",name:[n(1379),n(1710)],children:l[n(1375)](C[n(715)],{min:10})}),l.jsx(C.Form[n(1254)],{label:"高度",name:[n(1379),n(1355)],children:l[n(1375)](C[n(715)],{min:10})})]})},"size"),l[n(884)](F0,{header:"样式",children:[l[n(1375)](C[n(1249)][n(1254)],{label:n(2021),name:[n(1379),n(2043)],children:l[n(1375)](C.Input,{placeholder:n(1685)})}),l[n(1375)](C.Form.Item,{label:n(1108),name:[n(1379),"padding"],children:l[n(1375)](C[n(715)],{min:0})}),l.jsx(C[n(1249)].Item,{label:"圆角",name:["normalStyle",n(681)],children:l[n(1375)](C.InputNumber,{min:0})}),l.jsx(C[n(1249)].Item,{label:"缩放比例",name:[n(1379),n(690)],help:n(2141),children:l.jsx(C.InputNumber,{min:.1,max:5,step:.1})}),!p[n(742)][n(1833)][n(1496)](L=>L[n(956)][n(1912)]===n(1701))&&l.jsx(C[n(1249)][n(1254)],{label:n(981),name:[n(1379),n(1442)],help:n(1020),children:l.jsx(C[n(715)],{min:0,max:360,step:1})}),l[n(1375)](C[n(1249)][n(1254)],{label:"透明度",name:[n(1379),n(1028)],children:l.jsx(C[n(715)],{min:0,max:1,step:.1})}),l[n(1375)](C[n(1249)][n(1254)],{label:"层级",name:["normalStyle",n(741)],children:l[n(1375)](C[n(715)],{})})]},"style")]})]})},n(1212)),l[n(1375)](Dx,{tab:"状态",children:p.type==="group"&&p.children?l.jsx(Kl,{node:p,updateNode:x,materials:d}):l[n(884)](n(1037),{className:n(546),children:[l[n(884)]("div",{className:n(2009),children:[l[n(884)]("span",{className:n(1430),children:[n(632),l[n(1375)](C.Tag,{color:"blue",className:n(1594),children:z.length})]}),l[n(1375)](C[n(1105)],{type:"primary",size:n(1400),icon:l[n(1375)](de[n(952)],{}),onClick:G,children:"添加状态"})]}),l[n(1375)]("p",{className:"text-xs text-gray-500 mb-3",children:"节点根据状态表达式计算结果显示对应物料,第一个返回 true 的状态为当前状态"}),z[n(2179)]>0&&l[n(1375)](n(1037),{className:"mb-4 p-3 bg-blue-50 border border-blue-200 rounded-lg",children:l[n(1375)](n(1037),{className:n(817),children:l[n(884)]("div",{children:[l[n(1375)](n(2163),{className:n(2080),children:n(1171)}),l.jsx(n(2163),{className:"ml-2 text-sm font-medium text-blue-600",children:n(1926)})]})})}),z[n(2179)]===0?l[n(1375)](n(1037),{className:n(1990),children:n(735)}):l.jsx(C.Collapse,{ghost:!0,defaultActiveKey:z[0]?.id+o,children:z[n(474)]((L,D)=>l[n(1375)](F0,{header:l.jsxs(n(1037),{className:n(1965),children:[l.jsx(n(2163),{className:n(2130),children:D+1}),l[n(1375)](n(2163),{className:n(1430),children:L[n(863)]}),l[n(1375)](C[n(2158)],{color:"default",className:n(1468),children:L[n(956)][n(1912)]})]}),extra:l[n(884)](C[n(1450)],{size:n(1400),onClick:Y=>Y[n(1313)](),children:[l[n(1375)](C.Button,{type:"text",size:n(1400),icon:l[n(1375)](de.ArrowUpOutlined,{}),disabled:D===0,onClick:Y=>{Y[n(1313)](),H(L.id,"up")}}),l.jsx(C.Button,{type:n(1918),size:"small",icon:l.jsx(de.ArrowDownOutlined,{}),disabled:D===z.length-1,onClick:Y=>{const U=n;Y.stopPropagation(),H(L.id,U(1221))}}),l[n(1375)](C[n(1105)],{type:"text",size:n(1400),icon:l.jsx(de[n(364)],{}),onClick:Y=>{Y[n(1313)](),q(L)}}),l.jsx(C[n(1105)],{type:n(1918),size:"small",danger:!0,icon:l[n(1375)](de[n(635)],{}),onClick:Y=>{Y.stopPropagation(),V(L.id)}})]}),children:l.jsxs(C[n(1249)],{layout:"vertical",children:[l[n(1375)](C[n(1249)][n(1254)],{label:n(1839),children:l.jsx(C[n(465)],{value:L[n(863)],onChange:Y=>j(L.id,{name:Y[n(500)][n(1044)]}),placeholder:"输入状态名称"})}),l[n(1375)](li,{status:L,onUpdate:Y=>j(L.id,Y),onAppendToExpression:Y=>{y(U=>({...U,[L.id]:(U[L.id]??L.expression)+Y}))}}),l.jsx(C[n(1249)][n(1254)],{label:n(1817),help:"单参数 data(对象):由数据池 sample(若已绑定)与画布运行时数据合并;测点数组会按 paramsCode 写入 data。须 return true/false。",children:l[n(1375)](fg,{value:m[L.id]??L[n(572)],onChange:Y=>y(U=>({...U,[L.id]:Y[n(500)][n(1044)]})),onBlur:Y=>{const U=n;j(L.id,{expression:Y[U(500)].value}),y(I=>{const J={...I};return delete J[L.id],J})},rows:3,placeholder:n(2069)})}),l.jsx(C[n(1249)].Item,{label:n(1373),children:l[n(884)](n(1037),{className:n(1965),children:[l[n(1375)](C[n(2158)],{color:n(547),children:L[n(956)][n(863)]}),l.jsx(C[n(2158)],{color:n(384),children:L[n(956)][n(1912)]}),l[n(1375)](C[n(1105)],{type:n(1088),size:"small",icon:l[n(1375)](de.EditOutlined,{}),onClick:()=>W(L.id),children:n(2060)})]})}),l[n(1375)](C[n(1867)],{style:{margin:n(1625)}}),l[n(884)](n(1037),{className:n(1885),children:[l[n(884)](n(1037),{className:"flex items-center justify-between mb-2",children:[l[n(1375)]("span",{className:n(951),children:n(1252)}),l[n(1375)](C[n(2158)],{children:L[n(956)].name})]}),l[n(1375)](di,{material:L[n(956)],onSave:Y=>N(L.id,Y)})]})]})},L.id+o))})]})},"status"),l[n(1375)](Dx,{tab:"控制",children:l.jsxs(C[n(1249)],{form:f,layout:n(1323),onValuesChange:P,children:[l[n(1375)](C[n(1249)][n(1254)],{label:n(2028),name:["controlInfo",n(698)],valuePropName:n(893),children:l[n(1375)](C.Switch,{})}),l.jsx(C[n(1249)][n(1254)],{label:n(702),name:[n(908),"isClickable"],valuePropName:"checked",children:l[n(1375)](C.Switch,{})}),l[n(1375)](C.Form[n(1254)],{label:n(771),name:["controlInfo",n(2102)],valuePropName:n(893),children:l[n(1375)](C[n(1025)],{})}),l[n(1375)](C[n(1249)][n(1254)],{label:n(1631),name:[n(908),n(2143)],valuePropName:n(893),children:l[n(1375)](C[n(1025)],{})})]})},n(931)),l[n(1375)](Dx,{tab:n(1752),children:l[n(1375)](ug,{nodeId:p.id})},"eventflow")]})}),l[n(1375)](n(1037),{className:"p-3 border-t border-gray-200 bg-gray-50",children:l[n(884)](n(1037),{className:"text-xs text-gray-500",children:[l[n(884)](n(1037),{children:[n(972),p.id[n(852)](0,8),n(396)]}),l[n(884)](n(1037),{children:[n(346),z.length]})]})}),l[n(1375)](C[n(1767)],{title:n(360),open:w,onCancel:()=>{h(!1),M(null)},footer:null,width:600,children:l[n(1375)]("div",{className:"max-h-[400px] overflow-y-auto",children:l[n(884)](C[n(860)],{ghost:!0,defaultActiveKey:[n(1212),n(420),n(1918),n(1190)],children:[l[n(1375)](F0,{header:n(1777),children:l[n(1375)](n(1037),{className:n(712),children:d[n(815)](L=>["矩形","圆形",n(605)][n(1419)](L.name))[n(474)](L=>l[n(1375)](ms,{material:L,onClick:()=>O(L)},L.id))})},n(1212)),l[n(1375)](F0,{header:n(1050),children:l[n(1375)](n(1037),{className:n(712),children:d[n(815)](L=>["阀门","泵","罐体"][n(1419)](L[n(863)])||L[n(1912)]===n(1054)&&!["矩形","圆形",n(605)][n(1419)](L[n(863)]))[n(474)](L=>l[n(1375)](ms,{material:L,onClick:()=>O(L)},L.id))})},n(420)),l[n(1375)](F0,{header:"文本",children:l[n(1375)](n(1037),{className:n(712),children:d.filter(L=>L[n(1912)]===n(1509)).map(L=>l[n(884)](n(1037),{className:n(1027),onClick:()=>O(L),children:[l[n(1375)](n(1037),{className:n(1582),children:l[n(1375)](n(2163),{className:n(1698),children:"T"})}),l[n(1375)](n(2163),{className:"text-xs",children:L[n(863)]})]},L.id))})},n(1918)),l[n(1375)](F0,{header:"线条",children:l[n(1375)](n(1037),{className:n(712),children:d.filter(L=>L.type===n(1701))[n(474)](L=>l.jsxs("div",{className:n(1027),onClick:()=>O(L),children:[l[n(1375)](n(1037),{className:n(1582),children:l[n(1375)](n(1037),{className:"w-8 h-0.5 bg-gray-400"})}),l.jsx("span",{className:"text-xs",children:L[n(863)]})]},L.id))})},n(1190))]})})})]}):l[n(1375)](n(1037),{className:n(1832),children:l[n(1375)](C.Empty,{description:"请选择一个节点"})})},ms=({material:e,onClick:n})=>{const t=s,o=e[t(1912)]===t(1054)?e[t(1950)]:void 0;return l.jsxs("div",{className:t(1027),onClick:n,children:[l[t(1375)](t(1037),{className:t(1300),children:o?l[t(1375)]("img",{src:o,alt:e[t(863)],className:t(1080)}):l[t(1375)](t(2163),{className:t(1468),children:e[t(863)][0]})}),l[t(1375)]("span",{className:"text-xs",children:e[t(863)]})]})},hg="ConfigEditor-module__configEditor__dinNG",gg={configEditor:hg},bg=s(2167);function ws(e){return Array[s(565)](e)}const vs=({open:e,onClose:n})=>{const t=s,{dataPool:o,addDataPoolItem:x,updateDataPoolItem:r,removeDataPoolItem:i}=Qe(),[c]=C[t(1249)][t(403)](),[d,a]=B[t(883)](null);B[t(2005)](()=>{const h=t;!e&&(a(null),c[h(527)]())},[e,c]);const u=()=>{const h=t;a(h(1766)),c[h(985)]({name:h(1973)+(o.length+1),sampleJson:""})},f=h=>{const v=t;a(h.id),c[v(985)]({name:h[v(863)],sampleJson:JSON[v(922)](h[v(2133)]??{},null,2)})},b=h=>{const v=t,M=h.trim();if(!M)return{};const m=JSON[v(1387)](M);if(m===null||typeof m!="object")throw new Error(v(2055));if(Array[v(565)](m)){for(let y=0;y<m[v(2179)];y++)if(typeof m[y]!="object"||m[y]===null)throw new Error("数组第 "+(y+1)+v(518));return m}return m},g=()=>{const h=t;c[h(1034)]()[h(688)](v=>{const M=h;let m;try{m=b(v[M(910)])}catch(p){C[M(1109)][M(1036)](p instanceof Error?p[M(1109)]:M(1235));return}const y=v[M(863)][M(349)]();if(!y){C[M(1109)][M(1036)](M(1273));return}d==="__new__"?(x({name:y,sample:m}),C.message[M(1093)](M(2149))):d&&(r(d,{name:y,sample:m}),C.message.success("已保存")),a(null),c[M(527)]()})[h(714)](()=>{})},w=[{title:"名称",dataIndex:t(863),key:t(863)},{title:"类型",key:t(1912),width:100,render:(h,v)=>ws(v[t(2133)])?l[t(884)](C.Tag,{color:t(547),children:[t(693),v[t(2133)][t(2179)],t(1586)]}):l[t(1375)](C[t(2158)],{children:"对象"})},{title:t(1401),key:t(999),width:90,render:(h,v)=>{const M=t;if(ws(v[M(2133)])){const m=v.sample[0];return m?Object[M(999)](m)[M(2179)]:0}return Object[M(999)](v[M(2133)]||{})[M(2179)]}},{title:"操作",key:t(2047),width:160,render:(h,v)=>l.jsxs(C[t(1450)],{children:[l[t(1375)](C[t(1105)],{type:t(1088),size:"small",icon:l.jsx(de[t(2165)],{}),onClick:()=>f(v),children:"编辑"}),l[t(1375)](C[t(1708)],{title:t(1280),description:t(1384),onConfirm:()=>{const M=t;i(v.id),C.message[M(1093)](M(1097))},children:l[t(1375)](C[t(1105)],{type:t(1088),size:t(1400),danger:!0,icon:l.jsx(de[t(635)],{}),children:"删除"})})]})}];return l[t(884)](C[t(1767)],{title:t(526),open:e,onCancel:n,width:760,footer:null,destroyOnClose:!0,children:[l[t(884)]("p",{className:"text-sm text-gray-500 mb-3",children:[t(1183)," ",l[t(1375)](t(519),{className:t(996),children:t(1574)}),t(1120)]}),l[t(1375)](t(1037),{className:t(1976),children:l[t(1375)](C[t(1105)],{type:t(2085),icon:l.jsx(de[t(952)],{}),onClick:u,children:t(1257)})}),d&&l[t(884)](t(1037),{className:t(1799),children:[l[t(884)](t(1037),{className:"font-medium mb-2",children:[d==="__new__"?"新建":"编辑",t(980)]}),l[t(884)](C.Form,{form:c,layout:"vertical",children:[l[t(1375)](C.Form.Item,{name:t(863),label:"名称",rules:[{required:!0,message:"必填"}],children:l.jsx(C.Input,{placeholder:t(394)})}),l[t(1375)](C[t(1249)].Item,{name:t(910),label:t(1209),rules:[{required:!0,message:"必填"}],children:l[t(1375)](C.Input[t(1529)],{rows:12,className:t(1225),placeholder:bg})}),l[t(884)](C.Space,{children:[l[t(1375)](C[t(1105)],{type:t(2085),onClick:g,children:"保存"}),l.jsx(C[t(1105)],{onClick:()=>{const h=t;a(null),c[h(527)]()},children:"取消"})]})]})]}),l[t(1375)](C[t(1217)],{size:t(1400),rowKey:"id",dataSource:o,columns:w,pagination:!1,locale:{emptyText:t(1501)}})]})},{Header:yg,Sider:ps,Content:mg}=C[s(489)],wg=({initialScheme:e,onChange:n,readonly:t=!1,headerExtra:o,className:x="",style:r,showHeader:i=!0,showMaterialPanel:c=!0,showPropertyPanel:d=!0,customMaterials:a,initialDataPool:u,initialEventFlow:f,externalEventActions:b,onUploadSvg:g,defaultTestData:w,backgroundImageUrl:h,initialViewportWidth:v,initialViewportHeight:M})=>{const m=s,[y,p]=B.useState(!1),[z,P]=B[m(883)](!1),[G,O]=B[m(883)](""),[V]=B[m(883)](()=>[{paramsCode:m(1811),paramsName:"通频速度有效值",value:25,paramsUnit:m(807)},{paramsCode:m(615),paramsName:m(1703),value:1.5,paramsUnit:m(1423)}]),j=w!==void 0?w:V,q=i&&!t,{exportScheme:H,importScheme:W,nodes:T,materials:N,dataPool:L,eventFlow:D,root:Y,canvas:U,viewport:I,addMaterial:J,setDataPool:$,setEventFlow:F,setExternalHandlerCatalog:xe}=Qe();B.useRef(null);const re=B[m(780)](!1);B[m(2005)](()=>{const ee=m;if(!re[ee(523)]&&(re.current=!0,Nr[ee(1322)](le=>J(le)),e&&W(e),f!==void 0&&F(f),b&&b[ee(2179)]>0)){xe(b);const le={};for(const be of b){const E=String(be[ee(844)]??"")[ee(349)]();E&&be[ee(493)]&&(le[E]=be.handler)}Object[ee(999)](le)[ee(2179)]>0&&Cn.mergeDefaultRuntimeHandlers({external:le})}},[]),B[m(2005)](()=>{const ee=m;a&&a[ee(2179)]>0&&a[ee(1322)](le=>J(le))},[]),B[m(2005)](()=>{u!==void 0&&$(u)},[u,$]),B[m(2005)](()=>{if(n){const ee=H();n(ee)}},[T,N,L,D,Y,n,H]);const ae=B.useCallback(()=>{const ee=m,le=H(),be=JSON[ee(922)](le,null,2),E=ee(669)+encodeURIComponent(be),A="scheme_"+Date[ee(1700)]()+ee(1115),Z=document[ee(2142)]("a");Z.setAttribute(ee(1692),E),Z[ee(1051)](ee(1398),A),Z[ee(1164)](),C[ee(1109)].success("导出成功!")},[H]),ue=B.useCallback(()=>{const ee=m;try{const le=JSON[ee(1387)](G);W(le),p(!1),O(""),C[ee(1109)][ee(1093)]("导入成功!")}catch{C.message[ee(1036)]("JSON 格式错误,请检查输入")}},[G,W]),me=B[m(1318)](ee=>{const le=m,be=new FileReader;return be[le(695)]=E=>{const A=le;try{const Z=E[A(500)]?.[A(933)],ne=JSON[A(1387)](Z);W(ne),C.message.success(A(1497)),p(!1)}catch{C[A(1109)][A(1036)](A(2065))}},be[le(2162)](ee),!1},[W]),se=B[m(1318)](()=>H(),[H]);return B.useImperativeHandle(B[m(780)]?.(),()=>({getScheme:se,exportScheme:H,importScheme:W}),[se,H,W]),l[m(1375)](C.ConfigProvider,{locale:ks,children:l.jsx(m(1037),{className:gg.configEditor,style:{height:t?"auto":m(1575),...r},children:l[m(884)](C[m(489)],{className:"w-full "+(t?"":m(1748))+" "+(t?"":"overflow-hidden")+" "+x,children:[q&&l.jsxs(yg,{className:m(925),children:[l[m(884)](m(1037),{className:m(1801),children:[l[m(1375)]("div",{className:m(1886),children:m(2148)}),l[m(884)](m(1037),{className:m(700),children:[T[m(2179)],m(2098)]})]}),l[m(884)](C[m(1450)],{children:[o,!t&&l[m(884)](l[m(1465)],{children:[l[m(1375)](C[m(879)],{title:"导出 JSON",children:l.jsx(C[m(1105)],{icon:l.jsx(de[m(801)],{}),onClick:ae,children:"导出"})}),l.jsx(C[m(879)],{title:m(2068),children:l[m(1375)](C[m(1105)],{icon:l[m(1375)](de.UploadOutlined,{}),onClick:()=>p(!0),children:"导入"})}),l.jsx(C[m(879)],{title:m(728),children:l[m(1375)](C[m(1105)],{icon:l.jsx(de[m(992)],{}),onClick:()=>P(!0),children:m(1436)})})]})]})]}),l[m(884)](C[m(489)],{children:[c&&!t&&l[m(1375)](ps,{width:280,className:m(1946),theme:m(1592),children:l[m(1375)](kr,{onUploadSvg:g})}),l.jsx(mg,{className:m(1903)+(t?"":m(1189)),style:t?{backgroundColor:U?.[m(2043)],backgroundImage:U?.[m(1372)]!==!1?m(596):void 0,backgroundSize:20*(I?.[m(690)]||1)+m(1900)+20*(I?.scale||1)+"px"}:void 0,children:l[m(1375)](ii,{defaultTestData:j,readonly:t,backgroundImageUrl:h,initialViewportWidth:v,initialViewportHeight:M})}),d&&!t&&l[m(1375)](ps,{width:360,className:m(1946),theme:"light",children:l[m(1375)](ys,{defaultTestData:Array[m(565)](j)?j:void 0})})]}),l.jsx(vs,{open:z,onClose:()=>P(!1)}),l.jsx(C[m(1767)],{title:m(2137),open:y,onOk:ue,onCancel:()=>{p(!1),O("")},width:600,children:l[m(884)](m(1037),{className:m(1888),children:[l[m(884)](m(1037),{children:[l.jsx("p",{className:m(373),children:m(797)}),l.jsx(m(614),{type:m(2161),accept:m(1115),onChange:ee=>{const le=ee.target.files?.[0];le&&me(le)},className:m(1988)})]}),l[m(1375)]("div",{className:m(1192),children:"或"}),l[m(884)](m(1037),{children:[l[m(1375)]("p",{className:m(373),children:m(953)}),l.jsx(m(1008),{value:G,onChange:ee=>O(ee[m(500)][m(1044)]),placeholder:m(748),className:m(1332)})]})]})})]})})})};Se[s(2078)]=ii,Se[s(1081)]=wg,Se.DataPoolModal=vs,Se[s(1371)]=xi,Se[s(1547)]=kr,Se[s(509)]=ro,Se[s(1242)]=ys,Se.buildMergedDataRecord=Mr,Se[s(397)]=Cr,Se[s(1297)]=Sr,Se.createDefaultStatus=_x,Se[s(1245)]=Zx,Se.eventBus=Cn,Se.findActiveStatus=Br,Se[s(551)]=Nr,Se[s(515)]=Qe,Object[s(593)](Se,Symbol[s(867)],{value:s(1613)})});
6
+ +`)[s(1325)](`
7
+ `)),b=f[s(1267)]((g,w)=>g[s(660)](...w),[]);return[f,b]}return[[],[]]},[e]);return D[t(713)](()=>{const s=t,d=n?.[s(1572)]??yc,f=n?.[s(1213)]??!0;if(e!==null){const b=h=>{const v=s;if(r[v(2225)]=h[v(1990)]||h.metaKey||h[v(1546)]||h[v(1585)],(!r[v(2225)]||r[v(2225)]&&!f)&&Ma(h))return!1;const y=wc(h.code,u);if(i[v(2225)][v(1923)](h[y]),mc(a,i.current,!1)){const m=h[v(406)]?.()?.[0]||h[v(1572)],p=m?.[v(1834)]===v(1029)||m?.[v(1834)]==="A";n[v(875)]!==!1&&(r[v(2225)]||!p)&&h.preventDefault(),x(!0)}},g=h=>{const v=s,M=wc(h[v(1567)],u);mc(a,i.current,!0)?(x(!1),i[v(2225)].clear()):i[v(2225)].delete(h[M]),h.key==="Meta"&&i.current[v(1021)](),r[v(2225)]=!1},w=()=>{const h=s;i[h(2225)][h(1021)](),x(!1)};return d?.addEventListener(s(1916),b),d?.[s(1776)](s(1360),g),window[s(1776)](s(1707),w),window[s(1776)](s(949),w),()=>{const h=s;d?.removeEventListener(h(1916),b),d?.[h(782)](h(1360),g),window.removeEventListener(h(1707),w),window[h(782)]("contextmenu",w)}}},[e,x]),o}function mc(e,n,t){const o=c;return e[o(2191)](x=>t||x[o(1115)]===n[o(435)])[o(1432)](x=>x[o(576)](r=>n[o(1696)](r)))}function wc(e,n){const t=c;return n.includes(e)?t(1567):t(874)}const t3=()=>{const e=c,n=He();return D[e(2089)](()=>{const t=e;return{zoomIn:o=>{const x=_0x31ec,{panZoom:r}=n[x(1537)]();return r?r[x(1560)](1.2,o):Promise[x(481)](!1)},zoomOut:o=>{const x=_0x31ec,{panZoom:r}=n[x(1537)]();return r?r.scaleBy(1/1.2,o):Promise[x(481)](!1)},zoomTo:(o,x)=>{const r=_0x31ec,{panZoom:i}=n[r(1537)]();return i?i[r(759)](o,x):Promise[r(481)](!1)},getZoom:()=>n[t(1537)]().transform[2],setViewport:async(o,x)=>{const r=t,{transform:[i,a,u],panZoom:s}=n[r(1537)]();return s?(await s[r(573)]({x:o.x??i,y:o.y??a,zoom:o.zoom??u},x),Promise[r(481)](!0)):Promise[r(481)](!1)},getViewport:()=>{const o=t,[x,r,i]=n[o(1537)]().transform;return{x,y:r,zoom:i}},setCenter:async(o,x,r)=>{const i=t;return n[i(1537)]()[i(597)](o,x,r)},fitBounds:async(o,x)=>{const r=t,{width:i,height:a,minZoom:u,maxZoom:s,panZoom:d}=n[r(1537)](),f=Io(o,i,a,u,s,x?.[r(618)]??.1);return d?(await d[r(573)](f,{duration:x?.[r(859)],ease:x?.[r(1644)],interpolate:x?.[r(2128)]}),Promise[r(481)](!0)):Promise.resolve(!1)},screenToFlowPosition:(o,x={})=>{const r=t,{transform:i,snapGrid:a,snapToGrid:u,domNode:s}=n[r(1537)]();if(!s)return o;const{x:d,y:f}=s[r(2226)](),b={x:o.x-d,y:o.y-f},g=x.snapGrid??a,w=x.snapToGrid??u;return Lt(b,i,w,g)},flowToScreenPosition:o=>{const x=t,{transform:r,domNode:i}=n[x(1537)]();if(!i)return o;const{x:a,y:u}=i[x(2226)](),s=zx(o,r);return{x:s.x+a,y:s.y+u}}}},[])};function vc(e,n){const t=c,o=[],x=new Map,r=[];for(const i of e)if(i.type==="add"){r[t(591)](i);continue}else if(i[t(402)]===t(670)||i[t(402)]===t(890))x[t(848)](i.id,[i]);else{const a=x[t(1187)](i.id);a?a[t(591)](i):x.set(i.id,[i])}for(const i of n){const a=x[t(1187)](i.id);if(!a){o.push(i);continue}if(a[0][t(402)]===t(670))continue;if(a[0][t(402)]==="replace"){o[t(591)]({...a[0][t(1671)]});continue}const u={...i};for(const s of a)x3(s,u);o[t(591)](u)}return r[t(1115)]&&r[t(643)](i=>{const a=t;i[a(1459)]!==void 0?o[a(1327)](i.index,0,{...i[a(1671)]}):o.push({...i[a(1671)]})}),o}function x3(e,n){const t=c;switch(e.type){case t(1435):{n[t(1412)]=e.selected;break}case"position":{typeof e[t(582)]!==t(2053)&&(n[t(582)]=e.position),typeof e[t(804)]!==t(2053)&&(n.dragging=e.dragging);break}case t(908):{typeof e[t(908)]!==t(2053)&&(n[t(1927)]={...e[t(908)]},e.setAttributes&&((e[t(2220)]===!0||e.setAttributes==="width")&&(n[t(1142)]=e[t(908)].width),(e.setAttributes===!0||e[t(2220)]===t(505))&&(n.height=e[t(908)][t(505)]))),typeof e[t(2072)]===t(1124)&&(n[t(2072)]=e[t(2072)]);break}}}function pc(e,n){return vc(e,n)}function zc(e,n){return vc(e,n)}function bn(e,n){return{id:e,type:c(1435),selected:n}}function Wn(e,n=new Set,t=!1){const o=c,x=[];for(const[r,i]of e){const a=n[o(1696)](r);!(i[o(1412)]===void 0&&!a)&&i.selected!==a&&(t&&(i[o(1412)]=a),x[o(591)](bn(i.id,a)))}return x}function Cc({items:e=[],lookup:n}){const t=c,o=[],x=new Map(e[t(477)](r=>[r.id,r]));for(const[r,i]of e[t(690)]()){const a=n.get(i.id),u=a?.[t(2219)]?.[t(408)]??a;u!==void 0&&u!==i&&o[t(591)]({id:i.id,item:i,type:t(890)}),u===void 0&&o[t(591)]({item:i,type:"add",index:r})}for(const[r]of n)x.get(r)===void 0&&o[t(591)]({id:r,type:t(670)});return o}function Mc(e){return{id:e.id,type:"remove"}}const Bc=e=>N5(e),o3=e=>ua(e);function Dc(e){return D.forwardRef(e)}function Lc(e){const n=c,[t,o]=D[n(955)](BigInt(0)),[x]=D.useState(()=>r3(()=>o(r=>r+BigInt(1))));return _o(()=>{const r=n,i=x[r(1187)]();i.length&&(e(i),x[r(997)]())},[t]),x}function r3(e){let n=[];return{get:()=>n,reset:()=>{n=[]},push:t=>{n[_0x31ec(591)](t),e()}}}const Nc=D.createContext(null);function i3({children:e}){const n=c,t=He(),o=D[n(1832)](u=>{const s=n,{nodes:d=[],setNodes:f,hasDefaultNodes:b,onNodesChange:g,nodeLookup:w,fitViewQueued:h,onNodesChangeMiddlewareMap:v}=t[s(1537)]();let M=d;for(const m of u)M=typeof m=="function"?m(M):m;let y=Cc({items:M,lookup:w});for(const m of v[s(1442)]())y=m(y);b&&f(M),y.length>0?g?.(y):h&&window[s(2213)](()=>{const m=s,{fitViewQueued:p,nodes:z,setNodes:I}=t[m(1537)]();p&&I(z)})},[]),x=Lc(o),r=D[n(1832)](u=>{const s=n,{edges:d=[],setEdges:f,hasDefaultEdges:b,onEdgesChange:g,edgeLookup:w}=t.getState();let h=d;for(const v of u)h=typeof v===s(1701)?v(h):v;b?f(h):g&&g(Cc({items:h,lookup:w}))},[]),i=Lc(r),a=D[n(2089)](()=>({nodeQueue:x,edgeQueue:i}),[]);return l.jsx(Nc[n(2148)],{value:a,children:e})}function a3(){const e=c,n=D[e(1387)](Nc);if(!n)throw new Error(e(433));return n}const c3=e=>!!e[c(1247)];function Jo(){const e=c,n=t3(),t=He(),o=a3(),x=Ae(c3),r=D[e(2089)](()=>{const i=e,a=g=>t.getState()[i(2068)][i(1187)](g),u=g=>{const w=i;o[w(808)][w(591)](g)},s=g=>{const w=i;o.edgeQueue[w(591)](g)},d=g=>{const w=i,{nodeLookup:h,nodeOrigin:v}=t[w(1537)](),M=Bc(g)?g:h[w(1187)](g.id),y=M[w(1913)]?pa(M.position,M[w(1927)],M[w(1913)],h,v):M[w(582)],m={...M,position:y,width:M[w(1927)]?.[w(1142)]??M[w(1142)],height:M[w(1927)]?.height??M[w(505)]};return Gn(m)},f=(g,w,h={replace:!1})=>{const v=i;u(M=>M[v(477)](y=>{const m=v;if(y.id===g){const p=typeof w===m(1701)?w(y):w;return h.replace&&Bc(p)?p:{...y,...p}}return y}))},b=(g,w,h={replace:!1})=>{const v=i;s(M=>M[v(477)](y=>{const m=v;if(y.id===g){const p=typeof w===m(1701)?w(y):w;return h[m(890)]&&o3(p)?p:{...y,...p}}return y}))};return{getNodes:()=>t[i(1537)]().nodes.map(g=>({...g})),getNode:g=>a(g)?.[i(2219)][i(408)],getInternalNode:a,getEdges:()=>{const g=i,{edges:w=[]}=t[g(1537)]();return w.map(h=>({...h}))},getEdge:g=>t[i(1537)]()[i(1014)][i(1187)](g),setNodes:u,setEdges:s,addNodes:g=>{const w=i,h=Array.isArray(g)?g:[g];o[w(808)].push(v=>[...v,...h])},addEdges:g=>{const w=i,h=Array[w(1405)](g)?g:[g];o[w(1424)][w(591)](v=>[...v,...h])},toObject:()=>{const{nodes:g=[],edges:w=[],transform:h}=t.getState(),[v,M,y]=h;return{nodes:g.map(m=>({...m})),edges:w.map(m=>({...m})),viewport:{x:v,y:M,zoom:y}}},deleteElements:async({nodes:g=[],edges:w=[]})=>{const h=i,{nodes:v,edges:M,onNodesDelete:y,onEdgesDelete:m,triggerNodeChanges:p,triggerEdgeChanges:z,onDelete:I,onBeforeDelete:O}=t[h(1537)](),{nodes:H,edges:T}=await A5({nodesToRemove:g,edgesToRemove:w,nodes:v,edges:M,onBeforeDelete:O}),j=T[h(1115)]>0,q=H[h(1115)]>0;if(j){const V=T[h(477)](Mc);m?.(T),z(V)}if(q){const V=H[h(477)](Mc);y?.(H),p(V)}return(q||j)&&I?.({nodes:H,edges:T}),{deletedNodes:H,deletedEdges:T}},getIntersectingNodes:(g,w=!0,h)=>{const v=i,M=ma(g),y=M?g:d(g),m=h!==void 0;return y?(h||t[v(1537)]()[v(821)])[v(2191)](p=>{const z=v,I=t[z(1537)]()[z(2068)].get(p.id);if(I&&!M&&(p.id===g.id||!I.internals.positionAbsolute))return!1;const O=Gn(m?p:I),H=Bt(O,y);return w&&H>0||H>=O.width*O[z(505)]||H>=y.width*y[z(505)]}):[]},isNodeIntersecting:(g,w,h=!0)=>{const v=i,M=ma(g),y=M?g:d(g);if(!y)return!1;const m=Bt(y,w);return h&&m>0||m>=w.width*w[v(505)]||m>=y[v(1142)]*y[v(505)]},updateNode:f,updateNodeData:(g,w,h={replace:!1})=>{f(g,v=>{const M=_0x31ec,y=typeof w=="function"?w(v):w;return h[M(890)]?{...v,data:y}:{...v,data:{...v[M(1074)],...y}}},h)},updateEdge:b,updateEdgeData:(g,w,h={replace:!1})=>{b(g,v=>{const M=_0x31ec,y=typeof w===M(1701)?w(v):w;return h[M(890)]?{...v,data:y}:{...v,data:{...v[M(1074)],...y}}},h)},getNodesBounds:g=>{const w=i,{nodeLookup:h,nodeOrigin:v}=t[w(1537)]();return S5(g,{nodeLookup:h,nodeOrigin:v})},getHandleConnections:({type:g,id:w,nodeId:h})=>Array[i(2088)](t[i(1537)]()[i(534)][i(1187)](h+"-"+g+(w?"-"+w:""))?.values()??[]),getNodeConnections:({type:g,handleId:w,nodeId:h})=>Array[i(2088)](t[i(1537)]()[i(534)].get(""+h+(g?w?"-"+g+"-"+w:"-"+g:""))?.[i(1442)]()??[]),fitView:async g=>{const w=i,h=t[w(1537)]()[w(1867)]??Y5();return t[w(1092)]({fitViewQueued:!0,fitViewOptions:g,fitViewResolver:h}),o.nodeQueue.push(v=>[...v]),h[w(1563)]}}},[]);return D.useMemo(()=>({...r,...n,viewportInitialized:x}),[x])}const Sc=e=>e[c(1412)],s3=typeof window!==c(2053)?window:void 0;function l3({deleteKeyCode:e,multiSelectionKeyCode:n}){const t=c,o=He(),{deleteElements:x}=Jo(),r=kt(e,{actInsideInputWithModifier:!1}),i=kt(n,{target:s3});D.useEffect(()=>{const a=_0x31ec;if(r){const{edges:u,nodes:s}=o[a(1537)]();x({nodes:s.filter(Sc),edges:u.filter(Sc)}),o[a(1092)]({nodesSelectionActive:!1})}},[r]),D[t(713)](()=>{o.setState({multiSelectionActive:i})},[i])}function d3(e){const n=c,t=He();D[n(713)](()=>{const o=n,x=()=>{const r=_0x31ec;if(!e[r(2225)]||!(e.current.checkVisibility?.()??!0))return!1;const i=Po(e[r(2225)]);(i[r(505)]===0||i[r(1142)]===0)&&t[r(1537)]()[r(856)]?.(r(1677),g0.error004()),t[r(1092)]({width:i.width||500,height:i[r(505)]||500})};if(e[o(2225)]){x(),window[o(1776)]("resize",x);const r=new ResizeObserver(()=>x());return r.observe(e.current),()=>{const i=o;window[i(782)](i(2139),x),r&&e.current&&r[i(1205)](e[i(2225)])}}},[])}const Ix={position:c(1622),width:"100%",height:c(2017),top:0,left:0},u3=e=>({userSelectionActive:e.userSelectionActive,lib:e.lib,connectionInProgress:e[c(548)][c(1010)]});function f3({onPaneContextMenu:e,zoomOnScroll:n=!0,zoomOnPinch:t=!0,panOnScroll:o=!1,panOnScrollSpeed:x=.5,panOnScrollMode:r=fn[c(2116)],zoomOnDoubleClick:i=!0,panOnDrag:a=!0,defaultViewport:u,translateExtent:s,minZoom:d,maxZoom:f,zoomActivationKeyCode:b,preventScrolling:g=!0,children:w,noWheelClassName:h,noPanClassName:v,onViewportChange:M,isControlledViewport:y,paneClickDistance:m,selectionOnDrag:p}){const z=c,I=He(),O=D[z(2134)](null),{userSelectionActive:H,lib:T,connectionInProgress:j}=Ae(u3,Ge),q=kt(b),V=D.useRef();d3(O);const X=D[z(1832)](G=>{const L=z;M?.({x:G[0],y:G[1],zoom:G[2]}),!y&&I[L(1092)]({transform:G})},[M,y]);return D.useEffect(()=>{const G=z;if(O[G(2225)]){V[G(2225)]=m2({domNode:O[G(2225)],minZoom:d,maxZoom:f,translateExtent:s,viewport:u,onDraggingChange:E=>I[G(1092)](Y=>Y[G(1547)]===E?Y:{paneDragging:E}),onPanZoomStart:(E,Y)=>{const P=G,{onViewportChangeStart:J,onMoveStart:F}=I[P(1537)]();F?.(E,Y),J?.(Y)},onPanZoom:(E,Y)=>{const P=G,{onViewportChange:J,onMove:F}=I[P(1537)]();F?.(E,Y),J?.(Y)},onPanZoomEnd:(E,Y)=>{const P=G,{onViewportChangeEnd:J,onMoveEnd:F}=I[P(1537)]();F?.(E,Y),J?.(Y)}});const{x:L,y:N,zoom:B}=V[G(2225)][G(2095)]();return I[G(1092)]({panZoom:V[G(2225)],transform:[L,N,B],domNode:O[G(2225)][G(1077)](G(2209))}),()=>{const E=G;V[E(2225)]?.[E(1951)]()}}},[]),D[z(713)](()=>{V[z(2225)]?.update({onPaneContextMenu:e,zoomOnScroll:n,zoomOnPinch:t,panOnScroll:o,panOnScrollSpeed:x,panOnScrollMode:r,zoomOnDoubleClick:i,panOnDrag:a,zoomActivationKeyPressed:q,preventScrolling:g,noPanClassName:v,userSelectionActive:H,noWheelClassName:h,lib:T,onTransformChange:X,connectionInProgress:j,selectionOnDrag:p,paneClickDistance:m})},[e,n,t,o,x,r,i,a,q,g,v,H,h,T,X,j,p,m]),l[z(822)]("div",{className:z(666),ref:O,style:Ix,children:w})}const h3=e=>({userSelectionActive:e[c(1095)],userSelectionRect:e[c(1886)]});function g3(){const e=c,{userSelectionActive:n,userSelectionRect:t}=Ae(h3,Ge);return n&&t?l[e(822)](e(1022),{className:e(1135),style:{width:t.width,height:t[e(505)],transform:e(2125)+t.x+e(2099)+t.y+e(763)}}):null}const Qo=(e,n)=>t=>{t[_0x31ec(1572)]===n.current&&e?.(t)},b3=e=>({userSelectionActive:e[c(1095)],elementsSelectable:e[c(507)],connectionInProgress:e.connection[c(1010)],dragging:e[c(1547)]});function y3({isSelecting:e,selectionKeyPressed:n,selectionMode:t=zt.Full,panOnDrag:o,paneClickDistance:x,selectionOnDrag:r,onSelectionStart:i,onSelectionEnd:a,onPaneClick:u,onPaneContextMenu:s,onPaneScroll:d,onPaneMouseEnter:f,onPaneMouseMove:b,onPaneMouseLeave:g,children:w}){const h=c,v=He(),{userSelectionActive:M,elementsSelectable:y,dragging:m,connectionInProgress:p}=Ae(b3,Ge),z=y&&(e||M),I=D[h(2134)](null),O=D[h(2134)](),H=D.useRef(new Set),T=D[h(2134)](new Set),j=D[h(2134)](!1),q=Y=>{const P=h;if(j[P(2225)]||p){j.current=!1;return}u?.(Y),v.getState()[P(742)](),v[P(1092)]({nodesSelectionActive:!1})},V=Y=>{const P=h;if(Array.isArray(o)&&o?.[P(600)](2)){Y[P(875)]();return}s?.(Y)},X=d?Y=>d(Y):void 0,G=Y=>{const P=h;j[P(2225)]&&(Y[P(655)](),j[P(2225)]=!1)},L=Y=>{const P=h,{domNode:J}=v.getState();if(O[P(2225)]=J?.[P(2226)](),!O[P(2225)])return;const F=Y[P(1572)]===I[P(2225)];if(!F&&!!Y[P(1572)][P(1077)](P(2007))||!e||!(r&&F||n)||Y[P(1127)]!==0||!Y.isPrimary)return;Y[P(1572)]?.[P(1592)]?.(Y.pointerId),j[P(2225)]=!1;const{x:ie,y:ce}=D0(Y[P(1046)],O[P(2225)]);v[P(1092)]({userSelectionRect:{width:0,height:0,startX:ie,startY:ce,x:ie,y:ce}}),!F&&(Y[P(655)](),Y[P(875)]())},N=Y=>{const P=h,{userSelectionRect:J,transform:F,nodeLookup:$,edgeLookup:oe,connectionLookup:ie,triggerNodeChanges:ce,triggerEdgeChanges:fe,defaultEdgeOptions:pe,resetSelectedElements:se}=v[P(1537)]();if(!O[P(2225)]||!J)return;const{x:ee,y:le}=D0(Y[P(1046)],O[P(2225)]),{startX:be,startY:U}=J;if(!j.current){const W=n?0:x;if(Math.hypot(ee-be,le-U)<=W)return;se(),i?.(Y)}j[P(2225)]=!0;const A={startX:be,startY:U,x:ee<be?ee:be,y:le<U?le:U,width:Math[P(1217)](ee-be),height:Math[P(1217)](le-U)},R=H[P(2225)],te=T[P(2225)];H.current=new Set(So($,A,F,t===zt[P(2074)],!0)[P(477)](W=>W.id)),T[P(2225)]=new Set;const ne=pe?.[P(2012)]??!0;for(const W of H[P(2225)]){const re=ie[P(1187)](W);if(re)for(const{edgeId:ze}of re[P(1442)]()){const Me=oe[P(1187)](ze);Me&&(Me[P(2012)]??ne)&&T.current.add(ze)}}if(!za(R,H.current)){const W=Wn($,H[P(2225)],!0);ce(W)}if(!za(te,T[P(2225)])){const W=Wn(oe,T[P(2225)]);fe(W)}v[P(1092)]({userSelectionRect:A,userSelectionActive:!0,nodesSelectionActive:!1})},B=Y=>{const P=h;Y[P(1127)]===0&&(Y.target?.[P(2179)]?.(Y[P(1361)]),!M&&Y[P(1572)]===I[P(2225)]&&v.getState()[P(1886)]&&q?.(Y),v[P(1092)]({userSelectionActive:!1,userSelectionRect:null}),j[P(2225)]&&(a?.(Y),v[P(1092)]({nodesSelectionActive:H[P(2225)][P(435)]>0})))},E=o===!0||Array.isArray(o)&&o[h(600)](0);return l[h(1183)](h(1022),{className:Ke([h(663),{draggable:E,dragging:m,selection:e}]),onClick:z?void 0:Qo(q,I),onContextMenu:Qo(V,I),onWheel:Qo(X,I),onPointerEnter:z?void 0:f,onPointerMove:z?N:b,onPointerUp:z?B:void 0,onPointerDownCapture:z?L:void 0,onClickCapture:z?G:void 0,onPointerLeave:g,ref:I,style:Ix,children:[w,l[h(822)](g3,{})]})}function Fo({id:e,store:n,unselect:t=!1,nodeRef:o}){const x=c,{addSelectedNodes:r,unselectNodesAndEdges:i,multiSelectionActive:a,nodeLookup:u,onError:s}=n[x(1537)](),d=u[x(1187)](e);if(!d){s?.("012",g0[x(1924)](e));return}n.setState({nodesSelectionActive:!1}),d[x(1412)]?(t||d[x(1412)]&&a)&&(i({nodes:[d],edges:[]}),requestAnimationFrame(()=>o?.[x(2225)]?.[x(1707)]())):r([e])}function kc({nodeRef:e,disabled:n=!1,noDragClassName:t,handleSelector:o,nodeId:x,isSelectable:r,nodeClickDistance:i}){const a=c,u=He(),[s,d]=D[a(955)](!1),f=D.useRef();return D[a(713)](()=>{const b=a;f[b(2225)]=o2({getStoreItems:()=>u[b(1537)](),onNodeMouseDown:g=>{Fo({id:g,store:u,nodeRef:e})},onDragStart:()=>{d(!0)},onDragStop:()=>{d(!1)}})},[]),D[a(713)](()=>{const b=a;if(!(n||!e[b(2225)]||!f.current))return f.current.update({noDragClassName:t,handleSelector:o,domNode:e[b(2225)],isSelectable:r,nodeId:x,nodeClickDistance:i}),()=>{const g=b;f[g(2225)]?.[g(1951)]()}},[t,o,n,r,e,x,i]),s}const m3=e=>n=>n[c(1412)]&&(n.draggable||e&&typeof n[c(511)]>"u");function Ic(){const e=c,n=He();return D[e(1832)](o=>{const x=e,{nodeExtent:r,snapToGrid:i,snapGrid:a,nodesDraggable:u,onError:s,updateNodePositions:d,nodeLookup:f,nodeOrigin:b}=n[x(1537)](),g=new Map,w=m3(u),h=i?a[0]:5,v=i?a[1]:5,M=o[x(2006)].x*h*o[x(722)],y=o[x(2006)].y*v*o[x(722)];for(const[,m]of f){if(!w(m))continue;let p={x:m[x(2219)][x(1197)].x+M,y:m[x(2219)][x(1197)].y+y};i&&(p=Dt(p,a));const{position:z,positionAbsolute:I}=fa({nodeId:m.id,nextPosition:p,nodeLookup:f,nodeExtent:r,nodeOrigin:b,onError:s});m.position=z,m[x(2219)].positionAbsolute=I,g.set(m.id,m)}d(g)},[])}const $o=D.createContext(null),w3=$o[c(2148)];$o[c(1156)];const Pc=()=>D.useContext($o),v3=e=>({connectOnClick:e[c(1900)],noPanClassName:e[c(668)],rfId:e.rfId}),p3=(e,n,t)=>o=>{const x=c,{connectionClickStartHandle:r,connectionMode:i,connection:a}=o,{fromHandle:u,toHandle:s,isValid:d}=a,f=s?.[x(1931)]===e&&s?.id===n&&s?.[x(402)]===t;return{connectingFrom:u?.[x(1931)]===e&&u?.id===n&&u?.type===t,connectingTo:f,clickConnecting:r?.[x(1931)]===e&&r?.id===n&&r?.type===t,isPossibleEndHandle:i===Un[x(1638)]?u?.[x(402)]!==t:e!==u?.[x(1931)]||n!==u?.id,connectionInProcess:!!u,clickConnectionInProcess:!!r,valid:f&&d}};function z3({type:e="source",position:n=Ce[c(1835)],isValidConnection:t,isConnectable:o=!0,isConnectableStart:x=!0,isConnectableEnd:r=!0,id:i,onConnect:a,children:u,className:s,onMouseDown:d,onTouchStart:f,...b},g){const w=c,h=i||null,v=e===w(1572),M=He(),y=Pc(),{connectOnClick:m,noPanClassName:p,rfId:z}=Ae(v3,Ge),{connectingFrom:I,connectingTo:O,clickConnecting:H,isPossibleEndHandle:T,connectionInProcess:j,clickConnectionInProcess:q,valid:V}=Ae(p3(y,h,e),Ge);!y&&M[w(1537)]()[w(856)]?.("010",g0.error010());const X=N=>{const B=w,{defaultEdgeOptions:E,onConnect:Y,hasDefaultEdges:P}=M[B(1537)](),J={...E,...N};if(P){const{edges:F,setEdges:$}=M[B(1537)]();$(Ia(J,F))}Y?.(J),a?.(J)},G=N=>{const B=w;if(!y)return;const E=Ba(N[B(1046)]);if(x&&(E&&N[B(1127)]===0||!E)){const Y=M.getState();To[B(1811)](N[B(1046)],{handleDomNode:N[B(1667)],autoPanOnConnect:Y.autoPanOnConnect,connectionMode:Y[B(377)],connectionRadius:Y[B(1530)],domNode:Y[B(770)],nodeLookup:Y.nodeLookup,lib:Y[B(857)],isTarget:v,handleId:h,nodeId:y,flowId:Y[B(1255)],panBy:Y.panBy,cancelConnection:Y[B(1497)],onConnectStart:Y.onConnectStart,onConnectEnd:(...P)=>M[B(1537)]()[B(1261)]?.(...P),updateConnection:Y[B(1206)],onConnect:X,isValidConnection:t||((...P)=>M[B(1537)]()[B(727)]?.(...P)??!0),getTransform:()=>M[B(1537)]()[B(1844)],getFromHandle:()=>M[B(1537)]()[B(548)][B(1249)],autoPanSpeed:Y[B(937)],dragThreshold:Y[B(1647)]})}E?d?.(N):f?.(N)},L=N=>{const B=w,{onClickConnectStart:E,onClickConnectEnd:Y,connectionClickStartHandle:P,connectionMode:J,isValidConnection:F,lib:$,rfId:oe,nodeLookup:ie,connection:ce}=M.getState();if(!y||!P&&!x)return;if(!P){E?.(N[B(1046)],{nodeId:y,handleId:h,handleType:e}),M[B(1092)]({connectionClickStartHandle:{nodeId:y,type:e,id:h}});return}const fe=Ca(N.target),pe=t||F,{connection:se,isValid:ee}=To[B(387)](N.nativeEvent,{handle:{nodeId:y,id:h,type:e},connectionMode:J,fromNodeId:P[B(1931)],fromHandleId:P.id||null,fromType:P.type,isValidConnection:pe,flowId:oe,doc:fe,lib:$,nodeLookup:ie});ee&&se&&X(se);const le=structuredClone(ce);delete le[B(1010)],le[B(2029)]=le.toHandle?le[B(1581)][B(582)]:null,Y?.(N,le),M[B(1092)]({connectionClickStartHandle:null})};return l[w(822)](w(1022),{"data-handleid":h,"data-nodeid":y,"data-handlepos":n,"data-id":z+"-"+y+"-"+h+"-"+e,className:Ke(["react-flow__handle",w(695)+n,w(588),p,s,{source:!v,target:v,connectable:o,connectablestart:x,connectableend:r,clickconnecting:H,connectingfrom:I,connectingto:O,valid:V,connectionindicator:o&&(!j||T)&&(j||q?r:x)}]),onMouseDown:G,onTouchStart:G,onClick:m?L:void 0,ref:g,...b,children:u})}const Xn=D.memo(Dc(z3));function C3({data:e,isConnectable:n,sourcePosition:t=Ce.Bottom}){const o=c;return l[o(1183)](l[o(2135)],{children:[e?.label,l.jsx(Xn,{type:"source",position:t,isConnectable:n})]})}function M3({data:e,isConnectable:n,targetPosition:t=Ce.Top,sourcePosition:o=Ce[c(1852)]}){const x=c;return l[x(1183)](l[x(2135)],{children:[l[x(822)](Xn,{type:"target",position:t,isConnectable:n}),e?.label,l[x(822)](Xn,{type:x(2124),position:o,isConnectable:n})]})}function B3(){return null}function D3({data:e,isConnectable:n,targetPosition:t=Ce[c(1835)]}){const o=c;return l.jsxs(l[o(2135)],{children:[l.jsx(Xn,{type:o(1572),position:t,isConnectable:n}),e?.[o(846)]]})}const Px={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},Ac={input:C3,default:M3,output:D3,group:B3};function L3(e){const n=c;return e[n(2219)][n(2035)]===void 0?{width:e[n(1142)]??e[n(1340)]??e.style?.width,height:e[n(505)]??e[n(647)]??e.style?.[n(505)]}:{width:e.width??e[n(1482)]?.width,height:e[n(505)]??e[n(1482)]?.[n(505)]}}const N3=e=>{const n=c,{width:t,height:o,x,y:r}=Mt(e[n(2068)],{filter:i=>!!i[n(1412)]});return{width:B0(t)?t:null,height:B0(o)?o:null,userSelectionActive:e.userSelectionActive,transformString:n(2125)+e[n(1844)][0]+n(2059)+e[n(1844)][1]+n(462)+e.transform[2]+n(484)+x+"px,"+r+n(763)}};function S3({onSelectionContextMenu:e,noPanClassName:n,disableKeyboardA11y:t}){const o=c,x=He(),{width:r,height:i,transformString:a,userSelectionActive:u}=Ae(N3,Ge),s=Ic(),d=D[o(2134)](null);D[o(713)](()=>{!t&&d[o(2225)]?.focus({preventScroll:!0})},[t]);const f=!u&&r!==null&&i!==null;if(kc({nodeRef:d,disabled:!f}),!f)return null;const b=e?w=>{const h=o,v=x[h(1537)]()[h(821)].filter(M=>M[h(1412)]);e(w,v)}:void 0,g=w=>{const h=o;Object[h(807)].hasOwnProperty.call(Px,w[h(874)])&&(w.preventDefault(),s({direction:Px[w[h(874)]],factor:w[h(1546)]?4:1}))};return l[o(822)]("div",{className:Ke([o(1485),o(811),n]),style:{transform:a},children:l[o(822)]("div",{ref:d,className:o(567),onContextMenu:b,tabIndex:t?void 0:-1,onKeyDown:t?void 0:g,style:{width:r,height:i}})})}const Ec=typeof window<"u"?window:void 0,k3=e=>{const n=c;return{nodesSelectionActive:e.nodesSelectionActive,userSelectionActive:e[n(1095)]}};function jc({children:e,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:o,onPaneMouseLeave:x,onPaneContextMenu:r,onPaneScroll:i,paneClickDistance:a,deleteKeyCode:u,selectionKeyCode:s,selectionOnDrag:d,selectionMode:f,onSelectionStart:b,onSelectionEnd:g,multiSelectionKeyCode:w,panActivationKeyCode:h,zoomActivationKeyCode:v,elementsSelectable:M,zoomOnScroll:y,zoomOnPinch:m,panOnScroll:p,panOnScrollSpeed:z,panOnScrollMode:I,zoomOnDoubleClick:O,panOnDrag:H,defaultViewport:T,translateExtent:j,minZoom:q,maxZoom:V,preventScrolling:X,onSelectionContextMenu:G,noWheelClassName:L,noPanClassName:N,disableKeyboardA11y:B,onViewportChange:E,isControlledViewport:Y}){const P=c,{nodesSelectionActive:J,userSelectionActive:F}=Ae(k3,Ge),$=kt(s,{target:Ec}),oe=kt(h,{target:Ec}),ie=oe||H,ce=oe||p,fe=d&&ie!==!0,pe=$||F||fe;return l3({deleteKeyCode:u,multiSelectionKeyCode:w}),l[P(822)](f3,{onPaneContextMenu:r,elementsSelectable:M,zoomOnScroll:y,zoomOnPinch:m,panOnScroll:ce,panOnScrollSpeed:z,panOnScrollMode:I,zoomOnDoubleClick:O,panOnDrag:!$&&ie,defaultViewport:T,translateExtent:j,minZoom:q,maxZoom:V,zoomActivationKeyCode:v,preventScrolling:X,noWheelClassName:L,noPanClassName:N,onViewportChange:E,isControlledViewport:Y,paneClickDistance:a,selectionOnDrag:fe,children:l[P(1183)](y3,{onSelectionStart:b,onSelectionEnd:g,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:o,onPaneMouseLeave:x,onPaneContextMenu:r,onPaneScroll:i,panOnDrag:ie,isSelecting:!!pe,selectionMode:f,selectionKeyPressed:$,paneClickDistance:a,selectionOnDrag:fe,children:[e,J&&l[P(822)](S3,{onSelectionContextMenu:G,noPanClassName:N,disableKeyboardA11y:B})]})})}jc[c(812)]="FlowRenderer";const I3=D[c(2149)](jc),P3=e=>n=>{const t=c;return e?So(n.nodeLookup,{x:0,y:0,width:n[t(1142)],height:n[t(505)]},n.transform,!0)[t(477)](o=>o.id):Array[t(2088)](n.nodeLookup.keys())};function A3(e){return Ae(D.useCallback(P3(e),[e]),Ge)}const E3=e=>e[c(448)];function j3(){const e=Ae(E3),[n]=D.useState(()=>typeof ResizeObserver>"u"?null:new ResizeObserver(t=>{const o=_0x31ec,x=new Map;t[o(643)](r=>{const i=o,a=r[i(1572)][i(436)]("data-id");x.set(a,{id:a,nodeElement:r[i(1572)],force:!0})}),e(x)}));return D.useEffect(()=>()=>{n?.disconnect()},[n]),n}function Y3({node:e,nodeType:n,hasDimensions:t,resizeObserver:o}){const x=c,r=He(),i=D[x(2134)](null),a=D[x(2134)](null),u=D[x(2134)](e[x(1228)]),s=D[x(2134)](e.targetPosition),d=D[x(2134)](n),f=t&&!!e[x(2219)][x(2035)];return D[x(713)](()=>{const b=x;i[b(2225)]&&!e[b(1123)]&&(!f||a[b(2225)]!==i.current)&&(a.current&&o?.[b(1205)](a[b(2225)]),o?.[b(422)](i[b(2225)]),a[b(2225)]=i[b(2225)])},[f,e[x(1123)]]),D[x(713)](()=>()=>{const b=_0x31ec;a.current&&(o?.unobserve(a[b(2225)]),a[b(2225)]=null)},[]),D[x(713)](()=>{const b=x;if(i[b(2225)]){const g=d[b(2225)]!==n,w=u[b(2225)]!==e[b(1228)],h=s[b(2225)]!==e.targetPosition;(g||w||h)&&(d[b(2225)]=n,u[b(2225)]=e[b(1228)],s[b(2225)]=e.targetPosition,r[b(1537)]()[b(448)](new Map([[e.id,{id:e.id,nodeElement:i[b(2225)],force:!0}]])))}},[e.id,n,e.sourcePosition,e[x(1934)]]),i}function U3({id:e,onClick:n,onMouseEnter:t,onMouseMove:o,onMouseLeave:x,onContextMenu:r,onDoubleClick:i,nodesDraggable:a,elementsSelectable:u,nodesConnectable:s,nodesFocusable:d,resizeObserver:f,noDragClassName:b,noPanClassName:g,disableKeyboardA11y:w,rfId:h,nodeTypes:v,nodeClickDistance:M,onError:y}){const m=c,{node:p,internals:z,isParent:I}=Ae(se=>{const ee=_0x31ec,le=se[ee(2068)][ee(1187)](e),be=se[ee(403)][ee(1696)](e);return{node:le,internals:le.internals,isParent:be}},Ge);let O=p.type||"default",H=v?.[O]||Ac[O];H===void 0&&(y?.("003",g0[m(885)](O)),O=m(1815),H=v?.[m(1815)]||Ac.default);const T=!!(p[m(511)]||a&&typeof p[m(511)]===m(2053)),j=!!(p.selectable||u&&typeof p[m(2012)]===m(2053)),q=!!(p.connectable||s&&typeof p[m(1636)]===m(2053)),V=!!(p.focusable||d&&typeof p[m(1082)]===m(2053)),X=He(),G=va(p),L=Y3({node:p,nodeType:O,hasDimensions:G,resizeObserver:f}),N=kc({nodeRef:L,disabled:p.hidden||!T,noDragClassName:b,handleSelector:p.dragHandle,nodeId:e,isSelectable:j,nodeClickDistance:M}),B=Ic();if(p[m(1123)])return null;const E=T0(p),Y=L3(p),P=j||T||n||t||o||x,J=t?se=>t(se,{...z[m(408)]}):void 0,F=o?se=>o(se,{...z[m(408)]}):void 0,$=x?se=>x(se,{...z[m(408)]}):void 0,oe=r?se=>r(se,{...z[m(408)]}):void 0,ie=i?se=>i(se,{...z[m(408)]}):void 0,ce=se=>{const ee=m,{selectNodesOnDrag:le,nodeDragThreshold:be}=X[ee(1537)]();j&&(!le||!T||be>0)&&Fo({id:e,store:X,nodeRef:L}),n&&n(se,{...z.userNode})},fe=se=>{const ee=m;if(!(Ma(se.nativeEvent)||w)){if(aa.includes(se[ee(874)])&&j){const le=se[ee(874)]===ee(1549);Fo({id:e,store:X,unselect:le,nodeRef:L})}else if(T&&p[ee(1412)]&&Object[ee(807)][ee(659)][ee(1020)](Px,se[ee(874)])){se[ee(875)]();const{ariaLabelConfig:le}=X[ee(1537)]();X.setState({ariaLiveMessage:le[ee(471)]({direction:se[ee(874)][ee(890)](ee(676),"")[ee(2122)](),x:~~z.positionAbsolute.x,y:~~z[ee(1197)].y})}),B({direction:Px[se.key],factor:se[ee(1546)]?4:1})}}},pe=()=>{const se=m;if(w||!L[se(2225)]?.[se(1421)](se(1695)))return;const{transform:ee,width:le,height:be,autoPanOnNodeFocus:U,setCenter:A}=X.getState();if(!U)return;!(So(new Map([[e,p]]),{x:0,y:0,width:le,height:be},ee,!0)[se(1115)]>0)&&A(p[se(582)].x+E[se(1142)]/2,p[se(582)].y+E[se(505)]/2,{zoom:ee[2]})};return l.jsx(m(1022),{className:Ke([m(1992),"react-flow__node-"+O,{[g]:T},p[m(2058)],{selected:p[m(1412)],selectable:j,parent:I,draggable:T,dragging:N}]),ref:L,style:{zIndex:z.z,transform:"translate("+z[m(1197)].x+m(2059)+z[m(1197)].y+m(763),pointerEvents:P?m(1632):"none",visibility:m(G?428:1123),...p[m(1482)],...Y},"data-id":e,"data-testid":m(832)+e,onMouseEnter:J,onMouseMove:F,onMouseLeave:$,onContextMenu:oe,onClick:ce,onDoubleClick:ie,onKeyDown:V?fe:void 0,tabIndex:V?0:void 0,onFocus:V?pe:void 0,role:p[m(716)]??(V?"group":void 0),"aria-roledescription":m(1771),"aria-describedby":w?void 0:dc+"-"+h,"aria-label":p[m(994)],...p[m(1896)],children:l[m(822)](w3,{value:e,children:l.jsx(H,{id:e,data:p[m(1074)],type:O,positionAbsoluteX:z[m(1197)].x,positionAbsoluteY:z.positionAbsolute.y,selected:p[m(1412)]??!1,selectable:j,draggable:T,deletable:p[m(498)]??!0,isConnectable:q,sourcePosition:p[m(1228)],targetPosition:p[m(1934)],dragging:N,dragHandle:p[m(1583)],zIndex:z.z,parentId:p[m(1913)],...E})})})}var O3=D[c(2149)](U3);const G3=e=>({nodesDraggable:e[c(500)],nodesConnectable:e[c(1692)],nodesFocusable:e[c(1478)],elementsSelectable:e[c(507)],onError:e.onError});function Yc(e){const n=c,{nodesDraggable:t,nodesConnectable:o,nodesFocusable:x,elementsSelectable:r,onError:i}=Ae(G3,Ge),a=A3(e[n(1690)]),u=j3();return l[n(822)]("div",{className:"react-flow__nodes",style:Ix,children:a.map(s=>{const d=n;return l[d(822)](O3,{id:s,nodeTypes:e[d(1235)],nodeExtent:e.nodeExtent,onClick:e[d(2091)],onMouseEnter:e[d(2174)],onMouseMove:e[d(1831)],onMouseLeave:e[d(1441)],onContextMenu:e[d(399)],onDoubleClick:e[d(2005)],noDragClassName:e[d(854)],noPanClassName:e[d(668)],rfId:e.rfId,disableKeyboardA11y:e[d(1589)],resizeObserver:u,nodesDraggable:t,nodesConnectable:o,nodesFocusable:x,elementsSelectable:r,nodeClickDistance:e.nodeClickDistance,onError:i},s)})})}Yc[c(812)]="NodeRenderer";const H3=D[c(2149)](Yc);function V3(e){const n=c;return Ae(D[n(1832)](o=>{const x=n;if(!e)return o.edges.map(i=>i.id);const r=[];if(o[x(1142)]&&o.height)for(const i of o.edges){const a=o[x(2068)].get(i[x(2124)]),u=o.nodeLookup[x(1187)](i.target);a&&u&&H5({sourceNode:a,targetNode:u,width:o.width,height:o[x(505)],transform:o.transform})&&r[x(591)](i.id)}return r},[e]),Ge)}const T3=({color:e=c(559),strokeWidth:n=1})=>{const t=c,o={strokeWidth:n,...e&&{stroke:e}};return l[t(822)]("polyline",{className:t(998),style:o,strokeLinecap:t(1892),fill:t(559),strokeLinejoin:t(1892),points:t(621)})},q3=({color:e="none",strokeWidth:n=1})=>{const t=c,o={strokeWidth:n,...e&&{stroke:e,fill:e}};return l.jsx("polyline",{className:t(940),style:o,strokeLinecap:t(1892),strokeLinejoin:"round",points:t(672)})},Uc={[mx.Arrow]:T3,[mx[c(1443)]]:q3};function W3(e){const n=c,t=He();return D[n(2089)](()=>{const x=n;return Object[x(807)][x(659)][x(1020)](Uc,e)?Uc[e]:(t[x(1537)]().onError?.(x(1451),g0[x(383)](e)),null)},[e])}const X3=({id:e,type:n,color:t,width:o=12.5,height:x=12.5,markerUnits:r=c(1436),strokeWidth:i,orient:a=c(830)})=>{const u=c,s=W3(n);return s?l[u(822)](u(1064),{className:u(1149),id:e,markerWidth:""+o,markerHeight:""+x,viewBox:"-10 -10 20 20",markerUnits:r,orient:a,refX:"0",refY:"0",children:l[u(822)](s,{color:t,strokeWidth:i})}):null},Oc=({defaultColor:e,rfId:n})=>{const t=c,o=Ae(i=>i[t(1708)]),x=Ae(i=>i[t(1365)]),r=D[t(2089)](()=>{const i=t;return K5(o,{id:n,defaultColor:e,defaultMarkerStart:x?.[i(1952)],defaultMarkerEnd:x?.[i(687)]})},[o,x,n,e]);return r.length?l[t(822)](t(1699),{className:t(1252),"aria-hidden":t(1656),children:l.jsx(t(651),{children:r[t(477)](i=>l[t(822)](X3,{id:i.id,type:i.type,color:i.color,width:i[t(1142)],height:i[t(505)],markerUnits:i[t(1936)],strokeWidth:i[t(1436)],orient:i[t(2050)]},i.id))})}):null};Oc[c(812)]=c(2109);var Z3=D[c(2149)](Oc);function Gc({x:e,y:n,label:t,labelStyle:o,labelShowBg:x=!0,labelBgStyle:r,labelBgPadding:i=[2,4],labelBgBorderRadius:a=2,children:u,className:s,...d}){const f=c,[b,g]=D[f(955)]({x:1,y:0,width:0,height:0}),w=Ke([f(913),s]),h=D.useRef(null);return D.useEffect(()=>{const v=f;if(h[v(2225)]){const M=h[v(2225)][v(1177)]();g({x:M.x,y:M.y,width:M[v(1142)],height:M[v(505)]})}},[t]),t?l[f(1183)]("g",{transform:f(2125)+(e-b.width/2)+" "+(n-b[f(505)]/2)+")",className:w,visibility:b[f(1142)]?f(428):f(1123),...d,children:[x&&l.jsx(f(415),{width:b[f(1142)]+2*i[0],x:-i[0],y:-i[1],height:b.height+2*i[1],className:"react-flow__edge-textbg",style:r,rx:a,ry:a}),l[f(822)](f(1347),{className:"react-flow__edge-text",y:b[f(505)]/2,dy:f(1401),ref:h,style:o,children:t}),u]}):null}Gc[c(812)]=c(783);const K3=D[c(2149)](Gc);function Ax({path:e,labelX:n,labelY:t,label:o,labelStyle:x,labelShowBg:r,labelBgStyle:i,labelBgPadding:a,labelBgBorderRadius:u,interactionWidth:s=20,...d}){const f=c;return l.jsxs(l[f(2135)],{children:[l[f(822)](f(1137),{...d,d:e,fill:f(559),className:Ke([f(485),d[f(2058)]])}),s?l[f(822)]("path",{d:e,fill:f(559),strokeOpacity:0,strokeWidth:s,className:"react-flow__edge-interaction"}):null,o&&B0(n)&&B0(t)?l[f(822)](K3,{x:n,y:t,label:o,labelStyle:x,labelShowBg:r,labelBgStyle:i,labelBgPadding:a,labelBgBorderRadius:u}):null]})}function Hc({pos:e,x1:n,y1:t,x2:o,y2:x}){const r=c;return e===Ce.Left||e===Ce[r(739)]?[.5*(n+o),t]:[n,.5*(t+x)]}function Vc({sourceX:e,sourceY:n,sourcePosition:t=Ce.Bottom,targetX:o,targetY:x,targetPosition:r=Ce.Top}){const[i,a]=Hc({pos:t,x1:e,y1:n,x2:o,y2:x}),[u,s]=Hc({pos:r,x1:o,y1:x,x2:e,y2:n}),[d,f,b,g]=La({sourceX:e,sourceY:n,targetX:o,targetY:x,sourceControlX:i,sourceControlY:a,targetControlX:u,targetControlY:s});return["M"+e+","+n+" C"+i+","+a+" "+u+","+s+" "+o+","+x,d,f,b,g]}function Tc(e){return D.memo(({id:n,sourceX:t,sourceY:o,targetX:x,targetY:r,sourcePosition:i,targetPosition:a,label:u,labelStyle:s,labelShowBg:d,labelBgStyle:f,labelBgPadding:b,labelBgBorderRadius:g,style:w,markerEnd:h,markerStart:v,interactionWidth:M})=>{const y=_0x31ec,[m,p,z]=Vc({sourceX:t,sourceY:o,sourcePosition:i,targetX:x,targetY:r,targetPosition:a}),I=e.isInternal?void 0:n;return l[y(822)](Ax,{id:I,path:m,labelX:p,labelY:z,label:u,labelStyle:s,labelShowBg:d,labelBgStyle:f,labelBgPadding:b,labelBgBorderRadius:g,style:w,markerEnd:h,markerStart:v,interactionWidth:M})})}const R3=Tc({isInternal:!1}),qc=Tc({isInternal:!0});R3[c(812)]=c(634),qc.displayName=c(873);function Wc(e){const n=c;return D[n(2149)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,label:a,labelStyle:u,labelShowBg:s,labelBgStyle:d,labelBgPadding:f,labelBgBorderRadius:b,style:g,sourcePosition:w=Ce[n(1852)],targetPosition:h=Ce[n(1835)],markerEnd:v,markerStart:M,pathOptions:y,interactionWidth:m})=>{const p=n,[z,I,O]=Ao({sourceX:o,sourceY:x,sourcePosition:w,targetX:r,targetY:i,targetPosition:h,borderRadius:y?.[p(1883)],offset:y?.offset,stepPosition:y?.[p(1072)]}),H=e[p(1152)]?void 0:t;return l[p(822)](Ax,{id:H,path:z,labelX:I,labelY:O,label:a,labelStyle:u,labelShowBg:s,labelBgStyle:d,labelBgPadding:f,labelBgBorderRadius:b,style:g,markerEnd:v,markerStart:M,interactionWidth:m})})}const Xc=Wc({isInternal:!1}),Zc=Wc({isInternal:!0});Xc[c(812)]=c(1745),Zc[c(812)]=c(1863);function Kc(e){return D.memo(({id:n,...t})=>{const o=_0x31ec,x=e.isInternal?void 0:n;return l[o(822)](Xc,{...t,id:x,pathOptions:D.useMemo(()=>({borderRadius:0,offset:t[o(979)]?.[o(929)]}),[t.pathOptions?.[o(929)]])})})}const _3=Kc({isInternal:!1}),Rc=Kc({isInternal:!0});_3[c(812)]=c(1973),Rc.displayName=c(1624);function _c(e){return D[c(2149)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,label:a,labelStyle:u,labelShowBg:s,labelBgStyle:d,labelBgPadding:f,labelBgBorderRadius:b,style:g,markerEnd:w,markerStart:h,interactionWidth:v})=>{const[M,y,m]=Pa({sourceX:o,sourceY:x,targetX:r,targetY:i}),p=e.isInternal?void 0:t;return l.jsx(Ax,{id:p,path:M,labelX:y,labelY:m,label:a,labelStyle:u,labelShowBg:s,labelBgStyle:d,labelBgPadding:f,labelBgBorderRadius:b,style:g,markerEnd:w,markerStart:h,interactionWidth:v})})}const J3=_c({isInternal:!1}),Jc=_c({isInternal:!0});J3[c(812)]=c(2194),Jc[c(812)]=c(1383);function Qc(e){const n=c;return D[n(2149)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:a=Ce[n(1852)],targetPosition:u=Ce[n(1835)],label:s,labelStyle:d,labelShowBg:f,labelBgStyle:b,labelBgPadding:g,labelBgBorderRadius:w,style:h,markerEnd:v,markerStart:M,pathOptions:y,interactionWidth:m})=>{const p=n,[z,I,O]=Sa({sourceX:o,sourceY:x,sourcePosition:a,targetX:r,targetY:i,targetPosition:u,curvature:y?.[p(714)]}),H=e[p(1152)]?void 0:t;return l[p(822)](Ax,{id:H,path:z,labelX:I,labelY:O,label:s,labelStyle:d,labelShowBg:f,labelBgStyle:b,labelBgPadding:g,labelBgBorderRadius:w,style:h,markerEnd:v,markerStart:M,interactionWidth:m})})}const Q3=Qc({isInternal:!1}),Fc=Qc({isInternal:!0});Q3[c(812)]=c(2172),Fc[c(812)]="BezierEdgeInternal";const $c={default:Fc,straight:Jc,step:Rc,smoothstep:Zc,simplebezier:qc},es={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},F3=(e,n,t)=>{const o=c;return t===Ce[o(1747)]?e-n:t===Ce[o(739)]?e+n:e},$3=(e,n,t)=>{const o=c;return t===Ce[o(1835)]?e-n:t===Ce[o(1852)]?e+n:e},ns=c(1226);function ts({position:e,centerX:n,centerY:t,radius:o=10,onMouseDown:x,onMouseEnter:r,onMouseOut:i,type:a}){const u=c;return l.jsx(u(2207),{onMouseDown:x,onMouseEnter:r,onMouseOut:i,className:Ke([ns,ns+"-"+a]),cx:F3(n,o,e),cy:$3(t,o,e),r:o,stroke:u(2199),fill:u(2199)})}function eh({isReconnectable:e,reconnectRadius:n,edge:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:a,targetPosition:u,onReconnect:s,onReconnectStart:d,onReconnectEnd:f,setReconnecting:b,setUpdateHover:g}){const w=c,h=He(),v=(z,I)=>{const O=_0x31ec;if(z[O(1127)]!==0)return;const{autoPanOnConnect:H,domNode:T,connectionMode:j,connectionRadius:q,lib:V,onConnectStart:X,cancelConnection:G,nodeLookup:L,rfId:N,panBy:B,updateConnection:E}=h.getState(),Y=I[O(402)]===O(1572),P=($,oe)=>{const ie=O;b(!1),f?.($,t,I[ie(402)],oe)},J=$=>s?.(t,$),F=($,oe)=>{const ie=O;b(!0),d?.(z,t,I[ie(402)]),X?.($,oe)};To.onPointerDown(z[O(1046)],{autoPanOnConnect:H,connectionMode:j,connectionRadius:q,domNode:T,handleId:I.id,nodeId:I.nodeId,nodeLookup:L,isTarget:Y,edgeUpdaterType:I.type,lib:V,flowId:N,cancelConnection:G,panBy:B,isValidConnection:(...$)=>h[O(1537)]()[O(727)]?.(...$)??!0,onConnect:J,onConnectStart:F,onConnectEnd:(...$)=>h[O(1537)]()[O(1261)]?.(...$),onReconnectEnd:P,updateConnection:E,getTransform:()=>h[O(1537)]().transform,getFromHandle:()=>h[O(1537)]()[O(548)][O(1249)],dragThreshold:h[O(1537)]()[O(1647)],handleDomNode:z.currentTarget})},M=z=>v(z,{nodeId:t[w(1572)],id:t[w(819)]??null,type:w(1572)}),y=z=>v(z,{nodeId:t.source,id:t[w(1400)]??null,type:w(2124)}),m=()=>g(!0),p=()=>g(!1);return l[w(1183)](l[w(2135)],{children:[(e===!0||e===w(2124))&&l[w(822)](ts,{position:a,centerX:o,centerY:x,radius:n,onMouseDown:M,onMouseEnter:m,onMouseOut:p,type:w(2124)}),(e===!0||e===w(1572))&&l[w(822)](ts,{position:u,centerX:r,centerY:i,radius:n,onMouseDown:y,onMouseEnter:m,onMouseOut:p,type:w(1572)})]})}function nh({id:e,edgesFocusable:n,edgesReconnectable:t,elementsSelectable:o,onClick:x,onDoubleClick:r,onContextMenu:i,onMouseEnter:a,onMouseMove:u,onMouseLeave:s,reconnectRadius:d,onReconnect:f,onReconnectStart:b,onReconnectEnd:g,rfId:w,edgeTypes:h,noPanClassName:v,onError:M,disableKeyboardA11y:y}){const m=c;let p=Ae(U=>U[m(1014)][m(1187)](e));const z=Ae(U=>U[m(1365)]);p=z?{...z,...p}:p;let I=p[m(402)]||m(1815),O=h?.[I]||$c[I];O===void 0&&(M?.("011",g0.error011(I)),I=m(1815),O=h?.[m(1815)]||$c[m(1815)]);const H=!!(p[m(1082)]||n&&typeof p[m(1082)]===m(2053)),T=typeof f<"u"&&(p[m(2214)]||t&&typeof p[m(2214)]===m(2053)),j=!!(p[m(2012)]||o&&typeof p[m(2012)]===m(2053)),q=D[m(2134)](null),[V,X]=D[m(955)](!1),[G,L]=D[m(955)](!1),N=He(),{zIndex:B,sourceX:E,sourceY:Y,targetX:P,targetY:J,sourcePosition:F,targetPosition:$}=Ae(D[m(1832)](U=>{const A=m,R=U.nodeLookup.get(p[A(2124)]),te=U[A(2068)][A(1187)](p[A(1572)]);if(!R||!te)return{zIndex:p.zIndex,...es};const ne=Z5({id:e,sourceNode:R,targetNode:te,sourceHandle:p.sourceHandle||null,targetHandle:p[A(819)]||null,connectionMode:U[A(377)],onError:M});return{zIndex:G5({selected:p[A(1412)],zIndex:p[A(441)],sourceNode:R,targetNode:te,elevateOnSelect:U[A(1234)],zIndexMode:U[A(1012)]}),...ne||es}},[p[m(2124)],p[m(1572)],p.sourceHandle,p[m(819)],p[m(1412)],p[m(441)]]),Ge),oe=D[m(2089)](()=>p[m(1952)]?m(1957)+Eo(p[m(1952)],w)+"')":void 0,[p[m(1952)],w]),ie=D[m(2089)](()=>p[m(687)]?m(1957)+Eo(p[m(687)],w)+"')":void 0,[p[m(687)],w]);if(p[m(1123)]||E===null||Y===null||P===null||J===null)return null;const ce=U=>{const A=m,{addSelectedEdges:R,unselectNodesAndEdges:te,multiSelectionActive:ne}=N[A(1537)]();j&&(N[A(1092)]({nodesSelectionActive:!1}),p.selected&&ne?(te({nodes:[],edges:[p]}),q[A(2225)]?.[A(1707)]()):R([e])),x&&x(U,p)},fe=r?U=>{r(U,{...p})}:void 0,pe=i?U=>{i(U,{...p})}:void 0,se=a?U=>{a(U,{...p})}:void 0,ee=u?U=>{u(U,{...p})}:void 0,le=s?U=>{s(U,{...p})}:void 0,be=U=>{const A=m;if(!y&&aa[A(600)](U.key)&&j){const{unselectNodesAndEdges:R,addSelectedEdges:te}=N[A(1537)]();U[A(874)]===A(1549)?(q[A(2225)]?.blur(),R({edges:[p]})):te([e])}};return l.jsx(m(1699),{style:{zIndex:B},children:l[m(1183)]("g",{className:Ke(["react-flow__edge",m(934)+I,p.className,v,{selected:p[m(1412)],animated:p.animated,inactive:!j&&!x,updating:V,selectable:j}]),onClick:ce,onDoubleClick:fe,onContextMenu:pe,onMouseEnter:se,onMouseMove:ee,onMouseLeave:le,onKeyDown:H?be:void 0,tabIndex:H?0:void 0,role:p[m(716)]??(H?"group":m(1816)),"aria-roledescription":m(1706),"data-id":e,"data-testid":"rf__edge-"+e,"aria-label":p.ariaLabel===null?void 0:p[m(994)]||m(2186)+p[m(2124)]+m(1130)+p[m(1572)],"aria-describedby":H?uc+"-"+w:void 0,ref:q,...p[m(1896)],children:[!G&&l[m(822)](O,{id:e,source:p[m(2124)],target:p[m(1572)],type:p[m(402)],selected:p[m(1412)],animated:p[m(786)],selectable:j,deletable:p.deletable??!0,label:p.label,labelStyle:p[m(2155)],labelShowBg:p[m(1316)],labelBgStyle:p[m(1556)],labelBgPadding:p[m(1879)],labelBgBorderRadius:p.labelBgBorderRadius,sourceX:E,sourceY:Y,targetX:P,targetY:J,sourcePosition:F,targetPosition:$,data:p[m(1074)],style:p.style,sourceHandleId:p[m(1400)],targetHandleId:p[m(819)],markerStart:oe,markerEnd:ie,pathOptions:m(979)in p?p[m(979)]:void 0,interactionWidth:p.interactionWidth}),T&&l[m(822)](eh,{edge:p,isReconnectable:T,reconnectRadius:d,onReconnect:f,onReconnectStart:b,onReconnectEnd:g,sourceX:E,sourceY:Y,targetX:P,targetY:J,sourcePosition:F,targetPosition:$,setUpdateHover:X,setReconnecting:L})]})})}var th=D[c(2149)](nh);const xh=e=>({edgesFocusable:e.edgesFocusable,edgesReconnectable:e[c(1760)],elementsSelectable:e[c(507)],connectionMode:e[c(377)],onError:e[c(856)]});function xs({defaultMarkerColor:e,onlyRenderVisibleElements:n,rfId:t,edgeTypes:o,noPanClassName:x,onReconnect:r,onEdgeContextMenu:i,onEdgeMouseEnter:a,onEdgeMouseMove:u,onEdgeMouseLeave:s,onEdgeClick:d,reconnectRadius:f,onEdgeDoubleClick:b,onReconnectStart:g,onReconnectEnd:w,disableKeyboardA11y:h}){const v=c,{edgesFocusable:M,edgesReconnectable:y,elementsSelectable:m,onError:p}=Ae(xh,Ge),z=V3(n);return l.jsxs(v(1022),{className:v(493),children:[l[v(822)](Z3,{defaultColor:e,rfId:t}),z.map(I=>l[v(822)](th,{id:I,edgesFocusable:M,edgesReconnectable:y,elementsSelectable:m,noPanClassName:x,onReconnect:r,onContextMenu:i,onMouseEnter:a,onMouseMove:u,onMouseLeave:s,onClick:d,reconnectRadius:f,onDoubleClick:b,onReconnectStart:g,onReconnectEnd:w,rfId:t,onError:p,edgeTypes:o,disableKeyboardA11y:h},I))]})}xs.displayName=c(595);const oh=D[c(2149)](xs),rh=e=>"translate("+e[c(1844)][0]+"px,"+e[c(1844)][1]+c(462)+e[c(1844)][2]+")";function ih({children:e}){const n=c,t=Ae(rh);return l[n(822)](n(1022),{className:n(947),style:{transform:t},children:e})}function ah(e){const n=c,t=Jo(),o=D.useRef(!1);D[n(713)](()=>{const x=n;!o[x(2225)]&&t[x(524)]&&e&&(setTimeout(()=>e(t),1),o[x(2225)]=!0)},[e,t[n(524)]])}const ch=e=>e.panZoom?.syncViewport;function sh(e){const n=c,t=Ae(ch),o=He();return D[n(713)](()=>{const x=n;e&&(t?.(e),o[x(1092)]({transform:[e.x,e.y,e[x(585)]]}))},[e,t]),null}function lh(e){const n=c;return e[n(548)][n(1010)]?{...e[n(548)],to:Lt(e[n(548)].to,e[n(1844)])}:{...e[n(548)]}}function dh(e){return lh}function uh(e){const n=dh();return Ae(n,Ge)}const fh=e=>({nodesConnectable:e[c(1692)],isValid:e[c(548)].isValid,inProgress:e[c(548)][c(1010)],width:e[c(1142)],height:e[c(505)]});function hh({containerStyle:e,style:n,type:t,component:o}){const x=c,{nodesConnectable:r,width:i,height:a,isValid:u,inProgress:s}=Ae(fh,Ge);return!(i&&r&&s)?null:l[x(822)](x(1699),{style:e,width:i,height:a,className:x(1490),children:l[x(822)]("g",{className:Ke(["react-flow__connection",da(u)]),children:l[x(822)](os,{style:n,type:t,CustomComponent:o,isValid:u})})})}const os=({style:e,type:n=Q0.Bezier,CustomComponent:t,isValid:o})=>{const x=c,{inProgress:r,from:i,fromNode:a,fromHandle:u,fromPosition:s,to:d,toNode:f,toHandle:b,toPosition:g,pointer:w}=uh();if(!r)return;if(t)return l[x(822)](t,{connectionLineType:n,connectionLineStyle:e,fromNode:a,fromHandle:u,fromX:i.x,fromY:i.y,toX:d.x,toY:d.y,fromPosition:s,toPosition:g,connectionStatus:da(o),toNode:f,toHandle:b,pointer:w});let h="";const v={sourceX:i.x,sourceY:i.y,sourcePosition:s,targetX:d.x,targetY:d.y,targetPosition:g};switch(n){case Q0[x(1779)]:[h]=Sa(v);break;case Q0.SimpleBezier:[h]=Vc(v);break;case Q0[x(2045)]:[h]=Ao({...v,borderRadius:0});break;case Q0[x(1224)]:[h]=Ao(v);break;default:[h]=Pa(v)}return l[x(822)]("path",{d:h,fill:x(559),className:x(2086),style:e})};os.displayName=c(1253);const gh={};function rs(e=gh){const n=c,t=D[n(2134)](e),o=He();D[n(713)](()=>{const x=n;if(process.env.NODE_ENV===x(499)){const r=new Set([...Object[x(1772)](t[x(2225)]),...Object[x(1772)](e)]);for(const i of r)if(t[x(2225)][i]!==e[i]){o[x(1537)]()[x(856)]?.("002",g0.error002());break}t.current=e}},[e])}function bh(){const e=c,n=He(),t=D.useRef(!1);D[e(713)](()=>{const o=e;if(process.env.NODE_ENV===o(499)&&!t.current){const x=document[o(644)](o(620));x&&window.getComputedStyle(x)[o(441)]!=="1"&&n.getState()[o(856)]?.("013",g0[o(1551)](o(1637))),t[o(2225)]=!0}},[])}function is({nodeTypes:e,edgeTypes:n,onInit:t,onNodeClick:o,onEdgeClick:x,onNodeDoubleClick:r,onEdgeDoubleClick:i,onNodeMouseEnter:a,onNodeMouseMove:u,onNodeMouseLeave:s,onNodeContextMenu:d,onSelectionContextMenu:f,onSelectionStart:b,onSelectionEnd:g,connectionLineType:w,connectionLineStyle:h,connectionLineComponent:v,connectionLineContainerStyle:M,selectionKeyCode:y,selectionOnDrag:m,selectionMode:p,multiSelectionKeyCode:z,panActivationKeyCode:I,zoomActivationKeyCode:O,deleteKeyCode:H,onlyRenderVisibleElements:T,elementsSelectable:j,defaultViewport:q,translateExtent:V,minZoom:X,maxZoom:G,preventScrolling:L,defaultMarkerColor:N,zoomOnScroll:B,zoomOnPinch:E,panOnScroll:Y,panOnScrollSpeed:P,panOnScrollMode:J,zoomOnDoubleClick:F,panOnDrag:$,onPaneClick:oe,onPaneMouseEnter:ie,onPaneMouseMove:ce,onPaneMouseLeave:fe,onPaneScroll:pe,onPaneContextMenu:se,paneClickDistance:ee,nodeClickDistance:le,onEdgeContextMenu:be,onEdgeMouseEnter:U,onEdgeMouseMove:A,onEdgeMouseLeave:R,reconnectRadius:te,onReconnect:ne,onReconnectStart:W,onReconnectEnd:re,noDragClassName:ze,noWheelClassName:Me,noPanClassName:Ie,disableKeyboardA11y:Ee,nodeExtent:Ye,rfId:Se,viewport:De,onViewportChange:Ve}){const je=c;return rs(e),rs(n),bh(),ah(t),sh(De),l[je(822)](I3,{onPaneClick:oe,onPaneMouseEnter:ie,onPaneMouseMove:ce,onPaneMouseLeave:fe,onPaneContextMenu:se,onPaneScroll:pe,paneClickDistance:ee,deleteKeyCode:H,selectionKeyCode:y,selectionOnDrag:m,selectionMode:p,onSelectionStart:b,onSelectionEnd:g,multiSelectionKeyCode:z,panActivationKeyCode:I,zoomActivationKeyCode:O,elementsSelectable:j,zoomOnScroll:B,zoomOnPinch:E,zoomOnDoubleClick:F,panOnScroll:Y,panOnScrollSpeed:P,panOnScrollMode:J,panOnDrag:$,defaultViewport:q,translateExtent:V,minZoom:X,maxZoom:G,onSelectionContextMenu:f,preventScrolling:L,noDragClassName:ze,noWheelClassName:Me,noPanClassName:Ie,disableKeyboardA11y:Ee,onViewportChange:Ve,isControlledViewport:!!De,children:l.jsxs(ih,{children:[l[je(822)](oh,{edgeTypes:n,onEdgeClick:x,onEdgeDoubleClick:i,onReconnect:ne,onReconnectStart:W,onReconnectEnd:re,onlyRenderVisibleElements:T,onEdgeContextMenu:be,onEdgeMouseEnter:U,onEdgeMouseMove:A,onEdgeMouseLeave:R,reconnectRadius:te,defaultMarkerColor:N,noPanClassName:Ie,disableKeyboardA11y:Ee,rfId:Se}),l.jsx(hh,{style:h,type:w,component:v,containerStyle:M}),l[je(822)](je(1022),{className:"react-flow__edgelabel-renderer"}),l.jsx(H3,{nodeTypes:e,onNodeClick:o,onNodeDoubleClick:r,onNodeMouseEnter:a,onNodeMouseMove:u,onNodeMouseLeave:s,onNodeContextMenu:d,nodeClickDistance:le,onlyRenderVisibleElements:T,noPanClassName:Ie,noDragClassName:ze,disableKeyboardA11y:Ee,nodeExtent:Ye,rfId:Se}),l[je(822)](je(1022),{className:je(2137)})]})})}is[c(812)]=c(751);const yh=D[c(2149)](is),as=({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:i,fitViewOptions:a,minZoom:u=.5,maxZoom:s=2,nodeOrigin:d,nodeExtent:f,zIndexMode:b=c(1061)}={})=>{const g=c,w=new Map,h=new Map,v=new Map,M=new Map,y=o??n??[],m=t??e??[],p=d??[0,0],z=f??pt;Va(v,M,y);const{nodesInitialized:I}=Oo(m,w,h,{nodeOrigin:p,nodeExtent:z,zIndexMode:b});let O=[0,0,1];if(i&&x&&r){const H=Mt(w,{filter:V=>!!((V.width||V[g(1340)])&&(V.height||V[g(647)]))}),{x:T,y:j,zoom:q}=Io(H,x,r,u,s,a?.padding??.1);O=[T,j,q]}return{rfId:"1",width:x??0,height:r??0,transform:O,nodes:m,nodesInitialized:I,nodeLookup:w,parentLookup:h,edges:y,edgeLookup:M,connectionLookup:v,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:t!==void 0,hasDefaultEdges:o!==void 0,panZoom:null,minZoom:u,maxZoom:s,translateExtent:pt,nodeExtent:z,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:Un.Strict,domNode:null,paneDragging:!1,noPanClassName:"nopan",nodeOrigin:p,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:{...sa},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:wa,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:g(1637),debug:!1,ariaLabelConfig:ca,zIndexMode:b,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},mh=({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:i,fitViewOptions:a,minZoom:u,maxZoom:s,nodeOrigin:d,nodeExtent:f,zIndexMode:b})=>U2((g,w)=>{async function h(){const{nodeLookup:v,panZoom:M,fitViewOptions:y,fitViewResolver:m,width:p,height:z,minZoom:I,maxZoom:O}=w();M&&(await P5({nodes:v,width:p,height:z,panZoom:M,minZoom:I,maxZoom:O},y),m?.resolve(!0),g({fitViewResolver:null}))}return{...as({nodes:e,edges:n,width:x,height:r,fitView:i,fitViewOptions:a,minZoom:u,maxZoom:s,nodeOrigin:d,nodeExtent:f,defaultNodes:t,defaultEdges:o,zIndexMode:b}),setNodes:v=>{const{nodeLookup:M,parentLookup:y,nodeOrigin:m,elevateNodesOnSelect:p,fitViewQueued:z,zIndexMode:I,nodesSelectionActive:O}=w(),{nodesInitialized:H,hasSelectedNodes:T}=Oo(v,M,y,{nodeOrigin:m,nodeExtent:f,elevateNodesOnSelect:p,checkEquality:!0,zIndexMode:I}),j=O&&T;z&&H?(h(),g({nodes:v,nodesInitialized:H,fitViewQueued:!1,fitViewOptions:void 0,nodesSelectionActive:j})):g({nodes:v,nodesInitialized:H,nodesSelectionActive:j})},setEdges:v=>{const{connectionLookup:M,edgeLookup:y}=w();Va(M,y,v),g({edges:v})},setDefaultNodesAndEdges:(v,M)=>{if(v){const{setNodes:y}=w();y(v),g({hasDefaultNodes:!0})}if(M){const{setEdges:y}=w();y(M),g({hasDefaultEdges:!0})}},updateNodeInternals:v=>{const M=_0x31ec,{triggerNodeChanges:y,nodeLookup:m,parentLookup:p,domNode:z,nodeOrigin:I,nodeExtent:O,debug:H,fitViewQueued:T,zIndexMode:j}=w(),{changes:q,updatedInternals:V}=e2(v,m,p,z,I,O,j);V&&(J5(m,p,{nodeOrigin:I,nodeExtent:O,zIndexMode:j}),T?(h(),g({fitViewQueued:!1,fitViewOptions:void 0})):g({}),q?.length>0&&(H&&console[M(1028)](M(1222),q),y?.(q)))},updateNodePositions:(v,M=!1)=>{const y=_0x31ec,m=[];let p=[];const{nodeLookup:z,triggerNodeChanges:I,connection:O,updateConnection:H,onNodesChangeMiddlewareMap:T}=w();for(const[j,q]of v){const V=z[y(1187)](j),X=!!(V?.[y(694)]&&V?.parentId&&q?.[y(582)]),G={id:j,type:y(582),position:X?{x:Math[y(1824)](0,q[y(582)].x),y:Math.max(0,q[y(582)].y)}:q[y(582)],dragging:M};if(V&&O[y(1010)]&&O[y(2150)].id===V.id){const L=gn(V,O[y(1249)],Ce.Left,!0);H({...O,from:L})}X&&V.parentId&&m[y(591)]({id:j,parentId:V[y(1913)],rect:{...q.internals[y(1197)],width:q[y(1927)].width??0,height:q[y(1927)].height??0}}),p.push(G)}if(m[y(1115)]>0){const{parentLookup:j,nodeOrigin:q}=w(),V=Ho(m,z,j,q);p[y(591)](...V)}for(const j of T[y(1442)]())p=j(p);I(p)},triggerNodeChanges:v=>{const M=_0x31ec,{onNodesChange:y,setNodes:m,nodes:p,hasDefaultNodes:z,debug:I}=w();if(v?.[M(1115)]){if(z){const O=pc(v,p);m(O)}I&&console[M(1028)](M(1222),v),y?.(v)}},triggerEdgeChanges:v=>{const M=_0x31ec,{onEdgesChange:y,setEdges:m,edges:p,hasDefaultEdges:z,debug:I}=w();if(v?.[M(1115)]){if(z){const O=zc(v,p);m(O)}I&&console[M(1028)](M(1641),v),y?.(v)}},addSelectedNodes:v=>{const{multiSelectionActive:M,edgeLookup:y,nodeLookup:m,triggerNodeChanges:p,triggerEdgeChanges:z}=w();if(M){const I=v.map(O=>bn(O,!0));p(I);return}p(Wn(m,new Set([...v]),!0)),z(Wn(y))},addSelectedEdges:v=>{const M=_0x31ec,{multiSelectionActive:y,edgeLookup:m,nodeLookup:p,triggerNodeChanges:z,triggerEdgeChanges:I}=w();if(y){const O=v[M(477)](H=>bn(H,!0));I(O);return}I(Wn(m,new Set([...v]))),z(Wn(p,new Set,!0))},unselectNodesAndEdges:({nodes:v,edges:M}={})=>{const y=_0x31ec,{edges:m,nodes:p,nodeLookup:z,triggerNodeChanges:I,triggerEdgeChanges:O}=w(),H=v||p,T=M||m,j=[];for(const V of H){if(!V[y(1412)])continue;const X=z[y(1187)](V.id);X&&(X[y(1412)]=!1),j[y(591)](bn(V.id,!1))}const q=[];for(const V of T)V[y(1412)]&&q[y(591)](bn(V.id,!1));I(j),O(q)},setMinZoom:v=>{const{panZoom:M,maxZoom:y}=w();M?.setScaleExtent([v,y]),g({minZoom:v})},setMaxZoom:v=>{const M=_0x31ec,{panZoom:y,minZoom:m}=w();y?.[M(792)]([m,v]),g({maxZoom:v})},setTranslateExtent:v=>{const M=_0x31ec;w()[M(1247)]?.[M(675)](v),g({translateExtent:v})},resetSelectedElements:()=>{const v=_0x31ec,{edges:M,nodes:y,triggerNodeChanges:m,triggerEdgeChanges:p,elementsSelectable:z}=w();if(!z)return;const I=y.reduce((H,T)=>T[v(1412)]?[...H,bn(T.id,!1)]:H,[]),O=M[v(1267)]((H,T)=>T[v(1412)]?[...H,bn(T.id,!1)]:H,[]);m(I),p(O)},setNodeExtent:v=>{const{nodes:M,nodeLookup:y,parentLookup:m,nodeOrigin:p,elevateNodesOnSelect:z,nodeExtent:I,zIndexMode:O}=w();v[0][0]===I[0][0]&&v[0][1]===I[0][1]&&v[1][0]===I[1][0]&&v[1][1]===I[1][1]||(Oo(M,y,m,{nodeOrigin:p,nodeExtent:v,elevateNodesOnSelect:z,checkEquality:!1,zIndexMode:O}),g({nodeExtent:v}))},panBy:v=>{const{transform:M,width:y,height:m,panZoom:p,translateExtent:z}=w();return n2({delta:v,panZoom:p,transform:M,translateExtent:z,width:y,height:m})},setCenter:async(v,M,y)=>{const m=_0x31ec,{width:p,height:z,maxZoom:I,panZoom:O}=w();if(!O)return Promise[m(481)](!1);const H=typeof y?.zoom!==m(2053)?y[m(585)]:I;return await O[m(573)]({x:p/2-v*H,y:z/2-M*H,zoom:H},{duration:y?.[m(859)],ease:y?.[m(1644)],interpolate:y?.[m(2128)]}),Promise[m(481)](!0)},cancelConnection:()=>{g({connection:{...sa}})},updateConnection:v=>{g({connection:v})},reset:()=>g({...as()})}},Object.is);function wh({initialNodes:e,initialEdges:n,defaultNodes:t,defaultEdges:o,initialWidth:x,initialHeight:r,initialMinZoom:i,initialMaxZoom:a,initialFitViewOptions:u,fitView:s,nodeOrigin:d,nodeExtent:f,zIndexMode:b,children:g}){const w=c,[h]=D.useState(()=>mh({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:s,minZoom:i,maxZoom:a,fitViewOptions:u,nodeOrigin:d,nodeExtent:f,zIndexMode:b}));return l[w(822)](O2,{value:h,children:l[w(822)](i3,{children:g})})}function vh({children:e,nodes:n,edges:t,defaultNodes:o,defaultEdges:x,width:r,height:i,fitView:a,fitViewOptions:u,minZoom:s,maxZoom:d,nodeOrigin:f,nodeExtent:b,zIndexMode:g}){const w=c;return D[w(1387)](Nx)?l.jsx(l[w(2135)],{children:e}):l[w(822)](wh,{initialNodes:n,initialEdges:t,defaultNodes:o,defaultEdges:x,initialWidth:r,initialHeight:i,fitView:a,initialFitViewOptions:u,initialMinZoom:s,initialMaxZoom:d,nodeOrigin:f,nodeExtent:b,zIndexMode:g,children:e})}const ph={width:c(2017),height:"100%",overflow:c(1123),position:c(554),zIndex:0};function zh({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,className:x,nodeTypes:r,edgeTypes:i,onNodeClick:a,onEdgeClick:u,onInit:s,onMove:d,onMoveStart:f,onMoveEnd:b,onConnect:g,onConnectStart:w,onConnectEnd:h,onClickConnectStart:v,onClickConnectEnd:M,onNodeMouseEnter:y,onNodeMouseMove:m,onNodeMouseLeave:p,onNodeContextMenu:z,onNodeDoubleClick:I,onNodeDragStart:O,onNodeDrag:H,onNodeDragStop:T,onNodesDelete:j,onEdgesDelete:q,onDelete:V,onSelectionChange:X,onSelectionDragStart:G,onSelectionDrag:L,onSelectionDragStop:N,onSelectionContextMenu:B,onSelectionStart:E,onSelectionEnd:Y,onBeforeDelete:P,connectionMode:J,connectionLineType:F=Q0[c(1779)],connectionLineStyle:$,connectionLineComponent:oe,connectionLineContainerStyle:ie,deleteKeyCode:ce=c(1035),selectionKeyCode:fe=c(774),selectionOnDrag:pe=!1,selectionMode:se=zt[c(1220)],panActivationKeyCode:ee=c(1652),multiSelectionKeyCode:le=Nt()?c(728):c(1037),zoomActivationKeyCode:be=Nt()?c(728):"Control",snapToGrid:U,snapGrid:A,onlyRenderVisibleElements:R=!1,selectNodesOnDrag:te,nodesDraggable:ne,autoPanOnNodeFocus:W,nodesConnectable:re,nodesFocusable:ze,nodeOrigin:Me=fc,edgesFocusable:Ie,edgesReconnectable:Ee,elementsSelectable:Ye=!0,defaultViewport:Se=Q2,minZoom:De=.5,maxZoom:Ve=2,translateExtent:je=pt,preventScrolling:Xe=!0,nodeExtent:Ze,defaultMarkerColor:n0=c(1630),zoomOnScroll:m0=!0,zoomOnPinch:L0=!0,panOnScroll:r0=!1,panOnScrollSpeed:l0=.5,panOnScrollMode:i0=fn.Free,zoomOnDoubleClick:d0=!0,panOnDrag:b0=!0,onPaneClick:q0,onPaneMouseEnter:tn,onPaneMouseMove:W0,onPaneMouseLeave:Re,onPaneScroll:yn,onPaneContextMenu:t0,paneClickDistance:j0=1,nodeClickDistance:N0=0,children:Zn,onReconnect:nr,onReconnectStart:tr,onReconnectEnd:xr,onEdgeContextMenu:or,onEdgeDoubleClick:rr,onEdgeMouseEnter:ir,onEdgeMouseMove:ar,onEdgeMouseLeave:It,reconnectRadius:Ux=10,onNodesChange:Ox,onEdgesChange:Gx,noDragClassName:Hx=c(588),noWheelClassName:Vx=c(1643),noPanClassName:Pt=c(1185),fitView:At,fitViewOptions:Kn,connectOnClick:mn,attributionPosition:wn,proOptions:cr,defaultEdgeOptions:X0,elevateNodesOnSelect:Tx=!0,elevateEdgesOnSelect:qx=!1,disableKeyboardA11y:Rn=!1,autoPanOnConnect:sr,autoPanOnNodeDrag:Et,autoPanSpeed:lr,connectionRadius:dr,isValidConnection:ur,onError:Wx,style:Xx,id:_n,nodeDragThreshold:Zx,connectionDragThreshold:jt,viewport:k,onViewportChange:S,width:Q,height:K,colorMode:xe=c(1292),debug:Z,onScroll:_,ariaLabelConfig:ye,zIndexMode:me="basic",...ue},he){const we=c,Le=_n||"1",Be=n3(xe),ve=D[we(1832)](Ue=>{const Pe=we;Ue.currentTarget.scrollTo({top:0,left:0,behavior:Pe(572)}),_?.(Ue)},[_]);return l[we(822)](we(1022),{"data-testid":we(698),...ue,onScroll:ve,style:{...Xx,...ph},ref:he,className:Ke([we(1942),x,Be]),id:_n,role:we(1409),children:l[we(1183)](vh,{nodes:e,edges:n,width:Q,height:K,fitView:At,fitViewOptions:Kn,minZoom:De,maxZoom:Ve,nodeOrigin:Me,nodeExtent:Ze,zIndexMode:me,children:[l[we(822)](e3,{nodes:e,edges:n,defaultNodes:t,defaultEdges:o,onConnect:g,onConnectStart:w,onConnectEnd:h,onClickConnectStart:v,onClickConnectEnd:M,nodesDraggable:ne,autoPanOnNodeFocus:W,nodesConnectable:re,nodesFocusable:ze,edgesFocusable:Ie,edgesReconnectable:Ee,elementsSelectable:Ye,elevateNodesOnSelect:Tx,elevateEdgesOnSelect:qx,minZoom:De,maxZoom:Ve,nodeExtent:Ze,onNodesChange:Ox,onEdgesChange:Gx,snapToGrid:U,snapGrid:A,connectionMode:J,translateExtent:je,connectOnClick:mn,defaultEdgeOptions:X0,fitView:At,fitViewOptions:Kn,onNodesDelete:j,onEdgesDelete:q,onDelete:V,onNodeDragStart:O,onNodeDrag:H,onNodeDragStop:T,onSelectionDrag:L,onSelectionDragStart:G,onSelectionDragStop:N,onMove:d,onMoveStart:f,onMoveEnd:b,noPanClassName:Pt,nodeOrigin:Me,rfId:Le,autoPanOnConnect:sr,autoPanOnNodeDrag:Et,autoPanSpeed:lr,onError:Wx,connectionRadius:dr,isValidConnection:ur,selectNodesOnDrag:te,nodeDragThreshold:Zx,connectionDragThreshold:jt,onBeforeDelete:P,debug:Z,ariaLabelConfig:ye,zIndexMode:me}),l.jsx(yh,{onInit:s,onNodeClick:a,onEdgeClick:u,onNodeMouseEnter:y,onNodeMouseMove:m,onNodeMouseLeave:p,onNodeContextMenu:z,onNodeDoubleClick:I,nodeTypes:r,edgeTypes:i,connectionLineType:F,connectionLineStyle:$,connectionLineComponent:oe,connectionLineContainerStyle:ie,selectionKeyCode:fe,selectionOnDrag:pe,selectionMode:se,deleteKeyCode:ce,multiSelectionKeyCode:le,panActivationKeyCode:ee,zoomActivationKeyCode:be,onlyRenderVisibleElements:R,defaultViewport:Se,translateExtent:je,minZoom:De,maxZoom:Ve,preventScrolling:Xe,zoomOnScroll:m0,zoomOnPinch:L0,zoomOnDoubleClick:d0,panOnScroll:r0,panOnScrollSpeed:l0,panOnScrollMode:i0,panOnDrag:b0,onPaneClick:q0,onPaneMouseEnter:tn,onPaneMouseMove:W0,onPaneMouseLeave:Re,onPaneScroll:yn,onPaneContextMenu:t0,paneClickDistance:j0,nodeClickDistance:N0,onSelectionContextMenu:B,onSelectionStart:E,onSelectionEnd:Y,onReconnect:nr,onReconnectStart:tr,onReconnectEnd:xr,onEdgeContextMenu:or,onEdgeDoubleClick:rr,onEdgeMouseEnter:ir,onEdgeMouseMove:ar,onEdgeMouseLeave:It,reconnectRadius:Ux,defaultMarkerColor:n0,noDragClassName:Hx,noWheelClassName:Vx,noPanClassName:Pt,rfId:Le,disableKeyboardA11y:Rn,nodeExtent:Ze,viewport:k,onViewportChange:S}),l[we(822)](J2,{onSelectionChange:X}),Zn,l[we(822)](X2,{proOptions:cr,position:wn}),l[we(822)](W2,{rfId:Le,disableKeyboardA11y:Rn})]})})}var Ch=Dc(zh);function Mh(e){const n=c,[t,o]=D[n(955)](e),x=D[n(1832)](r=>o(i=>pc(r,i)),[]);return[t,o,x]}function Bh(e){const n=c,[t,o]=D[n(955)](e),x=D[n(1832)](r=>o(i=>zc(r,i)),[]);return[t,o,x]}function Dh({dimensions:e,lineWidth:n,variant:t,className:o}){const x=c;return l[x(822)]("path",{strokeWidth:n,d:"M"+e[0]/2+x(1280)+e[1]+" M0 "+e[1]/2+" H"+e[0],className:Ke([x(784),t,o])})}function Lh({radius:e,className:n}){const t=c;return l[t(822)](t(2207),{cx:e,cy:e,r:e,className:Ke([t(784),"dots",n])})}var en;(function(e){const n=c;e[n(1649)]=n(1766),e[n(1881)]="dots",e[n(1658)]="cross"})(en||(en={}));const Nh={[en.Dots]:1,[en[c(1649)]]:1,[en[c(1658)]]:6},Sh=e=>({transform:e[c(1844)],patternId:"pattern-"+e.rfId});function cs({id:e,variant:n=en[c(1881)],gap:t=20,size:o,lineWidth:x=1,offset:r=0,color:i,bgColor:a,style:u,className:s,patternClassName:d}){const f=c,b=D.useRef(null),{transform:g,patternId:w}=Ae(Sh,Ge),h=o||Nh[n],v=n===en[f(1881)],M=n===en[f(1658)],y=Array[f(1405)](t)?t:[t,t],m=[y[0]*g[2]||1,y[1]*g[2]||1],p=h*g[2],z=Array[f(1405)](r)?r:[r,r],I=M?[p,p]:m,O=[z[0]*g[2]||1+I[0]/2,z[1]*g[2]||1+I[1]/2],H=""+w+(e||"");return l.jsxs(f(1699),{className:Ke([f(2228),s]),style:{...u,...Ix,"--xy-background-color-props":a,"--xy-background-pattern-color-props":i},ref:b,"data-testid":"rf__background",children:[l[f(822)](f(1961),{id:H,x:g[0]%m[0],y:g[1]%m[1],width:m[0],height:m[1],patternUnits:f(2019),patternTransform:f(447)+O[0]+",-"+O[1]+")",children:v?l.jsx(Lh,{radius:p/2,className:d}):l.jsx(Dh,{dimensions:I,lineWidth:x,variant:n,className:d})}),l[f(822)](f(415),{x:"0",y:"0",width:f(2017),height:f(2017),fill:f(1784)+H+")"})]})}cs[c(812)]=c(1331);const kh=D[c(2149)](cs);function Ih(){const e=c;return l[e(822)]("svg",{xmlns:e(1932),viewBox:"0 0 32 32",children:l[e(822)](e(1137),{d:e(1727)})})}function Ph(){const e=c;return l.jsx(e(1699),{xmlns:e(1932),viewBox:e(2129),children:l[e(822)]("path",{d:"M0 0h32v4.2H0z"})})}function Ah(){const e=c;return l[e(822)](e(1699),{xmlns:e(1932),viewBox:"0 0 32 30",children:l[e(822)]("path",{d:e(2227)})})}function Eh(){const e=c;return l.jsx(e(1699),{xmlns:e(1932),viewBox:e(1453),children:l[e(822)](e(1137),{d:e(1982)})})}function jh(){const e=c;return l[e(822)](e(1699),{xmlns:e(1932),viewBox:e(1453),children:l[e(822)](e(1137),{d:e(1912)})})}function Ex({children:e,className:n,...t}){return l[c(822)]("button",{type:"button",className:Ke(["react-flow__controls-button",n]),...t,children:e})}const Yh=e=>({isInteractive:e[c(500)]||e[c(1692)]||e[c(507)],minZoomReached:e[c(1844)][2]<=e[c(569)],maxZoomReached:e.transform[2]>=e[c(1056)],ariaLabelConfig:e[c(1654)]});function ss({style:e,showZoom:n=!0,showFitView:t=!0,showInteractive:o=!0,fitViewOptions:x,onZoomIn:r,onZoomOut:i,onFitView:a,onInteractiveChange:u,className:s,children:d,position:f=c(1047),orientation:b=c(2022),"aria-label":g}){const w=c,h=He(),{isInteractive:v,minZoomReached:M,maxZoomReached:y,ariaLabelConfig:m}=Ae(Yh,Ge),{zoomIn:p,zoomOut:z,fitView:I}=Jo(),O=()=>{p(),r?.()},H=()=>{z(),i?.()},T=()=>{I(x),a?.()},j=()=>{h[_0x31ec(1092)]({nodesDraggable:!v,nodesConnectable:!v,elementsSelectable:!v}),u?.(!v)},q=b===w(1376)?w(1376):w(2022);return l[w(1183)](Sx,{className:Ke([w(1208),q,s]),position:f,style:e,"data-testid":w(1604),"aria-label":g??m[w(718)],children:[n&&l[w(1183)](l[w(2135)],{children:[l[w(822)](Ex,{onClick:O,className:w(1536),title:m[w(1871)],"aria-label":m["controls.zoomIn.ariaLabel"],disabled:y,children:l[w(822)](Ih,{})}),l[w(822)](Ex,{onClick:H,className:w(1878),title:m[w(2127)],"aria-label":m[w(2127)],disabled:M,children:l[w(822)](Ph,{})})]}),t&&l[w(822)](Ex,{className:w(437),onClick:T,title:m[w(2171)],"aria-label":m[w(2171)],children:l[w(822)](Ah,{})}),o&&l[w(822)](Ex,{className:w(1065),onClick:j,title:m["controls.interactive.ariaLabel"],"aria-label":m[w(971)],children:v?l[w(822)](jh,{}):l.jsx(Eh,{})}),d]})}ss.displayName=c(1150);const Uh=D[c(2149)](ss);function Oh({id:e,x:n,y:t,width:o,height:x,style:r,color:i,strokeColor:a,strokeWidth:u,className:s,borderRadius:d,shapeRendering:f,selected:b,onClick:g}){const w=c,{background:h,backgroundColor:v}=r||{},M=i||h||v;return l[w(822)](w(415),{className:Ke([w(662),{selected:b},s]),x:n,y:t,rx:d,ry:d,width:o,height:x,style:{fill:M,stroke:a,strokeWidth:u},shapeRendering:f,onClick:g?y=>g(y,e):void 0})}const Gh=D.memo(Oh),Hh=e=>e.nodes[c(477)](n=>n.id),er=e=>e instanceof Function?e:()=>e;function Vh({nodeStrokeColor:e,nodeColor:n,nodeClassName:t="",nodeBorderRadius:o=5,nodeStrokeWidth:x,nodeComponent:r=Gh,onClick:i}){const a=c,u=Ae(Hh,Ge),s=er(n),d=er(e),f=er(t),b=typeof window===a(2053)||window[a(381)]?a(2193):"geometricPrecision";return l[a(822)](l[a(2135)],{children:u.map(g=>l[a(822)](qh,{id:g,nodeColorFunc:s,nodeStrokeColorFunc:d,nodeClassNameFunc:f,nodeBorderRadius:o,nodeStrokeWidth:x,NodeComponent:r,onClick:i,shapeRendering:b},g))})}function Th({id:e,nodeColorFunc:n,nodeStrokeColorFunc:t,nodeClassNameFunc:o,nodeBorderRadius:x,nodeStrokeWidth:r,shapeRendering:i,NodeComponent:a,onClick:u}){const s=c,{node:d,x:f,y:b,width:g,height:w}=Ae(h=>{const v=_0x31ec,M=h[v(2068)][v(1187)](e);if(!M)return{node:void 0,x:0,y:0,width:0,height:0};const y=M[v(2219)][v(408)],{x:m,y:p}=M[v(2219)][v(1197)],{width:z,height:I}=T0(y);return{node:y,x:m,y:p,width:z,height:I}},Ge);return!d||d.hidden||!va(d)?null:l[s(822)](a,{x:f,y:b,width:g,height:w,style:d.style,selected:!!d[s(1412)],className:o(d),color:n(d),borderRadius:x,strokeColor:t(d),strokeWidth:r,shapeRendering:i,onClick:u,id:d.id})}const qh=D[c(2149)](Th);var Wh=D[c(2149)](Vh);const Xh=200,Zh=150,Kh=e=>!e[c(1123)],Rh=e=>{const n=c,t={x:-e[n(1844)][0]/e[n(1844)][2],y:-e[n(1844)][1]/e.transform[2],width:e[n(1142)]/e[n(1844)][2],height:e.height/e[n(1844)][2]};return{viewBB:t,boundingRect:e[n(2068)][n(435)]>0?ya(Mt(e[n(2068)],{filter:Kh}),t):t,rfId:e.rfId,panZoom:e[n(1247)],translateExtent:e[n(2206)],flowWidth:e[n(1142)],flowHeight:e[n(505)],ariaLabelConfig:e[n(1654)]}},_h="react-flow__minimap-desc";function ls({style:e,className:n,nodeStrokeColor:t,nodeColor:o,nodeClassName:x="",nodeBorderRadius:r=5,nodeStrokeWidth:i,nodeComponent:a,bgColor:u,maskColor:s,maskStrokeColor:d,maskStrokeWidth:f,position:b=c(1550),onClick:g,onNodeClick:w,pannable:h=!1,zoomable:v=!1,ariaLabel:M,inversePan:y,zoomStep:m=1,offsetScale:p=5}){const z=c,I=He(),O=D[z(2134)](null),{boundingRect:H,viewBB:T,rfId:j,panZoom:q,translateExtent:V,flowWidth:X,flowHeight:G,ariaLabelConfig:L}=Ae(Rh,Ge),N=e?.width??Xh,B=e?.[z(505)]??Zh,E=H[z(1142)]/N,Y=H[z(505)]/B,P=Math[z(1824)](E,Y),J=P*N,F=P*B,$=p*P,oe=H.x-(J-H[z(1142)])/2-$,ie=H.y-(F-H[z(505)])/2-$,ce=J+$*2,fe=F+$*2,pe=_h+"-"+j,se=D[z(2134)](0),ee=D.useRef();se[z(2225)]=P,D[z(713)](()=>{const A=z;if(O[A(2225)]&&q)return ee[A(2225)]=l2({domNode:O[A(2225)],panZoom:q,getTransform:()=>I[A(1537)]()[A(1844)],getViewScale:()=>se[A(2225)]}),()=>{const R=A;ee[R(2225)]?.[R(1951)]()}},[q]),D.useEffect(()=>{ee[z(2225)]?.update({translateExtent:V,width:X,height:G,inversePan:y,pannable:h,zoomStep:m,zoomable:v})},[h,v,y,m,V,X,G]);const le=g?A=>{const R=z,[te,ne]=ee[R(2225)]?.pointer(A)||[0,0];g(A,{x:te,y:ne})}:void 0,be=w?D[z(1832)]((A,R)=>{const te=z,ne=I.getState()[te(2068)].get(R)[te(2219)].userNode;w(A,ne)},[]):void 0,U=M??L["minimap.ariaLabel"];return l[z(822)](Sx,{position:b,style:{...e,"--xy-minimap-background-color-props":typeof u===z(1890)?u:void 0,"--xy-minimap-mask-background-color-props":typeof s=="string"?s:void 0,"--xy-minimap-mask-stroke-color-props":typeof d===z(1890)?d:void 0,"--xy-minimap-mask-stroke-width-props":typeof f===z(552)?f*P:void 0,"--xy-minimap-node-background-color-props":typeof o=="string"?o:void 0,"--xy-minimap-node-stroke-color-props":typeof t===z(1890)?t:void 0,"--xy-minimap-node-stroke-width-props":typeof i===z(552)?i:void 0},className:Ke([z(1529),n]),"data-testid":z(1455),children:l[z(1183)]("svg",{width:N,height:B,viewBox:oe+" "+ie+" "+ce+" "+fe,className:z(678),role:z(1816),"aria-labelledby":pe,ref:O,onClick:le,children:[U&&l[z(822)](z(1562),{id:pe,children:U}),l[z(822)](Wh,{onClick:be,nodeColor:o,nodeStrokeColor:t,nodeBorderRadius:r,nodeClassName:x,nodeStrokeWidth:i,nodeComponent:a}),l[z(822)](z(1137),{className:z(1429),d:"M"+(oe-$)+","+(ie-$)+"h"+(ce+$*2)+"v"+(fe+$*2)+"h"+(-ce-$*2)+z(1590)+T.x+","+T.y+"h"+T[z(1142)]+"v"+T[z(505)]+"h"+-T[z(1142)]+"z",fillRule:z(946),pointerEvents:z(559)})]})})}ls.displayName=c(1711);const Jh=D[c(2149)](ls),Qh=e=>n=>e?""+Math[c(1824)](1/n[c(1844)][2],1):void 0,Fh={[qn[c(717)]]:c(1862),[qn[c(1744)]]:c(1550)};function $h({nodeId:e,position:n,variant:t=qn[c(1744)],className:o,style:x=void 0,children:r,color:i,minWidth:a=10,minHeight:u=10,maxWidth:s=Number.MAX_VALUE,maxHeight:d=Number[c(1949)],keepAspectRatio:f=!1,resizeDirection:b,autoScale:g=!0,shouldResize:w,onResizeStart:h,onResize:v,onResizeEnd:M}){const y=c,m=Pc(),p=typeof e===y(1890)?e:m,z=He(),I=D.useRef(null),O=t===qn[y(1744)],H=Ae(D[y(1832)](Qh(O&&g),[O,g]),Ge),T=D[y(2134)](null),j=n??Fh[t];D[y(713)](()=>{const V=y;if(!(!I.current||!p))return!T[V(2225)]&&(T[V(2225)]=M2({domNode:I[V(2225)],nodeId:p,getStoreItems:()=>{const X=V,{nodeLookup:G,transform:L,snapGrid:N,snapToGrid:B,nodeOrigin:E,domNode:Y}=z[X(1537)]();return{nodeLookup:G,transform:L,snapGrid:N,snapToGrid:B,nodeOrigin:E,paneDomNode:Y}},onChange:(X,G)=>{const L=V,{triggerNodeChanges:N,nodeLookup:B,parentLookup:E,nodeOrigin:Y}=z[L(1537)](),P=[],J={x:X.x,y:X.y},F=B[L(1187)](p);if(F&&F[L(694)]&&F[L(1913)]){const $=F[L(1273)]??Y,oe=X[L(1142)]??F[L(1927)].width??0,ie=X[L(505)]??F[L(1927)][L(505)]??0,ce={id:F.id,parentId:F[L(1913)],rect:{width:oe,height:ie,...pa({x:X.x??F[L(582)].x,y:X.y??F.position.y},{width:oe,height:ie},F.parentId,B,$)}},fe=Ho([ce],B,E,Y);P[L(591)](...fe),J.x=X.x?Math[L(1824)]($[0]*oe,X.x):void 0,J.y=X.y?Math.max($[1]*ie,X.y):void 0}if(J.x!==void 0&&J.y!==void 0){const $={id:p,type:L(582),position:{...J}};P[L(591)]($)}if(X[L(1142)]!==void 0&&X[L(505)]!==void 0){const $=b?b===L(1376)?L(1142):L(505):!0,oe={id:p,type:L(908),resizing:!0,setAttributes:$,dimensions:{width:X[L(1142)],height:X[L(505)]}};P.push(oe)}for(const $ of G){const oe={...$,type:L(582)};P[L(591)](oe)}N(P)},onEnd:({width:X,height:G})=>{const L=V,N={id:p,type:L(908),resizing:!1,dimensions:{width:X,height:G}};z[L(1537)]()[L(921)]([N])}})),T.current[V(1313)]({controlPosition:j,boundaries:{minWidth:a,minHeight:u,maxWidth:s,maxHeight:d},keepAspectRatio:f,resizeDirection:b,onResizeStart:h,onResize:v,onResizeEnd:M,shouldResize:w}),()=>{const X=V;T[X(2225)]?.[X(1951)]()}},[j,a,u,s,d,f,h,v,M,w]);const q=j[y(1325)]("-");return l[y(822)](y(1022),{className:Ke([y(1836),y(588),...q,t,o]),ref:I,style:{...x,scale:H,...i&&{[O?y(1113):"borderColor"]:i}},children:r})}D.memo($h);const ds=e=>Symbol[c(2121)]in e,us=e=>"entries"in e,fs=(e,n)=>{const t=c,o=e instanceof Map?e:new Map(e[t(690)]()),x=n instanceof Map?n:new Map(n.entries());if(o[t(435)]!==x[t(435)])return!1;for(const[r,i]of o)if(!x[t(1696)](r)||!Object.is(i,x[t(1187)](r)))return!1;return!0},eg=(e,n)=>{const t=c,o=e[Symbol[t(2121)]](),x=n[Symbol[t(2121)]]();let r=o[t(1049)](),i=x.next();for(;!r[t(1476)]&&!i[t(1476)];){if(!Object.is(r[t(2069)],i[t(2069)]))return!1;r=o[t(1049)](),i=x.next()}return!!r.done&&!!i.done};function ng(e,n){const t=c;return Object.is(e,n)?!0:typeof e!==t(704)||e===null||typeof n!==t(704)||n===null||Object[t(401)](e)!==Object.getPrototypeOf(n)?!1:ds(e)&&ds(n)?us(e)&&us(n)?fs(e,n):eg(e,n):fs({entries:()=>Object[t(690)](e)},{entries:()=>Object[t(690)](n)})}const hs={inlineScript:c(649),dataRequest:"请求数据",external:c(482),builtin:c(1140)},tg=[{label:c(1808),value:"antdMessage"},{label:c(905),value:"switchCanvas"}],xg=[{label:c(1132),value:"info"},{label:"success",value:c(2103)},{label:c(935),value:c(935)},{label:c(541),value:c(541)},{label:c(1016),value:"loading"}];function gs(e,n,t){const o=c,x=t[o(2191)](i=>i[o(1572)]===e),r=x[o(1115)];return x[o(477)]((i,a)=>{const u=o,s=n.find(f=>f.id===i[u(2124)]),d=s?.data;return{sourceId:i.source,sourceLabel:d?.label??i.source,edgeIndex:a,totalIncoming:r}})}const og=({data:e,id:n})=>{const t=c,{root:o}=$e(),x=Ae(D[t(1832)](a=>gs(n,a.nodes,a[t(1708)])[t(477)](({sourceId:u,sourceLabel:s})=>({sourceId:u,label:s})),[n]),ng),r=e[t(1595)][t(1880)]??t(2014),i=r===t(1525)?e[t(1595)][t(488)]:r===t(568)?e[t(1595)].externalHandlerKey:r===t(918)?e[t(1595)][t(623)]===t(2173)?e[t(1595)].builtinId+": "+String(e[t(1595)][t(1635)]?.content??"")[t(2051)](0,24):e.eventBlock[t(623)]==="switchCanvas"?t(2040)+(o[t(693)][t(581)](a=>a.id===e[t(1595)].builtinConfig?.[t(899)])?.[t(1907)]??"未知画布"):e.eventBlock[t(623)]:null;return l.jsxs(t(1022),{className:t(1275),children:[l[t(822)](Xn,{type:t(1572),position:Ce[t(1835)],className:t(1225)}),l[t(1183)]("div",{className:t(1323),children:[l[t(822)](t(1033),{className:t(458),children:e[t(846)]}),l[t(1183)](C[t(1652)],{size:t(1718),children:[l.jsx(C[t(1804)],{type:t(1347),size:"small",icon:l[t(822)](de[t(614)],{}),onClick:()=>e.onEdit(n)}),l[t(822)](C[t(1804)],{type:t(1347),size:t(1718),danger:!0,icon:l[t(822)](de[t(2079)],{}),onClick:()=>e[t(555)](n)})]})]}),l.jsx(t(1022),{className:t(1038),children:l[t(1183)](C[t(2200)],{color:r===t(2014)?t(1815):r===t(918)?"cyan":t(1200),className:t(1262),children:[hs[r],i?t(1631)+i:""]})}),l[t(1183)](t(1022),{className:t(1351),children:[e.eventBlock[t(725)]?.[t(1115)]>0&&l[t(1183)](t(1022),{children:[t(2065),e[t(1595)][t(725)][t(477)](a=>a[t(1907)])[t(894)](", ")]}),x[t(1115)]>0&&l[t(1183)](t(1022),{className:"mt-1 text-amber-800",children:[t(2117),x[t(477)](a=>l[t(1183)](t(1022),{className:"pl-1 border-l-2 border-amber-200",children:["←「",a.label,"」(整块返回值)"]},a[t(1510)]))]})]}),l[t(822)](Xn,{type:t(2124),position:Ce[t(1852)],className:t(1225)})]})},rg={eventBlock:og},ig=Object[c(690)](hs)[c(477)](([e,n])=>({label:n,value:e})),bs=[{label:"点击",value:c(919)},{label:c(688),value:c(638)},{label:"鼠标释放",value:c(1240)},{label:"双击",value:c(1479)},{label:c(765),value:"mouseOver"},{label:c(834),value:c(1080)},{label:"鼠标进入",value:c(1437)},{label:c(459),value:c(2004)},{label:c(2027),value:"dataRequest"},{label:c(445),value:c(568)}];function ag(e,n){const t={},o=[...e];return o.forEach((x,r)=>{const i=_0x31ec,a=n.inputs[r]?.name??(o[i(1115)]===1?i(1071):i(1071)+r);t[a]=i(1192)+x[i(2124)]}),t}function cg(e,n,t){const o=c;return t[e]?.[o(1907)]??(n===1?o(1071):o(1071)+e)}const sg=[{label:c(1890),value:c(1890)},{label:c(552),value:c(552)},{label:"boolean",value:c(1124)},{label:c(704),value:c(704)},{label:c(987),value:c(987)}];function ys(e){const n=c,t=bs.find(x=>x[n(2069)]===e[n(990)]),o=t?.[n(846)]??e[n(990)];if(e.eventType==="external"){const x=(e.externalEventKey||"")[n(1601)]();return x?o+" · "+x:o}return o}const lg=({open:e,onClose:n,bindNodeId:t,editingRoot:o})=>{const x=c,{nodes:r,eventFlow:i,externalHandlerCatalog:a,addEventBlock:u,upsertEventBlock:s,removeEventBlock:d,addEventRoot:f,updateEventRoot:b,root:g}=$e(),[w,h,v]=Mh([]),[M,y,m]=Bh([]),p=D.useRef(w);p[x(2225)]=w;const[z,I]=D[x(955)](()=>o??null),[O,H]=D[x(955)](!1),[T]=C[x(1039)].useForm(),j=C[x(1039)].useWatch("eventType",T),[q,V]=D[x(955)](null),[X,G]=D[x(955)](!1),[L]=C.Form[x(724)](),N=C.Form[x(1298)]("executorType",L),B=C[x(1039)][x(1298)](x(623),L),E=C[x(1039)][x(1298)](x(725),L),Y=D[x(2089)](()=>!X||!q?[]:gs(q.id,w,M),[X,q,w,M]),P=D[x(2134)](()=>{}),J=D[x(2134)](()=>{});D[x(713)](()=>{const U=x;if(X&&q){const A=q[U(1635)]??{},{outputs:R,...te}=q;L[U(1870)]({...te,executorType:q[U(1880)]??U(2014),builtinId:q.builtinId,inputs:q[U(725)]??[],builtinConfig:{content:String(A[U(965)]??""),level:String(A[U(2115)]??"info"),duration:A[U(859)]===void 0||A.duration===null?void 0:Number(A[U(859)])}})}},[X,q,L]);const F=D[x(1832)](U=>{y(A=>Ia(U,A))},[y]),$=U=>{const A=x,R={bindNodeId:U[A(473)],eventType:U.eventType,externalEventKey:U[A(990)]==="external"?(U[A(1698)]||"").trim():void 0,flowData:{nodes:[],edges:[]},enabled:!0},te=f(R);I({...R,id:te}),T[A(624)](),H(!1),C[A(1974)][A(2103)](A(2170))},oe=D.useCallback(U=>{const A=x;d(U),h(R=>R[A(2191)](te=>te.id!==U)),y(R=>R[A(2191)](te=>te[A(2124)]!==U&&te[A(1572)]!==U))},[d,h,y]),ie=D[x(1832)](U=>{const A=x,R=p[A(2225)].find(W=>W.id===U)?.[A(1074)]?.[A(1595)],te=i[A(1336)].find(W=>W.id===U),ne=R??te;ne?(V({...ne,id:U}),G(!0)):C[A(1974)][A(935)](A(446))},[i[x(1336)]]);P[x(2225)]=ie,J[x(2225)]=oe,D.useEffect(()=>{const U=x;if(e&&z){const A=z[U(959)][U(821)][U(477)](te=>({id:te.id,type:U(1595),position:te[U(582)],data:{label:te[U(1074)][U(846)],eventBlock:te[U(1074)][U(1595)],onEdit:ne=>P[U(2225)](ne),onDelete:ne=>J[U(2225)](ne)}})),R=z[U(959)][U(1708)][U(477)](te=>({id:te.id,source:te[U(2124)],target:te[U(1572)]}));h(A),y(R)}},[e,z,h,y]);const ce=()=>{const U=x,A={name:U(1060),executorType:U(2014),callback:U(2130),inputs:[],outputs:[]},R=u(A),te={...A,id:R},ne={id:R,type:"eventBlock",position:{x:100+w[U(1115)]*50,y:100+w[U(1115)]*30},data:{label:te[U(1907)],eventBlock:te,onEdit:W=>P.current(W),onDelete:W=>J.current(W)}};h(W=>[...W,ne])},fe=()=>{const U=x,A={name:U(1297),executorType:"builtin",builtinId:U(2173),builtinConfig:{content:U(915),level:U(1132)},callback:U(648),inputs:[],outputs:[]},R=u(A),te={...A,id:R},ne={id:R,type:"eventBlock",position:{x:120+w[U(1115)]*50,y:140+w[U(1115)]*30},data:{label:te[U(1907)],eventBlock:te,onEdit:W=>P[U(2225)](W),onDelete:W=>J.current(W)}};h(W=>[...W,ne])},pe=()=>{const U=x,A={name:U(905),executorType:U(918),builtinId:"switchCanvas",builtinConfig:{targetCanvasId:g[U(693)][0]?.id||""},callback:U(648),inputs:[],outputs:[]},R=u(A),te={...A,id:R},ne={id:R,type:U(1595),position:{x:120+w[U(1115)]*50,y:140+w.length*30},data:{label:te[U(1907)],eventBlock:te,onEdit:W=>P[U(2225)](W),onDelete:W=>J.current(W)}};h(W=>[...W,ne])},se=U=>{const A=x;if(!q)return;const R=U[A(1880)]??q.executorType??"inlineScript",te={name:U.name,callback:U[A(2201)]??q[A(2201)],executorType:R,dataRequestKey:R==="dataRequest"?(U[A(488)]||"")[A(1601)]():void 0,externalHandlerKey:R===A(568)?(U.externalHandlerKey||"")[A(1601)]():void 0,builtinId:R===A(918)?U[A(623)]:void 0,builtinConfig:R===A(918)&&U[A(623)]===A(2173)?{content:String(U[A(1635)]?.content??"").trim(),level:U[A(1635)]?.[A(2115)]||A(1132),duration:U[A(1635)]?.[A(859)]===null||U[A(1635)]?.[A(859)]===void 0?void 0:Number(U.builtinConfig[A(859)])}:R===A(918)&&U[A(623)]==="switchCanvas"?{targetCanvasId:String(U.builtinConfig?.[A(899)]??"")[A(1601)]()}:void 0},ne=U[A(725)]??[],W=ne.filter(ze=>ze?.name&&String(ze[A(1907)]).trim()),re={...q,...te,inputs:W,outputs:[]};s(re),h(ze=>ze.map(Me=>Me.id===q.id?{...Me,data:{...Me[A(1074)],label:re.name||Me[A(1074)][A(846)],eventBlock:re}}:Me)),G(!1),V(null),C.message[A(2103)](A(664))},ee=()=>{const U=x;if(!z)return;const A=w[U(477)](te=>{const ne=U,W=M[ne(2191)](Me=>Me[ne(1572)]===te.id),re=te.data.eventBlock,ze={...re,outputs:[]};return{id:te.id,eventBlockId:te.id,position:te[ne(582)],inputs:W.map(Me=>Me[ne(2124)]),outputs:M.filter(Me=>Me[ne(2124)]===te.id)[ne(477)](Me=>Me[ne(1572)]),data:{label:te[ne(1074)][ne(846)],eventBlock:ze,inputMapping:ag(W,ze)}}}),R=M.map(te=>({id:te.id,source:te[U(2124)],target:te.target}));b(z.id,{flowData:{nodes:A,edges:R}}),In.bindNodeEvent({...z,flowData:{nodes:A,edges:R}}),C[U(1974)][U(2103)](U(1163)),n()},le=D[x(2089)](()=>r[x(477)](U=>({label:U.name,value:U.id})),[r]),be=D[x(2089)](()=>t?i[x(2162)].filter(U=>U.bindNodeId===t):i[x(2162)],[i.eventRoots,t]);return e?l[x(1183)](C.Modal,{title:x(1865),open:e,onCancel:n,width:1200,footer:null,styles:{body:{height:700,padding:0}},children:[z?l[x(1183)](x(1022),{className:x(1614),style:{height:700},children:[l[x(1183)](x(1022),{className:x(1726),children:[l[x(822)](C.Space,{children:l[x(1183)](x(1033),{className:"font-medium",children:[x(1155),ys(z)," →"," ",r[x(581)](U=>U.id===z[x(473)])?.[x(1907)]]})}),l[x(1183)](C.Space,{children:[l[x(822)](C[x(1804)],{icon:l[x(822)](de.PlusOutlined,{}),onClick:ce,children:x(1964)}),l[x(822)](C[x(1804)],{icon:l[x(822)](de[x(635)],{}),onClick:fe,children:"Message 提示"}),l[x(822)](C[x(1804)],{icon:l.jsx(de[x(635)],{}),onClick:pe,children:"跳转画布"}),l[x(822)](C[x(1804)],{type:x(1850),icon:l.jsx(de[x(2062)],{}),onClick:ee,children:"保存"}),l.jsx(C.Button,{icon:l[x(822)](de[x(531)],{}),onClick:()=>I(null),children:"返回列表"})]})]}),l[x(822)](x(1022),{className:x(487),children:l.jsxs(Ch,{nodes:w,edges:M,onNodesChange:v,onEdgesChange:m,onConnect:F,nodeTypes:rg,fitView:!0,children:[l[x(822)](kh,{}),l[x(822)](Uh,{}),l[x(822)](Jh,{})]})})]}):l[x(1183)](x(1022),{className:"p-6",children:[l[x(1183)](x(1022),{className:"flex justify-between items-center mb-4",children:[l[x(822)]("h3",{className:x(2021),children:x(440)}),l[x(822)](C[x(1804)],{type:x(1850),icon:l[x(822)](de[x(635)],{}),onClick:()=>H(!0),children:x(1783)})]}),l[x(822)](C[x(795)],{dataSource:be,renderItem:U=>l[x(822)](C[x(795)][x(1218)],{actions:[l[x(822)](C[x(1804)],{type:x(1850),icon:l.jsx(de[x(614)],{}),onClick:()=>I(U),children:"编辑"},x(1051))],children:l[x(822)](C.List[x(1218)][x(728)],{title:l[x(1183)](C[x(1652)],{children:[l[x(1183)](x(1033),{children:["触发: ",ys(U)]}),l[x(822)](C[x(2200)],{color:x(2098),children:r[x(581)](A=>A.id===U[x(473)])?.[x(1907)]||U[x(473)]})]}),description:x(1723)+U[x(959)].nodes.length+", 连接数: "+U[x(959)][x(1708)].length})}),locale:{emptyText:l[x(822)](C[x(2090)],{description:x(1330)})}}),l[x(822)](C[x(599)],{title:x(1783),open:O,onCancel:()=>{T.resetFields(),H(!1)},footer:null,afterOpenChange:U=>{const A=x;U&&(T[A(624)](),t&&T[A(1870)]({bindNodeId:t}))},children:l[x(1183)](C[x(1039)],{form:T,onFinish:$,layout:"vertical",children:[l.jsx(C[x(1039)][x(1218)],{name:x(473),label:"绑定节点",rules:[{required:!0,message:x(961)}],initialValue:t,children:l[x(822)](C[x(1367)],{options:le,placeholder:x(707),disabled:!!t})}),l[x(822)](C[x(1039)][x(1218)],{name:x(990),label:x(411),rules:[{required:!0,message:"请选择触发方式"}],children:l[x(822)](C[x(1367)],{options:bs,placeholder:x(1968)})}),j===x(568)&&l[x(822)](C[x(1039)].Item,{name:x(1698),label:"外部事件标识",rules:[{required:!0,message:x(1571)},{validator:(U,A)=>(A||"")[x(1601)]()?Promise.resolve():Promise[x(1162)](new Error(x(986)))}],extra:"与 eventBus.emitExternal(节点id, 该标识) 一致",children:l[x(822)](C[x(1788)],{placeholder:x(1787)})}),l[x(822)](C[x(1039)][x(1218)],{className:"mb-0",children:l[x(1183)](C[x(1652)],{className:x(1250),children:[l.jsx(C[x(1804)],{onClick:()=>{T[x(624)](),H(!1)},children:"取消"}),l.jsx(C.Button,{type:x(1850),htmlType:"submit",children:"创建"})]})})]})})]}),l[x(822)](C[x(599)],{title:"编辑事件块",open:X,onCancel:()=>{G(!1),V(null)},footer:null,destroyOnClose:!0,children:l[x(1183)](C[x(1039)],{form:L,onFinish:se,layout:x(2022),children:[l.jsx(C[x(1039)][x(1218)],{name:x(1907),label:"名称",rules:[{required:!0,message:"请填写名称"}],children:l[x(822)](C[x(1788)],{})}),l[x(822)](C[x(1039)].Item,{name:x(1880),label:x(1975),rules:[{required:!0,message:"请选择执行方式"}],children:l[x(822)](C[x(1367)],{options:ig,placeholder:x(892)})}),N===x(918)&&l.jsx(C[x(1039)][x(1218)],{name:"builtinId",label:x(1140),rules:[{required:!0,message:x(927)}],children:l[x(822)](C[x(1367)],{options:tg,placeholder:x(1063)})}),N==="builtin"&&B===x(2173)&&l.jsxs(l.Fragment,{children:[l[x(822)](C[x(1039)][x(1218)],{name:[x(1635),x(965)],label:x(1312),rules:[{required:!0,message:x(790)}],extra:x(2187),children:l[x(822)](C.Input.TextArea,{rows:3,placeholder:x(1980)})}),l[x(822)](C[x(1039)][x(1218)],{name:[x(1635),"level"],label:x(2147),children:l.jsx(C.Select,{options:xg})}),l.jsx(C[x(1039)][x(1218)],{name:[x(1635),x(859)],label:"持续时间(秒)",extra:x(1181),children:l.jsx(C[x(1172)],{min:0,step:.5,style:{width:"100%"},placeholder:"默认"})})]}),N===x(918)&&B==="switchCanvas"&&l[x(822)](C.Form.Item,{name:[x(1635),"targetCanvasId"],label:"目标画布",rules:[{required:!0,message:x(989)}],children:l[x(822)](C.Select,{placeholder:x(470),options:g[x(693)][x(477)](U=>({value:U.id,label:U.name}))})}),N===x(1525)&&l[x(822)](C.Form[x(1218)],{name:"dataRequestKey",label:x(1823),rules:[{required:!0,message:x(1190)},{validator:(U,A)=>(A||"")[x(1601)]()?Promise[x(481)]():Promise[x(1162)](new Error("标识不能为空"))}],extra:"运行时 eventBus.setDefaultRuntimeHandlers({ dataRequest: { [标识]: (ctx, args) => ... } })",children:l[x(822)](C[x(1788)],{placeholder:x(1693)})}),N===x(568)&&l[x(822)](C[x(1039)][x(1218)],{name:x(1491),label:x(1259),rules:[{required:!0,message:x(577)},{validator:(U,A)=>(A||"").trim()?Promise[x(481)]():Promise.reject(new Error(x(986)))}],extra:a[x(1115)]>0?"来自 ConfigEditor 的 externalEventActions;也可在运行时 eventBus.mergeDefaultRuntimeHandlers({ external }) 补充":"未配置下拉时手动填写 key;宿主可用 ConfigEditor externalEventActions 注册选项与 handler,或 eventBus.mergeDefaultRuntimeHandlers",children:a[x(1115)]>0?l.jsx(C[x(1367)],{showSearch:!0,optionFilterProp:"label",allowClear:!0,placeholder:x(2126),options:a[x(477)](U=>({value:U[x(874)],label:U[x(846)],title:U[x(1006)]?U[x(846)]+" — "+U[x(1006)]:U[x(846)]+" ("+U[x(874)]+")"})),onInputKeyDown:U=>{const A=x;U[A(874)]===" "&&U[A(655)]()}}):l[x(822)](C[x(1788)],{placeholder:x(1700)})}),N===x(2014)&&l[x(822)](C[x(1039)][x(1218)],{name:"callback",label:x(1856),rules:[{validator:(U,A)=>{const R=x;return typeof A===R(1890)&&A[R(1601)]()?Promise[R(481)]():Promise[R(1162)](new Error(R(1460)))}}],children:l.jsx(C[x(1788)][x(803)],{rows:6,placeholder:x(824)})}),Y[x(1115)]>0&&l.jsxs("div",{className:x(1678),children:[l.jsx(x(1022),{className:x(1875),children:x(844)}),l[x(822)]("ul",{className:x(1534),children:Y.map(U=>{const A=x,R=E??q?.[A(725)]??[],te=cg(U[A(2216)],U.totalIncoming,R);return l.jsxs("li",{className:A(901),children:[l[A(1183)]("div",{className:A(1741),children:["第 ",U[A(2216)]+1,A(1011),U[A(1198)],A(431),l.jsx(A(1889),{children:A(2057)})," →"," ",l[A(1183)](A(1567),{className:"bg-white px-1 rounded",children:["args.",te]})]}),l.jsxs(A(1022),{className:A(2132),children:[A(1311),U[A(2216)]+1,A(917)]})]},U[A(1510)])})})]}),l[x(822)]("div",{className:x(1781),children:x(1284)}),l[x(1183)](x(1022),{className:x(748),children:[x(1193)," ",l[x(822)]("code",{children:"args.prev"}),x(1516),l.jsx("code",{children:"args.prev0"}),"、",l[x(822)](x(1567),{children:x(762)}),"…"]}),l[x(822)](C[x(1039)][x(795)],{name:x(725),children:(U,{add:A,remove:R})=>l.jsxs(l[x(2135)],{children:[U[x(477)](({key:te,name:ne,...W})=>l[x(1183)](C[x(1652)],{align:x(1396),wrap:!0,className:x(1996),children:[l[x(822)](C[x(1039)][x(1218)],{...W,name:[ne,"name"],rules:[{required:!0,message:"名称"}],children:l[x(822)](C[x(1788)],{placeholder:x(2189),style:{width:140}})}),l[x(822)](C[x(1039)][x(1218)],{...W,name:[ne,x(402)],initialValue:x(987),children:l[x(822)](C[x(1367)],{options:sg,style:{width:100}})}),l[x(822)](de[x(1246)],{className:x(1998),onClick:()=>R(ne)})]},te)),l.jsx(C[x(1804)],{type:x(575),onClick:()=>A({type:x(987)}),block:!0,icon:l[x(822)](de.PlusOutlined,{}),children:x(2169)})]})}),l[x(822)](C[x(1039)].Item,{className:"mb-0 mt-4",children:l.jsxs(C[x(1652)],{className:x(1250),children:[l[x(822)](C[x(1804)],{onClick:()=>{G(!1),V(null)},children:"取消"}),l.jsx(C.Button,{type:x(1850),htmlType:"submit",children:"保存"})]})})]})})]}):null},jx={click:"点击",mouseDown:c(688),mouseUp:c(1733),doubleClick:"双击",mouseOver:c(765),mouseLeave:c(834),mouseEnter:c(1207),contextMenu:c(459),dataRequest:c(2027),external:c(445)};function dg(e){const n=c;if(e[n(990)]==="external"){const t=(e[n(1698)]||"")[n(1601)]();return t?jx[n(568)]+" · "+t:jx[n(568)]}return jx[e[n(990)]]}const ug=Object[c(690)](jx)[c(477)](([e,n])=>({label:n,value:e})),fg=({nodeId:e})=>{const n=c,{eventFlow:t,addEventRoot:o,updateEventRoot:x,removeEventRoot:r}=$e(),[i,a]=D[n(955)](!1),[u,s]=D.useState(null),[d,f]=D[n(955)](!1),[b]=C[n(1039)][n(724)](),g=C[n(1039)][n(1298)]("eventType",b),w=D[n(2089)](()=>t[n(2162)].filter(p=>p.bindNodeId===e),[t.eventRoots,e]),h=m=>{const p=n,z={bindNodeId:e,eventType:m[p(990)],externalEventKey:m[p(990)]===p(568)?(m[p(1698)]||"")[p(1601)]():void 0,flowData:{nodes:[],edges:[]},enabled:!0};o(z),b.resetFields(),f(!1)},v=m=>{s(m),a(!0)},M=(m,p)=>{x(m.id,{enabled:p})},y=m=>{r(m)};return l[n(1183)](n(1022),{children:[l.jsxs(n(1022),{className:n(2082),children:[l.jsx("h4",{className:n(1987),children:"事件流绑定"}),l[n(822)](C.Button,{type:n(1850),size:"small",icon:l[n(822)](de[n(635)],{}),onClick:()=>f(!0),children:n(1398)})]}),l.jsx(C[n(795)],{dataSource:w,renderItem:m=>l.jsx(C[n(795)][n(1218)],{actions:[l[n(822)](C[n(715)],{checked:m.enabled,size:n(1718),onChange:p=>M(m,p)},n(543)),l[n(822)](C[n(1804)],{type:n(1347),size:n(1718),icon:l[n(822)](de[n(614)],{}),onClick:()=>v(m)},n(1051)),l[n(822)](C[n(1175)],{title:"确认删除",description:"删除后无法恢复,是否继续?",onConfirm:()=>y(m.id),children:l.jsx(C[n(1804)],{type:n(1347),danger:!0,size:n(1718),icon:l[n(822)](de[n(2079)],{})})},n(1611))],children:l[n(822)](C[n(795)][n(1218)].Meta,{title:l[n(1183)](C[n(1652)],{children:[l[n(822)](C[n(2200)],{color:m[n(944)]?n(2098):n(1815),children:dg(m)}),l[n(1183)](n(1033),{className:n(957),children:[m[n(959)][n(821)][n(1115)],n(916)]})]}),description:m[n(944)]?l.jsx(n(1033),{className:n(1845),children:"已启用"}):l[n(822)](n(1033),{className:n(957),children:n(903)})})}),locale:{emptyText:l[n(822)](C[n(2090)],{image:C[n(2090)][n(1203)],description:n(1338)})}}),l[n(822)](C[n(599)],{title:n(1398),open:d,onCancel:()=>{b[n(624)](),f(!1)},footer:null,afterOpenChange:m=>{m&&b[n(624)]()},children:l[n(1183)](C[n(1039)],{form:b,onFinish:h,layout:"vertical",children:[l.jsx(C[n(1039)][n(1218)],{name:n(990),label:"触发方式",rules:[{required:!0,message:n(593)}],children:l[n(822)](C[n(1367)],{options:ug,placeholder:n(867)})}),g===n(568)&&l[n(822)](C[n(1039)][n(1218)],{name:n(1698),label:"外部事件标识",rules:[{required:!0,message:n(1571)},{validator:(m,p)=>(p||"")[n(1601)]()?Promise[n(481)]():Promise[n(1162)](new Error(n(986)))}],extra:"与运行时 eventBus.emitExternal(节点id, 该标识) 一致,例如:refresh、dialog:opened",children:l[n(822)](C[n(1788)],{placeholder:n(1791)})}),l[n(822)](C[n(1039)][n(1218)],{className:n(418),children:l.jsxs(C[n(1652)],{className:n(1250),children:[l[n(822)](C[n(1804)],{onClick:()=>f(!1),children:"取消"}),l[n(822)](C[n(1804)],{type:"primary",htmlType:"submit",children:"创建"})]})})]})}),l[n(822)](lg,{open:i,onClose:()=>{a(!1),s(null)},bindNodeId:e,editingRoot:u},u?.id??n(1184)+e)]})},{Panel:nn}=C.Collapse,{TabPane:Yx}=C[c(461)],{TextArea:hg}=C.Input,ms=({defaultTestData:e})=>{const n=c,{nodes:t,selectedNodeId:o,updateNode:x,updateNodeStyle:r,updateNodeControl:i,updateNodeContent:a,materials:u,selectedStatusId:s,selectStatus:d}=$e(),[f]=C.Form[n(724)](),[b,g]=D[n(955)](n(1061)),[w,h]=D[n(955)](!1),[v,M]=D[n(955)](null),[y,m]=D[n(955)]({}),p=D[n(2089)](()=>t[n(581)](B=>B.id===o),[t,o]),z=p?.[n(2161)][n(761)]||[],I=N=>{const B=n;o&&(N[B(450)]&&r(o,N[B(450)]),N[B(1907)]!==void 0&&x(o,{name:N[B(1907)]}),N.controlInfo&&i(o,N[B(837)]))};console[n(1028)](o,n(1073),p),D[n(713)](()=>{const N=n;p&&p&&(f[N(1870)]({name:p[N(1907)],normalStyle:{width:100,height:100,x:0,y:0,padding:8,background:"transparent",borderRadius:0,opacity:1,...p[N(450)]},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0,...p[N(837)]}}),d(null))},[p,d,f]);const O=()=>{const N=n;!o||!p||(M(N(1009)),h(!0))},H=N=>{const B=n;if(!o||!p)return;const E={id:Ne[B(1408)](),name:N[B(1907)]+B(1628)+(z.length+1),expression:z[B(1115)]===0?"return true;":B(1984),material:{...N,id:Ne.nanoid()},boundDatasetId:null};if(v===B(1009)){const Y=[...z,E];a(o,{statusList:Y})}else if(v){const Y=z[B(477)](P=>P.id===v?{...P,material:{...N,id:Ne.nanoid()}}:P);a(o,{statusList:Y})}h(!1),M(null)},T=N=>{const B=n;if(!o||!p)return;const E=p.contentInfo.statusList?.[B(2191)](Y=>Y.id!==N)||[];a(o,{statusList:E}),s===N&&d(null)},j=(N,B)=>{const E=n;if(!o||!p)return;const Y=p[E(2161)].statusList?.[E(477)](P=>P.id===N?{...P,...B}:P)||[];a(o,{statusList:Y})},q=N=>{const B=n;if(!o||!p)return;const E={...N,id:Ne.nanoid(),name:N[B(1907)]+B(1999),expression:B(1984)},Y=[...z,E];a(o,{statusList:Y})},V=(N,B)=>{const E=n;if(!o||!p)return;const Y=z[E(1933)](J=>J.id===N);if(Y===-1)return;const P=[...z];B==="up"&&Y>0?[P[Y],P[Y-1]]=[P[Y-1],P[Y]]:B===E(902)&&Y<P[E(1115)]-1&&([P[Y],P[Y+1]]=[P[Y+1],P[Y]]),a(o,{statusList:P})},X=N=>{M(N),h(!0)},G=(N,B)=>{const E=n,Y=B[E(2217)]||{},P=Y[E(685)]??0,J=Y[E(501)]??0,F=Y[E(2084)]??100,$=Y[E(870)]??0,oe=Math[E(1824)]((Y[E(1318)]||Y.thickness||2)*2,4),ie=Math[E(1666)](P,F),ce=Math[E(1666)](J,$),fe=Math[E(1824)](P,F),pe=Math[E(1824)](J,$),se=Math.max(fe-ie,oe),ee=Math[E(1824)](pe-ce,oe),le=N[E(450)].x||0,be=N.normalStyle.y||0;return{material:{...B,config:{...Y,startX:P-ie,startY:J-ce,endX:F-ie,endY:$-ce}},box:{x:le+ie,y:be+ce,width:se,height:ee}}},L=(N,B)=>{const E=n;if(!o||!p)return;const{list:Y,lineBox:P}=z[E(1267)]((J,F)=>{const $=E;if(F.id!==N)return J[$(1803)][$(591)](F),J;let oe;if(F[$(1801)][$(402)]===$(769)&&"config"in B&&B[$(2217)]!==void 0){const ie=F[$(1801)],ce=B[$(2217)];oe={...ie,...B,config:{...ie[$(2217)]||{},...ce}}}else oe={...F.material,...B};if(oe[$(402)]===$(769)){const{material:ie,box:ce}=G(p,oe);return J[$(1803)].push({...F,material:ie}),J[$(1286)]=ce,J}return J[$(1803)].push({...F,material:oe}),J},{list:[],lineBox:null});P!==null?x(o,{normalStyle:{...p[E(450)],x:P.x,y:P.y,width:P.width,height:P[E(505)]},contentInfo:{...p[E(2161)],statusList:Y}}):a(o,{statusList:Y})};return p?l[n(1183)](n(1022),{className:n(737),children:[l.jsxs(n(1022),{className:n(397),children:[l[n(822)]("h3",{className:n(2218),children:n(976)}),l[n(822)]("p",{className:n(1078),children:n(1523)})]}),l[n(822)](n(1022),{className:n(1854),children:l[n(1183)](C[n(461)],{activeKey:b,onChange:g,children:[l[n(822)](Yx,{tab:"基础",children:l[n(1183)](C[n(1039)],{form:f,layout:n(2022),onValuesChange:I,initialValues:{name:p[n(1907)]},children:[l[n(822)](C[n(1039)][n(1218)],{label:"节点名称",name:n(1907),children:l.jsx(C[n(1788)],{placeholder:"输入节点名称"})}),l[n(1183)](C[n(1498)],{ghost:!0,defaultActiveKey:["position",n(435),n(1482)],children:[l[n(822)](nn,{header:"位置",children:l[n(1183)](C[n(1652)],{children:[l[n(822)](C[n(1039)][n(1218)],{label:"X",name:[n(450),"x"],children:l.jsx(C[n(1172)],{})}),l.jsx(C.Form[n(1218)],{label:"Y",name:[n(450),"y"],children:l[n(822)](C.InputNumber,{})})]})},n(582)),l[n(822)](nn,{header:"尺寸",children:l[n(1183)](C.Space,{children:[l[n(822)](C.Form[n(1218)],{label:"宽度",name:[n(450),n(1142)],children:l[n(822)](C[n(1172)],{min:10})}),l[n(822)](C[n(1039)][n(1218)],{label:"高度",name:[n(450),"height"],children:l.jsx(C[n(1172)],{min:10})})]})},n(435)),l[n(1183)](nn,{header:"样式",children:[l[n(822)](C.Form[n(1218)],{label:n(1462),name:[n(450),n(878)],children:l[n(822)](C[n(1788)],{placeholder:n(1648)})}),l[n(822)](C[n(1039)].Item,{label:"内边距",name:["normalStyle",n(618)],children:l.jsx(C[n(1172)],{min:0})}),l[n(822)](C.Form.Item,{label:"圆角",name:["normalStyle",n(1883)],children:l[n(822)](C[n(1172)],{min:0})}),l[n(822)](C[n(1039)].Item,{label:"缩放比例",name:[n(450),n(745)],help:"等比缩放节点的宽高",children:l.jsx(C[n(1172)],{min:.1,max:5,step:.1})}),!p[n(2161)][n(761)][n(1432)](N=>N[n(1801)].type===n(769))&&l.jsx(C.Form[n(1218)],{label:n(712),name:[n(450),n(1814)],help:n(1276),children:l[n(822)](C[n(1172)],{min:0,max:360,step:1})}),l[n(822)](C[n(1039)].Item,{label:n(1920),name:[n(450),"opacity"],children:l[n(822)](C.InputNumber,{min:0,max:1,step:.1})}),l.jsx(C[n(1039)][n(1218)],{label:"层级",name:[n(450),n(441)],children:l[n(822)](C[n(1172)],{})})]},n(1482))]})]})},n(1061)),l[n(822)](Yx,{tab:"状态",children:p.type===n(1070)&&p[n(1450)]?l[n(822)](Kl,{node:p,updateNode:x,materials:u}):l[n(1183)](n(1022),{className:n(1720),children:[l[n(1183)](n(1022),{className:n(1323),children:[l[n(1183)](n(1033),{className:n(1842),children:[n(896),l.jsx(C[n(2200)],{color:"blue",className:n(1458),children:z[n(1115)]})]}),l[n(822)](C.Button,{type:n(1850),size:n(1718),icon:l[n(822)](de.PlusOutlined,{}),onClick:O,children:n(1662)})]}),l[n(822)]("p",{className:n(1797),children:n(1846)}),z[n(1115)]>0&&l[n(822)](n(1022),{className:n(1669),children:l[n(822)](n(1022),{className:n(1404),children:l.jsxs(n(1022),{children:[l[n(822)](n(1033),{className:"text-sm text-gray-600",children:"当前状态:"}),l[n(822)](n(1033),{className:n(1979),children:n(2042)})]})})}),z[n(1115)]===0?l[n(822)]("div",{className:n(514),children:"暂无状态,点击上方按钮添加"}):l.jsx(C[n(1498)],{ghost:!0,defaultActiveKey:z[0]?.id+o,children:z[n(477)]((N,B)=>l.jsx(nn,{header:l[n(1183)](n(1022),{className:n(1299),children:[l.jsx(n(1033),{className:"text-xs text-gray-400 w-5",children:B+1}),l[n(822)](n(1033),{className:"font-medium",children:N[n(1907)]}),l[n(822)](C.Tag,{color:n(1815),className:n(884),children:N[n(1801)].type})]}),extra:l.jsxs(C[n(1652)],{size:n(1718),onClick:E=>E[n(655)](),children:[l[n(822)](C.Button,{type:n(1347),size:n(1718),icon:l[n(822)](de[n(1935)],{}),disabled:B===0,onClick:E=>{E[n(655)](),V(N.id,"up")}}),l[n(822)](C[n(1804)],{type:n(1347),size:n(1718),icon:l[n(822)](de[n(2080)],{}),disabled:B===z[n(1115)]-1,onClick:E=>{const Y=n;E.stopPropagation(),V(N.id,Y(902))}}),l[n(822)](C.Button,{type:n(1347),size:"small",icon:l.jsx(de[n(1026)],{}),onClick:E=>{E.stopPropagation(),q(N)}}),l[n(822)](C[n(1804)],{type:n(1347),size:n(1718),danger:!0,icon:l[n(822)](de[n(2079)],{}),onClick:E=>{E[n(655)](),T(N.id)}})]}),children:l[n(1183)](C[n(1039)],{layout:"vertical",children:[l[n(822)](C[n(1039)].Item,{label:n(1513),children:l.jsx(C[n(1788)],{value:N[n(1907)],onChange:E=>j(N.id,{name:E[n(1572)].value}),placeholder:n(1820)})}),l[n(822)](di,{status:N,onUpdate:E=>j(N.id,E),onAppendToExpression:E=>{m(Y=>({...Y,[N.id]:(Y[N.id]??N.expression)+E}))}}),l.jsx(C[n(1039)][n(1218)],{label:"执行表达式",help:n(1756),children:l.jsx(hg,{value:y[N.id]??N.expression,onChange:E=>m(Y=>({...Y,[N.id]:E.target.value})),onBlur:E=>{const Y=n;j(N.id,{expression:E[Y(1572)][Y(2069)]}),m(P=>{const J={...P};return delete J[N.id],J})},rows:3,placeholder:n(1600)})}),l[n(822)](C.Form[n(1218)],{label:n(1315),children:l[n(1183)](n(1022),{className:n(1299),children:[l.jsx(C[n(2200)],{color:n(2098),children:N[n(1801)][n(1907)]}),l[n(822)](C[n(2200)],{color:n(1815),children:N[n(1801)][n(402)]}),l[n(822)](C[n(1804)],{type:n(1584),size:"small",icon:l[n(822)](de[n(614)],{}),onClick:()=>X(N.id),children:n(1341)})]})}),l[n(822)](C[n(1739)],{style:{margin:n(1448)}}),l.jsxs("div",{className:n(2070),children:[l[n(1183)](n(1022),{className:n(1323),children:[l[n(822)](n(1033),{className:n(1987),children:n(1639)}),l[n(822)](C[n(2200)],{children:N[n(1801)][n(1907)]})]}),l.jsx(ui,{material:N[n(1801)],onSave:E=>L(N.id,E)})]})]})},N.id+o))})]})},n(877)),l[n(822)](Yx,{tab:"控制",children:l[n(1183)](C[n(1039)],{form:f,layout:n(2022),onValuesChange:I,children:[l[n(822)](C[n(1039)][n(1218)],{label:n(1377),name:[n(837),"isDraggable"],valuePropName:n(2061),children:l[n(822)](C[n(715)],{})}),l[n(822)](C[n(1039)][n(1218)],{label:n(1703),name:[n(837),n(1369)],valuePropName:n(2061),children:l.jsx(C[n(715)],{})}),l.jsx(C[n(1039)][n(1218)],{label:n(886),name:["controlInfo","isResizable"],valuePropName:n(2061),children:l.jsx(C[n(715)],{})}),l[n(822)](C.Form[n(1218)],{label:n(1305),name:[n(837),"isSelectable"],valuePropName:n(2061),children:l[n(822)](C.Switch,{})})]})},n(1904)),l.jsx(Yx,{tab:n(731),children:l.jsx(fg,{nodeId:p.id})},n(1768))]})}),l.jsx("div",{className:n(1464),children:l[n(1183)]("div",{className:n(1351),children:[l[n(1183)]("div",{children:[n(1822),p.id[n(2051)](0,8),n(516)]}),l[n(1183)]("div",{children:["状态数: ",z.length]})]})}),l[n(822)](C.Modal,{title:n(398),open:w,onCancel:()=>{h(!1),M(null)},footer:null,width:600,children:l.jsx("div",{className:n(1397),children:l[n(1183)](C[n(1498)],{ghost:!0,defaultActiveKey:[n(1061),n(1085),"text",n(1188)],children:[l.jsx(nn,{header:n(2136),children:l.jsx(n(1022),{className:n(1210),children:u[n(2191)](N=>["矩形","圆形","圆角矩形"][n(600)](N[n(1907)]))[n(477)](N=>l[n(822)](ws,{material:N,onClick:()=>H(N)},N.id))})},n(1061)),l[n(822)](nn,{header:"设备图标",children:l[n(822)](n(1022),{className:"grid grid-cols-4 gap-2",children:u[n(2191)](N=>["阀门","泵","罐体"][n(600)](N[n(1907)])||N[n(402)]===n(2215)&&!["矩形","圆形",n(1089)][n(600)](N[n(1907)]))[n(477)](N=>l[n(822)](ws,{material:N,onClick:()=>H(N)},N.id))})},n(1085)),l[n(822)](nn,{header:"文本",children:l.jsx("div",{className:n(1210),children:u[n(2191)](N=>N[n(402)]===n(1254)).map(N=>l.jsxs("div",{className:n(1959),onClick:()=>H(N),children:[l[n(822)]("div",{className:n(732),children:l[n(822)](n(1033),{className:n(2097),children:"T"})}),l[n(822)](n(1033),{className:"text-xs",children:N.name})]},N.id))})},n(1347)),l[n(822)](nn,{header:"线条",children:l[n(822)](n(1022),{className:n(1210),children:u[n(2191)](N=>N[n(402)]===n(769)).map(N=>l.jsxs(n(1022),{className:n(1959),onClick:()=>H(N),children:[l[n(822)](n(1022),{className:"w-12 h-12 mx-auto mb-1 flex items-center justify-center bg-gray-100 rounded",children:l[n(822)](n(1022),{className:n(1580)})}),l[n(822)](n(1033),{className:n(884),children:N.name})]},N.id))})},n(1188))]})})})]}):l.jsx(n(1022),{className:n(945),children:l[n(822)](C[n(2090)],{description:n(691)})})},ws=({material:e,onClick:n})=>{const t=c,o=e[t(402)]==="IMAGE"?e[t(1623)]:void 0;return l[t(1183)](t(1022),{className:t(1959),onClick:n,children:[l[t(822)](t(1022),{className:t(740),children:o?l[t(822)]("img",{src:o,alt:e[t(1907)],className:t(658)}):l.jsx(t(1033),{className:t(884),children:e.name[0]})}),l[t(822)](t(1033),{className:"text-xs",children:e[t(1907)]})]})},gg="ConfigEditor-module__configEditor__dinNG",bg={configEditor:gg},yg=c(1096);function vs(e){return Array[c(1405)](e)}const ps=({open:e,onClose:n})=>{const t=c,{dataPool:o,addDataPoolItem:x,updateDataPoolItem:r,removeDataPoolItem:i}=$e(),[a]=C.Form.useForm(),[u,s]=D[t(955)](null);D.useEffect(()=>{const h=t;!e&&(s(null),a[h(624)]())},[e,a]);const d=()=>{const h=t;s("__new__"),a[h(1870)]({name:h(683)+(o.length+1),sampleJson:""})},f=h=>{const v=t;s(h.id),a[v(1870)]({name:h[v(1907)],sampleJson:JSON[v(681)](h[v(452)]??{},null,2)})},b=h=>{const v=t,M=h.trim();if(!M)return{};const y=JSON[v(1798)](M);if(y===null||typeof y!==v(704))throw new Error(v(974));if(Array[v(1405)](y)){for(let m=0;m<y[v(1115)];m++)if(typeof y[m]!==v(704)||y[m]===null)throw new Error(v(2177)+(m+1)+v(721));return y}return y},g=()=>{const h=t;a.validateFields()[h(2181)](v=>{const M=h;let y;try{y=b(v[M(888)])}catch(p){C[M(1974)].error(p instanceof Error?p[M(1974)]:"sample JSON 无效");return}const m=v[M(1907)][M(1601)]();if(!m){C[M(1974)].error(M(549));return}u===M(991)?(x({name:m,sample:y}),C[M(1974)][M(2103)]("已添加")):u&&(r(u,{name:m,sample:y}),C[M(1974)][M(2103)](M(2175))),s(null),a[M(624)]()}).catch(()=>{})},w=[{title:"名称",dataIndex:"name",key:t(1907)},{title:"类型",key:"type",width:100,render:(h,v)=>vs(v.sample)?l[t(1183)](C[t(2200)],{color:t(2098),children:[t(736),v.sample.length,t(1587)]}):l.jsx(C[t(2200)],{children:"对象"})},{title:"字段数",key:t(1772),width:90,render:(h,v)=>{const M=t;if(vs(v[M(452)])){const y=v[M(452)][0];return y?Object.keys(y)[M(1115)]:0}return Object[M(1772)](v[M(452)]||{}).length}},{title:"操作",key:t(1598),width:160,render:(h,v)=>l[t(1183)](C[t(1652)],{children:[l[t(822)](C[t(1804)],{type:t(1584),size:t(1718),icon:l.jsx(de[t(614)],{}),onClick:()=>f(v),children:"编辑"}),l[t(822)](C[t(1175)],{title:t(1642),description:t(563),onConfirm:()=>{const M=t;i(v.id),C[M(1974)][M(2103)](M(1300))},children:l[t(822)](C[t(1804)],{type:t(1584),size:t(1718),danger:!0,icon:l[t(822)](de[t(2079)],{}),children:"删除"})})]})}];return l[t(1183)](C[t(599)],{title:t(1487),open:e,onCancel:n,width:760,footer:null,destroyOnClose:!0,children:[l[t(1183)]("p",{className:t(1289),children:[t(1960)," ",l[t(822)](t(1567),{className:t(1506),children:t(1381)}),t(1196)]}),l.jsx(t(1022),{className:t(1722),children:l[t(822)](C[t(1804)],{type:t(1850),icon:l[t(822)](de.PlusOutlined,{}),onClick:d,children:t(978)})}),u&&l[t(1183)](t(1022),{className:t(1191),children:[l.jsxs(t(1022),{className:"font-medium mb-2",children:[u===t(991)?"新建":"编辑",t(443)]}),l[t(1183)](C.Form,{form:a,layout:"vertical",children:[l[t(822)](C[t(1039)][t(1218)],{name:"name",label:"名称",rules:[{required:!0,message:"必填"}],children:l[t(822)](C[t(1788)],{placeholder:"如:电机测点集"})}),l.jsx(C[t(1039)][t(1218)],{name:"sampleJson",label:t(1765),rules:[{required:!0,message:"必填"}],children:l.jsx(C[t(1788)][t(803)],{rows:12,className:t(1171),placeholder:yg})}),l[t(1183)](C[t(1652)],{children:[l[t(822)](C[t(1804)],{type:"primary",onClick:g,children:"保存"}),l[t(822)](C[t(1804)],{onClick:()=>{const h=t;s(null),a[h(624)]()},children:"取消"})]})]})]}),l[t(822)](C[t(1732)],{size:t(1718),rowKey:"id",dataSource:o,columns:w,pagination:!1,locale:{emptyText:t(1807)}})]})},{Header:mg,Sider:zs,Content:wg}=C[c(689)],vg=({initialScheme:e,onChange:n,readonly:t=!1,headerExtra:o,className:x="",style:r,showHeader:i=!0,showMaterialPanel:a=!0,showPropertyPanel:u=!0,customMaterials:s,initialDataPool:d,initialEventFlow:f,externalEventActions:b,onUploadSvg:g,defaultTestData:w,backgroundImageUrl:h,initialViewportWidth:v,initialViewportHeight:M})=>{const y=c,[m,p]=D[y(955)](!1),[z,I]=D[y(955)](!1),[O,H]=D.useState(""),[T]=D[y(955)](()=>[{paramsCode:"001",paramsName:y(2015),value:25,paramsUnit:y(496)},{paramsCode:y(1737),paramsName:y(1586),value:1.5,paramsUnit:y(1967)}]),j=w!==void 0?w:T,q=i&&!t,{exportScheme:V,importScheme:X,nodes:G,materials:L,dataPool:N,eventFlow:B,root:E,canvas:Y,viewport:P,addMaterial:J,setDataPool:F,setEventFlow:$,setExternalHandlerCatalog:oe}=$e();D[y(2134)](null);const ie=D[y(2134)](!1);D.useEffect(()=>{const ee=y;if(!ie[ee(2225)]&&(ie.current=!0,Sr.forEach(le=>J(le)),e&&X(e),f!==void 0&&$(f),b&&b[ee(1115)]>0)){oe(b);const le={};for(const be of b){const U=String(be[ee(874)]??"").trim();U&&be[ee(1264)]&&(le[U]=be[ee(1264)])}Object[ee(1772)](le)[ee(1115)]>0&&In[ee(510)]({external:le})}},[]),D[y(713)](()=>{s&&s[y(1115)]>0&&s.forEach(le=>J(le))},[]),D.useEffect(()=>{d!==void 0&&F(d)},[d,F]),D.useEffect(()=>{if(n){const ee=V();n(ee)}},[G,L,N,B,E,n,V]);const ce=D[y(1832)](()=>{const ee=y,le=V(),be=JSON.stringify(le,null,2),U=ee(702)+encodeURIComponent(be),A=ee(1229)+Date.now()+ee(747),R=document[ee(598)]("a");R[ee(1894)](ee(1075),U),R[ee(1894)](ee(723),A),R[ee(919)](),C.message[ee(2103)](ee(1746))},[V]),fe=D[y(1832)](()=>{const ee=y;try{const le=JSON[ee(1798)](O);X(le),p(!1),H(""),C[ee(1974)][ee(2103)](ee(1332))}catch{C[ee(1974)].error(ee(479))}},[O,X]),pe=D[y(1832)](ee=>{const le=y,be=new FileReader;return be[le(1322)]=U=>{const A=le;try{const R=U[A(1572)]?.[A(1248)],te=JSON[A(1798)](R);X(te),C.message[A(2103)]("导入成功!"),p(!1)}catch{C.message[A(541)](A(2111))}},be[le(758)](ee),!1},[X]),se=D.useCallback(()=>V(),[V]);return D[y(1517)](D[y(2134)]?.(),()=>({getScheme:se,exportScheme:V,importScheme:X}),[se,V,X]),l[y(822)](C[y(1258)],{locale:Is,children:l[y(822)](y(1022),{className:bg.configEditor,style:{height:y(t?1891:2017),...r},children:l.jsxs(C.Layout,{className:y(1494)+(t?"":y(1540))+" "+(t?"":"overflow-hidden")+" "+x,children:[q&&l[y(1183)](mg,{className:"bg-white border-b border-gray-200 px-4 flex items-center justify-between flex-shrink-0",children:[l[y(1183)](y(1022),{className:"flex items-center gap-4",children:[l[y(822)](y(1022),{className:y(1853),children:y(970)}),l[y(1183)](y(1022),{className:"text-sm text-gray-500",children:[G[y(1115)],y(916)]})]}),l.jsxs(C.Space,{children:[o,!t&&l[y(1183)](l[y(2135)],{children:[l[y(822)](C[y(1048)],{title:y(1782),children:l.jsx(C[y(1804)],{icon:l[y(822)](de.DownloadOutlined,{}),onClick:ce,children:"导出"})}),l[y(822)](C[y(1048)],{title:y(419),children:l[y(822)](C[y(1804)],{icon:l[y(822)](de[y(1256)],{}),onClick:()=>p(!0),children:"导入"})}),l.jsx(C[y(1048)],{title:y(1507),children:l[y(822)](C[y(1804)],{icon:l.jsx(de.DatabaseOutlined,{}),onClick:()=>I(!0),children:y(729)})})]})]})]}),l[y(1183)](C[y(689)],{children:[a&&!t&&l.jsx(zs,{width:280,className:y(825),theme:y(1292),children:l[y(822)](Ir,{onUploadSvg:g})}),l.jsx(wg,{className:y(556)+(t?"":y(497)),style:t?{backgroundColor:Y?.[y(878)],backgroundImage:Y?.showGrid!==!1?y(525):void 0,backgroundSize:20*(P?.[y(745)]||1)+"px "+20*(P?.[y(745)]||1)+"px"}:void 0,children:l[y(822)](ai,{defaultTestData:j,readonly:t,backgroundImageUrl:h,initialViewportWidth:v,initialViewportHeight:M})}),u&&!t&&l[y(822)](zs,{width:360,className:y(825),theme:y(1292),children:l.jsx(ms,{defaultTestData:Array[y(1405)](j)?j:void 0})})]}),l[y(822)](ps,{open:z,onClose:()=>I(!1)}),l[y(822)](C[y(599)],{title:y(1499),open:m,onOk:fe,onCancel:()=>{p(!1),H("")},width:600,children:l[y(1183)](y(1022),{className:y(558),children:[l[y(1183)](y(1022),{children:[l[y(822)]("p",{className:y(1996),children:"选择 JSON 文件导入:"}),l[y(822)](y(1475),{type:y(1813),accept:".json",onChange:ee=>{const le=y,be=ee[le(1572)][le(2085)]?.[0];be&&pe(be)},className:`block w-full text-sm text-gray-500
8
+ file:mr-4 file:py-2 file:px-4
9
+ file:rounded-full file:border-0
10
+ file:text-sm file:font-semibold
11
+ file:bg-blue-50 file:text-blue-700
12
+ hover:file:bg-blue-100`})]}),l.jsx(y(1022),{className:y(1937),children:"或"}),l[y(1183)](y(1022),{children:[l[y(822)]("p",{className:y(1996),children:y(2081)}),l[y(822)]("textarea",{value:O,onChange:ee=>H(ee.target.value),placeholder:y(1605),className:y(952)})]})]})})]})})})};ke[c(2120)]=ai,ke[c(1750)]=vg,ke.DataPoolModal=ps,ke.EventFlowBinding=oi,ke[c(1619)]=Ir,ke[c(1484)]=ao,ke[c(609)]=ms,ke[c(794)]=Br,ke[c(1899)]=Mr,ke[c(1738)]=kr,ke[c(1139)]=Fx,ke[c(2182)]=_x,ke[c(1686)]=In,ke[c(1182)]=Dr,ke[c(538)]=Sr,ke[c(1729)]=$e,Object[c(1827)](ke,Symbol[c(1471)],{value:c(1382)})});function _0x31ec(ke,l){ke=ke-376;const D=_0x27b5();let C=D[ke];if(_0x31ec.XgxxoW===void 0){var de=function(Gt){const c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=";let Dn="",nt="";for(let u0=0,U0,O0,tt=0;O0=Gt.charAt(tt++);~O0&&(U0=u0%4?U0*64+O0:O0,u0++%4)?Dn+=String.fromCharCode(255&U0>>(-2*u0&6)):0)O0=c.indexOf(O0);for(let u0=0,U0=Dn.length;u0<U0;u0++)nt+="%"+("00"+Dn.charCodeAt(u0).toString(16)).slice(-2);return decodeURIComponent(nt)};_0x31ec.JWGOms=de,_0x31ec.Ozgbrw={},_0x31ec.XgxxoW=!0}const Kx=D[0],Ot=ke+Kx,Ne=_0x31ec.Ozgbrw[Ot];return Ne?C=Ne:(C=_0x31ec.JWGOms(C),_0x31ec.Ozgbrw[Ot]=C),C}function _0x27b5(){const ke=["CM90yxrL","zgvMyxvSDa","Aw1N","5yIG6zMK6ycj5lITicHezwXLDguP","CgfYyw1ZtMfTzq","tKvhqvrjvKvFsu5gsu5jvfK","6l6t5ywL54Q25Ocb5zcn56EW","ig5VDcbMB3vUzc4GugXLyxnLig1HA2uGC3vYzsb0Agf0ihbHCMvUDcbUB2rLCYbHCMuGAw4GzNjVBNqGB2yGDgHLAxiGy2HPBgqGBM9KzxmGAw4GDgHLig5VzgvZigfYCMf5lG","6iQc54k5ieLeoIa","6k+35Rgc5Qch6k+g","Bwf4","yMXVy2SGDY1MDwXSihrLEhqTC20GDgv4Dc1NCMf5ltuWmaOGicaGicaGicaGicaGigzPBgu6BxiTncbMAwXLoNb5ltiGzMLSztPWEc00cIaGicaGicaGicaGicaGzMLSztPYB3vUzgvKlwz1BgWGzMLSztPIB3jKzxiTmaOGicaGicaGicaGicaGigzPBgu6Dgv4Dc1ZBsbMAwXLoMzVBNqTC2vTAwjVBgqkicaGicaGicaGicaGicbMAwXLoMjNlwjSDwuTntaGzMLSztP0zxH0lwjSDwuTnZaWcIaGicaGicaGicaGicaGAg92zxi6zMLSztPIzY1IBhvLlteWma","6l6t5ywLiePtt04G5Qc85BYp55Qe5Rwl6k+v5PwW5O2U77YB5PYQ57Yw6l6r5yMn55s75BId6lEF6zQp5Asw6yoOigrLzMf1Bhruzxn0rgf0yE+8IowMGUEBKEAoP+AoQoMaGE+8Iq","zgvMAw5LuhjVCgvYDhK","zgf0ys4","57Ut5P2F5PEL5PYF","57Ui54k5ifG","B25oB2rLtw91C2vnB3zL","DxnLq2fSBgjHy2S","5zcn56EW5lIn6io95lI656M6","BM9Kzu5HBwu","vg9W","CMvHy3qTzMXVD19FCMvZAxPLlwnVBNrYB2W","6ycj5OUP55s75BId5yQG5ywL","CgfYzw50tM9Kzq","jhTSywjLBh3LV4xPOBVMMk/LHBBKUk3KUidKUkPBjhTLBNvTFv0","Aw5SAw5LlwzSzxG","Cg9PBNrLCI1LDMvUDhmTyxv0BW","zM9UDc1TzwrPDw0","zMXPCfG","DhjHBNnMB3jT","Dgv4Dc14CYb0zxH0lwDYzwvUltyWma","6iQc54k55Qc55O2U54Q25Ocb6kgO6l6+5BYp6k6H566x57Ut5P6C5PI+56s65A+55BQu54MP5PAz77Ym56YS5lIa5lIQ6l+u5zUEihrYDwuG55Qe54Q25Ocb5lI65B2t5yMn54Q25Ocb","5BYa5AEl5A2J5BQM","y29UDgfPBMvY","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbVDMvYzMXVDY1OAwrKzw4","ChjPBwfYEq","DhjHBNnSyxrLwq","qM90Dg9T","Dgv4Dc14BcbMB250lwjVBgqGDgv4Dc1IBhvLltyWma","zMXLEc0Xig92zxjMBg93lxKTyxv0BYbWltq","zxHLy3v0zvnPBMDSzuzSB3DoB2rL","5OMN6kgm5lUJ56cb","DMfSDwvgB250u2L6zq","vgLTzw91DevYCM9Y","t1busu9o","y292zxi","rxzLBNqGzMXVDYbLEgvJDxrPB24GzxjYB3i6","CMLNAhq","u21VB3rOu3rLCevKz2vjBNrLCM5HBa","CMvHzefZrgf0yvvsta","5lQl5lU25Rwb57Yw6l6r5zMO","5ygh5OoZ57Q/","zML0vMLLD1jLC29SDMvY","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/ksvCCYO","Bw91C2vTB3zLlMrYywC","C2v0rMLLBgrZvMfSDwu","y29UDhjVBhmUEM9VBuLUlMfYAwfmywjLBa","x2nHBgW","tM9Kzsb3AxrOigLKici","vgHLihjLC3vSDcbVzIbNzxrtBMfWC2HVDcbZAg91BgqGyMuGy2fJAgvKihrVigf2B2LKigfUigLUzMLUAxrLigXVB3a","zM9UDc1TzwrPDw0GDgv4Dc1HBwjLCI05ntaGBwiTmG","5B2t5yMn546V5Akd5lIn5PsV5OYb55s75BId5yIh5O2I","ywjZB2X1DguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWigjNlwjSDwuTntaWlZeWihbVAw50zxiTzxzLBNrZlw5VBMu","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBw91Da","BgfIzwXcz1bHzgrPBMC","zxHLy3v0B3juExbL","rg90CW","zw1PDa","yM9YzgvYuMfKAxvZ","BM9KzvK","5ywO6ycj5B2t6Ag1","DxnLCLnLBgvJDgLVBLjLy3q","B25dB25Uzwn0","5zcr5yMnidmG6Ag1","C3rYB25N","C3rYAw5N","yxv0BW","CM91BMq","mxb4ihnVBgLKicnKowq5zdK","C2v0qxr0CMLIDxrL","B3b0Aw9UCW","zg9Tqxr0CMLIDxrLCW","zMLYC3q","t25SEsbJAgLSzcbUB2rLCYbJyw4GDxnLigeGCgfYzw50igv4DgvUDc4","y29SBgvJDerHDgfZzxrgAwvSzfbHDgHZ","y29UBMvJDe9Uq2XPy2S","5lIk5lYG6zsz6k+V","CMvTB3zLqxr0CMLIDxrL","6zw/5yIslEwpJoEcUEs6PoABVW","y29UDhjVBa","mtKYma","zMXLEc0XigjVCMrLCIbIB3jKzxiTz3jHEs0YmdaGCM91BMrLzcbWlti","BMfTzq","x190CMfUC2L0Aw9U","y29TCgXLDgu","rxzLBNq","5OMN6kgm6kgO6l6+5BYp","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWyY00lJeXncaXlJGYoc0XlJm3idiUmtmZlJmWnsaYlJqZocaXlJy3nI4ZmduGnc40mIaYlJu5idqUndiGns4Xodf2mY4WndHimY4WndDbmY4WntyGmY4WntyGmcaWmdaGmtmUnZe0DJe1lJiZoeeZlJa1nIaZlJa1nIaWidaWmY4WndGGmZjOmtGUmJG1ytmUmdu2idmUmdu2idaGmdaZlJa0oc0ZlJa0ofyXmY43mtrHmY4WntyGmY4WntyGmcaWmc0ZlJa0oc0ZlJa0n3PnmtiUmtKGmJqUntmZytmUmdu2idmUmdu2idaGmdeTmY4WndCTmY4WndCGmY4WntyGmY4WntyGmcaWmtmUmdq3ltmUmdq4idmUmdu2idmUmdu2idaGmdeZlJa0ocaZlJa0ocaZlJa1nIaZlJa1nIaWidaXltmUmdq4idmUmdq3EG","CgfYzw50swq","y2XHC3nmAxn0","x196B29TAw5N","A2v5zg93BG","zhjHzW","zM9UDc1TzwrPDw0GDgv4Dc1ZBq","Aw5Uzxjive1m","6ycp5PIo5BQM","576K57Ue6iQc54k5","5A2x5l2t5AsN5Bcp","ywrK","zxjYB3iWmti","Bw91C2vTB3zL","ChjVCgvYDhK","BwvHC3vYzwq","Aw50zxjYDxb0lNPVB20Gzw5KlNPVB20","iZHJogm4yW","Axnoyu4","BM9KzuLK","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMC","zMLUzeLUzgv4","DgfYz2v0ug9ZAxrPB24","qxjYB3DvCe91DgXPBMvK","BwfYA2vYvw5PDhm","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWma","DxnLrgvIDwDwywX1zq","zgfYAW","C2HVDwXKvw5ZDwjZy3jPyMu","6k+35ywi57Ur5A6A5PwW5O2U6zUg","CMvHy3qTzMXVDW","zML0vMLLDW","BMuTCMvZAxPL","BxqTncbMBgv4igP1C3rPzNKTzw5K","x2v4zwn1Dgu","Dg9VigXHDgu7igfSCMvHzhKGCNvUBMLUzW","5A2x5Q616AQm6k+b6zsz6k+VjhTSywjLBh0","tufyx1zbtfvf","CMvZDgfYDa","zgvZDhjVEq","BwfYA2vYu3rHCNq","u0vmrunu","zgvNksa","q3vZDg9TrxzLBNq","BwfUDwfS","DxjSkcCJ","cIaGicaGicaGicbYB3vUzgvKlwXNihrYyw5ZAxrPB24TywXSigr1CMf0Aw9UltiWmcbZzwXLy3qTBM9UzqOGicaGicaGicaG","yM9YzgvYihjVDw5KzwqTBgCGCc0Yign1CNnVCI1WB2LUDgvYigHVDMvYoMjVCMrLCI1IBhvLltuWmcbOB3zLCJPIzY1IBhvLltuWihrYyw5ZAxrPB24TywXSihrLEhqTy2vUDgvY","5Q+p5lIQ5PwW5O2U6zUg5y+V5lUL5PIViePtt04G5A+56lgH5QIH5P2/77YiuMvJB3jK77Yj5OIw5PwW57Ue44cc54Q25Ocb57Ur5A6A5zco77Ym6kgO6l6+5BYp562+5zcn5lI6","Cgf0DgvYBG","5OMl5yQO6l6t5ywL5PI+56s655Qe5yc8","Cg9PBNrLCI1LDMvUDhmTBM9Uzq","5RE75yQG5lQl5lU25z2x","C3rYywLNAhq","B2jZzxj2zwq","Bs9ZWRi","re9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO","y2vPBa","zg90","6yca5yE65Rwp6kEi","lwzSB3DFx25Vzgu","u3rLCevKz2u","BwvZC2fNzq","5OMN6kgm5PA55BYp","xhmQkfSRlv0/xgqRkvXZkG","Bw91C2vKB3DU","6yca5yE66k+L57Ue55Qe5Rwp6kEi5QIH5BYp77Yi5Asw6yoO57+76Ag1ifvjiowWHUEMGEEuQo+8Iq","BwWTmIb0zxH0lxnTigzVBNqTBwvKAxvTihrLEhqTyMX1zs02mda","5l6l5AAc77YA5l+D5A2y5OIq5yQFioAiLIdNU5pMNPZVVjP7E3bYzxz9Fq","DMfSDwvpzG","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWidGGmca0lJu3msaZlJqYosa0lJu3msa3lJyXoxyZlJa0oeGZlJa0oeeZlJa1nIaZlJa1nIaWidaWmcaXmY43mtr2mtuUmJm4qtmUmdu2idmUmdu2idaGmdaZlJa0ocaZmMGXoc4YodvHmY4WntyGmY4WntyGmcaWmdmUmdq4ltmUmdq4vJeZlJCXngeZlJa1nIaZlJa1nIaWidaWltmUmdq4ltmUmdq3EK0XmI4XosaYnc41mZnHmY4WntyGmY4WntyGmcaWms0ZlJa0nY0ZlJa0nYaZlJa1nIaZlJa1nIaWidaXmY4WndCTmY4WndGGmY4WntyGmY4WntyGmcaWmtmUmdq4idmUmdq4idmUmdu2idmUmdu2idaGmdeTmY4WndGGmY4WndD6BtqUnZi0lteZlJG2nKG3lJq2n1y3lJyXowmWltiUntKGmI4XmZmTnc43mJqGnc43mJmTnc43mJqGmI41oteGmca0lJCYncaYlJeZmYa0lJCYnca0lJCYnhyZlJa0ohO","B3bHy2L0Eq","CMv0DxjUigzHBhnLoW","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltm","mJa3qvbqBMLt","Dgv4Dc1ZBsbMB250lw1LzgL1Bq","x3rOCM93swzdBg9Zzwq","5lIl5lIa5BM05lUJ","y3rYBeTLEq","B25nB3zLrw5K","CMvHy3qTzMXVD19FBM9Kzq","D29YAW","zg9JDw1LBNq","sxrLCMfIBguGy2fUBM90igjLig51BgW","BwiTmG","zxzLBNrgBg93rgf0yq","Dgv4Dc1NCMf5ltqWmcbOB3zLCJP0zxH0lxjLzc01mdaGy3vYC29YlxbVAw50zxi","x+wKJEwiTG","CMDIysG","Dg9VigXHDgu7igfSCMvHzhKGC2nOzwr1BgvK","iZuYyZqXyq","zgLZCgXHEwfIBgu","y29UDgv4De1LBNu","B25oB2rLrg91yMXLq2XPy2S","zgLYzwn0Aw9U","lM5VA2v5","C2v0uhjVCgvYDhK","zgvMyxvSDfj1BNrPBwviyw5KBgvYCW","x3jLBw92zvbHCMvUDa","yxrHBJi","C2vSzwn0ywjSzq","i2yWzJbMma","Aw5SAw5Lu2nYAxb0","6ycA6Akr6ycF5BQM5PYj5Pwi5yc8","BM9Kzs5Hmtf5rgvZy3jPChrPB24UA2v5yM9HCMreAxnHyMXLza","mtaWjq","uMLNAhrpDxrSAw5Lza","DxnLCLnWywnLt25vC2u","Dg9qCM9TAxnL","Dgv4Dc1SzYbMB250lw1LzgL1Bq","DMvYDgLJywW","5lIl5lIa5BM0icHdB250CM9S6zsU5yQG5y+Z5PA55zcr6zsUkq","BgfIzwXdB2XVCG","zM9UDfnPEMu","Dgv4Dc14CYb0zxH0lwjSDwuTntaWigzVBNqTyM9Sza","5PwW5O2U6k+35Rgc","yM9Sza","Dg9qB3nPDgLVBG","zw5K","jhTSywjLBh3MMk/KUidKUkRML6dMLyJML6xMNj8","yMLUza","576K57UexW","y3vYC29Ylw1VDMu","AgfUzgXLqM91BMrZ","CMvZB2X2zuzSB3DfDMvUDejSB2nR","5BYa5AEl5zgO","BMf2AwDHDgLVBLn0ywnR","BgvMDa","6lEZ6l2SoIa","A2vLCefZCgvJDfjHDgLV","55sX6kgO6l6+5BYp6iEQ5yQO6k6H566x","mc4X","BM93","u3rLCa","cIaG","B25fzgDLC0rLBgv0zq","jhTSywjLBh3MNidLSjeKE21PBN3KUkRLRzFNRky","mZi0mdmWotb0sfbnCKO","B3jPzw50","C2XPy2u","D2fYBG","Dw5KzwzPBMvK","Bw91C2v1Cc56B29T","zxjYB3iWmdy","zgf0ytPPBwfNzs9ZDMCREg1Sla","5Pw05z2x6l+u5zUE5yc8","y2XHC3noyw1L","ChGS","x2LK","y2HLy2TLza","u2f2zu91DgXPBMvK","8j+sOsdMJ5dNPlRVVjRMI5BMI73NIANMLPNLIldNLlVLUipLIjVLU7ROIOlNGRNVViZNGRNLH7VNUR/MNAhNIANMLPNOV5VLHAxNU5JLIlBMQkhLVi8","B25oB2rLrhjHz1n0B3a","5ywL5y+c5zcn77Yi5OYj6l+E57Q/6Ag65BQp77YjoIa","uMvHy3qGrMXVDW","x2v4Axq","BM9KzuXVB2T1Ca","DMfSDwu","yMCTz3jHEs01mcbYB3vUzgvKlwXNihaTmYbIB3jKzxiGyM9YzgvYlwDYyxKTmJaW","C3rHCNqUEM9VBq","CMvZAxPPBMC","re9ntwf0CML4uMvHze9UBhK","ugfYDgLHBa","DgLTzq","57Ut5P2F5zgO","5PwW5yc85Qc85BYp5yYw5PE25l+D55wz55Qe5Bcp5PwW5l2n5PwW77YmlthOOAJNPlRKUi3MOlZLVi/LJjy","C2nHBgvfEhrLBNq","rgvSzxrLt3v0BgLUzwq","qxjYB3DeB3DUt3v0BgLUzwq","57ky6ls0iePtt04G5yAf5A6577YA","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltq","Dg91y2HZDgfYDa","zw5Kwa","zMLSzxm","CMvHy3qTzMXVD19Fy29UBMvJDgLVBI1WyxrO","yxbWzw5K","zNjVBq","DxnLtwvTBW","rw1WDhK","B25oB2rLq2XPy2S","Dw5PDa","5PI+56s6572r5Qc8","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94AhrTBa","z2v0vMLLD3bVCNq","C3LUyW","Dgv4Dc1SzYbMB250lwjVBgqGDgv4Dc1NCMf5ltuWma","yMX1zq","ChGSia","Bw92zq","y2HLy2TfCxvHBgL0Eq","5B+R6ycF5A+56B2q","C3vJy2vZCW","zxHWB3j0CW","q2XHC3mGzxH0zw5KCYb2ywX1zsa","zwXLDMf0zu5VzgvZt25tzwXLy3q","Aw5Zzxj0qMvMB3jL","zgvSDgfy","twfYA2vYrgvMAw5PDgLVBNm","CgfZDa","5PAh5lU25Qc85BYp6zsz6k+V","zxHLy3v0Aw5NigeGy2fUy2vSBgvKigfJDgLVBG","y2XLyxjbBgW","tufurvjjquXFu1rbvfvtx0niqu5hrq","Bgv2zwW","rNjLzq","5lIk5RI46l+E57Q/oG","twfYA2vYihr5CguGiG","ywzMzwn0C1K","q2fUDMfZ","AxrLCMf0B3i","Dg9mB3DLCKnHC2u","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltmGDY1MDwXSihb5ltiG","C291CMnL","DhjHBNnSyxrLka","6ycj5OUP5BEY5RoO5yAm55Qe5Asw6yoO5PA55Rov","y29UDhjVBhmUEM9VBu91Dc5HCMLHtgfIzwW","Aw50zxjWB2XHDgu","mcaWidmYidu","CMv0DxjUigfYz3m7","Dg9tDhjPBMC","Dgv4Dc1NCMf5ltyWmcbTDc0WlJu","zxzLBNrgBg93","DxnLuMvM","rNjHz21LBNq","5z+656ga5B2I54Q2","CMvHy3qTzMXVD19FDMLLD3bVCNqTCg9YDgfS","B2jQzwn0ihvUC3vIC2nYAwjLza","CMvZAxPL","y3vYC29YlxbVAw50zxiGBwiTma","5A2q6iQc54k5ia","6ycj5OUPiePtt04G5PAh5lU25A+85ywL77YA","Bwf4wa","uMvHy3rAB29TugfUugLUy2G","zgvNkq","yxv0B1bHBK9UtM9KzuzVy3vZ","54Q25OcbicH0ExbLkq","uhjVDMLKzxi","BwvTBW","zNjVBu5Vzgu","qxjYB3Dmzwz0","q2fUj3qGy3jLyxrLigvKz2uUiefUigvKz2uGBMvLzhmGysbZB3vYy2uGyw5KigeGDgfYz2v0lG","ios4QUEkTUAaGq","x19LC01VzhvSzq","BgfIzwXtDhLSzq","zwfJAa","AxndBgLJA2fIBgu6","z2v0qxr0CMLIDxrLtLm","AxnAB29TAw5Nt3jqyw5UAw5N","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igeGBM9Kzs4Gww91ignHBIb0AgvUihvZzsb0AguGyxjYB3CGA2v5CYb0BYbTB3zLihrOzsbUB2rLigfYB3vUzc4GuhjLC3mGzgvSzxrLihrVihjLBw92zsbPDcbHBMqGzxnJyxbLihrVignHBMnLBc4","y29UDgvUDeLUzM8","zxzLBNrsB290CW","iIbUB3qGzM91BMqUifvZAw5NigzHBgXIywnRihr5CguGiMrLzMf1BhqIlG","y29UC3rYywLU","DMfSDwvdB2XVCG","ltiWChG","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iInMywfKmtqIihj4psiYmciVpJWVC3zNpG","y3jLyxrLq29UDgv4Da","5RE75yQG5ywL5y+c6kgm77Yi56YS5yEG5lIQ5y+c5PwW77Yj","5lQl5lU25Rwb5yIB5BU65OIq5yQF","y29UDhjVBhmUzML0vMLLDY5HCMLHtgfIzwW","qMv6AwvYrwrNzq","yw50ze1LC3nHz2u","B25oB2rLtw91C2vfBNrLCG","5BEY5l+D5A2y","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg5l2C5lI65PwW5O2U5RQq","5PwW57Ue56YSia","z2v0rxzLBNrcBg9JAW","CMvSzwfZzvbVAw50zxjdyxb0DxjL","5PQc5PEG54MP5PAz","DgHLBG","zxzHBhvHDgvtDgf0DxnfEhbYzxnZAw9U","iZeZyZjJmG","Aw5SAw5LlwjSB2nR","tgvMDe91DgXPBMvK","rwrNzsbMCM9Tia","5y2G5l2n56YM77YAE3TWCMv2Fx3JGif7E+wfPEwpGUwqJx19iow8LEEuQos4IUA4UoI/NUE6V+wfPEwpGU+8M3T7jgrHDgeUEhH4Fx0G5y+w5lQl5lU25lIk5lIl5PAhigrHDge","ChjLDMLVDxntAwjSAw5N","5y+c5PwW5zcn77Ym5AAciee","B25nB3zLu3rHCNq","zMLSDgvY","57Ut5P2F5PYi5lU9","y3jPC3bfzgDLCW","u3rYywLNAhrfzgDL","AwrLBNrPzMLLCG","z2v0u25HChnOB3q","ugfYzw50ig5VzguG","iZaWmtKZqW","DhjHBNnWyxjLBNq","vgfN","y2fSBgjHy2S","C2vSzwn0qwXS","ywn0AxzLu2LIBgLUz0DYB3vWswq","DgfWCW","z3jPza","DhjHBNnSyxrLrxH0zw50","y2LYy2XL","tg9VC2u","lNjLywn0lwzSB3C","C2LU","zxHLy3v0zuj1AwX0Aw4","zw5KlNn0EwXLlG","CMvXDwvZDefUAw1HDgLVBKzYyw1L","CMvJB25Uzwn0ywjSzq","su1br0u","zwrNzuLUzgv4","y29UzMLN","Dgv4Dc1SzYbMB250lxnLBwLIB2XKihrLEhqTz3jHEs04mda","Aw50zxjUywXZ","C2v0qxr0CMLIDxrLCW","Bwf4vg91y2HqB2LUDhm","6k+36ycj5OUP5BEM5l6N5lIa5lIQ5zcm57QN5ywZ57o757Ue","C3rHCNrbBMDSzq","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y","y3vYCMvUDa","z2v0qM91BMrPBMDdBgLLBNrszwn0","ttmUnJKYidqUnJnJmc0UntmUnc0Uotm4lJKZos0Uotm4AduUmJe1vJbinc43mdHdmI4XmYaWidaGmI4WntqGmca0lJyZDJuUmJe2AdmUnJKYvJqUnJmXEK0YnY4ZntqGmgGTns4YDJmUnJKYAduUmtDJlJuZidaGlJK4nc40lJK4nc45mZL2ns4YmtvimZjwnc42mZfbnc42mJqGnc42mJqGmcaWmdi3lJm1ncaWEM0Uotu0idi0lJGZyZaGlJuZmI0Unc45nc0Uotm5lJK0Ac01lJiXnxyZlJC2ogG1lJiXnwmYlJu3nYaWidqUnJmXltiUmtmGnc42mZeTnc43mdD2ltuUmtm5Ac0ZlJy5mNy1lJeZoxPTltiZlJy3nY45ngmTlJuZmsaWls45mZKTlJqTlJKZos0Uotr2ltuUmtm4sdb2ns4XmZLJmcaYlJu3nYaYlJeZidqUnZa3idqUnZa4idqUnZa3AduUmtm4vJi1lJC3sdqUnJmXEG","CMvHy3qTzMXVD19FyMfJA2DYB3vUza","y3vYCMvUDe9IC2vYDMvYCW","5OUw5OU95PEl6l2S","y29UBMvJDgLVBK1Vzgu","DhjPz2DLCK5Vzgu","AwnVBNm","zw5Kug9PBNq","y2HYB21L","twLUAsbnyxa","zxjYB3iWmdK","B3jKzxi","x3rPBwu","B3DUzxjeB2n1BwvUDa","AxnwywXPza","5lIk5lIa6Ag1","i2zMngq0zG","y29UDgfPBNm","BM9KzuvSzw1LBNq","5lIk5A+56B2q","C2v0twLUwM9VBq","Bwf0CML4","zgf0Dw0","y29TBw9Utg9JywXL","Cc00igjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","6ycj5OUP54MP5PAz","B25oB2rLq29UDgv4De1LBNu","zM9YBwf0uMDI","z2v0uhjVDg90ExbLt2y","DhLWzq","CgfYzw50tg9VA3vW","ANn4uNvUDgLTzq","rxzLBNqGzMXVDYbUB3qGAw5PDgLHBgL6zwqGzM9Yia","y29TCg9ZzwrqyxrO","C2HPzNq","DxnLCK5Vzgu","C3rHDhvZswq","zgf0ytPPBwfNzs9ZDMCREg1S","6kEM5y+r5PA55BYp","mZa2mtzfvuPXqxK","y29TCgfYzurVy3vTzw50ug9ZAxrPB24","mJjsrNHrDfe","CMvJDa","5PAh5lU25lIk5lYG5lIT","xNjNyLWO","BwiTma","5A+85ywLiePtt04","55s75BIdia","57Ue5yAf6l+y5RkH5PYj55s75BId77Ym5lUo5lIk5PA56ycj5OUP5yQG5ywL","B2jZzxj2zq","55s75BId6ywn572U","x19WCM90B19F","6Ag75lI6jhTSzw595lIQjhTSywjLBh0","C3r5BgvuD2vLBG","AgLZDg9YEq","DMLZAwjSzq","5y+w5RAi5O6s5BQp","vMvYDgLJywW","44cn77YA5lIk5RI4","Dg91y2HLCW","DxnLqMf0y2HdB250zxH0ig11C3qGyMuGDxnLzcb3AxrOAw4GysbcyxrJAfbYB3zPzgvY","tw96vxnLCLnLBgvJDa","C2L6zq","z2v0qxr0CMLIDxrL","CMvHy3qTzMXVD19Fy29UDhjVBhmTzML0DMLLDW","yw1K","xMHZBgfCka","6ycj5OUP5OIw5yIB5BU65lQl5lU25Rwb","EKLUzgv4","y3jLyxrL","5PwW5O2U6zUg","57Ue5zci6ycj5lIT6iQc54k5","5Asw6yoO5lQl5lU2","5OM+5lIn5yIW5lQl5lU25z2x","DhjHBNnSyxrLkc0","DxbKyxrLtM9KzuLUDgvYBMfSCW","z3jLzw4","BM9YBwfSu3r5Bgu","BM9Kzvr5Cgu","C2fTCgXL","AgLKzuf0DhjPyNv0Aw9U","5PQc5PEG5PwW5O2U6zUg","Aw5KzxHpzG","y29WEq","5OUw5OU954MP5PAz5yIW55s75BId5yIB5BU66iQc54k5","zM9UDc1TzwrPDw0GDgv4Dc1ZBsb0CNvUy2f0zq","5y+Z6zsU6i+C5y2v","B3bLCMf0B3i","vgfICW","ChGPihnJywXLka","B25oB2rLC0rLBgv0zq","yMvMB3jLC3rHCNq","zgvMyxvSDhm","Dg91y2HTB3zL","Bw91C2vTB3zLlNPVB20","twfJ","qxjYB3DeB3DU","6ycj5OUP6kAb6lEZ6l2S55Qe55s75BId","BM9Kzs5Hmtf5rgvZy3jPChrPB24UyxjPyuXPDMvnzxnZywDL","C3LTyM9S","yMLUze5Vzgvjza","zgf0yvbVB2W","uMvHy3q","CMvTB3zLqxr0CMLIDxrLtLm","BwfW","C3rLCa","sLnptIdMOlZLVi/PLjNOR6/VViZOR7FMO4dMN6xOVPpLHAu","5PEl6l2S6kEs5BQM77Yi5BQM77Yj","CMvZB2X2zq","5Asw6yoO5PA55Rov","i2zMzMzMzG","ksb0CMfUC2XHDguO","CMvHy3qTzMXVD19FzwrNzs1WyxrO","ywjZB2X1DguGDY0ZigGTmYbIzY1IBhvLltuWmcbIB3jKzxiTmIbIB3jKzxiTD2HPDguGCM91BMrLzc1MDwXSign1CNnVCI1TB3zLihOTnta","zMXLEc0X","zgf0yvjLCxvLC3rlzxK","AgfZqxr0CMLIDxrL","54k55yE76zMn5BQp","zxzLBNrtDwjQzwn0CW","u2LTCgXLqMv6AwvY","CMvHy3qTzMXVD19FzwrNzxm","zM9UDc1Zzw1PyM9Szcb0zxH0lwDYyxKTnZaW","C2HVD0DYAwq","Bw0VCW","yMCTz3jHEs0Xmda","zgvSzxrHyMXL","zgv2zwXVCg1LBNq","BM9KzxneCMfNz2fIBgu","C3rHCNrz","BMv3wq","ChjVzhvJDgLVBG","Cg93","AgvPz2H0","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iG","zwXLBwvUDhntzwXLy3rHyMXL","BwfYz2LU","yxn5BMnjDgvYyxrVCG","BwvYz2vezwzHDwX0uNvUDgLTzuHHBMrSzxjZ","zhjHz2DHyMXL","ufjpuevsvfLFq0HbtKDf","r3jVDxbpDxrSAw5Lza","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs00igjNlwDYyxKTntaGCM91BMrLzc1SzW","5lIl5lIa5Q2L","lI4U","x25Vzgu","5PAW6iQc54k5","C2vSzwn0q2HPBgq","y3jLyxrLrwXLBwvUDe5t","B25oB2rLC0nOyw5Nzq","CMvHy3qTzg9T","y2HLy2TIB3G","DMLLD3bVCNrjBML0AwfSAxPLza","BgLUzwfYlwDYywrPzw50khrVihjPz2H0lcbYz2jHkdi0mcWYndaSmJqWldaUmdmPidfWEcWGDhjHBNnWyxjLBNqGmxb4ksWGBgLUzwfYlwDYywrPzw50khrVigjVDhrVBsWGCMDIysGYndaSmJqWldi0mcWWlJaZksaXChGSihrYyw5ZCgfYzw50idfWEcK","C2TLD1GO","6zw/5yIs6zE06zQu","DgHHDa","Dg91y2HLBMq","ihDOzxjLigeGC3rYzwfTihDHCYbLEhbLy3rLzc4Gww91ignHBIbWCM92AwrLigfUie9IC2vYDMfIBguSifbYB21PC2uSifjLywrHyMXLu3rYzwfTlcbbCNjHEsWGqxn5BMnjDgvYywjSzsWGB3iGsxrLCMfIBguU","q2XVC2vpDxrSAw5Lza","y2fUDMfZswrZ","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg","y29UBMvJDgLVBKXVB2T1Ca","x2nVBxbSzxrL","5Bcg57Q/5P2H5y+y5lI65Rc05BMZ57Q/77Ym5l+D5OYb6zw/5BQM","x2HHC1bHCMvUDa","Aw5PDe1HDgvYAwfSCW","5OUw5OU96lcd5Pw057Ui54k5","z2v0u2nYzwvUq1rn","zxjYB3i","DMfSDwvgB250v2vPz2H0","zw5HyMXL","5lQK5O2I6lw354k55zkm57Ui54k5","y3vYCMvUDfn0yxr1C0LK","oda5nJKYmLbMweXRzq","Dg91y2GW","y29UBMvJDgLVBG","6k+35AgR5yAz5zcn56EW","y2XVC2vK","y29SB3i","BNvTyMvY","5l+D55wz5Bcp5PwW5l2n","CMvSyxrPDMu","B25ezwXLDgu","CMvSyxrPDMuG","Aw5ZDa","C3bHy2uTEs00","BM9Uzq","Dhj5CW","y2f0y2G","vgHLig9SzcbLzgDLihDPDgGGAwq9","5OMa5PYj57Ur5A6A5Q2K5PwW5O2U6zUg55Qe54Q25Ocb5Bcg6iEQ5yQO6kEJ6zMK57Ur5A6A44cc","zxjYB3iWmde","5RIf56M65OMa5PYj","B2zMC2v0v2LKDgG","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24TCMvJDa","zxH0zxjUywW","BwLUwM9VBq","i2y1mJiYza","zgvIDwC","Aw5ZDgfUDa","C2v0vMLLD3bVCNq","CMvTB3zLuhjVCgvYDhK","zgfZAgvK","zxzLCNK","6k+35AgR5yAz5Asw6yoO5PA55Rov5Qch6k+g","Cc0ZigjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","6ycj5OUP5BM05lUJ","y29UC29SAwrHDgu","zMLUza","Cg9ZAxrPB24","5lQl5lU25z2x5PYQ6ywn572UigrHDgfszxf1zxn0s2v5","y2XPy2TeAxn0yw5Jzq","EM9VBq","6k+36l6t5ywL5PcC57sI5yAf5A65","tK9erv9eruXfveu","BM9KCMfN","y2XPzw50vg9W","DhjHBNnMB3jTu3rHDgu","ChvZAa","Bw91C2vKB3DUlMrYywC","6k+36ycj5OUP6kEM5y+r5PA55BYp","rxHWzxjPBwvUDe91DgXPBMvK","rwrNzvjLBMrLCMvY","jhTSywjLBh3KUi3OG73OVAZMJAlKUlRML6xMNj8","C2v0q2vUDgvY","y3jLyxrLrwXLBwvUDa","tw9KywW","Aw5JBhvKzxm","Dg9gAxHLza","Aw52zxj0","y29YBMvY","yM90Dg9T","EwvSBg93","q1vtve9n","6k+36ycj5OUP5PEL5PYF","566H55cg55s75BIdlI4U","uhjVCgvYDhLqyw5LBa","zMX1C2G","zw1WDhK","rg93BMXVywrpDxrSAw5Lza","yw4GAw52ywXPzcbVyMPLy3q","rwrPDe91DgXPBMvK","zgLZDgfUy2u","C2v0rgvMyxvSDe5VzgvZqw5KrwrNzxm","y29UDgfPBG","CgfKzgLUzW","5PYQ6ywn572U55UU5Qch55s75BIdieLe","lNjLywn0lwzSB3DFx3bHBMu","ltuSltqGmcWWic01ldq","Dw5ZDwjZy3jPyMu","yNvPBhrPBKLK","CMvZzxrgAwvSzhm","y2XPzw50v2LKDgG","vxbSB2fKignHBMnLBgXLzcbVCIbMywLSzwq6","6k+36ycj5OUP","CMvJEwnSzufZEw5Jswq","mda2","zxHW","y29UC3rYDwn0B3i","zxjYB3iWmtu","x3bHCMvUDhm","u2LTCgXLqMv6AwvYrwrNzq","ugX1C091DgXPBMvK","Dg91y2GTywn0Aw9U","55s75BId5A+85yE65OIq5yQF77Yb","Bw91C2veB3DU","5y+Q6io95lIk5lYG5zU+54Mh5PAh5lU2iq","5lIl5lIQ5PYiicJNV7VPOBxKUiVPLk4P","DxbKyxrLtM9Kzq","DMfSDwvtDhLSzq","zM9YrwfJAa","CxvLCNLtzwXLy3rVCG","Aw52ywXPza","xcKK","Aw5PDgLHBeHLAwDODa","CMv0DxjUig51BgW7","5yAf6igu6isA5PYS","su5qvvq","zgvMCW","zw5KlNjLBw92zq","ue9tsvrjvKvFsu5gsu5jvfK","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iIm1mMm0mweIlZ48l3n2zZ4","C3rVCfbYB3bHz2f0Aw9U","x2fJDgL2zq","vhjHBNnMB3jTv3jHChbLCG","DY0XmcbOlteWig9IAMvJDc1JB250ywLU","AgfZt3DUuhjVCgvYDhK","y29Uy2f0","y3vYCMvUDenHBNzHC0LK","CMvHy3qTzMXVD19FBwLUAw1HCc1UB2rL","CMvHy3qTzMXVD19FCgfUzq","5lQl5lU25z2x5BEY5PU05PAW","AhnSka","CMvHy3qTzMXVD19FCMvUzgvYzxi","6kEJ6zMK57Ue5zci","BM9qyw5dBgfZC05HBwu","ugfUzwW","CMvTB3zL","zgvSyxK","ltuSltqGmcWWic01ldqGltuSltq","6k+36ycj5OUP5PE26zE0","Aw1Hz2uVkG","C2v0vhjHBNnSyxrLrxH0zw50","qxjYB3C","5Bgv5BYa6kgm","CMvHy3qTzMXVD19FBwLUAw1HCc1ZDMC","8j+sOsdMJ5dNPlRVVjRNGRNLH7VNU5JLIlBNUR/MRRxVViZLJ6/OV57NU63NU5JLIlBLPjRMRRxNUR/VViZLJ4ZLH7VNU5pMNz/NU5JLIlBVViXfu0mG5y+w5RAi","6lw35Q2I5l2n572U77Yi55U45A+56iQc54k577Yj","C3rYAw5NAwz5","EMGTy24","5PwW5O2U6zUgia","DxjSkcnNCMLKkq","C3rHCNry","yMCTz3jHEs0Ymda","BwfYA2vYrw5K","6BYG5Qch5OYj5lIl","tgf5B3v0","zw50CMLLCW","6k+36ycj5OUP5lIa5lIQ6iQc54k5","6Ake6kEi5PAh5lU2","y2fUDMfZzxm","zxHWyw5KugfYzw50","CMvHy3qTzMXVD19FAgfUzgXLlq","C3fYDa","6zw/54k5lEEFREEcUEs6PoABVW","CMzFx3DYyxbWzxi","BgfIzwXgB250u2L6zq","Ag92zxi6yMCTz3jHEs0Xmda","DgLTzxjjza","zgf0ytPHChbSAwnHDgLVBI9QC29Uo2nOyxjZzxq9DxrMltGS","C2v0rwrNzxm","B2jQzwn0","DMLLD3bVCNqT","z2v0q29TChv0zwrtDhLSzq","6ycj5OUP6kAb57Ur5A6A55Qe6iQc54k5","Aw52zxj0wq","Dg9W","ChjLDMLLDW","zMXLEcbMBgv4lwnVBa","5PEl6l2S6kEs5BQM","DxnLrwzMzwn0","y3vYDMf0DxjL","u3DPDgnO","yxjPyvjVBgu","tgLUzq","y29UDhjVBhmUyxjPyuXHyMvS","5PwW5O2U5QIH5OUF","y2HHBMDL","ioMHUEw/HEMHU+AyR+wVUEIXOq","zMfJDg9Y","zg93BMXVywq","DxnLrM9YBq","Aw5WDxrZ","CgLWzq","AxnwywXPzenVBM5Ly3rPB24","twv0yq","5PwW5O2U5RgG","z2v0rwrNzuLK","5lQl5lU25Rwb","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWmcbYB3vUzgvK","DY1WEcbOltyGyMCTz3jHEs0ZmdaGBxGTmG","5lQm57U056cb6l+h5PYF","5OUw5OU96lcd5Pw05AsN5Bcp","5PwW57UeicG","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlwWGyM9YzgvYlwDYyxKTmJaW","57Ut5P2F5A2J5BQM","uMLNAhq","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCG","zw1PDev4DgvYBMfS","CMvZzxrtzwXLy3rLzevSzw1LBNrZ","AxneCMfNz2fIBgu","DhjHBNnPDgLVBIa","C2nHBgu","57Ue5yAf55s75BId77Yi5OYj6Ag65BQp57+76Ag177Yj","lMPZB24","Dgv4Dc14CYb0zxH0lwDYyxKTntaWig1Ilti","w2nVBNrLBNrLzgL0ywjSzt0IDhj1zsjD","zML0vMLLD09WDgLVBNm","r3jHCgHwAwv3","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0yxj0","w2rHDgeTBM9Kzs1Pzd0I","C2vSzwn0q2HPBgrYzw4","D2HLzwW","6ycj5OUP5BM05lU9","C3rYAwn0","CMvHzefZvgv4Da","C2nHBgvuBW","x25LEhq","C3rHDhvZtgLZDa","yxjNCY5WCMv2mq","ChGP","5PAh5A2x6AkC6iMY","6BYG5Qch56E75ywL","DMLLD0jVEa","BgLUzwfY","tsaYmcaWieWGmcaWidaGmJa","teLorq","zg9TtM9Kzq","C2vSzwn0Aw9U","C2v0tM9Kzuv4DgvUDa","77YA5lI65Q+p5lIQ5A2q6iQc54k56ywn572U5AsA5lIQ54Q25Ocb5zkm57Ur5A6A","u2HPzNq","6l+E57UT5A6E57Q/","x19VBG","mNb4igrHC2HLzcb0CMfUC3bHCMvUDa","C3rHCNq","CMvHy3qTzMXVD19Fyxr0CMLIDxrPB24","BgfIzwXgB250v2vPz2H0","CgfYyw1Zq29Kzq","CMvTB3zLrxzLBNrmAxn0zw5LCG","rwrNzvrLEhq","CMvHy3qTzMXVD19FyMfJA2DYB3vUzc1Wyxr0zxjU","CgfYzw50","yw5PBwf0zwq","57Uy5yI25QIH5BYp","AxnfzgL0Aw5NrxzLBNrgBg93","qeb0B1bYAw1PDgL2zsbTDxn0ihjLDhvYBIbHihbYAw1PDgL2zsb2ywX1zs4","6k+35AgR5yAz5O+q56s65yAf5A65","rwrNzsb0ExbLici","C2v0u2nHBgvfEhrLBNq","zMXLEc0Xig1PBI13lta","yNvPBgrnzxjNzwreyxrHuMvJB3jK","tgLZDa","5A2x5l2t57kx57Ug","DhjHBNnSyxrL","BgfUzW","Bw9KztO","Dgv4Dc1ZBsb0zxH0lwjSDwuTnZaW","5PQc5PEG5PwW5O2U","u3LTyM9SlML0zxjHDg9YigLZig5VDcbKzwzPBMvKlG","vgv4DefYzwe","zhjHz2DPBMC","Cc0ZigjNlwjSDwuTntaGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKlwXNig1Iltq","CMvHy3qVANn4lxj1BNrPBwu","ChjVDg90ExbL","BM9Kzvf1zxvL","C2nHBgvz","C3CTCMvZAxPL","CMvHy3qTzMXVD19Fy29UDgfPBMvY","zgLZCgXHEu5HBwu","CgvUzgLUzW","zxjYB3jZ","C2LIBgLUz0DYB3vWCW","lMrYywC","B25oB2rLrhjHz1n0yxj0","iZu5ntK1oq","DgfYz2v0sgfUzgXL","y2fUy2vS","BM9Kzxm","ANn4","C29SAwq","lY8G5y+V55sO5y+c5PwWoGOVlYbUB2rLic0G6kEM5y+r5lQl5lU255Qe6iQc54k5cI8VignVBNrLEhqGlsdKUOVKU7BKUiRKUiVMLOCklY8GyxjNCYaTios8OowfPEEAHowpGUAvSaOkCMv0DxjUigfYz3m7","yMCTD2HPDgu","54k55yE755s75BId56gU5A6A6lw354k55zkm57Ui54k5","y2HHBMDLzfrVDwnOzxm","Dg9qCMLTAxrPDMu","iZe4otbMzG","yxv0BY1ZDgfYDc1YzxzLCNnL","C2nOzwr1Bgu","CMzFx25VzguT","y3vZDg9T","6BYG5Qch56E75yE6","AxntzwXLy3rLza","5lUo57Ue5lIT56E76zMK","y29UDhjVBeLUzM8","y3vYC29YlxbVAw50zxi","zgfZAc1KB3q","C21VB3rOC3rLCa","6ycj5OUP5PAW54MP5PAz","57Q/5A6977Yi5yop57sG77Yj","CgfYDgLHBe9IC2vYDMvY","5lIk5RI46l+E57Q/iokgKIdMNkZLNzCGyxjNCYdPLk7LKi0","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlxiGyM9YzgvYlwDYyxKTmJaW","BgfIzwW","C2uTCMvZAxPL","C2v0","6lw354k5ifK","BM9Kzuv4DgvUDa","CNvUDgLTzuHHBMrSzxjZ","6k+36ycj5OUP5PYi5lU9","Aw52ywXPzcbJywXSyMfJAZOG","BM9eCMfNq2XHC3noyw1L","iIWGzwrNzsbPzdOG","B25fCNjVCG","BgLI","Aw5ZDgfUy2u","zhvYyxrPB24","ywzMzwn0C1G","zxzLBNq","CMDI","ywjZB2X1DguGDg9WltaGBgvMDc0W","CgfYDgLHBa","ywjZB2X1DguGDg9WltaGBgvMDc0WihnLBgvJDc1UB25L","y2XPzw50wa","6ycj5OUP6kEM5y+r5PA55BYp77Yire9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO77Yj","jhTSywjLBh3POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","x25HBwvZ","zw5Kwq","DhDLzw4","zwXLBwvUDezYB21qB2LUDa","u2LTCgXLqMv6AwvYrwrNzuLUDgvYBMfS","A2v5","ChjLDMvUDerLzMf1Bhq","rMfPBgvKihrVihbHCNnLigrYB3bWzwqGBwf0zxjPywW6","C3rHDhvZ","yMfJA2DYB3vUza","5lUo57Ur5A6A55Qe5PwW5O2U5lIT6ycj5OUP5A2x5Q61","jhTSywjLBh3LV4xPOBVNRyNKUO4KE2XLBN0","iI8+pc9ZDMC+","mca0ChG","y29UDhjVBerPCMvJDgLVBG","Dgv4Dc14CW","zxjYB3iWmdm","5y+V6lcd5Pw05AsN5Bcp","iZaWmdaWma","C2fTCgXLsNnVBG","57+75yIW5lIk5lIa6Ag177Yi5z+65lQo5B2t5yMn55s75BId77Yj","CMvWBgfJzq","5lIl5lIa5lIw57QQ","5lIn5zcm5PA55BYp5A+55BQu5lIl5PA55lIn5zcm6ywn572U6Ag5","zgf0ys1Oyw5KBgvWB3m","AM9PBG","C2vSzwn0zwroB2rLswrZ","54Q25Ocb5yIx6kgO","x19UB3nLBgvJDa","AgvHza","DgfYz2v0q2fUDMfZswq","qxjYB3DvCa","CgWTmIbIB3jKzxiTBc0YigjVCMrLCI1HBwjLCI0Zmda","zg93BG","5BEY56Ab55sO","zxH0zxjUywXiyw5KBgvYq2f0ywXVzW","6lEZ6l2S55s75BId","ChGG","lwzSB3DFx2HHBMrSzvTKyxrHlwLKpsi","zgLTzw5ZAw9UCW","Cg9PBNrLCG","CM90yxrLkdKWzgvNkq","5lQl5lU25z2x5PYQ6ywn572Uigv4DgvYBMfSsgfUzgXLCKTLEq","mtm5otjJwe93DwS","CMvHy3qTzMXVD19FzwrNzs10zxH0D3jHChbLCG","lNn2zW","5Pon5l2C5OIq5yQF","ios4QUIkGUEcUq","ioIHJowHQ+wgMEwpGUAvSowqJEwnS+wpR+IhQUwUMUs5IEMuRUwqJE+8IoMHU+s4JUwfPEI+UEMHUUw6J+s4GoIhTo+8IEoaGG","yNvPBhrPBG","y2XPy2S","lMfUDc1ZzwXLy3qTzhjVCgrVD24","DhjPz2DLCK5VzgvdAgfUz2vZ","yxr0CLr3zwvU","yw50za","C2v0vgLTzw91Da","Cg9W","CM90yxrLka","6k+36ycj5OUP5yAf572U5yQO5l2C","C3rHCNroB2rLwa","B2zMC2v0","5zcr5zcoiduG6Ag1","5zcm57QN5ywZ57o7ia","x2nOzwnRrMLUywXPEMvKu3rHDhvZzxm","igvYCM9YCYbVy2n1CNjLzcbKDxjPBMCGDw5ZDwjZy3jPChrPB246cG","CMvHy3qTzMXVD19FzwrNzs0","D2fYBMLUzW","54k55yE75y2h5BQp","yxv0B1bHBLnWzwvK","5lIk5lIa5Q2L","mNb4ihnVBgLKicmXodKWzMy","yxjYB3DJBg9Zzwq","mda4","6yEn572U6kEg5zU+","zMXLEc0Xig92zxjMBg93lxKTyxv0BYbWlti","zw5HyMXLza","Ac1MDwXSigzSzxGGAxrLBxmTy2vUDgvYigP1C3rPzNKTy2vUDgvYigjNlxDOAxrLigjVCMrLCI1SigjVCMrLCI1NCMf5ltiWma","zxzLBM9Kza","CMvHy3qTzMXVD19FDMLLD3bVCNqGEhLMBg93x192Awv3Cg9YDcbYzwfJDc1MBg93x19JB250ywLUzxi","C3LZDgvT","y29UDgv4Dg1LBNu","jsWG","C3rHy2S","DY1MDwXSigGTndGGCc0ZigjVCMrLCIbIB3jKzxiTz3jHEs0ZmdaGCM91BMrLzc1SzYbMB250lw1VBM8GDgv4Dc1ZBsbYzxnPEMuTBM9UzsbMB2n1CZPVDxrSAw5Llw5VBMuGzM9JDxm6CMLUzY0YigzVy3vZoNjPBMCTyMX1zs01mda","5Qch562+5Qc35BYp","zM9YBwf0shnS","DxnLu3rHDgu","zM9YD2fYzfjLzG","Dgv4Dc14CYb0zxH0lwDYyxKTndaW","C3r5BguU","zMXVD0rHDge","5zcr5yMniduG6Ag1","6k+36ycj5OUP6iQc54k5","mcaYChGGohb4ihjNyMeOmcWWldaSmc4XnsK","iZCYmMvKmq","Dgv4DenVBNrLBNq","y29UDgvUDa","CMvJDcGWChGSidbWEcWGmhb4lcaWChGP","u2v0DgLUz091DgXPBMvK","zhjHz3n0yxj0lMrYywC","u3vWChjLC3nLzevYCM9Y","57Ue5Ocb57Yw6l6r5zMO","y29UDhjVBhmUAw50zxjHy3rPDMuUyxjPyuXHyMvS","B25dBgLJA0nVBM5Ly3rtDgfYDa","nJC1mtuYmufNAvrcvG","C2fTCgXLiow/HEMHU+AyRYbku09oiowVUEIXOEAiLUAvSoE7Ha","Bg9JywW","5BgE5OcN6z2I5P2/","qxjYB3DsAwDODa","5PAW5BU65PwW5O2U6zUg","Cgf0Ae9WDgLVBNm","6ycj5OUP5QIH5BYp","DhjHBNnPDgLVBG","Dg91y2HLBMqUzhjHzYb0B3vJAgnHBMnLBc5KCMfN","ksbZy2fSzsG","zxjYB3iWmdu","AgfUzgXL","5Qch6k+g5lIn6io95lI656M6","yw55","Dg91y2HHyMXL","6k+36ycj5OUP55UU5Qch55s75BId","zxzLBNruExbL","x19UzxDFxW","5PYa5BcrjhTTAw595lIQjhTSywjLBh0","DgHYB3C","yxjPyuXHyMvS","ugXLyxnLihvZzsbGz2v0tM9KzxncB3vUzhnGigzYB20GyhvZzvjLywn0rMXVD2aVyhvZzvn2zwX0zuzSB3DGigHVB2SGDg8Gzw5ZDxjLignVCNjLy3qGDMfSDwvZigzVCIbZDwiGzMXVD3mUieLMig5VDcbWB3nZAwjSzsWGEw91igHHDMuGDg8GChjVDMLKzsbHig5VzgvmB29RDxaGDg8GC3vWCg9YDcbZDwiGzMXVD3mU","5y2v5l2n77Yi5AAcWRbd44cbjEoaGu1qyEETIE+8Iq","CMvZzxq","yxjYB3C","yxr0CI4","lxDLyMTPDc10yxaTAgLNAgXPz2H0lwnVBg9Y","6iom5PMV5zU+54Mh","y2XPy2SUzhjHzW","C3rHCNrxAwr0Aa","nNb4idHWEa","zMXPCfK","zgvZy3jPChrPB24","Dg9ju09tDhjPBMC","54k555s757Q/77Yi5lIT5B+d57Q/77Yj","BMv3","Aw5qCM9NCMvZCW","ioADOEwfPEI+UsdIHPdJGiW","EKLUzgv4tw9Kzq","u3rYywLNAhq","zwrNzuXVB2T1Ca","Dgv4Dc1ZBq","Bg9HzgLUzW","uMvHy3qGrMXVDYbHDhrYAwj1DgLVBG","Dg91y2HTB3zLlNPVB20","DMLLDW","y2fSBa","y2XLyxi","zgL2","54k55yE757Q/5P2H54MP5PAz5BYa5AEl57Uy5yI2","Aw50zxjUywW","y2fSBgjHy2SGAxmGBM90igeGzNvUy3rPB24","q29WEu91DgXPBMvK","xNjNyMfCka","Bg9N","qLvuve9o","jhTSywjLBh3ML6xMNj/MOlZLVi/ML6dMLyG","zw5HyMXLrxzLBNrgBg93","BM9Kzuv2zw50qMLUzgLUz3m","C3bHBG","BxqTmIbWltiGyM9YzgvYihjVDw5Kzwq","qMfJA3nWywnL","zxjYB3iWmdG","q29UDhjVBa","Dgv4Dc14CYbTyI0X","rM9YBq","vw5NCM91Ce91DgXPBMvK","55s75BIdide","x19KzwzHDwX0x18","BgLUzvr5Cgu","CMvXDwvZDefZEw5Jswq","zgvSDgfz","BMf0AxzLrxzLBNq","yM90Dg9TlwXLzNq","vg9VBhrPCa","BMv4Da","vMvYDgLJywXbBgLNBKjVDhrVBu91DgXPBMvK","zwrPDa","B25tzwXLy3rPB25eCMfNu3rVCa","C3rHDgu","Dg91y2HZDgfYDc56B29T","57Ut5P2F5PE26zE0","Bwf4wM9VBq","C3rHCNrsB3rHDgu","AxnjzgvUDgL0Eq","ywn0AxzL","5PAW5lQl5lU25z2x","yMfZAwm","CMDIysGWldaSmcWWkq","6ycj5OUP5yw35l2t5yAf572U6io95yQB","BwfYA2vY","CMvHy3qTzMXVD19Fy29UDhjVBhmTAw50zxjHy3rPDMu","zgv0ywLS","q29SDw1UsgvPz2H0t3v0BgLUzwq","DMfSDwvtB3vYy2vdB2rL","x3bHCMvUDgfNzq","z3jVDxa","ChjLDG","C3rLCfbVC2L0Aw9U","C2vSzwn0zwroB2rLswq","zgf0yq","AhjLzG","BxqTna","y2XVC2vZDa","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaW","DxnLCKfNzw50","Bw91C2vmzwf2zq","wvLzwEw5Ta","zM9JDxnHyMXL","6k+36l6t5ywLjhTSywjLBh0","y2vUDgvY","zgv2AwnL","yxnZAwDU","CMfUz2u","5zcm57QN5ywZ57o757Ue","5zYg6kEs55+P5B2I","y2XPzw50wq","BNCTCMvZAxPL","C2v0u3rHDgu","C29YDa","zMLUywXPEMu","DxnLCLnLBgvJDgLVBKfJDgL2zq","lY8G5PsV5OYb5A+56lgH5OIw5PwW57Ue5Qc85BYpcI8ViowVUEIXOEAGVow8J++8MGP7cIaGiNnWzwvKiJOGmcWkicaIDgvTCci6idi1laOGicjUzxn0zwqIoIb7icj4iJOGmsb9cN0kcI8VioAvSoE7HoAGVow8J++8IoAVJ+MHUEMCGowmHEwqQYbUyw1LiowTL+AUTEEuQos6JUMaIEAlQE+8IE+8MGPBcIaGEYaIBMfTzsi6iclMTyVNGRKXiIWGiNzHBhvLiJOGmtaWlcaIDw5PDci6icjTBsiGFsWkicb7icjUyw1LiJOGiUA1I+EcUtiIlcaIDMfSDwuIoIaYmdaSicj1BML0iJOGiM1TiIb9cL0","yxjNCW","C25HCfrVr3jPza","zNv0DxjL","B2zMC2v0sgvPz2H0","CMvHy3qTzMXVD19FBM9Kzs1KzxnJ","57Q/5P2H5BgE5OcN","DgHPy2TUzxnZ","tM9Kzsb0ExbLici","zMLSBenVBg9Y","C2v0rhjHz0LTywDL","u2nOzwr1BgvKigfJDgLVBIb0AhjLDYbMywXZEsbLCNjVCG","57ky6ls055s75BIdiePtt04G5yAf5A65lI4U","ENvZDgfUza","cIaGicaGicaGica","CMDIysGYncWXndqSmJu1ldaUmdGP","DY1MDwXSigGTzNvSBa","yMfJA2DYB3vUzenVBg9Y","yMfJAW","BgvUz3rO","sxqGC2vLBxmGDgHHDcb5B3uGyxjLihrYEwLUzYb0BYbKCMfNigeGBM9Kzsb0Agf0igLZig5VDcbPBML0AwfSAxPLzc4GugXLyxnLihvZzsbVBK5VzgvZq2HHBMDLigfZigv4CgXHAw5LzcbPBIb0AguGzg9JCY4","5yIG6zMK5PAh5lU2","5Bcg6k+L57Ue6k6+5lI65Rs76lEd57Ue77Ym5Asw6yoO57+76Ag1ifvjioAnRUATPowqR+EuQa","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMu","rhjHz091DgXPBMvK","ANvTCfrVq2fUDMfZ","ww91ihbYB3zPzgvKia","AgLKzgvU","yM9VBgvHBG","y29UBMvJDgfIBgvLBMq","iZi2mJyYnG","yNv0Dg9U","tK9erv9truXfq1q","oJPLEhq6oG","ihrVia","B3bZ","Aw5MBW","Aw50zxjWB2XHDgvcDwLSDgLUu3rYAw5N","C2nOzwr1BgvYqwn0Aw9Uq3rVCG","CMvHy3qTzMXVD19FC2vSzwn0Aw9UihjLywn0lwzSB3DFx2nVBNrHAw5LCG","zMXVB3i","Cgf0Aa","C3rHCNrZv2L0Aa","y3jLyxrLrgvMyxvSDfn0yxr1CW","5yAf572U5yQO5l2C","CgHHBNrVBq","D2LKDgG","Dgv4Dc1ZBsb0zxH0lwDYyxKTnJaW","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltiGBwiTmW","ndmXody0ngX1BgvRua","C3bHy2uTEs0Z","5BYa5AEl5BM05lU9","jhTSywjLBh3POBVLNkGKE21PBN0TjhTTyxH95A2x56YM5lMl6zE0","CMvHy3qTzMXVD19FyxjYB3DOzwfK","q29UDhjVBhm","57Q/5P2H57Uy5yI2","AxnjBNrLCM5HBa","l2rPC3qVC3r5BguUy3nZjYbVCIbIyxnLlMnZCYb0BYbTywTLihn1CMuGzxzLCNL0AgLUzYbPCYb3B3jRAw5NihbYB3bLCMX5lG","C2nOzwr1BgvY","57Yw6l6roIa","q29UC3vTzxi","mcaWidrWEcbYz2jHkdaSmcWWldaUmYK","5Rc05BMZ5yIg5BId","x+wjR+ACRa","vg9Nz2XLieLUDgvYywn0AxzPDhK","C3rYB2TL","CMvQzwn0","5lQl5lU25Rwb5l+D5A2y5OIq5yQF","zNjVBNq","zgvSDgfnB2rL","Aw5PDev2zw50","5ywO6ycj5OMa5PYj","5lIk5lYGifnwrW","Dg91y2HZDgfYDc5KCMfN","md3MSltLUBpLKjhLJ7pVViW5md3LNOlNM7tLKjhKUiVVViZKU4xNLkJKUO7MOlNMJA7OTBFNGRNLKOZPLB/LUQBPH43MLRdORQhNRPFNU4JNGRK","zM9UDc1TB25VihrLEhqTC20","sw5WDxroDw1Izxi","qebVyNnLCNzHyMXL","zxHWCMvZC2LVBG","ug9Wy29UzMLYBq","x3zHBhvL","z2v0qKjVEa","khbYzwzLCNmTy29SB3iTC2nOzw1LoIbKyxjRkq","CgfNzvG","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igfUigvKz2uUifLVDsbJyw4GDgHLBIbWCMvZCYbKzwXLDguGDg8GCMvTB3zLigL0ig9YigvZy2fWzsb0BYbJyw5JzwWU","55wz56M65l2/55sOigfUDgqG6BUy6k6K77YB5AgRidaG6kgO56s65lIn6iEQ5yQO5ywZ6zET","zMLUzefJDgL2zvn0yxr1CW","ANn4CW","y2XVC2vKlq","BM9Wyw4","x25HBwu","z2v0","BgLUzq","Dw5ZAgLMDa","6k+35AgR5yAz6k+35Rgc5Qch6k+g","BwiTncbWltmGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKigjNlwjSDwuTntaVnta","jhbYzxyU","56YSideG6kgm5A+55BQu56YSideG5P2H5OYh5zcr5PYS5z2x55Qe6l+E57Q/77Ym56YSidiG6kgm5A+55BQu56YSidiG5P2H4OcM4OcM77Yi6Ag65BQp5lIo55s75BId6l+E57Q/5RE75yQG6Ag65BQp5lIa6iE077Ym5ywi6l+E5zYO5yMn77Yj44cc5lIn5RE75yQG6kgm5PE277YA5y2v5ywL6l6555sO","C2vSzwn0zwrfzgDLCW","x2vUDgvY","77Ym6Ake6kEi5PE25lUL5QIH5P2/5lI65BQv5zci5BM255s75BId44cm5QIH5OUF5PwW5O2U44cn44cc5PwW57Ue5Qc85BYp6zYa5yYf5zcRig5HBwuG5A2x5Q6155sO5lQo6ycj5OUP44cc","Cg9ZAxrPB25byNnVBhv0zq","C291CMnLtgfIzwW","rg93BLnXDwfYzu91DgXPBMvK","ChvYCgXL","C3rVCeLTBwvKAwf0zvbYB3bHz2f0Aw9U","rxLLt3v0BgLUzwq","ufjfu0vovevex0LnquDfx1njtvbmrq","DMLLD3bVCNq","Dw5VyNnLCNzL","DxbKyxrLq29UBMvJDgLVBG","6BYG5Qch6l+B5ywL","CMvHy3qTzMXVD19Fy29UDhjVBhm","tM8GDgLTzw91DcbWCM92AwrLzc4","z3jPzcbNCMLKlwnVBhmTncbNyxaTmG","zgLZCgf0y2HfDMvUDa","C2vUDa","ywn0sw5ZAwrLsw5WDxrxAxrOtw9KAwzPzxi","zw50zxi","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCG","C2v0rgf0yq","ywjZ","sxrLBq","zxHLy3v0zuzSB3DoB2rLCW","rNvSBa","yxbWBgLJyxrPB24VANnVBG","uMvHy3qGrMXVDZOGDhjPz2DLCIbUB2rLignOyw5Nzxm","DY00igGTncb0zxH0lwjSDwuTnJaWigjVCMrLCI1NCMf5ltmWmcbYB3vUzgvKigzVy3vZoNjPBMCTyMX1zs01mda","u21VB3rOu3rLCa","iwjNlwjSDwuTntaW","CMvHy3qTzMXVD19FzwrNzxvWzgf0zxi","zxHLyW","C291CMnLug9ZAxrPB24","C2nOzw1LxW","y3jLyxrLu1zhug9PBNq","6iEQ5A6A5lMj","ywjZB2X1DguGAw5ZzxqTmcbWB2LUDgvYlwv2zw50CY1UB25L","zg9TywLU","zwXLDMf0zuvKz2vZt25tzwXLy3q","BM9Kzvr5CgvZ","x2LUBMvYu3vIC2nYAwjL","CM9VDa","DgfNtMfTzq","Cg9PBNrLCLG","Bw91C2vvCa","yM94lxnLBgvJDa","C2v0qxr0CMLIDxrLtLm","Aw52zxj0wa","BMv3wa","55s75BId5yIx6kgO","twLUDxndAxjJBgvpDxrSAw5Lza","CgfUwM9VBq","CMvZDwX0","zNjVBuHHBMrSzq","DY1MDwXSigP1C3rPzNKTzw5K","yM91BMreyxrHC2v0swq","CMvHy3qTzMXVD19FBwfYA2vY","q29UBMvJDgLVBKXPBMu","vevyva","CMzjza","vxbSB2fKt3v0BgLUzwq","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWma","q29UzMLNuhjVDMLKzxi","5Asw6yoO5PA55Rov5Qch6k+g","y2XHC3m","B25dB25Uzwn0rw5K","iw1Ylta","C2vJB25Kyxj5","AgfUzgXLCG","6iom5PMV6Ake6kEi","C3vWChjLC3nLza","CMvKDwnL","C2LTCgXLyMv6AwvY","yxv0B1bHBK9UtM9KzurYywC","C3vIC2nYAxb0Aw9UCW","DgLTzxi","AxneCMf3Aw5N","B3jPz2LU","Bw92zwq","yMCTD2HPDguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWihjVDw5KzwqTBgCGCc0Zig1PBI13lvSXodbWEf0GC2HHzg93lw1K","6Ag65PE26zki5PEl6l2S6kEs5BQM77Yi5BQM77Yj","D2HLzwXezwX0yq","CMvTB3zLq2HPBgq","x19KyxrHx18","idaGvG","6ycj5OUP6k+L5A2x5Q615A+55BQu55Qe5yw35l2t5yc85lUL5A6A5l2n5PwW5O2U6Ag5","C2v0rgvMyxvSDfj1BNrPBwviyw5KBgvYCW","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0B3a","5ywL5y+c5zcn56EW77Yi5OYj6l+E57Q/6Ag65BQp77Yj","5Asn5yI26iQc54k5","BgLUzujVEa","DxnLu3LUy0v4DgvYBMfSu3rVCMu","EvnUyxbWzwq","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaWig1Iltm","DhjHBNnSyxrLqNK","x196B29T","BgLNAhq","i2vImMy5nG","zw5KlG","qgfUDc1KzxnPz24VAwnVBNm","zMXLEcbNyxaTna","twvZC2fNzsdMJ5dNPlO","DxnLv2f0y2G","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlti","5BEY5yIG6zMK77Ym55U45ywZ54Q25Ocb5BEY6kEJ6zMK5PwW5O2U6zUg57Ur5A6A","zxHLy3v0zuv2zw50rMXVDW","5PYQ55+L57g75z6l","55+L6ygt5lQg","C2vSzwn0zwroB2rLCW","5y+V6ycj5lIT","yxbWzw5Kq2HPBgq","zMXLEc1ZDgfYDa","DxnLtgf5B3v0rwzMzwn0","Aw1Hz2uV","mde1","5zYO5lIl5PA556YSia","5O+q56s65yAf5A65","DxbKyxrL","EMHFq04","57Ur5A6A54MP5PAz","BgfIzwXtAg93qMC","jhTSywjLBh3MNidLPjOKE21HEh3KUkRLRzFNRky","BgLUzvDLAwDODa","6k+L5PwW5O2U6zUg55QeihnHBxbSzsdKUlRMLBdNU4tVViZOR7FPGiNMI6NNLkJKUO7LJlNPHy3MLBdMJA7POBNNMOtLRzFMRRu","5BYa5AEl5PYi5lU9","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94BgLUAW","B25SB2fK","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUig1Ilti","C2vSzwn0C3rHCNqUzhjHzW","C3bSAxq","6l6t5ywL5Qch562+5PAh5PYS","C3bSAwnL","DgHYB3DUrxjYB3i","zNjLzq","5PQc5PEG5lQl5lU25Rwb","qMfJA2DYB3vUza","5A+85ywL5OIq5yQF77Yb","iIbKB2vZig5VDcbLEgLZDcWGAxqGBwf5igHHDMuGyMvLBIbYzw1VDMvKlIbuAgLZignHBIbOyxbWzw4GD2HLBIbHig5VzguGAxmGzgvSzxrLzcbIzwzVCMuGDgHLicjVBK5VzgvdBgLJAYiGAgfUzgXLCIbPCYbJywXSzwqU","B25dBgLJAW","yMCTD2HPDguGyM9YzgvYlwiGyM9YzgvYlwDYyxKTmJaWigzSzxGGAxrLBxmTy2vUDgvYigP1C3rPzNKTyMv0D2vLBIbWEc00ihb5lti","zxzLBNrcBg9JA3m","55s75BId566H55cg","5PQc5PEG5lQl5lU25Rwb57Ur5A6A","zw5KC1DPDgG","Aw5PDgLHBfDPzhrO","5PU05O2I54MP5PAz","55s75BId5A+85yE65AsX6lsL","C2v0vMLLD3bVCNrdB25ZDhjHAw5Lza","lM1HDgvYAwfSlxbYzxzPzxC","zgvMyxvSDevKz2vZ","x2DYB3vWCW","Dgv4Da","5PYQ5RoO5yAmigv4DgvYBMfSiowKHoEqHUwzQdOG","CMv2zxjZzq","5lIl5A+56B2q","Dgv4Dc14CYb0zxH0lwDYyxKTntaW","5A+85ywL5lI65PAW55s75BId77Yi5lIn6kAg55Uw5B2t5yMn55s75BId77Yj","C2nHBgvy","B25ZzwXLy3rZDgfYDa","C2LIBgLUz3m","zgf0ys1Oyw5KBgvPza","zMXLEa","x2fKzfbHCMvUDa","ltzWEa","A2v5Dxa","Cg9PBNrLCKLK","5y+V6ycj77YA57Ur5A6A5zco6kgO6l6+5BYp5lIT55QeigrHDgeG5lYA5ywi5zci5BM26k+L5PwW5O2U6zUg55QeihnHBxbSzE+8JowgJEwqIow5TUEuU+w4G+s8OowfPEEAHoI/KoIHJoAxTUAvSoAnRUoaGUs4JEE7KEwUMUAxTIbKyxrHios7HEADPEIhQUI/KoIHJoAxTUoaGG","z2v0uhjVCgvYDhLwywX1zq","zMXLEc0XigGTzNvSBcbIzY1NCMf5lteWma","zgvMyxvSDevKz2vpChrPB25Z","5PAW5BU655s75BId","u2vSzwn0","B25dBgLJA0nVBM5Ly3rfBMq","AxndBgLJA2fIBgu","D2HLzwWUEM9VBq","w1jLywn0iezSB3DDoIa","y2fUDMfZ","zM9UDfDLAwDODa","Bw91C2vTB3zLlNPVB20GBw91C2v1Cc56B29T","B25nB3zL","Ag9YAxPVBNrHBa","5y+V5OUw5OU9","sxqGBg9VA3mGBgLRzsb5B3uNDMuGy3jLyxrLzcbHig5LDYbUB2rLvhLWzxmGB3iGzwrNzvr5CgvZig9IAMvJDc4GswyGDgHPCYb3yxnUj3qGB24GChvYCg9ZzsbWBgvHC2uGzgvMAw5LihrOzsbUB2rLvhLWzxmVzwrNzvr5CgvZig91DhnPzguGB2yGDgHLignVBxbVBMvUDcbVCIbTzw1VAxPLihrOzw0U","zgLZCg9Zzuv2zw50uM9VDfbPCgvSAw5L","yxjPyuXPDMvnzxnZywDL","kgrHDgePid0+igjVB2XLyw4","tw9KDwXL","u3rYywLNAhrfzgDLsw50zxjUywW","mda1","Dg91y2GX","zMLYC3rdAgLSza","DxnLq29UDgv4Da","5Rwl6k+v5PwW5O2UicHku09okq","y2fUDMfZq29UzMLN","u3LTyM9SlMfZEw5JsxrLCMf0B3iGAxmGBM90igrLzMLUzwqU","yMfZzvzHBa","DhjHBNnSyxrLvg8","BwvYz2vsDw50Aw1LsgfUzgXLCNm","w2rHDgeTy2fUDMfZpsj0CNvLiL0","BwLUwq","yMfZzwXPBMu","Bwf4lwGTwZqWmhb4xsbVDMvYzMXVDY15lwf1Dg8","5RE75yQG5lQl5lU25Rwb","qebPDgvYyxrVCG","C291CMnLsgfUzgXL","mc4Zzw0","AgfZvMfSDwu","5P2Hl+MHTq","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvU","AxnbCNjHEq","BMfTzxnWywnLvvjj","Aw5ZzxqOmtaWjsK","BMfUB2LK","yxbWBgLJyxrPB24","5Asn5yI25OIq5yQF","C3DPDgnOq2fUDMfZ","C2vSzwn0zwq","lNH5zMXVD19FDMLLD3bVCNq","5PYQ5RoO5yAmigrHDgfszxf1zxn0iowKHoEqHUwzQdOG","AhnSysG","yxrHBG","zwrPDgLUz0v2zw50uM9VDeLK","Axnqyw5ty3jVBgXPBMC","C2v0vgLTzq","CM9VDfbHCMvUDeLUzgv4","Bwf0y2HLCW","5PEG562B6ycj6Ag5","x3rYEvn1yNnJCMLIzq","zwrNzvf1zxvL","BMv4DfnPyMXPBMC","6ycj5OUP57Ur5A6A5yc8","BM9KzvG","C2nHBguO","CMvHy3qTzMXVD19FBwLUAw1HCc1TyxnR","zgvMyxvSDe5VzgvZ","5lIl5lIa6Ag1","C29Tzq","Dgv4Dc1ZBsb0zxH0lwDYyxKTnZaW","C2TLD1G","C2vSzwn0","C3rYB2TLv2LKDgG","Bw91C2vfBNrLCG","Dw5RBM93BIb0ExbLoIa","57Ur5A6A5yc8","CMvHy3qTEM9VBs1Wyw4TCgLUy2G","B25oB2rLtw91C2vmzwf2zq","DMfSDwvZ","qxjYB3DdBg9Zzwq","yM9YzgvYlwjVEa","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlte","vw5HyMXLihrVigXPzNqGDw5RBM93BIbpyNnLCNzHyMXLihr5Cgu","jhTSywjLBh3MNidLPkFLGlZKUlOKE21HEh0","mtjWEcaW","5zYO562B6ycj6Ag55lIT5PcC57sI","y2HPBgrYzw4","mda5","54MP5PAz5BQt","mcaWidi1idmY","57Ut5P2F5BM05lU9","CMzFx21PBMLTyxa","AgfUzgXLCW","vhLWB2DYyxbOEq","BwWTmG","Aw5KzxG","6k+35AgR5yAz5OMN6kgm5lUJ56cb","tw92zwqGC2vSzwn0zwqGBM9Kzsa","6iom5PMV6iMY","Bw91C2vcDxr0B24","Cc0ZigjVCMrLCI10igjVCMrLCI1NCMf5ltiWmcbIzY1NCMf5ltuW","ywjZB2X1DguGyM90Dg9TltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","5RIq5y+y6iMY","C3rHCNrizwLNAhq","Bwf0y2HnzwrPyq","B25oB2rLrhjHzW","yM91BMreyxrHC2v0qMLUzfzHBhvL","Dg9tDhjPBMDuywC","5yc85Qc35BYp","AhLWB3q","C2nHBgvyka","Aw5WDxq","zg9Uzq","x2zPBMfSAxPLCNm","BM9KzxngB2n1C2fIBgu","zg91yMXLq2XPy2S","z2v0uMvHzgvY","x2vYCM9Y","C3r5Bgu","CMv0DxjU","tM9KzvjLBMrLCMvY","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24","zxHPDa","5PwW5O2U5RgG77Yi6iQc54k554Q25Ocb55sO77Yj","C25HCeDYAwq","i2zMzG","CMvHy3qTzMXVD19Fy29UBMvJDgLVBMXPBMuGCMvHy3qTzMXVD19Fy29UDgfPBMvY","zxH0zxjUywXiyw5KBgvYs2v5","iIbKB2vZBID0igv4Axn0lG","DxnLu3LUy0v4DgvYBMfSu3rVCMvxAxrOu2vSzwn0B3i","DY1MDwXSia","zhjHDW","AxngAw5PDgu","y2fUy2vSq29UBMvJDgLVBG","q29SBgfWC2u","5A+85ywL57Ue5Ocb5PA55Qgi","lcb5oIa","ChjLDLzPzxDWB3j0","DxjSka","5y+Z5A+56B2q","yMLUzenVzgvZ","CMvHy3qTzMXVD19FyxjPys1SAxzL","yMCTz3jHEs0XmdaGChGTmsbYB3vUzgvK","6iQc54k554Q25Ocb55sO55Qe5PwW5O2U6zUg77Yi5lIo5lQl5lU25Rwb5PEG5ywZ77Yj","t3b0Aw9U","B25czwzVCMvezwXLDgu","C291CMnLswq","B3DUzxjtvKDfBgvTzw50","qwXPz25mzwz0t3v0BgLUzwq","54Q25Ocb5zcn56EW","Dgv4Dc1NCMf5ltqWmcb0zxH0lxHZ","BM9KzurYywDuAhjLC2HVBgq","77Ym5AsA5ywL6l6555sOia","DxnLsw1WzxjHDgL2zuHHBMrSzq","B2jZzxj2ywjSzq","Bwf0zxjPywXZ","zxH0zw50","u1fsvdi","DhjHBNnSyxrLwa","57Yw6l6r6ycj5lIT6iQc54k555Qe5BgE5OcN","zgf0yxnLDa","zgf0yvjLCxvLC3q","Aw50zxjYDxb0","zxzLBNrcBg9JA0LK","C3bHy2u","CMvHy3qTzMXVD19FBwLUAw1HCa","y29UBMvJDgLVBLjHzgL1CW","5PQc5PEG54Q25Ocb77Ym54k55yE75lIk5PA55OYj6zkU5RE75yQG","tM8GC3rHCNqGBM9KzsbMB3vUzcbPBIbLDMvUDcbMBg93","DxnLzfjPz2H0tw91C2vcDxr0B24","BgLZDc1UB25LihnWywnLlxKTmIbTltaGCc0W","5z6c55U057+76l2S","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBwLU","z2v0u3rHDgu","t2jQzwn0vw5ZDwjZy3jPyMvKrxjYB3i","w2rHDgeTAgfUzgXLpsjZDgfYDcjD","Ac1MDwXS","y2vUDgvYwa","y29Z","zgLZywjSzwq","Dg91y2HTB3zLlMrYywC","5A2x5Q616lEV5B6e77Yi54k55yE75O+s5ywL6kgO6l6+5BYp77Yj","C2HPzNrlzxK","CgfUzurYywDNAw5N","lwzSB3DFx2vKz2u","rxnJyxbL","yM90Dg9TlxjPz2H0","zxjYB3iWmtm","CMvUzgvY","Ahr0Chm6lY9YzwfJDgzSB3CUzgv2","kow9K+wjJsK","Dg91y2HLBMqUEM9VBsb0B3vJAgnHBMnLBc56B29T","BgfIzwXcz1n0EwXL","yM91BMreyxrHC2v0qMLUzenVzgu","5PEG54Q25Ocb","Bw91C2vz","C2nHBgvcEq","xMHZBfWO","DgL0Bgu","ChjVBwLZzq","yxnZzxj0AxzL","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+phbHDgGGzd0ItteWidiWieWZmcaXmcbmntaGmJaGtduWidqWieWZmca1mcbmmtaGndaGwIiGzMLSBd0Ii2jMyMzIzIiGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIlZ48y2LYy2XLign4psiZmciGy3K9iJmWiIbYpsi4iIbMAwXSpsiJmtG5mgzMiI8+pc9ZDMC+","DhjHBNnPDgLVBIbUB3qGzM91BMq","y29Kzq","y2vUDgvYwq","ugXLyxnLig9UBhKGAgLKzsb0AgLZigf0DhjPyNv0Aw9UihDOzw4GEw91igfYzsbZDwjZy3jPyMvKihrVifjLywn0iezSB3CGuhjVoIbODhrWCZOVl3bYBY5YzwfJDgzSB3CUzgv2","zgvMAw5LuhjVCgvYDgLLCW","6k+35AgR5yAz5Asw6yoO5lQl5lU25Qch6k+g","DgfYz2v0","zhjVCevMzMvJDa","BM9Kzu9YAwDPBG","w2rHDgeTAgfUzgXLpsjLBMqIxq","mI4WlJa","Dw5IAw5KtM9Kzuv2zw50","C3rVCa","yxbWBhK","DY04igGTmc41igjNlwDYyxKTndaW","Dg9iyw5KBgu","CMDIka","zhjHz0HHBMrSzq","BgLUAW","ywX0s2v5","6ycA6Akr5yQG6ycF5BQM5PYj5Pwi5yc8","ioMHUsK","DhjHBNnSyxrLwcGTntaLkq","zgLZywjSzuTLEwjVyxjKqteXEq","EGOGicaGicaGie0","6ycj5OUP5PwW5O2U6zUg","C2v0ug9PBNrLCKnHChr1CMu","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc94BwXUCY8","C291CMnLrxzLBNq","zxzLBNrcBg9JAW","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIb0zxH0lwDYyxKTmZaWihrLEhqTEhm","zgjSy2XPy2SUEM9VBq","ywn0Aw9UCW","6ycj5OUP5PYi5lU9","CMv0DxjUihrYDwu7","DhjPBq","5Qgg6ycj5QIH5BYp","rw50zxi","CMzFx2nVBNrYB2XZ","57ky6ls0iePtt04G5yAf5A65lI4U","y3jLyxrLrxzLBNrgBg93ugLWzwXPBMu","zg9JDw1LBNrfBgvTzw50","Dg91y2G","CxvLCNLtzwXLy3rVCKfSBa","zM9Yy2u","zgvSzxrL","jhTSywjLBh3KUi3OG73KUlRNQBRLRzFNRky","igHHBMrSzsbPzdOGiG","Ac1MDwXSigzSzxGGzMXLEc1JB2W","Dg9izxHtDhjPBMC","DY1MDwXSigGTzNvSBcbYzwXHDgL2zq","5A+85ywL55s75BId","BgLUzs1KCMf3","twf0zxjPywXqyw5LBa","56gU6k6K5yIG6zMK6k+L5zcm57QN5ywZ57o757Ue77YF","y2XVBMvfBgvTzw50","ywjZB2X1Dgu","C3jJ","u3rLCevKz2vjBNrLCM5HBa","t2jQzwn0igLZig5VDcbPDgvYywjSzs4","twvZC2fNzsdMJ5dNPlRLHOxLRRNKUlRNQBO","BgfZDeLUzgv4","x+EkTUAaGq","vgHLifjLywn0iezSB3CGCgfYzw50ignVBNrHAw5LCIbUzwvKCYbHihDPzhrOigfUzcbHigHLAwDODcb0BYbYzw5KzxiGDgHLigDYyxbOlG","i2iXyJfInW","imk3ia","ywXS","B2jZzxj2zxjZ","6ycj5OUP5zgO","yNvPBhrPBKnVBMzPzW","y29UBMvJDgfIBgu","CMvHy3q","u3rYAwn0","54MP5PAz5BgE5OcN","z2v0vMfSDwvgCM9Tugf0Aa","uMvHy3qGrMXVDZOGDhjPz2DLCIbLzgDLignOyw5Nzxm","5yIG6zMK6k+L5PwW5O2U6zUg77YF","BM93AgvLBa","zwfZzq","ywjZB2X1DguGlxrVCc02igXLzNqTmcbIzY1IBhvLltuWmcb0zxH0lxDOAxrLihrLEhqTEhmGChGTmIbWEs0WlJuGCM91BMrLzcb3AgL0zxnWywnLlw5VD3jHCa","z2fTBwe","y29UBMvJDgLVBKrYywDuAhjLC2HVBgq","DhjHBNnWyxjLBNqSicnMzMySihvYBcGUlI4P","tgLUzxm","Bw91C2v1Ca","B25tzwXLy3rPB25eCMfN","u3bHy2u","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVViZPOBSGCMv0DxjUihrYDwuVzMfSC2xVVjVMTyVNGRNMLBdNU4tMJiKGCgfYyw1Zq29KzsdLKiJLUBBOV5SGzgf0yEoaGG","yxjPyuXHyMvSq29UzMLN","5PAh5PYS5yAf5A65","Dhj1zq","5Bcg57Q/5P2H5y+y5lI65z6c55U057Q/77Ym5l+D5OYb6zw/5BQM","q3jVC3m","zxHLy3v0zq","vw5ZDwjZy3jPChrPB25fCNjVCG","55s75BId5A+85ywL5OIq5yQF77Yb","5RE75yQG54Q25Ocb","zgvZDgLUyxrPB24","vxbtCxvHCMvpDxrSAw5Lza","C2v0uhjVDg90ExbLt2y","BwLU","y3vYCMvUDfrHCMDLDa","zwzMzwn0qwXSB3DLza","BwiTncbWltmGyMCTyMX1zs01mcbIB3jKzxiGyM9YzgvYlwjSDwuTmJaWihjVDw5KzwqTBgC","55s754k557Q/","AxrLBq","BM9YBwfS","5BEM5A+56B2q","B25tzwXLy3rPB25dAgfUz2viyw5KBgvYCW","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMuGB3zLCMzSB3CTAgLKzgvU","5zU+54Mh5zcn56EW","mda0","BwiTncbWltmGyMCTyw1IzxiTntaGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwfTyMvYlteWmcb0zxH0lxnT","mJvICfzoD00","6k+36ycj5OUP5A2J5BQM","Aw5PDgLHBfrLyxjKB3DU","jhTSywjLBh3KUi3MMk/KUidKUkRMNiNMLyJNMOqKE3r5Cgv9","wM9VBsbpDxq","w3jVBgu9iMnVBwjVyM94iL0","cIaGicaGicaG","zxzLBNrcDxm","CMvHza","5PEG5zU+54Mh","z2v0sw5ZDgfUy2u","B25SEvjLBMrLCLzPC2LIBgvfBgvTzw50CW","DxnLtM9KzunVBM5Ly3rPB25ZoIboBYbUB2rLieLeigzVDw5KlIbdywXSihvZzu5VzgvdB25Uzwn0Aw9UCYbPBNnPzguGysbJDxn0B20GtM9KzsbVCIbWCM92AwrLigeGBM9Kzsbjrc4","BM9KzxndB25Uzwn0ywjSzq","5l6l5AAc77YABg9HzfrYzw5K44cbzMv0y2HezxzPy2vmAxn0","Dg9WlwXLzNq","oMzVy3vZlxzPC2LIBgu","AgfZ","nsW1","zxH0zxjUywXfDMvUDeTLEq","C3zN","5l6l5AAc77YABMf2AwDHDgvuB+oaGw9Wzw5eAwfSB2C","zNvUy3rPB24","C3rHCNroB2rLwq","5y+V54k55yE7","z2v0t3DUuhjVCgvYDhLtEw1IB2XZ","x3bHCMvUDa","zwrNzq","yMX1CG","zwrNzxm","77Yi5BEY5yIG6zMK77YA","5yc85PAh5PYS","twLUAu1HCa","sg9YAxPVBNrHBa","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvK","Bw9Kzq","54Q25Ocb6kgO6l6+5BYp5OMN6kgm5AsX6lsLifS","q29UDhjVBcbqyw5LBa","5zU+54Mh5zYW5z2aicHZCMmP","C21HBgW","B25gAw5HBgL6zq","BwiTna","BgLUzurYyxDPBMC","BwiTmW","6iQc54k55PwWoIa","Bw91C2u","BgLZDgvUzxi","Ac0XmIbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltqGyMCTz3jHEs01ma","ttmYide4lJeZm0GXoc4XmZnwmZjOltqUmJy2vJe4lJeZm0GWDI00lJi2nMGXmY44nJDwmgG0lJi2nNyXmY44nJDimZj6","iZCZzdeZza","DxnLrwrPDg9Yu3rVCMu","yM91BMrHCMLLCW","5PwW5O2U5A2x5Q615PEG5yc85PE25PI+56s65Q2K5Ash55sO5yc8","vgfIBgu","6BYG5Qch6yEk5Ps+","x3n1yNnJCMLIzq","zxHLy3v0Aw9Uugf0Aa","5lIk5lIa5BM0icHdB250CM9S6zsU5yQG5BEM5PA55zcr6zsUkq","mdaY","y3jLyxrLrgvMyxvSDe5Vzgu","rgL2AwrLCG","iIbPCYbPBNzHBgLKlIbqBgvHC2uGChjVDMLKzsbHig51BwjLCIbVCIbHihn0CMLUzYb3AxrOigeGDMfSAwqGDw5PDcaOChGGB3iGjsKU","Dgv4Dc1NCMf5ltGWma","zgf0yvrYyw5ZzMvY","C3vIC2nYAwjL","sgfUzgXL","u21VB3rOu3rLCevKz2u","5A+85yE65OIq5yQF77Yb","tgvMDa","AgfZrxjYB3i","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iG","q29UzMLNrwrPDg9Y","CMLUzY00ihjPBMCTyMX1zs00mdaGCMLUzY1VCgfJAxr5ltuW","5PQc5lIn5PsV5OYb57Yw6l6r5Q2K57g75z6l55Qe54MP5PAz","zgvJAw1HBhm","EM9VBs53AgvLBa","iIbYEd0ImJaIlZ48l3n2zZ4","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVVjRNLlhMLBdMJA7MSAaGC2fTCgXL77Yi6iUL5BEY57Ur5A6A77Yj5lIo55s75BId6l+q6kgm5PE25PwW5O2U5zci5BM277YB5Rwl54k55PwW57Ue5lYA5OYjihbHCMfTC0nVzguG5yAz5ywLigrHDghJGilPOBSGCMv0DxjUihrYDwuVzMfSC2xJGii","B3v0Chv0CW","77Yi5y+V6ycj77Yj","lwnHBNzHCY0","zwrNzxnszwnVBM5Ly3rHyMXL","Bwf4wq","yMfJA2DYB3vUzeLTywDL","Aw1Tzxi","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvKoG","56s65l6l5PwW5O2U77YisLnptIdLR7NOSAhMIjBMLBdNU4tVViK","BgLUzxm","y2vUDgvYignLBNrLCG","zxzLBNrMBg93","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9YCW","rxzLBNqGzMXVDYbLCNjVCJO","BM9Kzq","A2v5CW","CMvM","5Rwp6kEi5lIT","6k+36ycj5OUP5BM05lU9","ywrKrxzLBNrmAxn0zw5LCG","6BUy6k6K5yc877Yi5Ash55sO77Yj","5lIk5lIQ5PYiicJNV7VPOBxKUiRPLk4P","qMv6AwvY","iIbYEd0InciVpJWVC3zNpG","zM9UDc1TzwrPDw0GDgv4Dc1NCMf5ltGWmcbTyI0Y","5A+85yE6iePtt04","5PAW5BU65lQl5lU25Rwb","DxjSkcm","5yc85P2L5RQq","AxntDg9WCgvK","5l6l5AAc77YACMvMCMvZAa","sw5WDxq","mJmZnZH4s1PhC0u","5y+n6ycj5B2t6Ag1","5l6l5AAc77YACMvMCMvZAcdMIjyGCgfYzw50oNjLBg9Hza","Bg9VC2u","ChjLCgfYzuv2zw50qxjNCW","y2fUy2vSywjSzq","Bw91C2vpDMvY","BM9Kzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","Dgv4Dc14CYb0zxH0lwDYyxKTntaWig1Iltm","CgfYC2u","i2q5zdLKoq","Aw52B2TLuNvUDgLTzuHHBMrSzxi","Bwf0zxjPywW","6iEQ5A6A5lMj57Ue5lU2","BgLZDa","qNv0Dg9U","C2vSzwn0zwrtDgf0Dxnjza","CMvZAxPLrgLYzwn0Aw9U","5PQc5PEG5PwW5O2U6zUg77Ym6k+354k55yE744cm5PAW5BU644cn","twvZC2fNzsdLHAJLSydMJ5dNPlOGkgfUDgqP","5lYy5ywi5lUo57Ur5A6A5PwW5O2U6iEQ5yQO6i635y+w77Ym5lMF5y+V5OMl5yQO6l6t5ywL","AxnwAwv3","B25qB2LUDgvYrg93BG","BgLMDa","zMLSzq"];return _0x27b5=function(){return ke},_0x27b5()}