jch-config-editor 1.0.21 → 1.0.22
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.
- package/dist/config-editor.es.js +4817 -4814
- package/dist/config-editor.umd.js +5 -7
- package/package.json +1 -1
|
@@ -1,9 +1,7 @@
|
|
|
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&>()?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)]&>()?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(Ie,l){const B=_0x5092,C=Ie();for(;;)try{if(-parseInt(B(1529))/1*(-parseInt(B(886))/2)+-parseInt(B(1492))/3*(-parseInt(B(1872))/4)+-parseInt(B(1928))/5*(parseInt(B(2074))/6)+parseInt(B(1416))/7*(parseInt(B(1917))/8)+parseInt(B(1622))/9*(parseInt(B(1695))/10)+parseInt(B(1045))/11*(-parseInt(B(870))/12)+-parseInt(B(1283))/13===l)break;C.push(C.shift())}catch{C.push(C.shift())}})(_0xd2fc,560817),(function(Ie,l){const B=_0x5092;typeof exports===B(793)&&typeof module!==B(431)?l(exports,require(B(816)),require("react"),require(B(1912)),require(B(683)),require(B(1244)),require(B(1487)),require(B(631)),require(B(1946)),require(B(1210))):typeof define===B(2001)&&define[B(1692)]?define([B(969),B(816),B(396),B(1912),B(683),B(1244),B(1487),B(631),B(1946),B(1210)],l):(Ie=typeof globalThis<"u"?globalThis:Ie||self,l(Ie[B(1913)]={},Ie.jsxRuntime,Ie[B(373)],Ie.antd,Ie.icons,Ie[B(1244)],Ie[B(1487)],Ie.nanoid,Ie[B(1557)]))})(this,function(Ie,l,B,C,de,Kx,Nt,Se,kt){"use strict";function _0x5092(Ie,l){Ie=Ie-310;const B=_0xd2fc();let C=B[Ie];if(_0x5092.Addgoc===void 0){var de=function(kt){const c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=";let wn="",Wn="";for(let l0=0,Y0,U0,qn=0;U0=kt.charAt(qn++);~U0&&(Y0=l0%4?Y0*64+U0:U0,l0++%4)?wn+=String.fromCharCode(255&Y0>>(-2*l0&6)):0)U0=c.indexOf(U0);for(let l0=0,Y0=wn.length;l0<Y0;l0++)Wn+="%"+("00"+wn.charCodeAt(l0).toString(16)).slice(-2);return decodeURIComponent(Wn)};_0x5092.FbJTSE=de,_0x5092.vUFREb={},_0x5092.Addgoc=!0}const Kx=B[0],Nt=Ie+Kx,Se=_0x5092.vUFREb[Nt];return Se?C=Se:(C=_0x5092.FbJTSE(C),_0x5092.vUFREb[Nt]=C),C}const c=_0x5092;var wn=document[c(1608)](c(598));wn[c(1824)]=`.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.head[c(1063)](wn);function Wn(e){const n=c;return e&&e[n(589)]&&Object[n(1741)][n(1943)].call(e,n(1262))?e[n(1262)]:e}var l0={},Y0={exports:{}},U0;function qn(){const e=c;return U0?Y0[e(969)]:(U0=1,(function(n){const t=e;function o(x){return x&&x[_0x5092(589)]?x:{default:x}}n[t(969)]=o,n.exports[t(589)]=!0,n[t(969)].default=n[t(969)]})(Y0),Y0.exports)}var Xn={},fr;function Cs(){const e=c;if(fr)return Xn;fr=1,Object[e(1766)](Xn,"__esModule",{value:!0}),Xn[e(1262)]=void 0;const n={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:e(2123),next_page:e(541),prev_5:"向前 5 页",next_5:e(523),prev_3:"向前 3 页",next_3:e(798),page_size:"页码"};return Xn[e(1262)]=n,Xn}var Kn={},Zn={},Rn={},_n={},br;function Ms(){const e=c;return br||(br=1,Object[e(1766)](_n,e(589),{value:!0}),_n[e(2048)]=void 0,_n[e(2048)]={yearFormat:e(1329),dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),_n}var hr;function Bs(){const e=c;if(hr)return Rn;hr=1,Object[e(1766)](Rn,e(589),{value:!0}),Rn[e(1262)]=void 0;var n=Ms();function t(s){"@babel/helpers - typeof";const u=e;return t=u(2001)==typeof Symbol&&u(1354)==typeof Symbol[u(1577)]?function(f){return typeof f}:function(f){const b=u;return f&&typeof Symbol=="function"&&f[b(1711)]===Symbol&&f!==Symbol[b(1741)]?b(1354):typeof f},t(s)}function o(s,u){const f=e;var b=Object[f(712)](s);if(Object[f(726)]){var g=Object[f(726)](s);u&&(g=g[f(568)](function(v){const h=f;return Object[h(1806)](s,v)[h(1461)]})),b[f(1843)].apply(b,g)}return b}function x(s){const u=e;for(var f=1;f<arguments[u(922)];f++){var b=arguments[f]!=null?arguments[f]:{};f%2?o(Object(b),!0).forEach(function(g){r(s,g,b[g])}):Object.getOwnPropertyDescriptors?Object[u(593)](s,Object[u(1041)](b)):o(Object(b))[u(467)](function(g){const v=u;Object[v(1766)](s,g,Object[v(1806)](b,g))})}return s}function r(s,u,f){return u=i(u),u in s?Object.defineProperty(s,u,{value:f,enumerable:!0,configurable:!0,writable:!0}):s[u]=f,s}function i(s){const u=e;var f=a(s,u(455));return u(1354)==t(f)?f:String(f)}function a(s,u){const f=e;if(f(793)!=t(s)||!s)return s;var b=s[Symbol[f(976)]];if(b!==void 0){var g=b[f(1382)](s,u);if(f(793)!=t(g))return g;throw new TypeError(f(385))}return(f(455)===u?String:Number)(s)}var d=x(x({},n[e(2048)]),{},{locale:e(483),today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:e(1631),dateSelect:e(1430),weekSelect:e(2151),clear:"清除",week:"周",month:"月",year:"年",previousMonth:e(661),nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:e(1208),decadeSelect:"选择年代",previousYear:e(1117),nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:e(477),previousCentury:e(1092),nextCentury:e(1576),yearFormat:"YYYY年",cellDateFormat:"D",monthBeforeYear:!1});return Rn[e(1262)]=d,Rn}var Jn={},gr;function yr(){const e=c;if(gr)return Jn;gr=1,Object.defineProperty(Jn,e(589),{value:!0}),Jn[e(1262)]=void 0;const n={placeholder:e(648),rangePlaceholder:[e(582),e(2045)]};return Jn[e(1262)]=n,Jn}var mr;function wr(){const e=c;if(mr)return Zn;mr=1;var n=qn()[e(1262)];Object[e(1766)](Zn,"__esModule",{value:!0}),Zn[e(1262)]=void 0;var t=n(Bs()),o=n(yr());const x={lang:{placeholder:e(1388),yearPlaceholder:e(1336),quarterPlaceholder:e(1960),monthPlaceholder:"请选择月份",weekPlaceholder:e(1198),rangePlaceholder:[e(577),e(653)],rangeYearPlaceholder:[e(1957),e(1553)],rangeMonthPlaceholder:[e(1110),e(1356)],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"],...t[e(1262)]},timePickerLocale:{...o.default}};return x[e(619)].ok="确定",Zn[e(1262)]=x,Zn}var vr;function Ds(){const e=c;if(vr)return Kn;vr=1;var n=qn()[e(1262)];Object.defineProperty(Kn,e(589),{value:!0}),Kn[e(1262)]=void 0;var t=n(wr());return Kn.default=t[e(1262)],Kn}var pr;function Ls(){const e=c;if(pr)return l0;pr=1;var n=qn()[e(1262)];Object[e(1766)](l0,"__esModule",{value:!0}),l0[e(1262)]=void 0;var t=n(Cs()),o=n(Ds()),x=n(wr()),r=n(yr());const i=e(1252),a={locale:"zh-cn",Pagination:t.default,DatePicker:x.default,TimePicker:r[e(1262)],Calendar:o[e(1262)],global:{placeholder:e(1641),close:"关闭",sortable:e(1571)},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckAll:"全选",filterSearchPlaceholder:e(1871),emptyText:e(328),selectAll:e(550),selectInvert:e(393),selectNone:e(1789),selectionAll:e(319),sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:e(2168),triggerAsc:e(1555),cancelSort:e(501)},Modal:{okText:"确定",cancelText:"取消",justOkText:e(1564)},Tour:{Next:e(1186),Previous:e(380),Finish:"结束导览"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:e(1012),itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:e(550),removeCurrent:e(517),selectAll:e(319),deselectAll:e(552),removeAll:"删除全部",selectInvert:e(393)},Upload:{uploading:e(1401),removeFile:e(708),uploadError:e(1081),previewFile:e(348),downloadFile:"下载文件"},Empty:{description:e(328)},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:e(349),expand:"展开",collapse:"收起"},Form:{optional:e(1493),defaultValidateMessages:{default:e(2167),required:e(551),enum:e(1558),whitespace:e(1504),date:{format:e(1925),parse:e(1204),invalid:e(1726)},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(578),min:"${label}最少${min}个字符",max:e(1146),range:"${label}须在${min}-${max}字符之间"},number:{len:e(1662),min:e(448),max:e(1340),range:e(554)},array:{len:e(989),min:e(1510),max:e(2103),range:e(1704)},pattern:{mismatch:e(1601)}}},QRCode:{expired:e(843),refresh:e(885),scanned:"已扫描"},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:e(2089)}};return l0.default=a,l0}var Zx,zr;function Ss(){return zr||(zr=1,Zx=Ls()),Zx}var Ns=Ss();const ks=Wn(Ns),Is=e=>(n,t,o)=>{const x=c;return o[x(2075)]=(r,i,...a)=>{const d=x,s=typeof r===d(2001)?Nt[d(1728)](r):r;return n(s,i,...a)},e(o.setState,t,o)},Ps=Is;function js(e){return Array[c(1875)](e)}function Cr(e){const n=c,t=[];for(const o of Object[n(712)](e)){t[n(1843)](o);const x=e[o];if(x!==null&&typeof x===n(793)&&!Array[n(1875)](x))for(const r of Object[n(712)](x))t[n(1843)](o+"."+r)}return t}function As(e,n,t){const o=c,x=e[o(519)];if(js(x)){if(n!=null&&t!=null){const r=x[o(1945)](i=>i[n]===t);if(r)return r}return{}}return x}function Mr(e,n,t,o){const x=c,r=As(e,t,o),i={...r};if(n&&typeof n===x(793)&&!Array[x(1875)](n))return{...i,...n};if(Array[x(1875)](n)){const a={...i};for(const d of n){if(!d||typeof d!==x(793))continue;const s=d;s[x(1954)]!=null&&(a[String(s.paramsCode)]=s[x(891)])}return a}return i}const Es={id:"_",name:"_",sample:{}};function Rx(e,n,t){const o=c,x=e[o(1180)]!=null?String(e[o(1180)]).trim():"",r=x?t[o(1945)](a=>a.id===x):void 0,i=r??Es;try{const a=Mr(i,n,e[o(1274)],e[o(1064)]);return new Function(o(1215),e[o(565)])(a)===!0}catch(a){return console[o(999)](o(1854)+e[o(1932)]+"]:",a),!1}}function Br(e,n,t){for(const o of e)if(Rx(o,n,t))return o}function Dr(e,n){const t=c;for(const o of e){for(const x of o[t(674)][t(2169)])x[t(1180)]===n&&(x.boundDatasetId=null,x.boundDatasetBindCode=null,x[t(1064)]=null);o.type===t(1087)&&o[t(875)]?.length&&Dr(o.children,n)}}function _x(e){const n=c;for(const t of e){for(const o of t.contentInfo[n(2169)])delete o.bindCodes;t.type===n(1087)&&t[n(875)]?.[n(922)]&&_x(t.children)}}const Jx=(e,n)=>({id:e||Se[c(631)](),name:n||c(2116),nodes:[],canvasConfig:{width:1920,height:1080,background:c(540),showGrid:!0},viewport:{scale:1,positionX:0,positionY:0},selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null,history:{past:[],future:[]}}),Ys=()=>{const e=Jx();return{id:Se.nanoid(),name:"默认项目",canvases:[e],currentCanvasId:e.id,siblingGroups:[],activeSiblingGroupId:null,navigationStack:[]}},Lr=Ys(),xn=Lr[c(1237)][0],Us={root:Lr,materials:[],mode:c(2113),lineDrawing:{isDrawing:!1,material:null,startPoint:null,endPoint:null},eventFlow:{eventBlocks:[],eventRoots:[],editingEventRootId:null,isEditingEventFlow:!1},dataPool:[],externalHandlerCatalog:[],nodes:xn[c(2102)],canvas:xn.canvasConfig,viewport:xn[c(952)],selectedNodeId:xn[c(2118)],selectedNodeIds:xn[c(405)],selectedStatusId:xn.selectedStatusId,history:xn[c(1935)]},N0=(e,n,t)=>({id:Se.nanoid(),type:e,targetId:n,payload:t,timestamp:Date[c(2093)]()}),Fe=Kx[c(2138)]()(Ps((e,n)=>({...Us,addCanvas:t=>{const o=c,x=Jx(Se[o(631)](),t||o(981)+(n()[o(1975)].canvases[o(922)]+1));return e(r=>{const i=o;r[i(1975)][i(1237)][i(1843)](x),r.root[i(1538)]=x.id;const a=x;r[i(2102)]=a[i(2102)],r[i(849)]=a[i(819)],r.viewport=a[i(952)],r[i(2118)]=a.selectedNodeId,r[i(405)]=a[i(405)],r.selectedStatusId=a[i(2135)],r[i(1935)]=a[i(1935)]}),x.id},removeCanvas:t=>{e(o=>{const x=_0x5092,r=o.root[x(1237)][x(1353)](a=>a.id===t);if(r===-1||o[x(1975)][x(1237)].length<=1)return;if(o[x(1975)][x(1237)][x(1988)](r,1),o[x(1975)].siblingGroups)for(const a of o[x(1975)].siblingGroups){const d=a[x(1169)][x(1357)](t);d!==-1&&a.canvasIds[x(1988)](d,1)}if(o.root[x(316)]&&o[x(1975)][x(316)].length>0&&(o[x(1975)][x(316)]=o[x(1975)].navigationStack[x(568)](a=>a!==t)),o.root[x(1538)]===t){const a=o[x(1975)].canvases[0];o.root[x(1538)]=a.id,o.nodes=a[x(2102)],o[x(849)]=a[x(819)],o[x(952)]=a.viewport,o[x(2118)]=a[x(2118)],o.selectedNodeIds=a[x(405)],o[x(2135)]=a[x(2135)],o.history=a.history}const i=o.root[x(1999)];if(i){const a=(o[x(1975)].siblingGroups||[])[x(1945)](d=>d.id===i);(!a||!a.canvasIds[x(1499)](o[x(1975)].currentCanvasId||""))&&(o[x(1975)].activeSiblingGroupId=null)}})},switchCanvas:t=>{e(o=>{const x=_0x5092,r=o[x(1975)].canvases[x(1945)](a=>a.id===t);if(!r)return;o.root.currentCanvasId=t,o[x(2102)]=r[x(2102)],o[x(849)]=r[x(819)],o.viewport=r[x(952)],o[x(2118)]=r[x(2118)],o[x(405)]=r[x(405)],o[x(2135)]=r[x(2135)],o[x(1935)]=r[x(1935)];const i=o[x(1975)][x(1999)];if(i){const a=(o[x(1975)][x(866)]||[]).find(d=>d.id===i);(!a||!a[x(1169)][x(1499)](t))&&(o[x(1975)][x(1999)]=null)}})},updateCanvasName:(t,o)=>{e(x=>{const r=_0x5092,i=x[r(1975)].canvases[r(1945)](a=>a.id===t);i&&(i.name=o)})},getCurrentCanvas:()=>{const t=c,o=n();return o.root[t(1237)].find(x=>x.id===o.root[t(1538)])},addSiblingGroup:(t,o)=>{const x=c,r=Se[x(631)]();return e(i=>{const a=x;i[a(1975)][a(866)]||(i[a(1975)].siblingGroups=[]);const d=i.root[a(866)][a(922)]+1,s=Array[a(1826)](new Set((o||[])[a(568)](u=>i.root[a(1237)][a(1559)](f=>f.id===u))));i[a(1975)][a(866)][a(1843)]({id:r,name:t||"同级关系 "+d,canvasIds:s})}),r},removeSiblingGroup:t=>{e(o=>{const x=_0x5092;if(!o[x(1975)].siblingGroups)return;const r=o.root.siblingGroups[x(1353)](i=>i.id===t);r!==-1&&o[x(1975)][x(866)][x(1988)](r,1),o[x(1975)][x(1999)]===t&&(o.root[x(1999)]=null)})},updateSiblingGroup:(t,o)=>{e(x=>{const r=_0x5092;if(!x[r(1975)][r(866)])return;const i=x.root[r(866)][r(1945)](a=>a.id===t);if(i&&(o[r(1932)]!==void 0&&(i[r(1932)]=o[r(1932)]),o[r(1169)]!==void 0)){const a=new Set,d=[];for(const s of o[r(1169)])a.has(s)||x[r(1975)][r(1237)].some(u=>u.id===s)&&(a[r(1007)](s),d[r(1843)](s));i[r(1169)]=d}})},addCanvasToSiblingGroup:(t,o,x)=>{e(r=>{const i=_0x5092;if(!r[i(1975)][i(866)])return;const a=r.root[i(866)][i(1945)](d=>d.id===t);a&&r[i(1975)].canvases[i(1559)](d=>d.id===o)&&(a[i(1169)].includes(o)||(typeof x=="number"&&x>=0&&x<=a[i(1169)][i(922)]?a[i(1169)].splice(x,0,o):a[i(1169)][i(1843)](o)))})},removeCanvasFromSiblingGroup:(t,o)=>{e(x=>{const r=_0x5092;if(!x.root[r(866)])return;const i=x.root[r(866)].find(d=>d.id===t);if(!i)return;const a=i.canvasIds[r(1357)](o);a!==-1&&i.canvasIds.splice(a,1)})},moveCanvasInSiblingGroup:(t,o,x)=>{e(r=>{const i=_0x5092;if(!r[i(1975)][i(866)])return;const a=r[i(1975)].siblingGroups[i(1945)](u=>u.id===t);if(!a)return;const d=a[i(1169)].indexOf(o);if(d===-1)return;const s=x==="up"?d-1:d+1;s<0||s>=a[i(1169)][i(922)]||([a[i(1169)][d],a[i(1169)][s]]=[a.canvasIds[s],a[i(1169)][d]])})},nextSiblingCanvas:(t,o=!1)=>{const x=c,r=n(),i=r.root[x(866)]?.find(u=>u.id===t);if(!i||i[x(1169)][x(922)]===0)return null;const a=i.canvasIds[x(568)](u=>r[x(1975)][x(1237)][x(1559)](f=>f.id===u));if(a[x(922)]===0)return null;const d=a[x(1357)](r[x(1975)][x(1538)]||"");let s;if(d===-1)s=0;else if(d===a[x(922)]-1){if(!o)return null;s=0}else s=d+1;return e(u=>{const f=x;u[f(1975)].activeSiblingGroupId=t}),n()[x(530)](a[s]),a[s]},prevSiblingCanvas:(t,o=!1)=>{const x=c,r=n(),i=r[x(1975)][x(866)]?.[x(1945)](u=>u.id===t);if(!i||i.canvasIds[x(922)]===0)return null;const a=i[x(1169)].filter(u=>r.root[x(1237)][x(1559)](f=>f.id===u));if(a[x(922)]===0)return null;const d=a[x(1357)](r[x(1975)][x(1538)]||"");let s;if(d===-1)s=a[x(922)]-1;else if(d===0){if(!o)return null;s=a[x(922)]-1}else s=d-1;return e(u=>{const f=x;u.root[f(1999)]=t}),n().switchCanvas(a[s]),a[s]},gotoSiblingCanvas:(t,o)=>{const x=c,r=n(),i=r[x(1975)][x(866)]?.[x(1945)](d=>d.id===t);if(!i)return null;const a=i[x(1169)][x(568)](d=>r[x(1975)][x(1237)][x(1559)](s=>s.id===d));return o<0||o>=a[x(922)]?null:(e(d=>{const s=x;d[s(1975)][s(1999)]=t}),n()[x(530)](a[o]),a[o])},getSiblingGroupsByCanvas:t=>{const o=c;return(n()[o(1975)][o(866)]||[])[o(568)](r=>r[o(1169)].includes(t))},setActiveSiblingGroup:t=>{e(o=>{const x=_0x5092;if(t===null){o.root[x(1999)]=null;return}(o[x(1975)].siblingGroups||[]).some(i=>i.id===t)&&(o[x(1975)][x(1999)]=t)})},jumpToCanvas:t=>{const o=c,x=n();if(!x[o(1975)][o(1237)].some(i=>i.id===t)||x[o(1975)].currentCanvasId===t)return;const r=x[o(1975)].currentCanvasId;r&&e(i=>{const a=o;i[a(1975)][a(316)]||(i[a(1975)][a(316)]=[]),i[a(1975)][a(316)][a(1843)](r)}),n()[o(530)](t)},goBack:()=>{const t=c,o=n();if((o.root[t(316)]||[])[t(922)]===0)return null;let r=null;const i=new Set(o[t(1975)].canvases.map(a=>a.id));return e(a=>{const d=t;for(;a[d(1975)][d(316)]&&a[d(1975)].navigationStack.length>0;){const s=a[d(1975)][d(316)].pop();if(i.has(s)){r=s;break}}}),r&&n()[t(530)](r),r},clearNavigationStack:()=>{e(t=>{const o=_0x5092;t[o(1975)][o(316)]=[]})},setSelectedNodeIds:t=>{e(o=>{const x=_0x5092,r=o[x(1975)][x(1237)].find(i=>i.id===o.root[x(1538)]);r&&(r[x(405)]=t,o.selectedNodeIds=t)})},addSelectedNodeId:t=>{e(o=>{const x=_0x5092,r=o[x(1975)].canvases.find(i=>i.id===o[x(1975)][x(1538)]);r&&!r[x(405)][x(1499)](t)&&(r.selectedNodeIds[x(1843)](t),o.selectedNodeIds=r[x(405)])})},removeSelectedNodeId:t=>{e(o=>{const x=_0x5092,r=o[x(1975)][x(1237)][x(1945)](i=>i.id===o[x(1975)].currentCanvasId);r&&(r[x(405)]=r[x(405)][x(568)](i=>i!==t),o[x(405)]=r.selectedNodeIds)})},clearSelectedNodeIds:()=>{e(t=>{const o=_0x5092,x=t[o(1975)][o(1237)].find(r=>r.id===t.root[o(1538)]);x&&(x[o(405)]=[],t.selectedNodeIds=[])})},addNode:(t,o=!0)=>{e(x=>{const r=_0x5092,i=x[r(1975)].canvases[r(1945)](d=>d.id===x[r(1975)][r(1538)]);if(!i)return;const a={...t,id:t.id||Se.nanoid()};i[r(2102)][r(1843)](a),x.nodes=i[r(2102)],o&&(i[r(2118)]=a.id,x[r(2118)]=a.id,i[r(1935)][r(2050)][r(1843)](N0(r(1108),a.id)),x.history=i[r(1935)])})},updateNode:(t,o)=>{e(x=>{const r=_0x5092,i=x[r(1975)][r(1237)][r(1945)](d=>d.id===x[r(1975)][r(1538)]);if(!i)return;const a=i[r(2102)].find(d=>d.id===t);a&&(o.normalStyle&&Object[r(826)](a.normalStyle,o[r(1991)]),o[r(674)]&&(a[r(674)]={...a[r(674)],...o[r(674)]}),o[r(1932)]&&(a[r(1932)]=o[r(1932)]),o.controlInfo&&Object[r(826)](a[r(2046)],o.controlInfo),o[r(875)]&&(a[r(875)]=o[r(875)]),i.history[r(2050)][r(1843)](N0(r(666),t,o)),x[r(1935)]=i[r(1935)],x[r(2102)]=i[r(2102)])})},updateNodeStyle:(t,o)=>{e(x=>{const r=_0x5092,i=x[r(1975)][r(1237)][r(1945)](d=>d.id===x[r(1975)][r(1538)]);if(!i)return;const a=i.nodes[r(1945)](d=>d.id===t);a&&(Object.assign(a[r(1991)],o),i[r(1935)].past.push(N0(r(666),t,{normalStyle:o})),x[r(1935)]=i[r(1935)],x[r(2102)]=i[r(2102)])})},updateNodeContent:(t,o)=>{e(x=>{const r=_0x5092,i=x.root.canvases[r(1945)](d=>d.id===x[r(1975)][r(1538)]);if(!i)return;const a=i[r(2102)][r(1945)](d=>d.id===t);a&&(a[r(674)]={...a[r(674)],...o},i[r(1935)][r(2050)][r(1843)](N0(r(666),t,{contentInfo:o})),x[r(1935)]=i[r(1935)],x[r(2102)]=i[r(2102)])})},updateNodeControl:(t,o)=>{e(x=>{const r=_0x5092,i=x[r(1975)][r(1237)][r(1945)](d=>d.id===x[r(1975)][r(1538)]);if(!i)return;const a=i.nodes[r(1945)](d=>d.id===t);a&&(Object.assign(a.controlInfo,o),i[r(1935)][r(2050)][r(1843)](N0("PROPERTY_CHANGE",t,{controlInfo:o})),x.history=i[r(1935)],x[r(2102)]=i[r(2102)])})},removeNode:t=>{e(o=>{const x=_0x5092,r=o[x(1975)][x(1237)][x(1945)](a=>a.id===o[x(1975)].currentCanvasId);if(!r)return;const i=r.nodes[x(1353)](a=>a.id===t);i!==-1&&(r[x(2102)].splice(i,1),o.nodes=r[x(2102)],r[x(2118)]===t&&(r[x(2118)]=null,o[x(2118)]=null,r.selectedStatusId=null,o.selectedStatusId=null),r[x(405)]=r[x(405)].filter(a=>a!==t),o[x(405)]=r[x(405)],r[x(1935)][x(2050)][x(1843)](N0(x(734),t)),o[x(1935)]=r[x(1935)])})},selectNode:t=>{e(o=>{const x=_0x5092,r=o.root[x(1237)][x(1945)](i=>i.id===o[x(1975)][x(1538)]);r&&(r[x(2118)]=t,o[x(2118)]=t,r[x(2135)]=null,o[x(2135)]=null,t&&(r[x(1935)][x(2050)].push(N0(x(1108),t)),o[x(1935)]=r[x(1935)]))})},bringToFront:t=>{e(o=>{const x=_0x5092,r=o[x(1975)][x(1237)][x(1945)](d=>d.id===o[x(1975)][x(1538)]);if(!r)return;const i=r[x(2102)][x(1353)](d=>d.id===t);if(i===-1||i===r[x(2102)][x(922)]-1)return;const[a]=r[x(2102)].splice(i,1);r.nodes[x(1843)](a),o[x(2102)]=r[x(2102)],r[x(1935)].past[x(1843)](N0(x(666),t,{zOrder:x(1042)})),o[x(1935)]=r[x(1935)]})},sendToBack:t=>{e(o=>{const x=_0x5092,r=o.root[x(1237)][x(1945)](d=>d.id===o[x(1975)][x(1538)]);if(!r)return;const i=r[x(2102)][x(1353)](d=>d.id===t);if(i<=0)return;const[a]=r.nodes[x(1988)](i,1);r[x(2102)][x(375)](a),o[x(2102)]=r[x(2102)],r[x(1935)][x(2050)].push(N0("PROPERTY_CHANGE",t,{zOrder:"back"})),o[x(1935)]=r[x(1935)]})},addStatus:(t,o)=>{e(x=>{const r=_0x5092,i=x.root[r(1237)].find(s=>s.id===x[r(1975)].currentCanvasId);if(!i)return;const a=i[r(2102)][r(1945)](s=>s.id===t);if(!a)return;const d={...o,id:Se[r(631)]()};a[r(674)][r(2169)][r(1843)](d),i.history[r(2050)].push(N0(r(1686),t,{statusId:d.id})),x[r(1935)]=i[r(1935)]})},removeStatus:(t,o)=>{e(x=>{const r=_0x5092,i=x[r(1975)].canvases[r(1945)](s=>s.id===x[r(1975)].currentCanvasId);if(!i)return;const a=i[r(2102)].find(s=>s.id===t);if(!a)return;const d=a[r(674)][r(2169)][r(1353)](s=>s.id===o);d!==-1&&(a[r(674)][r(2169)][r(1988)](d,1),a.contentInfo[r(1346)]===o&&(a.contentInfo[r(1346)]=void 0),i[r(2135)]===o&&(i[r(2135)]=null,x[r(2135)]=null))})},updateStatus:(t,o,x)=>{e(r=>{const i=_0x5092,a=r[i(1975)][i(1237)][i(1945)](u=>u.id===r[i(1975)][i(1538)]);if(!a)return;const d=a[i(2102)][i(1945)](u=>u.id===t);if(!d)return;const s=d[i(674)][i(2169)][i(1945)](u=>u.id===o);s&&Object[i(826)](s,x)})},selectStatus:t=>{e(o=>{const x=_0x5092,r=o.root[x(1237)][x(1945)](i=>i.id===o[x(1975)][x(1538)]);r&&(r[x(2135)]=t,o[x(2135)]=t)})},evaluateCurrentStatus:(t,o)=>{const x=c,r=n(),i=r[x(1975)][x(1237)].find(s=>s.id===r[x(1975)].currentCanvasId);if(!i)return;const a=i[x(2102)][x(1945)](s=>s.id===t);if(!a)return;const{dataPool:d}=n();for(const s of a[x(674)][x(2169)])if(Rx(s,o,d))return s.id},addDataPoolItem:t=>{const o=c,x=Se[o(631)]();return e(r=>{const i=o;let a={};t[i(519)]&&typeof t.sample===i(793)&&(Array[i(1875)](t[i(519)]),a=t[i(519)]),r[i(545)][i(1843)]({...t,id:x,sample:a})}),x},updateDataPoolItem:(t,o)=>{e(x=>{const r=_0x5092,i=x[r(545)].find(a=>a.id===t);i&&(o[r(1932)]!==void 0&&(i[r(1932)]=o[r(1932)]),o[r(519)]!==void 0&&(o[r(519)]&&typeof o.sample=="object"?i[r(519)]=o[r(519)]:i.sample={}))})},removeDataPoolItem:t=>{e(o=>{const x=_0x5092,r=o[x(545)][x(1353)](i=>i.id===t);if(r!==-1){o.dataPool[x(1988)](r,1);for(const i of o[x(1975)][x(1237)])Dr(i[x(2102)],t)}})},setDataPool:t=>{e(o=>{const x=_0x5092;o[x(545)]=t.map(r=>{const i=x;let a={};return r[i(519)]&&typeof r.sample===i(793)&&(a=r[i(519)]),{...r,sample:a}})})},setEventFlow:t=>{e(o=>{const x=_0x5092;o[x(1642)]={eventBlocks:t[x(1936)]??[],eventRoots:t[x(1279)]??[],editingEventRootId:t[x(1119)]??null,isEditingEventFlow:t.isEditingEventFlow??!1}})},setExternalHandlerCatalog:t=>{e(o=>{const x=_0x5092,r=new Set;o[x(1589)]=[];for(const i of t){const a=String(i[x(425)]??"")[x(583)]();!a||r.has(a)||(r[x(1007)](a),o.externalHandlerCatalog[x(1843)]({key:a,label:String(i.label??"")[x(583)]()||a,description:i[x(729)]}))}})},addMaterial:t=>{e(o=>{const x=_0x5092;if(o[x(1501)][x(1559)](a=>a.name===t[x(1932)]))return;const i={...t,id:Se.nanoid()};o.materials[x(1843)](i)})},updateMaterial:(t,o)=>{e(x=>{const r=_0x5092,i=x[r(1501)].find(a=>a.id===t);i&&Object[r(826)](i,o)})},removeMaterial:t=>{e(o=>{const x=_0x5092,r=o[x(1501)].findIndex(i=>i.id===t);r!==-1&&o.materials[x(1988)](r,1)})},setViewport:t=>{e(o=>{const x=_0x5092,r=o[x(1975)].canvases[x(1945)](i=>i.id===o[x(1975)][x(1538)]);r&&(Object[x(826)](r[x(952)],t),o[x(952)]=r.viewport)})},setCanvasConfig:t=>{e(o=>{const x=_0x5092,r=o[x(1975)].canvases.find(i=>i.id===o[x(1975)].currentCanvasId);r&&(r[x(819)]={...r[x(819)],...t},o[x(849)]=r[x(819)])})},setMode:t=>{e(o=>{const x=_0x5092;o[x(1449)]=t})},startLineDrawing:t=>{e(o=>{const x=_0x5092;o[x(1449)]="line-draw",o[x(1078)]={isDrawing:!0,material:t,startPoint:null,endPoint:null}})},updateLineDrawing:t=>{e(o=>{const x=_0x5092;o[x(1078)][x(592)]&&(o.lineDrawing[x(1965)]=t)})},endLineDrawing:()=>{e(t=>{const o=_0x5092;t[o(1449)]=o(2113),t[o(1078)]={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},cancelLineDrawing:()=>{e(t=>{const o=_0x5092;t[o(1449)]=o(2113),t[o(1078)]={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},undo:()=>{e(t=>{const o=_0x5092,x=t[o(1975)][o(1237)][o(1945)](i=>i.id===t[o(1975)].currentCanvasId);if(!x)return;const r=x[o(1935)][o(2050)][o(1413)]();r&&(x[o(1935)][o(1303)].push(r),t[o(1935)]=x[o(1935)])})},redo:()=>{e(t=>{const o=_0x5092,x=t.root[o(1237)].find(i=>i.id===t[o(1975)][o(1538)]);if(!x)return;const r=x[o(1935)][o(1303)].pop();r&&(x[o(1935)][o(2050)][o(1843)](r),t[o(1935)]=x.history)})},recordEvent:t=>{e(o=>{const x=_0x5092,r=o[x(1975)][x(1237)][x(1945)](i=>i.id===o[x(1975)].currentCanvasId);r&&(r.history[x(2050)].push(t),r[x(1935)][x(1303)]=[],o[x(1935)]=r[x(1935)])})},exportScheme:()=>{const t=c,o=n(),{activeSiblingGroupId:x,navigationStack:r,...i}=o[t(1975)];return{version:t(1569),root:i,materials:o.materials,dataPool:o[t(545)],eventFlow:o.eventFlow,metadata:{name:o[t(1975)][t(1932)],description:"",createdAt:new Date()[t(1513)](),updatedAt:new Date().toISOString()}}},importScheme:t=>{e(o=>{const x=_0x5092;if(t.root){if(o[x(1975)]=t[x(1975)],!o[x(1975)][x(866)])o[x(1975)][x(866)]=[];else{const i=new Set(o[x(1975)][x(1237)][x(692)](a=>a.id));for(const a of o[x(1975)][x(866)])a[x(1169)]=a[x(1169)][x(568)](d=>i[x(1308)](d))}o.root.activeSiblingGroupId=null,o[x(1975)][x(316)]=[],o.dataPool=t[x(545)]??[],t[x(1642)]&&(o[x(1642)]={eventBlocks:t[x(1642)][x(1936)]??[],eventRoots:t[x(1642)][x(1279)]??[],editingEventRootId:t[x(1642)][x(1119)]??null,isEditingEventFlow:t[x(1642)][x(2032)]??!1});const r=o[x(1975)].canvases[x(1945)](i=>i.id===o[x(1975)].currentCanvasId)||o[x(1975)][x(1237)][0];r&&(o[x(1975)][x(1538)]=r.id,o[x(2102)]=r[x(2102)],o[x(849)]=r[x(819)],o.viewport=r[x(952)],o[x(2118)]=r[x(2118)],o[x(405)]=r[x(405)],o[x(2135)]=r[x(2135)],o[x(1935)]=r.history)}else{const r=Jx();r.nodes=t.nodes||[],o[x(1975)].canvases=[r],o[x(1975)].currentCanvasId=r.id,o[x(1975)].siblingGroups=[],o.root[x(1999)]=null,o[x(1975)][x(316)]=[],o.dataPool=t.dataPool??[],t[x(1642)]&&(o[x(1642)]={eventBlocks:t[x(1642)][x(1936)]??[],eventRoots:t[x(1642)].eventRoots??[],editingEventRootId:t[x(1642)].editingEventRootId??null,isEditingEventFlow:t[x(1642)][x(2032)]??!1}),o.nodes=r[x(2102)],o[x(849)]=r[x(819)],o.viewport=t[x(952)]||r[x(952)],o.selectedNodeId=null,o[x(2135)]=null,o[x(1935)]={past:[],future:[]}}for(const r of o[x(1975)].canvases)_x(r[x(2102)])})},exportCanvas:t=>{const o=c,x=n(),r=t||x.root[o(1538)],i=x[o(1975)][o(1237)][o(1945)](a=>a.id===r);if(!i)throw new Error(o(981)+r+o(851));return{version:o(1569),canvas:i,metadata:{name:i[o(1932)],description:"",exportedAt:new Date()[o(1513)]()}}},importCanvas:(t,o)=>{e(x=>{const r=_0x5092,i=t.canvas,a=o||x[r(1975)][r(1538)],d=x[r(1975)].canvases.find(s=>s.id===a);if(d)d[r(1932)]=i[r(1932)],d[r(2102)]=i[r(2102)]||[],d.canvasConfig=i[r(819)],d[r(952)]=i[r(952)],d[r(2118)]=null,d[r(405)]=[],d[r(2135)]=null,d[r(1935)]=i[r(1935)]||{past:[],future:[]},a===x[r(1975)].currentCanvasId&&(x[r(2102)]=d.nodes,x[r(849)]=d[r(819)],x[r(952)]=d[r(952)],x[r(2118)]=d.selectedNodeId,x[r(405)]=d.selectedNodeIds,x.selectedStatusId=d[r(2135)],x.history=d[r(1935)]);else{const s={...i,id:Se[r(631)](),selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null};x[r(1975)][r(1237)][r(1843)](s),x.root.currentCanvasId=s.id,x[r(2102)]=s.nodes,x[r(849)]=s.canvasConfig,x[r(952)]=s[r(952)],x[r(2118)]=s[r(2118)],x[r(405)]=s[r(405)],x[r(2135)]=s.selectedStatusId,x[r(1935)]=s[r(1935)]}for(const s of x.root[r(1237)])_x(s.nodes)})},addEventBlock:t=>{const o=c,x=Se[o(631)]();return e(r=>{const i=o;r[i(1642)][i(1936)][i(1843)]({...t,id:x})}),x},upsertEventBlock:t=>{e(o=>{const x=_0x5092,r=o.eventFlow[x(1936)][x(1353)](i=>i.id===t.id);r!==-1?o[x(1642)][x(1936)][r]={...t}:o.eventFlow[x(1936)][x(1843)]({...t})})},updateEventBlock:(t,o)=>{e(x=>{const r=_0x5092,i=x[r(1642)][r(1936)][r(1945)](a=>a.id===t);i&&Object[r(826)](i,o)})},removeEventBlock:t=>{e(o=>{const x=_0x5092,r=o.eventFlow[x(1936)][x(1353)](i=>i.id===t);r!==-1&&o[x(1642)][x(1936)].splice(r,1)})},addEventRoot:t=>{const o=Se.nanoid();return e(x=>{const r=_0x5092;x.eventFlow[r(1279)][r(1843)]({...t,id:o})}),o},updateEventRoot:(t,o)=>{e(x=>{const r=_0x5092,i=x[r(1642)][r(1279)][r(1945)](a=>a.id===t);i&&Object[r(826)](i,o)})},removeEventRoot:t=>{e(o=>{const x=_0x5092,r=o[x(1642)][x(1279)][x(1353)](i=>i.id===t);r!==-1&&o[x(1642)][x(1279)].splice(r,1)})},setEditingEventRoot:t=>{e(o=>{const x=_0x5092;o[x(1642)].editingEventRootId=t})},setIsEditingEventFlow:t=>{e(o=>{const x=_0x5092;o[x(1642)].isEditingEventFlow=t})},bindNodeEvent:(t,o,x)=>{const r=c,i=Se[r(631)]();return e(a=>{const d=r;a[d(1642)][d(1279)].push({id:i,bindNodeId:t,eventType:o,flowData:x,enabled:!0})}),i},unbindNodeEvent:(t,o,x)=>{e(r=>{const i=_0x5092,a=r[i(1642)][i(1279)][i(1353)](d=>{const s=i;return d[s(500)]!==t||d[s(1723)]!==o?!1:o===s(1070)?(d[s(1029)]||"")[s(583)]()===(x||"")[s(583)]():!0});a!==-1&&r[i(1642)][i(1279)].splice(a,1)})},getNodeEventRoots:t=>{const o=c;return n().eventFlow[o(1279)][o(568)](x=>x[o(500)]===t)}}))),Sr=[{id:Se[c(631)](),name:"矩形",type:c(1775),src:"data:image/svg+xml,"+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="60"><rect width="100" height="60" fill="#1890ff" rx="4"/></svg>')},{id:Se[c(631)](),name:"圆形",type:c(1775),src:"data:image/svg+xml,"+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80"><circle cx="40" cy="40" r="38" fill="#52c41a"/></svg>')},{id:Se[c(631)](),name:c(842),type:"IMAGE",src:c(480)+encodeURIComponent(c(682))},{id:Se[c(631)](),name:"阀门",type:"IMAGE",src:c(480)+encodeURIComponent(c(895))},{id:Se[c(631)](),name:"泵",type:"IMAGE",src:"data:image/svg+xml,"+encodeURIComponent(c(2039))},{id:Se[c(631)](),name:"罐体",type:c(1775),src:"data:image/svg+xml,"+encodeURIComponent(c(453))},{id:Se[c(631)](),name:c(2004),type:c(770),content:{label:"标签",value:"值",labelStyle:{fontSize:14,fontWeight:c(1115),color:c(873),textAlign:c(761)},valueStyle:{fontSize:14,fontWeight:c(1093),color:c(1893),textAlign:c(761)}}},{id:Se[c(631)](),name:"线条",type:c(947),config:{thickness:2,lineWeight:2,color:"#262626",lineType:c(2140)}}],Fx=e=>({id:Se[c(631)](),name:c(1507),expression:c(1050),material:{...e,id:Se[c(631)]()},boundDatasetId:null}),Nr=(e,n,t)=>{const o=c;if(t?.[o(443)]===o(1103)&&t[o(1015)]?.[o(2102)]){const x=t[o(1015)][o(2102)].map(u=>({...u,id:Se.nanoid()}));let r=1/0,i=1/0,a=-1/0,d=-1/0;x[o(467)](u=>{const f=o,b=u.normalStyle.x||0,g=u[f(1991)].y||0,v=u[f(1991)].width||0,h=u[f(1991)].height||0;r=Math[f(1724)](r,b),i=Math[f(1724)](i,g),a=Math.max(a,b+v),d=Math[f(1167)](d,g+h)});const s=x[o(692)](u=>({...u,normalStyle:{...u[o(1991)],x:(u[o(1991)].x||0)-r,y:(u[o(1991)].y||0)-i,scale:void 0}}));return{id:Se[o(631)](),name:t[o(1932)]||o(1483),type:o(1087),normalStyle:{width:a-r,height:d-i,x:e,y:n},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:s}}return{id:Se[o(631)](),name:"新节点",type:o(1093),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:vn}=C.Collapse,{Text:It}=C.Typography,kr=({onUploadSvg:e})=>{const n=c,{materials:t,addMaterial:o,removeMaterial:x,selectedStatusId:r,selectStatus:i,mode:a,lineDrawing:d,startLineDrawing:s,cancelLineDrawing:u}=Fe(),[f,b]=B[n(1102)]([n(657),n(742),"text","line"]),g=m=>{const y=n,z=new FileReader;return z[y(2133)]=p=>{const k=y,O=p[k(1233)]?.[k(1273)];o({name:m[k(1932)][k(2067)](k(367),""),type:k(1775),src:O})},z.readAsDataURL(m),!1},v={basic:t[n(568)](m=>["矩形","圆形",n(842)].includes(m[n(1932)])),device:t[n(568)](m=>["阀门","泵","罐体"][n(1499)](m[n(1932)])||m.type===n(1775)&&!["矩形","圆形",n(842)][n(1499)](m[n(1932)])&&m[n(1932)]!=="自定义"),text:t[n(568)](m=>m[n(443)]===n(770)),line:t[n(568)](m=>m.type===n(947)),group:t.filter(m=>m.type===n(1103)&&m[n(1015)]?.[n(2102)]),custom:t[n(568)](m=>m[n(443)]===n(1103)&&!m[n(1015)]?.nodes||m.type==="IMAGE"&&!["矩形","圆形",n(842),"阀门","泵","罐体"][n(1499)](m[n(1932)]))},h=(m,y)=>{const z=n;m[z(1669)][z(689)]=z(2038),m[z(1669)][z(1799)]("application/json",JSON[z(655)](y));const p=m[z(1942)].querySelector(z(555));p&&m[z(1669)][z(1528)](p,20,20)},w=m=>{m[n(443)]==="LINE"&&s(m)},M=(m,y=!1,z=n(696))=>{const p=n,k=y===!0,O=a===p(1560)&&k&&d[p(1554)]?.id===m.id;return l[p(975)](C[p(1464)].Item,{draggable:!k,onDragStart:G=>h(G,m),onClick:()=>k&&w(m),className:p(1355)+(k?p(936):"cursor-move")+p(1562)+p(1008)+p(1562)+(O?p(1009):"")+p(2031),actions:[k?l[p(975)](C[p(797)],{type:p(1992),size:p(1717),icon:l[p(975)](de[p(1406)],{}),onClick:G=>{G[p(718)](),w(m)},children:"绘制"},p(1488)):null,l[p(975)](C[p(797)],{type:p(1992),size:p(1717),danger:!0,icon:l[p(975)](de[p(1438)],{}),onClick:G=>{G[p(718)](),x(m.id)}},p(2055))][p(568)](Boolean),children:l[p(1435)](p(1088),{className:p(1853)+(k?"":"pointer-events-none"),children:[l[p(975)](p(1088),{className:"material-preview w-12 h-12 flex items-center justify-center rounded border border-gray-200 "+z,children:m.type==="IMAGE"&&m[p(1870)]?l[p(975)](C.Image,{src:m.src,alt:m.name,width:40,height:40,preview:!1}):m[p(443)]===p(770)?l[p(975)]("span",{className:p(639),children:"T"}):m[p(443)]===p(947)?l[p(975)](p(1088),{className:p(979)}):m[p(443)]==="CUSTOM"&&m.config?.[p(2102)]?l.jsx(p(1987),{className:p(2009),children:"G"}):l[p(975)](p(1987),{className:"text-xs text-gray-500",children:"?"})}),l[p(1435)](p(1088),{className:"flex-1 min-w-0",children:[l.jsx(It,{strong:!0,className:p(731),children:m[p(1932)]}),l[p(1435)]("div",{className:"flex items-center gap-1",children:[l[p(975)](It,{type:p(1830),className:p(1058),children:m[p(443)]}),O&&l[p(975)](C.Tag,{color:"blue",className:p(1058),children:"绘制中"})]})]})]})},m.id)};return l[n(1435)](n(1088),{className:n(1977),children:[l[n(1435)]("div",{className:n(327),children:[l[n(975)]("h3",{className:n(1371),children:n(1982)}),l[n(975)](It,{type:n(1830),className:n(358),children:n(861)})]}),l[n(975)](n(1088),{className:n(1892),children:e?l[n(975)](C[n(797)],{icon:l.jsx(de[n(1338)],{}),block:!0,type:n(1390),onClick:()=>{const m=n;e()[m(2080)](y=>{const z=m;console[z(1881)](z(512),y)})},children:n(1603)}):l[n(975)](C[n(693)],{accept:n(367),beforeUpload:g,showUploadList:!1,children:l[n(975)](C[n(797)],{icon:l[n(975)](de[n(1338)],{}),block:!0,type:"dashed",children:n(1603)})})}),l[n(975)](n(1088),{className:"flex-1 overflow-y-auto p-2",children:l[n(1435)](C[n(1583)],{activeKey:f,onChange:m=>b(m),ghost:!0,expandIconPosition:n(1364),children:[l[n(975)](vn,{header:n(884),children:l[n(975)](C[n(1464)],{dataSource:v[n(657)],renderItem:m=>M(m,!1),locale:{emptyText:l[n(975)](C[n(465)],{description:"暂无物料",image:C.Empty[n(716)]})}})},n(657)),l[n(975)](vn,{header:n(1897),children:l[n(975)](C[n(1464)],{dataSource:v[n(742)],renderItem:m=>M(m,!1,"bg-gray-200"),locale:{emptyText:l[n(975)](C[n(465)],{description:n(1455),image:C[n(465)].PRESENTED_IMAGE_SIMPLE})}})},n(742)),l.jsx(vn,{header:"文本",children:l.jsx(C[n(1464)],{dataSource:v.text,renderItem:m=>M(m,!1),locale:{emptyText:l.jsx(C.Empty,{description:n(1455),image:C.Empty[n(716)]})}})},"text"),l[n(1435)](vn,{header:l[n(1435)](n(1088),{className:n(1634),children:[l[n(975)](n(1987),{children:"线条"}),a==="line-draw"&&l[n(975)](C[n(739)],{color:n(1160),className:"text-xs",children:n(899)})]}),children:[l[n(975)](C[n(1464)],{dataSource:v[n(1126)],renderItem:m=>M(m,!0),locale:{emptyText:l.jsx(C[n(465)],{description:"暂无物料",image:C[n(465)][n(716)]})}}),a==="line-draw"&&l.jsxs(n(1088),{className:n(1157),children:[l[n(975)]("div",{children:n(1211)}),l[n(975)](n(1088),{children:n(1195)})]})]},"line"),v[n(1087)][n(922)]>0&&l[n(975)](vn,{header:"群组",children:l[n(975)](C[n(1464)],{dataSource:v[n(1087)],renderItem:m=>M(m,!1),locale:{emptyText:l[n(975)](C.Empty,{description:n(1455),image:C[n(465)][n(716)]})}})},"group"),v[n(1807)][n(922)]>0&&l[n(975)](vn,{header:n(1017),children:l.jsx(C[n(1464)],{dataSource:v[n(1807)],renderItem:m=>M(m,!1),locale:{emptyText:l[n(975)](C.Empty,{description:n(1455),image:C.Empty[n(716)]})}})},n(1807))]})}),l[n(975)](n(1088),{className:n(1003),children:l[n(975)](It,{type:n(1830),className:n(1058),children:a===n(1560)?l[n(975)](l[n(676)],{children:n(1604)}):l[n(975)](l.Fragment,{children:"💡 提示:拖拽物料到画布创建节点,点击线条物料进入绘制模式"})})})]})};var Qx=function(e,n){const t=c;return Qx=Object[t(1689)]||{__proto__:[]}instanceof Array&&function(o,x){const r=t;o[r(629)]=x}||function(o,x){const r=t;for(var i in x)Object[r(1741)][r(1943)][r(1382)](x,i)&&(o[i]=x[i])},Qx(e,n)};function K0(e,n){const t=c;if(typeof n!==t(2001)&&n!==null)throw new TypeError("Class extends value "+String(n)+t(961));Qx(e,n);function o(){this.constructor=e}e[t(1741)]=n===null?Object.create(n):(o.prototype=n[t(1741)],new o)}function Os(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=_0x5092;function d(f){try{u(o.next(f))}catch(b){i(b)}}function s(f){try{u(o.throw(f))}catch(b){i(b)}}function u(f){const b=_0x5092;f.done?r(f.value):x(f[b(891)]).then(d,s)}u((o=o[a(1685)](e,n||[])).next())})}function Ir(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(2138)]((typeof Iterator=="function"?Iterator:Object)[t(1741)]);return a[t(1307)]=d(0),a[t(1570)]=d(1),a[t(1124)]=d(2),typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function d(u){return function(f){return s([u,f])}}function s(u){const f=t;if(x)throw new TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(o=0)),o;)try{if(x=1,r&&(i=u[0]&2?r[f(1124)]:u[0]?r[f(1570)]||((i=r[f(1124)])&&i[f(1382)](r),0):r[f(1307)])&&!(i=i[f(1382)](r,u[1]))[f(926)])return i;switch(r=0,i&&(u=[u[0]&2,i[f(891)]]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o[f(1107)][f(1413)](),o.trys[f(1413)]();continue;default:if(i=o[f(1191)],!(i=i[f(922)]>0&&i[i[f(922)]-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(1765)]=u[1];break}if(u[0]===6&&o[f(1765)]<i[1]){o[f(1765)]=i[1],i=u;break}if(i&&o[f(1765)]<i[2]){o[f(1765)]=i[2],o[f(1107)].push(u);break}i[2]&&o[f(1107)].pop(),o[f(1191)][f(1413)]();continue}u=n[f(1382)](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 pn(e){const n=c;var t=typeof Symbol===n(2001)&&Symbol[n(1577)],o=t&&e[t],x=0;if(o)return o[n(1382)](e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(n(t?1804:1263))}function Pt(e,n){const t=c;var o=typeof Symbol===t(2001)&&e[Symbol[t(1577)]];if(!o)return e;var x=o.call(e),r,i=[],a;try{for(;(n===void 0||n-- >0)&&!(r=x.next())[t(926)];)i[t(1843)](r[t(891)])}catch(d){a={error:d}}finally{try{r&&!r[t(926)]&&(o=x[t(1124)])&&o[t(1382)](x)}finally{if(a)throw a[t(1049)]}}return i}function jt(e,n,t){const o=c;if(t||arguments.length===2)for(var x=0,r=n[o(922)],i;x<r;x++)(i||!(x in n))&&(i||(i=Array[o(1741)][o(2071)][o(1382)](n,0,x)),i[x]=n[x]);return e[o(1199)](i||Array[o(1741)].slice.call(n))}function zn(e){return this instanceof zn?(this.v=e,this):new zn(e)}function Gs(e,n,t){const o=c;if(!Symbol[o(2164)])throw new TypeError(o(567));var x=t[o(1685)](e,n||[]),r,i=[];return r=Object[o(2138)]((typeof AsyncIterator===o(2001)?AsyncIterator:Object).prototype),d(o(1307)),d(o(1570)),d(o(1124),a),r[Symbol[o(2164)]]=function(){return this},r;function a(v){return function(h){const w=_0x5092;return Promise[w(1887)](h)[w(374)](v,b)}}function d(v,h){x[v]&&(r[v]=function(w){return new Promise(function(M,m){i[_0x5092(1843)]([v,w,M,m])>1||s(v,w)})},h&&(r[v]=h(r[v])))}function s(v,h){try{u(x[v](h))}catch(w){g(i[0][3],w)}}function u(v){const h=o;v[h(891)]instanceof zn?Promise.resolve(v[h(891)].v).then(f,b):g(i[0][2],v)}function f(v){s(o(1307),v)}function b(v){s(o(1570),v)}function g(v,h){v(h),i.shift(),i.length&&s(i[0][0],i[0][1])}}function Ts(e){const n=c;if(!Symbol[n(2164)])throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol[n(2164)]],o;return t?t[n(1382)](e):(e=typeof pn=="function"?pn(e):e[Symbol[n(1577)]](),o={},x("next"),x(n(1570)),x(n(1124)),o[Symbol[n(2164)]]=function(){return this},o);function x(i){o[i]=e[i]&&function(a){return new Promise(function(d,s){const u=_0x5092;a=e[i](a),r(d,s,a[u(926)],a[u(891)])})}}function r(i,a,d,s){const u=n;Promise[u(1887)](s)[u(374)](function(f){i({value:f,done:d})},a)}}typeof SuppressedError===c(2001)&&SuppressedError;function Ve(e){return typeof e===c(2001)}function $x(e){const n=c;var t=function(x){const r=_0x5092;Error[r(1382)](x),x[r(905)]=new Error()[r(905)]},o=e(t);return o[n(1741)]=Object[n(2138)](Error.prototype),o.prototype[n(1711)]=o,o}var eo=$x(function(e){return function(t){const o=_0x5092;e(this),this[o(1710)]=t?t[o(922)]+o(1373)+t[o(692)](function(x,r){const i=o;return r+1+") "+x[i(476)]()})[o(2109)](o(1745)):"",this[o(1932)]=o(1814),this[o(2082)]=t}});function At(e,n){const t=c;if(e){var o=e[t(1357)](n);0<=o&&e[t(1988)](o,1)}}var Fn=(function(){const e=c;function n(t){const o=_0x5092;this[o(430)]=t,this[o(786)]=!1,this._parentage=null,this[o(647)]=null}return n[e(1741)][e(2100)]=function(){const t=e;var o,x,r,i,a;if(!this[t(786)]){this[t(786)]=!0;var d=this[t(1990)];if(d)if(this._parentage=null,Array[t(1875)](d))try{for(var s=pn(d),u=s.next();!u.done;u=s.next()){var f=u[t(891)];f[t(642)](this)}}catch(M){o={error:M}}finally{try{u&&!u[t(926)]&&(x=s[t(1124)])&&x[t(1382)](s)}finally{if(o)throw o[t(1049)]}}else d[t(642)](this);var b=this[t(430)];if(Ve(b))try{b()}catch(M){a=M instanceof eo?M[t(2082)]:[M]}var g=this[t(647)];if(g){this._finalizers=null;try{for(var v=pn(g),h=v[t(1307)]();!h[t(926)];h=v[t(1307)]()){var w=h[t(891)];try{Ar(w)}catch(M){a=a??[],M instanceof eo?a=jt(jt([],Pt(a)),Pt(M[t(2082)])):a.push(M)}}}catch(M){r={error:M}}finally{try{h&&!h[t(926)]&&(i=v.return)&&i[t(1382)](v)}finally{if(r)throw r.error}}}if(a)throw new eo(a)}},n[e(1741)][e(1007)]=function(t){const o=e;var x;if(t&&t!==this)if(this[o(786)])Ar(t);else{if(t instanceof n){if(t[o(786)]||t[o(1226)](this))return;t[o(700)](this)}(this[o(647)]=(x=this._finalizers)!==null&&x!==void 0?x:[])[o(1843)](t)}},n[e(1741)]._hasParent=function(t){const o=e;var x=this[o(1990)];return x===t||Array[o(1875)](x)&&x[o(1499)](t)},n[e(1741)][e(700)]=function(t){const o=e;var x=this[o(1990)];this[o(1990)]=Array[o(1875)](x)?(x.push(t),x):x?[x,t]:t},n.prototype[e(2065)]=function(t){const o=e;var x=this[o(1990)];x===t?this[o(1990)]=null:Array[o(1875)](x)&&At(x,t)},n.prototype[e(642)]=function(t){const o=e;var x=this[o(647)];x&&At(x,t),t instanceof n&&t[o(2065)](this)},n.EMPTY=(function(){const t=e;var o=new n;return o[t(786)]=!0,o})(),n})(),Pr=Fn[c(939)];function jr(e){const n=c;return e instanceof Fn||e&&n(786)in e&&Ve(e[n(642)])&&Ve(e[n(1007)])&&Ve(e.unsubscribe)}function Ar(e){const n=c;Ve(e)?e():e[n(2100)]()}var Hs={Promise:void 0},Vs={setTimeout:function(e,n){const t=c;for(var o=[],x=2;x<arguments[t(922)];x++)o[x-2]=arguments[x];return setTimeout[t(1685)](void 0,jt([e,n],Pt(o)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Er(e){Vs[c(754)](function(){throw e})}function Yr(){}function Et(e){e()}var no=(function(e){const n=c;K0(t,e);function t(o){const x=_0x5092;var r=e.call(this)||this;return r.isStopped=!1,o?(r[x(1944)]=o,jr(o)&&o[x(1007)](r)):r[x(1944)]=Xs,r}return t[n(2138)]=function(o,x,r){return new to(o,x,r)},t[n(1741)][n(1307)]=function(o){const x=n;this.isStopped||this[x(807)](o)},t[n(1741)][n(1049)]=function(o){const x=n;this[x(1200)]||(this[x(1200)]=!0,this._error(o))},t[n(1741)][n(724)]=function(){const o=n;this.isStopped||(this[o(1200)]=!0,this[o(664)]())},t[n(1741)].unsubscribe=function(){const o=n;!this[o(786)]&&(this[o(1200)]=!0,e[o(1741)].unsubscribe[o(1382)](this),this[o(1944)]=null)},t.prototype._next=function(o){const x=n;this[x(1944)][x(1307)](o)},t[n(1741)][n(941)]=function(o){const x=n;try{this[x(1944)].error(o)}finally{this[x(2100)]()}},t.prototype[n(664)]=function(){const o=n;try{this[o(1944)][o(724)]()}finally{this.unsubscribe()}},t})(Fn),Ws=(function(){const e=c;function n(t){this.partialObserver=t}return n[e(1741)].next=function(t){const o=e;var x=this[o(2072)];if(x.next)try{x[o(1307)](t)}catch(r){Yt(r)}},n[e(1741)][e(1049)]=function(t){const o=e;var x=this[o(2072)];if(x[o(1049)])try{x.error(t)}catch(r){Yt(r)}else Yt(t)},n.prototype[e(724)]=function(){const t=e;var o=this.partialObserver;if(o.complete)try{o[t(724)]()}catch(x){Yt(x)}},n})(),to=(function(e){K0(n,e);function n(t,o,x){var i=e[_0x5092(1382)](this)||this,a;return Ve(t)||!t?a={next:t??void 0,error:o??void 0,complete:x??void 0}:a=t,i.destination=new Ws(a),i}return n})(no);function Yt(e){Er(e)}function qs(e){throw e}var Xs={closed:!0,next:Yr,error:qs,complete:Yr},xo=(function(){const e=c;return typeof Symbol===e(2001)&&Symbol[e(1292)]||"@@observable"})();function Ur(e){return e}function Ks(e){const n=c;return e.length===0?Ur:e[n(922)]===1?e[0]:function(o){return e[n(1046)](function(r,i){return i(r)},o)}}var h0=(function(){const e=c;function n(t){const o=_0x5092;t&&(this[o(1138)]=t)}return n.prototype.lift=function(t){const o=_0x5092;var x=new n;return x[o(1858)]=this,x.operator=t,x},n[e(1741)].subscribe=function(t,o,x){var r=this,i=Rs(t)?t:new to(t,o,x);return Et(function(){const a=_0x5092;var d=r,s=d[a(722)],u=d[a(1858)];i[a(1007)](s?s[a(1382)](i,u):u?r._subscribe(i):r[a(1900)](i))}),i},n[e(1741)][e(1900)]=function(t){const o=e;try{return this[o(1138)](t)}catch(x){t[o(1049)](x)}},n[e(1741)][e(467)]=function(t,o){var x=this;return o=Or(o),new o(function(r,i){const a=_0x5092;var d=new to({next:function(s){const u=_0x5092;try{t(s)}catch(f){i(f),d[u(2100)]()}},error:i,complete:r});x[a(394)](d)})},n.prototype._subscribe=function(t){const o=e;var x;return(x=this.source)===null||x===void 0?void 0:x[o(394)](t)},n[e(1741)][xo]=function(){return this},n[e(1741)][e(1783)]=function(){const t=e;for(var o=[],x=0;x<arguments[t(922)];x++)o[x]=arguments[x];return Ks(o)(this)},n[e(1741)][e(1018)]=function(t){var o=this;return t=Or(t),new t(function(x,r){const i=_0x5092;var a;o[i(394)](function(d){return a=d},function(d){return r(d)},function(){return x(a)})})},n.create=function(t){return new n(t)},n})();function Or(e){const n=c;var t;return(t=e??Hs[n(511)])!==null&&t!==void 0?t:Promise}function Zs(e){const n=c;return e&&Ve(e[n(1307)])&&Ve(e[n(1049)])&&Ve(e.complete)}function Rs(e){return e&&e instanceof no||Zs(e)&&jr(e)}function _s(e){return Ve(e?.[c(965)])}function on(e){return function(n){const t=_0x5092;if(_s(n))return n[t(965)](function(o){try{return e(o,this)}catch(x){this.error(x)}});throw new TypeError(t(1024))}}function rn(e,n,t,o,x){return new Js(e,n,t,o,x)}var Js=(function(e){const n=c;K0(t,e);function t(o,x,r,i,a,d){const s=_0x5092;var u=e.call(this,o)||this;return u[s(787)]=a,u.shouldUnsubscribe=d,u._next=x?function(f){const b=s;try{x(f)}catch(g){o[b(1049)](g)}}:e[s(1741)]._next,u[s(941)]=i?function(f){const b=s;try{i(f)}catch(g){o[b(1049)](g)}finally{this[b(2100)]()}}:e[s(1741)][s(941)],u[s(664)]=r?function(){const f=s;try{r()}catch(b){o.error(b)}finally{this[f(2100)]()}}:e[s(1741)]._complete,u}return t.prototype[n(2100)]=function(){const o=n;var x;if(!this[o(337)]||this.shouldUnsubscribe()){var r=this.closed;e[o(1741)][o(2100)][o(1382)](this),!r&&((x=this[o(787)])===null||x===void 0||x[o(1382)](this))}},t})(no),Fs=$x(function(e){return function(){const t=_0x5092;e(this),this[t(1932)]="ObjectUnsubscribedError",this.message=t(1112)}}),Gr=(function(e){const n=c;K0(t,e);function t(){const o=_0x5092;var x=e[o(1382)](this)||this;return x[o(786)]=!1,x[o(1997)]=null,x[o(1599)]=[],x[o(1200)]=!1,x[o(609)]=!1,x.thrownError=null,x}return t[n(1741)].lift=function(o){const x=n;var r=new Tr(this,this);return r[x(722)]=o,r},t[n(1741)][n(1767)]=function(){if(this.closed)throw new Fs},t[n(1741)].next=function(o){var x=this;Et(function(){const r=_0x5092;var i,a;if(x._throwIfClosed(),!x[r(1200)]){!x.currentObservers&&(x[r(1997)]=Array.from(x[r(1599)]));try{for(var d=pn(x[r(1997)]),s=d[r(1307)]();!s.done;s=d[r(1307)]()){var u=s[r(891)];u[r(1307)](o)}}catch(f){i={error:f}}finally{try{s&&!s.done&&(a=d[r(1124)])&&a.call(d)}finally{if(i)throw i.error}}}})},t[n(1741)].error=function(o){var x=this;Et(function(){const r=_0x5092;if(x[r(1767)](),!x[r(1200)]){x[r(609)]=x.isStopped=!0,x[r(1440)]=o;for(var i=x[r(1599)];i[r(922)];)i[r(2015)]()[r(1049)](o)}})},t[n(1741)].complete=function(){var o=this;Et(function(){const x=_0x5092;if(o[x(1767)](),!o[x(1200)]){o.isStopped=!0;for(var r=o[x(1599)];r[x(922)];)r[x(2015)]()[x(724)]()}})},t[n(1741)][n(2100)]=function(){const o=n;this[o(1200)]=this.closed=!0,this.observers=this[o(1997)]=null},Object[n(1766)](t.prototype,n(1691),{get:function(){const o=n;var x;return((x=this[o(1599)])===null||x===void 0?void 0:x.length)>0},enumerable:!1,configurable:!0}),t[n(1741)][n(1900)]=function(o){const x=n;return this._throwIfClosed(),e[x(1741)][x(1900)][x(1382)](this,o)},t.prototype[n(1138)]=function(o){const x=n;return this._throwIfClosed(),this[x(1817)](o),this[x(1369)](o)},t[n(1741)][n(1369)]=function(o){const x=n;var r=this,i=this,a=i[x(609)],d=i[x(1200)],s=i[x(1599)];return a||d?Pr:(this.currentObservers=null,s[x(1843)](o),new Fn(function(){const u=x;r[u(1997)]=null,At(s,o)}))},t[n(1741)][n(1817)]=function(o){const x=n;var r=this,i=r[x(609)],a=r[x(1440)],d=r[x(1200)];i?o[x(1049)](a):d&&o[x(724)]()},t[n(1741)][n(872)]=function(){const o=n;var x=new h0;return x[o(1858)]=this,x},t.create=function(o,x){return new Tr(o,x)},t})(h0),Tr=(function(e){const n=c;K0(t,e);function t(o,x){const r=_0x5092;var i=e[r(1382)](this)||this;return i[r(1944)]=o,i[r(1858)]=x,i}return t[n(1741)][n(1307)]=function(o){const x=n;var r,i;(i=(r=this[x(1944)])===null||r===void 0?void 0:r[x(1307)])===null||i===void 0||i[x(1382)](r,o)},t[n(1741)].error=function(o){const x=n;var r,i;(i=(r=this[x(1944)])===null||r===void 0?void 0:r[x(1049)])===null||i===void 0||i[x(1382)](r,o)},t[n(1741)][n(724)]=function(){const o=n;var x,r;(r=(x=this[o(1944)])===null||x===void 0?void 0:x[o(724)])===null||r===void 0||r[o(1382)](x)},t[n(1741)][n(1138)]=function(o){const x=n;var r,i;return(i=(r=this[x(1858)])===null||r===void 0?void 0:r[x(394)](o))!==null&&i!==void 0?i:Pr},t})(Gr),Qs={now:function(){return Date.now()}},$s=(function(e){K0(n,e);function n(t,o){return e[_0x5092(1382)](this)||this}return n.prototype.schedule=function(t,o){return this},n})(Fn),Hr={setInterval:function(e,n){const t=c;for(var o=[],x=2;x<arguments[t(922)];x++)o[x-2]=arguments[x];return setInterval[t(1685)](void 0,jt([e,n],Pt(o)))},clearInterval:function(e){return clearInterval(e)},delegate:void 0},el=(function(e){const n=c;K0(t,e);function t(o,x){const r=_0x5092;var i=e.call(this,o,x)||this;return i[r(360)]=o,i.work=x,i[r(1098)]=!1,i}return t[n(1741)][n(1305)]=function(o,x){const r=n;var i;if(x===void 0&&(x=0),this[r(786)])return this;this[r(427)]=o;var a=this.id,d=this[r(360)];return a!=null&&(this.id=this.recycleAsyncId(d,a,x)),this.pending=!0,this[r(1521)]=x,this.id=(i=this.id)!==null&&i!==void 0?i:this[r(1225)](d,this.id,x),this},t[n(1741)][n(1225)]=function(o,x,r){const i=n;return r===void 0&&(r=0),Hr[i(353)](o[i(1227)][i(1400)](o,this),r)},t.prototype.recycleAsyncId=function(o,x,r){const i=n;return r===void 0&&(r=0),r!=null&&this[i(1521)]===r&&this.pending===!1?x:(x!=null&&Hr[i(1476)](x),void 0)},t[n(1741)][n(1337)]=function(o,x){const r=n;if(this.closed)return new Error("executing a cancelled action");this[r(1098)]=!1;var i=this[r(341)](o,x);if(i)return i;this[r(1098)]===!1&&this.id!=null&&(this.id=this[r(887)](this[r(360)],this.id,null))},t[n(1741)][n(341)]=function(o,x){const r=n;var i=!1,a;try{this[r(830)](o)}catch(d){i=!0,a=d||new Error("Scheduled action threw falsy error")}if(i)return this[r(2100)](),a},t[n(1741)][n(2100)]=function(){const o=n;if(!this[o(786)]){var x=this,r=x.id,i=x[o(360)],a=i[o(2027)];this[o(830)]=this[o(427)]=this.scheduler=null,this[o(1098)]=!1,At(a,this),r!=null&&(this.id=this[o(887)](i,r,null)),this[o(1521)]=null,e[o(1741)][o(2100)][o(1382)](this)}},t})($s),Vr=(function(){const e=c;function n(t,o){const x=_0x5092;o===void 0&&(o=n[x(2093)]),this.schedulerActionCtor=t,this[x(2093)]=o}return n[e(1741)][e(1305)]=function(t,o,x){const r=e;return o===void 0&&(o=0),new this[r(1025)](this,t).schedule(x,o)},n[e(2093)]=Qs[e(2093)],n})(),nl=(function(e){K0(n,e);function n(t,o){const x=_0x5092;o===void 0&&(o=Vr[x(2093)]);var r=e[x(1382)](this,t,o)||this;return r[x(2027)]=[],r[x(626)]=!1,r}return n.prototype.flush=function(t){const o=_0x5092;var x=this[o(2027)];if(this[o(626)]){x[o(1843)](t);return}var r;this[o(626)]=!0;do if(r=t[o(1337)](t[o(427)],t[o(1521)]))break;while(t=x[o(2015)]());if(this[o(626)]=!1,r){for(;t=x.shift();)t.unsubscribe();throw r}},n})(Vr),tl=new nl(el);function xl(e){return e&&Ve(e.schedule)}function ol(e){return e[e[c(922)]-1]}function rl(e){const n=c;return xl(ol(e))?e[n(1413)]():void 0}var Wr=function(e){const n=c;return e&&typeof e[n(922)]===n(935)&&typeof e!==n(2001)};function qr(e){return Ve(e?.[c(374)])}function Xr(e){return Ve(e[xo])}function Kr(e){return Symbol[c(2164)]&&Ve(e?.[Symbol.asyncIterator])}function Zr(e){const n=c;return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+n(461))}function il(){const e=c;return typeof Symbol!==e(2001)||!Symbol[e(1577)]?e(1874):Symbol[e(1577)]}var Rr=il();function _r(e){return Ve(e?.[Rr])}function Jr(e){return Gs(this,arguments,function(){var t,o,x,r;return Ir(this,function(i){const a=_0x5092;switch(i.label){case 0:t=e.getReader(),i[a(1765)]=1;case 1:i[a(1191)][a(1843)]([1,,9,10]),i.label=2;case 2:return[4,zn(t[a(395)]())];case 3:return o=i.sent(),x=o[a(891)],r=o.done,r?[4,zn(void 0)]:[3,5];case 4:return[2,i[a(1924)]()];case 5:return[4,zn(x)];case 6:return[4,i[a(1924)]()];case 7:return i[a(1924)](),[3,2];case 8:return[3,10];case 9:return t[a(1185)](),[7];case 10:return[2]}})})}function Fr(e){return Ve(e?.[c(1253)])}function an(e){if(e instanceof h0)return e;if(e!=null){if(Xr(e))return al(e);if(Wr(e))return cl(e);if(qr(e))return sl(e);if(Kr(e))return Qr(e);if(_r(e))return ll(e);if(Fr(e))return dl(e)}throw Zr(e)}function al(e){return new h0(function(n){const t=_0x5092;var o=e[xo]();if(Ve(o.subscribe))return o.subscribe(n);throw new TypeError(t(2154))})}function cl(e){return new h0(function(n){const t=_0x5092;for(var o=0;o<e[t(922)]&&!n[t(786)];o++)n[t(1307)](e[o]);n[t(724)]()})}function sl(e){return new h0(function(n){const t=_0x5092;e.then(function(o){!n[_0x5092(786)]&&(n.next(o),n.complete())},function(o){return n[_0x5092(1049)](o)})[t(374)](null,Er)})}function ll(e){return new h0(function(n){const t=_0x5092;var o,x;try{for(var r=pn(e),i=r[t(1307)]();!i.done;i=r.next()){var a=i[t(891)];if(n.next(a),n[t(786)])return}}catch(d){o={error:d}}finally{try{i&&!i[t(926)]&&(x=r[t(1124)])&&x[t(1382)](r)}finally{if(o)throw o[t(1049)]}}n[t(724)]()})}function Qr(e){return new h0(function(n){const t=_0x5092;ul(e,n)[t(2080)](function(o){return n[t(1049)](o)})})}function dl(e){return Qr(Jr(e))}function ul(e,n){var t,o,x,r;return Os(this,void 0,void 0,function(){var i,a;return Ir(this,function(d){const s=_0x5092;switch(d[s(1765)]){case 0:d[s(1191)][s(1843)]([0,5,6,11]),t=Ts(e),d.label=1;case 1:return[4,t[s(1307)]()];case 2:if(o=d[s(1924)](),!!o[s(926)])return[3,4];if(i=o.value,n[s(1307)](i),n[s(786)])return[2];d[s(1765)]=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=d[s(1924)](),x={error:a},[3,11];case 6:return d[s(1191)][s(1843)]([6,,9,10]),o&&!o[s(926)]&&(r=t[s(1124)])?[4,r[s(1382)](t)]:[3,8];case 7:d.sent(),d[s(1765)]=8;case 8:return[3,10];case 9:if(x)throw x[s(1049)];return[7];case 10:return[7];case 11:return n[s(724)](),[2]}})})}function Z0(e,n,t,o,x){const r=c;o===void 0&&(o=0),x===void 0&&(x=!1);var i=n.schedule(function(){const a=_0x5092;t(),x?e[a(1007)](this[a(1305)](null,o)):this[a(2100)]()},o);if(e[r(1007)](i),!x)return i}function $r(e,n){return n===void 0&&(n=0),on(function(t,o){t[_0x5092(394)](rn(o,function(r){return Z0(o,e,function(){return o.next(r)},n)},function(){return Z0(o,e,function(){return o[_0x5092(724)]()},n)},function(r){return Z0(o,e,function(){return o[_0x5092(1049)](r)},n)}))})}function ei(e,n){return n===void 0&&(n=0),on(function(t,o){const x=_0x5092;o[x(1007)](e[x(1305)](function(){return t.subscribe(o)},n))})}function fl(e,n){const t=c;return an(e)[t(1783)](ei(n),$r(n))}function bl(e,n){const t=c;return an(e)[t(1783)](ei(n),$r(n))}function hl(e,n){return new h0(function(t){const o=_0x5092;var x=0;return n[o(1305)](function(){const r=o;x===e[r(922)]?t[r(724)]():(t[r(1307)](e[x++]),!t[r(786)]&&this.schedule())})})}function gl(e,n){return new h0(function(t){var o;return Z0(t,n,function(){o=e[Rr](),Z0(t,n,function(){const x=_0x5092;var r,i,a;try{r=o[x(1307)](),i=r.value,a=r[x(926)]}catch(d){t[x(1049)](d);return}a?t[x(724)]():t[x(1307)](i)},0,!0)}),function(){const x=_0x5092;return Ve(o?.return)&&o[x(1124)]()}})}function ni(e,n){const t=c;if(!e)throw new Error(t(1183));return new h0(function(o){Z0(o,n,function(){const x=_0x5092;var r=e[Symbol[x(2164)]]();Z0(o,n,function(){const i=x;r[i(1307)]().then(function(a){const d=i;a[d(926)]?o[d(724)]():o[d(1307)](a[d(891)])})},0,!0)})})}function yl(e,n){return ni(Jr(e),n)}function ml(e,n){if(e!=null){if(Xr(e))return fl(e,n);if(Wr(e))return hl(e,n);if(qr(e))return bl(e,n);if(Kr(e))return ni(e,n);if(_r(e))return gl(e,n);if(Fr(e))return yl(e,n)}throw Zr(e)}function Ut(e,n){return n?ml(e,n):an(e)}function w0(){const e=c;for(var n=[],t=0;t<arguments[e(922)];t++)n[t]=arguments[t];var o=rl(n);return Ut(n,o)}function Qe(e,n){var t=Ve(e)?e:function(){return e},o=function(x){return x[_0x5092(1049)](t())};return new h0(o)}function wl(e){return e instanceof Date&&!isNaN(e)}var vl=$x(function(e){return function(t){const o=_0x5092;t===void 0&&(t=null),e(this),this[o(1710)]=o(494),this[o(1932)]=o(1680),this[o(909)]=t}});function pl(e,n){const t=c;var o=wl(e)?{first:e}:{each:e},x=o[t(1927)],r=o[t(433)],i=o[t(414)],a=i===void 0?zl:i,d=o.scheduler,s=d===void 0?tl:d,u=o.meta,f=u===void 0?null:u;if(x==null&&r==null)throw new TypeError("No timeout provided.");return on(function(b,g){const v=t;var h,w,M=null,m=0,y=function(z){w=Z0(g,s,function(){const p=_0x5092;try{h[p(2100)](),an(a({meta:f,lastValue:M,seen:m}))[p(394)](g)}catch(k){g.error(k)}},z)};h=b[v(394)](rn(g,function(z){w?.unsubscribe(),m++,g.next(M=z),r>0&&y(r)},void 0,void 0,function(){const z=v;!w?.[z(786)]&&w?.[z(2100)](),M=null})),!m&&y(x!=null?typeof x===v(935)?x:+x-s[v(2093)]():r)})}function zl(e){throw new vl(e)}function Ot(e,n){return on(function(t,o){const x=_0x5092;var r=0;t[x(394)](rn(o,function(i){o[x(1307)](e.call(n,i,r++))}))})}function Cl(e,n,t,o,x,r,i,a){const d=c;var s=[],u=0,f=0,b=!1,g=function(){const w=_0x5092;b&&!s.length&&!u&&n[w(724)]()},v=function(w){const M=_0x5092;return u<o?h(w):s[M(1843)](w)},h=function(w){const M=_0x5092;u++;var m=!1;an(t(w,f++))[M(394)](rn(n,function(y){n[M(1307)](y)},function(){m=!0},void 0,function(){const y=M;if(m)try{u--;for(var z=function(){var k=s[_0x5092(2015)]();i||h(k)};s[y(922)]&&u<o;)z();g()}catch(p){n[y(1049)](p)}}))};return e[d(394)](rn(n,v,function(){b=!0,g()})),function(){}}function oo(e,n,t){const o=c;return t===void 0&&(t=1/0),Ve(n)?oo(function(x,r){return Ot(function(i,a){return n(x,i,r,a)})(an(e(x,r)))},t):(typeof n===o(935)&&(t=n),on(function(x,r){return Cl(x,r,e,t)}))}function Gt(e){return on(function(n,t){const o=_0x5092;var x=null,r=!1,i;x=n.subscribe(rn(t,void 0,void 0,function(a){const d=_0x5092;i=an(e(a,Gt(e)(n))),x?(x[d(2100)](),x=null,i[d(394)](t)):r=!0})),r&&(x[o(2100)](),x=null,i[o(394)](t))})}function Ml(e,n,t){var o=Ve(e)||n||t?{next:e,error:n,complete:t}:e;return o?on(function(x,r){const i=_0x5092;var a;(a=o[i(394)])===null||a===void 0||a[i(1382)](o);var d=!0;x[i(394)](rn(r,function(s){const u=i;var f;(f=o[u(1307)])===null||f===void 0||f.call(o,s),r[u(1307)](s)},function(){const s=i;var u;d=!1,(u=o[s(724)])===null||u===void 0||u.call(o),r[s(724)]()},function(s){const u=i;var f;d=!1,(f=o[u(1049)])===null||f===void 0||f.call(o,s),r[u(1049)](s)},function(){const s=i;var u,f;d&&((u=o[s(2100)])===null||u===void 0||u[s(1382)](o)),(f=o[s(1182)])===null||f===void 0||f[s(1382)](o)}))}):Ur}function ro(e){const n=c;return encodeURIComponent((e||"")[n(583)]()||n(1903))}function Bl(e){const n=c;return e[n(1723)]===n(1070)?e.bindNodeId+n(955)+ro(e[n(1029)]??""):e[n(500)]+"::"+e[n(1723)]}function ti(e,n){return e+":"+n}class Cn{static[c(774)];[c(1100)]=new Map;[c(474)]=new Map;eventBlocks=new Map;[c(1398)]=new Map;[c(760)];constructor(){}static[c(321)](){const n=c;return!Cn[n(774)]&&(Cn.instance=new Cn),Cn[n(774)]}[c(1683)](n){const t=c;this[t(1936)][t(720)](n.id,n)}unregisterEventBlock(n){this.eventBlocks.delete(n)}[c(1995)](n){const t=c;return this[t(1936)][t(509)](n)}[c(2106)](n){this.defaultRuntimeHandlers=n}mergeDefaultRuntimeHandlers(n){const t=c;if(!n)return;const o=this[t(760)];this[t(760)]={dataRequest:{...o?.dataRequest,...n[t(462)]},external:{...o?.[t(1070)],...n[t(1070)]}}}[c(643)](n){const t=c,o=this[t(760)];if(!(!o&&!n))return{dataRequest:{...o?.[t(462)],...n?.[t(462)]},external:{...o?.[t(1070)],...n?.[t(1070)]}}}disposeEventRootPipeline(n){const t=c,o=this[t(474)][t(509)](n.id);o&&(o[t(2100)](),this[t(474)].delete(n.id)),this.eventSubjects.delete(n.id)}bindNodeEvent(n){const t=c,o=Bl(n),x=this[t(1398)][t(509)](o);x&&x.id!==n.id&&this[t(558)](x),this[t(1398)][t(720)](o,n),!this.eventSubjects.has(n.id)&&this.createEventFlowPipeline(n)}[c(883)](n,t,o){const x=c;if(t==="external"){const d=n+"::ext::"+ro(o??""),s=this[x(1398)].get(d);s&&(this[x(558)](s),this.nodeEventBindings[x(2055)](d));return}const r=n+"::"+t,i=ti(n,t),a=this.nodeEventBindings[x(509)](r)??this.nodeEventBindings[x(509)](i);a&&(this.disposeEventRootPipeline(a),this[x(1398)].delete(r),this[x(1398)][x(2055)](i))}[c(1243)](n){const t=c,o=[];this.nodeEventBindings[t(467)]((x,r)=>{const i=t;x[i(500)]===n&&o[i(1843)]({key:r,root:x})}),o[t(467)](({key:x,root:r})=>{const i=t;this.disposeEventRootPipeline(r),this[i(1398)][i(2055)](x)})}[c(1144)](n){const t=c,o=[];return this[t(1398)].forEach(x=>{const r=t;x[r(500)]===n&&o[r(1843)](x)}),o}emit(n,t,o){const x=c,r=n+"::"+t,i=this[x(1398)][x(509)](r)??this[x(1398)][x(509)](ti(n,t));if(!i||!i[x(1219)])return w0({success:!0,result:null,path:[],duration:0});if(!this[x(1100)].get(i.id))return Qe(()=>new Error(x(2171)+r));const d=Date.now(),s={...o,executionPath:o[x(2013)]||[],runtimeHandlers:this[x(643)](o[x(532)])};return this[x(1032)](i,s)[x(1783)](Ot(u=>({success:!0,result:u,path:s[x(2013)],duration:Date[x(2093)]()-d})),Gt(u=>w0({success:!1,error:u[x(1710)]||"Event flow execution failed",path:s[x(2013)],duration:Date[x(2093)]()-d})))}[c(1757)](n,t,o){const x=c,r=n+"::ext::"+ro(t),i=this[x(1398)][x(509)](r);if(!i||!i[x(1219)])return w0({success:!0,result:null,path:[],duration:0});if(!this[x(1100)][x(509)](i.id))return Qe(()=>new Error(x(2171)+r));const d=Date[x(2093)](),s={...o,executionPath:o[x(2013)]||[],runtimeHandlers:this[x(643)](o.runtimeHandlers)};return this[x(1032)](i,s).pipe(Ot(u=>({success:!0,result:u,path:s[x(2013)],duration:Date[x(2093)]()-d})),Gt(u=>w0({success:!1,error:u[x(1710)]||x(1890),path:s[x(2013)],duration:Date[x(2093)]()-d})))}createEventFlowPipeline(n){const t=c,o=new Gr;this[t(1100)][t(720)](n.id,o)}[c(1032)](n,t){const o=c,{nodes:x,edges:r}=n.flowData;if(x.length===0)return w0(null);const i=x[o(568)](a=>a[o(1739)][o(922)]===0);return i[o(922)]===0?Qe(()=>new Error(o(1693))):this[o(1527)](i,x,r,t,{})}[c(1527)](n,t,o,x,r){const i=c;if(n.length===0)return w0(r);const a=n[i(692)](d=>this[i(379)](d,x,r).pipe(Ml(s=>{const u=i;r[d.id]=s,x[u(2013)].push(d.id)})));return Ut(a)[i(1783)](oo(d=>d,1),Ot(()=>{const d=i,s=new Set;return n[d(467)](f=>{const b=d;f[b(497)][b(467)](g=>{const v=b,h=t[v(1945)](w=>w.id===g);h&&h[v(1739)][v(2084)](M=>r[M]!==void 0)&&s[v(1007)](g)})}),t[d(568)](f=>s.has(f.id))}),oo(d=>d[i(922)]>0?this.executeFlowNodes(d,t,o,x,r):w0(r)),pl(3e4),Gt(d=>(console[i(1049)]("Event flow execution error:",d),Qe(()=>d))))}[c(811)](n){const t=c;return this[t(1936)][t(509)](n.eventBlockId)??n.data[t(1040)]}[c(1148)](n,t,o){return n.replace(/\{\{\s*([^}]+?)\s*\}\}/g,(x,r)=>{const i=_0x5092,a=String(r)[i(583)]();if(a[i(456)]("$")){const s=this[i(1904)](o,a.slice(1));return s==null?"":String(s)}const d=t[a];return d==null?"":String(d)})}executeBuiltin(n,t,o){const x=c,r=n[x(1030)];if(!r)return Qe(()=>new Error(x(665)));if(r==="antdMessage"){const i=n[x(1217)]??{},a=String(i.content??""),d=i[x(491)]??x(909),s=i.duration,u=this.interpolateBuiltinString(a,o,t);if(!u.trim())return Qe(()=>new Error(x(709)));try{const f={type:d,content:u};if(s!=null&&s!==""){const b=Number(s);!Number[x(1889)](b)&&(f[x(960)]=b)}return C[x(1710)][x(1531)](f),w0({ok:!0,builtinId:r,content:u,level:d})}catch(f){return Qe(()=>f)}}if(r==="switchCanvas"){const i=n[x(1217)]??{},a=String(i.targetCanvasId??"")[x(583)]();if(!a)return Qe(()=>new Error(x(1502)));const d=t[x(463)]??t[x(530)];if(!d)return Qe(()=>new Error(x(678)));try{return d(a),w0({ok:!0,builtinId:r,targetCanvasId:a,withHistory:!!t[x(463)]})}catch(s){return Qe(()=>s)}}return Qe(()=>new Error(x(2e3)+String(r)))}[c(1926)](n,t,o){try{const x=n(t,o);return x instanceof Promise?Ut(x):w0(x)}catch(x){return Qe(()=>x)}}[c(379)](n,t,o){const x=c,r=this.resolveFlowEventBlock(n);if(!r)return Qe(()=>new Error(x(950)+n[x(388)]));const i=this[x(1447)](n,t,o),a=r[x(794)]??x(1514);if(a===x(462)){const d=(r.dataRequestKey||"").trim();if(!d)return Qe(()=>new Error(x(831)));const s=t[x(532)]?.[x(462)]?.[d];return s?this.invokeRuntimeHandler(s,t,i):Qe(()=>new Error(x(333)+d))}if(a===x(1070)){const d=(r[x(1743)]||"")[x(583)]();if(!d)return Qe(()=>new Error(x(636)));const s=t[x(532)]?.external?.[d];return s?this[x(1926)](s,t,i):Qe(()=>new Error("未注册 external 处理器: "+d))}if(a===x(513))return this[x(777)](r,t,i);try{const d=new Function(x(464),"context","args",r[x(1845)]),s=d(t[x(1966)],t,i);return s instanceof Promise?Ut(s):w0(s)}catch(d){return Qe(()=>d)}}[c(1447)](n,t,o){const x=c,r={$event:t[x(525)],$data:t.data,$node:t[x(1966)]},{inputMapping:i}=n[x(1215)];return i&&Object[x(2095)](i)[x(467)](([a,d])=>{const s=x;if(d.startsWith(s(755))){const u=d[s(2067)]("$prev.","");r[a]=o[u]}else if(d[s(456)]("$")){const u=d[s(2071)](1);r[a]=this.getValueFromPath(t,u)}else r[a]=d}),r}getValueFromPath(n,t){const o=c;return t.split(".")[o(1046)]((x,r)=>{if(x!==null&&typeof x===o(793)&&r in x)return x[r]},n)}[c(1205)](){const n=c;this[n(474)][n(467)](t=>t[n(2100)]()),this.subscriptions.clear(),this[n(1100)][n(878)](),this[n(1398)].clear()}}const Mn=Cn[c(321)](),xi=({node:e,children:n,runtimeHandlers:t,flowContextData:o})=>{const x=c,{eventFlow:r,switchCanvas:i,jumpToCanvas:a}=Fe(),d=B[x(1345)](null),s=B[x(1970)](()=>{const f=x;return r[f(1279)][f(568)](b=>b.bindNodeId===e.id&&b[f(1219)])},[r[x(1279)],e.id]),u=B[x(1970)](f=>b=>{const g=_0x5092,v=s()[g(568)](w=>w.eventType===f);if(v[g(922)]===0)return;f!=="mouseOver"&&f!=="mouseLeave"&&b.preventDefault(),b[g(718)]();const h=o&&typeof o===g(793)?{...o}:{};v[g(467)](w=>{const M=g;Mn[M(1930)](e.id,f,{triggerNode:e,originalEvent:b,data:h,runtimeHandlers:t,switchCanvas:i,jumpToCanvas:a}).subscribe({next:m=>{const y=M;!m[y(442)]&&console[y(1049)](y(575),m[y(1049)])},error:m=>{const y=M;console[y(1049)](y(400),m)}})})},[s,e,t,o]);return B.useEffect(()=>(s().forEach(b=>{Mn[_0x5092(1519)](b)}),()=>{Mn[_0x5092(1243)](e.id)}),[s,e.id]),B[x(1894)](()=>{const f=x,b=d.current;if(!b)return;const g={click:u(f(984)),mousedown:u(f(698)),mouseup:u(f(338)),dblclick:u(f(1133)),mouseover:u(f(1940)),mouseleave:u(f(1128)),mouseenter:u("mouseEnter"),contextmenu:u(f(1546))};return Object.entries(g)[f(467)](([v,h])=>{b[f(1533)](v,h,!0)}),()=>{const v=f;Object[v(2095)](g).forEach(([h,w])=>{b[v(652)](h,w,!0)})}},[u]),B[x(1549)](n,{ref:f=>{const b=x;d[b(1348)]=f;const g=n[b(714)];typeof g===b(2001)?g(f):g&&b(1348)in g&&(g.current=f)}})},{Text:oi}=C[c(1209)],ri=(e,n)=>{const t=c;if(!n||!e)return{value:void 0};if(Array[t(1875)](e)){const o=e[t(1945)](x=>x[t(1954)]===n);if(o)return{value:o[t(891)],unit:o[t(1165)]}}else if(typeof e===t(793)){const o=n[t(2105)](".");let x=e;for(const r of o){if(x===null||typeof x!==t(793))return{value:void 0};x=x[r]}if(x!==void 0)return{value:x,unit:e[t(1165)]}}return{value:void 0}};function Dl(e){return Array[c(1875)](e)}const Ll=(e,n,t)=>{const o=c,x=e.content||{},{valueSourceCode:r,boundDatasetId:i,boundDatasetBindCode:a,boundDatasetBindValue:d}=x;if(!r)return{value:void 0};if(i){const s=n[o(1945)](u=>u.id===i);if(s){let u;Dl(s[o(519)])?a!=null&&d!=null?u=s[o(519)][o(1945)](b=>b[a]===d)||{}:u={}:u=s.sample;const f=t&&typeof t===o(793)?{...u,...t}:u;return ri(f,r)}}return ri(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(1984)](n??2)},Nl=(e,n,t,o,x)=>{const r=c;switch(e[r(443)]){case r(1775):const i=e,a=i[r(2066)],d=i[r(1392)];let s=i[r(1870)];return d&&s&&s[r(1499)](r(1628))&&(e[r(1932)]==="矩形"?s=r(480)+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="60"><rect width="100" height="60" fill="'+d+'" rx="4"/></svg>'):e[r(1932)]==="圆形"?s=r(480)+encodeURIComponent(r(1906)+d+r(651)):e[r(1932)]==="圆角矩形"&&(s="data:image/svg+xml,"+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="60"><rect width="100" height="60" fill="'+d+r(1744)))),l.jsx(r(1088),{className:r(1941),style:{backgroundColor:a},children:s?l.jsx("img",{src:s,alt:e[r(1932)],style:{width:r(1380),height:"100%",objectFit:r(980)}}):l[r(975)](r(1088),{className:r(917),children:l[r(975)](r(1987),{className:r(1023),children:r(1313)})})});case"TEXT":const u=e,{label:f,value:b,valueSourceCode:g,unit:v,decimals:h,labelStyle:w,valueStyle:M,customStyle:m}=u[r(1123)]||{},{value:y,unit:z}=g?Ll(u,x||[],n):{value:void 0,unit:void 0},p=y!==void 0?y:b,k=Sl(p,h),O=v||z||"";return l[r(1435)](r(1088),{className:r(1463),style:{...m},children:[f&&l[r(975)](oi,{style:{fontSize:14,fontWeight:r(1115),color:r(873),textAlign:r(761),...w},children:f}),k&&l[r(1435)](oi,{style:{fontSize:14,color:r(1893),textAlign:"left",...M},children:[k,O?" "+O:""]})]});case r(947):const G=e,{thickness:H=2,color:E=r(809),dashed:V=!1,lineType:W=r(V?1390:2140),lineWeight:q=H,startX:T=0,startY:S=0,endX:L=100,endY:D=0}=G[r(1015)]||{},Y=$=>{const ee=r,xe=Math.max(q,1);switch($){case ee(2140):return"";case ee(1390):return xe*8+","+xe*4;case ee(663):return xe*12+","+xe*3+","+xe*2+","+xe*3;case ee(2150):return xe*12+","+xe*3+","+xe*2+","+xe*3+","+xe*2+","+xe*3;case ee(1682):return xe+","+xe*3;case"dash-dot":return xe*8+","+xe*3+","+xe+","+xe*3;default:return""}},A=Y(W),P=t?r(1893):E;return l[r(975)](r(1088),{className:r(572),style:{overflow:r(2014)},children:l[r(1435)]("svg",{className:r(416),width:r(1380),height:"100%",style:{overflow:"visible",pointerEvents:r(1368)},children:[l[r(975)]("line",{x1:T,y1:S,x2:L,y2:D,stroke:r(865),strokeWidth:Math[r(1167)](q,10),strokeLinecap:r(1707),strokeLinejoin:r(1707),style:{pointerEvents:"stroke",cursor:r(1437)}}),l[r(975)](r(1126),{x1:T,y1:S,x2:L,y2:D,stroke:P,strokeWidth:q,strokeDasharray:A,strokeLinecap:r(1707),strokeLinejoin:r(1707),style:{pointerEvents:r(1368)}})]})});case"CUSTOM":const _=e;return _[r(1701)]?_.render({}):l[r(975)]("div",{className:r(613),children:l.jsx(r(1987),{className:"text-gray-400 text-xs",children:r(1005)})});default:return l.jsx(r(1088),{className:"w-full h-full flex items-center justify-center bg-gray-100",children:l[r(975)](r(1987),{className:r(1023),children:"未知类型"})})}},kl=({node:e,isSelected:n=!1,onClick:t,onMouseDown:o,data:x,onUpdateNode:r,scale:i=1,enableEventFlow:a=!1,eventFlowData:d})=>{const s=c,{normalStyle:u,controlInfo:f}=e,{isClickable:b,isDraggable:g,isResizable:v}=f,h=e.contentInfo,w=Fe(j=>j[s(545)]),M=Fe(j=>j[s(1071)]),m=B.useRef(t);B[s(1894)](()=>{const j=s;m[j(1348)]=t},[t]);const[y,z]=B[s(1102)](null),p=B.useRef(null),k=B[s(1345)](null),O=B[s(1345)](null),G=B[s(1345)](null),H=B[s(1345)](null),[E,V]=B[s(1102)](null),W=B.useRef(null),q=B[s(1345)](null),T=B[s(1332)](()=>{const j=s,Z=e[j(674)][j(2169)];if(Z.length===0)return;const ne=Br(Z,x,w);return ne||Z[0]},[e.contentInfo[s(2169)],x,w]),S=B[s(1345)](e[s(674)][s(1346)]);B[s(1894)](()=>{const j=s;S[j(1348)]=e.contentInfo.currentStatusId},[e.id]),B[s(1894)](()=>{const j=s,Z=T?.id;Z!==void 0&&S[j(1348)]!==Z&&(S.current=Z,M(e.id,{contentInfo:{...e[j(674)],currentStatusId:Z}}))},[T?.id,e.id,M]);const L=T?.material,D=L?.[s(443)]===s(947),Y=D?L[s(1015)]:null,A=u.scale??1,P=(u[s(533)]||100)*A,_=(u[s(946)]||100)*A,$=B.useCallback(()=>{const j=s,Z=H[j(1348)]?.[j(957)]('[data-canvas="true"]');if(!Z)return i;const ne=Z.getBoundingClientRect(),te=parseFloat(Z[j(598)][j(533)]);return te?ne.width/te:i},[i]),ee=B[s(1970)]((j,Z)=>{const ne=s;j.stopPropagation(),j[ne(1784)]();const te=Y?.[ne(837)]||0,X=Y?.[ne(2002)]||0,oe=Y?.endX||0,ve=Y?.[ne(799)]||0,Me=u.x||0,Ne=u.y||0,je=Math[ne(1167)]((Y?.lineWeight||Y?.thickness||2)*2,4),Ye=Math[ne(1724)](te,oe),ke=Math[ne(1724)](X,ve),De=Math.max(te,oe),Ge=Math[ne(1167)](X,ve),Ae=Math.max(De-Ye,je),We=Math[ne(1167)](Ge-ke,je);p.current={mouseX:j[ne(986)],mouseY:j.clientY,startX:te,startY:X,endX:oe,endY:ve,nodeX:Me,nodeY:Ne};const qe=Math[ne(1724)](te,oe),$e=Math[ne(1724)](X,ve);O.current={nodeX:Me+qe,nodeY:Ne+$e,width:Ae,height:We,startX:te-qe,startY:X-$e,endX:oe-qe,endY:ve-$e},k[ne(1348)]=T||null,z(Z)},[Y,u.x,u.y,T]);B[s(1894)](()=>{const j=s;if(!y||!D||!Y||!r)return;const Z=te=>{const X=_0x5092,oe=p.current;if(!oe||!H.current)return;const ve=$(),Me=(te[X(986)]-oe.mouseX)/ve,Ne=(te[X(471)]-oe[X(1057)])/ve;let je=oe.startX,Ye=oe[X(2002)],ke=oe[X(581)],De=oe[X(799)],Ge=oe.nodeX,Ae=oe[X(1885)];y==="start"?(je=oe[X(837)]+Me,Ye=oe[X(2002)]+Ne,je<0&&(Ge=oe.nodeX+je,ke=oe[X(581)]-je,je=0),Ye<0&&(Ae=oe[X(1885)]+Ye,De=oe.endY-Ye,Ye=0)):(ke=oe[X(581)]+Me,De=oe[X(799)]+Ne,ke<0&&(Ge=oe[X(681)]+ke,je=oe[X(837)]-ke,ke=0),De<0&&(Ae=oe[X(1885)]+De,Ye=oe[X(2002)]-De,De=0));const We=Math[X(1167)]((Y.lineWeight||2)*2,4),qe=Math[X(1724)](je,ke),$e=Math[X(1724)](Ye,De),g0=Math[X(1167)](je,ke),B0=Math[X(1167)](Ye,De),x0=Ge+qe,c0=Ae+$e,o0=je-qe,s0=Ye-$e,b0=ke-qe,V0=De-$e,$0=Math.max(g0-qe,We),W0=Math[X(1167)](B0-$e,We);O.current={nodeX:x0,nodeY:c0,width:$0,height:W0,startX:o0,startY:s0,endX:b0,endY:V0};const Ze=H[X(1348)];Ze[X(598)].left=x0+"px",Ze.style[X(1532)]=c0+"px",Ze.style[X(533)]=$0+"px",Ze[X(598)].height=W0+"px",Ze[X(1677)](X(495))[X(467)](D0=>{const en=X;D0[en(685)]("x1",String(o0)),D0[en(685)]("y1",String(s0)),D0[en(685)]("x2",String(b0)),D0[en(685)]("y2",String(V0))});const e0=Ze[X(1372)](X(516)),j0=Ze[X(1372)](X(978));e0&&(e0[X(598)][X(761)]=o0-6+"px",e0[X(598)][X(1532)]=s0-6+"px"),j0&&(j0[X(598)][X(761)]=b0-6+"px",j0[X(598)][X(1532)]=V0-6+"px")},ne=()=>{const te=_0x5092,X=O[te(1348)];if(!X||!r){z(null),p[te(1348)]=null,O[te(1348)]=null,k.current=null;return}const oe=Fe.getState()[te(2102)][te(1945)](ke=>ke.id===e.id),ve=oe?.[te(674)].statusList??e[te(674)][te(2169)],Me=k.current,Ne=Me?.id??ve[te(1945)](ke=>ke[te(1554)][te(443)]==="LINE")?.id,je=ve[te(692)](ke=>{const De=te;if(ke[De(1554)][De(443)]!=="LINE"||ke.id!==Ne)return ke;const Ge=ke[De(1554)];return{...ke,material:{...Ge,config:{...Ge[De(1015)],startX:Math[De(1707)](X.startX),startY:Math[De(1707)](X[De(2002)]),endX:Math[De(1707)](X[De(581)]),endY:Math[De(1707)](X[De(799)])}}}}),Ye=oe?.[te(674)]??h;r(e.id,{normalStyle:{x:Math[te(1707)](X[te(681)]),y:Math[te(1707)](X[te(1885)]),width:Math.round(X[te(533)]),height:Math.round(X[te(946)])},contentInfo:{...Ye,statusList:je}}),z(null),p[te(1348)]=null,O[te(1348)]=null,k[te(1348)]=null};return window[j(1533)](j(2099),Z),window[j(1533)](j(2104),ne),()=>{const te=j;window[te(652)](te(2099),Z),window[te(652)](te(2104),ne)}},[y,D,Y,e.id,u,h,e.contentInfo[s(2169)],r,$]),B[s(1894)](()=>{const j=s;if(!E||!r)return;const Z=te=>{const X=_0x5092;if(!H[X(1348)])return;const oe=$(),ve=(te[X(986)]-E[X(837)])/oe,Me=(te[X(471)]-E[X(2002)])/oe,Ne=E[X(1230)],je=Ne*Math.PI/180,Ye=Math[X(2077)](je),ke=Math[X(719)](je),De=ve*Ye+Me*ke,Ge=-ve*ke+Me*Ye;let Ae=E[X(920)],We=E[X(862)],qe=E[X(1321)],$e=E[X(1334)];switch(E[X(1573)]){case"se":Ae=Math[X(1167)](20,E[X(920)]+De),We=Math[X(1167)](20,E[X(862)]+Ge);break;case"sw":Ae=Math.max(20,E.startWidth-De),We=Math[X(1167)](20,E[X(862)]+Ge),qe=E[X(1321)]+(E[X(920)]-Ae);break;case"ne":Ae=Math.max(20,E[X(920)]+De),We=Math[X(1167)](20,E[X(862)]-Ge),$e=E[X(1334)]+(E[X(862)]-We);break;case"nw":Ae=Math[X(1167)](20,E[X(920)]-De),We=Math.max(20,E[X(862)]-Ge),qe=E[X(1321)]+(E.startWidth-Ae),$e=E[X(1334)]+(E.startHeight-We);break}if(Ne!==0){let B0=0,x0=0,c0=0,o0=0;switch(E.corner){case"se":B0=0,x0=0,c0=0,o0=0;break;case"sw":B0=E[X(920)],x0=0,c0=Ae,o0=0;break;case"ne":B0=0,x0=E[X(862)],c0=0,o0=We;break;case"nw":B0=E[X(920)],x0=E[X(862)],c0=Ae,o0=We;break}const s0=B0-E[X(920)]/2,b0=x0-E[X(862)]/2,V0=s0*Ye-b0*ke,$0=s0*ke+b0*Ye,W0=c0-Ae/2,Ze=o0-We/2,gn=W0*Ye-Ze*ke,e0=W0*ke+Ze*Ye;qe=E.startNodeX+E[X(920)]/2-Ae/2+V0-gn,$e=E[X(1334)]+E.startHeight/2-We/2+$0-e0}G[X(1348)]={x:qe,y:$e,width:Ae,height:We};const g0=H.current;g0.style[X(761)]=qe+"px",g0[X(598)][X(1532)]=$e+"px",g0[X(598)].width=Ae+"px",g0[X(598)][X(946)]=We+"px"},ne=()=>{const te=_0x5092,X=G[te(1348)];X&&r(e.id,{normalStyle:{...u,x:X.x,y:X.y,width:X[te(533)],height:X[te(946)]}}),V(null),G.current=null};return window[j(1533)](j(2099),Z),window.addEventListener("mouseup",ne),()=>{const te=j;window[te(652)](te(2099),Z),window[te(652)]("mouseup",ne)}},[E,r,e.id,u,$]);const xe=B[s(1970)]((j,Z)=>{const ne=s;j[ne(718)](),j.preventDefault(),V({corner:Z,startX:j[ne(986)],startY:j.clientY,startWidth:u[ne(533)]||100,startHeight:u[ne(946)]||100,startNodeX:u.x||0,startNodeY:u.y||0,startRotate:u.rotate||0})},[u[s(533)],u.height,u.x,u.y,u[s(1688)]]),re=B[s(1970)](j=>{const Z=s;j.stopPropagation(),j[Z(1784)]();const ne=H[Z(1348)]?.[Z(1163)]();if(!ne)return;W.current={startX:j[Z(986)],startY:j[Z(471)],startAngle:u.rotate||0,centerX:ne[Z(761)]+ne.width/2,centerY:ne[Z(1532)]+ne[Z(946)]/2};const te=u[Z(2035)]||"",X=Me=>{const Ne=Z;H[Ne(1348)]&&(H.current.style[Ne(2035)]=te?Ne(1323)+Me+Ne(759)+te:Ne(1323)+Me+Ne(1725))};X(u.rotate||0);const oe=Me=>{const Ne=Z;if(!W[Ne(1348)])return;const je=Me[Ne(986)]-W[Ne(1348)].centerX,Ye=Me[Ne(471)]-W[Ne(1348)][Ne(1696)];let De=(Math[Ne(684)](Ye,je)*(180/Math.PI)+90)%360;De<0&&(De+=360),q[Ne(1348)]=De,X(De)},ve=()=>{const Me=Z,Ne=q[Me(1348)]??W.current.startAngle;if(q[Me(1348)]=null,W[Me(1348)]=null,r){const je=e[Me(1991)];r(e.id,{normalStyle:{...je,rotate:Math.round(Ne)}})}H[Me(1348)]?.style[Me(750)](Me(2035)),window[Me(652)](Me(2099),oe),window.removeEventListener(Me(2104),ve)};window[Z(1533)]("mousemove",oe),window[Z(1533)](Z(2104),ve)},[u[s(1688)],u[s(2035)],r,e.id,e[s(1991)]]),ce=e[s(443)]===s(1087),fe=u.transform||"",we=u[s(1688)]||0,le={position:s(1860),left:u.x||0,top:u.y||0,width:P,height:_,background:ce?s(865):u[s(1076)]||s(865),backgroundImage:ce?void 0:u[s(1284)]?s(1001)+u[s(1284)]+")":void 0,backgroundSize:s(2018),backgroundPosition:s(663),padding:Array.isArray(u[s(1446)])?u[s(1446)][s(2109)]("px ")+"px":u.padding,margin:Array.isArray(u.margin)?u.margin[s(2109)](s(553))+"px":u[s(1939)],borderRadius:ce?void 0:u.borderRadius,border:D||ce?"none":n?s(1758):u.border||s(1234),outline:n&&ce&&!D?s(1758):void 0,pointerEvents:s(1605),opacity:u[s(641)]??1,transform:D?fe||void 0:fe?"rotate("+we+s(759)+fe:s(1323)+we+s(1725),transformOrigin:s(1276),zIndex:n?1e3:u[s(2068)]??1,cursor:s(g&&!y?1287:b?1437:1262),boxSizing:s(457),overflow:s(n||D||ce?2014:1140)},Q={width:s(1380),height:"100%",position:s(1534),transformOrigin:s(1276),...u[s(1434)]||u[s(1981)]?{transform:s(1746)+(u[s(1434)]?-1:1)+") scaleY("+(u.flipY?-1:1)+")"}:{}},se=Y?{x:Y[s(837)]||0,y:Y.startY||0}:{x:0,y:0},he=Y?{x:Y.endX||0,y:Y[s(799)]||0}:{x:0,y:0},U=l[s(1435)](s(1088),{ref:H,"data-node-id":e.id,style:le,onClick:j=>{const Z=s;console.log("NodeRenderer onClick",e.id,"isClickable:",b);const ne=m[Z(1348)];b&&ne&&!y&&!E&&!W[Z(1348)]&&(j.stopPropagation(),ne(j))},onMouseDown:j=>{g&&o&&!y&&o(j)},children:[n&&!D&&l[s(1435)](l[s(676)],{children:[!ce&&l[s(1435)](l.Fragment,{children:[l[s(975)](s(1088),{className:s(1929),style:{zIndex:9999,pointerEvents:s(1605),cursor:s(1460),marginTop:"-6px",marginLeft:s(334)},onMouseDown:j=>xe(j,"nw"),title:s(1542)}),l.jsx(s(1088),{className:s(805),style:{zIndex:9999,pointerEvents:s(1605),cursor:s(2172),marginTop:"-6px",marginRight:s(334)},onMouseDown:j=>xe(j,"ne"),title:"拖拽调整大小"}),l.jsx(s(1088),{className:"absolute bottom-0 left-0 w-3 h-3 bg-blue-500 border-2 border-white rounded-full",style:{zIndex:9999,pointerEvents:"auto",cursor:"sw-resize",marginBottom:s(334),marginLeft:s(334)},onMouseDown:j=>xe(j,"sw"),title:s(1542)}),l[s(975)](s(1088),{className:s(1520),style:{zIndex:9999,pointerEvents:"auto",cursor:s(932),marginBottom:s(334),marginRight:"-6px"},onMouseDown:j=>xe(j,"se"),title:s(1542)})]}),l.jsx(s(1088),{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(1605),cursor:s(1933),marginTop:"-20px",transform:s(506),boxShadow:"0 0 4px rgba(0,0,0,0.3)"},onMouseDown:j=>re(j),title:s(606)}),l[s(975)](s(1088),{className:s(1666),style:{zIndex:9998,pointerEvents:s(1368),marginTop:"-14px",transform:"translateX(-50%)"}}),l.jsxs(s(1088),{className:s(627),children:[e.name," ",T?"("+T.name+")":""]})]}),n&&D&&Y&&r&&l[s(1435)](l[s(676)],{children:[l[s(975)](s(1088),{"data-handle":s(671),className:"absolute w-3 h-3 bg-blue-500 border-2 border-white rounded-full cursor-move z-50",style:{left:se.x-6,top:se.y-6,boxShadow:s(860)},onMouseDown:j=>ee(j,s(671)),title:"拖拽调整起点"}),l[s(975)](s(1088),{"data-handle":s(1364),className:s(1137),style:{left:he.x-6,top:he.y-6,boxShadow:"0 0 4px rgba(0,0,0,0.3)"},onMouseDown:j=>ee(j,"end"),title:s(977)}),l[s(975)](s(1088),{className:s(627),children:e[s(1932)]})]}),l.jsxs("div",{style:D?void 0:Q,className:D?s(572):void 0,children:[l[s(975)]("div",{className:"w-full h-full relative",children:L?l.jsx(s(1088),{className:s(1500),children:Nl(L,x,n,e,w)}):ce?null:l[s(975)]("div",{className:s(2052),children:s(359)})}),e.type===s(1087)&&e[s(875)]&&l[s(975)]("div",{className:"absolute inset-0 pointer-events-none",children:e.children[s(692)](j=>l[s(975)](s(1088),{className:s(350),children:l.jsx(io,{node:j,isSelected:!1,data:x,onUpdateNode:r,scale:i,enableEventFlow:a,eventFlowData:d})},j.id))})]})]});return a?l[s(975)](xi,{node:e,flowContextData:d,children:U}):U},io=B[c(662)](kl,(e,n)=>{const t=c,o=e.node,x=n.node,r=o.id===x.id&&o.normalStyle.x===x[t(1991)].x&&o[t(1991)].y===x.normalStyle.y&&o[t(1991)][t(533)]===x[t(1991)][t(533)]&&o.normalStyle.height===x[t(1991)][t(946)]&&o.normalStyle[t(1688)]===x[t(1991)][t(1688)]&&o[t(1991)].flipX===x[t(1991)][t(1434)]&&o[t(1991)][t(1981)]===x[t(1991)][t(1981)],i=o[t(674)]===x[t(674)],a=JSON[t(655)](e[t(386)]??null)===JSON[t(655)](n[t(386)]??null),d=e[t(1882)]===n.isSelected&&e[t(2029)]===n.scale&&e[t(834)]===n[t(834)]&&a,s=g=>{const v=t,h=[];return g[v(674)]?.[v(2169)]?.[v(467)](w=>{const M=v;if(w[M(1554)]?.[M(443)]===M(947)){const m=w[M(1554)][M(1015)];h.push({statusId:w.id,startX:m?.[M(837)]??0,startY:m?.[M(2002)]??0,endX:m?.endX??100,endY:m?.[M(799)]??0})}}),h},u=s(o),f=s(x);let b=!0;if(u[t(922)]!==f[t(922)])b=!1;else for(let g=0;g<u[t(922)];g++){const v=u[g],h=f.find(w=>w.statusId===v.statusId);if(!h||v[t(837)]!==h[t(837)]||v[t(2002)]!==h[t(2002)]||v[t(581)]!==h[t(581)]||v[t(799)]!==h[t(799)]){b=!1;break}}return r&&i&&d&&b}),Il=()=>{const e=c,{root:n,addSiblingGroup:t,removeSiblingGroup:o,updateSiblingGroup:x,addCanvasToSiblingGroup:r,removeCanvasFromSiblingGroup:i,moveCanvasInSiblingGroup:a,nextSiblingCanvas:d,prevSiblingCanvas:s,setActiveSiblingGroup:u}=Fe(),f=n[e(1999)]??null,b=n[e(866)]||[],[g,v]=B[e(1102)](b[0]?.id??null),h=B.useMemo(()=>b[e(1945)](E=>E.id===g)||null,[b,g]),[w,M]=B[e(1102)](null),[m,y]=B[e(1102)](""),[z,p]=B.useState(void 0),k=B[e(1332)](()=>{const E=e;return h?n[E(1237)][E(568)](V=>!h[E(1169)][E(1499)](V.id)):n.canvases},[n[e(1237)],h]),O=B[e(1970)](()=>{const E=t();v(E)},[t]),G=B.useCallback(E=>{const V=e,W=m.trim();if(!W){C.message[V(1079)](V(963));return}x(E,{name:W}),M(null),y("")},[m,x]),H=B[e(1970)](()=>{!h||!z||(r(h.id,z),p(void 0))},[h,z,r]);return l[e(1435)]("div",{className:"flex gap-4",style:{minHeight:360},children:[l[e(1435)](e(1088),{className:e(1096),style:{minWidth:220},children:[l[e(1435)](e(1088),{className:"flex items-center justify-between mb-2",children:[l[e(975)]("span",{className:e(1376),children:e(362)}),l[e(975)](C.Button,{type:e(1481),size:e(1717),icon:l[e(975)](de.PlusOutlined,{}),onClick:O,children:"新建"})]}),b.length===0?l[e(975)](C[e(465)],{description:"暂无同级关系,点击「新建」开始",image:C[e(465)].PRESENTED_IMAGE_SIMPLE,style:{marginTop:40}}):l.jsx(C[e(1464)],{size:e(1717),dataSource:b,renderItem:E=>{const V=e,W=E.id===g,q=w===E.id;return l[V(975)](C[V(1464)][V(658)],{onClick:()=>{q||v(E.id)},style:{cursor:V(1437),background:W?V(2098):void 0,padding:V(800)},actions:[q?l[V(975)](C.Button,{type:V(1705),size:V(1717),onClick:T=>{T[V(718)](),G(E.id)},children:"保存"}):l[V(975)](C[V(344)],{title:V(548),children:l[V(975)](C.Button,{type:V(1992),size:V(1717),icon:l[V(975)](de.EditOutlined,{}),onClick:T=>{const S=V;T.stopPropagation(),M(E.id),y(E[S(1932)])}})},"rename"),l[V(975)](C[V(776)],{title:V(1177),okText:"删除",cancelText:"取消",okButtonProps:{danger:!0},onConfirm:T=>{const S=V;if(T?.[S(718)](),o(E.id),g===E.id){const L=b[S(568)](D=>D.id!==E.id);v(L[0]?.id??null)}},onCancel:T=>T?.[V(718)](),children:l.jsx(C[V(797)],{type:V(1992),size:V(1717),danger:!0,icon:l[V(975)](de[V(1438)],{}),onClick:T=>T[V(718)]()})},V(2055))],children:q?l.jsx(C.Input,{autoFocus:!0,size:V(1717),value:m,onChange:T=>y(T[V(1233)][V(891)]),onPressEnter:()=>G(E.id),onClick:T=>T[V(718)](),style:{width:140}}):l[V(1435)](V(1987),{className:V(958),children:[l[V(975)]("span",{style:{fontWeight:W?600:400},children:E[V(1932)]}),l[V(975)](C.Tag,{color:V(1160),children:E.canvasIds[V(922)]}),f===E.id&&l[V(975)](C.Tag,{color:"green",children:V(1101)})]})})}})]}),l.jsx(e(1088),{className:"flex-1 border border-gray-200 rounded p-2",style:{minWidth:280},children:h?l[e(1435)](l[e(676)],{children:[l[e(1435)]("div",{className:e(1439),children:[l[e(975)](e(1987),{className:"font-semibold text-gray-700",children:e(399)}),l[e(1435)](C[e(1264)],{size:e(1717),children:[f===h.id?l.jsx(C[e(344)],{title:e(672),children:l[e(975)](C[e(797)],{size:e(1717),onClick:()=>u(null),children:"退出浏览"})}):l[e(975)](C[e(344)],{title:"将该组设为活跃组,外部翻页 UI 据此启用",children:l.jsx(C[e(797)],{size:"small",type:e(1481),ghost:!0,disabled:h[e(1169)][e(922)]===0,onClick:()=>u(h.id),children:e(1142)})}),l[e(975)](C.Tooltip,{title:"翻到上一页(基于当前画布)",children:l.jsx(C[e(797)],{size:e(1717),icon:l.jsx(de[e(1062)],{}),disabled:h[e(1169)][e(922)]<2,onClick:()=>s(h.id)})}),l[e(975)](C[e(344)],{title:"翻到下一页(基于当前画布)",children:l[e(975)](C[e(797)],{size:e(1717),icon:l[e(975)](de[e(1681)],{}),disabled:h.canvasIds.length<2,onClick:()=>d(h.id)})})]})]}),l[e(1435)](e(1088),{className:e(1315),children:[l[e(975)](C[e(1581)],{placeholder:e(1184),value:z,onChange:p,style:{flex:1},size:e(1717),disabled:k.length===0,options:k.map(E=>({label:E[e(1932)],value:E.id}))}),l[e(975)](C.Button,{size:"small",type:e(1481),icon:l[e(975)](de.PlusOutlined,{}),disabled:!z,onClick:H,children:"加入"})]}),h[e(1169)][e(922)]===0?l[e(975)](C[e(465)],{description:e(1706),image:C[e(465)][e(716)],style:{marginTop:40}}):l.jsx(C[e(1464)],{size:e(1717),dataSource:h[e(1169)],renderItem:(E,V)=>{const W=e,q=n.canvases[W(1945)](L=>L.id===E),T=n[W(1538)]===E,S=h.canvasIds[W(922)];return l[W(975)](C[W(1464)].Item,{style:{padding:W(800)},actions:[l[W(975)](C.Tooltip,{title:"上移",children:l.jsx(C[W(797)],{type:W(1992),size:W(1717),icon:l[W(975)](de.ArrowUpOutlined,{}),disabled:V===0,onClick:()=>a(h.id,E,"up")})},"up"),l[W(975)](C[W(344)],{title:"下移",children:l[W(975)](C.Button,{type:W(1992),size:"small",icon:l[W(975)](de.ArrowDownOutlined,{}),disabled:V===S-1,onClick:()=>a(h.id,E,W(518))})},"down"),l[W(975)](C[W(344)],{title:W(1763),children:l.jsx(C[W(797)],{type:W(1992),size:W(1717),danger:!0,icon:l.jsx(de[W(1438)],{}),onClick:()=>i(h.id,E)})},W(642))],children:l[W(1435)]("span",{className:W(958),children:[l[W(975)](C[W(739)],{children:V+1}),l[W(975)](W(1987),{style:{fontWeight:T?600:400},children:q?.[W(1932)]??W(1402)+E.slice(0,6)+")"}),T&&l.jsx(C[W(739)],{color:W(326),children:"当前"})]})})}})]}):l[e(975)](C[e(465)],{description:e(1676),image:C.Empty[e(716)],style:{marginTop:60}})})]})},Pl=[c(1893),c(2147),c(1794),c(2085),c(1998),c(1813),"#13c2c2",c(1417),"#595959","#262626",c(2117),"#d9d9d9",c(762),c(1714),"#ff4d4f","#73d13d"],Bn=({value:e=c(1893),onChange:n,onChangeComplete:t})=>{const o=c,[x,r]=B[o(1102)](!1),[i,a]=B.useState(e),d=B[o(1345)](null);B[o(1894)](()=>{a(e)},[e]),B[o(1894)](()=>{const u=o,f=b=>{const g=_0x5092;d[g(1348)]&&!d[g(1348)][g(2076)](b[g(1233)])&&(r(!1),t?.({toHexString:()=>i}))};return x&&document.addEventListener(u(409),f),()=>document[u(652)]("mousedown",f)},[x,t,i]);const s=u=>{a(u),n?.({toHexString:()=>u})};return l[o(1435)](o(1088),{ref:d,style:{position:o(1534),display:o(1797)},children:[l.jsx(o(1088),{onClick:()=>r(!x),style:{width:28,height:28,backgroundColor:i,border:o(971),borderRadius:4,cursor:o(1437)}}),x&&l[o(1435)](o(1088),{style:{position:o(1860),top:32,left:0,zIndex:1e3,background:o(1877),padding:8,borderRadius:4,boxShadow:o(612),border:o(1675)},children:[l.jsx(o(1088),{style:{display:o(368),gridTemplateColumns:"repeat(8, 1fr)",gap:4},children:Pl[o(692)](u=>l[o(975)]("div",{onClick:()=>{s(u),r(!1),t?.({toHexString:()=>u})},style:{width:20,height:20,backgroundColor:u,border:i===u?"2px solid #1890ff":o(971),borderRadius:2,cursor:"pointer"}},u))}),l[o(975)](o(853),{type:"color",value:i,onChange:u=>s(u[o(1233)][o(891)]),onBlur:()=>t?.({toHexString:()=>i}),style:{width:o(1380),marginTop:8,height:28,border:o(971),borderRadius:4}})]})]})},{TextArea:jl}=C[c(1127)];function Al(e){const n=c;if(!e||!(e instanceof HTMLElement))return!1;const t=e[n(1964)];return!!(t==="INPUT"||t===n(679)||t===n(748)||t==="OPTION"||e[n(391)]||e.closest('[contenteditable="true"]')||e.closest(n(1536))||e[n(957)](n(1121))||e[n(957)](n(486)))}const ii=({defaultTestData:e,readonly:n=!1,backgroundImageUrl:t,initialViewportWidth:o,initialViewportHeight:x})=>{const r=c,i=B[r(1345)](null),a=B[r(1345)](null),d=B[r(1345)](null),{nodes:s,selectedNodeId:u,selectedNodeIds:f,mode:b,lineDrawing:g,viewport:v,canvas:h,root:w,setViewport:M,setCanvasConfig:m,addNode:y,selectNode:z,updateNode:p,removeNode:k,bringToFront:O,sendToBack:G,undo:H,redo:E,setMode:V,startLineDrawing:W,endLineDrawing:q,cancelLineDrawing:T,addCanvas:S,removeCanvas:L,switchCanvas:D,updateCanvasName:Y,exportCanvas:A,importCanvas:P,setSelectedNodeIds:_}=Fe(),[$,ee]=B.useState(!1),[,xe]=B[r(1102)]({}),re=B[r(1345)](b);B.useEffect(()=>{const I=r;re[I(1348)]=b},[b]),B[r(1894)](()=>{const I=r;V(I(n?1289:2113))},[n,V]);const ce=n&&o&&h.width>0?Math.min(o/h.width,1):.5,fe=n&&o?1:5,we=n&&o&&h.width>0?ce:1,le=n&&o?r(757)+o+"-"+(x||"auto")+"-canvas-"+h[r(533)]+"-"+h[r(946)]:r(1262),Q=B[r(1345)](we),se=B[r(1345)](!1),he=B.useRef({x:0,y:0}),U=B[r(1345)]({x:0,y:0,newX:0,newY:0}),j=B[r(1345)](null),[Z,ne]=B[r(1102)]({start:null,end:null,isDrawing:!1}),[te,X]=B[r(1102)]({start:null,end:null}),oe=f,ve=_;B[r(1345)](!1);const[Me,Ne]=B[r(1102)](!1),[je,Ye]=B[r(1102)](!1),[ke,De]=B[r(1102)](()=>JSON[r(655)](e??null,null,2)),Ge=B.useMemo(()=>{const I=r;if(!je)return e;try{return JSON[I(594)](ke)}catch{return e}},[ke,e,je]),Ae=B[r(1332)](()=>{const I=r,N=Ge;if(N!==null&&typeof N===I(793))return N;if(N!==void 0)return{_payload:N}},[Ge]),We=B[r(1332)](()=>{const I=r,N=Ge;return N!==null&&typeof N===I(793)&&!Array[I(1875)](N)?N:Array[I(1875)](N)?{_telemetryRows:N}:N==null?{}:{_payload:N}},[Ge]),qe=B[r(1970)](()=>{const I=r;let N=e;if(je)try{N=JSON[I(594)](ke)}catch{N=e}De(JSON[I(655)](N??null,null,2)),Ne(!0)},[ke,e,je]),[$e,g0]=B.useState(!1),[B0,x0]=B[r(1102)](!1),[c0,o0]=B.useState(""),[s0,b0]=B[r(1102)](!1),V0=B[r(1970)](()=>{const I=r;try{const N=A(),R=JSON[I(655)](N,null,2),J="data:application/json;charset=utf-8,"+encodeURIComponent(R),ie=I(1151)+N[I(849)].name+"_"+Date[I(2093)]()+I(1518),K=document.createElement("a");K[I(685)]("href",J),K.setAttribute(I(1748),ie),K[I(984)](),C[I(1710)][I(442)](I(823))}catch{C[I(1710)][I(1049)](I(1e3))}},[A]),$0=B[r(1970)](()=>{const I=r;try{const N=JSON.parse(c0);s0?P(N):P(N,w[I(1538)]||void 0),x0(!1),o0(""),b0(!1),C[I(1710)][I(442)](I(669))}catch{C.message[I(1049)](I(945))}},[c0,s0,P,w[r(1538)]]),W0=B[r(1970)](I=>{const N=r,R=new FileReader;return R.onload=J=>{const ie=_0x5092;try{const K=J.target?.[ie(1273)],F=JSON[ie(594)](K);s0?P(F):P(F,w[ie(1538)]||void 0),C.message.success(ie(669)),x0(!1),b0(!1)}catch{C[ie(1710)].error(ie(361))}},R[N(2091)](I),!1},[s0,P,w[r(1538)]]),[Ze,gn]=B[r(1102)](!1),e0=B[r(1970)]((I,N)=>{const R=r;if(!a[R(1348)])return{x:0,y:0};const J=a[R(1348)][R(1163)](),ie=I-J.left,K=N-J[R(1532)],F=J[R(533)]/h[R(533)],ue=J[R(946)]/h[R(946)],me=ie/F,ge=K/ue;return{x:Math[R(1707)](me),y:Math[R(1707)](ge)}},[h[r(533)],h[r(946)]]),j0=B.useCallback((I,N)=>e0(I,N),[e0]),D0=B[r(1970)]((I,N,R=!0)=>{const J=r;if(!g.material)return;const ie=g.material,K=ie[J(1015)]||{},F=K[J(1700)]||K.thickness||2,ue=Math[J(1707)](Math[J(1724)](I.x,N.x)),me=Math[J(1707)](Math.min(I.y,N.y)),ge=Math[J(1707)](I.x)-ue,ye=Math.round(I.y)-me,ze=Math[J(1707)](N.x)-ue,Le=Math[J(1707)](N.y)-me,Be=Math.max(F*2,4),Ce=Math[J(1167)](Math.abs(ze-ge),Be),Te=Math[J(1167)](Math[J(1785)](Le-ye),Be),Ee=N.x-I.x,ae=N.y-I.y,be=Math.round(Math[J(684)](ae,Ee)*(180/Math.PI)),He={...ie,id:Se[J(631)](),config:{color:K.color,lineWeight:F,thickness:F,lineType:K.lineType,startX:ge,startY:ye,endX:ze,endY:Le,rotate:be}},Je={id:Se[J(631)](),name:ie[J(1932)]+"_"+Date.now(),type:J(1093),normalStyle:{width:Ce,height:Te,x:ue,y:me,background:J(865)},contentInfo:{statusList:[Fx(He)],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}};if(y(Je,!1),R){const y0={x:N.x,y:N.y};ne({start:y0,end:{...y0},isDrawing:!0})}else ne({start:null,end:null,isDrawing:!1}),q()},[g[r(1554)],y,q]),en=B[r(1970)](()=>{const I=r,N=i[I(1348)]?.instance;if(!N)return;const R=N[I(1090)];Q[I(1348)]=R.scale,M({scale:R.scale,positionX:0,positionY:0})},[M]),er=B[r(1970)](I=>{const N=r;se.current||b!==N(1864)&&(I[N(1233)]===a.current||I[N(1233)][N(1886)]?.[N(849)]===N(1983))&&(z(null),ve([]))},[z,b]),nr=B[r(1970)](I=>{const N=r;if(I.button===0){if(b==="line-draw"&&g[N(1554)]){I[N(718)]();const R=e0(I[N(986)],I[N(471)]);Z[N(592)]?Z[N(671)]&&D0(Z[N(671)],R,!0):ne({start:R,end:R,isDrawing:!0});return}if(b===N(1864)&&!Ze){const R=j0(I[N(986)],I[N(471)]);X({start:R,end:R}),ve([]),z(null),I[N(1784)](),I[N(718)]()}}},[b,g[r(1554)],Z[r(592)],Z[r(671)],Ze,D0,e0,j0]),tr=B[r(1970)](I=>{const N=r;if(!(b!=="line-draw"||!g[N(1554)])&&Z[N(592)]&&Z[N(671)]){const R=e0(I.clientX,I[N(471)]);D0(Z.start,R,!1)}},[b,g[r(1554)],Z.isDrawing,Z[r(671)],D0,e0]),xr=B[r(1970)](I=>{const N=r;I[N(1784)](),I[N(1669)][N(898)]=N(2038),ee(!0)},[]),or=B[r(1970)](I=>{I.preventDefault(),ee(!1)},[]),rr=B.useCallback(I=>{const N=r;if(I[N(1784)](),ee(!1),!(!a.current||b!==N(2113)&&b!==N(1864)))try{const R=I[N(1669)][N(1544)]("application/json");if(!R)return;const J=JSON.parse(R),ie=e0(I[N(986)],I[N(471)]),K=ie.x-50,F=ie.y-50,ue=Nr(K,F,J);y(ue),ve([ue.id])}catch(R){console[N(1049)](N(738),R)}},[b,y,e0,ve]),ir=B[r(1970)]((I,N)=>{const R=r;b!==R(2113)&&b!==R(1864)||!N[R(2046)][R(1458)]||(I[R(718)](),z(N.id),se[R(1348)]=!0,he[R(1348)]={x:I.clientX,y:I[R(471)]},U.current={x:N[R(1991)].x||0,y:N[R(1991)].y||0,newX:N[R(1991)].x||0,newY:N[R(1991)].y||0},j[R(1348)]=N,I.preventDefault())},[b,z]);B[r(1894)](()=>{const I=r,N=K=>{const F=_0x5092;if(se.current&&u&&j[F(1348)]){if(!a[F(1348)])return;const ue=a[F(1348)][F(1163)](),me=ue[F(533)]/h[F(533)],ge=ue[F(946)]/h[F(946)],ye=K.clientX-he[F(1348)].x,ze=K[F(471)]-he[F(1348)].y,Le=ye/me,Be=ze/ge,Ce=U[F(1348)].x+Le,Te=U[F(1348)].y+Be,Ee=document.querySelector(F(1281)+u+'"]');Ee&&(Ee.style[F(761)]=Ce+"px",Ee[F(598)][F(1532)]=Te+"px"),U[F(1348)][F(1593)]=Ce,U[F(1348)].newY=Te}if(b===F(1864)&&te[F(671)]){const ue=j0(K[F(986)],K[F(471)]);X(me=>({...me,end:ue}))}if(b===F(1560)&&Z.isDrawing){const ue=e0(K[F(986)],K.clientY);ne(me=>({...me,end:ue}))}},R=()=>{const K=_0x5092;if(se[K(1348)]&&u&&j.current){const F=Fe[K(1638)](),ue=U[K(1348)][K(1593)]??U.current.x,me=U[K(1348)][K(1815)]??U.current.y;F[K(1071)](u,{normalStyle:{...j[K(1348)][K(1991)],x:Math[K(1707)](ue),y:Math[K(1707)](me)}})}if(se[K(1348)]=!1,j[K(1348)]=null,xe({}),b===K(1864)&&te[K(671)]&&te[K(1364)]){const F=Math[K(1724)](te[K(671)].x,te[K(1364)].x),ue=Math[K(1167)](te[K(671)].x,te[K(1364)].x),me=Math.min(te[K(671)].y,te[K(1364)].y),ge=Math[K(1167)](te[K(671)].y,te.end.y),ye=s[K(568)](ze=>{const Le=K,Be=ze[Le(1991)].x||0,Ce=ze[Le(1991)].y||0,Te=ze.normalStyle.width||0,Ee=ze[Le(1991)][Le(946)]||0,ae=Be+Te/2,be=Ce+Ee/2;return ae>=F&&ae<=ue&&be>=me&&be<=ge})[K(692)](ze=>ze.id);ve(ye),X({start:null,end:null})}},J=K=>{const F=_0x5092;if(!Al(K[F(1233)])){if(K[F(425)]===F(2152)&&b===F(1560)&&(ne({start:null,end:null,isDrawing:!1}),T()),K.key==="Delete"&&(u?k(u):oe[F(922)]>0&&(oe[F(467)](ue=>k(ue)),ve([]))),K[F(526)]&&K[F(425)]==="z"&&(K[F(1784)](),H()),K[F(526)]&&K[F(425)]==="y"&&(K[F(1784)](),E()),(b===F(2113)||b==="box-select")&&(K[F(425)]===F(1672)||K[F(425)]===F(1474)||K.key===F(408)||K[F(425)]===F(1572))){const ue=oe[F(922)]>0?oe:u?[u]:[];if(ue[F(922)]>0){K.preventDefault();const me=K.key===F(1672)?-2:K[F(425)]===F(1474)?2:0,ge=K[F(425)]===F(408)?-2:K[F(425)]===F(1572)?2:0;ue[F(467)](ye=>{const ze=F,Le=s.find(Be=>Be.id===ye);Le&&p(ye,{normalStyle:{...Le[ze(1991)],x:(Le[ze(1991)].x||0)+me,y:(Le[ze(1991)].y||0)+ge}})})}}K.key===" "&&(K[F(1784)](),!Ze&&gn(!0))}},ie=K=>{K[_0x5092(425)]===" "&&Ze&&gn(!1)};return window[I(1533)]("mousemove",N),window[I(1533)](I(2104),R),window.addEventListener(I(1788),J),window[I(1533)](I(1181),ie),()=>{const K=I;window[K(652)](K(2099),N),window.removeEventListener(K(2104),R),window[K(652)]("keydown",J),window[K(652)]("keyup",ie)}},[u,te,b,Z[r(592)],oe,s,h.width,h[r(946)],k,H,Ze,E,T,e0,j0,ve,p]);const Sx=(I,N=!0)=>{const R=r,J={...I,id:Se[R(631)](),name:I[R(1932)]+R(1197),normalStyle:{...I[R(1991)],x:(I[R(1991)].x||0)+(N?20:0),y:(I[R(1991)].y||0)+(N?20:0)}};return I.type==="group"&&I.children&&(J[R(875)]=I[R(875)][R(692)](ie=>Sx(ie,!1))),J},Nx=B[r(1970)](()=>{const I=r,N=oe[I(922)]>0?oe[I(692)](J=>s[I(1945)](ie=>ie.id===J)).filter(Boolean):u?[s[I(1945)](J=>J.id===u)][I(568)](Boolean):[];if(N.length===0)return;const R=[];N[I(467)](J=>{const ie=I,K=Sx(J);y(K),R[ie(1843)](K.id)}),R[I(922)]===1?z(R[0]):ve(R)},[u,oe,s,y,z,ve]),kx=B[r(1970)](I=>{const N=r,R=I.normalStyle.x||0,J=I[N(1991)].y||0,ie=I[N(1991)][N(533)]||0,K=I[N(1991)][N(946)]||0,F=I.normalStyle[N(1688)]||0;if(!F)return{minX:R,minY:J,maxX:R+ie,maxY:J+K};const ue=R+ie/2,me=J+K/2,ge=F*Math.PI/180,ye=Math.cos(ge),ze=Math[N(719)](ge),Le=[{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,Te=-1/0,Ee=-1/0;for(const ae of Le){const be=ue+ae.x*ye-ae.y*ze,He=me+ae.x*ze+ae.y*ye;Be=Math[N(1724)](Be,be),Ce=Math.min(Ce,He),Te=Math[N(1167)](Te,be),Ee=Math.max(Ee,He)}return{minX:Be,minY:Ce,maxX:Te,maxY:Ee}},[]),Ix=B.useCallback(I=>{const N=r,R=I[N(1991)].x||0,J=I[N(1991)].y||0,ie=I[N(1991)][N(533)]||0,K=I[N(1991)][N(946)]||0,F=I[N(1991)].rotate||0;if(!F)return(I[N(875)]||[])[N(692)](Be=>({...Be,normalStyle:{...Be[N(1991)],x:Math[N(1707)](R+(Be[N(1991)].x||0)),y:Math[N(1707)](J+(Be[N(1991)].y||0))}}));const ue=F*Math.PI/180,me=Math[N(2077)](ue),ge=Math.sin(ue),ye=R+ie/2,ze=J+K/2,Le=(Be,Ce)=>{const Te=Be-ie/2,Ee=Ce-K/2;return{x:ye+Te*me-Ee*ge,y:ze+Te*ge+Ee*me}};return(I[N(875)]||[])[N(692)](Be=>{const Ce=N;if(Be.contentInfo[Ce(2169)][Ce(1559)](Tn=>Tn[Ce(1554)][Ce(443)]==="LINE")){const Tn=Be[Ce(1991)].x||0,Hx=Be[Ce(1991)].y||0,Vx=Be[Ce(1991)][Ce(533)]||0,Wx=Be[Ce(1991)][Ce(946)]||0,Bt=Be.normalStyle[Ce(1688)]||0,qx=Bt*Math.PI/180,Dt=Math.cos(qx),Lt=Math[Ce(719)](qx),Xx=(S0,Xe)=>{const r0=S0-Vx/2,m0=Xe-Wx/2,Re=r0*Dt-m0*Lt+Vx/2,n0=r0*Lt+m0*Dt+Wx/2;return Le(Tn+Re,Hx+n0)};let A0=1/0,E0=1/0,Hn=-1/0,Vn=-1/0,L0=2;const X0=Be[Ce(674)][Ce(2169)][Ce(692)](S0=>{const Xe=Ce;if(S0[Xe(1554)][Xe(443)]!=="LINE")return null;const r0=S0[Xe(1554)][Xe(1015)]||{},m0=Xx(r0[Xe(837)]||0,r0[Xe(2002)]||0),Re=Xx(r0.endX||0,r0[Xe(799)]||0);return A0=Math[Xe(1724)](A0,m0.x,Re.x),E0=Math[Xe(1724)](E0,m0.y,Re.y),Hn=Math.max(Hn,m0.x,Re.x),Vn=Math[Xe(1167)](Vn,m0.y,Re.y),L0=Math[Xe(1167)](L0,r0[Xe(1700)]||r0[Xe(2131)]||2),{s:m0,e:Re}});if(Number[Ce(1129)](A0)&&Number[Ce(1129)](E0)){const S0=Math[Ce(1167)](L0*2,4),Xe=Math[Ce(1167)](Hn-A0,S0),r0=Math[Ce(1167)](Vn-E0,S0),m0=Be.contentInfo.statusList[Ce(692)]((Re,n0)=>{const _e=Ce,t0=X0[n0];if(!t0||Re[_e(1554)][_e(443)]!==_e(947))return Re;const i0=Re.material;return{...Re,material:{...i0,config:{...i0[_e(1015)]||{},startX:Math[_e(1707)](t0.s.x-A0),startY:Math[_e(1707)](t0.s.y-E0),endX:Math[_e(1707)](t0.e.x-A0),endY:Math[_e(1707)](t0.e.y-E0)}}}});return{...Be,normalStyle:{...Be[Ce(1991)],x:Math[Ce(1707)](A0),y:Math[Ce(1707)](E0),width:Math[Ce(1707)](Xe),height:Math.round(r0),rotate:0},contentInfo:{...Be.contentInfo,statusList:m0}}}return{...Be,normalStyle:{...Be.normalStyle,x:R+Tn,y:J+Hx,rotate:0}}}const Ee=Be[Ce(1991)][Ce(533)]||0,ae=Be[Ce(1991)][Ce(946)]||0,be=Be.normalStyle.x||0,He=Be[Ce(1991)].y||0,Je=be+Ee/2-ie/2,y0=He+ae/2-K/2,mn=ye+Je*me-y0*ge,dr=ze+Je*ge+y0*me,Gx=Be.normalStyle.rotate||0,Tx=((Gx+F)%360+360)%360;return{...Be,normalStyle:{...Be.normalStyle,x:mn-Ee/2,y:dr-ae/2,rotate:Tx}}})},[]),Px=B[r(1970)](()=>{const I=r;if(oe[I(922)]<2)return;const N=[];for(let me=0;me<oe[I(922)];me++){const ge=oe[me],ye=s[I(1945)](ze=>ze.id===ge);if(ye){if(ye?.[I(443)]==="group"){Ix(ye)[I(467)](Le=>N[I(1843)](Le)),k(ge);continue}N[I(1843)](ye)}}if(N.length<2)return;let R=1/0,J=1/0,ie=-1/0,K=-1/0;N[I(467)](me=>{const ge=I,ye=kx(me);R=Math[ge(1724)](R,ye[ge(1047)]),J=Math[ge(1724)](J,ye[ge(401)]),ie=Math.max(ie,ye.maxX),K=Math[ge(1167)](K,ye[ge(1335)])});const F=N[I(692)](me=>({...me,normalStyle:{...me[I(1991)],x:Math[I(1707)]((me[I(1991)].x||0)-R),y:Math[I(1707)]((me[I(1991)].y||0)-J)}})),ue={id:Se[I(631)](),name:"群组_"+Date.now(),type:I(1087),normalStyle:{x:Math.round(R),y:Math[I(1707)](J),width:Math[I(1707)](ie-R),height:Math.round(K-J),background:I(865)},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:F};oe[I(467)](me=>k(me)),y(ue),ve([]),z(ue.id)},[oe,s,k,y,z,Ix,kx]),jx=I=>{const N=r,R={...I,id:Se[N(631)]()};return I[N(443)]===N(1087)&&I.children&&(R[N(875)]=I.children[N(692)](J=>jx(J))),R},wt=B[r(1970)](()=>{const I=r,N=oe[I(922)]>0?oe[I(692)](R=>s[I(1945)](J=>J.id===R)).filter(R=>!!R&&R[I(443)]===I(1087)):u?[s[I(1945)](R=>R.id===u)][I(568)](R=>!!R&&R[I(443)]===I(1087)):[];N[I(922)]!==0&&(N[I(467)](R=>{const J=I;if(!R.children||R[J(875)][J(922)]===0)return;const ie=R.normalStyle.x||0,K=R[J(1991)].y||0,F=R[J(1991)][J(533)]||0,ue=R.normalStyle[J(946)]||0,me=R[J(1991)][J(1688)]||0,ge=me*Math.PI/180,ye=Math.cos(ge),ze=Math[J(719)](ge),Le=ie+F/2,Be=K+ue/2,Ce=(Ee,ae)=>{const be=Ee-F/2,He=ae-ue/2;return{x:Le+be*ye-He*ze,y:Be+be*ze+He*ye}},Te=R[J(875)].map(Ee=>{const ae=J,be=jx(Ee);if(be.contentInfo[ae(2169)][ae(1559)](Bt=>Bt[ae(1554)][ae(443)]==="LINE")){const Bt=be[ae(1991)].x||0,qx=be[ae(1991)].y||0,Dt=be[ae(1991)][ae(533)]||0,Lt=be[ae(1991)][ae(946)]||0,Xx=be[ae(1991)].rotate||0,A0=Xx*Math.PI/180,E0=Math[ae(2077)](A0),Hn=Math[ae(719)](A0),Vn=(Re,n0)=>{const _e=Re-Dt/2,t0=n0-Lt/2,i0=_e*E0-t0*Hn+Dt/2,ur=_e*Hn+t0*E0+Lt/2;return Ce(Bt+i0,qx+ur)};let L0=1/0,X0=1/0,S0=-1/0,Xe=-1/0,r0=2;const m0=be.contentInfo[ae(2169)].map(Re=>{const n0=ae;if(Re.material[n0(443)]!==n0(947))return null;const _e=Re.material[n0(1015)]||{},t0=Vn(_e.startX||0,_e.startY||0),i0=Vn(_e.endX||0,_e[n0(799)]||0);return L0=Math.min(L0,t0.x,i0.x),X0=Math[n0(1724)](X0,t0.y,i0.y),S0=Math[n0(1167)](S0,t0.x,i0.x),Xe=Math.max(Xe,t0.y,i0.y),r0=Math[n0(1167)](r0,_e[n0(1700)]||_e[n0(2131)]||2),{s:t0,e:i0}});if(Number[ae(1129)](L0)&&Number[ae(1129)](X0)){const Re=Math[ae(1167)](r0*2,4),n0=Math.max(S0-L0,Re),_e=Math[ae(1167)](Xe-X0,Re),t0=be[ae(674)][ae(2169)].map((i0,ur)=>{const tn=ae,St=m0[ur];if(!St||i0[tn(1554)][tn(443)]!=="LINE")return i0;const zs=i0[tn(1554)];return{...i0,material:{...zs,config:{...zs[tn(1015)]||{},startX:Math[tn(1707)](St.s.x-L0),startY:Math[tn(1707)](St.s.y-X0),endX:Math[tn(1707)](St.e.x-L0),endY:Math[tn(1707)](St.e.y-X0)}}}});return{...be,normalStyle:{...be[ae(1991)],x:Math[ae(1707)](L0),y:Math[ae(1707)](X0),width:Math.round(n0),height:Math.round(_e),rotate:0},contentInfo:{...be[ae(674)],statusList:t0}}}}const Je=be[ae(1991)].width||0,y0=be[ae(1991)][ae(946)]||0,mn=be[ae(1991)].x||0,dr=be[ae(1991)].y||0,Gx=mn+Je/2-F/2,Tx=dr+y0/2-ue/2,Tn=Le+Gx*ye-Tx*ze,Hx=Be+Gx*ze+Tx*ye,Vx=be[ae(1991)][ae(1688)]||0,Wx=((Vx+me)%360+360)%360;return{...be,normalStyle:{...be[ae(1991)],x:Tn-Je/2,y:Hx-y0/2,rotate:Wx}}});k(R.id),Te[J(467)](Ee=>y(Ee))}),ve([]),z(null))},[u,oe,s,k,y,z,ve]),Gn=B[r(1970)](I=>{const N=r;if(oe[N(922)]<1)return;const R=oe[N(692)](J=>s[N(1945)](ie=>ie.id===J))[N(568)](J=>!!J);if(R.length===1&&R[0][N(443)]===N(1087)){const J=R[0];if(!J[N(875)]||J[N(875)][N(922)]<2)return;const ie=[...J[N(875)]];let K=1/0,F=1/0,ue=-1/0,me=-1/0;if(I==="horizontal"){const ge=[...ie][N(660)]((ae,be)=>(ae[N(1991)].x||0)-(be.normalStyle.x||0));let ye=1/0,ze=-1/0,Le=0;ge[N(467)](ae=>{const be=N,He=ae[be(1991)].x||0,Je=ae[be(1991)][be(533)]||0;ye=Math[be(1724)](ye,He),ze=Math[be(1167)](ze,He+Je),Le+=Je});const Be=(ze-ye-Le)/(ge[N(922)]-1);let Ce=ye;const Te=new Map;ge[N(467)](ae=>{const be=N;Te[be(720)](ae.id,Ce),Ce+=(ae[be(1991)].width||0)+Be});const Ee=ie[N(692)](ae=>({...ae,normalStyle:{...ae[N(1991)],x:Te[N(509)](ae.id)??ae[N(1991)].x}}));Ee[N(467)](ae=>{const be=N,He=ae[be(1991)].x||0,Je=ae[be(1991)].y||0,y0=ae[be(1991)][be(533)]||0,mn=ae[be(1991)][be(946)]||0;K=Math.min(K,He),F=Math[be(1724)](F,Je),ue=Math[be(1167)](ue,He+y0),me=Math.max(me,Je+mn)}),p(J.id,{normalStyle:{...J[N(1991)],x:Math[N(1707)]((J.normalStyle.x||0)+K),y:Math[N(1707)]((J[N(1991)].y||0)+F),width:Math[N(1707)](ue-K),height:Math.round(me-F)},children:Ee[N(692)](ae=>({...ae,normalStyle:{...ae[N(1991)],x:Math.round((ae[N(1991)].x||0)-K),y:Math.round((ae[N(1991)].y||0)-F)}}))})}else{const ge=[...ie].sort((ae,be)=>(ae[N(1991)].y||0)-(be[N(1991)].y||0));let ye=1/0,ze=-1/0,Le=0;ge[N(467)](ae=>{const be=N,He=ae[be(1991)].y||0,Je=ae[be(1991)][be(946)]||0;ye=Math[be(1724)](ye,He),ze=Math[be(1167)](ze,He+Je),Le+=Je});const Be=(ze-ye-Le)/(ge[N(922)]-1);let Ce=ye;const Te=new Map;ge.forEach(ae=>{const be=N;Te.set(ae.id,Ce),Ce+=(ae[be(1991)].height||0)+Be});const Ee=ie[N(692)](ae=>({...ae,normalStyle:{...ae[N(1991)],y:Te[N(509)](ae.id)??ae[N(1991)].y}}));Ee.forEach(ae=>{const be=N,He=ae.normalStyle.x||0,Je=ae[be(1991)].y||0,y0=ae[be(1991)][be(533)]||0,mn=ae[be(1991)][be(946)]||0;K=Math[be(1724)](K,He),F=Math[be(1724)](F,Je),ue=Math.max(ue,He+y0),me=Math[be(1167)](me,Je+mn)}),p(J.id,{normalStyle:{...J[N(1991)],x:(J[N(1991)].x||0)+K,y:(J[N(1991)].y||0)+F,width:ue-K,height:me-F},children:Ee[N(692)](ae=>({...ae,normalStyle:{...ae[N(1991)],x:(ae[N(1991)].x||0)-K,y:(ae[N(1991)].y||0)-F}}))})}return}if(!(R[N(922)]<2))if(I===N(2086)){const J=[...R][N(660)]((ge,ye)=>{const ze=N;return(ge[ze(1991)].x||0)-(ye[ze(1991)].x||0)});let ie=1/0,K=-1/0,F=0;J[N(467)](ge=>{const ye=N,ze=ge.normalStyle.x||0,Le=ge[ye(1991)][ye(533)]||0;ie=Math.min(ie,ze),K=Math[ye(1167)](K,ze+Le),F+=Le});const ue=(K-ie-F)/(J[N(922)]-1);let me=ie;J[N(467)](ge=>{const ye=N,ze=me;p(ge.id,{normalStyle:{...ge[ye(1991)],x:Math.round(ze)}}),me+=(ge[ye(1991)][ye(533)]||0)+ue})}else{const J=[...R][N(660)]((ge,ye)=>{const ze=N;return(ge[ze(1991)].y||0)-(ye[ze(1991)].y||0)});let ie=1/0,K=-1/0,F=0;J.forEach(ge=>{const ye=N,ze=ge[ye(1991)].y||0,Le=ge[ye(1991)][ye(946)]||0;ie=Math[ye(1724)](ie,ze),K=Math[ye(1167)](K,ze+Le),F+=Le});const ue=(K-ie-F)/(J[N(922)]-1);let me=ie;J.forEach(ge=>{const ye=N,ze=me;p(ge.id,{normalStyle:{...ge[ye(1991)],y:Math[ye(1707)](ze)}}),me+=(ge[ye(1991)][ye(946)]||0)+ue})}},[oe,s,p]),nn=I=>{const N=r,R=I[N(674)].statusList.find(J=>J.material.type===N(947));return R?R.material[N(1015)]:null},yn=B[r(1970)](I=>{const N=r;if(oe[N(922)]<2)return;const R=Fe[N(1638)](),J=oe[N(692)](K=>s.find(F=>F.id===K))[N(568)](K=>!!K);if(J.length<2)return;let ie=0;switch(I){case N(761):ie=Math.min(...J[N(692)](K=>{const F=N,ue=nn(K);return ue?(K[F(1991)].x||0)+(ue[F(837)]||0):K.normalStyle.x||0}));break;case N(1566):ie=Math[N(1167)](...J[N(692)](K=>{const F=N,ue=nn(K);return ue?(K[F(1991)].x||0)+(ue[F(581)]||0):(K[F(1991)].x||0)+(K[F(1991)][F(533)]||0)}));break;case"top":ie=Math[N(1724)](...J[N(692)](K=>{const F=N,ue=nn(K);return ue?(K[F(1991)].y||0)+(ue.startY||0):K[F(1991)].y||0}));break;case N(1077):ie=Math[N(1167)](...J[N(692)](K=>{const F=N,ue=nn(K);return ue?(K[F(1991)].y||0)+(ue[F(799)]||0):(K[F(1991)].y||0)+(K.normalStyle[F(946)]||0)}));break}J.forEach(K=>{const F=N;let ue=K.normalStyle.x||0,me=K[F(1991)].y||0;const ge=nn(K);switch(I){case"left":ge?ue=ie-(ge[F(837)]||0):ue=ie;break;case F(1566):ge?ue=ie-(ge[F(581)]||0):ue=ie-(K[F(1991)][F(533)]||0);break;case F(1532):ge?me=ie-(ge[F(2002)]||0):me=ie;break;case F(1077):ge?me=ie-(ge[F(799)]||0):me=ie-(K.normalStyle.height||0);break}R[F(1071)](K.id,{normalStyle:{...K[F(1991)],x:Math[F(1707)](ue),y:Math.round(me)}})})},[oe,s]),ar=[{icon:l[r(975)](de[r(499)],{}),title:r(1812),active:b===r(2113),onClick:()=>{V("select")}},{icon:l[r(975)](de.GroupOutlined,{}),title:r(974),active:b==="box-select",onClick:()=>{V("box-select"),ve([])}},{icon:l[r(975)](de[r(1971)],{}),title:r(1821),active:b===r(1433),onClick:()=>{V(r(1433))}},{icon:l[r(975)](de[r(1406)],{}),title:"线条绘制",active:b===r(1560),onClick:()=>{V(r(1560))}},{icon:l.jsx(de.EyeOutlined,{}),title:r(1020),active:b==="preview",onClick:()=>{V("preview")}}],q0=B[r(1970)](()=>oe[r(922)]>0?oe:u?[u]:[],[oe,u]),Ax=B[r(1970)](()=>{const I=r,N=q0();if(N[I(922)]===0)return;s[I(568)](J=>N[I(1499)](J.id))[I(692)](J=>J.id)[I(467)](J=>O(J))},[q0,s,O]),Ex=B[r(1970)](()=>{const I=r,N=q0();if(N[I(922)]===0)return;[...s[I(568)](J=>N[I(1499)](J.id))[I(692)](J=>J.id)][I(1365)]()[I(467)](J=>G(J))},[q0,s,G]),vt=B[r(1970)](I=>{const N=r,R=q0();R[N(922)]!==0&&R[N(467)](J=>{const ie=N,K=s[ie(1945)](ue=>ue.id===J);!K||K.type===ie(1087)||!K[ie(674)][ie(2169)][ie(1559)](ue=>ue[ie(1554)].type===ie(1775))||(I===ie(2086)?p(J,{normalStyle:{...K.normalStyle,flipX:!K.normalStyle[ie(1434)]}}):p(J,{normalStyle:{...K[ie(1991)],flipY:!K[ie(1991)][ie(1981)]}}))})},[q0,s,p]),Yx=q0(),pt=Yx.some(I=>{const N=r,R=s[N(1945)](J=>J.id===I);return R&&R[N(443)]!==N(1087)&&R[N(674)].statusList[N(1559)](J=>J[N(1554)][N(443)]==="IMAGE")}),{actionButtonsRow1:cr,actionButtonsRow2:sr}=B[r(1332)](()=>({actionButtonsRow1:[{icon:l[r(975)](de[r(351)],{}),title:r(828),disabled:!u&&oe[r(922)]===0,onClick:Ax},{icon:l.jsx(de[r(1306)],{}),title:r(1505),disabled:!u&&oe[r(922)]===0,onClick:Ex},{icon:l[r(975)](de.CopyOutlined,{}),title:r(1740),disabled:!u&&oe[r(922)]===0,onClick:Nx},{icon:l[r(975)](de[r(1290)],{}),title:r(1732),disabled:oe[r(922)]<2,onClick:Px},{icon:l[r(975)](de[r(1667)],{}),title:r(817),disabled:!u&&oe.length===0,onClick:wt},{icon:l.jsx(de[r(825)],{}),title:r(2022),onClick:()=>g0(!0)},{icon:l[r(975)](de[r(1694)],{}),title:"数据模拟",type:"primary",onClick:qe},{icon:l[r(975)](de[r(1438)],{}),title:r(450),disabled:!u&&oe.length===0,onClick:()=>{const I=r;u?k(u):oe[I(922)]>0&&(oe[I(467)](N=>k(N)),ve([]))}}],actionButtonsRow2:[{icon:l[r(975)](de.AlignLeftOutlined,{}),title:r(377),disabled:oe[r(922)]<2,onClick:()=>yn(r(761))},{icon:l[r(975)](de.AlignRightOutlined,{}),title:r(850),disabled:oe[r(922)]<2,onClick:()=>yn("right")},{icon:l.jsx(de.VerticalAlignTopOutlined,{}),title:r(489),disabled:oe.length<2,onClick:()=>yn(r(1532))},{icon:l[r(975)](de[r(1955)],{}),title:r(2145),disabled:oe[r(922)]<2,onClick:()=>yn(r(1077))},{icon:l[r(975)](de[r(1268)],{}),title:r(1619),disabled:(()=>{const I=r;if(oe.length>=2)return!1;if(oe[I(922)]===1){const N=s[I(1945)](R=>R.id===oe[0]);return!(N?.[I(443)]==="group"&&N.children&&N.children[I(922)]>=2)}return!0})(),onClick:()=>Gn(r(2086))},{icon:l[r(975)](de[r(1187)],{}),title:"垂直分布",disabled:(()=>{const I=r;if(oe[I(922)]>=2)return!1;if(oe[I(922)]===1){const N=s[I(1945)](R=>R.id===oe[0]);return!(N?.type==="group"&&N.children&&N[I(875)].length>=2)}return!0})(),onClick:()=>Gn(r(1736))},{icon:l[r(975)](de[r(1256)],{}),title:r(1918),disabled:!pt,onClick:()=>vt(r(2086))},{icon:l[r(975)]("span",{style:{display:r(561),transform:r(868)},children:l[r(975)](de[r(1256)],{})}),title:"垂直翻转",disabled:!pt,onClick:()=>vt("vertical")}]}),[H,E,b,V,ve,oe,Px,wt,Nx,yn,Gn,Ax,Ex,g0,Ne,qe,u,k,w[r(1538)],pt,vt,s]),[lr,Ux]=B.useState(!1),[Ox,zt]=B[r(1102)](""),[Ct,Mt]=B[r(1102)](null);return l[r(1435)](r(1088),{className:r(1761)+(n?"":r(363)),children:[!n&&l[r(1435)]("div",{className:"bg-white border-b border-gray-200 flex items-center justify-between px-4 py-2",children:[l[r(1435)](C[r(1264)],{children:[ar[r(692)](I=>l[r(975)](C[r(344)],{title:I[r(1139)],children:l[r(975)](C.Button,{type:I[r(531)]?r(1481):"default",icon:I[r(1844)],onClick:I.onClick})},I[r(1139)])),l.jsx(r(1088),{className:"w-px h-6 bg-gray-300 mx-2"}),l[r(975)](C.Select,{value:w[r(1538)],onChange:D,style:{width:140},dropdownRender:I=>l[r(1435)](l[r(676)],{children:[I,l[r(975)](r(1088),{className:"border-t border-gray-200 mt-1 pt-1",children:l[r(975)](C.Button,{type:"link",size:r(1717),block:!0,onClick:()=>Ux(!0),children:r(1352)})})]}),children:w[r(1237)][r(692)](I=>l[r(975)](C[r(1581)][r(1645)],{value:I.id,children:I[r(1932)]},I.id))}),l[r(975)](C[r(797)],{icon:l[r(975)](de[r(1411)],{}),size:r(1717),onClick:()=>S(),title:r(1429)}),l[r(975)](C[r(344)],{title:"导出当前画布",children:l[r(975)](C[r(797)],{icon:l.jsx(de.DownloadOutlined,{}),size:"small",onClick:V0})}),l[r(975)](C[r(344)],{title:"导入画布",children:l[r(975)](C[r(797)],{icon:l[r(975)](de[r(1338)],{}),size:r(1717),onClick:()=>x0(!0)})})]}),l[r(1435)](C[r(1264)],{direction:r(1736),size:4,children:[l.jsx(C[r(1264)],{children:cr.map(I=>l[r(975)](C[r(344)],{title:I[r(1139)],children:l[r(975)](C[r(797)],{type:I.active?r(1481):I[r(443)]||"default",icon:I[r(1844)],onClick:N=>{const R=r;I[R(1132)](),N.currentTarget[R(1245)]()},disabled:I.disabled})},I.title))}),l[r(975)](C.Space,{children:sr[r(692)](I=>l[r(975)](C[r(344)],{title:I[r(1139)],children:l[r(975)](C[r(797)],{type:I[r(531)]?r(1481):I.type||"default",icon:I.icon,onClick:N=>{const R=r;I.onClick(),N[R(1942)][R(1245)]()},disabled:I[r(1193)]})},I[r(1139)]))})]})]}),l[r(975)](r(1088),{ref:d,className:"relative "+(n?"":r(937)),style:n&&o?{display:r(1793),justifyContent:r(784),alignItems:"flex-start"}:void 0,onWheel:n&&o?I=>{const N=r;I.preventDefault(),I.stopPropagation();const R=i[N(1348)];if(!R)return;const J=Q[N(1348)],ie=.1,K=I.deltaY>0?Math.max(J-ie,ce):Math[N(1724)](J+ie,fe);R[N(1466)](0,0,K,0)}:void 0,children:l.jsx(kt[r(996)],{ref:i,initialScale:we,initialPositionX:0,initialPositionY:0,minScale:ce,maxScale:fe,onTransformed:en,limitToBounds:n&&!!o,centerZoomedOut:n&&!!o,panning:{disabled:!Ze&&b!==r(1433),velocityDisabled:!0},wheel:{disabled:n&&!!o,step:.1},pinch:{disabled:!1},doubleClick:{disabled:!0},children:({zoomIn:I,zoomOut:N,resetTransform:R})=>l.jsxs(l[r(676)],{children:[!n&&l[r(975)]("div",{className:"absolute bottom-4 right-4 z-10 bg-white rounded-lg shadow-lg p-2",children:l[r(1435)](C[r(1264)],{direction:r(1736),children:[l[r(975)](C[r(344)],{title:"放大",children:l[r(975)](C[r(797)],{icon:l[r(975)](de[r(534)],{}),onClick:()=>I()})}),l[r(975)](C[r(344)],{title:"缩小",children:l.jsx(C[r(797)],{icon:l[r(975)](de[r(2166)],{}),onClick:()=>N()})}),l[r(975)](C[r(344)],{title:r(1424),children:l[r(975)](C[r(797)],{onClick:()=>R(),children:r(1380)})}),l[r(1435)](r(1088),{className:r(1442),children:[Math.round(v[r(2029)]*100),"%"]})]})}),l.jsx(kt[r(1574)],{wrapperStyle:n&&o?{width:o,height:x||h[r(946)]*(Q[r(1348)]||1)+"px",position:r(1534),overflow:r(1140)}:{width:r(1380),height:n?h[r(946)]*(Q[r(1348)]||1)+"px":r(1380),position:r(1534),overflow:r(n?2014:1140)},contentStyle:{width:n?h.width+"px":r(1380),height:n?h[r(946)]+"px":r(1380),display:r(1793),alignItems:n?"flex-start":"center",justifyContent:n?r(784):"center"},children:l[r(1435)]("div",{ref:a,"data-canvas":r(1983),className:"relative "+($?r(1259):"")+" "+(b===r(1560)?"cursor-crosshair":"")+" "+(Ze?r(1125):""),style:{width:h.width,height:h.height,flexShrink:0,backgroundColor:h[r(1076)],backgroundImage:h[r(1284)]?r(1001)+h.backgroundImage+")":void 0,backgroundSize:r(2018),backgroundPosition:r(663)},onClick:er,onMouseDown:nr,onDoubleClick:tr,onDragOver:xr,onDragLeave:or,onDrop:rr,children:[t&&!n&&l[r(1435)](r(1088),{className:r(1625),style:{width:h[r(533)],height:h[r(946)]},children:[l[r(975)](r(566),{src:t,alt:"",className:r(470),draggable:!1}),l[r(975)](r(447),{className:r(1036),width:1920,height:1080,children:l[r(975)](r(930),{x:"0",y:"0",width:r(1735),height:r(1384),fill:"none",stroke:r(1809),strokeWidth:"2"})})]}),h[r(2122)]!==!1&&l[r(1435)](r(447),{className:r(1036),width:h.width,height:h[r(946)],children:[l[r(975)]("defs",{children:l.jsx("pattern",{id:r(368),width:"20",height:"20",patternUnits:r(1375),children:l[r(975)]("path",{d:r(1888),fill:r(1368),stroke:r(2097),opacity:"0.1",strokeWidth:"1"})})}),l[r(975)](r(930),{width:r(1380),height:r(1380),fill:r(1099)})]}),s.map(J=>l[r(975)](io,{node:J,isSelected:b===r(1289)?!1:u===J.id||oe[r(1499)](J.id),data:Ae,onClick:b==="preview"?void 0:ie=>{const K=r;console.log(K(1161),J.id,K(680),re[K(1348)]),re.current!==K(1560)&&(ie[K(931)]?(z(J.id),ve([...oe,J.id])):(z(J.id),ve([J.id])))},onMouseDown:b===r(1289)?void 0:ie=>ir(ie,J),onUpdateNode:b==="preview"?void 0:(ie,K)=>p(ie,K),scale:v.scale,enableEventFlow:b===r(1289),eventFlowData:We},""+J.id)),b===r(1560)&&Z[r(592)]&&Z[r(671)]&&Z[r(1364)]&&l[r(975)](r(447),{className:r(1036),width:h.width,height:h[r(946)],children:l[r(975)](r(1126),{x1:Z[r(671)].x,y1:Z.start.y,x2:Z.end.x,y2:Z[r(1364)].y,stroke:"#1890ff",strokeWidth:"2",strokeDasharray:r(1996),strokeLinecap:r(1707),strokeLinejoin:"round"})}),b===r(1864)&&te[r(671)]&&te.end&&l.jsx(r(1088),{className:"absolute border-2 border-blue-500 bg-blue-500/10 pointer-events-none",style:{left:Math[r(1724)](te.start.x,te[r(1364)].x),top:Math.min(te[r(671)].y,te[r(1364)].y),width:Math[r(1785)](te[r(1364)].x-te[r(671)].x),height:Math[r(1785)](te.end.y-te[r(671)].y),zIndex:9999}})]})})]})},le)}),l.jsx(C[r(871)],{title:r(1657),open:Me,onCancel:()=>Ne(!1),footer:null,children:l[r(975)](C.Form,{layout:r(1736),children:l[r(975)](C[r(1907)][r(658)],{label:r(1655),children:l[r(975)](jl,{value:ke,onChange:I=>{const N=r;Ye(!0),De(I[N(1233)].value)},rows:10,placeholder:r(677)})})})}),l[r(975)](C[r(871)],{title:r(2022),open:$e,onCancel:()=>g0(!1),footer:null,children:l[r(1435)](C.Form,{layout:r(1736),children:[l[r(975)](C[r(1907)][r(658)],{label:"宽度",children:l[r(975)](C[r(1450)],{value:h[r(533)],onChange:I=>m({width:I||1920}),min:100,max:5e3,style:{width:"100%"}})}),l[r(975)](C.Form.Item,{label:"高度",children:l[r(975)](C[r(1450)],{value:h[r(946)],onChange:I=>m({height:I||1080}),min:100,max:5e3,style:{width:r(1380)}})}),l.jsx(C[r(1907)][r(658)],{label:r(1962),children:l[r(975)](C[r(710)],{checked:h[r(2122)]!==!1,onChange:I=>m({showGrid:I})})}),l[r(975)](C[r(1907)].Item,{label:r(314),children:l.jsxs("div",{className:r(958),children:[l[r(975)](Bn,{value:h[r(1076)]||r(540),onChange:I=>m({background:I[r(1972)]()})}),l.jsx(C[r(1127)],{value:h[r(1076)],onChange:I=>m({background:I.target[r(891)]}),placeholder:r(762)})]})}),l[r(1435)](C[r(1907)][r(658)],{label:"背景图片",children:[l.jsxs(r(1088),{className:r(958),children:[l[r(975)](C[r(693)],{accept:r(2064),showUploadList:!1,beforeUpload:I=>{const N=r;if(!I[N(443)].startsWith(N(607)))return C[N(1710)].error(N(622)),!1;const J=new FileReader;return J[N(2133)]=ie=>{const K=N,F=ie.target?.[K(1273)];m({backgroundImage:F}),C[K(1710)].success(K(1837))},J[N(1878)](I),!1},children:l.jsx(C[r(797)],{icon:l[r(975)](de[r(1338)],{}),children:r(1517)})}),l[r(975)](C[r(1127)],{value:h.backgroundImage,onChange:I=>m({backgroundImage:I[r(1233)][r(891)]}),placeholder:r(1516),style:{flex:1}}),h[r(1284)]&&l.jsx(C[r(797)],{icon:l[r(975)](de[r(1909)],{}),onClick:()=>m({backgroundImage:void 0}),danger:!0,size:r(1717)})]}),h[r(1284)]&&l[r(975)](r(1088),{className:r(1214),style:{maxWidth:r(1380)},children:l[r(975)](r(566),{src:h[r(1284)],alt:r(1061),style:{maxWidth:r(1380),maxHeight:120,objectFit:"contain"}})})]})]})}),l[r(975)](C[r(871)],{title:r(923),open:lr,onCancel:()=>{Ux(!1),Mt(null),zt("")},footer:null,width:760,children:l[r(975)](C[r(1770)],{items:[{key:r(1237),label:r(1588),children:l.jsxs(l.Fragment,{children:[l[r(975)](C[r(1464)],{dataSource:w.canvases,renderItem:I=>l[r(975)](C[r(1464)][r(658)],{actions:[Ct===I.id?l[r(975)](C[r(797)],{type:"primary",size:"small",onClick:()=>{Y(I.id,Ox),Mt(null)},children:"保存"}):l.jsx(C[r(797)],{type:r(1992),icon:l.jsx(de[r(1406)],{}),size:"small",onClick:()=>{const N=r;Mt(I.id),zt(I[N(1932)])}}),w[r(1237)][r(922)]>1&&l[r(975)](C[r(797)],{type:r(1992),danger:!0,icon:l.jsx(de[r(1438)],{}),size:r(1717),onClick:()=>L(I.id)})][r(568)](Boolean),children:Ct===I.id?l[r(975)](C.Input,{value:Ox,onChange:N=>zt(N[r(1233)][r(891)]),size:r(1717),style:{width:200}}):l.jsxs("span",{style:{fontWeight:w.currentCanvasId===I.id?"bold":r(1093)},children:[I[r(1932)]," ",w[r(1538)]===I.id&&r(1678)]})})}),l.jsx(r(1088),{className:r(901),children:l[r(975)](C[r(797)],{type:r(1481),icon:l[r(975)](de[r(1411)],{}),onClick:()=>S(),children:r(1429)})})]})},{key:r(412),label:r(633),children:l.jsx(Il,{})}]})}),l[r(975)](C[r(871)],{title:"导入画布",open:B0,onOk:$0,onCancel:()=>{x0(!1),o0(""),b0(!1)},destroyOnClose:!0,width:600,children:l.jsxs(r(1088),{className:r(1749),children:[l.jsxs(r(1088),{children:[l[r(975)]("p",{className:r(913),children:r(956)}),l[r(975)](r(853),{type:r(1541),accept:r(1518),onChange:I=>{const N=r,R=I[N(1233)][N(921)]?.[0];R&&W0(R)},className:r(1235)})]}),l[r(975)](r(1088),{className:"text-center text-gray-400",children:"或"}),l[r(1435)](r(1088),{children:[l[r(975)]("p",{className:r(913),children:r(2160)}),l[r(975)](r(855),{value:c0,onChange:I=>o0(I.target[r(891)]),placeholder:r(1616),className:r(2121)})]}),l[r(1435)](r(1088),{className:"flex items-center gap-2",children:[l[r(975)](r(853),{type:r(1575),id:"importAsNewCanvas",checked:s0,onChange:I=>b0(I[r(1233)][r(1122)]),className:r(2142)}),l[r(975)](r(1765),{htmlFor:"importAsNewCanvas",className:r(451),children:r(1179)})]})]})})]})},{Option:Tt}=C[c(1581)];function ai(e){return Array[c(1875)](e)}function El(e){const n=c,t=new Set;return e.forEach(o=>Object[n(712)](o).forEach(x=>t[n(1007)](x))),Array[n(1826)](t)}function Yl(e,n){const t=c;return e[t(692)]((o,x)=>{const r=t,i=o[n],a=o[r(1932)];return{label:String(a??"项 "+(x+1)),value:typeof i===r(455)||typeof i===r(935)?i:String(i)}})}function ci(e,n=""){const t=c,o=[];for(const[x,r]of Object.entries(e)){const i=n?n+"."+x:x;r!==null&&typeof r===t(793)&&!Array[t(1875)](r)?o[t(1843)](...ci(r,i)):o[t(1843)]({paramsCode:i,paramsName:i,value:r})}return o}function Ul(e,n,t){const o=c;if(ai(e)){if(n!=null&&t!=null){const x=e[o(1945)](r=>r[n]===t);if(x)return x}return{}}return e}const Ol=({material:e,onSave:n})=>{const t=c,o=e,x=o.content||{},r=Fe(y=>y[t(545)]),[i,a]=B[t(1102)]({label:x.label||"",value:x[t(891)]||"",valueSourceCode:x[t(1738)]||"",unit:x[t(1165)]||"",decimals:x[t(1579)]??2,labelFontSize:x[t(929)]?.[t(1484)]||14,labelFontWeight:x.labelStyle?.[t(1801)]||t(1115),labelColor:x[t(929)]?.[t(838)]||t(873),valueFontSize:x[t(1494)]?.[t(1484)]||14,valueFontWeight:x[t(1494)]?.[t(1801)]||t(1093),valueColor:x[t(1494)]?.[t(838)]||t(1893),boundDatasetId:x[t(1180)]||"",boundDatasetBindCode:x[t(1274)]||"",boundDatasetBindValue:x[t(1064)]??null}),d=B.useMemo(()=>{const y=t;return r[y(1945)](z=>z.id===i[y(1180)])},[r,i[t(1180)]]),s=d?ai(d.sample):!1,u=B[t(1332)](()=>{const y=t;if(!d)return[];const z=Ul(d[y(519)],i[y(1274)],i.boundDatasetBindValue);return ci(z)},[d,i.boundDatasetBindCode,i[t(1064)]]);B[t(1894)](()=>{const y=t;a({label:x[y(1765)]||"",value:x[y(891)]||"",valueSourceCode:x[y(1738)]||"",unit:x[y(1165)]||"",decimals:x[y(1579)]??2,labelFontSize:x.labelStyle?.[y(1484)]||14,labelFontWeight:x[y(929)]?.[y(1801)]||"bold",labelColor:x[y(929)]?.[y(838)]||y(873),valueFontSize:x[y(1494)]?.fontSize||14,valueFontWeight:x[y(1494)]?.[y(1801)]||y(1093),valueColor:x[y(1494)]?.[y(838)]||y(1893),boundDatasetId:x.boundDatasetId||"",boundDatasetBindCode:x[y(1274)]||"",boundDatasetBindValue:x.boundDatasetBindValue??null})},[e.id]);const f=(y,z)=>{a(p=>({...p,[y]:z}))},b=y=>{a(z=>({...z,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=>{a(z=>({...z,boundDatasetBindCode:y||"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetBindCode:y||void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},v=y=>{a(z=>({...z,boundDatasetBindValue:y??null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetBindValue:y??void 0,valueSourceCode:void 0}})},0)},h=y=>{const z=t,p=u.find(O=>O[z(1954)]===y),k=p?.[z(1165)]||"";a(O=>({...O,valueSourceCode:y,unit:k,value:String(p?.value||"")})),setTimeout(()=>{n({content:{...x,valueSourceCode:y,value:String(p?.[z(891)]||""),unit:k}})},0)},w=()=>{const y=t;n({content:{...x,label:i.label,value:i[y(891)],valueSourceCode:i[y(1738)],unit:i[y(1165)],decimals:i[y(1579)],boundDatasetId:i.boundDatasetId||void 0,boundDatasetBindCode:i[y(1274)]||void 0,boundDatasetBindValue:i[y(1064)]??void 0,labelStyle:{fontSize:i.labelFontSize,fontWeight:i[y(1173)],color:i[y(1075)]},valueStyle:{fontSize:i[y(2036)],fontWeight:i[y(605)],color:i[y(995)]}}})},M=d&&s?El(d.sample):[],m=d&&s&&i.boundDatasetBindCode?Yl(d.sample,i[t(1274)]):[];return l.jsxs(t(1088),{className:"space-y-4",children:[l[t(975)](C[t(844)],{style:{marginTop:0},children:t(417)}),l[t(1435)](C[t(1907)],{layout:t(1736),children:[l[t(975)](C[t(1907)][t(658)],{label:t(1855),children:l[t(975)](C[t(1127)],{value:i[t(1765)],onChange:y=>f(t(1765),y[t(1233)][t(891)]),onBlur:w,placeholder:"输入标签文本"})}),l[t(975)](C[t(1907)][t(658)],{label:t(1734),help:t(429),children:l[t(975)](C[t(1581)],{allowClear:!0,placeholder:r[t(922)]===0?t(788):"选择数据集",value:i[t(1180)]||void 0,onChange:b,style:{width:t(1380)},options:r[t(692)](y=>({label:y.name,value:y.id}))})}),d&&s&&l.jsxs(l[t(676)],{children:[l[t(975)](C[t(1907)].Item,{label:t(970),help:t(1637),children:l.jsx(C.Select,{allowClear:!0,placeholder:t(889),value:i[t(1274)]||void 0,onChange:g,style:{width:"100%"},options:M[t(692)](y=>({label:y,value:y}))})}),i[t(1274)]&&l[t(975)](C[t(1907)][t(658)],{label:t(938),help:t(1136),children:l.jsx(C[t(1581)],{allowClear:!0,showSearch:!0,placeholder:"选择绑定值",value:i[t(1064)]??void 0,onChange:v,style:{width:t(1380)},options:m,filterOption:(y,z)=>String(z?.[t(1765)]??"").toLowerCase().includes(y.toLowerCase()),onInputKeyDown:y=>{const z=t;y[z(425)]===" "&&y[z(718)]()}})})]}),l[t(975)](C.Form[t(658)],{label:"值来源",help:d?"从绑定的数据中选择字段":t(1953),children:l[t(975)](C.Select,{value:i.valueSourceCode||void 0,onChange:h,placeholder:t(d?690:1953),allowClear:!0,disabled:!d,style:{width:t(1380)},options:u[t(692)](y=>({value:y[t(1954)],label:y[t(1729)]}))})}),l.jsx(C.Form[t(658)],{label:i.valueSourceCode?t(1242):t(599),help:i[t(1738)]?t(2053):"手动输入显示的值",children:l.jsx(C[t(1127)],{value:i[t(891)],onChange:y=>f(t(891),y[t(1233)][t(891)]),onBlur:w,placeholder:i[t(1738)]?t(1246):t(1379),disabled:!!i[t(1738)],variant:i[t(1738)]?t(1105):void 0})}),l.jsx(C[t(1907)][t(658)],{label:"单位",help:t(772),children:l[t(975)](C[t(1127)],{value:i[t(1165)],onChange:y=>f(t(1165),y[t(1233)][t(891)]),onBlur:w,placeholder:t(791),suffix:i[t(1738)]&&u[t(922)]>0?l[t(975)](C.Tag,{color:t(1160),style:{marginRight:-8},children:"自动"}):null})}),l.jsx(C[t(1907)][t(658)],{label:"保留小数位",help:t(1420),children:l[t(975)](C[t(1450)],{value:i[t(1579)],onChange:y=>f(t(1579),y??2),onBlur:w,min:-1,max:10,style:{width:t(1380)}})})]}),l.jsx(C[t(844)],{children:"标签样式"}),l[t(1435)](C[t(1907)],{layout:"vertical",children:[l[t(1435)](C[t(1264)],{children:[l[t(975)](C[t(1907)][t(658)],{label:t(485),children:l.jsx(C.InputNumber,{value:i.labelFontSize,onChange:y=>f(t(1563),y||14),onBlur:w,min:8,max:72})}),l[t(975)](C[t(1907)][t(658)],{label:"字体粗细",children:l.jsxs(C.Select,{value:i[t(1173)],onChange:y=>{f(t(1173),y),setTimeout(w,0)},style:{width:100},children:[l[t(975)](Tt,{value:"normal",children:"正常"}),l[t(975)](Tt,{value:"bold",children:"粗体"})]})})]}),l.jsx(C.Form[t(658)],{label:"文字颜色",children:l[t(1435)](t(1088),{className:t(958),children:[l[t(975)](Bn,{value:i[t(1075)]||t(873),onChange:y=>{f("labelColor",y[t(1972)]())},onChangeComplete:y=>{const z=t;n({content:{...x,label:i.label,value:i[z(891)],valueSourceCode:i[z(1738)],unit:i.unit,decimals:i.decimals,boundDatasetId:i.boundDatasetId||void 0,boundDatasetBindCode:i[z(1274)]||void 0,boundDatasetBindValue:i[z(1064)]??void 0,labelStyle:{fontSize:i[z(1563)],fontWeight:i[z(1173)],color:y[z(1972)]()},valueStyle:{fontSize:i[z(2036)],fontWeight:i[z(605)],color:i[z(995)]}}})}}),l[t(975)](C[t(1127)],{value:i.labelColor,onChange:y=>f(t(1075),y[t(1233)][t(891)]),onBlur:w,placeholder:t(873),style:{width:100}})]})})]}),l[t(975)](C[t(844)],{children:t(1891)}),l[t(1435)](C[t(1907)],{layout:"vertical",children:[l.jsxs(C.Space,{children:[l[t(975)](C[t(1907)][t(658)],{label:t(485),children:l.jsx(C[t(1450)],{value:i[t(2036)],onChange:y=>f(t(2036),y||14),onBlur:w,min:8,max:72})}),l[t(975)](C.Form[t(658)],{label:t(342),children:l[t(1435)](C.Select,{value:i[t(605)],onChange:y=>{f(t(605),y),setTimeout(w,0)},style:{width:100},children:[l[t(975)](Tt,{value:t(1093),children:"正常"}),l[t(975)](Tt,{value:t(1115),children:"粗体"})]})})]}),l[t(975)](C[t(1907)].Item,{label:t(1721),children:l[t(1435)](t(1088),{className:t(958),children:[l[t(975)](Bn,{value:i[t(995)]||t(1893),onChange:y=>{const z=t;f(z(995),y[z(1972)]())},onChangeComplete:y=>{const z=t;n({content:{...x,label:i[z(1765)],value:i[z(891)],valueSourceCode:i.valueSourceCode,unit:i[z(1165)],decimals:i.decimals,boundDatasetId:i[z(1180)]||void 0,boundDatasetBindCode:i.boundDatasetBindCode||void 0,boundDatasetBindValue:i.boundDatasetBindValue??void 0,labelStyle:{fontSize:i[z(1563)],fontWeight:i[z(1173)],color:i[z(1075)]},valueStyle:{fontSize:i.valueFontSize,fontWeight:i[z(605)],color:y.toHexString()}}})}}),l.jsx(C[t(1127)],{value:i[t(995)],onChange:y=>f(t(995),y[t(1233)][t(891)]),onBlur:w,placeholder:"#1890ff",style:{width:100}})]})})]})]})},Gl=({material:e,onSave:n})=>{const t=c,o=e,[x,r]=B[t(1102)]({name:e[t(1932)],src:o[t(1870)]||"",backgroundColor:o[t(2066)]||"",fillColor:o.fillColor||""});B[t(1894)](()=>{const d=t;r({name:e.name,src:o[d(1870)]||"",backgroundColor:o.backgroundColor||"",fillColor:o[d(1392)]||""})},[e.id]);const i=(d,s)=>{r(u=>({...u,[d]:s}))},a=()=>{const d=t;n({name:x[d(1932)],src:x[d(1870)],backgroundColor:x.backgroundColor})};return l[t(1435)](t(1088),{className:t(1749),children:[l[t(975)](C[t(844)],{style:{marginTop:0},children:t(804)}),l[t(1435)](C[t(1907)],{layout:t(1736),children:[l.jsx(C[t(1907)][t(658)],{label:t(419),children:l[t(975)](C.Input,{value:x.name,onChange:d=>i("name",d[t(1233)][t(891)]),onBlur:a})}),l.jsx(C.Form.Item,{label:"图片地址 (src)",children:l[t(975)](C.Input[t(1347)],{value:x[t(1870)],onChange:d=>i("src",d.target[t(891)]),onBlur:a,rows:4,placeholder:t(496)})}),l.jsx(C[t(1907)][t(658)],{label:t(1931),children:l[t(1435)](t(1088),{className:t(958),children:[l[t(975)](Bn,{value:x[t(1392)]||t(1893),onChange:d=>{const s=t,u=d[s(1972)]();i(s(1392),u),n({name:x.name,src:x.src,backgroundColor:x[s(2066)],fillColor:u})}}),l[t(975)](C.Input,{value:x[t(1392)],onChange:d=>i("fillColor",d[t(1233)][t(891)]),onBlur:a,placeholder:t(1893)})]})}),l.jsx(C[t(1907)][t(658)],{label:t(538),children:l[t(1435)](t(1088),{className:t(958),children:[l[t(975)](Bn,{value:x[t(2066)]||t(1893),onChange:d=>{const s=t,u=d[s(1972)]();i("backgroundColor",u),n({name:x[s(1932)],src:x[s(1870)],backgroundColor:u,fillColor:x.fillColor})}}),l[t(975)](C[t(1127)],{value:x.backgroundColor,onChange:d=>i("backgroundColor",d[t(1233)][t(891)]),onBlur:a,placeholder:"#1890ff"})]})})]})]})},{Option:Tl}=C[c(1581)],Hl=({material:e,onSave:n})=>{const t=c,o=e[t(1015)]||{},[x,r]=B[t(1102)]({lineWeight:o[t(1700)]||o.thickness||2,color:o[t(838)]||t(873),lineType:o[t(1131)]||t(2140),startX:o.startX??0,startY:o[t(2002)]??0,endX:o[t(581)]??100,endY:o[t(799)]??0,rotate:o.rotate??0}),i=JSON[t(655)]({sw:o.lineWeight??o[t(2131)],c:o.color,t:o[t(1131)],sx:o[t(837)],sy:o[t(2002)],ex:o[t(581)],ey:o[t(799)],r:o[t(1688)]});B[t(1894)](()=>{const s=t;r({lineWeight:o[s(1700)]||o[s(2131)]||2,color:o[s(838)]||s(873),lineType:o[s(1131)]||s(2140),startX:o.startX??0,startY:o[s(2002)]??0,endX:o[s(581)]??100,endY:o[s(799)]??0,rotate:o[s(1688)]??0})},[e.id,i]);const a=s=>{const u=t,f={...x,...s};r(f),n({config:{...o,thickness:f.lineWeight,lineWeight:f.lineWeight,color:f[u(838)],lineType:f[u(1131)],startX:f[u(837)],startY:f[u(2002)],endX:f.endX,endY:f[u(799)],rotate:f[u(1688)]}})},d=[{value:t(2140),label:"实线",desc:t(1409)},{value:t(1390),label:"虚线",desc:t(347)},{value:"center",label:t(1363),desc:t(1818)},{value:t(2150),label:t(1482),desc:t(943)},{value:t(1682),label:"点线",desc:t(1798)},{value:t(1537),label:t(488),desc:t(756)}];return l[t(1435)](t(1088),{className:t(1749),children:[l[t(975)](C[t(844)],{style:{marginTop:0},children:t(1158)}),l.jsxs(C[t(1907)],{layout:t(1736),children:[l[t(1435)](t(1088),{className:t(389),children:[l[t(975)](C[t(1907)][t(658)],{label:t(1072),className:t(913),children:l[t(975)](C[t(1450)],{value:x[t(837)],onChange:s=>a({startX:s??0}),style:{width:t(1380)}})}),l[t(975)](C[t(1907)].Item,{label:t(2155),className:t(913),children:l[t(975)](C[t(1450)],{value:x[t(2002)],onChange:s=>a({startY:s??0}),style:{width:t(1380)}})}),l[t(975)](C[t(1907)][t(658)],{label:t(1038),className:t(913),children:l.jsx(C.InputNumber,{value:x[t(581)],onChange:s=>a({endX:s??100}),style:{width:"100%"}})}),l[t(975)](C[t(1907)][t(658)],{label:"终点 Y",className:t(913),children:l[t(975)](C.InputNumber,{value:x[t(799)],onChange:s=>a({endY:s??0}),style:{width:t(1380)}})})]}),l[t(975)](C.Form[t(658)],{label:t(1282),className:t(912),children:l[t(1435)](C[t(1264)],{children:[l.jsx(C[t(797)],{size:t(1717),onClick:()=>{const s=t,u=o.startX??x[s(837)],f=o[s(2002)]??x[s(2002)],b=o[s(581)]??x[s(581)],g=o[s(799)]??x[s(799)],v=b-u,h=g-f,w=Math[s(1419)](v*v+h*h),M=v>=0?1:-1;a({endX:u+M*w,endY:f})},title:t(1034),children:"水平"}),l[t(975)](C[t(797)],{size:t(1717),onClick:()=>{const s=t,u=o[s(837)]??x.startX,f=o[s(2002)]??x[s(2002)],b=o[s(581)]??x[s(581)],g=o.endY??x[s(799)],v=b-u,h=g-f,w=Math[s(1419)](v*v+h*h),M=h>=0?1:-1;a({endX:u,endY:f+M*w})},title:t(1164),children:"垂直"}),l.jsx(C.Button,{size:"small",onClick:()=>{const s=t,u=o[s(837)]??x[s(837)],f=o[s(2002)]??x.startY,b=o.endX??x[s(581)],g=o[s(799)]??x[s(799)];a({startX:b,startY:g,endX:u,endY:f})},title:t(1715),children:"反向"})]})}),l[t(975)](C[t(1907)][t(658)],{label:t(888),help:t(515),children:l[t(975)](C[t(1450)],{value:x.rotate,onChange:s=>{const u=t,f=s??0,b=o[u(837)]??x.startX,g=o[u(2002)]??x[u(2002)],v=o[u(581)]??x[u(581)],h=o[u(799)]??x[u(799)],w=v-b,M=h-g,m=Math[u(1419)](w*w+M*M),y=f*Math.PI/180;a({rotate:f,endX:Math[u(1707)](b+m*Math[u(2077)](y)),endY:Math[u(1707)](g+m*Math[u(719)](y))})},style:{width:120}})})]}),l[t(975)](C[t(844)],{children:t(1496)}),l[t(1435)](C[t(1907)],{layout:"vertical",children:[l[t(975)](C.Form.Item,{label:"线型",help:"选择线条样式",children:l[t(975)](C[t(1581)],{value:x[t(1131)],onChange:s=>a({lineType:s}),children:d[t(692)](s=>l[t(975)](Tl,{value:s.value,children:l[t(1435)](t(1088),{className:t(1269),children:[l[t(975)](t(1987),{children:s[t(1765)]}),l.jsx(t(1987),{className:t(2054),children:s[t(2165)]})]})},s[t(891)]))})}),l[t(975)](C[t(1907)][t(658)],{label:t(601),children:l[t(975)](C.InputNumber,{value:x[t(1700)],onChange:s=>a({lineWeight:s||2}),min:1,max:20,style:{width:120}})}),l.jsx(C[t(1907)][t(658)],{label:"颜色",children:l[t(1435)]("div",{className:t(958),children:[l[t(975)](Bn,{value:x[t(838)]||t(809),onChange:s=>a({color:s[t(1972)]()})}),l[t(975)](C[t(1127)],{value:x[t(838)],onChange:s=>a({color:s[t(1233)][t(891)]}),placeholder:"#d9d9d9",style:{width:100}})]})})]})]})};function si(e){return Array[c(1875)](e)}function Vl(e){const n=c,t=new Set;return e[n(467)](o=>Object[n(712)](o)[n(467)](x=>t[n(1007)](x))),Array[n(1826)](t)}function Wl(e,n){const t=c;return e[t(692)]((o,x)=>{const r=t,i=o[n],a=o[r(1932)];return{label:String(a??"项 "+(x+1)),value:typeof i===r(455)||typeof i=="number"?i:String(i)}})}function ql(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=c,x=Fe(h=>h[o(545)]),r=x[o(1945)](h=>h.id===e[o(1180)]),i=r?si(r[o(519)]):!1,a=r?ql(r[o(519)],e[o(1274)],e[o(1064)]):{},d=Cr(a),s=h=>{const w=o,M=w(1280)+h;t?t(M):n({expression:""+(e[w(565)]||"")+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.sample):[],v=r&&i&&e[o(1274)]?Wl(r[o(519)],e[o(1274)]):[];return l[o(1435)](l[o(676)],{children:[l[o(975)](C.Form[o(658)],{label:o(1734),extra:x[o(922)]===0?"请先在顶部工具栏点击「数据池」添加至少一个数据集(JSON 对象模板);宿主项目也可通过 initialScheme.dataPool 或 useEditorStore.getState().setDataPool() 注入。":o(1426),children:l[o(975)](C[o(1581)],{allowClear:!0,showSearch:!0,placeholder:x.length===0?o(1880):"选择数据池中的数据集",value:e.boundDatasetId??void 0,options:x.map(h=>({label:h[o(1932)],value:h.id})),onChange:u,filterOption:(h,w)=>String(w?.[o(1765)]??"").toLowerCase()[o(1499)](h[o(1154)]()),onInputKeyDown:h=>{h.key===" "&&h.stopPropagation()}})}),r&&i&&l[o(1435)](l[o(676)],{children:[l[o(975)](C[o(1907)][o(658)],{label:o(970),extra:"该数据集的 sample 为数组,请选择用于匹配数据项的字段",children:l[o(975)](C.Select,{allowClear:!0,placeholder:o(889),value:e.boundDatasetBindCode??void 0,options:g[o(692)](h=>({label:h,value:h})),onChange:f})}),e[o(1274)]&&l.jsx(C.Form[o(658)],{label:o(938),extra:"选择该字段对应的具体值以定位数据项",children:l[o(975)](C[o(1581)],{allowClear:!0,showSearch:!0,placeholder:o(1149),value:e[o(1064)]??void 0,options:v,onChange:b,filterOption:(h,w)=>String(w?.[o(1765)]??"").toLowerCase()[o(1499)](h[o(1154)]()),onInputKeyDown:h=>{const w=o;h[w(425)]===" "&&h[w(718)]()}})})]}),d[o(922)]>0&&l[o(975)](C[o(1907)].Item,{label:"字段路径(点击插入表达式)",children:l[o(975)](C[o(1264)],{size:[4,4],wrap:!0,children:d[o(692)](h=>l[o(975)](C.Tag,{className:o(1773),onClick:()=>s(h),children:"data."+h},h))})})]})},di=({material:e,onSave:n})=>{const t=c;switch(e.type){case t(770):return l[t(975)](Ol,{material:e,onSave:n});case"IMAGE":return l[t(975)](Gl,{material:e,onSave:n});case"LINE":return l[t(975)](Hl,{material:e,onSave:n});default:return l[t(975)](t(1088),{className:t(948),children:t(711)})}},{Panel:ui}=C.Collapse,{TextArea:Xl}=C[c(1127)],Kl=({node:e,updateNode:n,materials:t})=>{const o=c,x=t[o(568)](f=>f.type!==o(1103)||!f[o(1015)]?.[o(2102)]),r=(f,b)=>{const g=o,v=e[g(875)]?.[g(692)](h=>{const w=g;return h.id===f?{...h,contentInfo:{...h[w(674)],statusList:b}}:h});n(e.id,{children:v})},i=f=>{const b=o,g=e.children?.[b(1945)](h=>h.id===f);if(!g)return;const v={id:Se[b(631)](),name:"状态"+(g[b(674)][b(2169)].length+1),expression:g[b(674)].statusList[b(922)]===0?b(1050):"return false;",material:{...x[0],id:Se.nanoid()},boundDatasetId:null};r(f,[...g[b(674)][b(2169)],v])},a=(f,b)=>{const g=o,v=e[g(875)]?.find(w=>w.id===f);if(!v)return;const h=v[g(674)][g(2169)].filter(w=>w.id!==b);r(f,h)},d=(f,b,g)=>{const v=o,h=e[v(875)]?.[v(1945)](M=>M.id===f);if(!h)return;const w=h[v(674)][v(2169)].map(M=>M.id===b?{...M,...g}:M);r(f,w)},s=(f,b,g)=>{const v=o,h=e[v(875)]?.[v(1945)](m=>m.id===f);if(!h)return;const w=h[v(674)][v(2169)][v(1353)](m=>m.id===b);if(w===-1)return;const M=[...h.contentInfo.statusList];g==="up"&&w>0?[M[w],M[w-1]]=[M[w-1],M[w]]:g==="down"&&w<M[v(922)]-1&&([M[w],M[w+1]]=[M[w+1],M[w]]),r(f,M)},u=(f,b,g)=>{const v=o,h=t[v(1945)](w=>w.id===g);h&&d(f,b,{material:{...h,id:Se[v(631)]()}})};return l[o(1435)](o(1088),{className:o(1749),children:[l[o(975)](o(1088),{className:o(741),children:l.jsxs("div",{className:"text-sm text-blue-700",children:[l[o(975)]("strong",{children:o(1483)}),":为每个子节点配置多个状态和绑定"]})}),l[o(975)](C.Collapse,{ghost:!0,children:e.children?.[o(692)]((f,b)=>l[o(975)](ui,{header:l[o(1435)](o(1088),{className:o(706),children:[l[o(1435)](o(1987),{className:o(743),children:[o(1752),b+1]}),l[o(1435)](C[o(739)],{color:o(1160),style:{fontSize:o(1595),padding:"0 4px"},children:[f[o(674)].statusList.length," 个状态"]})]}),children:l[o(1435)](o(1088),{className:o(992),children:[l.jsxs(o(1088),{className:o(1143),children:[l[o(975)](o(1987),{className:o(1777),children:o(1229)}),l[o(975)](C[o(797)],{type:"primary",size:o(1717),icon:l[o(975)](de[o(1411)],{}),onClick:()=>i(f.id),children:o(1524)})]}),f.contentInfo.statusList[o(922)]===0?l[o(975)](o(1088),{className:"text-center text-gray-400 py-4 bg-gray-50 rounded-lg",children:"暂无状态,点击上方按钮添加"}):l[o(975)](C[o(1583)],{ghost:!0,children:f[o(674)][o(2169)].map((g,v)=>l.jsx(ui,{header:l.jsxs("div",{className:o(958),children:[l[o(975)](o(1987),{className:o(384),children:v+1}),l[o(975)](o(1987),{className:o(1835),children:g[o(1932)]}),l.jsx(C[o(739)],{color:"default",className:"text-xs",children:g[o(1554)][o(443)]})]}),extra:l[o(1435)](C[o(1264)],{size:"small",onClick:h=>h[o(718)](),children:[l[o(975)](C[o(797)],{type:o(1992),size:o(1717),icon:l[o(975)](de[o(1615)],{}),disabled:v===0,onClick:h=>{h.stopPropagation(),s(f.id,g.id,"up")}}),l.jsx(C[o(797)],{type:o(1992),size:"small",icon:l[o(975)](de[o(775)],{}),disabled:v===f[o(674)][o(2169)][o(922)]-1,onClick:h=>{const w=o;h[w(718)](),s(f.id,g.id,w(518))}}),l[o(975)](C.Button,{type:o(1992),size:o(1717),danger:!0,icon:l[o(975)](de[o(1438)],{}),onClick:h=>{h[o(718)](),a(f.id,g.id)}})]}),children:l[o(1435)](C[o(1907)],{layout:"vertical",children:[l.jsx(C.Form[o(658)],{label:o(1561),children:l.jsx(C[o(1127)],{value:g.name,onChange:h=>d(f.id,g.id,{name:h[o(1233)].value}),placeholder:o(378)})}),l.jsx(li,{status:g,onUpdate:h=>d(f.id,g.id,h)}),l[o(975)](C[o(1907)].Item,{label:o(438),help:"单参数 data(对象),须 return true/false;测点数组按 paramsCode 合并进 data。",children:l[o(975)](Xl,{value:g[o(565)],onChange:h=>d(f.id,g.id,{expression:h.target[o(891)]}),rows:3,placeholder:o(1050)})}),l[o(975)](C[o(1907)].Item,{label:o(874),children:l[o(1435)]("div",{className:o(958),children:[l[o(975)](C.Tag,{color:"blue",children:g[o(1554)][o(1932)]}),l.jsx(C[o(739)],{color:o(1262),children:g.material[o(443)]}),l.jsx(C.Select,{placeholder:o(317),style:{width:150},value:void 0,onChange:h=>h&&u(f.id,g.id,h),options:x[o(692)](h=>({value:h.id,label:h[o(1932)]+" ("+h[o(443)]+")"}))})]})}),l[o(975)](C[o(844)],{style:{margin:o(472)}}),l[o(1435)](o(1088),{className:"bg-gray-50 rounded-lg p-3 border border-gray-200",children:[l.jsxs(o(1088),{className:o(1439),children:[l[o(975)](o(1987),{className:o(1825),children:o(1639)}),l[o(975)](C[o(739)],{children:g[o(1554)].name})]}),l.jsx(di,{material:g[o(1554)],onSave:h=>{const w=o,M={...g[w(1554)],...h};d(f.id,g.id,{material:M})}})]})]})},g.id))})]})},f.id))})]})};function Ke(e){const n=c;if(typeof e===n(455)||typeof e===n(935))return""+e;let t="";if(Array[n(1875)](e))for(let o=0,x;o<e[n(922)];o++)(x=Ke(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=c;for(var n=0,t=arguments[e(922)],o={},x;n<t;++n){if(!(x=arguments[n]+"")||x in o||/[\s.]/[e(2081)](x))throw new Error(e(2003)+x);o[x]=[]}return new Vt(o)}function Vt(e){this._=e}function Rl(e,n){const t=c;return e[t(583)]()[t(2105)](/^|\s+/)[t(692)](function(o){const x=t;var r="",i=o.indexOf(".");if(i>=0&&(r=o[x(2071)](i+1),o=o[x(2071)](0,i)),o&&!n.hasOwnProperty(o))throw new Error(x(1607)+o);return{type:o,name:r}})}Vt[c(1741)]=Ht[c(1741)]={constructor:Vt,on:function(e,n){const t=c;var o=this._,x=Rl(e+"",o),r,i=-1,a=x[t(922)];if(arguments[t(922)]<2){for(;++i<a;)if((r=(e=x[i])[t(443)])&&(r=_l(o[r],e[t(1932)])))return r;return}if(n!=null&&typeof n!==t(2001))throw new Error(t(2114)+n);for(;++i<a;)if(r=(e=x[i])[t(443)])o[r]=fi(o[r],e[t(1932)],n);else if(n==null)for(r in o)o[r]=fi(o[r],e[t(1932)],null);return this},copy:function(){const e=c;var n={},t=this._;for(var o in t)n[o]=t[o][e(2071)]();return new Vt(n)},call:function(e,n){const t=c;if((r=arguments.length-2)>0)for(var o=new Array(r),x=0,r,i;x<r;++x)o[x]=arguments[x+2];if(!this._[t(1943)](e))throw new Error("unknown type: "+e);for(i=this._[e],x=0,r=i[t(922)];x<r;++x)i[x].value[t(1685)](n,o)},apply:function(e,n,t){const o=c;if(!this._[o(1943)](e))throw new Error(o(1607)+e);for(var x=this._[e],r=0,i=x[o(922)];r<i;++r)x[r].value[o(1685)](n,t)}};function _l(e,n){const t=c;for(var o=0,x=e[t(922)],r;o<x;++o)if((r=e[o])[t(1932)]===n)return r.value}function fi(e,n,t){const o=c;for(var x=0,r=e[o(922)];x<r;++x)if(e[x][o(1932)]===n){e[x]=Zl,e=e[o(2071)](0,x).concat(e[o(2071)](x+1));break}return t!=null&&e[o(1843)]({name:n,value:t}),e}var ao=c(2007);const bi={svg:c(1627),xhtml:ao,xlink:c(479),xml:c(1610),xmlns:"http://www.w3.org/2000/xmlns/"};function Wt(e){const n=c;var t=e+="",o=t[n(1357)](":");return o>=0&&(t=e.slice(0,o))!=="xmlns"&&(e=e[n(2071)](o+1)),bi.hasOwnProperty(t)?{space:bi[t],local:e}:e}function Jl(e){return function(){const n=_0x5092;var t=this.ownerDocument,o=this.namespaceURI;return o===ao&&t[n(311)][n(1747)]===ao?t[n(1608)](e):t[n(1956)](o,e)}}function Fl(e){return function(){const n=_0x5092;return this[n(1006)][n(1956)](e[n(635)],e.local)}}function hi(e){const n=c;var t=Wt(e);return(t[n(1304)]?Fl:Jl)(t)}function Ql(){}function co(e){return e==null?Ql:function(){return this[_0x5092(1372)](e)}}function $l(e){const n=c;typeof e!="function"&&(e=co(e));for(var t=this._groups,o=t[n(922)],x=new Array(o),r=0;r<o;++r)for(var i=t[r],a=i[n(922)],d=x[r]=new Array(a),s,u,f=0;f<a;++f)(s=i[f])&&(u=e[n(1382)](s,s[n(411)],f,i))&&(n(411)in s&&(u[n(411)]=s[n(411)]),d[f]=u);return new d0(x,this[n(2006)])}function ed(e){return e==null?[]:Array.isArray(e)?e:Array.from(e)}function nd(){return[]}function gi(e){return e==null?nd:function(){return this[_0x5092(1677)](e)}}function td(e){return function(){return ed(e[_0x5092(1685)](this,arguments))}}function xd(e){const n=c;typeof e===n(2001)?e=td(e):e=gi(e);for(var t=this._groups,o=t.length,x=[],r=[],i=0;i<o;++i)for(var a=t[i],d=a[n(922)],s,u=0;u<d;++u)(s=a[u])&&(x.push(e[n(1382)](s,s[n(411)],u,a)),r[n(1843)](s));return new d0(x,r)}function yi(e){return function(){return this[_0x5092(2156)](e)}}function mi(e){return function(n){return n[_0x5092(2156)](e)}}var od=Array[c(1741)].find;function rd(e){return function(){return od[_0x5092(1382)](this.children,e)}}function id(){return this[c(1467)]}function ad(e){return this[c(2113)](e==null?id:rd(typeof e=="function"?e:mi(e)))}var cd=Array[c(1741)][c(568)];function sd(){const e=c;return Array[e(1826)](this[e(875)])}function ld(e){return function(){const n=_0x5092;return cd.call(this[n(875)],e)}}function dd(e){const n=c;return this.selectAll(e==null?sd:ld(typeof e===n(2001)?e:mi(e)))}function ud(e){const n=c;typeof e!="function"&&(e=yi(e));for(var t=this[n(444)],o=t.length,x=new Array(o),r=0;r<o;++r)for(var i=t[r],a=i[n(922)],d=x[r]=[],s,u=0;u<a;++u)(s=i[u])&&e[n(1382)](s,s[n(411)],u,i)&&d[n(1843)](s);return new d0(x,this[n(2006)])}function wi(e){const n=c;return new Array(e[n(922)])}function fd(){const e=c;return new d0(this._enter||this[e(444)][e(692)](wi),this[e(2006)])}function qt(e,n){const t=c;this[t(1006)]=e.ownerDocument,this.namespaceURI=e[t(1747)],this[t(807)]=null,this[t(914)]=e,this[t(411)]=n}qt[c(1741)]={constructor:qt,appendChild:function(e){const n=c;return this[n(914)][n(522)](e,this._next)},insertBefore:function(e,n){const t=c;return this[t(914)][t(522)](e,n)},querySelector:function(e){const n=c;return this[n(914)][n(1372)](e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function bd(e){return function(){return e}}function hd(e,n,t,o,x,r){const i=c;for(var a=0,d,s=n[i(922)],u=r[i(922)];a<u;++a)(d=n[a])?(d[i(411)]=r[a],o[a]=d):t[a]=new qt(e,r[a]);for(;a<s;++a)(d=n[a])&&(x[a]=d)}function gd(e,n,t,o,x,r,i){const a=c;var d,s,u=new Map,f=n[a(922)],b=r[a(922)],g=new Array(f),v;for(d=0;d<f;++d)(s=n[d])&&(g[d]=v=i[a(1382)](s,s[a(411)],d,n)+"",u.has(v)?x[d]=s:u[a(720)](v,s));for(d=0;d<b;++d)v=i[a(1382)](e,r[d],d,r)+"",(s=u[a(509)](v))?(o[d]=s,s[a(411)]=r[d],u[a(2055)](v)):t[d]=new qt(e,r[d]);for(d=0;d<f;++d)(s=n[d])&&u[a(509)](g[d])===s&&(x[d]=s)}function yd(e){return e[c(411)]}function md(e,n){const t=c;if(!arguments[t(922)])return Array[t(1826)](this,yd);var o=n?gd:hd,x=this[t(2006)],r=this[t(444)];typeof e!==t(2001)&&(e=bd(e));for(var i=r.length,a=new Array(i),d=new Array(i),s=new Array(i),u=0;u<i;++u){var f=x[u],b=r[u],g=b[t(922)],v=wd(e[t(1382)](f,f&&f[t(411)],u,x)),h=v[t(922)],w=d[u]=new Array(h),M=a[u]=new Array(h),m=s[u]=new Array(g);o(f,b,w,M,m,v,n);for(var y=0,z=0,p,k;y<h;++y)if(p=w[y]){for(y>=z&&(z=y+1);!(k=M[z])&&++z<h;);p[t(807)]=k||null}}return a=new d0(a,x),a[t(982)]=d,a[t(2092)]=s,a}function wd(e){const n=c;return typeof e===n(793)&&n(922)in e?e:Array.from(e)}function vd(){const e=c;return new d0(this[e(2092)]||this[e(444)][e(692)](wi),this[e(2006)])}function pd(e,n,t){const o=c;var x=this[o(1914)](),r=this,i=this[o(1265)]();return typeof e=="function"?(x=e(x),x&&(x=x[o(325)]())):x=x[o(954)](e+""),n!=null&&(r=n(r),r&&(r=r.selection())),t==null?i[o(642)]():t(i),x&&r?x[o(1895)](r).order():r}function zd(e){const n=c;for(var t=e[n(325)]?e[n(325)]():e,o=this[n(444)],x=t[n(444)],r=o[n(922)],i=x[n(922)],a=Math.min(r,i),d=new Array(r),s=0;s<a;++s)for(var u=o[s],f=x[s],b=u[n(922)],g=d[s]=new Array(b),v,h=0;h<b;++h)(v=u[h]||f[h])&&(g[h]=v);for(;s<r;++s)d[s]=o[s];return new d0(d,this._parents)}function Cd(){const e=c;for(var n=this[e(444)],t=-1,o=n[e(922)];++t<o;)for(var x=n[t],r=x[e(922)]-1,i=x[r],a;--r>=0;)(a=x[r])&&(i&&a.compareDocumentPosition(i)^4&&i[e(1037)].insertBefore(a,i),i=a);return this}function Md(e){const n=c;e||(e=Bd);function t(b,g){const v=_0x5092;return b&&g?e(b.__data__,g[v(411)]):!b-!g}for(var o=this[n(444)],x=o[n(922)],r=new Array(x),i=0;i<x;++i){for(var a=o[i],d=a[n(922)],s=r[i]=new Array(d),u,f=0;f<d;++f)(u=a[f])&&(s[f]=u);s[n(660)](t)}return new d0(r,this[n(2006)]).order()}function Bd(e,n){return e<n?-1:e>n?1:e>=n?0:NaN}function Dd(){const e=c;var n=arguments[0];return arguments[0]=this,n[e(1685)](null,arguments),this}function Ld(){return Array[c(1826)](this)}function Sd(){const e=c;for(var n=this[e(444)],t=0,o=n[e(922)];t<o;++t)for(var x=n[t],r=0,i=x[e(922)];r<i;++r){var a=x[r];if(a)return a}return null}function Nd(){let e=0;for(const n of this)++e;return e}function kd(){return!this[c(464)]()}function Id(e){const n=c;for(var t=this[n(444)],o=0,x=t[n(922)];o<x;++o)for(var r=t[o],i=0,a=r[n(922)],d;i<a;++i)(d=r[i])&&e[n(1382)](d,d[n(411)],i,r);return this}function Pd(e){return function(){this[_0x5092(717)](e)}}function jd(e){return function(){const n=_0x5092;this.removeAttributeNS(e.space,e[n(1304)])}}function Ad(e,n){return function(){this[_0x5092(685)](e,n)}}function Ed(e,n){return function(){const t=_0x5092;this.setAttributeNS(e[t(635)],e[t(1304)],n)}}function Yd(e,n){return function(){const t=_0x5092;var o=n.apply(this,arguments);o==null?this[t(717)](e):this[t(685)](e,o)}}function Ud(e,n){return function(){const t=_0x5092;var o=n[t(1685)](this,arguments);o==null?this.removeAttributeNS(e[t(635)],e.local):this[t(370)](e[t(635)],e.local,o)}}function Od(e,n){const t=c;var o=Wt(e);if(arguments[t(922)]<2){var x=this[t(464)]();return o[t(1304)]?x.getAttributeNS(o[t(635)],o[t(1304)]):x.getAttribute(o)}return this[t(433)]((n==null?o[t(1304)]?jd:Pd:typeof n=="function"?o[t(1304)]?Ud:Yd:o[t(1304)]?Ed:Ad)(o,n))}function vi(e){const n=c;return e[n(1006)]&&e[n(1006)][n(585)]||e.document&&e||e[n(585)]}function Gd(e){return function(){const n=_0x5092;this.style[n(750)](e)}}function Td(e,n,t){return function(){const o=_0x5092;this.style[o(2026)](e,n,t)}}function Hd(e,n,t){return function(){const o=_0x5092;var x=n.apply(this,arguments);x==null?this[o(598)][o(750)](e):this.style.setProperty(e,x,t)}}function Vd(e,n,t){const o=c;return arguments[o(922)]>1?this[o(433)]((n==null?Gd:typeof n===o(2001)?Hd:Td)(e,n,t??"")):Dn(this[o(464)](),e)}function Dn(e,n){const t=c;return e[t(598)][t(740)](n)||vi(e)[t(1150)](e,null)[t(740)](n)}function Wd(e){return function(){delete this[e]}}function qd(e,n){return function(){this[e]=n}}function Xd(e,n){return function(){var o=n[_0x5092(1685)](this,arguments);o==null?delete this[e]:this[e]=o}}function Kd(e,n){const t=c;return arguments[t(922)]>1?this[t(433)]((n==null?Wd:typeof n===t(2001)?Xd:qd)(e,n)):this[t(464)]()[e]}function pi(e){return e[c(583)]().split(/^|\s+/)}function so(e){return e[c(1478)]||new zi(e)}function zi(e){const n=c;this._node=e,this._names=pi(e[n(1241)]("class")||"")}zi[c(1741)]={add:function(e){const n=c;var t=this._names[n(1357)](e);t<0&&(this[n(902)][n(1843)](e),this._node.setAttribute(n(587),this[n(902)].join(" ")))},remove:function(e){const n=c;var t=this[n(902)][n(1357)](e);t>=0&&(this[n(902)][n(1988)](t,1),this[n(1623)][n(685)]("class",this._names[n(2109)](" ")))},contains:function(e){const n=c;return this[n(902)][n(1357)](e)>=0}};function Ci(e,n){const t=c;for(var o=so(e),x=-1,r=n[t(922)];++x<r;)o[t(1007)](n[x])}function Mi(e,n){const t=c;for(var o=so(e),x=-1,r=n[t(922)];++x<r;)o[t(642)](n[x])}function Zd(e){return function(){Ci(this,e)}}function Rd(e){return function(){Mi(this,e)}}function _d(e,n){return function(){(n[_0x5092(1685)](this,arguments)?Ci:Mi)(this,e)}}function Jd(e,n){const t=c;var o=pi(e+"");if(arguments.length<2){for(var x=so(this.node()),r=-1,i=o[t(922)];++r<i;)if(!x[t(2076)](o[r]))return!1;return!0}return this.each((typeof n===t(2001)?_d:n?Zd:Rd)(o,n))}function Fd(){const e=c;this[e(1824)]=""}function Qd(e){return function(){const n=_0x5092;this[n(1824)]=e}}function $d(e){return function(){var n=e.apply(this,arguments);this.textContent=n??""}}function eu(e){const n=c;return arguments.length?this[n(433)](e==null?Fd:(typeof e===n(2001)?$d:Qd)(e)):this[n(464)]().textContent}function nu(){const e=c;this[e(2094)]=""}function tu(e){return function(){const n=_0x5092;this[n(2094)]=e}}function xu(e){return function(){const n=_0x5092;var t=e[n(1685)](this,arguments);this[n(2094)]=t??""}}function ou(e){const n=c;return arguments.length?this.each(e==null?nu:(typeof e===n(2001)?xu:tu)(e)):this[n(464)]().innerHTML}function ru(){const e=c;this[e(580)]&&this.parentNode[e(1063)](this)}function iu(){return this.each(ru)}function au(){const e=c;this[e(1293)]&&this[e(1037)][e(522)](this,this[e(1037)].firstChild)}function cu(){return this[c(433)](au)}function su(e){const n=c;var t=typeof e===n(2001)?e:hi(e);return this[n(2113)](function(){const o=n;return this[o(1063)](t[o(1685)](this,arguments))})}function lu(){return null}function du(e,n){const t=c;var o=typeof e===t(2001)?e:hi(e),x=n==null?lu:typeof n===t(2001)?n:co(n);return this.select(function(){const r=t;return this.insertBefore(o[r(1685)](this,arguments),x[r(1685)](this,arguments)||null)})}function uu(){var n=this[c(1037)];n&&n.removeChild(this)}function fu(){return this.each(uu)}function bu(){const e=c;var n=this[e(1862)](!1),t=this[e(1037)];return t?t[e(522)](n,this.nextSibling):n}function hu(){const e=c;var n=this[e(1862)](!0),t=this[e(1037)];return t?t[e(522)](n,this.nextSibling):n}function gu(e){return this[c(2113)](e?hu:bu)}function yu(e){const n=c;return arguments[n(922)]?this.property(n(411),e):this.node()[n(411)]}function mu(e){return function(n){const t=_0x5092;e[t(1382)](this,n,this[t(411)])}}function wu(e){const n=c;return e.trim()[n(2105)](/^|\s+/).map(function(t){const o=n;var x="",r=t[o(1357)](".");return r>=0&&(x=t[o(2071)](r+1),t=t[o(2071)](0,r)),{type:t,name:x}})}function vu(e){return function(){const n=_0x5092;var t=this[n(694)];if(t){for(var o=0,x=-1,r=t.length,i;o<r;++o)i=t[o],(!e[n(443)]||i[n(443)]===e[n(443)])&&i[n(1932)]===e[n(1932)]?this.removeEventListener(i[n(443)],i[n(1948)],i[n(1178)]):t[++x]=i;++x?t[n(922)]=x:delete this[n(694)]}}}function pu(e,n,t){return function(){const o=_0x5092;var x=this[o(694)],r,i=mu(n);if(x){for(var a=0,d=x[o(922)];a<d;++a)if((r=x[a]).type===e[o(443)]&&r[o(1932)]===e[o(1932)]){this[o(652)](r[o(443)],r[o(1948)],r[o(1178)]),this.addEventListener(r[o(443)],r[o(1948)]=i,r[o(1178)]=t),r.value=n;return}}this[o(1533)](e[o(443)],i,t),r={type:e[o(443)],name:e[o(1932)],value:n,listener:i,options:t},x?x[o(1843)](r):this[o(694)]=[r]}}function zu(e,n,t){const o=c;var x=wu(e+""),r,i=x.length,a;if(arguments.length<2){var d=this[o(464)]()[o(694)];if(d){for(var s=0,u=d[o(922)],f;s<u;++s)for(r=0,f=d[s];r<i;++r)if((a=x[r])[o(443)]===f.type&&a[o(1932)]===f[o(1932)])return f[o(891)]}return}for(d=n?pu:vu,r=0;r<i;++r)this[o(433)](d(x[r],n,t));return this}function Bi(e,n,t){const o=c;var x=vi(e),r=x[o(1772)];typeof r===o(2001)?r=new r(n,t):(r=x[o(1408)][o(732)](o(1901)),t?(r[o(624)](n,t[o(1059)],t[o(1840)]),r[o(990)]=t[o(990)]):r[o(624)](n,!1,!1)),e[o(2127)](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=c;return this[t(433)]((typeof n===t(2001)?Mu:Cu)(e,n))}function*Du(){const e=c;for(var n=this._groups,t=0,o=n[e(922)];t<o;++t)for(var x=n[t],r=0,i=x.length,a;r<i;++r)(a=x[r])&&(yield a)}var Di=[null];function d0(e,n){const t=c;this[t(444)]=e,this._parents=n}function Qn(){const e=c;return new d0([[document[e(311)]]],Di)}function Lu(){return this}d0[c(1741)]=Qn[c(1741)]={constructor:d0,select:$l,selectAll:xd,selectChild:ad,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:Sd,size:Nd,empty:kd,each:Id,attr:Od,style:Vd,property:Kd,classed:Jd,text:eu,html:ou,raise:iu,lower:cu,append:su,insert:du,remove:fu,clone:gu,datum:yu,on:zu,dispatch:Bu,[Symbol.iterator]:Du};function u0(e){const n=c;return typeof e===n(455)?new d0([[document[n(1372)](e)]],[document[n(311)]]):new d0([[e]],Di)}function Su(e){const n=c;let t;for(;t=e[n(439)];)e=t;return e}function v0(e,n){const t=c;if(e=Su(e),n===void 0&&(n=e[t(1942)]),n){var o=n[t(1611)]||n;if(o[t(1223)]){var x=o.createSVGPoint();return x.x=e[t(986)],x.y=e[t(471)],x=x[t(864)](n[t(562)]()[t(336)]()),[x.x,x.y]}if(n[t(1163)]){var r=n[t(1163)]();return[e.clientX-r[t(761)]-n.clientLeft,e[t(471)]-r[t(1532)]-n.clientTop]}}return[e[t(1863)],e.pageY]}const Nu={passive:!1},$n={capture:!0,passive:!1};function lo(e){e[c(1370)]()}function Ln(e){const n=c;e.preventDefault(),e[n(1370)]()}function Li(e){const n=c;var t=e.document[n(311)],o=u0(e).on(n(1489),Ln,$n);"onselectstart"in t?o.on(n(1171),Ln,$n):(t.__noselect=t[n(598)][n(1135)],t[n(598)][n(1135)]=n(1368))}function Si(e,n){const t=c;var o=e[t(1408)][t(311)],x=u0(e).on(t(1489),null);n&&(x.on(t(418),Ln,$n),setTimeout(function(){const r=t;x.on(r(418),null)},0)),t(1106)in o?x.on(t(1171),null):(o[t(598)].MozUserSelect=o.__noselect,delete o[t(1147)])}const Xt=e=>()=>e;function uo(e,{sourceEvent:n,subject:t,target:o,identifier:x,active:r,x:i,y:a,dx:d,dy:s,dispatch:u}){Object[c(593)](this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},subject:{value:t,enumerable:!0,configurable:!0},target:{value:o,enumerable:!0,configurable:!0},identifier:{value:x,enumerable:!0,configurable:!0},active:{value:r,enumerable:!0,configurable:!0},x:{value:i,enumerable:!0,configurable:!0},y:{value:a,enumerable:!0,configurable:!0},dx:{value:d,enumerable:!0,configurable:!0},dy:{value:s,enumerable:!0,configurable:!0},_:{value:u}})}uo[c(1741)].on=function(){const e=c;var n=this._.on[e(1685)](this._,arguments);return n===this._?this:n};function ku(e){const n=c;return!e[n(526)]&&!e[n(1730)]}function Iu(){return this[c(1037)]}function Pu(e,n){return n??{x:e.x,y:e.y}}function ju(){const e=c;return navigator.maxTouchPoints||e(867)in this}function Ni(){const e=c;var n=ku,t=Iu,o=Pu,x=ju,r={},i=Ht(e(671),"drag","end"),a=0,d,s,u,f,b=0;function g(p){const k=e;p.on(k(481),v).filter(x).on(k(673),M).on(k(1652),m,Nu).on("touchend.drag touchcancel.drag",y)[k(598)](k(422),k(1368)).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function v(p,k){const O=e;if(!(f||!n.call(this,p,k))){var G=z(this,t[O(1382)](this,p,k),p,k,"mouse");G&&(u0(p[O(2005)]).on(O(2101),h,$n).on("mouseup.drag",w,$n),Li(p.view),lo(p),u=!1,d=p[O(986)],s=p[O(471)],G(O(671),p))}}function h(p){const k=e;if(Ln(p),!u){var O=p.clientX-d,G=p[k(471)]-s;u=O*O+G*G>b}r[k(632)](k(1433),p)}function w(p){const k=e;u0(p[k(2005)]).on(k(736),null),Si(p[k(2005)],u),Ln(p),r[k(632)](k(1364),p)}function M(p,k){const O=e;if(n[O(1382)](this,p,k)){var G=p.changedTouches,H=t[O(1382)](this,p,k),E=G[O(922)],V,W;for(V=0;V<E;++V)(W=z(this,H,p,k,G[V][O(1635)],G[V]))&&(lo(p),W("start",p,G[V]))}}function m(p){const k=e;var O=p[k(322)],G=O.length,H,E;for(H=0;H<G;++H)(E=r[O[H][k(1635)]])&&(Ln(p),E(k(1433),p,O[H]))}function y(p){const k=e;var O=p[k(322)],G=O[k(922)],H,E;for(f&&clearTimeout(f),f=setTimeout(function(){f=null},500),H=0;H<G;++H)(E=r[O[H][k(1635)]])&&(lo(p),E(k(1364),p,O[H]))}function z(p,k,O,G,H,E){const V=e;var W=i[V(2038)](),q=v0(E||O,k),T,S,L;if((L=o.call(p,new uo(V(1852),{sourceEvent:O,target:g,identifier:H,active:a,x:q[0],y:q[1],dx:0,dy:0,dispatch:W}),G))!=null)return T=L.x-q[0]||0,S=L.y-q[1]||0,function D(Y,A,P){const _=V;var $=q,ee;switch(Y){case _(671):r[H]=D,ee=a++;break;case _(1364):delete r[H],--a;case _(1433):q=v0(P||A,k),ee=a;break}W[_(1382)](Y,p,new uo(Y,{sourceEvent:A,subject:L,target:g,identifier:H,active:ee,x:q[0]+T,y:q[1]+S,dx:q[0]-$[0],dy:q[1]-$[1],dispatch:W}),G)}}return g[e(568)]=function(p){const k=e;return arguments[k(922)]?(n=typeof p===k(2001)?p:Xt(!!p),g):n},g.container=function(p){const k=e;return arguments.length?(t=typeof p===k(2001)?p:Xt(p),g):t},g.subject=function(p){const k=e;return arguments.length?(o=typeof p===k(2001)?p:Xt(p),g):o},g[e(964)]=function(p){const k=e;return arguments.length?(x=typeof p===k(2001)?p:Xt(!!p),g):x},g.on=function(){const p=e;var k=i.on[p(1685)](i,arguments);return k===i?g:k},g[e(1596)]=function(p){const k=e;return arguments[k(922)]?(b=(p=+p)*p,g):Math[k(1419)](b)},g}function fo(e,n,t){const o=c;e[o(1741)]=n[o(1741)]=t,t.constructor=e}function ki(e,n){var o=Object.create(e[c(1741)]);for(var x in n)o[x]=n[x];return o}function et(){}var nt=.7,Kt=1/nt,Sn="\\s*([+-]?\\d+)\\s*",tt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",k0=c(537),Au=/^#([0-9a-f]{3,8})$/,Eu=new RegExp(c(2047)+Sn+","+Sn+","+Sn+"\\)$"),Yu=new RegExp("^rgb\\("+k0+","+k0+","+k0+"\\)$"),Uu=new RegExp(c(2146)+Sn+","+Sn+","+Sn+","+tt+c(1938)),Ou=new RegExp(c(2146)+k0+","+k0+","+k0+","+tt+c(1938)),Gu=new RegExp("^hsl\\("+tt+","+k0+","+k0+c(1938)),Tu=new RegExp("^hsla\\("+tt+","+k0+","+k0+","+tt+c(1938)),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};fo(et,cn,{copy(e){const n=c;return Object[n(826)](new this[n(1711)],this,e)},displayable(){const e=c;return this[e(2040)]()[e(702)]()},hex:Pi,formatHex:Pi,formatHex8:Hu,formatHsl:Vu,formatRgb:ji,toString:ji});function Pi(){const e=c;return this.rgb()[e(1716)]()}function Hu(){const e=c;return this[e(2040)]()[e(536)]()}function Vu(){const e=c;return Oi(this)[e(1296)]()}function ji(){const e=c;return this.rgb()[e(544)]()}function cn(e){const n=c;var t,o;return e=(e+"").trim()[n(1154)](),(t=Au[n(1469)](e))?(o=t[1].length,t=parseInt(t[1],16),o===6?Ai(t):o===3?new a0(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):o===8?Zt(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):o===4?Zt(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=Eu.exec(e))?new a0(t[1],t[2],t[3],1):(t=Yu[n(1469)](e))?new a0(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Uu[n(1469)](e))?Zt(t[1],t[2],t[3],t[4]):(t=Ou[n(1469)](e))?Zt(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Gu.exec(e))?Ui(t[1],t[2]/100,t[3]/100,1):(t=Tu[n(1469)](e))?Ui(t[1],t[2]/100,t[3]/100,t[4]):Ii[n(1943)](e)?Ai(Ii[e]):e===n(865)?new a0(NaN,NaN,NaN,0):null}function Ai(e){return new a0(e>>16&255,e>>8&255,e&255,1)}function Zt(e,n,t,o){return o<=0&&(e=n=t=NaN),new a0(e,n,t,o)}function Wu(e){const n=c;return e instanceof et||(e=cn(e)),e?(e=e[n(2040)](),new a0(e.r,e.g,e.b,e[n(641)])):new a0}function bo(e,n,t,o){return arguments[c(922)]===1?Wu(e):new a0(e,n,t,o??1)}function a0(e,n,t,o){const x=c;this.r=+e,this.g=+n,this.b=+t,this[x(641)]=+o}fo(a0,bo,ki(et,{brighter(e){const n=c;return e=e==null?Kt:Math.pow(Kt,e),new a0(this.r*e,this.g*e,this.b*e,this[n(641)])},darker(e){const n=c;return e=e==null?nt:Math.pow(nt,e),new a0(this.r*e,this.g*e,this.b*e,this[n(641)])},rgb(){return this},clamp(){return new a0(sn(this.r),sn(this.g),sn(this.b),Rt(this.opacity))},displayable(){const e=c;return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this[e(641)]&&this[e(641)]<=1},hex:Ei,formatHex:Ei,formatHex8:qu,formatRgb:Yi,toString:Yi}));function Ei(){return"#"+ln(this.r)+ln(this.g)+ln(this.b)}function qu(){const e=c;return"#"+ln(this.r)+ln(this.g)+ln(this.b)+ln((isNaN(this.opacity)?1:this[e(641)])*255)}function Yi(){const e=c,n=Rt(this[e(641)]);return""+e(n===1?1949:928)+sn(this.r)+", "+sn(this.g)+", "+sn(this.b)+(n===1?")":", "+n+")")}function Rt(e){const n=c;return isNaN(e)?1:Math[n(1167)](0,Math[n(1724)](1,e))}function sn(e){const n=c;return Math[n(1167)](0,Math.min(255,Math[n(1707)](e)||0))}function ln(e){const n=c;return e=sn(e),(e<16?"0":"")+e[n(476)](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 Oi(e){const n=c;if(e instanceof p0)return new p0(e.h,e.s,e.l,e[n(641)]);if(e instanceof et||(e=cn(e)),!e)return new p0;if(e instanceof p0)return e;e=e[n(2040)]();var t=e.r/255,o=e.g/255,x=e.b/255,r=Math[n(1724)](t,o,x),i=Math[n(1167)](t,o,x),a=NaN,d=i-r,s=(i+r)/2;return d?(t===i?a=(o-x)/d+(o<x)*6:o===i?a=(x-t)/d+2:a=(t-o)/d+4,d/=s<.5?i+r:2-i-r,a*=60):d=s>0&&s<1?0:a,new p0(a,d,s,e.opacity)}function Xu(e,n,t,o){return arguments[c(922)]===1?Oi(e):new p0(e,n,t,o??1)}function p0(e,n,t,o){this.h=+e,this.s=+n,this.l=+t,this.opacity=+o}fo(p0,Xu,ki(et,{brighter(e){const n=c;return e=e==null?Kt:Math[n(656)](Kt,e),new p0(this.h,this.s,this.l*e,this[n(641)])},darker(e){const n=c;return e=e==null?nt:Math[n(656)](nt,e),new p0(this.h,this.s,this.l*e,this[n(641)])},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 a0(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=c;return new p0(Gi(this.h),_t(this.s),_t(this.l),Rt(this[e(641)]))},displayable(){const e=c;return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this[e(641)]&&this.opacity<=1},formatHsl(){const e=c,n=Rt(this.opacity);return""+e(n===1?460:1828)+Gi(this.h)+", "+_t(this.s)*100+"%, "+_t(this.l)*100+"%"+(n===1?")":", "+n+")")}}));function Gi(e){return e=(e||0)%360,e<0?e+360:e}function _t(e){const n=c;return Math[n(1167)](0,Math[n(1724)](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=c;return e=Math.pow(e,t),n=Math[o(656)](n,t)-e,t=1/t,function(x){return Math[o(656)](e+x*n,t)}}function Ru(e){return(e=+e)==1?Ti:function(n,t){return t-n?Zu(n,t,e):go(isNaN(n)?t:n)}}function Ti(e,n){var t=n-e;return t?Ku(e,t):go(isNaN(e)?n:e)}const Jt=(function e(n){const t=c;var o=Ru(n);function x(r,i){const a=_0x5092;var d=o((r=bo(r)).r,(i=bo(i)).r),s=o(r.g,i.g),u=o(r.b,i.b),f=Ti(r[a(641)],i[a(641)]);return function(b){const g=a;return r.r=d(b),r.g=s(b),r.b=u(b),r[g(641)]=f(b),r+""}}return x[t(1865)]=e,x})(1);function _u(e,n){const t=c;n||(n=[]);var o=e?Math[t(1724)](n[t(922)],e[t(922)]):0,x=n[t(2071)](),r;return function(i){for(r=0;r<o;++r)x[r]=e[r]*(1-i)+n[r]*i;return x}}function Ju(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Fu(e,n){const t=c;var o=n?n.length:0,x=e?Math.min(o,e[t(922)]):0,r=new Array(x),i=new Array(o),a;for(a=0;a<x;++a)r[a]=xt(e[a],n[a]);for(;a<o;++a)i[a]=n[a];return function(d){for(a=0;a<x;++a)i[a]=r[a](d);return i}}function Qu(e,n){var t=new Date;return e=+e,n=+n,function(o){return t[_0x5092(505)](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=c;var o={},x={},r;(e===null||typeof e!==t(793))&&(e={}),(n===null||typeof n!="object")&&(n={});for(r in n)r in e?o[r]=xt(e[r],n[r]):x[r]=n[r];return function(i){for(r in o)x[r]=o[r](i);return x}}var yo=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,mo=new RegExp(yo[c(1858)],"g");function ef(e){return function(){return e}}function nf(e){return function(n){return e(n)+""}}function Hi(e,n){const t=c;var o=yo[t(1002)]=mo[t(1002)]=0,x,r,i,a=-1,d=[],s=[];for(e=e+"",n=n+"";(x=yo[t(1469)](e))&&(r=mo[t(1469)](n));)(i=r.index)>o&&(i=n[t(2071)](o,i),d[a]?d[a]+=i:d[++a]=i),(x=x[0])===(r=r[0])?d[a]?d[a]+=r:d[++a]=r:(d[++a]=null,s[t(1843)]({i:a,x:I0(x,r)})),o=mo[t(1002)];return o<n.length&&(i=n[t(2071)](o),d[a]?d[a]+=i:d[++a]=i),d.length<2?s[0]?nf(s[0].x):ef(n):(n=s[t(922)],function(u){const f=t;for(var b=0,g;b<n;++b)d[(g=s[b]).i]=g.x(u);return d[f(2109)]("")})}function xt(e,n){const t=c;var o=typeof n,x;return n==null||o==="boolean"?go(n):(o===t(935)?I0:o===t(455)?(x=cn(n))?(n=x,Jt):Hi:n instanceof cn?Jt:n instanceof Date?Qu:Ju(n)?_u:Array[t(1875)](n)?Fu:typeof n.valueOf!==t(2001)&&typeof n.toString!==t(2001)||isNaN(n)?$u:I0)(e,n)}var Vi=180/Math.PI,wo={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,d,s;return(a=Math[i(1419)](e*e+n*n))&&(e/=a,n/=a),(s=e*t+n*o)&&(t-=e*s,o-=n*s),(d=Math[i(1419)](t*t+o*o))&&(t/=d,o/=d,s/=d),e*o<n*t&&(e=-e,n=-n,s=-s,a=-a),{translateX:x,translateY:r,rotate:Math[i(684)](n,e)*Vi,skewX:Math[i(1506)](s)*Vi,scaleX:a,scaleY:d}}var Ft;function tf(e){const n=c,t=new(typeof DOMMatrix===n(2001)?DOMMatrix:WebKitCSSMatrix)(e+"");return t[n(1781)]?wo:Wi(t.a,t.b,t.c,t.d,t.e,t.f)}function xf(e){const n=c;return e==null||(Ft||(Ft=document[n(1956)]("http://www.w3.org/2000/svg","g")),Ft[n(685)](n(2035),e),!(e=Ft[n(2035)].baseVal[n(1194)]()))?wo:(e=e[n(406)],Wi(e.a,e.b,e.c,e.d,e.e,e.f))}function qi(e,n,t,o){function x(s){return s[_0x5092(922)]?s.pop()+" ":""}function r(s,u,f,b,g,v){const h=_0x5092;if(s!==f||u!==b){var w=g.push(h(1568),null,n,null,t);v[h(1843)]({i:w-4,x:I0(s,f)},{i:w-2,x:I0(u,b)})}else(f||b)&&g[h(1843)]("translate("+f+n+b+t)}function i(s,u,f,b){const g=_0x5092;s!==u?(s-u>180?u+=360:u-s>180&&(s+=360),b.push({i:f.push(x(f)+g(1323),null,o)-2,x:I0(s,u)})):u&&f[g(1843)](x(f)+g(1323)+u+o)}function a(s,u,f,b){const g=_0x5092;s!==u?b[g(1843)]({i:f[g(1843)](x(f)+g(1294),null,o)-2,x:I0(s,u)}):u&&f[g(1843)](x(f)+g(1294)+u+o)}function d(s,u,f,b,g,v){const h=_0x5092;if(s!==f||u!==b){var w=g[h(1843)](x(g)+"scale(",null,",",null,")");v.push({i:w-4,x:I0(s,f)},{i:w-2,x:I0(u,b)})}else(f!==1||b!==1)&&g[h(1843)](x(g)+h(1479)+f+","+b+")")}return function(s,u){const f=_0x5092;var b=[],g=[];return s=e(s),u=e(u),r(s.translateX,s.translateY,u[f(369)],u.translateY,b,g),i(s[f(1688)],u.rotate,b,g),a(s.skewX,u[f(747)],b,g),d(s[f(1584)],s[f(1883)],u.scaleX,u[f(1883)],b,g),s=u=null,function(v){const h=f;for(var w=-1,M=g[h(922)],m;++w<M;)b[(m=g[w]).i]=m.x(v);return b[h(2109)]("")}}}var of=qi(tf,c(1451),"px)",c(1725)),rf=qi(xf,", ",")",")"),af=1e-12;function Xi(e){return((e=Math[c(808)](e))+1/e)/2}function cf(e){return((e=Math[c(808)](e))-1/e)/2}function sf(e){return((e=Math.exp(2*e))-1)/(e+1)}const Qt=(function e(n,t,o){function x(r,i){const a=_0x5092;var d=r[0],s=r[1],u=r[2],f=i[0],b=i[1],g=i[2],v=f-d,h=b-s,w=v*v+h*h,M,m;if(w<af)m=Math[a(1881)](g/u)/n,M=function(G){const H=a;return[d+G*v,s+G*h,u*Math[H(808)](n*G*m)]};else{var y=Math[a(1419)](w),z=(g*g-u*u+o*w)/(2*u*t*y),p=(g*g-u*u-o*w)/(2*g*t*y),k=Math[a(1881)](Math[a(1419)](z*z+1)-z),O=Math[a(1881)](Math[a(1419)](p*p+1)-p);m=(O-k)/n,M=function(G){var H=G*m,E=Xi(k),V=u/(t*y)*(E*sf(n*H+k)-cf(k));return[d+V*v,s+V*h,u*E/Xi(n*H+k)]}}return M.duration=m*1e3*n/Math[a(933)],M}return x.rho=function(r){var a=Math[_0x5092(1167)](.001,+r),d=a*a,s=d*d;return e(a,d,s)},x})(Math[c(933)],2,4);var Nn=0,ot=0,rt=0,Ki=1e3,$t,it,ex=0,dn=0,nx=0,at=typeof performance===c(793)&&performance[c(2093)]?performance:Date,Zi=typeof window===c(793)&&window.requestAnimationFrame?window[c(1733)][c(1400)](window):function(e){setTimeout(e,17)};function vo(){const e=c;return dn||(Zi(lf),dn=at[e(2093)]()+nx)}function lf(){dn=0}function tx(){const e=c;this[e(1602)]=this[e(1985)]=this._next=null}tx[c(1741)]=Ri[c(1741)]={constructor:tx,restart:function(e,n,t){const o=c;if(typeof e!==o(2001))throw new TypeError(o(1597));t=(t==null?vo():+t)+(n==null?0:+n),!this[o(807)]&&it!==this&&(it?it[o(807)]=this:$t=this,it=this),this[o(1602)]=e,this[o(1985)]=t,po()},stop:function(){const e=c;this._call&&(this._call=null,this[e(1985)]=1/0,po())}};function Ri(e,n,t){const o=c;var x=new tx;return x[o(906)](e,n,t),x}function df(){const e=c;vo(),++Nn;for(var n=$t,t;n;)(t=dn-n[e(1985)])>=0&&n._call.call(void 0,t),n=n._next;--Nn}function _i(){dn=(ex=at[c(2093)]())+nx,Nn=ot=0;try{df()}finally{Nn=0,ff(),dn=0}}function uf(){var e=at.now(),n=e-ex;n>Ki&&(nx-=n,ex=e)}function ff(){const e=c;for(var n,t=$t,o,x=1/0;t;)t[e(1602)]?(x>t._time&&(x=t[e(1985)]),n=t,t=t[e(807)]):(o=t._next,t[e(807)]=null,t=n?n[e(807)]=o:$t=o);it=n,po(x)}function po(e){const n=c;if(!Nn){ot&&(ot=clearTimeout(ot));var t=e-dn;t>24?(e<1/0&&(ot=setTimeout(_i,e-at[n(2093)]()-nx)),rt&&(rt=clearInterval(rt))):(rt||(ex=at[n(2093)](),rt=setInterval(uf,Ki)),Nn=1,Zi(_i))}}function Ji(e,n,t){const o=c;var x=new tx;return n=n==null?0:+n,x[o(906)](r=>{x[o(1459)](),e(r+n)},n,t),x}var bf=Ht("start",c(1364),c(1640),c(1286)),hf=[],Fi=0,Qi=1,zo=2,xx=3,$i=4,Co=5,ox=6;function rx(e,n,t,o,x,r){const i=c;var a=e[i(803)];if(!a)e.__transition={};else if(t in a)return;gf(e,t,{name:n,index:o,group:x,on:bf,tween:hf,time:r.time,delay:r[i(1521)],duration:r.duration,ease:r[i(758)],timer:null,state:Fi})}function Mo(e,n){const t=c;var o=z0(e,n);if(o[t(427)]>Fi)throw new Error(t(824));return o}function P0(e,n){const t=c;var o=z0(e,n);if(o[t(427)]>xx)throw new Error(t(1980));return o}function z0(e,n){var o=e[c(803)];if(!o||!(o=o[n]))throw new Error("transition not found");return o}function gf(e,n,t){const o=c;var x=e[o(803)],r;x[n]=t,t[o(478)]=Ri(i,0,t[o(1272)]);function i(u){const f=o;t[f(427)]=Qi,t[f(478)][f(906)](a,t[f(1521)],t[f(1272)]),t.delay<=u&&a(u-t[f(1521)])}function a(u){const f=o;var b,g,v,h;if(t[f(427)]!==Qi)return s();for(b in x)if(h=x[b],h[f(1932)]===t[f(1932)]){if(h[f(427)]===xx)return Ji(a);h.state===$i?(h[f(427)]=ox,h.timer.stop(),h.on[f(1382)](f(1286),e,e[f(411)],h[f(1175)],h.group),delete x[b]):+b<n&&(h[f(427)]=ox,h[f(478)][f(1459)](),h.on[f(1382)](f(1640),e,e[f(411)],h.index,h[f(1087)]),delete x[b])}if(Ji(function(){const w=f;t[w(427)]===xx&&(t[w(427)]=$i,t.timer[w(906)](d,t[w(1521)],t[w(1272)]),d(u))}),t[f(427)]=zo,t.on.call("start",e,e[f(411)],t[f(1175)],t[f(1087)]),t[f(427)]===zo){for(t[f(427)]=xx,r=new Array(v=t[f(1170)][f(922)]),b=0,g=-1;b<v;++b)(h=t[f(1170)][b][f(891)][f(1382)](e,e[f(411)],t[f(1175)],t[f(1087)]))&&(r[++g]=h);r[f(922)]=g+1}}function d(u){const f=o;for(var b=u<t[f(960)]?t.ease[f(1382)](null,u/t[f(960)]):(t[f(478)][f(906)](s),t.state=Co,1),g=-1,v=r.length;++g<v;)r[g].call(e,b);t[f(427)]===Co&&(t.on[f(1382)]("end",e,e[f(411)],t[f(1175)],t[f(1087)]),s())}function s(){const u=o;t[u(427)]=ox,t.timer[u(1459)](),delete x[n];for(var f in x)return;delete e[u(803)]}}function ix(e,n){const t=c;var o=e[t(803)],x,r,i=!0,a;if(o){n=n==null?null:n+"";for(a in o){if((x=o[a])[t(1932)]!==n){i=!1;continue}r=x.state>zo&&x[t(427)]<Co,x.state=ox,x[t(478)][t(1459)](),x.on[t(1382)](r?"interrupt":t(1640),e,e.__data__,x[t(1175)],x[t(1087)]),delete o[a]}i&&delete e.__transition}}function yf(e){return this[c(433)](function(){ix(this,e)})}function mf(e,n){var t,o;return function(){const x=_0x5092;var r=P0(this,e),i=r.tween;if(i!==t){o=t=i;for(var a=0,d=o[x(922)];a<d;++a)if(o[a][x(1932)]===n){o=o[x(2071)](),o.splice(a,1);break}}r[x(1170)]=o}}function wf(e,n,t){var o,x;if(typeof t!="function")throw new Error;return function(){const r=_0x5092;var i=P0(this,e),a=i.tween;if(a!==o){x=(o=a)[r(2071)]();for(var d={name:n,value:t},s=0,u=x.length;s<u;++s)if(x[s][r(1932)]===n){x[s]=d;break}s===u&&x[r(1843)](d)}i[r(1170)]=x}}function vf(e,n){const t=c;var o=this[t(468)];if(e+="",arguments[t(922)]<2){for(var x=z0(this[t(464)](),o)[t(1170)],r=0,i=x[t(922)],a;r<i;++r)if((a=x[r])[t(1932)]===e)return a[t(891)];return null}return this[t(433)]((n==null?mf:wf)(o,e,n))}function Bo(e,n,t){const o=c;var x=e[o(468)];return e[o(433)](function(){const r=o;var i=P0(this,x);(i[r(891)]||(i[r(891)]={}))[n]=t[r(1685)](this,arguments)}),function(r){const i=o;return z0(r,x)[i(891)][n]}}function ea(e,n){const t=c;var o;return(typeof n===t(935)?I0:n instanceof cn?Jt:(o=cn(n))?(n=o,Jt):Hi)(e,n)}function pf(e){return function(){this[_0x5092(717)](e)}}function zf(e){return function(){const n=_0x5092;this[n(2130)](e.space,e[n(1304)])}}function Cf(e,n,t){var o,x=t+"",r;return function(){var a=this[_0x5092(1241)](e);return a===x?null:a===o?r:r=n(o=a,t)}}function Mf(e,n,t){var o,x=t+"",r;return function(){const i=_0x5092;var a=this[i(1690)](e[i(635)],e[i(1304)]);return a===x?null:a===o?r:r=n(o=a,t)}}function Bf(e,n,t){var o,x,r;return function(){const i=_0x5092;var a,d=t(this),s;return d==null?void this[i(717)](e):(a=this[i(1241)](e),s=d+"",a===s?null:a===o&&s===x?r:(x=s,r=n(o=a,d)))}}function Df(e,n,t){var o,x,r;return function(){const i=_0x5092;var a,d=t(this),s;return d==null?void this.removeAttributeNS(e[i(635)],e[i(1304)]):(a=this.getAttributeNS(e.space,e[i(1304)]),s=d+"",a===s?null:a===o&&s===x?r:(x=s,r=n(o=a,d)))}}function Lf(e,n){const t=c;var o=Wt(e),x=o===t(2035)?rf:ea;return this.attrTween(e,typeof n===t(2001)?(o.local?Df:Bf)(o,x,Bo(this,t(1067)+e,n)):n==null?(o[t(1304)]?zf:pf)(o):(o[t(1304)]?Mf:Cf)(o,x,n))}function Sf(e,n){return function(t){const o=_0x5092;this[o(685)](e,n[o(1382)](this,t))}}function Nf(e,n){return function(t){const o=_0x5092;this[o(370)](e[o(635)],e[o(1304)],n.call(this,t))}}function kf(e,n){var t,o;function x(){var r=n.apply(this,arguments);return r!==o&&(t=(o=r)&&Nf(e,r)),t}return x._value=n,x}function If(e,n){const t=c;var o,x;function r(){var a=n[_0x5092(1685)](this,arguments);return a!==x&&(o=(x=a)&&Sf(e,a)),o}return r[t(1477)]=n,r}function Pf(e,n){const t=c;var o=t(1067)+e;if(arguments.length<2)return(o=this[t(1170)](o))&&o[t(1477)];if(n==null)return this[t(1170)](o,null);if(typeof n!==t(2001))throw new Error;var x=Wt(e);return this[t(1170)](o,(x.local?kf:If)(x,n))}function jf(e,n){return function(){const t=_0x5092;Mo(this,e)[t(1521)]=+n.apply(this,arguments)}}function Af(e,n){return n=+n,function(){Mo(this,e).delay=n}}function Ef(e){const n=c;var t=this._id;return arguments.length?this[n(433)]((typeof e===n(2001)?jf:Af)(t,e)):z0(this[n(464)](),t)[n(1521)]}function Yf(e,n){return function(){const t=_0x5092;P0(this,e)[t(960)]=+n.apply(this,arguments)}}function Uf(e,n){return n=+n,function(){const t=_0x5092;P0(this,e)[t(960)]=n}}function Of(e){const n=c;var t=this[n(468)];return arguments[n(922)]?this[n(433)]((typeof e===n(2001)?Yf:Uf)(t,e)):z0(this[n(464)](),t)[n(960)]}function Gf(e,n){const t=c;if(typeof n!==t(2001))throw new Error;return function(){const o=t;P0(this,e)[o(758)]=n}}function Tf(e){const n=c;var t=this[n(468)];return arguments[n(922)]?this[n(433)](Gf(t,e)):z0(this[n(464)](),t)[n(758)]}function Hf(e,n){return function(){const t=_0x5092;var o=n.apply(this,arguments);if(typeof o!==t(2001))throw new Error;P0(this,e).ease=o}}function Vf(e){if(typeof e!==c(2001))throw new Error;return this.each(Hf(this._id,e))}function Wf(e){const n=c;typeof e!="function"&&(e=yi(e));for(var t=this[n(444)],o=t[n(922)],x=new Array(o),r=0;r<o;++r)for(var i=t[r],a=i[n(922)],d=x[r]=[],s,u=0;u<a;++u)(s=i[u])&&e[n(1382)](s,s[n(411)],u,i)&&d[n(1843)](s);return new O0(x,this[n(2006)],this[n(910)],this._id)}function qf(e){const n=c;if(e[n(468)]!==this[n(468)])throw new Error;for(var t=this[n(444)],o=e[n(444)],x=t[n(922)],r=o[n(922)],i=Math[n(1724)](x,r),a=new Array(x),d=0;d<i;++d)for(var s=t[d],u=o[d],f=s.length,b=a[d]=new Array(f),g,v=0;v<f;++v)(g=s[v]||u[v])&&(b[v]=g);for(;d<x;++d)a[d]=t[d];return new O0(a,this[n(2006)],this._name,this[n(468)])}function Xf(e){const n=c;return(e+"")[n(583)]()[n(2105)](/^|\s+/).every(function(t){const o=n;var x=t[o(1357)](".");return x>=0&&(t=t[o(2071)](0,x)),!t||t===o(671)})}function Kf(e,n,t){var o,x,r=Xf(n)?Mo:P0;return function(){const i=_0x5092;var a=r(this,e),d=a.on;d!==o&&(x=(o=d)[i(2038)]()).on(n,t),a.on=x}}function Zf(e,n){const t=c;var o=this[t(468)];return arguments.length<2?z0(this[t(464)](),o).on.on(e):this[t(433)](Kf(o,e,n))}function Rf(e){return function(){const n=_0x5092;var t=this[n(1037)];for(var o in this[n(803)])if(+o!==e)return;t&&t[n(1919)](this)}}function _f(){const e=c;return this.on(e(1260),Rf(this[e(468)]))}function Jf(e){const n=c;var t=this._name,o=this[n(468)];typeof e!==n(2001)&&(e=co(e));for(var x=this._groups,r=x[n(922)],i=new Array(r),a=0;a<r;++a)for(var d=x[a],s=d[n(922)],u=i[a]=new Array(s),f,b,g=0;g<s;++g)(f=d[g])&&(b=e[n(1382)](f,f.__data__,g,d))&&("__data__"in f&&(b[n(411)]=f[n(411)]),u[g]=b,rx(u[g],t,o,g,u,z0(f,o)));return new O0(i,this[n(2006)],t,o)}function Ff(e){const n=c;var t=this[n(910)],o=this._id;typeof e!==n(2001)&&(e=gi(e));for(var x=this[n(444)],r=x[n(922)],i=[],a=[],d=0;d<r;++d)for(var s=x[d],u=s[n(922)],f,b=0;b<u;++b)if(f=s[b]){for(var g=e[n(1382)](f,f[n(411)],b,s),v,h=z0(f,o),w=0,M=g[n(922)];w<M;++w)(v=g[w])&&rx(v,t,o,w,g,h);i.push(g),a[n(1843)](f)}return new O0(i,a,t,o)}var Qf=Qn[c(1741)][c(1711)];function $f(){const e=c;return new Qf(this[e(444)],this[e(2006)])}function e5(e,n){var t,o,x;return function(){const r=_0x5092;var i=Dn(this,e),a=(this[r(598)][r(750)](e),Dn(this,e));return i===a?null:i===t&&a===o?x:x=n(t=i,o=a)}}function na(e){return function(){const n=_0x5092;this[n(598)][n(750)](e)}}function n5(e,n,t){var o,x=t+"",r;return function(){var i=Dn(this,e);return i===x?null:i===o?r:r=n(o=i,t)}}function t5(e,n,t){var o,x,r;return function(){const i=_0x5092;var a=Dn(this,e),d=t(this),s=d+"";return d==null&&(s=d=(this[i(598)][i(750)](e),Dn(this,e))),a===s?null:a===o&&s===x?r:(x=s,r=n(o=a,d))}}function x5(e,n){const t=c;var o,x,r,i=t(1674)+n,a=t(1316)+i,d;return function(){const s=t;var u=P0(this,e),f=u.on,b=u[s(891)][i]==null?d||(d=na(n)):void 0;(f!==o||r!==b)&&(x=(o=f)[s(2038)]()).on(a,r=b),u.on=x}}function o5(e,n,t){const o=c;var x=(e+="")=="transform"?of:ea;return n==null?this[o(1423)](e,e5(e,x)).on(o(638)+e,na(e)):typeof n===o(2001)?this[o(1423)](e,t5(e,x,Bo(this,o(1674)+e,n))).each(x5(this._id,e)):this.styleTween(e,n5(e,x,n),t).on(o(638)+e,null)}function r5(e,n,t){return function(o){const x=_0x5092;this.style[x(2026)](e,n.call(this,o),t)}}function i5(e,n,t){const o=c;var x,r;function i(){var d=n[_0x5092(1685)](this,arguments);return d!==r&&(x=(r=d)&&r5(e,d,t)),x}return i[o(1477)]=n,i}function a5(e,n,t){const o=c;var x=o(1674)+(e+="");if(arguments.length<2)return(x=this[o(1170)](x))&&x._value;if(n==null)return this[o(1170)](x,null);if(typeof n!==o(2001))throw new Error;return this.tween(x,i5(e,n,t??""))}function c5(e){return function(){this.textContent=e}}function s5(e){return function(){const n=_0x5092;var t=e(this);this[n(1824)]=t??""}}function l5(e){const n=c;return this[n(1170)](n(1992),typeof e=="function"?s5(Bo(this,n(1992),e)):c5(e==null?"":e+""))}function d5(e){return function(n){const t=_0x5092;this[t(1824)]=e[t(1382)](this,n)}}function u5(e){const n=c;var t,o;function x(){var i=e[_0x5092(1685)](this,arguments);return i!==o&&(t=(o=i)&&d5(i)),t}return x[n(1477)]=e,x}function f5(e){const n=c;var t=n(1992);if(arguments[n(922)]<1)return(t=this[n(1170)](t))&&t[n(1477)];if(e==null)return this[n(1170)](t,null);if(typeof e!==n(2001))throw new Error;return this[n(1170)](t,u5(e))}function b5(){const e=c;for(var n=this[e(910)],t=this[e(468)],o=ta(),x=this[e(444)],r=x[e(922)],i=0;i<r;++i)for(var a=x[i],d=a.length,s,u=0;u<d;++u)if(s=a[u]){var f=z0(s,t);rx(s,n,o,u,a,{time:f[e(1272)]+f[e(1521)]+f[e(960)],delay:0,duration:f[e(960)],ease:f.ease})}return new O0(x,this._parents,n,o)}function h5(){const e=c;var n,t,o=this,x=o._id,r=o[e(1876)]();return new Promise(function(i,a){const d=e;var s={value:a},u={value:function(){--r===0&&i()}};o[d(433)](function(){const f=d;var b=P0(this,x),g=b.on;g!==n&&(t=(n=g)[f(2038)](),t._[f(1640)][f(1843)](s),t._[f(1286)][f(1843)](s),t._.end[f(1843)](u)),b.on=t}),r===0&&i()})}var g5=0;function O0(e,n,t,o){const x=c;this[x(444)]=e,this[x(2006)]=n,this[x(910)]=t,this._id=o}function ta(){return++g5}var G0=Qn[c(1741)];O0[c(1741)]={constructor:O0,select:Jf,selectAll:Ff,selectChild:G0[c(449)],selectChildren:G0.selectChildren,filter:Wf,merge:qf,selection:$f,transition:b5,call:G0[c(1382)],nodes:G0[c(2102)],node:G0[c(464)],size:G0[c(1876)],empty:G0[c(492)],each:G0[c(433)],on:Zf,attr:Lf,attrTween:Pf,style:o5,styleTween:a5,text:l5,textTween:f5,remove:_f,tween:vf,delay:Ef,duration:Of,ease:Tf,easeVarying:Vf,end:h5,[Symbol.iterator]:G0[Symbol[c(1577)]]};function y5(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var m5={time:null,delay:0,duration:250,ease:y5};function w5(e,n){const t=c;for(var o;!(o=e[t(803)])||!(o=o[n]);)if(!(e=e[t(1037)]))throw new Error(t(324)+n+" not found");return o}function v5(e){const n=c;var t,o;e instanceof O0?(t=e[n(468)],e=e[n(910)]):(t=ta(),(o=m5)[n(1272)]=vo(),e=e==null?null:e+"");for(var x=this[n(444)],r=x[n(922)],i=0;i<r;++i)for(var a=x[i],d=a[n(922)],s,u=0;u<d;++u)(s=a[u])&&rx(s,e,t,u,a,o||w5(s,t));return new O0(x,this[n(2006)],e,t)}Qn[c(1741)].interrupt=yf,Qn[c(1741)].transition=v5;const ax=e=>()=>e;function p5(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 T0(e,n,t){this.k=e,this.x=n,this.y=t}T0[c(1741)]={constructor:T0,scale:function(e){return e===1?this:new T0(this.k*e,this.x,this.y)},translate:function(e,n){return e===0&n===0?this:new T0(this.k,this.x+this.k*e,this.y+this.k*n)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){const n=c;return e.copy()[n(610)](e[n(493)]().map(this[n(335)],this)[n(692)](e[n(1448)],e))},rescaleY:function(e){const n=c;return e.copy()[n(610)](e[n(493)]()[n(692)](this[n(728)],this)[n(692)](e[n(1448)],e))},toString:function(){const e=c;return"translate("+this.x+","+this.y+e(1565)+this.k+")"}};var cx=new T0(1,0,0);xa[c(1741)]=T0.prototype;function xa(e){const n=c;for(;!e.__zoom;)if(!(e=e[n(1037)]))return cx;return e[n(688)]}function Do(e){e[c(1370)]()}function ct(e){const n=c;e[n(1784)](),e[n(1370)]()}function z5(e){const n=c;return(!e[n(526)]||e[n(443)]==="wheel")&&!e.button}function C5(){const e=c;var n=this;return n instanceof SVGElement?(n=n[e(1611)]||n,n[e(404)]("viewBox")?(n=n[e(1922)][e(557)],[[n.x,n.y],[n.x+n[e(533)],n.y+n[e(946)]]]):[[0,0],[n.width[e(557)].value,n.height[e(557)][e(891)]]]):[[0,0],[n[e(1328)],n.clientHeight]]}function oa(){return this[c(688)]||cx}function M5(e){const n=c;return-e[n(402)]*(e[n(727)]===1?.05:e[n(727)]?1:.002)*(e[n(526)]?10:1)}function B5(){return navigator[c(346)]||"ontouchstart"in this}function D5(e,n,t){const o=c;var x=e.invertX(n[0][0])-t[0][0],r=e[o(335)](n[1][0])-t[1][0],i=e.invertY(n[0][1])-t[0][1],a=e[o(728)](n[1][1])-t[1][1];return e[o(604)](r>x?(x+r)/2:Math[o(1724)](0,x)||Math[o(1167)](0,r),a>i?(i+a)/2:Math[o(1724)](0,i)||Math[o(1167)](0,a))}function ra(){const e=c;var n=z5,t=C5,o=D5,x=M5,r=B5,i=[0,1/0],a=[[-1/0,-1/0],[1/0,1/0]],d=250,s=Qt,u=Ht("start",e(1760),e(1364)),f,b,g,v=500,h=150,w=0,M=10;function m(S){const L=e;S.property(L(688),oa).on("wheel.zoom",H,{passive:!1}).on(L(991),E).on(L(329),V)[L(568)](r).on(L(782),W).on("touchmove.zoom",q).on(L(1978),T)[L(598)](L(949),L(2010))}m[e(2035)]=function(S,L,D,Y){const A=e;var P=S.selection?S[A(325)]():S;P.property(A(688),oa),S!==P?k(S,L,D,Y):P[A(1286)]()[A(433)](function(){const _=A;O(this,arguments)[_(556)](Y).start().zoom(null,typeof L===_(2001)?L.apply(this,arguments):L).end()})},m[e(1350)]=function(S,L,D,Y){m.scaleTo(S,function(){const A=_0x5092;var P=this[A(688)].k,_=typeof L===A(2001)?L[A(1685)](this,arguments):L;return P*_},D,Y)},m[e(1617)]=function(S,L,D,Y){m.transform(S,function(){const A=_0x5092;var P=t[A(1685)](this,arguments),_=this[A(688)],$=D==null?p(P):typeof D===A(2001)?D[A(1685)](this,arguments):D,ee=_[A(1448)]($),xe=typeof L===A(2001)?L.apply(this,arguments):L;return o(z(y(_,xe),$,ee),P,a)},D,Y)},m.translateBy=function(S,L,D,Y){const A=e;m[A(2035)](S,function(){const P=A;return o(this[P(688)][P(604)](typeof L===P(2001)?L[P(1685)](this,arguments):L,typeof D=="function"?D[P(1685)](this,arguments):D),t[P(1685)](this,arguments),a)},null,Y)},m[e(574)]=function(S,L,D,Y,A){const P=e;m[P(2035)](S,function(){const _=P;var $=t.apply(this,arguments),ee=this[_(688)],xe=Y==null?p($):typeof Y=="function"?Y[_(1685)](this,arguments):Y;return o(cx[_(604)](xe[0],xe[1])[_(2029)](ee.k)[_(604)](typeof L===_(2001)?-L.apply(this,arguments):-L,typeof D===_(2001)?-D.apply(this,arguments):-D),$,a)},Y,A)};function y(S,L){const D=e;return L=Math.max(i[0],Math[D(1724)](i[1],L)),L===S.k?S:new T0(L,S.x,S.y)}function z(S,L,D){var Y=L[0]-D[0]*S.k,A=L[1]-D[1]*S.k;return Y===S.x&&A===S.y?S:new T0(S.k,Y,A)}function p(S){return[(+S[0][0]+ +S[1][0])/2,(+S[0][1]+ +S[1][1])/2]}function k(S,L,D,Y){const A=e;S.on(A(1660),function(){const P=A;O(this,arguments)[P(556)](Y)[P(671)]()}).on("interrupt.zoom end.zoom",function(){const P=A;O(this,arguments)[P(556)](Y)[P(1364)]()})[A(1170)](A(1760),function(){const P=A;var _=this,$=arguments,ee=O(_,$).event(Y),xe=t[P(1685)](_,$),re=D==null?p(xe):typeof D===P(2001)?D[P(1685)](_,$):D,ce=Math[P(1167)](xe[1][0]-xe[0][0],xe[1][1]-xe[0][1]),fe=_.__zoom,we=typeof L===P(2001)?L[P(1685)](_,$):L,le=s(fe[P(1448)](re).concat(ce/fe.k),we[P(1448)](re)[P(1199)](ce/we.k));return function(Q){const se=P;if(Q===1)Q=we;else{var he=le(Q),U=ce/he[2];Q=new T0(U,re[0]-he[0]*U,re[1]-he[1]*U)}ee[se(1760)](null,Q)}})}function O(S,L,D){return!D&&S[e(1873)]||new G(S,L)}function G(S,L){const D=e;this.that=S,this[D(1326)]=L,this[D(531)]=0,this[D(439)]=null,this[D(1968)]=t[D(1685)](S,L),this.taps=0}G[e(1741)]={event:function(S){const L=e;return S&&(this[L(439)]=S),this},start:function(){const S=e;return++this[S(531)]===1&&(this.that[S(1873)]=this,this[S(1930)](S(671))),this},zoom:function(S,L){const D=e;return this[D(632)]&&S!==D(632)&&(this[D(632)][1]=L[D(1448)](this[D(632)][0])),this[D(1039)]&&S!==D(2126)&&(this[D(1039)][1]=L.invert(this[D(1039)][0])),this[D(1190)]&&S!=="touch"&&(this[D(1190)][1]=L[D(1448)](this[D(1190)][0])),this[D(1636)][D(688)]=L,this.emit(D(1760)),this},end:function(){const S=e;return--this[S(531)]===0&&(delete this.that[S(1873)],this.emit(S(1364))),this},emit:function(S){const L=e;var D=u0(this[L(1636)])[L(588)]();u[L(1382)](S,this[L(1636)],new p5(S,{sourceEvent:this[L(439)],target:m,transform:this[L(1636)].__zoom,dispatch:u}),D)}};function H(S,...L){const D=e;if(!n[D(1685)](this,arguments))return;var Y=O(this,L)[D(556)](S),A=this[D(688)],P=Math[D(1167)](i[0],Math.min(i[1],A.k*Math[D(656)](2,x[D(1685)](this,arguments)))),_=v0(S);if(Y[D(2011)])(Y.mouse[0][0]!==_[0]||Y.mouse[0][1]!==_[1])&&(Y.mouse[1]=A[D(1448)](Y[D(632)][0]=_)),clearTimeout(Y.wheel);else{if(A.k===P)return;Y[D(632)]=[_,A[D(1448)](_)],ix(this),Y[D(671)]()}ct(S),Y.wheel=setTimeout($,h),Y.zoom(D(632),o(z(y(A,P),Y[D(632)][0],Y[D(632)][1]),Y[D(1968)],a));function $(){const ee=D;Y[ee(2011)]=null,Y.end()}}function E(S,...L){const D=e;if(g||!n[D(1685)](this,arguments))return;var Y=S[D(1942)],A=O(this,L,!0)[D(556)](S),P=u0(S.view).on("mousemove.zoom",xe,!0).on("mouseup.zoom",re,!0),_=v0(S,Y),$=S.clientX,ee=S.clientY;Li(S[D(2005)]),Do(S),A.mouse=[_,this[D(688)][D(1448)](_)],ix(this),A.start();function xe(ce){const fe=D;if(ct(ce),!A.moved){var we=ce[fe(986)]-$,le=ce.clientY-ee;A[fe(1592)]=we*we+le*le>w}A[fe(556)](ce).zoom(fe(632),o(z(A.that[fe(688)],A[fe(632)][0]=v0(ce,Y),A.mouse[1]),A[fe(1968)],a))}function re(ce){const fe=D;P.on("mousemove.zoom mouseup.zoom",null),Si(ce.view,A[fe(1592)]),ct(ce),A[fe(556)](ce)[fe(1364)]()}}function V(S,...L){const D=e;if(n[D(1685)](this,arguments)){var Y=this[D(688)],A=v0(S.changedTouches?S[D(322)][0]:S,this),P=Y[D(1448)](A),_=Y.k*(S[D(931)]?.5:2),$=o(z(y(Y,_),A,P),t.apply(this,L),a);ct(S),d>0?u0(this).transition().duration(d)[D(1382)](k,$,A,S):u0(this)[D(1382)](m[D(2035)],$,A,S)}}function W(S,...L){const D=e;if(n.apply(this,arguments)){var Y=S.touches,A=Y[D(922)],P=O(this,L,S.changedTouches[D(922)]===A)[D(556)](S),_,$,ee,xe;for(Do(S),$=0;$<A;++$)ee=Y[$],xe=v0(ee,this),xe=[xe,this.__zoom.invert(xe),ee.identifier],P[D(1039)]?!P[D(1190)]&&P[D(1039)][2]!==xe[2]&&(P[D(1190)]=xe,P[D(840)]=0):(P[D(1039)]=xe,_=!0,P[D(840)]=1+!!f);f&&(f=clearTimeout(f)),_&&(P[D(840)]<2&&(b=xe[0],f=setTimeout(function(){f=null},v)),ix(this),P[D(671)]())}}function q(S,...L){const D=e;if(this[D(1873)]){var Y=O(this,L)[D(556)](S),A=S[D(322)],P=A[D(922)],_,$,ee,xe;for(ct(S),_=0;_<P;++_)$=A[_],ee=v0($,this),Y[D(1039)]&&Y[D(1039)][2]===$[D(1635)]?Y[D(1039)][0]=ee:Y[D(1190)]&&Y.touch1[2]===$[D(1635)]&&(Y.touch1[0]=ee);if($=Y.that[D(688)],Y.touch1){var re=Y[D(1039)][0],ce=Y[D(1039)][1],fe=Y.touch1[0],we=Y[D(1190)][1],le=(le=fe[0]-re[0])*le+(le=fe[1]-re[1])*le,Q=(Q=we[0]-ce[0])*Q+(Q=we[1]-ce[1])*Q;$=y($,Math.sqrt(le/Q)),ee=[(re[0]+fe[0])/2,(re[1]+fe[1])/2],xe=[(ce[0]+we[0])/2,(ce[1]+we[1])/2]}else if(Y[D(1039)])ee=Y[D(1039)][0],xe=Y[D(1039)][1];else return;Y[D(1760)](D(2126),o(z($,ee,xe),Y.extent,a))}}function T(S,...L){const D=e;if(this[D(1873)]){var Y=O(this,L).event(S),A=S[D(322)],P=A.length,_,$;for(Do(S),g&&clearTimeout(g),g=setTimeout(function(){g=null},v),_=0;_<P;++_)$=A[_],Y.touch0&&Y[D(1039)][2]===$[D(1635)]?delete Y[D(1039)]:Y.touch1&&Y[D(1190)][2]===$[D(1635)]&&delete Y[D(1190)];if(Y[D(1190)]&&!Y[D(1039)]&&(Y[D(1039)]=Y[D(1190)],delete Y[D(1190)]),Y[D(1039)])Y[D(1039)][1]=this.__zoom[D(1448)](Y.touch0[0]);else if(Y[D(1364)](),Y.taps===2&&($=v0($,this),Math[D(1324)](b[0]-$[0],b[1]-$[1])<M)){var ee=u0(this).on(D(329));ee&&ee[D(1685)](this,arguments)}}}return m[e(1822)]=function(S){return arguments.length?(x=typeof S=="function"?S:ax(+S),m):x},m.filter=function(S){return arguments[e(922)]?(n=typeof S=="function"?S:ax(!!S),m):n},m[e(964)]=function(S){const L=e;return arguments[L(922)]?(r=typeof S===L(2001)?S:ax(!!S),m):r},m[e(1968)]=function(S){return arguments[e(922)]?(t=typeof S=="function"?S:ax([[+S[0][0],+S[0][1]],[+S[1][0],+S[1][1]]]),m):t},m[e(1267)]=function(S){return arguments[e(922)]?(i[0]=+S[0],i[1]=+S[1],m):[i[0],i[1]]},m[e(752)]=function(S){return arguments.length?(a[0][0]=+S[0][0],a[1][0]=+S[1][0],a[0][1]=+S[0][1],a[1][1]=+S[1][1],m):[[a[0][0],a[0][1]],[a[1][0],a[1][1]]]},m.constrain=function(S){return arguments[e(922)]?(o=S,m):o},m[e(960)]=function(S){return arguments[e(922)]?(d=+S,m):d},m.interpolate=function(S){return arguments[e(922)]?(s=S,m):s},m.on=function(){var S=u.on.apply(u,arguments);return S===u?m:S},m[e(1596)]=function(S){const L=e;return arguments.length?(w=(S=+S)*S,m):Math[L(1419)](w)},m[e(345)]=function(S){return arguments[e(922)]?(M=+S,m):M},m}const f0={error001:()=>c(1111),error002:()=>"It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",error003:e=>c(354)+e+c(1222),error004:()=>c(1673),error005:()=>c(1275),error006:()=>"Can't create edge. An edge needs a source and a target.",error007:e=>c(1218)+e+c(1162),error009:e=>c(615)+e+c(1456),error008:(e,{id:n,sourceHandle:t,targetHandle:o})=>c(892)+e+' handle id: "'+(e==="source"?t:o)+c(1633)+n+".",error010:()=>c(1792),error011:e=>'Edge type "'+e+c(1222),error012:e=>'Node with id "'+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=c(396))=>c(687)+e+"/dist/style.css' or base.css to make sure everything is working properly.",error014:()=>"useNodeConnections: No node ID found. Call useNodeConnections inside a custom Node or provide a node ID.",error015:()=>"It seems that you are trying to drag a node that is not initialized. Please use onNodesChange as explained in the docs."},st=[[Number.NEGATIVE_INFINITY,Number[c(1053)]],[Number[c(2143)],Number[c(2143)]]],ia=["Enter"," ","Escape"],aa={"node.a11yDescription.default":c(1168),"node.a11yDescription.keyboardDisabled":"Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.","node.a11yDescription.ariaLiveMessage":({direction:e,x:n,y:t})=>"Moved selected node "+e+c(415)+n+", y: "+t,"edge.a11yDescription.default":"Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.","controls.ariaLabel":c(1043),"controls.zoomIn.ariaLabel":c(818),"controls.zoomOut.ariaLabel":c(498),"controls.fitView.ariaLabel":c(822),"controls.interactive.ariaLabel":c(387),"minimap.ariaLabel":"Mini Map","handle.ariaLabel":c(1921)};var kn;(function(e){const n=c;e[n(1083)]=n(1300),e[n(595)]=n(1441)})(kn||(kn={}));var un;(function(e){const n=c;e[n(2042)]=n(1512),e[n(2107)]=n(1736),e[n(2120)]=n(2086)})(un||(un={}));var lt;(function(e){const n=c;e[n(1719)]=n(789),e.Full=n(1756)})(lt||(lt={}));const ca={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=c;e.Bezier=n(1262),e[n(1754)]=n(1905),e[n(765)]=n(1839),e[n(1473)]=n(1868),e.SimpleBezier=n(1322)})(R0||(R0={}));var sx;(function(e){const n=c;e[n(2016)]=n(827),e[n(1523)]=n(339)})(sx||(sx={}));var pe;(function(e){const n=c;e[n(628)]=n(761),e[n(2115)]=n(1532),e[n(1066)]=n(1566),e.Bottom=n(1077)})(pe||(pe={}));const sa={[pe[c(628)]]:pe[c(1066)],[pe[c(1066)]]:pe[c(628)],[pe[c(2115)]]:pe.Bottom,[pe.Bottom]:pe[c(2115)]};function la(e){const n=c;return e===null?null:n(e?514:1095)}const da=e=>"id"in e&&c(1858)in e&&c(1233)in e,L5=e=>"id"in e&&c(845)in e&&!(c(1858)in e)&&!(c(1233)in e),Lo=e=>"id"in e&&c(821)in e&&!(c(1858)in e)&&!(c(1233)in e),dt=(e,n=[0,0])=>{const t=c,{width:o,height:x}=H0(e),r=e[t(2083)]??n,i=o*r[0],a=x*r[1];return{x:e[t(845)].x-i,y:e[t(845)].y-a}},S5=(e,n={nodeOrigin:[0,0]})=>{const t=c;if(process.env.NODE_ENV===t(1026)&&!n.nodeLookup&&console[t(999)](t(1831)),e.length===0)return{x:0,y:0,width:0,height:0};const o=e[t(1046)]((x,r)=>{const i=t,a=typeof r===i(455);let d=!n[i(1684)]&&!a?r:void 0;n[i(1684)]&&(d=a?n[i(1684)][i(509)](r):Lo(r)?r:n[i(1684)][i(509)](r.id));const s=d?ux(d,n[i(1011)]):{x:0,y:0,x2:0,y2:0};return lx(x,s)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return dx(o)},ut=(e,n={})=>{const t=c;let o={x:1/0,y:1/0,x2:-1/0,y2:-1/0},x=!1;return e[t(467)](r=>{(n[t(568)]===void 0||n.filter(r))&&(o=lx(o,ux(r)),x=!0)}),x?dx(o):{x:0,y:0,width:0,height:0}},So=(e,n,[t,o,x]=[0,0,1],r=!1,i=!1)=>{const a=c,d={...ht(n,[t,o,x]),width:n[a(533)]/x,height:n.height/x},s=[];for(const u of e[a(352)]()){const{measured:f,selectable:b=!0,hidden:g=!1}=u;if(i&&!b||g)continue;const v=f[a(533)]??u[a(533)]??u[a(458)]??null,h=f[a(946)]??u[a(946)]??u[a(2163)]??null,w=ft(d,Pn(u)),M=(v??0)*(h??0),m=r&&w>0;(!u.internals[a(2087)]||m||w>=M||u[a(1910)])&&s[a(1843)](u)}return s},N5=(e,n)=>{const t=c,o=new Set;return e[t(467)](x=>{o.add(x.id)}),n.filter(x=>o[t(1308)](x.source)||o.has(x[t(1233)]))};function k5(e,n){const t=c,o=new Map,x=n?.nodes?new Set(n[t(2102)][t(692)](r=>r.id)):null;return e[t(467)](r=>{const i=t;r.measured[i(533)]&&r[i(529)][i(946)]&&(n?.includeHiddenNodes||!r[i(1140)])&&(!x||x[i(1308)](r.id))&&o.set(r.id,r)}),o}async function I5({nodes:e,width:n,height:t,panZoom:o,minZoom:x,maxZoom:r},i){const a=c;if(e.size===0)return Promise[a(1887)](!0);const d=k5(e,i),s=ut(d),u=ko(s,n,t,i?.[a(1598)]??x,i?.[a(1580)]??r,i?.[a(1446)]??.1);return await o[a(1153)](u,{duration:i?.duration,ease:i?.ease,interpolate:i?.interpolate}),Promise[a(1887)](!0)}function ua({nodeId:e,nextPosition:n,nodeLookup:t,nodeOrigin:o=[0,0],nodeExtent:x,onError:r}){const i=c,a=t[i(509)](e),d=a[i(1590)]?t[i(509)](a[i(1590)]):void 0,{x:s,y:u}=d?d.internals[i(1452)]:{x:0,y:0},f=a.origin??o;let b=a.extent||x;if(a[i(1968)]===i(877)&&!a[i(773)])if(!d)r?.(i(1614),f0[i(735)]());else{const v=d[i(529)].width,h=d[i(529)][i(946)];v&&h&&(b=[[s,u],[s+v,u+h]])}else d&&An(a[i(1968)])&&(b=[[a[i(1968)][0][0]+s,a[i(1968)][0][1]+u],[a[i(1968)][1][0]+s,a[i(1968)][1][1]+u]]);const g=An(b)?fn(n,b,a.measured):n;return(a.measured.width===void 0||a.measured[i(946)]===void 0)&&r?.(i(1974),f0[i(1472)]()),{position:{x:g.x-s+(a.measured.width??0)*f[0],y:g.y-u+(a[i(529)][i(946)]??0)*f[1]},positionAbsolute:g}}async function P5({nodesToRemove:e=[],edgesToRemove:n=[],nodes:t,edges:o,onBeforeDelete:x}){const r=c,i=new Set(e.map(g=>g.id)),a=[];for(const g of t){if(g.deletable===!1)continue;const v=i[r(1308)](g.id),h=!v&&g[r(1590)]&&a[r(1945)](w=>w.id===g[r(1590)]);(v||h)&&a[r(1843)](g)}const d=new Set(n[r(692)](g=>g.id)),s=o[r(568)](g=>g.deletable!==!1),u=N5(a,s),f=u;for(const g of s)d[r(1308)](g.id)&&!f[r(1945)](h=>h.id===g.id)&&f[r(1843)](g);if(!x)return{edges:f,nodes:a};const b=await x({nodes:a,edges:f});return typeof b===r(2008)?b?{edges:f,nodes:a}:{edges:[],nodes:[]}:b}const In=(e,n=0,t=1)=>Math[c(1724)](Math.max(e,n),t),fn=(e={x:0,y:0},n,t)=>({x:In(e.x,n[0][0],n[1][0]-(t?.width??0)),y:In(e.y,n[0][1],n[1][1]-(t?.[c(946)]??0))});function fa(e,n,t){const o=c,{width:x,height:r}=H0(t),{x:i,y:a}=t[o(821)][o(1452)];return fn(e,[[i,a],[i+x,a+r]],n)}const ba=(e,n,t)=>{const o=c;return e<n?In(Math[o(1785)](e-n),1,n)/n:e>t?-In(Math.abs(e-t),1,n)/n:0},ha=(e,n,t=15,o=40)=>{const x=ba(e.x,o,n.width-o)*t,r=ba(e.y,o,n.height-o)*t;return[x,r]},lx=(e,n)=>({x:Math[c(1724)](e.x,n.x),y:Math[c(1724)](e.y,n.y),x2:Math.max(e.x2,n.x2),y2:Math[c(1167)](e.y2,n.y2)}),No=({x:e,y:n,width:t,height:o})=>({x:e,y:n,x2:e+t,y2:n+o}),dx=({x:e,y:n,x2:t,y2:o})=>({x:e,y:n,width:t-e,height:o-n}),Pn=(e,n=[0,0])=>{const t=c,{x:o,y:x}=Lo(e)?e[t(821)][t(1452)]:dt(e,n);return{x:o,y:x,width:e[t(529)]?.width??e[t(533)]??e[t(458)]??0,height:e[t(529)]?.[t(946)]??e.height??e.initialHeight??0}},ux=(e,n=[0,0])=>{const t=c,{x:o,y:x}=Lo(e)?e[t(821)].positionAbsolute:dt(e,n);return{x:o,y:x,x2:o+(e[t(529)]?.width??e[t(533)]??e[t(458)]??0),y2:x+(e[t(529)]?.[t(946)]??e[t(946)]??e[t(2163)]??0)}},ga=(e,n)=>dx(lx(No(e),No(n))),ft=(e,n)=>{const t=c,o=Math[t(1167)](0,Math.min(e.x+e[t(533)],n.x+n[t(533)])-Math[t(1167)](e.x,n.x)),x=Math.max(0,Math.min(e.y+e[t(946)],n.y+n[t(946)])-Math[t(1167)](e.y,n.y));return Math.ceil(o*x)},ya=e=>C0(e.width)&&C0(e[c(946)])&&C0(e.x)&&C0(e.y),C0=e=>!isNaN(e)&&isFinite(e),ma=(e,n)=>{const t=c;process.env.NODE_ENV===t(1026)&&console[t(999)](t(848)+n+t(320)+e)},bt=(e,n=[1,1])=>{const t=c;return{x:n[0]*Math[t(1707)](e.x/n[0]),y:n[1]*Math[t(1707)](e.y/n[1])}},ht=({x:e,y:n},[t,o,x],r=!1,i=[1,1])=>{const a={x:(e-t)/x,y:(n-o)/x};return r?bt(a,i):a},fx=({x:e,y:n},[t,o,x])=>({x:e*x+t,y:n*x+o});function jn(e,n){const t=c;if(typeof e=="number")return Math[t(769)]((n-n/(1+e))*.5);if(typeof e=="string"&&e.endsWith("px")){const o=parseFloat(e);if(!Number[t(1889)](o))return Math[t(769)](o)}if(typeof e===t(455)&&e.endsWith("%")){const o=parseFloat(e);if(!Number[t(1889)](o))return Math[t(769)](n*o*.01)}return console[t(1049)](t(839)+e+t(432)),0}function j5(e,n,t){const o=c;if(typeof e===o(455)||typeof e===o(935)){const x=jn(e,t),r=jn(e,n);return{top:x,right:r,bottom:x,left:r,x:r*2,y:x*2}}if(typeof e===o(793)){const x=jn(e[o(1532)]??e.y??0,t),r=jn(e[o(1077)]??e.y??0,t),i=jn(e.left??e.x??0,n),a=jn(e.right??e.x??0,n);return{top:x,right:a,bottom:r,left:i,x:i+a,y:x+r}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function A5(e,n,t,o,x,r){const i=c,{x:a,y:d}=fx(e,[n,t,o]),{x:s,y:u}=fx({x:e.x+e[i(533)],y:e.y+e[i(946)]},[n,t,o]),f=x-s,b=r-u;return{left:Math[i(769)](a),top:Math[i(769)](d),right:Math[i(769)](f),bottom:Math[i(769)](b)}}const ko=(e,n,t,o,x,r)=>{const i=c,a=j5(r,n,t),d=(n-a.x)/e[i(533)],s=(t-a.y)/e[i(946)],u=Math[i(1724)](d,s),f=In(u,o,x),b=e.x+e.width/2,g=e.y+e[i(946)]/2,v=n/2-b*f,h=t/2-g*f,w=A5(e,v,h,f,n,t),M={left:Math.min(w[i(761)]-a.left,0),top:Math.min(w[i(1532)]-a[i(1532)],0),right:Math[i(1724)](w[i(1566)]-a[i(1566)],0),bottom:Math[i(1724)](w[i(1077)]-a[i(1077)],0)};return{x:v-M[i(761)]+M[i(1566)],y:h-M[i(1532)]+M[i(1077)],zoom:f}},gt=()=>typeof navigator!==c(431)&&navigator?.[c(1650)]?.[c(1357)](c(1391))>=0;function An(e){const n=c;return e!=null&&e!==n(877)}function H0(e){const n=c;return{width:e[n(529)]?.[n(533)]??e[n(533)]??e.initialWidth??0,height:e[n(529)]?.[n(946)]??e[n(946)]??e[n(2163)]??0}}function wa(e){const n=c;return(e.measured?.[n(533)]??e[n(533)]??e[n(458)])!==void 0&&(e[n(529)]?.[n(946)]??e[n(946)]??e[n(2163)])!==void 0}function va(e,n={width:0,height:0},t,o,x){const r=c,i={...e},a=o[r(509)](t);if(a){const d=a[r(2083)]||x;i.x+=a.internals[r(1452)].x-(n[r(533)]??0)*d[0],i.y+=a[r(821)].positionAbsolute.y-(n[r(946)]??0)*d[1]}return i}function pa(e,n){const t=c;if(e[t(1876)]!==n.size)return!1;for(const o of e)if(!n[t(1308)](o))return!1;return!0}function E5(){let e,n;return{promise:new Promise((o,x)=>{e=o,n=x}),resolve:e,reject:n}}function Y5(e){return{...aa,...e||{}}}function yt(e,{snapGrid:n=[0,0],snapToGrid:t=!1,transform:o,containerBounds:x}){const{x:r,y:i}=M0(e),a=ht({x:r-(x?.left??0),y:i-(x?.top??0)},o),{x:d,y:s}=t?bt(a,n):a;return{xSnapped:d,ySnapped:s,...a}}const Io=e=>({width:e[c(510)],height:e[c(390)]}),za=e=>e?.[c(621)]?.()||window?.[c(1408)],U5=["INPUT",c(748),"TEXTAREA"];function Ca(e){const n=c,t=e[n(1911)]?.()?.[0]||e[n(1233)];return t?.[n(2070)]!==1?!1:U5[n(1499)](t[n(1206)])||t[n(404)](n(1545))||!!t[n(957)](n(2019))}const Ma=e=>c(986)in e,M0=(e,n)=>{const t=c,o=Ma(e),x=o?e[t(986)]:e[t(1851)]?.[0][t(986)],r=o?e[t(471)]:e.touches?.[0][t(471)];return{x:x-(n?.left??0),y:r-(n?.[t(1532)]??0)}},Ba=(e,n,t,o,x)=>{const r=c,i=n[r(1677)]("."+e);return!i||!i.length?null:Array.from(i)[r(692)](a=>{const d=r,s=a[d(1163)]();return{id:a.getAttribute(d(569)),type:e,nodeId:x,position:a[d(1241)](d(746)),x:(s.left-t[d(761)])/o,y:(s[d(1532)]-t[d(1532)])/o,...Io(a)}})};function Da({sourceX:e,sourceY:n,targetX:t,targetY:o,sourceControlX:x,sourceControlY:r,targetControlX:i,targetControlY:a}){const d=c,s=e*.125+x*.375+i*.375+t*.125,u=n*.125+r*.375+a*.375+o*.125,f=Math[d(1785)](s-e),b=Math[d(1785)](u-n);return[s,u,f,b]}function bx(e,n){const t=c;return e>=0?.5*e:n*25*Math[t(1419)](-e)}function La({pos:e,x1:n,y1:t,x2:o,y2:x,c:r}){const i=c;switch(e){case pe[i(628)]:return[n-bx(n-o,r),t];case pe[i(1066)]:return[n+bx(o-n,r),t];case pe[i(2115)]:return[n,t-bx(t-x,r)];case pe[i(1031)]:return[n,t+bx(x-t,r)]}}function Sa({sourceX:e,sourceY:n,sourcePosition:t=pe[c(1031)],targetX:o,targetY:x,targetPosition:r=pe.Top,curvature:i=.25}){const[a,d]=La({pos:t,x1:e,y1:n,x2:o,y2:x,c:i}),[s,u]=La({pos:r,x1:o,y1:x,x2:e,y2:n,c:i}),[f,b,g,v]=Da({sourceX:e,sourceY:n,targetX:o,targetY:x,sourceControlX:a,sourceControlY:d,targetControlX:s,targetControlY:u});return["M"+e+","+n+" C"+a+","+d+" "+s+","+u+" "+o+","+x,f,b,g,v]}function Na({sourceX:e,sourceY:n,targetX:t,targetY:o}){const x=c,r=Math.abs(t-e)/2,i=t<e?t+r:t-r,a=Math[x(1785)](o-n)/2,d=o<n?o+a:o-a;return[i,d,r,a]}function O5({sourceNode:e,targetNode:n,selected:t=!1,zIndex:o=0,elevateOnSelect:x=!1,zIndexMode:r="basic"}){const i=c;if(r===i(927))return o;const a=x&&t?o+1e3:o,d=Math.max(e.parentId||x&&e[i(1750)]?e[i(821)].z:0,n.parentId||x&&n.selected?n.internals.z:0);return a+d}function G5({sourceNode:e,targetNode:n,width:t,height:o,transform:x}){const r=lx(ux(e),ux(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 ft(i,dx(r))>0}const T5=({source:e,sourceHandle:n,target:t,targetHandle:o})=>c(780)+e+(n||"")+"-"+t+(o||""),H5=(e,n)=>{const t=c;return n[t(1559)](o=>o[t(1858)]===e[t(1858)]&&o.target===e[t(1233)]&&(o.sourceHandle===e[t(1708)]||!o[t(1708)]&&!e[t(1708)])&&(o[t(1022)]===e.targetHandle||!o.targetHandle&&!e.targetHandle))},ka=(e,n,t={})=>{const o=c;if(!e[o(1858)]||!e[o(1233)])return ma(o(1902),f0.error006()),n;const x=t[o(1341)]||T5;let r;return da(e)?r={...e}:r={...e,id:x(e)},H5(r,n)?n:(r[o(1708)]===null&&delete r[o(1708)],r[o(1022)]===null&&delete r[o(1022)],n.concat(r))};function Ia({sourceX:e,sourceY:n,targetX:t,targetY:o}){const[x,r,i,a]=Na({sourceX:e,sourceY:n,targetX:t,targetY:o});return["M "+e+","+n+"L "+t+","+o,x,r,i,a]}const Pa={[pe.Left]:{x:-1,y:0},[pe.Right]:{x:1,y:0},[pe[c(2115)]]:{x:0,y:-1},[pe.Bottom]:{x:0,y:1}},V5=({source:e,sourcePosition:n=pe.Bottom,target:t})=>n===pe[c(628)]||n===pe.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},ja=(e,n)=>Math.sqrt(Math[c(656)](n.x-e.x,2)+Math[c(656)](n.y-e.y,2));function W5({source:e,sourcePosition:n=pe[c(1031)],target:t,targetPosition:o=pe.Top,center:x,offset:r,stepPosition:i}){const a=c,d=Pa[n],s=Pa[o],u={x:e.x+d.x*r,y:e.y+d.y*r},f={x:t.x+s.x*r,y:t.y+s.y*r},b=V5({source:u,sourcePosition:n,target:f}),g=b.x!==0?"x":"y",v=b[g];let h=[],w,M;const m={x:0,y:0},y={x:0,y:0},[,,z,p]=Na({sourceX:e.x,sourceY:e.y,targetX:t.x,targetY:t.y});if(d[g]*s[g]===-1){g==="x"?(w=x.x??u.x+(f.x-u.x)*i,M=x.y??(u.y+f.y)/2):(w=x.x??(u.x+f.x)/2,M=x.y??u.y+(f.y-u.y)*i);const H=[{x:w,y:u.y},{x:w,y:f.y}],E=[{x:u.x,y:M},{x:f.x,y:M}];d[g]===v?h=g==="x"?H:E:h=g==="x"?E:H}else{const H=[{x:u.x,y:f.y}],E=[{x:f.x,y:u.y}];if(g==="x"?h=d.x===v?E:H:h=d.y===v?H:E,n===o){const S=Math[a(1785)](e[g]-t[g]);if(S<=r){const L=Math.min(r-1,r-S);d[g]===v?m[g]=(u[g]>e[g]?-1:1)*L:y[g]=(f[g]>t[g]?-1:1)*L}}if(n!==o){const S=g==="x"?"y":"x",L=d[g]===s[S],D=u[S]>f[S],Y=u[S]<f[S];(d[g]===1&&(!L&&D||L&&Y)||d[g]!==1&&(!L&&Y||L&&D))&&(h=g==="x"?H:E)}const V={x:u.x+m.x,y:u.y+m.y},W={x:f.x+y.x,y:f.y+y.y},q=Math.max(Math[a(1785)](V.x-h[0].x),Math[a(1785)](W.x-h[0].x)),T=Math[a(1167)](Math[a(1785)](V.y-h[0].y),Math.abs(W.y-h[0].y));q>=T?(w=(V.x+W.x)/2,M=h[0].y):(w=h[0].x,M=(V.y+W.y)/2)}const k={x:u.x+m.x,y:u.y+m.y},O={x:f.x+y.x,y:f.y+y.y};return[[e,...k.x!==h[0].x||k.y!==h[0].y?[k]:[],...h,...O.x!==h[h[a(922)]-1].x||O.y!==h[h.length-1].y?[O]:[],t],w,M,z,p]}function q5(e,n,t,o){const x=c,r=Math[x(1724)](ja(e,n)/2,ja(n,t)/2,o),{x:i,y:a}=n;if(e.x===i&&i===t.x||e.y===a&&a===t.y)return"L"+i+" "+a;if(e.y===a){const u=e.x<t.x?-1:1,f=e.y<t.y?1:-1;return"L "+(i+r*u)+","+a+"Q "+i+","+a+" "+i+","+(a+r*f)}const d=e.x<t.x?1:-1,s=e.y<t.y?-1:1;return"L "+i+","+(a+r*s)+"Q "+i+","+a+" "+(i+r*d)+","+a}function Po({sourceX:e,sourceY:n,sourcePosition:t=pe[c(1031)],targetX:o,targetY:x,targetPosition:r=pe[c(2115)],borderRadius:i=5,centerX:a,centerY:d,offset:s=20,stepPosition:u=.5}){const f=c,[b,g,v,h,w]=W5({source:{x:e,y:n},sourcePosition:t,target:{x:o,y:x},targetPosition:r,center:{x:a,y:d},offset:s,stepPosition:u});let M="M"+b[0].x+" "+b[0].y;for(let m=1;m<b[f(922)]-1;m++)M+=q5(b[m-1],b[m],b[m+1],i);return M+="L"+b[b[f(922)]-1].x+" "+b[b[f(922)]-1].y,[M,g,v,h,w]}function Aa(e){const n=c;return e&&!!(e[n(821)][n(2087)]||e[n(646)]?.[n(922)])&&!!(e.measured[n(533)]||e[n(533)]||e[n(458)])}function X5(e){const n=c,{sourceNode:t,targetNode:o}=e;if(!Aa(t)||!Aa(o))return null;const x=t.internals[n(2087)]||Ea(t[n(646)]),r=o[n(821)][n(2087)]||Ea(o[n(646)]),i=Ya(x?.[n(1858)]??[],e.sourceHandle),a=Ya(e[n(1318)]===kn[n(1083)]?r?.[n(1233)]??[]:(r?.[n(1233)]??[])[n(1199)](r?.source??[]),e.targetHandle);if(!i||!a)return e[n(1238)]?.("008",f0[n(1774)](n(i?1233:1858),{id:e.id,sourceHandle:e[n(1708)],targetHandle:e[n(1022)]})),null;const d=i?.[n(845)]||pe[n(1031)],s=a?.[n(845)]||pe[n(2115)],u=bn(t,i,d),f=bn(o,a,s);return{sourceX:u.x,sourceY:u.y,targetX:f.x,targetY:f.y,sourcePosition:d,targetPosition:s}}function Ea(e){const n=c;if(!e)return null;const t=[],o=[];for(const x of e)x.width=x.width??1,x[n(946)]=x.height??1,x[n(443)]==="source"?t[n(1843)](x):x[n(443)]===n(1233)&&o[n(1843)](x);return{source:t,target:o}}function bn(e,n,t=pe[c(628)],o=!1){const x=c,r=(n?.x??0)+e.internals[x(1452)].x,i=(n?.y??0)+e[x(821)][x(1452)].y,{width:a,height:d}=n??H0(e);if(o)return{x:r+a/2,y:i+d/2};switch(n?.[x(845)]??t){case pe[x(2115)]:return{x:r+a/2,y:i};case pe[x(1066)]:return{x:r+a,y:i+d/2};case pe[x(1031)]:return{x:r+a/2,y:i+d};case pe[x(628)]:return{x:r,y:i+d/2}}}function Ya(e,n){const t=c;return e&&(n?e[t(1945)](o=>o.id===n):e[0])||null}function jo(e,n){const t=c;return e?typeof e=="string"?e:""+(n?n+"__":"")+Object.keys(e).sort().map(x=>x+"="+e[x])[t(2109)]("&"):""}function K5(e,{id:n,defaultColor:t,defaultMarkerStart:o,defaultMarkerEnd:x}){const r=c,i=new Set;return e[r(1046)]((a,d)=>{const s=r;return[d.markerStart||o,d.markerEnd||x][s(467)](u=>{const f=s;if(u&&typeof u===f(793)){const b=jo(u,n);!i.has(b)&&(a.push({id:b,color:u[f(838)]||t,...u}),i[f(1007)](b))}}),a},[])[r(660)]((a,d)=>a.id.localeCompare(d.id))}const Ua=1e3,Z5=10,Ao={nodeOrigin:[0,0],nodeExtent:st,elevateNodesOnSelect:!0,zIndexMode:"basic",defaults:{}},R5={...Ao,checkEquality:!0};function Eo(e,n){const t={...e};for(const o in n)n[o]!==void 0&&(t[o]=n[o]);return t}function _5(e,n,t){const o=c,x=Eo(Ao,t);for(const r of e[o(352)]())if(r[o(1590)])Oo(r,e,n,x);else{const i=dt(r,x[o(1011)]),a=An(r[o(1968)])?r[o(1968)]:x[o(1019)],d=fn(i,a,H0(r));r[o(821)][o(1452)]=d}}function J5(e,n){const t=c;if(!e[t(646)])return e[t(529)]?n?.internals[t(2087)]:void 0;const o=[],x=[];for(const r of e[t(646)]){const i={id:r.id,width:r[t(533)]??1,height:r.height??1,nodeId:e.id,x:r.x,y:r.y,position:r.position,type:r[t(443)]};r[t(443)]===t(1858)?o[t(1843)](i):r[t(443)]===t(1233)&&x.push(i)}return{source:o,target:x}}function Yo(e){return e===c(927)}function Uo(e,n,t,o={}){const x=c,r=Eo(R5,o),i={i:0},a=new Map(n),d=r?.elevateNodesOnSelect&&!Yo(r[x(1879)])?Ua:0;let s=e[x(922)]>0,u=!1;n[x(878)](),t[x(878)]();for(const f of e){let b=a[x(509)](f.id);if(r.checkEquality&&f===b?.internals[x(1722)])n[x(720)](f.id,b);else{const g=dt(f,r[x(1011)]),v=An(f[x(1968)])?f.extent:r[x(1019)],h=fn(g,v,H0(f));b={...r.defaults,...f,measured:{width:f.measured?.width,height:f.measured?.height},internals:{positionAbsolute:h,handleBounds:J5(f,b),z:Oa(f,d,r[x(1879)]),userNode:f}},n.set(f.id,b)}(b[x(529)]===void 0||b.measured[x(533)]===void 0||b[x(529)][x(946)]===void 0)&&!b[x(1140)]&&(s=!1),f[x(1590)]&&Oo(b,n,t,o,i),u||=f.selected??!1}return{nodesInitialized:s,hasSelectedNodes:u}}function F5(e,n){const t=c;if(!e[t(1590)])return;const o=n[t(509)](e[t(1590)]);o?o[t(720)](e.id,e):n[t(720)](e[t(1590)],new Map([[e.id,e]]))}function Oo(e,n,t,o,x){const r=c,{elevateNodesOnSelect:i,nodeOrigin:a,nodeExtent:d,zIndexMode:s}=Eo(Ao,o),u=e[r(1590)],f=n[r(509)](u);if(!f){console[r(999)](r(1687)+u+" not found. Please make sure that parent nodes are in front of their child nodes in the nodes array.");return}F5(e,t),x&&!f[r(1590)]&&f[r(821)].rootParentIndex===void 0&&s===r(1605)&&(f[r(821)][r(403)]=++x.i,f[r(821)].z=f[r(821)].z+x.i*Z5),x&&f[r(821)][r(403)]!==void 0&&(x.i=f[r(821)][r(403)]);const b=i&&!Yo(s)?Ua:0,{x:g,y:v,z:h}=Q5(e,f,a,d,b,s),{positionAbsolute:w}=e[r(821)],M=g!==w.x||v!==w.y;(M||h!==e[r(821)].z)&&n[r(720)](e.id,{...e,internals:{...e[r(821)],positionAbsolute:M?{x:g,y:v}:w,z:h}})}function Oa(e,n,t){const o=C0(e.zIndex)?e.zIndex:0;return Yo(t)?o:o+(e.selected?n:0)}function Q5(e,n,t,o,x,r){const i=c,{x:a,y:d}=n[i(821)].positionAbsolute,s=H0(e),u=dt(e,t),f=An(e[i(1968)])?fn(u,e.extent,s):u;let b=fn({x:a+f.x,y:d+f.y},o,s);e[i(1968)]===i(877)&&(b=fa(b,s,n));const g=Oa(e,x,r),v=n[i(821)].z??0;return{x:b.x,y:b.y,z:v>=g?v+1:g}}function Go(e,n,t,o=[0,0]){const x=c,r=[],i=new Map;for(const a of e){const d=n.get(a.parentId);if(!d)continue;const s=i[x(509)](a.parentId)?.[x(392)]??Pn(d),u=ga(s,a[x(930)]);i[x(720)](a.parentId,{expandedRect:u,parent:d})}return i[x(1876)]>0&&i.forEach(({expandedRect:a,parent:d},s)=>{const u=x,f=d[u(821)][u(1452)],b=H0(d),g=d[u(2083)]??o,v=a.x<f.x?Math[u(1707)](Math.abs(f.x-a.x)):0,h=a.y<f.y?Math[u(1707)](Math[u(1785)](f.y-a.y)):0,w=Math[u(1167)](b[u(533)],Math[u(1707)](a[u(533)])),M=Math[u(1167)](b.height,Math[u(1707)](a.height)),m=(w-b[u(533)])*g[0],y=(M-b[u(946)])*g[1];(v>0||h>0||m||y)&&(r[u(1843)]({id:s,type:u(845),position:{x:d[u(845)].x-v+m,y:d[u(845)].y-h+y}}),t[u(509)](s)?.[u(467)](z=>{const p=u;!e[p(1559)](k=>k.id===z.id)&&r[p(1843)]({id:z.id,type:p(845),position:{x:z.position.x+v,y:z[p(845)].y+h}})})),(b.width<a[u(533)]||b.height<a[u(946)]||v||h)&&r[u(1843)]({id:s,type:"dimensions",setAttributes:!0,dimensions:{width:w+(v?g[0]*v-m:0),height:M+(h?g[1]*h-y:0)}})}),r}function $5(e,n,t,o,x,r,i){const a=c,d=o?.[a(1372)](a(2096));let s=!1;if(!d)return{changes:[],updatedInternals:s};const u=[],f=window[a(1150)](d),{m22:b}=new window[a(1670)](f[a(2035)]),g=[];for(const v of e[a(352)]()){const h=n.get(v.id);if(!h)continue;if(h[a(1140)]){n[a(720)](h.id,{...h,internals:{...h[a(821)],handleBounds:void 0}}),s=!0;continue}const w=Io(v.nodeElement),M=h[a(529)][a(533)]!==w.width||h.measured[a(946)]!==w.height;if(!!(w.width&&w.height&&(M||!h[a(821)][a(2087)]||v[a(733)]))){const y=v.nodeElement[a(1163)](),z=An(h[a(1968)])?h[a(1968)]:r;let{positionAbsolute:p}=h.internals;h[a(1590)]&&h[a(1968)]===a(877)?p=fa(p,w,n[a(509)](h.parentId)):z&&(p=fn(p,z,w));const k={...h,measured:w,internals:{...h[a(821)],positionAbsolute:p,handleBounds:{source:Ba("source",v[a(1709)],y,b,h.id),target:Ba(a(1233),v[a(1709)],y,b,h.id)}}};n[a(720)](h.id,k),h.parentId&&Oo(k,n,t,{nodeOrigin:x,zIndexMode:i}),s=!0,M&&(u.push({id:h.id,type:a(524),dimensions:w}),h[a(773)]&&h[a(1590)]&&g.push({id:h.id,parentId:h[a(1590)],rect:Pn(k,x)}))}}if(g.length>0){const v=Go(g,n,t,x);u.push(...v)}return{changes:u,updatedInternals:s}}async function eb({delta:e,panZoom:n,transform:t,translateExtent:o,width:x,height:r}){const i=c;if(!n||!e.x&&!e.y)return Promise.resolve(!1);const a=await n.setViewportConstrained({x:t[0]+e.x,y:t[1]+e.y,zoom:t[2]},[[0,0],[x,r]],o),d=!!a&&(a.x!==t[0]||a.y!==t[1]||a.k!==t[2]);return Promise[i(1887)](d)}function Ga(e,n,t,o,x,r){const i=c;let a=x;const d=o[i(509)](a)||new Map;o[i(720)](a,d[i(720)](t,n)),a=x+"-"+e;const s=o.get(a)||new Map;if(o.set(a,s[i(720)](t,n)),r){a=x+"-"+e+"-"+r;const u=o[i(509)](a)||new Map;o[i(720)](a,u[i(720)](t,n))}}function Ta(e,n,t){const o=c;e[o(878)](),n.clear();for(const x of t){const{source:r,target:i,sourceHandle:a=null,targetHandle:d=null}=x,s={edgeId:x.id,source:r,target:i,sourceHandle:a,targetHandle:d},u=r+"-"+a+"--"+i+"-"+d,f=i+"-"+d+"--"+r+"-"+a;Ga(o(1858),s,f,e,r,a),Ga(o(1233),s,u,e,i,d),n.set(x.id,x)}}function Ha(e,n){const t=c;if(!e.parentId)return!1;const o=n[t(509)](e[t(1590)]);return o?o[t(1750)]?!0:Ha(o,n):!1}function Va(e,n,t){const o=c;let x=e;do{if(x?.[o(2156)]?.(n))return!0;if(x===t)return!1;x=x?.[o(916)]}while(x);return!1}function nb(e,n,t,o){const x=c,r=new Map;for(const[i,a]of e)if((a[x(1750)]||a.id===o)&&(!a[x(1590)]||!Ha(a,e))&&(a[x(1118)]||n&&typeof a.draggable>"u")){const d=e[x(509)](i);d&&r[x(720)](i,{id:i,position:d[x(845)]||{x:0,y:0},distance:{x:t.x-d[x(821)][x(1452)].x,y:t.y-d[x(821)][x(1452)].y},extent:d[x(1968)],parentId:d[x(1590)],origin:d[x(2083)],expandParent:d[x(773)],internals:{positionAbsolute:d.internals[x(1452)]||{x:0,y:0}},measured:{width:d[x(529)][x(533)]??0,height:d[x(529)][x(946)]??0}})}return r}function To({nodeId:e,dragItems:n,nodeLookup:t,dragging:o=!0}){const x=c,r=[];for(const[a,d]of n){const s=t[x(509)](a)?.[x(821)].userNode;s&&r[x(1843)]({...s,position:d[x(845)],dragging:o})}if(!e)return[r[0],r];const i=t[x(509)](e)?.internals[x(1722)];return[i?{...i,position:n.get(e)?.[x(845)]||i[x(845)],dragging:o}:r[0],r]}function tb({dragItems:e,snapGrid:n,x:t,y:o}){const x=c,r=e.values()[x(1307)]()[x(891)];if(!r)return null;const i={x:t-r.distance.x,y:o-r[x(459)].y},a=bt(i,n);return{x:a.x-i.x,y:a.y-i.y}}function xb({onNodeMouseDown:e,getStoreItems:n,onDragStart:t,onDrag:o,onDragStop:x}){let r={x:null,y:null},i=0,a=new Map,d=!1,s={x:0,y:0},u=null,f=!1,b=null,g=!1,v=!1,h=null;function w({noDragClassName:m,handleSelector:y,domNode:z,isSelectable:p,nodeId:k,nodeClickDistance:O=0}){const G=_0x5092;b=u0(z);function H({x:q,y:T}){const S=_0x5092,{nodeLookup:L,nodeExtent:D,snapGrid:Y,snapToGrid:A,nodeOrigin:P,onNodeDrag:_,onSelectionDrag:$,onError:ee,updateNodePositions:xe}=n();r={x:q,y:T};let re=!1;const ce=a[S(1876)]>1,fe=ce&&D?No(ut(a)):null,we=ce&&A?tb({dragItems:a,snapGrid:Y,x:q,y:T}):null;for(const[le,Q]of a){if(!L.has(le))continue;let se={x:q-Q[S(459)].x,y:T-Q[S(459)].y};A&&(se=we?{x:Math[S(1707)](se.x+we.x),y:Math.round(se.y+we.y)}:bt(se,Y));let he=null;if(ce&&D&&!Q[S(1968)]&&fe){const{positionAbsolute:Z}=Q[S(821)],ne=Z.x-fe.x+D[0][0],te=Z.x+Q[S(529)][S(533)]-fe.x2+D[1][0],X=Z.y-fe.y+D[0][1],oe=Z.y+Q[S(529)][S(946)]-fe.y2+D[1][1];he=[[ne,X],[te,oe]]}const{position:U,positionAbsolute:j}=ua({nodeId:le,nextPosition:se,nodeLookup:L,nodeExtent:he||D,nodeOrigin:P,onError:ee});re=re||Q[S(845)].x!==U.x||Q[S(845)].y!==U.y,Q[S(845)]=U,Q[S(821)][S(1452)]=j}if(v=v||re,!!re&&(xe(a,!0),h&&(o||_||!k&&$))){const[le,Q]=To({nodeId:k,dragItems:a,nodeLookup:L});o?.(h,a,le,Q),_?.(h,le,Q),!k&&$?.(h,Q)}}async function E(){if(!u)return;const{transform:q,panBy:T,autoPanSpeed:S,autoPanOnNodeDrag:L}=n();if(!L){d=!1,cancelAnimationFrame(i);return}const[D,Y]=ha(s,u,S);(D!==0||Y!==0)&&(r.x=(r.x??0)-D/q[2],r.y=(r.y??0)-Y/q[2],await T({x:D,y:Y})&&H(r)),i=requestAnimationFrame(E)}function V(q){const T=_0x5092,{nodeLookup:S,multiSelectionActive:L,nodesDraggable:D,transform:Y,snapGrid:A,snapToGrid:P,selectNodesOnDrag:_,onNodeDragStart:$,onSelectionDragStart:ee,unselectNodesAndEdges:xe}=n();f=!0,(!_||!p)&&!L&&k&&!S[T(509)](k)?.[T(1750)]&&xe(),p&&_&&k&&e?.(k);const re=yt(q[T(439)],{transform:Y,snapGrid:A,snapToGrid:P,containerBounds:u});if(r=re,a=nb(S,D,re,k),a.size>0&&(t||$||!k&&ee)){const[ce,fe]=To({nodeId:k,dragItems:a,nodeLookup:S});t?.(q.sourceEvent,a,ce,fe),$?.(q[T(439)],ce,fe),!k&&ee?.(q[T(439)],fe)}}const W=Ni().clickDistance(O).on(G(671),q=>{const T=G,{domNode:S,nodeDragThreshold:L,transform:D,snapGrid:Y,snapToGrid:A}=n();u=S?.[T(1163)]()||null,g=!1,v=!1,h=q[T(439)],L===0&&V(q),r=yt(q.sourceEvent,{transform:D,snapGrid:Y,snapToGrid:A,containerBounds:u}),s=M0(q.sourceEvent,u)}).on("drag",q=>{const T=G,{autoPanOnNodeDrag:S,transform:L,snapGrid:D,snapToGrid:Y,nodeDragThreshold:A,nodeLookup:P}=n(),_=yt(q[T(439)],{transform:L,snapGrid:D,snapToGrid:Y,containerBounds:u});if(h=q.sourceEvent,(q[T(439)][T(443)]===T(897)&&q[T(439)].touches.length>1||k&&!P.has(k))&&(g=!0),!g){if(!d&&S&&f&&(d=!0,E()),!f){const $=M0(q[T(439)],u),ee=$.x-s.x,xe=$.y-s.y;Math.sqrt(ee*ee+xe*xe)>A&&V(q)}(r.x!==_.xSnapped||r.y!==_.ySnapped)&&a&&f&&(s=M0(q[T(439)],u),H(_))}}).on(G(1364),q=>{const T=G;if(!(!f||g)&&(d=!1,f=!1,cancelAnimationFrame(i),a.size>0)){const{nodeLookup:S,updateNodePositions:L,onNodeDragStop:D,onSelectionDragStop:Y}=n();if(v&&(L(a,!1),v=!1),x||D||!k&&Y){const[A,P]=To({nodeId:k,dragItems:a,nodeLookup:S,dragging:!1});x?.(q[T(439)],a,A,P),D?.(q[T(439)],A,P),!k&&Y?.(q[T(439)],P)}}})[G(568)](q=>{const T=G,S=q[T(1233)];return!q[T(1730)]&&(!m||!Va(S,"."+m,z))&&(!y||Va(S,y,z))});b.call(W)}function M(){const m=_0x5092;b?.on(m(436),null)}return{update:w,destroy:M}}function ob(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(352)]())ft(r,Pn(i))>0&&x[o(1843)](i);return x}const rb=250;function ib(e,n,t,o){const x=c;let r=[],i=1/0;const a=ob(e,t,n+rb);for(const d of a){const s=[...d[x(821)][x(2087)]?.source??[],...d[x(821)][x(2087)]?.[x(1233)]??[]];for(const u of s){if(o[x(507)]===u[x(507)]&&o[x(443)]===u.type&&o.id===u.id)continue;const{x:f,y:b}=bn(d,u,u[x(845)],!0),g=Math.sqrt(Math[x(656)](f-e.x,2)+Math[x(656)](b-e.y,2));g>n||(g<i?(r=[{...u,x:f,y:b}],i=g):g===i&&r[x(1843)]({...u,x:f,y:b}))}}if(!r[x(922)])return null;if(r[x(922)]>1){const d=o.type===x(1858)?"target":"source";return r[x(1945)](s=>s[x(443)]===d)??r[0]}return r[0]}function Wa(e,n,t,o,x,r=!1){const i=c,a=o.get(e);if(!a)return null;const d=x==="strict"?a[i(821)].handleBounds?.[n]:[...a[i(821)].handleBounds?.[i(1858)]??[],...a[i(821)][i(2087)]?.[i(1233)]??[]],s=(t?d?.[i(1945)](u=>u.id===t):d?.[0])??null;return s&&r?{...s,...bn(a,s,s[i(845)],!0)}:s}function qa(e,n){const t=c;return e||(n?.[t(1478)].contains(t(1233))?t(1233):n?.classList[t(2076)](t(1858))?t(1858):null)}function ab(e,n){let t=null;return n?t=!0:e&&!n&&(t=!1),t}const Xa=()=>!0;function cb(e,{connectionMode:n,connectionRadius:t,handleId:o,nodeId:x,edgeUpdaterType:r,isTarget:i,domNode:a,nodeLookup:d,lib:s,autoPanOnConnect:u,flowId:f,panBy:b,cancelConnection:g,onConnectStart:v,onConnect:h,onConnectEnd:w,isValidConnection:M=Xa,onReconnectEnd:m,updateConnection:y,getTransform:z,getFromHandle:p,autoPanSpeed:k,dragThreshold:O=1,handleDomNode:G}){const H=c,E=za(e[H(1233)]);let V=0,W;const{x:q,y:T}=M0(e),S=qa(r,G),L=a?.[H(1163)]();let D=!1;if(!L||!S)return;const Y=Wa(x,S,o,d,n);if(!Y)return;let A=M0(e,L),P=!1,_=null,$=!1,ee=null;function xe(){if(!u||!L)return;const[he,U]=ha(A,L,k);b({x:he,y:U}),V=requestAnimationFrame(xe)}const re={...Y,nodeId:x,type:S,position:Y.position},ce=d[H(509)](x);let we={inProgress:!0,isValid:null,from:bn(ce,re,pe[H(628)],!0),fromHandle:re,fromPosition:re[H(845)],fromNode:ce,to:A,toHandle:null,toPosition:sa[re[H(845)]],toNode:null,pointer:A};function le(){D=!0,y(we),v?.(e,{nodeId:x,handleId:o,handleType:S})}O===0&&le();function Q(he){const U=H;if(!D){const{x:oe,y:ve}=M0(he),Me=oe-q,Ne=ve-T;if(!(Me*Me+Ne*Ne>O*O))return;le()}if(!p()||!re){se(he);return}const j=z();A=M0(he,L),W=ib(ht(A,j,!1,[1,1]),t,d,re),!P&&(xe(),P=!0);const Z=Ka(he,{handle:W,connectionMode:n,fromNodeId:x,fromHandleId:o,fromType:i?"target":U(1858),isValidConnection:M,doc:E,lib:s,flowId:f,nodeLookup:d});ee=Z.handleDomNode,_=Z[U(1367)],$=ab(!!W,Z[U(1550)]);const ne=d[U(509)](x),te=ne?bn(ne,re,pe[U(628)],!0):we[U(1826)],X={...we,from:te,isValid:$,to:Z[U(1698)]&&$?fx({x:Z[U(1698)].x,y:Z.toHandle.y},j):A,toHandle:Z[U(1698)],toPosition:$&&Z[U(1698)]?Z[U(1698)].position:sa[re[U(845)]],toNode:Z[U(1698)]?d[U(509)](Z.toHandle.nodeId):null,pointer:A};y(X),we=X}function se(he){const U=H;if(!(U(1851)in he&&he[U(1851)][U(922)]>0)){if(D){(W||ee)&&_&&$&&h?.(_);const{inProgress:j,...Z}=we,ne={...Z,toPosition:we[U(1698)]?we[U(597)]:null};w?.(he,ne),r&&m?.(he,ne)}g(),cancelAnimationFrame(V),P=!1,$=!1,_=null,ee=null,E[U(652)](U(2099),Q),E[U(652)]("mouseup",se),E[U(652)](U(897),Q),E[U(652)](U(1727),se)}}E.addEventListener(H(2099),Q),E.addEventListener(H(2104),se),E.addEventListener(H(897),Q),E[H(1533)](H(1727),se)}function Ka(e,{handle:n,connectionMode:t,fromNodeId:o,fromHandleId:x,fromType:r,doc:i,lib:a,flowId:d,isValidConnection:s=Xa,nodeLookup:u}){const f=c,b=r===f(1233),g=n?i[f(1372)]("."+a+f(1475)+d+"-"+n?.nodeId+"-"+n?.id+"-"+n?.type+'"]'):null,{x:v,y:h}=M0(e),w=i.elementFromPoint(v,h),M=w?.[f(1478)][f(2076)](a+f(1220))?w:g,m={handleDomNode:M,isValid:!1,connection:null,toHandle:null};if(M){const y=qa(void 0,M),z=M[f(1241)]("data-nodeid"),p=M[f(1241)](f(569)),k=M[f(1478)].contains("connectable"),O=M[f(1478)][f(2076)](f(730));if(!z||!y)return m;const G={source:b?z:o,sourceHandle:b?p:x,target:b?o:z,targetHandle:b?x:p};m[f(1367)]=G;const H=k&&O,E=H&&(t===kn[f(1083)]?b&&y==="source"||!b&&y==="target":z!==o||p!==x);m[f(1550)]=E&&s(G),m[f(1698)]=Wa(z,y,p,u,t,!0)}return m}const Ho={onPointerDown:cb,isValid:Ka};function sb({domNode:e,panZoom:n,getTransform:t,getViewScale:o}){const x=u0(e);function r({translateExtent:a,width:d,height:s,zoomStep:u=1,pannable:f=!0,zoomable:b=!0,inversePan:g=!1}){const v=_0x5092,h=z=>{const p=_0x5092;if(z[p(439)].type!==p(2011)||!n)return;const k=t(),O=z.sourceEvent[p(526)]&>()?10:1,G=-z.sourceEvent[p(402)]*(z[p(439)][p(727)]===1?.05:z[p(439)][p(727)]?1:.002)*u,H=k[2]*Math[p(656)](2,G*O);n[p(1617)](H)};let w=[0,0];const M=z=>{const p=_0x5092;(z[p(439)][p(443)]==="mousedown"||z[p(439)][p(443)]===p(704))&&(w=[z[p(439)][p(986)]??z[p(439)][p(1851)][0][p(986)],z[p(439)][p(471)]??z[p(439)][p(1851)][0].clientY])},m=z=>{const p=_0x5092,k=t();if(z[p(439)][p(443)]!==p(2099)&&z[p(439)].type!=="touchmove"||!n)return;const O=[z[p(439)].clientX??z[p(439)][p(1851)][0].clientX,z[p(439)][p(471)]??z[p(439)][p(1851)][0].clientY],G=[O[0]-w[0],O[1]-w[1]];w=O;const H=o()*Math[p(1167)](k[2],Math.log(k[2]))*(g?-1:1),E={x:k[0]-G[0]*H,y:k[1]-G[1]*H},V=[[0,0],[d,s]];n[p(835)]({x:E.x,y:E.y,zoom:k[2]},V,a)},y=ra().on(v(671),M).on(v(1760),f?m:null).on(v(2158),b?h:null);x[v(1382)](y,{})}function i(){const a=_0x5092;x.on(a(1760),null)}return{update:r,destroy:i,pointer:v0}}const hx=e=>({x:e.x,y:e.y,zoom:e.k}),Vo=({x:e,y:n,zoom:t})=>cx[c(604)](e,n)[c(2029)](t),En=(e,n)=>e[c(1233)].closest("."+n),Za=(e,n)=>n===2&&Array.isArray(e)&&e.includes(2),lb=e=>((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2,Wo=(e,n=0,t=lb,o=()=>{})=>{const x=c,r=typeof n===x(935)&&n>0;return!r&&o(),r?e[x(2125)]()[x(960)](n)[x(758)](t).on(x(1364),o):e},Ra=e=>{const n=c,t=e[n(526)]&>()?10:1;return-e.deltaY*(e[n(727)]===1?.05:e[n(727)]?1:.002)*t};function db({zoomPanValues:e,noWheelClassName:n,d3Selection:t,d3Zoom:o,panOnScrollMode:x,panOnScrollSpeed:r,zoomOnPinch:i,onPanZoomStart:a,onPanZoom:d,onPanZoomEnd:s}){return u=>{const f=_0x5092;if(En(u,n))return u[f(526)]&&u[f(1784)](),!1;u[f(1784)](),u.stopImmediatePropagation();const b=t[f(1663)](f(688)).k||1;if(u[f(526)]&&i){const M=v0(u),m=Ra(u),y=b*Math.pow(2,m);o[f(1617)](t,y,M,u);return}const g=u.deltaMode===1?20:1;let v=x===un.Vertical?0:u[f(1410)]*g,h=x===un[f(2120)]?0:u[f(402)]*g;!gt()&&u[f(931)]&&x!==un[f(2107)]&&(v=u[f(402)]*g,h=0),o[f(768)](t,-(v/b)*r,-(h/b)*r,{internal:!0});const w=hx(t[f(1663)]("__zoom"));clearTimeout(e[f(1547)]),e[f(1973)]?(d?.(u,w),e[f(1547)]=setTimeout(()=>{s?.(u,w),e.isPanScrolling=!1},150)):(e.isPanScrolling=!0,a?.(u,w))}}function ub({noWheelClassName:e,preventScrolling:n,d3ZoomHandler:t}){return function(o,x){const r=_0x5092,i=o[r(443)]===r(2011),a=!n&&i&&!o.ctrlKey,d=En(o,e);if(o.ctrlKey&&i&&d&&o[r(1784)](),a||d)return null;o.preventDefault(),t[r(1382)](this,o,x)}}function fb({zoomPanValues:e,onDraggingChange:n,onPanZoomStart:t}){return o=>{const x=_0x5092;if(o[x(439)]?.[x(365)])return;const r=hx(o[x(2035)]);e[x(1231)]=o[x(439)]?.[x(1730)]||0,e.isZoomingOrPanning=!0,e[x(546)]=r,o.sourceEvent?.type===x(409)&&n(!0),t&&t?.(o[x(439)],r)}}function bb({zoomPanValues:e,panOnDrag:n,onPaneContextMenu:t,onTransformChange:o,onPanZoom:x}){return r=>{const i=_0x5092;e.usedRightMouseButton=!!(t&&Za(n,e[i(1231)]??0)),!r[i(439)]?.[i(637)]&&o([r.transform.x,r[i(2035)].y,r[i(2035)].k]),x&&!r[i(439)]?.internal&&x?.(r.sourceEvent,hx(r[i(2035)]))}}function hb({zoomPanValues:e,panOnDrag:n,panOnScroll:t,onDraggingChange:o,onPanZoomEnd:x,onPaneContextMenu:r}){return i=>{const a=_0x5092;if(!i[a(439)]?.[a(365)]&&(e[a(968)]=!1,r&&Za(n,e.mouseButton??0)&&!e.usedRightMouseButton&&i[a(439)]&&r(i[a(439)]),e[a(1643)]=!1,o(!1),x)){const d=hx(i.transform);e[a(546)]=d,clearTimeout(e.timerId),e[a(634)]=setTimeout(()=>{x?.(i[a(439)],d)},t?150:0)}}}function gb({zoomActivationKeyPressed:e,zoomOnScroll:n,zoomOnPinch:t,panOnDrag:o,panOnScroll:x,zoomOnDoubleClick:r,userSelectionActive:i,noWheelClassName:a,noPanClassName:d,lib:s,connectionInProgress:u}){return f=>{const b=_0x5092,g=e||n,v=t&&f[b(526)],h=f.type===b(2011);if(f[b(1730)]===1&&f[b(443)]===b(409)&&(En(f,s+b(1591))||En(f,s+b(1731))))return!0;if(!o&&!g&&!x&&!r&&!t||i||u&&!h||En(f,a)&&h||En(f,d)&&(!h||x&&h&&!e)||!t&&f.ctrlKey&&h)return!1;if(!t&&f[b(443)]===b(704)&&f[b(1851)]?.[b(922)]>1)return f[b(1784)](),!1;if(!g&&!x&&!v&&h||!o&&(f.type===b(409)||f[b(443)]===b(704))||Array.isArray(o)&&!o[b(1499)](f.button)&&f.type===b(409))return!1;const w=Array[b(1875)](o)&&o[b(1499)](f.button)||!f[b(1730)]||f[b(1730)]<=1;return(!f.ctrlKey||h)&&w}}function yb({domNode:e,minZoom:n,maxZoom:t,translateExtent:o,viewport:x,onPanZoom:r,onPanZoomStart:i,onPanZoomEnd:a,onDraggingChange:d}){const s=c,u={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},f=e[s(1163)](),b=ra()[s(1267)]([n,t])[s(752)](o),g=u0(e).call(b);y({x:x.x,y:x.y,zoom:In(x[s(1760)],n,t)},[[0,0],[f[s(533)],f[s(946)]]],o);const v=g.on(s(890)),h=g.on(s(329));b[s(1822)](Ra);function w(W,q){return g?new Promise(T=>{const S=_0x5092;b?.[S(915)](q?.interpolate===S(1116)?xt:Qt)[S(2035)](Wo(g,q?.[S(960)],q?.[S(758)],()=>T(!0)),W)}):Promise.resolve(!1)}function M({noWheelClassName:W,noPanClassName:q,onPaneContextMenu:T,userSelectionActive:S,panOnScroll:L,panOnDrag:D,panOnScrollMode:Y,panOnScrollSpeed:A,preventScrolling:P,zoomOnPinch:_,zoomOnScroll:$,zoomOnDoubleClick:ee,zoomActivationKeyPressed:xe,lib:re,onTransformChange:ce,connectionInProgress:fe,paneClickDistance:we,selectionOnDrag:le}){const Q=s;S&&!u.isZoomingOrPanning&&m();const se=L&&!xe&&!S;b[Q(1596)](le?1/0:!C0(we)||we<0?0:we);const he=se?db({zoomPanValues:u,noWheelClassName:W,d3Selection:g,d3Zoom:b,panOnScrollMode:Y,panOnScrollSpeed:A,zoomOnPinch:_,onPanZoomStart:i,onPanZoom:r,onPanZoomEnd:a}):ub({noWheelClassName:W,preventScrolling:P,d3ZoomHandler:v});if(g.on(Q(890),he,{passive:!1}),!S){const j=fb({zoomPanValues:u,onDraggingChange:d,onPanZoomStart:i});b.on("start",j);const Z=bb({zoomPanValues:u,panOnDrag:D,onPaneContextMenu:!!T,onPanZoom:r,onTransformChange:ce});b.on("zoom",Z);const ne=hb({zoomPanValues:u,panOnDrag:D,panOnScroll:L,onPaneContextMenu:T,onPanZoomEnd:a,onDraggingChange:d});b.on(Q(1364),ne)}const U=gb({zoomActivationKeyPressed:xe,panOnDrag:D,zoomOnScroll:$,panOnScroll:L,zoomOnDoubleClick:ee,zoomOnPinch:_,userSelectionActive:S,noPanClassName:q,noWheelClassName:W,lib:re,connectionInProgress:fe});b[Q(568)](U),ee?g.on(Q(329),h):g.on("dblclick.zoom",null)}function m(){b.on("zoom",null)}async function y(W,q,T){const S=Vo(W),L=b?.constrain()(S,q,T);return L&&await w(L),new Promise(D=>D(L))}async function z(W,q){const T=Vo(W);return await w(T,q),new Promise(S=>S(T))}function p(W){const q=s;if(g){const T=Vo(W),S=g.property("__zoom");(S.k!==W[q(1760)]||S.x!==W.x||S.y!==W.y)&&b?.[q(2035)](g,T,null,{sync:!0})}}function k(){const W=s,q=g?xa(g[W(464)]()):{x:0,y:0,k:1};return{x:q.x,y:q.y,zoom:q.k}}function O(W,q){const T=s;return g?new Promise(S=>{const L=_0x5092;b?.[L(915)](q?.[L(915)]===L(1116)?xt:Qt).scaleTo(Wo(g,q?.[L(960)],q?.[L(758)],()=>S(!0)),W)}):Promise[T(1887)](!1)}function G(W,q){const T=s;return g?new Promise(S=>{const L=_0x5092;b?.[L(915)](q?.[L(915)]===L(1116)?xt:Qt).scaleBy(Wo(g,q?.[L(960)],q?.[L(758)],()=>S(!0)),W)}):Promise[T(1887)](!1)}function H(W){b?.[s(1267)](W)}function E(W){b?.[s(752)](W)}function V(W){const q=s,T=!C0(W)||W<0?0:W;b?.[q(1596)](T)}return{update:M,destroy:m,setViewport:z,setViewportConstrained:y,getViewport:k,scaleTo:O,scaleBy:G,setScaleExtent:H,setTranslateExtent:E,syncViewport:p,setClickDistance:V}}var Yn;(function(e){const n=c;e.Line=n(1126),e[n(1921)]="handle"})(Yn||(Yn={}));function mb({width:e,prevWidth:n,height:t,prevHeight:o,affectsX:x,affectsY:r}){const i=e-n,a=t-o,d=[i>0?1:i<0?-1:0,a>0?1:a<0?-1:0];return i&&x&&(d[0]=d[0]*-1),a&&r&&(d[1]=d[1]*-1),d}function _a(e){const n=c,t=e[n(1499)](n(1566))||e[n(1499)](n(761)),o=e[n(1499)](n(1077))||e.includes(n(1532)),x=e.includes(n(761)),r=e[n(1499)](n(1532));return{isHorizontal:t,isVertical:o,affectsX:x,affectsY:r}}function _0(e,n){return Math[c(1167)](0,n-e)}function J0(e,n){return Math[c(1167)](0,e-n)}function gx(e,n,t){return Math[c(1167)](0,n-e,e-t)}function Ja(e,n){return e?!n:n}function wb(e,n,t,o,x,r,i,a){const d=c;let{affectsX:s,affectsY:u}=n;const{isHorizontal:f,isVertical:b}=n,g=f&&b,{xSnapped:v,ySnapped:h}=t,{minWidth:w,maxWidth:M,minHeight:m,maxHeight:y}=o,{x:z,y:p,width:k,height:O,aspectRatio:G}=e;let H=Math.floor(f?v-e[d(1258)]:0),E=Math[d(769)](b?h-e[d(602)]:0);const V=k+(s?-H:H),W=O+(u?-E:E),q=-r[0]*k,T=-r[1]*O;let S=gx(V,w,M),L=gx(W,m,y);if(i){let A=0,P=0;s&&H<0?A=_0(z+H+q,i[0][0]):!s&&H>0&&(A=J0(z+V+q,i[1][0])),u&&E<0?P=_0(p+E+T,i[0][1]):!u&&E>0&&(P=J0(p+W+T,i[1][1])),S=Math.max(S,A),L=Math[d(1167)](L,P)}if(a){let A=0,P=0;s&&H>0?A=J0(z+H,a[0][0]):!s&&H<0&&(A=_0(z+V,a[1][0])),u&&E>0?P=J0(p+E,a[0][1]):!u&&E<0&&(P=_0(p+W,a[1][1])),S=Math[d(1167)](S,A),L=Math[d(1167)](L,P)}if(x){if(f){const A=gx(V/G,m,y)*G;if(S=Math[d(1167)](S,A),i){let P=0;!s&&!u||s&&!u&&g?P=J0(p+T+V/G,i[1][1])*G:P=_0(p+T+(s?H:-H)/G,i[0][1])*G,S=Math[d(1167)](S,P)}if(a){let P=0;!s&&!u||s&&!u&&g?P=_0(p+V/G,a[1][1])*G:P=J0(p+(s?H:-H)/G,a[0][1])*G,S=Math.max(S,P)}}if(b){const A=gx(W*G,w,M)/G;if(L=Math[d(1167)](L,A),i){let P=0;!s&&!u||u&&!s&&g?P=J0(z+W*G+q,i[1][0])/G:P=_0(z+(u?E:-E)*G+q,i[0][0])/G,L=Math[d(1167)](L,P)}if(a){let P=0;!s&&!u||u&&!s&&g?P=_0(z+W*G,a[1][0])/G:P=J0(z+(u?E:-E)*G,a[0][0])/G,L=Math[d(1167)](L,P)}}}E=E+(E<0?L:-L),H=H+(H<0?S:-S),x&&(g?V>W*G?E=(Ja(s,u)?-H:H)/G:H=(Ja(s,u)?-E:E)*G:f?(E=H/G,u=s):(H=E*G,s=u));const D=s?z+H:z,Y=u?p+E:p;return{width:k+(s?-H:H),height:O+(u?-E:E),x:r[0]*H*(s?-1:1)+D,y:r[1]*E*(u?-1:1)+Y}}const Fa={width:0,height:0,x:0,y:0},vb={...Fa,pointerX:0,pointerY:0,aspectRatio:1};function pb(e){const n=c;return[[0,0],[e[n(529)][n(533)],e.measured[n(946)]]]}function zb(e,n,t){const o=c,x=n[o(845)].x+e[o(845)].x,r=n[o(845)].y+e.position.y,i=e[o(529)][o(533)]??0,a=e.measured[o(946)]??0,d=t[0]*i,s=t[1]*a;return[[x-d,r-s],[x+i-d,r+a-s]]}function Cb({domNode:e,nodeId:n,getStoreItems:t,onChange:o,onEnd:x}){const r=c,i=u0(e);let a={controlDirection:_a(r(616)),boundaries:{minWidth:0,minHeight:0,maxWidth:Number[r(2028)],maxHeight:Number[r(2028)]},resizeDirection:void 0,keepAspectRatio:!1};function d({controlPosition:u,boundaries:f,keepAspectRatio:b,resizeDirection:g,onResizeStart:v,onResize:h,onResizeEnd:w,shouldResize:M}){const m=r;let y={...Fa},z={...vb};a={boundaries:f,resizeDirection:g,keepAspectRatio:b,controlDirection:_a(u)};let p,k=null,O=[],G,H,E,V=!1;const W=Ni().on("start",q=>{const T=_0x5092,{nodeLookup:S,transform:L,snapGrid:D,snapToGrid:Y,nodeOrigin:A,paneDomNode:P}=t();if(p=S[T(509)](n),!p)return;k=P?.[T(1163)]()??null;const{xSnapped:_,ySnapped:$}=yt(q[T(439)],{transform:L,snapGrid:D,snapToGrid:Y,containerBounds:k});y={width:p.measured[T(533)]??0,height:p[T(529)].height??0,x:p[T(845)].x??0,y:p.position.y??0},z={...y,pointerX:_,pointerY:$,aspectRatio:y[T(533)]/y[T(946)]},G=void 0,p[T(1590)]&&(p[T(1968)]===T(877)||p.expandParent)&&(G=S.get(p[T(1590)]),H=G&&p[T(1968)]===T(877)?pb(G):void 0),O=[],E=void 0;for(const[ee,xe]of S)if(xe.parentId===n&&(O[T(1843)]({id:ee,position:{...xe.position},extent:xe[T(1968)]}),xe[T(1968)]===T(877)||xe.expandParent)){const re=zb(xe,p,xe[T(2083)]??A);E?E=[[Math[T(1724)](re[0][0],E[0][0]),Math.min(re[0][1],E[0][1])],[Math[T(1167)](re[1][0],E[1][0]),Math[T(1167)](re[1][1],E[1][1])]]:E=re}v?.(q,{...y})}).on(m(1433),q=>{const T=m,{transform:S,snapGrid:L,snapToGrid:D,nodeOrigin:Y}=t(),A=yt(q[T(439)],{transform:S,snapGrid:L,snapToGrid:D,containerBounds:k}),P=[];if(!p)return;const{x:_,y:$,width:ee,height:xe}=y,re={},ce=p[T(2083)]??Y,{width:fe,height:we,x:le,y:Q}=wb(z,a.controlDirection,A,a[T(1394)],a[T(1094)],ce,H,E),se=fe!==ee,he=we!==xe,U=le!==_&&se,j=Q!==$&&he;if(!U&&!j&&!se&&!he)return;if((U||j||ce[0]===1||ce[1]===1)&&(re.x=U?le:y.x,re.y=j?Q:y.y,y.x=re.x,y.y=re.y,O[T(922)]>0)){const X=le-_,oe=Q-$;for(const ve of O)ve.position={x:ve[T(845)].x-X+ce[0]*(fe-ee),y:ve[T(845)].y-oe+ce[1]*(we-xe)},P.push(ve)}if((se||he)&&(re.width=se&&(!a[T(668)]||a[T(668)]===T(2086))?fe:y[T(533)],re[T(946)]=he&&(!a[T(668)]||a.resizeDirection===T(1736))?we:y[T(946)],y[T(533)]=re[T(533)],y.height=re[T(946)]),G&&p[T(773)]){const X=ce[0]*(re[T(533)]??0);re.x&&re.x<X&&(y.x=X,z.x=z.x-(re.x-X));const oe=ce[1]*(re[T(946)]??0);re.y&&re.y<oe&&(y.y=oe,z.y=z.y-(re.y-oe))}const Z=mb({width:y[T(533)],prevWidth:ee,height:y[T(946)],prevHeight:xe,affectsX:a.controlDirection[T(1582)],affectsY:a[T(331)][T(723)]}),ne={...y,direction:Z};M?.(q,ne)!==!1&&(V=!0,h?.(q,ne),o(re,P))}).on(m(1364),q=>{V&&(w?.(q,{...y}),x?.({...y}),V=!1)});i.call(W)}function s(){i.on(".drag",null)}return{update:d,destroy:s}}var yx={exports:{}},qo={},mx={exports:{}},Xo={},Qa;function Mb(){const e=c;if(Qa)return Xo;Qa=1;var n=B;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[e(1894)],i=n[e(1255)],a=n[e(1567)];function d(b,g){const v=e;var h=g(),w=x({inst:{value:h,getSnapshot:g}}),M=w[0][v(600)],m=w[1];return i(function(){const y=v;M.value=h,M[y(1771)]=g,s(M)&&m({inst:M})},[b,h,g]),r(function(){return s(M)&&m({inst:M}),b(function(){s(M)&&m({inst:M})})},[b]),a(h),h}function s(b){const g=e;var v=b[g(1771)];b=b[g(891)];try{var h=v();return!o(b,h)}catch{return!0}}function u(b,g){return g()}var f=e(431)===typeof window||e(431)===typeof window[e(1408)]||e(431)===typeof window[e(1408)][e(1608)]?u:d;return Xo.useSyncExternalStore=n[e(846)]!==void 0?n[e(846)]:f,Xo}var Ko={},$a;function Bb(){const e=c;return $a||($a=1,e(1317)!==process.env.NODE_ENV&&(function(){const n=e;function t(h,w){return h===w&&(h!==0||1/h===1/w)||h!==h&&w!==w}function o(h,w){const M=_0x5092;b||i[M(376)]===void 0||(b=!0,console.error(M(330)));var m=w();if(!g){var y=w();a(m,y)||(console.error(M(1301)),g=!0)}y=d({inst:{value:m,getSnapshot:w}});var z=y[0].inst,p=y[1];return u(function(){const k=M;z[k(891)]=m,z[k(1771)]=w,x(z)&&p({inst:z})},[h,m,w]),s(function(){return x(z)&&p({inst:z}),h(function(){x(z)&&p({inst:z})})},[h]),f(m),m}function x(h){var M=h[_0x5092(1771)];h=h.value;try{var m=M();return!a(h,m)}catch{return!0}}function r(h,w){return w()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&n(2001)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var i=B,a=n(2001)===typeof Object.is?Object.is:t,d=i[n(1102)],s=i.useEffect,u=i[n(1255)],f=i[n(1567)],b=!1,g=!1,v=n(431)===typeof window||n(431)===typeof window.document||n(431)===typeof window[n(1408)].createElement?r:o;Ko[n(846)]=i[n(846)]!==void 0?i[n(846)]:v,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&n(2001)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(997)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(997)](Error())})()),Ko}var ec;function nc(){const e=c;return ec||(ec=1,process.env.NODE_ENV==="production"?mx[e(969)]=Mb():mx.exports=Bb()),mx[e(969)]}var tc;function Db(){const e=c;if(tc)return qo;tc=1;var n=B,t=nc();function o(u,f){return u===f&&(u!==0||1/u===1/f)||u!==u&&f!==f}var x=e(2001)===typeof Object.is?Object.is:o,r=t.useSyncExternalStore,i=n[e(1345)],a=n[e(1894)],d=n[e(1332)],s=n[e(1567)];return qo[e(1787)]=function(u,f,b,g,v){const h=e;var w=i(null);if(w[h(1348)]===null){var M={hasValue:!1,value:null};w[h(1348)]=M}else M=w[h(1348)];w=d(function(){function y(G){const H=_0x5092;if(!z){if(z=!0,p=G,G=g(G),v!==void 0&&M[H(1387)]){var E=M[H(891)];if(v(E,G))return k=E}return k=G}if(E=k,x(p,G))return E;var V=g(G);return v!==void 0&&v(E,V)?(p=G,E):(p=G,k=V)}var z=!1,p,k,O=b===void 0?null:b;return[function(){return y(f())},O===null?void 0:function(){return y(O())}]},[f,b,g,v]);var m=r(u,w[0],w[1]);return a(function(){const y=h;M.hasValue=!0,M[y(891)]=m},[m]),s(m),m},qo}var Zo={},xc;function Lb(){const e=c;return xc||(xc=1,e(1317)!==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(431)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&n(2001)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(503)](Error());var o=B,x=nc(),r=n(2001)===typeof Object.is?Object.is:t,i=x[n(846)],a=o[n(1345)],d=o[n(1894)],s=o[n(1332)],u=o[n(1567)];Zo[n(1787)]=function(f,b,g,v,h){const w=n;var M=a(null);if(M[w(1348)]===null){var m={hasValue:!1,value:null};M[w(1348)]=m}else m=M[w(1348)];M=s(function(){function z(H){const E=_0x5092;if(!p){if(p=!0,k=H,H=v(H),h!==void 0&&m[E(1387)]){var V=m[E(891)];if(h(V,H))return O=V}return O=H}if(V=O,r(k,H))return V;var W=v(H);return h!==void 0&&h(V,W)?(k=H,V):(k=H,O=W)}var p=!1,k,O,G=g===void 0?null:g;return[function(){return z(b())},G===null?void 0:function(){return z(G())}]},[b,g,v,h]);var y=i(f,M[0],M[1]);return d(function(){const z=w;m[z(1387)]=!0,m[z(891)]=y},[y]),u(y),y},n(431)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&n(2001)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(997)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Zo}var oc;function Sb(){const e=c;return oc?yx.exports:(oc=1,process.env.NODE_ENV===e(1317)?yx[e(969)]=Db():yx.exports=Lb(),yx[e(969)])}var Nb=Sb();const kb=Wn(Nb),Ib={},rc=e=>{let n;const t=new Set,o=(u,f)=>{const b=_0x5092,g=typeof u=="function"?u(n):u;if(!Object.is(g,n)){const v=n;n=f??(typeof g!==b(793)||g===null)?g:Object[b(826)]({},n,g),t[b(467)](h=>h(n,v))}},x=()=>n,r=()=>s,i=u=>{const f=_0x5092;return t[f(1007)](u),()=>t[f(2055)](u)},a=()=>{const u=_0x5092;(Ib?"production":void 0)!==u(1317)&&console[u(999)]("[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[u(878)]()},d={setState:o,getState:x,getInitialState:r,subscribe:i,destroy:a},s=n=e(o,x,d);return d},Pb=e=>e?rc(e):rc,{useDebugValue:jb}=B,{useSyncExternalStoreWithSelector:Ab}=kb,Eb=e=>e;function ic(e,n=Eb,t){const o=c,x=Ab(e.subscribe,e[o(1638)],e[o(1325)]||e[o(1552)],n,t);return jb(x),x}const ac=(e,n)=>{const t=c,o=Pb(e),x=(r,i=n)=>ic(o,r,i);return Object[t(826)](x,o),x},Yb=(e,n)=>e?ac(e,n):ac;function Ue(e,n){const t=c;if(Object.is(e,n))return!0;if(typeof e!==t(793)||e===null||typeof n!="object"||n===null)return!1;if(e instanceof Map&&n instanceof Map){if(e[t(1876)]!==n[t(1876)])return!1;for(const[x,r]of e)if(!Object.is(r,n[t(509)](x)))return!1;return!0}if(e instanceof Set&&n instanceof Set){if(e[t(1876)]!==n[t(1876)])return!1;for(const x of e)if(!n[t(1308)](x))return!1;return!0}const o=Object[t(712)](e);if(o[t(922)]!==Object[t(712)](n)[t(922)])return!1;for(const x of o)if(!Object[t(1741)][t(1943)][t(1382)](n,x)||!Object.is(e[x],n[x]))return!1;return!0}const wx=B[c(564)](null),Ub=wx[c(1896)],cc=f0.error001();function Pe(e,n){const t=c,o=B[t(820)](wx);if(o===null)throw new Error(cc);return ic(o,e,n)}function Oe(){const e=c,n=B[e(820)](wx);if(n===null)throw new Error(cc);return B[e(1332)](()=>({getState:n.getState,setState:n[e(2075)],subscribe:n[e(394)]}),[n])}const sc={display:c(1368)},Ob={position:c(1860),width:1,height:1,margin:-1,border:0,padding:0,overflow:c(1140),clip:c(2170),clipPath:c(1134)},lc="react-flow__node-desc",dc="react-flow__edge-desc",Gb=c(1320),Tb=e=>e[c(1145)],Hb=e=>e.ariaLabelConfig;function Vb({rfId:e}){const n=c,t=Pe(Tb);return l[n(975)](n(1088),{id:Gb+"-"+e,"aria-live":n(1342),"aria-atomic":n(1983),style:Ob,children:t})}function Wb({rfId:e,disableKeyboardA11y:n}){const t=c,o=Pe(Hb);return l[t(1435)](l[t(676)],{children:[l[t(975)]("div",{id:lc+"-"+e,style:sc,children:n?o["node.a11yDescription.default"]:o["node.a11yDescription.keyboardDisabled"]}),l.jsx(t(1088),{id:dc+"-"+e,style:sc,children:o[t(1490)]}),!n&&l[t(975)](Vb,{rfId:e})]})}const vx=B[c(994)](({position:e="top-left",children:n,className:t,style:o,...x},r)=>{const i=c,a=(""+e)[i(2105)]("-");return l[i(975)](i(1088),{className:Ke([i(618),t,...a]),style:o,ref:r,...x,children:n})});vx[c(705)]=c(836);function qb({proOptions:e,position:n=c(616)}){const t=c;return e?.[t(573)]?null:l[t(975)](vx,{position:n,className:"react-flow__attribution","data-message":t(1277),children:l[t(975)]("a",{href:t(1311),target:t(771),rel:"noopener noreferrer","aria-label":t(428),children:"React Flow"})})}const Xb=e=>{const n=c,t=[],o=[];for(const[,x]of e[n(1684)])x[n(1750)]&&t[n(1843)](x[n(821)].userNode);for(const[,x]of e.edgeLookup)x[n(1750)]&&o[n(1843)](x);return{selectedNodes:t,selectedEdges:o}},px=e=>e.id;function Kb(e,n){const t=c;return Ue(e[t(313)].map(px),n[t(313)][t(692)](px))&&Ue(e[t(1612)][t(692)](px),n[t(1612)][t(692)](px))}function Zb({onSelectionChange:e}){const n=c,t=Oe(),{selectedNodes:o,selectedEdges:x}=Pe(Xb,Kb);return B[n(1894)](()=>{const r=n,i={nodes:o,edges:x};e?.(i),t[r(1638)]()[r(998)][r(467)](a=>a(i))},[o,x,e]),null}const Rb=e=>!!e[c(998)];function _b({onSelectionChange:e}){const n=c,t=Pe(Rb);return e||t?l[n(975)](Zb,{onSelectionChange:e}):null}const Ro=typeof window!==c(431)?B[c(1255)]:B.useEffect,uc=[0,0],Jb={x:0,y:0,zoom:1},Fb=[c(2102),c(1299),c(1386),"defaultEdges",c(2119),c(571),c(1665),c(559),c(2141),c(1606),c(434),c(2159),c(1836),c(445),"edgesReconnectable",c(440),c(1027),c(1598),c(1580),c(1019),c(2023),c(1330),c(1288),"connectionMode",c(1240),c(1618),c(752),c(413),c(1994),c(1861),c(1091),c(1515),c(695),c(591),c(1848),c(763),c(1842),c(508),c(806),"onSelectionDragStop",c(1959),"onMove",c(1270),c(1333),c(1011),c(813),c(1309),c(1238),c(1950),c(918),c(1923),c(312),c(1232),c(1548),"debug","autoPanSpeed",c(1630),c(1879)],fc=[...Fb,c(815)],Qb=e=>({setNodes:e[c(810)],setEdges:e[c(1649)],setMinZoom:e[c(1192)],setMaxZoom:e[c(2051)],setTranslateExtent:e[c(1310)],setNodeExtent:e[c(919)],reset:e.reset,setDefaultNodesAndEdges:e[c(924)]}),bc={translateExtent:st,nodeOrigin:uc,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:c(2153),rfId:"1"};function $b(e){const n=c,{setNodes:t,setEdges:o,setMinZoom:x,setMaxZoom:r,setTranslateExtent:i,setNodeExtent:a,reset:d,setDefaultNodesAndEdges:s}=Pe(Qb,Ue),u=Oe();Ro(()=>{const b=_0x5092;return s(e.defaultNodes,e[b(1509)]),()=>{f.current=bc,d()}},[]);const f=B.useRef(bc);return Ro(()=>{const b=_0x5092;for(const g of fc){const v=e[g],h=f[b(1348)][g];v!==h&&typeof e[g]!==b(431)&&(g===b(2102)?t(v):g===b(1299)?o(v):g===b(1598)?x(v):g===b(1580)?r(v):g==="translateExtent"?i(v):g===b(1019)?a(v):g===b(1630)?u[b(2075)]({ariaLabelConfig:Y5(v)}):g===b(1861)?u.setState({fitViewQueued:v}):g==="fitViewOptions"?u[b(2075)]({fitViewOptions:v}):u.setState({[g]:v}))}f.current=e},fc[n(692)](b=>e[b])),null}function hc(){const e=c;return typeof window===e(431)||!window[e(1166)]?null:window[e(1166)](e(703))}function eh(e){const n=c,[t,o]=B[n(1102)](e===n(1661)?null:e);return B[n(1894)](()=>{const x=n;if(e!=="system"){o(e);return}const r=hc(),i=()=>o(r?.[x(2156)]?x(1867):x(560));return i(),r?.[x(1533)](x(1759),i),()=>{const a=x;r?.[a(652)](a(1759),i)}},[e]),t!==null?t:hc()?.[n(2156)]?n(1867):n(560)}const gc=typeof document!==c(431)?document:null;function mt(e=null,n={target:gc,actInsideInputWithModifier:!0}){const t=c,[o,x]=B[t(1102)](!1),r=B[t(1345)](!1),i=B[t(1345)](new Set([])),[a,d]=B[t(1332)](()=>{const s=t;if(e!==null){const u=Array.isArray(e)?e:[e],f=u[s(568)](g=>typeof g=="string")[s(692)](g=>g[s(2067)]("+",`
|
|
3
|
+
`)[s(2067)](`
|
|
5
4
|
|
|
6
5
|
`,`
|
|
7
|
-
+`)
|
|
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
|
+
+`).split(`
|
|
7
|
+
`)),b=f[s(1046)]((g,v)=>g[s(1199)](...v),[]);return[f,b]}return[[],[]]},[e]);return B[t(1894)](()=>{const s=t,u=n?.target??gc,f=n?.[s(1859)]??!0;if(e!==null){const b=h=>{const w=s;if(r[w(1348)]=h.ctrlKey||h[w(454)]||h.shiftKey||h[w(2111)],(!r[w(1348)]||r[w(1348)]&&!f)&&Ca(h))return!1;const m=mc(h[w(1986)],d);if(i[w(1348)][w(1007)](h[m]),yc(a,i[w(1348)],!1)){const y=h.composedPath?.()?.[0]||h[w(1233)],z=y?.[w(1206)]==="BUTTON"||y?.[w(1206)]==="A";n[w(1784)]!==!1&&(r[w(1348)]||!z)&&h[w(1784)](),x(!0)}},g=h=>{const w=s,M=mc(h[w(1986)],d);yc(a,i.current,!0)?(x(!1),i[w(1348)].clear()):i[w(1348)][w(2055)](h[M]),h[w(425)]===w(1869)&&i[w(1348)][w(878)](),r.current=!1},v=()=>{const h=s;i[h(1348)][h(878)](),x(!1)};return u?.addEventListener("keydown",b),u?.[s(1533)]("keyup",g),window[s(1533)]("blur",v),window[s(1533)](s(1261),v),()=>{const h=s;u?.[h(652)](h(1788),b),u?.[h(652)]("keyup",g),window[h(652)]("blur",v),window[h(652)]("contextmenu",v)}}},[e,x]),o}function yc(e,n,t){const o=c;return e.filter(x=>t||x[o(922)]===n[o(1876)])[o(1559)](x=>x[o(2084)](r=>n.has(r)))}function mc(e,n){const t=c;return n[t(1499)](e)?"code":t(425)}const nh=()=>{const e=c,n=Oe();return B[e(1332)](()=>{const t=e;return{zoomIn:o=>{const x=_0x5092,{panZoom:r}=n.getState();return r?r[x(1350)](1.2,o):Promise[x(1887)](!1)},zoomOut:o=>{const x=_0x5092,{panZoom:r}=n[x(1638)]();return r?r[x(1350)](1/1.2,o):Promise[x(1887)](!1)},zoomTo:(o,x)=>{const r=_0x5092,{panZoom:i}=n[r(1638)]();return i?i[r(1617)](o,x):Promise[r(1887)](!1)},getZoom:()=>n[t(1638)]()[t(2035)][2],setViewport:async(o,x)=>{const r=t,{transform:[i,a,d],panZoom:s}=n[r(1638)]();return s?(await s.setViewport({x:o.x??i,y:o.y??a,zoom:o[r(1760)]??d},x),Promise[r(1887)](!0)):Promise.resolve(!1)},getViewport:()=>{const o=t,[x,r,i]=n[o(1638)]().transform;return{x,y:r,zoom:i}},setCenter:async(o,x,r)=>n[t(1638)]().setCenter(o,x,r),fitBounds:async(o,x)=>{const r=t,{width:i,height:a,minZoom:d,maxZoom:s,panZoom:u}=n.getState(),f=ko(o,i,a,d,s,x?.padding??.1);return u?(await u[r(1153)](f,{duration:x?.[r(960)],ease:x?.[r(758)],interpolate:x?.interpolate}),Promise.resolve(!0)):Promise[r(1887)](!1)},screenToFlowPosition:(o,x={})=>{const r=t,{transform:i,snapGrid:a,snapToGrid:d,domNode:s}=n[r(1638)]();if(!s)return o;const{x:u,y:f}=s[r(1163)](),b={x:o.x-u,y:o.y-f},g=x[r(1240)]??a,v=x.snapToGrid??d;return ht(b,i,v,g)},flowToScreenPosition:o=>{const x=t,{transform:r,domNode:i}=n[x(1638)]();if(!i)return o;const{x:a,y:d}=i[x(1163)](),s=fx(o,r);return{x:s.x+a,y:s.y+d}}}},[])};function wc(e,n){const t=c,o=[],x=new Map,r=[];for(const i of e)if(i[t(443)]===t(1007)){r.push(i);continue}else if(i[t(443)]==="remove"||i[t(443)]===t(2067))x.set(i.id,[i]);else{const a=x[t(509)](i.id);a?a.push(i):x[t(720)](i.id,[i])}for(const i of n){const a=x[t(509)](i.id);if(!a){o.push(i);continue}if(a[0][t(443)]===t(642))continue;if(a[0][t(443)]==="replace"){o.push({...a[0].item});continue}const d={...i};for(const s of a)th(s,d);o[t(1843)](d)}return r[t(922)]&&r[t(467)](i=>{const a=t;i[a(1175)]!==void 0?o.splice(i.index,0,{...i[a(1796)]}):o[a(1843)]({...i[a(1796)]})}),o}function th(e,n){const t=c;switch(e[t(443)]){case t(2113):{n[t(1750)]=e.selected;break}case t(845):{typeof e.position!==t(431)&&(n[t(845)]=e[t(845)]),typeof e[t(1910)]!==t(431)&&(n[t(1910)]=e[t(1910)]);break}case t(524):{typeof e[t(524)]!==t(431)&&(n[t(529)]={...e[t(524)]},e[t(697)]&&((e.setAttributes===!0||e.setAttributes===t(533))&&(n[t(533)]=e[t(524)].width),(e[t(697)]===!0||e[t(697)]===t(946))&&(n.height=e[t(524)][t(946)]))),typeof e[t(475)]=="boolean"&&(n[t(475)]=e.resizing);break}}}function vc(e,n){return wc(e,n)}function pc(e,n){return wc(e,n)}function hn(e,n){return{id:e,type:c(2113),selected:n}}function Un(e,n=new Set,t=!1){const o=c,x=[];for(const[r,i]of e){const a=n.has(r);!(i[o(1750)]===void 0&&!a)&&i[o(1750)]!==a&&(t&&(i[o(1750)]=a),x.push(hn(i.id,a)))}return x}function zc({items:e=[],lookup:n}){const t=c,o=[],x=new Map(e[t(692)](r=>[r.id,r]));for(const[r,i]of e[t(2095)]()){const a=n[t(509)](i.id),d=a?.internals?.[t(1722)]??a;d!==void 0&&d!==i&&o[t(1843)]({id:i.id,item:i,type:t(2067)}),d===void 0&&o[t(1843)]({item:i,type:"add",index:r})}for(const[r]of n)x[t(509)](r)===void 0&&o.push({id:r,type:t(642)});return o}function Cc(e){return{id:e.id,type:"remove"}}const Mc=e=>L5(e),xh=e=>da(e);function Bc(e){return B.forwardRef(e)}function Dc(e){const n=c,[t,o]=B[n(1102)](BigInt(0)),[x]=B[n(1102)](()=>oh(()=>o(r=>r+BigInt(1))));return Ro(()=>{const r=n,i=x.get();i.length&&(e(i),x[r(1632)]())},[t]),x}function oh(e){let n=[];return{get:()=>n,reset:()=>{n=[]},push:t=>{n[_0x5092(1843)](t),e()}}}const Lc=B[c(564)](null);function rh({children:e}){const n=c,t=Oe(),o=B.useCallback(d=>{const s=_0x5092,{nodes:u=[],setNodes:f,hasDefaultNodes:b,onNodesChange:g,nodeLookup:v,fitViewQueued:h,onNodesChangeMiddlewareMap:w}=t[s(1638)]();let M=u;for(const y of d)M=typeof y=="function"?y(M):y;let m=zc({items:M,lookup:v});for(const y of w.values())m=y(m);b&&f(M),m[s(922)]>0?g?.(m):h&&window[s(1733)](()=>{const{fitViewQueued:y,nodes:z,setNodes:p}=t.getState();y&&p(z)})},[]),x=Dc(o),r=B[n(1970)](d=>{const s=n,{edges:u=[],setEdges:f,hasDefaultEdges:b,onEdgesChange:g,edgeLookup:v}=t[s(1638)]();let h=u;for(const w of d)h=typeof w===s(2001)?w(h):w;b?f(h):g&&g(zc({items:h,lookup:v}))},[]),i=Dc(r),a=B[n(1332)](()=>({nodeQueue:x,edgeQueue:i}),[]);return l[n(975)](Lc[n(1896)],{value:a,children:e})}function ih(){const e=c,n=B[e(820)](Lc);if(!n)throw new Error("useBatchContext must be used within a BatchProvider");return n}const ah=e=>!!e[c(1454)];function _o(){const e=nh(),n=Oe(),t=ih(),o=Pe(ah),x=B.useMemo(()=>{const r=_0x5092,i=b=>n[r(1638)]()[r(1684)][r(509)](b),a=b=>{const g=r;t[g(1805)][g(1843)](b)},d=b=>{const g=r;t[g(1491)][g(1843)](b)},s=b=>{const g=r,{nodeLookup:v,nodeOrigin:h}=n[g(1638)](),w=Mc(b)?b:v[g(509)](b.id),M=w[g(1590)]?va(w.position,w[g(529)],w[g(1590)],v,h):w[g(845)],m={...w,position:M,width:w[g(529)]?.width??w[g(533)],height:w[g(529)]?.[g(946)]??w.height};return Pn(m)},u=(b,g,v={replace:!1})=>{const h=r;a(w=>w[h(692)](M=>{const m=h;if(M.id===b){const y=typeof g===m(2001)?g(M):g;return v[m(2067)]&&Mc(y)?y:{...M,...y}}return M}))},f=(b,g,v={replace:!1})=>{d(h=>h.map(w=>{const M=_0x5092;if(w.id===b){const m=typeof g===M(2001)?g(w):g;return v[M(2067)]&&xh(m)?m:{...w,...m}}return w}))};return{getNodes:()=>n[r(1638)]()[r(2102)].map(b=>({...b})),getNode:b=>i(b)?.internals[r(1722)],getInternalNode:i,getEdges:()=>{const b=r,{edges:g=[]}=n[b(1638)]();return g[b(692)](v=>({...v}))},getEdge:b=>n.getState()[r(487)].get(b),setNodes:a,setEdges:d,addNodes:b=>{const g=r,v=Array[g(1875)](b)?b:[b];t[g(1805)].push(h=>[...h,...v])},addEdges:b=>{const g=r,v=Array.isArray(b)?b:[b];t.edgeQueue[g(1843)](h=>[...h,...v])},toObject:()=>{const b=r,{nodes:g=[],edges:v=[],transform:h}=n[b(1638)](),[w,M,m]=h;return{nodes:g[b(692)](y=>({...y})),edges:v.map(y=>({...y})),viewport:{x:w,y:M,zoom:m}}},deleteElements:async({nodes:b=[],edges:g=[]})=>{const v=r,{nodes:h,edges:w,onNodesDelete:M,onEdgesDelete:m,triggerNodeChanges:y,triggerEdgeChanges:z,onDelete:p,onBeforeDelete:k}=n[v(1638)](),{nodes:O,edges:G}=await P5({nodesToRemove:b,edgesToRemove:g,nodes:h,edges:w,onBeforeDelete:k}),H=G.length>0,E=O[v(922)]>0;if(H){const V=G[v(692)](Cc);m?.(G),z(V)}if(E){const V=O[v(692)](Cc);M?.(O),y(V)}return(E||H)&&p?.({nodes:O,edges:G}),{deletedNodes:O,deletedEdges:G}},getIntersectingNodes:(b,g=!0,v)=>{const h=r,w=ya(b),M=w?b:s(b),m=v!==void 0;return M?(v||n[h(1638)]()[h(2102)])[h(568)](y=>{const z=h,p=n[z(1638)]()[z(1684)].get(y.id);if(p&&!w&&(y.id===b.id||!p[z(821)][z(1452)]))return!1;const k=Pn(m?y:p),O=ft(k,M);return g&&O>0||O>=k[z(533)]*k.height||O>=M[z(533)]*M.height}):[]},isNodeIntersecting:(b,g,v=!0)=>{const h=r,w=ya(b),M=w?b:s(b);if(!M)return!1;const m=ft(M,g);return v&&m>0||m>=g[h(533)]*g[h(946)]||m>=M.width*M[h(946)]},updateNode:u,updateNodeData:(b,g,v={replace:!1})=>{u(b,h=>{const w=_0x5092,M=typeof g===w(2001)?g(h):g;return v[w(2067)]?{...h,data:M}:{...h,data:{...h.data,...M}}},v)},updateEdge:f,updateEdgeData:(b,g,v={replace:!1})=>{f(b,h=>{const w=_0x5092,M=typeof g===w(2001)?g(h):g;return v[w(2067)]?{...h,data:M}:{...h,data:{...h[w(1215)],...M}}},v)},getNodesBounds:b=>{const g=r,{nodeLookup:v,nodeOrigin:h}=n[g(1638)]();return S5(b,{nodeLookup:v,nodeOrigin:h})},getHandleConnections:({type:b,id:g,nodeId:v})=>Array[r(1826)](n[r(1638)]()[r(1285)][r(509)](v+"-"+b+(g?"-"+g:""))?.[r(352)]()??[]),getNodeConnections:({type:b,handleId:g,nodeId:v})=>Array[r(1826)](n[r(1638)]()[r(1285)][r(509)](""+v+(b?g?"-"+b+"-"+g:"-"+b:""))?.[r(352)]()??[]),fitView:async b=>{const g=r,v=n[g(1638)]().fitViewResolver??E5();return n[g(2075)]({fitViewQueued:!0,fitViewOptions:b,fitViewResolver:v}),t.nodeQueue[g(1843)](h=>[...h]),v.promise}}},[]);return B.useMemo(()=>({...x,...e,viewportInitialized:o}),[o])}const Sc=e=>e[c(1750)],ch=typeof window!==c(431)?window:void 0;function sh({deleteKeyCode:e,multiSelectionKeyCode:n}){const t=c,o=Oe(),{deleteElements:x}=_o(),r=mt(e,{actInsideInputWithModifier:!1}),i=mt(n,{target:ch});B[t(1894)](()=>{const a=t;if(r){const{edges:d,nodes:s}=o.getState();x({nodes:s.filter(Sc),edges:d.filter(Sc)}),o[a(2075)]({nodesSelectionActive:!1})}},[r]),B.useEffect(()=>{o[t(2075)]({multiSelectionActive:i})},[i])}function lh(e){const n=c,t=Oe();B[n(1894)](()=>{const o=n,x=()=>{const r=_0x5092;if(!e[r(1348)]||!(e[r(1348)].checkVisibility?.()??!0))return!1;const i=Io(e[r(1348)]);(i[r(946)]===0||i[r(533)]===0)&&t[r(1638)]().onError?.(r(521),f0[r(1254)]()),t[r(2075)]({width:i[r(533)]||500,height:i[r(946)]||500})};if(e.current){x(),window[o(1533)]("resize",x);const r=new ResizeObserver(()=>x());return r[o(2049)](e.current),()=>{const i=o;window[i(652)](i(908),x),r&&e[i(1348)]&&r.unobserve(e[i(1348)])}}},[])}const zx={position:c(1860),width:"100%",height:c(1380),top:0,left:0},dh=e=>({userSelectionActive:e[c(1159)],lib:e[c(1436)],connectionInProgress:e[c(1367)][c(659)]});function uh({onPaneContextMenu:e,zoomOnScroll:n=!0,zoomOnPinch:t=!0,panOnScroll:o=!1,panOnScrollSpeed:x=.5,panOnScrollMode:r=un[c(2042)],zoomOnDoubleClick:i=!0,panOnDrag:a=!0,defaultViewport:d,translateExtent:s,minZoom:u,maxZoom:f,zoomActivationKeyCode:b,preventScrolling:g=!0,children:v,noWheelClassName:h,noPanClassName:w,onViewportChange:M,isControlledViewport:m,paneClickDistance:y,selectionOnDrag:z}){const p=c,k=Oe(),O=B[p(1345)](null),{userSelectionActive:G,lib:H,connectionInProgress:E}=Pe(dh,Ue),V=mt(b),W=B.useRef();lh(O);const q=B.useCallback(T=>{const S=p;M?.({x:T[0],y:T[1],zoom:T[2]}),!m&&k[S(2075)]({transform:T})},[M,m]);return B[p(1894)](()=>{const T=p;if(O[T(1348)]){W[T(1348)]=yb({domNode:O[T(1348)],minZoom:u,maxZoom:f,translateExtent:s,viewport:d,onDraggingChange:Y=>k[T(2075)](A=>A[T(1737)]===Y?A:{paneDragging:Y}),onPanZoomStart:(Y,A)=>{const P=T,{onViewportChangeStart:_,onMoveStart:$}=k[P(1638)]();$?.(Y,A),_?.(A)},onPanZoom:(Y,A)=>{const P=T,{onViewportChange:_,onMove:$}=k[P(1638)]();$?.(Y,A),_?.(A)},onPanZoomEnd:(Y,A)=>{const P=T,{onViewportChangeEnd:_,onMoveEnd:$}=k[P(1638)]();$?.(Y,A),_?.(A)}});const{x:S,y:L,zoom:D}=W[T(1348)][T(1228)]();return k[T(2075)]({panZoom:W[T(1348)],transform:[S,L,D],domNode:O.current.closest(T(1174))}),()=>{const Y=T;W.current?.[Y(766)]()}}},[]),B.useEffect(()=>{const T=p;W.current?.[T(473)]({onPaneContextMenu:e,zoomOnScroll:n,zoomOnPinch:t,panOnScroll:o,panOnScrollSpeed:x,panOnScrollMode:r,zoomOnDoubleClick:i,panOnDrag:a,zoomActivationKeyPressed:V,preventScrolling:g,noPanClassName:w,userSelectionActive:G,noWheelClassName:h,lib:H,onTransformChange:q,connectionInProgress:E,selectionOnDrag:z,paneClickDistance:y})},[e,n,t,o,x,r,i,a,V,g,w,G,h,H,q,E,z,y]),l[p(975)](p(1088),{className:"react-flow__renderer",ref:O,style:zx,children:v})}const fh=e=>({userSelectionActive:e[c(1159)],userSelectionRect:e[c(911)]});function bh(){const e=c,{userSelectionActive:n,userSelectionRect:t}=Pe(fh,Ue);return n&&t?l.jsx(e(1088),{className:e(1511),style:{width:t.width,height:t.height,transform:e(1568)+t.x+e(1451)+t.y+e(1339)}}):null}const Jo=(e,n)=>t=>{const o=_0x5092;t[o(1233)]===n[o(1348)]&&e?.(t)},hh=e=>({userSelectionActive:e[c(1159)],elementsSelectable:e[c(1288)],connectionInProgress:e[c(1367)][c(659)],dragging:e[c(1737)]});function gh({isSelecting:e,selectionKeyPressed:n,selectionMode:t=lt[c(1113)],panOnDrag:o,paneClickDistance:x,selectionOnDrag:r,onSelectionStart:i,onSelectionEnd:a,onPaneClick:d,onPaneContextMenu:s,onPaneScroll:u,onPaneMouseEnter:f,onPaneMouseMove:b,onPaneMouseLeave:g,children:v}){const h=c,w=Oe(),{userSelectionActive:M,elementsSelectable:m,dragging:y,connectionInProgress:z}=Pe(hh,Ue),p=m&&(e||M),k=B.useRef(null),O=B[h(1345)](),G=B[h(1345)](new Set),H=B[h(1345)](new Set),E=B[h(1345)](!1),V=A=>{const P=h;if(E[P(1348)]||z){E[P(1348)]=!1;return}d?.(A),w[P(1638)]()[P(675)](),w[P(2075)]({nodesSelectionActive:!1})},W=A=>{const P=h;if(Array[P(1875)](o)&&o?.includes(2)){A[P(1784)]();return}s?.(A)},q=u?A=>u(A):void 0,T=A=>{const P=h;E[P(1348)]&&(A[P(718)](),E[P(1348)]=!1)},S=A=>{const P=h,{domNode:_}=w[P(1638)]();if(O[P(1348)]=_?.getBoundingClientRect(),!O.current)return;const $=A[P(1233)]===k[P(1348)];if(!$&&!!A.target[P(957)](P(2019))||!e||!(r&&$||n)||A[P(1730)]!==0||!A[P(1068)])return;A[P(1233)]?.[P(785)]?.(A[P(1155)]),E[P(1348)]=!1;const{x:re,y:ce}=M0(A[P(1278)],O.current);w[P(2075)]({userSelectionRect:{width:0,height:0,startX:re,startY:ce,x:re,y:ce}}),!$&&(A.stopPropagation(),A.preventDefault())},L=A=>{const P=h,{userSelectionRect:_,transform:$,nodeLookup:ee,edgeLookup:xe,connectionLookup:re,triggerNodeChanges:ce,triggerEdgeChanges:fe,defaultEdgeOptions:we,resetSelectedElements:le}=w[P(1638)]();if(!O[P(1348)]||!_)return;const{x:Q,y:se}=M0(A[P(1278)],O[P(1348)]),{startX:he,startY:U}=_;if(!E[P(1348)]){const X=n?0:x;if(Math[P(1324)](Q-he,se-U)<=X)return;le(),i?.(A)}E[P(1348)]=!0;const j={startX:he,startY:U,x:Q<he?Q:he,y:se<U?se:U,width:Math[P(1785)](Q-he),height:Math[P(1785)](se-U)},Z=G[P(1348)],ne=H[P(1348)];G.current=new Set(So(ee,j,$,t===lt[P(1719)],!0).map(X=>X.id)),H.current=new Set;const te=we?.[P(645)]??!0;for(const X of G[P(1348)]){const oe=re[P(509)](X);if(oe)for(const{edgeId:ve}of oe.values()){const Me=xe[P(509)](ve);Me&&(Me[P(645)]??te)&&H.current[P(1007)](ve)}}if(!pa(Z,G[P(1348)])){const X=Un(ee,G[P(1348)],!0);ce(X)}if(!pa(ne,H.current)){const X=Un(xe,H[P(1348)]);fe(X)}w[P(2075)]({userSelectionRect:j,userSelectionActive:!0,nodesSelectionActive:!1})},D=A=>{const P=h;A[P(1730)]===0&&(A[P(1233)]?.[P(2129)]?.(A.pointerId),!M&&A[P(1233)]===k[P(1348)]&&w[P(1638)]()[P(911)]&&V?.(A),w[P(2075)]({userSelectionActive:!1,userSelectionRect:null}),E[P(1348)]&&(a?.(A),w[P(2075)]({nodesSelectionActive:G[P(1348)][P(1876)]>0})))},Y=o===!0||Array[h(1875)](o)&&o.includes(0);return l.jsxs("div",{className:Ke([h(2034),{draggable:Y,dragging:y,selection:e}]),onClick:p?void 0:Jo(V,k),onContextMenu:Jo(W,k),onWheel:Jo(q,k),onPointerEnter:p?void 0:f,onPointerMove:p?L:b,onPointerUp:p?D:void 0,onPointerDownCapture:p?S:void 0,onClickCapture:p?T:void 0,onPointerLeave:g,ref:k,style:zx,children:[v,l[h(975)](bh,{})]})}function Fo({id:e,store:n,unselect:t=!1,nodeRef:o}){const x=c,{addSelectedNodes:r,unselectNodesAndEdges:i,multiSelectionActive:a,nodeLookup:d,onError:s}=n[x(1638)](),u=d.get(e);if(!u){s?.(x(1620),f0[x(1427)](e));return}n[x(2075)]({nodesSelectionActive:!1}),u[x(1750)]?(t||u[x(1750)]&&a)&&(i({nodes:[u],edges:[]}),requestAnimationFrame(()=>o?.[x(1348)]?.blur())):r([e])}function Nc({nodeRef:e,disabled:n=!1,noDragClassName:t,handleSelector:o,nodeId:x,isSelectable:r,nodeClickDistance:i}){const a=c,d=Oe(),[s,u]=B[a(1102)](!1),f=B.useRef();return B[a(1894)](()=>{const b=a;f[b(1348)]=xb({getStoreItems:()=>d.getState(),onNodeMouseDown:g=>{Fo({id:g,store:d,nodeRef:e})},onDragStart:()=>{u(!0)},onDragStop:()=>{u(!1)}})},[]),B[a(1894)](()=>{const b=a;if(!(n||!e[b(1348)]||!f[b(1348)]))return f[b(1348)].update({noDragClassName:t,handleSelector:o,domNode:e[b(1348)],isSelectable:r,nodeId:x,nodeClickDistance:i}),()=>{const g=b;f[g(1348)]?.[g(766)]()}},[t,o,n,r,e,x,i]),s}const yh=e=>n=>n[c(1750)]&&(n.draggable||e&&typeof n[c(1118)]===c(431));function kc(){const e=c,n=Oe();return B[e(1970)](o=>{const x=e,{nodeExtent:r,snapToGrid:i,snapGrid:a,nodesDraggable:d,onError:s,updateNodePositions:u,nodeLookup:f,nodeOrigin:b}=n[x(1638)](),g=new Map,v=yh(d),h=i?a[0]:5,w=i?a[1]:5,M=o[x(1405)].x*h*o[x(1497)],m=o[x(1405)].y*w*o[x(1497)];for(const[,y]of f){if(!v(y))continue;let z={x:y[x(821)][x(1452)].x+M,y:y[x(821)][x(1452)].y+m};i&&(z=bt(z,a));const{position:p,positionAbsolute:k}=ua({nodeId:y.id,nextPosition:z,nodeLookup:f,nodeExtent:r,nodeOrigin:b,onError:s});y[x(845)]=p,y[x(821)].positionAbsolute=k,g[x(720)](y.id,y)}u(g)},[])}const Qo=B[c(564)](null),mh=Qo[c(1896)];Qo[c(1833)];const Ic=()=>B[c(820)](Qo),wh=e=>({connectOnClick:e[c(413)],noPanClassName:e[c(1333)],rfId:e[c(815)]}),vh=(e,n,t)=>o=>{const x=c,{connectionClickStartHandle:r,connectionMode:i,connection:a}=o,{fromHandle:d,toHandle:s,isValid:u}=a,f=s?.nodeId===e&&s?.id===n&&s?.[x(443)]===t;return{connectingFrom:d?.[x(507)]===e&&d?.id===n&&d?.type===t,connectingTo:f,clickConnecting:r?.[x(507)]===e&&r?.id===n&&r?.[x(443)]===t,isPossibleEndHandle:i===kn.Strict?d?.[x(443)]!==t:e!==d?.[x(507)]||n!==d?.id,connectionInProcess:!!d,clickConnectionInProcess:!!r,valid:f&&u}};function ph({type:e="source",position:n=pe[c(2115)],isValidConnection:t,isConnectable:o=!0,isConnectableStart:x=!0,isConnectableEnd:r=!0,id:i,onConnect:a,children:d,className:s,onMouseDown:u,onTouchStart:f,...b},g){const v=c,h=i||null,w=e===v(1233),M=Oe(),m=Ic(),{connectOnClick:y,noPanClassName:z,rfId:p}=Pe(wh,Ue),{connectingFrom:k,connectingTo:O,clickConnecting:G,isPossibleEndHandle:H,connectionInProcess:E,clickConnectionInProcess:V,valid:W}=Pe(vh(m,h,e),Ue);!m&&M[v(1638)]()[v(1238)]?.(v(1718),f0[v(623)]());const q=L=>{const{defaultEdgeOptions:D,onConnect:Y,hasDefaultEdges:A}=M.getState(),P={...D,...L};if(A){const{edges:_,setEdges:$}=M.getState();$(ka(P,_))}Y?.(P),a?.(P)},T=L=>{const D=v;if(!m)return;const Y=Ma(L[D(1278)]);if(x&&(Y&&L[D(1730)]===0||!Y)){const A=M[D(1638)]();Ho[D(1899)](L[D(1278)],{handleDomNode:L[D(1942)],autoPanOnConnect:A[D(813)],connectionMode:A[D(1318)],connectionRadius:A[D(1950)],domNode:A[D(584)],nodeLookup:A[D(1684)],lib:A.lib,isTarget:w,handleId:h,nodeId:m,flowId:A[D(815)],panBy:A[D(903)],cancelConnection:A[D(1221)],onConnectStart:A.onConnectStart,onConnectEnd:(...P)=>M[D(1638)]()[D(1665)]?.(...P),updateConnection:A[D(882)],onConnect:q,isValidConnection:t||((...P)=>M[D(1638)]().isValidConnection?.(...P)??!0),getTransform:()=>M[D(1638)]()[D(2035)],getFromHandle:()=>M.getState()[D(1367)][D(2012)],autoPanSpeed:A.autoPanSpeed,dragThreshold:A[D(1232)]})}Y?u?.(L):f?.(L)},S=L=>{const D=v,{onClickConnectStart:Y,onClickConnectEnd:A,connectionClickStartHandle:P,connectionMode:_,isValidConnection:$,lib:ee,rfId:xe,nodeLookup:re,connection:ce}=M[D(1638)]();if(!m||!P&&!x)return;if(!P){Y?.(L.nativeEvent,{nodeId:m,handleId:h,handleType:e}),M[D(2075)]({connectionClickStartHandle:{nodeId:m,type:e,id:h}});return}const fe=za(L[D(1233)]),we=t||$,{connection:le,isValid:Q}=Ho.isValid(L.nativeEvent,{handle:{nodeId:m,id:h,type:e},connectionMode:_,fromNodeId:P[D(507)],fromHandleId:P.id||null,fromType:P[D(443)],isValidConnection:we,flowId:xe,doc:fe,lib:ee,nodeLookup:re});Q&&le&&q(le);const se=structuredClone(ce);delete se.inProgress,se[D(597)]=se.toHandle?se[D(1698)].position:null,A?.(L,se),M[D(2075)]({connectionClickStartHandle:null})};return l.jsx(v(1088),{"data-handleid":h,"data-nodeid":m,"data-handlepos":n,"data-id":p+"-"+m+"-"+h+"-"+e,className:Ke([v(1055),v(721)+n,v(1082),z,s,{source:!w,target:w,connectable:o,connectablestart:x,connectableend:r,clickconnecting:G,connectingfrom:k,connectingto:O,valid:W,connectionindicator:o&&(!E||H)&&(E||V?r:x)}]),onMouseDown:T,onTouchStart:T,onClick:y?S:void 0,ref:g,...b,children:d})}const On=B.memo(Bc(ph));function zh({data:e,isConnectable:n,sourcePosition:t=pe[c(1031)]}){const o=c;return l[o(1435)](l[o(676)],{children:[e?.[o(1765)],l.jsx(On,{type:o(1858),position:t,isConnectable:n})]})}function Ch({data:e,isConnectable:n,targetPosition:t=pe.Top,sourcePosition:o=pe[c(1031)]}){const x=c;return l[x(1435)](l[x(676)],{children:[l.jsx(On,{type:x(1233),position:t,isConnectable:n}),e?.[x(1765)],l[x(975)](On,{type:x(1858),position:o,isConnectable:n})]})}function Mh(){return null}function Bh({data:e,isConnectable:n,targetPosition:t=pe[c(2115)]}){const o=c;return l[o(1435)](l[o(676)],{children:[l.jsx(On,{type:o(1233),position:t,isConnectable:n}),e?.[o(1765)]]})}const Cx={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},Pc={input:zh,default:Ch,output:Bh,group:Mh};function Dh(e){const n=c;return e[n(821)].handleBounds===void 0?{width:e.width??e[n(458)]??e[n(598)]?.width,height:e[n(946)]??e[n(2163)]??e.style?.[n(946)]}:{width:e[n(533)]??e[n(598)]?.width,height:e[n(946)]??e[n(598)]?.height}}const Lh=e=>{const n=c,{width:t,height:o,x,y:r}=ut(e[n(1684)],{filter:i=>!!i[n(1750)]});return{width:C0(t)?t:null,height:C0(o)?o:null,userSelectionActive:e[n(1159)],transformString:n(1568)+e[n(2035)][0]+"px,"+e[n(2035)][1]+n(1343)+e[n(2035)][2]+n(942)+x+n(1802)+r+"px)"}};function Sh({onSelectionContextMenu:e,noPanClassName:n,disableKeyboardA11y:t}){const o=c,x=Oe(),{width:r,height:i,transformString:a,userSelectionActive:d}=Pe(Lh,Ue),s=kc(),u=B.useRef(null);B[o(1894)](()=>{const v=o;!t&&u[v(1348)]?.[v(1073)]({preventScroll:!0})},[t]);const f=!d&&r!==null&&i!==null;if(Nc({nodeRef:u,disabled:!f}),!f)return null;const b=e?v=>{const h=o,w=x[h(1638)]().nodes[h(568)](M=>M.selected);e(v,w)}:void 0,g=v=>{const h=o;Object[h(1741)][h(1943)][h(1382)](Cx,v[h(425)])&&(v.preventDefault(),s({direction:Cx[v.key],factor:v[h(931)]?4:1}))};return l[o(975)](o(1088),{className:Ke([o(1713),o(1819),n]),style:{transform:a},children:l[o(975)](o(1088),{ref:u,className:"react-flow__nodesselection-rect",onContextMenu:b,tabIndex:t?void 0:-1,onKeyDown:t?void 0:g,style:{width:r,height:i}})})}const jc=typeof window<"u"?window:void 0,Nh=e=>{const n=c;return{nodesSelectionActive:e.nodesSelectionActive,userSelectionActive:e[n(1159)]}};function Ac({children:e,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:o,onPaneMouseLeave:x,onPaneContextMenu:r,onPaneScroll:i,paneClickDistance:a,deleteKeyCode:d,selectionKeyCode:s,selectionOnDrag:u,selectionMode:f,onSelectionStart:b,onSelectionEnd:g,multiSelectionKeyCode:v,panActivationKeyCode:h,zoomActivationKeyCode:w,elementsSelectable:M,zoomOnScroll:m,zoomOnPinch:y,panOnScroll:z,panOnScrollSpeed:p,panOnScrollMode:k,zoomOnDoubleClick:O,panOnDrag:G,defaultViewport:H,translateExtent:E,minZoom:V,maxZoom:W,preventScrolling:q,onSelectionContextMenu:T,noWheelClassName:S,noPanClassName:L,disableKeyboardA11y:D,onViewportChange:Y,isControlledViewport:A}){const P=c,{nodesSelectionActive:_,userSelectionActive:$}=Pe(Nh,Ue),ee=mt(s,{target:jc}),xe=mt(h,{target:jc}),re=xe||G,ce=xe||z,fe=u&&re!==!0,we=ee||$||fe;return sh({deleteKeyCode:d,multiSelectionKeyCode:v}),l.jsx(uh,{onPaneContextMenu:r,elementsSelectable:M,zoomOnScroll:m,zoomOnPinch:y,panOnScroll:ce,panOnScrollSpeed:p,panOnScrollMode:k,zoomOnDoubleClick:O,panOnDrag:!ee&&re,defaultViewport:H,translateExtent:E,minZoom:V,maxZoom:W,zoomActivationKeyCode:w,preventScrolling:q,noWheelClassName:S,noPanClassName:L,onViewportChange:Y,isControlledViewport:A,paneClickDistance:a,selectionOnDrag:fe,children:l.jsxs(gh,{onSelectionStart:b,onSelectionEnd:g,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:o,onPaneMouseLeave:x,onPaneContextMenu:r,onPaneScroll:i,panOnDrag:re,isSelecting:!!we,selectionMode:f,selectionKeyPressed:ee,paneClickDistance:a,selectionOnDrag:fe,children:[e,_&&l[P(975)](Sh,{onSelectionContextMenu:T,noPanClassName:L,disableKeyboardA11y:D})]})})}Ac[c(705)]=c(2044);const kh=B[c(662)](Ac),Ih=e=>n=>{const t=c;return e?So(n.nodeLookup,{x:0,y:0,width:n[t(533)],height:n.height},n[t(2035)],!0)[t(692)](o=>o.id):Array[t(1826)](n[t(1684)][t(712)]())};function Ph(e){return Pe(B[c(1970)](Ih(e),[e]),Ue)}const jh=e=>e.updateNodeInternals;function Ah(){const e=c,n=Pe(jh),[t]=B[e(1102)](()=>typeof ResizeObserver===e(431)?null:new ResizeObserver(x=>{const r=new Map;x.forEach(i=>{const a=_0x5092,d=i[a(1233)][a(1241)]("data-id");r[a(720)](d,{id:d,nodeElement:i[a(1233)],force:!0})}),n(r)}));return B[e(1894)](()=>()=>{t?.disconnect()},[t]),t}function Eh({node:e,nodeType:n,hasDimensions:t,resizeObserver:o}){const x=c,r=Oe(),i=B[x(1345)](null),a=B[x(1345)](null),d=B.useRef(e[x(715)]),s=B[x(1345)](e[x(2057)]),u=B[x(1345)](n),f=t&&!!e[x(821)][x(2087)];return B[x(1894)](()=>{const b=x;i[b(1348)]&&!e[b(1140)]&&(!f||a[b(1348)]!==i[b(1348)])&&(a[b(1348)]&&o?.unobserve(a[b(1348)]),o?.[b(2049)](i.current),a[b(1348)]=i[b(1348)])},[f,e[x(1140)]]),B.useEffect(()=>()=>{const b=_0x5092;a.current&&(o?.[b(2137)](a[b(1348)]),a[b(1348)]=null)},[]),B.useEffect(()=>{const b=x;if(i[b(1348)]){const g=u.current!==n,v=d[b(1348)]!==e[b(715)],h=s[b(1348)]!==e[b(2057)];(g||v||h)&&(u[b(1348)]=n,d[b(1348)]=e[b(715)],s[b(1348)]=e[b(2057)],r[b(1638)]()[b(1344)](new Map([[e.id,{id:e.id,nodeElement:i[b(1348)],force:!0}]])))}},[e.id,n,e[x(715)],e[x(2057)]]),i}function Yh({id:e,onClick:n,onMouseEnter:t,onMouseMove:o,onMouseLeave:x,onContextMenu:r,onDoubleClick:i,nodesDraggable:a,elementsSelectable:d,nodesConnectable:s,nodesFocusable:u,resizeObserver:f,noDragClassName:b,noPanClassName:g,disableKeyboardA11y:v,rfId:h,nodeTypes:w,nodeClickDistance:M,onError:m}){const y=c,{node:z,internals:p,isParent:k}=Pe(le=>{const Q=_0x5092,se=le[Q(1684)][Q(509)](e),he=le[Q(1963)][Q(1308)](e);return{node:se,internals:se.internals,isParent:he}},Ue);let O=z[y(443)]||"default",G=w?.[O]||Pc[O];G===void 0&&(m?.(y(1349),f0[y(1648)](O)),O=y(1262),G=w?.[y(1262)]||Pc[y(1262)]);const H=!!(z[y(1118)]||a&&typeof z[y(1118)]===y(431)),E=!!(z[y(645)]||d&&typeof z[y(645)]===y(431)),V=!!(z.connectable||s&&typeof z[y(1937)]===y(431)),W=!!(z[y(1201)]||u&&typeof z.focusable===y(431)),q=Oe(),T=wa(z),S=Eh({node:z,nodeType:O,hasDimensions:T,resizeObserver:f}),L=Nc({nodeRef:S,disabled:z.hidden||!H,noDragClassName:b,handleSelector:z[y(852)],nodeId:e,isSelectable:E,nodeClickDistance:M}),D=kc();if(z[y(1140)])return null;const Y=H0(z),A=Dh(z),P=E||H||n||t||o||x,_=t?le=>t(le,{...p[y(1722)]}):void 0,$=o?le=>o(le,{...p[y(1722)]}):void 0,ee=x?le=>x(le,{...p[y(1722)]}):void 0,xe=r?le=>r(le,{...p[y(1722)]}):void 0,re=i?le=>i(le,{...p[y(1722)]}):void 0,ce=le=>{const Q=y,{selectNodesOnDrag:se,nodeDragThreshold:he}=q[Q(1638)]();E&&(!se||!H||he>0)&&Fo({id:e,store:q,nodeRef:S}),n&&n(le,{...p.userNode})},fe=le=>{const Q=y;if(!(Ca(le[Q(1278)])||v)){if(ia[Q(1499)](le.key)&&E){const se=le[Q(425)]===Q(2152);Fo({id:e,store:q,unselect:se,nodeRef:S})}else if(H&&z[Q(1750)]&&Object[Q(1741)][Q(1943)][Q(1382)](Cx,le[Q(425)])){le[Q(1784)]();const{ariaLabelConfig:se}=q.getState();q[Q(2075)]({ariaLiveMessage:se[Q(1846)]({direction:le[Q(425)].replace(Q(2016),"")[Q(1154)](),x:~~p[Q(1452)].x,y:~~p[Q(1452)].y})}),D({direction:Cx[le[Q(425)]],factor:le.shiftKey?4:1})}}},we=()=>{const le=y;if(v||!S[le(1348)]?.matches(le(879)))return;const{transform:Q,width:se,height:he,autoPanOnNodeFocus:U,setCenter:j}=q[le(1638)]();if(!U)return;!(So(new Map([[e,z]]),{x:0,y:0,width:se,height:he},Q,!0)[le(922)]>0)&&j(z.position.x+Y[le(533)]/2,z[le(845)].y+Y[le(946)]/2,{zoom:Q[2]})};return l[y(975)](y(1088),{className:Ke([y(1594),y(1653)+O,{[g]:H},z[y(753)],{selected:z.selected,selectable:E,parent:k,draggable:H,dragging:L}]),ref:S,style:{zIndex:p.z,transform:y(1568)+p[y(1452)].x+"px,"+p[y(1452)].y+y(1339),pointerEvents:y(P?1239:1368),visibility:y(T?2014:1140),...z[y(598)],...A},"data-id":e,"data-testid":y(1827)+e,onMouseEnter:_,onMouseMove:$,onMouseLeave:ee,onContextMenu:xe,onClick:ce,onDoubleClick:re,onKeyDown:W?fe:void 0,tabIndex:W?0:void 0,onFocus:W?we:void 0,role:z[y(1751)]??(W?y(1087):void 0),"aria-roledescription":y(464),"aria-describedby":v?void 0:lc+"-"+h,"aria-label":z[y(1152)],...z.domAttributes,children:l[y(975)](mh,{value:e,children:l[y(975)](G,{id:e,data:z[y(1215)],type:O,positionAbsoluteX:p[y(1452)].x,positionAbsoluteY:p[y(1452)].y,selected:z[y(1750)]??!1,selectable:E,draggable:H,deletable:z[y(1920)]??!0,isConnectable:V,sourcePosition:z[y(715)],targetPosition:z[y(2057)],dragging:L,dragHandle:z[y(852)],zIndex:p.z,parentId:z[y(1590)],...Y})})})}var Uh=B[c(662)](Yh);const Oh=e=>({nodesDraggable:e[c(1606)],nodesConnectable:e[c(2159)],nodesFocusable:e[c(1836)],elementsSelectable:e[c(1288)],onError:e[c(1238)]});function Ec(e){const n=c,{nodesDraggable:t,nodesConnectable:o,nodesFocusable:x,elementsSelectable:r,onError:i}=Pe(Oh,Ue),a=Ph(e.onlyRenderVisibleElements),d=Ah();return l[n(975)]("div",{className:n(1671),style:zx,children:a[n(692)](s=>{const u=n;return l[u(975)](Uh,{id:s,nodeTypes:e[u(340)],nodeExtent:e[u(1019)],onClick:e.onNodeClick,onMouseEnter:e.onNodeMouseEnter,onMouseMove:e[u(1393)],onMouseLeave:e[u(1951)],onContextMenu:e.onNodeContextMenu,onDoubleClick:e.onNodeDoubleClick,noDragClassName:e[u(1302)],noPanClassName:e[u(1333)],rfId:e[u(815)],disableKeyboardA11y:e[u(1551)],resizeObserver:d,nodesDraggable:t,nodesConnectable:o,nodesFocusable:x,elementsSelectable:r,nodeClickDistance:e[u(745)],onError:i},s)})})}Ec[c(705)]="NodeRenderer";const Gh=B[c(662)](Ec);function Th(e){const n=c;return Pe(B[n(1970)](o=>{const x=n;if(!e)return o[x(1299)][x(692)](i=>i.id);const r=[];if(o[x(533)]&&o[x(946)])for(const i of o.edges){const a=o[x(1684)][x(509)](i.source),d=o[x(1684)][x(509)](i[x(1233)]);a&&d&&G5({sourceNode:a,targetNode:d,width:o.width,height:o.height,transform:o[x(2035)]})&&r[x(1843)](i.id)}return r},[e]),Ue)}const Hh=({color:e=c(1368),strokeWidth:n=1})=>{const t=c,o={strokeWidth:n,...e&&{stroke:e}};return l[t(975)](t(779),{className:t(827),style:o,strokeLinecap:t(1707),fill:t(1368),strokeLinejoin:t(1707),points:t(1445)})},Vh=({color:e=c(1368),strokeWidth:n=1})=>{const t=c,o={strokeWidth:n,...e&&{stroke:e,fill:e}};return l[t(975)](t(779),{className:t(339),style:o,strokeLinecap:t(1707),strokeLinejoin:t(1707),points:t(796)})},Yc={[sx.Arrow]:Hh,[sx[c(1523)]]:Vh};function Wh(e){const n=c,t=Oe();return B[n(1332)](()=>{const x=n;return Object[x(1741)].hasOwnProperty[x(1382)](Yc,e)?Yc[e]:(t[x(1638)]()[x(1238)]?.(x(1312),f0[x(1468)](e)),null)},[e])}const qh=({id:e,type:n,color:t,width:o=12.5,height:x=12.5,markerUnits:r="strokeWidth",strokeWidth:i,orient:a=c(1381)})=>{const d=c,s=Wh(n);return s?l.jsx(d(1847),{className:d(1503),id:e,markerWidth:""+o,markerHeight:""+x,viewBox:d(801),markerUnits:r,orient:a,refX:"0",refY:"0",children:l[d(975)](s,{color:t,strokeWidth:i})}):null},Uc=({defaultColor:e,rfId:n})=>{const t=c,o=Pe(i=>i[t(1299)]),x=Pe(i=>i[t(1994)]),r=B[t(1332)](()=>{const i=t;return K5(o,{id:n,defaultColor:e,defaultMarkerStart:x?.[i(2024)],defaultMarkerEnd:x?.[i(420)]})},[o,x,n,e]);return r[t(922)]?l[t(975)](t(447),{className:t(1457),"aria-hidden":t(1983),children:l[t(975)](t(1327),{children:r.map(i=>l[t(975)](qh,{id:i.id,type:i[t(443)],color:i.color,width:i[t(533)],height:i[t(946)],markerUnits:i[t(1396)],strokeWidth:i.strokeWidth,orient:i[t(596)]},i.id))})}):null};Uc[c(705)]=c(900);var Xh=B[c(662)](Uc);function Oc({x:e,y:n,label:t,labelStyle:o,labelShowBg:x=!0,labelBgStyle:r,labelBgPadding:i=[2,4],labelBgBorderRadius:a=2,children:d,className:s,...u}){const f=c,[b,g]=B[f(1102)]({x:1,y:0,width:0,height:0}),v=Ke(["react-flow__edge-textwrapper",s]),h=B[f(1345)](null);return B[f(1894)](()=>{const w=f;if(h.current){const M=h[w(1348)][w(1471)]();g({x:M.x,y:M.y,width:M[w(533)],height:M[w(946)]})}},[t]),t?l.jsxs("g",{transform:f(1568)+(e-b[f(533)]/2)+" "+(n-b[f(946)]/2)+")",className:v,visibility:b[f(533)]?"visible":"hidden",...u,children:[x&&l[f(975)](f(930),{width:b[f(533)]+2*i[0],x:-i[0],y:-i[1],height:b[f(946)]+2*i[1],className:f(1856),style:r,rx:a,ry:a}),l[f(975)](f(1992),{className:f(446),y:b[f(946)]/2,dy:f(1976),ref:h,style:o,children:t}),d]}):null}Oc[c(705)]=c(795);const Kh=B[c(662)](Oc);function Mx({path:e,labelX:n,labelY:t,label:o,labelStyle:x,labelShowBg:r,labelBgStyle:i,labelBgPadding:a,labelBgBorderRadius:d,interactionWidth:s=20,...u}){const f=c;return l[f(1435)](l[f(676)],{children:[l[f(975)]("path",{...u,d:e,fill:f(1368),className:Ke([f(967),u[f(753)]])}),s?l[f(975)](f(832),{d:e,fill:f(1368),strokeOpacity:0,strokeWidth:s,className:f(1104)}):null,o&&C0(n)&&C0(t)?l[f(975)](Kh,{x:n,y:t,label:o,labelStyle:x,labelShowBg:r,labelBgStyle:i,labelBgPadding:a,labelBgBorderRadius:d}):null]})}function Gc({pos:e,x1:n,y1:t,x2:o,y2:x}){const r=c;return e===pe.Left||e===pe[r(1066)]?[.5*(n+o),t]:[n,.5*(t+x)]}function Tc({sourceX:e,sourceY:n,sourcePosition:t=pe[c(1031)],targetX:o,targetY:x,targetPosition:r=pe.Top}){const[i,a]=Gc({pos:t,x1:e,y1:n,x2:o,y2:x}),[d,s]=Gc({pos:r,x1:o,y1:x,x2:e,y2:n}),[u,f,b,g]=Da({sourceX:e,sourceY:n,targetX:o,targetY:x,sourceControlX:i,sourceControlY:a,targetControlX:d,targetControlY:s});return["M"+e+","+n+" C"+i+","+a+" "+d+","+s+" "+o+","+x,u,f,b,g]}function Hc(e){const n=c;return B[n(662)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:a,targetPosition:d,label:s,labelStyle:u,labelShowBg:f,labelBgStyle:b,labelBgPadding:g,labelBgBorderRadius:v,style:h,markerEnd:w,markerStart:M,interactionWidth:m})=>{const y=n,[z,p,k]=Tc({sourceX:o,sourceY:x,sourcePosition:a,targetX:r,targetY:i,targetPosition:d}),O=e[y(2157)]?void 0:t;return l[y(975)](Mx,{id:O,path:z,labelX:p,labelY:k,label:s,labelStyle:u,labelShowBg:f,labelBgStyle:b,labelBgPadding:g,labelBgBorderRadius:v,style:h,markerEnd:w,markerStart:M,interactionWidth:m})})}const Zh=Hc({isInternal:!1}),Vc=Hc({isInternal:!0});Zh[c(705)]=c(857),Vc[c(705)]="SimpleBezierEdgeInternal";function Wc(e){const n=c;return B[n(662)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,label:a,labelStyle:d,labelShowBg:s,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:b,style:g,sourcePosition:v=pe[n(1031)],targetPosition:h=pe[n(2115)],markerEnd:w,markerStart:M,pathOptions:m,interactionWidth:y})=>{const z=n,[p,k,O]=Po({sourceX:o,sourceY:x,sourcePosition:v,targetX:r,targetY:i,targetPosition:h,borderRadius:m?.[z(1659)],offset:m?.[z(1176)],stepPosition:m?.[z(1769)]}),G=e[z(2157)]?void 0:t;return l[z(975)](Mx,{id:G,path:p,labelX:k,labelY:O,label:a,labelStyle:d,labelShowBg:s,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:b,style:g,markerEnd:w,markerStart:M,interactionWidth:y})})}const qc=Wc({isInternal:!1}),Xc=Wc({isInternal:!0});qc.displayName=c(1130),Xc[c(705)]=c(896);function Kc(e){const n=c;return B[n(662)](({id:t,...o})=>{const x=n,r=e.isInternal?void 0:t;return l.jsx(qc,{...o,id:r,pathOptions:B.useMemo(()=>({borderRadius:0,offset:o.pathOptions?.[x(1176)]}),[o[x(1247)]?.[x(1176)]])})})}const Rh=Kc({isInternal:!1}),Zc=Kc({isInternal:!0});Rh[c(705)]="StepEdge",Zc.displayName=c(1212);function Rc(e){const n=c;return B[n(662)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,label:a,labelStyle:d,labelShowBg:s,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:b,style:g,markerEnd:v,markerStart:h,interactionWidth:w})=>{const M=n,[m,y,z]=Ia({sourceX:o,sourceY:x,targetX:r,targetY:i}),p=e[M(2157)]?void 0:t;return l[M(975)](Mx,{id:p,path:m,labelX:y,labelY:z,label:a,labelStyle:d,labelShowBg:s,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:b,style:g,markerEnd:v,markerStart:h,interactionWidth:w})})}const _h=Rc({isInternal:!1}),_c=Rc({isInternal:!0});_h[c(705)]="StraightEdge",_c[c(705)]=c(1202);function Jc(e){const n=c;return B[n(662)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:a=pe[n(1031)],targetPosition:d=pe[n(2115)],label:s,labelStyle:u,labelShowBg:f,labelBgStyle:b,labelBgPadding:g,labelBgBorderRadius:v,style:h,markerEnd:w,markerStart:M,pathOptions:m,interactionWidth:y})=>{const z=n,[p,k,O]=Sa({sourceX:o,sourceY:x,sourcePosition:a,targetX:r,targetY:i,targetPosition:d,curvature:m?.curvature}),G=e[z(2157)]?void 0:t;return l[z(975)](Mx,{id:G,path:p,labelX:k,labelY:O,label:s,labelStyle:u,labelShowBg:f,labelBgStyle:b,labelBgPadding:g,labelBgBorderRadius:v,style:h,markerEnd:w,markerStart:M,interactionWidth:y})})}const Jh=Jc({isInternal:!1}),Fc=Jc({isInternal:!0});Jh[c(705)]=c(1742),Fc[c(705)]=c(1359);const Qc={default:Fc,straight:_c,step:Zc,smoothstep:Xc,simplebezier:Vc},$c={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},Fh=(e,n,t)=>t===pe[c(628)]?e-n:t===pe.Right?e+n:e,Qh=(e,n,t)=>t===pe[c(2115)]?e-n:t===pe.Bottom?e+n:e,es=c(1952);function ns({position:e,centerX:n,centerY:t,radius:o=10,onMouseDown:x,onMouseEnter:r,onMouseOut:i,type:a}){const d=c;return l[d(975)](d(1366),{onMouseDown:x,onMouseEnter:r,onMouseOut:i,className:Ke([es,es+"-"+a]),cx:Fh(n,o,e),cy:Qh(t,o,e),r:o,stroke:d(865),fill:d(865)})}function $h({isReconnectable:e,reconnectRadius:n,edge:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:a,targetPosition:d,onReconnect:s,onReconnectStart:u,onReconnectEnd:f,setReconnecting:b,setUpdateHover:g}){const v=c,h=Oe(),w=(p,k)=>{const O=_0x5092;if(p[O(1730)]!==0)return;const{autoPanOnConnect:G,domNode:H,connectionMode:E,connectionRadius:V,lib:W,onConnectStart:q,cancelConnection:T,nodeLookup:S,rfId:L,panBy:D,updateConnection:Y}=h.getState(),A=k.type===O(1233),P=(ee,xe)=>{const re=O;b(!1),f?.(ee,t,k[re(443)],xe)},_=ee=>s?.(t,ee),$=(ee,xe)=>{const re=O;b(!0),u?.(p,t,k[re(443)]),q?.(ee,xe)};Ho.onPointerDown(p[O(1278)],{autoPanOnConnect:G,connectionMode:E,connectionRadius:V,domNode:H,handleId:k.id,nodeId:k[O(507)],nodeLookup:S,isTarget:A,edgeUpdaterType:k[O(443)],lib:W,flowId:L,cancelConnection:T,panBy:D,isValidConnection:(...ee)=>h.getState().isValidConnection?.(...ee)??!0,onConnect:_,onConnectStart:$,onConnectEnd:(...ee)=>h[O(1638)]().onConnectEnd?.(...ee),onReconnectEnd:P,updateConnection:Y,getTransform:()=>h.getState()[O(2035)],getFromHandle:()=>h[O(1638)]()[O(1367)][O(2012)],dragThreshold:h[O(1638)]().connectionDragThreshold,handleDomNode:p[O(1942)]})},M=p=>w(p,{nodeId:t[v(1233)],id:t[v(1022)]??null,type:v(1233)}),m=p=>w(p,{nodeId:t[v(1858)],id:t[v(1708)]??null,type:v(1858)}),y=()=>g(!0),z=()=>g(!1);return l[v(1435)](l[v(676)],{children:[(e===!0||e===v(1858))&&l[v(975)](ns,{position:a,centerX:o,centerY:x,radius:n,onMouseDown:M,onMouseEnter:y,onMouseOut:z,type:v(1858)}),(e===!0||e===v(1233))&&l.jsx(ns,{position:d,centerX:r,centerY:i,radius:n,onMouseDown:m,onMouseEnter:y,onMouseOut:z,type:v(1233)})]})}function e1({id:e,edgesFocusable:n,edgesReconnectable:t,elementsSelectable:o,onClick:x,onDoubleClick:r,onContextMenu:i,onMouseEnter:a,onMouseMove:d,onMouseLeave:s,reconnectRadius:u,onReconnect:f,onReconnectStart:b,onReconnectEnd:g,rfId:v,edgeTypes:h,noPanClassName:w,onError:M,disableKeyboardA11y:m}){const y=c;let z=Pe(U=>U[y(487)][y(509)](e));const p=Pe(U=>U[y(1994)]);z=p?{...p,...z}:z;let k=z.type||y(1262),O=h?.[k]||Qc[k];O===void 0&&(M?.(y(1782),f0.error011(k)),k=y(1262),O=h?.[y(1262)]||Qc.default);const G=!!(z[y(1201)]||n&&typeof z[y(1201)]===y(431)),H=typeof f!==y(431)&&(z[y(1979)]||t&&typeof z.reconnectable===y(431)),E=!!(z[y(645)]||o&&typeof z[y(645)]===y(431)),V=B[y(1345)](null),[W,q]=B[y(1102)](!1),[T,S]=B.useState(!1),L=Oe(),{zIndex:D,sourceX:Y,sourceY:A,targetX:P,targetY:_,sourcePosition:$,targetPosition:ee}=Pe(B[y(1970)](U=>{const j=y,Z=U[j(1684)][j(509)](z[j(1858)]),ne=U.nodeLookup[j(509)](z[j(1233)]);if(!Z||!ne)return{zIndex:z.zIndex,...$c};const te=X5({id:e,sourceNode:Z,targetNode:ne,sourceHandle:z.sourceHandle||null,targetHandle:z[j(1022)]||null,connectionMode:U[j(1318)],onError:M});return{zIndex:O5({selected:z[j(1750)],zIndex:z[j(2068)],sourceNode:Z,targetNode:ne,elevateOnSelect:U[j(1027)],zIndexMode:U[j(1879)]}),...te||$c}},[z.source,z[y(1233)],z[y(1708)],z.targetHandle,z[y(1750)],z.zIndex]),Ue),xe=B[y(1332)](()=>z.markerStart?"url('#"+jo(z[y(2024)],v)+"')":void 0,[z[y(2024)],v]),re=B[y(1332)](()=>z[y(420)]?y(1993)+jo(z.markerEnd,v)+"')":void 0,[z[y(420)],v]);if(z[y(1140)]||Y===null||A===null||P===null||_===null)return null;const ce=U=>{const j=y,{addSelectedEdges:Z,unselectNodesAndEdges:ne,multiSelectionActive:te}=L.getState();E&&(L[j(2075)]({nodesSelectionActive:!1}),z.selected&&te?(ne({nodes:[],edges:[z]}),V[j(1348)]?.blur()):Z([e])),x&&x(U,z)},fe=r?U=>{r(U,{...z})}:void 0,we=i?U=>{i(U,{...z})}:void 0,le=a?U=>{a(U,{...z})}:void 0,Q=d?U=>{d(U,{...z})}:void 0,se=s?U=>{s(U,{...z})}:void 0,he=U=>{const j=y;if(!m&&ia[j(1499)](U[j(425)])&&E){const{unselectNodesAndEdges:Z,addSelectedEdges:ne}=L[j(1638)]();U[j(425)]===j(2152)?(V[j(1348)]?.blur(),Z({edges:[z]})):ne([e])}};return l.jsx("svg",{style:{zIndex:D},children:l[y(1435)]("g",{className:Ke([y(987),"react-flow__edge-"+k,z[y(753)],w,{selected:z[y(1750)],animated:z[y(792)],inactive:!E&&!x,updating:W,selectable:E}]),onClick:ce,onDoubleClick:fe,onContextMenu:we,onMouseEnter:le,onMouseMove:Q,onMouseLeave:se,onKeyDown:G?he:void 0,tabIndex:G?0:void 0,role:z[y(1751)]??(G?y(1087):"img"),"aria-roledescription":y(1834),"data-id":e,"data-testid":y(1069)+e,"aria-label":z[y(1152)]===null?void 0:z[y(1152)]||y(547)+z[y(1858)]+" to "+z[y(1233)],"aria-describedby":G?dc+"-"+v:void 0,ref:V,...z[y(993)],children:[!T&&l[y(975)](O,{id:e,source:z[y(1858)],target:z[y(1233)],type:z[y(443)],selected:z[y(1750)],animated:z[y(792)],selectable:E,deletable:z.deletable??!0,label:z[y(1765)],labelStyle:z[y(929)],labelShowBg:z[y(940)],labelBgStyle:z.labelBgStyle,labelBgPadding:z.labelBgPadding,labelBgBorderRadius:z[y(876)],sourceX:Y,sourceY:A,targetX:P,targetY:_,sourcePosition:$,targetPosition:ee,data:z[y(1215)],style:z[y(598)],sourceHandleId:z[y(1708)],targetHandleId:z[y(1022)],markerStart:xe,markerEnd:re,pathOptions:y(1247)in z?z[y(1247)]:void 0,interactionWidth:z[y(1295)]}),H&&l[y(975)]($h,{edge:z,isReconnectable:H,reconnectRadius:u,onReconnect:f,onReconnectStart:b,onReconnectEnd:g,sourceX:Y,sourceY:A,targetX:P,targetY:_,sourcePosition:$,targetPosition:ee,setUpdateHover:q,setReconnecting:S})]})})}var n1=B.memo(e1);const t1=e=>({edgesFocusable:e.edgesFocusable,edgesReconnectable:e[c(2132)],elementsSelectable:e[c(1288)],connectionMode:e.connectionMode,onError:e.onError});function ts({defaultMarkerColor:e,onlyRenderVisibleElements:n,rfId:t,edgeTypes:o,noPanClassName:x,onReconnect:r,onEdgeContextMenu:i,onEdgeMouseEnter:a,onEdgeMouseMove:d,onEdgeMouseLeave:s,onEdgeClick:u,reconnectRadius:f,onEdgeDoubleClick:b,onReconnectStart:g,onReconnectEnd:v,disableKeyboardA11y:h}){const w=c,{edgesFocusable:M,edgesReconnectable:m,elementsSelectable:y,onError:z}=Pe(t1,Ue),p=Th(n);return l.jsxs(w(1088),{className:w(1120),children:[l[w(975)](Xh,{defaultColor:e,rfId:t}),p[w(692)](k=>l[w(975)](n1,{id:k,edgesFocusable:M,edgesReconnectable:m,elementsSelectable:y,noPanClassName:x,onReconnect:r,onContextMenu:i,onMouseEnter:a,onMouseMove:d,onMouseLeave:s,onClick:u,reconnectRadius:f,onDoubleClick:b,onReconnectStart:g,onReconnectEnd:v,rfId:t,onError:z,edgeTypes:o,disableKeyboardA11y:h},k))]})}ts.displayName=c(1656);const x1=B[c(662)](ts),o1=e=>c(1568)+e[c(2035)][0]+"px,"+e[c(2035)][1]+"px) scale("+e[c(2035)][2]+")";function r1({children:e}){const n=c,t=Pe(o1);return l[n(975)](n(1088),{className:n(1526),style:{transform:t},children:e})}function i1(e){const n=c,t=_o(),o=B.useRef(!1);B[n(1894)](()=>{const x=n;!o[x(1348)]&&t[x(611)]&&e&&(setTimeout(()=>e(t),1),o[x(1348)]=!0)},[e,t[n(611)]])}const a1=e=>e.panZoom?.[c(988)];function c1(e){const n=c,t=Pe(a1),o=Oe();return B[n(1894)](()=>{const x=n;e&&(t?.(e),o.setState({transform:[e.x,e.y,e[x(1760)]]}))},[e,t]),null}function s1(e){const n=c;return e[n(1367)][n(659)]?{...e.connection,to:ht(e.connection.to,e.transform)}:{...e[n(1367)]}}function l1(e){return s1}function d1(e){const n=l1();return Pe(n,Ue)}const u1=e=>({nodesConnectable:e[c(2159)],isValid:e.connection[c(1550)],inProgress:e[c(1367)][c(659)],width:e[c(533)],height:e[c(946)]});function f1({containerStyle:e,style:n,type:t,component:o}){const x=c,{nodesConnectable:r,width:i,height:a,isValid:d,inProgress:s}=Pe(u1,Ue);return!(i&&r&&s)?null:l[x(975)]("svg",{style:e,width:i,height:a,className:x(1613),children:l[x(975)]("g",{className:Ke(["react-flow__connection",la(d)]),children:l[x(975)](xs,{style:n,type:t,CustomComponent:o,isValid:d})})})}const xs=({style:e,type:n=R0[c(1539)],CustomComponent:t,isValid:o})=>{const x=c,{inProgress:r,from:i,fromNode:a,fromHandle:d,fromPosition:s,to:u,toNode:f,toHandle:b,toPosition:g,pointer:v}=d1();if(!r)return;if(t)return l[x(975)](t,{connectionLineType:n,connectionLineStyle:e,fromNode:a,fromHandle:d,fromX:i.x,fromY:i.y,toX:u.x,toY:u.y,fromPosition:s,toPosition:g,connectionStatus:la(o),toNode:f,toHandle:b,pointer:v});let h="";const w={sourceX:i.x,sourceY:i.y,sourcePosition:s,targetX:u.x,targetY:u.y,targetPosition:g};switch(n){case R0[x(1539)]:[h]=Sa(w);break;case R0[x(1360)]:[h]=Tc(w);break;case R0[x(765)]:[h]=Po({...w,borderRadius:0});break;case R0[x(1473)]:[h]=Po(w);break;default:[h]=Ia(w)}return l[x(975)](x(832),{d:h,fill:x(1368),className:x(1703),style:e})};xs[c(705)]=c(1841);const b1={};function os(e=b1){const n=c,t=B[n(1345)](e),o=Oe();B.useEffect(()=>{const x=n;if(process.env.NODE_ENV===x(1026)){const r=new Set([...Object.keys(t[x(1348)]),...Object[x(712)](e)]);for(const i of r)if(t.current[i]!==e[i]){o[x(1638)]()[x(1238)]?.(x(1383),f0[x(357)]());break}t[x(1348)]=e}},[e])}function h1(){const e=c,n=Oe(),t=B[e(1345)](!1);B[e(1894)](()=>{const o=e;if(process.env.NODE_ENV==="development"&&!t[o(1348)]){const x=document[o(1372)](o(858));x&&window[o(1150)](x).zIndex!=="1"&&n[o(1638)]()[o(1238)]?.(o(1753),f0[o(1084)](o(396))),t[o(1348)]=!0}},[])}function rs({nodeTypes:e,edgeTypes:n,onInit:t,onNodeClick:o,onEdgeClick:x,onNodeDoubleClick:r,onEdgeDoubleClick:i,onNodeMouseEnter:a,onNodeMouseMove:d,onNodeMouseLeave:s,onNodeContextMenu:u,onSelectionContextMenu:f,onSelectionStart:b,onSelectionEnd:g,connectionLineType:v,connectionLineStyle:h,connectionLineComponent:w,connectionLineContainerStyle:M,selectionKeyCode:m,selectionOnDrag:y,selectionMode:z,multiSelectionKeyCode:p,panActivationKeyCode:k,zoomActivationKeyCode:O,deleteKeyCode:G,onlyRenderVisibleElements:H,elementsSelectable:E,defaultViewport:V,translateExtent:W,minZoom:q,maxZoom:T,preventScrolling:S,defaultMarkerColor:L,zoomOnScroll:D,zoomOnPinch:Y,panOnScroll:A,panOnScrollSpeed:P,panOnScrollMode:_,zoomOnDoubleClick:$,panOnDrag:ee,onPaneClick:xe,onPaneMouseEnter:re,onPaneMouseMove:ce,onPaneMouseLeave:fe,onPaneScroll:we,onPaneContextMenu:le,paneClickDistance:Q,nodeClickDistance:se,onEdgeContextMenu:he,onEdgeMouseEnter:U,onEdgeMouseMove:j,onEdgeMouseLeave:Z,reconnectRadius:ne,onReconnect:te,onReconnectStart:X,onReconnectEnd:oe,noDragClassName:ve,noWheelClassName:Me,noPanClassName:Ne,disableKeyboardA11y:je,nodeExtent:Ye,rfId:ke,viewport:De,onViewportChange:Ge}){const Ae=c;return os(e),os(n),h1(),i1(t),c1(De),l[Ae(975)](kh,{onPaneClick:xe,onPaneMouseEnter:re,onPaneMouseMove:ce,onPaneMouseLeave:fe,onPaneContextMenu:le,onPaneScroll:we,paneClickDistance:Q,deleteKeyCode:G,selectionKeyCode:m,selectionOnDrag:y,selectionMode:z,onSelectionStart:b,onSelectionEnd:g,multiSelectionKeyCode:p,panActivationKeyCode:k,zoomActivationKeyCode:O,elementsSelectable:E,zoomOnScroll:D,zoomOnPinch:Y,zoomOnDoubleClick:$,panOnScroll:A,panOnScrollSpeed:P,panOnScrollMode:_,panOnDrag:ee,defaultViewport:V,translateExtent:W,minZoom:q,maxZoom:T,onSelectionContextMenu:f,preventScrolling:S,noDragClassName:ve,noWheelClassName:Me,noPanClassName:Ne,disableKeyboardA11y:je,onViewportChange:Ge,isControlledViewport:!!De,children:l[Ae(1435)](r1,{children:[l[Ae(975)](x1,{edgeTypes:n,onEdgeClick:x,onEdgeDoubleClick:i,onReconnect:te,onReconnectStart:X,onReconnectEnd:oe,onlyRenderVisibleElements:H,onEdgeContextMenu:he,onEdgeMouseEnter:U,onEdgeMouseMove:j,onEdgeMouseLeave:Z,reconnectRadius:ne,defaultMarkerColor:L,noPanClassName:Ne,disableKeyboardA11y:je,rfId:ke}),l[Ae(975)](f1,{style:h,type:v,component:w,containerStyle:M}),l.jsx(Ae(1088),{className:"react-flow__edgelabel-renderer"}),l[Ae(975)](Gh,{nodeTypes:e,onNodeClick:o,onNodeDoubleClick:r,onNodeMouseEnter:a,onNodeMouseMove:d,onNodeMouseLeave:s,onNodeContextMenu:u,nodeClickDistance:se,onlyRenderVisibleElements:H,noPanClassName:Ne,noDragClassName:ve,disableKeyboardA11y:je,nodeExtent:Ye,rfId:ke}),l[Ae(975)](Ae(1088),{className:"react-flow__viewport-portal"})]})})}rs[c(705)]=c(1377);const g1=B[c(662)](rs),is=({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:i,fitViewOptions:a,minZoom:d=.5,maxZoom:s=2,nodeOrigin:u,nodeExtent:f,zIndexMode:b=c(657)}={})=>{const g=c,v=new Map,h=new Map,w=new Map,M=new Map,m=o??n??[],y=t??e??[],z=u??[0,0],p=f??st;Ta(w,M,m);const{nodesInitialized:k}=Uo(y,v,h,{nodeOrigin:z,nodeExtent:p,zIndexMode:b});let O=[0,0,1];if(i&&x&&r){const G=ut(v,{filter:W=>!!((W.width||W[g(458)])&&(W.height||W[g(2163)]))}),{x:H,y:E,zoom:V}=ko(G,x,r,d,s,a?.[g(1446)]??.1);O=[H,E,V]}return{rfId:"1",width:x??0,height:r??0,transform:O,nodes:y,nodesInitialized:k,nodeLookup:v,parentLookup:h,edges:m,edgeLookup:M,connectionLookup:w,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:t!==void 0,hasDefaultEdges:o!==void 0,panZoom:null,minZoom:d,maxZoom:s,translateExtent:st,nodeExtent:p,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:kn[g(1083)],domNode:null,paneDragging:!1,noPanClassName:g(2153),nodeOrigin:z,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:{...ca},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:ma,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:g(396),debug:!1,ariaLabelConfig:aa,zIndexMode:b,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},y1=({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:i,fitViewOptions:a,minZoom:d,maxZoom:s,nodeOrigin:u,nodeExtent:f,zIndexMode:b})=>Yb((g,v)=>{async function h(){const w=_0x5092,{nodeLookup:M,panZoom:m,fitViewOptions:y,fitViewResolver:z,width:p,height:k,minZoom:O,maxZoom:G}=v();m&&(await I5({nodes:M,width:p,height:k,panZoom:m,minZoom:O,maxZoom:G},y),z?.[w(1887)](!0),g({fitViewResolver:null}))}return{...is({nodes:e,edges:n,width:x,height:r,fitView:i,fitViewOptions:a,minZoom:d,maxZoom:s,nodeOrigin:u,nodeExtent:f,defaultNodes:t,defaultEdges:o,zIndexMode:b}),setNodes:w=>{const{nodeLookup:M,parentLookup:m,nodeOrigin:y,elevateNodesOnSelect:z,fitViewQueued:p,zIndexMode:k,nodesSelectionActive:O}=v(),{nodesInitialized:G,hasSelectedNodes:H}=Uo(w,M,m,{nodeOrigin:y,nodeExtent:f,elevateNodesOnSelect:z,checkEquality:!0,zIndexMode:k}),E=O&&H;p&&G?(h(),g({nodes:w,nodesInitialized:G,fitViewQueued:!1,fitViewOptions:void 0,nodesSelectionActive:E})):g({nodes:w,nodesInitialized:G,nodesSelectionActive:E})},setEdges:w=>{const{connectionLookup:M,edgeLookup:m}=v();Ta(M,m,w),g({edges:w})},setDefaultNodesAndEdges:(w,M)=>{if(w){const{setNodes:m}=v();m(w),g({hasDefaultNodes:!0})}if(M){const{setEdges:m}=v();m(M),g({hasDefaultEdges:!0})}},updateNodeInternals:w=>{const M=_0x5092,{triggerNodeChanges:m,nodeLookup:y,parentLookup:z,domNode:p,nodeOrigin:k,nodeExtent:O,debug:G,fitViewQueued:H,zIndexMode:E}=v(),{changes:V,updatedInternals:W}=$5(w,y,z,p,k,O,E);W&&(_5(y,z,{nodeOrigin:k,nodeExtent:O,zIndexMode:E}),H?(h(),g({fitViewQueued:!1,fitViewOptions:void 0})):g({}),V?.[M(922)]>0&&(G&&console[M(1881)](M(1778),V),m?.(V)))},updateNodePositions:(w,M=!1)=>{const m=_0x5092,y=[];let z=[];const{nodeLookup:p,triggerNodeChanges:k,connection:O,updateConnection:G,onNodesChangeMiddlewareMap:H}=v();for(const[E,V]of w){const W=p[m(509)](E),q=!!(W?.[m(773)]&&W?.parentId&&V?.[m(845)]),T={id:E,type:m(845),position:q?{x:Math[m(1167)](0,V[m(845)].x),y:Math.max(0,V[m(845)].y)}:V.position,dragging:M};if(W&&O.inProgress&&O.fromNode.id===W.id){const S=bn(W,O.fromHandle,pe[m(628)],!0);G({...O,from:S})}q&&W[m(1590)]&&y[m(1843)]({id:E,parentId:W[m(1590)],rect:{...V[m(821)][m(1452)],width:V[m(529)].width??0,height:V.measured.height??0}}),z[m(1843)](T)}if(y[m(922)]>0){const{parentLookup:E,nodeOrigin:V}=v(),W=Go(y,p,E,V);z[m(1843)](...W)}for(const E of H[m(352)]())z=E(z);k(z)},triggerNodeChanges:w=>{const M=_0x5092,{onNodesChange:m,setNodes:y,nodes:z,hasDefaultNodes:p,debug:k}=v();if(w?.[M(922)]){if(p){const O=vc(w,z);y(O)}k&&console[M(1881)]("React Flow: trigger node changes",w),m?.(w)}},triggerEdgeChanges:w=>{const M=_0x5092,{onEdgesChange:m,setEdges:y,edges:z,hasDefaultEdges:p,debug:k}=v();if(w?.[M(922)]){if(p){const O=pc(w,z);y(O)}k&&console[M(1881)](M(2060),w),m?.(w)}},addSelectedNodes:w=>{const M=_0x5092,{multiSelectionActive:m,edgeLookup:y,nodeLookup:z,triggerNodeChanges:p,triggerEdgeChanges:k}=v();if(m){const O=w[M(692)](G=>hn(G,!0));p(O);return}p(Un(z,new Set([...w]),!0)),k(Un(y))},addSelectedEdges:w=>{const M=_0x5092,{multiSelectionActive:m,edgeLookup:y,nodeLookup:z,triggerNodeChanges:p,triggerEdgeChanges:k}=v();if(m){const O=w[M(692)](G=>hn(G,!0));k(O);return}k(Un(y,new Set([...w]))),p(Un(z,new Set,!0))},unselectNodesAndEdges:({nodes:w,edges:M}={})=>{const m=_0x5092,{edges:y,nodes:z,nodeLookup:p,triggerNodeChanges:k,triggerEdgeChanges:O}=v(),G=w||z,H=M||y,E=[];for(const W of G){if(!W[m(1750)])continue;const q=p.get(W.id);q&&(q[m(1750)]=!1),E.push(hn(W.id,!1))}const V=[];for(const W of H)W[m(1750)]&&V[m(1843)](hn(W.id,!1));k(E),O(V)},setMinZoom:w=>{const{panZoom:M,maxZoom:m}=v();M?.setScaleExtent([w,m]),g({minZoom:w})},setMaxZoom:w=>{const{panZoom:M,minZoom:m}=v();M?.setScaleExtent([m,w]),g({maxZoom:w})},setTranslateExtent:w=>{const M=_0x5092;v()[M(1454)]?.[M(1310)](w),g({translateExtent:w})},resetSelectedElements:()=>{const w=_0x5092,{edges:M,nodes:m,triggerNodeChanges:y,triggerEdgeChanges:z,elementsSelectable:p}=v();if(!p)return;const k=m[w(1046)]((G,H)=>H[w(1750)]?[...G,hn(H.id,!1)]:G,[]),O=M[w(1046)]((G,H)=>H[w(1750)]?[...G,hn(H.id,!1)]:G,[]);y(k),z(O)},setNodeExtent:w=>{const{nodes:M,nodeLookup:m,parentLookup:y,nodeOrigin:z,elevateNodesOnSelect:p,nodeExtent:k,zIndexMode:O}=v();w[0][0]===k[0][0]&&w[0][1]===k[0][1]&&w[1][0]===k[1][0]&&w[1][1]===k[1][1]||(Uo(M,m,y,{nodeOrigin:z,nodeExtent:w,elevateNodesOnSelect:p,checkEquality:!1,zIndexMode:O}),g({nodeExtent:w}))},panBy:w=>{const{transform:M,width:m,height:y,panZoom:z,translateExtent:p}=v();return eb({delta:w,panZoom:z,transform:M,translateExtent:p,width:m,height:y})},setCenter:async(w,M,m)=>{const y=_0x5092,{width:z,height:p,maxZoom:k,panZoom:O}=v();if(!O)return Promise[y(1887)](!1);const G=typeof m?.[y(1760)]!==y(431)?m.zoom:k;return await O[y(1153)]({x:z/2-w*G,y:p/2-M*G,zoom:G},{duration:m?.[y(960)],ease:m?.[y(758)],interpolate:m?.interpolate}),Promise[y(1887)](!0)},cancelConnection:()=>{g({connection:{...ca}})},updateConnection:w=>{g({connection:w})},reset:()=>g({...is()})}},Object.is);function m1({initialNodes:e,initialEdges:n,defaultNodes:t,defaultEdges:o,initialWidth:x,initialHeight:r,initialMinZoom:i,initialMaxZoom:a,initialFitViewOptions:d,fitView:s,nodeOrigin:u,nodeExtent:f,zIndexMode:b,children:g}){const v=c,[h]=B[v(1102)](()=>y1({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:s,minZoom:i,maxZoom:a,fitViewOptions:d,nodeOrigin:u,nodeExtent:f,zIndexMode:b}));return l.jsx(Ub,{value:h,children:l[v(975)](rh,{children:g})})}function w1({children:e,nodes:n,edges:t,defaultNodes:o,defaultEdges:x,width:r,height:i,fitView:a,fitViewOptions:d,minZoom:s,maxZoom:u,nodeOrigin:f,nodeExtent:b,zIndexMode:g}){const v=c;return B[v(820)](wx)?l[v(975)](l[v(676)],{children:e}):l[v(975)](m1,{initialNodes:n,initialEdges:t,defaultNodes:o,defaultEdges:x,initialWidth:r,initialHeight:i,fitView:a,initialFitViewOptions:d,initialMinZoom:s,initialMaxZoom:u,nodeOrigin:f,nodeExtent:b,zIndexMode:g,children:e})}const v1={width:c(1380),height:"100%",overflow:c(1140),position:c(1534),zIndex:0};function p1({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,className:x,nodeTypes:r,edgeTypes:i,onNodeClick:a,onEdgeClick:d,onInit:s,onMove:u,onMoveStart:f,onMoveEnd:b,onConnect:g,onConnectStart:v,onConnectEnd:h,onClickConnectStart:w,onClickConnectEnd:M,onNodeMouseEnter:m,onNodeMouseMove:y,onNodeMouseLeave:z,onNodeContextMenu:p,onNodeDoubleClick:k,onNodeDragStart:O,onNodeDrag:G,onNodeDragStop:H,onNodesDelete:E,onEdgesDelete:V,onDelete:W,onSelectionChange:q,onSelectionDragStart:T,onSelectionDrag:S,onSelectionDragStop:L,onSelectionContextMenu:D,onSelectionStart:Y,onSelectionEnd:A,onBeforeDelete:P,connectionMode:_,connectionLineType:$=R0[c(1539)],connectionLineStyle:ee,connectionLineComponent:xe,connectionLineContainerStyle:re,deleteKeyCode:ce="Backspace",selectionKeyCode:fe="Shift",selectionOnDrag:we=!1,selectionMode:le=lt.Full,panActivationKeyCode:Q=c(1264),multiSelectionKeyCode:se=gt()?"Meta":c(372),zoomActivationKeyCode:he=gt()?c(1869):"Control",snapToGrid:U,snapGrid:j,onlyRenderVisibleElements:Z=!1,selectNodesOnDrag:ne,nodesDraggable:te,autoPanOnNodeFocus:X,nodesConnectable:oe,nodesFocusable:ve,nodeOrigin:Me=uc,edgesFocusable:Ne,edgesReconnectable:je,elementsSelectable:Ye=!0,defaultViewport:ke=Jb,minZoom:De=.5,maxZoom:Ge=2,translateExtent:Ae=st,preventScrolling:We=!0,nodeExtent:qe,defaultMarkerColor:$e=c(1916),zoomOnScroll:g0=!0,zoomOnPinch:B0=!0,panOnScroll:x0=!1,panOnScrollSpeed:c0=.5,panOnScrollMode:o0=un.Free,zoomOnDoubleClick:s0=!0,panOnDrag:b0=!0,onPaneClick:V0,onPaneMouseEnter:$0,onPaneMouseMove:W0,onPaneMouseLeave:Ze,onPaneScroll:gn,onPaneContextMenu:e0,paneClickDistance:j0=1,nodeClickDistance:D0=0,children:en,onReconnect:er,onReconnectStart:nr,onReconnectEnd:tr,onEdgeContextMenu:xr,onEdgeDoubleClick:or,onEdgeMouseEnter:rr,onEdgeMouseMove:ir,onEdgeMouseLeave:Sx,reconnectRadius:Nx=10,onNodesChange:kx,onEdgesChange:Ix,noDragClassName:Px=c(1082),noWheelClassName:jx=c(1535),noPanClassName:wt=c(2153),fitView:Gn,fitViewOptions:nn,connectOnClick:yn,attributionPosition:ar,proOptions:q0,defaultEdgeOptions:Ax,elevateNodesOnSelect:Ex=!0,elevateEdgesOnSelect:vt=!1,disableKeyboardA11y:Yx=!1,autoPanOnConnect:pt,autoPanOnNodeDrag:cr,autoPanSpeed:sr,connectionRadius:lr,isValidConnection:Ux,onError:Ox,style:zt,id:Ct,nodeDragThreshold:Mt,connectionDragThreshold:I,viewport:N,onViewportChange:R,width:J,height:ie,colorMode:K=c(560),debug:F,onScroll:ue,ariaLabelConfig:me,zIndexMode:ge=c(657),...ye},ze){const Le=c,Be=Ct||"1",Ce=eh(K),Te=B.useCallback(Ee=>{const ae=_0x5092;Ee[ae(1942)][ae(1470)]({top:0,left:0,behavior:ae(2033)}),ue?.(Ee)},[ue]);return l.jsx(Le(1088),{"data-testid":"rf__wrapper",...ye,onScroll:Te,style:{...zt,...v1},ref:ze,className:Ke([Le(1884),x,Ce]),id:Ct,role:Le(1453),children:l[Le(1435)](w1,{nodes:e,edges:n,width:J,height:ie,fitView:Gn,fitViewOptions:nn,minZoom:De,maxZoom:Ge,nodeOrigin:Me,nodeExtent:qe,zIndexMode:ge,children:[l.jsx($b,{nodes:e,edges:n,defaultNodes:t,defaultEdges:o,onConnect:g,onConnectStart:v,onConnectEnd:h,onClickConnectStart:w,onClickConnectEnd:M,nodesDraggable:te,autoPanOnNodeFocus:X,nodesConnectable:oe,nodesFocusable:ve,edgesFocusable:Ne,edgesReconnectable:je,elementsSelectable:Ye,elevateNodesOnSelect:Ex,elevateEdgesOnSelect:vt,minZoom:De,maxZoom:Ge,nodeExtent:qe,onNodesChange:kx,onEdgesChange:Ix,snapToGrid:U,snapGrid:j,connectionMode:_,translateExtent:Ae,connectOnClick:yn,defaultEdgeOptions:Ax,fitView:Gn,fitViewOptions:nn,onNodesDelete:E,onEdgesDelete:V,onDelete:W,onNodeDragStart:O,onNodeDrag:G,onNodeDragStop:H,onSelectionDrag:S,onSelectionDragStart:T,onSelectionDragStop:L,onMove:u,onMoveStart:f,onMoveEnd:b,noPanClassName:wt,nodeOrigin:Me,rfId:Be,autoPanOnConnect:pt,autoPanOnNodeDrag:cr,autoPanSpeed:sr,onError:Ox,connectionRadius:lr,isValidConnection:Ux,selectNodesOnDrag:ne,nodeDragThreshold:Mt,connectionDragThreshold:I,onBeforeDelete:P,debug:F,ariaLabelConfig:me,zIndexMode:ge}),l[Le(975)](g1,{onInit:s,onNodeClick:a,onEdgeClick:d,onNodeMouseEnter:m,onNodeMouseMove:y,onNodeMouseLeave:z,onNodeContextMenu:p,onNodeDoubleClick:k,nodeTypes:r,edgeTypes:i,connectionLineType:$,connectionLineStyle:ee,connectionLineComponent:xe,connectionLineContainerStyle:re,selectionKeyCode:fe,selectionOnDrag:we,selectionMode:le,deleteKeyCode:ce,multiSelectionKeyCode:se,panActivationKeyCode:Q,zoomActivationKeyCode:he,onlyRenderVisibleElements:Z,defaultViewport:ke,translateExtent:Ae,minZoom:De,maxZoom:Ge,preventScrolling:We,zoomOnScroll:g0,zoomOnPinch:B0,zoomOnDoubleClick:s0,panOnScroll:x0,panOnScrollSpeed:c0,panOnScrollMode:o0,panOnDrag:b0,onPaneClick:V0,onPaneMouseEnter:$0,onPaneMouseMove:W0,onPaneMouseLeave:Ze,onPaneScroll:gn,onPaneContextMenu:e0,paneClickDistance:j0,nodeClickDistance:D0,onSelectionContextMenu:D,onSelectionStart:Y,onSelectionEnd:A,onReconnect:er,onReconnectStart:nr,onReconnectEnd:tr,onEdgeContextMenu:xr,onEdgeDoubleClick:or,onEdgeMouseEnter:rr,onEdgeMouseMove:ir,onEdgeMouseLeave:Sx,reconnectRadius:Nx,defaultMarkerColor:$e,noDragClassName:Px,noWheelClassName:jx,noPanClassName:wt,rfId:Be,disableKeyboardA11y:Yx,nodeExtent:qe,viewport:N,onViewportChange:R}),l[Le(975)](_b,{onSelectionChange:q}),en,l[Le(975)](qb,{proOptions:q0,position:ar}),l.jsx(Wb,{rfId:Be,disableKeyboardA11y:Yx})]})})}var z1=Bc(p1);function C1(e){const n=c,[t,o]=B.useState(e),x=B[n(1970)](r=>o(i=>vc(r,i)),[]);return[t,o,x]}function M1(e){const n=c,[t,o]=B[n(1102)](e),x=B[n(1970)](r=>o(i=>pc(r,i)),[]);return[t,o,x]}function B1({dimensions:e,lineWidth:n,variant:t,className:o}){const x=c;return l[x(975)](x(832),{strokeWidth:n,d:"M"+e[0]/2+x(1679)+e[1]+" M0 "+e[1]/2+" H"+e[0],className:Ke([x(1196),t,o])})}function D1({radius:e,className:n}){const t=c;return l[t(975)](t(1366),{cx:e,cy:e,r:e,className:Ke([t(1196),t(1172),n])})}var F0;(function(e){const n=c;e[n(1048)]=n(410),e[n(1543)]="dots",e[n(1969)]=n(528)})(F0||(F0={}));const L1={[F0[c(1543)]]:1,[F0[c(1048)]]:1,[F0[c(1969)]]:6},S1=e=>({transform:e[c(2035)],patternId:c(833)+e.rfId});function as({id:e,variant:n=F0[c(1543)],gap:t=20,size:o,lineWidth:x=1,offset:r=0,color:i,bgColor:a,style:d,className:s,patternClassName:u}){const f=c,b=B.useRef(null),{transform:g,patternId:v}=Pe(S1,Ue),h=o||L1[n],w=n===F0[f(1543)],M=n===F0[f(1969)],m=Array[f(1875)](t)?t:[t,t],y=[m[0]*g[2]||1,m[1]*g[2]||1],z=h*g[2],p=Array[f(1875)](r)?r:[r,r],k=M?[z,z]:y,O=[p[0]*g[2]||1+k[0]/2,p[1]*g[2]||1+k[1]/2],G=""+v+(e||"");return l[f(1435)](f(447),{className:Ke([f(1291),s]),style:{...d,...zx,"--xy-background-color-props":a,"--xy-background-pattern-color-props":i},ref:b,"data-testid":f(2037),children:[l[f(975)]("pattern",{id:G,x:g[0]%y[0],y:g[1]%y[1],width:y[0],height:y[1],patternUnits:f(1375),patternTransform:"translate(-"+O[0]+",-"+O[1]+")",children:w?l.jsx(D1,{radius:z/2,className:u}):l[f(975)](B1,{dimensions:k,lineWidth:x,variant:n,className:u})}),l.jsx(f(930),{x:"0",y:"0",width:"100%",height:f(1380),fill:f(576)+G+")"})]})}as[c(705)]=c(1762);const N1=B[c(662)](as);function k1(){const e=c;return l[e(975)](e(447),{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:l.jsx("path",{d:e(2020)})})}function I1(){const e=c;return l[e(975)]("svg",{xmlns:e(1627),viewBox:e(959),children:l[e(975)]("path",{d:e(1585)})})}function P1(){const e=c;return l.jsx(e(447),{xmlns:e(1627),viewBox:"0 0 32 30",children:l.jsx(e(832),{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z"})})}function j1(){const e=c;return l[e(975)](e(447),{xmlns:e(1627),viewBox:e(1156),children:l.jsx(e(832),{d:e(1397)})})}function A1(){const e=c;return l[e(975)](e(447),{xmlns:e(1627),viewBox:e(1156),children:l[e(975)](e(832),{d:e(925)})})}function Bx({children:e,className:n,...t}){const o=c;return l[o(975)](o(1730),{type:"button",className:Ke([o(1203),n]),...t,children:e})}const E1=e=>({isInteractive:e[c(1606)]||e[c(2159)]||e[c(1288)],minZoomReached:e.transform[2]<=e[c(1598)],maxZoomReached:e[c(2035)][2]>=e.maxZoom,ariaLabelConfig:e.ariaLabelConfig});function cs({style:e,showZoom:n=!0,showFitView:t=!0,showInteractive:o=!0,fitViewOptions:x,onZoomIn:r,onZoomOut:i,onFitView:a,onInteractiveChange:d,className:s,children:u,position:f="bottom-left",orientation:b=c(1736),"aria-label":g}){const v=c,h=Oe(),{isInteractive:w,minZoomReached:M,maxZoomReached:m,ariaLabelConfig:y}=Pe(E1,Ue),{zoomIn:z,zoomOut:p,fitView:k}=_o(),O=()=>{z(),r?.()},G=()=>{p(),i?.()},H=()=>{k(x),a?.()},E=()=>{h[_0x5092(2075)]({nodesDraggable:!w,nodesConnectable:!w,elementsSelectable:!w}),d?.(!w)},V=b===v(2086)?v(2086):v(1736);return l.jsxs(vx,{className:Ke([v(713),V,s]),position:f,style:e,"data-testid":v(972),"aria-label":g??y[v(426)],children:[n&&l[v(1435)](l[v(676)],{children:[l[v(975)](Bx,{onClick:O,className:v(620),title:y[v(790)],"aria-label":y[v(790)],disabled:m,children:l[v(975)](k1,{})}),l[v(975)](Bx,{onClick:G,className:v(869),title:y[v(1658)],"aria-label":y["controls.zoomOut.ariaLabel"],disabled:M,children:l.jsx(I1,{})})]}),t&&l.jsx(Bx,{className:v(1866),onClick:H,title:y[v(614)],"aria-label":y["controls.fitView.ariaLabel"],children:l[v(975)](P1,{})}),o&&l[v(975)](Bx,{className:v(654),onClick:E,title:y["controls.interactive.ariaLabel"],"aria-label":y[v(1795)],children:w?l[v(975)](A1,{}):l[v(975)](j1,{})}),u]})}cs[c(705)]=c(953);const Y1=B.memo(cs);function U1({id:e,x:n,y:t,width:o,height:x,style:r,color:i,strokeColor:a,strokeWidth:d,className:s,borderRadius:u,shapeRendering:f,selected:b,onClick:g}){const v=c,{background:h,backgroundColor:w}=r||{},M=i||h||w;return l[v(975)]("rect",{className:Ke([v(1947),{selected:b},s]),x:n,y:t,rx:u,ry:u,width:o,height:x,style:{fill:M,stroke:a,strokeWidth:d},shapeRendering:f,onClick:g?m=>g(m,e):void 0})}const O1=B[c(662)](U1),G1=e=>e[c(2102)][c(692)](n=>n.id),$o=e=>e instanceof Function?e:()=>e;function T1({nodeStrokeColor:e,nodeColor:n,nodeClassName:t="",nodeBorderRadius:o=5,nodeStrokeWidth:x,nodeComponent:r=O1,onClick:i}){const a=c,d=Pe(G1,Ue),s=$o(n),u=$o(e),f=$o(t),b=typeof window===a(431)||window[a(1358)]?a(1838):a(1361);return l.jsx(l[a(676)],{children:d[a(692)](g=>l[a(975)](V1,{id:g,nodeColorFunc:s,nodeStrokeColorFunc:u,nodeClassNameFunc:f,nodeBorderRadius:o,nodeStrokeWidth:x,NodeComponent:r,onClick:i,shapeRendering:b},g))})}function H1({id:e,nodeColorFunc:n,nodeStrokeColorFunc:t,nodeClassNameFunc:o,nodeBorderRadius:x,nodeStrokeWidth:r,shapeRendering:i,NodeComponent:a,onClick:d}){const s=c,{node:u,x:f,y:b,width:g,height:v}=Pe(h=>{const w=_0x5092,M=h[w(1684)][w(509)](e);if(!M)return{node:void 0,x:0,y:0,width:0,height:0};const m=M[w(821)][w(1722)],{x:y,y:z}=M[w(821)][w(1452)],{width:p,height:k}=H0(m);return{node:m,x:y,y:z,width:p,height:k}},Ue);return!u||u[s(1140)]||!wa(u)?null:l[s(975)](a,{x:f,y:b,width:g,height:v,style:u[s(598)],selected:!!u[s(1750)],className:o(u),color:n(u),borderRadius:x,strokeColor:t(u),strokeWidth:r,shapeRendering:i,onClick:d,id:u.id})}const V1=B[c(662)](H1);var W1=B[c(662)](T1);const q1=200,X1=150,K1=e=>!e[c(1140)],Z1=e=>{const n=c,t={x:-e.transform[0]/e[n(2035)][2],y:-e[n(2035)][1]/e[n(2035)][2],width:e[n(533)]/e.transform[2],height:e[n(946)]/e[n(2035)][2]};return{viewBB:t,boundingRect:e.nodeLookup.size>0?ga(ut(e[n(1684)],{filter:K1}),t):t,rfId:e[n(815)],panZoom:e[n(1454)],translateExtent:e.translateExtent,flowWidth:e[n(533)],flowHeight:e.height,ariaLabelConfig:e.ariaLabelConfig}},R1=c(1646);function ss({style:e,className:n,nodeStrokeColor:t,nodeColor:o,nodeClassName:x="",nodeBorderRadius:r=5,nodeStrokeWidth:i,nodeComponent:a,bgColor:d,maskColor:s,maskStrokeColor:u,maskStrokeWidth:f,position:b=c(616),onClick:g,onNodeClick:v,pannable:h=!1,zoomable:w=!1,ariaLabel:M,inversePan:m,zoomStep:y=1,offsetScale:z=5}){const p=c,k=Oe(),O=B[p(1345)](null),{boundingRect:G,viewBB:H,rfId:E,panZoom:V,translateExtent:W,flowWidth:q,flowHeight:T,ariaLabelConfig:S}=Pe(Z1,Ue),L=e?.[p(533)]??q1,D=e?.[p(946)]??X1,Y=G[p(533)]/L,A=G.height/D,P=Math[p(1167)](Y,A),_=P*L,$=P*D,ee=z*P,xe=G.x-(_-G[p(533)])/2-ee,re=G.y-($-G[p(946)])/2-ee,ce=_+ee*2,fe=$+ee*2,we=R1+"-"+E,le=B[p(1345)](0),Q=B[p(1345)]();le.current=P,B[p(1894)](()=>{const j=p;if(O[j(1348)]&&V)return Q[j(1348)]=sb({domNode:O.current,panZoom:V,getTransform:()=>k[j(1638)]()[j(2035)],getViewScale:()=>le[j(1348)]}),()=>{const Z=j;Q[Z(1348)]?.[Z(766)]()}},[V]),B.useEffect(()=>{Q[p(1348)]?.update({translateExtent:W,width:q,height:T,inversePan:m,pannable:h,zoomStep:y,zoomable:w})},[h,w,m,y,W,q,T]);const se=g?j=>{const Z=p,[ne,te]=Q[Z(1348)]?.[Z(1437)](j)||[0,0];g(j,{x:ne,y:te})}:void 0,he=v?B[p(1970)]((j,Z)=>{const ne=p,te=k.getState()[ne(1684)][ne(509)](Z)[ne(821)].userNode;v(j,te)},[]):void 0,U=M??S[p(985)];return l.jsx(vx,{position:b,style:{...e,"--xy-minimap-background-color-props":typeof d===p(455)?d:void 0,"--xy-minimap-mask-background-color-props":typeof s===p(455)?s:void 0,"--xy-minimap-mask-stroke-color-props":typeof u===p(455)?u:void 0,"--xy-minimap-mask-stroke-width-props":typeof f=="number"?f*P:void 0,"--xy-minimap-node-background-color-props":typeof o===p(455)?o:void 0,"--xy-minimap-node-stroke-color-props":typeof t===p(455)?t:void 0,"--xy-minimap-node-stroke-width-props":typeof i===p(935)?i:void 0},className:Ke([p(1556),n]),"data-testid":p(1829),children:l[p(1435)](p(447),{width:L,height:D,viewBox:xe+" "+re+" "+ce+" "+fe,className:p(2112),role:p(566),"aria-labelledby":we,ref:O,onClick:se,children:[U&&l[p(975)](p(1139),{id:we,children:U}),l[p(975)](W1,{onClick:he,nodeColor:o,nodeStrokeColor:t,nodeBorderRadius:r,nodeClassName:x,nodeStrokeWidth:i,nodeComponent:a}),l[p(975)](p(832),{className:p(2025),d:"M"+(xe-ee)+","+(re-ee)+"h"+(ce+ee*2)+"v"+(fe+ee*2)+"h"+(-ce-ee*2)+p(421)+H.x+","+H.y+"h"+H[p(533)]+"v"+H.height+"h"+-H[p(533)]+"z",fillRule:p(1780),pointerEvents:"none"})]})})}ss[c(705)]=c(1399);const _1=B[c(662)](ss),J1=e=>n=>e?""+Math[c(1167)](1/n[c(2035)][2],1):void 0,F1={[Yn[c(563)]]:c(1566),[Yn[c(1921)]]:c(616)};function Q1({nodeId:e,position:n,variant:t=Yn[c(1921)],className:o,style:x=void 0,children:r,color:i,minWidth:a=10,minHeight:d=10,maxWidth:s=Number[c(2028)],maxHeight:u=Number[c(2028)],keepAspectRatio:f=!1,resizeDirection:b,autoScale:g=!0,shouldResize:v,onResizeStart:h,onResize:w,onResizeEnd:M}){const m=c,y=Ic(),z=typeof e=="string"?e:y,p=Oe(),k=B[m(1345)](null),O=t===Yn.Handle,G=Pe(B[m(1970)](J1(O&&g),[O,g]),Ue),H=B[m(1345)](null),E=n??F1[t];B.useEffect(()=>{const W=m;if(!(!k[W(1348)]||!z))return!H[W(1348)]&&(H[W(1348)]=Cb({domNode:k.current,nodeId:z,getStoreItems:()=>{const q=W,{nodeLookup:T,transform:S,snapGrid:L,snapToGrid:D,nodeOrigin:Y,domNode:A}=p[q(1638)]();return{nodeLookup:T,transform:S,snapGrid:L,snapToGrid:D,nodeOrigin:Y,paneDomNode:A}},onChange:(q,T)=>{const S=W,{triggerNodeChanges:L,nodeLookup:D,parentLookup:Y,nodeOrigin:A}=p[S(1638)](),P=[],_={x:q.x,y:q.y},$=D[S(509)](z);if($&&$.expandParent&&$.parentId){const ee=$[S(2083)]??A,xe=q[S(533)]??$[S(529)].width??0,re=q[S(946)]??$.measured[S(946)]??0,ce={id:$.id,parentId:$[S(1590)],rect:{width:xe,height:re,...va({x:q.x??$.position.x,y:q.y??$[S(845)].y},{width:xe,height:re},$.parentId,D,ee)}},fe=Go([ce],D,Y,A);P[S(1843)](...fe),_.x=q.x?Math[S(1167)](ee[0]*xe,q.x):void 0,_.y=q.y?Math[S(1167)](ee[1]*re,q.y):void 0}if(_.x!==void 0&&_.y!==void 0){const ee={id:z,type:S(845),position:{..._}};P.push(ee)}if(q.width!==void 0&&q.height!==void 0){const ee=b?b==="horizontal"?S(533):"height":!0,xe={id:z,type:S(524),resizing:!0,setAttributes:ee,dimensions:{width:q.width,height:q[S(946)]}};P[S(1843)](xe)}for(const ee of T){const xe={...ee,type:"position"};P.push(xe)}L(P)},onEnd:({width:q,height:T})=>{const S=W,L={id:z,type:S(524),resizing:!1,dimensions:{width:q,height:T}};p.getState()[S(812)]([L])}})),H[W(1348)].update({controlPosition:E,boundaries:{minWidth:a,minHeight:d,maxWidth:s,maxHeight:u},keepAspectRatio:f,resizeDirection:b,onResizeStart:h,onResize:w,onResizeEnd:M,shouldResize:v}),()=>{const q=W;H[q(1348)]?.[q(766)]()}},[E,a,d,s,u,f,h,w,M,v]);const V=E.split("-");return l[m(975)]("div",{className:Ke(["react-flow__resize-control",m(1082),...V,t,o]),ref:k,style:{...x,scale:G,...i&&{[O?"backgroundColor":m(894)]:i}},children:r})}B[c(662)](Q1);const ls=e=>Symbol[c(1577)]in e,ds=e=>c(2095)in e,us=(e,n)=>{const t=c,o=e instanceof Map?e:new Map(e[t(2095)]()),x=n instanceof Map?n:new Map(n[t(2095)]());if(o[t(1876)]!==x[t(1876)])return!1;for(const[r,i]of o)if(!x[t(1308)](r)||!Object.is(i,x[t(509)](r)))return!1;return!0},$1=(e,n)=>{const t=c,o=e[Symbol[t(1577)]](),x=n[Symbol[t(1577)]]();let r=o[t(1307)](),i=x.next();for(;!r[t(926)]&&!i[t(926)];){if(!Object.is(r[t(891)],i.value))return!1;r=o[t(1307)](),i=x[t(1307)]()}return!!r.done&&!!i[t(926)]};function e3(e,n){const t=c;return Object.is(e,n)?!0:typeof e!="object"||e===null||typeof n!==t(793)||n===null||Object.getPrototypeOf(e)!==Object[t(1629)](n)?!1:ls(e)&&ls(n)?ds(e)&&ds(n)?us(e,n):$1(e,n):us({entries:()=>Object[t(2095)](e)},{entries:()=>Object.entries(n)})}const fs={inlineScript:c(1414),dataRequest:c(856),external:c(1768),builtin:"内置动作"},n3=[{label:"Message 全局提示 (antd)",value:c(1803)},{label:c(907),value:"switchCanvas"}],t3=[{label:c(909),value:c(909)},{label:c(442),value:c(442)},{label:c(1079),value:c(1079)},{label:c(1049),value:c(1049)},{label:c(2128),value:c(2128)}];function bs(e,n,t){const o=c,x=t[o(568)](i=>i.target===e),r=x.length;return x[o(692)]((i,a)=>{const d=o,s=n[d(1945)](f=>f.id===i[d(1858)]),u=s?.data;return{sourceId:i.source,sourceLabel:u?.[d(1765)]??i[d(1858)],edgeIndex:a,totalIncoming:r}})}const x3=({data:e,id:n})=>{const t=c,{root:o}=Fe(),x=Pe(B.useCallback(a=>bs(n,a.nodes,a[t(1299)]).map(({sourceId:d,sourceLabel:s})=>({sourceId:d,label:s})),[n]),e3),r=e[t(1040)][t(794)]??t(1514),i=r===t(462)?e[t(1040)][t(1216)]:r===t(1070)?e.eventBlock.externalHandlerKey:r==="builtin"?e[t(1040)].builtinId===t(1803)?e[t(1040)][t(1030)]+": "+String(e[t(1040)][t(1217)]?.[t(1123)]??"")[t(2071)](0,24):e[t(1040)][t(1030)]==="switchCanvas"?t(1250)+(o.canvases[t(1945)](a=>a.id===e[t(1040)][t(1217)]?.[t(644)])?.[t(1932)]??t(1080)):e[t(1040)][t(1030)]:null;return l.jsxs("div",{className:t(579),children:[l[t(975)](On,{type:"target",position:pe[t(2115)],className:t(407)}),l[t(1435)](t(1088),{className:t(1439),children:[l[t(975)](t(1987),{className:t(670),children:e[t(1765)]}),l.jsxs(C[t(1264)],{size:t(1717),children:[l.jsx(C[t(797)],{type:t(1992),size:t(1717),icon:l[t(975)](de[t(1406)],{}),onClick:()=>e[t(1779)](n)}),l.jsx(C.Button,{type:t(1992),size:t(1717),danger:!0,icon:l[t(975)](de.DeleteOutlined,{}),onClick:()=>e.onDelete(n)})]})]}),l[t(975)](t(1088),{className:"text-xs mb-1",children:l[t(1435)](C.Tag,{color:r===t(1514)?t(1262):r===t(513)?"cyan":t(1389),className:t(802),children:[fs[r],i?t(435)+i:""]})}),l.jsxs("div",{className:t(639),children:[e.eventBlock.inputs?.[t(922)]>0&&l.jsxs(t(1088),{children:[t(1385),e[t(1040)][t(1739)][t(692)](a=>a.name)[t(2109)](", ")]}),x[t(922)]>0&&l[t(1435)](t(1088),{className:t(1525),children:["上游连线:",x[t(692)](a=>l[t(1435)](t(1088),{className:t(1418),children:["←「",a[t(1765)],t(1010)]},a[t(2090)]))]})]}),l[t(975)](On,{type:"source",position:pe.Bottom,className:t(407)})]})},o3={eventBlock:x3},r3=Object.entries(fs)[c(692)](([e,n])=>({label:n,value:e})),hs=[{label:"点击",value:"click"},{label:c(437),value:c(698)},{label:c(1755),value:c(338)},{label:"双击",value:c(1133)},{label:c(1412),value:c(1940)},{label:"鼠标移出",value:c(1128)},{label:c(1251),value:c(1362)},{label:c(859),value:c(1546)},{label:c(527),value:c(462)},{label:"外部事件",value:c(1070)}];function i3(e,n){const t=c,o={},x=[...e];return x[t(467)]((r,i)=>{const a=t,d=n.inputs[i]?.[a(1932)]??(x[a(922)]===1?a(1495):a(1495)+i);o[d]=a(755)+r[a(1858)]}),o}function a3(e,n,t){const o=c;return t[e]?.[o(1932)]??(n===1?"prev":o(1495)+e)}const c3=[{label:c(455),value:"string"},{label:c(935),value:"number"},{label:c(2008),value:c(2008)},{label:"object",value:c(793)},{label:c(590),value:"any"}];function gs(e){const n=c,t=hs.find(x=>x.value===e[n(1723)]),o=t?.label??e[n(1723)];if(e[n(1723)]===n(1070)){const x=(e[n(1029)]||"")[n(583)]();return x?o+n(435)+x:o}return o}const s3=({open:e,onClose:n,bindNodeId:t,editingRoot:o})=>{const x=c,{nodes:r,eventFlow:i,externalHandlerCatalog:a,addEventBlock:d,upsertEventBlock:s,removeEventBlock:u,addEventRoot:f,updateEventRoot:b,root:g}=Fe(),[v,h,w]=C1([]),[M,m,y]=M1([]),z=B[x(1345)](v);z[x(1348)]=v;const[p,k]=B[x(1102)](()=>o??null),[O,G]=B[x(1102)](!1),[H]=C[x(1907)][x(366)](),E=C.Form[x(520)](x(1723),H),[V,W]=B[x(1102)](null),[q,T]=B.useState(!1),[S]=C[x(1907)].useForm(),L=C.Form[x(520)](x(794),S),D=C.Form[x(520)](x(1030),S),Y=C[x(1907)][x(520)](x(1739),S),A=B[x(1332)](()=>!q||!V?[]:bs(V.id,v,M),[q,V,v,M]),P=B[x(1345)](()=>{}),_=B[x(1345)](()=>{});B.useEffect(()=>{const U=x;if(q&&V){const j=V[U(1217)]??{},{outputs:Z,...ne}=V;S[U(1644)]({...ne,executorType:V.executorType??U(1514),builtinId:V[U(1030)],inputs:V[U(1739)]??[],builtinConfig:{content:String(j[U(1123)]??""),level:String(j[U(491)]??"info"),duration:j[U(960)]===void 0||j[U(960)]===null?void 0:Number(j[U(960)])}})}},[q,V,S]);const $=B.useCallback(U=>{m(j=>ka(U,j))},[m]),ee=U=>{const j=x,Z={bindNodeId:U[j(500)],eventType:U[j(1723)],externalEventKey:U.eventType===j(1070)?(U.externalEventKey||"").trim():void 0,flowData:{nodes:[],edges:[]},enabled:!0},ne=f(Z);k({...Z,id:ne}),H[j(1374)](),G(!1),C[j(1710)][j(442)](j(829))},xe=B.useCallback(U=>{const j=x;u(U),h(Z=>Z[j(568)](ne=>ne.id!==U)),m(Z=>Z.filter(ne=>ne[j(1858)]!==U&&ne[j(1233)]!==U))},[u,h,m]),re=B.useCallback(U=>{const j=x,Z=z[j(1348)][j(1945)](X=>X.id===U)?.[j(1215)]?.[j(1040)],ne=i[j(1936)].find(X=>X.id===U),te=Z??ne;te?(W({...te,id:U}),T(!0)):C[j(1710)][j(1079)](j(1033))},[i[x(1936)]]);P[x(1348)]=re,_[x(1348)]=xe,B[x(1894)](()=>{const U=x;if(e&&p){const j=p.flowData[U(2102)][U(692)](ne=>({id:ne.id,type:U(1040),position:ne[U(845)],data:{label:ne.data[U(1765)],eventBlock:ne[U(1215)][U(1040)],onEdit:te=>P[U(1348)](te),onDelete:te=>_.current(te)}})),Z=p[U(1820)].edges.map(ne=>({id:ne.id,source:ne[U(1858)],target:ne[U(1233)]}));h(j),m(Z)}},[e,p,h,m]);const ce=()=>{const U=x,j={name:U(441),executorType:U(1514),callback:U(2149),inputs:[],outputs:[]},Z=d(j),ne={...j,id:Z},te={id:Z,type:U(1040),position:{x:100+v[U(922)]*50,y:100+v.length*30},data:{label:ne[U(1932)],eventBlock:ne,onEdit:X=>P[U(1348)](X),onDelete:X=>_[U(1348)](X)}};h(X=>[...X,te])},fe=()=>{const U=x,j={name:U(1823),executorType:"builtin",builtinId:U(1803),builtinConfig:{content:"操作成功",level:U(909)},callback:U(1403),inputs:[],outputs:[]},Z=d(j),ne={...j,id:Z},te={id:Z,type:U(1040),position:{x:120+v[U(922)]*50,y:140+v.length*30},data:{label:ne[U(1932)],eventBlock:ne,onEdit:X=>P[U(1348)](X),onDelete:X=>_.current(X)}};h(X=>[...X,te])},we=()=>{const U=x,j={name:"跳转画布",executorType:"builtin",builtinId:"switchCanvas",builtinConfig:{targetCanvasId:g.canvases[0]?.id||""},callback:U(1403),inputs:[],outputs:[]},Z=d(j),ne={...j,id:Z},te={id:Z,type:U(1040),position:{x:120+v.length*50,y:140+v[U(922)]*30},data:{label:ne[U(1932)],eventBlock:ne,onEdit:X=>P.current(X),onDelete:X=>_.current(X)}};h(X=>[...X,te])},le=U=>{const j=x;if(!V)return;const Z=U.executorType??V[j(794)]??j(1514),ne={name:U[j(1932)],callback:U.callback??V[j(1845)],executorType:Z,dataRequestKey:Z===j(462)?(U[j(1216)]||"")[j(583)]():void 0,externalHandlerKey:Z===j(1070)?(U[j(1743)]||"")[j(583)]():void 0,builtinId:Z==="builtin"?U.builtinId:void 0,builtinConfig:Z===j(513)&&U.builtinId===j(1803)?{content:String(U[j(1217)]?.content??"")[j(583)](),level:U[j(1217)]?.[j(491)]||j(909),duration:U[j(1217)]?.[j(960)]===null||U[j(1217)]?.[j(960)]===void 0?void 0:Number(U.builtinConfig[j(960)])}:Z==="builtin"&&U[j(1030)]==="switchCanvas"?{targetCanvasId:String(U.builtinConfig?.targetCanvasId??"").trim()}:void 0},te=U[j(1739)]??[],X=te[j(568)](ve=>ve?.[j(1932)]&&String(ve[j(1932)])[j(583)]()),oe={...V,...ne,inputs:X,outputs:[]};s(oe),h(ve=>ve.map(Me=>Me.id===V.id?{...Me,data:{...Me[j(1215)],label:oe[j(1932)]||Me[j(1215)].label,eventBlock:oe}}:Me)),T(!1),W(null),C[j(1710)][j(442)](j(469))},Q=()=>{const U=x;if(!p)return;const j=v[U(692)](ne=>{const te=U,X=M.filter(Me=>Me[te(1233)]===ne.id),oe=ne.data[te(1040)],ve={...oe,outputs:[]};return{id:ne.id,eventBlockId:ne.id,position:ne[te(845)],inputs:X.map(Me=>Me[te(1858)]),outputs:M.filter(Me=>Me[te(1858)]===ne.id)[te(692)](Me=>Me[te(1233)]),data:{label:ne.data[te(1765)],eventBlock:ve,inputMapping:i3(X,ve)}}}),Z=M.map(ne=>({id:ne.id,source:ne.source,target:ne.target}));b(p.id,{flowData:{nodes:j,edges:Z}}),Mn[U(1519)]({...p,flowData:{nodes:j,edges:Z}}),C[U(1710)][U(442)]("事件流保存成功"),n()},se=B[x(1332)](()=>r[x(692)](U=>({label:U[x(1932)],value:U.id})),[r]),he=B[x(1332)](()=>t?i.eventRoots[x(568)](U=>U[x(500)]===t):i[x(1279)],[i[x(1279)],t]);return e?l.jsxs(C[x(871)],{title:"事件流编辑器",open:e,onCancel:n,width:1200,footer:null,styles:{body:{height:700,padding:0}},children:[p?l[x(1435)](x(1088),{className:"h-full flex flex-col",style:{height:700},children:[l[x(1435)](x(1088),{className:x(1654),children:[l[x(975)](C.Space,{children:l[x(1435)](x(1987),{className:x(1835),children:[x(2030),gs(p)," →"," ",r.find(U=>U.id===p.bindNodeId)?.[x(1932)]]})}),l.jsxs(C.Space,{children:[l[x(975)](C[x(797)],{icon:l[x(975)](de[x(1411)],{}),onClick:ce,children:x(1236)}),l[x(975)](C.Button,{icon:l[x(975)](de[x(1411)],{}),onClick:fe,children:x(1823)}),l[x(975)](C[x(797)],{icon:l[x(975)](de[x(1411)],{}),onClick:we,children:"跳转画布"}),l.jsx(C.Button,{type:x(1481),icon:l[x(975)](de[x(2056)],{}),onClick:Q,children:"保存"}),l[x(975)](C[x(797)],{icon:l[x(975)](de[x(1909)],{}),onClick:()=>k(null),children:"返回列表"})]})]}),l[x(975)]("div",{className:x(937),children:l[x(1435)](z1,{nodes:v,edges:M,onNodesChange:w,onEdgesChange:y,onConnect:$,nodeTypes:o3,fitView:!0,children:[l[x(975)](N1,{}),l[x(975)](Y1,{}),l[x(975)](_1,{})]})})]}):l[x(1435)](x(1088),{className:x(847),children:[l.jsxs(x(1088),{className:x(737),children:[l[x(975)]("h3",{className:x(880),children:x(1016)}),l[x(975)](C.Button,{type:"primary",icon:l[x(975)](de[x(1411)],{}),onClick:()=>G(!0),children:x(452)})]}),l[x(975)](C[x(1464)],{dataSource:he,renderItem:U=>l[x(975)](C[x(1464)][x(658)],{actions:[l[x(975)](C.Button,{type:"primary",icon:l[x(975)](de.EditOutlined,{}),onClick:()=>k(U),children:"编辑"},x(1621))],children:l[x(975)](C.List[x(658)][x(1869)],{title:l.jsxs(C.Space,{children:[l.jsxs("span",{children:[x(944),gs(U)]}),l.jsx(C[x(739)],{color:"blue",children:r[x(1945)](j=>j.id===U[x(500)])?.[x(1932)]||U.bindNodeId})]}),description:x(2136)+U[x(1820)][x(2102)][x(922)]+", 连接数: "+U[x(1820)][x(1299)][x(922)]})}),locale:{emptyText:l[x(975)](C[x(465)],{description:"暂无事件流"})}}),l[x(975)](C[x(871)],{title:x(452),open:O,onCancel:()=>{H[x(1374)](),G(!1)},footer:null,afterOpenChange:U=>{U&&(H.resetFields(),t&&H.setFieldsValue({bindNodeId:t}))},children:l[x(1435)](C[x(1907)],{form:H,onFinish:ee,layout:"vertical",children:[l[x(975)](C.Form.Item,{name:x(500),label:x(381),rules:[{required:!0,message:x(2043)}],initialValue:t,children:l.jsx(C[x(1581)],{options:se,placeholder:x(749),disabled:!!t})}),l[x(975)](C[x(1907)].Item,{name:"eventType",label:"触发方式",rules:[{required:!0,message:"请选择触发方式"}],children:l[x(975)](C[x(1581)],{options:hs,placeholder:x(1898)})}),E===x(1070)&&l[x(975)](C.Form[x(658)],{name:x(1029),label:"外部事件标识",rules:[{required:!0,message:x(504)},{validator:(U,j)=>(j||"")[x(583)]()?Promise[x(1887)]():Promise[x(466)](new Error("标识不能为空"))}],extra:"与 eventBus.emitExternal(节点id, 该标识) 一致",children:l[x(975)](C.Input,{placeholder:x(383)})}),l[x(975)](C[x(1907)].Item,{className:x(323),children:l[x(1435)](C.Space,{className:x(1712),children:[l[x(975)](C[x(797)],{onClick:()=>{H[x(1374)](),G(!1)},children:"取消"}),l[x(975)](C[x(797)],{type:"primary",htmlType:x(1790),children:"创建"})]})})]})})]}),l[x(975)](C[x(871)],{title:x(371),open:q,onCancel:()=>{T(!1),W(null)},footer:null,destroyOnClose:!0,children:l.jsxs(C[x(1907)],{form:S,onFinish:le,layout:"vertical",children:[l.jsx(C[x(1907)].Item,{name:x(1932),label:"名称",rules:[{required:!0,message:x(1850)}],children:l[x(975)](C[x(1127)],{})}),l[x(975)](C[x(1907)].Item,{name:x(794),label:x(382),rules:[{required:!0,message:x(1540)}],children:l.jsx(C[x(1581)],{options:r3,placeholder:x(893)})}),L===x(513)&&l[x(975)](C[x(1907)][x(658)],{name:x(1030),label:x(2063),rules:[{required:!0,message:x(2139)}],children:l[x(975)](C[x(1581)],{options:n3,placeholder:x(1699)})}),L==="builtin"&&D===x(1803)&&l[x(1435)](l[x(676)],{children:[l[x(975)](C.Form[x(658)],{name:[x(1217),x(1123)],label:x(640),rules:[{required:!0,message:x(1697)}],extra:x(934),children:l[x(975)](C.Input[x(1347)],{rows:3,placeholder:x(854)})}),l.jsx(C[x(1907)][x(658)],{name:["builtinConfig",x(491)],label:"状态 (type)",children:l[x(975)](C[x(1581)],{options:t3})}),l[x(975)](C[x(1907)][x(658)],{name:[x(1217),x(960)],label:x(707),extra:x(2144),children:l.jsx(C[x(1450)],{min:0,step:.5,style:{width:x(1380)},placeholder:"默认"})})]}),L==="builtin"&&D==="switchCanvas"&&l[x(975)](C[x(1907)][x(658)],{name:["builtinConfig","targetCanvasId"],label:x(502),rules:[{required:!0,message:"请选择目标画布"}],children:l[x(975)](C[x(1581)],{placeholder:x(603),options:g[x(1237)][x(692)](U=>({value:U.id,label:U.name}))})}),L===x(462)&&l.jsx(C[x(1907)].Item,{name:"dataRequestKey",label:x(1028),rules:[{required:!0,message:x(1054)},{validator:(U,j)=>(j||"").trim()?Promise[x(1887)]():Promise[x(466)](new Error(x(1486)))}],extra:"运行时 eventBus.setDefaultRuntimeHandlers({ dataRequest: { [标识]: (ctx, args) => ... } })",children:l[x(975)](C.Input,{placeholder:x(1297)})}),L===x(1070)&&l[x(975)](C.Form[x(658)],{name:x(1743),label:x(778),rules:[{required:!0,message:x(630)},{validator:(U,j)=>(j||"")[x(583)]()?Promise[x(1887)]():Promise[x(466)](new Error(x(1486)))}],extra:a.length>0?"来自 ConfigEditor 的 externalEventActions;也可在运行时 eventBus.mergeDefaultRuntimeHandlers({ external }) 补充":"未配置下拉时手动填写 key;宿主可用 ConfigEditor externalEventActions 注册选项与 handler,或 eventBus.mergeDefaultRuntimeHandlers",children:a[x(922)]>0?l.jsx(C.Select,{showSearch:!0,optionFilterProp:x(1765),allowClear:!0,placeholder:"选择已注册的外部方法",options:a.map(U=>({value:U[x(425)],label:U[x(1765)],title:U[x(729)]?U[x(1765)]+x(1013)+U[x(729)]:U[x(1765)]+" ("+U[x(425)]+")"})),onInputKeyDown:U=>{const j=x;U[j(425)]===" "&&U[j(718)]()}}):l[x(975)](C[x(1127)],{placeholder:"例如:navigateTo、openDialog"})}),L==="inlineScript"&&l.jsx(C[x(1907)][x(658)],{name:"callback",label:x(1004),rules:[{validator:(U,j)=>{const Z=x;return typeof j=="string"&&j[Z(583)]()?Promise[Z(1887)]():Promise.reject(new Error(Z(1808)))}}],children:l.jsx(C[x(1127)][x(1347)],{rows:6,placeholder:x(783)})}),A[x(922)]>0&&l[x(1435)](x(1088),{className:"mb-4 p-3 bg-amber-50 rounded border border-amber-100 text-sm",children:[l[x(975)](x(1088),{className:x(2061),children:x(2078)}),l[x(975)]("ul",{className:x(2088),children:A.map(U=>{const j=x,Z=Y??V?.[j(1739)]??[],ne=a3(U[j(1811)],U[j(1044)],Z);return l[j(1435)]("li",{className:j(951),children:[l[j(1435)](j(1088),{className:j(1331),children:["第 ",U[j(1811)]+1,j(2079),U[j(1266)],"」:上游",l.jsx("strong",{children:"整块返回值"})," →"," ",l[j(1435)](j(1986),{className:j(1849),children:[j(744),ne]})]}),l[j(1435)]("div",{className:j(1271),children:["在下方第 ",U.edgeIndex+1,j(1378)]})]},U[j(2090)])})})]}),l.jsx(x(1088),{className:x(983),children:x(2148)}),l.jsxs(x(1088),{className:x(482),children:["第 1 行对应第 1 条指向本块的连线,第 2 行对应第 2 条……(顺序与画布连线添加顺序一致,先连在前)。不添加行时:单入边用"," ",l[x(975)](x(1986),{children:x(1626)}),x(1720),l[x(975)](x(1986),{children:x(1415)}),"、",l[x(975)]("code",{children:x(751)}),"…"]}),l[x(975)](C[x(1907)][x(1464)],{name:x(1739),children:(U,{add:j,remove:Z})=>l[x(1435)](l.Fragment,{children:[U.map(({key:ne,name:te,...X})=>l[x(1435)](C[x(1264)],{align:x(1213),wrap:!0,className:x(913),children:[l[x(975)](C[x(1907)][x(658)],{...X,name:[te,x(1932)],rules:[{required:!0,message:"名称"}],children:l[x(975)](C.Input,{placeholder:x(2041),style:{width:140}})}),l.jsx(C[x(1907)].Item,{...X,name:[te,x(443)],initialValue:x(590),children:l[x(975)](C[x(1581)],{options:c3,style:{width:100}})}),l[x(975)](de[x(1051)],{className:x(1248),onClick:()=>Z(te)})]},ne)),l.jsx(C.Button,{type:x(1390),onClick:()=>j({type:x(590)}),block:!0,icon:l[x(975)](de.PlusOutlined,{}),children:x(310)})]})}),l.jsx(C[x(1907)][x(658)],{className:x(691),children:l[x(1435)](C[x(1264)],{className:x(1712),children:[l[x(975)](C[x(797)],{onClick:()=>{T(!1),W(null)},children:"取消"}),l[x(975)](C[x(797)],{type:x(1481),htmlType:x(1790),children:"保存"})]})})]})})]}):null},Dx={click:"点击",mouseDown:c(437),mouseUp:c(1755),doubleClick:"双击",mouseOver:"鼠标移入",mouseLeave:c(1647),mouseEnter:"鼠标进入",contextMenu:"右键菜单",dataRequest:c(527),external:c(1498)};function l3(e){const n=c;if(e[n(1723)]===n(1070)){const t=(e.externalEventKey||"").trim();return t?Dx[n(1070)]+n(435)+t:Dx.external}return Dx[e[n(1723)]]}const d3=Object[c(2095)](Dx)[c(692)](([e,n])=>({label:n,value:e})),u3=({nodeId:e})=>{const n=c,{eventFlow:t,addEventRoot:o,updateEventRoot:x,removeEventRoot:r}=Fe(),[i,a]=B[n(1102)](!1),[d,s]=B[n(1102)](null),[u,f]=B[n(1102)](!1),[b]=C[n(1907)].useForm(),g=C[n(1907)][n(520)](n(1723),b),v=B[n(1332)](()=>{const y=n;return t.eventRoots[y(568)](z=>z[y(500)]===e)},[t[n(1279)],e]),h=y=>{const z=n,p={bindNodeId:e,eventType:y[z(1723)],externalEventKey:y[z(1723)]===z(1070)?(y[z(1029)]||"")[z(583)]():void 0,flowData:{nodes:[],edges:[]},enabled:!0};o(p),b[z(1374)](),f(!1)},w=y=>{s(y),a(!0)},M=(y,z)=>{x(y.id,{enabled:z})},m=y=>{r(y)};return l[n(1435)]("div",{children:[l[n(1435)](n(1088),{className:n(737),children:[l.jsx("h4",{className:n(1825),children:n(1085)}),l.jsx(C[n(797)],{type:n(1481),size:n(1717),icon:l[n(975)](de.PlusOutlined,{}),onClick:()=>f(!0),children:n(1428)})]}),l[n(975)](C[n(1464)],{dataSource:v,renderItem:y=>l[n(975)](C[n(1464)][n(658)],{actions:[l[n(975)](C[n(710)],{checked:y[n(1219)],size:n(1717),onChange:z=>M(y,z)},n(1298)),l[n(975)](C.Button,{type:n(1992),size:n(1717),icon:l.jsx(de[n(1406)],{}),onClick:()=>w(y)},"edit"),l[n(975)](C[n(776)],{title:n(1508),description:"删除后无法恢复,是否继续?",onConfirm:()=>m(y.id),children:l[n(975)](C.Button,{type:n(1992),danger:!0,size:n(1717),icon:l.jsx(de[n(1438)],{})})},n(2055))],children:l.jsx(C.List.Item.Meta,{title:l[n(1435)](C[n(1264)],{children:[l[n(975)](C[n(739)],{color:y[n(1219)]?n(1160):n(1262),children:l3(y)}),l[n(1435)](n(1987),{className:n(2054),children:[y[n(1820)][n(2102)][n(922)],n(2124)]})]}),description:y[n(1219)]?l.jsx(n(1987),{className:"text-xs text-green-600",children:n(570)}):l.jsx("span",{className:n(2054),children:n(1530)})})}),locale:{emptyText:l[n(975)](C.Empty,{image:C.Empty.PRESENTED_IMAGE_SIMPLE,description:n(1600)})}}),l[n(975)](C[n(871)],{title:n(1428),open:u,onCancel:()=>{b[n(1374)](),f(!1)},footer:null,afterOpenChange:y=>{y&&b.resetFields()},children:l[n(1435)](C[n(1907)],{form:b,onFinish:h,layout:n(1736),children:[l[n(975)](C[n(1907)][n(658)],{name:n(1723),label:n(1908),rules:[{required:!0,message:n(1189)}],children:l[n(975)](C[n(1581)],{options:d3,placeholder:n(1609)})}),g==="external"&&l.jsx(C[n(1907)].Item,{name:n(1029),label:n(1989),rules:[{required:!0,message:n(504)},{validator:(y,z)=>(z||"").trim()?Promise[n(1887)]():Promise[n(466)](new Error(n(1486)))}],extra:"与运行时 eventBus.emitExternal(节点id, 该标识) 一致,例如:refresh、dialog:opened",children:l.jsx(C[n(1127)],{placeholder:n(1257)})}),l[n(975)](C[n(1907)][n(658)],{className:n(323),children:l[n(1435)](C[n(1264)],{className:n(1712),children:[l[n(975)](C.Button,{onClick:()=>f(!1),children:"取消"}),l[n(975)](C[n(797)],{type:"primary",htmlType:n(1790),children:"创建"})]})})]})}),l[n(975)](s3,{open:i,onClose:()=>{a(!1),s(null)},bindNodeId:e,editingRoot:d},d?.id??n(1425)+e)]})},{Panel:Q0}=C[c(1583)],{TabPane:Lx}=C[c(1770)],{TextArea:f3}=C[c(1127)],ys=({defaultTestData:e})=>{const n=c,{nodes:t,selectedNodeId:o,updateNode:x,updateNodeStyle:r,updateNodeControl:i,updateNodeContent:a,materials:d,selectedStatusId:s,selectStatus:u}=Fe(),[f]=C[n(1907)].useForm(),[b,g]=B.useState(n(657)),[v,h]=B[n(1102)](!1),[w,M]=B[n(1102)](null),[m,y]=B[n(1102)]({}),z=B[n(1332)](()=>t[n(1945)](D=>D.id===o),[t,o]),p=z?.contentInfo.statusList||[],k=L=>{const D=n;o&&(L[D(1991)]&&r(o,L[D(1991)]),L[D(1932)]!==void 0&&x(o,{name:L.name}),L[D(2046)]&&i(o,L[D(2046)]))};console[n(1881)](o,n(2118),z),B[n(1894)](()=>{const L=n;z&&z&&(f[L(1644)]({name:z[L(1932)],normalStyle:{width:100,height:100,x:0,y:0,padding:8,background:"transparent",borderRadius:0,opacity:1,...z[L(1991)]},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0,...z.controlInfo}}),u(null))},[z,u,f]);const O=()=>{!o||!z||(M("new"),h(!0))},G=L=>{const D=n;if(!o||!z)return;const Y={id:Se[D(631)](),name:L[D(1932)]+D(1934)+(p[D(922)]+1),expression:p[D(922)]===0?D(1050):D(2059),material:{...L,id:Se.nanoid()},boundDatasetId:null};if(w===D(1664)){const A=[...p,Y];a(o,{statusList:A})}else if(w){const A=p[D(692)](P=>P.id===w?{...P,material:{...L,id:Se.nanoid()}}:P);a(o,{statusList:A})}h(!1),M(null)},H=L=>{const D=n;if(!o||!z)return;const Y=z.contentInfo[D(2169)]?.[D(568)](A=>A.id!==L)||[];a(o,{statusList:Y}),s===L&&u(null)},E=(L,D)=>{const Y=n;if(!o||!z)return;const A=z.contentInfo[Y(2169)]?.[Y(692)](P=>P.id===L?{...P,...D}:P)||[];a(o,{statusList:A})},V=L=>{const D=n;if(!o||!z)return;const Y={...L,id:Se[D(631)](),name:L[D(1932)]+D(973),expression:D(2059)},A=[...p,Y];a(o,{statusList:A})},W=(L,D)=>{const Y=n;if(!o||!z)return;const A=p[Y(1353)](_=>_.id===L);if(A===-1)return;const P=[...p];D==="up"&&A>0?[P[A],P[A-1]]=[P[A-1],P[A]]:D===Y(518)&&A<P[Y(922)]-1&&([P[A],P[A+1]]=[P[A+1],P[A]]),a(o,{statusList:P})},q=L=>{M(L),h(!0)},T=(L,D)=>{const Y=n,A=D[Y(1015)]||{},P=A[Y(837)]??0,_=A[Y(2002)]??0,$=A[Y(581)]??100,ee=A[Y(799)]??0,xe=Math.max((A[Y(1700)]||A.thickness||2)*2,4),re=Math.min(P,$),ce=Math[Y(1724)](_,ee),fe=Math[Y(1167)](P,$),we=Math[Y(1167)](_,ee),le=Math[Y(1167)](fe-re,xe),Q=Math[Y(1167)](we-ce,xe),se=L.normalStyle.x||0,he=L[Y(1991)].y||0;return{material:{...D,config:{...A,startX:P-re,startY:_-ce,endX:$-re,endY:ee-ce}},box:{x:se+re,y:he+ce,width:le,height:Q}}},S=(L,D)=>{const Y=n;if(!o||!z)return;const{list:A,lineBox:P}=p[Y(1046)]((_,$)=>{const ee=Y;if($.id!==L)return _.list[ee(1843)]($),_;let xe;if($.material[ee(443)]===ee(947)&&"config"in D&&D[ee(1015)]!==void 0){const re=$[ee(1554)],ce=D[ee(1015)];xe={...re,...D,config:{...re[ee(1015)]||{},...ce}}}else xe={...$.material,...D};if(xe[ee(443)]===ee(947)){const{material:re,box:ce}=T(z,xe);return _.list.push({...$,material:re}),_[ee(966)]=ce,_}return _[ee(1702)].push({...$,material:xe}),_},{list:[],lineBox:null});P!==null?x(o,{normalStyle:{...z[Y(1991)],x:P.x,y:P.y,width:P.width,height:P.height},contentInfo:{...z[Y(674)],statusList:A}}):a(o,{statusList:A})};return z?l.jsxs(n(1088),{className:n(1207),children:[l.jsxs(n(1088),{className:n(327),children:[l[n(975)]("h3",{className:n(1371),children:n(1485)}),l[n(975)]("p",{className:n(881),children:n(1967)})]}),l.jsx(n(1088),{className:n(1074),children:l[n(1435)](C.Tabs,{activeKey:b,onChange:g,children:[l[n(975)](Lx,{tab:"基础",children:l.jsxs(C[n(1907)],{form:f,layout:n(1736),onValuesChange:k,initialValues:{name:z[n(1932)]},children:[l.jsx(C[n(1907)][n(658)],{label:n(424),name:n(1932),children:l[n(975)](C[n(1127)],{placeholder:n(1800)})}),l[n(1435)](C.Collapse,{ghost:!0,defaultActiveKey:["position",n(1876),"style"],children:[l[n(975)](Q0,{header:"位置",children:l.jsxs(C[n(1264)],{children:[l.jsx(C[n(1907)][n(658)],{label:"X",name:["normalStyle","x"],children:l[n(975)](C.InputNumber,{})}),l[n(975)](C[n(1907)].Item,{label:"Y",name:[n(1991),"y"],children:l[n(975)](C[n(1450)],{})})]})},n(845)),l[n(975)](Q0,{header:"尺寸",children:l.jsxs(C.Space,{children:[l[n(975)](C[n(1907)][n(658)],{label:"宽度",name:["normalStyle",n(533)],children:l.jsx(C[n(1450)],{min:10})}),l[n(975)](C.Form[n(658)],{label:"高度",name:[n(1991),n(946)],children:l[n(975)](C.InputNumber,{min:10})})]})},n(1876)),l.jsxs(Q0,{header:"样式",children:[l[n(975)](C.Form[n(658)],{label:n(314),name:[n(1991),"background"],children:l[n(975)](C.Input,{placeholder:n(725)})}),l[n(975)](C[n(1907)].Item,{label:n(814),name:[n(1991),n(1446)],children:l[n(975)](C[n(1450)],{min:0})}),l.jsx(C[n(1907)][n(658)],{label:"圆角",name:["normalStyle","borderRadius"],children:l[n(975)](C[n(1450)],{min:0})}),l.jsx(C[n(1907)].Item,{label:n(617),name:["normalStyle",n(2029)],help:n(2062),children:l[n(975)](C[n(1450)],{min:.1,max:5,step:.1})}),!z[n(674)][n(2169)][n(1559)](L=>L[n(1554)][n(443)]===n(947))&&l[n(975)](C[n(1907)][n(658)],{label:n(2017),name:["normalStyle",n(1688)],help:n(1421),children:l[n(975)](C[n(1450)],{min:0,max:360,step:1})}),l[n(975)](C[n(1907)].Item,{label:"透明度",name:["normalStyle",n(641)],children:l.jsx(C[n(1450)],{min:0,max:1,step:.1})}),l[n(975)](C.Form[n(658)],{label:"层级",name:[n(1991),n(2068)],children:l[n(975)](C[n(1450)],{})})]},n(598))]})]})},"basic"),l[n(975)](Lx,{tab:"状态",children:z.type===n(1087)&&z[n(875)]?l[n(975)](Kl,{node:z,updateNode:x,materials:d}):l.jsxs(n(1088),{className:n(539),children:[l[n(1435)]("div",{className:"flex items-center justify-between mb-2",children:[l[n(1435)](n(1987),{className:n(1835),children:[n(1229),l[n(975)](C[n(739)],{color:n(1160),className:"ml-2",children:p[n(922)]})]}),l[n(975)](C[n(797)],{type:"primary",size:n(1717),icon:l[n(975)](de.PlusOutlined,{}),onClick:O,children:n(1524)})]}),l.jsx("p",{className:"text-xs text-gray-500 mb-3",children:n(2134)}),p.length>0&&l[n(975)](n(1088),{className:n(767),children:l[n(975)](n(1088),{className:n(1634),children:l[n(1435)](n(1088),{children:[l[n(975)]("span",{className:n(1777),children:"当前状态:"}),l[n(975)](n(1987),{className:"ml-2 text-sm font-medium text-blue-600",children:n(1249)})]})})}),p[n(922)]===0?l[n(975)](n(1088),{className:n(423),children:"暂无状态,点击上方按钮添加"}):l.jsx(C.Collapse,{ghost:!0,defaultActiveKey:p[0]?.id+o,children:p[n(692)]((L,D)=>l[n(975)](Q0,{header:l[n(1435)]("div",{className:n(958),children:[l[n(975)](n(1987),{className:n(384),children:D+1}),l[n(975)]("span",{className:"font-medium",children:L.name}),l[n(975)](C[n(739)],{color:"default",className:n(1058),children:L[n(1554)].type})]}),extra:l[n(1435)](C.Space,{size:n(1717),onClick:Y=>Y[n(718)](),children:[l[n(975)](C[n(797)],{type:n(1992),size:n(1717),icon:l[n(975)](de[n(1615)],{}),disabled:D===0,onClick:Y=>{Y.stopPropagation(),W(L.id,"up")}}),l.jsx(C[n(797)],{type:n(1992),size:n(1717),icon:l[n(975)](de[n(775)],{}),disabled:D===p[n(922)]-1,onClick:Y=>{const A=n;Y[A(718)](),W(L.id,A(518))}}),l[n(975)](C[n(797)],{type:n(1992),size:n(1717),icon:l.jsx(de[n(863)],{}),onClick:Y=>{Y[n(718)](),V(L)}}),l[n(975)](C[n(797)],{type:n(1992),size:n(1717),danger:!0,icon:l[n(975)](de[n(1438)],{}),onClick:Y=>{Y[n(718)](),H(L.id)}})]}),children:l.jsxs(C[n(1907)],{layout:n(1736),children:[l.jsx(C[n(1907)][n(658)],{label:"状态名称",children:l.jsx(C[n(1127)],{value:L[n(1932)],onChange:Y=>E(L.id,{name:Y[n(1233)][n(891)]}),placeholder:n(378)})}),l[n(975)](li,{status:L,onUpdate:Y=>E(L.id,Y),onAppendToExpression:Y=>{y(A=>({...A,[L.id]:(A[L.id]??L.expression)+Y}))}}),l[n(975)](C[n(1907)][n(658)],{label:n(438),help:n(1462),children:l[n(975)](f3,{value:m[L.id]??L[n(565)],onChange:Y=>y(A=>({...A,[L.id]:Y.target[n(891)]})),onBlur:Y=>{const A=n;E(L.id,{expression:Y[A(1233)][A(891)]}),y(P=>{const _={...P};return delete _[L.id],_})},rows:3,placeholder:"return true;"})}),l[n(975)](C[n(1907)][n(658)],{label:n(2108),children:l.jsxs("div",{className:n(958),children:[l[n(975)](C[n(739)],{color:n(1160),children:L[n(1554)][n(1932)]}),l.jsx(C.Tag,{color:n(1262),children:L[n(1554)].type}),l.jsx(C.Button,{type:n(1705),size:n(1717),icon:l[n(975)](de[n(1406)],{}),onClick:()=>q(L.id),children:n(874)})]})}),l[n(975)](C.Divider,{style:{margin:n(472)}}),l[n(1435)](n(1088),{className:n(318),children:[l[n(1435)](n(1088),{className:n(1439),children:[l[n(975)](n(1987),{className:"text-sm font-medium",children:n(1639)}),l[n(975)](C[n(739)],{children:L[n(1554)][n(1932)]})]}),l[n(975)](di,{material:L.material,onSave:Y=>S(L.id,Y)})]})]})},L.id+o))})]})},n(1816)),l[n(975)](Lx,{tab:"控制",children:l[n(1435)](C[n(1907)],{form:f,layout:n(1736),onValuesChange:k,children:[l.jsx(C[n(1907)][n(658)],{label:"可拖拽",name:[n(2046),"isDraggable"],valuePropName:"checked",children:l.jsx(C[n(710)],{})}),l[n(975)](C[n(1907)].Item,{label:n(1786),name:[n(2046),"isClickable"],valuePropName:n(1122),children:l.jsx(C[n(710)],{})}),l.jsx(C[n(1907)][n(658)],{label:n(1404),name:[n(2046),"isResizable"],valuePropName:n(1122),children:l.jsx(C[n(710)],{})}),l.jsx(C[n(1907)][n(658)],{label:n(781),name:["controlInfo",n(1188)],valuePropName:n(1122),children:l[n(975)](C.Switch,{})})]})},n(1857)),l.jsx(Lx,{tab:"事件流",children:l.jsx(u3,{nodeId:z.id})},n(315))]})}),l[n(975)](n(1088),{className:"p-3 border-t border-gray-200 bg-gray-50",children:l.jsxs(n(1088),{className:n(639),children:[l[n(1435)]("div",{children:[n(701),z.id[n(2071)](0,8),"..."]}),l[n(1435)](n(1088),{children:["状态数: ",p.length]})]})}),l.jsx(C[n(871)],{title:n(841),open:v,onCancel:()=>{h(!1),M(null)},footer:null,width:600,children:l[n(975)](n(1088),{className:"max-h-[400px] overflow-y-auto",children:l[n(1435)](C[n(1583)],{ghost:!0,defaultActiveKey:["basic",n(742),n(1992),n(1126)],children:[l[n(975)](Q0,{header:"基础形状",children:l[n(975)](n(1088),{className:"grid grid-cols-4 gap-2",children:d[n(568)](L=>["矩形","圆形",n(842)][n(1499)](L.name))[n(692)](L=>l.jsx(ms,{material:L,onClick:()=>G(L)},L.id))})},n(657)),l[n(975)](Q0,{header:n(1897),children:l[n(975)]("div",{className:n(1014),children:d[n(568)](L=>["阀门","泵","罐体"][n(1499)](L[n(1932)])||L[n(443)]===n(1775)&&!["矩形","圆形","圆角矩形"].includes(L.name))[n(692)](L=>l[n(975)](ms,{material:L,onClick:()=>G(L)},L.id))})},n(742)),l[n(975)](Q0,{header:"文本",children:l.jsx(n(1088),{className:n(1014),children:d[n(568)](L=>L[n(443)]===n(770))[n(692)](L=>l[n(1435)]("div",{className:"border rounded-lg p-2 cursor-pointer hover:border-blue-500 hover:bg-blue-50 transition-all text-center",onClick:()=>G(L),children:[l[n(975)](n(1088),{className:"w-12 h-12 mx-auto mb-1 flex items-center justify-center bg-gray-100 rounded",children:l[n(975)](n(1987),{className:n(699),children:"T"})}),l[n(975)](n(1987),{className:"text-xs",children:L[n(1932)]})]},L.id))})},"text"),l[n(975)](Q0,{header:"线条",children:l.jsx(n(1088),{className:"grid grid-cols-4 gap-2",children:d[n(568)](L=>L[n(443)]==="LINE")[n(692)](L=>l[n(1435)]("div",{className:"border rounded-lg p-2 cursor-pointer hover:border-blue-500 hover:bg-blue-50 transition-all text-center",onClick:()=>G(L),children:[l[n(975)](n(1088),{className:n(1776),children:l[n(975)](n(1088),{className:n(979)})}),l.jsx(n(1987),{className:n(1058),children:L[n(1932)]})]},L.id))})},"line")]})})})]}):l.jsx("div",{className:n(1407),children:l[n(975)](C[n(465)],{description:n(1060)})})},ms=({material:e,onClick:n})=>{const t=c,o=e.type===t(1775)?e[t(1870)]:void 0;return l[t(1435)](t(1088),{className:t(686),onClick:n,children:[l[t(975)]("div",{className:"w-12 h-12 mx-auto mb-1 flex items-center justify-center",children:o?l[t(975)](t(566),{src:o,alt:e.name,className:t(1086)}):l[t(975)](t(1987),{className:t(1058),children:e.name[0]})}),l[t(975)](t(1987),{className:t(1058),children:e[t(1932)]})]})},b3="ConfigEditor-module__configEditor__dinNG",h3={configEditor:b3},g3=c(343);function ws(e){return Array[c(1875)](e)}const vs=({open:e,onClose:n})=>{const t=c,{dataPool:o,addDataPoolItem:x,updateDataPoolItem:r,removeDataPoolItem:i}=Fe(),[a]=C[t(1907)].useForm(),[d,s]=B[t(1102)](null);B[t(1894)](()=>{const h=t;!e&&(s(null),a[h(1374)]())},[e,a]);const u=()=>{const h=t;s("__new__"),a[h(1644)]({name:h(2110)+(o.length+1),sampleJson:""})},f=h=>{const w=t;s(h.id),a[w(1644)]({name:h[w(1932)],sampleJson:JSON.stringify(h[w(519)]??{},null,2)})},b=h=>{const w=t,M=h.trim();if(!M)return{};const m=JSON[w(594)](M);if(m===null||typeof m!==w(793))throw new Error(w(2069));if(Array[w(1875)](m)){for(let y=0;y<m[w(922)];y++)if(typeof m[y]!==w(793)||m[y]===null)throw new Error(w(549)+(y+1)+" 项必须是对象");return m}return m},g=()=>{const h=t;a[h(1587)]().then(w=>{const M=h;let m;try{m=b(w.sampleJson)}catch(z){C[M(1710)][M(1049)](z instanceof Error?z[M(1710)]:"sample JSON 无效");return}const y=w[M(1932)].trim();if(!y){C.message[M(1049)](M(1850));return}d===M(625)?(x({name:y,sample:m}),C[M(1710)].success(M(1351))):d&&(r(d,{name:y,sample:m}),C.message[M(442)](M(1035))),s(null),a[M(1374)]()})[h(2080)](()=>{})},v=[{title:"名称",dataIndex:"name",key:t(1932)},{title:"类型",key:t(443),width:100,render:(h,w)=>ws(w[t(519)])?l[t(1435)](C.Tag,{color:t(1160),children:[t(1114),w[t(519)].length,t(1480)]}):l[t(975)](C[t(739)],{children:"对象"})},{title:t(1224),key:t(712),width:90,render:(h,w)=>{const M=t;if(ws(w.sample)){const m=w[M(519)][0];return m?Object.keys(m)[M(922)]:0}return Object.keys(w[M(519)]||{}).length}},{title:"操作",key:t(2027),width:160,render:(h,w)=>l[t(1435)](C[t(1264)],{children:[l[t(975)](C[t(797)],{type:t(1705),size:t(1717),icon:l.jsx(de.EditOutlined,{}),onClick:()=>f(w),children:"编辑"}),l[t(975)](C[t(776)],{title:t(398),description:"所有绑定此数据集的状态将自动解除绑定。",onConfirm:()=>{const M=t;i(w.id),C[M(1710)][M(442)]("已删除,相关状态已解除数据集绑定")},children:l[t(975)](C[t(797)],{type:t(1705),size:t(1717),danger:!0,icon:l[t(975)](de[t(1438)],{}),children:"删除"})})]})}];return l[t(1435)](C.Modal,{title:t(1431),open:e,onCancel:n,width:760,footer:null,destroyOnClose:!0,children:[l[t(1435)]("p",{className:t(1097),children:[t(1522)," ",l[t(975)]("code",{className:"bg-gray-100 px-1 rounded",children:t(1578)}),",预览时以模板为底合并画布「模拟数据」。数组格式需包含 name 字段用于选择。"]}),l[t(975)]("div",{className:"mb-3",children:l[t(975)](C[t(797)],{type:t(1481),icon:l.jsx(de[t(1411)],{}),onClick:u,children:"新建数据集"})}),d&&l.jsxs(t(1088),{className:"mb-4 p-3 border border-blue-200 rounded bg-blue-50/50",children:[l[t(1435)]("div",{className:t(535),children:[d===t(625)?"新建":"编辑",t(1444)]}),l[t(1435)](C.Form,{form:a,layout:t(1736),children:[l.jsx(C[t(1907)].Item,{name:"name",label:"名称",rules:[{required:!0,message:"必填"}],children:l[t(975)](C[t(1127)],{placeholder:t(1961)})}),l[t(975)](C[t(1907)].Item,{name:"sampleJson",label:t(1651),rules:[{required:!0,message:"必填"}],children:l[t(975)](C.Input.TextArea,{rows:12,className:"font-mono text-sm",placeholder:g3})}),l[t(1435)](C[t(1264)],{children:[l[t(975)](C[t(797)],{type:t(1481),onClick:g,children:"保存"}),l[t(975)](C[t(797)],{onClick:()=>{const h=t;s(null),a[h(1374)]()},children:"取消"})]})]})]}),l[t(975)](C.Table,{size:t(1717),rowKey:"id",dataSource:o,columns:v,pagination:!1,locale:{emptyText:t(355)}})]})},{Header:y3,Sider:ps,Content:m3}=C[c(1443)],w3=({initialScheme:e,onChange:n,readonly:t=!1,headerExtra:o,className:x="",style:r,showHeader:i=!0,showMaterialPanel:a=!0,showPropertyPanel:d=!0,customMaterials:s,initialDataPool:u,initialEventFlow:f,externalEventActions:b,onUploadSvg:g,defaultTestData:v,backgroundImageUrl:h,initialViewportWidth:w,initialViewportHeight:M})=>{const m=c,[y,z]=B[m(1102)](!1),[p,k]=B.useState(!1),[O,G]=B[m(1102)](""),[H]=B[m(1102)](()=>[{paramsCode:"001",paramsName:m(2058),value:25,paramsUnit:"mm/s"},{paramsCode:m(1383),paramsName:m(1052),value:1.5,paramsUnit:m(332)}]),E=v!==void 0?v:H,V=i&&!t,{exportScheme:W,importScheme:q,nodes:T,materials:S,dataPool:L,eventFlow:D,root:Y,canvas:A,viewport:P,addMaterial:_,setDataPool:$,setEventFlow:ee,setExternalHandlerCatalog:xe}=Fe();B[m(1345)](null);const re=B[m(1345)](!1);B[m(1894)](()=>{const Q=m;if(!re[Q(1348)]&&(re[Q(1348)]=!0,Sr.forEach(se=>_(se)),e&&q(e),f!==void 0&&ee(f),b&&b.length>0)){xe(b);const se={};for(const he of b){const U=String(he[Q(425)]??"").trim();U&&he[Q(1810)]&&(se[U]=he[Q(1810)])}Object[Q(712)](se)[Q(922)]>0&&Mn[Q(1764)]({external:se})}},[]),B[m(1894)](()=>{const Q=m;s&&s[Q(922)]>0&&s[Q(467)](se=>_(se))},[]),B[m(1894)](()=>{u!==void 0&&$(u)},[u,$]),B[m(1894)](()=>{if(n){const Q=W();n(Q)}},[T,S,L,D,Y,n,W]);const ce=B[m(1970)](()=>{const Q=m,se=W(),he=JSON[Q(655)](se,null,2),U=Q(1395)+encodeURIComponent(he),j="scheme_"+Date[Q(2093)]()+Q(1518),Z=document[Q(1608)]("a");Z[Q(685)](Q(1319),U),Z[Q(685)]("download",j),Z.click(),C.message.success(Q(542))},[W]),fe=B[m(1970)](()=>{const Q=m;try{const se=JSON[Q(594)](O);q(se),z(!1),G(""),C[Q(1710)].success(Q(1915))}catch{C[Q(1710)][Q(1049)](Q(945))}},[O,q]),we=B[m(1970)](Q=>{const se=m,he=new FileReader;return he[se(2133)]=U=>{const j=se;try{const Z=U[j(1233)]?.[j(1273)],ne=JSON[j(594)](Z);q(ne),C[j(1710)][j(442)](j(1915)),z(!1)}catch{C[j(1710)][j(1049)]("文件格式错误")}},he[se(2091)](Q),!1},[q]),le=B.useCallback(()=>W(),[W]);return B[m(356)](B.useRef?.(),()=>({getScheme:le,exportScheme:W,importScheme:q}),[le,W,q]),l[m(975)](C[m(2073)],{locale:ks,children:l.jsx(m(1088),{className:h3.configEditor,style:{height:m(t?1605:1380),...r},children:l.jsxs(C[m(1443)],{className:m(397)+(t?"":m(364))+" "+(t?"":"overflow-hidden")+" "+x,children:[V&&l[m(1435)](y3,{className:m(650),children:[l.jsxs(m(1088),{className:m(1432),children:[l[m(975)](m(1088),{className:m(608),children:"组态编辑器"}),l[m(1435)]("div",{className:m(881),children:[T.length,m(2124)]})]}),l[m(1435)](C[m(1264)],{children:[o,!t&&l[m(1435)](l[m(676)],{children:[l.jsx(C[m(344)],{title:m(1141),children:l[m(975)](C[m(797)],{icon:l[m(975)](de.DownloadOutlined,{}),onClick:ce,children:"导出"})}),l[m(975)](C[m(344)],{title:m(1465),children:l[m(975)](C.Button,{icon:l[m(975)](de[m(1338)],{}),onClick:()=>z(!0),children:"导入"})}),l[m(975)](C[m(344)],{title:m(1021),children:l[m(975)](C[m(797)],{icon:l[m(975)](de.DatabaseOutlined,{}),onClick:()=>k(!0),children:m(1422)})})]})]})]}),l[m(1435)](C[m(1443)],{children:[a&&!t&&l[m(975)](ps,{width:280,className:"bg-white",theme:m(560),children:l[m(975)](kr,{onUploadSvg:g})}),l[m(975)](m3,{className:m(1109)+(t?"":m(543)),style:t?{backgroundColor:A?.background,backgroundImage:A?.showGrid!==!1?m(1314):void 0,backgroundSize:20*(P?.[m(2029)]||1)+m(553)+20*(P?.[m(2029)]||1)+"px"}:void 0,children:l[m(975)](ii,{defaultTestData:E,readonly:t,backgroundImageUrl:h,initialViewportWidth:w,initialViewportHeight:M})}),d&&!t&&l[m(975)](ps,{width:360,className:m(696),theme:"light",children:l.jsx(ys,{defaultTestData:Array[m(1875)](E)?E:void 0})})]}),l[m(975)](vs,{open:p,onClose:()=>k(!1)}),l[m(975)](C[m(871)],{title:m(1624),open:y,onOk:fe,onCancel:()=>{z(!1),G("")},width:600,children:l.jsxs(m(1088),{className:"space-y-4",children:[l[m(1435)](m(1088),{children:[l.jsx("p",{className:m(913),children:"选择 JSON 文件导入:"}),l[m(975)](m(853),{type:"file",accept:m(1518),onChange:Q=>{const se=m,he=Q[se(1233)][se(921)]?.[0];he&&we(he)},className:m(649)})]}),l.jsx("div",{className:m(1668),children:"或"}),l[m(1435)](m(1088),{children:[l[m(975)]("p",{className:m(913),children:m(2160)}),l.jsx(m(855),{value:O,onChange:Q=>G(Q.target[m(891)]),placeholder:"粘贴 JSON 内容...",className:"w-full h-48 p-3 border border-gray-300 rounded-lg font-mono text-sm resize-none focus:outline-none focus:ring-2 focus:ring-blue-500"})]})]})})]})})})};Ie[c(1056)]=ii,Ie[c(1913)]=w3,Ie.DataPoolModal=vs,Ie[c(764)]=xi,Ie[c(667)]=kr,Ie[c(586)]=io,Ie[c(1958)]=ys,Ie[c(1586)]=Mr,Ie[c(2161)]=Cr,Ie[c(1832)]=Nr,Ie[c(490)]=Fx,Ie[c(1791)]=Rx,Ie[c(962)]=Mn,Ie[c(2021)]=Br,Ie[c(1065)]=Sr,Ie[c(2162)]=Fe,Object[c(1766)](Ie,Symbol.toStringTag,{value:c(1089)})});function _0xd2fc(){const Ie=["DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbVDMvYzMXVDY1OAwrKzw4","y3vYCMvUDfrHCMDLDa","AgfZt3DUuhjVCgvYDhK","zgvZDgLUyxrPB24","zMLUza","CMvHy3qTEM9VBs1Wyw4TCgLUy2G","CMvHy3qTzMXVD19FBwLUAw1HCc1UB2rL","BgLZDgvUzxi","CMDIka","y29UBMvJDgLVBLjHzgL1CW","B25oB2rLtw91C2vmzwf2zq","CMvHy3qTzMXVD19FzwrNzxvWzgf0zxi","6k+35ywi57Ur5A6A5PwW5O2U6zUg","CgfYyw1Zq29Kzq","vMvYDgLJywXbBgLNBKjVDhrVBu91DgXPBMvK","y3jLyxrLrwXLBwvUDe5t","5BYa5AEl5BM05lU9","uhjVCgvYDhLqyw5LBa","B25nB3zLu3rHCNq","6k+36ycj5OUP5A2J5BQM","5AAc77YA55s15PY65Rwl54k56zUg","5PI+56s6572r5Qc8","CgfYzw50tg9VA3vW","DgfNtMfTzq","zw5Kug9PBNq","DhjPz2DLCK5Vzgu","57Yw6l6r6ycj5lIT6iQc54k555Qe5BgE5OcN","zxH0zw50","q3jVC3m","DxnLq2fSBgjHy2S","rhjHz091DgXPBMvK","Dg9izxHtDhjPBMC","Axnqyw5ty3jVBgXPBMC","mde1","CM9VDa","mc4Zzw0","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlxiGyM9YzgvYlwDYyxKTmJaW","Dg91y2HLBMqUEM9VBsb0B3vJAgnHBMnLBc56B29T","CMvJB25Uzwn0ywjSzq","Dg9VigXHDgu7igfSCMvHzhKGCNvUBMLUzW","zMXPCfK","54MP5PAz5BQt","Dhj1zq","Dg9gAxHLza","x3rPBwu","y29Kzq","C3bHBG","C3bSAwnL","5Asw6yoO5lQl5lU25Qch6k+g","x3bHCMvUDgfNzq","BM9YBwfSu3r5Bgu","Dgv4Da","DxjSkcCJ","zgvMyxvSDevKz2vpChrPB25Z","z2v0rxzLBNrcBg9JAW","nsW1","y3vYCMvUDe9IC2vYDMvYCW","iZCYmMvKmq","ywn0AxzLu2LIBgLUz0DYB3vWswq","5PYQ55+L5yAf572U5yQO5l2CoIa","zNvUy3rPB24","C3rHCNrz","AwXSzwDHBcb0ExbLoIa","5PAh5PYS5Qch562+","DMLLDW","x3bHCMvUDhm","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94AhrTBa","yM9VBgvHBG","Dgv4Dc14CYb0zxH0lwjSDwuTntaWigzVBNqTyM9Sza","CMDIysGWldaSmcWWkq","D2HLzwW","zNjVBuHHBMrSzq","zxHLy3v0Aw9Uugf0Aa","DMLZAwjSzq","C2HPzNq","qxjYB3C","5PEl6l2S6kEs5BQM","y292zxi","lM5VA2v5","ttmYide4lJeZm0GXoc4XmZnwmZjOltqUmJy2vJe4lJeZm0GWDI00lJi2nMGXmY44nJDwmgG0lJi2nNyXmY44nJDimZj6","zMLUzefJDgL2zvn0yxr1CW","55s75BId6ywn572U","B25oB2rLC0nOyw5Nzq","BwfYA2vYu3rHCNq","CMvHy3qTzMXVD19FBwLUAw1HCc1TyxnR","C2v0uhjVCgvYDhK","ywn0Aw9UCW","tufyx1zbtfvf","C2nHBgu","57Yw6l6roIa","cIaGicaGicaG","AxnfzgL0Aw5NrxzLBNrgBg93","Aw5ZDgfUDa","CMvHy3qTzMXVD19FCgfUzq","DhjHBNnMB3jT","DMfSDwvgB250u2L6zq","CMzFx2jHy2TNCM91BMq","y29WEq","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+pgnPCMnSzsbJEd0ImZaIign5psiZnsiGCJ0ImJaIigzPBgW9iInIzMjMyMyIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+phjLy3qGEd0ImJuIihK9iJuIihDPzhrOpsiXmciGAgvPz2H0psiXnsiGzMLSBd0IiZu5ntK1osiVpJXWyxrOigq9iK0ZmcaYmcbmmZaGmZuGttiWidmWifeZmca0nsa0mcaZmciGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIigzPBgW9iM5VBMuIlZ48l3n2zZ4","CMDI","5y+c5PwW5zcn77Ym5AAciee","rNjLzq","6k+36ycj5OUP6iQc54k5","rMXVD1jLBMrLCMvY","57Ut5P2F5PE26zE0","y29UDhjVBeLUzM8","xNjNyLWO","y29TBw9Utg9JywXL","B2jZzxj2zq","CgfZDa","C2v0twf4wM9VBq","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIb0zxH0lwDYyxKTmZaWihrLEhqTEhm","5BEY57Ur5A6A5PwW5O2U5RQq77Ym5A6E6zMf5yc85Bcg5P2L6iEQ5PwW5O2U5A2x5Q61","Dgv4Dc14CYb0zxH0lwDYyxKTndaW","zgvSzxrL","u2f2zu91DgXPBMvK","DgfYz2v0ug9ZAxrPB24","6ycA6Akr6ycF5BQM5PYj5Pwi5yc8","CMv0DxjUigzHBhnLoW","uMvHy3qGrMXVDZOGDhjPz2DLCIbLzgDLignOyw5Nzxm","zM9UDc1TzwrPDw0GDgv4Dc1HBwjLCI05ntaGBwiTmG","562j5Q+u57YP5Ps+6iQc54k555Qe5A696AUy","5yAf572U5yQO5l2C","Aw1Hz2uVkG","x3jLBw92zvbHCMvUDa","yMfJA2DYB3vUzenVBg9Y","CMvWBgfJzq","EKLUzgv4","C2fTCgXLiow/HEMHU+AyRYbku09oiowVUEIXOEAiLUAvSoE7Ha","BM9Kzvr5Cgu","C2XPy2u","CgfYDgLHBe9IC2vYDMvY","q29UzMLNuhjVDMLKzxi","nty0Bw9IDNvm","C2v0u3rHDgu","y29UDgfPBNm","y29Z","5lIk5RI46l+E57Q/iokgKIdMNkZLNzCGyxjNCYdPLk7LKi0","ioADOEwfPEI+UsdIHPdJGiW","y2f0y2G","DgvZDa","zxjYB3jZ","B3jPz2LU","zxzLCNK","i2y1mJiYza","Ag9YAxPVBNrHBa","AgfUzgXLqM91BMrZ","BgLZDc1UB25LihnWywnLlxKTmIbTltaGCc0W","5RIq5y+y6iMY","C291CMnLswq","CMvHzefZvgv4Da","x2v4Axq","BM93","Aw5Uzxjive1m","zw50CMLLCW","lNH5zMXVD19FDMLLD3bVCNq","i2yWzJbMma","CMDIysGYncWXndqSmJu1ldaUmdGP","Bw91C2vTB3zL","Dw5ZDwjZy3jPyMu","Bw91C2vTB3zLlMrYywC","BM9Kzxm","5PYa5AsAjhTTyxH95lIQjhTSywjLBh0","Bw91C2v1Ca","C3bSAxq","C2v0rgvMyxvSDfj1BNrPBwviyw5KBgvYCW","vMvYDgLJywW","57Ur5A6A54MP5PAz","AM9PBG","5PwW5O2U6zUgia","ywX0s2v5","CMvHy3qTzMXVD19FBwLUAw1HCc1ZDMC","C2vSzwn0","Aw52ywXPzcbJywXSyMfJAZOG","vg9W","55s75BIdide","iZHJogm4yW","C2vSzwn0zwroB2rLswq","B25dB25Uzwn0","sg9YAxPVBNrHBa","DY1MDwXSigGTndGGCc0ZigjVCMrLCIbIB3jKzxiTz3jHEs0ZmdaGCM91BMrLzc1SzYbMB250lw1VBM8GDgv4Dc1ZBsbYzxnPEMuTBM9UzsbMB2n1CZPVDxrSAw5Llw5VBMuGzM9JDxm6CMLUzY0YigzVy3vZoNjPBMCTyMX1zs01mda","C2HVD0DYAwq","5lIk5lIa6Ag1","ios4QUIkGUEcUq","DhjHBNnPDgLVBG","Dg91y2G","zgLZCgf0y2HfDMvUDa","Bg9HzgLUzW","CMvSzwfZzvbVAw50zxjdyxb0DxjL","CMvTB3zLqxr0CMLIDxrLtLm","DgHPy2TUzxnZ","zwrNzxnszwnVBM5Ly3rHyMXL","B25SB2fK","6iQc54k55Qc55O2U54Q25Ocb6kgO6l6+5BYp6k6H566x57Ut5P6C5PI+56s65A+55BQu54MP5PAz77Ym56YS5lIa5lIQ6l+u5zUEihrYDwuG55Qe54Q25Ocb5lI65B2t5yMn54Q25Ocb","C2vSzwn0zwrtDgf0Dxnjza","6iQc54k55PwWoIa","Dw5VyNnLCNzL","y3jLyxrL","6k+36ycj5OUP5yAf572U5yQO5l2C","C29SAwq","B25dBgLJA0nVBM5Ly3rfBMq","DY00igGTncb0zxH0lwjSDwuTnJaWigjVCMrLCI1NCMf5ltmWmcbYB3vUzgvKigzVy3vZoNjPBMCTyMX1zs01mda","ue9tsvrjvKvFsu5gsu5jvfK","55wz56M65l2/55sOigfUDgqG6BUy6k6K77YB5AgRidaG6kgO56s65lIn6iEQ5yQO5ywZ6zET","5lIl5A+56B2q","xNjNyMfCka","iZuYyZqXyq","5ywL5y+c5zcn56EW77Yi5OYj6l+E57Q/6Ag65BQp77Yj","CMv0DxjUigfYz3m7","CgHHBNrVBq","6ycj5OUP5zgO","rxnJyxbL","BM9Wyw4","uhjVDMLKzwqGB2jQzwn0igrVzxmGBM90ignVCNjLy3rSEsbPBxbSzw1LBNqGu3LTyM9SlM9IC2vYDMfIBgu","6lw354k5ifK","Bwf0y2HLCW","AxnjBNrLCM5HBa","EM9VBs53AgvLBa","BM9KzxndB25Uzwn0ywjSzq","57ky6ls0iePtt04G5yAf5A6577YA","y29SBgvJDerHDgfZzxrgAwvSzfbHDgHZ","DxnLrwrPDg9Yu3rVCMu","Aw5PDgLHBeHLAwDODa","yxn5BMnjDgvYyxrVCG","zgvZyW","wM9VBu91De91DgXPBMvK","5A2x5Q616AQm6k+b6zsz6k+VjhTSywjLBh0","54k55yE76zMn5BQp","C3rHDhvZtgLZDa","CMvJDcGWChGSidbWEcWGmhb4lcaWChGP","rxzLBNqGzMXVDYbUB3qGAw5PDgLHBgL6zwqGzM9Yia","BMuTCMvZAxPL","5RE75yQG5ywL5y+c6kgm77Yi56YS5yEG5lIQ5y+c5PwW77Yj","zg9JDw1LBNrfBgvTzw50","BM9KzurYywDuAhjLC2HVBgq","C2vSzwn0zwroB2rLCW","6iom5PMV6iMY","zxzLBNrMBg93","BMf2AwDHDgLVBLn0ywnR","6ycj5OUP5PAW54MP5PAz","yMCTz3jHEs01mcbYB3vUzgvKlwXNihaTmYbIB3jKzxiGyM9YzgvYlwDYyxKTmJaW","5ywO6ycj5OMa5PYj","ieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCIm","z2v0sw5ZDgfUy2u","y2HHBMDLzfrVDwnOzxm","BwiTma","DhjHBNnPDgLVBIa","C2vSzwn0Aw9U","z3jLzw4","Cc00igjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","5PQc5PEG5PwW5O2U","zgjSy2XPy2SUEM9VBq","ww91igfYzsb1C2LUzYbHBIbVDxrKyxrLzcWGChjLlxjLBgvHC2uGywXWAgeGB2yGuMvHy3qGmtGGDgHHDcbKB2vZig5VDcbZDxbWB3j0ihvZzvn5BMnfEhrLCM5HBfn0B3jLlIbuAguGDxnLlxn5BMmTzxH0zxjUywWTC3rVCMuGC2HPBsb3AwXSig5VDcb3B3jRignVCNjLy3rSEs4GvxbNCMfKzsb0BYbHig5LD2vYihbYzs1YzwXLyxnLlG","y29UDhjVBerPCMvJDgLVBG","Bs9ZWRi","5PYQ5RoO5yAmigrHDgfszxf1zxn0iowKHoEqHUwzQdOG","ltzWEa","Aw52zxj0wa","Aw52zxjZzq","C2HVDwXKvw5ZDwjZy3jPyMu","Bw91C2vvCa","yxjYB3DJBg9Zzwq","BM9Kzvr5CgvZ","x2v4zwn1Dgu","5A2x5l2t57kx57Ug","lY8G5PsV5OYb5A+56lgH5OIw5PwW57Ue5Qc85BYpcI8ViowVUEIXOEAGVow8J++8MGP7cIaGiNnWzwvKiJOGmcWkicaIDgvTCci6idi1laOGicjUzxn0zwqIoIb7icj4iJOGmsb9cN0kcI8VioAvSoE7HoAGVow8J++8IoAVJ+MHUEMCGowmHEwqQYbUyw1LiowTL+AUTEEuQos6JUMaIEAlQE+8IE+8MGPBcIaGEYaIBMfTzsi6iclMTyVNGRKXiIWGiNzHBhvLiJOGmtaWlcaIDw5PDci6icjTBsiGFsWkicb7icjUyw1LiJOGiUA1I+EcUtiIlcaIDMfSDwuIoIaYmdaSicj1BML0iJOGiM1TiIb9cL0","vg9VBhrPCa","DgfWrgLZDgfUy2u","Bwf4vg91y2HqB2LUDhm","6zw/5yIs6zE06zQu","6Ake6kEi5PAh5lU2","5Asn5yI25OIq5yQF","Cg9PBNrLCI1LDMvUDhmTyxv0BW","vxbtCxvHCMvpDxrSAw5Lza","DMfSDwvZ","C2v0sw50zxj2ywW","tM9Kzsb0ExbLici","5PQc5PEG5PwW5O2U6zUg77Ym6k+354k55yE744cm5PAW5BU644cn","DxnLsw1WzxjHDgL2zuHHBMrSzq","zxjYB3iWmdi","Dgv4Dc1ZBq","5PEG54Q25Ocb","C2nOzwr1BgvY","5PAh5lU25Qc85BYp6zsz6k+V","5zcm57QN5ywZ57o757Ue","zMXLEc0XigGTzNvSBcbIzY1NCMf5lteWma","Ac1MDwXS","Aw50zxjUywW","DxnLrM9YBq","lNn2zW","z3jPza","DhjHBNnSyxrLwa","C2v0qxr0CMLIDxrLtLm","57Yw6l6r5lQl5lU25z2x","q29UDhjVBa","uMvHy3q","DgHLBG","Dw5ZAgLMDa","C3rHCNruCMfUC2L0Aw9U","5BEM5A+56B2q","6l6t5ywL54Q25Ocb5zcn56EW","zxHLy3v0zvnPBMDSzuzSB3DoB2rL","5lIk5lIa5Q2L","57Ur5A6A6iQc54k5","5OMN6kgm5PA55BYp","5l6l5AAc77YACMvMCMvZAa","Dgv4Dc14CYb0zxH0lwDYyxKTndaWihCTnq","qeb0B1bYAw1PDgL2zsbTDxn0ihjLDhvYBIbHihbYAw1PDgL2zsb2ywX1zs4","zxzLBNrgBg93rgf0yq","vg9Nz2XLieLUDgvYywn0AxzPDhK","zxzLBNrcBg9JA0LK","z3jPzcbNCMLKlwnVBhmTmIbNyxaTmG","B2zMC2v0sgvPz2H0","AxndB250zw50rwrPDgfIBgu","zxHWyw5Kzwrszwn0","5y+n6ycj5B2t6Ag1","C3vIC2nYAwjL","CMvHza","CMvHy3q","DY1MDwXSia","5yIG6zMK6k+L5PwW5O2U6zUg77YF","57Ue5yAf55s75BId77Yi5OYj6Ag65BQp57+76Ag177Yj","rxzLBNqGzMXVDYbLCNjVCJO","BwLUwq","zgvSDgfz","CM9VDfbHCMvUDeLUzgv4","AgfZqxr0CMLIDxrL","C2vSzwn0zwroB2rLswrZ","Bwf0CML4","iwjNlwjSDwuTntaW","qxjYB3DvCa","Bw91C2vKB3DU","BgLUzxm","x19KyxrHx18","C2LIBgLUz3m","y29UBMvJDe9Uq2XPy2S","D2L0Aa","lIbozxCGCg9ZAxrPB24SihG6ia","ywjZB2X1DguGDg9WltaGBgvMDc0W","5PAh5PYS5yAf5A65","y2XPy2SUzhjHzW","5zU+54Mh5zcn56EW","BwfYA2vYrw5K","EGOGicaGicaGie0","Dg91y2GTywn0Aw9U","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs00igjNlwDYyxKTntaGCM91BMrLzc1SzW","6iQc54k55zcn56EW","A2v5","y29UDhjVBhmUyxjPyuXHyMvS","C3rHDgu","uMvHy3qGrMXVDYbHDhrYAwj1DgLVBG","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg5l2C5lI65PwW5O2U5RQq","Aw5PDgLHBfrLyxjKB3DU","Dw5KzwzPBMvK","iIbPCYbPBNzHBgLKlIbqBgvHC2uGChjVDMLKzsbHig51BwjLCIbVCIbHihn0CMLUzYb3AxrOigeGDMfSAwqGDw5PDcaOChGGB3iGjsKU","zwfJAa","yxv0B1bHBK9UtM9KzuzVy3vZ","imk3ia","lMrYywC","6BYG5Qch5OYj5lIl","5OMN6kgm6kgO6l6+5BYp","C291CMnLrxzLBNq","zwXLDMf0zu5VzgvZt25tzwXLy3q","5PAW5lQl5lU25z2x","C3vJy2vZCW","DhLWzq","x2DYB3vWCW","zwrNzxngB2n1C2fIBgu","CMvHy3qTzMXVD19FzwrNzs10zxH0","C3zN","jhTSywjLBh3MNidLSi/LGlZKUlOKE21PBN0","C2vSzwn0q2HPBgq","5yIG6zMK6ycj5lITicHezwXLDguP","Dgv4Dc1ZBsb0zxH0lwDYyxKTnZaW","5PAW5BU65lQl5lU25Rwb","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi4mci+pgvSBgLWC2uGy3G9iJmWiIbJEt0ImtaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJXYzwn0ihG9iJuIihK9iJeWiIb3Awr0Ad0IntaIigHLAwDODd0InJaIigzPBgW9iInMmgyWzJaIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+pgvSBgLWC2uGy3G9iJmWiIbJEt0InZaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJWVC3zNpG","Bwv0yuTLEq","C3rYAw5N","C3rHCNrZv2L0Aa","yM9YzgvYlwjVEa","Aw5PDgLHBfDPzhrO","zgLZDgfUy2u","AhnSka","ihDOzxjLigeGC3rYzwfTihDHCYbLEhbLy3rLzc4Gww91ignHBIbWCM92AwrLigfUie9IC2vYDMfIBguSifbYB21PC2uSifjLywrHyMXLu3rYzwfTlcbbCNjHEsWGqxn5BMnjDgvYywjSzsWGB3iGsxrLCMfIBguU","zgf0yvjLCxvLC3q","ANvTCfrVq2fUDMfZ","BM9Kzq","rw1WDhK","CMvQzwn0","zM9YrwfJAa","x2LK","5lQl5lU25z2x5BEY5PU05PAW","ywjZB2X1DguGDg9WltaGBgvMDc0WihnLBgvJDc1UB25L","y2XPzw50wq","mtjWEcaW","DxbKyxrL","C3vIC2nYAxb0Aw9UCW","CMvZAxPPBMC","Dg9tDhjPBMC","5lIl5lIa5BM05lUJ","DgLTzxi","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94BgLUAW","zgf0ytPPBwfNzs9ZDMCREg1Sla","Bw91C2vKB3DUlMrYywC","Dgv4Dc14CYb0zxH0lwDYyxKTntaWig1Ilti","EMHFq04","C3vWChjLC3nLza","5A2x5l2t5AsN5Bcp","lMfUDc1ZzwXLy3qTzhjVCgrVD24","zwrNzuXVB2T1Ca","55s754k557Q/","5lIk5A+56B2q","y3jLyxrLrgvMyxvSDfn0yxr1CW","Bgv2zwW","zw1WDhK","CMfUz2u","vgLTzw91DcbOyxmGB2nJDxjYzwq","C3zNigXPBMu","6l6t5ywL5zU+54MhifvstcdMIjyGrgf0ysbvuKK","B3v0Chv0CW","wM9VBsbpDxq","u2vSzwn0t3v0BgLUzwq","yMLUze5Vzgvjza","5y+w5RAi5O6s5BQp","55UU5Qch55s75BId","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0yxj0","6k+35AgR5yAz5Asw6yoO5lQl5lU25Qch6k+g","C2v0vgLTzq","DhjHBNnSyxrLwcGTntaLkq","BM9KzuLK","B25tzwXLy3rPB25eCMfN","z2v0","B2zMC2v0v2LKDgG","uhjVBwLZzq","vxbSB2fKignHBMnLBgXLzcbVCIbMywLSzwq6","yNvPBhrPBG","DMfSAwq","md3MSltLUBpLKjhLJ7pVViW5md3LNOlNM7tLKjhKUiVVViZKU4xNLkJKUO7MOlNMJA7OTBFNGRNLKOZPLB/LUQBPH43MLRdORQhNRPFNU4JNGRK","w2rHDgeTAgfUzgXLpsjZDgfYDcjD","5yIG6zMK5B2t6Ag1","zg93BG","C2fTCgXL","DxnLv2f0y2G","mda0","Aw5Zzxj0qMvMB3jL","5zcr5zcoiduG6Ag1","zgLTzw5ZAw9UCW","B3jPz2LUywXfDMvUDa","y3rYBeTLEq","5PwW5O2U6k+35Rgc","y3jVC3m","BwvHC3vYzwq","C3DPDgnOq2fUDMfZ","ywn0AxzL","CNvUDgLTzuHHBMrSzxjZ","D2LKDgG","wM9VBuLUt3v0BgLUzwq","zM9UDc1TzwrPDw0GBwiTmG","zM9YBwf0sgv4oa","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/ksvCCYO","6iom5PMV6AkC6iMY","BwiTna","iZaWmtKZqW","5lIl5lIa6Ag1","5A+85yE65OIq5yQF77Yb","yMCTz3jHEs0Xmda","zM9YBwf0uMDI","zgf0yvbVB2W","ChjLDLzPzxDWB3j0","rwrNzsbMCM9Tia","6yEn5zg95zcn","5PwW57Ue56YSia","5ywO6ycj5B2t6Ag1","6k+36l6t5ywLjhTSywjLBh0","5y+w5RAi5ywO6ycj","ChGG","jhTSywjLBh3POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","lM1HDgvYAwfSlxbYzxzPzxC","zxzLBNq","yMfZzvzHBa","zgLZCg9Zzuv2zw50uM9VDfbPCgvSAw5L","B25dBgLJA0nVBM5Ly3rtDgfYDa","BgLNAhq","Aw5SAw5LlwzSzxG","z2v0u2nYzwvUq1rn","tgLUzq","y3jLyxrLq29UDgv4Da","zxHWCMvZC2LVBG","Aw1N","u3LTyM9SlMfZEw5JsxrLCMf0B3iGAxmGBM90igrLzMLUzwqU","zMLSDgvY","zgf0ys1Oyw5KBgvPza","5BEY5zcV55sO","B25dB25Uzwn0u3rHCNq","DY1MDwXSigGTzNvSBcbYzwXHDgL2zq","AgLKzuf0DhjPyNv0Aw9U","DhjHBNnSyxrLvg8","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvKoG","DxjSkcm","5BYa5AEl5PEL5PYF","jhTSywjLBh3POBVKUlOKE2XLBN3KUkRLRzFNRky","yMCTD2HPDguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWihjVDw5KzwqTBgCGCc0Zig1PBI13lvSXodbWEf0GC2HHzg93lw1K","BMv4DfnPyMXPBMC","zw5Kwa","5BYa5AEl5PE26zE0","DhjPBq","zg9TtM9Kzq","zgvMyxvSDfzPzxC","tM9KzvjLBMrLCMvY","y2XHC3m","zgf0Dw0","x19LC01VzhvSzq","yw55","B25ezwXLDgu","AxneCMf3Aw5N","zgvMAw5LuhjVCgvYDgLLCW","CgfYC2u","tg9VC2u","B3jPzw50","Dg9qB3nPDgLVBG","C3r5Bgu","5yc85PAh5PYS","Aw5ZDa","57Q/5A6977Yi5yop57sG77Yj","Cg9PBNrLCLK","6ycj5OUP6kAb6lEZ6l2S55Qe55s75BId","DhjHBNnSyxrL","DMfSDwvgB250v2vPz2H0","5OUw5OU95PEl6l2S","Aw1Hz2uV","Dgv4Dc14BcbMB250lwjVBgqGDgv4Dc1IBhvLltyWma","AgfZrxjYB3i","zg9TywLU","DMLLD3bVCNrjBML0AwfSAxPLza","mcaYChGGohb4ihjNyMeOmcWWldaSmc4XnsK","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWma","y29UDhjVBhmUzML0vMLLDY5HCMLHtgfIzwW","twfYA2vYihr5CguGiG","yM90Dg9TlxjPz2H0","57YP5Ps+5Q+u5l6l","CMvHy3qTzMXVD19FCgfUzwW","BgfUzW","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBwLU","z2v0uM9VDe5Vzgu","5y+Q6io95lIk5lYG5zU+54Mh5PAh5lU2iq","zxjYB3iWmta","Aw5PDev2zw50","x19UzxDFxW","x2fJDgL2zq","ywjZB2X1DguGlxrVCc02igXLzNqTmcbIzY1IBhvLltuWmcb0zxH0lxDOAxrLihrLEhqTEhmGChGTmIbWEs0WlJuGCM91BMrLzcb3AgL0zxnWywnLlw5VD3jHCa","tgvMDa","x19WCM90B19F","6k+35AgR5yAz5Asw6yoO5PA55Rov5Qch6k+g","BMfUB2LK","Bw91C2u","5zcm57QN5ywZ57o7","DgLTzxjjza","C3bHy2u","5lQl5lU25z2x5PYQ6ywn572Uigv4DgvYBMfSsgfUzgXLCKTLEq","C3LUyW","zw5KlNn0EwXLlG","Dgv4Dc14CYb0zxH0lwDYyxKTntaW","5O+q56s65yAf5A65","B3bHy2L0Eq","CMvTB3zL","BwvYz2vsDw50Aw1LsgfUzgXLCNm","DgfYz2v0q2fUDMfZswq","C2vSzwn0ywjSzq","AgfUzgXLCW","x2zPBMfSAxPLCNm","6k+36ycj5OUP5PE26zE0","yMXVy2SGDY1MDwXSihrLEhqTC20GDgv4Dc1NCMf5ltuWmaOGicaGicaGicaGicaGicaGicbMAwXLoM1YltqGzMLSztPWEs0YigzPBgu6ChGTnaOGicaGicaGicaGicaGicaGicbMAwXLoNjVDw5KzwqTzNvSBcbMAwXLoMjVCMrLCI0WcIaGicaGicaGicaGicaGicaGigzPBgu6Dgv4Dc1ZBsbMAwXLoMzVBNqTC2vTAwjVBgqkicaGicaGicaGicaGicaGicaGzMLSztPIzY1IBhvLltuWigzPBgu6Dgv4Dc1IBhvLltCWmaOGicaGicaGicaGicaGicaGicbOB3zLCJPMAwXLoMjNlwjSDwuTmtaW","yMCTD2HPDguGyM9YzgvYlwiGyM9YzgvYlwDYyxKTmJaWihb4ltqGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUigzSzxGTC2HYAw5Rlta","iI8+pc9ZDMC+","CMvTB3zLrxzLBNrmAxn0zw5LCG","57Ut5P2F5PEL5PYF","CMvHy3qTzMXVD19Fy29UDhjVBhmTAw50zxjHy3rPDMu","C3rYAw5NAwz5","Cg93","yMfZAwm","sxrLBq","Aw5qCM9NCMvZCW","C29YDa","5lIk5lIQ5PYiicJNV7VPOBxKUiRPLk4P","BwvTBW","y2vUDgvY","x2nVBxbSzxrL","5yAf572U5yQO5l2C5PYQ6ycj5OUP57g75z6l","ufjpuevsvfLFq0HbtKDf","twf0zxjPywXqyw5LBa","CMvZAxPLrgLYzwn0Aw9U","55s75BId5A+85ywL5OIq5yQF77Yb","zM9UDc1TzwrPDw0GDgv4Dc1ZBsb0CNvUy2f0zq","C3rHCNq","6yca5yE66k+L57Ue55Qe5Rwp6kEi5QIH5BYp77Yi5Asw6yoO57+76Ag1ifvjiowWHUEMGEEuQo+8Iq","Dg91y2HZDgfYDc5KCMfN","y29UDgvUDeLUzM8","CMvZzxrtzwXLy3rLzevSzw1LBNrZ","rNjHz21LBNq","6l6t5ywLiePtt04G5Qc85BYp55Qe5Rwl6k+v5PwW5O2U77YB5PYQ57Yw6l6r5yMn55s75BId6lEF6zQp5Asw6yoOigrLzMf1Bhruzxn0rgf0yE+8IowMGUEBKEAoP+AoQoMaGE+8Iq","5B2t5yMn546V5Akd5lIn5PsV5OYb55s75BId5yIh5O2I","vevyvefsrue","Bw9KztO","BM9KzvG","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iInMywfKmtqIihj4psiYmciVpJWVC3zNpG","qgfUDc1KzxnPz24VAwnVBNm","yxrHBJi","C2v0qxr0CMLIDxrL","yM9YzgvYihjVDw5KzwqTBgCGCc0Yign1CNnVCI1WB2LUDgvYigHVDMvYoMjVCMrLCI1IBhvLltuWmcbOB3zLCJPIzY1IBhvLltuWihrYyw5ZAxrPB24TywXSihrLEhqTy2vUDgvY","sxqGC2vLBxmGDgHHDcb5B3uGAgf2zw4NDcbSB2fKzwqGDgHLihn0EwXLCY4GugXLyxnLigLTCg9YDcaNqhH5zMXVDY8","x196B29T","zwzMzwn0qwXSB3DLza","6ycj5OUP5PwW5O2U5A2x5Q61","BwiTmcbTDc00","BwfW","vxbSB2fK","x19VBG","B25fzgDLC0rLBgv0zq","yMCTD2HPDgu","C2v0qxr0CMLIDxrLCW","Bw91C2veB3DU","Dgv4Dc1SzYbMB250lwjVBgqGDgv4Dc1NCMf5ltuWma","x2fKzfbHCMvUDa","6iQc54k5ieLeoIa","zgLZCgXHEwfIBgu","khbYzwzLCNmTy29SB3iTC2nOzw1LoIbKyxjRkq","Dg91y2HZDgfYDa","zgLZCgXHEu5HBwu","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihCTzNvSBcbWCI00","5OYb57UT5PE26zE077Yi56Es77Yj","5yIG6zMK5PAh5lU2","twvZC2fNzsdMJ5dNPlRLHOxLRRNKUlRNQBO","u3DPDgnO","5PQc5lIn5PsV5OYb57Yw6l6r5Q2K57g75z6l55Qe54MP5PAz","A2v5CW","CMvHy3qTzMXVD19Fy29UDhjVBhm","CMvM","C291CMnLug9ZAxrPB24","ufjfu0vovevex0LnquDfx1njtvbmrq","CMvTB3zLqxr0CMLIDxrL","C3rVCfbYB3bHz2f0Aw9U","C2LU","C2v0","CMvHy3qTzMXVD19FAgfUzgXLlq","B3bLCMf0B3i","ywzMzwn0C1K","y29TCgXLDgu","DhjHBNnWyxjLBNqSicnMzMySihvYBcGUlI4P","z2v0t3DUuhjVCgvYDhLtEw1IB2XZ","zgvSDgfnB2rL","Aw52zxj0wq","zgvZy3jPChrPB24","y29UBMvJDgfIBgvLBMq","yMXVy2SGDhj1BMnHDgu","y3jLyxrLrxzLBNq","zM9Yy2u","tK9erv9eruXfveu","zxjYB3iWmdu","Bw91C2vTB3zLlMrYywCGBw91C2v1Cc5KCMfN","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltq","rMfPBgvKihrVihbHCNnLigrYB3bWzwqGBwf0zxjPywW6","vgfN","z2v0uhjVCgvYDhLwywX1zq","Cc0ZigjNlwjSDwuTntaGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKlwXNig1Iltq","zgv2AwnL","zM9UDc1TzwrPDw0GDgv4Dc1ZBq","yxjNCY4","BM9KzunSAwnRrgLZDgfUy2u","zgf0ys1Oyw5KBgvWB3m","C2TLD1G","u0vmrunu","6ycj5OUP6kAb57Ur5A6A55Qe6iQc54k5","CMvTB3zLuhjVCgvYDhK","yxjNCY5WCMv2mq","DhjHBNnSyxrLrxH0zw50","y2XHC3noyw1L","C2v0vgLTzw91Da","jhbYzxyU","6zw/5yIslEEcUEs6PoABVW","DMLLD3bVCNqT","zwfZzq","zgvNksa","zgvMyxvSDfj1BNrPBwviyw5KBgvYCW","BgvMDa","i2zMzMzMzG","B25oB2rLrhjHz1n0yxj0","rxzLBNrgBg93qMLUzgLUzW","u3rLCa","zgvZDhjVEq","BwiTncbWltmGyMCTyMX1zs01mcbIB3jKzxiGyM9YzgvYlwjSDwuTmJaWihjVDw5KzwqTBgC","DhjHBNnSyxrLqNK","zMXVB3i","vevyva","x2jSyw5R","5lYy5ywi5lUo57Ur5A6A5PwW5O2U6iEQ5yQO6i635y+w77Ym5lMF5y+V5OMl5yQO6l6t5ywL","zxHWyw5KugfYzw50","Aw5ZDgfUy2u","qxjYB3DeB3DUt3v0BgLUzwq","ug9Wy29UzMLYBq","zxHLy3v0zuj1AwX0Aw4","5Asw6yoO5PA55Rov5Qch6k+g","Cg9SEwXPBMu","EhKTzwrNzv9F","5y+V6ycj5lIT","Dg91y2HZDgfYDc56B29T","lY8G5y+V55sO5y+c5PwWoGOVlYbUB2rLic0G6kEM5y+r5lQl5lU255Qe6iQc54k5cI8VignVBNrLEhqGlsdKUOVKU7BKUiRKUiVMLOCklY8GyxjNCYaTios8OowfPEEAHowpGUAvSaOkCMv0DxjUigfYz3m7","zMXLEc1ZDgfYDa","C2v0ug9PBNrLCKnHChr1CMu","y2XVC2vK","B25gAw5HBgL6zq","5PQc5PEG5PwW5O2U6zUg","CgfYDgLHBa","y29UDhjVBhmUEM9VBuLUlMfYAwfmywjLBa","5y2v5l2n77Yi5AAcWRbd44cbjEoaGu1qyEETIE+8Iq","yw5PBwf0zwq","B2jQzwn0","zxHLy3v0B3juExbL","rwrNzvrLEhq","ltuSltqGmcWWic01ldqGltuSltq","qNv0Dg9U","5zcr5zcoidmG6Ag1","zw5Kwq","nNb4idHWEa","lteWic0XmcaYmcaYma","iw1Ylta","x190CMfUC2L0Aw9U","5zU+54Mh5BgE5OcN","ywjZB2X1DguGDg9WltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","B25tzwXLy3rPB25eCMfNu3rHCNq","x25LEhq","zxHW","i2q5zdLKoq","C2v0tM9Kzxm","CMvZB2X2zuzSB3DfDMvUDejSB2nR","DhjPz2DLCK5VzgvdAgfUz2vZ","yxv0B1bHBK9Uq29UBMvJDa","5yAf6l656lED","CMzjza","CMvHy3qVANn4lxj1BNrPBwu","6kEJ6zMK57Ue5zci","wM9VBsbjBG","y2fUDMfZq29UzMLN","DxnLq29UDgv4Da","Aw50zxjUywXZ","rML0ifzPzxC","55s75BId5A+85yE65OIq5yQF77Yb","Dg9VigXHDgu7igfSCMvHzhKGC2nOzwr1BgvK","u2v0DgLUz091DgXPBMvK","yxnZAwDU","yxjYB3C","572U5lQo6Ag25Bgc","5lQl5lU25Rwb5yIB5BU65OIq5yQF","D29YAW","5lQl5lU25z2x5PYQ6ywn572UigrHDgfszxf1zxn0s2v5","Cgf0Aa","Cgf0DgvYBI0","zw5HyMXLrxzLBNrgBg93","C2v0vMLLD3bVCNrdB25ZDhjHAw5Lza","ugfUzwW","C3rHCNry","y29SB3i","w1jLywn0iezSB3DDifrOzsbWywrKAw5NihzHBhvLici","DgfWCW","6ycj5OUP54MP5PAz","5zYg6kEs55+P5B2I","5lQm57U056cb6l+h5PYF","rgL2AwrLCG","Cg9ZAxrPB24","DxnLu3LUy0v4DgvYBMfSu3rVCMu","Cc02","w1jLywn0iezSB3DDoIa","y2fUDMfZ","5y+Z5A+56B2q","ios4JEwTMowCQa","zhjHz0HHBMrSzq","Aw5WDxq","5l6l5AAc77YA5l+D5A2y5OIq5yQFioAiLIdNU5pMNPZVVjP7E3bYzxz9Fq","Dgv4DgfYzwe","6k+35Rgc5PwW5O2U","u2LTCgXLqMv6AwvYrwrNzq","lNjLywn0lwzSB3DFx3bHBMu","5y+Z6zsU6i+C5y2v","mcaWidrWEcbYz2jHkdaSmcWWldaUmYK","5OUw5OU954MP5PAz5yIW55s75BId5yIB5BU66iQc54k5","C3rHCNrizwLNAhq","q29WEu91DgXPBMvK","Bwf0CML4vhjHBNnMB3jT","DhjHBNnWyxjLBNq","C2LIBgLUz0DYB3vWCW","B250B3vJAhn0yxj0","CM90yxrLkdKWzgvNkq","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBw91Da","ndyYmgjWyNfbEa","tw9KywW","yxnpyNnLCNzHyMXL","iZi2mJyYnG","5PU05O2I54MP5PAz","y2HPBgrYzw4","BgfIzwXcz0jVCMrLCLjHzgL1CW","CgfYzw50","y2XLyxi","oMzVy3vZlxzPC2LIBgu","Dgv4Dc1SzYbMB250lw1LzgL1Bq","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaW","DxbKyxrLq29UBMvJDgLVBG","Dw5IAw5KtM9Kzuv2zw50","5z+656ga5B2I54Q2","54k55yE75yI35PAW","mJK5ohncAhziqG","CMvJEwnSzufZEw5Jswq","5PEl6l2S6kEs5BQM77Yi5BQM77Yj","6ycj5OUP57Ur5A6A5A2x5Q61","D2HLzwWUEM9VBq","DMfSDwu","q291BgrUj3qGy3jLyxrLigvKz2uGzM9Yia","5lIn5zcm5PA55BYp5A+55BQu5lIl5PA55lIn5zcm6ywn572U6Ag5","yM9YzgvYq29SB3i","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+phbHDgGGzd0ItteWidiWieWZmcaXmcbmntaGmJaGtduWidqWieWZmca1mcbmmtaGndaGwIiGzMLSBd0Ii2jMyMzIzIiGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIlZ48y2LYy2XLign4psiZmciGy3K9iJmWiIbYpsi4iIbMAwXSpsiJmtG5mgzMiI8+pc9ZDMC+","u21VB3rOu3rLCevKz2vjBNrLCM5HBa","Dg91y2HTB3zL","zhjVCevMzMvJDa","57Uy5yI25QIH5BYp","twfYA2vYrgvMAw5PDgLVBNm","BxqTncbMBgv4igP1C3rPzNKTzw5K","x25HBwvZ","CgfUqNK","u3vWChjLC3nLzevYCM9Y","C3rHy2S","CMvZDgfYDa","6lEZ6l2S55s75BId","CMvZAxPL","Aw5MBW","x25HBwu","DxnLCLnLBgvJDgLVBLjLy3q","BxqTna","BwiTmG","x3bHCMvUDa","Aw50zxjWB2XHDgu","CgfYzw50rwXLBwvUDa","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCG","AxnwywXPzenVBM5Ly3rPB24","C2v0tM9Kzuv4DgvUDa","C3rHCNrxAwr0Aa","zMLSzxm","BgvUz3rO","55s75BId566H55cg","C2v0rgvMyxvSDe5VzgvZqw5KrwrNzxm","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWyY00lJeXncaXlJGYoc0XlJm3idiUmtmZlJmWnsaYlJqZocaXlJy3nI4ZmduGnc40mIaYlJu5idqUndiGns4Xodf2mY4WndHimY4WndDbmY4WntyGmY4WntyGmcaWmdaGmtmUnZe0DJe1lJiZoeeZlJa1nIaZlJa1nIaWidaWmY4WndGGmZjOmtGUmJG1ytmUmdu2idmUmdu2idaGmdaZlJa0oc0ZlJa0ofyXmY43mtrHmY4WntyGmY4WntyGmcaWmc0ZlJa0oc0ZlJa0n3PnmtiUmtKGmJqUntmZytmUmdu2idmUmdu2idaGmdeTmY4WndCTmY4WndCGmY4WntyGmY4WntyGmcaWmtmUmdq3ltmUmdq4idmUmdu2idmUmdu2idaGmdeZlJa0ocaZlJa0ocaZlJa1nIaZlJa1nIaWidaXltmUmdq4idmUmdq3EG","zg9Uzq","BwfUDwfS","CMDIysG","BgfIzwXtDhLSzq","CMvJDa","C2HPzNrlzxK","C2uTCMvZAxPL","u1fsvdi","5y2G5l2n56YM77YAE3TWCMv2Fx3JGif7E+wfPEwpGUwqJx19iow8LEEuQos4IUA4UoI/NUE6V+wfPEwpGU+8M3T7jgrHDgeUEhH4Fx0G5y+w5lQl5lU25lIk5lIl5PAhigrHDge","BNvTyMvY","y3vYC29YlxbVAw50zxi","zMXLEc0X","57Ur5A6A5yc8","ru1qvfK","BgfIzwXtAg93qMC","x2vYCM9Y","ksb0CMfUC2XHDguO","6zw/5yIslEwpJoEcUEs6PoABVW","6kEM5y+roIa","sLnptIdMOlZLVi/PLjNOR6/VViZOR7FMO4dMN6xOVPpLHAu","AgvPz2H0","teLorq","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs04","lxDLyMTPDc10yxaTAgLNAgXPz2H0lwnVBg9Y","rxzLBNqGyMXVy2SGBM90igzVDw5KoIa","CgWTmIbIB3jKzxiTBc0YigjVCMrLCI1HBwjLCI0Zmda","DMLLD3bVCNq","q29UDhjVBhm","yxbWzw5K","oJPLEhq6oG","6ycj5OUPiePtt04G5PAh5lU25A+85ywL77YA","y2XVC2vZDa","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlti","mcaWidmYidu","zhvYyxrPB24","igLZig5VDcbHignVBNn0CNvJDg9Yig9Yig51BgW","zxzLBNrcDxm","5zcn56EW5lIn6io95lI656M6","Dg91y2HHyMXL","BgLMDa","BgLUzujVEa","CMvHy3qTzMXVD19FzwrNzs1WyxrO","AxnAB29TAw5Nt3jqyw5UAw5N","zxHWB3j0CW","57Ur5A6A5A2x5Q61","mxb4ihnVBgLKicnKowq5zdK","CMzFx2nVBNrYB2XZ","x+wKJEwiTG","5Qgg6ycj5QIH5BYp","ANn4","Dg9qCMLTAxrPDMu","5OUw5OU96lcd5Pw057Ui54k5","w2rHDgeTAgfUzgXLpsjLBMqIxq","DY04igGTmc41igjNlwDYyxKTndaW","y29UDgfPBG","55s75BIdia","x2vUDgvY","zM9UDc1TzwrPDw0GDgv4Dc1NCMf5ltGWmcbTyI0Y","y2XPy2S","BwLUAw1HCc5HCMLHtgfIzwW","y2XPzw50wa","CMvHy3qTzMXVD19FzwrNzq","C3LUy1zPzxDWB3j0","6Ag75lI6jhTSzw595lIQjhTSywjLBh0","zgv0ywLS","Bw91C2vKB3DUlNPVB20","C3bHy2uTEs0Z","zg9Tqxr0CMLIDxrLCW","zM9YD2fYzfjLzG","DMfSDwvdB2XVCG","vhjHBNnMB3jTv3jHChbLCG","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0B3a","B25tzwXLy3rPB25dAgfUz2viyw5KBgvYCW","D2fYBG","55s75BId5A+85yE65AsX6lsL","DxjSka","BgfZDeLUzgv4","Cc0ZigjVCMrLCI10igjVCMrLCI1NCMf5ltiWmcbIzY1NCMf5ltuW","5OMN6kgm5lUJ56cb","6iEQ5A6A5lMj57Ue5lU2","B3DUzxjeB2n1BwvUDa","ywrK","Ag92zxi6yMCTz3jHEs0Xmda","yMCTyMX1zs01mcbYAw5NltiGCMLUzY1IBhvLltqWma","44cn77Yi5Pw05z2x6l+u5zUE5yc877Yj","BM9Kzu9YAwDPBG","6k+36l6t5ywL5PcC57sI5yAf5A65","iokaLca","z3jPzcbNCMLKlwnVBhmTncbNyxaTmG","y29UzMLN","6ycj5OUP5OIw5yIB5BU65lQl5lU25Rwb","6iEQ5A6A5lMj","Dg9qCM9TAxnL","BM9Kzuv4DgvUDa","6Ake6kEi5QIH5BYp","6iQc54k554Q25Ocb55sO55Qe5PwW5O2U6zUg77Yi5lIo5lQl5lU25Rwb5PEG5ywZ77Yj","DgfYz2v0sgfUzgXL","Dgv4Dc1NCMf5ltqWmcb0zxH0lxHZ","vw5HyMXLihrVigXPzNqGDw5RBM93BIbpyNnLCNzHyMXLihr5Cgu","C2nOzwr1BgvYqwn0Aw9Uq3rVCG","zgv2zwXVCg1LBNq","zwXLDMf0zuvKz2vZt25tzwXLy3q","6k+35Rgc5Qch6k+g","zxH0zxjUywXfDMvUDeTLEq","yNvPBhrPBKLK","qM90Dg9T","zxHLy3v0zuv2zw50rMXVDW","5OM+5lIn5yIW5lQl5lU25z2x","5Bcg57Q/5P2H5y+y5lI65Rc05BMZ57Q/77Ym5l+D5OYb6zw/5BQM","5BEY5l+D5A2y","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMu","CgfYzw50tM9Kzq","57Ui54k5ifG","Dg91y2GW","zxzLBNrcBg9JAW","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9YCW","zNjVBNq","q29UDhjVBcbqyw5LBa","Dg90ywXjBMnVBwLUzW","ntq2n0ztqNHpAG","CMvKDwnL","BwLUwa","tgLUzxm","zxjYB3i","CMv0DxjUihrYDwu7","twLUDxndAxjJBgvpDxrSAw5Lza","6ycA6Akr5yQG6ycF5BQM5PYj5Pwi5yc8","tKvhqvrjvKvFsu5gsu5jvfK","6k+35AgR5yAz6k+35Rgc5Qch6k+g","CMvHy3qTzMXVD19FAgfUzgXL","q2fUDMfZ","Bw91C2vz","Dgv4Dc14CW","yNvIyMXLCW","6k+36ycj5OUP5lIa5lIQ6iQc54k5","6iom5PMV6Ake6kEi","tgvMDe91DgXPBMvK","yxbWzw5Kq2HPBgq","yM91BMreyxrHC2v0qMLUzfzHBhvL","Aw5PDe1HDgvYAwfSCW","uMLNAhq","yxr0CI4","AxnqCMLTyxj5","CMzFx2vKz2uT","zxH0zxjUywW","DxbKyxrLtM9Kzq","6lw354k5ifG","zM9JDxm","zMXLEc0Xig92zxjMBg93lxKTyxv0BYbWltq","BgfIzwXdB2XVCG","yMfJA2DYB3vUza","yM90Dg9T","BgLUzurYyxDPBMC","D2fYBMLUzW","5PYQ55+L55s75BId","5lIk5lYG6zsz6k+V","BM9KCMfN","u3rYAwn0","zxjYB3iWmtm","5lQl5lU25Rwb57Ur5A6A","DY0XmcbOlteWig9IAMvJDc1JB250ywLU","z3jVDxa","zgL2","tw9KDwXL","DhjHBNnMB3jTu3rHDgu","zML0vMLLD09WDgLVBNm","5lIk5lIa5lIw57QQ","BM9YBwfS","A2vLCefZCgvJDfjHDgLV","Aw52ywXPza","zMXLEc0XigjVCMrLCIbIB3jKzxiTz3jHEs0YmdaGCM91BMrLzcbWlti","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaWig1Iltm","CgvUzgLUzW","DxjSkcnNCMLKkq","zxzLBNrtDwjQzwn0CW","5Rwp6kEi5lIT","DxnLu3rHDgu","q1vtve9n","CMvHy3qTzMXVD19FzwrNzs1PBNrLCMfJDgLVBG","zMLSBgvK","B25ZzwXLy3rZDgfYDa","B3bZ","tK9erv9truXfq1q","CMvSyxrPDMuG","5BYa5AEl5PYi5lU9","w1jLywn0iezSB3DDoIbtzwvTCYbSAwTLihLVDsbOyxzLig5VDcb1C2vKihP1C3rHBMqGChjVDMLKzxiGyxmGyw4Gyw5Jzxn0B3iUieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCImWmde","B2jQzwn0ihvUC3vIC2nYAwjLza","rNvSBa","5PwW57UeicG","yM9Sza","BgLUzwfY","5lIk5lIa5BM0icHdB250CM9S6zsU5yQG5BEM5PA55zcr6zsUkq","zhjHz2DHyMXL","zwrPDgLUz0v2zw50uM9VDeLK","CMvHy3qTzMXVD19FzwrNzxm","w3jVBgu9iMXPC3rIB3GIxq","y2HLy2TLza","y29UDgvUDa","CMv0DxjU","y3vYC29YlwDYywi","BgLUzq","sw5WDxq","Bw91C2vmzwf2zq","AxngAw5PDgu","u21VB3rOu3rLCevKz2u","BgLUzvr5Cgu","B25dBgLJAW","zg91yMXLq2XPy2S","Aw5ZzxqOmtaWjsK","tw96vxnLCLnLBgvJDa","6ycj5OUP6k+L5A2x5Q615A+55BQu55Qe5yw35l2t5yc85lUL5A6A5l2n5PwW5O2U6Ag5","ywjZB2X1DguGDY0ZigGTmYbIzY1IBhvLltuWmcbIB3jKzxiTmIbIB3jKzxiTD2HPDguGCM91BMrLzc1MDwXSign1CNnVCI1TB3zLihOTnta","x3n1yNnJCMLIzq","DgL0Bgu","AgLKzgvU","5A+85yE6iePtt04","6k6+5lI65Rs76lEd57Ue","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltm","z2v0tM9Kzuv2zw50qMLUzgLUz3m","yxjPyuXPDMvnzxnZywDL","jhTSywjLBh3MNidLPjOKE21HEh3KUkRLRzFNRky","x19UB3nLBgvJDa","Aw50zxjWB2XHDgvcDwLSDgLUu3rYAw5N","6ycj5OUP57Ur5A6A5yc8","z2v0q29TChv0zwrtDhLSzq","y2fUDMfZxW","yxjPyuXHyMvS","C2v0vMLLD3bVCNq","Dg9mB3DLCKnHC2u","Cg9PBNrLCKLK","mcaWidi1idmY","BxqTmIbWltiGyMCTyMX1zs01mcbYB3vUzgvKihrLEhqTEhmGDgv4Dc1IBhvLltyWma","6lw35Q2I5l2n572U77Yi55U45A+56iQc54k577Yj","DxnLCLnLBgvJDgLVBKfJDgL2zq","yMX1zq","tM9KzsbVBKnSAwnRoG","igrVzxmGBM90igv4Axn0lG","z2v0qM91BMrPBMDdBgLLBNrszwn0","5Bcg57Q/5P2H5y+y5lI65z6c55U057Q/77Ym5l+D5OYb6zw/5BQM","Dw5PDa","Bwf0y2HnzwrPyq","Bwf4","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igeGBM9Kzs4GuhjLC3mGzgvSzxrLihrVihjLBw92zsbPDcbHBMqGzxnJyxbLihrVignHBMnLBc4","y2fUDMfZswrZ","DhDLzw4","C2vSzwn0C3rHCNqUzhjHzW","zg90CW","BgfIzwXgB250v2vPz2H0","lNjLywn0lwzSB3C","Aw5KzxG","B2zMC2v0","56gU6k6K5yIG6zMK6k+L5zcm57QN5ywZ57o757Ue77YF","B3b0Aw9UCW","5A+85ywL5lI65PAW55s75BId77Yi5lIn6kAg55Uw5B2t5yMn55s75BId77Yj","yM91BMreyxrHC2v0swq","A2v5Dxa","zMLUywXPEMu","sxrLCMfIBguGy2fUBM90igjLig51BgW","6ycj5OUP55s75BId5yQG5ywL","CMvSzwfZzuXVy2S","5lIl5lIa5Q2L","q29SDw1UsgvPz2H0t3v0BgLUzwq","AxntzwXLy3rHyMXL","6k+36ycj5OUP6kEM5y+r5PA55BYp","Dg91y2GX","Dhj5CW","C2v0twLUwM9VBq","zgLZywjSzwq","y29UC29SAwrHDgu","54k55yE755s75BId56gU5A6A6lw354k55zkm57Ui54k5","CMvHy3qTzMXVD19FyMfJA2DYB3vUzc1Wyxr0zxjU","x+wjR+ACRa","6k+36ycj5OUP5zgO","y29Uy2f0","AxntDg9WCgvK","zM9JDxnHyMXL","u3rYywLNAhrfzgDLsw50zxjUywW","CMvHy3qTzMXVD19Fy29UDhjVBhmTyNv0Dg9U","jhTSywjLBh3KUi3OG73OVAZMJAlKUlRML6xMNj8","y2XLyxjbBgW","BM9Kzu5HBwu","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlwWGyM9YzgvYlwDYyxKTmJaW","6ycj5OUP5BM05lU9","vhLWB2DYyxbOEq","CMvHy3qTzg9T","54k55yE757Q/5P2H54MP5PAz5BYa5AEl57Uy5yI2","u3rLCevKz2vjBNrLCM5HBa","yMfZzwXPBMu","BxqTmIbWltiGyM9YzgvYihjVDw5Kzwq","zgf0yq","zgf0yvjLCxvLC3rlzxK","yNvPBhrPBKnVBMzPzW","vgHLig9SzcbLzgDLihDPDgGGAwq9","zw5HyMXLza","lwzSB3DFx2HHBMrSzq","y2fUy2vSq29UBMvJDgLVBG","iIbUB3qGzM91BMqUifvZAw5NigzHBgXIywnRihr5CguGiMrLzMf1BhqIlG","y3jLyxrLu1zhug9PBNq","5A2x5Q615PwW","CMvXDwvZDefZEw5Jswq","x2HHC1bHCMvUDa","zMX1C2G","z2v0vMLLD3bVCNq","54Q25Ocb5yIx6kgO","C3rHCNrsB3rHDgu","Bw91C2vcDxr0B24","y29UBMvJDgLVBKrYywDuAhjLC2HVBgq","DgfYz2v0","mNb4igrHC2HLzcb0CMfUC3bHCMvUDa","yMXVy2SGDY1MDwXSihrLEhqTC20GDgv4Dc1NCMf5ltuWmaOGicaGicaGicaGicaGigzPBgu6BxiTncbMAwXLoNb5ltiGzMLSztPWEc00cIaGicaGicaGicaGicaGzMLSztPYB3vUzgvKlwz1BgWGzMLSztPIB3jKzxiTmaOGicaGicaGicaGicaGigzPBgu6Dgv4Dc1ZBsbMAwXLoMzVBNqTC2vTAwjVBgqkicaGicaGicaGicaGicbMAwXLoMjNlwjSDwuTntaGzMLSztP0zxH0lwjSDwuTnZaWcIaGicaGicaGicaGicaGAg92zxi6zMLSztPIzY1IBhvLlteWma","5RE75yQG5lQl5lU25z2x","y2fUDMfZzxm","B25fCNjVCG","ywXS","C25HCeDYAwq","z2v0qxr0CMLIDxrL","6BUy6k6K5yc877Yi5Ash55sO77Yj","Dw5IAw5KqwXSrM9YtM9Kzq","ENvZDgfUza","yMX1CG","5PwW5O2U5A2x5Q615PEG5yc85PE25PI+56s65Q2K5Ash55sO5yc8","Cgf0Ae9WDgLVBNm","Dgv4Dc1NCMf5ltqWmcbOB3zLCJP0zxH0lxjLzc01mdaGy3vYC29YlxbVAw50zxi","55sX6kgO6l6+5BYp6iEQ5yQO6k6H566x","6lEZ6l2SoIa","6BYG5Qch6l+B5ywL","jhTSywjLBh3KUi3MMk/KUidKUkRMNiNMLyJNMOqKE3r5Cgv9","z2v0uMvHzgvY","zxjYB3iWmdq","DxnLtgf5B3v0rwzMzwn0","u3DHCe91DgXPBMvK","5l6l5AAc77YACMvMCMvZAcdMIjyGCgfYzw50oNjLBg9Hza","Cg9PBNrLCLG","CMLUzY00ihjPBMCTyMX1zs00mdaGCMLUzY1VCgfJAxr5ltuW","zw5KlNjLBw92zq","y29UDgv4Dg1LBNu","zgvMyxvSDa","u3LTyM9SlML0zxjHDg9YigLZig5VDcbKzwzPBMvKlG","u3bHy2u","zxHPDa","C291CMnLtgfIzwW","C2nHBgvfEhrLBNq","q29SDw1Uv2LKDgHpDxrSAw5Lza","zMXLEcbMBgv4lwnVBa","B25nB3zLrw5K","Dgv4Dc1NCMf5ltyWmcbTDc0WlJu","DgLTzq","CMvZDwX0","yM91BMreyxrHC2v0qMLUzenVzgu","t25SEsbJAgLSzcbUB2rLCYbJyw4GDxnLigeGCgfYzw50igv4DgvUDc4","y2vUDgvYignLBNrLCG","ugXLyxnLig9UBhKGAgLKzsb0AgLZigf0DhjPyNv0Aw9UihDOzw4GEw91igfYzsbZDwjZy3jPyMvKihrVifjLywn0iezSB3CGuhjVoIbODhrWCZOVl3bYBY5YzwfJDgzSB3CUzgv2","BMf0AxzLrxzLBNq","zxzLBNrsB290CW","zgf0ys4","w2rHDgeTBM9Kzs1Pzd0I","5B+R6ycF5A+56B2q","mte2odK4odzSwMPLsNG","yMfJA2DYB3vUzeLTywDL","y29UBMvJDgLVBKXVB2T1Ca","Aw50zxjYDxb0","Bw92zq","zwXLBwvUDhntzwXLy3rHyMXL","ChjLDMLLDW","r3jVDxbpDxrSAw5Lza","CMvHy3qTzMXVD19FyMfJA2DYB3vUza","B2jZzxj2ywjSzq","ChjLDMLVDxntAwjSAw5N","C2TLD1GO","Aw50zxjHy3rPB25xAwr0Aa","zM9YBwf0shnS","5l6l5AAc77YABg9HzfrYzw5K44cbzMv0y2HezxzPy2vmAxn0","zw5HyMXL","zwrNzxm","C3rYAwn0","vgHLihjLC3vSDcbVzIbNzxrtBMfWC2HVDcbZAg91BgqGyMuGy2fJAgvKihrVigf2B2LKigfUigLUzMLUAxrLigXVB3a","BM9eCMfNq2XHC3noyw1L","zNv0DxjL","Bg9JywW","C2nOzwr1Bgu","rg93BLnXDwfYzu91DgXPBMvK","BMv4Da","AgfZ","yxv0B1bHBK9UtM9KzurYywC","C2v0vhjHBNnSyxrLrxH0zw50","Ahr0Chm6lY9YzwfJDgzSB3CUzgv2","mda5","5PEG5zU+54Mh","BgLUzwfYlwDYywrPzw50khrVihjPz2H0lcbYz2jHkdi0mcWYndaSmJqWldaUmdmPidfWEcWGDhjHBNnWyxjLBNqGmxb4ksWGBgLUzwfYlwDYywrPzw50khrVigjVDhrVBsWGCMDIysGYndaSmJqWldi0mcWWlJaZksaXChGSihrYyw5ZCgfYzw50idfWEcK","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltiGBwiTmW","zw5KlG","ChjVzhvJDgLVBG","y29UBMvJDgLVBK1Vzgu","AhjLzG","CMvHy3qTzMXVD19FyxjPys1SAxzL","C3rHCNroB2rLwa","C2LTCgXLyMv6AwvY","CM90yxrLka","AhLWB3q","z2v0u2vYDMvYu3rHDgu","yxjNCW","zgvMCW","y2XPzw50v2LKDgG","wvLzwq","B25fzgDLC0nOyw5Nzq","Dgv4Dc1NCMf5ltGWma","DxnLtwvTBW","BM9qyw5dBgfZC05HBwu","C3rHCNroB2rLwq","Bwf4wq","6k+36ycj5OUP5BM05lU9","zxHLy3v0zq","vxbSB2fKt3v0BgLUzwq","ChGP","jhTSywjLBh3MNidLPkFLGlZKUlOKE21HEh0","z2v0rwrNzuLK","yxnZzxj0AxzL","ChGPihnJywXLka","DxbKyxrLtM9KzuLUDgvYBMfSCW","DxnLuMvM","y3vYCMvUDfn0yxr1C0LK","vgv4DefYzwe","y3vYCMvUDa","mdaZ","C2nHBgvcEq","5BEY5RE75yQG","566H55cg55s75BIdlI4U","zMLUzeLUzgv4","C3LTyM9S","cIaGicaGicaGicbYB3vUzgvKlwXNihrYyw5ZAxrPB24TywXSigr1CMf0Aw9UltiWmcbZzwXLy3qTBM9UzqOGicaGicaGicaG","57Ut5P2F5PYi5lU9","Aw5KzxHpzG","y2HYB21L","qMv6AwvYrwrNzuLUDgvYBMfS","u2LTCgXLqMv6AwvY","z2vVBwv0CMLJuhjLy2LZAw9U","Bw91C2vfBNrLCG","54k555s757Q/77Yi5lIT5B+d57Q/77Yj","zw5K","CMv2zxjZzq","y2LYy2XL","y29UBMvJDgLVBG","BM9Uzq","x2LUBMvYu3vIC2nYAwjL","C3rVCeLTBwvKAwf0zvbYB3bHz2f0Aw9U","Dgv4Dc1SzYbMB250lxnLBwLIB2XKihrLEhqTz3jHEs04mda","CxvLCNLtzwXLy3rVCG","igvYCM9YCYbVy2n1CNjLzcbKDxjPBMCGDw5ZDwjZy3jPChrPB246cG","CMvZzxrgAwvSzhm","DxnLCLnWywnLt25vC2u","zM9UDc1Zzw1PyM9Szcb0zxH0lwDYyxKTnZaW","r3jHCgHwAwv3","ioIHJowHQ+wgMEwpGUAvSowqJEwnS+wpR+IhQUwUMUs5IEMuRUwqJE+8IoMHU+s4JUwfPEI+UEMHUUw6J+s4GoIhTo+8IEoaGG","6l6t5ywL5yc85PAh5PYS","mtaWjq","yxv0BY1ZDgfYDc1YzxzLCNnL","y2fSBa","mdaY","mta4ma","5ywL5y+c5zcn77Yi5OYj6l+E57Q/6Ag65BQp77YjoIa","zgvMyxvSDe5VzgvZ","AgfZvMfSDwu","6k+36ycj5OUP5PEL5PYF","ChvYCgXL","zgfZAgvK","twfJ","zMLSBenVBg9Y","B25oB2rLtw91C2vnB3zL","yM91BMrHCMLLCW","zgf0ytPHChbSAwnHDgLVBI9QC29Uo2nOyxjZzxq9DxrMltGS","BwfYA2vYvw5PDhm","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWidGGmca0lJu3msaZlJqYosa0lJu3msa3lJyXoxyZlJa0oeGZlJa0oeeZlJa1nIaZlJa1nIaWidaWmcaXmY43mtr2mtuUmJm4qtmUmdu2idmUmdu2idaGmdaZlJa0ocaZmMGXoc4YodvHmY4WntyGmY4WntyGmcaWmdmUmdq4ltmUmdq4vJeZlJCXngeZlJa1nIaZlJa1nIaWidaWltmUmdq4ltmUmdq3EK0XmI4XosaYnc41mZnHmY4WntyGmY4WntyGmcaWms0ZlJa0nY0ZlJa0nYaZlJa1nIaZlJa1nIaWidaXmY4WndCTmY4WndGGmY4WntyGmY4WntyGmcaWmtmUmdq4idmUmdq4idmUmdu2idmUmdu2idaGmdeTmY4WndGGmY4WndD6BtqUnZi0lteZlJG2nKG3lJq2n1y3lJyXowmWltiUntKGmI4XmZmTnc43mJqGnc43mJmTnc43mJqGmI41oteGmca0lJCYncaYlJeZmYa0lJCYnca0lJCYnhyZlJa0ohO","BM9Kzuv2zw50qMLUzgLUz3m","twLUAu1HCa","yMLUza","5PAh5lU25lIk5lYG5lIT","77Yi5BEY5yIG6zMK77YA","CMv0DxjUig51BgW7","5y+V6lcd5Pw05AsN5Bcp","zgLYzwn0Aw9U","rwrPDe91DgXPBMvK","Ac1MDwXSigzSzxGGAxrLBxmTy2vUDgvYigP1C3rPzNKTy2vUDgvYigjNlxDOAxrLigjVCMrLCI1SigjVCMrLCI1NCMf5ltiWma","zg9JDw1LBNq","6l+E57UT5A6E57Q/","zgvSDgfy","ugX1C091DgXPBMvK","6BYG5Qch56E75ywL","Cg9W","5yAf6igu6isA5PYS","yxjNCY5WCMv2ma","mtrhAg9wD00","i2zHogmXnG","CgWTmsbIB3jKzxiTBc0YigjVCMrLCI1HBwjLCI0Ymda","C3fYDa","5PwW5yc85Qc85BYp5yYw5PE25l+D55wz55Qe5Bcp5PwW5l2n5PwW77YmlthOOAJNPlRKUi3MOlZLVi/LJjy","6Ag65PE26zki5PEl6l2S6kEs5BQM77Yi5BQM77Yj","5PwW5O2U5RgG","C3r5BgvuD2vLBG","6yEn572U6kEg5zU+","y2XVC2vKlq","5y+V6ycj77YA57Ur5A6A5zco6kgO6l6+5BYp5lIT55QeigrHDgeG5lYA5ywi5zci5BM26k+L5PwW5O2U6zUg55QeihnHBxbSzE+8JowgJEwqIow5TUEuU+w4G+s8OowfPEEAHoI/KoIHJoAxTUAvSoAnRUoaGUs4JEE7KEwUMUAxTIbKyxrHios7HEADPEIhQUI/KoIHJoAxTUoaGG","zxjYB3iWmti","5RE75yQG5lQl5lU25Rwb","5PAW5BU655s75BId","6ycj5OUP5PEL5PYF","5PwW5O2U5RgG77Yi6iQc54k554Q25Ocb55sO77Yj","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltq","zhjHzW","zMXPCfG","ANn4CW","BgLI","Cg9PBNrLCG","rgvSzxrLt3v0BgLUzwq","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUig1Ilti","DgHYB3DUrxjYB3i","Bg9VC2u","Dgv4Dc1Jzw50zxiGDgv4Dc14CYb0zxH0lwDYyxKTntaW","tgf5B3v0","5PwW5O2U6zUg","ltuSltqGmcWWic01ldq","CgfKzgLUzW","ChjLCgfYzuv2zw50qxjNCW","Aw52zxj0","Bw9Kzq","sw5WDxroDw1Izxi","ChGSia","Cg9ZAxrPB25byNnVBhv0zq","yxbWBgLJyxrPB24","CgfUwM9VBq","5PQc5PEG54MP5PAz","iIbKB2vZBID0igv4Axn0lG","CMvHy3qTzMXVD19FBwfYA2vY","AxneCMfNz2fIBgu","C3rVCa","BNCTCMvZAxPL","zw51BwvYywjSzq","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVVjRNLlhMLBdMJA7MSAaGC2fTCgXL77Yi6iUL5BEY57Ur5A6A77Yj5lIo55s75BId6l+q6kgm5PE25PwW5O2U5zci5BM277YB5Rwl54k55PwW57Ue5lYA5OYjihbHCMfTC0nVzguG5yAz5ywLigrHDghJGilPOBSGCMv0DxjUihrYDwuVzMfSC2xJGii","DY1MDwXSigGTzNvSBcbMBgv4igzSzxGTy29SigP1C3rPzNKTy2vUDgvYigDHCc0X","tgLZDa","5A+85ywLiePtt04","C2v0vhjHBNnMB3jT","zMLYC3rfBgvTzw50q2HPBgq","zxjYB3iWmdK","zxHLyW","C2nYB2XSvg8","z2v0qKjVEa","zxjYB3iWmtu","u21VB3rOu3rLCa","qxjYB3DsAwDODa","lwzSB3DFx2HHBMrSzvTKyxrHlwLKpsi","y2XLyxjjBNrLCNzHBa","x3zHBhvL","y2XHC3nmAxn0","C2nHBguO","ioMHUsK","ChjPBwfYEq","5ygh5OoZ57Q/","576K57Ue6iQc54k5","zM9UDfnPEMu","5BgE5OcN6z2I5P2/","5Qch6k+g5lIn6io95lI656M6","Aw1Tzxi","zhjHDW","zhjHz3n0yxj0lMrYywC","zwrNzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","zwrNzvf1zxvL","m01gs3Hpvq","77Yi5y+V6ycj77Yj","DMfSDwvtDhLSzq","ChjLDG","57Q/5P2H5BgE5OcN","zMfJDg9Y","5Asw6yoO5lQl5lU2","Aw5JBhvKzxm","DY1MDwXSigGTzNvSBa","Bwf0zxjPywXZ","5PYQ6ywn572U55UU5Qch55s75BIdieLe","CMvHy3qTzMXVD19FyxjYB3DOzwfK","jhTSywjLBh3KUi3OG73KUlRNQBRLRzFNRky","572U5lQo5BQv5Bgc","yxrHBG","6BUy6k6K54Q25Ocb","56gU6k6K5yIG6zMK","zgvMyxvSDevKz2vZ","5PYa5BcrjhTTAw595lIQjhTSywjLBh0","CMvHy3qTzMXVD19FC2vSzwn0Aw9UihjLywn0lwzSB3DFx2nVBNrHAw5LCG","zNjLzq","Dg9ju09tDhjPBMC","Aw5SAw5Lu2nYAxb0","B25oB2rLC0rLBgv0zq","6l6t5ywL5zU+54MhifvstcdMIjBKUiRKVkdLM77NIyC","5lIk5lYG5zU+54Mh","lMPZB24","yMLUze5VzgvfDMvUDa","ywjZB2X1DguGyM90Dg9TltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","zgvSyxK","5Q+p5lIQ5PwW5O2U6zUg5y+V5lUL5PIViePtt04G5A+56lgH5QIH5P2/77YiuMvJB3jK77Yj5OIw5PwW57Ue44cc54Q25Ocb57Ur5A6A5zco77Ym6kgO6l6+5BYp562+5zcn5lI6","qxjYB3DdBg9Zzwq","5RE75yQG54Q25Ocb","BxqTmsb0zxH0lwfTyMvYltGWma","CMvHy3qTzMXVD19FDMLLD3bVCNqGEhLMBg93x192Awv3Cg9YDcbYzwfJDc1MBg93x19JB250ywLUzxi","zxHLy3v0zuzSB3DoB2rLCW","C2v0rhjHz0LTywDL","ntnbCKfHBgG","5BEY56Ab55sO","B3bLBG","Dg9W","ywrKrxzLBNrmAxn0zw5LCG","CMvSyxrPDMu","BM93AgvLBa","w3jVBgu9iMnVBwjVyM94iL0","zgfZAc1KB3q","y3vYCMvUDenHBNzHC0LK","qMv6AwvY","6k+36ycj5OUP5OMN6kgm5PA55BYp","zMLSzq","5OUw5OU96lcd5Pw05AsN5Bcp","rg90CW","z2v0rgf0yq","y29UDgvUDgvKAxrHyMXL","y29UDgv4De1LBNu","CgfUu2nYB2XSvgLTzw91Da","B25czwzVCMvezwXLDgu","y2XVBMvfBgvTzw50","AxnwywXPza","zgLZywjSzuTLEwjVyxjKqteXEq","z2v0sw5PDgLHBfn0yxrL","57Ut5P2F5BM05lU9","Bwf0zxjPywW","54k55yE75y2h5BQp","CMvHy3qTzMXVD19FBwLUAw1HCa","uMvHy3rAB29TugfUugLUy2G","jhTSywjLBh3LV4xPOBVMMk/LHBBKUk3KUidKUkPBjhTLBNvTFv0","C29Tzq","BgLUzs1KCMf3","54Q25Ocb5zcn56EW","cIaGicaGicaGica","BgfIzwXgB250u2L6zq","55+L6ygt5lQg","ksbZy2fSzsG","CMLNAhq","DxnLrgvIDwDwywX1zq","DhjHBNnSyxrLka","mI4WlJa","DgHYB3C","5y+V5O6s5BQp","qxjYB3DeB3DU","y29YBMvY","vhjHBNnMB3jTq29TCg9Uzw50","y2HLy2TIB3G","5lIl5lIa5lIw57QQ","AxrLCMf0B3i","kgrHDgePid0+igjVB2XLyw4","zgvJAw1HBhm","Bwf4wM9VBq","u2vSzwn0","ywzMzwn0C1G","q29SBgfWC2u","C2nHBgvy","ttaGmgGZmNy0lJjimhO","yNvPBgrnzxjNzwreyxrHuMvJB3jK","DMfSAwrHDgvgAwvSzhm","55s75BId5yIx6kgO","zxH0zxjUywXiyw5KBgvYq2f0ywXVzW","CgfYzw50swq","lwzSB3DFx25Vzgu","Bw92zwq","BMv3wa","CMvHy3qTzMXVD19FBM9Kzq","mtjWEa","y2XPy2TeAxn0yw5Jzq","y2fSBgjHy2SGAxmGBM90igeGzNvUy3rPB24","BwLUwM9VBq","B2jZzxj2zxjZ","5PQc5PEG5lQl5lU25Rwb57Ur5A6A","jhTSywjLBh3KUi7MQkhLVi/KUi3LJlNPHy0KE3bHDhrLCM59","x2nHBgW","5lIk5lYGifnwrW","8j+sOsdMJ5dNPlRVVjRNGRNLH7VNU5JLIlBNUR/MRRxVViZLJ6/OV57NU63NU5JLIlBLPjRMRRxNUR/VViZLJ4ZLH7VNU5pMNz/NU5JLIlBVViXfu0mG5y+w5RAi","yxv0BW","BM9KzxneCMfNz2fIBgu","Dw5RBM93BIb0ExbLoIa","y3jLyxrLrwXLBwvUDa","6ycj5OUP6kEM5y+r5PA55BYp77Yire9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO77Yj","Ahr0CdOVl3D3DY53mY5VCMCVwe1mlZe5otGVBMfTzxnWywnL","B3DUzxjtvKDfBgvTzw50","C2vSzwn0zwrfzgDLCW","CMvHy3qTzMXVD19Fy29UBMvJDgLVBMXPBMuGCMvHy3qTzMXVD19Fy29UDgfPBMvY","mda1","qxjYB3DvCe91DgXPBMvK","57ky6ls055s75BIdiePtt04G5yAf5A65lI4U","C2nHBgvuBW","C25HCfrVr3jPza","5Rc05BMZ5yIg5BId","mdeY","zwrPDa","mJe4mZK0mfrpquLWvW","x25Vzgu","5A+85ywL57Ue5Ocb5PA55Qgi","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMuGB3zLCMzSB3CTAgLKzgvU","yxjNCY5WCMv2","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMC","zgf0ytPPBwfNzs9ZDMCREg1S","z2v0uhjVDg90ExbLt2y","yxjPyuXHyMvSq29UzMLN","6ycj5OUP5PE26zE0","CMvZzxq","iIWGzwrNzsbPzdOG","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvU","AwrLBNrPzMLLCG","DgHHDa","6k+L5PwW5O2U6zUg55QeihnHBxbSzsdKUlRMLBdNU4tVViZOR7FPGiNMI6NNLkJKUO7LJlNPHy3MLBdMJA7POBNNMOtLRzFMRRu","z2v0u3rHDgu","54MP5PAz5BgE5OcN","y2fUy2vS","6k+36ycj5OUP","zxzLBNrgBg93","DxnLzfjPz2H0tw91C2vcDxr0B24","C2v0rMLLBgrZvMfSDwu","t3b0Aw9U","CMvHy3qTzMXVD19FBwLUAw1HCc1KzxnJ","6BYG5Qch56E75yE6","zxjYB3iWmdm","C2v0rwrNzxm","DxnLCKfNzw50","56s65l6l5PwW5O2U77YisLnptIdLR7NOSAhMIjBMLBdNU4tVViK","Dg91y2HTB3zLlMrYywC","CMvHy3qTzMXVD19FBM9Kzs0","Ac0XmIbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltqGyMCTz3jHEs01ma","5Rwl6k+v5PwW5O2UicHku09okq","rwrNzvjLBMrLCMvY","5PwW5O2U5QIH5OUF","y29UDhjVBhmUEM9VBu91Dc5HCMLHtgfIzwW","yM9YzgvYuMfKAxvZ","C3rHCNqUEM9VBq","C3LZDgvT","jhTSywjLBh3LV4xPOBVNRyNKUO4KE2XLBN0","ChjVCgvYDhK","BMv3","B25dB25Uzwn0rw5K","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY0WlJuGAc0ZigjNlwDYzwvUltuWma","vw5NCM91Ce91DgXPBMvK","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWma","zgf0yvrYyw5ZzMvY","re9ntwf0CML4uMvHze9UBhK","CMvHy3qTzMXVD19FBM9Kzxm","qxjYB3Dmzwz0","vgHLifjLywn0iezSB3CGCgfYzw50ignVBNrHAw5LCIbUzwvKCYbHihDPzhrOigfUzcbHigHLAwDODcb0BYbYzw5KzxiGDgHLigDYyxbOlG","C3r5BguU","mxb4ihnVBgLKicnMmgyWzJa","6k+36ycj5OUP5BEM5l6N5lIa5lIQ5zcm57QN5ywZ57o757Ue","CxvLCNLtzwXLy3rVCKfSBa","kow9K+wjJsK","idaGvG","vgLTzw91DevYCM9Y","uMLNAhrpDxrSAw5Lza","zg90","CMvNAxn0zxjfDMvUDejSB2nR","BM9KzuXVB2T1Ca","yxbWBhK","tufurvjjquXFu1rbvfvtx0niqu5hrq","ugfYzw50ig5VzguG","CM90yxrL","C2v0uhjVDg90ExbLt2y","z2v0qxr0CMLIDxrLtLm","B2jZzxj2zwq","yw1K","tM8GC3rHCNqGBM9KzsbMB3vUzcbPBIbLDMvUDcbMBg93","rxHWzxjPBwvUDe91DgXPBMvK","ndbfrwL5Cui","y2vUDgvYwq","6k+35AgR5yAz5O+q56s65yAf5A65","Dg9iyw5KBgu","6ycj5OUP5yw35l2t5yAf572U6io95yQB","BgLUzvDLAwDODa","CMvUzgvY","BgLZDa","CMvHy3qTzMXVD19Fy29UBMvJDgLVBI1WyxrO","jhTSywjLBh3MLBdPH4/POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","BgLUAW","57Ue5yAf6l+y5RkH5PYj55s75BId77Ym5lUo5lIk5PA56ycj5OUP5yQG5ywL","CM91BMq","C291CMnLsgfUzgXL","BM9KzuvSzw1LBNq","BwvZC2fNzq","y29UC3rYDwn0B3i","DY1MDwXSigP1C3rPzNKTzw5K","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24","iZaWmdaWma","5lQK5O2I6lw354k55zkm57Ui54k5","zM9YBwf0sgv4","C21HBgW","mdeW","ugfYDgLHBa","77Ym5AsA5ywL6l6555sOia","5PAh5A2x6AkC6iMY","DxnLCK5Vzgu","zxzLBNruExbL","BwLU","zgvNkq","jhTSywjLBh3MMk/KUidKUkRML6dMLyJML6xMNj8","Dg91y2HLBMq","ChjVzhvJzq","CgfYyw1ZtMfTzq","yNv0Dg9U","lwzSB3DFx2vKz2u","57Ue5zci6ycj5lIT6iQc54k5","CMvXDwvZDefUAw1HDgLVBKzYyw1L","57Ur5A6A5PwW5O2U6zUg","mtKYma","DMvYDgLJywW","CgfUzurYywDNAw5N","DMfSDwvtB3vYy2vdB2rL","Aw5WDxrZ","5Asn5yI26iQc54k5","ChjVDg90ExbL","qMv6AwvYrwrNzq","zxH0zxjUywXiyw5KBgvYs2v5","iIbYEd0ImJaIlZ48l3n2zZ4","cIaG","C2nHBgvyka","BMfTzxnWywnLvvjj","zg93BMXVywq","C3bHy2uTEs00","C2vSzwn0zwq","yxjPyvjVBgu","5A2q6iQc54k5ia","mdeZ","u3rYywLNAhq","6BYG5Qch6yEk5Ps+","zNvSBa","zw1PDev4DgvYBMfS","mNb4ihnVBgLKicmXodKWzMy","y2HHBMDL","EM9VBq","zMXLEcbMBgv4lwnVBca","qMfJA2DYB3vUza","5lUo57Ue5lIT56E76zMK","BwvYz2vezwzHDwX0uNvUDgLTzuHHBMrSzxjZ","BgfIzwW","zgvMAw5LuhjVCgvYDhK","x3rOCM93swzdBg9Zzwq","5Asw6yoO5PA55Rov","C3rLCfbVC2L0Aw9U","vgfICW","z2v0u25HChnOB3q","q3vZDg9TrxzLBNq","y3vYC29YlxbVAw50zxiGBwiTma","zxjYB3iWmdG","su1br0u","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWmcbYB3vUzgvK","Dgv4Dc1ZBsb0zxH0lwDYyxKTnJaW","uMvHy3qGrMXVDZOGDhjPz2DLCIbUB2rLignOyw5Nzxm","B25fzgL0","zxzLBM9Kza","AxnjzgvUDgL0Eq","mdeX","CgLWzq","ChjLDMvUDerLzMf1Bhq","ywjZ","5y+V54k55yE7","DxnLu3LUy0v4DgvYBMfSu3rVCMvxAxrOu2vSzwn0B3i","A2v5zg93BG","5RIf56M65OMa5PYj","C3vIBwL0","zxzHBhvHDgvtDgf0DxnfEhbYzxnZAw9U","sgfUzgXLoIboBYbUB2rLigLKigzVDw5KlIbnywTLihn1CMuGDg8GB25SEsb1C2uGysbiyw5KBguGAw5ZAwrLigeGy3vZDg9Tie5VzguU","zMXLEa","i2zHywqXna","y29UDhjVBhmUAw50zxjHy3rPDMuUyxjPyuXHyMvS","AxrLBq","Aw5SAw5LlwjSB2nR","5A+g6zUg54k554Q2","C2v0rgf0yq","6l6t5ywL6iQc54k55zcn56EW","zM9UDfDLAwDODa","ChGS","yw50ze1LC3nHz2u","t2jQzwn0igLZig5VDcbPDgvYywjSzs4","BM9Kzvf1zxvL","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y","y3vZDg9T","6k+35AgR5yAz5OMN6kgm5lUJ56cb","EwvSBg93","AgfUzgXLCG","zwrNzuLUzgv4","6ycj5OUP5QIH5BYp","i2vImMy5nG","vw5ZDwjZy3jPChrPB25fCNjVCG","BMv3wq","C3rHDhvZ","x2nOzwnRrMLUywXPEMvKu3rHDhvZzxm","6zw/54k5lEEFREEcUEs6PoABVW","CMvHy3qTzMXVD19Fy29UDgfPBMvY","zMXVD0rHDge","5OUw5OU95QIH5BYp","D2HLzwXezwX0yq","twvZC2fNzsdMJ5dNPlO","Dgv4DenVBNrLBNq","Dgv4Dc1ZBsbMB250lw1LzgL1Bq","zNjVBq","CMzFx25VzguT","AhnSysG","CMzFx21PBMLTyxa","C2vJB25Kyxj5","ugXLyxnLihvZzsbGz2v0tM9KzxncB3vUzhnGigzYB20GyhvZzvjLywn0rMXVD2aVyhvZzvn2zwX0zuzSB3DGigHVB2SGDg8Gzw5ZDxjLignVCNjLy3qGDMfSDwvZigzVCIbZDwiGzMXVD3mUieLMig5VDcbWB3nZAwjSzsWGEw91igHHDMuGDg8GChjVDMLKzsbHig5VzgvmB29RDxaGDg8GC3vWCg9YDcbZDwiGzMXVD3mU","y3jLyxrLrgvMyxvSDe5Vzgu","q29UC3vTzxi","zwrNzq","zM9UDc1TzwrPDw0","BM9KzxngB2n1C2fIBgu","6iom5PMV5zU+54Mh5lIk5lYG5OIq5yQF","y3jPC3bfzgDLCW","C3rLCa","y2fUy2vSywjSzq","q29UBMvJDgLVBKXPBMu","B25oB2rLrhjHz1n0B3a","ChvZAa","AwnVBG","y2fSBgjHy2S","BM9Kzs5Hmtf5rgvZy3jPChrPB24UyxjPyuXPDMvnzxnZywDL","BwfYA2vY","B25oB2rLrhjHzW","yMCTD2HPDguGChGTmsbYB3vUzgvK","6k+35AgR5yAz5zcn56EW","Dg91y2HLCW","yMvMB3jLC3rHCNq","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltmGDY1MDwXSihb5ltiG","54Q25Ocb6kgO6l6+5BYp5OMN6kgm5AsX6lsLifS","5Qch562+5PAh5PYSicHSywjLBcK","CMvHy3qTzMXVD19FzwrNzs10zxH0yMC","y29UDhjVBa","C291CMnL","ywn0sw5ZAwrLsw5WDxrxAxrOtw9KAwzPzxi","ywjZB2X1Dgu","zML0vMLLDW","y2XVBMvoB2rL","CgfNzvG","yM94lxnLBgvJDa","z2fTBwe","CMvHy3qTzMXVD19Fy29UDhjVBhmTzML0DMLLDW","zgfYAW","C21VB3rOC3rLCa","twv0yq","C3jJ","5zYO562B6ycj6Ag55lIT5PcC57sI","nJm0ndKYyxzJu3zH","x196B29TAw5N","qebPDgvYyxrVCG","AxnbCNjHEq","C2L6zq","i2zMzG","CMvHzefZrgf0yvvsta","EKLUzgv4tw9Kzq","5PQc5PEG5PwW5O2U6zUg77Ym6k+35OMt5BYa44cm5PwW5O2U5RgG44cn5RE75yQG","Bg9N","AxntzwXLy3rLza","C2nHBgvz","CMvHy3qTzMXVDW","BM9KzvK","zgf0yxnLDa","CMvZB2X2zq","tsaYmcaWieWGmcaWidaGmJa","Axnoyu4","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvK","5yc85Qc35BYp","Cc0ZigjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","iZe4otbMzG","DxnLrwzMzwn0","BwvYz2u","uhjVDMLKzxi","6k6+5Ash5zU+5Qch","re9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO","B25qB2LUDgvYrg93BG","x3rYEvn1yNnJCMLIzq","rxzLBNq","mda2","x19KzwzHDwX0x18","z2v0vMfSDwvgCM9Tugf0Aa","C3rYywLNAhq","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iG","rM9YBq","6kEM5y+r5PA55BYp","q2XVC2vpDxrSAw5Lza","zhjHz2DPBMC","y29TCg9ZzwrqyxrO","yw50za","q29UzMLNrwrPDg9Y","zw50zxi","5A+85ywL5OIq5yQF77Yb","i2iXyJfInW","mtGYmZmZnKPTCe9LrG","5Rc05BMZ57+76l2S","CMvTB3zLq2HPBgq","zgvSzxrHyMXL","sgfUzgXL","DMLLD0jVEa","C2vSzwn0tM9KzxnpBKrYywC","C2vUDa","jhTSywjLBh3ML6xMNj/MOlZLVi/ML6dMLyG","Aw52B2TLuNvUDgLTzuHHBMrSzxi","zMLYC3q","nZaWv3ziy0Dt","ywjZB2X1DguGDg9WltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","zw1PDa","5AgR5ywf6AkC6iMY77Yi5z+65PYS5B2I54Q277Yj","BMfTzq","z3jHyG","x+EkTUAaGq","AgLZDg9YEq","zxzLBNrcBg9JA3m","y29UBMvJDgfIBgu","xcKK","BwfYz2LU","Bw91C2vpDMvY"];return _0xd2fc=function(){return Ie},_0xd2fc()}
|