jch-config-editor 0.1.21 → 0.1.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,14 @@
1
- (function(pe,l){const L=_0x447e,C=pe();for(;;)try{if(parseInt(L(1632))/1*(parseInt(L(767))/2)+parseInt(L(788))/3+parseInt(L(802))/4+-parseInt(L(1859))/5*(parseInt(L(1335))/6)+parseInt(L(1982))/7+-parseInt(L(1711))/8*(-parseInt(L(1686))/9)+-parseInt(L(1808))/10===l)break;C.push(C.shift())}catch{C.push(C.shift())}})(_0x3985,657079),(function(pe,l){const L=_0x447e;typeof exports===L(1210)&&typeof module!==L(1269)?l(exports,require(L(1697)),require(L(1809)),require(L(986)),require(L(1360)),require(L(1884)),require(L(1069)),require(L(1045)),require(L(1608)),require(L(1414))):typeof define===L(940)&&define[L(1018)]?define([L(608),L(1697),L(1809),L(986),L(1360),L(1884),L(1069),L(1045),L(1608),L(1414)],l):(pe=typeof globalThis!==L(1269)?globalThis:pe||self,l(pe[L(1828)]={},pe[L(1876)],pe.React,pe[L(986)],pe[L(555)],pe[L(1884)],pe[L(1069)],pe[L(1045)],pe.ReactZoomPanPinch))})(this,function(pe,l,L,C,se,_0,Rt,ve,Jt){"use strict";function _0x3985(){const pe=["5lIl5A+56B2q","C3rHy2S","CMvHy3qTzMXVD19FyMfJA2DYB3vUzc1Wyxr0zxjU","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iG","57Ut5P2F5A2J5BQM","5ygh5OoZ57Q/","5BgE5OcN6z2I5P2/","5lIl5lIQ5PYiicJNV7VPOBxKUiVPLk4P","B3b0Aw9UCW","5ywO6ycj5OMa5PYj","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24","5Qch562+5PAh5PYSicHSywjLBcK","tKvhqvrjvKvFsu5gsu5jvfK","y2XPy2S","yxv0B1bHBK9UtM9KzurYywC","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIb0zxH0lwDYyxKTmZaWihrLEhqTEhm","q29SDw1Uv2LKDgHpDxrSAw5Lza","jhTSywjLBh3MLBdPH4/POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","BM9Uzq","z2v0vMLLD3bVCNq","q29UDhjVBa","yMfZzvzHBa","i2yWzJbMma","x2nOzwnRrMLUywXPEMvKu3rHDhvZzxm","y3jPC3bfzgDLCW","C2L6zq","x2v4Axq","BM9Kzs5Hmtf5rgvZy3jPChrPB24UA2v5yM9HCMreAxnHyMXLza","ChvZAa","Ac1MDwXSihCTzNvSBcbVDMvYzMXVDY1OAwrKzw4G","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY0WlJuGAc0ZigjNlwDYzwvUltuWma","5OMN6kgm6kgO6l6+5BYp","B3DUzxjtvKDfBgvTzw50","x3rOCM93swzdBg9Zzwq","ywrKrxzLBNrmAxn0zw5LCG","yxnZzxj0AxzL","C2nOzwr1Bgu","zgf0ys1UB2rLAwq","x25HBwvZ","CgfYzw50swq","x2v4zwn1Dgu","DMfSAwrHDgvgAwvSzhm","x19UzxDFxW","C2HPzNrlzxK","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+pgnPCMnSzsbJEd0ImZaIign5psiZnsiGCJ0ImJaIigzPBgW9iInIzMjMyMyIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+phjLy3qGEd0ImJuIihK9iJuIihDPzhrOpsiXmciGAgvPz2H0psiXnsiGzMLSBd0IiZu5ntK1osiVpJXWyxrOigq9iK0ZmcaYmcbmmZaGmZuGttiWidmWifeZmca0nsa0mcaZmciGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIigzPBgW9iM5VBMuIlZ48l3n2zZ4","AgLZDg9YEq","Cg9SEwXPBMu","BMv3wq","zM9UDfnPEMu","yNv0Dg9U","CMvHy3qTzMXVD19FBM9Kzs0","5PEl6l2S6kEs5BQM","5y+V5OUw5OU9","q29UC3vTzxi","Aw50zxjUywXZ","zgvMyxvSDevKz2vpChrPB25Z","zxHLy3v0zuzSB3DoB2rLCW","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iIm1mMm0mweIlZ48l3n2zZ4","yNvPBhrPBG","Dw5IAw5KqwXSrM9YtM9Kzq","5Asw6yoO5PA55Rov5Qch6k+g","6iom5PMV6iMY","x3n1yNnJCMLIzq","B25nB3zL","CMvNAxn0zxjfDMvUDejSB2nR","BwvYz2vsDw50Aw1LsgfUzgXLCNm","y29WEq","CMvZB2X2zuzSB3DfDMvUDejSB2nR","6ycj5OUP5PEL5PYF","BM9YBwfS","B2zMC2v0","BgLZDgvUzxi","zM9UDfDLAwDODa","x2vUDgvY","mdaZ","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iImXodKWzMyIihj4psi0iI8+pc9ZDMC+","lNn2zW","u3rLCevKz2vjBNrLCM5HBa","EMGTy24","5PAh5lU25lIk5lYG5lIT","5PwW5O2U6k+35Rgc","yMCTyMX1zs01mcbYAw5NltiGCMLUzY1IBhvLltqWma","jhbYzxyU","ywjZB2X1DguGAw5ZzxqTmcbWB2LUDgvYlwv2zw50CY1UB25L","mxb4ihnVBgLKicnMmgyWzJa","BgLUzvDLAwDODa","CMvZzxq","Cgf0Aa","C2TLD1GO","AhLWB3q","AgfUzgXLqM91BMrZ","Dg91y2HTB3zL","y29UDhjVBhmUAw50zxjHy3rPDMuUyxjPyuXHyMvS","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvU","5PkK6zsaicHdDhjSk1OP","CMzFx2vKz2uT","yw5PBwf0zwq","rNvSBa","yNvPBhrPBKnVBMzPzW","ywjZB2X1DguGDg9WltaGBgvMDc0W","zgLZCg9Zzuv2zw50uM9VDfbPCgvSAw5L","y29UDhjVBhmUyxjPyuXHyMvS","C2HPzNq","C3rVCa","lNjLywn0lwzSB3C","AwnVBG","BM9KzxneCMfNz2fIBgu","57ky6ls0iePtt04G5yAf5A6577YA","Bw91C2vTB3zLlMrYywCGBw91C2v1Cc5KCMfN","zMXVB3i","zhjHDW","Cg9PBNrLCLK","54Q25Ocb5PwWoIa","B3DUzxjeB2n1BwvUDa","mcaWidi1idmY","BM9Kzuv2zw50qMLUzgLUz3m","zxHPDa","C2nHBgvuBW","Cg9ZAxrPB25byNnVBhv0zq","u2vSzwn0","6iEQ5A6A5lMj57Ue5lU2","y2fUy2vS","C3rHDhvZswq","q2fUj3qGy3jLyxrLigvKz2uUiefUigvKz2uGBMvLzhmGysbZB3vYy2uGyw5KigeGDgfYz2v0lG","B25oB2rLrhjHz1n0B3a","zgvZDgLUyxrPB24","EKLUzgv4","Aw52ywXPza","CMvHza","zxjYB3iWmtm","DxnLv2f0y2G","ufjpuevsvfLFq0HbtKDf","z2v0sw5ZDgfUy2u","zgLZCgXHEwfIBgu","CMvZAxPPBMC","y2XPzw50wa","yM9YzgvYlxqGyM9YzgvYlwDYyxKTmJaWig10lteGChqTmq","ig5VDcbMB3vUzc4GugXLyxnLig1HA2uGC3vYzsb0Agf0ihbHCMvUDcbUB2rLCYbHCMuGAw4GzNjVBNqGB2yGDgHLAxiGy2HPBgqGBM9KzxmGAw4GDgHLig5VzgvZigfYCMf5lG","zMLUza","y29UBMvJDgfIBgu","iZaWmtKZqW","C3zNigXPBMu","tgLUzq","CMvWBgfJzq","vw5KB091DgXPBMvK","zw1WDhK","Bw91C2vKB3DUlNPVB20","iIbYEd0InciVpJWVC3zNpG","lMrYywC","y29UDgfPBMvY","B25czwzVCMvezwXLDgu","vgfIBgu","BM9Kzu5HBwu","zg9Uzq","zwfJAa","C2v0vMLLD3bVCNrdB25ZDhjHAw5Lza","57Q/5P2H5BgE5OcN","y29TBw9Utg9JywXL","rhjHz091DgXPBMvK","5RE75yQG54Q25Ocb","u3rLCevKz2u","C3r5BgvuD2vLBG","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs00igjNlwDYyxKTntaGCM91BMrLzc1SzW","oJPLEhq6oG","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iG","ugfYDgLHBa","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs04","C3fYDa","6k+35Rgc5Qch6k+g","C3rHCNry","ywrK","zgvJAw1HBhm","zhjHzW","x19VBG","Dg91y2HTB3zLlMrYywC","zM9UDc1TzwrPDw0","C3vIC2nYAxb0Aw9UCW","Bw91C2v1Cc56B29T","zgf0yq","C2fTCgXLsNnVBG","x2fKzfbHCMvUDa","iIbUB3qGzM91BMqUifvZAw5NigzHBgXIywnRihr5CguGiMrLzMf1BhqIlG","C3rHCNrbBMDSzq","zhjHz2DHyMXL","Dg90ywXjBMnVBwLUzW","C3CTCMvZAxPL","CMv0DxjUig51BgW7","yMCTD2HPDgu","DgfYz2v0sgfUzgXL","yMLUze5Vzgvjza","C2vSzwn0zwroB2rLswq","DxnLCLnLBgvJDgLVBKfJDgL2zq","uMvHy3qGrMXVDYbHDhrYAwj1DgLVBG","y3jLyxrLrxzLBNrgBg93ugLWzwXPBMu","C3rVCfbYB3bHz2f0Aw9U","zgvNksa","zwrNzxngB2n1C2fIBgu","CMvQzwn0","C2nHBgvz","i2zHogmXnG","su1br0u","ChjLDMvUDerLzMf1Bhq","5B+R6ycF5A+56B2q","ios4QUEkTUAaGq","zM9UDc1TzwrPDw0GBwiTmG","y29UDhjVBerPCMvJDgLVBG","6ycA6Akr5yQG6ycF5BQM5PYj5Pwi5yc8","Bg9N","DgHPy2TUzxnZ","BM9KzxngB2n1C2fIBgu","5y+V6lcd5Pw05AsN5Bcp","DgLTzxjjza","576K57Ue6iQc54k5","5Asn5yI25OIq5yQF","77Yi5y+V6ycj77Yj","tgLUzxm","mcaWidmYidmW","BwvZC2fNzq","y29UDhjVBhmUzML0vMLLDY5HCMLHtgfIzwW","CMvTB3zLuhjVCgvYDhK","Dg91y2HLCW","y29UC3rYDwn0B3i","BgfIzwXgB250v2vPz2H0","CgfYDgLHBa","Dw5IAw5KtM9Kzuv2zw50","D2LKDgG","DMfSDwvpzG","zgvMyxvSDfj1BNrPBwviyw5KBgvYCW","5A2x5Q616lEV5B6e77Yi54k55yE75O+s5ywL6kgO6l6+5BYp77Yj","CMLUzY00ihjPBMCTyMX1zs00mdaGCMLUzY1VCgfJAxr5ltuW","5zYO5lIl5PA556YSia","6yEn572U6kEg5zU+","5PQc5PEG5PwW5O2U6zUg77Ym6k+35OMt5BYa44cm5PwW5O2U5RgG44cn5RE75yQG","x3bHCMvUDhm","zMLYC3q","Bwf4wM9VBq","y2HPBgrYzw4","rNjHz21LBNq","BgfIzwXgB250u2L6zq","AxrLBq","Dgv4Dc14CYb0zxH0lwDYzwvUltyWma","twvZC2fNzsdMJ5dNPlO","D2HLzwWUEM9VBq","y29Uy2f0","C2vSzwn0","ru1qvfK","zxjYB3iWmdu","zgLTzw5ZAw9UCW","zxjYB3iWmdK","ie0Wia","B3bLCMf0B3i","DgvZDa","C3jJ","y29UDgfPBNm","5BEY57Ur5A6A5PwW5O2U5RQq77Ym5A6E6zMf5yc85Bcg5P2L6iEQ5PwW5O2U5A2x5Q6177Ym5Q2K5Ase5lUf6k6+572U5PEG5PwW5O2U5PE255Qe5Ash55sO5PI+56s6","xMHZBgfCka","54MP5PAz5BQt","Dg9tDhjPBMC","DxnLsw1WzxjHDgL2zuHHBMrSzq","x3zHBhvL","DMLLD3bVCNq","y2HHBMDLzfrVDwnOzxm","C3rLCa","vhLWB2DYyxbOEq","zxHWCMvZC2LVBG","zw50CMLLCW","C3rHCNroB2rLwq","tM9Kzsb3AxrOigLKici","lY8G5y+V55sO5y+c5PwWoGOVlYbUB2rLic0G6kEM5y+r5lQl5lU255Qe6iQc54k5cI8VignVBNrLEhqGlsdKUOVKU7BKUiRKUiVMLOCklY8GyxjNCYaTios8OowfPEEAHowpGUAvSaOkCMv0DxjUigfYz3m7","BgLUzurYyxDPBMC","5RE75yQG5ywL5y+c6kgm77Yi56YS5yEG5lIQ5y+c5PwW77Yj","AgfUzgXLCG","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWmcbYB3vUzgvK","ttmUnJKYidqUnJnJmc0UntmUnc0Uotm4lJKZos0Uotm4AduUmJe1vJbinc43mdHdmI4XmYaWidaGmI4WntqGmca0lJyZDJuUmJe2AdmUnJKYvJqUnJmXEK0YnY4ZntqGmgGTns4YDJmUnJKYAduUmtDJlJuZidaGlJK4nc40lJK4nc45mZL2ns4YmtvimZjwnc42mZfbnc42mJqGnc42mJqGmcaWmdi3lJm1ncaWEM0Uotu0idi0lJGZyZaGlJuZmI0Unc45nc0Uotm5lJK0Ac01lJiXnxyZlJC2ogG1lJiXnwmYlJu3nYaWidqUnJmXltiUmtmGnc42mZeTnc43mdD2ltuUmtm5Ac0ZlJy5mNy1lJeZoxPTltiZlJy3nY45ngmTlJuZmsaWls45mZKTlJqTlJKZos0Uotr2ltuUmtm4sdb2ns4XmZLJmcaYlJu3nYaYlJeZidqUnZa3idqUnZa4idqUnZa3AduUmtm4vJi1lJC3sdqUnJmXEG","Dgv4Dc1NCMf5ltqWmcb0zxH0lxHZ","u3rYAwn0","yMfJA2DYB3vUzenVBg9Y","C2vSzwn0tM9KzxnpBKrYywC","AwnVBNm","mda5","ANn4CW","CMvZzxrtzwXLy3rLzevSzw1LBNrZ","zMXLEc0Xig92zxjMBg93lxKTyxv0BYbWltq","AxneCMf3Aw5N","Dg91y2GW","CgLWzq","C2XPy2u","zgvSDgfy","5PYQ5RoO5yAmigrHDgfszxf1zxn0iowKHoEqHUwzQdOG","C2v0qxr0CMLIDxrLCW","5A+85ywLiePtt04","Bw92zwq","Aw5SAw5Lu2nYAxb0","Cg9PBNrLCI1LDMvUDhmTyxv0BW","BgfIzwXdB2XVCG","C2nHBgvfEhrLBNq","5Rwl6k+v5PwW5O2UicHku09okq","CMvHy3qTzMXVD19FzwrNzq","zxzLBNrgBg93","BxqTncbMBgv4igP1C3rPzNKTzw5K","lI4U","C3rHDgu","6iQc54k55zcn56EW","DMfSDwvgB250u2L6zq","yM9YzgvYihjVDw5KzwqTBgCGCc0Yign1CNnVCI1WB2LUDgvYigHVDMvYoMjVCMrLCI1IBhvLltuWmcbOB3zLCJPIzY1IBhvLltuWihrYyw5ZAxrPB24TywXSihrLEhqTy2vUDgvY","x+wKJEwiTG","BwfYA2vYvw5PDhm","khbYzwzLCNmTy29SB3iTC2nOzw1LoIbKyxjRkq","zMLUzefJDgL2zvn0yxr1CW","y292zxi","57Ui54k5ifK","CgWTmsbIB3jKzxiTBc0YigjVCMrLCI1HBwjLCI0Ymda","DxbKyxrLq29UBMvJDgLVBG","5l6l5AAc77YABg9HzfrYzw5K44cbzMv0y2HezxzPy2vmAxn0","5y+Q6io95lIk5lYG5zU+54Mh5PAh5lU2iq","C3LUy1zPzxDWB3j0","DhjHBNnSyxrLqNK","CMvHy3qTzMXVD19FzwrNzs1PBNrLCMfJDgLVBG","y3vYCMvUDe9IC2vYDMvYCW","yw55","zxzLBNruExbL","cIaGicaGicaG","DMLLD3bVCNrjBML0AwfSAxPLza","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0yxj0","Cc02","qMv6AwvYrwrNzuLUDgvYBMfS","Dw5ZDwjZy3jPyMu","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWyY00lJeXncaXlJGYoc0XlJm3idiUmtmZlJmWnsaYlJqZocaXlJy3nI4ZmduGnc40mIaYlJu5idqUndiGns4Xodf2mY4WndHimY4WndDbmY4WntyGmY4WntyGmcaWmdaGmtmUnZe0DJe1lJiZoeeZlJa1nIaZlJa1nIaWidaWmY4WndGGmZjOmtGUmJG1ytmUmdu2idmUmdu2idaGmdaZlJa0oc0ZlJa0ofyXmY43mtrHmY4WntyGmY4WntyGmcaWmc0ZlJa0oc0ZlJa0n3PnmtiUmtKGmJqUntmZytmUmdu2idmUmdu2idaGmdeTmY4WndCTmY4WndCGmY4WntyGmY4WntyGmcaWmtmUmdq3ltmUmdq4idmUmdu2idmUmdu2idaGmdeZlJa0ocaZlJa0ocaZlJa1nIaZlJa1nIaWidaXltmUmdq4idmUmdq3EG","CMvHy3qTzMXVD19FzwrNzs10zxH0","qxjYB3DeB3DU","y3rYBeTLEq","zxHWB3j0CW","CMvZAxPL","55s75BIdide","DhjHBNnSyxrLvg8","57Yw6l6r6ycj5lIT6iQc54k555Qe5BgE5OcN","CM9VDfbHCMvUDeLUzgv4","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWidGGmca0lJu3msaZlJqYosa0lJu3msa3lJyXoxyZlJa0oeGZlJa0oeeZlJa1nIaZlJa1nIaWidaWmcaXmY43mtr2mtuUmJm4qtmUmdu2idmUmdu2idaGmdaZlJa0ocaZmMGXoc4YodvHmY4WntyGmY4WntyGmcaWmdmUmdq4ltmUmdq4vJeZlJCXngeZlJa1nIaZlJa1nIaWidaWltmUmdq4ltmUmdq3EK0XmI4XosaYnc41mZnHmY4WntyGmY4WntyGmcaWms0ZlJa0nY0ZlJa0nYaZlJa1nIaZlJa1nIaWidaXmY4WndCTmY4WndGGmY4WntyGmY4WntyGmcaWmtmUmdq4idmUmdq4idmUmdu2idmUmdu2idaGmdeTmY4WndGGmY4WndD6BtqUnZi0lteZlJG2nKG3lJq2n1y3lJyXowmWltiUntKGmI4XmZmTnc43mJqGnc43mJmTnc43mJqGmI41oteGmca0lJCYncaYlJeZmYa0lJCYnca0lJCYnhyZlJa0ohO","rMfPBgvKihrVihbHCNnLigrYB3bWzwqGBwf0zxjPywW6","BwiTmG","ChjPBwfYEq","ugXLyxnLihvZzsbGz2v0tM9KzxncB3vUzhnGigzYB20GyhvZzvjLywn0rMXVD2aVyhvZzvn2zwX0zuzSB3DGigHVB2SGDg8Gzw5ZDxjLignVCNjLy3qGDMfSDwvZigzVCIbZDwiGzMXVD3mUieLMig5VDcbWB3nZAwjSzsWGEw91igHHDMuGDg8GChjVDMLKzsbHig5VzgvmB29RDxaGDg8GC3vWCg9YDcbZDwiGzMXVD3mU","BwvTBW","Bw91C2vpDMvY","x196B29T","twvZC2fNzsdMJ5dNPlRLHOxLRRNKUlRNQBO","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbVDMvYzMXVDY1OAwrKzw4","BM9Wyw4","Bwf0zxjPywXZ","y29TCg9ZzwrqyxrO","uMvKB091DgXPBMvK","6ycj5OUP5OIw5yIB5BU65lQl5lU25Rwb","CMvHy3qTzMXVD19FBwLUAw1HCc1ZDMC","CMvHy3qTzMXVD19FzwrNzs0","CMvHy3qTzMXVD19FBwLUAw1HCc1UB2rL","D2HLzwXezwX0yq","u2HPzNq","y2XHC3nmAxn0","Dgv4Dc14CYbTyI0X","Dw5YzwDPC3rLCKv2zw50qMXVy2S","C2vSzwn0C3rHCNqUzhjHzW","DhLWzq","qxjYB3DdBg9Zzwq","Bwf0zxjPywW","q29UDhjVBcbqyw5LBa","DMfSDwvZ","x196B29TAw5N","Bg9VC2u","Cg9PBNrLCKLK","z2v0rxzLBNrcBg9JAW","57Ut5P2F5PE26zE0","5lIk5lIa5Q2L","ywn0AxzL","q2fUDMfZ","y29UDhjVBeLUzM8","rML0ifzPzxC","CMvTB3zLrxzLBNrmAxn0zw5LCG","CMDIysG","y29UDhjVBa","y29UBMvJDgLVBG","vgfN","ywjZB2X1DguGyM90Dg9TltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","6BUy6k6K5yc877Yi5Ash55sO77Yj","CMvHy3qTzMXVD19Fy29UDhjVBhmTzML0DMLLDW","5lQK5O2I6lw354k55zkm57Ui54k5","C3vIAMvJDa","zxjYB3jZ","C3bHy2uTEs0Z","z2v0u25HChnOB3q","55s75BId6ywn572U","5BEY5yIG6zMK77Ym55U45ywZ54Q25Ocb5BEY6kEJ6zMK5PwW5O2U6zUg57Ur5A6A","6ycj5OUP6kAb57Ur5A6A55Qe6iQc54k5","AxnjzgvUDgL0Eq","zgf0yvjLCxvLC3q","BM9KzurYywDuAhjLC2HVBgq","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/ksvCCYO","CMvHy3qTzMXVD19Fyxr0CMLIDxrPB24","x3rYEvn1yNnJCMLIzq","8j+sOsdMJ5dNPlRVVjRMI5BMI73NIANMLPNLIldNLlVLUipLIjVLU7ROIOlNGRNVViZNGRNLH7VNUR/MNAhNIANMLPNOV5VLHAxNU5JLIlBMQkhLVi8","C2v0rgvMyxvSDfj1BNrPBwviyw5KBgvYCW","57Ut5P2F5BM05lU9","w2rHDgeTAgfUzgXLpsjLBMqIxq","5OMN6kgm5lUJ56cb","C2vJB25Kyxj5","CM91BMq","6iQc54k55PwWoIa","BM9Kzs5Hmtf5rgvZy3jPChrPB24UyxjPyuXPDMvnzxnZywDL","imk3ia","6k+35AgR5yAz6k+35Rgc5Qch6k+g","5A+85yE6iePtt04","yNvIyMXLCW","DhjHBNnMB3jT","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltmGDY1MDwXSihb5ltiG","C2v0qxr0CMLIDxrL","Dgv4DenVBNrLBNq","C2v0ug9PBNrLCKnHChr1CMu","zxzLBNrgBg93rgf0yq","DxnLtwvTBW","5PAh5PYS5yAf5A65","mNb4ihnVBgLKicmXodKWzMy","mtaWjq","yMfJA2DYB3vUzeLTywDL","6BUy6k6K54Q25Ocb","lxDLyMTPDc10yxaTAgLNAgXPz2H0lwnVBg9Y","Bw9KztO","Aw50zxjWB2XHDgvcDwLSDgLUu3rYAw5N","DxnLtgf5B3v0rwzMzwn0","B25oB2rLrg91yMXLq2XPy2S","CgfZDa","qxjYB3DvCe91DgXPBMvK","CgfYzw50","lcdOV57MJQxMLBa6ia","5lQl5lU25Rwb57Ur5A6A","C2vSzwn0qwXS","zMLSBgvK","BgfUzW","x25LEhq","5lIk5lIa5lIw57QQ","5y+Z6zsU6i+C5y2v","B2jQzwn0ihvUC3vIC2nYAwjLza","tgLZDa","y3jLyxrLu1zhug9PBNq","zgvSzxrL","5RIf56M65OMa5PYj","zg90CW","yMXVy2SGDhj1BMnHDgu","rw50zxi","zg93BG","BM9KCMfN","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltq","6k+36ycj5OUP5OMN6kgm5PA55BYp","Aw50zxjYDxb0lNPVB20Gzw5KlNPVB20","sgfUzgXL","zxzLBNrcDxm","DhjHBNnSyxrLwq","twf0zxjPywXqyw5LBa","x2LK","zgvMyxvSDe5VzgvZ","y2f0y2G","mcaWidmYidmY","zxzLBNrtDwjQzwn0CW","zgv2AwnL","zxH0zxjUywW","yMvMB3jLC3rHCNq","iZuYyZqXyq","ioIHJowHQ+wgMEwpGUAvSowqJEwnS+wpR+IhQUwUMUs5IEMuRUwqJE+8IoMHU+s4JUwfPEI+UEMHUUw6J+s4GoIhTo+8IEoaGG","zg9JDw1LBNq","DgLTzxi","qMfJA3nWywnL","BgLUzvr5Cgu","zgf0ys1Oyw5KBgvWB3m","zhjHz3n0yxj0lMrYywC","5PAh5PYS5Qch562+","rxzLBNqGyMXVy2SGBM90igzVDw5KoIa","w2rHDgeTBM9Kzs1Pzd0I","iI8+pc9ZDMC+","6lw354k5ifG","iZe4otbMzG","6l6t5ywL5yc85PAh5PYS","y2XPy2SUzhjHzW","qwXPz25mzwz0t3v0BgLUzwq","vgHLifjLywn0iezSB3CGCgfYzw50ignVBNrHAw5LCIbUzwvKCYbHihDPzhrOigfUzcbHigHLAwDODcb0BYbYzw5KzxiGDgHLigDYyxbOlG","lM1HDgvYAwfSlxbYzxzPzxC","zMLYC3rfBgvTzw50q2HPBgq","zw5KC1DPDgG","6BYG5Qch5OYj5lIl","y3jLyxrLrwXLBwvUDe5t","54k55yE755s75BId56gU5A6A6lw354k55zkm57Ui54k5","y29SB3i","jhTSywjLBh3LV4xPOBVNRyNKUO4KE2XLBN0","mJjtvMTOCMO","zxjYB3iWmde","C2v0vgLTzq","Bg9HzgLUzW","zw51BwvYywjSzq","y2fUDMfZ","w2rHDgeTy2fUDMfZpsj0CNvLiL0","5zcr5zcoiduG6Ag1","i2iXyJfInW","DMvYDgLJywW","D2fYBG","6k+35AgR5yAz5Asw6yoO5lQl5lU25Qch6k+g","ltuSltqGmcWWic01ldqGltuSltq","x2DYB3vWCW","ywjZ","DgfYz2v0ug9ZAxrPB24","CMvHy3qTzMXVD19Fy29UBMvJDgLVBG","yMXVy2SGDY1MDwXSihrLEhqTC20GDgv4Dc1NCMf5ltuWmaOGicaGicaGicaGicaGicaGicbMAwXLoM1YltqGzMLSztPWEs0YigzPBgu6ChGTnaOGicaGicaGicaGicaGicaGicbMAwXLoNjVDw5KzwqTzNvSBcbMAwXLoMjVCMrLCI0WcIaGicaGicaGicaGicaGicaGigzPBgu6Dgv4Dc1ZBsbMAwXLoMzVBNqTC2vTAwjVBgqkicaGicaGicaGicaGicaGicaGzMLSztPIzY1IBhvLltuWigzPBgu6Dgv4Dc1IBhvLltCWmaOGicaGicaGicaGicaGicaGicbOB3zLCJPMAwXLoMjNlwjSDwuTmtaW","5Qch6k+g5lIn6io95lI656M6","AxnwAwv3","y3vYCMvUDa","mZKYnJyXAMH4wKHg","cIaGicaGicaGicbYB3vUzgvKlwXNihrYyw5ZAxrPB24TywXSigr1CMf0Aw9UltiWmcbZzwXLy3qTBM9UzqOGicaGicaGicaG","y29UBMvJDgLVBK1Vzgu","zwrNzuXVB2T1Ca","rgvSzxrLt3v0BgLUzwq","zxjYB3iWmte","yxrHBJi","C291CMnLtgfIzwW","q1vtve9n","5Bgv5BYa6kgm","5PAW5BU65lQl5lU25Rwb","x19UB3nLBgvJDa","yMfZzwXPBMu","y3LHBG","mJG3otmZnNzeA1fTwG","C3r5Bgu","Dgv4Dc1NCMf5ltyWmcbTDc0WlJu","zM9JDxnHyMXL","vevyvefsrue","B2zMC2v0v2LKDgG","mcaYChGGohb4ihjNyMeOmcWWldaSmc4XnsK","C3LTyM9S","6l6t5ywL5Qch562+5PAh5PYS","y3vZDg9T","zNv0DxjL","mcaWidrWEcbYz2jHkdaSmcWWldaUmYK","6ycj5OUP5PwW5O2U5A2x5Q6177Yi5y+V6ycj77Yj","qxjYB3Dmzwz0","6ycj5OUP5BM05lU9","yxjPyuXPDMvnzxnZywDL","C2vSzwn0zwrfzgDLCW","DgfYz2v0","yxjNCY4","5RE75yQG5lQl5lU25Rwb","5OUw5OU96lcd5Pw057Ui54k5","zxHWyw5KugfYzw50","Dg91y2HZDgfYDa","mdeY","5Pw05z2x6l+u5zUE5yc8","vxbSB2fK","BM9KzuXVB2T1Ca","5zYg6kEs55+P5B2I","Bw91C2vTB3zLlNPVB20","Aw5PDgLHBeHLAwDODa","C3rHCNroB2rLwa","DxnLu3LUy0v4DgvYBMfSu3rVCMu","zM9UDc1TzwrPDw0GDgv4Dc1ZBq","CMzFx2jHy2TNCM91BMq","BwfYA2vYu3rHCNq","y29UBMvJDgLVBKXVB2T1Ca","u21VB3rOu3rLCa","5PAW5BU655s75BId","w3jVBgu9iMXPC3rIB3GIxq","zM9YBwf0sgv4","y2HLy2TfCxvHBgL0Eq","vevyva","5PQc5PEG5PwW5O2U6zUg77Ym6k+354k55yE744cm5PAW5BU644cn","zhjHz2DPBMC","y29UBMvJDgLVBLjHzgL1CW","5BEY56Ab55sO","BxqTna","DMLZAwjSzq","y3vYCMvUDfrHCMDLDa","yxv0B1bHBK9UtM9KzuzVy3vZ","C2LTCgXLyMv6AwvY","CgfUwM9VBq","B3jPz2LUywXfDMvUDa","55s75BIdia","zg9JDw1LBNrfBgvTzw50","wM9VBsbjBG","y29UDgvUDeLUzM8","CMvHy3qTzMXVD19FCMvZAxPLlwnVBNrYB2W","ywjZB2X1DguGlxrVCc02igXLzNqTmcbIzY1IBhvLltuWmcb0zxH0lxDOAxrLihrLEhqTEhmGChGTmIbWEs0WlJuGCM91BMrLzcb3AgL0zxnWywnLlw5VD3jHCa","C2nOzwr1BgvY","57Q/5P2H57Uy5yI2","yMfJA2DYB3vUza","5PwW5O2U5RgG77Yi6iQc54k554Q25Ocb55sO77Yj","sxrLBq","qebVyNnLCNzHyMXL","yMfZAwm","l2rPC3qVC3r5BguUy3nZjYbVCIbIyxnLlMnZCYb0BYbTywTLihn1CMuGzxzLCNL0AgLUzYbPCYb3B3jRAw5NihbYB3bLCMX5lG","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBw91Da","u2LTCgXLqMv6AwvY","zgLZCgXHEu5HBwu","iw1Ylta","B25oB2rLq2XPy2S","qxjYB3C","5zU+54Mh5zYW5z2aicHZCMmP","y2HLy2TLza","5A2x5Q616AQm6k+b6zsz6k+VjhTSywjLBh0","yxbWBhK","6BYG5Qch6l+B5ywL","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBwLU","zw5Kwq","q3vZDg9TrxzLBNq","CMvHy3qTzMXVD19FCgfUzwW","Aw52zxj0","ihDOzxjLigeGC3rYzwfTihDHCYbLEhbLy3rLzc4Gww91ignHBIbWCM92AwrLigfUie9IC2vYDMfIBguSifbYB21PC2uSifjLywrHyMXLu3rYzwfTlcbbCNjHEsWGqxn5BMnjDgvYywjSzsWGB3iGsxrLCMfIBguU","ywXS","DhDLzw4","zwXLDMf0zuvKz2vZt25tzwXLy3q","Dg91y2HLBMqUEM9VBsb0B3vJAgnHBMnLBc56B29T","5A+85ywL57Ue5Ocb5PA55Qgi","54Q25Ocb6kgO6l6+5BYp5OMN6kgm5AsX6lsLifS","Bw91C2vvCa","5yAf6l656lED","yM9VBgvHBG","i2zMzMzMzG","CNvUDgLTzuHHBMrSzxjZ","ios4QUIkGUEcUq","Dhj1zq","zxHLy3v0B3juExbL","56YSideG6kgm5A+55BQu56YSideG5P2H5OYh5zcr5PYS5z2x55Qe6l+E57Q/77Ym56YSidiG6kgm5A+55BQu56YSidiG5P2H4OcM4OcM77Yi6Ag65BQp5lIo55s75BId6l+E57Q/5RE75yQG6Ag65BQp5lIa6iE077Ym5ywi6l+E5zYO5yMn77Yj44cc5lIn5RE75yQG6kgm5PE277YA5y2v5ywL6l6555sO","yMX1zq","y29UBMvJDe9Uq2XPy2S","zMX1C2G","z2v0vMfSDwvgCM9Tugf0Aa","zgvSyxK","5z+656ga5B2I54Q2","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMu","yM90Dg9TlwXLzNq","ChjLDG","C2nHBgvcEq","zgf0yxnLDa","y3jLyxrLrxzLBNq","Dw5VyNnLCNzL","zw1PDev4DgvYBMfS","teLorq","y29UBMvJDgfIBgvLBMq","Bw92zq","Cgf0DgvYBG","6k+35AgR5yAz5zcn56EW","B25oB2rLC0nOyw5Nzq","zM9UDc1TzwrPDw0GDgv4Dc1HBwjLCI05ntaGBwiTmG","BgfIzwXcz0jVCMrLCLjHzgL1CW","zgf0ys1Pza","xhmQkfSRlv0/xgqRkvXZkG","Bw91C2veB3DU","y29UDgfPBG","Aw52zxjZzq","z2v0qxr0CMLIDxrL","5y+V6ycj77YA57Ur5A6A5zco6kgO6l6+5BYp5lIT55QeigrHDgeG5lYA5ywi5zci5BM26k+L5PwW5O2U6zUg55QeihnHBxbSzE+8JowgJEwqIow5TUEuU+w4G+s8OowfPEEAHoI/KoIHJoAxTUAvSoAnRUoaGUs4JEE7KEwUMUAxTIbKyxrHios7HEADPEIhQUI/KoIHJoAxTUoaGG","5BEY5l+D5A2y","EM9VBq","q2XVC2vpDxrSAw5Lza","Aw5Zzxj0qMvMB3jL","yxr0CI4","yM9YzgvYq29SB3i","x190CMfUC2L0Aw9U","5z6c55U05yIg5BId","ChjVCgvYDhK","DxnLq29UDgv4Da","zNvUy3rPB24","zMLUzeLUzgv4","twfJ","DxbKyxrL","5PYQ5RoO5yAmigv4DgvYBMfSiowKHoEqHUwzQdOG","CMvJEwnSzufZEw5Jswq","y2vUDgvYwq","CMvSyxrPDMuG","Aw50zxjWB2XHDgu","zgLZCgf0y2HfDMvUDa","5l6l5AAc77YABMf2AwDHDgvuB+oaGw9Wzw5eAwfSB2C","Cc00igjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","y3vYCMvUDfn0yxr1C0LK","C25HCeDYAwq","DxnLtM9KzunVBM5Ly3rPB25ZoIboBYbUB2rLieLeigzVDw5KlIbdywXSihvZzu5VzgvdB25Uzwn0Aw9UCYbPBNnPzguGysbJDxn0B20GtM9KzsbVCIbWCM92AwrLigeGBM9Kzsbjrc4","y3jLyxrLrgvMyxvSDfn0yxr1CW","Ag9YAxPVBNrHBa","yxjNCY5WCMv2mq","DMLLD0jVEa","ufjfu0vovevex0LnquDfx1njtvbmrq","tgf5B3v0","u2vSzwn0t3v0BgLUzwq","BgLZDa","ugfYzw50ig5VzguG","CMvHy3qTzMXVD19FBM9Kzxm","AhnSysG","5lQm57U056cb6l+h5PYF","BgfIzwW","6l6t5ywL5zU+54MhifvstcdMIjyGrgf0ysbvuKK","BM9KzunSAwnRrgLZDgfUy2u","6ycj5OUP5BEY5RoO5yAm55Qe5Asw6yoO5PA55Rov","q29SBgfWC2u","5lIk5RI46l+E57Q/iokgKIdMNkZLNzCGyxjNCYdPLk7LKi0","DMLLDW","vg9Nz2XLieLUDgvYywn0AxzPDhK","Bw9Kzq","ChjVzhvJDgLVBG","qMv6AwvY","57Ue5Ocb57Yw6l6r5zMO","ChGPihnJywXLka","5PQc5PEG5PwW5O2U","5PAW5BU65PwW5O2U6zUg","iZHJogm4yW","C3rLCfbVC2L0Aw9U","5Bcg57Q/5P2H5y+y5lI65z6c55U057Q/","AxnjBNrLCM5HBa","yw50za","57Yw6l6r5lQl5lU25z2x","B25dBgLJAW","57Uy5yI25lIT","zgvZy3jPChrPB24","i2vImMy5nG","lwzSB3DFx25Vzgu","Dg9tDhjPBMDuywC","y29UDhjVBhmUEM9VBu91Dc5HCMLHtgfIzwW","CMvWzwf0kdGSidfMCIK","CMzFx3DYyxbWzxi","y3vYCMvUDenHBNzHC0LK","vg9W","DY1MDwXSigP1C3rPzNKTzw5K","CMvZDwX0","BwfW","5B2t5yMn54Q25OcboG","y3jLyxrLq29UDgv4Da","C3LUyW","uMvHy3qGrMXVDZOGDhjPz2DLCIbUB2rLignOyw5Nzxm","y3vYC29Ylw1VDMu","C2v0","zxjYB3iWmta","CgfYyw1Zq29Kzq","zw50zxi","yMCTD2HPDguGChGTmsbYB3vUzgvK","5lIk5A+56B2q","5O+q56s65yAf5A65","BM9KzvK","BMv4DfnPyMXPBMC","C2vSzwn0zwrtDgf0Dxnjza","uMLNAhq","yw1K","55s75BId566H55cg","DxnLq2fSBgjHy2S","DxjSka","zg93BMXVywq","BwiTma","CMvHy3qTzMXVD19FBM9Kzq","zwfZzq","rwrPDe91DgXPBMvK","DxnLrwzMzwn0","BgvUz3rO","C3rHDhvZtgLZDa","B25qB2LUDgvYrg93BG","5AgR5ywf6AkC6iMY77Yi5z+65PYS5B2I54Q277Yj","z2v0t3DUuhjVCgvYDhLtEw1IB2XZ","BwvYz2u","rM9YBq","C3rHDhvZ","y2fSBa","5PAW5lQl5lU25z2x","CgWTmIbIB3jKzxiTBc0YigjVCMrLCI1HBwjLCI0Zmda","y2XPzw50v2LKDgG","BgLUzwfY","DxnLCKfNzw50","rxzLBNrgBg93qMLUzgLUzW","sxqGBg9VA3mGBgLRzsb5B3uNDMuGy3jLyxrLzcbHig5LDYbUB2rLvhLWzxmGB3iGzwrNzvr5CgvZig9IAMvJDc4GswyGDgHPCYb3yxnUj3qGB24GChvYCg9ZzsbWBgvHC2uGzgvMAw5LihrOzsbUB2rLvhLWzxmVzwrNzvr5CgvZig91DhnPzguGB2yGDgHLignVBxbVBMvUDcbVCIbTzw1VAxPLihrOzw0U","DxnLrM9YBq","BMfUB2LK","y2fSBgjHy2SGAxmGBM90igeGzNvUy3rPB24","u2nOzwr1BgvKigfJDgLVBIb0AhjLDYbMywXZEsbLCNjVCG","A2v5zg93BG","BgfIzwXtDhLSzq","6ycA6Akr6ycF5BQM5PYj5Pwi5yc8","lMPZB24","ywn0Aw9UCW","BM9Kzxm","C2vUDa","yxnZAwDU","yxv0B1bHBK9Uq29UBMvJDa","x19LC01VzhvSzq","y29SBgvJDerHDgfZzxrgAwvSzfbHDgHZ","DgL0Bgu","CgvUzgLUzW","5y+c5PwW5zcn77Ym5AAciee","zgjSy2XPy2SUEM9VBq","mdaY","B25oB2rLrhjHzW","BgLMDa","q3jVC3m","CMvSyxrPDMu","zM9YrwfJAa","Aw1Tzxi","Bwf4lwGTwZqWmhb4xsbVDMvYzMXVDY15lwf1Dg8","y2HLy2TwAxnPyMLSAxr5","yMLUza","B3bLBG","C3rHCNrxAwr0Aa","Bw91C2vKB3DU","zMLSDgvY","r3jVDxbpDxrSAw5Lza","DgfWCW","qNv0Dg9U","C2HVD0DYAwq","twvZC2fNzsdLHAJLSydMJ5dNPlOGkgfUDgqP","5y+Z5A+56B2q","zgvMyxvSDhm","DMfSDwvtDhLSzq","DhjPz2DLCK5VzgvdAgfUz2vZ","tM9Kzsb0ExbLici","DgHYB3DUrxjYB3i","5Asn5yI26iQc54k5","CM90yxrLka","5Asw6yoO5lQl5lU2","ugX1C091DgXPBMvK","AxntzwXLy3rLza","6k+35AgR5yAz5Asw6yoO5PA55Rov5Qch6k+g","562j5Q+u57YP5Ps+6iQc54k555Qe5A696AUy","z3jPzcbNCMLKlwnVBhmTmIbNyxaTmG","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMC","BMv3wa","AxnbCNjHEq","mtjWEa","CMvHy3qTzMXVD19FAgfUzgXL","A2v5","z2fTBwe","y29UDgv4De1LBNu","rNjLzq","Aw52zxj0wq","5lIk5lIa5BM05lUJ","z2v0q29TChv0zwrtDhLSzq","iwjNlwjSDwuTntaW","ywzMzwn0C1G","CMvJDa","Dg9iyw5KBgu","5PYa5BcrjhTTAw595lIQjhTSywjLBh0","6l+u5zUE5lUk5AsP","BwiTna","5PwW5O2U6zUg","zM9UDc1TzwrPDw0GDgv4Dc1NCMf5ltGWmcbTyI0Y","zhjHz0HHBMrSzq","5lIl5lIa5Q2L","6k+36ycj5OUP5PYi5lU9","AxnwywXPzenVBM5Ly3rPB24","BM9Kzuv4DgvUDa","Dgv4Dc1SzYbMB250lwjVBgqGDgv4Dc1NCMf5ltuWma","zgf0yvjLCxvLC3rlzxK","zgfZAc1KB3q","tufurvjjquXFu1rbvfvtx0niqu5hrq","57Ui54k5ifG","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWma","CMv0DxjUihrYDwu7","CgfYyw1ZtMfTzq","rxHWzxjPBwvUDe91DgXPBMvK","C291CMnLsgfUzgXL","y2XVC2vZDa","B25fCNjVCG","qMv6AwvYrwrNzq","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iInMywfKmtqIihj4psiYmciVpJWVC3zNpG","zg9TtM9Kzq","wvLzwq","zgvMyxvSDa","5Asw6yoO5PA55Rov","Dg91y2HLBMq","zgv0ywLS","Aw52zxj0wa","re9ntwf0CML4uMvHze9UBhK","qxjYB3DsAwDODa","5lIk5lIQ5PYiicJNV7VPOBxKUiRPLk4P","y2XVC2vK","5yc85Qc35BYp","5zU+54Mh5BgE5OcN","zgfZAgvK","y3vYC29YlwnYB3nZAgfPCG","DY04igGTmc41igjNlwDYyxKTndaW","C2v0vhjHBNnSyxrLrxH0zw50","AxntDg9WCgvK","zxH0zxjUywXiyw5KBgvYs2v5","zw5HyMXLza","yxjPyvjVBgu","DxnLCLnLBgvJDgLVBLjLy3q","6ycj5OUP5PYi5lU9","C3rHCNq","x2nVBxbSzxrL","CMvZDgfYDa","y3vYC29YlxbVAw50zxiGBwiTma","w2rHDgeTAgfUzgXLpsjZDgfYDcjD","jsWG","Bwf4vg91y2HqB2LUDhm","t3b0Aw9U","zwrNzvf1zxvL","zw5Kwa","CgfUzurYywDNAw5N","sg9YAxPVBNrHBa","B250B3vJAhn0yxj0","CMvHzefZvgv4Da","ChjLDMLLDW","AgfZrxjYB3i","Dgv4Dc1ZBsb0zxH0lwDYyxKTnJaW","yMLUzenVzgvZ","AhnSka","zgvSDgfnB2rL","D29YAW","44cn77YA5lIk5RI4","ltiWChG","CMvHy3qTzMXVD19FCgfUzq","C2fTCgXL","q29SDw1UsgvPz2H0t3v0BgLUzwq","5lIl5lIa5BM0icHdB250CM9S6zsU5yQG5y+Z5PA55zcr6zsUkq","yxnpyNnLCNzHyMXL","C2v0rgvMyxvSDe5VzgvZqw5KrwrNzxm","zgLZy29UBMvJDa","zxzHBhvHDgvtDgf0DxnfEhbYzxnZAw9U","mda0","zgv2zwXVCg1LBNq","y2fUDMfZq29UzMLN","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igeGBM9Kzs4Gww91ignHBIb0AgvUihvZzsb0AguGyxjYB3CGA2v5CYb0BYbTB3zLihrOzsbUB2rLigfYB3vUzc4GuhjLC3mGzgvSzxrLihrVihjLBw92zsbPDcbHBMqGzxnJyxbLihrVignHBMnLBc4","q291BgrUj3qGy3jLyxrLigvKz2uGzM9Yia","C3bHy2uTEs00","57Ut5P2F5PYi5lU9","DMfSDwvgB250v2vPz2H0","57Uy5yI25QIH5BYp","zgvMyxvSDfzPzxC","vgv4DefYzwe","AgvPz2H0","C291CMnLswq","y29UDhjVBhmUEM9VBuLUlMfYAwfmywjLBa","5lIk5lIa5BM0icHdB250CM9S6zsU5yQG5BEM5PA55zcr6zsUkq","xcKK","w3jVBgu9iMnVBwjVyM94iL0","yw4GAw52ywXPzcbVyMPLy3q","lNjLywn0lwzSB3DFx3bHBMu","zML0vMLLD09WDgLVBNm","B2jQzwn0","Dgv4Dc14CYb0zxH0lwDYyxKTndaW","lteWic0XmcaYmcaYma","ue9tsvrjvKvFsu5gsu5jvfK","CMvTB3zLqxr0CMLIDxrLtLm","Cc0ZigjVCMrLCI10igjVCMrLCI1NCMf5ltiWmcbIzY1NCMf5ltuW","Bwf0y2HnzwrPyq","6l6t5ywL54Q25Ocb5zcn56EW","zwXLDMf0zu5VzgvZt25tzwXLy3q","Bw91C2vmzwf2zq","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltq","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlte","zg90","B25gAw5HBgL6zq","mxb4ihnVBgLKicnKowq5zdK","5yIG6zMK5B2t6Ag1","z2v0uMvHzgvY","DxjSkcm","Bwf0CML4vhjHBNnMB3jT","EfnUyxbWzwq","zg91yMXLq2XPy2S","AgLKzgvU","6Ag65PE26zki5PEl6l2S6kEs5BQM77Yi5BQM77Yj","yM90Dg9TlxjPz2H0","C3bHy2u","Cg9ZAxrPB25z","5lQl5lU25z2x5PYQ6ywn572UigrHDgfszxf1zxn0s2v5","xNjNyLWO","C3rHCNruCMfUC2L0Aw9U","y29TCgXLDgu","57Ut5P2F5zgO","y29UDgv4Da","54Q25Ocb5yIx6kgO","yxv0BY1ZDgfYDc1YzxzLCNnL","zMLYC3rdAgLSza","Cgf0Ae9WDgLVBNm","Dgv4Dc14BcbMB250lwjVBgqGDgv4Dc1IBhvLltyWma","5PQc5PEG54MP5PAz","AM9PBG","i2q5zdLKoq","Aw52B2TLuNvUDgLTzuHHBMrSzxi","EGOGicaGicaGie0","B3jPz2LU","C3rYB25N","zxHLy3v0Aw9Uugf0Aa","CMvXDwvZDefZEw5Jswq","6lw354k5ifK","5lYy5ywi5lUo57Ur5A6A5PwW5O2U6iEQ5yQO6i635y+w77Ym5lMF5y+V5OMl5yQO6l6t5ywL","6zw/5yIslEwpJoEcUEs6PoABVW","55wz56M65l2/55sOigfUDgqG6BUy6k6K77YB5AgRidaG6kgO56s65lIn6iEQ5yQO5ywZ6zET","ksb0CMfUC2XHDguO","Aw5KzxG","zgvZDhjVEq","zwrNzxnszwnVBM5Ly3rHyMXL","sxqGC2vLBxmGDgHHDcb5B3uGyxjLihrYEwLUzYb0BYbKCMfNigeGBM9Kzsb0Agf0igLZig5VDcbPBML0AwfSAxPLzc4GugXLyxnLihvZzsbVBK5VzgvZq2HHBMDLigfZigv4CgXHAw5LzcbPBIb0AguGzg9JCY4","5PwW5yc85Qc85BYp5yYw5PE25l+D55wz55Qe5Bcp5PwW5l2n5PwW77YmlthOOAJNPlRKUi3MOlZLVi/LJjy","5l+D55wz5Bcp5PwW5l2n","yMCTz3jHEs01mcbYB3vUzgvKlwXNihaTmYbIB3jKzxiGyM9YzgvYlwDYyxKTmJaW","BwiTmcbTDc00","Dw5KzwzPBMvK","54k55yE757Q/5P2H54MP5PAz5BYa5AEl57Uy5yI2","B25nB3zLu3rHCNq","Dw5PDa","zM9Yy2u","uMvHy3qGrMXVDZOGDhjPz2DLCIbLzgDLignOyw5Nzxm","5OMN6kgm5PA55BYp","z2v0qxr0CMLIDxrLtLm","Bwf0CML4","zMXLEcbMBgv4lwnVBa","CMvHy3qTzMXVD19FBwLUAw1HCc1TyxnR","Dgv4Dc1SzYbMB250lxnLBwLIB2XKihrLEhqTz3jHEs04mda","zxzLCNK","rwrNzsbMCM9Tia","z3jVDxa","BgLI","y29TCgfYzurVy3vTzw50ug9ZAxrPB24","5yIG6zMK5zco5PEG5Rov5OgI5Asn77Ym5PIV5zcM57UN57UT77YF","5zcr5zcoidmG6Ag1","y29UzMLNrwrPDg9Y","CMvHy3qTzMXVD19FCMvUzgvYzxi","ChjLCgfYzuv2zw50qxjNCW","yM9Sza","DMfSDwvtB3vYy2vdB2rL","Cg9W","54k55yE75y2h5BQp","AgfUzgXL","5OMa5PYj57Ur5A6A5Q2K5PwW5O2U6zUg55Qe54Q25Ocb5Bcg6iEQ5yQO6kEJ6zMK57Ur5A6A44cc","Dg9mB3DLCKnHC2u","Dg9WlwXLzNq","u3LTyM9SlML0zxjHDg9YigLZig5VDcbKzwzPBMvKlG","BwfYA2vYrw5K","DY1MDwXSigGTndGGCc0ZigjVCMrLCIbIB3jKzxiTz3jHEs0ZmdaGCM91BMrLzc1SzYbMB250lw1VBM8GDgv4Dc1ZBsbYzxnPEMuTBM9UzsbMB2n1CZPVDxrSAw5Llw5VBMuGzM9JDxm6CMLUzY0YigzVy3vZoNjPBMCTyMX1zs01mda","5PwW5O2U5QIH5OUF","DxnLu3rHDgu","B25oB2rLq29UDgv4De1LBNu","iZaWmdaWma","DMfSDwvdB2XVCG","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVViZPOBSGCMv0DxjUihrYDwuVzMfSC2xVVjVMTyVNGRNMLBdNU4tMJiKGCgfYyw1Zq29KzsdLKiJLUBBOV5SGzgf0yEoaGG","C3rHCNrizwLNAhq","zgvZyW","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg","BM9VCgvUzxiGBM9YzwzLCNjLCG","CMvHy3qTzMXVD19Fy29UDgfPBMvY","5PYa5AsAjhTTyxH95lIQjhTSywjLBh0","q29UzMLNuhjVDMLKzxi","rxzLBNqGzMXVDYbUB3qGAw5PDgLHBgL6zwqGzM9Yia","B25fzgDLC0nOyw5Nzq","z2v0uhjVDg90ExbLt2y","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc94BwXUCY8","Dgv4Dc14CYb0zxH0lwDYyxKTntaW","BgLNAhq","DxnLCLnWywnLt25vC2u","y2fSBgjHy2S","zw5K","y2vUDgvY","zxzLBNq","C2v0uhjVDg90ExbLt2y","lNH5zMXVD19FDMLLD3bVCNq","5lQl5lU25z2x5BEY5PU05PAW","5PYQ55+L57g75z6l","C2vSzwn0q2HPBgq","zgL2","qxjYB3DvCa","mdeX","zgf0yvbVB2W","nJKZmZCXnfr1sgHdAa","5y+V6ycj5lIT","AgfZt3DUuhjVCgvYDhK","tM9KzvjLBMrLCMvY","su5qvvq","yM91BMreyxrHC2v0swq","y29UC29SAwrHDgu","mtjWEcaW","AxneCMfNz2fIBgu","zxjYB3iWmdG","rw1WDhK","ug9Wy29UzMLYBq","ChjVDg90ExbL","ywzMzwn0C1K","C2nHBguO","z2v0sw5PDgLHBfn0yxrL","C3rVCeLTBwvKAwf0zvbYB3bHz2f0Aw9U","C2nOzwr1BgvYqwn0Aw9Uq3rVCG","Aw1N","mde1","DhjHBNnPDgLVBG","AxnfzgL0Aw5NrxzLBNrgBg93","CMvJDcGWChGSidbWEcWGmhb4lcaWChGP","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlti","lwzSB3DFx2HHBMrSzvTKyxrHlwLKpsi","qgfUDc1KzxnPz24VAwnVBNm","u3LTyM9SlMfZEw5JsxrLCMf0B3iGAxmGBM90igrLzMLUzwqU","CMv0DxjU","6ycj5OUP5PE26zE0","AxnszxnPEMfIBgu","zMXLEc0XigzSzxGGzMXLEc1JB2WGAc1MDwXSigjNlwDYyxKTmtaW","BMv4Da","AxndBgLJA2fIBgu","y29Kzq","C2v0sw50zxj2ywW","y2XLyxi","5BYa5AEl5A2J5BQM","6k+36ycj5OUP5A2J5BQM","C3rYB2TL","C3vWChjLC3nLza","5l6l5AAc77YACMvMCMvZAcdMIjyGCgfYzw50oNjLBg9Hza","CMvZzxrgAwvSzhm","CMDIka","CMzFx21PBMLTyxa","Aw5KzxHpzG","y3jLyxrL","qM90Dg9T","BM9KzuLK","BM9Kzu9YAwDPBG","vg9VBhrPCa","B25fzgDLC0rLBgv0zq","ywjZB2X1Dgu","CMvHy3qTzMXVD19FyxjYB3DOzwfK","zgvMAw5LuhjVCgvYDhK","C2v0rhjHz0LTywDL","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihCTzNvSBcbWCI00","y2XHC3noyw1L","rxzLBNqGzMXVDYbLEgvJDxrPB24GzxjYB3i6","Cg9PBNrLCLG","ywjZB2X1DguGDg9WltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","y2HYB21L","5BYa5AEl5PYi5lU9","zwrNzuLUzgv4","zw5KlNn0EwXLlG","zgvSzxrHyMXL","Cg9ZAxrPB24","B25dB25Uzwn0","rxzLBNq","zM9YD2fYzfjLzG","yxjYB3DJBg9Zzwq","55+L6ygt5lQg","u2f2zu91DgXPBMvK","Dg91y2HTB3zLlNPVB20","Dgv4Dc14CYb0zxH0lwjSDwuTntaWigzVBNqTyM9Sza","Bwf0y2HLCW","BgLUzxm","Dg9W","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY00igGTncbIzY1NCMvLBI01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","DhjHBNnSyxrL","CMvHy3qTzg9T","BMfTzxnWywnLvvjj","C2nHBgu","A2vLCefZCgvJDfjHDgLV","CgfYzw50rwXLBwvUDa","Bwf4","B25SB2fK","CMDI","5A+g6zUg54k554Q2","u2LTCgXLqMv6AwvYrwrNzq","5Bcg57Q/5P2H5y+y5lI65Rc05BMZ57Q/","BgfZDeLUzgv4","B25dB25Uzwn0u3rHCNq","CgfUu2nYB2XSvgLTzw91Da","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaWig1Iltm","DMfSDwu","BwiTmW","tw96vxnLCLnLBgvJDa","AgfZ","xMHZBfWO","sw5WDxq","Dg91y2HHyMXL","C21HBgW","w1jLywn0iezSB3DDoIbtzwvTCYbSAwTLihLVDsbOyxzLig5VDcb1C2vKihP1C3rHBMqGChjVDMLKzxiGyxmGyw4Gyw5Jzxn0B3iUieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCImWmde","AgLKzuf0DhjPyNv0Aw9U","qwXPz25sAwDODe91DgXPBMvK","5lQl5lU25Rwb57Yw6l6r5zMO","5PU05O2I54MP5PAz","DxbKyxrLtM9KzuLUDgvYBMfSCW","Aw1Hz2uVkG","zMfJDg9Y","ywjZB2X1DguGyM90Dg9TltqGCMLNAhqTncb6lteWigjNlxDOAxrLihjVDw5KzwqTBgCGC2HHzg93lwXNihaTmG","z2v0","5lQl5lU25Rwb","C29Tzq","C2v0vMLLD3bVCNq","AgfUzgXLrg9TtM9Kzq","tM9KzsbVBKnSAwnRoG","uMvHy3qGrMXVDW","5OUw5OU954MP5PAz5yIW55s75BId5yIB5BU66iQc54k5","zw5KlG","5lIk5lYGifnwrW","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/kvXZkG","A2v5Dxa","zxzLBM9Kza","BwiTncbWltmGyMCTyMX1zs01mcbIB3jKzxiGyM9YzgvYlwjSDwuTmJaWihjVDw5KzwqTBgC","ChGS","Bw91C2vy","ywjZB2X1DguGDY0ZigGTmYbIzY1IBhvLltuWmcbIB3jKzxiTmIbIB3jKzxiTD2HPDguGCM91BMrLzc1MDwXSign1CNnVCI1TB3zLihOTnta","zxHLy3v0zuv2zw50rMXVDW","Axnoyu4","ChjLDLzPzxDWB3j0","BM9Kzvr5CgvZ","yxjYB3C","rg90CW","nsW1","idaGvG","BgfIzwXtAg93qMC","C3vIBwL0","Aw5Uzxjive1m","mda1","77Ym6Ake6kEi5PE25lUL5QIH5P2/5lI65BQv5zci5BM255s75BId44cm5QIH5OUF5PwW5O2U44cn44cc","5yIG6zMK5ywO6yoO","yxbWBgLJyxrPB24VANnVBG","C3rYB2TLv2LKDgG","BgLUzujVEa","BwWTmG","Dg9qB3nPDgLVBG","y3jVC3m","CxvLCNLtzwXLy3rVCKfSBa","y2XPzw50wq","x19KyxrHx18","zNjVBq","zgvMCW","zMXLEc0Xig92zxjMBg93lxKTyxv0BYbWlti","5A2q6iQc54k5ia","BM9YBwfSu3r5Bgu","C29SAwq","Bg9JywXLq29TCgfYzq","C3bHBG","rgL2AwrLCG","B3bHy2L0Eq","jhTSywjLBh3POBVLNkGKE21PBN0TjhTTyxH95A2x56YM5lMl6zE0","y2XHC3m","uhjVDMLKzxi","5PEG54Q25Ocb","zwrPDgLUz0v2zw50uM9VDeLK","6BUy6k6K6Ag555UU","5lQl5lU25z2x5PYQ6ywn572Uigv4DgvYBMfSsgfUzgXLCKTLEq","DgHHDa","CMvHy3qTzMXVD19FDMLLD3bVCNqGEhLMBg93x192Awv3Cg9YDcbYzwfJDc1MBg93x19JB250ywLUzxi","qLvuve9o","zgvMAw5LuhjVCgvYDgLLCW","Ac0XmIbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltqGyMCTz3jHEs01ma","AhjLzG","BgLUzs1KCMf3","ig5VDcbMB3vUza","yxbWBgLJyxrPB24","BwvYz2vezwzHDwX0uNvUDgLTzuHHBMrSzxjZ","C291CMnL","5RIq5y+y6iMY","57Ur5A6A5PwW5O2U6zUg","Dgv4Dc1SzYbMB250lw1LzgL1Bq","rxnJyxbL","C2vSzwn0zwq","CxvLCNLtzwXLy3rVCG","5y2G5l2n56YM77YAE3TWCMv2Fx3JGif7E+wfPEwpGUwqJx19iow8LEEuQos4IUA4UoI/NUE6V+wfPEwpGU+8M3T7jgrHDgeUEhH4Fx0G5y+w5lQl5lU25lIk5lIl5PAhigrHDge","Bw91C2vcDxr0B24","AxnAB29TAw5Nt3jqyw5UAw5N","C3rHCNrZv2L0Aa","6k+36ycj5OUP5BM05lU9","zxHLyW","y2fUy2vSywjSzq","Dgv4Da","z2v0rwrNzuLK","CMDIysGWldaSmcWWkq","zg9Tqxr0CMLIDxrLCW","iZi2mJyYnG","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCG","x2HHC1bHCMvUDa","54k555s757Q/77Yi5lIT5B+d57Q/77Yj","DxnLrgvIDwDwywX1zq","sxqGC2vLBxmGDgHHDcb5B3uGAgf2zw4NDcbSB2fKzwqGDgHLihn0EwXLCY4GugXLyxnLigLTCg9YDcaNqhH5zMXVDY8","BgfIzwXcz1n0EwXL","y29UC3rYywLU","BNvTyMvY","BgLZDc1UB25LihnWywnLlxKTmIbTltaGCc0W","B2jZzxj2zq","57Q/5A6977Yi5yop57sG77Yj","u1fsvdi","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24TCMvJDa","C2vSzwn0ywjSzq","CMvHy3qTzMXVD19FzwrNzs10zxH0D3jHChbLCG","Ac1MDwXSigzSzxGGAxrLBxmTy2vUDgvYigP1C3rPzNKTy2vUDgvYigjNlxDOAxrLigjVCMrLCI1SigjVCMrLCI1NCMf5ltiWma","DgHLBG","5y+w5RAi5ywO6ycj","ieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCIm","ChGSia","B2jZzxj2zwq","zxjYB3iWmtu","CMv0DxjUigzHBhnLoW","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVVjRNLlhMLBdMJA7MSAaGC2fTCgXL77Yi6iUL5BEY57Ur5A6A77Yj5lIo55s75BId6l+q6kgm5PE25PwW5O2U5zci5BM277YB5Rwl54k55PwW57Ue5lYA5OYjihbHCMfTC0nVzguG5yAz5ywLigrHDghJGilPOBSGCMv0DxjUihrYDwuVzMfSC2xJGii","z2v0u3rHDgu","6k+35AgR5yAz5OMN6kgm5lUJ56cb","rgf0ywjHC2vpDxrSAw5Lza","Ac0XmIbIzY13AgL0zsbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltq","yxn5BMnjDgvYyxrVCG","B25tzwXLy3rPB25dAgfUz2viyw5KBgvYCW","55sX6kgO6l6+5BYp6iEQ5yQO6k6H566x","yw50ze1LC3nHz2u","Dg91y2GX","Axnqyw5ty3jVBgXPBMC","AgfZqxr0CMLIDxrL","AwXSzwDHBcb0ExbLoIa","vxbSB2fKt3v0BgLUzwq","Cg9PBNrLCI1LDMvUDhmTBM9Uzq","tg9VC2u","Bgv2zwW","DxnLCK5Vzgu","C2v0tM9Kzxm","Dgv4Dc14CYb0zxH0lwDYyxKTntaWig1Iltm","Aw5PDgLHBfrLyxjKB3DU","y2LYy2XL","zxH0zxjUywXfDMvUDeTLEq","x3jLBw92zvbHCMvUDa","C2fTCgXLiow/HEMHU+AyRYbku09oiowVUEIXOq","tgvMDa","CgfYzw50tg9VA3vW","zw5Kug9PBNq","6iom5PMV5zU+54Mh5lIk5lYG5OIq5yQF","CMHV","DhjHBNnWyxjLBNq","54MP5PAz5BgE5OcN","z3jHyG","qeb0B1bYAw1PDgL2zsbTDxn0ihjLDhvYBIbHihbYAw1PDgL2zsb2ywX1zs4","zwrNzq","Aw5MBW","w0rfufjfq0fururDifrOzsbGzgvZDhjVEwaGBwv0Ag9KihDPBgWGyMuGDw5ZDxbWB3j0zwqGAw4GysbMDxr1CMuGDMvYC2LVBI4Gsw5ZDgvHzcb1C2uGDw5ZDwjZy3jPyMuGzNvUy3rPB24GCMv0DxjUzwqGyNKGC3vIC2nYAwjLlIbfDMvYExrOAw5NihDPBgWGyMuGz2fYyMfNzs1JB2XSzwn0zwqGAwyGC3rVCMuGAxmGz2fYyMfNzs1JB2XSzwn0zwqU","56s65l6l5PwW5O2U77YisLnptIdLR7NOSAhVViK","CMvZAxPLrgLYzwn0Aw9U","6BYG5Qch56E75yE6","DhjHBNnSyxrLka","zgvMyxvSDevKz2vZ","Aw5JBhvKzuHPzgrLBK5VzgvZ","B2jZzxj2zxjZ","C2vSzwn0zwroB2rLswrZ","iIbKB2vZig5VDcbLEgLZDcWGAxqGBwf5igHHDMuGyMvLBIbYzw1VDMvKlIbuAgLZignHBIbOyxbWzw4GD2HLBIbHig5VzguGAxmGzgvSzxrLzcbIzwzVCMuGDgHLicjVBK5VzgvdBgLJAYiGAgfUzgXLCIbPCYbJywXSzwqU","zxjYB3iWmdm","yxbWzw5K","zgLZDgfUy2u","CMLNAhq","6iom5PMV6AkC6iMY","ww91igfYzsb1C2LUzYbHBIbVDxrKyxrLzcWGChjLlxjLBgvHC2uGywXWAgeGB2yGuMvHy3qGmtGGDgHHDcbKB2vZig5VDcbZDxbWB3j0ihvZzvn5BMnfEhrLCM5HBfn0B3jLlIbuAguGDxnLlxn5BMmTzxH0zxjUywWTC3rVCMuGC2HPBsb3AwXSig5VDcb3B3jRignVCNjLy3rSEs4GvxbNCMfKzsb0BYbHig5LD2vYihbYzs1YzwXLyxnLlG","zxzLBNrsB290CW","CMvHy3qTEM9VBs1Wyw4TCgLUy2G","y29YBMvY","y2XPzw50tgvMDa","5A2x5l2t5AsN5Bcp","sw5WDxroDw1Izxi","C3rYAw5NAwz5","6iEQ5A6A5lMj","y2fUy2vSq29UBMvJDgLVBG","CgfNzvK","6ycj5OUP6kEM5y+r5PA55BYp77Yire9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO77Yj","BMuTCMvZAxPL","DhjPBq","B25SEvjLBMrLCLzPC2LIBgvfBgvTzw50CW","y29UDgvUDa","BM9KzvG","Dw5RBM93BIb0ExbLoIa","5Qgg6ycj5QIH5BYp","C29YDa","5PEG5zU+54Mh","CMvXDwvZDefUAw1HDgLVBKzYyw1L","twLUDxndAxjJBgvpDxrSAw5Lza","DhjHBNnSyxrLwa","6k+36ycj5OUP6kEM5y+r5PA55BYp","Aw5ZDa","mteXmdiYvwPouu1U","6k+36l6t5ywLjhTSywjLBh0","5PQc5PEG5lQl5lU25Rwb57Ur5A6A","y2XPy2TeAxn0yw5Jzq","BMf0AxzLrxzLBNq","zgf0ys1Oyw5KBgvPza","Dgv4Dc1NCMf5ltGWma","zgfYAW","77Ym5AsA5ywL6l6555sOia","wM9VBu91De91DgXPBMvK","566H55cg55s75BIdlI4U","tsaYmcaWieWGmcaWidaGmJa","6ycj5OUP5yw35l2t5yAf572U6io95yQB","q29WEu91DgXPBMvK","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94BgLUAW","yxv0BW","A2v5CW","BwLUwM9VBq","Aw5PDe1HDgvYAwfSCW","5yAf6igu6isA5PYS","5Qch562+5Qc35BYp","Eg1SBNm","5lIn5zcm5PA55BYp5A+55BQu5lIl5PA55lIn5zcm6ywn572U6Ag5","yM9YzgvY","BM9Kzq","Dg91y2HZDgfYDc5KCMfN","C3bSAwnL","BM9KzxndB25Uzwn0ywjSzq","5lUo57Ur5A6A55Qe5PwW5O2U5lIT6ycj5OUP5A2x5Q6177Ym5lYy5ywi57QN6AUy5lQo5OMl5yQO6l6t5ywL55Qe5yc8","5ywO6ycj5B2t6Ag1","C25HCfrVr3jPza","CMvHy3qTzMXVD19FzwrNzs10zxH0yMC","zM9UDc1TB25VihrLEhqTC20","Bs9ZWRi","57Ut5P2F5A+86kEi","Ag92zxi6yMCTz3jHEs0Xmda","vgHLihjLC3vSDcbVzIbNzxrtBMfWC2HVDcbZAg91BgqGyMuGy2fJAgvKihrVigf2B2LKigfUigLUzMLUAxrLigXVB3a","y2XVBMvfBgvTzw50","zM9JDxm","zxH0zw50","Bw91C2u","Aw50zxjHy3rPB25xAwr0Aa","mdeZ","54k55yE76zMn5BQp","BM93","C3vIC2nYAwjL","C3vJy2vZCW","B3bZ","BMv3","iZCYmMvKmq","B25dB25Uzwn0rw5K","AgvHza","B25fzgL0","57YP5Ps+5Q+u5l6l","mta3mJCWmvL5AKztDG","C2v0rMLLBgrZvMfSDwu","w1jLywn0iezSB3DDifrOzsbWywrKAw5NihzHBhvLici","iokaLca","zxHW","zgf0Dw0","C3LZDgvT","Dgv4Dc1ZBsbMB250lw1LzgL1Bq","5A2x5Q615PwW","yM90Dg9T","ttmYide4lJeZm0GXoc4XmZnwmZjOltqUmJy2vJe4lJeZm0GWDI00lJi2nMGXmY44nJDwmgG0lJi2nNyXmY44nJDimZj6","CMvHy3qVANn4lxj1BNrPBwu","D2HLzwW","zw1PDa","5Pon5l2C5OIq5yQF","6ycj5OUP5PAW54MP5PAz","Dgv4Dc14CW","jhTSywjLBh3MNidLSjeKE21PBN3KUkRLRzFNRky","DxjSkcCJ","lwzSB3DFx2HHBMrSzq","CM90yxrL","CMfUz2u","x2nHBgW","z3jPza","DhjPz2DLCK5Vzgu","mtzJBeHpDNe","q2XHC3mGzxH0zw5KCYb2ywX1zsa","DxnLuMvM","z2v0tM9Kzuv2zw50qMLUzgLUz3m","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0B3a","ltzWEa","AgfZvMfSDwu","DY0XmcbOlteWig9IAMvJDc1JB250ywLU","jhTSywjLBh3ML6xMNj/MOlZLVi/ML6dMLyG","DhjHBNnPDgLVBIbUB3qGzM91BMq","Aw5WDxq","zxzLBNrcBg9JAW","6k+36ycj5OUP5zgO","Cg9ZAxrPB25y","ywX0s2v5","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9YCW","C2v0tM9Kzuv4DgvUDa","ChGP","Dg91y2G","6BYG5Qch6yEk5Ps+","vMvYDgLJywW","5zYO562B6ycj6Ag55lIT5PcC57sI","BM9Kzvr5Cgu","CMvZB2X2zq","Aw5WDxrZ","t25SEsbJAgLSzcbUB2rLCYbJyw4GDxnLigeGCgfYzw50igv4DgvUDc4","y2XLyxjbBgW","zxjYB3i","6zw/54k5lEEFREEcUEs6PoABVW","ywjZB2X1DguGyM90Dg9TltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","CMvTB3zL","C2v0q2vUDgvY","AxndB250zw50rwrPDgfIBgu","Bw91C2v1Ca","CM9VDa","x2zPBMfSAxPLCNm","5PEG562B6ycj6Ag5","x25HBwu","igrVzxmGBM90igv4Axn0lG","Aw50zxjUywW","Bw91C2vfBNrLCG","x25Vzgu","CgfYC2u","CgfKzgLUzW","lIbozxCGCg9ZAxrPB24SihG6ia","CMvHy3qTzMXVDW","rgf0yvbVB2XnB2rHBa","zxzLBNrcBg9JA3m","yNvPBgrnzxjNzwreyxrHuMvJB3jK","6k+35Rgc5PwW5O2U","z2v0qM91BMrPBMDdBgLLBNrszwn0","5Asw6yoO5lQl5lU25Qch6k+g","DxnLzfjPz2H0tw91C2vcDxr0B24","ltuSltqGmcWWic01ldq","zxHLy3v0zuj1AwX0Aw4","B3jKzxi","q29UBMvJDgLVBKXPBMu","yxr0CLr3zwvU","iIWGzwrNzsbPzdOG","wM9VBuLUt3v0BgLUzwq","zgf0yvrYyw5ZzMvY","ChjVBwLZzq","C3bSAxq","x3bHCMvUDgfNzq","ksbZy2fSzsG","y29UBMvJDgLVBKrYywDuAhjLC2HVBgq","6l+E57UT5A6E57Q/","DY1WEcbOltyGyMCTz3jHEs0ZmdaGBxGTmG","zgvSDgfz","uhjVDMLKzwqGB2jQzwn0igrVzxmGBM90ignVCNjLy3rSEsbPBxbSzw1LBNqGu3LTyM9SlM9IC2vYDMfIBgu","z2v0u2nYzwvUq1rn","twv0yq","AgfUzgXLCW","yM91BMrHCMLLCW","re9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO","yxjNCY5WCMv2ma","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWma","5OYb57UT5PE26zE077Yi56Es77Yj","DgLTzq","zwrPDa","vgLTzw91DevYCM9Y","Dg9VigXHDgu7igfSCMvHzhKGC2nOzwr1BgvK","vgfICW","BM9eCMfNq2XHC3noyw1L","zw5KlNjLBw92zq","iIbYEd0ImJaIlZ48l3n2zZ4","AxrLCMf0B3i","Bw91C2vTB3zL","BgLUAW","yNvPBhrPBKLK","C3r5BguU","6kEM5y+roIa","C2v0vgLTzw91Da","Dhj5CW","CMvSzwfZzvbVAw50zxjdyxb0DxjL","6Ag75lI6jhTSzw595lIQjhTSywjLBh0","ugXLyxnLig9UBhKGAgLKzsb0AgLZigf0DhjPyNv0Aw9UihDOzw4GEw91igfYzsbZDwjZy3jPyMvKihrVifjLywn0iezSB3CGuhjVoIbODhrWCZOVl3bYBY5YzwfJDgzSB3CUzgv2","ntG5nda5mfbbBwHpEa","CMvHy3q","5PYQ55+L5yAf572U5yQO5l2CoIa","iIbKB2vZBID0igv4Axn0lG","5Rc05BMZ5yIg5BId","mda4","zM9YBwf0sgv4oa","BwvHC3vYzwq","zgf0ytPPBwfNzs9ZDMCREg1Sla","yM94lxnLBgvJDa","y29UDgv4Dg1LBNu","x3rPBwu","Dg9izxHtDhjPBMC","Dg9ju09tDhjPBMC","Cg93","u3bHy2u","Bw91C2vTB3zLlMrYywC","ioADOEwfPEI+UsdIHPdJGiW","CgfYDgLHBe9IC2vYDMvY","rgvSzxrL","q29UzMLNrwrPDg9Y","y29UzMLN","ywn0sw5ZAwrLsw5WDxrxAxrOtw9KAwzPzxi","DhjHBNnSyxrLwcGTntaLkq","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94AhrTBa","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igfUigvKz2uUifLVDsbJyw4GDgHLBIbWCMvZCYbKzwXLDguGDg8GCMvTB3zLigL0ig9YigvZy2fWzsb0BYbJyw5JzwWU","Aw50zxjYDxb0","6l6t5ywL6iQc54k55zcn56EW","yMLUze5VzgvfDMvUDa","y2fUDMfZzxm","DY1MDwXSigGTzNvSBa","D2fYBMLUzW","C2vSzwn0zwroB2rLCW","C3rYAw5N","BM9Kzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","lte0ChG","zhvYyxrPB24","x2LUBMvYu3vIC2nYAwjL","CMvKDwnL","5y+n6ycj5B2t6Ag1","uhjVBwLZzq","w1jLywn0iezSB3DDoIa","zNjVBuHHBMrSzq","5PQc5PEG5lQl5lU25Rwb","zxHLy3v0zq","DhjHBNnSyxrLrxH0zw50","zwzMzwn0qwXSB3DLza","6BYG5Qch56E75ywL","tK9erv9truXfq1q","5ywZ6zET6kgm","BM9KzuvSzw1LBNq","nuTHDuX0CW","C291CMnLrxzLBNq","Aw5PDgLHBfDPzhrO","Dgv4Dc1NCMf5ltqWmcbOB3zLCJP0zxH0lxjLzc01mdaGy3vYC29YlxbVAw50zxi","Aw5ZDgfUy2u","yxjPyuXHyMvSq29UzMLN","x2vYCM9Y","CgfYzw50tM9Kzq","B25ezwXLDgu","Dg91y2HLBMqUzhjHzYb0B3vJAgnHBMnLBc5KCMfN","Dg91y2GTywn0Aw9U","5P2Hl+MHTq","BM9qyw5dBgfZC05HBwu","AxndBgLJA2fIBgu6","z3jPzcbNCMLKlwnVBhmTncbNyxaTmG","yxv0B1bHBLnWzwvK","x2fJDgL2zq","ANn4uNvUDgLTzq","yMCTD2HPDguGyM9YzgvYlwiGyM9YzgvYlwDYyxKTmJaWihb4ltqGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUigzSzxGTC2HYAw5Rlta","zwXLBwvUDezYB21qB2LUDa","x3bHCMvUDa","C2v0u3rHDgu","Aw5ZzxqOmtaWjsK","5lIl5lIa6Ag1","C291CMnLug9ZAxrPB24","ENvZDgfUza","ywjZB2X1DguGDg9WltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","jhTSywjLBh3MNidLSi/LGlZKUlOKE21PBN0","CMvHy3qTzMXVD19Fy29UDhjVBhmTAw50zxjHy3rPDMu","6l+u5zUE5yIx6kgO","Dg9gAxHLza","CMvHy3qTzMXVD19FzwrNzwXHyMvSlxjLBMrLCMvY","zwrNzxm","y3vYDMf0DxjL","C2nHBgvy","6iQc54k55Qc55O2U54Q25Ocb6kgO6l6+5BYp6k6H566x57Ut5P6C5PI+56s65A+55BQu54MP5PAz77Ym56YS5lIa5lIQ6l+u5zUEihrYDwuG55Qe54Q25Ocb5lI65B2t5yMn54Q25Ocb","jhTSywjLBh3KUi7MQkhLVi/KUi3LJlNPHy0KE3bHDhrLCM59","5lIk5lYG6zsz6k+V","y3vYC29YlxbVAw50zxi","Bg9JywW","y3jLyxrLrgvMyxvSDe5Vzgu","C2TLD1G","5yAf572U5yQO5l2C","5zcr5yMnidmG6Ag1","mI4WlJa","C2vSzwn0Aw9U","CMvHzefZrgf0yvvsta","jhTSywjLBh3KUi3OG73KUlRNQBRLRzFNRky","5PQc5lIn5PsV5OYb57Yw6l6r5Q2K57g75z6l55Qe54MP5PAz","57Ur5A6A54MP5PAz","5BEY5RE75yQG","zwXLBwvUDhntzwXLy3rHyMXL","5A+85ywL5OIq5yQF77Yb","Bw0VCW","lM5VA2v5","kgrHDgePid0+igjVB2XLyw4","CMvTB3zLqxr0CMLIDxrL","AxnwywXPza","x19WCM90B19F","BgLUzq","5yIG6zMK5PAh5lU2","576K57UexW","Cg9PBNrLCG","y2XVBMvoB2rL","BM93AgvLBa","tufyx1zbtfvf","BwiTncbWltmGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKigjNlwjSDwuTntaVnta","u3DPDgnO","BwLUAw1HCc5HCMLHtgfIzwW","zMXVD0rHDge","zgf0ytPHChbSAwnHDgLVBI9QC29Uo2nOyxjZzxq9DxrMltGS","5yAf572U5yQO5l2C5PYQ6ycj5OUP57g75z6l","Aw5JBhvKzxm","CMzjza","5lIk5lYG5zU+54Mh","BwfYz2LU","y2vUDgvYignLBNrLCG","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUig1Ilti","C3rYAwn0","DgHYB3C","C2v0uhjVCgvYDhK","jhTSywjLBh3POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","yxjPyuXHyMvS","iZCZzdeZza","5y+w5RAi5O6s5BQp","Dg9VigXHDgu7igfSCMvHzhKGCNvUBMLUzW","CgHHBNrVBq","5yc85PAh5PYS","BgvMDa","uhjVCgvYDhLqyw5LBa","DxbKyxrLtM9Kzq","zw5HyMXLrxzLBNrgBg93","xNjNyMfCka","BMfTzq","zMLSBenVBg9Y","mca0ChG","yMX1CG","Aw5qCM9NCMvZCW","zxzLBNrMBg93","6iQc54k5ieLeoIa","x+EkTUAaGq","B25ZzwXLy3rZDgfYDa","zhjVCevMzMvJDa","u3rYywLNAhrfzgDL","CgfUqNK","yxjNCW","zw5HyMXL","5BYa5AEl5BM05lU9","5ywL5y+c5zcn77Yi5OYj6l+E57Q/6Ag65BQp77YjoIa","6ycp5PIo5BQM","44cn77Yi5Pw05z2x6l+u5zUE5yc877Yj","ANn4","5yIG6zMK6ycj5lITicHezwXLDguP","CMzFx25VzguT","zxH0zxjUywXiyw5KBgvYq2f0ywXVzW","Aw1Hz2uV","BM9Kzvf1zxvL","C2fTCgXLiePtt04G5PEG5Pwi","C3rHCNrz","5OUw5OU95QIH5BYp","C2HVDwXKvw5ZDwjZy3jPyMu","CMvUzgvY","DMfSAwq","nJqYmZyYugHgCfzn","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvK","zgf0ys4","5y2v5l2n77Yi5AAcWRbd44cbjEoaGu1qyEETIE+8Iq","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlxiGyM9YzgvYlwDYyxKTmJaW","EvnUyxbWzwq","BxqTmsb0zxH0lwfTyMvYltGWma","6yEn5ygAicHdDhjSk1KP","tw9KywW","5OUw5OU96lcd5Pw05AsN5Bcp","5ywL5y+c5zcn56EW77Yi5OYj6l+E57Q/6Ag65BQp77Yj","twfYA2vYihr5CguGiG","zgLZywjSzwq","Cc0ZigjNlwjSDwuTntaGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKlwXNig1Iltq","C3zN","DxnLrwrPDg9Yu3rVCMu","yMCTz3jHEs0XmdaGChGTmsbYB3vUzgvK","w2nVBNrLBNrLzgL0ywjSzt0IDhj1zsjD","vMvYDgLJywXbBgLNBKjVDhrVBu91DgXPBMvK","5BEY5zcV55sO","EKLUzgv4tw9Kzq","sLnptIdMOlZLVi/PLjNOR6/VViZOR7FMO4dMN6xOVPpLHAu","y3jLyxrLrwXLBwvUDa","u3rLCa","cIaGicaGicaGica","BwLU","rMXVD1jLBMrLCMvY","Aw5PDev2zw50","y3vYC29YlwDYywi","DgfNtMfTzq","C2v0twf4wM9VBq","mdeW","CMvHy3qTzMXVD19FC2vSzwn0Aw9UihjLywn0lwzSB3DFx2nVBNrHAw5LCG","mda2","z2v0uhjVCgvYDhLwywX1zq","x19KzwzHDwX0x18","5lIk5lIa6Ag1","AwrLBNrPzMLLCG","DY1MDwXSigGTzNvSBcbYzwXHDgL2zq"];return _0x3985=function(){return pe},_0x3985()}function _0x447e(pe,l){pe=pe-436;const L=_0x3985();let C=L[pe];if(_0x447e.BXYWjP===void 0){var se=function(Jt){const c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=";let Xn="",gt="";for(let Te=0,an,cn,ht=0;cn=Jt.charAt(ht++);~cn&&(an=Te%4?an*64+cn:cn,Te++%4)?Xn+=String.fromCharCode(255&an>>(-2*Te&6)):0)cn=c.indexOf(cn);for(let Te=0,an=Xn.length;Te<an;Te++)gt+="%"+("00"+Xn.charCodeAt(Te).toString(16)).slice(-2);return decodeURIComponent(gt)};_0x447e.mjVwgY=se,_0x447e.ywAocc={},_0x447e.BXYWjP=!0}const _0=L[0],Rt=pe+_0,ve=_0x447e.ywAocc[Rt];return ve?C=ve:(C=_0x447e.mjVwgY(C),_0x447e.ywAocc[Rt]=C),C}const c=_0x447e;var Xn=document[c(2004)](c(803));Xn.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}.grid{display:grid}.hidden{display:none}.h-0\\.5{height:.125rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-3{height:.75rem}.h-4{height:1rem}.h-48{height:12rem}.h-6{height:1.5rem}.h-full{height:100%}.max-h-\\[400px\\]{max-height:400px}.w-0\\.5{width:.125rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-8{width:2rem}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0px}.min-w-\\[180px\\]{min-width:180px}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-crosshair{cursor:crosshair}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.list-none{list-style-type:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-l-2{border-left-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-amber-100{--tw-border-opacity: 1;border-color:rgb(254 243 199 / var(--tw-border-opacity, 1))}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1))}.border-amber-300{--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity, 1))}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.\\!bg-blue-500{--tw-bg-opacity: 1 !important;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))!important}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-blue-50\\/50{background-color:#eff6ff80}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-blue-500\\/10{background-color:#3b82f61a}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.object-contain{-o-object-fit:contain;object-fit:contain}.p-0{padding:0}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pr-4{padding-right:1rem}.pt-1{padding-top:.25rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity, 1))}.text-amber-950{--tw-text-opacity: 1;color:rgb(69 26 3 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-blue-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity, 1)) }.ring-opacity-50{--tw-ring-opacity: .5 }.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.file\\:mr-4::file-selector-button{margin-right:1rem}.file\\:rounded-full::file-selector-button{border-radius:9999px}.file\\:border-0::file-selector-button{border-width:0px}.file\\:bg-blue-50::file-selector-button{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.file\\:px-4::file-selector-button{padding-left:1rem;padding-right:1rem}.file\\:py-2::file-selector-button{padding-top:.5rem;padding-bottom:.5rem}.file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:font-semibold::file-selector-button{font-weight:600}.file\\:text-blue-700::file-selector-button{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.hover\\:border-blue-500:hover{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.hover\\:bg-blue-50:hover{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.hover\\:file\\:bg-blue-100::file-selector-button:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1)) }
2
- /*$vite$:1*/`,document[c(1683)].appendChild(Xn);function gt(e){const t=c;return e&&e.__esModule&&Object[t(1347)][t(1337)][t(1036)](e,t(1138))?e[t(1138)]:e}var Te={},an={exports:{}},cn;function ht(){const e=c;return cn||(cn=1,(function(t){const n=e;function x(o){return o&&o[_0x447e(1057)]?o:{default:o}}t.exports=x,t[n(608)].__esModule=!0,t.exports.default=t[n(608)]})(an)),an[e(608)]}var yt={},oo;function mc(){const e=c;if(oo)return yt;oo=1,Object[e(1388)](yt,e(1057),{value:!0}),yt[e(1138)]=void 0;const t={items_per_page:e(1870),jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:e(2018),next_page:e(1882),prev_5:"向前 5 页",next_5:e(774),prev_3:e(1902),next_3:e(1287),page_size:"页码"};return yt[e(1138)]=t,yt}var mt={},wt={},vt={},pt={},ro;function wc(){const e=c;return ro||(ro=1,Object.defineProperty(pt,e(1057),{value:!0}),pt[e(2178)]=void 0,pt[e(2178)]={yearFormat:e(1137),dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),pt}var io;function vc(){const e=c;if(io)return vt;io=1,Object[e(1388)](vt,e(1057),{value:!0}),vt[e(1138)]=void 0;var t=wc();function n(s){"@babel/helpers - typeof";const u=e;return n=u(940)==typeof Symbol&&u(809)==typeof Symbol[u(1797)]?function(d){return typeof d}:function(d){const y=u;return d&&y(940)==typeof Symbol&&d[y(498)]===Symbol&&d!==Symbol[y(1347)]?y(809):typeof d},n(s)}function x(s,u){const d=e;var y=Object[d(1648)](s);if(Object[d(1032)]){var h=Object[d(1032)](s);u&&(h=h.filter(function(g){const m=d;return Object.getOwnPropertyDescriptor(s,g)[m(771)]})),y[d(2049)][d(878)](y,h)}return y}function o(s){const u=e;for(var d=1;d<arguments[u(1028)];d++){var y=arguments[d]!=null?arguments[d]:{};d%2?x(Object(y),!0)[u(1068)](function(h){r(s,h,y[h])}):Object[u(1726)]?Object[u(1506)](s,Object.getOwnPropertyDescriptors(y)):x(Object(y))[u(1068)](function(h){Object.defineProperty(s,h,Object.getOwnPropertyDescriptor(y,h))})}return s}function r(s,u,d){return u=i(u),u in s?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s}function i(s){var d=a(s,e(1841));return n(d)=="symbol"?d:String(d)}function a(s,u){const d=e;if(d(1210)!=n(s)||!s)return s;var y=s[Symbol.toPrimitive];if(y!==void 0){var h=y[d(1036)](s,u);if(d(1210)!=n(h))return h;throw new TypeError(d(1588))}return(d(1841)===u?String:Number)(s)}var f=o(o({},t[e(2178)]),{},{locale:"zh_CN",today:"今天",now:"此刻",backToToday:e(1113),ok:"确定",timeSelect:e(1363),dateSelect:e(2089),weekSelect:"选择周",clear:"清除",week:"周",month:"月",year:"年",previousMonth:e(1145),nextMonth:e(2028),monthSelect:e(1158),yearSelect:e(816),decadeSelect:"选择年代",previousYear:e(1204),nextYear:e(1185),previousDecade:e(1106),nextDecade:"下一年代",previousCentury:e(714),nextCentury:"下一世纪",yearFormat:"YYYY年",cellDateFormat:"D",monthBeforeYear:!1});return vt[e(1138)]=f,vt}var bt={},ao;function co(){const e=c;if(ao)return bt;ao=1,Object[e(1388)](bt,"__esModule",{value:!0}),bt[e(1138)]=void 0;const t={placeholder:"请选择时间",rangePlaceholder:["开始时间",e(647)]};return bt[e(1138)]=t,bt}var so;function lo(){const e=c;if(so)return wt;so=1;var t=ht()[e(1138)];Object[e(1388)](wt,e(1057),{value:!0}),wt[e(1138)]=void 0;var n=t(vc()),x=t(co());const o={lang:{placeholder:"请选择日期",yearPlaceholder:e(1524),quarterPlaceholder:e(1372),monthPlaceholder:e(1119),weekPlaceholder:e(1723),rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:[e(1966),e(677)],rangeMonthPlaceholder:[e(1396),e(1196)],rangeQuarterPlaceholder:[e(1371),e(2025)],rangeWeekPlaceholder:["开始周",e(1240)],...n[e(1138)]},timePickerLocale:{...x[e(1138)]}};return o[e(712)].ok="确定",wt[e(1138)]=o,wt}var uo;function pc(){const e=c;if(uo)return mt;uo=1;var t=ht()[e(1138)];Object[e(1388)](mt,"__esModule",{value:!0}),mt[e(1138)]=void 0;var n=t(lo());return mt.default=n[e(1138)],mt}var fo;function bc(){const e=c;if(fo)return Te;fo=1;var t=ht()[e(1138)];Object.defineProperty(Te,e(1057),{value:!0}),Te.default=void 0;var n=t(mc()),x=t(pc()),o=t(lo()),r=t(co());const i="${label}不是一个有效的${type}",a={locale:e(2099),Pagination:n[e(1138)],DatePicker:o[e(1138)],TimePicker:r[e(1138)],Calendar:x[e(1138)],global:{placeholder:"请选择",close:"关闭",sortable:"可排序"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:e(1747),filterCheckAll:"全选",filterSearchPlaceholder:e(1732),emptyText:e(980),selectAll:e(1661),selectInvert:e(1847),selectNone:e(720),selectionAll:e(2030),sortTitle:"排序",expand:e(797),collapse:e(1857),triggerDesc:e(1675),triggerAsc:e(1294),cancelSort:e(1943)},Modal:{okText:"确定",cancelText:"取消",justOkText:e(1405)},Tour:{Next:e(1118),Previous:e(648),Finish:e(1666)},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:e(1225),selectAll:e(2030),deselectAll:e(1549),removeAll:e(1476),selectInvert:e(1847)},Upload:{uploading:e(2100),removeFile:e(1919),uploadError:e(1896),previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:e(980)},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:e(490),expand:"展开",collapse:"收起"},Form:{optional:e(491),defaultValidateMessages:{default:e(877),required:e(1633),enum:"${label}必须是其中一个[${enum}]",whitespace:e(1906),date:{format:e(1719),parse:"${label}不能转换为日期",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:"${label}须为${len}个字符",min:e(1703),max:"${label}最多${max}个字符",range:e(1496)},number:{len:e(766),min:e(1886),max:"${label}最大值为${max}",range:e(1940)},array:{len:e(1806),min:e(1112),max:e(1313),range:e(2038)},pattern:{mismatch:e(1895)}}},QRCode:{expired:e(966),refresh:"点击刷新",scanned:"已扫描"},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:e(1514)}};return Te[e(1138)]=a,Te}var Q0,go;function zc(){return go||(go=1,Q0=bc()),Q0}var Cc=zc();const Mc=gt(Cc),Bc=e=>(t,n,x)=>{const o=c;return x[o(1880)]=(r,i,...a)=>{const f=typeof r=="function"?Rt.produce(r):r;return t(f,i,...a)},e(x[o(1880)],n,x)},Dc=Bc;function ho(e){const t=c,n=[];for(const x of Object.keys(e)){n[t(2049)](x);const o=e[x];if(o!==null&&typeof o===t(1210)&&!Array[t(1098)](o))for(const r of Object[t(1648)](o))n.push(x+"."+r)}return n}function yo(e,t){const n=c,x=e[n(1183)]&&typeof e.sample===n(1210)&&!Array[n(1098)](e[n(1183)])?{...e[n(1183)]}:{};if(t&&typeof t=="object"&&!Array[n(1098)](t))return{...x,...t};if(Array[n(1098)](t)){const o={...x};for(const r of t){if(!r||typeof r!==n(1210))continue;const i=r;i[n(1009)]!=null&&(o[String(i[n(1009)])]=i[n(1429)])}return o}return x}const Lc={id:"_",name:"_",sample:{}};function F0(e,t,n){const x=c,o=e[x(1340)]!=null?String(e.boundDatasetId).trim():"",r=o?n[x(2159)](a=>a.id===o):void 0,i=r??Lc;try{const a=yo(i,t);return new Function("data",e[x(541)])(a)===!0}catch(a){return console[x(777)](x(891)+e[x(1952)]+"]:",a),!1}}function mo(e,t,n){for(const x of e)if(F0(x,t,n))return x}function wo(e,t){const n=c;for(const x of e){for(const o of x[n(858)][n(1029)])o[n(1340)]===t&&(o[n(1340)]=null);x[n(638)]===n(1283)&&x[n(513)]?.[n(1028)]&&wo(x[n(513)],t)}}function vo(e){const t=c;for(const n of e){for(const x of n[t(858)][t(1029)])delete x[t(1176)];n.type==="group"&&n[t(513)]?.[t(1028)]&&vo(n[t(513)])}}const $0=(e,t)=>({id:e||ve.nanoid(),name:t||c(610),nodes:[],canvasConfig:{width:1920,height:1080,background:c(2161),showGrid:!0},viewport:{scale:1,positionX:0,positionY:0},selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null,history:{past:[],future:[]}}),Nc=()=>{const e=c,t=$0();return{id:ve[e(1045)](),name:e(1501),canvases:[t],currentCanvasId:t.id}},po=Nc(),Ln=po[c(1837)][0],Sc={root:po,materials:[],mode:c(521),lineDrawing:{isDrawing:!1,material:null,startPoint:null,endPoint:null},eventFlow:{eventBlocks:[],eventRoots:[],editingEventRootId:null,isEditingEventFlow:!1},dataPool:[],externalHandlerCatalog:[],nodes:Ln[c(1053)],canvas:Ln[c(1192)],viewport:Ln[c(537)],selectedNodeId:Ln[c(467)],selectedNodeIds:Ln.selectedNodeIds,selectedStatusId:Ln[c(1016)],history:Ln[c(2066)]},gn=(e,t,n)=>({id:ve[c(1045)](),type:e,targetId:t,payload:n,timestamp:Date[c(1676)]()}),Ee=_0[c(1380)]()(Dc((e,t)=>({...Sc,addCanvas:n=>{const x=c,o=$0(ve[x(1045)](),n||x(855)+(t()[x(1745)].canvases[x(1028)]+1));return e(r=>{const i=x;r[i(1745)][i(1837)][i(2049)](o),r[i(1745)][i(997)]=o.id;const a=o;r[i(1053)]=a[i(1053)],r[i(772)]=a.canvasConfig,r[i(537)]=a[i(537)],r.selectedNodeId=a[i(467)],r.selectedNodeIds=a[i(1599)],r[i(1016)]=a[i(1016)],r.history=a[i(2066)]}),o.id},removeCanvas:n=>{e(x=>{const o=_0x447e,r=x[o(1745)][o(1837)][o(941)](i=>i.id===n);if(r!==-1&&!(x[o(1745)][o(1837)][o(1028)]<=1)&&(x[o(1745)][o(1837)][o(1658)](r,1),x.root[o(997)]===n)){const i=x[o(1745)][o(1837)][0];x[o(1745)].currentCanvasId=i.id,x.nodes=i[o(1053)],x.canvas=i[o(1192)],x[o(537)]=i[o(537)],x[o(467)]=i[o(467)],x.selectedNodeIds=i[o(1599)],x[o(1016)]=i[o(1016)],x[o(2066)]=i[o(2066)]}})},switchCanvas:n=>{e(x=>{const o=_0x447e,r=x[o(1745)][o(1837)][o(2159)](i=>i.id===n);r&&(x[o(1745)][o(997)]=n,x.nodes=r[o(1053)],x.canvas=r[o(1192)],x[o(537)]=r[o(537)],x[o(467)]=r.selectedNodeId,x[o(1599)]=r.selectedNodeIds,x[o(1016)]=r[o(1016)],x.history=r[o(2066)])})},updateCanvasName:(n,x)=>{e(o=>{const r=_0x447e,i=o[r(1745)][r(1837)][r(2159)](a=>a.id===n);i&&(i[r(1952)]=x)})},getCurrentCanvas:()=>{const n=c,x=t();return x[n(1745)][n(1837)][n(2159)](o=>o.id===x[n(1745)].currentCanvasId)},setSelectedNodeIds:n=>{e(x=>{const o=_0x447e,r=x[o(1745)][o(1837)][o(2159)](i=>i.id===x.root[o(997)]);r&&(r[o(1599)]=n,x[o(1599)]=n)})},addSelectedNodeId:n=>{e(x=>{const o=_0x447e,r=x[o(1745)][o(1837)].find(i=>i.id===x[o(1745)][o(997)]);r&&!r[o(1599)].includes(n)&&(r[o(1599)][o(2049)](n),x[o(1599)]=r[o(1599)])})},removeSelectedNodeId:n=>{e(x=>{const o=_0x447e,r=x[o(1745)][o(1837)].find(i=>i.id===x[o(1745)][o(997)]);r&&(r[o(1599)]=r.selectedNodeIds[o(1076)](i=>i!==n),x[o(1599)]=r[o(1599)])})},clearSelectedNodeIds:()=>{e(n=>{const x=_0x447e,o=n.root[x(1837)][x(2159)](r=>r.id===n.root[x(997)]);o&&(o[x(1599)]=[],n[x(1599)]=[])})},addNode:(n,x=!0)=>{e(o=>{const r=_0x447e,i=o[r(1745)].canvases[r(2159)](f=>f.id===o[r(1745)][r(997)]);if(!i)return;const a={...n,id:n.id||ve[r(1045)]()};i.nodes.push(a),o[r(1053)]=i[r(1053)],x&&(i[r(467)]=a.id,o.selectedNodeId=a.id,i[r(2066)].past.push(gn(r(1856),a.id)),o.history=i.history)})},updateNode:(n,x)=>{e(o=>{const r=_0x447e,i=o[r(1745)][r(1837)][r(2159)](f=>f.id===o.root[r(997)]);if(!i)return;const a=i[r(1053)][r(2159)](f=>f.id===n);a&&(x[r(1490)]&&Object[r(1055)](a[r(1490)],x[r(1490)]),x[r(858)]&&(a[r(858)]={...a.contentInfo,...x[r(858)]}),x[r(1952)]&&(a[r(1952)]=x[r(1952)]),x[r(651)]&&Object[r(1055)](a.controlInfo,x[r(651)]),i[r(2066)][r(705)].push(gn(r(2152),n,x)),o[r(2066)]=i[r(2066)],o.nodes=i[r(1053)])})},updateNodeStyle:(n,x)=>{e(o=>{const r=_0x447e,i=o[r(1745)][r(1837)][r(2159)](f=>f.id===o.root.currentCanvasId);if(!i)return;const a=i.nodes[r(2159)](f=>f.id===n);a&&(Object[r(1055)](a[r(1490)],x),i.history[r(705)][r(2049)](gn(r(2152),n,{normalStyle:x})),o[r(2066)]=i[r(2066)])})},updateNodeContent:(n,x)=>{e(o=>{const r=_0x447e,i=o[r(1745)][r(1837)][r(2159)](f=>f.id===o.root[r(997)]);if(!i)return;const a=i[r(1053)][r(2159)](f=>f.id===n);a&&(a.contentInfo={...a[r(858)],...x},i[r(2066)][r(705)][r(2049)](gn(r(2152),n,{contentInfo:x})),o[r(2066)]=i.history,o[r(1053)]=i[r(1053)])})},updateNodeControl:(n,x)=>{e(o=>{const r=_0x447e,i=o[r(1745)][r(1837)][r(2159)](f=>f.id===o[r(1745)][r(997)]);if(!i)return;const a=i[r(1053)][r(2159)](f=>f.id===n);a&&(Object[r(1055)](a[r(651)],x),i[r(2066)][r(705)][r(2049)](gn(r(2152),n,{controlInfo:x})),o[r(2066)]=i[r(2066)])})},removeNode:n=>{e(x=>{const o=_0x447e,r=x[o(1745)][o(1837)].find(a=>a.id===x.root.currentCanvasId);if(!r)return;const i=r[o(1053)].findIndex(a=>a.id===n);i!==-1&&(r.nodes[o(1658)](i,1),x[o(1053)]=r[o(1053)],r[o(467)]===n&&(r[o(467)]=null,x.selectedNodeId=null,r[o(1016)]=null,x.selectedStatusId=null),r[o(1599)]=r[o(1599)][o(1076)](a=>a!==n),x[o(1599)]=r[o(1599)],r[o(2066)].past[o(2049)](gn("NODE_DELETE",n)),x[o(2066)]=r[o(2066)])})},selectNode:n=>{e(x=>{const o=_0x447e,r=x[o(1745)][o(1837)].find(i=>i.id===x.root[o(997)]);r&&(r[o(467)]=n,x.selectedNodeId=n,r[o(1016)]=null,x[o(1016)]=null,n&&(r.history[o(705)][o(2049)](gn(o(1856),n)),x[o(2066)]=r[o(2066)]))})},addStatus:(n,x)=>{e(o=>{const r=_0x447e,i=o[r(1745)][r(1837)][r(2159)](s=>s.id===o[r(1745)].currentCanvasId);if(!i)return;const a=i[r(1053)][r(2159)](s=>s.id===n);if(!a)return;const f={...x,id:ve[r(1045)]()};a.contentInfo[r(1029)][r(2049)](f),i.history[r(705)][r(2049)](gn(r(1125),n,{statusId:f.id})),o.history=i[r(2066)]})},removeStatus:(n,x)=>{e(o=>{const r=_0x447e,i=o.root[r(1837)][r(2159)](s=>s.id===o[r(1745)].currentCanvasId);if(!i)return;const a=i[r(1053)].find(s=>s.id===n);if(!a)return;const f=a[r(858)][r(1029)][r(941)](s=>s.id===x);f!==-1&&(a[r(858)][r(1029)][r(1658)](f,1),a[r(858)][r(952)]===x&&(a[r(858)][r(952)]=void 0),i[r(1016)]===x&&(i[r(1016)]=null,o[r(1016)]=null))})},updateStatus:(n,x,o)=>{e(r=>{const i=_0x447e,a=r[i(1745)][i(1837)][i(2159)](u=>u.id===r[i(1745)].currentCanvasId);if(!a)return;const f=a.nodes[i(2159)](u=>u.id===n);if(!f)return;const s=f[i(858)][i(1029)][i(2159)](u=>u.id===x);s&&Object[i(1055)](s,o)})},selectStatus:n=>{e(x=>{const o=_0x447e,r=x[o(1745)][o(1837)][o(2159)](i=>i.id===x[o(1745)][o(997)]);r&&(r[o(1016)]=n,x.selectedStatusId=n)})},evaluateCurrentStatus:(n,x)=>{const o=c,r=t(),i=r[o(1745)][o(1837)][o(2159)](s=>s.id===r[o(1745)][o(997)]);if(!i)return;const a=i[o(1053)].find(s=>s.id===n);if(!a)return;const{dataPool:f}=t();for(const s of a.contentInfo[o(1029)])if(F0(s,x,f))return s.id},addDataPoolItem:n=>{const x=c,o=ve[x(1045)]();return e(r=>{const i=x;r.dataPool[i(2049)]({...n,id:o,sample:n[i(1183)]&&typeof n[i(1183)]===i(1210)&&!Array[i(1098)](n[i(1183)])?n[i(1183)]:{}})}),o},updateDataPoolItem:(n,x)=>{e(o=>{const r=_0x447e,i=o[r(1334)][r(2159)](a=>a.id===n);i&&(x[r(1952)]!==void 0&&(i[r(1952)]=x[r(1952)]),x.sample!==void 0&&(i[r(1183)]=x.sample&&typeof x[r(1183)]===r(1210)&&!Array[r(1098)](x.sample)?x[r(1183)]:{}))})},removeDataPoolItem:n=>{e(x=>{const o=_0x447e,r=x[o(1334)][o(941)](i=>i.id===n);if(r!==-1){x.dataPool[o(1658)](r,1);for(const i of x[o(1745)][o(1837)])wo(i[o(1053)],n)}})},setDataPool:n=>{e(x=>{const o=_0x447e;x[o(1334)]=n[o(1001)](r=>({...r,sample:r[o(1183)]&&typeof r[o(1183)]===o(1210)&&!Array.isArray(r[o(1183)])?r.sample:{}}))})},setEventFlow:n=>{e(x=>{const o=_0x447e;x[o(575)]={eventBlocks:n.eventBlocks??[],eventRoots:n[o(1607)]??[],editingEventRootId:n[o(1500)]??null,isEditingEventFlow:n.isEditingEventFlow??!1}})},setExternalHandlerCatalog:n=>{e(x=>{const o=_0x447e,r=new Set;x[o(1973)]=[];for(const i of n){const a=String(i.key??"")[o(1619)]();!a||r[o(1432)](a)||(r.add(a),x.externalHandlerCatalog.push({key:a,label:String(i[o(967)]??"")[o(1619)]()||a,description:i[o(990)]}))}})},addMaterial:n=>{e(x=>{const o=_0x447e,r={...n,id:ve[o(1045)]()};x[o(625)].push(r)})},updateMaterial:(n,x)=>{e(o=>{const r=_0x447e,i=o.materials[r(2159)](a=>a.id===n);i&&Object[r(1055)](i,x)})},removeMaterial:n=>{e(x=>{const o=_0x447e,r=x[o(625)][o(941)](i=>i.id===n);r!==-1&&x[o(625)][o(1658)](r,1)})},setViewport:n=>{e(x=>{const o=_0x447e,r=x[o(1745)][o(1837)][o(2159)](i=>i.id===x[o(1745)][o(997)]);r&&(Object[o(1055)](r[o(537)],n),x.viewport=r[o(537)])})},setCanvasConfig:n=>{e(x=>{const o=_0x447e,r=x.root[o(1837)].find(i=>i.id===x.root[o(997)]);r&&(r.canvasConfig={...r.canvasConfig,...n},x.canvas=r[o(1192)])})},setMode:n=>{e(x=>{x.mode=n})},startLineDrawing:n=>{e(x=>{const o=_0x447e;x[o(975)]="line-draw",x[o(546)]={isDrawing:!0,material:n,startPoint:null,endPoint:null}})},updateLineDrawing:n=>{e(x=>{const o=_0x447e;x[o(546)][o(560)]&&(x[o(546)][o(1582)]=n)})},endLineDrawing:()=>{e(n=>{const x=_0x447e;n[x(975)]="select",n.lineDrawing={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},cancelLineDrawing:()=>{e(n=>{const x=_0x447e;n[x(975)]="select",n.lineDrawing={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},undo:()=>{e(n=>{const x=_0x447e,o=n[x(1745)].canvases[x(2159)](i=>i.id===n[x(1745)].currentCanvasId);if(!o)return;const r=o[x(2066)].past[x(1293)]();r&&(o[x(2066)][x(812)][x(2049)](r),n[x(2066)]=o.history)})},redo:()=>{e(n=>{const x=_0x447e,o=n[x(1745)][x(1837)][x(2159)](i=>i.id===n[x(1745)].currentCanvasId);if(!o)return;const r=o.history[x(812)][x(1293)]();r&&(o[x(2066)][x(705)][x(2049)](r),n.history=o[x(2066)])})},recordEvent:n=>{e(x=>{const o=_0x447e,r=x.root.canvases[o(2159)](i=>i.id===x[o(1745)].currentCanvasId);r&&(r.history[o(705)][o(2049)](n),r[o(2066)][o(812)]=[],x[o(2066)]=r[o(2066)])})},exportScheme:()=>{const n=c,x=t();return{version:n(1903),root:x.root,materials:x[n(625)],dataPool:x.dataPool,eventFlow:x.eventFlow,metadata:{name:x[n(1745)][n(1952)],description:"",createdAt:new Date()[n(1821)](),updatedAt:new Date()[n(1821)]()}}},importScheme:n=>{e(x=>{const o=_0x447e;if(n[o(1745)]){x.root=n[o(1745)],x[o(625)]=n[o(625)]||[],x[o(1334)]=n[o(1334)]??[],n.eventFlow&&(x[o(575)]={eventBlocks:n.eventFlow[o(1758)]??[],eventRoots:n[o(575)].eventRoots??[],editingEventRootId:n[o(575)][o(1500)]??null,isEditingEventFlow:n[o(575)].isEditingEventFlow??!1});const r=x.root[o(1837)][o(2159)](i=>i.id===x[o(1745)][o(997)])||x[o(1745)][o(1837)][0];r&&(x.root[o(997)]=r.id,x[o(1053)]=r[o(1053)],x[o(772)]=r.canvasConfig,x.viewport=r[o(537)],x.selectedNodeId=r[o(467)],x[o(1599)]=r[o(1599)],x.selectedStatusId=r[o(1016)],x.history=r[o(2066)])}else{const r=$0();r[o(1053)]=n[o(1053)]||[],x[o(1745)][o(1837)]=[r],x[o(1745)].currentCanvasId=r.id,x.materials=n[o(625)]||[],x[o(1334)]=n.dataPool??[],n[o(575)]&&(x[o(575)]={eventBlocks:n[o(575)][o(1758)]??[],eventRoots:n[o(575)][o(1607)]??[],editingEventRootId:n[o(575)][o(1500)]??null,isEditingEventFlow:n.eventFlow[o(1356)]??!1}),x[o(1053)]=r[o(1053)],x[o(772)]=r[o(1192)],x[o(537)]=n.viewport||r[o(537)],x.selectedNodeId=null,x[o(1016)]=null,x.history={past:[],future:[]}}for(const r of x[o(1745)].canvases)vo(r[o(1053)])})},addEventBlock:n=>{const x=ve.nanoid();return e(o=>{const r=_0x447e;o[r(575)][r(1758)].push({...n,id:x})}),x},upsertEventBlock:n=>{e(x=>{const o=_0x447e,r=x[o(575)][o(1758)][o(941)](i=>i.id===n.id);r!==-1?x[o(575)].eventBlocks[r]={...n}:x[o(575)][o(1758)].push({...n})})},updateEventBlock:(n,x)=>{e(o=>{const r=_0x447e,i=o[r(575)][r(1758)][r(2159)](a=>a.id===n);i&&Object[r(1055)](i,x)})},removeEventBlock:n=>{e(x=>{const o=_0x447e,r=x[o(575)][o(1758)].findIndex(i=>i.id===n);r!==-1&&x[o(575)].eventBlocks.splice(r,1)})},addEventRoot:n=>{const x=ve.nanoid();return e(o=>{const r=_0x447e;o[r(575)][r(1607)].push({...n,id:x})}),x},updateEventRoot:(n,x)=>{e(o=>{const r=_0x447e,i=o.eventFlow[r(1607)][r(2159)](a=>a.id===n);i&&Object[r(1055)](i,x)})},removeEventRoot:n=>{e(x=>{const o=_0x447e,r=x[o(575)].eventRoots[o(941)](i=>i.id===n);r!==-1&&x.eventFlow[o(1607)][o(1658)](r,1)})},setEditingEventRoot:n=>{e(x=>{const o=_0x447e;x[o(575)][o(1500)]=n})},setIsEditingEventFlow:n=>{e(x=>{const o=_0x447e;x[o(575)].isEditingEventFlow=n})},bindNodeEvent:(n,x,o)=>{const r=c,i=ve[r(1045)]();return e(a=>{const f=r;a[f(575)][f(1607)][f(2049)]({id:i,bindNodeId:n,eventType:x,flowData:o,enabled:!0})}),i},unbindNodeEvent:(n,x,o)=>{e(r=>{const i=_0x447e,a=r.eventFlow[i(1607)][i(941)](f=>{const s=i;return f[s(466)]!==n||f.eventType!==x?!1:x===s(739)?(f[s(1577)]||"")[s(1619)]()===(o||"")[s(1619)]():!0});a!==-1&&r[i(575)][i(1607)][i(1658)](a,1)})},getNodeEventRoots:n=>{const x=c;return t()[x(575)][x(1607)][x(1076)](o=>o[x(466)]===n)}}))),bo=[{id:ve.nanoid(),name:"矩形",type:c(477),src:c(1816)+encodeURIComponent(c(2096))},{id:ve[c(1045)](),name:"圆形",type:c(477),src:c(1816)+encodeURIComponent(c(2078))},{id:ve[c(1045)](),name:c(829),type:c(477),src:"data:image/svg+xml,"+encodeURIComponent(c(1135))},{id:ve[c(1045)](),name:"阀门",type:c(477),src:c(1816)+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><path d="M10 20 L30 10 L50 20 L50 40 L30 50 L10 40 Z" fill="#bfbfbf" stroke="#595959" stroke-width="2"/><circle cx="30" cy="30" r="8" fill="#1890ff"/></svg>')},{id:ve[c(1045)](),name:"泵",type:c(477),src:c(1816)+encodeURIComponent(c(2065))},{id:ve[c(1045)](),name:"罐体",type:c(477),src:c(1816)+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="60" height="80"><ellipse cx="30" cy="10" rx="25" ry="10" fill="#d9d9d9" stroke="#595959" stroke-width="2"/><rect x="5" y="10" width="50" height="60" fill="#f0f0f0" stroke="#595959" stroke-width="2"/><ellipse cx="30" cy="70" rx="25" ry="10" fill="#d9d9d9" stroke="#595959" stroke-width="2"/></svg>')},{id:ve[c(1045)](),name:c(749),type:c(843),content:{label:"标签",value:"值",labelStyle:{fontSize:14,fontWeight:c(1291),color:c(1531),textAlign:"left"},valueStyle:{fontSize:14,fontWeight:c(2090),color:c(754),textAlign:c(1947)}}},{id:ve[c(1045)](),name:"线条",type:c(915),config:{thickness:2,lineWeight:2,color:c(1531),lineType:"solid"}}],ex=e=>({id:ve[c(1045)](),name:c(699),expression:c(1128),material:{...e,id:ve[c(1045)]()},boundDatasetId:null}),zo=(e,t,n)=>{const x=c;if(n?.type===x(796)&&n.config?.[x(1053)]){const o=n[x(1829)][x(1053)][x(1001)](u=>({...u,id:ve.nanoid()}));let r=1/0,i=1/0,a=-1/0,f=-1/0;o[x(1068)](u=>{const d=x,y=u[d(1490)].x||0,h=u[d(1490)].y||0,g=u[d(1490)][d(502)]||0,m=u[d(1490)][d(1201)]||0;r=Math.min(r,y),i=Math[d(2007)](i,h),a=Math[d(1419)](a,y+g),f=Math.max(f,h+m)});const s=o[x(1001)](u=>({...u,normalStyle:{...u.normalStyle,x:(u[x(1490)].x||0)-r,y:(u[x(1490)].y||0)-i,scale:void 0}}));return{id:ve[x(1045)](),name:n[x(1952)]||x(489),type:x(1283),normalStyle:{width:a-r,height:f-i,x:e,y:t},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:s}}return{id:ve[x(1045)](),name:"新节点",type:"normal",normalStyle:{width:120,height:100,x:e,y:t,background:x(1585),padding:8},contentInfo:{statusList:n?[ex(n)]:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}}},{Panel:Zn}=C[c(971)],{Text:_t}=C[c(540)],Co=()=>{const e=c,{materials:t,addMaterial:n,removeMaterial:x,selectedStatusId:o,selectStatus:r,mode:i,lineDrawing:a,startLineDrawing:f,cancelLineDrawing:s}=Ee(),[u,d]=L.useState([e(867),"device","text",e(1918)]),y=p=>{const M=new FileReader;return M.onload=w=>{const z=_0x447e,b=w[z(819)]?.result;n({name:p[z(1952)][z(2164)](".svg",""),type:"IMAGE",src:b})},M.readAsDataURL(p),!1},h={basic:t[e(1076)](p=>["矩形","圆形",e(829)][e(1931)](p[e(1952)])),device:t.filter(p=>["阀门","泵","罐体"][e(1931)](p[e(1952)])||p.type===e(477)&&!["矩形","圆形",e(829)][e(1931)](p[e(1952)])&&p[e(1952)]!==e(1614)),text:t.filter(p=>p[e(638)]===e(843)),line:t[e(1076)](p=>p.type===e(915)),group:t[e(1076)](p=>p[e(638)]==="CUSTOM"&&p[e(1829)]?.[e(1053)]),custom:t[e(1076)](p=>p[e(638)]===e(796)&&!p[e(1829)]?.nodes||p[e(638)]===e(477)&&!["矩形","圆形","圆角矩形","阀门","泵","罐体"].includes(p[e(1952)]))},g=(p,M)=>{const w=e;p[w(1771)][w(1854)]=w(2087),p[w(1771)].setData(w(1477),JSON.stringify(M));const z=p[w(850)][w(1519)](w(759));z&&p.dataTransfer[w(1389)](z,20,20)},m=p=>{const M=e;p[M(638)]===M(915)&&f(p)},v=(p,M=!1)=>{const w=e,z=M===!0,b=i===w(1509)&&z&&a[w(640)]?.id===p.id;return l[w(1970)](C[w(717)][w(865)],{draggable:!z,onDragStart:k=>g(k,p),onClick:()=>z&&m(p),className:w(789)+w(z?1897:1006)+w(2006)+w(1667)+`
3
- `+(b?w(2102):"")+w(598),actions:[z?l[w(1970)](C[w(1079)],{type:w(1527),size:"small",icon:l[w(1970)](se[w(1026)],{}),onClick:k=>{k.stopPropagation(),m(p)},children:"绘制"},w(2131)):null,l[w(1970)](C[w(1079)],{type:w(1527),size:w(1436),danger:!0,icon:l[w(1970)](se.DeleteOutlined,{}),onClick:k=>{k[w(471)](),x(p.id)}},w(719))][w(1076)](Boolean),children:l[w(557)]("div",{className:w(689)+(z?"":w(1569)),children:[l.jsx(w(1331),{className:"material-preview w-12 h-12 flex items-center justify-center bg-white rounded border border-gray-200",children:p[w(638)]==="IMAGE"&&p[w(529)]?l[w(1970)](C.Image,{src:p.src,alt:p[w(1952)],width:40,height:40,preview:!1}):p[w(638)]===w(843)?l[w(1970)]("span",{className:w(1319),children:"T"}):p[w(638)]===w(915)?l[w(1970)](w(1331),{className:w(1151)}):p[w(638)]==="CUSTOM"&&p[w(1829)]?.[w(1053)]?l[w(1970)](w(1493),{className:w(1408),children:"G"}):l[w(1970)](w(1493),{className:w(1319),children:"?"})}),l[w(557)](w(1331),{className:"flex-1 min-w-0",children:[l[w(1970)](_t,{strong:!0,className:w(722),children:p[w(1952)]}),l[w(557)](w(1331),{className:w(1221),children:[l.jsx(_t,{type:w(680),className:w(1702),children:p.type}),b&&l[w(1970)](C.Tag,{color:"blue",className:w(1702),children:w(989)})]})]})]})},p.id)};return l[e(557)](e(1331),{className:e(1986),children:[l[e(557)]("div",{className:"p-4 border-b border-gray-200",children:[l[e(1970)]("h3",{className:"text-lg font-semibold text-gray-800",children:e(533)}),l[e(1970)](_t,{type:e(680),className:"text-sm",children:e(1453)})]}),l[e(1970)]("div",{className:"p-3 border-b border-gray-200",children:l.jsx(C[e(827)],{accept:e(2097),beforeUpload:y,showUploadList:!1,children:l[e(1970)](C[e(1079)],{icon:l[e(1970)](se[e(1568)],{}),block:!0,type:e(1149),children:e(1455)})})}),l[e(1970)]("div",{className:e(1488),children:l.jsxs(C[e(971)],{activeKey:u,onChange:p=>d(p),ghost:!0,expandIconPosition:"end",children:[l.jsx(Zn,{header:e(906),children:l[e(1970)](C[e(717)],{dataSource:h[e(867)],renderItem:p=>v(p,!1),locale:{emptyText:l[e(1970)](C[e(1345)],{description:e(1247),image:C[e(1345)][e(959)]})}})},e(867)),l[e(1970)](Zn,{header:"设备图标",children:l[e(1970)](C.List,{dataSource:h[e(738)],renderItem:p=>v(p,!1),locale:{emptyText:l[e(1970)](C[e(1345)],{description:e(1247),image:C[e(1345)][e(959)]})}})},"device"),l.jsx(Zn,{header:"文本",children:l.jsx(C.List,{dataSource:h[e(1527)],renderItem:p=>v(p,!1),locale:{emptyText:l[e(1970)](C[e(1345)],{description:e(1247),image:C[e(1345)][e(959)]})}})},e(1527)),l.jsxs(Zn,{header:l[e(557)](e(1331),{className:e(2114),children:[l[e(1970)](e(1493),{children:"线条"}),i==="line-draw"&&l[e(1970)](C[e(657)],{color:e(901),className:e(1702),children:e(1198)})]}),children:[l[e(1970)](C.List,{dataSource:h.line,renderItem:p=>v(p,!0),locale:{emptyText:l[e(1970)](C[e(1345)],{description:e(1247),image:C.Empty[e(959)]})}}),i===e(1509)&&l[e(557)]("div",{className:"mt-2 p-2 bg-blue-50 rounded text-xs text-blue-600",children:[l.jsx(e(1331),{children:e(1270)}),l[e(1970)](e(1331),{children:e(764)})]})]},e(1918)),h.group[e(1028)]>0&&l.jsx(Zn,{header:"群组",children:l[e(1970)](C[e(717)],{dataSource:h[e(1283)],renderItem:p=>v(p,!1),locale:{emptyText:l[e(1970)](C[e(1345)],{description:e(1247),image:C[e(1345)].PRESENTED_IMAGE_SIMPLE})}})},e(1283)),h[e(811)][e(1028)]>0&&l[e(1970)](Zn,{header:e(1614),children:l[e(1970)](C[e(717)],{dataSource:h[e(811)],renderItem:p=>v(p,!1),locale:{emptyText:l[e(1970)](C[e(1345)],{description:e(1247),image:C[e(1345)].PRESENTED_IMAGE_SIMPLE})}})},e(811))]})}),l[e(1970)](e(1331),{className:e(1215),children:l.jsx(_t,{type:"secondary",className:e(1702),children:i===e(1509)?l.jsx(l[e(514)],{children:"💡 提示:点击绘制线段,可连续绘制多段线,双击结束绘制,ESC 取消"}):l[e(1970)](l.Fragment,{children:e(675)})})})]})};var nx=function(e,t){const n=c;return nx=Object[n(1326)]||{__proto__:[]}instanceof Array&&function(x,o){const r=n;x[r(1917)]=o}||function(x,o){for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(x[r]=o[r])},nx(e,t)};function hn(e,t){const n=c;if(typeof t!==n(940)&&t!==null)throw new TypeError(n(1712)+String(t)+" is not a constructor or null");nx(e,t);function x(){const o=n;this[o(498)]=e}e[n(1347)]=t===null?Object[n(1380)](t):(x[n(1347)]=t.prototype,new x)}function kc(e,t,n,x){function o(r){return r instanceof n?r:new n(function(i){i(r)})}return new(n||(n=Promise))(function(r,i){const a=_0x447e;function f(d){const y=_0x447e;try{u(x[y(1366)](d))}catch(h){i(h)}}function s(d){const y=_0x447e;try{u(x[y(1938)](d))}catch(h){i(h)}}function u(d){const y=_0x447e;d[y(2174)]?r(d[y(1429)]):o(d.value).then(f,s)}u((x=x[a(878)](e,t||[]))[a(1366)]())})}function Mo(e,t){const n=c;var x={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,r,i,a=Object[n(1380)]((typeof Iterator===n(940)?Iterator:Object)[n(1347)]);return a.next=f(0),a[n(1938)]=f(1),a.return=f(2),typeof Symbol===n(940)&&(a[Symbol[n(1797)]]=function(){return this}),a;function f(u){return function(d){return s([u,d])}}function s(u){const d=n;if(o)throw new TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(x=0)),x;)try{if(o=1,r&&(i=u[0]&2?r[d(1362)]:u[0]?r[d(1938)]||((i=r[d(1362)])&&i[d(1036)](r),0):r[d(1366)])&&!(i=i.call(r,u[1]))[d(2174)])return i;switch(r=0,i&&(u=[u[0]&2,i[d(1429)]]),u[0]){case 0:case 1:i=u;break;case 4:return x.label++,{value:u[1],done:!1};case 5:x[d(967)]++,r=u[1],u=[0];continue;case 7:u=x[d(1679)][d(1293)](),x[d(1804)][d(1293)]();continue;default:if(i=x[d(1804)],!(i=i[d(1028)]>0&&i[i[d(1028)]-1])&&(u[0]===6||u[0]===2)){x=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){x[d(967)]=u[1];break}if(u[0]===6&&x[d(967)]<i[1]){x[d(967)]=i[1],i=u;break}if(i&&x[d(967)]<i[2]){x[d(967)]=i[2],x[d(1679)][d(2049)](u);break}i[2]&&x.ops.pop(),x[d(1804)].pop();continue}u=t.call(e,x)}catch(y){u=[6,y],r=0}finally{o=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function Kn(e){const t=c;var n=typeof Symbol=="function"&&Symbol.iterator,x=n&&e[n],o=0;if(x)return x[t(1036)](e);if(e&&typeof e[t(1028)]=="number")return{next:function(){return e&&o>=e[t(1028)]&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(n?"Object is not iterable.":t(1299))}function Qt(e,t){const n=c;var x=typeof Symbol===n(940)&&e[Symbol[n(1797)]];if(!x)return e;var o=x[n(1036)](e),r,i=[],a;try{for(;(t===void 0||t-- >0)&&!(r=o[n(1366)]()).done;)i[n(2049)](r[n(1429)])}catch(f){a={error:f}}finally{try{r&&!r[n(2174)]&&(x=o[n(1362)])&&x.call(o)}finally{if(a)throw a[n(1738)]}}return i}function Ft(e,t,n){const x=c;if(n||arguments[x(1028)]===2)for(var o=0,r=t[x(1028)],i;o<r;o++)(i||!(o in t))&&(i||(i=Array[x(1347)][x(563)].call(t,0,o)),i[o]=t[o]);return e[x(520)](i||Array.prototype.slice[x(1036)](t))}function Rn(e){return this instanceof Rn?(this.v=e,this):new Rn(e)}function Pc(e,t,n){const x=c;if(!Symbol[x(1560)])throw new TypeError(x(1361));var o=n.apply(e,t||[]),r,i=[];return r=Object[x(1380)]((typeof AsyncIterator===x(940)?AsyncIterator:Object).prototype),f(x(1366)),f(x(1938)),f(x(1362),a),r[Symbol[x(1560)]]=function(){return this},r;function a(g){return function(m){const v=_0x447e;return Promise[v(1734)](m)[v(1548)](g,y)}}function f(g,m){o[g]&&(r[g]=function(v){return new Promise(function(p,M){i[_0x447e(2049)]([g,v,p,M])>1||s(g,v)})},m&&(r[g]=m(r[g])))}function s(g,m){try{u(o[g](m))}catch(v){h(i[0][3],v)}}function u(g){const m=x;g[m(1429)]instanceof Rn?Promise[m(1734)](g[m(1429)].v)[m(1548)](d,y):h(i[0][2],g)}function d(g){s("next",g)}function y(g){s("throw",g)}function h(g,m){const v=x;g(m),i[v(2123)](),i.length&&s(i[0][0],i[0][1])}}function Yc(e){const t=c;if(!Symbol[t(1560)])throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol[t(1560)]],x;return n?n.call(e):(e=typeof Kn=="function"?Kn(e):e[Symbol[t(1797)]](),x={},o(t(1366)),o(t(1938)),o(t(1362)),x[Symbol[t(1560)]]=function(){return this},x);function o(i){x[i]=e[i]&&function(a){return new Promise(function(f,s){const u=_0x447e;a=e[i](a),r(f,s,a.done,a[u(1429)])})}}function r(i,a,f,s){Promise[t(1734)](s).then(function(d){i({value:d,done:f})},a)}}typeof SuppressedError===c(940)&&SuppressedError;function ke(e){return typeof e===c(940)}function tx(e){const t=c;var n=function(o){const r=_0x447e;Error.call(o),o[r(2022)]=new Error().stack},x=e(n);return x[t(1347)]=Object.create(Error[t(1347)]),x[t(1347)][t(498)]=x,x}var xx=tx(function(e){return function(n){const x=_0x447e;e(this),this[x(494)]=n?n.length+` errors occurred during unsubscription:
4
- `+n.map(function(o,r){return r+1+") "+o.toString()})[x(1248)](`
5
- `):"",this[x(1952)]="UnsubscriptionError",this[x(663)]=n}});function $t(e,t){const n=c;if(e){var x=e[n(1379)](t);0<=x&&e[n(1658)](x,1)}}var zt=(function(){const e=c;function t(n){const x=_0x447e;this[x(1575)]=n,this[x(1146)]=!1,this[x(1774)]=null,this[x(1746)]=null}return t.prototype.unsubscribe=function(){const n=_0x447e;var x,o,r,i,a;if(!this.closed){this.closed=!0;var f=this[n(1774)];if(f)if(this[n(1774)]=null,Array[n(1098)](f))try{for(var s=Kn(f),u=s.next();!u.done;u=s.next()){var d=u[n(1429)];d[n(1741)](this)}}catch(p){x={error:p}}finally{try{u&&!u[n(2174)]&&(o=s[n(1362)])&&o[n(1036)](s)}finally{if(x)throw x[n(1738)]}}else f[n(1741)](this);var y=this[n(1575)];if(ke(y))try{y()}catch(p){a=p instanceof xx?p[n(663)]:[p]}var h=this[n(1746)];if(h){this._finalizers=null;try{for(var g=Kn(h),m=g[n(1366)]();!m[n(2174)];m=g[n(1366)]()){var v=m[n(1429)];try{Lo(v)}catch(p){a=a??[],p instanceof xx?a=Ft(Ft([],Qt(a)),Qt(p[n(663)])):a.push(p)}}}catch(p){r={error:p}}finally{try{m&&!m[n(2174)]&&(i=g[n(1362)])&&i.call(g)}finally{if(r)throw r.error}}}if(a)throw new xx(a)}},t[e(1347)][e(447)]=function(n){const x=e;var o;if(n&&n!==this)if(this.closed)Lo(n);else{if(n instanceof t){if(n[x(1146)]||n[x(1533)](this))return;n[x(457)](this)}(this[x(1746)]=(o=this[x(1746)])!==null&&o!==void 0?o:[]).push(n)}},t[e(1347)][e(1533)]=function(n){const x=e;var o=this[x(1774)];return o===n||Array[x(1098)](o)&&o.includes(n)},t[e(1347)]._addParent=function(n){const x=e;var o=this[x(1774)];this[x(1774)]=Array[x(1098)](o)?(o.push(n),o):o?[o,n]:n},t[e(1347)][e(1578)]=function(n){const x=e;var o=this[x(1774)];o===n?this[x(1774)]=null:Array[x(1098)](o)&&$t(o,n)},t.prototype.remove=function(n){const x=e;var o=this[x(1746)];o&&$t(o,n),n instanceof t&&n[x(1578)](this)},t.EMPTY=(function(){const n=e;var x=new t;return x[n(1146)]=!0,x})(),t})(),Bo=zt[c(522)];function Do(e){const t=c;return e instanceof zt||e&&t(1146)in e&&ke(e.remove)&&ke(e[t(447)])&&ke(e[t(603)])}function Lo(e){const t=c;ke(e)?e():e[t(603)]()}var Ac={Promise:void 0},Ic={setTimeout:function(e,t){const n=c;for(var x=[],o=2;o<arguments[n(1028)];o++)x[o-2]=arguments[o];return setTimeout.apply(void 0,Ft([e,t],Qt(x)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function No(e){Ic[c(1803)](function(){throw e})}function So(){}function e0(e){e()}var ox=(function(e){const t=c;hn(n,e);function n(x){const o=_0x447e;var r=e.call(this)||this;return r[o(1153)]=!1,x?(r[o(2146)]=x,Do(x)&&x[o(447)](r)):r[o(2146)]=Uc,r}return n[t(1380)]=function(x,o,r){return new rx(x,o,r)},n[t(1347)][t(1366)]=function(x){const o=t;this[o(1153)]||this[o(713)](x)},n[t(1347)][t(1738)]=function(x){const o=t;this[o(1153)]||(this[o(1153)]=!0,this[o(1865)](x))},n[t(1347)][t(1239)]=function(){const x=t;this[x(1153)]||(this[x(1153)]=!0,this[x(1160)]())},n[t(1347)][t(603)]=function(){const x=t;!this[x(1146)]&&(this[x(1153)]=!0,e[x(1347)][x(603)][x(1036)](this),this.destination=null)},n.prototype[t(713)]=function(x){this[t(2146)].next(x)},n[t(1347)]._error=function(x){const o=t;try{this[o(2146)][o(1738)](x)}finally{this[o(603)]()}},n[t(1347)][t(1160)]=function(){const x=t;try{this[x(2146)].complete()}finally{this[x(603)]()}},n})(zt),Ec=(function(){const e=c;function t(n){const x=_0x447e;this[x(1826)]=n}return t[e(1347)][e(1366)]=function(n){const x=e;var o=this[x(1826)];if(o.next)try{o[x(1366)](n)}catch(r){n0(r)}},t[e(1347)][e(1738)]=function(n){const x=e;var o=this[x(1826)];if(o.error)try{o[x(1738)](n)}catch(r){n0(r)}else n0(n)},t[e(1347)][e(1239)]=function(){const n=e;var x=this[n(1826)];if(x[n(1239)])try{x.complete()}catch(o){n0(o)}},t})(),rx=(function(e){hn(t,e);function t(n,x,o){const r=_0x447e;var i=e.call(this)||this,a;return ke(n)||!n?a={next:n??void 0,error:x??void 0,complete:o??void 0}:a=n,i[r(2146)]=new Ec(a),i}return t})(ox);function n0(e){No(e)}function jc(e){throw e}var Uc={closed:!0,next:So,error:jc,complete:So},ix=(function(){const e=c;return typeof Symbol===e(940)&&Symbol.observable||e(866)})();function ko(e){return e}function Gc(e){const t=c;return e[t(1028)]===0?ko:e.length===1?e[0]:function(x){return e[t(1846)](function(r,i){return i(r)},x)}}var Xe=(function(){const e=c;function t(n){const x=_0x447e;n&&(this[x(2083)]=n)}return t.prototype.lift=function(n){const x=_0x447e;var o=new t;return o[x(1513)]=this,o[x(527)]=n,o},t[e(1347)][e(1677)]=function(n,x,o){var r=this,i=Hc(n)?n:new rx(n,x,o);return e0(function(){const a=_0x447e;var f=r,s=f[a(527)],u=f[a(1513)];i[a(447)](s?s[a(1036)](i,u):u?r[a(2083)](i):r[a(674)](i))}),i},t[e(1347)][e(674)]=function(n){const x=e;try{return this[x(2083)](n)}catch(o){n.error(o)}},t[e(1347)][e(1068)]=function(n,x){var o=this;return x=Po(x),new x(function(r,i){const a=_0x447e;var f=new rx({next:function(s){const u=_0x447e;try{n(s)}catch(d){i(d),f[u(603)]()}},error:i,complete:r});o[a(1677)](f)})},t[e(1347)][e(2083)]=function(n){const x=e;var o;return(o=this[x(1513)])===null||o===void 0?void 0:o[x(1677)](n)},t[e(1347)][ix]=function(){return this},t[e(1347)][e(562)]=function(){const n=e;for(var x=[],o=0;o<arguments[n(1028)];o++)x[o]=arguments[o];return Gc(x)(this)},t[e(1347)].toPromise=function(n){var x=this;return n=Po(n),new n(function(o,r){var i;x.subscribe(function(a){return i=a},function(a){return r(a)},function(){return o(i)})})},t[e(1380)]=function(n){return new t(n)},t})();function Po(e){const t=c;var n;return(n=e??Ac[t(1848)])!==null&&n!==void 0?n:Promise}function Oc(e){const t=c;return e&&ke(e.next)&&ke(e.error)&&ke(e[t(1239)])}function Hc(e){return e&&e instanceof ox||Oc(e)&&Do(e)}function Tc(e){return ke(e?.[c(1065)])}function Nn(e){return function(t){if(Tc(t))return t.lift(function(n){const x=_0x447e;try{return e(n,this)}catch(o){this[x(1738)](o)}});throw new TypeError("Unable to lift unknown Observable type")}}function Sn(e,t,n,x,o){return new Vc(e,t,n,x,o)}var Vc=(function(e){const t=c;hn(n,e);function n(x,o,r,i,a,f){const s=_0x447e;var u=e[s(1036)](this,x)||this;return u[s(1223)]=a,u.shouldUnsubscribe=f,u[s(713)]=o?function(d){const y=s;try{o(d)}catch(h){x[y(1738)](h)}}:e.prototype[s(713)],u[s(1865)]=i?function(d){const y=s;try{i(d)}catch(h){x[y(1738)](h)}finally{this[y(603)]()}}:e[s(1347)][s(1865)],u[s(1160)]=r?function(){const d=s;try{r()}catch(y){x[d(1738)](y)}finally{this[d(603)]()}}:e[s(1347)][s(1160)],u}return n[t(1347)][t(603)]=function(){const x=t;var o;if(!this.shouldUnsubscribe||this[x(1979)]()){var r=this[x(1146)];e.prototype[x(603)][x(1036)](this),!r&&((o=this.onFinalize)===null||o===void 0||o[x(1036)](this))}},n})(ox),qc=tx(function(e){return function(){const n=_0x447e;e(this),this.name="ObjectUnsubscribedError",this.message=n(716)}}),Yo=(function(e){const t=c;hn(n,e);function n(){const x=_0x447e;var o=e.call(this)||this;return o[x(1146)]=!1,o[x(595)]=null,o.observers=[],o.isStopped=!1,o[x(1174)]=!1,o.thrownError=null,o}return n[t(1347)].lift=function(x){const o=t;var r=new Ao(this,this);return r[o(527)]=x,r},n.prototype[t(2054)]=function(){if(this.closed)throw new qc},n[t(1347)][t(1366)]=function(x){var o=this;e0(function(){const r=_0x447e;var i,a;if(o[r(2054)](),!o[r(1153)]){!o[r(595)]&&(o[r(595)]=Array[r(1486)](o[r(1598)]));try{for(var f=Kn(o[r(595)]),s=f.next();!s[r(2174)];s=f[r(1366)]()){var u=s[r(1429)];u[r(1366)](x)}}catch(d){i={error:d}}finally{try{s&&!s[r(2174)]&&(a=f[r(1362)])&&a[r(1036)](f)}finally{if(i)throw i.error}}}})},n[t(1347)][t(1738)]=function(x){var o=this;e0(function(){const r=_0x447e;if(o[r(2054)](),!o[r(1153)]){o[r(1174)]=o[r(1153)]=!0,o.thrownError=x;for(var i=o.observers;i[r(1028)];)i[r(2123)]()[r(1738)](x)}})},n[t(1347)][t(1239)]=function(){var x=this;e0(function(){const o=_0x447e;if(x[o(2054)](),!x[o(1153)]){x.isStopped=!0;for(var r=x[o(1598)];r[o(1028)];)r[o(2123)]().complete()}})},n[t(1347)][t(603)]=function(){const x=t;this[x(1153)]=this[x(1146)]=!0,this.observers=this[x(595)]=null},Object[t(1388)](n[t(1347)],t(1552),{get:function(){const x=t;var o;return((o=this.observers)===null||o===void 0?void 0:o[x(1028)])>0},enumerable:!1,configurable:!0}),n[t(1347)][t(674)]=function(x){const o=t;return this._throwIfClosed(),e[o(1347)][o(674)].call(this,x)},n[t(1347)][t(2083)]=function(x){const o=t;return this[o(2054)](),this._checkFinalizedStatuses(x),this[o(1845)](x)},n[t(1347)]._innerSubscribe=function(x){const o=t;var r=this,i=this,a=i[o(1174)],f=i[o(1153)],s=i[o(1598)];return a||f?Bo:(this.currentObservers=null,s[o(2049)](x),new zt(function(){const u=o;r[u(595)]=null,$t(s,x)}))},n[t(1347)][t(2044)]=function(x){const o=t;var r=this,i=r[o(1174)],a=r[o(1087)],f=r[o(1153)];i?x[o(1738)](a):f&&x[o(1239)]()},n.prototype[t(1186)]=function(){const x=t;var o=new Xe;return o[x(1513)]=this,o},n.create=function(x,o){return new Ao(x,o)},n})(Xe),Ao=(function(e){const t=c;hn(n,e);function n(x,o){const r=_0x447e;var i=e[r(1036)](this)||this;return i.destination=x,i[r(1513)]=o,i}return n[t(1347)][t(1366)]=function(x){const o=t;var r,i;(i=(r=this[o(2146)])===null||r===void 0?void 0:r[o(1366)])===null||i===void 0||i[o(1036)](r,x)},n[t(1347)].error=function(x){const o=t;var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.error)===null||i===void 0||i[o(1036)](r,x)},n[t(1347)][t(1239)]=function(){const x=t;var o,r;(r=(o=this[x(2146)])===null||o===void 0?void 0:o.complete)===null||r===void 0||r[x(1036)](o)},n[t(1347)][t(2083)]=function(x){const o=t;var r,i;return(i=(r=this[o(1513)])===null||r===void 0?void 0:r[o(1677)](x))!==null&&i!==void 0?i:Bo},n})(Yo),Wc={now:function(){return Date[c(1676)]()}},Xc=(function(e){const t=c;hn(n,e);function n(x,o){return e.call(this)||this}return n[t(1347)][t(2057)]=function(x,o){return this},n})(zt),Io={setInterval:function(e,t){const n=c;for(var x=[],o=2;o<arguments[n(1028)];o++)x[o-2]=arguments[o];return setInterval[n(878)](void 0,Ft([e,t],Qt(x)))},clearInterval:function(e){return clearInterval(e)},delegate:void 0},Zc=(function(e){const t=c;hn(n,e);function n(x,o){const r=_0x447e;var i=e[r(1036)](this,x,o)||this;return i.scheduler=x,i[r(1179)]=o,i.pending=!1,i}return n[t(1347)][t(2057)]=function(x,o){const r=t;var i;if(o===void 0&&(o=0),this[r(1146)])return this;this[r(578)]=x;var a=this.id,f=this.scheduler;return a!=null&&(this.id=this[r(945)](f,a,o)),this[r(1060)]=!0,this[r(905)]=o,this.id=(i=this.id)!==null&&i!==void 0?i:this[r(1255)](f,this.id,o),this},n[t(1347)].requestAsyncId=function(x,o,r){const i=t;return r===void 0&&(r=0),Io[i(1369)](x[i(903)].bind(x,this),r)},n[t(1347)][t(945)]=function(x,o,r){const i=t;return r===void 0&&(r=0),r!=null&&this[i(905)]===r&&this[i(1060)]===!1?o:(o!=null&&Io.clearInterval(o),void 0)},n[t(1347)][t(1852)]=function(x,o){const r=t;if(this[r(1146)])return new Error("executing a cancelled action");this[r(1060)]=!1;var i=this[r(2061)](x,o);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this[r(861)],this.id,null))},n.prototype._execute=function(x,o){const r=t;var i=!1,a;try{this.work(x)}catch(f){i=!0,a=f||new Error(r(1047))}if(i)return this.unsubscribe(),a},n[t(1347)][t(603)]=function(){const x=t;if(!this[x(1146)]){var o=this,r=o.id,i=o[x(861)],a=i[x(1052)];this.work=this[x(578)]=this.scheduler=null,this[x(1060)]=!1,$t(a,this),r!=null&&(this.id=this[x(945)](i,r,null)),this[x(905)]=null,e.prototype.unsubscribe[x(1036)](this)}},n})(Xc),Eo=(function(){const e=c;function t(n,x){const o=_0x447e;x===void 0&&(x=t[o(1676)]),this.schedulerActionCtor=n,this[o(1676)]=x}return t[e(1347)].schedule=function(n,x,o){const r=e;return x===void 0&&(x=0),new this[r(1352)](this,n).schedule(o,x)},t[e(1676)]=Wc.now,t})(),Kc=(function(e){const t=c;hn(n,e);function n(x,o){const r=_0x447e;o===void 0&&(o=Eo[r(1676)]);var i=e.call(this,x,o)||this;return i[r(1052)]=[],i[r(1875)]=!1,i}return n[t(1347)][t(903)]=function(x){const o=t;var r=this.actions;if(this[o(1875)]){r.push(x);return}var i;this[o(1875)]=!0;do if(i=x.execute(x[o(578)],x[o(905)]))break;while(x=r[o(2123)]());if(this[o(1875)]=!1,i){for(;x=r.shift();)x[o(603)]();throw i}},n})(Eo),Rc=new Kc(Zc);function Jc(e){return e&&ke(e[c(2057)])}function _c(e){return e[e[c(1028)]-1]}function Qc(e){const t=c;return Jc(_c(e))?e[t(1293)]():void 0}var jo=function(e){const t=c;return e&&typeof e[t(1028)]===t(1539)&&typeof e!==t(940)};function Uo(e){return ke(e?.then)}function Go(e){return ke(e[ix])}function Oo(e){return Symbol.asyncIterator&&ke(e?.[Symbol[c(1560)]])}function Ho(e){const t=c;return new TypeError("You provided "+(e!==null&&typeof e=="object"?t(1207):"'"+e+"'")+t(885))}function Fc(){const e=c;return typeof Symbol!==e(940)||!Symbol[e(1797)]?"@@iterator":Symbol[e(1797)]}var To=Fc();function Vo(e){return ke(e?.[To])}function qo(e){return Pc(this,arguments,function(){var n,x,o,r;return Mo(this,function(i){const a=_0x447e;switch(i[a(967)]){case 0:n=e[a(1226)](),i[a(967)]=1;case 1:i[a(1804)][a(2049)]([1,,9,10]),i[a(967)]=2;case 2:return[4,Rn(n[a(2149)]())];case 3:return x=i[a(1054)](),o=x[a(1429)],r=x[a(2174)],r?[4,Rn(void 0)]:[3,5];case 4:return[2,i[a(1054)]()];case 5:return[4,Rn(o)];case 6:return[4,i[a(1054)]()];case 7:return i[a(1054)](),[3,2];case 8:return[3,10];case 9:return n.releaseLock(),[7];case 10:return[2]}})})}function Wo(e){return ke(e?.[c(1226)])}function kn(e){if(e instanceof Xe)return e;if(e!=null){if(Go(e))return $c(e);if(jo(e))return es(e);if(Uo(e))return ns(e);if(Oo(e))return Xo(e);if(Vo(e))return ts(e);if(Wo(e))return xs(e)}throw Ho(e)}function $c(e){return new Xe(function(t){const n=_0x447e;var x=e[ix]();if(ke(x[n(1677)]))return x[n(1677)](t);throw new TypeError(n(1780))})}function es(e){return new Xe(function(t){const n=_0x447e;for(var x=0;x<e[n(1028)]&&!t.closed;x++)t[n(1366)](e[x]);t.complete()})}function ns(e){return new Xe(function(t){const n=_0x447e;e[n(1548)](function(x){const o=n;!t[o(1146)]&&(t[o(1366)](x),t[o(1239)]())},function(x){return t[n(1738)](x)})[n(1548)](null,No)})}function ts(e){return new Xe(function(t){const n=_0x447e;var x,o;try{for(var r=Kn(e),i=r.next();!i[n(2174)];i=r.next()){var a=i[n(1429)];if(t[n(1366)](a),t[n(1146)])return}}catch(f){x={error:f}}finally{try{i&&!i.done&&(o=r[n(1362)])&&o[n(1036)](r)}finally{if(x)throw x[n(1738)]}}t[n(1239)]()})}function Xo(e){return new Xe(function(t){const n=_0x447e;os(e,t)[n(735)](function(x){return t[n(1738)](x)})})}function xs(e){return Xo(qo(e))}function os(e,t){var n,x,o,r;return kc(this,void 0,void 0,function(){var i,a;return Mo(this,function(f){const s=_0x447e;switch(f.label){case 0:f[s(1804)].push([0,5,6,11]),n=Yc(e),f.label=1;case 1:return[4,n[s(1366)]()];case 2:if(x=f.sent(),!!x[s(2174)])return[3,4];if(i=x[s(1429)],t[s(1366)](i),t[s(1146)])return[2];f[s(967)]=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=f[s(1054)](),o={error:a},[3,11];case 6:return f[s(1804)].push([6,,9,10]),x&&!x[s(2174)]&&(r=n[s(1362)])?[4,r[s(1036)](n)]:[3,8];case 7:f[s(1054)](),f.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return t[s(1239)](),[2]}})})}function yn(e,t,n,x,o){const r=c;x===void 0&&(x=0),o===void 0&&(o=!1);var i=t[r(2057)](function(){const a=r;n(),o?e[a(447)](this[a(2057)](null,x)):this[a(603)]()},x);if(e[r(447)](i),!o)return i}function Zo(e,t){return t===void 0&&(t=0),Nn(function(n,x){n[_0x447e(1677)](Sn(x,function(r){return yn(x,e,function(){return x[_0x447e(1366)](r)},t)},function(){return yn(x,e,function(){return x[_0x447e(1239)]()},t)},function(r){return yn(x,e,function(){return x[_0x447e(1738)](r)},t)}))})}function Ko(e,t){return t===void 0&&(t=0),Nn(function(n,x){const o=_0x447e;x[o(447)](e.schedule(function(){return n[o(1677)](x)},t))})}function rs(e,t){const n=c;return kn(e)[n(562)](Ko(t),Zo(t))}function is(e,t){return kn(e).pipe(Ko(t),Zo(t))}function as(e,t){return new Xe(function(n){const x=_0x447e;var o=0;return t[x(2057)](function(){const r=x;o===e[r(1028)]?n[r(1239)]():(n[r(1366)](e[o++]),!n[r(1146)]&&this[r(2057)]())})})}function cs(e,t){return new Xe(function(n){var x;return yn(n,t,function(){x=e[To](),yn(n,t,function(){const o=_0x447e;var r,i,a;try{r=x.next(),i=r[o(1429)],a=r[o(2174)]}catch(f){n.error(f);return}a?n[o(1239)]():n[o(1366)](i)},0,!0)}),function(){const o=_0x447e;return ke(x?.[o(1362)])&&x[o(1362)]()}})}function Ro(e,t){if(!e)throw new Error("Iterable cannot be null");return new Xe(function(n){yn(n,t,function(){var o=e[Symbol[_0x447e(1560)]]();yn(n,t,function(){o.next().then(function(r){const i=_0x447e;r[i(2174)]?n[i(1239)]():n[i(1366)](r[i(1429)])})},0,!0)})})}function ss(e,t){return Ro(qo(e),t)}function ls(e,t){if(e!=null){if(Go(e))return rs(e,t);if(jo(e))return as(e,t);if(Uo(e))return is(e,t);if(Oo(e))return Ro(e,t);if(Vo(e))return cs(e,t);if(Wo(e))return ss(e,t)}throw Ho(e)}function t0(e,t){return t?ls(e,t):kn(e)}function tn(){const e=c;for(var t=[],n=0;n<arguments[e(1028)];n++)t[n]=arguments[n];var x=Qc(t);return t0(t,x)}function Ie(e,t){var n=ke(e)?e:function(){return e},x=function(o){return o[_0x447e(1738)](n())};return new Xe(x)}function ds(e){return e instanceof Date&&!isNaN(e)}var us=tx(function(e){return function(n){const x=_0x447e;n===void 0&&(n=null),e(this),this[x(494)]="Timeout has occurred",this[x(1952)]=x(1791),this[x(1590)]=n}});function fs(e,t){const n=c;var x=ds(e)?{first:e}:{each:e},o=x[n(511)],r=x[n(2175)],i=x.with,a=i===void 0?gs:i,f=x.scheduler,s=f===void 0?Rc:f,u=x.meta,d=u===void 0?null:u;if(o==null&&r==null)throw new TypeError("No timeout provided.");return Nn(function(y,h){const g=n;var m,v,p=null,M=0,w=function(z){v=yn(h,s,function(){const b=_0x447e;try{m[b(603)](),kn(a({meta:d,lastValue:p,seen:M}))[b(1677)](h)}catch(k){h.error(k)}},z)};m=y[g(1677)](Sn(h,function(z){const b=g;v?.[b(603)](),M++,h[b(1366)](p=z),r>0&&w(r)},void 0,void 0,function(){const z=g;!v?.[z(1146)]&&v?.[z(603)](),p=null})),!M&&w(o!=null?typeof o===g(1539)?o:+o-s.now():r)})}function gs(e){throw new us(e)}function x0(e,t){return Nn(function(n,x){var o=0;n.subscribe(Sn(x,function(r){const i=_0x447e;x.next(e[i(1036)](t,r,o++))}))})}function hs(e,t,n,x,o,r,i,a){const f=c;var s=[],u=0,d=0,y=!1,h=function(){const v=_0x447e;y&&!s[v(1028)]&&!u&&t[v(1239)]()},g=function(v){const p=_0x447e;return u<x?m(v):s[p(2049)](v)},m=function(v){const p=_0x447e;u++;var M=!1;kn(n(v,d++))[p(1677)](Sn(t,function(w){t[p(1366)](w)},function(){M=!0},void 0,function(){const w=p;if(M)try{u--;for(var z=function(){var k=s[_0x447e(2123)]();i||m(k)};s[w(1028)]&&u<x;)z();h()}catch(b){t[w(1738)](b)}}))};return e[f(1677)](Sn(t,g,function(){y=!0,h()})),function(){}}function ax(e,t,n){const x=c;return n===void 0&&(n=1/0),ke(t)?ax(function(o,r){return x0(function(i,a){return t(o,i,r,a)})(kn(e(o,r)))},n):(typeof t===x(1539)&&(n=t),Nn(function(o,r){return hs(o,r,e,n)}))}function o0(e){return Nn(function(t,n){const x=_0x447e;var o=null,r=!1,i;o=t[x(1677)](Sn(n,void 0,void 0,function(a){const f=x;i=kn(e(a,o0(e)(t))),o?(o[f(603)](),o=null,i[f(1677)](n)):r=!0})),r&&(o[x(603)](),o=null,i[x(1677)](n))})}function ys(e,t,n){var x=ke(e)||t||n?{next:e,error:t,complete:n}:e;return x?Nn(function(o,r){const i=_0x447e;var a;(a=x[i(1677)])===null||a===void 0||a[i(1036)](x);var f=!0;o.subscribe(Sn(r,function(s){const u=i;var d;(d=x[u(1366)])===null||d===void 0||d.call(x,s),r[u(1366)](s)},function(){const s=i;var u;f=!1,(u=x[s(1239)])===null||u===void 0||u[s(1036)](x),r[s(1239)]()},function(s){const u=i;var d;f=!1,(d=x[u(1738)])===null||d===void 0||d[u(1036)](x,s),r[u(1738)](s)},function(){const s=i;var u,d;f&&((u=x.unsubscribe)===null||u===void 0||u.call(x)),(d=x.finalize)===null||d===void 0||d[s(1036)](x)}))}):ko}function cx(e){const t=c;return encodeURIComponent((e||"").trim()||t(2017))}function ms(e){const t=c;return e[t(597)]==="external"?e.bindNodeId+t(440)+cx(e.externalEventKey??""):e[t(466)]+"::"+e[t(597)]}function Jo(e,t){return e+":"+t}class Jn{static[c(1863)];[c(737)]=new Map;[c(453)]=new Map;eventBlocks=new Map;[c(2136)]=new Map;defaultRuntimeHandlers;constructor(){}static[c(2153)](){const t=c;return!Jn.instance&&(Jn[t(1863)]=new Jn),Jn.instance}[c(2085)](t){const n=c;this.eventBlocks[n(1007)](t.id,t)}[c(636)](t){const n=c;this[n(1758)][n(719)](t)}[c(646)](t){const n=c;return this[n(1758)][n(1446)](t)}[c(676)](t){const n=c;this[n(504)]=t}[c(1512)](t){const n=c;if(!t)return;const x=this[n(504)];this[n(504)]={dataRequest:{...x?.dataRequest,...t[n(670)]},external:{...x?.external,...t[n(739)]}}}[c(2086)](t){const n=c,x=this[n(504)];if(!(!x&&!t))return{dataRequest:{...x?.[n(670)],...t?.[n(670)]},external:{...x?.[n(739)],...t?.[n(739)]}}}[c(2121)](t){const n=c,x=this.subscriptions.get(t.id);x&&(x[n(603)](),this[n(453)][n(719)](t.id)),this[n(737)][n(719)](t.id)}[c(1836)](t){const n=c,x=ms(t),o=this.nodeEventBindings[n(1446)](x);o&&o.id!==t.id&&this.disposeEventRootPipeline(o),this[n(2136)][n(1007)](x,t),!this[n(737)][n(1432)](t.id)&&this[n(470)](t)}[c(501)](t,n,x){const o=c;if(n==="external"){const f=t+"::ext::"+cx(x??""),s=this[o(2136)].get(f);s&&(this[o(2121)](s),this.nodeEventBindings[o(719)](f));return}const r=t+"::"+n,i=Jo(t,n),a=this[o(2136)].get(r)??this[o(2136)][o(1446)](i);a&&(this.disposeEventRootPipeline(a),this[o(2136)].delete(r),this[o(2136)][o(719)](i))}[c(2080)](t){const n=c,x=[];this[n(2136)][n(1068)]((o,r)=>{const i=n;o[i(466)]===t&&x[i(2049)]({key:r,root:o})}),x[n(1068)](({key:o,root:r})=>{const i=n;this[i(2121)](r),this[i(2136)].delete(o)})}[c(1714)](t){const n=c,x=[];return this[n(2136)][n(1068)](o=>{const r=n;o.bindNodeId===t&&x[r(2049)](o)}),x}[c(1699)](t,n,x){const o=c,r=t+"::"+n,i=this[o(2136)].get(r)??this[o(2136)][o(1446)](Jo(t,n));if(!i||!i[o(1155)])return tn({success:!0,result:null,path:[],duration:0});if(!this[o(737)][o(1446)](i.id))return Ie(()=>new Error(o(1315)+r));const f=Date[o(1676)](),s={...x,executionPath:x[o(1254)]||[],runtimeHandlers:this[o(2086)](x[o(896)])};return this[o(1463)](i,s)[o(562)](x0(u=>({success:!0,result:u,path:s.executionPath,duration:Date[o(1676)]()-f})),o0(u=>tn({success:!1,error:u[o(494)]||o(1983),path:s[o(1254)],duration:Date.now()-f})))}[c(914)](t,n,x){const o=c,r=t+o(440)+cx(n),i=this[o(2136)].get(r);if(!i||!i[o(1155)])return tn({success:!0,result:null,path:[],duration:0});if(!this[o(737)][o(1446)](i.id))return Ie(()=>new Error(o(1315)+r));const f=Date.now(),s={...x,executionPath:x.executionPath||[],runtimeHandlers:this[o(2086)](x.runtimeHandlers)};return this[o(1463)](i,s)[o(562)](x0(u=>({success:!0,result:u,path:s[o(1254)],duration:Date[o(1676)]()-f})),o0(u=>tn({success:!1,error:u[o(494)]||"Event flow execution failed",path:s.executionPath,duration:Date.now()-f})))}createEventFlowPipeline(t){const n=c,x=new Yo;this[n(737)][n(1007)](t.id,x)}[c(1463)](t,n){const x=c,{nodes:o,edges:r}=t[x(1928)];if(o[x(1028)]===0)return tn(null);const i=o[x(1076)](a=>a.inputs[x(1028)]===0);return i[x(1028)]===0?Ie(()=>new Error("No start node found in event flow")):this[x(2077)](i,o,r,n,{})}[c(2077)](t,n,x,o,r){const i=c;if(t[i(1028)]===0)return tn(r);const a=t[i(1001)](f=>this.executeSingleFlowNode(f,o,r)[i(562)](ys(s=>{const u=i;r[f.id]=s,o.executionPath[u(2049)](f.id)})));return t0(a)[i(562)](ax(f=>f,1),x0(()=>{const f=i,s=new Set;return t[f(1068)](d=>{d.outputs.forEach(y=>{const h=_0x447e,g=n[h(2159)](m=>m.id===y);g&&g[h(1735)][h(1281)](v=>r[v]!==void 0)&&s[h(447)](y)})}),n[f(1076)](d=>s[f(1432)](d.id))}),ax(f=>{const s=i;return f[s(1028)]>0?this[s(2077)](f,n,x,o,r):tn(r)}),fs(3e4),o0(f=>{const s=i;return console[s(1738)](s(1392),f),Ie(()=>f)}))}resolveFlowEventBlock(t){const n=c;return this.eventBlocks.get(t.eventBlockId)??t[n(455)][n(1722)]}[c(702)](t,n,x){const o=c;return t[o(2164)](/\{\{\s*([^}]+?)\s*\}\}/g,(r,i)=>{const a=o,f=String(i).trim();if(f.startsWith("$")){const u=this[a(904)](x,f[a(563)](1));return u==null?"":String(u)}const s=n[f];return s==null?"":String(s)})}[c(1765)](t,n,x){const o=c,r=t[o(1800)];if(!r)return Ie(()=>new Error(o(1930)));if(r===o(1563)){const i=t[o(2119)]??{},a=String(i[o(1621)]??""),f=i[o(1571)]??o(1590),s=i[o(1844)],u=this[o(702)](a,x,n);if(!u[o(1619)]())return Ie(()=>new Error(o(622)));try{const d={type:f,content:u};if(s!=null&&s!==""){const y=Number(s);!Number[o(1464)](y)&&(d[o(1844)]=y)}return C[o(494)][o(1073)](d),tn({ok:!0,builtinId:r,content:u,level:f})}catch(d){return Ie(()=>d)}}return Ie(()=>new Error(o(1810)+String(r)))}[c(1250)](t,n,x){try{const o=t(n,x);return o instanceof Promise?t0(o):tn(o)}catch(o){return Ie(()=>o)}}executeSingleFlowNode(t,n,x){const o=c,r=this[o(2088)](t);if(!r)return Ie(()=>new Error(o(750)+t.eventBlockId));const i=this[o(1290)](t,n,x),a=r[o(899)]??"inlineScript";if(a===o(670)){const f=(r[o(1123)]||"").trim();if(!f)return Ie(()=>new Error(o(1236)));const s=n.runtimeHandlers?.[o(670)]?.[f];return s?this[o(1250)](s,n,i):Ie(()=>new Error(o(565)+f))}if(a==="external"){const f=(r[o(1154)]||"")[o(1619)]();if(!f)return Ie(()=>new Error(o(1502)));const s=n[o(896)]?.[o(739)]?.[f];return s?this[o(1250)](s,n,i):Ie(()=>new Error(o(944)+f))}if(a===o(2079))return this[o(1765)](r,n,i);try{const f=new Function(o(1656),o(1241),"args",r[o(1322)]),s=f(n[o(1710)],n,i);return s instanceof Promise?t0(s):tn(s)}catch(f){return Ie(()=>f)}}[c(1290)](t,n,x){const o=c,r={$event:n[o(854)],$data:n[o(455)],$node:n[o(1710)]},{inputMapping:i}=t[o(455)];return i&&Object[o(542)](i)[o(1068)](([a,f])=>{const s=o;if(f[s(1523)](s(2103))){const u=f[s(2164)]("$prev.","");r[a]=x[u]}else if(f[s(1523)]("$")){const u=f[s(563)](1);r[a]=this[s(904)](n,u)}else r[a]=f}),r}[c(904)](t,n){const x=c;return n[x(1773)](".")[x(1846)]((o,r)=>{if(o!==null&&typeof o===x(1210)&&r in o)return o[r]},t)}[c(1737)](){const t=c;this[t(453)][t(1068)](n=>n.unsubscribe()),this[t(453)][t(1370)](),this[t(737)][t(1370)](),this.nodeEventBindings[t(1370)]()}}const _n=Jn.getInstance(),_o=({node:e,children:t,runtimeHandlers:n,flowContextData:x})=>{const o=c,{eventFlow:r}=Ee(),i=L[o(1713)](null),a=L[o(1020)](()=>{const s=o;return r[s(1607)][s(1076)](u=>u.bindNodeId===e.id&&u[s(1155)])},[r[o(1607)],e.id]),f=L.useCallback(s=>u=>{const d=_0x447e,y=a()[d(1076)](g=>g[d(597)]===s);if(y[d(1028)]===0)return;s!=="mouseOver"&&s!==d(1219)&&u.preventDefault(),u[d(471)]();const h=x&&typeof x=="object"?{...x}:{};y[d(1068)](g=>{const m=d;_n[m(1699)](e.id,s,{triggerNode:e,originalEvent:u,data:h,runtimeHandlers:n})[m(1677)]({next:v=>{const p=m;!v[p(1678)]&&console.error("Event flow execution failed:",v[p(1738)])},error:v=>{console[m(1738)]("Event flow error:",v)}})})},[a,e,n,x]);return L[o(1027)](()=>{const s=o;return a()[s(1068)](d=>{_n.bindNodeEvent(d)}),()=>{_n[s(2080)](e.id)}},[a,e.id]),L[o(1027)](()=>{const s=o,u=i.current;if(!u)return;const d={click:f("click"),mousedown:f(s(925)),mouseup:f(s(892)),dblclick:f("doubleClick"),mouseover:f(s(620)),mouseleave:f(s(1219)),mouseenter:f(s(1751)),contextmenu:f(s(1103))};return Object.entries(d)[s(1068)](([y,h])=>{u[s(2055)](y,h,!0)}),()=>{const y=s;Object[y(542)](d)[y(1068)](([h,g])=>{u[y(653)](h,g,!0)})}},[f]),L[o(1669)](t,{ref:s=>{const u=o;i.current=s;const d=t.ref;typeof d===u(940)?d(s):d&&u(787)in d&&(d[u(787)]=s)}})},{Text:Qo}=C.Typography,ws=(e,t)=>{const n=c;if(!t||!e)return{value:void 0};if(Array[n(1098)](e)){const x=e[n(2159)](o=>o[n(1009)]===t);if(x)return{value:x[n(1429)],unit:x.unit}}else if(typeof e===n(1210)&&t in e)return{value:e[t],unit:e.unit};return{value:void 0}},vs=(e,t)=>{const n=c;if(e==null||e==="")return"";if(t===-1)return String(e);const x=Number(e);return isNaN(x)?String(e):x[n(1889)](t??2)},ps=(e,t,n,x)=>{const o=c;switch(e[o(638)]){case o(477):const r=e,i=r[o(553)],a=r[o(1953)];let f=r[o(529)];return a&&f&&f[o(1931)]("data:image/svg+xml")&&(e[o(1952)]==="矩形"?f="data:image/svg+xml,"+encodeURIComponent(o(441)+a+o(2168)):e[o(1952)]==="圆形"?f=o(1816)+encodeURIComponent(o(2024)+a+o(752)):e[o(1952)]===o(829)&&(f="data:image/svg+xml,"+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="60"><rect width="100" height="60" fill="'+a+o(1796)))),l[o(1970)](o(1331),{className:o(623),style:{backgroundColor:i},children:f?l[o(1970)](o(1353),{src:f,alt:e[o(1952)],style:{width:o(697),height:"100%",objectFit:"contain"}}):l[o(1970)](o(1331),{className:"w-full h-full flex items-center justify-center",children:l[o(1970)]("span",{className:o(551),children:o(1626)})})});case o(843):const s=e,{label:u,value:d,valueSourceCode:y,unit:h,decimals:g,labelStyle:m,valueStyle:v,customStyle:p}=s[o(1621)]||{},{value:M,unit:w}=y?ws(t,y):{value:void 0,unit:void 0},z=M!==void 0?M:d,b=vs(z,g),k=h||w||"";return l[o(557)]("div",{className:"w-full h-full flex flex-col justify-center gap-1",style:{...p},children:[u&&l[o(1970)](Qo,{style:{fontSize:14,fontWeight:"bold",color:o(1531),textAlign:o(1947),...m},children:u}),b&&l[o(557)](Qo,{style:{fontSize:14,color:o(754),textAlign:o(1947),...v},children:[b,k?" "+k:""]})]});case o(915):const G=e,{thickness:E=2,color:I=o(1249),dashed:q=!1,lineType:F=o(q?1149:1491),lineWeight:K=E,startX:W=0,startY:V=0,endX:N=100,endY:D=0}=G[o(1829)]||{},B=Z=>{const J=o,X=Math[J(1419)](K,1);switch(Z){case J(1491):return"";case"dashed":return X*8+","+X*4;case J(1324):return X*12+","+X*3+","+X*2+","+X*3;case J(1945):return X*12+","+X*3+","+X*2+","+X*3+","+X*2+","+X*3;case J(1222):return X+","+X*3;case"dash-dot":return X*8+","+X*3+","+X+","+X*3;default:return""}},A=B(F),P=n?"#1890ff":I;return l[o(1970)](o(1331),{className:o(2020),style:{overflow:o(849)},children:l[o(557)](o(1996),{className:o(2120),width:"100%",height:o(697),style:{overflow:"visible",pointerEvents:o(2039)},children:[l[o(1970)](o(1918),{x1:W,y1:V,x2:N,y2:D,stroke:o(1585),strokeWidth:Math[o(1419)](K,10),strokeLinecap:o(681),strokeLinejoin:o(681),style:{pointerEvents:o(1373),cursor:"pointer"}}),l.jsx(o(1918),{x1:W,y1:V,x2:N,y2:D,stroke:P,strokeWidth:K,strokeDasharray:A,strokeLinecap:o(681),strokeLinejoin:o(681),style:{pointerEvents:o(2039)}})]})});case o(796):const Y=e;return Y[o(1980)]?Y[o(1980)]({}):l.jsx(o(1331),{className:o(1787),children:l[o(1970)](o(1493),{className:o(551),children:o(2141)})});default:return l[o(1970)]("div",{className:o(1787),children:l.jsx(o(1493),{className:o(551),children:o(1329)})})}},bs=({node:e,isSelected:t=!1,onClick:n,onMouseDown:x,data:o,onUpdateNode:r,scale:i=1,enableEventFlow:a=!1,eventFlowData:f})=>{const s=c,{normalStyle:u,controlInfo:d}=e,{isClickable:y,isDraggable:h,isResizable:g}=d,m=e[s(858)],v=Ee(S=>S[s(1334)]),p=L.useRef(n);L[s(1027)](()=>{const S=s;p[S(787)]=n},[n]);const[M,w]=L.useState(null),z=L[s(1713)](null),b=L[s(1713)](null),k=L[s(1713)](null),G=L[s(1713)](null),E=L[s(1713)](null),[I,q]=L.useState(null),[F,K]=L.useState(null),W=L[s(1713)](null),V=L.useMemo(()=>{const S=s,j=e[S(858)].statusList;if(j[S(1028)]===0)return;const _=mo(j,o,v);return _||j[0]},[e[s(858)][s(1029)],o,v]),N=V?.[s(640)],D=N?.[s(638)]==="LINE",B=D?N[s(1829)]:null,A=u[s(1416)]??1,P=(u[s(502)]||100)*A,Y=(u[s(1201)]||100)*A,Z=L[s(1020)](()=>{const S=s,j=E[S(787)]?.[S(1132)](S(773));if(!j)return i;const _=j[S(1761)](),H=parseFloat(j.style[S(502)]);return H?_[S(502)]/H:i},[i]),J=L[s(1020)]((S,j)=>{const _=s;S.stopPropagation(),S[_(478)]();const H=B?.[_(446)]||0,O=B?.[_(1977)]||0,ne=B?.[_(1168)]||0,de=B?.endY||0,ye=u.x||0,ce=u.y||0,ge=Math[_(1419)]((B?.[_(2106)]||B?.[_(485)]||2)*2,4),be=Math[_(2007)](H,ne),he=Math[_(2007)](O,de),ze=Math[_(1419)](H,ne),De=Math[_(1419)](O,de),Ue=Math[_(1419)](ze-be,ge),Ge=Math[_(1419)](De-he,ge);z[_(787)]={mouseX:S[_(2156)],mouseY:S[_(1484)],startX:H,startY:O,endX:ne,endY:de,nodeX:ye,nodeY:ce};const Ye=Math[_(2007)](H,ne),Ae=Math[_(2007)](O,de);k[_(787)]={nodeX:ye+Ye,nodeY:ce+Ae,width:Ue,height:Ge,startX:H-Ye,startY:O-Ae,endX:ne-Ye,endY:de-Ae},b[_(787)]=V||null,w(j)},[B,u.x,u.y,V]);L[s(1027)](()=>{const S=s;if(!M||!D||!B||!r)return;const j=H=>{const O=_0x447e,ne=z.current;if(!ne||!E[O(787)])return;const de=Z(),ye=(H.clientX-ne[O(1461)])/de,ce=(H[O(1484)]-ne.mouseY)/de;let ge=ne.startX,be=ne.startY,he=ne[O(1168)],ze=ne[O(881)],De=ne.nodeX,Ue=ne[O(1014)];M===O(1159)?(ge=ne[O(446)]+ye,be=ne[O(1977)]+ce,ge<0&&(De=ne[O(1622)]+ge,he=ne.endX-ge,ge=0),be<0&&(Ue=ne[O(1014)]+be,ze=ne[O(881)]-be,be=0)):(he=ne[O(1168)]+ye,ze=ne[O(881)]+ce,he<0&&(De=ne[O(1622)]+he,ge=ne.startX-he,he=0),ze<0&&(Ue=ne[O(1014)]+ze,be=ne.startY-ze,ze=0));const Ge=Math.max((B[O(2106)]||2)*2,4),Ye=Math[O(2007)](ge,he),Ae=Math[O(2007)](be,ze),Oe=Math[O(1419)](ge,he),Wt=Math[O(1419)](be,ze),zn=De+Ye,dt=Ue+Ae,On=ge-Ye,Hn=be-Ae,Cn=he-Ye,Mn=ze-Ae,Tn=Math[O(1419)](Oe-Ye,Ge),Vn=Math[O(1419)](Wt-Ae,Ge);k.current={nodeX:zn,nodeY:dt,width:Tn,height:Vn,startX:On,startY:Hn,endX:Cn,endY:Mn};const Ze=E[O(787)];Ze[O(803)][O(1947)]=zn+"px",Ze.style[O(1411)]=dt+"px",Ze[O(803)][O(502)]=Tn+"px",Ze.style[O(1201)]=Vn+"px",Ze[O(1483)](O(2162))[O(1068)](Bn=>{const qn=O;Bn[qn(690)]("x1",String(On)),Bn.setAttribute("y1",String(Hn)),Bn[qn(690)]("x2",String(Cn)),Bn[qn(690)]("y2",String(Mn))});const en=Ze.querySelector(O(1163)),nn=Ze[O(1519)](O(678));en&&(en[O(803)][O(1947)]=On-6+"px",en.style[O(1411)]=Hn-6+"px"),nn&&(nn.style[O(1947)]=Cn-6+"px",nn[O(803)][O(1411)]=Mn-6+"px")},_=()=>{const H=_0x447e,O=k[H(787)];if(!O||!r){w(null),z[H(787)]=null,k[H(787)]=null,b[H(787)]=null;return}const ne=Ee[H(1556)]()[H(1053)].find(he=>he.id===e.id),de=ne?.[H(858)][H(1029)]??e.contentInfo[H(1029)],ye=b[H(787)],ce=ye?.id??de[H(2159)](he=>he.material.type==="LINE")?.id,ge=de[H(1001)](he=>{const ze=H;if(he[ze(640)].type!==ze(915)||he.id!==ce)return he;const De=he.material;return{...he,material:{...De,config:{...De[ze(1829)],startX:O[ze(446)],startY:O[ze(1977)],endX:O[ze(1168)],endY:O[ze(881)]}}}}),be=ne?.contentInfo??m;r(e.id,{normalStyle:{x:O[H(1622)],y:O[H(1014)],width:O[H(502)],height:O[H(1201)]},contentInfo:{...be,statusList:ge}}),w(null),z.current=null,k[H(787)]=null,b.current=null};return window[S(2055)](S(1798),j),window[S(2055)](S(1744),_),()=>{const H=S;window[H(653)]("mousemove",j),window[H(653)](H(1744),_)}},[M,D,B,e.id,u,m,e[s(858)][s(1029)],r,Z]),L[s(1027)](()=>{const S=s;if(!I||!r)return;const j=H=>{const O=_0x447e;if(!E[O(787)])return;const ne=Z(),de=(H[O(2156)]-I[O(446)])/ne,ye=(H[O(1484)]-I[O(1977)])/ne;let ce=I.startWidth,ge=I[O(1308)],be=I.startNodeX,he=I[O(543)];switch(I[O(1609)]){case"se":ce=Math[O(1419)](20,I[O(1074)]+de),ge=Math[O(1419)](20,I[O(1308)]+ye);break;case"sw":ce=Math[O(1419)](20,I[O(1074)]-de),ge=Math[O(1419)](20,I[O(1308)]+ye),be=I.startNodeX+(I[O(1074)]-ce);break;case"ne":ce=Math[O(1419)](20,I[O(1074)]+de),ge=Math.max(20,I[O(1308)]-ye),he=I[O(543)]+(I.startHeight-ge);break;case"nw":ce=Math[O(1419)](20,I[O(1074)]-de),ge=Math.max(20,I[O(1308)]-ye),be=I[O(832)]+(I[O(1074)]-ce),he=I[O(543)]+(I.startHeight-ge);break}G.current={x:be,y:he,width:ce,height:ge};const ze=E[O(787)];ze[O(803)][O(1947)]=be+"px",ze[O(803)].top=he+"px",ze[O(803)][O(502)]=ce+"px",ze.style[O(1201)]=ge+"px"},_=()=>{const H=_0x447e,O=G[H(787)];O&&r(e.id,{normalStyle:{...u,x:O.x,y:O.y,width:O[H(502)],height:O[H(1201)]}}),q(null),G[H(787)]=null};return window.addEventListener("mousemove",j),window.addEventListener(S(1744),_),()=>{const H=S;window[H(653)](H(1798),j),window[H(653)]("mouseup",_)}},[I,r,e.id,u,Z]);const X=L[s(1020)]((S,j)=>{const _=s;S[_(471)](),S.preventDefault(),q({corner:j,startX:S[_(2156)],startY:S.clientY,startWidth:u[_(502)]||100,startHeight:u.height||100,startNodeX:u.x||0,startNodeY:u.y||0})},[u[s(502)],u[s(1201)],u.x,u.y]),Q=L[s(1020)](S=>{const j=s;S[j(471)](),S.preventDefault();const _=E.current?.[j(1761)]();_&&K({startX:S[j(2156)],startY:S[j(1484)],startAngle:u[j(1706)]||0,centerX:_[j(1947)]+_[j(502)]/2,centerY:_.top+_.height/2})},[u[s(1706)]]);L[s(1027)](()=>{const S=s;if(!F)return;const j=H=>{const O=_0x447e,ne=H[O(2156)]-F.centerX,de=H.clientY-F[O(946)];let ce=(Math[O(794)](de,ne)*(180/Math.PI)+90)%360;if(ce<0&&(ce+=360),W[O(787)]=ce,E[O(787)]){const ge=u.transform||"";E[O(787)][O(803)][O(688)]=(O(1089)+ce+O(472)+ge).trim()}},_=()=>{const H=_0x447e,O=W[H(787)]??F[H(459)];W[H(787)]=null,r&&r(e.id,{normalStyle:{...u,rotate:Math[H(681)](O)}}),K(null)};return window[S(2055)]("mousemove",j),window[S(2055)]("mouseup",_),()=>{const H=S;window[H(653)](H(1798),j),window.removeEventListener("mouseup",_)}},[F,r,e.id,u]);const R=e[s(638)]===s(1283),re={position:s(1386),left:u.x||0,top:u.y||0,width:P,height:Y,background:R?s(1585):u.background||"transparent",backgroundImage:R?void 0:u.backgroundImage?s(1021)+u[s(698)]+")":void 0,backgroundSize:s(586),backgroundPosition:s(1324),padding:Array.isArray(u.padding)?u[s(1754)][s(1248)]("px ")+"px":u.padding,margin:Array.isArray(u.margin)?u[s(1934)][s(1248)]("px ")+"px":u[s(1934)],borderRadius:R?void 0:u.borderRadius,border:t&&!D?"2px solid #1890ff":D||R?s(2039):u[s(1655)]||"1px dashed transparent",pointerEvents:s(1647),opacity:u[s(1495)]??1,transform:(s(1089)+(W[s(787)]??(u[s(1706)]||0))+s(472)+(u.transform||"")).trim(),transformOrigin:s(1935),zIndex:t?1e3:u[s(2147)]??1,cursor:h&&!M?s(917):y?"pointer":s(1138),boxSizing:"border-box",overflow:t||D||R?"visible":s(1231)},ee=B?{x:B[s(446)]||0,y:B[s(1977)]||0}:{x:0,y:0},ae=B?{x:B[s(1168)]||0,y:B[s(881)]||0}:{x:0,y:0},ie=l[s(557)]("div",{ref:E,"data-node-id":e.id,style:re,onClick:S=>{const j=s;console[j(484)]("NodeRenderer onClick",e.id,j(1872),y);const _=p.current;y&&_&&!M&&!I&&!F&&(S[j(471)](),_(S))},onMouseDown:S=>{h&&x&&!M&&x(S)},children:[t&&!D&&!R&&l.jsxs(l[s(514)],{children:[l[s(1970)](s(1331),{className:s(1885),style:{zIndex:9999,pointerEvents:s(1647),cursor:"nw-resize",marginTop:"-6px",marginLeft:s(1716)},onMouseDown:S=>X(S,"nw"),title:s(1991)}),l[s(1970)]("div",{className:s(1394),style:{zIndex:9999,pointerEvents:s(1647),cursor:s(1618),marginTop:s(1716),marginRight:s(1716)},onMouseDown:S=>X(S,"ne"),title:s(1991)}),l[s(1970)](s(1331),{className:s(658),style:{zIndex:9999,pointerEvents:s(1647),cursor:s(462),marginBottom:s(1716),marginLeft:s(1716)},onMouseDown:S=>X(S,"sw"),title:s(1991)}),l[s(1970)](s(1331),{className:s(1740),style:{zIndex:9999,pointerEvents:s(1647),cursor:"se-resize",marginBottom:"-6px",marginRight:s(1716)},onMouseDown:S=>X(S,"se"),title:s(1991)}),l[s(1970)]("div",{className:s(1412),style:{zIndex:9999,pointerEvents:"auto",cursor:s(1587),marginTop:s(1181),transform:s(1831),boxShadow:"0 0 4px rgba(0,0,0,0.3)"},onMouseDown:S=>Q(S),title:"拖拽旋转"}),l[s(1970)]("div",{className:s(2051),style:{zIndex:9998,pointerEvents:"none",marginTop:s(1843),transform:"translateX(-50%)"}}),l.jsxs("div",{className:s(860),children:[e[s(1952)]," ",V?"("+V[s(1952)]+")":""]})]}),t&&D&&B&&r&&l[s(557)](l[s(514)],{children:[l[s(1970)](s(1331),{"data-handle":"start",className:s(1462),style:{left:ee.x-6,top:ee.y-6,boxShadow:s(813)},onMouseDown:S=>J(S,s(1159)),title:"拖拽调整起点"}),l.jsx(s(1331),{"data-handle":s(1323),className:s(1462),style:{left:ae.x-6,top:ae.y-6,boxShadow:s(813)},onMouseDown:S=>J(S,s(1323)),title:s(822)}),l[s(1970)](s(1331),{className:s(860),children:e[s(1952)]})]}),l[s(1970)]("div",{className:s(2020),children:N?l[s(1970)](s(1331),{className:s(1838),children:ps(N,o,t)}):R?null:l[s(1970)](s(1331),{className:s(2036),children:s(1499)})}),e.type==="group"&&e[s(513)]&&l[s(1970)]("div",{className:s(2104),children:e[s(513)][s(1001)](S=>l.jsx("div",{className:s(570),children:l.jsx(sx,{node:S,isSelected:!1,data:o,onUpdateNode:r,scale:i,enableEventFlow:a,eventFlowData:f})},S.id))})]});return a?l[s(1970)](_o,{node:e,flowContextData:f,children:ie}):ie},sx=L[c(619)](bs,(e,t)=>{const n=c,x=e[n(1656)],o=t[n(1656)],r=x.id===o.id&&x.normalStyle.x===o.normalStyle.x&&x[n(1490)].y===o[n(1490)].y&&x[n(1490)][n(502)]===o.normalStyle.width&&x[n(1490)][n(1201)]===o.normalStyle[n(1201)],i=x[n(858)]===o[n(858)],a=JSON[n(1613)](e[n(693)]??null)===JSON.stringify(t[n(693)]??null),f=e[n(1092)]===t[n(1092)]&&e[n(1416)]===t[n(1416)]&&e.enableEventFlow===t[n(1950)]&&a,s=h=>{const g=n,m=[];return h[g(858)]?.statusList?.[g(1068)](v=>{const p=g;if(v[p(640)]?.[p(638)]===p(915)){const M=v[p(640)][p(1829)];m[p(2049)]({statusId:v.id,startX:M?.startX??0,startY:M?.[p(1977)]??0,endX:M?.endX??100,endY:M?.endY??0})}}),m},u=s(x),d=s(o);let y=!0;if(u[n(1028)]!==d.length)y=!1;else for(let h=0;h<u[n(1028)];h++){const g=u[h],m=d[n(2159)](v=>v[n(2143)]===g[n(2143)]);if(!m||g[n(446)]!==m[n(446)]||g[n(1977)]!==m[n(1977)]||g.endX!==m[n(1168)]||g[n(881)]!==m[n(881)]){y=!1;break}}return r&&i&&f&&y}),zs=[c(754),c(741),"#faad14","#f5222d",c(1681),c(991),"#13c2c2",c(476),"#595959","#262626",c(982),c(1249),c(895),c(1305),"#ff4d4f",c(1942)],Qn=({value:e=c(754),onChange:t,onChangeComplete:n})=>{const x=c,[o,r]=L[x(1303)](!1),[i,a]=L[x(1303)](e),f=L.useRef(null);L[x(1027)](()=>{a(e)},[e]),L.useEffect(()=>{const u=x,d=y=>{const h=_0x447e;f[h(787)]&&!f[h(787)][h(530)](y[h(819)])&&(r(!1),n?.({toHexString:()=>i}))};return o&&document[u(2055)](u(1075),d),()=>document.removeEventListener(u(1075),d)},[o,n,i]);const s=u=>{a(u),t?.({toHexString:()=>u})};return l[x(557)]("div",{ref:f,style:{position:x(1067),display:"inline-block"},children:[l[x(1970)](x(1331),{onClick:()=>r(!o),style:{width:28,height:28,backgroundColor:i,border:"1px solid #d9d9d9",borderRadius:4,cursor:x(1921)}}),o&&l[x(557)]("div",{style:{position:x(1386),top:32,left:0,zIndex:1e3,background:"#fff",padding:8,borderRadius:4,boxShadow:x(808),border:x(2105)},children:[l[x(1970)](x(1331),{style:{display:x(1709),gridTemplateColumns:x(995),gap:4},children:zs[x(1001)](u=>l[x(1970)](x(1331),{onClick:()=>{s(u),r(!1),n?.({toHexString:()=>u})},style:{width:20,height:20,backgroundColor:u,border:i===u?x(696):"1px solid #d9d9d9",borderRadius:2,cursor:"pointer"}},u))}),l[x(1970)](x(1721),{type:x(765),value:i,onChange:u=>s(u[x(819)].value),onBlur:()=>n?.({toHexString:()=>i}),style:{width:x(697),marginTop:8,height:28,border:x(1224),borderRadius:4}})]})]})},{TextArea:Cs}=C[c(1434)];function Fo(e){const t=c;if(!e||!(e instanceof HTMLElement))return!1;const n=e[t(2011)];return!!(n===t(1339)||n===t(806)||n==="SELECT"||n==="OPTION"||e[t(1743)]||e[t(1132)](t(1999))||e[t(1132)](t(1206))||e[t(1132)](t(840)))}const $o=({defaultTestData:e,readonly:t=!1})=>{const n=c,x=L[n(1713)](null),o=L[n(1713)](null),r=L[n(1713)](null),{nodes:i,selectedNodeId:a,selectedNodeIds:f,mode:s,lineDrawing:u,viewport:d,canvas:y,root:h,setViewport:g,setCanvasConfig:m,addNode:v,selectNode:p,updateNode:M,removeNode:w,undo:z,redo:b,setMode:k,startLineDrawing:G,endLineDrawing:E,cancelLineDrawing:I,addCanvas:q,removeCanvas:F,switchCanvas:K,updateCanvasName:W,setSelectedNodeIds:V}=Ee(),[N,D]=L[n(1303)](!1),[,B]=L.useState({}),A=L[n(1713)](s);L[n(1027)](()=>{const U=n;A[U(787)]=s},[s]),L[n(1027)](()=>{const U=n;k(U(t?1173:521))},[t,k]);const P=L[n(1713)](!1),Y=L[n(1713)]({x:0,y:0}),Z=L[n(1713)]({x:0,y:0,newX:0,newY:0}),J=L.useRef(null),[X,Q]=L[n(1303)]({start:null,end:null,isDrawing:!1}),[R,re]=L[n(1303)]({start:null,end:null}),ee=f,ae=V;L.useRef(!1);const[ie,S]=L[n(1303)](!1),[j,_]=L[n(1303)](!1),[H,O]=L[n(1303)](()=>JSON[n(1613)](e??null,null,2)),ne=L[n(694)](()=>{const U=n;if(!j)return e;try{return JSON[U(1753)](H)}catch{return e}},[H,e,j]),de=L.useMemo(()=>{const U=n,T=ne;if(T!==null&&typeof T===U(1210))return T;if(T!==void 0)return{_payload:T}},[ne]),ye=L[n(694)](()=>{const U=n,T=ne;return T!==null&&typeof T===U(1210)&&!Array[U(1098)](T)?T:Array.isArray(T)?{_telemetryRows:T}:T==null?{}:{_payload:T}},[ne]),ce=L[n(1020)](()=>{const U=n;let T=e;if(j)try{T=JSON[U(1753)](H)}catch{T=e}O(JSON[U(1613)](T??null,null,2)),S(!0)},[H,e,j]),[ge,be]=L.useState(!1),[he,ze]=L.useState(!1),De=L[n(1020)]((U,T)=>{const te=n;if(!o.current)return{x:0,y:0};const xe=o[te(787)][te(1761)](),le=U-xe[te(1947)],$=T-xe[te(1411)],oe=xe[te(502)]/y[te(502)],fe=xe.height/y[te(1201)],we=le/oe,me=$/fe;return{x:Math[te(681)](we),y:Math[te(681)](me)}},[y[n(502)],y.height]),Ue=L[n(1020)]((U,T)=>De(U,T),[De]),Ge=L.useCallback((U,T,te=!0)=>{const xe=n;if(!u[xe(640)])return;const le=u[xe(640)],$=le.config||{},oe=$[xe(2106)]||$[xe(485)]||2,fe=Math[xe(2007)](U.x,T.x),we=Math[xe(2007)](U.y,T.y),me=Math[xe(681)](U.x-fe),Me=Math[xe(681)](U.y-we),Be=Math[xe(681)](T.x-fe),Se=Math[xe(681)](T.y-we),He=Math.max(oe*2,4),Ke=Math[xe(1419)](Math[xe(781)](U.x-T.x),He),Dn=Math[xe(1419)](Math[xe(781)](U.y-T.y),He),fn={...le,id:ve.nanoid(),config:{color:$[xe(765)],lineWeight:oe,thickness:oe,lineType:$.lineType,startX:me,startY:Me,endX:Be,endY:Se}},ft={id:ve[xe(1045)](),name:le[xe(1952)]+"_"+Date.now(),type:xe(2090),normalStyle:{width:Ke,height:Dn,x:fe,y:we,background:xe(1585)},contentInfo:{statusList:[ex(fn)],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}};if(v(ft,!1),te){const Wn={x:T.x,y:T.y};Q({start:Wn,end:{...Wn},isDrawing:!0})}else Q({start:null,end:null,isDrawing:!1}),E()},[u[n(640)],v,E]),Ye=L[n(1020)](()=>{const U=n,T=x[U(787)]?.[U(578)];T&&g({scale:T[U(1416)],positionX:T[U(1724)],positionY:T[U(1235)]})},[g]),Ae=L.useCallback(U=>{const T=n;P.current||s!=="box-select"&&(U[T(819)]===o.current||U[T(819)][T(911)]?.[T(772)]===T(898))&&(p(null),ae([]))},[p,s]),Oe=L[n(1020)](U=>{const T=n;if(U[T(2070)]===0){if(s===T(1509)&&u[T(640)]){U.stopPropagation();const te=De(U[T(2156)],U[T(1484)]);X[T(560)]?X[T(1159)]&&Ge(X.start,te,!0):Q({start:te,end:te,isDrawing:!0});return}if(s===T(1817)&&!he){const te=Ue(U[T(2156)],U.clientY);re({start:te,end:te}),ae([]),U.preventDefault(),U.stopPropagation()}}},[s,u[n(640)],X.isDrawing,X[n(1159)],he,Ge,De,Ue]),Wt=L[n(1020)](U=>{const T=n;if(!(s!==T(1509)||!u.material)&&X[T(560)]&&X[T(1159)]){const te=De(U[T(2156)],U[T(1484)]);Ge(X[T(1159)],te,!1)}},[s,u[n(640)],X[n(560)],X.start,Ge,De]),zn=L[n(1020)](U=>{const T=n;U.preventDefault(),U[T(1771)][T(1961)]=T(2087),D(!0)},[]),dt=L[n(1020)](U=>{U[n(478)](),D(!1)},[]),On=L.useCallback(U=>{const T=n;if(U[T(478)](),D(!1),!(!o[T(787)]||s!==T(521)))try{const te=U.dataTransfer.getData(T(1477));if(!te)return;const xe=JSON[T(1753)](te),le=De(U[T(2156)],U[T(1484)]),$=le.x-50,oe=le.y-50,fe=zo($,oe,xe);v(fe),ae([fe.id])}catch(te){console[T(1738)](T(615),te)}},[s,v,De]),Hn=L[n(1020)]((U,T)=>{const te=n;s!==te(521)&&s!==te(1817)||!T[te(651)].isDraggable||(U[te(471)](),p(T.id),P[te(787)]=!0,Y[te(787)]={x:U[te(2156)],y:U[te(1484)]},Z[te(787)]={x:T[te(1490)].x||0,y:T[te(1490)].y||0,newX:T[te(1490)].x||0,newY:T.normalStyle.y||0},J[te(787)]=T,U[te(478)]())},[s,p]);L[n(1027)](()=>{const U=n,T=$=>{const oe=_0x447e;if(P[oe(787)]&&a&&J[oe(787)]){if(!o[oe(787)])return;const fe=o[oe(787)][oe(1761)](),we=fe[oe(502)]/y[oe(502)],me=fe.height/y.height,Me=$[oe(2156)]-Y[oe(787)].x,Be=$[oe(1484)]-Y[oe(787)].y,Se=Me/we,He=Be/me,Ke=Z.current.x+Se,Dn=Z[oe(787)].y+He,fn=document[oe(1519)](oe(751)+a+'"]');fn&&(fn[oe(803)][oe(1947)]=Ke+"px",fn[oe(803)][oe(1411)]=Dn+"px"),Z[oe(787)].newX=Ke,Z[oe(787)][oe(2068)]=Dn}if(s===oe(1817)&&R[oe(1159)]){const fe=Ue($[oe(2156)],$[oe(1484)]);re(we=>({...we,end:fe}))}if(s==="line-draw"&&X[oe(560)]){const fe=De($[oe(2156)],$.clientY);Q(we=>({...we,end:fe}))}},te=()=>{const $=_0x447e;if(P[$(787)]&&a&&J[$(787)]){const oe=Ee.getState(),fe=Z[$(787)][$(1097)]??Z[$(787)].x,we=Z.current.newY??Z.current.y;oe[$(1949)](a,{normalStyle:{...J[$(787)][$(1490)],x:fe,y:we}})}if(P[$(787)]=!1,J[$(787)]=null,B({}),s===$(1817)&&R.start&&R.end){const oe=Math[$(2007)](R.start.x,R[$(1323)].x),fe=Math[$(1419)](R[$(1159)].x,R[$(1323)].x),we=Math.min(R[$(1159)].y,R[$(1323)].y),me=Math[$(1419)](R.start.y,R[$(1323)].y),Me=i[$(1076)](Be=>{const Se=$,He=Be[Se(1490)].x||0,Ke=Be[Se(1490)].y||0,Dn=Be[Se(1490)].width||0,fn=Be.normalStyle.height||0,ft=He+Dn/2,Wn=Ke+fn/2;return ft>=oe&&ft<=fe&&Wn>=we&&Wn<=me}).map(Be=>Be.id);ae(Me),re({start:null,end:null})}},xe=$=>{const oe=_0x447e;Fo($.target)||($[oe(1101)]===oe(1517)&&s==="line-draw"&&(Q({start:null,end:null,isDrawing:!1}),I()),$[oe(1101)]===oe(1827)&&(a?w(a):ee[oe(1028)]>0&&(ee.forEach(fe=>w(fe)),ae([]))),$[oe(607)]&&$[oe(1101)]==="z"&&($[oe(478)](),z()),$.ctrlKey&&$[oe(1101)]==="y"&&($.preventDefault(),b()),$.key===" "&&!he&&($[oe(478)](),ze(!0)))},le=$=>{$[_0x447e(1101)]===" "&&he&&ze(!1)};return window[U(2055)]("mousemove",T),window[U(2055)](U(1744),te),window[U(2055)]("keydown",xe),window[U(2055)](U(1457),le),()=>{const $=U;window[$(653)]($(1798),T),window[$(653)]($(1744),te),window.removeEventListener("keydown",xe),window[$(653)]("keyup",le)}},[a,R,s,X.isDrawing,ee,i,y.width,y.height,w,z,he,b,I,De,Ue,ae]);const Cn=(U,T=!0)=>{const te=n,xe={...U,id:ve.nanoid(),name:U.name+"_副本",normalStyle:{...U[te(1490)],x:(U[te(1490)].x||0)+(T?20:0),y:(U[te(1490)].y||0)+(T?20:0)}};return U.type===te(1283)&&U[te(513)]&&(xe[te(513)]=U[te(513)][te(1001)](le=>Cn(le,!1))),xe},Mn=L[n(1020)](()=>{const U=n,T=ee[U(1028)]>0?ee[U(1001)](xe=>i[U(2159)](le=>le.id===xe))[U(1076)](Boolean):a?[i[U(2159)](xe=>xe.id===a)][U(1076)](Boolean):[];if(T[U(1028)]===0)return;const te=[];T[U(1068)](xe=>{const le=U,$=Cn(xe);v($),te[le(2049)]($.id)}),te[U(1028)]===1?p(te[0]):ae(te)},[a,ee,i,v,p,ae]),Tn=L[n(1020)](()=>{const U=n;if(ee[U(1028)]<2)return;const T=[];for(let we=0;we<ee[U(1028)];we++){const me=ee[we],Me=i.find(Be=>Be.id===me);if(Me){if(Me?.[U(638)]==="group"){Me[U(513)][U(1068)](Se=>T[U(2049)]({...Se,normalStyle:{...Se[U(1490)],x:(Me[U(1490)].x||0)+(Se.normalStyle.x||0),y:(Me[U(1490)].y||0)+(Se[U(1490)].y||0)}})),w(me);continue}T[U(2049)](Me)}}if(T[U(1028)]<2)return;let te=1/0,xe=1/0,le=-1/0,$=-1/0;T[U(1068)](we=>{const me=U,Me=we[me(1490)].x||0,Be=we.normalStyle.y||0,Se=we.normalStyle[me(502)]||0,He=we.normalStyle[me(1201)]||0;te=Math[me(2007)](te,Me),xe=Math[me(2007)](xe,Be),le=Math[me(1419)](le,Me+Se),$=Math.max($,Be+He)});const oe=T[U(1001)](we=>({...we,normalStyle:{...we.normalStyle,x:(we.normalStyle.x||0)-te,y:(we.normalStyle.y||0)-xe}})),fe={id:ve.nanoid(),name:U(1920)+Date[U(1676)](),type:U(1283),normalStyle:{x:te,y:xe,width:le-te,height:$-xe,background:U(1585)},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:oe};ee[U(1068)](we=>w(we)),v(fe),ae([]),p(fe.id)},[ee,i,w,v,p]),Vn=U=>{const T=n,te={...U,id:ve.nanoid()};return U[T(638)]===T(1283)&&U.children&&(te.children=U.children.map(xe=>Vn(xe))),te},Ze=L[n(1020)](()=>{const U=n,T=ee[U(1028)]>0?ee[U(1001)](te=>i.find(xe=>xe.id===te))[U(1076)](te=>!!te&&te[U(638)]==="group"):a?[i[U(2159)](te=>te.id===a)][U(1076)](te=>!!te&&te[U(638)]===U(1283)):[];T[U(1028)]!==0&&(T[U(1068)](te=>{const xe=U;if(!te.children||te[xe(513)][xe(1028)]===0)return;const le=te[xe(513)][xe(1001)]($=>{const oe=xe,fe=Vn($);return{...fe,normalStyle:{...fe[oe(1490)],x:(te.normalStyle.x||0)+(fe.normalStyle.x||0),y:(te[oe(1490)].y||0)+(fe[oe(1490)].y||0)}}});w(te.id),le[xe(1068)]($=>v($))}),ae([]),p(null))},[a,ee,i,w,v,p,ae]),ut=L[n(1020)](U=>{const T=n;if(ee[T(1028)]<2)return;const te=ee[T(1001)](me=>i[T(2159)](Me=>Me.id===me))[T(1076)](me=>!!me&&me[T(638)]!==T(1283));if(te[T(1028)]<2)return;let xe=1/0,le=-1/0,$=1/0,oe=-1/0;te[T(1068)](me=>{const Me=T,Be=me[Me(1490)].x||0,Se=me[Me(1490)].y||0;xe=Math[Me(2007)](xe,Be),le=Math[Me(1419)](le,Be),$=Math[Me(2007)]($,Se),oe=Math[Me(1419)](oe,Se)});const fe=[...te][T(1625)]((me,Me)=>{const Be=T;return U===Be(956)?(me[Be(1490)].x||0)-(Me[Be(1490)].x||0):(me[Be(1490)].y||0)-(Me[Be(1490)].y||0)}),we=fe.length;if(U==="horizontal"){const me=le-xe,Me=me/(we-1);fe[T(1068)]((Be,Se)=>{const He=T,Ke=xe+Me*Se;M(Be.id,{normalStyle:{...Be[He(1490)],x:Ke}})})}else{const me=oe-$,Me=me/(we-1);fe[T(1068)]((Be,Se)=>{const He=T,Ke=$+Me*Se;M(Be.id,{normalStyle:{...Be[He(1490)],y:Ke}})})}},[ee,i,M]),en=U=>{const T=n,te=U[T(858)][T(1029)][T(2159)](xe=>xe[T(640)].type===T(915));return te?te.material[T(1829)]:null},nn=L[n(1020)](U=>{const T=n;if(ee[T(1028)]<2)return;const te=Ee.getState(),xe=ee[T(1001)]($=>i[T(2159)](oe=>oe.id===$))[T(1076)]($=>!!$);if(xe[T(1028)]<2)return;let le=0;switch(U){case T(1947):le=Math[T(2007)](...xe[T(1001)]($=>{const oe=T,fe=en($);return fe?($[oe(1490)].x||0)+(fe[oe(446)]||0):$[oe(1490)].x||0}));break;case T(1604):le=Math[T(1419)](...xe[T(1001)]($=>{const oe=T,fe=en($);return fe?($[oe(1490)].x||0)+(fe.endX||0):($.normalStyle.x||0)+($[oe(1490)].width||0)}));break;case T(1411):le=Math.min(...xe.map($=>{const oe=T,fe=en($);return fe?($[oe(1490)].y||0)+(fe.startY||0):$[oe(1490)].y||0}));break;case T(1695):le=Math.max(...xe[T(1001)]($=>{const oe=T,fe=en($);return fe?($.normalStyle.y||0)+(fe[oe(881)]||0):($[oe(1490)].y||0)+($.normalStyle[oe(1201)]||0)}));break}xe[T(1068)]($=>{const oe=T;let fe=$[oe(1490)].x||0,we=$[oe(1490)].y||0;const me=en($);switch(U){case oe(1947):me?fe=le-(me.startX||0):fe=le;break;case oe(1604):me?fe=le-(me[oe(1168)]||0):fe=le-($.normalStyle[oe(502)]||0);break;case oe(1411):me?we=le-(me.startY||0):we=le;break;case"bottom":me?we=le-(me.endY||0):we=le-($[oe(1490)][oe(1201)]||0);break}te[oe(1949)]($.id,{normalStyle:{...$[oe(1490)],x:fe,y:we}})})},[ee,i]),Bn=[{icon:l[n(1970)](se[n(961)],{}),title:"选择模式",active:s===n(521),onClick:()=>{k(n(521))}},{icon:l.jsx(se[n(1077)],{}),title:n(1624),active:s===n(1817),onClick:()=>{k(n(1817)),ae([])}},{icon:l[n(1970)](se[n(2179)],{}),title:n(1978),active:s===n(449),onClick:()=>{k("drag")}},{icon:l.jsx(se[n(1026)],{}),title:n(862),active:s===n(1509),onClick:()=>{k(n(1509))}},{icon:l.jsx(se.EyeOutlined,{}),title:"预览模式",active:s==="preview",onClick:()=>{k(n(1173))}}],qn=L[n(694)](()=>[{icon:l[n(1970)](se[n(2165)],{}),title:n(2115),onClick:z},{icon:l[n(1970)](se[n(627)],{}),title:n(1989),onClick:b},{icon:l[n(1970)](se[n(1645)],{}),title:n(1088),disabled:!a&&ee[n(1028)]===0,onClick:Mn},{icon:l[n(1970)](se.GroupOutlined,{}),title:"组合选中节点",disabled:ee[n(1028)]<2,onClick:Tn},{icon:l[n(1970)](se.UngroupOutlined,{}),title:"解除组合",disabled:!a&&ee[n(1028)]===0,onClick:Ze},{icon:l[n(1970)](se[n(757)],{}),title:"左对齐",disabled:ee[n(1028)]<2,onClick:()=>nn(n(1947))},{icon:l.jsx(se[n(1439)],{}),title:n(1082),disabled:ee[n(1028)]<2,onClick:()=>nn(n(1604))},{icon:l.jsx(se.VerticalAlignTopOutlined,{}),title:n(1012),disabled:ee[n(1028)]<2,onClick:()=>nn(n(1411))},{icon:l[n(1970)](se[n(2e3)],{}),title:n(2021),disabled:ee[n(1028)]<2,onClick:()=>nn(n(1695))},{icon:l[n(1970)](se[n(2037)],{}),title:n(1812),disabled:ee[n(1028)]<2,onClick:()=>ut("horizontal")},{icon:l[n(1970)](se[n(1184)],{}),title:n(937),disabled:ee[n(1028)]<2,onClick:()=>ut(n(776))},{icon:l[n(1970)](se.SettingOutlined,{}),title:n(666),onClick:()=>be(!0)},{icon:l[n(1970)](se[n(1130)],{}),title:n(1302),type:"primary",onClick:ce},{icon:l.jsx(se[n(792)],{}),title:n(1971),disabled:!a&&ee.length===0,onClick:()=>{const U=n;a?w(a):ee[U(1028)]>0&&(ee[U(1068)](T=>w(T)),ae([]))}}],[z,b,s,k,ae,ee,Tn,Ze,Mn,nn,ut,be,S,ce,a,w,h.currentCanvasId]),Xt=L[n(1020)](U=>{const T=n;if(Fo(U[T(819)])||U[T(1101)]!==T(815)&&U[T(1101)]!==T(1144)&&U[T(1101)]!==T(1332)&&U[T(1101)]!=="ArrowDown"||ee[T(1028)]===0)return;U.preventDefault(),ee[T(1001)](xe=>i[T(2159)](le=>le.id===xe))[T(1068)](xe=>{const le=T;xe&&M(xe.id,{normalStyle:{...xe[le(1490)],x:(xe.normalStyle.x||0)-2*(U[le(1101)]==="ArrowLeft"?1:U[le(1101)]===le(1144)?-1:0),y:(xe[le(1490)].y||0)-2*(U.key===le(1332)?1:U[le(1101)]===le(606)?-1:0)}})})},[ee,i,M]);L[n(1027)](()=>{const U=n;if(s===U(1817))return document[U(2055)]("keydown",Xt),()=>{const T=U;document[T(653)](T(1048),Xt)}},[s,Xt]);const[to,K0]=L[n(1303)](!1),[R0,Zt]=L[n(1303)](""),[J0,Kt]=L[n(1303)](null);return l[n(557)](n(1331),{className:n(1365),children:[!t&&l.jsxs(n(1331),{className:n(1559),children:[l.jsxs(C[n(1823)],{children:[Bn.map(U=>l.jsx(C[n(1384)],{title:U[n(1059)],children:l.jsx(C[n(1079)],{type:U[n(649)]?n(617):n(1138),icon:U[n(2126)],onClick:U[n(988)]})},U[n(1059)])),l[n(1970)](n(1331),{className:n(1778)}),l.jsx(C[n(2140)],{value:h[n(997)],onChange:K,style:{width:140},dropdownRender:U=>l[n(557)](l[n(514)],{children:[U,l[n(1970)](n(1331),{className:n(2157),children:l[n(1970)](C[n(1079)],{type:n(1799),size:n(1436),block:!0,onClick:()=>K0(!0),children:n(1642)})})]}),children:h[n(1837)][n(1001)](U=>l[n(1970)](C[n(2140)][n(1166)],{value:U.id,children:U.name},U.id))}),l.jsx(C[n(1079)],{icon:l[n(1970)](se[n(1091)],{}),size:n(1436),onClick:()=>q(),title:n(839)})]}),l[n(1970)](C[n(1823)],{children:qn[n(1001)](U=>l[n(1970)](C[n(1384)],{title:U[n(1059)],children:l.jsx(C[n(1079)],{type:U[n(649)]?n(617):U[n(638)]||"default",icon:U.icon,onClick:U[n(988)],disabled:U[n(1994)]})},U.title))})]}),l[n(1970)](n(1331),{ref:r,className:"flex-1 relative",children:l.jsx(Jt.TransformWrapper,{ref:x,initialScale:1,initialPositionX:0,initialPositionY:0,minScale:.5,maxScale:5,onTransformed:Ye,limitToBounds:!1,centerZoomedOut:!1,panning:{disabled:!he&&(s===n(521)||s==="line-draw"||s===n(1817)),velocityDisabled:!0},wheel:{disabled:!1,step:.1},pinch:{disabled:!1},doubleClick:{disabled:!0},children:({zoomIn:U,zoomOut:T,resetTransform:te})=>l.jsxs(l.Fragment,{children:[!t&&l[n(1970)](n(1331),{className:n(1445),children:l[n(557)](C[n(1823)],{direction:"vertical",children:[l[n(1970)](C[n(1384)],{title:"放大",children:l[n(1970)](C[n(1079)],{icon:l[n(1970)](se[n(1770)],{}),onClick:()=>U()})}),l.jsx(C[n(1384)],{title:"缩小",children:l[n(1970)](C.Button,{icon:l[n(1970)](se[n(1641)],{}),onClick:()=>T()})}),l[n(1970)](C[n(1384)],{title:n(508),children:l[n(1970)](C[n(1079)],{onClick:()=>te(),children:n(697)})}),l.jsxs(n(1331),{className:"text-center text-xs text-gray-500",children:[Math[n(681)](d[n(1416)]*100),"%"]})]})}),l[n(1970)](Jt.TransformComponent,{wrapperStyle:{width:n(697),height:n(697),position:n(1067)},contentStyle:{width:n(697),height:n(697),display:"flex",alignItems:"center",justifyContent:n(1324)},children:l[n(557)]("div",{ref:o,"data-canvas":"true",className:n(947)+(N?n(506):"")+" "+(s===n(1509)?n(1150):"")+" "+(he?n(2010):""),style:{width:y[n(502)],height:y.height,flexShrink:0,backgroundColor:y[n(863)],backgroundImage:y.backgroundImage?n(1021)+y[n(698)]+")":void 0,backgroundSize:"cover",backgroundPosition:n(1324)},onClick:Ae,onMouseDown:Oe,onDoubleClick:Wt,onDragOver:zn,onDragLeave:dt,onDrop:On,children:[y[n(1080)]!==!1&&l[n(557)](n(1996),{className:n(907),width:y.width,height:y[n(1201)],children:[l.jsx(n(1487),{children:l.jsx(n(918),{id:"grid",width:"20",height:"20",patternUnits:"userSpaceOnUse",children:l.jsx(n(2108),{d:n(1643),fill:"none",stroke:n(2043),strokeWidth:"1"})})}),l[n(1970)](n(1110),{width:"100%",height:n(697),fill:"url(#grid)"})]}),i.map(xe=>l[n(1970)](sx,{node:xe,isSelected:s==="preview"?!1:a===xe.id||ee[n(1931)](xe.id),data:de,onClick:s===n(1173)?void 0:le=>{const $=n;console[$(484)]($(1451),xe.id,$(701),A[$(787)]),A[$(787)]!==$(1509)&&(le[$(2064)]?(p(xe.id),ae([...ee,xe.id])):(p(xe.id),ae([xe.id])))},onMouseDown:s===n(1173)?void 0:le=>Hn(le,xe),onUpdateNode:s===n(1173)?void 0:(le,$)=>M(le,$),scale:d[n(1416)],enableEventFlow:s===n(1173),eventFlowData:ye},""+xe.id)),s==="line-draw"&&X[n(560)]&&X[n(1159)]&&X[n(1323)]&&l[n(1970)](n(1996),{className:n(907),width:y.width,height:y.height,children:l[n(1970)](n(1918),{x1:X[n(1159)].x,y1:X[n(1159)].y,x2:X.end.x,y2:X.end.y,stroke:n(754),strokeWidth:"2",strokeDasharray:n(1469),strokeLinecap:n(681),strokeLinejoin:n(681)})}),s==="box-select"&&R.start&&R.end&&l[n(1970)](n(1331),{className:"absolute border-2 border-blue-500 bg-blue-500/10 pointer-events-none",style:{left:Math[n(2007)](R[n(1159)].x,R.end.x),top:Math[n(2007)](R[n(1159)].y,R[n(1323)].y),width:Math[n(781)](R.end.x-R.start.x),height:Math.abs(R[n(1323)].y-R[n(1159)].y),zIndex:9999}})]})})]})})}),l.jsx(C[n(1990)],{title:n(1302),open:ie,onCancel:()=>S(!1),footer:null,children:l[n(1970)](C[n(1034)],{layout:"vertical",children:l[n(1970)](C[n(1034)].Item,{label:n(573),children:l[n(1970)](Cs,{value:H,onChange:U=>{const T=n;_(!0),O(U[T(819)][T(1429)])},rows:10,placeholder:"输入 JSON 格式的测试数据;未编辑前画布跟随外部 defaultTestData(如监控推送)"})})})}),l[n(1970)](C[n(1990)],{title:n(666),open:ge,onCancel:()=>be(!1),footer:null,children:l[n(557)](C[n(1034)],{layout:n(776),children:[l.jsx(C.Form.Item,{label:"宽度",children:l[n(1970)](C[n(1612)],{value:y[n(502)],onChange:U=>m({width:U||1920}),min:100,max:5e3,style:{width:n(697)}})}),l.jsx(C[n(1034)][n(865)],{label:"高度",children:l[n(1970)](C[n(1612)],{value:y[n(1201)],onChange:U=>m({height:U||1080}),min:100,max:5e3,style:{width:n(697)}})}),l.jsx(C[n(1034)].Item,{label:"显示网格",children:l.jsx(C[n(1926)],{checked:y[n(1080)]!==!1,onChange:U=>m({showGrid:U})})}),l[n(1970)](C.Form[n(865)],{label:n(2082),children:l[n(557)](n(1331),{className:n(1358),children:[l.jsx(Qn,{value:y[n(863)]||"#00193C",onChange:U=>m({background:U.toHexString()})}),l[n(1970)](C.Input,{value:y[n(863)],onChange:U=>m({background:U[n(819)].value}),placeholder:n(895)})]})}),l.jsxs(C.Form[n(865)],{label:"背景图片",children:[l[n(557)](n(1331),{className:n(1358),children:[l.jsx(C[n(827)],{accept:n(1443),showUploadList:!1,beforeUpload:U=>{const T=n;if(!U[T(638)][T(1523)](T(1974)))return C[T(494)][T(1738)](T(591)),!1;const xe=new FileReader;return xe[T(1420)]=le=>{const $=T,oe=le[$(819)]?.[$(1e3)];m({backgroundImage:oe}),C.message[$(1678)]($(1583))},xe[T(1905)](U),!1},children:l[n(1970)](C[n(1079)],{icon:l[n(1970)](se[n(1568)],{}),children:n(1933)})}),l[n(1970)](C[n(1434)],{value:y[n(698)],onChange:U=>m({backgroundImage:U.target[n(1429)]}),placeholder:"输入图片 URL 或上传图片",style:{flex:1}}),y[n(698)]&&l.jsx(C[n(1079)],{icon:l[n(1970)](se[n(932)],{}),onClick:()=>m({backgroundImage:void 0}),danger:!0,size:n(1436)})]}),y[n(698)]&&l.jsx(n(1331),{className:"mt-2 p-2 border rounded",style:{maxWidth:n(697)},children:l[n(1970)](n(1353),{src:y[n(698)],alt:"背景预览",style:{maxWidth:n(697),maxHeight:120,objectFit:n(926)}})})]})]})}),l[n(557)](C[n(1990)],{title:n(1019),open:to,onCancel:()=>{K0(!1),Kt(null),Zt("")},footer:null,children:[l[n(1970)](C[n(717)],{dataSource:h[n(1837)],renderItem:U=>l[n(1970)](C[n(717)][n(865)],{actions:[J0===U.id?l[n(1970)](C[n(1079)],{type:n(617),size:n(1436),onClick:()=>{W(U.id,R0),Kt(null)},children:"保存"}):l[n(1970)](C[n(1079)],{type:n(1527),icon:l.jsx(se[n(1026)],{}),size:n(1436),onClick:()=>{const T=n;Kt(U.id),Zt(U[T(1952)])}}),h[n(1837)][n(1028)]>1&&l[n(1970)](C[n(1079)],{type:"text",danger:!0,icon:l[n(1970)](se[n(792)],{}),size:"small",onClick:()=>F(U.id)})][n(1076)](Boolean),children:J0===U.id?l[n(1970)](C[n(1434)],{value:R0,onChange:T=>Zt(T.target[n(1429)]),size:"small",style:{width:200}}):l[n(557)](n(1493),{style:{fontWeight:h[n(997)]===U.id?"bold":n(2090)},children:[U.name," ",h[n(997)]===U.id&&"(当前)"]})})}),l[n(1970)](n(1331),{className:n(576),children:l[n(1970)](C[n(1079)],{type:n(617),icon:l[n(1970)](se[n(1091)],{}),onClick:()=>q(),children:n(839)})})]})]})},{Option:r0}=C[c(2140)],Ms=({material:e,onSave:t,dataOptions:n=[]})=>{const x=c,o=e,r=o[x(1621)]||{},[i,a]=L.useState({label:r[x(967)]||"",value:r[x(1429)]||"",valueSourceCode:r[x(1292)]||"",unit:r.unit||"",decimals:r[x(448)]??2,labelFontSize:r[x(1049)]?.[x(2069)]||14,labelFontWeight:r[x(1049)]?.[x(2093)]||x(1291),labelColor:r[x(1049)]?.[x(765)]||x(1531),valueFontSize:r.valueStyle?.[x(2069)]||14,valueFontWeight:r[x(1084)]?.[x(2093)]||x(2090),valueColor:r[x(1084)]?.[x(765)]||"#1890ff"});L[x(1027)](()=>{const d=x;a({label:r[d(967)]||"",value:r[d(1429)]||"",valueSourceCode:r[d(1292)]||"",unit:r[d(1272)]||"",decimals:r.decimals??2,labelFontSize:r[d(1049)]?.[d(2069)]||14,labelFontWeight:r[d(1049)]?.[d(2093)]||d(1291),labelColor:r.labelStyle?.[d(765)]||d(1531),valueFontSize:r[d(1084)]?.[d(2069)]||14,valueFontWeight:r.valueStyle?.[d(2093)]||d(2090),valueColor:r.valueStyle?.color||"#1890ff"})},[e.id]);const f=(d,y)=>{a(h=>({...h,[d]:y}))},s=d=>{const y=x,h=n.find(m=>m[y(1009)]===d),g=h?.unit||"";a(m=>({...m,valueSourceCode:d,unit:g,value:String(h?.[y(1429)]||"")})),setTimeout(()=>{t({content:{...r,valueSourceCode:d,value:String(h?.[y(1429)]||""),unit:g}})},0)},u=()=>{const d=x;t({content:{...r,label:i.label,value:i[d(1429)],valueSourceCode:i.valueSourceCode,unit:i[d(1272)],decimals:i[d(448)],labelStyle:{fontSize:i[d(515)],fontWeight:i.labelFontWeight,color:i[d(571)]},valueStyle:{fontSize:i[d(580)],fontWeight:i[d(1197)],color:i[d(1306)]}}})};return l.jsxs("div",{className:x(1195),children:[l.jsx(C[x(1494)],{style:{marginTop:0},children:x(695)}),l[x(557)](C[x(1034)],{layout:x(776),children:[l.jsx(C[x(1034)][x(865)],{label:x(2032),children:l[x(1970)](C[x(1434)],{value:i[x(967)],onChange:d=>f("label",d[x(819)].value),onBlur:u,placeholder:x(810)})}),l.jsx(C[x(1034)].Item,{label:"值来源",help:x(1660),children:l[x(1970)](C[x(2140)],{value:i[x(1292)]||void 0,onChange:s,placeholder:x(814),allowClear:!0,style:{width:x(697)},fieldNames:{value:x(1009),label:x(1129)},options:n})}),l[x(1970)](C.Form[x(865)],{label:i.valueSourceCode?x(659):x(1946),help:i.valueSourceCode?x(531):"手动输入显示的值",children:l[x(1970)](C[x(1434)],{value:i.value,onChange:d=>f("value",d[x(819)][x(1429)]),onBlur:u,placeholder:i.valueSourceCode?"数据字段无值时显示此备用值":x(755),disabled:!!i.valueSourceCode,variant:i[x(1292)]?x(711):void 0})}),l[x(1970)](C[x(1034)][x(865)],{label:"单位",help:x(1257),children:l[x(1970)](C[x(1434)],{value:i[x(1272)],onChange:d=>f(x(1272),d[x(819)].value),onBlur:u,placeholder:x(1985),suffix:i[x(1292)]&&n[x(1028)]>0?l[x(1970)](C[x(657)],{color:x(901),style:{marginRight:-8},children:"自动"}):null})}),l[x(1970)](C[x(1034)][x(865)],{label:x(1266),help:x(1265),children:l[x(1970)](C[x(1612)],{value:i[x(448)],onChange:d=>f(x(448),d??2),onBlur:u,min:-1,max:10,style:{width:x(697)}})})]}),l[x(1970)](C[x(1494)],{children:x(1652)}),l[x(557)](C.Form,{layout:x(776),children:[l[x(557)](C[x(1823)],{children:[l[x(1970)](C[x(1034)].Item,{label:x(1611),children:l[x(1970)](C[x(1612)],{value:i[x(515)],onChange:d=>f(x(515),d||14),onBlur:u,min:8,max:72})}),l.jsx(C[x(1034)][x(865)],{label:"字体粗细",children:l[x(557)](C[x(2140)],{value:i[x(499)],onChange:d=>{f("labelFontWeight",d),setTimeout(u,0)},style:{width:100},children:[l[x(1970)](r0,{value:x(2090),children:"正常"}),l[x(1970)](r0,{value:x(1291),children:"粗体"})]})})]}),l.jsx(C[x(1034)][x(865)],{label:"文字颜色",children:l[x(557)](x(1331),{className:"flex items-center gap-2",children:[l[x(1970)](Qn,{value:i[x(571)]||x(1531),onChange:d=>{const y=x;f(y(571),d[y(1820)]())},onChangeComplete:d=>{const y=x;t({content:{...r,label:i[y(967)],value:i[y(1429)],valueSourceCode:i[y(1292)],unit:i.unit,decimals:i[y(448)],labelStyle:{fontSize:i[y(515)],fontWeight:i.labelFontWeight,color:d[y(1820)]()},valueStyle:{fontSize:i[y(580)],fontWeight:i[y(1197)],color:i[y(1306)]}}})}}),l[x(1970)](C[x(1434)],{value:i.labelColor,onChange:d=>f(x(571),d[x(819)][x(1429)]),onBlur:u,placeholder:x(1531),style:{width:100}})]})})]}),l.jsx(C[x(1494)],{children:x(1147)}),l.jsxs(C[x(1034)],{layout:"vertical",children:[l.jsxs(C[x(1823)],{children:[l[x(1970)](C[x(1034)][x(865)],{label:x(1611),children:l[x(1970)](C.InputNumber,{value:i[x(580)],onChange:d=>f("valueFontSize",d||14),onBlur:u,min:8,max:72})}),l[x(1970)](C[x(1034)][x(865)],{label:"字体粗细",children:l[x(557)](C[x(2140)],{value:i[x(1197)],onChange:d=>{f(x(1197),d),setTimeout(u,0)},style:{width:100},children:[l[x(1970)](r0,{value:"normal",children:"正常"}),l[x(1970)](r0,{value:"bold",children:"粗体"})]})})]}),l[x(1970)](C[x(1034)][x(865)],{label:"文字颜色",children:l[x(557)](x(1331),{className:x(1358),children:[l[x(1970)](Qn,{value:i.valueColor||x(754),onChange:d=>{f("valueColor",d.toHexString())},onChangeComplete:d=>{const y=x;t({content:{...r,label:i[y(967)],value:i.value,valueSourceCode:i.valueSourceCode,unit:i.unit,decimals:i.decimals,labelStyle:{fontSize:i[y(515)],fontWeight:i.labelFontWeight,color:i[y(571)]},valueStyle:{fontSize:i.valueFontSize,fontWeight:i.valueFontWeight,color:d[y(1820)]()}}})}}),l[x(1970)](C[x(1434)],{value:i[x(1306)],onChange:d=>f(x(1306),d[x(819)][x(1429)]),onBlur:u,placeholder:x(754),style:{width:100}})]})})]})]})},Bs=({material:e,onSave:t})=>{const n=c,x=e,[o,r]=L[n(1303)]({name:e[n(1952)],src:x[n(529)]||"",backgroundColor:x[n(553)]||"",fillColor:x[n(1953)]||""});L[n(1027)](()=>{const f=n;r({name:e[f(1952)],src:x[f(529)]||"",backgroundColor:x.backgroundColor||"",fillColor:x.fillColor||""})},[e.id]);const i=(f,s)=>{r(u=>({...u,[f]:s}))},a=()=>{const f=n;t({name:o[f(1952)],src:o[f(529)],backgroundColor:o[f(553)]})};return l[n(557)](n(1331),{className:n(1195),children:[l[n(1970)](C[n(1494)],{style:{marginTop:0},children:n(1148)}),l[n(557)](C[n(1034)],{layout:n(776),children:[l.jsx(C.Form[n(865)],{label:"图片名称",children:l[n(1970)](C.Input,{value:o.name,onChange:f=>i(n(1952),f[n(819)][n(1429)]),onBlur:a})}),l[n(1970)](C[n(1034)][n(865)],{label:n(875),children:l[n(1970)](C.Input[n(1200)],{value:o.src,onChange:f=>i(n(529),f[n(819)][n(1429)]),onBlur:a,rows:4,placeholder:n(968)})}),l[n(1970)](C[n(1034)][n(865)],{label:n(1031),children:l.jsxs(n(1331),{className:n(1358),children:[l[n(1970)](Qn,{value:o.fillColor||"#1890ff",onChange:f=>{const s=n,u=f[s(1820)]();i("fillColor",u),t({name:o[s(1952)],src:o[s(529)],backgroundColor:o[s(553)],fillColor:u})}}),l[n(1970)](C[n(1434)],{value:o[n(1953)],onChange:f=>i(n(1953),f[n(819)][n(1429)]),onBlur:a,placeholder:"#1890ff"})]})}),l[n(1970)](C.Form[n(865)],{label:n(1605),children:l.jsxs(n(1331),{className:"flex items-center gap-2",children:[l[n(1970)](Qn,{value:o[n(553)]||"#1890ff",onChange:f=>{const s=n,u=f[s(1820)]();i(s(553),u),t({name:o[s(1952)],src:o.src,backgroundColor:u,fillColor:o[s(1953)]})}}),l[n(1970)](C[n(1434)],{value:o.backgroundColor,onChange:f=>i(n(553),f.target[n(1429)]),onBlur:a,placeholder:n(754)})]})})]})]})},{Option:Ds}=C[c(2140)],Ls=({material:e,onSave:t})=>{const n=c,x=e.config||{},[o,r]=L[n(1303)]({lineWeight:x.lineWeight||x[n(485)]||2,color:x.color||"#262626",lineType:x[n(746)]||n(1491),startX:x.startX??0,startY:x[n(1977)]??0,endX:x.endX??100,endY:x.endY??0}),i=JSON.stringify({sw:x[n(2106)]??x[n(485)],c:x[n(765)],t:x[n(746)],sx:x[n(446)],sy:x[n(1977)],ex:x[n(1168)],ey:x[n(881)]});L[n(1027)](()=>{const s=n;r({lineWeight:x.lineWeight||x[s(485)]||2,color:x[s(765)]||s(1531),lineType:x[s(746)]||s(1491),startX:x[s(446)]??0,startY:x[s(1977)]??0,endX:x[s(1168)]??100,endY:x.endY??0})},[e.id,i]);const a=s=>{const u=n,d={...o,...s};r(d),t({config:{...x,thickness:d[u(2106)],lineWeight:d[u(2106)],color:d[u(765)],lineType:d[u(746)],startX:d[u(446)],startY:d.startY,endX:d[u(1168)],endY:d[u(881)]}})},f=[{value:n(1491),label:"实线",desc:n(1777)},{value:n(1149),label:"虚线",desc:"长划间隔"},{value:n(1324),label:n(1534),desc:n(1739)},{value:"phantom",label:n(2026),desc:n(1258)},{value:"dot",label:"点线",desc:n(1422)},{value:n(1124),label:"画点线",desc:"长划-点交替"}];return l.jsxs("div",{className:n(1195),children:[l[n(1970)](C[n(1494)],{style:{marginTop:0},children:"起止位置(相对节点)"}),l.jsxs(C.Form,{layout:"vertical",children:[l[n(557)](n(1331),{className:n(1095),children:[l[n(1970)](C.Form[n(865)],{label:n(753),className:n(616),children:l[n(1970)](C.InputNumber,{value:o[n(446)],onChange:s=>a({startX:s??0}),style:{width:n(697)}})}),l.jsx(C[n(1034)][n(865)],{label:n(1256),className:"mb-2",children:l[n(1970)](C[n(1612)],{value:o[n(1977)],onChange:s=>a({startY:s??0}),style:{width:n(697)}})}),l.jsx(C.Form[n(865)],{label:n(1126),className:n(616),children:l.jsx(C[n(1612)],{value:o[n(1168)],onChange:s=>a({endX:s??100}),style:{width:n(697)}})}),l[n(1970)](C.Form[n(865)],{label:n(587),className:n(616),children:l[n(1970)](C[n(1612)],{value:o.endY,onChange:s=>a({endY:s??0}),style:{width:"100%"}})})]}),l.jsx(C.Form.Item,{label:n(479),className:n(848),children:l[n(557)](C.Space,{children:[l[n(1970)](C[n(1079)],{size:"small",onClick:()=>{const s=x.startY??o.startY;a({endY:s})},title:n(1424),children:"水平"}),l[n(1970)](C[n(1079)],{size:"small",onClick:()=>{const s=n,u=x[s(446)]??o[s(446)];a({endX:u})},title:n(984),children:"垂直"}),l[n(1970)](C.Button,{size:"small",onClick:()=>{const s=n,u=x[s(446)]??o[s(446)],d=x[s(1977)]??o[s(1977)],y=x.endX??o[s(1168)],h=x[s(881)]??o[s(881)];a({startX:y,startY:h,endX:u,endY:d})},title:n(661),children:"反向"})]})})]}),l[n(1970)](C[n(1494)],{children:n(2177)}),l[n(557)](C[n(1034)],{layout:n(776),children:[l.jsx(C[n(1034)][n(865)],{label:"线型",help:"选择线条样式",children:l.jsx(C[n(2140)],{value:o[n(746)],onChange:s=>a({lineType:s}),children:f[n(1001)](s=>l.jsx(Ds,{value:s[n(1429)],children:l.jsxs("div",{className:n(1278),children:[l[n(1970)]("span",{children:s[n(967)]}),l.jsx("span",{className:"text-xs text-gray-400",children:s[n(1309)]})]})},s.value))})}),l[n(1970)](C.Form[n(865)],{label:n(1542),children:l[n(1970)](C.InputNumber,{value:o[n(2106)],onChange:s=>a({lineWeight:s||2}),min:1,max:20,style:{width:120}})}),l[n(1970)](C[n(1034)][n(865)],{label:"颜色",children:l[n(557)]("div",{className:"flex items-center gap-2",children:[l[n(1970)](Qn,{value:o.color||n(1249),onChange:s=>a({color:s[n(1820)]()})}),l[n(1970)](C[n(1434)],{value:o.color,onChange:s=>a({color:s[n(819)][n(1429)]}),placeholder:n(1249),style:{width:100}})]})})]})]})},er=({status:e,onUpdate:t,onAppendToExpression:n})=>{const x=c,o=Ee(f=>f.dataPool),r=o[x(2159)](f=>f.id===e.boundDatasetId),i=r?ho(r[x(1183)]||{}):[],a=f=>{const s=x,u=s(1984)+f;n?n(u):t({expression:""+(e[s(541)]||"")+u})};return l[x(557)](l[x(514)],{children:[l[x(1970)](C[x(1034)][x(865)],{label:x(1515),extra:o[x(1028)]===0?"请先在顶部工具栏点击「数据池」添加至少一个数据集(JSON 对象模板);宿主项目也可通过 initialScheme.dataPool 或 useEditorStore.getState().setDataPool() 注入。":x(929),children:l.jsx(C[x(2140)],{allowClear:!0,placeholder:o[x(1028)]===0?x(509):x(1310),value:e[x(1340)]??void 0,options:o.map(f=>({label:f[x(1952)],value:f.id})),onChange:f=>t({boundDatasetId:f??null})})}),i[x(1028)]>0&&l.jsx(C[x(1034)][x(865)],{label:x(505),children:l.jsx(C[x(1823)],{size:[4,4],wrap:!0,children:i[x(1001)](f=>l.jsx(C.Tag,{className:x(1162),onClick:()=>a(f),children:x(1984)+f},f))})})]})},nr=({material:e,onSave:t,dataOptions:n})=>{const x=c;switch(e[x(638)]){case x(843):return l[x(1970)](Ms,{material:e,onSave:t,dataOptions:n});case x(477):return l[x(1970)](Bs,{material:e,onSave:t});case x(915):return l[x(1970)](Ls,{material:e,onSave:t});default:return l[x(1970)](x(1331),{className:x(443),children:x(1907)})}},{Panel:tr}=C[c(971)],{TextArea:Ns}=C[c(1434)],Ss=({node:e,updateNode:t,materials:n})=>{const x=c,o=n[x(1076)](d=>d[x(638)]!=="CUSTOM"||!d.config?.[x(1053)]),r=(d,y)=>{const h=x,g=e[h(513)]?.map(m=>{const v=h;return m.id===d?{...m,contentInfo:{...m[v(858)],statusList:y}}:m});t(e.id,{children:g})},i=d=>{const y=x,h=e.children?.find(m=>m.id===d);if(!h)return;const g={id:ve[y(1045)](),name:"状态"+(h[y(858)][y(1029)][y(1028)]+1),expression:h.contentInfo[y(1029)][y(1028)]===0?y(1128):y(1554),material:{...o[0],id:ve.nanoid()},boundDatasetId:null};r(d,[...h[y(858)][y(1029)],g])},a=(d,y)=>{const h=x,g=e[h(513)]?.[h(2159)](v=>v.id===d);if(!g)return;const m=g[h(858)][h(1029)][h(1076)](v=>v.id!==y);r(d,m)},f=(d,y,h)=>{const g=x,m=e[g(513)]?.[g(2159)](p=>p.id===d);if(!m)return;const v=m.contentInfo[g(1029)][g(1001)](p=>p.id===y?{...p,...h}:p);r(d,v)},s=(d,y,h)=>{const g=x,m=e[g(513)]?.[g(2159)](M=>M.id===d);if(!m)return;const v=m.contentInfo[g(1029)][g(941)](M=>M.id===y);if(v===-1)return;const p=[...m[g(858)][g(1029)]];h==="up"&&v>0?[p[v],p[v-1]]=[p[v-1],p[v]]:h===g(724)&&v<p[g(1028)]-1&&([p[v],p[v+1]]=[p[v+1],p[v]]),r(d,p)},u=(d,y,h)=>{const g=x,m=n[g(2159)](v=>v.id===h);m&&f(d,y,{material:{...m,id:ve[g(1045)]()}})};return l[x(557)](x(1331),{className:x(1195),children:[l[x(1970)](x(1331),{className:x(1995),children:l[x(557)](x(1331),{className:"text-sm text-blue-700",children:[l.jsx(x(1253),{children:x(489)}),":为每个子节点配置多个状态和绑定"]})}),l[x(1970)](C[x(971)],{ghost:!0,children:e[x(513)]?.[x(1001)]((d,y)=>l[x(1970)](tr,{header:l[x(557)]("div",{className:x(1390),children:[l[x(557)](x(1493),{className:x(834),children:[x(1489),y+1]}),l[x(557)](C[x(657)],{color:"blue",style:{fontSize:x(1099),padding:x(1954)},children:[d[x(858)][x(1029)].length,x(480)]})]}),children:l[x(557)](x(1331),{className:x(664),children:[l.jsxs(x(1331),{className:"flex justify-between items-center mb-3",children:[l[x(1970)]("span",{className:x(1175),children:x(1242)}),l[x(1970)](C[x(1079)],{type:"primary",size:x(1436),icon:l.jsx(se[x(1091)],{}),onClick:()=>i(d.id),children:x(436)})]}),d[x(858)][x(1029)][x(1028)]===0?l.jsx(x(1331),{className:x(439),children:"暂无状态,点击上方按钮添加"}):l[x(1970)](C[x(971)],{ghost:!0,children:d[x(858)].statusList[x(1001)]((h,g)=>l[x(1970)](tr,{header:l.jsxs("div",{className:x(1358),children:[l.jsx("span",{className:"text-xs text-gray-400 w-5",children:g+1}),l.jsx(x(1493),{className:x(452),children:h[x(1952)]}),l[x(1970)](C[x(657)],{color:"default",className:x(1702),children:h[x(640)].type})]}),extra:l[x(557)](C[x(1823)],{size:x(1436),onClick:m=>m[x(471)](),children:[l[x(1970)](C[x(1079)],{type:x(1527),size:x(1436),icon:l[x(1970)](se[x(706)],{}),disabled:g===0,onClick:m=>{m[x(471)](),s(d.id,h.id,"up")}}),l[x(1970)](C.Button,{type:x(1527),size:x(1436),icon:l[x(1970)](se.ArrowDownOutlined,{}),disabled:g===d.contentInfo[x(1029)].length-1,onClick:m=>{const v=x;m[v(471)](),s(d.id,h.id,v(724))}}),l[x(1970)](C[x(1079)],{type:"text",size:"small",danger:!0,icon:l[x(1970)](se[x(792)],{}),onClick:m=>{m[x(471)](),a(d.id,h.id)}})]}),children:l[x(557)](C[x(1034)],{layout:x(776),children:[l.jsx(C[x(1034)].Item,{label:"状态名称",children:l[x(1970)](C[x(1434)],{value:h[x(1952)],onChange:m=>f(d.id,h.id,{name:m.target[x(1429)]}),placeholder:x(1217)})}),l[x(1970)](er,{status:h,onUpdate:m=>f(d.id,h.id,m)}),l[x(1970)](C[x(1034)].Item,{label:x(2052),help:x(1307),children:l[x(1970)](Ns,{value:h[x(541)],onChange:m=>f(d.id,h.id,{expression:m[x(819)][x(1429)]}),rows:3,placeholder:x(1128)})}),l[x(1970)](C[x(1034)][x(865)],{label:x(1441),children:l[x(557)](x(1331),{className:"flex items-center gap-2",children:[l[x(1970)](C[x(657)],{color:x(901),children:h.material[x(1952)]}),l[x(1970)](C[x(657)],{color:x(1138),children:h[x(640)][x(638)]}),l[x(1970)](C[x(2140)],{placeholder:x(1701),style:{width:150},value:void 0,onChange:m=>m&&u(d.id,h.id,m),options:o[x(1001)](m=>({value:m.id,label:m[x(1952)]+" ("+m[x(638)]+")"}))})]})}),l[x(1970)](C[x(1494)],{style:{margin:x(1342)}}),l[x(557)](x(1331),{className:x(1267),children:[l[x(557)](x(1331),{className:x(1936),children:[l.jsx("span",{className:"text-sm font-medium",children:"物料属性"}),l[x(1970)](C[x(657)],{children:h[x(640)][x(1952)]})]}),l[x(1970)](nr,{material:h[x(640)],onSave:m=>{const v=x,p={...h[v(640)],...m};f(d.id,h.id,{material:p})}})]})]})},h.id))})]})},d.id))})]})};function Pe(e){const t=c;if(typeof e===t(1841)||typeof e===t(1539))return""+e;let n="";if(Array.isArray(e))for(let x=0,o;x<e[t(1028)];x++)(o=Pe(e[x]))!==""&&(n+=(n&&" ")+o);else for(let x in e)e[x]&&(n+=(n&&" ")+x);return n}var ks={value:()=>{}};function i0(){const e=c;for(var t=0,n=arguments[e(1028)],x={},o;t<n;++t){if(!(o=arguments[t]+"")||o in x||/[\s.]/[e(528)](o))throw new Error(e(1567)+o);x[o]=[]}return new a0(x)}function a0(e){this._=e}function Ps(e,t){const n=c;return e[n(1619)]()[n(1773)](/^|\s+/)[n(1001)](function(x){const o=n;var r="",i=x.indexOf(".");if(i>=0&&(r=x[o(563)](i+1),x=x[o(563)](0,i)),x&&!t.hasOwnProperty(x))throw new Error("unknown type: "+x);return{type:x,name:r}})}a0.prototype=i0[c(1347)]={constructor:a0,on:function(e,t){const n=c;var x=this._,o=Ps(e+"",x),r,i=-1,a=o[n(1028)];if(arguments.length<2){for(;++i<a;)if((r=(e=o[i])[n(638)])&&(r=Ys(x[r],e[n(1952)])))return r;return}if(t!=null&&typeof t!="function")throw new Error("invalid callback: "+t);for(;++i<a;)if(r=(e=o[i])[n(638)])x[r]=xr(x[r],e.name,t);else if(t==null)for(r in x)x[r]=xr(x[r],e[n(1952)],null);return this},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new a0(e)},call:function(e,t){const n=c;if((r=arguments.length-2)>0)for(var x=new Array(r),o=0,r,i;o<r;++o)x[o]=arguments[o+2];if(!this._[n(1337)](e))throw new Error(n(1623)+e);for(i=this._[e],o=0,r=i[n(1028)];o<r;++o)i[o][n(1429)][n(878)](t,x)},apply:function(e,t,n){const x=c;if(!this._[x(1337)](e))throw new Error("unknown type: "+e);for(var o=this._[e],r=0,i=o[x(1028)];r<i;++r)o[r][x(1429)][x(878)](t,n)}};function Ys(e,t){const n=c;for(var x=0,o=e[n(1028)],r;x<o;++x)if((r=e[x]).name===t)return r.value}function xr(e,t,n){const x=c;for(var o=0,r=e[x(1028)];o<r;++o)if(e[o][x(1952)]===t){e[o]=ks,e=e[x(563)](0,o).concat(e.slice(o+1));break}return n!=null&&e[x(2049)]({name:t,value:n}),e}var lx=c(1832);const or={svg:c(1096),xhtml:lx,xlink:c(1646),xml:"http://www.w3.org/XML/1998/namespace",xmlns:c(1318)};function c0(e){const t=c;var n=e+="",x=n[t(1379)](":");return x>=0&&(n=e[t(563)](0,x))!==t(1653)&&(e=e[t(563)](x+1)),or[t(1337)](n)?{space:or[n],local:e}:e}function As(e){return function(){const t=_0x447e;var n=this[t(2134)],x=this.namespaceURI;return x===lx&&n.documentElement[t(1415)]===lx?n.createElement(e):n[t(763)](x,e)}}function Is(e){return function(){const t=_0x447e;return this[t(2134)][t(763)](e.space,e[t(1898)])}}function rr(e){const t=c;var n=c0(e);return(n[t(1898)]?Is:As)(n)}function Es(){}function dx(e){return e==null?Es:function(){return this[_0x447e(1519)](e)}}function js(e){const t=c;typeof e!="function"&&(e=dx(e));for(var n=this[t(780)],x=n[t(1028)],o=new Array(x),r=0;r<x;++r)for(var i=n[r],a=i[t(1028)],f=o[r]=new Array(a),s,u,d=0;d<a;++d)(s=i[d])&&(u=e.call(s,s[t(1485)],d,i))&&("__data__"in s&&(u[t(1485)]=s[t(1485)]),f[d]=u);return new Ve(o,this[t(510)])}function Us(e){const t=c;return e==null?[]:Array.isArray(e)?e:Array[t(1486)](e)}function Gs(){return[]}function ir(e){return e==null?Gs:function(){return this[_0x447e(1483)](e)}}function Os(e){return function(){return Us(e[_0x447e(878)](this,arguments))}}function Hs(e){const t=c;typeof e===t(940)?e=Os(e):e=ir(e);for(var n=this[t(780)],x=n[t(1028)],o=[],r=[],i=0;i<x;++i)for(var a=n[i],f=a[t(1028)],s,u=0;u<f;++u)(s=a[u])&&(o[t(2049)](e[t(1036)](s,s[t(1485)],u,a)),r[t(2049)](s));return new Ve(o,r)}function ar(e){return function(){return this[_0x447e(1409)](e)}}function cr(e){return function(t){return t[_0x447e(1409)](e)}}var Ts=Array.prototype[c(2159)];function Vs(e){return function(){const t=_0x447e;return Ts.call(this[t(513)],e)}}function qs(){return this[c(760)]}function Ws(e){return this[c(521)](e==null?qs:Vs(typeof e=="function"?e:cr(e)))}var Xs=Array.prototype[c(1076)];function Zs(){const e=c;return Array[e(1486)](this[e(513)])}function Ks(e){return function(){const t=_0x447e;return Xs[t(1036)](this[t(513)],e)}}function Rs(e){const t=c;return this[t(710)](e==null?Zs:Ks(typeof e===t(940)?e:cr(e)))}function Js(e){const t=c;typeof e!==t(940)&&(e=ar(e));for(var n=this[t(780)],x=n[t(1028)],o=new Array(x),r=0;r<x;++r)for(var i=n[r],a=i[t(1028)],f=o[r]=[],s,u=0;u<a;++u)(s=i[u])&&e.call(s,s[t(1485)],u,i)&&f[t(2049)](s);return new Ve(o,this._parents)}function sr(e){return new Array(e.length)}function _s(){const e=c;return new Ve(this._enter||this[e(780)][e(1001)](sr),this[e(510)])}function s0(e,t){const n=c;this[n(2134)]=e.ownerDocument,this[n(1415)]=e.namespaceURI,this[n(713)]=null,this[n(1879)]=e,this[n(1485)]=t}s0.prototype={constructor:s0,appendChild:function(e){return this[c(1879)].insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){const t=c;return this[t(1879)][t(1519)](e)},querySelectorAll:function(e){const t=c;return this[t(1879)][t(1483)](e)}};function Qs(e){return function(){return e}}function Fs(e,t,n,x,o,r){const i=c;for(var a=0,f,s=t[i(1028)],u=r[i(1028)];a<u;++a)(f=t[a])?(f[i(1485)]=r[a],x[a]=f):n[a]=new s0(e,r[a]);for(;a<s;++a)(f=t[a])&&(o[a]=f)}function $s(e,t,n,x,o,r,i){const a=c;var f,s,u=new Map,d=t[a(1028)],y=r[a(1028)],h=new Array(d),g;for(f=0;f<d;++f)(s=t[f])&&(h[f]=g=i[a(1036)](s,s[a(1485)],f,t)+"",u[a(1432)](g)?o[f]=s:u[a(1007)](g,s));for(f=0;f<y;++f)g=i.call(e,r[f],f,r)+"",(s=u[a(1446)](g))?(x[f]=s,s[a(1485)]=r[f],u[a(719)](g)):n[f]=new s0(e,r[f]);for(f=0;f<d;++f)(s=t[f])&&u[a(1446)](h[f])===s&&(o[f]=s)}function el(e){return e.__data__}function nl(e,t){const n=c;if(!arguments[n(1028)])return Array[n(1486)](this,el);var x=t?$s:Fs,o=this[n(510)],r=this._groups;typeof e!==n(940)&&(e=Qs(e));for(var i=r[n(1028)],a=new Array(i),f=new Array(i),s=new Array(i),u=0;u<i;++u){var d=o[u],y=r[u],h=y[n(1028)],g=tl(e[n(1036)](d,d&&d[n(1485)],u,o)),m=g[n(1028)],v=f[u]=new Array(m),p=a[u]=new Array(m),M=s[u]=new Array(h);x(d,y,v,p,M,g,t);for(var w=0,z=0,b,k;w<m;++w)if(b=v[w]){for(w>=z&&(z=w+1);!(k=p[z])&&++z<m;);b._next=k||null}}return a=new Ve(a,o),a[n(2094)]=f,a[n(2047)]=s,a}function tl(e){const t=c;return typeof e=="object"&&t(1028)in e?e:Array[t(1486)](e)}function xl(){const e=c;return new Ve(this[e(2047)]||this[e(780)][e(1001)](sr),this[e(510)])}function ol(e,t,n){const x=c;var o=this[x(1010)](),r=this,i=this[x(2137)]();return typeof e===x(940)?(o=e(o),o&&(o=o[x(1904)]())):o=o[x(1602)](e+""),t!=null&&(r=t(r),r&&(r=r[x(1904)]())),n==null?i.remove():n(i),o&&r?o[x(1033)](r)[x(1766)]():r}function rl(e){const t=c;for(var n=e[t(1904)]?e[t(1904)]():e,x=this[t(780)],o=n[t(780)],r=x[t(1028)],i=o.length,a=Math[t(2007)](r,i),f=new Array(r),s=0;s<a;++s)for(var u=x[s],d=o[s],y=u[t(1028)],h=f[s]=new Array(y),g,m=0;m<y;++m)(g=u[m]||d[m])&&(h[m]=g);for(;s<r;++s)f[s]=x[s];return new Ve(f,this[t(510)])}function il(){const e=c;for(var t=this[e(780)],n=-1,x=t[e(1028)];++n<x;)for(var o=t[n],r=o[e(1028)]-1,i=o[r],a;--r>=0;)(a=o[r])&&(i&&a[e(1285)](i)^4&&i.parentNode.insertBefore(a,i),i=a);return this}function al(e){const t=c;e||(e=cl);function n(y,h){const g=_0x447e;return y&&h?e(y[g(1485)],h[g(1485)]):!y-!h}for(var x=this[t(780)],o=x[t(1028)],r=new Array(o),i=0;i<o;++i){for(var a=x[i],f=a[t(1028)],s=r[i]=new Array(f),u,d=0;d<f;++d)(u=a[d])&&(s[d]=u);s.sort(n)}return new Ve(r,this._parents)[t(1766)]()}function cl(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function sl(){const e=c;var t=arguments[0];return arguments[0]=this,t[e(878)](null,arguments),this}function ll(){return Array.from(this)}function dl(){const e=c;for(var t=this[e(780)],n=0,x=t.length;n<x;++n)for(var o=t[n],r=0,i=o[e(1028)];r<i;++r){var a=o[r];if(a)return a}return null}function ul(){let e=0;for(const t of this)++e;return e}function fl(){return!this.node()}function gl(e){const t=c;for(var n=this._groups,x=0,o=n.length;x<o;++x)for(var r=n[x],i=0,a=r[t(1028)],f;i<a;++i)(f=r[i])&&e[t(1036)](f,f[t(1485)],i,r);return this}function hl(e){return function(){this[_0x447e(1915)](e)}}function yl(e){return function(){const t=_0x447e;this[t(1214)](e[t(1234)],e[t(1898)])}}function ml(e,t){return function(){this[_0x447e(690)](e,t)}}function wl(e,t){return function(){const n=_0x447e;this.setAttributeNS(e.space,e[n(1898)],t)}}function vl(e,t){return function(){const n=_0x447e;var x=t[n(878)](this,arguments);x==null?this[n(1915)](e):this[n(690)](e,x)}}function pl(e,t){return function(){const n=_0x447e;var x=t[n(878)](this,arguments);x==null?this[n(1214)](e[n(1234)],e.local):this.setAttributeNS(e[n(1234)],e.local,x)}}function bl(e,t){const n=c;var x=c0(e);if(arguments.length<2){var o=this.node();return x.local?o[n(1276)](x[n(1234)],x.local):o.getAttribute(x)}return this.each((t==null?x[n(1898)]?yl:hl:typeof t===n(940)?x[n(1898)]?pl:vl:x[n(1898)]?wl:ml)(x,t))}function lr(e){const t=c;return e[t(2134)]&&e.ownerDocument[t(1199)]||e[t(743)]&&e||e[t(1199)]}function zl(e){return function(){const t=_0x447e;this[t(803)][t(496)](e)}}function Cl(e,t,n){return function(){const x=_0x447e;this[x(803)][x(1939)](e,t,n)}}function Ml(e,t,n){return function(){const x=_0x447e;var o=t.apply(this,arguments);o==null?this[x(803)][x(496)](e):this[x(803)][x(1939)](e,o,n)}}function Bl(e,t,n){const x=c;return arguments[x(1028)]>1?this[x(2175)]((t==null?zl:typeof t=="function"?Ml:Cl)(e,t,n??"")):Fn(this[x(1656)](),e)}function Fn(e,t){const n=c;return e.style[n(2016)](t)||lr(e)[n(1107)](e,null).getPropertyValue(t)}function Dl(e){return function(){delete this[e]}}function Ll(e,t){return function(){this[e]=t}}function Nl(e,t){return function(){var x=t[_0x447e(878)](this,arguments);x==null?delete this[e]:this[e]=x}}function Sl(e,t){const n=c;return arguments[n(1028)]>1?this.each((t==null?Dl:typeof t===n(940)?Nl:Ll)(e,t)):this.node()[e]}function dr(e){const t=c;return e[t(1619)]()[t(1773)](/^|\s+/)}function ux(e){return e.classList||new ur(e)}function ur(e){const t=c;this._node=e,this[t(2059)]=dr(e[t(928)](t(1497))||"")}ur[c(1347)]={add:function(e){const t=c;var n=this[t(2059)].indexOf(e);n<0&&(this[t(2059)][t(2049)](e),this[t(1752)][t(690)](t(1497),this[t(2059)][t(1248)](" ")))},remove:function(e){const t=c;var n=this[t(2059)][t(1379)](e);n>=0&&(this[t(2059)][t(1658)](n,1),this[t(1752)][t(690)]("class",this._names[t(1248)](" ")))},contains:function(e){const t=c;return this[t(2059)][t(1379)](e)>=0}};function fr(e,t){const n=c;for(var x=ux(e),o=-1,r=t[n(1028)];++o<r;)x.add(t[o])}function gr(e,t){const n=c;for(var x=ux(e),o=-1,r=t[n(1028)];++o<r;)x.remove(t[o])}function kl(e){return function(){fr(this,e)}}function Pl(e){return function(){gr(this,e)}}function Yl(e,t){return function(){(t[_0x447e(878)](this,arguments)?fr:gr)(this,e)}}function Al(e,t){const n=c;var x=dr(e+"");if(arguments.length<2){for(var o=ux(this[n(1656)]()),r=-1,i=x[n(1028)];++r<i;)if(!o.contains(x[r]))return!1;return!0}return this[n(2175)]((typeof t=="function"?Yl:t?kl:Pl)(x,t))}function Il(){const e=c;this[e(691)]=""}function El(e){return function(){const t=_0x447e;this[t(691)]=e}}function jl(e){return function(){var n=e[_0x447e(878)](this,arguments);this.textContent=n??""}}function Ul(e){const t=c;return arguments.length?this.each(e==null?Il:(typeof e===t(940)?jl:El)(e)):this[t(1656)]()[t(691)]}function Gl(){const e=c;this[e(1473)]=""}function Ol(e){return function(){const t=_0x447e;this[t(1473)]=e}}function Hl(e){return function(){const t=_0x447e;var n=e[t(878)](this,arguments);this[t(1473)]=n??""}}function Tl(e){const t=c;return arguments[t(1028)]?this[t(2175)](e==null?Gl:(typeof e=="function"?Hl:Ol)(e)):this[t(1656)]()[t(1473)]}function Vl(){const e=c;this[e(1015)]&&this[e(1866)].appendChild(this)}function ql(){return this[c(2175)](Vl)}function Wl(){const e=c;this.previousSibling&&this.parentNode[e(933)](this,this.parentNode[e(1244)])}function Xl(){return this[c(2175)](Wl)}function Zl(e){const t=c;var n=typeof e===t(940)?e:rr(e);return this.select(function(){const x=t;return this.appendChild(n[x(878)](this,arguments))})}function Kl(){return null}function Rl(e,t){const n=c;var x=typeof e===n(940)?e:rr(e),o=t==null?Kl:typeof t===n(940)?t:dx(t);return this.select(function(){const r=n;return this[r(933)](x.apply(this,arguments),o[r(878)](this,arguments)||null)})}function Jl(){var t=this[c(1866)];t&&t.removeChild(this)}function _l(){return this.each(Jl)}function Ql(){const e=c;var t=this.cloneNode(!1),n=this.parentNode;return n?n[e(933)](t,this[e(1015)]):t}function Fl(){const e=c;var t=this[e(1922)](!0),n=this.parentNode;return n?n[e(933)](t,this[e(1015)]):t}function $l(e){return this[c(521)](e?Fl:Ql)}function ed(e){const t=c;return arguments[t(1028)]?this[t(938)](t(1485),e):this[t(1656)]()[t(1485)]}function nd(e){return function(t){const n=_0x447e;e.call(this,t,this[n(1485)])}}function td(e){const t=c;return e.trim()[t(1773)](/^|\s+/)[t(1001)](function(n){const x=t;var o="",r=n.indexOf(".");return r>=0&&(o=n[x(563)](r+1),n=n[x(563)](0,r)),{type:n,name:o}})}function xd(e){return function(){const t=_0x447e;var n=this[t(450)];if(n){for(var x=0,o=-1,r=n[t(1028)],i;x<r;++x)i=n[x],(!e[t(638)]||i[t(638)]===e.type)&&i[t(1952)]===e[t(1952)]?this[t(653)](i[t(638)],i.listener,i[t(2029)]):n[++o]=i;++o?n[t(1028)]=o:delete this[t(450)]}}}function od(e,t,n){return function(){const x=_0x447e;var o=this[x(450)],r,i=nd(t);if(o){for(var a=0,f=o.length;a<f;++a)if((r=o[a])[x(638)]===e[x(638)]&&r[x(1952)]===e.name){this[x(653)](r.type,r[x(2092)],r[x(2029)]),this.addEventListener(r[x(638)],r[x(2092)]=i,r[x(2029)]=n),r.value=t;return}}this[x(2055)](e[x(638)],i,n),r={type:e.type,name:e[x(1952)],value:t,listener:i,options:n},o?o.push(r):this[x(450)]=[r]}}function rd(e,t,n){const x=c;var o=td(e+""),r,i=o.length,a;if(arguments[x(1028)]<2){var f=this.node()[x(450)];if(f){for(var s=0,u=f[x(1028)],d;s<u;++s)for(r=0,d=f[s];r<i;++r)if((a=o[r])[x(638)]===d[x(638)]&&a[x(1952)]===d[x(1952)])return d[x(1429)]}return}for(f=t?od:xd,r=0;r<i;++r)this[x(2175)](f(o[r],t,n));return this}function hr(e,t,n){const x=c;var o=lr(e),r=o[x(882)];typeof r===x(940)?r=new r(t,n):(r=o.document[x(912)](x(1402)),n?(r[x(2009)](t,n[x(687)],n[x(1526)]),r[x(1141)]=n[x(1141)]):r.initEvent(t,!1,!1)),e[x(949)](r)}function id(e,t){return function(){return hr(this,e,t)}}function ad(e,t){return function(){return hr(this,e,t[_0x447e(878)](this,arguments))}}function cd(e,t){return this[c(2175)]((typeof t=="function"?ad:id)(e,t))}function*sd(){const e=c;for(var t=this[e(780)],n=0,x=t[e(1028)];n<x;++n)for(var o=t[n],r=0,i=o[e(1028)],a;r<i;++r)(a=o[r])&&(yield a)}var yr=[null];function Ve(e,t){const n=c;this[n(780)]=e,this[n(510)]=t}function Ct(){const e=c;return new Ve([[document[e(856)]]],yr)}function ld(){return this}Ve.prototype=Ct[c(1347)]={constructor:Ve,select:js,selectAll:Hs,selectChild:Ws,selectChildren:Rs,filter:Js,data:nl,enter:_s,exit:xl,join:ol,merge:rl,selection:ld,order:il,sort:al,call:sl,nodes:ll,node:dl,size:ul,empty:fl,each:gl,attr:bl,style:Bl,property:Sl,classed:Al,text:Ul,html:Tl,raise:ql,lower:Xl,append:Zl,insert:Rl,remove:_l,clone:$l,datum:ed,on:rd,dispatch:cd,[Symbol[c(1797)]]:sd};function qe(e){const t=c;return typeof e===t(1841)?new Ve([[document.querySelector(e)]],[document[t(856)]]):new Ve([[e]],yr)}function dd(e){const t=c;let n;for(;n=e[t(1860)];)e=n;return e}function Je(e,t){const n=c;if(e=dd(e),t===void 0&&(t=e[n(850)]),t){var x=t.ownerSVGElement||t;if(x[n(718)]){var o=x[n(718)]();return o.x=e[n(2156)],o.y=e[n(1484)],o=o[n(1228)](t[n(1781)]()[n(927)]()),[o.x,o.y]}if(t.getBoundingClientRect){var r=t[n(1761)]();return[e.clientX-r.left-t[n(1610)],e[n(1484)]-r[n(1411)]-t.clientTop]}}return[e.pageX,e[n(1616)]]}const ud={passive:!1},Mt={capture:!0,passive:!1};function fx(e){e[c(1351)]()}function $n(e){const t=c;e.preventDefault(),e[t(1351)]()}function mr(e){const t=c;var n=e[t(743)][t(856)],x=qe(e).on(t(748),$n,Mt);t(1960)in n?x.on(t(637),$n,Mt):(n[t(799)]=n.style.MozUserSelect,n[t(803)][t(1431)]=t(2039))}function wr(e,t){const n=c;var x=e[n(743)][n(856)],o=qe(e).on(n(748),null);t&&(o.on(n(756),$n,Mt),setTimeout(function(){o.on("click.drag",null)},0)),"onselectstart"in x?o.on(n(637),null):(x[n(803)][n(1431)]=x[n(799)],delete x.__noselect)}const l0=e=>()=>e;function gx(e,{sourceEvent:t,subject:n,target:x,identifier:o,active:r,x:i,y:a,dx:f,dy:s,dispatch:u}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:x,enumerable:!0,configurable:!0},identifier:{value:o,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:f,enumerable:!0,configurable:!0},dy:{value:s,enumerable:!0,configurable:!0},_:{value:u}})}gx.prototype.on=function(){const e=c;var t=this._.on[e(878)](this._,arguments);return t===this._?this:t};function fd(e){const t=c;return!e[t(607)]&&!e[t(2070)]}function gd(){return this[c(1866)]}function hd(e,t){return t??{x:e.x,y:e.y}}function yd(){const e=c;return navigator[e(1165)]||e(1171)in this}function vr(){const e=c;var t=fd,n=gd,x=hd,o=yd,r={},i=i0(e(1159),e(449),e(1323)),a=0,f,s,u,d,y=0;function h(b){const k=e;b.on("mousedown.drag",g)[k(1076)](o).on(k(1657),p).on(k(451),M,ud).on(k(1868),w)[k(803)](k(1869),"none")[k(803)]("-webkit-tap-highlight-color",k(1529))}function g(b,k){const G=e;if(!(d||!t.call(this,b,k))){var E=z(this,n.call(this,b,k),b,k,"mouse");E&&(qe(b[G(973)]).on(G(1824),m,Mt).on("mouseup.drag",v,Mt),mr(b.view),fx(b),u=!1,f=b.clientX,s=b[G(1484)],E(G(1159),b))}}function m(b){const k=e;if($n(b),!u){var G=b[k(2156)]-f,E=b[k(1484)]-s;u=G*G+E*E>y}r[k(1672)](k(449),b)}function v(b){const k=e;qe(b.view).on(k(2129),null),wr(b[k(973)],u),$n(b),r.mouse(k(1323),b)}function p(b,k){const G=e;if(t[G(1036)](this,b,k)){var E=b[G(538)],I=n.call(this,b,k),q=E.length,F,K;for(F=0;F<q;++F)(K=z(this,I,b,k,E[F][G(2019)],E[F]))&&(fx(b),K(G(1159),b,E[F]))}}function M(b){const k=e;var G=b[k(538)],E=G[k(1028)],I,q;for(I=0;I<E;++I)(q=r[G[I][k(2019)]])&&($n(b),q(k(449),b,G[I]))}function w(b){const k=e;var G=b[k(538)],E=G[k(1028)],I,q;for(d&&clearTimeout(d),d=setTimeout(function(){d=null},500),I=0;I<E;++I)(q=r[G[I][k(2019)]])&&(fx(b),q("end",b,G[I]))}function z(b,k,G,E,I,q){const F=e;var K=i.copy(),W=Je(q||G,k),V,N,D;if((D=x[F(1036)](b,new gx(F(740),{sourceEvent:G,target:h,identifier:I,active:a,x:W[0],y:W[1],dx:0,dy:0,dispatch:K}),E))!=null)return V=D.x-W[0]||0,N=D.y-W[1]||0,function B(A,P,Y){const Z=F;var J=W,X;switch(A){case Z(1159):r[I]=B,X=a++;break;case Z(1323):delete r[I],--a;case"drag":W=Je(Y||P,k),X=a;break}K[Z(1036)](A,b,new gx(A,{sourceEvent:P,subject:D,target:h,identifier:I,active:X,x:W[0]+V,y:W[1]+N,dx:W[0]-J[0],dy:W[1]-J[1],dispatch:K}),E)}}return h.filter=function(b){const k=e;return arguments[k(1028)]?(t=typeof b===k(940)?b:l0(!!b),h):t},h[e(2170)]=function(b){return arguments[e(1028)]?(n=typeof b=="function"?b:l0(b),h):n},h[e(662)]=function(b){const k=e;return arguments[k(1028)]?(x=typeof b===k(940)?b:l0(b),h):x},h.touchable=function(b){const k=e;return arguments.length?(o=typeof b===k(940)?b:l0(!!b),h):o},h.on=function(){var b=i.on.apply(i,arguments);return b===i?h:b},h[e(1635)]=function(b){const k=e;return arguments[k(1028)]?(y=(b=+b)*b,h):Math[k(444)](y)},h}function hx(e,t,n){const x=c;e[x(1347)]=t[x(1347)]=n,n[x(498)]=e}function pr(e,t){var n=Object.create(e.prototype);for(var x in t)n[x]=t[x];return n}function Bt(){}var Dt=.7,d0=1/Dt,et=c(924),Lt=c(1456),xn=c(672),md=/^#([0-9a-f]{3,8})$/,wd=new RegExp(c(1237)+et+","+et+","+et+"\\)$"),vd=new RegExp(c(1237)+xn+","+xn+","+xn+c(1205)),pd=new RegExp(c(1951)+et+","+et+","+et+","+Lt+"\\)$"),bd=new RegExp(c(1951)+xn+","+xn+","+xn+","+Lt+c(1205)),zd=new RegExp(c(1433)+Lt+","+xn+","+xn+c(1205)),Cd=new RegExp(c(532)+Lt+","+xn+","+xn+","+Lt+c(1205)),br={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};hx(Bt,Pn,{copy(e){return Object[c(1055)](new this.constructor,this,e)},displayable(){const e=c;return this[e(1421)]()[e(2154)]()},hex:zr,formatHex:zr,formatHex8:Md,formatHsl:Bd,formatRgb:Cr,toString:Cr});function zr(){const e=c;return this[e(1421)]()[e(841)]()}function Md(){const e=c;return this[e(1421)]()[e(1814)]()}function Bd(){return Nr(this).formatHsl()}function Cr(){return this[c(1421)]().formatRgb()}function Pn(e){const t=c;var n,x;return e=(e+"")[t(1619)]()[t(1297)](),(n=md[t(1525)](e))?(x=n[1][t(1028)],n=parseInt(n[1],16),x===6?Mr(n):x===3?new je(n>>8&15|n>>4&240,n>>4&15|n&240,(n&15)<<4|n&15,1):x===8?u0(n>>24&255,n>>16&255,n>>8&255,(n&255)/255):x===4?u0(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|n&240,((n&15)<<4|n&15)/255):null):(n=wd.exec(e))?new je(n[1],n[2],n[3],1):(n=vd[t(1525)](e))?new je(n[1]*255/100,n[2]*255/100,n[3]*255/100,1):(n=pd[t(1525)](e))?u0(n[1],n[2],n[3],n[4]):(n=bd.exec(e))?u0(n[1]*255/100,n[2]*255/100,n[3]*255/100,n[4]):(n=zd.exec(e))?Lr(n[1],n[2]/100,n[3]/100,1):(n=Cd[t(1525)](e))?Lr(n[1],n[2]/100,n[3]/100,n[4]):br[t(1337)](e)?Mr(br[e]):e===t(1585)?new je(NaN,NaN,NaN,0):null}function Mr(e){return new je(e>>16&255,e>>8&255,e&255,1)}function u0(e,t,n,x){return x<=0&&(e=t=n=NaN),new je(e,t,n,x)}function Dd(e){const t=c;return e instanceof Bt||(e=Pn(e)),e?(e=e.rgb(),new je(e.r,e.g,e.b,e[t(1495)])):new je}function yx(e,t,n,x){return arguments.length===1?Dd(e):new je(e,t,n,x??1)}function je(e,t,n,x){const o=c;this.r=+e,this.g=+t,this.b=+n,this[o(1495)]=+x}hx(je,yx,pr(Bt,{brighter(e){const t=c;return e=e==null?d0:Math[t(1822)](d0,e),new je(this.r*e,this.g*e,this.b*e,this[t(1495)])},darker(e){const t=c;return e=e==null?Dt:Math[t(1822)](Dt,e),new je(this.r*e,this.g*e,this.b*e,this[t(1495)])},rgb(){return this},clamp(){return new je(Yn(this.r),Yn(this.g),Yn(this.b),f0(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(1495)]&&this[e(1495)]<=1},hex:Br,formatHex:Br,formatHex8:Ld,formatRgb:Dr,toString:Dr}));function Br(){return"#"+An(this.r)+An(this.g)+An(this.b)}function Ld(){const e=c;return"#"+An(this.r)+An(this.g)+An(this.b)+An((isNaN(this[e(1495)])?1:this[e(1495)])*255)}function Dr(){const e=c,t=f0(this[e(1495)]);return""+e(t===1?1377:654)+Yn(this.r)+", "+Yn(this.g)+", "+Yn(this.b)+(t===1?")":", "+t+")")}function f0(e){const t=c;return isNaN(e)?1:Math[t(1419)](0,Math[t(2007)](1,e))}function Yn(e){const t=c;return Math[t(1419)](0,Math[t(2007)](255,Math.round(e)||0))}function An(e){const t=c;return e=Yn(e),(e<16?"0":"")+e[t(534)](16)}function Lr(e,t,n,x){return x<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new _e(e,t,n,x)}function Nr(e){const t=c;if(e instanceof _e)return new _e(e.h,e.s,e.l,e[t(1495)]);if(e instanceof Bt||(e=Pn(e)),!e)return new _e;if(e instanceof _e)return e;e=e[t(1421)]();var n=e.r/255,x=e.g/255,o=e.b/255,r=Math[t(2007)](n,x,o),i=Math.max(n,x,o),a=NaN,f=i-r,s=(i+r)/2;return f?(n===i?a=(x-o)/f+(x<o)*6:x===i?a=(o-n)/f+2:a=(n-x)/f+4,f/=s<.5?i+r:2-i-r,a*=60):f=s>0&&s<1?0:a,new _e(a,f,s,e[t(1495)])}function Nd(e,t,n,x){return arguments[c(1028)]===1?Nr(e):new _e(e,t,n,x??1)}function _e(e,t,n,x){const o=c;this.h=+e,this.s=+t,this.l=+n,this[o(1495)]=+x}hx(_e,Nd,pr(Bt,{brighter(e){const t=c;return e=e==null?d0:Math[t(1822)](d0,e),new _e(this.h,this.s,this.l*e,this[t(1495)])},darker(e){const t=c;return e=e==null?Dt:Math[t(1822)](Dt,e),new _e(this.h,this.s,this.l*e,this[t(1495)])},rgb(){const e=c;var t=this.h%360+(this.h<0)*360,n=isNaN(t)||isNaN(this.s)?0:this.s,x=this.l,o=x+(x<.5?x:1-x)*n,r=2*x-o;return new je(mx(t>=240?t-240:t+120,r,o),mx(t,r,o),mx(t<120?t+240:t-120,r,o),this[e(1495)])},clamp(){const e=c;return new _e(Sr(this.h),g0(this.s),g0(this.l),f0(this[e(1495)]))},displayable(){const e=c;return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this[e(1495)]<=1},formatHsl(){const e=c,t=f0(this[e(1495)]);return""+e(t===1?1177:965)+Sr(this.h)+", "+g0(this.s)*100+e(1164)+g0(this.l)*100+"%"+(t===1?")":", "+t+")")}}));function Sr(e){return e=(e||0)%360,e<0?e+360:e}function g0(e){const t=c;return Math[t(1419)](0,Math[t(2007)](1,e||0))}function mx(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const wx=e=>()=>e;function Sd(e,t){return function(n){return e+n*t}}function kd(e,t,n){const x=c;return e=Math[x(1822)](e,n),t=Math.pow(t,n)-e,n=1/n,function(o){return Math[x(1822)](e+o*t,n)}}function Pd(e){return(e=+e)==1?kr:function(t,n){return n-t?kd(t,n,e):wx(isNaN(t)?n:t)}}function kr(e,t){var n=t-e;return n?Sd(e,n):wx(isNaN(e)?t:e)}const h0=(function e(t){const n=c;var x=Pd(t);function o(r,i){const a=_0x447e;var f=x((r=yx(r)).r,(i=yx(i)).r),s=x(r.g,i.g),u=x(r.b,i.b),d=kr(r[a(1495)],i[a(1495)]);return function(y){return r.r=f(y),r.g=s(y),r.b=u(y),r.opacity=d(y),r+""}}return o[n(1102)]=e,o})(1);function Yd(e,t){const n=c;t||(t=[]);var x=e?Math[n(2007)](t[n(1028)],e[n(1028)]):0,o=t[n(563)](),r;return function(i){for(r=0;r<x;++r)o[r]=e[r]*(1-i)+t[r]*i;return o}}function Ad(e){return ArrayBuffer[c(786)](e)&&!(e instanceof DataView)}function Id(e,t){const n=c;var x=t?t[n(1028)]:0,o=e?Math[n(2007)](x,e[n(1028)]):0,r=new Array(o),i=new Array(x),a;for(a=0;a<o;++a)r[a]=Nt(e[a],t[a]);for(;a<x;++a)i[a]=t[a];return function(f){for(a=0;a<o;++a)i[a]=r[a](f);return i}}function Ed(e,t){var n=new Date;return e=+e,t=+t,function(x){return n[_0x447e(769)](e*(1-x)+t*x),n}}function on(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function jd(e,t){const n=c;var x={},o={},r;(e===null||typeof e!==n(1210))&&(e={}),(t===null||typeof t!==n(1210))&&(t={});for(r in t)r in e?x[r]=Nt(e[r],t[r]):o[r]=t[r];return function(i){for(r in x)o[r]=x[r](i);return o}}var vx=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,px=new RegExp(vx[c(1513)],"g");function Ud(e){return function(){return e}}function Gd(e){return function(t){return e(t)+""}}function Pr(e,t){const n=c;var x=vx[n(1425)]=px[n(1425)]=0,o,r,i,a=-1,f=[],s=[];for(e=e+"",t=t+"";(o=vx[n(1525)](e))&&(r=px[n(1525)](t));)(i=r[n(1261)])>x&&(i=t[n(563)](x,i),f[a]?f[a]+=i:f[++a]=i),(o=o[0])===(r=r[0])?f[a]?f[a]+=r:f[++a]=r:(f[++a]=null,s[n(2049)]({i:a,x:on(o,r)})),x=px[n(1425)];return x<t[n(1028)]&&(i=t[n(563)](x),f[a]?f[a]+=i:f[++a]=i),f[n(1028)]<2?s[0]?Gd(s[0].x):Ud(t):(t=s.length,function(u){const d=n;for(var y=0,h;y<t;++y)f[(h=s[y]).i]=h.x(u);return f[d(1248)]("")})}function Nt(e,t){const n=c;var x=typeof t,o;return t==null||x===n(894)?wx(t):(x===n(1539)?on:x===n(1841)?(o=Pn(t))?(t=o,h0):Pr:t instanceof Pn?h0:t instanceof Date?Ed:Ad(t)?Yd:Array[n(1098)](t)?Id:typeof t[n(503)]!==n(940)&&typeof t.toString!==n(940)||isNaN(t)?jd:on)(e,t)}var Yr=180/Math.PI,bx={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Ar(e,t,n,x,o,r){const i=c;var a,f,s;return(a=Math[i(444)](e*e+t*t))&&(e/=a,t/=a),(s=e*n+t*x)&&(n-=e*s,x-=t*s),(f=Math[i(444)](n*n+x*x))&&(n/=f,x/=f,s/=f),e*x<t*n&&(e=-e,t=-t,s=-s,a=-a),{translateX:o,translateY:r,rotate:Math[i(794)](t,e)*Yr,skewX:Math.atan(s)*Yr,scaleX:a,scaleY:f}}var y0;function Od(e){const t=c,n=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(e+"");return n[t(669)]?bx:Ar(n.a,n.b,n.c,n.d,n.e,n.f)}function Hd(e){const t=c;return e==null||(y0||(y0=document[t(763)]("http://www.w3.org/2000/svg","g")),y0.setAttribute(t(688),e),!(e=y0[t(688)][t(2042)][t(1341)]()))?bx:(e=e[t(1277)],Ar(e.a,e.b,e.c,e.d,e.e,e.f))}function Ir(e,t,n,x){function o(s){const u=_0x447e;return s[u(1028)]?s[u(1293)]()+" ":""}function r(s,u,d,y,h,g){const m=_0x447e;if(s!==d||u!==y){var v=h[m(2049)](m(1595),null,t,null,n);g[m(2049)]({i:v-4,x:on(s,d)},{i:v-2,x:on(u,y)})}else(d||y)&&h.push(m(1595)+d+t+y+n)}function i(s,u,d,y){const h=_0x447e;s!==u?(s-u>180?u+=360:u-s>180&&(s+=360),y.push({i:d[h(2049)](o(d)+h(1089),null,x)-2,x:on(s,u)})):u&&d[h(2049)](o(d)+"rotate("+u+x)}function a(s,u,d,y){const h=_0x447e;s!==u?y[h(2049)]({i:d.push(o(d)+h(2109),null,x)-2,x:on(s,u)}):u&&d[h(2049)](o(d)+h(2109)+u+x)}function f(s,u,d,y,h,g){const m=_0x447e;if(s!==d||u!==y){var v=h.push(o(h)+m(1349),null,",",null,")");g[m(2049)]({i:v-4,x:on(s,d)},{i:v-2,x:on(u,y)})}else(d!==1||y!==1)&&h[m(2049)](o(h)+"scale("+d+","+y+")")}return function(s,u){const d=_0x447e;var y=[],h=[];return s=e(s),u=e(u),r(s.translateX,s[d(731)],u[d(1629)],u[d(731)],y,h),i(s[d(1706)],u[d(1706)],y,h),a(s[d(1900)],u[d(1900)],y,h),f(s[d(1893)],s[d(475)],u[d(1893)],u.scaleY,y,h),s=u=null,function(g){const m=d;for(var v=-1,p=h[m(1028)],M;++v<p;)y[(M=h[v]).i]=M.x(g);return y.join("")}}}var Td=Ir(Od,c(1551),"px)","deg)"),Vd=Ir(Hd,", ",")",")"),qd=1e-12;function Er(e){return((e=Math[c(1690)](e))+1/e)/2}function Wd(e){return((e=Math[c(1690)](e))-1/e)/2}function Xd(e){return((e=Math[c(1690)](2*e))-1)/(e+1)}const m0=(function e(t,n,x){const o=c;function r(i,a){const f=_0x447e;var s=i[0],u=i[1],d=i[2],y=a[0],h=a[1],g=a[2],m=y-s,v=h-u,p=m*m+v*v,M,w;if(p<qd)w=Math[f(484)](g/d)/t,M=function(I){const q=f;return[s+I*m,u+I*v,d*Math[q(1690)](t*I*w)]};else{var z=Math[f(444)](p),b=(g*g-d*d+x*p)/(2*d*n*z),k=(g*g-d*d-x*p)/(2*g*n*z),G=Math.log(Math[f(444)](b*b+1)-b),E=Math[f(484)](Math[f(444)](k*k+1)-k);w=(E-G)/t,M=function(I){var q=I*w,F=Er(G),K=d/(n*z)*(F*Xd(t*q+G)-Wd(G));return[s+K*m,u+K*v,d*F/Er(t*q+G)]}}return M[f(1844)]=w*1e3*t/Math[f(1543)],M}return r[o(1584)]=function(i){var f=Math[o(1419)](.001,+i),s=f*f,u=s*s;return e(f,s,u)},r})(Math.SQRT2,2,4);var nt=0,St=0,kt=0,jr=1e3,w0,Pt,v0=0,In=0,p0=0,Yt=typeof performance=="object"&&performance.now?performance:Date,Ur=typeof window===c(1210)&&window[c(1627)]?window[c(1627)][c(1072)](window):function(e){setTimeout(e,17)};function zx(){const e=c;return In||(Ur(Zd),In=Yt[e(1676)]()+p0)}function Zd(){In=0}function b0(){const e=c;this[e(1708)]=this[e(1819)]=this._next=null}b0[c(1347)]=Gr[c(1347)]={constructor:b0,restart:function(e,t,n){const x=c;if(typeof e!==x(940))throw new TypeError(x(1046));n=(n==null?zx():+n)+(t==null?0:+t),!this._next&&Pt!==this&&(Pt?Pt[x(713)]=this:w0=this,Pt=this),this[x(1708)]=e,this[x(1819)]=n,Cx()},stop:function(){const e=c;this[e(1708)]&&(this[e(1708)]=null,this[e(1819)]=1/0,Cx())}};function Gr(e,t,n){const x=c;var o=new b0;return o[x(1161)](e,t,n),o}function Kd(){const e=c;zx(),++nt;for(var t=w0,n;t;)(n=In-t[e(1819)])>=0&&t[e(1708)].call(void 0,n),t=t[e(713)];--nt}function Or(){In=(v0=Yt[c(1676)]())+p0,nt=St=0;try{Kd()}finally{nt=0,Jd(),In=0}}function Rd(){var t=Yt[c(1676)](),n=t-v0;n>jr&&(p0-=n,v0=t)}function Jd(){const e=c;for(var t,n=w0,x,o=1/0;n;)n[e(1708)]?(o>n._time&&(o=n._time),t=n,n=n[e(713)]):(x=n[e(713)],n[e(713)]=null,n=t?t[e(713)]=x:w0=x);Pt=t,Cx(o)}function Cx(e){const t=c;if(!nt){St&&(St=clearTimeout(St));var n=e-In;n>24?(e<1/0&&(St=setTimeout(Or,e-Yt.now()-p0)),kt&&(kt=clearInterval(kt))):(kt||(v0=Yt[t(1676)](),kt=setInterval(Rd,jr)),nt=1,Ur(Or))}}function Hr(e,t,n){const x=c;var o=new b0;return t=t==null?0:+t,o[x(1161)](r=>{o[x(2124)](),e(r+t)},t,n),o}var _d=i0(c(1159),c(1323),c(2142),c(1834)),Qd=[],Tr=0,Vr=1,Mx=2,z0=3,qr=4,Bx=5,C0=6;function M0(e,t,n,x,o,r){const i=c;var a=e[i(936)];if(!a)e.__transition={};else if(n in a)return;Fd(e,n,{name:t,index:x,group:o,on:_d,tween:Qd,time:r[i(1789)],delay:r[i(905)],duration:r[i(1844)],ease:r[i(1025)],timer:null,state:Tr})}function Dx(e,t){const n=c;var x=Qe(e,t);if(x[n(578)]>Tr)throw new Error(n(1792));return x}function rn(e,t){const n=c;var x=Qe(e,t);if(x.state>z0)throw new Error(n(1944));return x}function Qe(e,t){const n=c;var x=e[n(936)];if(!x||!(x=x[t]))throw new Error(n(1720));return x}function Fd(e,t,n){const x=c;var o=e.__transition,r;o[t]=n,n[x(744)]=Gr(i,0,n[x(1789)]);function i(u){const d=x;n.state=Vr,n[d(744)][d(1161)](a,n[d(905)],n[d(1789)]),n[d(905)]<=u&&a(u-n[d(905)])}function a(u){const d=x;var y,h,g,m;if(n[d(578)]!==Vr)return s();for(y in o)if(m=o[y],m.name===n[d(1952)]){if(m.state===z0)return Hr(a);m[d(578)]===qr?(m[d(578)]=C0,m[d(744)][d(2124)](),m.on.call("interrupt",e,e[d(1485)],m[d(1261)],m[d(1283)]),delete o[y]):+y<t&&(m.state=C0,m[d(744)][d(2124)](),m.on.call("cancel",e,e[d(1485)],m.index,m.group),delete o[y])}if(Hr(function(){const v=d;n.state===z0&&(n[v(578)]=qr,n[v(744)][v(1161)](f,n[v(905)],n[v(1789)]),f(u))}),n[d(578)]=Mx,n.on[d(1036)](d(1159),e,e[d(1485)],n[d(1261)],n[d(1283)]),n[d(578)]===Mx){for(n.state=z0,r=new Array(g=n[d(887)][d(1028)]),y=0,h=-1;y<g;++y)(m=n[d(887)][y].value[d(1036)](e,e[d(1485)],n.index,n[d(1283)]))&&(r[++h]=m);r[d(1028)]=h+1}}function f(u){const d=x;for(var y=u<n[d(1844)]?n.ease[d(1036)](null,u/n[d(1844)]):(n[d(744)][d(1161)](s),n[d(578)]=Bx,1),h=-1,g=r[d(1028)];++h<g;)r[h][d(1036)](e,y);n[d(578)]===Bx&&(n.on[d(1036)](d(1323),e,e[d(1485)],n.index,n.group),s())}function s(){const u=x;n[u(578)]=C0,n.timer.stop(),delete o[t];for(var d in o)return;delete e[u(936)]}}function B0(e,t){const n=c;var x=e.__transition,o,r,i=!0,a;if(x){t=t==null?null:t+"";for(a in x){if((o=x[a]).name!==t){i=!1;continue}r=o[n(578)]>Mx&&o[n(578)]<Bx,o[n(578)]=C0,o[n(744)][n(2124)](),o.on[n(1036)](r?"interrupt":"cancel",e,e[n(1485)],o.index,o[n(1283)]),delete x[a]}i&&delete e[n(936)]}}function $d(e){return this[c(2175)](function(){B0(this,e)})}function eu(e,t){var n,x;return function(){const o=_0x447e;var r=rn(this,e),i=r[o(887)];if(i!==n){x=n=i;for(var a=0,f=x[o(1028)];a<f;++a)if(x[a][o(1952)]===t){x=x.slice(),x[o(1658)](a,1);break}}r.tween=x}}function nu(e,t,n){const x=c;var o,r;if(typeof n!==x(940))throw new Error;return function(){const i=x;var a=rn(this,e),f=a[i(887)];if(f!==o){r=(o=f)[i(563)]();for(var s={name:t,value:n},u=0,d=r[i(1028)];u<d;++u)if(r[u][i(1952)]===t){r[u]=s;break}u===d&&r.push(s)}a[i(887)]=r}}function tu(e,t){const n=c;var x=this[n(733)];if(e+="",arguments[n(1028)]<2){for(var o=Qe(this[n(1656)](),x)[n(887)],r=0,i=o[n(1028)],a;r<i;++r)if((a=o[r])[n(1952)]===e)return a[n(1429)];return null}return this.each((t==null?eu:nu)(x,e,t))}function Lx(e,t,n){const x=c;var o=e[x(733)];return e.each(function(){const r=x;var i=rn(this,o);(i.value||(i[r(1429)]={}))[t]=n[r(878)](this,arguments)}),function(r){return Qe(r,o).value[t]}}function Wr(e,t){const n=c;var x;return(typeof t===n(1539)?on:t instanceof Pn?h0:(x=Pn(t))?(t=x,h0):Pr)(e,t)}function xu(e){return function(){this[_0x447e(1915)](e)}}function ou(e){return function(){const t=_0x447e;this[t(1214)](e.space,e[t(1898)])}}function ru(e,t,n){var x,o=n+"",r;return function(){var a=this[_0x447e(928)](e);return a===o?null:a===x?r:r=t(x=a,n)}}function iu(e,t,n){var x,o=n+"",r;return function(){const i=_0x447e;var a=this[i(1276)](e.space,e[i(1898)]);return a===o?null:a===x?r:r=t(x=a,n)}}function au(e,t,n){var x,o,r;return function(){const i=_0x447e;var a,f=n(this),s;return f==null?void this[i(1915)](e):(a=this[i(928)](e),s=f+"",a===s?null:a===x&&s===o?r:(o=s,r=t(x=a,f)))}}function cu(e,t,n){var x,o,r;return function(){const i=_0x447e;var a,f=n(this),s;return f==null?void this.removeAttributeNS(e.space,e[i(1898)]):(a=this.getAttributeNS(e[i(1234)],e[i(1898)]),s=f+"",a===s?null:a===x&&s===o?r:(o=s,r=t(x=a,f)))}}function su(e,t){const n=c;var x=c0(e),o=x===n(688)?Vd:Wr;return this[n(1768)](e,typeof t===n(940)?(x[n(1898)]?cu:au)(x,o,Lx(this,n(934)+e,t)):t==null?(x[n(1898)]?ou:xu)(x):(x.local?iu:ru)(x,o,t))}function lu(e,t){return function(n){const x=_0x447e;this[x(690)](e,t[x(1036)](this,n))}}function du(e,t){return function(n){const x=_0x447e;this.setAttributeNS(e[x(1234)],e[x(1898)],t[x(1036)](this,n))}}function uu(e,t){const n=c;var x,o;function r(){var a=t[_0x447e(878)](this,arguments);return a!==o&&(x=(o=a)&&du(e,a)),x}return r[n(536)]=t,r}function fu(e,t){const n=c;var x,o;function r(){var a=t[_0x447e(878)](this,arguments);return a!==o&&(x=(o=a)&&lu(e,a)),x}return r[n(536)]=t,r}function gu(e,t){const n=c;var x=n(934)+e;if(arguments.length<2)return(x=this[n(887)](x))&&x[n(536)];if(t==null)return this[n(887)](x,null);if(typeof t!==n(940))throw new Error;var o=c0(e);return this[n(887)](x,(o.local?uu:fu)(o,t))}function hu(e,t){return function(){const n=_0x447e;Dx(this,e)[n(905)]=+t.apply(this,arguments)}}function yu(e,t){return t=+t,function(){const n=_0x447e;Dx(this,e)[n(905)]=t}}function mu(e){const t=c;var n=this[t(733)];return arguments[t(1028)]?this[t(2175)]((typeof e=="function"?hu:yu)(n,e)):Qe(this.node(),n)[t(905)]}function wu(e,t){return function(){const n=_0x447e;rn(this,e)[n(1844)]=+t.apply(this,arguments)}}function vu(e,t){return t=+t,function(){const n=_0x447e;rn(this,e)[n(1844)]=t}}function pu(e){const t=c;var n=this[t(733)];return arguments[t(1028)]?this.each((typeof e===t(940)?wu:vu)(n,e)):Qe(this[t(1656)](),n)[t(1844)]}function bu(e,t){if(typeof t!="function")throw new Error;return function(){rn(this,e).ease=t}}function zu(e){const t=c;var n=this._id;return arguments[t(1028)]?this[t(2175)](bu(n,e)):Qe(this[t(1656)](),n)[t(1025)]}function Cu(e,t){return function(){const n=_0x447e;var x=t[n(878)](this,arguments);if(typeof x!==n(940))throw new Error;rn(this,e)[n(1025)]=x}}function Mu(e){const t=c;if(typeof e!==t(940))throw new Error;return this[t(2175)](Cu(this[t(733)],e))}function Bu(e){const t=c;typeof e!==t(940)&&(e=ar(e));for(var n=this[t(780)],x=n[t(1028)],o=new Array(x),r=0;r<x;++r)for(var i=n[r],a=i.length,f=o[r]=[],s,u=0;u<a;++u)(s=i[u])&&e[t(1036)](s,s[t(1485)],u,i)&&f[t(2049)](s);return new sn(o,this._parents,this[t(1748)],this._id)}function Du(e){const t=c;if(e._id!==this[t(733)])throw new Error;for(var n=this[t(780)],x=e[t(780)],o=n[t(1028)],r=x[t(1028)],i=Math[t(2007)](o,r),a=new Array(o),f=0;f<i;++f)for(var s=n[f],u=x[f],d=s.length,y=a[f]=new Array(d),h,g=0;g<d;++g)(h=s[g]||u[g])&&(y[g]=h);for(;f<o;++f)a[f]=n[f];return new sn(a,this[t(510)],this[t(1748)],this[t(733)])}function Lu(e){const t=c;return(e+"").trim().split(/^|\s+/)[t(1281)](function(n){const x=t;var o=n[x(1379)](".");return o>=0&&(n=n[x(563)](0,o)),!n||n===x(1159)})}function Nu(e,t,n){var x,o,r=Lu(t)?Dx:rn;return function(){const i=_0x447e;var a=r(this,e),f=a.on;f!==x&&(o=(x=f)[i(2087)]()).on(t,n),a.on=o}}function Su(e,t){const n=c;var x=this._id;return arguments[n(1028)]<2?Qe(this[n(1656)](),x).on.on(e):this[n(2175)](Nu(x,e,t))}function ku(e){return function(){var n=this[_0x447e(1866)];for(var x in this.__transition)if(+x!==e)return;n&&n.removeChild(this)}}function Pu(){const e=c;return this.on(e(1795),ku(this[e(733)]))}function Yu(e){const t=c;var n=this._name,x=this[t(733)];typeof e!==t(940)&&(e=dx(e));for(var o=this[t(780)],r=o.length,i=new Array(r),a=0;a<r;++a)for(var f=o[a],s=f[t(1028)],u=i[a]=new Array(s),d,y,h=0;h<s;++h)(d=f[h])&&(y=e[t(1036)](d,d[t(1485)],h,f))&&(t(1485)in d&&(y.__data__=d[t(1485)]),u[h]=y,M0(u[h],n,x,h,u,Qe(d,x)));return new sn(i,this[t(510)],n,x)}function Au(e){const t=c;var n=this[t(1748)],x=this[t(733)];typeof e!==t(940)&&(e=ir(e));for(var o=this[t(780)],r=o[t(1028)],i=[],a=[],f=0;f<r;++f)for(var s=o[f],u=s[t(1028)],d,y=0;y<u;++y)if(d=s[y]){for(var h=e.call(d,d.__data__,y,s),g,m=Qe(d,x),v=0,p=h[t(1028)];v<p;++v)(g=h[v])&&M0(g,n,x,v,h,m);i[t(2049)](h),a.push(d)}return new sn(i,a,n,x)}var Iu=Ct[c(1347)][c(498)];function Eu(){const e=c;return new Iu(this[e(780)],this[e(510)])}function ju(e,t){var n,x,o;return function(){const r=_0x447e;var i=Fn(this,e),a=(this[r(803)][r(496)](e),Fn(this,e));return i===a?null:i===n&&a===x?o:o=t(n=i,x=a)}}function Xr(e){return function(){this[_0x447e(803)].removeProperty(e)}}function Uu(e,t,n){var x,o=n+"",r;return function(){var i=Fn(this,e);return i===o?null:i===x?r:r=t(x=i,n)}}function Gu(e,t,n){var x,o,r;return function(){const i=_0x447e;var a=Fn(this,e),f=n(this),s=f+"";return f==null&&(s=f=(this.style[i(496)](e),Fn(this,e))),a===s?null:a===x&&s===o?r:(o=s,r=t(x=a,f))}}function Ou(e,t){const n=c;var x,o,r,i="style."+t,a=n(1454)+i,f;return function(){const s=n;var u=rn(this,e),d=u.on,y=u[s(1429)][i]==null?f||(f=Xr(t)):void 0;(d!==x||r!==y)&&(o=(x=d)[s(2087)]()).on(a,r=y),u.on=o}}function Hu(e,t,n){const x=c;var o=(e+="")===x(688)?Td:Wr;return t==null?this[x(438)](e,ju(e,o)).on("end.style."+e,Xr(e)):typeof t=="function"?this[x(438)](e,Gu(e,o,Lx(this,"style."+e,t)))[x(2175)](Ou(this[x(733)],e)):this[x(438)](e,Uu(e,o,t),n).on(x(1398)+e,null)}function Tu(e,t,n){return function(x){const o=_0x447e;this[o(803)][o(1939)](e,t[o(1036)](this,x),n)}}function Vu(e,t,n){const x=c;var o,r;function i(){var f=t[_0x447e(878)](this,arguments);return f!==r&&(o=(r=f)&&Tu(e,f,n)),o}return i[x(536)]=t,i}function qu(e,t,n){const x=c;var o=x(1801)+(e+="");if(arguments.length<2)return(o=this[x(887)](o))&&o[x(536)];if(t==null)return this[x(887)](o,null);if(typeof t!==x(940))throw new Error;return this.tween(o,Vu(e,t,n??""))}function Wu(e){return function(){const t=_0x447e;this[t(691)]=e}}function Xu(e){return function(){const t=_0x447e;var n=e(this);this[t(691)]=n??""}}function Zu(e){const t=c;return this[t(887)](t(1527),typeof e===t(940)?Xu(Lx(this,t(1527),e)):Wu(e==null?"":e+""))}function Ku(e){return function(t){const n=_0x447e;this[n(691)]=e[n(1036)](this,t)}}function Ru(e){const t=c;var n,x;function o(){var i=e[_0x447e(878)](this,arguments);return i!==x&&(n=(x=i)&&Ku(i)),n}return o[t(536)]=e,o}function Ju(e){const t=c;var n=t(1527);if(arguments[t(1028)]<1)return(n=this[t(887)](n))&&n[t(536)];if(e==null)return this[t(887)](n,null);if(typeof e!==t(940))throw new Error;return this[t(887)](n,Ru(e))}function _u(){const e=c;for(var t=this[e(1748)],n=this[e(733)],x=Zr(),o=this[e(780)],r=o[e(1028)],i=0;i<r;++i)for(var a=o[i],f=a.length,s,u=0;u<f;++u)if(s=a[u]){var d=Qe(s,n);M0(s,t,x,u,a,{time:d.time+d.delay+d.duration,delay:0,duration:d[e(1844)],ease:d[e(1025)]})}return new sn(o,this[e(510)],t,x)}function Qu(){const e=c;var t,n,x=this,o=x[e(733)],r=x.size();return new Promise(function(i,a){const f=e;var s={value:a},u={value:function(){--r===0&&i()}};x[f(2175)](function(){const d=f;var y=rn(this,o),h=y.on;h!==t&&(n=(t=h).copy(),n._[d(2142)].push(s),n._[d(1834)].push(s),n._[d(1323)][d(2049)](u)),y.on=n}),r===0&&i()})}var Fu=0;function sn(e,t,n,x){const o=c;this[o(780)]=e,this[o(510)]=t,this[o(1748)]=n,this[o(733)]=x}function Zr(){return++Fu}var ln=Ct[c(1347)];sn[c(1347)]={constructor:sn,select:Yu,selectAll:Au,selectChild:ln[c(1330)],selectChildren:ln.selectChildren,filter:Bu,merge:Du,selection:Eu,transition:_u,call:ln[c(1036)],nodes:ln[c(1053)],node:ln.node,size:ln[c(2046)],empty:ln[c(2166)],each:ln[c(2175)],on:Su,attr:su,attrTween:gu,style:Hu,styleTween:qu,text:Zu,textTween:Ju,remove:Pu,tween:tu,delay:mu,duration:pu,ease:zu,easeVarying:Mu,end:Qu,[Symbol[c(1797)]]:ln[Symbol[c(1797)]]};function $u(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var ef={time:null,delay:0,duration:250,ease:$u};function nf(e,t){const n=c;for(var x;!(x=e[n(936)])||!(x=x[t]);)if(!(e=e.parentNode))throw new Error("transition "+t+n(1510));return x}function tf(e){const t=c;var n,x;e instanceof sn?(n=e[t(733)],e=e[t(1748)]):(n=Zr(),(x=ef)[t(1789)]=zx(),e=e==null?null:e+"");for(var o=this[t(780)],r=o[t(1028)],i=0;i<r;++i)for(var a=o[i],f=a[t(1028)],s,u=0;u<f;++u)(s=a[u])&&M0(s,e,n,u,a,x||nf(s,n));return new sn(o,this[t(510)],e,n)}Ct[c(1347)].interrupt=$d,Ct.prototype[c(1355)]=tf;const D0=e=>()=>e;function xf(e,{sourceEvent:t,target:n,transform:x,dispatch:o}){Object[c(1506)](this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:x,enumerable:!0,configurable:!0},_:{value:o}})}function dn(e,t,n){this.k=e,this.x=t,this.y=n}dn[c(1347)]={constructor:dn,scale:function(e){return e===1?this:new dn(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new dn(this.k,this.x+this.k*e,this.y+this.k*t)},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 t=c;return e[t(2087)]().domain(e[t(1707)]().map(this[t(1142)],this).map(e[t(884)],e))},rescaleY:function(e){const t=c;return e[t(2087)]().domain(e[t(1707)]()[t(1001)](this.invertY,this)[t(1001)](e.invert,e))},toString:function(){const e=c;return"translate("+this.x+","+this.y+e(1775)+this.k+")"}};var L0=new dn(1,0,0);Kr.prototype=dn[c(1347)];function Kr(e){const t=c;for(;!e[t(621)];)if(!(e=e.parentNode))return L0;return e[t(621)]}function Nx(e){e[c(1351)]()}function At(e){const t=c;e[t(478)](),e[t(1351)]()}function of(e){const t=c;return(!e[t(607)]||e[t(638)]===t(1698))&&!e[t(2070)]}function rf(){const e=c;var t=this;return t instanceof SVGElement?(t=t[e(2053)]||t,t.hasAttribute(e(958))?(t=t[e(958)][e(2042)],[[t.x,t.y],[t.x+t[e(502)],t.y+t[e(1201)]]]):[[0,0],[t.width.baseVal[e(1429)],t[e(1201)][e(2042)][e(1429)]]]):[[0,0],[t[e(1039)],t.clientHeight]]}function Rr(){return this[c(621)]||L0}function af(e){const t=c;return-e.deltaY*(e[t(1178)]===1?.05:e.deltaMode?1:.002)*(e[t(607)]?10:1)}function cf(){const e=c;return navigator[e(1165)]||e(1171)in this}function sf(e,t,n){const x=c;var o=e[x(1142)](t[0][0])-n[0][0],r=e[x(1142)](t[1][0])-n[1][0],i=e[x(1105)](t[0][1])-n[0][1],a=e.invertY(t[1][1])-n[1][1];return e[x(1413)](r>o?(o+r)/2:Math[x(2007)](0,o)||Math.max(0,r),a>i?(i+a)/2:Math[x(2007)](0,i)||Math[x(1419)](0,a))}function Jr(){const e=c;var t=of,n=rf,x=sf,o=af,r=cf,i=[0,1/0],a=[[-1/0,-1/0],[1/0,1/0]],f=250,s=m0,u=i0(e(1159),e(931),"end"),d,y,h,g=500,m=150,v=0,p=10;function M(N){const D=e;N[D(938)](D(621),Rr).on(D(519),I,{passive:!1}).on(D(2167),q).on(D(1062),F)[D(1076)](r).on("touchstart.zoom",K).on(D(1407),W).on(D(889),V).style(D(700),D(1529))}M[e(688)]=function(N,D,B,A){const P=e;var Y=N[P(1904)]?N[P(1904)]():N;Y[P(938)](P(621),Rr),N!==Y?k(N,D,B,A):Y[P(1834)]()[P(2175)](function(){const Z=P;G(this,arguments).event(A)[Z(1159)]().zoom(null,typeof D===Z(940)?D.apply(this,arguments):D)[Z(1323)]()})},M.scaleBy=function(N,D,B,A){const P=e;M[P(2138)](N,function(){const Y=P;var Z=this[Y(621)].k,J=typeof D=="function"?D[Y(878)](this,arguments):D;return Z*J},B,A)},M[e(2138)]=function(N,D,B,A){M.transform(N,function(){const P=_0x447e;var Y=n[P(878)](this,arguments),Z=this[P(621)],J=B==null?b(Y):typeof B===P(940)?B[P(878)](this,arguments):B,X=Z[P(884)](J),Q=typeof D===P(940)?D[P(878)](this,arguments):D;return x(z(w(Z,Q),J,X),Y,a)},B,A)},M[e(593)]=function(N,D,B,A){M.transform(N,function(){const P=_0x447e;return x(this[P(621)].translate(typeof D=="function"?D[P(878)](this,arguments):D,typeof B===P(940)?B[P(878)](this,arguments):B),n[P(878)](this,arguments),a)},null,A)},M[e(611)]=function(N,D,B,A,P){const Y=e;M[Y(688)](N,function(){const Z=Y;var J=n.apply(this,arguments),X=this[Z(621)],Q=A==null?b(J):typeof A===Z(940)?A.apply(this,arguments):A;return x(L0[Z(1413)](Q[0],Q[1])[Z(1416)](X.k)[Z(1413)](typeof D===Z(940)?-D[Z(878)](this,arguments):-D,typeof B===Z(940)?-B[Z(878)](this,arguments):-B),J,a)},A,P)};function w(N,D){const B=e;return D=Math[B(1419)](i[0],Math[B(2007)](i[1],D)),D===N.k?N:new dn(D,N.x,N.y)}function z(N,D,B){var A=D[0]-B[0]*N.k,P=D[1]-B[1]*N.k;return A===N.x&&P===N.y?N:new dn(N.k,A,P)}function b(N){return[(+N[0][0]+ +N[1][0])/2,(+N[0][1]+ +N[1][1])/2]}function k(N,D,B,A){const P=e;N.on("start.zoom",function(){const Y=_0x447e;G(this,arguments)[Y(1325)](A)[Y(1159)]()}).on(P(728),function(){const Y=P;G(this,arguments).event(A)[Y(1323)]()})[P(887)](P(931),function(){const Y=P;var Z=this,J=arguments,X=G(Z,J)[Y(1325)](A),Q=n[Y(878)](Z,J),R=B==null?b(Q):typeof B===Y(940)?B.apply(Z,J):B,re=Math[Y(1419)](Q[1][0]-Q[0][0],Q[1][1]-Q[0][1]),ee=Z[Y(621)],ae=typeof D=="function"?D.apply(Z,J):D,ie=s(ee[Y(884)](R).concat(re/ee.k),ae[Y(884)](R)[Y(520)](re/ae.k));return function(S){const j=Y;if(S===1)S=ae;else{var _=ie(S),H=re/_[2];S=new dn(H,R[0]-_[0]*H,R[1]-_[1]*H)}X[j(931)](null,S)}})}function G(N,D,B){return!B&&N.__zooming||new E(N,D)}function E(N,D){const B=e;this.that=N,this[B(1964)]=D,this[B(649)]=0,this[B(1860)]=null,this[B(1671)]=n[B(878)](N,D),this.taps=0}E[e(1347)]={event:function(N){const D=e;return N&&(this[D(1860)]=N),this},start:function(){const N=e;return++this.active===1&&(this[N(1503)][N(643)]=this,this[N(1699)]("start")),this},zoom:function(N,D){const B=e;return this[B(1672)]&&N!==B(1672)&&(this[B(1672)][1]=D[B(884)](this[B(1672)][0])),this[B(561)]&&N!=="touch"&&(this[B(561)][1]=D[B(884)](this.touch0[0])),this.touch1&&N!==B(1729)&&(this[B(1564)][1]=D.invert(this[B(1564)][0])),this.that[B(621)]=D,this.emit(B(931)),this},end:function(){const N=e;return--this[N(649)]===0&&(delete this.that.__zooming,this[N(1699)](N(1323))),this},emit:function(N){const D=e;var B=qe(this[D(1503)])[D(1691)]();u.call(N,this.that,new xf(N,{sourceEvent:this.sourceEvent,target:M,transform:this[D(1503)][D(621)],dispatch:u}),B)}};function I(N,...D){const B=e;if(!t[B(878)](this,arguments))return;var A=G(this,D).event(N),P=this[B(621)],Y=Math.max(i[0],Math[B(2007)](i[1],P.k*Math[B(1822)](2,o.apply(this,arguments)))),Z=Je(N);if(A[B(1698)])(A[B(1672)][0][0]!==Z[0]||A[B(1672)][0][1]!==Z[1])&&(A[B(1672)][1]=P[B(884)](A.mouse[0]=Z)),clearTimeout(A[B(1698)]);else{if(P.k===Y)return;A[B(1672)]=[Z,P[B(884)](Z)],B0(this),A[B(1159)]()}At(N),A[B(1698)]=setTimeout(J,m),A.zoom(B(1672),x(z(w(P,Y),A[B(1672)][0],A[B(1672)][1]),A[B(1671)],a));function J(){const X=B;A[X(1698)]=null,A[X(1323)]()}}function q(N,...D){const B=e;if(h||!t[B(878)](this,arguments))return;var A=N[B(850)],P=G(this,D,!0)[B(1325)](N),Y=qe(N[B(973)]).on(B(830),Q,!0).on(B(454),R,!0),Z=Je(N,A),J=N[B(2156)],X=N[B(1484)];mr(N.view),Nx(N),P.mouse=[Z,this[B(621)][B(884)](Z)],B0(this),P[B(1159)]();function Q(re){const ee=B;if(At(re),!P[ee(568)]){var ae=re[ee(2156)]-J,ie=re[ee(1484)]-X;P[ee(568)]=ae*ae+ie*ie>v}P.event(re)[ee(931)](ee(1672),x(z(P[ee(1503)][ee(621)],P[ee(1672)][0]=Je(re,A),P[ee(1672)][1]),P.extent,a))}function R(re){const ee=B;Y.on("mousemove.zoom mouseup.zoom",null),wr(re.view,P[ee(568)]),At(re),P[ee(1325)](re)[ee(1323)]()}}function F(N,...D){const B=e;if(t.apply(this,arguments)){var A=this[B(621)],P=Je(N.changedTouches?N[B(538)][0]:N,this),Y=A[B(884)](P),Z=A.k*(N[B(2064)]?.5:2),J=x(z(w(A,Z),P,Y),n.apply(this,D),a);At(N),f>0?qe(this).transition().duration(f)[B(1036)](k,J,P,N):qe(this)[B(1036)](M[B(688)],J,P,N)}}function K(N,...D){const B=e;if(t[B(878)](this,arguments)){var A=N[B(497)],P=A[B(1028)],Y=G(this,D,N[B(538)].length===P)[B(1325)](N),Z,J,X,Q;for(Nx(N),J=0;J<P;++J)X=A[J],Q=Je(X,this),Q=[Q,this[B(621)][B(884)](Q),X[B(2019)]],Y[B(561)]?!Y[B(1564)]&&Y[B(561)][2]!==Q[2]&&(Y[B(1564)]=Q,Y.taps=0):(Y[B(561)]=Q,Z=!0,Y[B(1078)]=1+!!d);d&&(d=clearTimeout(d)),Z&&(Y[B(1078)]<2&&(y=Q[0],d=setTimeout(function(){d=null},g)),B0(this),Y[B(1159)]())}}function W(N,...D){const B=e;if(this[B(643)]){var A=G(this,D)[B(1325)](N),P=N[B(538)],Y=P[B(1028)],Z,J,X,Q;for(At(N),Z=0;Z<Y;++Z)J=P[Z],X=Je(J,this),A.touch0&&A[B(561)][2]===J[B(2019)]?A[B(561)][0]=X:A[B(1564)]&&A.touch1[2]===J.identifier&&(A[B(1564)][0]=X);if(J=A.that.__zoom,A.touch1){var R=A[B(561)][0],re=A[B(561)][1],ee=A[B(1564)][0],ae=A[B(1564)][1],ie=(ie=ee[0]-R[0])*ie+(ie=ee[1]-R[1])*ie,S=(S=ae[0]-re[0])*S+(S=ae[1]-re[1])*S;J=w(J,Math[B(444)](ie/S)),X=[(R[0]+ee[0])/2,(R[1]+ee[1])/2],Q=[(re[0]+ae[0])/2,(re[1]+ae[1])/2]}else if(A.touch0)X=A.touch0[0],Q=A[B(561)][1];else return;A[B(931)]("touch",x(z(J,X,Q),A[B(1671)],a))}}function V(N,...D){const B=e;if(this.__zooming){var A=G(this,D).event(N),P=N[B(538)],Y=P[B(1028)],Z,J;for(Nx(N),h&&clearTimeout(h),h=setTimeout(function(){h=null},g),Z=0;Z<Y;++Z)J=P[Z],A[B(561)]&&A[B(561)][2]===J[B(2019)]?delete A[B(561)]:A.touch1&&A[B(1564)][2]===J[B(2019)]&&delete A[B(1564)];if(A[B(1564)]&&!A[B(561)]&&(A.touch0=A[B(1564)],delete A[B(1564)]),A.touch0)A[B(561)][1]=this[B(621)].invert(A[B(561)][0]);else if(A.end(),A[B(1078)]===2&&(J=Je(J,this),Math.hypot(y[0]-J[0],y[1]-J[1])<p)){var X=qe(this).on("dblclick.zoom");X&&X.apply(this,arguments)}}}return M[e(632)]=function(N){const D=e;return arguments[D(1028)]?(o=typeof N===D(940)?N:D0(+N),M):o},M[e(1076)]=function(N){return arguments[e(1028)]?(t=typeof N=="function"?N:D0(!!N),M):t},M[e(1435)]=function(N){const D=e;return arguments[D(1028)]?(r=typeof N===D(940)?N:D0(!!N),M):r},M.extent=function(N){return arguments[e(1028)]?(n=typeof N=="function"?N:D0([[+N[0][0],+N[0][1]],[+N[1][0],+N[1][1]]]),M):n},M[e(572)]=function(N){return arguments[e(1028)]?(i[0]=+N[0],i[1]=+N[1],M):[i[0],i[1]]},M[e(1853)]=function(N){return arguments[e(1028)]?(a[0][0]=+N[0][0],a[1][0]=+N[1][0],a[0][1]=+N[0][1],a[1][1]=+N[1][1],M):[[a[0][0],a[0][1]],[a[1][0],a[1][1]]]},M[e(1538)]=function(N){return arguments[e(1028)]?(x=N,M):x},M[e(1844)]=function(N){return arguments[e(1028)]?(f=+N,M):f},M.interpolate=function(N){return arguments[e(1028)]?(s=N,M):s},M.on=function(){const N=e;var D=u.on[N(878)](u,arguments);return D===u?M:D},M[e(1635)]=function(N){const D=e;return arguments[D(1028)]?(v=(N=+N)*N,M):Math[D(444)](v)},M.tapDistance=function(N){return arguments[e(1028)]?(p=+N,M):p},M}const We={error001:()=>c(1437),error002:()=>c(1043),error003:e=>c(1086)+e+c(458),error004:()=>c(758),error005:()=>c(1736),error006:()=>c(2144),error007:e=>"The old edge with id="+e+c(1749),error009:e=>c(1993)+e+c(1811),error008:(e,{id:t,sourceHandle:n,targetHandle:x})=>c(1194)+e+' handle id: "'+(e==="source"?n:x)+c(1769)+t+".",error010:()=>"Handle: No node id found. Make sure to only use a Handle inside a custom Node.",error011:e=>'Edge type "'+e+c(458),error012:e=>c(544)+e+c(1600),error013:(e="react")=>c(1536)+e+c(868),error014:()=>c(954),error015:()=>c(1264)},It=[[Number.NEGATIVE_INFINITY,Number[c(2033)]],[Number[c(1213)],Number[c(1213)]]],_r=[c(723)," ",c(1517)],Qr={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":c(1193),"node.a11yDescription.ariaLiveMessage":({direction:e,x:t,y:n})=>"Moved selected node "+e+c(1755)+t+", y: "+n,"edge.a11yDescription.default":c(1833),"controls.ariaLabel":c(641),"controls.zoomIn.ariaLabel":c(857),"controls.zoomOut.ariaLabel":"Zoom Out","controls.fitView.ariaLabel":c(652),"controls.interactive.ariaLabel":c(974),"minimap.ariaLabel":"Mini Map","handle.ariaLabel":"Handle"};var tt;(function(e){const t=c;e[t(552)]=t(1937),e[t(1570)]=t(644)})(tt||(tt={}));var En;(function(e){const t=c;e.Free="free",e[t(1731)]="vertical",e[t(1170)]=t(956)})(En||(En={}));var Et;(function(e){const t=c;e.Partial=t(500),e.Full="full"})(Et||(Et={}));const Fr={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var mn;(function(e){const t=c;e.Bezier=t(1138),e.Straight="straight",e[t(2005)]=t(539),e[t(838)]="smoothstep",e[t(870)]=t(852)})(mn||(mn={}));var N0;(function(e){const t=c;e[t(874)]="arrow",e[t(639)]=t(1404)})(N0||(N0={}));var ue;(function(e){const t=c;e[t(1580)]=t(1947),e[t(998)]=t(1411),e.Right=t(1604),e[t(1381)]="bottom"})(ue||(ue={}));const $r={[ue[c(1580)]]:ue[c(1017)],[ue[c(1017)]]:ue[c(1580)],[ue[c(998)]]:ue[c(1381)],[ue.Bottom]:ue.Top};function ei(e){const t=c;return e===null?null:t(e?1981:2148)}const ni=e=>"id"in e&&"source"in e&&c(819)in e,lf=e=>"id"in e&&c(1400)in e&&!("source"in e)&&!("target"in e),Sx=e=>"id"in e&&c(2075)in e&&!("source"in e)&&!(c(819)in e),jt=(e,t=[0,0])=>{const n=c,{width:x,height:o}=un(e),r=e.origin??t,i=x*r[0],a=o*r[1];return{x:e[n(1400)].x-i,y:e[n(1400)].y-a}},df=(e,t={nodeOrigin:[0,0]})=>{const n=c;if(process.env.NODE_ENV===n(1191)&&!t[n(828)]&&console.warn(n(618)),e.length===0)return{x:0,y:0,width:0,height:0};const x=e[n(1846)]((o,r)=>{const i=n,a=typeof r===i(1841);let f=!t[i(828)]&&!a?r:void 0;t[i(828)]&&(f=a?t[i(828)][i(1446)](r):Sx(r)?r:t[i(828)][i(1446)](r.id));const s=f?P0(f,t[i(1383)]):{x:0,y:0,x2:0,y2:0};return S0(o,s)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return k0(x)},Ut=(e,t={})=>{const n=c;let x={x:1/0,y:1/0,x2:-1/0,y2:-1/0},o=!1;return e[n(1068)](r=>{const i=n;(t.filter===void 0||t[i(1076)](r))&&(x=S0(x,P0(r)),o=!0)}),o?k0(x):{x:0,y:0,width:0,height:0}},kx=(e,t,[n,x,o]=[0,0,1],r=!1,i=!1)=>{const a=c,f={...Ht(t,[n,x,o]),width:t[a(502)]/o,height:t[a(1201)]/o},s=[];for(const u of e[a(642)]()){const{measured:d,selectable:y=!0,hidden:h=!1}=u;if(i&&!y||h)continue;const g=d[a(502)]??u[a(502)]??u[a(1861)]??null,m=d.height??u[a(1201)]??u.initialHeight??null,v=Gt(f,ot(u)),p=(g??0)*(m??0),M=r&&v>0;(!u.internals.handleBounds||M||v>=p||u.dragging)&&s[a(2049)](u)}return s},uf=(e,t)=>{const n=c,x=new Set;return e[n(1068)](o=>{x[n(447)](o.id)}),t[n(1076)](o=>x[n(1432)](o[n(1513)])||x[n(1432)](o.target))};function ff(e,t){const n=c,x=new Map,o=t?.[n(1053)]?new Set(t[n(1053)].map(r=>r.id)):null;return e[n(1068)](r=>{const i=n;r[i(1815)][i(502)]&&r.measured[i(1201)]&&(t?.[i(1597)]||!r[i(1231)])&&(!o||o[i(1432)](r.id))&&x.set(r.id,r)}),x}async function gf({nodes:e,width:t,height:n,panZoom:x,minZoom:o,maxZoom:r},i){const a=c;if(e[a(2046)]===0)return Promise[a(1734)](!0);const f=ff(e,i),s=Ut(f),u=Yx(s,t,n,i?.[a(1649)]??o,i?.[a(512)]??r,i?.[a(1754)]??.1);return await x[a(1449)](u,{duration:i?.[a(1844)],ease:i?.ease,interpolate:i?.[a(948)]}),Promise.resolve(!0)}function ti({nodeId:e,nextPosition:t,nodeLookup:n,nodeOrigin:x=[0,0],nodeExtent:o,onError:r}){const i=c,a=n[i(1446)](e),f=a[i(2060)]?n[i(1446)](a[i(2060)]):void 0,{x:s,y:u}=f?f[i(2075)].positionAbsolute:{x:0,y:0},d=a[i(1252)]??x;let y=a[i(1671)]||o;if(a[i(1671)]===i(707)&&!a[i(823)])if(!f)r?.(i(1474),We[i(523)]());else{const g=f.measured[i(502)],m=f[i(1815)][i(1201)];g&&m&&(y=[[s,u],[s+g,u+m]])}else f&&it(a.extent)&&(y=[[a[i(1671)][0][0]+s,a[i(1671)][0][1]+u],[a[i(1671)][1][0]+s,a[i(1671)][1][1]+u]]);const h=it(y)?jn(t,y,a.measured):t;return(a[i(1815)][i(502)]===void 0||a[i(1815)][i(1201)]===void 0)&&r?.(i(1354),We[i(1553)]()),{position:{x:h.x-s+(a.measured.width??0)*d[0],y:h.y-u+(a[i(1815)].height??0)*d[1]},positionAbsolute:h}}async function hf({nodesToRemove:e=[],edgesToRemove:t=[],nodes:n,edges:x,onBeforeDelete:o}){const r=c,i=new Set(e[r(1001)](h=>h.id)),a=[];for(const h of n){if(h[r(1399)]===!1)continue;const g=i.has(h.id),m=!g&&h[r(2060)]&&a[r(2159)](v=>v.id===h[r(2060)]);(g||m)&&a[r(2049)](h)}const f=new Set(t[r(1001)](h=>h.id)),s=x[r(1076)](h=>h[r(1399)]!==!1),u=uf(a,s),d=u;for(const h of s)f[r(1432)](h.id)&&!d[r(2159)](m=>m.id===h.id)&&d[r(2049)](h);if(!o)return{edges:d,nodes:a};const y=await o({nodes:a,edges:d});return typeof y===r(894)?y?{edges:d,nodes:a}:{edges:[],nodes:[]}:y}const xt=(e,t=0,n=1)=>Math[c(2007)](Math.max(e,t),n),jn=(e={x:0,y:0},t,n)=>({x:xt(e.x,t[0][0],t[1][0]-(n?.width??0)),y:xt(e.y,t[0][1],t[1][1]-(n?.height??0))});function xi(e,t,n){const x=c,{width:o,height:r}=un(n),{x:i,y:a}=n.internals[x(2139)];return jn(e,[[i,a],[i+o,a+r]],t)}const oi=(e,t,n)=>{const x=c;return e<t?xt(Math.abs(e-t),1,t)/t:e>n?-xt(Math[x(781)](e-n),1,t)/t:0},ri=(e,t,n=15,x=40)=>{const o=c,r=oi(e.x,x,t[o(502)]-x)*n,i=oi(e.y,x,t[o(1201)]-x)*n;return[r,i]},S0=(e,t)=>({x:Math[c(2007)](e.x,t.x),y:Math[c(2007)](e.y,t.y),x2:Math[c(1419)](e.x2,t.x2),y2:Math[c(1419)](e.y2,t.y2)}),Px=({x:e,y:t,width:n,height:x})=>({x:e,y:t,x2:e+n,y2:t+x}),k0=({x:e,y:t,x2:n,y2:x})=>({x:e,y:t,width:n-e,height:x-t}),ot=(e,t=[0,0])=>{const n=c,{x,y:o}=Sx(e)?e[n(2075)][n(2139)]:jt(e,t);return{x,y:o,width:e[n(1815)]?.[n(502)]??e[n(502)]??e[n(1861)]??0,height:e.measured?.height??e.height??e[n(831)]??0}},P0=(e,t=[0,0])=>{const n=c,{x,y:o}=Sx(e)?e[n(2075)][n(2139)]:jt(e,t);return{x,y:o,x2:x+(e[n(1815)]?.[n(502)]??e[n(502)]??e[n(1861)]??0),y2:o+(e[n(1815)]?.[n(1201)]??e[n(1201)]??e[n(831)]??0)}},ii=(e,t)=>k0(S0(Px(e),Px(t))),Gt=(e,t)=>{const n=c,x=Math.max(0,Math.min(e.x+e[n(502)],t.x+t.width)-Math[n(1419)](e.x,t.x)),o=Math[n(1419)](0,Math[n(2007)](e.y+e[n(1201)],t.y+t[n(1201)])-Math[n(1419)](e.y,t.y));return Math.ceil(x*o)},ai=e=>Fe(e[c(502)])&&Fe(e[c(1201)])&&Fe(e.x)&&Fe(e.y),Fe=e=>!isNaN(e)&&isFinite(e),ci=(e,t)=>{const n=c;process.env.NODE_ENV==="development"&&console[n(777)](n(1849)+t+n(1550)+e)},Ot=(e,t=[1,1])=>{const n=c;return{x:t[0]*Math[n(681)](e.x/t[0]),y:t[1]*Math[n(681)](e.y/t[1])}},Ht=({x:e,y:t},[n,x,o],r=!1,i=[1,1])=>{const a={x:(e-n)/o,y:(t-x)/o};return r?Ot(a,i):a},Y0=({x:e,y:t},[n,x,o])=>({x:e*o+n,y:t*o+x});function rt(e,t){const n=c;if(typeof e===n(1539))return Math[n(2130)]((t-t/(1+e))*.5);if(typeof e===n(1841)&&e[n(761)]("px")){const x=parseFloat(e);if(!Number[n(1464)](x))return Math.floor(x)}if(typeof e=="string"&&e.endsWith("%")){const x=parseFloat(e);if(!Number[n(1464)](x))return Math[n(2130)](t*x*.01)}return console[n(1738)](n(1688)+e+'" is invalid. Please provide a number or a string with a valid unit (px or %).'),0}function yf(e,t,n){const x=c;if(typeof e===x(1841)||typeof e=="number"){const o=rt(e,n),r=rt(e,t);return{top:o,right:r,bottom:o,left:r,x:r*2,y:o*2}}if(typeof e=="object"){const o=rt(e[x(1411)]??e.y??0,n),r=rt(e.bottom??e.y??0,n),i=rt(e[x(1947)]??e.x??0,t),a=rt(e.right??e.x??0,t);return{top:o,right:a,bottom:r,left:i,x:i+a,y:o+r}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function mf(e,t,n,x,o,r){const i=c,{x:a,y:f}=Y0(e,[t,n,x]),{x:s,y:u}=Y0({x:e.x+e[i(502)],y:e.y+e[i(1201)]},[t,n,x]),d=o-s,y=r-u;return{left:Math.floor(a),top:Math[i(2130)](f),right:Math[i(2130)](d),bottom:Math[i(2130)](y)}}const Yx=(e,t,n,x,o,r)=>{const i=c,a=yf(r,t,n),f=(t-a.x)/e[i(502)],s=(n-a.y)/e[i(1201)],u=Math[i(2007)](f,s),d=xt(u,x,o),y=e.x+e[i(502)]/2,h=e.y+e.height/2,g=t/2-y*d,m=n/2-h*d,v=mf(e,g,m,d,t,n),p={left:Math[i(2007)](v[i(1947)]-a[i(1947)],0),top:Math[i(2007)](v[i(1411)]-a[i(1411)],0),right:Math.min(v[i(1604)]-a[i(1604)],0),bottom:Math[i(2007)](v[i(1695)]-a[i(1695)],0)};return{x:g-p[i(1947)]+p.right,y:m-p[i(1411)]+p[i(1695)],zoom:d}},Tt=()=>typeof navigator!==c(1269)&&navigator?.[c(1041)]?.[c(1379)](c(942))>=0;function it(e){return e!=null&&e!=="parent"}function un(e){const t=c;return{width:e[t(1815)]?.[t(502)]??e[t(502)]??e[t(1861)]??0,height:e[t(1815)]?.[t(1201)]??e.height??e[t(831)]??0}}function si(e){const t=c;return(e[t(1815)]?.[t(502)]??e[t(502)]??e[t(1861)])!==void 0&&(e[t(1815)]?.height??e[t(1201)]??e[t(831)])!==void 0}function li(e,t={width:0,height:0},n,x,o){const r=c,i={...e},a=x[r(1446)](n);if(a){const f=a[r(1252)]||o;i.x+=a[r(2075)][r(2139)].x-(t[r(502)]??0)*f[0],i.y+=a.internals[r(2139)].y-(t[r(1201)]??0)*f[1]}return i}function di(e,t){const n=c;if(e[n(2046)]!==t[n(2046)])return!1;for(const x of e)if(!t.has(x))return!1;return!0}function wf(){let e,t;return{promise:new Promise((x,o)=>{e=x,t=o}),resolve:e,reject:t}}function vf(e){return{...Qr,...e||{}}}function Vt(e,{snapGrid:t=[0,0],snapToGrid:n=!1,transform:x,containerBounds:o}){const r=c,{x:i,y:a}=$e(e),f=Ht({x:i-(o?.[r(1947)]??0),y:a-(o?.[r(1411)]??0)},x),{x:s,y:u}=n?Ot(f,t):f;return{xSnapped:s,ySnapped:u,...f}}const Ax=e=>({width:e[c(807)],height:e.offsetHeight}),ui=e=>e?.getRootNode?.()||window?.[c(743)],pf=[c(1339),"SELECT",c(806)];function fi(e){const t=c,n=e[t(626)]?.()?.[0]||e[t(819)];return n?.[t(1733)]!==1?!1:pf.includes(n.nodeName)||n[t(1566)]("contenteditable")||!!n[t(1132)](t(1913))}const gi=e=>c(2156)in e,$e=(e,t)=>{const n=c,x=gi(e),o=x?e.clientX:e.touches?.[0][n(2156)],r=x?e[n(1484)]:e[n(497)]?.[0][n(1484)];return{x:o-(t?.[n(1947)]??0),y:r-(t?.[n(1411)]??0)}},hi=(e,t,n,x,o)=>{const r=c,i=t[r(1483)]("."+e);return!i||!i.length?null:Array[r(1486)](i)[r(1001)](a=>{const f=r,s=a.getBoundingClientRect();return{id:a.getAttribute(f(1637)),type:e,nodeId:o,position:a.getAttribute(f(747)),x:(s[f(1947)]-n[f(1947)])/x,y:(s[f(1411)]-n.top)/x,...Ax(a)}})};function yi({sourceX:e,sourceY:t,targetX:n,targetY:x,sourceControlX:o,sourceControlY:r,targetControlX:i,targetControlY:a}){const f=c,s=e*.125+o*.375+i*.375+n*.125,u=t*.125+r*.375+a*.375+x*.125,d=Math[f(781)](s-e),y=Math[f(781)](u-t);return[s,u,d,y]}function A0(e,t){const n=c;return e>=0?.5*e:t*25*Math[n(444)](-e)}function mi({pos:e,x1:t,y1:n,x2:x,y2:o,c:r}){const i=c;switch(e){case ue[i(1580)]:return[t-A0(t-x,r),n];case ue[i(1017)]:return[t+A0(x-t,r),n];case ue[i(998)]:return[t,n-A0(n-o,r)];case ue.Bottom:return[t,n+A0(o-n,r)]}}function wi({sourceX:e,sourceY:t,sourcePosition:n=ue[c(1381)],targetX:x,targetY:o,targetPosition:r=ue[c(998)],curvature:i=.25}){const[a,f]=mi({pos:n,x1:e,y1:t,x2:x,y2:o,c:i}),[s,u]=mi({pos:r,x1:x,y1:o,x2:e,y2:t,c:i}),[d,y,h,g]=yi({sourceX:e,sourceY:t,targetX:x,targetY:o,sourceControlX:a,sourceControlY:f,targetControlX:s,targetControlY:u});return["M"+e+","+t+" C"+a+","+f+" "+s+","+u+" "+x+","+o,d,y,h,g]}function vi({sourceX:e,sourceY:t,targetX:n,targetY:x}){const o=c,r=Math[o(781)](n-e)/2,i=n<e?n+r:n-r,a=Math[o(781)](x-t)/2,f=x<t?x+a:x-a;return[i,f,r,a]}function bf({sourceNode:e,targetNode:t,selected:n=!1,zIndex:x=0,elevateOnSelect:o=!1,zIndexMode:r="basic"}){const i=c;if(r==="manual")return x;const a=o&&n?x+1e3:x,f=Math[i(1419)](e[i(2060)]||o&&e[i(1518)]?e[i(2075)].z:0,t.parentId||o&&t.selected?t.internals.z:0);return a+f}function zf({sourceNode:e,targetNode:t,width:n,height:x,transform:o}){const r=S0(P0(e),P0(t));r.x===r.x2&&(r.x2+=1),r.y===r.y2&&(r.y2+=1);const i={x:-o[0]/o[2],y:-o[1]/o[2],width:n/o[2],height:x/o[2]};return Gt(i,k0(r))>0}const Cf=({source:e,sourceHandle:t,target:n,targetHandle:x})=>"xy-edge__"+e+(t||"")+"-"+n+(x||""),Mf=(e,t)=>{const n=c;return t[n(1448)](x=>x.source===e[n(1513)]&&x[n(819)]===e.target&&(x.sourceHandle===e[n(1131)]||!x.sourceHandle&&!e[n(1131)])&&(x[n(465)]===e.targetHandle||!x[n(465)]&&!e[n(465)]))},pi=(e,t,n={})=>{const x=c;if(!e[x(1513)]||!e[x(819)])return ci(x(2015),We.error006()),t;const o=n[x(1528)]||Cf;let r;return ni(e)?r={...e}:r={...e,id:o(e)},Mf(r,t)?t:(r[x(1131)]===null&&delete r[x(1131)],r[x(465)]===null&&delete r[x(465)],t[x(520)](r))};function bi({sourceX:e,sourceY:t,targetX:n,targetY:x}){const[o,r,i,a]=vi({sourceX:e,sourceY:t,targetX:n,targetY:x});return["M "+e+","+t+"L "+n+","+x,o,r,i,a]}const zi={[ue[c(1580)]]:{x:-1,y:0},[ue[c(1017)]]:{x:1,y:0},[ue[c(998)]]:{x:0,y:-1},[ue.Bottom]:{x:0,y:1}},Bf=({source:e,sourcePosition:t=ue[c(1381)],target:n})=>{const x=c;return t===ue[x(1580)]||t===ue[x(1017)]?e.x<n.x?{x:1,y:0}:{x:-1,y:0}:e.y<n.y?{x:0,y:1}:{x:0,y:-1}},Ci=(e,t)=>Math[c(444)](Math[c(1822)](t.x-e.x,2)+Math[c(1822)](t.y-e.y,2));function Df({source:e,sourcePosition:t=ue.Bottom,target:n,targetPosition:x=ue[c(998)],center:o,offset:r,stepPosition:i}){const a=c,f=zi[t],s=zi[x],u={x:e.x+f.x*r,y:e.y+f.y*r},d={x:n.x+s.x*r,y:n.y+s.y*r},y=Bf({source:u,sourcePosition:t,target:d}),h=y.x!==0?"x":"y",g=y[h];let m=[],v,p;const M={x:0,y:0},w={x:0,y:0},[,,z,b]=vi({sourceX:e.x,sourceY:e.y,targetX:n.x,targetY:n.y});if(f[h]*s[h]===-1){h==="x"?(v=o.x??u.x+(d.x-u.x)*i,p=o.y??(u.y+d.y)/2):(v=o.x??(u.x+d.x)/2,p=o.y??u.y+(d.y-u.y)*i);const I=[{x:v,y:u.y},{x:v,y:d.y}],q=[{x:u.x,y:p},{x:d.x,y:p}];f[h]===g?m=h==="x"?I:q:m=h==="x"?q:I}else{const I=[{x:u.x,y:d.y}],q=[{x:d.x,y:u.y}];if(h==="x"?m=f.x===g?q:I:m=f.y===g?I:q,t===x){const N=Math[a(781)](e[h]-n[h]);if(N<=r){const D=Math[a(2007)](r-1,r-N);f[h]===g?M[h]=(u[h]>e[h]?-1:1)*D:w[h]=(d[h]>n[h]?-1:1)*D}}if(t!==x){const N=h==="x"?"y":"x",D=f[h]===s[N],B=u[N]>d[N],A=u[N]<d[N];(f[h]===1&&(!D&&B||D&&A)||f[h]!==1&&(!D&&A||D&&B))&&(m=h==="x"?I:q)}const F={x:u.x+M.x,y:u.y+M.y},K={x:d.x+w.x,y:d.y+w.y},W=Math[a(1419)](Math.abs(F.x-m[0].x),Math[a(781)](K.x-m[0].x)),V=Math[a(1419)](Math.abs(F.y-m[0].y),Math[a(781)](K.y-m[0].y));W>=V?(v=(F.x+K.x)/2,p=m[0].y):(v=m[0].x,p=(F.y+K.y)/2)}const k={x:u.x+M.x,y:u.y+M.y},G={x:d.x+w.x,y:d.y+w.y};return[[e,...k.x!==m[0].x||k.y!==m[0].y?[k]:[],...m,...G.x!==m[m[a(1028)]-1].x||G.y!==m[m.length-1].y?[G]:[],n],v,p,z,b]}function Lf(e,t,n,x){const o=c,r=Math[o(2007)](Ci(e,t)/2,Ci(t,n)/2,x),{x:i,y:a}=t;if(e.x===i&&i===n.x||e.y===a&&a===n.y)return"L"+i+" "+a;if(e.y===a){const u=e.x<n.x?-1:1,d=e.y<n.y?1:-1;return"L "+(i+r*u)+","+a+"Q "+i+","+a+" "+i+","+(a+r*d)}const f=e.x<n.x?1:-1,s=e.y<n.y?-1:1;return"L "+i+","+(a+r*s)+"Q "+i+","+a+" "+(i+r*f)+","+a}function Ix({sourceX:e,sourceY:t,sourcePosition:n=ue[c(1381)],targetX:x,targetY:o,targetPosition:r=ue[c(998)],borderRadius:i=5,centerX:a,centerY:f,offset:s=20,stepPosition:u=.5}){const d=c,[y,h,g,m,v]=Df({source:{x:e,y:t},sourcePosition:n,target:{x,y:o},targetPosition:r,center:{x:a,y:f},offset:s,stepPosition:u});let p="M"+y[0].x+" "+y[0].y;for(let M=1;M<y[d(1028)]-1;M++)p+=Lf(y[M-1],y[M],y[M+1],i);return p+="L"+y[y[d(1028)]-1].x+" "+y[y[d(1028)]-1].y,[p,h,g,m,v]}function Mi(e){const t=c;return e&&!!(e[t(2075)][t(2111)]||e[t(1783)]?.[t(1028)])&&!!(e[t(1815)][t(502)]||e[t(502)]||e[t(1861)])}function Nf(e){const t=c,{sourceNode:n,targetNode:x}=e;if(!Mi(n)||!Mi(x))return null;const o=n[t(2075)][t(2111)]||Bi(n[t(1783)]),r=x.internals[t(2111)]||Bi(x[t(1783)]),i=Di(o?.source??[],e.sourceHandle),a=Di(e.connectionMode===tt.Strict?r?.[t(819)]??[]:(r?.[t(819)]??[]).concat(r?.[t(1513)]??[]),e[t(465)]);if(!i||!a)return e[t(1133)]?.(t(1813),We[t(1344)](t(i?819:1513),{id:e.id,sourceHandle:e[t(1131)],targetHandle:e[t(465)]})),null;const f=i?.[t(1400)]||ue[t(1381)],s=a?.[t(1400)]||ue.Top,u=Un(n,i,f),d=Un(x,a,s);return{sourceX:u.x,sourceY:u.y,targetX:d.x,targetY:d.y,sourcePosition:f,targetPosition:s}}function Bi(e){const t=c;if(!e)return null;const n=[],x=[];for(const o of e)o[t(502)]=o[t(502)]??1,o[t(1201)]=o[t(1201)]??1,o[t(638)]==="source"?n[t(2049)](o):o[t(638)]==="target"&&x[t(2049)](o);return{source:n,target:x}}function Un(e,t,n=ue[c(1580)],x=!1){const o=c,r=(t?.x??0)+e[o(2075)][o(2139)].x,i=(t?.y??0)+e[o(2075)][o(2139)].y,{width:a,height:f}=t??un(e);if(x)return{x:r+a/2,y:i+f/2};switch(t?.[o(1400)]??n){case ue[o(998)]:return{x:r+a/2,y:i};case ue.Right:return{x:r+a,y:i+f/2};case ue[o(1381)]:return{x:r+a/2,y:i+f};case ue.Left:return{x:r,y:i+f/2}}}function Di(e,t){return e&&(t?e.find(n=>n.id===t):e[0])||null}function Ex(e,t){const n=c;return e?typeof e=="string"?e:""+(t?t+"__":"")+Object[n(1648)](e)[n(1625)]()[n(1001)](o=>o+"="+e[o]).join("&"):""}function Sf(e,{id:t,defaultColor:n,defaultMarkerStart:x,defaultMarkerEnd:o}){const r=c,i=new Set;return e.reduce((a,f)=>{const s=_0x447e;return[f[s(836)]||x,f[s(1300)]||o].forEach(u=>{const d=s;if(u&&typeof u=="object"){const y=Ex(u,t);!i[d(1432)](y)&&(a[d(2049)]({id:y,color:u[d(765)]||n,...u}),i.add(y))}}),a},[])[r(1625)]((a,f)=>a.id[r(1492)](f.id))}const Li=1e3,kf=10,jx={nodeOrigin:[0,0],nodeExtent:It,elevateNodesOnSelect:!0,zIndexMode:c(867),defaults:{}},Pf={...jx,checkEquality:!0};function Ux(e,t){const n={...e};for(const x in t)t[x]!==void 0&&(n[x]=t[x]);return n}function Yf(e,t,n){const x=c,o=Ux(jx,n);for(const r of e[x(642)]())if(r[x(2060)])Hx(r,e,t,o);else{const i=jt(r,o[x(1383)]),a=it(r[x(1671)])?r[x(1671)]:o[x(1121)],f=jn(i,a,un(r));r[x(2075)][x(2139)]=f}}function Af(e,t){const n=c;if(!e.handles)return e[n(1815)]?t?.[n(2075)][n(2111)]:void 0;const x=[],o=[];for(const r of e.handles){const i={id:r.id,width:r[n(502)]??1,height:r[n(1201)]??1,nodeId:e.id,x:r.x,y:r.y,position:r[n(1400)],type:r.type};r.type===n(1513)?x.push(i):r[n(638)]===n(819)&&o.push(i)}return{source:x,target:o}}function Gx(e){return e==="manual"}function Ox(e,t,n,x={}){const o=c,r=Ux(Pf,x),i={i:0},a=new Map(t),f=r?.[o(1218)]&&!Gx(r[o(2002)])?Li:0;let s=e[o(1028)]>0,u=!1;t[o(1370)](),n[o(1370)]();for(const d of e){let y=a.get(d.id);if(r[o(842)]&&d===y?.[o(2075)][o(1572)])t[o(1007)](d.id,y);else{const h=jt(d,r[o(1383)]),g=it(d[o(1671)])?d[o(1671)]:r[o(1121)],m=jn(h,g,un(d));y={...r[o(1083)],...d,measured:{width:d[o(1815)]?.[o(502)],height:d[o(1815)]?.[o(1201)]},internals:{positionAbsolute:m,handleBounds:Af(d,y),z:Ni(d,f,r[o(2002)]),userNode:d}},t.set(d.id,y)}(y[o(1815)]===void 0||y[o(1815)][o(502)]===void 0||y[o(1815)][o(1201)]===void 0)&&!y[o(1231)]&&(s=!1),d[o(2060)]&&Hx(y,t,n,x,i),u||=d[o(1518)]??!1}return{nodesInitialized:s,hasSelectedNodes:u}}function If(e,t){const n=c;if(!e[n(2060)])return;const x=t.get(e[n(2060)]);x?x.set(e.id,e):t.set(e[n(2060)],new Map([[e.id,e]]))}function Hx(e,t,n,x,o){const r=c,{elevateNodesOnSelect:i,nodeOrigin:a,nodeExtent:f,zIndexMode:s}=Ux(jx,x),u=e.parentId,d=t[r(1446)](u);if(!d){console[r(777)](r(963)+u+r(2158));return}If(e,n),o&&!d.parentId&&d[r(2075)].rootParentIndex===void 0&&s===r(1647)&&(d[r(2075)].rootParentIndex=++o.i,d[r(2075)].z=d[r(2075)].z+o.i*kf),o&&d[r(2075)][r(613)]!==void 0&&(o.i=d[r(2075)][r(613)]);const y=i&&!Gx(s)?Li:0,{x:h,y:g,z:m}=Ef(e,d,a,f,y,s),{positionAbsolute:v}=e[r(2075)],p=h!==v.x||g!==v.y;(p||m!==e[r(2075)].z)&&t.set(e.id,{...e,internals:{...e.internals,positionAbsolute:p?{x:h,y:g}:v,z:m}})}function Ni(e,t,n){const x=c,o=Fe(e[x(2147)])?e[x(2147)]:0;return Gx(n)?o:o+(e.selected?t:0)}function Ef(e,t,n,x,o,r){const i=c,{x:a,y:f}=t[i(2075)][i(2139)],s=un(e),u=jt(e,n),d=it(e[i(1671)])?jn(u,e.extent,s):u;let y=jn({x:a+d.x,y:f+d.y},x,s);e[i(1671)]===i(707)&&(y=xi(y,s,t));const h=Ni(e,o,r),g=t[i(2075)].z??0;return{x:y.x,y:y.y,z:g>=h?g+1:h}}function Tx(e,t,n,x=[0,0]){const o=c,r=[],i=new Map;for(const a of e){const f=t.get(a[o(2060)]);if(!f)continue;const s=i[o(1446)](a[o(2060)])?.expandedRect??ot(f),u=ii(s,a[o(1110)]);i[o(1007)](a[o(2060)],{expandedRect:u,parent:f})}return i[o(2046)]>0&&i[o(1068)](({expandedRect:a,parent:f},s)=>{const u=o,d=f[u(2075)][u(2139)],y=un(f),h=f.origin??x,g=a.x<d.x?Math.round(Math.abs(d.x-a.x)):0,m=a.y<d.y?Math[u(681)](Math[u(781)](d.y-a.y)):0,v=Math[u(1419)](y[u(502)],Math[u(681)](a.width)),p=Math[u(1419)](y.height,Math.round(a[u(1201)])),M=(v-y[u(502)])*h[0],w=(p-y[u(1201)])*h[1];(g>0||m>0||M||w)&&(r[u(2049)]({id:s,type:u(1400),position:{x:f.position.x-g+M,y:f.position.y-m+w}}),n.get(s)?.forEach(z=>{const b=u;!e[b(1448)](k=>k.id===z.id)&&r[b(2049)]({id:z.id,type:b(1400),position:{x:z[b(1400)].x+g,y:z[b(1400)].y+m}})})),(y[u(502)]<a[u(502)]||y[u(1201)]<a[u(1201)]||g||m)&&r.push({id:s,type:u(524),setAttributes:!0,dimensions:{width:v+(g?h[0]*g-M:0),height:p+(m?h[1]*m-w:0)}})}),r}function jf(e,t,n,x,o,r,i){const a=c,f=x?.[a(1519)](a(1327));let s=!1;if(!f)return{changes:[],updatedInternals:s};const u=[],d=window[a(1107)](f),{m22:y}=new window[a(1143)](d[a(688)]),h=[];for(const g of e[a(642)]()){const m=t.get(g.id);if(!m)continue;if(m[a(1231)]){t[a(1007)](m.id,{...m,internals:{...m[a(2075)],handleBounds:void 0}}),s=!0;continue}const v=Ax(g[a(1858)]),p=m[a(1815)].width!==v[a(502)]||m[a(1815)][a(1201)]!==v[a(1201)];if(!!(v[a(502)]&&v[a(1201)]&&(p||!m[a(2075)][a(2111)]||g[a(1273)]))){const w=g[a(1858)].getBoundingClientRect(),z=it(m[a(1671)])?m[a(1671)]:r;let{positionAbsolute:b}=m[a(2075)];m[a(2060)]&&m[a(1671)]===a(707)?b=xi(b,v,t[a(1446)](m[a(2060)])):z&&(b=jn(b,z,v));const k={...m,measured:v,internals:{...m.internals,positionAbsolute:b,handleBounds:{source:hi(a(1513),g[a(1858)],w,y,m.id),target:hi(a(819),g[a(1858)],w,y,m.id)}}};t[a(1007)](m.id,k),m[a(2060)]&&Hx(k,t,n,{nodeOrigin:o,zIndexMode:i}),s=!0,p&&(u[a(2049)]({id:m.id,type:a(524),dimensions:v}),m.expandParent&&m[a(2060)]&&h.push({id:m.id,parentId:m[a(2060)],rect:ot(k,o)}))}}if(h[a(1028)]>0){const g=Tx(h,t,n,o);u[a(2049)](...g)}return{changes:u,updatedInternals:s}}async function Uf({delta:e,panZoom:t,transform:n,translateExtent:x,width:o,height:r}){const i=c;if(!t||!e.x&&!e.y)return Promise.resolve(!1);const a=await t.setViewportConstrained({x:n[0]+e.x,y:n[1]+e.y,zoom:n[2]},[[0,0],[o,r]],x),f=!!a&&(a.x!==n[0]||a.y!==n[1]||a.k!==n[2]);return Promise[i(1734)](f)}function Si(e,t,n,x,o,r){const i=c;let a=o;const f=x.get(a)||new Map;x[i(1007)](a,f[i(1007)](n,t)),a=o+"-"+e;const s=x[i(1446)](a)||new Map;if(x.set(a,s[i(1007)](n,t)),r){a=o+"-"+e+"-"+r;const u=x[i(1446)](a)||new Map;x[i(1007)](a,u[i(1007)](n,t))}}function ki(e,t,n){const x=c;e[x(1370)](),t[x(1370)]();for(const o of n){const{source:r,target:i,sourceHandle:a=null,targetHandle:f=null}=o,s={edgeId:o.id,source:r,target:i,sourceHandle:a,targetHandle:f},u=r+"-"+a+"--"+i+"-"+f,d=i+"-"+f+"--"+r+"-"+a;Si(x(1513),s,d,e,r,a),Si(x(819),s,u,e,i,f),t[x(1007)](o.id,o)}}function Pi(e,t){const n=c;if(!e[n(2060)])return!1;const x=t[n(1446)](e.parentId);return x?x[n(1518)]?!0:Pi(x,t):!1}function Yi(e,t,n){const x=c;let o=e;do{if(o?.[x(1409)]?.(t))return!0;if(o===n)return!1;o=o?.[x(1418)]}while(o);return!1}function Gf(e,t,n,x){const o=c,r=new Map;for(const[i,a]of e)if((a.selected||a.id===x)&&(!a[o(2060)]||!Pi(a,e))&&(a.draggable||t&&typeof a[o(460)]>"u")){const f=e.get(i);f&&r[o(1007)](i,{id:i,position:f.position||{x:0,y:0},distance:{x:n.x-f[o(2075)][o(2139)].x,y:n.y-f.internals[o(2139)].y},extent:f[o(1671)],parentId:f[o(2060)],origin:f[o(1252)],expandParent:f.expandParent,internals:{positionAbsolute:f.internals[o(2139)]||{x:0,y:0}},measured:{width:f.measured.width??0,height:f[o(1815)][o(1201)]??0}})}return r}function Vx({nodeId:e,dragItems:t,nodeLookup:n,dragging:x=!0}){const o=c,r=[];for(const[a,f]of t){const s=n[o(1446)](a)?.[o(2075)][o(1572)];s&&r[o(2049)]({...s,position:f[o(1400)],dragging:x})}if(!e)return[r[0],r];const i=n[o(1446)](e)?.[o(2075)][o(1572)];return[i?{...i,position:t[o(1446)](e)?.position||i[o(1400)],dragging:x}:r[0],r]}function Of({dragItems:e,snapGrid:t,x:n,y:x}){const o=c,r=e[o(642)]().next()[o(1429)];if(!r)return null;const i={x:n-r[o(1603)].x,y:x-r.distance.y},a=Ot(i,t);return{x:a.x-i.x,y:a.y-i.y}}function Hf({onNodeMouseDown:e,getStoreItems:t,onDragStart:n,onDrag:x,onDragStop:o}){let r={x:null,y:null},i=0,a=new Map,f=!1,s={x:0,y:0},u=null,d=!1,y=null,h=!1,g=!1,m=null;function v({noDragClassName:M,handleSelector:w,domNode:z,isSelectable:b,nodeId:k,nodeClickDistance:G=0}){const E=_0x447e;y=qe(z);function I({x:W,y:V}){const N=_0x447e,{nodeLookup:D,nodeExtent:B,snapGrid:A,snapToGrid:P,nodeOrigin:Y,onNodeDrag:Z,onSelectionDrag:J,onError:X,updateNodePositions:Q}=t();r={x:W,y:V};let R=!1;const re=a[N(2046)]>1,ee=re&&B?Px(Ut(a)):null,ae=re&&P?Of({dragItems:a,snapGrid:A,x:W,y:V}):null;for(const[ie,S]of a){if(!D[N(1432)](ie))continue;let j={x:W-S.distance.x,y:V-S.distance.y};P&&(j=ae?{x:Math[N(681)](j.x+ae.x),y:Math.round(j.y+ae.y)}:Ot(j,A));let _=null;if(re&&B&&!S[N(1671)]&&ee){const{positionAbsolute:ne}=S[N(2075)],de=ne.x-ee.x+B[0][0],ye=ne.x+S[N(1815)][N(502)]-ee.x2+B[1][0],ce=ne.y-ee.y+B[0][1],ge=ne.y+S[N(1815)][N(1201)]-ee.y2+B[1][1];_=[[de,ce],[ye,ge]]}const{position:H,positionAbsolute:O}=ti({nodeId:ie,nextPosition:j,nodeLookup:D,nodeExtent:_||B,nodeOrigin:Y,onError:X});R=R||S[N(1400)].x!==H.x||S[N(1400)].y!==H.y,S[N(1400)]=H,S[N(2075)][N(2139)]=O}if(g=g||R,!!R&&(Q(a,!0),m&&(x||Z||!k&&J))){const[ie,S]=Vx({nodeId:k,dragItems:a,nodeLookup:D});x?.(m,a,ie,S),Z?.(m,ie,S),!k&&J?.(m,S)}}async function q(){if(!u)return;const{transform:W,panBy:V,autoPanSpeed:N,autoPanOnNodeDrag:D}=t();if(!D){f=!1,cancelAnimationFrame(i);return}const[B,A]=ri(s,u,N);(B!==0||A!==0)&&(r.x=(r.x??0)-B/W[2],r.y=(r.y??0)-A/W[2],await V({x:B,y:A})&&I(r)),i=requestAnimationFrame(q)}function F(W){const V=_0x447e,{nodeLookup:N,multiSelectionActive:D,nodesDraggable:B,transform:A,snapGrid:P,snapToGrid:Y,selectNodesOnDrag:Z,onNodeDragStart:J,onSelectionDragStart:X,unselectNodesAndEdges:Q}=t();d=!0,(!Z||!b)&&!D&&k&&!N[V(1446)](k)?.selected&&Q(),b&&Z&&k&&e?.(k);const R=Vt(W.sourceEvent,{transform:A,snapGrid:P,snapToGrid:Y,containerBounds:u});if(r=R,a=Gf(N,B,R,k),a[V(2046)]>0&&(n||J||!k&&X)){const[re,ee]=Vx({nodeId:k,dragItems:a,nodeLookup:N});n?.(W[V(1860)],a,re,ee),J?.(W[V(1860)],re,ee),!k&&X?.(W[V(1860)],ee)}}const K=vr()[E(1635)](G).on(E(1159),W=>{const V=E,{domNode:N,nodeDragThreshold:D,transform:B,snapGrid:A,snapToGrid:P}=t();u=N?.[V(1761)]()||null,h=!1,g=!1,m=W[V(1860)],D===0&&F(W),r=Vt(W.sourceEvent,{transform:B,snapGrid:A,snapToGrid:P,containerBounds:u}),s=$e(W[V(1860)],u)}).on(E(449),W=>{const V=E,{autoPanOnNodeDrag:N,transform:D,snapGrid:B,snapToGrid:A,nodeDragThreshold:P,nodeLookup:Y}=t(),Z=Vt(W[V(1860)],{transform:D,snapGrid:B,snapToGrid:A,containerBounds:u});if(m=W.sourceEvent,(W[V(1860)][V(638)]===V(2112)&&W[V(1860)][V(497)][V(1028)]>1||k&&!Y.has(k))&&(h=!0),!h){if(!f&&N&&d&&(f=!0,q()),!d){const J=$e(W[V(1860)],u),X=J.x-s.x,Q=J.y-s.y;Math.sqrt(X*X+Q*Q)>P&&F(W)}(r.x!==Z[V(1229)]||r.y!==Z[V(1987)])&&a&&d&&(s=$e(W.sourceEvent,u),I(Z))}}).on("end",W=>{const V=E;if(!(!d||h)&&(f=!1,d=!1,cancelAnimationFrame(i),a[V(2046)]>0)){const{nodeLookup:N,updateNodePositions:D,onNodeDragStop:B,onSelectionDragStop:A}=t();if(g&&(D(a,!1),g=!1),o||B||!k&&A){const[P,Y]=Vx({nodeId:k,dragItems:a,nodeLookup:N,dragging:!1});o?.(W[V(1860)],a,P,Y),B?.(W.sourceEvent,P,Y),!k&&A?.(W[V(1860)],Y)}}})[E(1076)](W=>{const V=E,N=W[V(819)];return!W.button&&(!M||!Yi(N,"."+M,z))&&(!w||Yi(N,w,z))});y[E(1036)](K)}function p(){const M=_0x447e;y?.on(M(2169),null)}return{update:v,destroy:p}}function Tf(e,t,n){const x=c,o=[],r={x:e.x-n,y:e.y-n,width:n*2,height:n*2};for(const i of t.values())Gt(r,ot(i))>0&&o[x(2049)](i);return o}const Vf=250;function qf(e,t,n,x){const o=c;let r=[],i=1/0;const a=Tf(e,n,t+Vf);for(const f of a){const s=[...f.internals[o(2111)]?.[o(1513)]??[],...f[o(2075)].handleBounds?.target??[]];for(const u of s){if(x[o(1382)]===u[o(1382)]&&x[o(638)]===u[o(638)]&&x.id===u.id)continue;const{x:d,y}=Un(f,u,u[o(1400)],!0),h=Math[o(444)](Math.pow(d-e.x,2)+Math.pow(y-e.y,2));h>t||(h<i?(r=[{...u,x:d,y}],i=h):h===i&&r[o(2049)]({...u,x:d,y}))}}if(!r.length)return null;if(r[o(1028)]>1){const f=x[o(638)]===o(1513)?o(819):o(1513);return r.find(s=>s[o(638)]===f)??r[0]}return r[0]}function Ai(e,t,n,x,o,r=!1){const i=c,a=x[i(1446)](e);if(!a)return null;const f=o===i(1937)?a.internals.handleBounds?.[t]:[...a[i(2075)].handleBounds?.[i(1513)]??[],...a.internals[i(2111)]?.[i(819)]??[]],s=(n?f?.find(u=>u.id===n):f?.[0])??null;return s&&r?{...s,...Un(a,s,s[i(1400)],!0)}:s}function Ii(e,t){const n=c;return e||(t?.[n(634)][n(530)](n(819))?"target":t?.[n(634)][n(530)](n(1513))?"source":null)}function Wf(e,t){let n=null;return t?n=!0:e&&!t&&(n=!1),n}const Ei=()=>!0;function Xf(e,{connectionMode:t,connectionRadius:n,handleId:x,nodeId:o,edgeUpdaterType:r,isTarget:i,domNode:a,nodeLookup:f,lib:s,autoPanOnConnect:u,flowId:d,panBy:y,cancelConnection:h,onConnectStart:g,onConnect:m,onConnectEnd:v,isValidConnection:p=Ei,onReconnectEnd:M,updateConnection:w,getTransform:z,getFromHandle:b,autoPanSpeed:k,dragThreshold:G=1,handleDomNode:E}){const I=c,q=ui(e[I(819)]);let F=0,K;const{x:W,y:V}=$e(e),N=Ii(r,E),D=a?.getBoundingClientRect();let B=!1;if(!D||!N)return;const A=Ai(o,N,x,f,t);if(!A)return;let P=$e(e,D),Y=!1,Z=null,J=!1,X=null;function Q(){if(!u||!D)return;const[_,H]=ri(P,D,k);y({x:_,y:H}),F=requestAnimationFrame(Q)}const R={...A,nodeId:o,type:N,position:A[I(1400)]},re=f[I(1446)](o);let ae={inProgress:!0,isValid:null,from:Un(re,R,ue[I(1580)],!0),fromHandle:R,fromPosition:R[I(1400)],fromNode:re,to:P,toHandle:null,toPosition:$r[R[I(1400)]],toNode:null,pointer:P};function ie(){B=!0,w(ae),g?.(e,{nodeId:o,handleId:x,handleType:N})}G===0&&ie();function S(_){const H=I;if(!B){const{x:ge,y:be}=$e(_),he=ge-W,ze=be-V;if(!(he*he+ze*ze>G*G))return;ie()}if(!b()||!R){j(_);return}const O=z();P=$e(_,D),K=qf(Ht(P,O,!1,[1,1]),n,f,R),!Y&&(Q(),Y=!0);const ne=ji(_,{handle:K,connectionMode:t,fromNodeId:o,fromHandleId:x,fromType:i?"target":H(1513),isValidConnection:p,doc:q,lib:s,flowId:d,nodeLookup:f});X=ne[H(1450)],Z=ne[H(656)],J=Wf(!!K,ne.isValid);const de=f[H(1446)](o),ye=de?Un(de,R,ue[H(1580)],!0):ae[H(1486)],ce={...ae,from:ye,isValid:J,to:ne.toHandle&&J?Y0({x:ne[H(1111)].x,y:ne[H(1111)].y},O):P,toHandle:ne[H(1111)],toPosition:J&&ne[H(1111)]?ne[H(1111)][H(1400)]:$r[R[H(1400)]],toNode:ne[H(1111)]?f[H(1446)](ne[H(1111)][H(1382)]):null,pointer:P};w(ce),ae=ce}function j(_){const H=I;if(!(H(497)in _&&_[H(497)][H(1028)]>0)){if(B){(K||X)&&Z&&J&&m?.(Z);const{inProgress:O,...ne}=ae,de={...ne,toPosition:ae.toHandle?ae.toPosition:null};v?.(_,de),r&&M?.(_,de)}h(),cancelAnimationFrame(F),Y=!1,J=!1,Z=null,X=null,q.removeEventListener(H(1798),S),q[H(653)]("mouseup",j),q[H(653)](H(2112),S),q[H(653)](H(1140),j)}}q[I(2055)](I(1798),S),q[I(2055)](I(1744),j),q[I(2055)](I(2112),S),q[I(2055)]("touchend",j)}function ji(e,{handle:t,connectionMode:n,fromNodeId:x,fromHandleId:o,fromType:r,doc:i,lib:a,flowId:f,isValidConnection:s=Ei,nodeLookup:u}){const d=c,y=r===d(819),h=t?i[d(1519)]("."+a+d(1359)+f+"-"+t?.[d(1382)]+"-"+t?.id+"-"+t?.[d(638)]+'"]'):null,{x:g,y:m}=$e(e),v=i[d(1878)](g,m),p=v?.classList[d(530)](a+d(1705))?v:h,M={handleDomNode:p,isValid:!1,connection:null,toHandle:null};if(p){const w=Ii(void 0,p),z=p[d(928)](d(2058)),b=p[d(928)]("data-handleid"),k=p[d(634)][d(530)]("connectable"),G=p[d(634)][d(530)](d(916));if(!z||!w)return M;const E={source:y?z:x,sourceHandle:y?b:o,target:y?x:z,targetHandle:y?o:b};M[d(656)]=E;const I=k&&G,q=I&&(n===tt[d(552)]?y&&w===d(1513)||!y&&w===d(819):z!==x||b!==o);M[d(1916)]=q&&s(E),M[d(1111)]=Ai(z,w,b,u,n,!0)}return M}const qx={onPointerDown:Xf,isValid:ji};function Zf({domNode:e,panZoom:t,getTransform:n,getViewScale:x}){const o=qe(e);function r({translateExtent:a,width:f,height:s,zoomStep:u=1,pannable:d=!0,zoomable:y=!0,inversePan:h=!1}){const g=_0x447e,m=z=>{const b=_0x447e;if(z[b(1860)][b(638)]!==b(1698)||!t)return;const k=n(),G=z[b(1860)][b(607)]&&Tt()?10:1,E=-z[b(1860)][b(1779)]*(z[b(1860)][b(1178)]===1?.05:z[b(1860)][b(1178)]?1:.002)*u,I=k[2]*Math.pow(2,E*G);t[b(2138)](I)};let v=[0,0];const p=z=>{const b=_0x447e;(z[b(1860)][b(638)]===b(1075)||z.sourceEvent[b(638)]===b(824))&&(v=[z.sourceEvent.clientX??z.sourceEvent[b(497)][0][b(2156)],z[b(1860)][b(1484)]??z.sourceEvent[b(497)][0].clientY])},M=z=>{const b=_0x447e,k=n();if(z[b(1860)][b(638)]!==b(1798)&&z[b(1860)].type!==b(2112)||!t)return;const G=[z[b(1860)].clientX??z[b(1860)][b(497)][0][b(2156)],z[b(1860)][b(1484)]??z.sourceEvent[b(497)][0].clientY],E=[G[0]-v[0],G[1]-v[1]];v=G;const I=x()*Math[b(1419)](k[2],Math[b(484)](k[2]))*(h?-1:1),q={x:k[0]-E[0]*I,y:k[1]-E[1]*I},F=[[0,0],[f,s]];t[b(2176)]({x:q.x,y:q.y,zoom:k[2]},F,a)},w=Jr().on(g(1159),p).on(g(931),d?M:null).on("zoom.wheel",y?m:null);o[g(1036)](w,{})}function i(){o.on("zoom",null)}return{update:r,destroy:i,pointer:Je}}const I0=e=>({x:e.x,y:e.y,zoom:e.k}),Wx=({x:e,y:t,zoom:n})=>L0.translate(e,t).scale(n),at=(e,t)=>e[c(819)][c(1132)]("."+t),Ui=(e,t)=>t===2&&Array[c(1098)](e)&&e[c(1931)](2),Kf=e=>((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2,Xx=(e,t=0,n=Kf,x=()=>{})=>{const o=c,r=typeof t===o(1539)&&t>0;return!r&&x(),r?e[o(1355)]().duration(t)[o(1025)](n).on(o(1323),x):e},Gi=e=>{const t=c,n=e[t(607)]&&Tt()?10:1;return-e.deltaY*(e[t(1178)]===1?.05:e.deltaMode?1:.002)*n};function Rf({zoomPanValues:e,noWheelClassName:t,d3Selection:n,d3Zoom:x,panOnScrollMode:o,panOnScrollSpeed:r,zoomOnPinch:i,onPanZoomStart:a,onPanZoom:f,onPanZoomEnd:s}){return u=>{const d=_0x447e;if(at(u,t))return u[d(607)]&&u[d(478)](),!1;u[d(478)](),u.stopImmediatePropagation();const y=n.property(d(621)).k||1;if(u[d(607)]&&i){const p=Je(u),M=Gi(u),w=y*Math[d(1822)](2,M);x[d(2138)](n,w,p,u);return}const h=u[d(1178)]===1?20:1;let g=o===En[d(1731)]?0:u[d(564)]*h,m=o===En[d(1170)]?0:u[d(1779)]*h;!Tt()&&u[d(2064)]&&o!==En[d(1731)]&&(g=u[d(1779)]*h,m=0),x[d(593)](n,-(g/y)*r,-(m/y)*r,{internal:!0});const v=I0(n.property(d(621)));clearTimeout(e[d(1427)]),e[d(1565)]?(f?.(u,v),e[d(1427)]=setTimeout(()=>{const p=d;s?.(u,v),e[p(1565)]=!1},150)):(e[d(1565)]=!0,a?.(u,v))}}function Jf({noWheelClassName:e,preventScrolling:t,d3ZoomHandler:n}){return function(x,o){const r=_0x447e,i=x[r(638)]===r(1698),a=!t&&i&&!x[r(607)],f=at(x,e);if(x.ctrlKey&&i&&f&&x[r(478)](),a||f)return null;x[r(478)](),n.call(this,x,o)}}function _f({zoomPanValues:e,onDraggingChange:t,onPanZoomStart:n}){return x=>{const o=_0x447e;if(x[o(1860)]?.[o(1750)])return;const r=I0(x[o(688)]);e.mouseButton=x[o(1860)]?.[o(2070)]||0,e[o(1522)]=!0,e[o(1465)]=r,x.sourceEvent?.[o(638)]===o(1075)&&t(!0),n&&n?.(x[o(1860)],r)}}function Qf({zoomPanValues:e,panOnDrag:t,onPaneContextMenu:n,onTransformChange:x,onPanZoom:o}){return r=>{const i=_0x447e;e[i(1763)]=!!(n&&Ui(t,e[i(1521)]??0)),!r[i(1860)]?.[i(1004)]&&x([r[i(688)].x,r[i(688)].y,r[i(688)].k]),o&&!r.sourceEvent?.[i(1750)]&&o?.(r[i(1860)],I0(r.transform))}}function Ff({zoomPanValues:e,panOnDrag:t,panOnScroll:n,onDraggingChange:x,onPanZoomEnd:o,onPaneContextMenu:r}){return i=>{const a=_0x447e;if(!i.sourceEvent?.[a(1750)]&&(e.isZoomingOrPanning=!1,r&&Ui(t,e[a(1521)]??0)&&!e[a(1763)]&&i[a(1860)]&&r(i[a(1860)]),e[a(1763)]=!1,x(!1),o)){const f=I0(i[a(688)]);e[a(1465)]=f,clearTimeout(e[a(488)]),e[a(488)]=setTimeout(()=>{o?.(i[a(1860)],f)},n?150:0)}}}function $f({zoomActivationKeyPressed:e,zoomOnScroll:t,zoomOnPinch:n,panOnDrag:x,panOnScroll:o,zoomOnDoubleClick:r,userSelectionActive:i,noWheelClassName:a,noPanClassName:f,lib:s,connectionInProgress:u}){return d=>{const y=_0x447e,h=e||t,g=n&&d[y(607)],m=d[y(638)]===y(1698);if(d[y(2070)]===1&&d[y(638)]===y(1075)&&(at(d,s+y(992))||at(d,s+"-flow__edge")))return!0;if(!x&&!h&&!o&&!r&&!n||i||u&&!m||at(d,a)&&m||at(d,f)&&(!m||o&&m&&!e)||!n&&d[y(607)]&&m)return!1;if(!n&&d.type===y(824)&&d[y(497)]?.[y(1028)]>1)return d.preventDefault(),!1;if(!h&&!o&&!g&&m||!x&&(d[y(638)]===y(1075)||d[y(638)]===y(824))||Array.isArray(x)&&!x[y(1931)](d[y(2070)])&&d[y(638)]===y(1075))return!1;const v=Array.isArray(x)&&x[y(1931)](d.button)||!d[y(2070)]||d[y(2070)]<=1;return(!d[y(607)]||m)&&v}}function e2({domNode:e,minZoom:t,maxZoom:n,translateExtent:x,viewport:o,onPanZoom:r,onPanZoomStart:i,onPanZoomEnd:a,onDraggingChange:f}){const s=c,u={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},d=e.getBoundingClientRect(),y=Jr().scaleExtent([t,n])[s(1853)](x),h=qe(e)[s(1036)](y);w({x:o.x,y:o.y,zoom:xt(o[s(931)],t,n)},[[0,0],[d[s(502)],d[s(1201)]]],x);const g=h.on("wheel.zoom"),m=h.on(s(1062));y[s(632)](Gi);function v(K,W){const V=s;return h?new Promise(N=>{const D=_0x447e;y?.[D(948)](W?.[D(948)]===D(1040)?Nt:m0).transform(Xx(h,W?.[D(1844)],W?.[D(1025)],()=>N(!0)),K)}):Promise[V(1734)](!1)}function p({noWheelClassName:K,noPanClassName:W,onPaneContextMenu:V,userSelectionActive:N,panOnScroll:D,panOnDrag:B,panOnScrollMode:A,panOnScrollSpeed:P,preventScrolling:Y,zoomOnPinch:Z,zoomOnScroll:J,zoomOnDoubleClick:X,zoomActivationKeyPressed:Q,lib:R,onTransformChange:re,connectionInProgress:ee,paneClickDistance:ae,selectionOnDrag:ie}){const S=s;N&&!u[S(1522)]&&M();const j=D&&!Q&&!N;y[S(1635)](ie?1/0:!Fe(ae)||ae<0?0:ae);const _=j?Rf({zoomPanValues:u,noWheelClassName:K,d3Selection:h,d3Zoom:y,panOnScrollMode:A,panOnScrollSpeed:P,zoomOnPinch:Z,onPanZoomStart:i,onPanZoom:r,onPanZoomEnd:a}):Jf({noWheelClassName:K,preventScrolling:Y,d3ZoomHandler:g});if(h.on(S(519),_,{passive:!1}),!N){const O=_f({zoomPanValues:u,onDraggingChange:f,onPanZoomStart:i});y.on(S(1159),O);const ne=Qf({zoomPanValues:u,panOnDrag:B,onPaneContextMenu:!!V,onPanZoom:r,onTransformChange:re});y.on(S(931),ne);const de=Ff({zoomPanValues:u,panOnDrag:B,panOnScroll:D,onPaneContextMenu:V,onPanZoomEnd:a,onDraggingChange:f});y.on("end",de)}const H=$f({zoomActivationKeyPressed:Q,panOnDrag:B,zoomOnScroll:J,panOnScroll:D,zoomOnDoubleClick:X,zoomOnPinch:Z,userSelectionActive:N,noPanClassName:W,noWheelClassName:K,lib:R,connectionInProgress:ee});y[S(1076)](H),X?h.on(S(1062),m):h.on(S(1062),null)}function M(){y.on("zoom",null)}async function w(K,W,V){const N=s,D=Wx(K),B=y?.[N(1538)]()(D,W,V);return B&&await v(B),new Promise(A=>A(B))}async function z(K,W){const V=Wx(K);return await v(V,W),new Promise(N=>N(V))}function b(K){const W=s;if(h){const V=Wx(K),N=h[W(938)](W(621));(N.k!==K[W(931)]||N.x!==K.x||N.y!==K.y)&&y?.[W(688)](h,V,null,{sync:!0})}}function k(){const K=s,W=h?Kr(h[K(1656)]()):{x:0,y:0,k:1};return{x:W.x,y:W.y,zoom:W.k}}function G(K,W){return h?new Promise(V=>{const N=_0x447e;y?.[N(948)](W?.[N(948)]===N(1040)?Nt:m0)[N(2138)](Xx(h,W?.duration,W?.[N(1025)],()=>V(!0)),K)}):Promise.resolve(!1)}function E(K,W){const V=s;return h?new Promise(N=>{const D=_0x447e;y?.interpolate(W?.[D(948)]===D(1040)?Nt:m0)[D(910)](Xx(h,W?.[D(1844)],W?.[D(1025)],()=>N(!0)),K)}):Promise[V(1734)](!1)}function I(K){y?.[s(572)](K)}function q(K){y?.[s(1853)](K)}function F(K){const W=s,V=!Fe(K)||K<0?0:K;y?.[W(1635)](V)}return{update:p,destroy:M,setViewport:z,setViewportConstrained:w,getViewport:k,scaleTo:G,scaleBy:E,setScaleExtent:I,setTranslateExtent:q,syncViewport:b,setClickDistance:F}}var ct;(function(e){const t=c;e[t(2163)]="line",e.Handle=t(1295)})(ct||(ct={}));function n2({width:e,prevWidth:t,height:n,prevHeight:x,affectsX:o,affectsY:r}){const i=e-t,a=n-x,f=[i>0?1:i<0?-1:0,a>0?1:a<0?-1:0];return i&&o&&(f[0]=f[0]*-1),a&&r&&(f[1]=f[1]*-1),f}function Oi(e){const t=c,n=e[t(1931)](t(1604))||e[t(1931)](t(1947)),x=e.includes(t(1695))||e[t(1931)](t(1411)),o=e[t(1931)](t(1947)),r=e.includes(t(1411));return{isHorizontal:n,isVertical:x,affectsX:o,affectsY:r}}function wn(e,t){return Math.max(0,t-e)}function vn(e,t){return Math[c(1419)](0,e-t)}function E0(e,t,n){return Math[c(1419)](0,t-e,e-n)}function Hi(e,t){return e?!t:t}function t2(e,t,n,x,o,r,i,a){const f=c;let{affectsX:s,affectsY:u}=t;const{isHorizontal:d,isVertical:y}=t,h=d&&y,{xSnapped:g,ySnapped:m}=n,{minWidth:v,maxWidth:p,minHeight:M,maxHeight:w}=x,{x:z,y:b,width:k,height:G,aspectRatio:E}=e;let I=Math[f(2130)](d?g-e[f(1393)]:0),q=Math[f(2130)](y?m-e[f(2132)]:0);const F=k+(s?-I:I),K=G+(u?-q:q),W=-r[0]*k,V=-r[1]*G;let N=E0(F,v,p),D=E0(K,M,w);if(i){let P=0,Y=0;s&&I<0?P=wn(z+I+W,i[0][0]):!s&&I>0&&(P=vn(z+F+W,i[1][0])),u&&q<0?Y=wn(b+q+V,i[0][1]):!u&&q>0&&(Y=vn(b+K+V,i[1][1])),N=Math[f(1419)](N,P),D=Math[f(1419)](D,Y)}if(a){let P=0,Y=0;s&&I>0?P=vn(z+I,a[0][0]):!s&&I<0&&(P=wn(z+F,a[1][0])),u&&q>0?Y=vn(b+q,a[0][1]):!u&&q<0&&(Y=wn(b+K,a[1][1])),N=Math[f(1419)](N,P),D=Math[f(1419)](D,Y)}if(o){if(d){const P=E0(F/E,M,w)*E;if(N=Math[f(1419)](N,P),i){let Y=0;!s&&!u||s&&!u&&h?Y=vn(b+V+F/E,i[1][1])*E:Y=wn(b+V+(s?I:-I)/E,i[0][1])*E,N=Math[f(1419)](N,Y)}if(a){let Y=0;!s&&!u||s&&!u&&h?Y=wn(b+F/E,a[1][1])*E:Y=vn(b+(s?I:-I)/E,a[0][1])*E,N=Math[f(1419)](N,Y)}}if(y){const P=E0(K*E,v,p)/E;if(D=Math[f(1419)](D,P),i){let Y=0;!s&&!u||u&&!s&&h?Y=vn(z+K*E+W,i[1][0])/E:Y=wn(z+(u?q:-q)*E+W,i[0][0])/E,D=Math[f(1419)](D,Y)}if(a){let Y=0;!s&&!u||u&&!s&&h?Y=wn(z+K*E,a[1][0])/E:Y=vn(z+(u?q:-q)*E,a[0][0])/E,D=Math[f(1419)](D,Y)}}}q=q+(q<0?D:-D),I=I+(I<0?N:-N),o&&(h?F>K*E?q=(Hi(s,u)?-I:I)/E:I=(Hi(s,u)?-q:q)*E:d?(q=I/E,u=s):(I=q*E,s=u));const B=s?z+I:z,A=u?b+q:b;return{width:k+(s?-I:I),height:G+(u?-q:q),x:r[0]*I*(s?-1:1)+B,y:r[1]*q*(u?-1:1)+A}}const Ti={width:0,height:0,x:0,y:0},x2={...Ti,pointerX:0,pointerY:0,aspectRatio:1};function o2(e){const t=c;return[[0,0],[e[t(1815)].width,e[t(1815)].height]]}function r2(e,t,n){const x=c,o=t[x(1400)].x+e.position.x,r=t.position.y+e[x(1400)].y,i=e[x(1815)].width??0,a=e[x(1815)].height??0,f=n[0]*i,s=n[1]*a;return[[o-f,r-s],[o+i-f,r+a-s]]}function i2({domNode:e,nodeId:t,getStoreItems:n,onChange:x,onEnd:o}){const r=c,i=qe(e);let a={controlDirection:Oi(r(1233)),boundaries:{minWidth:0,minHeight:0,maxWidth:Number[r(1924)],maxHeight:Number[r(1924)]},resizeDirection:void 0,keepAspectRatio:!1};function f({controlPosition:u,boundaries:d,keepAspectRatio:y,resizeDirection:h,onResizeStart:g,onResize:m,onResizeEnd:v,shouldResize:p}){const M=r;let w={...Ti},z={...x2};a={boundaries:d,resizeDirection:h,keepAspectRatio:y,controlDirection:Oi(u)};let b,k=null,G=[],E,I,q,F=!1;const K=vr().on(M(1159),W=>{const V=M,{nodeLookup:N,transform:D,snapGrid:B,snapToGrid:A,nodeOrigin:P,paneDomNode:Y}=n();if(b=N[V(1446)](t),!b)return;k=Y?.[V(1761)]()??null;const{xSnapped:Z,ySnapped:J}=Vt(W[V(1860)],{transform:D,snapGrid:B,snapToGrid:A,containerBounds:k});w={width:b[V(1815)][V(502)]??0,height:b[V(1815)][V(1201)]??0,x:b[V(1400)].x??0,y:b.position.y??0},z={...w,pointerX:Z,pointerY:J,aspectRatio:w.width/w[V(1201)]},E=void 0,b[V(2060)]&&(b[V(1671)]===V(707)||b.expandParent)&&(E=N.get(b[V(2060)]),I=E&&b.extent==="parent"?o2(E):void 0),G=[],q=void 0;for(const[X,Q]of N)if(Q[V(2060)]===t&&(G[V(2049)]({id:X,position:{...Q[V(1400)]},extent:Q[V(1671)]}),Q[V(1671)]===V(707)||Q[V(823)])){const R=r2(Q,b,Q[V(1252)]??P);q?q=[[Math[V(2007)](R[0][0],q[0][0]),Math.min(R[0][1],q[0][1])],[Math.max(R[1][0],q[1][0]),Math.max(R[1][1],q[1][1])]]:q=R}g?.(W,{...w})}).on("drag",W=>{const V=M,{transform:N,snapGrid:D,snapToGrid:B,nodeOrigin:A}=n(),P=Vt(W.sourceEvent,{transform:N,snapGrid:D,snapToGrid:B,containerBounds:k}),Y=[];if(!b)return;const{x:Z,y:J,width:X,height:Q}=w,R={},re=b[V(1252)]??A,{width:ee,height:ae,x:ie,y:S}=t2(z,a.controlDirection,P,a[V(1784)],a[V(1417)],re,I,q),j=ee!==X,_=ae!==Q,H=ie!==Z&&j,O=S!==J&&_;if(!H&&!O&&!j&&!_)return;if((H||O||re[0]===1||re[1]===1)&&(R.x=H?ie:w.x,R.y=O?S:w.y,w.x=R.x,w.y=R.y,G[V(1028)]>0)){const ce=ie-Z,ge=S-J;for(const be of G)be.position={x:be[V(1400)].x-ce+re[0]*(ee-X),y:be[V(1400)].y-ge+re[1]*(ae-Q)},Y.push(be)}if((j||_)&&(R[V(502)]=j&&(!a.resizeDirection||a[V(1593)]===V(956))?ee:w[V(502)],R[V(1201)]=_&&(!a.resizeDirection||a[V(1593)]==="vertical")?ae:w[V(1201)],w.width=R[V(502)],w[V(1201)]=R[V(1201)]),E&&b[V(823)]){const ce=re[0]*(R[V(502)]??0);R.x&&R.x<ce&&(w.x=ce,z.x=z.x-(R.x-ce));const ge=re[1]*(R[V(1201)]??0);R.y&&R.y<ge&&(w.y=ge,z.y=z.y-(R.y-ge))}const ne=n2({width:w.width,prevWidth:X,height:w[V(1201)],prevHeight:Q,affectsX:a[V(482)][V(1109)],affectsY:a[V(482)][V(1348)]}),de={...w,direction:ne};p?.(W,de)!==!1&&(F=!0,m?.(W,de),x(R,Y))}).on(M(1323),W=>{F&&(v?.(W,{...w}),o?.({...w}),F=!1)});i.call(K)}function s(){const u=r;i.on(u(2169),null)}return{update:f,destroy:s}}var j0={exports:{}},Zx={},U0={exports:{}},Kx={},Vi;function a2(){const e=c;if(Vi)return Kx;Vi=1;var t=L;function n(y,h){return y===h&&(y!==0||1/y===1/h)||y!==y&&h!==h}var x=typeof Object.is=="function"?Object.is:n,o=t[e(1303)],r=t[e(1027)],i=t[e(703)],a=t[e(1535)];function f(y,h){const g=e;var m=h(),v=o({inst:{value:m,getSnapshot:h}}),p=v[0][g(1631)],M=v[1];return i(function(){const w=g;p[w(1429)]=m,p[w(665)]=h,s(p)&&M({inst:p})},[y,m,h]),r(function(){return s(p)&&M({inst:p}),y(function(){s(p)&&M({inst:p})})},[y]),a(m),m}function s(y){const h=e;var g=y[h(665)];y=y[h(1429)];try{var m=g();return!x(y,m)}catch{return!0}}function u(y,h){return h()}var d=e(1269)===typeof window||e(1269)===typeof window[e(743)]||e(1269)===typeof window[e(743)][e(2004)]?u:f;return Kx[e(833)]=t[e(833)]!==void 0?t[e(833)]:d,Kx}var Rx={},qi;function c2(){return qi||(qi=1,process.env.NODE_ENV!=="production"&&(function(){const e=_0x447e;function t(g,m){return g===m&&(g!==0||1/g===1/m)||g!==g&&m!==m}function n(g,m){const v=_0x447e;d||r[v(1238)]===void 0||(d=!0,console.error(v(1606)));var p=m();if(!y){var M=m();i(p,M)||(console[v(1738)](v(1668)),y=!0)}M=a({inst:{value:p,getSnapshot:m}});var w=M[0][v(1631)],z=M[1];return s(function(){const b=v;w[b(1429)]=p,w[b(665)]=m,x(w)&&z({inst:w})},[g,p,m]),f(function(){return x(w)&&z({inst:w}),g(function(){x(w)&&z({inst:w})})},[g]),u(p),p}function x(g){const m=_0x447e;var v=g[m(665)];g=g[m(1429)];try{var p=v();return!i(g,p)}catch{return!0}}function o(g,m){return m()}e(1269)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&e(940)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__[e(600)](Error());var r=L,i=typeof Object.is=="function"?Object.is:t,a=r[e(1303)],f=r.useEffect,s=r[e(703)],u=r[e(1535)],d=!1,y=!1,h=e(1269)===typeof window||e(1269)===typeof window[e(743)]||e(1269)===typeof window[e(743)][e(2004)]?o:n;Rx[e(833)]=r[e(833)]!==void 0?r[e(833)]:h,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[e(1715)]=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__[e(1715)](Error())})()),Rx}var Wi;function Xi(){const e=c;return Wi?U0.exports:(Wi=1,process.env.NODE_ENV===e(976)?U0.exports=a2():U0[e(608)]=c2(),U0[e(608)])}var Zi;function s2(){const e=c;if(Zi)return Zx;Zi=1;var t=L,n=Xi();function x(u,d){return u===d&&(u!==0||1/u===1/d)||u!==u&&d!==d}var o=e(940)===typeof Object.is?Object.is:x,r=n[e(833)],i=t.useRef,a=t[e(1027)],f=t[e(694)],s=t[e(1535)];return Zx.useSyncExternalStoreWithSelector=function(u,d,y,h,g){const m=e;var v=i(null);if(v[m(787)]===null){var p={hasValue:!1,value:null};v[m(787)]=p}else p=v.current;v=f(function(){function w(E){const I=_0x447e;if(!z){if(z=!0,b=E,E=h(E),g!==void 0&&p[I(1717)]){var q=p[I(1429)];if(g(q,E))return k=q}return k=E}if(q=k,o(b,E))return q;var F=h(E);return g!==void 0&&g(q,F)?(b=E,q):(b=E,k=F)}var z=!1,b,k,G=y===void 0?null:y;return[function(){return w(d())},G===null?void 0:function(){return w(G())}]},[d,y,h,g]);var M=r(u,v[0],v[1]);return a(function(){const w=m;p[w(1717)]=!0,p[w(1429)]=M},[M]),s(M),M},Zx}var Jx={},Ki;function l2(){return Ki||(Ki=1,process.env.NODE_ENV!=="production"&&(function(){const e=_0x447e;function t(u,d){return u===d&&(u!==0||1/u===1/d)||u!==u&&d!==d}e(1269)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&e(940)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[e(600)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[e(600)](Error());var n=L,x=Xi(),o=e(940)===typeof Object.is?Object.is:t,r=x[e(833)],i=n[e(1713)],a=n.useEffect,f=n[e(694)],s=n.useDebugValue;Jx.useSyncExternalStoreWithSelector=function(u,d,y,h,g){const m=e;var v=i(null);if(v.current===null){var p={hasValue:!1,value:null};v[m(787)]=p}else p=v[m(787)];v=f(function(){function w(E){const I=_0x447e;if(!z){if(z=!0,b=E,E=h(E),g!==void 0&&p[I(1717)]){var q=p[I(1429)];if(g(q,E))return k=q}return k=E}if(q=k,o(b,E))return q;var F=h(E);return g!==void 0&&g(q,F)?(b=E,q):(b=E,k=F)}var z=!1,b,k,G=y===void 0?null:y;return[function(){return w(d())},G===null?void 0:function(){return w(G())}]},[d,y,h,g]);var M=r(u,v[0],v[1]);return a(function(){const w=m;p[w(1717)]=!0,p[w(1429)]=M},[M]),s(M),M},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&e(940)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Jx}var Ri;function d2(){const e=c;return Ri?j0[e(608)]:(Ri=1,process.env.NODE_ENV===e(976)?j0[e(608)]=s2():j0.exports=l2(),j0.exports)}var u2=d2();const f2=gt(u2),g2={},Ji=e=>{let t;const n=new Set,x=(u,d)=>{const y=_0x447e,h=typeof u=="function"?u(t):u;if(!Object.is(h,t)){const g=t;t=d??(typeof h!==y(1210)||h===null)?h:Object[y(1055)]({},t,h),n.forEach(m=>m(t,g))}},o=()=>t,r=()=>s,i=u=>{const d=_0x447e;return n[d(447)](u),()=>n[d(719)](u)},a=()=>{const u=_0x447e;(g2?u(976):void 0)!==u(976)&&console[u(777)](u(1591)),n[u(1370)]()},f={setState:x,getState:o,getInitialState:r,subscribe:i,destroy:a},s=t=e(x,o,f);return f},h2=e=>e?Ji(e):Ji,{useDebugValue:y2}=L,{useSyncExternalStoreWithSelector:m2}=f2,w2=e=>e;function _i(e,t=w2,n){const x=c,o=m2(e[x(1677)],e[x(1556)],e.getServerState||e[x(1350)],t,n);return y2(o),o}const Qi=(e,t)=>{const n=c,x=h2(e),o=(r,i=t)=>_i(x,r,i);return Object[n(1055)](o,x),o},v2=(e,t)=>e?Qi(e,t):Qi;function Le(e,t){const n=c;if(Object.is(e,t))return!0;if(typeof e!==n(1210)||e===null||typeof t!==n(1210)||t===null)return!1;if(e instanceof Map&&t instanceof Map){if(e.size!==t[n(2046)])return!1;for(const[o,r]of e)if(!Object.is(r,t.get(o)))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e[n(2046)]!==t.size)return!1;for(const o of e)if(!t[n(1432)](o))return!1;return!0}const x=Object[n(1648)](e);if(x[n(1028)]!==Object.keys(t)[n(1028)])return!1;for(const o of x)if(!Object[n(1347)][n(1337)][n(1036)](t,o)||!Object.is(e[o],t[o]))return!1;return!0}const G0=L[c(1003)](null),p2=G0[c(1498)],Fi=We[c(768)]();function Ce(e,t){const n=L.useContext(G0);if(n===null)throw new Error(Fi);return _i(n,e,t)}function Ne(){const e=c,t=L[e(939)](G0);if(t===null)throw new Error(Fi);return L[e(694)](()=>({getState:t[e(1556)],setState:t[e(1880)],subscribe:t[e(1677)]}),[t])}const $i={display:c(2039)},b2={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:c(1357),clipPath:c(1881)},ea="react-flow__node-desc",na="react-flow__edge-desc",z2="react-flow__aria-live",C2=e=>e[c(817)],M2=e=>e[c(1864)];function B2({rfId:e}){const t=c,n=Ce(C2);return l[t(1970)]("div",{id:z2+"-"+e,"aria-live":t(2056),"aria-atomic":t(898),style:b2,children:n})}function D2({rfId:e,disableKeyboardA11y:t}){const n=c,x=Ce(M2);return l[n(557)](l[n(514)],{children:[l[n(1970)](n(1331),{id:ea+"-"+e,style:$i,children:t?x[n(1842)]:x[n(2048)]}),l[n(1970)](n(1331),{id:na+"-"+e,style:$i,children:x["edge.a11yDescription.default"]}),!t&&l.jsx(B2,{rfId:e})]})}const O0=L.forwardRef(({position:e=c(1298),children:t,className:n,style:x,...o},r)=>{const i=c,a=(""+e).split("-");return l[i(1970)](i(1331),{className:Pe([i(883),n,...a]),style:x,ref:r,...o,children:t})});O0.displayName="Panel";function L2({proOptions:e,position:t=c(1233)}){const n=c;return e?.[n(1438)]?null:l[n(1970)](O0,{position:t,className:n(673),"data-message":n(1807),children:l[n(1970)]("a",{href:"https://reactflow.dev",target:"_blank",rel:n(1311),"aria-label":n(469),children:n(1452)})})}const N2=e=>{const t=c,n=[],x=[];for(const[,o]of e[t(828)])o[t(1518)]&&n.push(o.internals[t(1572)]);for(const[,o]of e[t(791)])o[t(1518)]&&x[t(2049)](o);return{selectedNodes:n,selectedEdges:x}},H0=e=>e.id;function S2(e,t){const n=c;return Le(e[n(1840)].map(H0),t.selectedNodes[n(1001)](H0))&&Le(e[n(818)].map(H0),t[n(818)][n(1001)](H0))}function k2({onSelectionChange:e}){const t=c,n=Ne(),{selectedNodes:x,selectedEdges:o}=Ce(N2,S2);return L[t(1027)](()=>{const r=t,i={nodes:x,edges:o};e?.(i),n[r(1556)]()[r(1561)][r(1068)](a=>a(i))},[x,o,e]),null}const P2=e=>!!e[c(1561)];function Y2({onSelectionChange:e}){const t=c,n=Ce(P2);return e||n?l[t(1970)](k2,{onSelectionChange:e}):null}const _x=typeof window!==c(1269)?L.useLayoutEffect:L[c(1027)],ta=[0,0],A2={x:0,y:0,zoom:1},I2=[c(1053),c(1891),c(734),"defaultEdges",c(1401),c(1426),"onConnectEnd","onClickConnectStart","onClickConnectEnd",c(2127),c(851),c(1659),c(486),c(473),c(1263),"elevateNodesOnSelect",c(888),"minZoom",c(512),"nodeExtent",c(920),c(1316),c(1910),"connectionMode",c(953),c(1662),c(1853),c(902),"defaultEdgeOptions","fitView",c(1209),"onNodesDelete",c(1385),"onDelete",c(1064),"onNodeDragStart",c(2145),"onSelectionDrag","onSelectionDragStart","onSelectionDragStop",c(1271),c(2084),"onMoveEnd","noPanClassName","nodeOrigin",c(1056),c(2035),c(1133),c(846),"isValidConnection",c(554),c(671),c(1776),c(2171),"debug",c(1874),"ariaLabelConfig",c(2002)],xa=[...I2,c(1932)],E2=e=>({setNodes:e[c(1573)],setEdges:e.setEdges,setMinZoom:e.setMinZoom,setMaxZoom:e[c(2012)],setTranslateExtent:e[c(1152)],setNodeExtent:e[c(1727)],reset:e[c(2107)],setDefaultNodesAndEdges:e[c(1187)]}),oa={translateExtent:It,nodeOrigin:ta,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:c(624),rfId:"1"};function j2(e){const t=c,{setNodes:n,setEdges:x,setMinZoom:o,setMaxZoom:r,setTranslateExtent:i,setNodeExtent:a,reset:f,setDefaultNodesAndEdges:s}=Ce(E2,Le),u=Ne();_x(()=>{const y=_0x447e;return s(e[y(734)],e[y(1596)]),()=>{const h=y;d[h(787)]=oa,f()}},[]);const d=L.useRef(oa);return _x(()=>{const y=_0x447e;for(const h of xa){const g=e[h],m=d.current[h];g!==m&&typeof e[h]!==y(1269)&&(h==="nodes"?n(g):h===y(1891)?x(g):h==="minZoom"?o(g):h===y(512)?r(g):h==="translateExtent"?i(g):h===y(1121)?a(g):h===y(1864)?u[y(1880)]({ariaLabelConfig:vf(g)}):h==="fitView"?u.setState({fitViewQueued:g}):h==="fitViewOptions"?u[y(1880)]({fitViewOptions:g}):u[y(1880)]({[h]:g}))}d[y(787)]=e},xa[t(1001)](y=>e[y])),null}function ra(){const e=c;return typeof window===e(1269)||!window[e(1216)]?null:window[e(1216)](e(584))}function U2(e){const t=c,[n,x]=L[t(1303)](e===t(1692)?null:e);return L[t(1027)](()=>{const o=t;if(e!==o(1692)){x(e);return}const r=ra(),i=()=>x(r?.[o(1409)]?o(1639):o(1320));return i(),r?.[o(2055)]("change",i),()=>{r?.[o(653)]("change",i)}},[e]),n!==null?n:ra()?.[t(1409)]?t(1639):t(1320)}const ia=typeof document!==c(1269)?document:null;function qt(e=null,t={target:ia,actInsideInputWithModifier:!0}){const n=c,[x,o]=L[n(1303)](!1),r=L[n(1713)](!1),i=L[n(1713)](new Set([])),[a,f]=L[n(694)](()=>{const s=n;if(e!==null){const u=Array.isArray(e)?e:[e],d=u[s(1076)](h=>typeof h===s(1841))[s(1001)](h=>h[s(2164)]("+",`
6
- `)[s(2164)](`
1
+ (function(ve,l){const N=_0x4f97,z=ve();for(;;)try{if(-parseInt(N(646))/1+parseInt(N(663))/2*(parseInt(N(1155))/3)+parseInt(N(480))/4+parseInt(N(398))/5*(-parseInt(N(538))/6)+-parseInt(N(1200))/7+-parseInt(N(776))/8+-parseInt(N(620))/9*(-parseInt(N(1032))/10)===l)break;z.push(z.shift())}catch{z.push(z.shift())}})(_0x5b5e,627116),(function(ve,l){const N=_0x4f97;typeof exports===N(1466)&&typeof module<"u"?l(exports,require(N(374)),require(N(1869)),require("antd"),require(N(1548)),require(N(774)),require("immer"),require("nanoid"),require(N(1197)),require("react-dom")):typeof define===N(758)&&define[N(486)]?define([N(1743),"react/jsx-runtime","react",N(784),N(1548),"zustand",N(1893),N(1448),"react-zoom-pan-pinch",N(1879)],l):(ve=typeof globalThis!==N(1416)?globalThis:ve||self,l(ve[N(392)]={},ve[N(813)],ve.React,ve[N(784)],ve[N(441)],ve.zustand,ve.immer,ve[N(1448)],ve[N(1215)]))})(this,function(ve,l,N,z,ae,_0,Rt,we,Jt){"use strict";const a=_0x4f97;var Xn=document[a(1573)](a(1632));Xn[a(1311)]=`.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}.ConfigEditor-module__configEditor__dinNG{width:100%;height:100%;display:flex;flex-direction:column}.ConfigEditor-module__configEditor__dinNG .ant-layout{background:#f5f5f5}.ConfigEditor-module__configEditor__dinNG .ant-layout-sider{background:#fff}.ConfigEditor-module__configEditor__dinNG .ant-collapse-ghost>.ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box{padding:8px 0}.ConfigEditor-module__configEditor__dinNG .ant-list-item{padding:8px 12px}.ConfigEditor-module__canvasGrid__yL2Pn{background-image:linear-gradient(#e8e8e8 1px,transparent 1px),linear-gradient(90deg,#e8e8e8 1px,transparent 1px);background-size:20px 20px}.ConfigEditor-module__nodeSelected__CePHY{box-shadow:0 0 0 2px #1890ff,0 0 10px #1890ff4d}.ConfigEditor-module__dragging__w3tvz{cursor:grabbing!important;opacity:.8}.ConfigEditor-module__toolbarBtn__vRYDU{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.ConfigEditor-module__toolbarBtn__vRYDU:hover{background-color:#f3f4f6}.ConfigEditor-module__toolbarBtn__vRYDU.ConfigEditor-module__active__nREu2{background-color:#dbeafe;color:#2563eb}.ConfigEditor-module__propertyForm__f-Egu .ant-form-item{margin-bottom:12px}.ConfigEditor-module__propertyForm__f-Egu .ant-form-item-label{padding-bottom:4px}.ConfigEditor-module__materialItem__rDby0{transition:all .2s}.ConfigEditor-module__materialItem__rDby0:hover{background-color:#f9fafb}.ConfigEditor-module__materialItem__rDby0.ConfigEditor-module__selected__rIJzf{background-color:#eff6ff;box-shadow:0 0 0 2px #60a5fa}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar{width:6px;height:6px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-thumb:hover{background:#a8a8a8}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.\\!visible{visibility:visible!important}.visible{visibility:visible}.static{position:static}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.-top-6{top:-1.5rem}.bottom-0{bottom:0}.bottom-4{bottom:1rem}.left-0{left:0}.left-1\\/2{left:50%}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.z-10{z-index:10}.z-50{z-index:50}.m-0{margin:0}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.\\!mr-0{margin-right:0!important}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-2{margin-left:.5rem}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-0\\.5{height:.125rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-3{height:.75rem}.h-4{height:1rem}.h-48{height:12rem}.h-6{height:1.5rem}.h-full{height:100%}.max-h-\\[400px\\]{max-height:400px}.w-0\\.5{width:.125rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-8{width:2rem}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0px}.min-w-\\[180px\\]{min-width:180px}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-crosshair{cursor:crosshair}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.list-none{list-style-type:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-l-2{border-left-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-amber-100{--tw-border-opacity: 1;border-color:rgb(254 243 199 / var(--tw-border-opacity, 1))}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1))}.border-amber-300{--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity, 1))}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.\\!bg-blue-500{--tw-bg-opacity: 1 !important;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))!important}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-blue-50\\/50{background-color:#eff6ff80}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-blue-500\\/10{background-color:#3b82f61a}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.object-contain{-o-object-fit:contain;object-fit:contain}.p-0{padding:0}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pr-4{padding-right:1rem}.pt-1{padding-top:.25rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity, 1))}.text-amber-950{--tw-text-opacity: 1;color:rgb(69 26 3 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-blue-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity, 1)) }.ring-opacity-50{--tw-ring-opacity: .5 }.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.file\\:mr-4::file-selector-button{margin-right:1rem}.file\\:rounded-full::file-selector-button{border-radius:9999px}.file\\:border-0::file-selector-button{border-width:0px}.file\\:bg-blue-50::file-selector-button{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.file\\:px-4::file-selector-button{padding-left:1rem;padding-right:1rem}.file\\:py-2::file-selector-button{padding-top:.5rem;padding-bottom:.5rem}.file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:font-semibold::file-selector-button{font-weight:600}.file\\:text-blue-700::file-selector-button{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.hover\\:border-blue-500:hover{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.hover\\:bg-blue-50:hover{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.hover\\:file\\:bg-blue-100::file-selector-button:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1)) }
2
+ /*$vite$:1*/`,document.head[a(1162)](Xn);function ht(e){const t=a;return e&&e[t(621)]&&Object[t(329)][t(309)][t(643)](e,t(1353))?e.default:e}var He={},rn={exports:{}},cn;function bt(){const e=a;return cn||(cn=1,(function(t){const n=e;function x(o){return o&&o.__esModule?o:{default:o}}t[n(1743)]=x,t[n(1743)].__esModule=!0,t[n(1743)][n(1353)]=t.exports})(rn)),rn[e(1743)]}var gt={},oo;function ya(){const e=a;if(oo)return gt;oo=1,Object[e(754)](gt,e(621),{value:!0}),gt[e(1353)]=void 0;const t={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:e(1056),prev_5:"向前 5 页",next_5:e(573),prev_3:e(1207),next_3:e(1205),page_size:"页码"};return gt.default=t,gt}var yt={},mt={},wt={},vt={},ro;function ma(){const e=a;return ro||(ro=1,Object[e(754)](vt,e(621),{value:!0}),vt[e(1122)]=void 0,vt[e(1122)]={yearFormat:e(882),dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),vt}var io;function wa(){const e=a;if(io)return wt;io=1,Object[e(754)](wt,e(621),{value:!0}),wt[e(1353)]=void 0;var t=ma();function n(s){"@babel/helpers - typeof";const u=e;return n=u(758)==typeof Symbol&&u(518)==typeof Symbol[u(1836)]?function(d){return typeof d}:function(d){const b=u;return d&&b(758)==typeof Symbol&&d[b(1071)]===Symbol&&d!==Symbol[b(329)]?b(518):typeof d},n(s)}function x(s,u){const d=e;var b=Object[d(948)](s);if(Object[d(415)]){var g=Object[d(415)](s);u&&(g=g[d(990)](function(y){const h=d;return Object[h(1183)](s,y)[h(1716)]})),b.push.apply(b,g)}return b}function o(s){const u=e;for(var d=1;d<arguments[u(1470)];d++){var b=arguments[d]!=null?arguments[d]:{};d%2?x(Object(b),!0)[u(935)](function(g){r(s,g,b[g])}):Object[u(1696)]?Object[u(1601)](s,Object[u(1696)](b)):x(Object(b)).forEach(function(g){const y=u;Object[y(754)](s,g,Object[y(1183)](b,g))})}return s}function r(s,u,d){const b=e;return u=i(u),u in s?Object[b(754)](s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s}function i(s){const u=e;var d=c(s,u(1419));return u(518)==n(d)?d:String(d)}function c(s,u){const d=e;if(n(s)!="object"||!s)return s;var b=s[Symbol.toPrimitive];if(b!==void 0){var g=b[d(643)](s,u);if(d(1466)!=n(g))return g;throw new TypeError(d(956))}return(d(1419)===u?String:Number)(s)}var f=o(o({},t.commonLocale),{},{locale:e(1262),today:"今天",now:"此刻",backToToday:e(343),ok:"确定",timeSelect:e(728),dateSelect:e(1780),weekSelect:"选择周",clear:"清除",week:"周",month:"月",year:"年",previousMonth:e(1191),nextMonth:e(709),monthSelect:"选择月份",yearSelect:e(1114),decadeSelect:"选择年代",previousYear:e(1741),nextYear:e(351),previousDecade:e(823),nextDecade:"下一年代",previousCentury:e(459),nextCentury:e(335),yearFormat:"YYYY年",cellDateFormat:"D",monthBeforeYear:!1});return wt[e(1353)]=f,wt}var pt={},co;function ao(){const e=a;if(co)return pt;co=1,Object.defineProperty(pt,e(621),{value:!0}),pt.default=void 0;const t={placeholder:e(859),rangePlaceholder:["开始时间",e(1444)]};return pt.default=t,pt}var so;function lo(){const e=a;if(so)return mt;so=1;var t=bt().default;Object[e(754)](mt,e(621),{value:!0}),mt[e(1353)]=void 0;var n=t(wa()),x=t(ao());const o={lang:{placeholder:"请选择日期",yearPlaceholder:e(390),quarterPlaceholder:e(1027),monthPlaceholder:"请选择月份",weekPlaceholder:e(783),rangePlaceholder:[e(2005),e(1887)],rangeYearPlaceholder:["开始年份",e(1760)],rangeMonthPlaceholder:[e(1687),e(1166)],rangeQuarterPlaceholder:[e(450),e(1977)],rangeWeekPlaceholder:[e(1331),e(862)],...n[e(1353)]},timePickerLocale:{...x[e(1353)]}};return o.lang.ok="确定",mt[e(1353)]=o,mt}var uo;function va(){const e=a;if(uo)return yt;uo=1;var t=bt()[e(1353)];Object.defineProperty(yt,e(621),{value:!0}),yt[e(1353)]=void 0;var n=t(lo());return yt[e(1353)]=n.default,yt}var fo;function pa(){const e=a;if(fo)return He;fo=1;var t=bt()[e(1353)];Object.defineProperty(He,"__esModule",{value:!0}),He[e(1353)]=void 0;var n=t(ya()),x=t(va()),o=t(lo()),r=t(ao());const i=e(1195),c={locale:e(670),Pagination:n[e(1353)],DatePicker:o[e(1353)],TimePicker:r.default,Calendar:x[e(1353)],global:{placeholder:e(1334),close:"关闭",sortable:"可排序"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:e(1260),filterCheckAll:"全选",filterSearchPlaceholder:e(1792),emptyText:e(875),selectAll:e(1623),selectInvert:e(1852),selectNone:e(1701),selectionAll:e(457),sortTitle:"排序",expand:e(633),collapse:e(1019),triggerDesc:e(1073),triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:e(1192)},Tour:{Next:e(745),Previous:"上一步",Finish:"结束导览"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:e(843),itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:e(457),deselectAll:e(313),removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:e(1226),removeFile:e(901),uploadError:e(1150),previewFile:"预览文件",downloadFile:e(509)},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开",collapse:"收起"},Form:{optional:e(1522),defaultValidateMessages:{default:"字段验证错误${label}",required:e(555),enum:e(981),whitespace:"${label}不能为空字符",date:{format:e(569),parse:"${label}不能转换为日期",invalid:e(570)},types:{string:i,method:i,array:i,object:i,number:i,date:i,boolean:i,integer:i,float:i,regexp:i,email:i,url:i,hex:i},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:e(1361),range:e(1104)},number:{len:e(1308),min:e(537),max:e(427),range:e(1580)},array:{len:e(282),min:e(1643),max:"最多${max}个${label}",range:e(408)},pattern:{mismatch:e(715)}}},QRCode:{expired:e(1186),refresh:"点击刷新",scanned:e(1638)},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:e(1795)}};return He[e(1353)]=c,He}var F0,ho;function za(){return ho||(ho=1,F0=pa()),F0}var Ca=za();const Ma=ht(Ca),Ba=e=>(t,n,x)=>{const o=a;return x[o(1665)]=(r,i,...c)=>{const f=o,s=typeof r===f(758)?Rt.produce(r):r;return t(s,i,...c)},e(x[o(1665)],n,x)},Da=Ba;function bo(e){const t=a,n=[];for(const x of Object[t(948)](e)){n[t(1374)](x);const o=e[x];if(o!==null&&typeof o=="object"&&!Array.isArray(o))for(const r of Object.keys(o))n[t(1374)](x+"."+r)}return n}function go(e,t){const n=a,x=e[n(644)]&&typeof e[n(644)]===n(1466)&&!Array[n(1670)](e[n(644)])?{...e[n(644)]}:{};if(t&&typeof t=="object"&&!Array[n(1670)](t))return{...x,...t};if(Array[n(1670)](t)){const o={...x};for(const r of t){if(!r||typeof r!==n(1466))continue;const i=r;i.paramsCode!=null&&(o[String(i[n(397)])]=i[n(1188)])}return o}return x}const La={id:"_",name:"_",sample:{}};function Q0(e,t,n){const x=a,o=e.boundDatasetId!=null?String(e[x(894)]).trim():"",r=o?n[x(462)](c=>c.id===o):void 0,i=r??La;try{const c=go(i,t);return new Function("data",e[x(889)])(c)===!0}catch(c){return console[x(702)]("状态表达式执行失败 ["+e.name+"]:",c),!1}}function yo(e,t,n){for(const x of e)if(Q0(x,t,n))return x}function mo(e,t){const n=a;for(const x of e){for(const o of x[n(466)][n(737)])o[n(894)]===t&&(o[n(894)]=null);x[n(2009)]===n(1489)&&x[n(887)]?.length&&mo(x.children,t)}}function wo(e){const t=a;for(const n of e){for(const x of n[t(466)].statusList)delete x[t(1611)];n[t(2009)]===t(1489)&&n[t(887)]?.[t(1470)]&&wo(n.children)}}const $0=(e,t)=>({id:e||we[a(1448)](),name:t||a(550),nodes:[],canvasConfig:{width:1920,height:1080,background:a(346),showGrid:!0},viewport:{scale:1,positionX:0,positionY:0},selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null,history:{past:[],future:[]}}),Na=()=>{const e=a,t=$0();return{id:we[e(1448)](),name:e(1237),canvases:[t],currentCanvasId:t.id}},vo=Na(),Nn=vo.canvases[0],Sa={root:vo,materials:[],mode:a(495),lineDrawing:{isDrawing:!1,material:null,startPoint:null,endPoint:null},eventFlow:{eventBlocks:[],eventRoots:[],editingEventRootId:null,isEditingEventFlow:!1},dataPool:[],externalHandlerCatalog:[],nodes:Nn[a(362)],canvas:Nn[a(340)],viewport:Nn[a(1849)],selectedNodeId:Nn.selectedNodeId,selectedNodeIds:Nn.selectedNodeIds,selectedStatusId:Nn[a(1314)],history:Nn[a(327)]},hn=(e,t,n)=>({id:we[a(1448)](),type:e,targetId:t,payload:n,timestamp:Date[a(772)]()}),Ae=_0[a(730)]()(Da((e,t)=>({...Sa,addCanvas:n=>{const x=a,o=$0(we[x(1448)](),n||x(1042)+(t()[x(1266)].canvases[x(1470)]+1));return e(r=>{const i=x;r.root[i(1171)][i(1374)](o),r[i(1266)][i(484)]=o.id;const c=o;r.nodes=c[i(362)],r.canvas=c.canvasConfig,r[i(1849)]=c[i(1849)],r[i(498)]=c[i(498)],r.selectedNodeIds=c.selectedNodeIds,r[i(1314)]=c[i(1314)],r[i(327)]=c[i(327)]}),o.id},removeCanvas:n=>{e(x=>{const o=_0x4f97,r=x[o(1266)][o(1171)].findIndex(i=>i.id===n);if(r!==-1&&!(x[o(1266)][o(1171)][o(1470)]<=1)&&(x[o(1266)][o(1171)][o(652)](r,1),x[o(1266)][o(484)]===n)){const i=x[o(1266)][o(1171)][0];x[o(1266)][o(484)]=i.id,x[o(362)]=i[o(362)],x[o(1657)]=i.canvasConfig,x[o(1849)]=i[o(1849)],x[o(498)]=i.selectedNodeId,x[o(1961)]=i[o(1961)],x[o(1314)]=i[o(1314)],x[o(327)]=i[o(327)]}})},switchCanvas:n=>{e(x=>{const o=_0x4f97,r=x[o(1266)][o(1171)][o(462)](i=>i.id===n);r&&(x[o(1266)].currentCanvasId=n,x[o(362)]=r.nodes,x[o(1657)]=r[o(340)],x[o(1849)]=r.viewport,x[o(498)]=r.selectedNodeId,x[o(1961)]=r[o(1961)],x[o(1314)]=r[o(1314)],x[o(327)]=r[o(327)])})},updateCanvasName:(n,x)=>{e(o=>{const r=o.root.canvases.find(i=>i.id===n);r&&(r.name=x)})},getCurrentCanvas:()=>{const n=a,x=t();return x[n(1266)].canvases[n(462)](o=>o.id===x[n(1266)][n(484)])},setSelectedNodeIds:n=>{e(x=>{const o=_0x4f97,r=x.root[o(1171)][o(462)](i=>i.id===x[o(1266)][o(484)]);r&&(r.selectedNodeIds=n,x[o(1961)]=n)})},addSelectedNodeId:n=>{e(x=>{const o=_0x4f97,r=x[o(1266)][o(1171)][o(462)](i=>i.id===x[o(1266)][o(484)]);r&&!r[o(1961)][o(2010)](n)&&(r.selectedNodeIds[o(1374)](n),x.selectedNodeIds=r.selectedNodeIds)})},removeSelectedNodeId:n=>{e(x=>{const o=_0x4f97,r=x[o(1266)].canvases[o(462)](i=>i.id===x[o(1266)][o(484)]);r&&(r[o(1961)]=r[o(1961)][o(990)](i=>i!==n),x[o(1961)]=r[o(1961)])})},clearSelectedNodeIds:()=>{e(n=>{const x=_0x4f97,o=n.root.canvases[x(462)](r=>r.id===n[x(1266)][x(484)]);o&&(o.selectedNodeIds=[],n[x(1961)]=[])})},addNode:(n,x=!0)=>{e(o=>{const r=_0x4f97,i=o[r(1266)][r(1171)][r(462)](f=>f.id===o[r(1266)][r(484)]);if(!i)return;const c={...n,id:n.id||we.nanoid()};i.nodes[r(1374)](c),o.nodes=i[r(362)],x&&(i[r(498)]=c.id,o[r(498)]=c.id,i.history[r(504)].push(hn("NODE_SELECT",c.id)),o[r(327)]=i[r(327)])})},updateNode:(n,x)=>{e(o=>{const r=_0x4f97,i=o.root.canvases[r(462)](f=>f.id===o[r(1266)][r(484)]);if(!i)return;const c=i[r(362)][r(462)](f=>f.id===n);c&&(x[r(611)]&&Object[r(972)](c[r(611)],x[r(611)]),x[r(466)]&&(c.contentInfo={...c[r(466)],...x[r(466)]}),x.name&&(c[r(748)]=x[r(748)]),x.controlInfo&&Object[r(972)](c[r(1898)],x[r(1898)]),i[r(327)].past[r(1374)](hn("PROPERTY_CHANGE",n,x)),o.history=i[r(327)],o[r(362)]=i[r(362)])})},updateNodeStyle:(n,x)=>{e(o=>{const r=_0x4f97,i=o.root[r(1171)][r(462)](f=>f.id===o[r(1266)][r(484)]);if(!i)return;const c=i.nodes[r(462)](f=>f.id===n);c&&(Object[r(972)](c[r(611)],x),i[r(327)].past[r(1374)](hn(r(847),n,{normalStyle:x})),o.history=i[r(327)])})},updateNodeContent:(n,x)=>{e(o=>{const r=_0x4f97,i=o[r(1266)].canvases.find(f=>f.id===o[r(1266)][r(484)]);if(!i)return;const c=i[r(362)].find(f=>f.id===n);c&&(c[r(466)]={...c[r(466)],...x},i[r(327)][r(504)][r(1374)](hn(r(847),n,{contentInfo:x})),o.history=i[r(327)],o[r(362)]=i[r(362)])})},updateNodeControl:(n,x)=>{e(o=>{const r=_0x4f97,i=o.root.canvases[r(462)](f=>f.id===o[r(1266)][r(484)]);if(!i)return;const c=i[r(362)][r(462)](f=>f.id===n);c&&(Object.assign(c[r(1898)],x),i[r(327)][r(504)].push(hn(r(847),n,{controlInfo:x})),o[r(327)]=i.history)})},removeNode:n=>{e(x=>{const o=_0x4f97,r=x[o(1266)].canvases.find(c=>c.id===x[o(1266)][o(484)]);if(!r)return;const i=r.nodes[o(720)](c=>c.id===n);i!==-1&&(r[o(362)][o(652)](i,1),x[o(362)]=r[o(362)],r[o(498)]===n&&(r[o(498)]=null,x[o(498)]=null,r[o(1314)]=null,x[o(1314)]=null),r.selectedNodeIds=r[o(1961)].filter(c=>c!==n),x[o(1961)]=r[o(1961)],r[o(327)][o(504)][o(1374)](hn(o(1811),n)),x[o(327)]=r[o(327)])})},selectNode:n=>{e(x=>{const o=_0x4f97,r=x[o(1266)].canvases[o(462)](i=>i.id===x[o(1266)][o(484)]);r&&(r[o(498)]=n,x[o(498)]=n,r[o(1314)]=null,x.selectedStatusId=null,n&&(r[o(327)][o(504)][o(1374)](hn(o(785),n)),x[o(327)]=r[o(327)]))})},addStatus:(n,x)=>{e(o=>{const r=_0x4f97,i=o[r(1266)][r(1171)].find(s=>s.id===o[r(1266)][r(484)]);if(!i)return;const c=i.nodes[r(462)](s=>s.id===n);if(!c)return;const f={...x,id:we[r(1448)]()};c[r(466)][r(737)][r(1374)](f),i[r(327)][r(504)][r(1374)](hn(r(1491),n,{statusId:f.id})),o[r(327)]=i[r(327)]})},removeStatus:(n,x)=>{e(o=>{const r=_0x4f97,i=o[r(1266)].canvases[r(462)](s=>s.id===o[r(1266)][r(484)]);if(!i)return;const c=i[r(362)].find(s=>s.id===n);if(!c)return;const f=c[r(466)][r(737)][r(720)](s=>s.id===x);f!==-1&&(c[r(466)][r(737)].splice(f,1),c.contentInfo.currentStatusId===x&&(c[r(466)][r(1576)]=void 0),i[r(1314)]===x&&(i[r(1314)]=null,o[r(1314)]=null))})},updateStatus:(n,x,o)=>{e(r=>{const i=_0x4f97,c=r[i(1266)][i(1171)].find(u=>u.id===r.root[i(484)]);if(!c)return;const f=c.nodes.find(u=>u.id===n);if(!f)return;const s=f[i(466)][i(737)][i(462)](u=>u.id===x);s&&Object.assign(s,o)})},selectStatus:n=>{e(x=>{const o=_0x4f97,r=x[o(1266)][o(1171)][o(462)](i=>i.id===x.root[o(484)]);r&&(r[o(1314)]=n,x.selectedStatusId=n)})},evaluateCurrentStatus:(n,x)=>{const o=a,r=t(),i=r.root[o(1171)][o(462)](s=>s.id===r[o(1266)].currentCanvasId);if(!i)return;const c=i[o(362)][o(462)](s=>s.id===n);if(!c)return;const{dataPool:f}=t();for(const s of c.contentInfo[o(737)])if(Q0(s,x,f))return s.id},addDataPoolItem:n=>{const x=a,o=we[x(1448)]();return e(r=>{const i=x;r[i(296)][i(1374)]({...n,id:o,sample:n[i(644)]&&typeof n.sample===i(1466)&&!Array[i(1670)](n[i(644)])?n[i(644)]:{}})}),o},updateDataPoolItem:(n,x)=>{e(o=>{const r=_0x4f97,i=o.dataPool[r(462)](c=>c.id===n);i&&(x[r(748)]!==void 0&&(i[r(748)]=x[r(748)]),x[r(644)]!==void 0&&(i[r(644)]=x.sample&&typeof x.sample===r(1466)&&!Array[r(1670)](x.sample)?x.sample:{}))})},removeDataPoolItem:n=>{e(x=>{const o=_0x4f97,r=x[o(296)].findIndex(i=>i.id===n);if(r!==-1){x[o(296)][o(652)](r,1);for(const i of x[o(1266)][o(1171)])mo(i.nodes,n)}})},setDataPool:n=>{e(x=>{const o=_0x4f97;x.dataPool=n[o(539)](r=>({...r,sample:r.sample&&typeof r[o(644)]=="object"&&!Array[o(1670)](r[o(644)])?r[o(644)]:{}}))})},setEventFlow:n=>{e(x=>{const o=_0x4f97;x.eventFlow={eventBlocks:n.eventBlocks??[],eventRoots:n[o(965)]??[],editingEventRootId:n.editingEventRootId??null,isEditingEventFlow:n.isEditingEventFlow??!1}})},setExternalHandlerCatalog:n=>{e(x=>{const o=_0x4f97,r=new Set;x[o(1783)]=[];for(const i of n){const c=String(i[o(1400)]??"").trim();!c||r.has(c)||(r.add(c),x[o(1783)][o(1374)]({key:c,label:String(i[o(1827)]??"")[o(384)]()||c,description:i[o(1624)]}))}})},addMaterial:n=>{e(x=>{const o=_0x4f97,r={...n,id:we[o(1448)]()};x[o(305)].push(r)})},updateMaterial:(n,x)=>{e(o=>{const r=_0x4f97,i=o[r(305)][r(462)](c=>c.id===n);i&&Object[r(972)](i,x)})},removeMaterial:n=>{e(x=>{const o=_0x4f97,r=x.materials[o(720)](i=>i.id===n);r!==-1&&x[o(305)][o(652)](r,1)})},setViewport:n=>{e(x=>{const o=_0x4f97,r=x[o(1266)][o(1171)].find(i=>i.id===x.root[o(484)]);r&&(Object[o(972)](r[o(1849)],n),x[o(1849)]=r[o(1849)])})},setCanvasConfig:n=>{e(x=>{const o=_0x4f97,r=x[o(1266)][o(1171)][o(462)](i=>i.id===x[o(1266)][o(484)]);r&&(r[o(340)]={...r.canvasConfig,...n},x[o(1657)]=r[o(340)])})},setMode:n=>{e(x=>{const o=_0x4f97;x[o(1144)]=n})},startLineDrawing:n=>{e(x=>{const o=_0x4f97;x[o(1144)]=o(321),x[o(1790)]={isDrawing:!0,material:n,startPoint:null,endPoint:null}})},updateLineDrawing:n=>{e(x=>{const o=_0x4f97;x[o(1790)].isDrawing&&(x[o(1790)][o(1024)]=n)})},endLineDrawing:()=>{e(n=>{n.mode="select",n.lineDrawing={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},cancelLineDrawing:()=>{e(n=>{const x=_0x4f97;n.mode=x(495),n[x(1790)]={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},undo:()=>{e(n=>{const x=_0x4f97,o=n[x(1266)][x(1171)][x(462)](i=>i.id===n[x(1266)][x(484)]);if(!o)return;const r=o[x(327)][x(504)][x(1048)]();r&&(o.history[x(1595)].push(r),n[x(327)]=o[x(327)])})},redo:()=>{e(n=>{const x=_0x4f97,o=n[x(1266)][x(1171)].find(i=>i.id===n[x(1266)].currentCanvasId);if(!o)return;const r=o[x(327)][x(1595)][x(1048)]();r&&(o[x(327)][x(504)][x(1374)](r),n[x(327)]=o[x(327)])})},recordEvent:n=>{e(x=>{const o=_0x4f97,r=x[o(1266)].canvases[o(462)](i=>i.id===x[o(1266)][o(484)]);r&&(r[o(327)][o(504)][o(1374)](n),r[o(327)].future=[],x[o(327)]=r[o(327)])})},exportScheme:()=>{const n=a,x=t();return{version:n(1728),root:x[n(1266)],materials:x[n(305)],dataPool:x[n(296)],eventFlow:x.eventFlow,metadata:{name:x[n(1266)][n(748)],description:"",createdAt:new Date().toISOString(),updatedAt:new Date()[n(892)]()}}},importScheme:n=>{e(x=>{const o=_0x4f97;if(n[o(1266)]){x.root=n.root,x[o(305)]=n[o(305)]||[],x.dataPool=n[o(296)]??[],n[o(678)]&&(x[o(678)]={eventBlocks:n.eventFlow[o(874)]??[],eventRoots:n[o(678)][o(965)]??[],editingEventRootId:n[o(678)][o(511)]??null,isEditingEventFlow:n[o(678)].isEditingEventFlow??!1});const r=x.root[o(1171)].find(i=>i.id===x[o(1266)][o(484)])||x.root[o(1171)][0];r&&(x.root[o(484)]=r.id,x[o(362)]=r[o(362)],x[o(1657)]=r[o(340)],x.viewport=r[o(1849)],x[o(498)]=r[o(498)],x[o(1961)]=r[o(1961)],x[o(1314)]=r[o(1314)],x.history=r.history)}else{const r=$0();r[o(362)]=n[o(362)]||[],x.root[o(1171)]=[r],x[o(1266)].currentCanvasId=r.id,x.materials=n[o(305)]||[],x[o(296)]=n.dataPool??[],n.eventFlow&&(x[o(678)]={eventBlocks:n[o(678)][o(874)]??[],eventRoots:n.eventFlow.eventRoots??[],editingEventRootId:n.eventFlow.editingEventRootId??null,isEditingEventFlow:n[o(678)].isEditingEventFlow??!1}),x[o(362)]=r.nodes,x.canvas=r[o(340)],x.viewport=n[o(1849)]||r[o(1849)],x[o(498)]=null,x[o(1314)]=null,x[o(327)]={past:[],future:[]}}for(const r of x[o(1266)][o(1171)])wo(r[o(362)])})},addEventBlock:n=>{const x=a,o=we[x(1448)]();return e(r=>{const i=x;r[i(678)][i(874)][i(1374)]({...n,id:o})}),o},upsertEventBlock:n=>{e(x=>{const o=_0x4f97,r=x[o(678)][o(874)][o(720)](i=>i.id===n.id);r!==-1?x.eventFlow.eventBlocks[r]={...n}:x[o(678)][o(874)].push({...n})})},updateEventBlock:(n,x)=>{e(o=>{const r=_0x4f97,i=o.eventFlow[r(874)][r(462)](c=>c.id===n);i&&Object[r(972)](i,x)})},removeEventBlock:n=>{e(x=>{const o=_0x4f97,r=x[o(678)].eventBlocks[o(720)](i=>i.id===n);r!==-1&&x[o(678)][o(874)][o(652)](r,1)})},addEventRoot:n=>{const x=we.nanoid();return e(o=>{const r=_0x4f97;o[r(678)][r(965)][r(1374)]({...n,id:x})}),x},updateEventRoot:(n,x)=>{e(o=>{const r=_0x4f97,i=o[r(678)].eventRoots[r(462)](c=>c.id===n);i&&Object[r(972)](i,x)})},removeEventRoot:n=>{e(x=>{const o=_0x4f97,r=x[o(678)].eventRoots[o(720)](i=>i.id===n);r!==-1&&x[o(678)].eventRoots.splice(r,1)})},setEditingEventRoot:n=>{e(x=>{const o=_0x4f97;x[o(678)][o(511)]=n})},setIsEditingEventFlow:n=>{e(x=>{x.eventFlow.isEditingEventFlow=n})},bindNodeEvent:(n,x,o)=>{const r=a,i=we[r(1448)]();return e(c=>{const f=r;c[f(678)].eventRoots[f(1374)]({id:i,bindNodeId:n,eventType:x,flowData:o,enabled:!0})}),i},unbindNodeEvent:(n,x,o)=>{e(r=>{const i=_0x4f97,c=r[i(678)].eventRoots[i(720)](f=>{const s=i;return f[s(1660)]!==n||f[s(1604)]!==x?!1:x===s(1083)?(f[s(1424)]||"")[s(384)]()===(o||"")[s(384)]():!0});c!==-1&&r.eventFlow[i(965)][i(652)](c,1)})},getNodeEventRoots:n=>{const x=a;return t()[x(678)][x(965)].filter(o=>o.bindNodeId===n)}}))),po=[{id:we[a(1448)](),name:"矩形",type:a(1679),src:"data:image/svg+xml,"+encodeURIComponent(a(568))},{id:we[a(1448)](),name:"圆形",type:a(1679),src:a(1774)+encodeURIComponent(a(300))},{id:we.nanoid(),name:"圆角矩形",type:"IMAGE",src:a(1774)+encodeURIComponent(a(1235))},{id:we.nanoid(),name:"阀门",type:a(1679),src:a(1774)+encodeURIComponent(a(1952))},{id:we.nanoid(),name:"泵",type:"IMAGE",src:a(1774)+encodeURIComponent(a(1440))},{id:we[a(1448)](),name:"罐体",type:a(1679),src:a(1774)+encodeURIComponent(a(1556))},{id:we.nanoid(),name:a(850),type:a(739),content:{label:"标签",value:"值",labelStyle:{fontSize:14,fontWeight:a(857),color:"#262626",textAlign:"left"},valueStyle:{fontSize:14,fontWeight:a(1600),color:a(1843),textAlign:a(1014)}}},{id:we[a(1448)](),name:"线条",type:a(1446),config:{thickness:2,lineWeight:2,color:a(572),lineType:"solid"}}],ex=e=>({id:we.nanoid(),name:a(1043),expression:a(1863),material:{...e,id:we[a(1448)]()},boundDatasetId:null}),zo=(e,t,n)=>{const x=a;if(n?.[x(2009)]===x(932)&&n[x(433)]?.[x(362)]){const o=n[x(433)][x(362)].map(u=>({...u,id:we.nanoid()}));let r=1/0,i=1/0,c=-1/0,f=-1/0;o[x(935)](u=>{const d=x,b=u[d(611)].x||0,g=u[d(611)].y||0,y=u[d(611)][d(1030)]||0,h=u[d(611)].height||0;r=Math[d(617)](r,b),i=Math[d(617)](i,g),c=Math[d(1495)](c,b+y),f=Math[d(1495)](f,g+h)});const s=o[x(539)](u=>({...u,normalStyle:{...u[x(611)],x:(u[x(611)].x||0)-r,y:(u[x(611)].y||0)-i,scale:void 0}}));return{id:we[x(1448)](),name:n.name||x(1535),type:x(1489),normalStyle:{width:c-r,height:f-i,x:e,y:t},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:s}}return{id:we[x(1448)](),name:x(1539),type:x(1600),normalStyle:{width:120,height:100,x:e,y:t,background:x(912),padding:8},contentInfo:{statusList:n?[ex(n)]:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}}},{Panel:Kn}=z[a(792)],{Text:_t}=z.Typography,Co=({onUploadSvg:e})=>{const t=a,{materials:n,addMaterial:x,removeMaterial:o,selectedStatusId:r,selectStatus:i,mode:c,lineDrawing:f,startLineDrawing:s,cancelLineDrawing:u}=Ae(),[d,b]=N[t(1641)]([t(764),t(1369),t(1992),t(1841)]),g=p=>{const v=t,w=new FileReader;return w[v(1948)]=C=>{const P=v,A=C[P(983)]?.[P(1404)];x({name:p[P(748)].replace(P(1919),""),type:"IMAGE",src:A})},w.readAsDataURL(p),!1},y={basic:n[t(990)](p=>["矩形","圆形",t(660)][t(2010)](p[t(748)])),device:n[t(990)](p=>["阀门","泵","罐体"][t(2010)](p[t(748)])||p[t(2009)]==="IMAGE"&&!["矩形","圆形",t(660)][t(2010)](p.name)&&p[t(748)]!=="自定义"),text:n.filter(p=>p[t(2009)]===t(739)),line:n.filter(p=>p[t(2009)]===t(1446)),group:n[t(990)](p=>p.type==="CUSTOM"&&p.config?.[t(362)]),custom:n.filter(p=>p[t(2009)]==="CUSTOM"&&!p.config?.[t(362)]||p[t(2009)]===t(1679)&&!["矩形","圆形",t(660),"阀门","泵","罐体"][t(2010)](p[t(748)]))},h=(p,v)=>{const w=t;p.dataTransfer.effectAllowed="copy",p[w(1493)][w(1845)](w(1844),JSON[w(1148)](v));const C=p[w(1566)][w(510)](w(922));C&&p.dataTransfer.setDragImage(C,20,20)},m=p=>{const v=t;p.type===v(1446)&&s(p)},M=(p,v=!1)=>{const w=t,C=v===!0,P=c===w(321)&&C&&f[w(448)]?.id===p.id;return l.jsx(z[w(1822)][w(1373)],{draggable:!C,onDragStart:A=>h(A,p),onClick:()=>C&&m(p),className:w(1532)+w(C?635:1351)+w(662)+w(690)+`
3
+ `+(P?"bg-blue-50 ring-2 ring-blue-400":"")+w(917),actions:[C?l[w(1848)](z.Button,{type:"text",size:w(1363),icon:l[w(1848)](ae[w(289)],{}),onClick:A=>{A.stopPropagation(),m(p)},children:"绘制"},w(419)):null,l.jsx(z.Button,{type:w(1992),size:"small",danger:!0,icon:l.jsx(ae[w(1246)],{}),onClick:A=>{A.stopPropagation(),o(p.id)}},w(656))].filter(Boolean),children:l[w(272)](w(1929),{className:w(1267)+(C?"":w(514)),children:[l.jsx("div",{className:w(562),children:p.type===w(1679)&&p[w(1185)]?l.jsx(z[w(1385)],{src:p.src,alt:p[w(748)],width:40,height:40,preview:!1}):p[w(2009)]===w(739)?l[w(1848)]("span",{className:w(1734),children:"T"}):p[w(2009)]==="LINE"?l[w(1848)](w(1929),{className:w(714)}):p[w(2009)]===w(932)&&p[w(433)]?.nodes?l[w(1848)](w(888),{className:"text-xs text-blue-500 font-bold",children:"G"}):l[w(1848)](w(888),{className:w(1734),children:"?"})}),l[w(272)](w(1929),{className:w(1781),children:[l[w(1848)](_t,{strong:!0,className:w(819),children:p[w(748)]}),l[w(272)]("div",{className:w(1501),children:[l.jsx(_t,{type:w(1884),className:"text-xs",children:p.type}),P&&l.jsx(z[w(863)],{color:w(475),className:w(556),children:"绘制中"})]})]})]})},p.id)};return l[t(272)](t(1929),{className:t(1531),children:[l[t(272)](t(1929),{className:"p-4 border-b border-gray-200",children:[l.jsx("h3",{className:t(391),children:t(1947)}),l[t(1848)](_t,{type:t(1884),className:"text-sm",children:t(865)})]}),l[t(1848)](t(1929),{className:t(1039),children:e?l[t(1848)](z[t(1817)],{icon:l[t(1848)](ae[t(989)],{}),block:!0,type:t(1108),onClick:()=>{const p=t;e()[p(1970)](v=>{console.log(p(1896),v)})},children:t(1689)}):l[t(1848)](z[t(1111)],{accept:t(1919),beforeUpload:g,showUploadList:!1,children:l[t(1848)](z[t(1817)],{icon:l.jsx(ae[t(989)],{}),block:!0,type:t(1108),children:"上传 SVG"})})}),l.jsx(t(1929),{className:"flex-1 overflow-y-auto p-2",children:l[t(272)](z[t(792)],{activeKey:d,onChange:p=>b(p),ghost:!0,expandIconPosition:t(513),children:[l[t(1848)](Kn,{header:t(476),children:l[t(1848)](z[t(1822)],{dataSource:y[t(764)],renderItem:p=>M(p,!1),locale:{emptyText:l[t(1848)](z.Empty,{description:t(1579),image:z[t(1430)].PRESENTED_IMAGE_SIMPLE})}})},"basic"),l[t(1848)](Kn,{header:t(679),children:l[t(1848)](z[t(1822)],{dataSource:y[t(1369)],renderItem:p=>M(p,!1),locale:{emptyText:l[t(1848)](z[t(1430)],{description:t(1579),image:z.Empty[t(1317)]})}})},t(1369)),l.jsx(Kn,{header:"文本",children:l.jsx(z[t(1822)],{dataSource:y.text,renderItem:p=>M(p,!1),locale:{emptyText:l[t(1848)](z[t(1430)],{description:t(1579),image:z[t(1430)][t(1317)]})}})},t(1992)),l.jsxs(Kn,{header:l[t(272)](t(1929),{className:t(292),children:[l[t(1848)](t(888),{children:"线条"}),c===t(321)&&l.jsx(z[t(863)],{color:t(475),className:t(556),children:t(431)})]}),children:[l[t(1848)](z[t(1822)],{dataSource:y[t(1841)],renderItem:p=>M(p,!0),locale:{emptyText:l[t(1848)](z[t(1430)],{description:t(1579),image:z[t(1430)][t(1317)]})}}),c===t(321)&&l[t(272)]("div",{className:t(659),children:[l[t(1848)](t(1929),{children:t(903)}),l[t(1848)](t(1929),{children:t(1054)})]})]},t(1841)),y[t(1489)][t(1470)]>0&&l[t(1848)](Kn,{header:"群组",children:l[t(1848)](z[t(1822)],{dataSource:y[t(1489)],renderItem:p=>M(p,!1),locale:{emptyText:l[t(1848)](z[t(1430)],{description:t(1579),image:z.Empty[t(1317)]})}})},"group"),y.custom[t(1470)]>0&&l[t(1848)](Kn,{header:t(337),children:l[t(1848)](z[t(1822)],{dataSource:y[t(686)],renderItem:p=>M(p,!1),locale:{emptyText:l[t(1848)](z.Empty,{description:t(1579),image:z[t(1430)][t(1317)]})}})},t(686))]})}),l[t(1848)](t(1929),{className:t(2004),children:l[t(1848)](_t,{type:t(1884),className:t(556),children:c===t(321)?l[t(1848)](l.Fragment,{children:"💡 提示:点击绘制线段,可连续绘制多段线,双击结束绘制,ESC 取消"}):l.jsx(l[t(1555)],{children:t(1871)})})})]})};var nx=function(e,t){return nx=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,x){const o=_0x4f97;n[o(1101)]=x}||function(n,x){const o=_0x4f97;for(var r in x)Object[o(329)][o(309)][o(643)](x,r)&&(n[r]=x[r])},nx(e,t)};function bn(e,t){const n=a;if(typeof t!==n(758)&&t!==null)throw new TypeError(n(1686)+String(t)+n(1914));nx(e,t);function x(){const o=n;this[o(1071)]=e}e[n(329)]=t===null?Object[n(730)](t):(x[n(329)]=t[n(329)],new x)}function ka(e,t,n,x){function o(r){return r instanceof n?r:new n(function(i){i(r)})}return new(n||(n=Promise))(function(r,i){function c(u){const d=_0x4f97;try{s(x[d(388)](u))}catch(b){i(b)}}function f(u){const d=_0x4f97;try{s(x[d(960)](u))}catch(b){i(b)}}function s(u){const d=_0x4f97;u.done?r(u[d(1188)]):o(u[d(1188)])[d(967)](c,f)}s((x=x.apply(e,t||[])).next())})}function Mo(e,t){const n=a;var x={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,r,i,c=Object[n(730)]((typeof Iterator=="function"?Iterator:Object)[n(329)]);return c.next=f(0),c[n(960)]=f(1),c.return=f(2),typeof Symbol===n(758)&&(c[Symbol[n(1836)]]=function(){return this}),c;function f(u){return function(d){return s([u,d])}}function s(u){const d=n;if(o)throw new TypeError("Generator is already executing.");for(;c&&(c=0,u[0]&&(x=0)),x;)try{if(o=1,r&&(i=u[0]&2?r[d(1678)]:u[0]?r[d(960)]||((i=r[d(1678)])&&i.call(r),0):r[d(388)])&&!(i=i[d(643)](r,u[1])).done)return i;switch(r=0,i&&(u=[u[0]&2,i[d(1188)]]),u[0]){case 0:case 1:i=u;break;case 4:return x[d(1827)]++,{value:u[1],done:!1};case 5:x[d(1827)]++,r=u[1],u=[0];continue;case 7:u=x[d(902)][d(1048)](),x.trys[d(1048)]();continue;default:if(i=x[d(1442)],!(i=i[d(1470)]>0&&i[i[d(1470)]-1])&&(u[0]===6||u[0]===2)){x=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){x[d(1827)]=u[1];break}if(u[0]===6&&x[d(1827)]<i[1]){x[d(1827)]=i[1],i=u;break}if(i&&x[d(1827)]<i[2]){x[d(1827)]=i[2],x[d(902)][d(1374)](u);break}i[2]&&x[d(902)][d(1048)](),x[d(1442)][d(1048)]();continue}u=t.call(e,x)}catch(b){u=[6,b],r=0}finally{o=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function Zn(e){const t=a;var n=typeof Symbol===t(758)&&Symbol[t(1836)],x=n&&e[n],o=0;if(x)return x[t(643)](e);if(e&&typeof e.length===t(1384))return{next:function(){return e&&o>=e[t(1470)]&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t(n?1198:1004))}function Ft(e,t){const n=a;var x=typeof Symbol===n(758)&&e[Symbol[n(1836)]];if(!x)return e;var o=x.call(e),r,i=[],c;try{for(;(t===void 0||t-- >0)&&!(r=o[n(388)]())[n(416)];)i[n(1374)](r[n(1188)])}catch(f){c={error:f}}finally{try{r&&!r.done&&(x=o[n(1678)])&&x[n(643)](o)}finally{if(c)throw c.error}}return i}function Qt(e,t,n){const x=a;if(n||arguments.length===2)for(var o=0,r=t[x(1470)],i;o<r;o++)(i||!(o in t))&&(i||(i=Array[x(329)][x(945)][x(643)](t,0,o)),i[o]=t[o]);return e[x(1565)](i||Array[x(329)][x(945)].call(t))}function Rn(e){return this instanceof Rn?(this.v=e,this):new Rn(e)}function Pa(e,t,n){const x=a;if(!Symbol[x(1429)])throw new TypeError("Symbol.asyncIterator is not defined.");var o=n[x(1718)](e,t||[]),r,i=[];return r=Object[x(730)]((typeof AsyncIterator===x(758)?AsyncIterator:Object)[x(329)]),f(x(388)),f(x(960)),f("return",c),r[Symbol[x(1429)]]=function(){return this},r;function c(y){return function(h){const m=_0x4f97;return Promise.resolve(h)[m(967)](y,b)}}function f(y,h){o[y]&&(r[y]=function(m){return new Promise(function(M,p){i[_0x4f97(1374)]([y,m,M,p])>1||s(y,m)})},h&&(r[y]=h(r[y])))}function s(y,h){try{u(o[y](h))}catch(m){g(i[0][3],m)}}function u(y){const h=x;y[h(1188)]instanceof Rn?Promise[h(1018)](y[h(1188)].v)[h(967)](d,b):g(i[0][2],y)}function d(y){s(x(388),y)}function b(y){s("throw",y)}function g(y,h){const m=x;y(h),i[m(1350)](),i[m(1470)]&&s(i[0][0],i[0][1])}}function Ia(e){const t=a;if(!Symbol[t(1429)])throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol[t(1429)]],x;return n?n[t(643)](e):(e=typeof Zn===t(758)?Zn(e):e[Symbol[t(1836)]](),x={},o(t(388)),o(t(960)),o(t(1678)),x[Symbol[t(1429)]]=function(){return this},x);function o(i){x[i]=e[i]&&function(c){return new Promise(function(f,s){const u=_0x4f97;c=e[i](c),r(f,s,c.done,c[u(1188)])})}}function r(i,c,f,s){const u=t;Promise[u(1018)](s)[u(967)](function(d){i({value:d,done:f})},c)}}typeof SuppressedError=="function"&&SuppressedError;function ke(e){return typeof e===a(758)}function tx(e){const t=a;var n=function(o){const r=_0x4f97;Error[r(643)](o),o[r(763)]=new Error().stack},x=e(n);return x.prototype=Object[t(730)](Error[t(329)]),x.prototype[t(1071)]=x,x}var xx=tx(function(e){return function(n){const x=_0x4f97;e(this),this.message=n?n[x(1470)]+x(1782)+n[x(539)](function(o,r){const i=x;return r+1+") "+o[i(1805)]()})[x(1498)](`
4
+ `):"",this[x(748)]=x(1824),this[x(1821)]=n}});function $t(e,t){const n=a;if(e){var x=e[n(1445)](t);0<=x&&e.splice(x,1)}}var zt=(function(){const e=a;function t(n){const x=_0x4f97;this.initialTeardown=n,this[x(526)]=!1,this._parentage=null,this[x(1096)]=null}return t[e(329)][e(798)]=function(){const n=e;var x,o,r,i,c;if(!this.closed){this[n(526)]=!0;var f=this[n(1591)];if(f)if(this[n(1591)]=null,Array.isArray(f))try{for(var s=Zn(f),u=s[n(388)]();!u.done;u=s[n(388)]()){var d=u[n(1188)];d[n(1577)](this)}}catch(M){x={error:M}}finally{try{u&&!u[n(416)]&&(o=s[n(1678)])&&o[n(643)](s)}finally{if(x)throw x[n(1999)]}}else f[n(1577)](this);var b=this[n(1462)];if(ke(b))try{b()}catch(M){c=M instanceof xx?M[n(1821)]:[M]}var g=this[n(1096)];if(g){this[n(1096)]=null;try{for(var y=Zn(g),h=y[n(388)]();!h[n(416)];h=y[n(388)]()){var m=h[n(1188)];try{Lo(m)}catch(M){c=c??[],M instanceof xx?c=Qt(Qt([],Ft(c)),Ft(M[n(1821)])):c[n(1374)](M)}}}catch(M){r={error:M}}finally{try{h&&!h[n(416)]&&(i=y[n(1678)])&&i[n(643)](y)}finally{if(r)throw r[n(1999)]}}}if(c)throw new xx(c)}},t.prototype[e(284)]=function(n){const x=e;var o;if(n&&n!==this)if(this[x(526)])Lo(n);else{if(n instanceof t){if(n.closed||n[x(1769)](this))return;n._addParent(this)}(this[x(1096)]=(o=this._finalizers)!==null&&o!==void 0?o:[])[x(1374)](n)}},t[e(329)][e(1769)]=function(n){const x=e;var o=this._parentage;return o===n||Array[x(1670)](o)&&o.includes(n)},t.prototype[e(1617)]=function(n){const x=e;var o=this[x(1591)];this[x(1591)]=Array[x(1670)](o)?(o.push(n),o):o?[o,n]:n},t.prototype[e(1362)]=function(n){const x=e;var o=this[x(1591)];o===n?this._parentage=null:Array[x(1670)](o)&&$t(o,n)},t[e(329)][e(1577)]=function(n){const x=e;var o=this[x(1096)];o&&$t(o,n),n instanceof t&&n[x(1362)](this)},t[e(723)]=(function(){const n=e;var x=new t;return x[n(526)]=!0,x})(),t})(),Bo=zt[a(723)];function Do(e){const t=a;return e instanceof zt||e&&"closed"in e&&ke(e[t(1577)])&&ke(e[t(284)])&&ke(e.unsubscribe)}function Lo(e){ke(e)?e():e.unsubscribe()}var Ya={Promise:void 0},ja={setTimeout:function(e,t){const n=a;for(var x=[],o=2;o<arguments[n(1470)];o++)x[o-2]=arguments[o];return setTimeout[n(1718)](void 0,Qt([e,t],Ft(x)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function No(e){ja[a(673)](function(){throw e})}function So(){}function e0(e){e()}var ox=(function(e){const t=a;bn(n,e);function n(x){const o=_0x4f97;var r=e[o(643)](this)||this;return r[o(1482)]=!1,x?(r[o(383)]=x,Do(x)&&x[o(284)](r)):r[o(383)]=Ua,r}return n[t(730)]=function(x,o,r){return new rx(x,o,r)},n[t(329)][t(388)]=function(x){const o=t;this[o(1482)]||this[o(1911)](x)},n[t(329)][t(1999)]=function(x){const o=t;this[o(1482)]||(this[o(1482)]=!0,this[o(1488)](x))},n[t(329)][t(1812)]=function(){const x=t;this.isStopped||(this[x(1482)]=!0,this[x(1773)]())},n[t(329)][t(798)]=function(){const x=t;!this[x(526)]&&(this[x(1482)]=!0,e[x(329)][x(798)][x(643)](this),this[x(383)]=null)},n.prototype[t(1911)]=function(x){const o=t;this.destination[o(388)](x)},n[t(329)][t(1488)]=function(x){const o=t;try{this[o(383)][o(1999)](x)}finally{this[o(798)]()}},n[t(329)][t(1773)]=function(){const x=t;try{this.destination[x(1812)]()}finally{this[x(798)]()}},n})(zt),Aa=(function(){const e=a;function t(n){const x=_0x4f97;this[x(1789)]=n}return t[e(329)][e(388)]=function(n){const x=e;var o=this[x(1789)];if(o[x(388)])try{o.next(n)}catch(r){n0(r)}},t.prototype[e(1999)]=function(n){const x=e;var o=this[x(1789)];if(o[x(1999)])try{o[x(1999)](n)}catch(r){n0(r)}else n0(n)},t[e(329)][e(1812)]=function(){const n=e;var x=this[n(1789)];if(x[n(1812)])try{x.complete()}catch(o){n0(o)}},t})(),rx=(function(e){bn(t,e);function t(n,x,o){const r=_0x4f97;var i=e[r(643)](this)||this,c;return ke(n)||!n?c={next:n??void 0,error:x??void 0,complete:o??void 0}:c=n,i[r(383)]=new Aa(c),i}return t})(ox);function n0(e){No(e)}function Ea(e){throw e}var Ua={closed:!0,next:So,error:Ea,complete:So},ix=(function(){const e=a;return typeof Symbol===e(758)&&Symbol[e(1964)]||e(1720)})();function ko(e){return e}function Oa(e){const t=a;return e[t(1470)]===0?ko:e[t(1470)]===1?e[0]:function(x){return e[t(838)](function(r,i){return i(r)},x)}}var Xe=(function(){const e=a;function t(n){const x=_0x4f97;n&&(this[x(1499)]=n)}return t[e(329)][e(1804)]=function(n){const x=e;var o=new t;return o[x(379)]=this,o[x(1840)]=n,o},t[e(329)][e(1854)]=function(n,x,o){var r=this,i=Ha(n)?n:new rx(n,x,o);return e0(function(){const c=_0x4f97;var f=r,s=f[c(1840)],u=f[c(379)];i[c(284)](s?s[c(643)](i,u):u?r[c(1499)](i):r[c(1730)](i))}),i},t[e(329)][e(1730)]=function(n){try{return this._subscribe(n)}catch(x){n.error(x)}},t[e(329)][e(935)]=function(n,x){var o=this;return x=Po(x),new x(function(r,i){const c=_0x4f97;var f=new rx({next:function(s){try{n(s)}catch(u){i(u),f.unsubscribe()}},error:i,complete:r});o[c(1854)](f)})},t[e(329)][e(1499)]=function(n){const x=e;var o;return(o=this[x(379)])===null||o===void 0?void 0:o.subscribe(n)},t[e(329)][ix]=function(){return this},t[e(329)][e(360)]=function(){const n=e;for(var x=[],o=0;o<arguments[n(1470)];o++)x[o]=arguments[o];return Oa(x)(this)},t[e(329)].toPromise=function(n){var x=this;return n=Po(n),new n(function(o,r){const i=_0x4f97;var c;x[i(1854)](function(f){return c=f},function(f){return r(f)},function(){return o(c)})})},t[e(730)]=function(n){return new t(n)},t})();function Po(e){var t;return(t=e??Ya.Promise)!==null&&t!==void 0?t:Promise}function Ga(e){const t=a;return e&&ke(e[t(388)])&&ke(e[t(1999)])&&ke(e[t(1812)])}function Ha(e){return e&&e instanceof ox||Ga(e)&&Do(e)}function Va(e){return ke(e?.[a(1804)])}function Sn(e){return function(t){const n=_0x4f97;if(Va(t))return t[n(1804)](function(x){const o=n;try{return e(x,this)}catch(r){this[o(1999)](r)}});throw new TypeError(n(1794))}}function kn(e,t,n,x,o){return new Ta(e,t,n,x,o)}var Ta=(function(e){const t=a;bn(n,e);function n(x,o,r,i,c,f){const s=_0x4f97;var u=e[s(643)](this,x)||this;return u.onFinalize=c,u[s(1392)]=f,u[s(1911)]=o?function(d){const b=s;try{o(d)}catch(g){x[b(1999)](g)}}:e[s(329)][s(1911)],u._error=i?function(d){const b=s;try{i(d)}catch(g){x.error(g)}finally{this[b(798)]()}}:e[s(329)]._error,u[s(1773)]=r?function(){try{r()}catch(d){x.error(d)}finally{this.unsubscribe()}}:e[s(329)][s(1773)],u}return n[t(329)][t(798)]=function(){const x=t;var o;if(!this[x(1392)]||this.shouldUnsubscribe()){var r=this[x(526)];e.prototype.unsubscribe[x(643)](this),!r&&((o=this[x(315)])===null||o===void 0||o.call(this))}},n})(ox),qa=tx(function(e){return function(){const n=_0x4f97;e(this),this.name=n(1211),this[n(333)]="object unsubscribed"}}),Io=(function(e){const t=a;bn(n,e);function n(){const x=_0x4f97;var o=e[x(643)](this)||this;return o[x(526)]=!1,o[x(1967)]=null,o[x(1302)]=[],o[x(1482)]=!1,o[x(997)]=!1,o[x(1190)]=null,o}return n[t(329)][t(1804)]=function(x){var o=new Yo(this,this);return o.operator=x,o},n.prototype._throwIfClosed=function(){if(this[t(526)])throw new qa},n[t(329)].next=function(x){var o=this;e0(function(){const r=_0x4f97;var i,c;if(o[r(1930)](),!o[r(1482)]){!o[r(1967)]&&(o.currentObservers=Array[r(602)](o[r(1302)]));try{for(var f=Zn(o.currentObservers),s=f[r(388)]();!s[r(416)];s=f[r(388)]()){var u=s[r(1188)];u.next(x)}}catch(d){i={error:d}}finally{try{s&&!s[r(416)]&&(c=f[r(1678)])&&c.call(f)}finally{if(i)throw i[r(1999)]}}}})},n[t(329)].error=function(x){var o=this;e0(function(){const r=_0x4f97;if(o._throwIfClosed(),!o[r(1482)]){o[r(997)]=o[r(1482)]=!0,o[r(1190)]=x;for(var i=o[r(1302)];i[r(1470)];)i[r(1350)]()[r(1999)](x)}})},n[t(329)].complete=function(){var x=this;e0(function(){const o=_0x4f97;if(x[o(1930)](),!x[o(1482)]){x[o(1482)]=!0;for(var r=x[o(1302)];r[o(1470)];)r[o(1350)]().complete()}})},n[t(329)][t(798)]=function(){const x=t;this[x(1482)]=this[x(526)]=!0,this[x(1302)]=this[x(1967)]=null},Object[t(754)](n[t(329)],t(1303),{get:function(){var x;return((x=this.observers)===null||x===void 0?void 0:x.length)>0},enumerable:!1,configurable:!0}),n[t(329)]._trySubscribe=function(x){const o=t;return this._throwIfClosed(),e[o(329)][o(1730)].call(this,x)},n[t(329)][t(1499)]=function(x){const o=t;return this[o(1930)](),this._checkFinalizedStatuses(x),this[o(561)](x)},n.prototype[t(561)]=function(x){const o=t;var r=this,i=this,c=i[o(997)],f=i[o(1482)],s=i[o(1302)];return c||f?Bo:(this[o(1967)]=null,s[o(1374)](x),new zt(function(){const u=o;r[u(1967)]=null,$t(s,x)}))},n.prototype._checkFinalizedStatuses=function(x){const o=t;var r=this,i=r.hasError,c=r[o(1190)],f=r[o(1482)];i?x.error(c):f&&x.complete()},n.prototype[t(278)]=function(){const x=t;var o=new Xe;return o[x(379)]=this,o},n[t(730)]=function(x,o){return new Yo(x,o)},n})(Xe),Yo=(function(e){const t=a;bn(n,e);function n(x,o){const r=_0x4f97;var i=e[r(643)](this)||this;return i.destination=x,i[r(379)]=o,i}return n[t(329)][t(388)]=function(x){const o=t;var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r[o(388)])===null||i===void 0||i[o(643)](r,x)},n[t(329)][t(1999)]=function(x){const o=t;var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.error)===null||i===void 0||i[o(643)](r,x)},n[t(329)][t(1812)]=function(){const x=t;var o,r;(r=(o=this[x(383)])===null||o===void 0?void 0:o[x(1812)])===null||r===void 0||r[x(643)](o)},n[t(329)]._subscribe=function(x){const o=t;var r,i;return(i=(r=this.source)===null||r===void 0?void 0:r[o(1854)](x))!==null&&i!==void 0?i:Bo},n})(Io),Wa={now:function(){return Date[a(772)]()}},Xa=(function(e){const t=a;bn(n,e);function n(x,o){return e[_0x4f97(643)](this)||this}return n[t(329)][t(928)]=function(x,o){return this},n})(zt),jo={setInterval:function(e,t){const n=a;for(var x=[],o=2;o<arguments.length;o++)x[o-2]=arguments[o];return setInterval[n(1718)](void 0,Qt([e,t],Ft(x)))},clearInterval:function(e){return clearInterval(e)},delegate:void 0},Ka=(function(e){const t=a;bn(n,e);function n(x,o){const r=_0x4f97;var i=e[r(643)](this,x,o)||this;return i[r(992)]=x,i[r(1417)]=o,i[r(318)]=!1,i}return n[t(329)][t(928)]=function(x,o){const r=t;var i;if(o===void 0&&(o=0),this[r(526)])return this;this[r(365)]=x;var c=this.id,f=this.scheduler;return c!=null&&(this.id=this[r(767)](f,c,o)),this.pending=!0,this[r(1167)]=o,this.id=(i=this.id)!==null&&i!==void 0?i:this[r(1917)](f,this.id,o),this},n[t(329)][t(1917)]=function(x,o,r){const i=t;return r===void 0&&(r=0),jo[i(1049)](x[i(869)][i(268)](x,this),r)},n.prototype[t(767)]=function(x,o,r){const i=t;return r===void 0&&(r=0),r!=null&&this[i(1167)]===r&&this[i(318)]===!1?o:(o!=null&&jo[i(1536)](o),void 0)},n[t(329)].execute=function(x,o){const r=t;if(this[r(526)])return new Error("executing a cancelled action");this[r(318)]=!1;var i=this[r(1326)](x,o);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this[r(767)](this[r(992)],this.id,null))},n.prototype[t(1326)]=function(x,o){const r=t;var i=!1,c;try{this.work(x)}catch(f){i=!0,c=f||new Error(r(1431))}if(i)return this[r(798)](),c},n.prototype.unsubscribe=function(){const x=t;if(!this.closed){var o=this,r=o.id,i=o[x(992)],c=i.actions;this.work=this[x(365)]=this.scheduler=null,this.pending=!1,$t(c,this),r!=null&&(this.id=this[x(767)](i,r,null)),this[x(1167)]=null,e.prototype.unsubscribe.call(this)}},n})(Xa),Ao=(function(){const e=a;function t(n,x){const o=_0x4f97;x===void 0&&(x=t[o(772)]),this[o(1639)]=n,this.now=x}return t[e(329)][e(928)]=function(n,x,o){return x===void 0&&(x=0),new this.schedulerActionCtor(this,n).schedule(o,x)},t.now=Wa[e(772)],t})(),Za=(function(e){const t=a;bn(n,e);function n(x,o){const r=_0x4f97;o===void 0&&(o=Ao[r(772)]);var i=e.call(this,x,o)||this;return i[r(497)]=[],i._active=!1,i}return n[t(329)][t(869)]=function(x){const o=t;var r=this[o(497)];if(this._active){r[o(1374)](x);return}var i;this[o(1003)]=!0;do if(i=x[o(839)](x[o(365)],x[o(1167)]))break;while(x=r[o(1350)]());if(this[o(1003)]=!1,i){for(;x=r[o(1350)]();)x.unsubscribe();throw i}},n})(Ao),Ra=new Za(Ka);function Ja(e){return e&&ke(e[a(928)])}function _a(e){return e[e.length-1]}function Fa(e){return Ja(_a(e))?e.pop():void 0}var Eo=function(e){const t=a;return e&&typeof e.length===t(1384)&&typeof e!==t(758)};function Uo(e){return ke(e?.[a(967)])}function Oo(e){return ke(e[ix])}function Go(e){return Symbol.asyncIterator&&ke(e?.[Symbol[a(1429)]])}function Ho(e){const t=a;return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+t(1268))}function Qa(){const e=a;return typeof Symbol!==e(758)||!Symbol[e(1836)]?e(505):Symbol[e(1836)]}var Vo=Qa();function To(e){return ke(e?.[Vo])}function qo(e){return Pa(this,arguments,function(){var n,x,o,r;return Mo(this,function(i){const c=_0x4f97;switch(i[c(1827)]){case 0:n=e[c(1180)](),i.label=1;case 1:i[c(1442)].push([1,,9,10]),i[c(1827)]=2;case 2:return[4,Rn(n[c(698)]())];case 3:return x=i[c(1283)](),o=x[c(1188)],r=x[c(416)],r?[4,Rn(void 0)]:[3,5];case 4:return[2,i[c(1283)]()];case 5:return[4,Rn(o)];case 6:return[4,i.sent()];case 7:return i.sent(),[3,2];case 8:return[3,10];case 9:return n[c(1700)](),[7];case 10:return[2]}})})}function Wo(e){return ke(e?.getReader)}function Pn(e){if(e instanceof Xe)return e;if(e!=null){if(Oo(e))return $a(e);if(Eo(e))return es(e);if(Uo(e))return ns(e);if(Go(e))return Xo(e);if(To(e))return ts(e);if(Wo(e))return xs(e)}throw Ho(e)}function $a(e){return new Xe(function(t){const n=_0x4f97;var x=e[ix]();if(ke(x[n(1854)]))return x[n(1854)](t);throw new TypeError(n(877))})}function es(e){return new Xe(function(t){const n=_0x4f97;for(var x=0;x<e[n(1470)]&&!t.closed;x++)t[n(388)](e[x]);t[n(1812)]()})}function ns(e){return new Xe(function(t){const n=_0x4f97;e.then(function(x){const o=_0x4f97;!t[o(526)]&&(t[o(388)](x),t[o(1812)]())},function(x){return t.error(x)})[n(967)](null,No)})}function ts(e){return new Xe(function(t){const n=_0x4f97;var x,o;try{for(var r=Zn(e),i=r.next();!i.done;i=r[n(388)]()){var c=i[n(1188)];if(t[n(388)](c),t.closed)return}}catch(f){x={error:f}}finally{try{i&&!i.done&&(o=r.return)&&o[n(643)](r)}finally{if(x)throw x[n(1999)]}}t[n(1812)]()})}function Xo(e){return new Xe(function(t){const n=_0x4f97;os(e,t)[n(1970)](function(x){return t[n(1999)](x)})})}function xs(e){return Xo(qo(e))}function os(e,t){var n,x,o,r;return ka(this,void 0,void 0,function(){var i,c;return Mo(this,function(f){const s=_0x4f97;switch(f[s(1827)]){case 0:f[s(1442)][s(1374)]([0,5,6,11]),n=Ia(e),f.label=1;case 1:return[4,n.next()];case 2:if(x=f[s(1283)](),!!x[s(416)])return[3,4];if(i=x.value,t[s(388)](i),t.closed)return[2];f.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return c=f[s(1283)](),o={error:c},[3,11];case 6:return f.trys[s(1374)]([6,,9,10]),x&&!x[s(416)]&&(r=n[s(1678)])?[4,r[s(643)](n)]:[3,8];case 7:f.sent(),f.label=8;case 8:return[3,10];case 9:if(o)throw o[s(1999)];return[7];case 10:return[7];case 11:return t[s(1812)](),[2]}})})}function gn(e,t,n,x,o){const r=a;x===void 0&&(x=0),o===void 0&&(o=!1);var i=t.schedule(function(){const c=_0x4f97;n(),o?e[c(284)](this[c(928)](null,x)):this[c(798)]()},x);if(e[r(284)](i),!o)return i}function Ko(e,t){return t===void 0&&(t=0),Sn(function(n,x){n[_0x4f97(1854)](kn(x,function(r){return gn(x,e,function(){return x[_0x4f97(388)](r)},t)},function(){return gn(x,e,function(){return x.complete()},t)},function(r){return gn(x,e,function(){return x.error(r)},t)}))})}function Zo(e,t){return t===void 0&&(t=0),Sn(function(n,x){const o=_0x4f97;x[o(284)](e[o(928)](function(){return n[o(1854)](x)},t))})}function rs(e,t){return Pn(e).pipe(Zo(t),Ko(t))}function is(e,t){const n=a;return Pn(e)[n(360)](Zo(t),Ko(t))}function cs(e,t){return new Xe(function(n){var x=0;return t.schedule(function(){const o=_0x4f97;x===e[o(1470)]?n[o(1812)]():(n.next(e[x++]),!n[o(526)]&&this.schedule())})})}function as(e,t){return new Xe(function(n){var x;return gn(n,t,function(){x=e[Vo](),gn(n,t,function(){const o=_0x4f97;var r,i,c;try{r=x[o(388)](),i=r[o(1188)],c=r[o(416)]}catch(f){n.error(f);return}c?n.complete():n[o(388)](i)},0,!0)}),function(){const o=_0x4f97;return ke(x?.[o(1678)])&&x[o(1678)]()}})}function Ro(e,t){const n=a;if(!e)throw new Error(n(1389));return new Xe(function(x){gn(x,t,function(){const o=_0x4f97;var r=e[Symbol[o(1429)]]();gn(x,t,function(){const i=o;r[i(388)]()[i(967)](function(c){const f=i;c[f(416)]?x[f(1812)]():x[f(388)](c[f(1188)])})},0,!0)})})}function ss(e,t){return Ro(qo(e),t)}function ls(e,t){if(e!=null){if(Oo(e))return rs(e,t);if(Eo(e))return cs(e,t);if(Uo(e))return is(e,t);if(Go(e))return Ro(e,t);if(To(e))return as(e,t);if(Wo(e))return ss(e,t)}throw Ho(e)}function t0(e,t){return t?ls(e,t):Pn(e)}function nn(){const e=a;for(var t=[],n=0;n<arguments[e(1470)];n++)t[n]=arguments[n];var x=Fa(t);return t0(t,x)}function je(e,t){var n=ke(e)?e:function(){return e},x=function(o){return o[_0x4f97(1999)](n())};return new Xe(x)}function ds(e){return e instanceof Date&&!isNaN(e)}var us=tx(function(e){return function(n){const x=_0x4f97;n===void 0&&(n=null),e(this),this[x(333)]=x(1322),this[x(748)]=x(724),this[x(884)]=n}});function fs(e,t){const n=a;var x=ds(e)?{first:e}:{each:e},o=x.first,r=x[n(1356)],i=x[n(878)],c=i===void 0?hs:i,f=x.scheduler,s=f===void 0?Ra:f,u=x[n(1798)],d=u===void 0?null:u;if(o==null&&r==null)throw new TypeError(n(1950));return Sn(function(b,g){const y=n;var h,m,M=null,p=0,v=function(w){m=gn(g,s,function(){const C=_0x4f97;try{h.unsubscribe(),Pn(c({meta:d,lastValue:M,seen:p})).subscribe(g)}catch(P){g[C(1999)](P)}},w)};h=b[y(1854)](kn(g,function(w){m?.[y(798)](),p++,g.next(M=w),r>0&&v(r)},void 0,void 0,function(){!m?.closed&&m?.unsubscribe(),M=null})),!p&&v(o!=null?typeof o=="number"?o:+o-s.now():r)})}function hs(e){throw new us(e)}function x0(e,t){return Sn(function(n,x){var o=0;n.subscribe(kn(x,function(r){const i=_0x4f97;x[i(388)](e[i(643)](t,r,o++))}))})}function bs(e,t,n,x,o,r,i,c){const f=a;var s=[],u=0,d=0,b=!1,g=function(){const m=_0x4f97;b&&!s.length&&!u&&t[m(1812)]()},y=function(m){const M=_0x4f97;return u<x?h(m):s[M(1374)](m)},h=function(m){u++;var M=!1;Pn(n(m,d++)).subscribe(kn(t,function(p){t.next(p)},function(){M=!0},void 0,function(){const p=_0x4f97;if(M)try{u--;for(var v=function(){var C=s[_0x4f97(1350)]();i||h(C)};s[p(1470)]&&u<x;)v();g()}catch(w){t[p(1999)](w)}}))};return e[f(1854)](kn(t,y,function(){b=!0,g()})),function(){}}function cx(e,t,n){const x=a;return n===void 0&&(n=1/0),ke(t)?cx(function(o,r){return x0(function(i,c){return t(o,i,r,c)})(Pn(e(o,r)))},n):(typeof t===x(1384)&&(n=t),Sn(function(o,r){return bs(o,r,e,n)}))}function o0(e){return Sn(function(t,n){const x=_0x4f97;var o=null,r=!1,i;o=t[x(1854)](kn(n,void 0,void 0,function(c){const f=x;i=Pn(e(c,o0(e)(t))),o?(o[f(798)](),o=null,i[f(1854)](n)):r=!0})),r&&(o.unsubscribe(),o=null,i[x(1854)](n))})}function gs(e,t,n){var x=ke(e)||t||n?{next:e,error:t,complete:n}:e;return x?Sn(function(o,r){const i=_0x4f97;var c;(c=x[i(1854)])===null||c===void 0||c.call(x);var f=!0;o.subscribe(kn(r,function(s){const u=i;var d;(d=x[u(388)])===null||d===void 0||d[u(643)](x,s),r[u(388)](s)},function(){const s=i;var u;f=!1,(u=x[s(1812)])===null||u===void 0||u[s(643)](x),r.complete()},function(s){const u=i;var d;f=!1,(d=x[u(1999)])===null||d===void 0||d[u(643)](x,s),r[u(1999)](s)},function(){const s=i;var u,d;f&&((u=x[s(798)])===null||u===void 0||u.call(x)),(d=x[s(571)])===null||d===void 0||d[s(643)](x)}))}):ko}function ax(e){const t=a;return encodeURIComponent((e||"").trim()||t(1725))}function ys(e){const t=a;return e[t(1604)]===t(1083)?e[t(1660)]+"::ext::"+ax(e[t(1424)]??""):e[t(1660)]+"::"+e[t(1604)]}function Jo(e,t){return e+":"+t}class Jn{static[a(491)];[a(366)]=new Map;[a(581)]=new Map;[a(874)]=new Map;[a(1594)]=new Map;[a(1452)];constructor(){}static getInstance(){const t=a;return!Jn[t(491)]&&(Jn[t(491)]=new Jn),Jn.instance}registerEventBlock(t){const n=a;this[n(874)][n(1759)](t.id,t)}unregisterEventBlock(t){const n=a;this.eventBlocks[n(656)](t)}[a(752)](t){return this.eventBlocks.get(t)}[a(535)](t){this.defaultRuntimeHandlers=t}[a(1614)](t){const n=a;if(!t)return;const x=this[n(1452)];this.defaultRuntimeHandlers={dataRequest:{...x?.[n(1218)],...t[n(1218)]},external:{...x?.[n(1083)],...t[n(1083)]}}}[a(1648)](t){const n=a,x=this[n(1452)];if(!(!x&&!t))return{dataRequest:{...x?.[n(1218)],...t?.[n(1218)]},external:{...x?.[n(1083)],...t?.[n(1083)]}}}[a(1255)](t){const n=a,x=this[n(581)][n(1077)](t.id);x&&(x.unsubscribe(),this[n(581)][n(656)](t.id)),this[n(366)][n(656)](t.id)}[a(1273)](t){const n=a,x=ys(t),o=this[n(1594)][n(1077)](x);o&&o.id!==t.id&&this[n(1255)](o),this[n(1594)][n(1759)](x,t),!this[n(366)].has(t.id)&&this.createEventFlowPipeline(t)}[a(677)](t,n,x){const o=a;if(n===o(1083)){const f=t+o(1457)+ax(x??""),s=this[o(1594)][o(1077)](f);s&&(this[o(1255)](s),this[o(1594)][o(656)](f));return}const r=t+"::"+n,i=Jo(t,n),c=this[o(1594)][o(1077)](r)??this[o(1594)][o(1077)](i);c&&(this[o(1255)](c),this[o(1594)].delete(r),this[o(1594)].delete(i))}[a(584)](t){const n=a,x=[];this[n(1594)][n(935)]((o,r)=>{const i=n;o[i(1660)]===t&&x[i(1374)]({key:r,root:o})}),x[n(935)](({key:o,root:r})=>{const i=n;this[i(1255)](r),this[i(1594)][i(656)](o)})}[a(866)](t){const n=a,x=[];return this.nodeEventBindings[n(935)](o=>{const r=n;o[r(1660)]===t&&x[r(1374)](o)}),x}[a(743)](t,n,x){const o=a,r=t+"::"+n,i=this[o(1594)].get(r)??this[o(1594)][o(1077)](Jo(t,n));if(!i||!i[o(1801)])return nn({success:!0,result:null,path:[],duration:0});if(!this.eventSubjects[o(1077)](i.id))return je(()=>new Error(o(927)+r));const f=Date.now(),s={...x,executionPath:x[o(1163)]||[],runtimeHandlers:this[o(1648)](x[o(647)])};return this.executeEventFlow(i,s).pipe(x0(u=>({success:!0,result:u,path:s[o(1163)],duration:Date[o(772)]()-f})),o0(u=>nn({success:!1,error:u[o(333)]||o(353),path:s[o(1163)],duration:Date[o(772)]()-f})))}[a(1587)](t,n,x){const o=a,r=t+o(1457)+ax(n),i=this.nodeEventBindings[o(1077)](r);if(!i||!i[o(1801)])return nn({success:!0,result:null,path:[],duration:0});if(!this[o(366)][o(1077)](i.id))return je(()=>new Error("Event flow not initialized for "+r));const f=Date[o(772)](),s={...x,executionPath:x.executionPath||[],runtimeHandlers:this[o(1648)](x.runtimeHandlers)};return this[o(338)](i,s)[o(360)](x0(u=>({success:!0,result:u,path:s.executionPath,duration:Date.now()-f})),o0(u=>nn({success:!1,error:u.message||o(353),path:s[o(1163)],duration:Date.now()-f})))}createEventFlowPipeline(t){const n=a,x=new Io;this[n(366)][n(1759)](t.id,x)}[a(338)](t,n){const x=a,{nodes:o,edges:r}=t[x(1006)];if(o[x(1470)]===0)return nn(null);const i=o.filter(c=>c.inputs[x(1470)]===0);return i[x(1470)]===0?je(()=>new Error(x(994))):this[x(1158)](i,o,r,n,{})}[a(1158)](t,n,x,o,r){const i=a;if(t[i(1470)]===0)return nn(r);const c=t[i(539)](f=>this[i(1530)](f,o,r)[i(360)](gs(s=>{const u=i;r[f.id]=s,o[u(1163)].push(f.id)})));return t0(c).pipe(cx(f=>f,1),x0(()=>{const f=i,s=new Set;return t[f(935)](d=>{const b=f;d[b(747)].forEach(g=>{const y=b,h=n[y(462)](m=>m.id===g);h&&h[y(316)].every(M=>r[M]!==void 0)&&s[y(284)](g)})}),n.filter(d=>s.has(d.id))}),cx(f=>{const s=i;return f[s(1470)]>0?this[s(1158)](f,n,x,o,r):nn(r)}),fs(3e4),o0(f=>{const s=i;return console[s(1999)](s(1851),f),je(()=>f)}))}resolveFlowEventBlock(t){const n=a;return this[n(874)][n(1077)](t[n(1300)])??t[n(420)][n(1437)]}[a(307)](t,n,x){return t.replace(/\{\{\s*([^}]+?)\s*\}\}/g,(o,r)=>{const i=_0x4f97,c=String(r)[i(384)]();if(c[i(1463)]("$")){const s=this[i(999)](x,c.slice(1));return s==null?"":String(s)}const f=n[c];return f==null?"":String(f)})}executeBuiltin(t,n,x){const o=a,r=t[o(1085)];if(!r)return je(()=>new Error(o(263)));if(r===o(732)){const i=t.builtinConfig??{},c=String(i[o(306)]??""),f=i[o(1944)]??o(884),s=i[o(1294)],u=this[o(307)](c,x,n);if(!u[o(384)]())return je(()=>new Error(o(369)));try{const d={type:f,content:u};if(s!=null&&s!==""){const b=Number(s);!Number[o(962)](b)&&(d.duration=b)}return z.message.open(d),nn({ok:!0,builtinId:r,content:u,level:f})}catch(d){return je(()=>d)}}return je(()=>new Error(o(618)+String(r)))}invokeRuntimeHandler(t,n,x){try{const o=t(n,x);return o instanceof Promise?t0(o):nn(o)}catch(o){return je(()=>o)}}[a(1530)](t,n,x){const o=a,r=this[o(1441)](t);if(!r)return je(()=>new Error(o(1481)+t[o(1300)]));const i=this[o(1735)](t,n,x),c=r[o(1692)]??o(681);if(c==="dataRequest"){const f=(r.dataRequestKey||"")[o(384)]();if(!f)return je(()=>new Error(o(980)));const s=n[o(647)]?.[o(1218)]?.[f];return s?this.invokeRuntimeHandler(s,n,i):je(()=>new Error(o(393)+f))}if(c===o(1083)){const f=(r[o(1755)]||"")[o(384)]();if(!f)return je(()=>new Error("事件块未配置 externalHandlerKey"));const s=n[o(647)]?.[o(1083)]?.[f];return s?this.invokeRuntimeHandler(s,n,i):je(()=>new Error(o(516)+f))}if(c==="builtin")return this[o(1731)](r,n,i);try{const f=new Function(o(858),o(957),o(599),r[o(971)]),s=f(n[o(799)],n,i);return s instanceof Promise?t0(s):nn(s)}catch(f){return je(()=>f)}}[a(1735)](t,n,x){const o=a,r={$event:n.originalEvent,$data:n.data,$node:n[o(799)]},{inputMapping:i}=t[o(420)];return i&&Object.entries(i)[o(935)](([c,f])=>{const s=o;if(f[s(1463)]("$prev.")){const u=f[s(1271)](s(490),"");r[c]=x[u]}else if(f[s(1463)]("$")){const u=f[s(945)](1);r[c]=this[s(999)](n,u)}else r[c]=f}),r}[a(999)](t,n){const x=a;return n[x(697)](".").reduce((o,r)=>{if(o!==null&&typeof o===x(1466)&&r in o)return o[r]},t)}clearAll(){const t=a;this[t(581)][t(935)](n=>n[t(798)]()),this.subscriptions[t(1972)](),this[t(366)][t(1972)](),this.nodeEventBindings[t(1972)]()}}const _n=Jn[a(996)](),_o=({node:e,children:t,runtimeHandlers:n,flowContextData:x})=>{const o=a,{eventFlow:r}=Ae(),i=N[o(840)](null),c=N.useCallback(()=>r[o(965)].filter(u=>u.bindNodeId===e.id&&u.enabled),[r[o(965)],e.id]),f=N[o(1942)](s=>u=>{const d=_0x4f97,b=c()[d(990)](y=>y[d(1604)]===s);if(b[d(1470)]===0)return;s!==d(1515)&&s!==d(1060)&&u[d(1206)](),u[d(826)]();const g=x&&typeof x=="object"?{...x}:{};b[d(935)](y=>{_n.emit(e.id,s,{triggerNode:e,originalEvent:u,data:g,runtimeHandlers:n}).subscribe({next:h=>{const m=_0x4f97;!h.success&&console[m(1999)]("Event flow execution failed:",h.error)},error:h=>{console.error("Event flow error:",h)}})})},[c,e,n,x]);return N[o(502)](()=>{const s=o;return c()[s(935)](d=>{_n[s(1273)](d)}),()=>{_n[s(584)](e.id)}},[c,e.id]),N.useEffect(()=>{const s=o,u=i.current;if(!u)return;const d={click:f("click"),mousedown:f(s(1571)),mouseup:f(s(563)),dblclick:f(s(1257)),mouseover:f(s(1515)),mouseleave:f("mouseLeave"),mouseenter:f(s(293)),contextmenu:f("contextMenu")};return Object[s(955)](d).forEach(([b,g])=>{u.addEventListener(b,g,!0)}),()=>{Object.entries(d).forEach(([b,g])=>{u.removeEventListener(b,g,!0)})}},[f]),N[o(655)](t,{ref:s=>{const u=o;i[u(1189)]=s;const d=t[u(1156)];typeof d===u(758)?d(s):d&&u(1189)in d&&(d[u(1189)]=s)}})},{Text:Fo}=z[a(1745)],ms=(e,t)=>{const n=a;if(!t||!e)return{value:void 0};if(Array.isArray(e)){const x=e[n(462)](o=>o[n(397)]===t);if(x)return{value:x[n(1188)],unit:x.unit}}else if(typeof e===n(1466)&&t in e)return{value:e[t],unit:e[n(267)]};return{value:void 0}},ws=(e,t)=>{if(e==null||e==="")return"";if(t===-1)return String(e);const n=Number(e);return isNaN(n)?String(e):n.toFixed(t??2)},vs=(e,t,n,x)=>{const o=a;switch(e.type){case o(1679):const r=e,i=r[o(653)],c=r[o(394)];let f=r[o(1185)];return c&&f&&f.includes(o(1066))&&(e[o(748)]==="矩形"?f="data:image/svg+xml,"+encodeURIComponent(o(1569)+c+o(920)):e[o(748)]==="圆形"?f=o(1774)+encodeURIComponent(o(1996)+c+o(1868)):e[o(748)]===o(660)&&(f=o(1774)+encodeURIComponent(o(1569)+c+o(1563)))),l[o(1848)](o(1929),{className:"w-full h-full flex items-center justify-center overflow-hidden",style:{backgroundColor:i},children:f?l[o(1848)](o(1668),{src:f,alt:e[o(748)],style:{width:o(1933),height:o(1933),objectFit:o(1346)}}):l[o(1848)](o(1929),{className:"w-full h-full flex items-center justify-center",children:l[o(1848)](o(888),{className:o(1856),children:o(1412)})})});case"TEXT":const s=e,{label:u,value:d,valueSourceCode:b,unit:g,decimals:y,labelStyle:h,valueStyle:m,customStyle:M}=s[o(306)]||{},{value:p,unit:v}=b?ms(t,b):{value:void 0,unit:void 0},w=p!==void 0?p:d,C=ws(w,y),P=g||v||"";return l[o(272)](o(1929),{className:"w-full h-full flex flex-col justify-center gap-1",style:{...M},children:[u&&l[o(1848)](Fo,{style:{fontSize:14,fontWeight:o(857),color:o(572),textAlign:"left",...h},children:u}),C&&l[o(272)](Fo,{style:{fontSize:14,color:"#1890ff",textAlign:o(1014),...m},children:[C,P?" "+P:""]})]});case o(1446):const A=e,{thickness:G=2,color:j=o(1989),dashed:q=!1,lineType:F=o(q?1108:1396),lineWeight:Z=G,startX:W=0,startY:V=0,endX:L=100,endY:D=0}=A.config||{},B=R=>{const J=o,X=Math.max(Z,1);switch(R){case J(1396):return"";case"dashed":return X*8+","+X*4;case J(378):return X*12+","+X*3+","+X*2+","+X*3;case J(1626):return X*12+","+X*3+","+X*2+","+X*3+","+X*2+","+X*3;case J(1052):return X+","+X*3;case J(845):return X*8+","+X*3+","+X+","+X*3;default:return""}},Y=B(F),I=n?o(1843):j;return l[o(1848)]("div",{className:"w-full h-full relative",style:{overflow:o(1554)},children:l.jsxs(o(913),{className:o(1503),width:"100%",height:o(1933),style:{overflow:o(1554),pointerEvents:o(403)},children:[l[o(1848)]("line",{x1:W,y1:V,x2:L,y2:D,stroke:"transparent",strokeWidth:Math[o(1495)](Z,10),strokeLinecap:o(1708),strokeLinejoin:o(1708),style:{pointerEvents:o(771),cursor:o(1290)}}),l[o(1848)](o(1841),{x1:W,y1:V,x2:L,y2:D,stroke:I,strokeWidth:Z,strokeDasharray:Y,strokeLinecap:"round",strokeLinejoin:"round",style:{pointerEvents:o(403)}})]})});case o(932):const k=e;return k[o(540)]?k[o(540)]({}):l[o(1848)](o(1929),{className:"w-full h-full flex items-center justify-center bg-gray-100",children:l[o(1848)](o(888),{className:o(1856),children:o(985)})});default:return l[o(1848)](o(1929),{className:o(1013),children:l[o(1848)](o(888),{className:"text-gray-400 text-xs",children:"未知类型"})})}},ps=({node:e,isSelected:t=!1,onClick:n,onMouseDown:x,data:o,onUpdateNode:r,scale:i=1,enableEventFlow:c=!1,eventFlowData:f})=>{const s=a,{normalStyle:u,controlInfo:d}=e,{isClickable:b,isDraggable:g,isResizable:y}=d,h=e[s(466)],m=Ae(S=>S.dataPool),M=N[s(840)](n);N[s(502)](()=>{M.current=n},[n]);const[p,v]=N[s(1641)](null),w=N.useRef(null),C=N[s(840)](null),P=N[s(840)](null),A=N.useRef(null),G=N[s(840)](null),[j,q]=N[s(1641)](null),[F,Z]=N[s(1641)](null),W=N[s(840)](null),V=N[s(449)](()=>{const S=s,U=e[S(466)][S(737)];if(U[S(1470)]===0)return;const _=yo(U,o,m);return _||U[0]},[e[s(466)].statusList,o,m]),L=V?.[s(448)],D=L?.[s(2009)]==="LINE",B=D?L[s(433)]:null,Y=u[s(1613)]??1,I=(u[s(1030)]||100)*Y,k=(u.height||100)*Y,R=N[s(1942)](()=>{const S=s,U=G.current?.[S(1219)](S(1460));if(!U)return i;const _=U[S(447)](),H=parseFloat(U.style[S(1030)]);return H?_[S(1030)]/H:i},[i]),J=N[s(1942)]((S,U)=>{const _=s;S[_(826)](),S[_(1206)]();const H=B?.[_(1160)]||0,O=B?.[_(1620)]||0,ee=B?.[_(1906)]||0,de=B?.[_(1820)]||0,ye=u.x||0,se=u.y||0,he=Math[_(1495)]((B?.[_(1240)]||B?.[_(919)]||2)*2,4),pe=Math[_(617)](H,ee),be=Math.min(O,de),ze=Math.max(H,ee),De=Math.max(O,de),Ue=Math[_(1495)](ze-pe,he),Oe=Math[_(1495)](De-be,he);w[_(1189)]={mouseX:S[_(615)],mouseY:S[_(1712)],startX:H,startY:O,endX:ee,endY:de,nodeX:ye,nodeY:se};const Ie=Math.min(H,ee),Ye=Math[_(617)](O,de);P[_(1189)]={nodeX:ye+Ie,nodeY:se+Ye,width:Ue,height:Oe,startX:H-Ie,startY:O-Ye,endX:ee-Ie,endY:de-Ye},C[_(1189)]=V||null,v(U)},[B,u.x,u.y,V]);N.useEffect(()=>{const S=s;if(!p||!D||!B||!r)return;const U=H=>{const O=_0x4f97,ee=w[O(1189)];if(!ee||!G[O(1189)])return;const de=R(),ye=(H.clientX-ee.mouseX)/de,se=(H.clientY-ee[O(461)])/de;let he=ee.startX,pe=ee[O(1620)],be=ee[O(1906)],ze=ee[O(1820)],De=ee[O(787)],Ue=ee.nodeY;p===O(1209)?(he=ee[O(1160)]+ye,pe=ee[O(1620)]+se,he<0&&(De=ee.nodeX+he,be=ee.endX-he,he=0),pe<0&&(Ue=ee[O(1771)]+pe,ze=ee.endY-pe,pe=0)):(be=ee[O(1906)]+ye,ze=ee[O(1820)]+se,be<0&&(De=ee[O(787)]+be,he=ee.startX-be,be=0),ze<0&&(Ue=ee.nodeY+ze,pe=ee[O(1620)]-ze,ze=0));const Oe=Math[O(1495)]((B[O(1240)]||2)*2,4),Ie=Math.min(he,be),Ye=Math.min(pe,ze),We=Math[O(1495)](he,be),Wt=Math.max(pe,ze),zn=De+Ie,dt=Ue+Ye,Hn=he-Ie,Vn=pe-Ye,Cn=be-Ie,Mn=ze-Ye,Tn=Math[O(1495)](We-Ie,Oe),qn=Math[O(1495)](Wt-Ye,Oe);P.current={nodeX:zn,nodeY:dt,width:Tn,height:qn,startX:Hn,startY:Vn,endX:Cn,endY:Mn};const Ke=G[O(1189)];Ke[O(1632)][O(1014)]=zn+"px",Ke[O(1632)].top=dt+"px",Ke[O(1632)][O(1030)]=Tn+"px",Ke.style[O(1517)]=qn+"px",Ke[O(1602)](O(1142))[O(935)](Bn=>{const Dn=O;Bn[Dn(494)]("x1",String(Hn)),Bn[Dn(494)]("y1",String(Vn)),Bn[Dn(494)]("x2",String(Cn)),Bn[Dn(494)]("y2",String(Mn))});const $e=Ke[O(510)]('[data-handle="start"]'),en=Ke[O(510)](O(834));$e&&($e[O(1632)][O(1014)]=Hn-6+"px",$e[O(1632)][O(1275)]=Vn-6+"px"),en&&(en[O(1632)].left=Cn-6+"px",en[O(1632)][O(1275)]=Mn-6+"px")},_=()=>{const H=_0x4f97,O=P.current;if(!O||!r){v(null),w[H(1189)]=null,P[H(1189)]=null,C[H(1189)]=null;return}const ee=Ae[H(1277)]()[H(362)][H(462)](be=>be.id===e.id),de=ee?.[H(466)][H(737)]??e[H(466)][H(737)],ye=C.current,se=ye?.id??de.find(be=>be.material[H(2009)]===H(1446))?.id,he=de[H(539)](be=>{const ze=H;if(be[ze(448)][ze(2009)]!==ze(1446)||be.id!==se)return be;const De=be.material;return{...be,material:{...De,config:{...De[ze(433)],startX:O[ze(1160)],startY:O[ze(1620)],endX:O[ze(1906)],endY:O.endY}}}}),pe=ee?.contentInfo??h;r(e.id,{normalStyle:{x:O.nodeX,y:O[H(1771)],width:O.width,height:O[H(1517)]},contentInfo:{...pe,statusList:he}}),v(null),w.current=null,P[H(1189)]=null,C[H(1189)]=null};return window[S(973)]("mousemove",U),window[S(973)](S(1985),_),()=>{const H=S;window.removeEventListener("mousemove",U),window[H(1045)](H(1985),_)}},[p,D,B,e.id,u,h,e[s(466)][s(737)],r,R]),N[s(502)](()=>{const S=s;if(!j||!r)return;const U=H=>{const O=_0x4f97;if(!G[O(1189)])return;const ee=R(),de=(H.clientX-j[O(1160)])/ee,ye=(H[O(1712)]-j[O(1620)])/ee;let se=j[O(777)],he=j.startHeight,pe=j[O(525)],be=j[O(704)];switch(j.corner){case"se":se=Math[O(1495)](20,j[O(777)]+de),he=Math[O(1495)](20,j.startHeight+ye);break;case"sw":se=Math.max(20,j[O(777)]-de),he=Math[O(1495)](20,j[O(1208)]+ye),pe=j[O(525)]+(j[O(777)]-se);break;case"ne":se=Math[O(1495)](20,j[O(777)]+de),he=Math.max(20,j.startHeight-ye),be=j[O(704)]+(j[O(1208)]-he);break;case"nw":se=Math.max(20,j[O(777)]-de),he=Math[O(1495)](20,j[O(1208)]-ye),pe=j[O(525)]+(j.startWidth-se),be=j[O(704)]+(j[O(1208)]-he);break}A.current={x:pe,y:be,width:se,height:he};const ze=G[O(1189)];ze[O(1632)][O(1014)]=pe+"px",ze[O(1632)].top=be+"px",ze[O(1632)][O(1030)]=se+"px",ze.style.height=he+"px"},_=()=>{const H=_0x4f97,O=A[H(1189)];O&&r(e.id,{normalStyle:{...u,x:O.x,y:O.y,width:O[H(1030)],height:O[H(1517)]}}),q(null),A.current=null};return window[S(973)](S(1857),U),window.addEventListener("mouseup",_),()=>{const H=S;window[H(1045)](H(1857),U),window[H(1045)](H(1985),_)}},[j,r,e.id,u,R]);const X=N[s(1942)]((S,U)=>{const _=s;S.stopPropagation(),S[_(1206)](),q({corner:U,startX:S[_(615)],startY:S[_(1712)],startWidth:u[_(1030)]||100,startHeight:u[_(1517)]||100,startNodeX:u.x||0,startNodeY:u.y||0})},[u[s(1030)],u[s(1517)],u.x,u.y]),ne=N[s(1942)](S=>{const U=s;S[U(826)](),S[U(1206)]();const _=G[U(1189)]?.[U(447)]();_&&Z({startX:S[U(615)],startY:S[U(1712)],startAngle:u[U(1284)]||0,centerX:_[U(1014)]+_[U(1030)]/2,centerY:_[U(1275)]+_[U(1517)]/2})},[u[s(1284)]]);N[s(502)](()=>{const S=s;if(!F)return;const U=H=>{const O=_0x4f97,ee=H.clientX-F[O(1722)],de=H[O(1712)]-F[O(583)];let se=(Math[O(762)](de,ee)*(180/Math.PI)+90)%360;if(se<0&&(se+=360),W.current=se,G[O(1189)]){const he=u[O(1958)]||"";G[O(1189)].style[O(1958)]=("rotate("+se+O(703)+he).trim()}},_=()=>{const H=_0x4f97,O=W.current??F[H(290)];W[H(1189)]=null,r&&r(e.id,{normalStyle:{...u,rotate:Math[H(1708)](O)}}),Z(null)};return window[S(973)](S(1857),U),window.addEventListener(S(1985),_),()=>{const H=S;window[H(1045)](H(1857),U),window.removeEventListener("mouseup",_)}},[F,r,e.id,u]);const K=e[s(2009)]===s(1489),te={position:s(1809),left:u.x||0,top:u.y||0,width:I,height:k,background:K?s(912):u[s(1097)]||"transparent",backgroundImage:K?void 0:u[s(312)]?"url("+u.backgroundImage+")":void 0,backgroundSize:s(1281),backgroundPosition:"center",padding:Array[s(1670)](u[s(1651)])?u[s(1651)][s(1498)](s(1740))+"px":u[s(1651)],margin:Array[s(1670)](u[s(815)])?u[s(815)].join("px ")+"px":u[s(815)],borderRadius:K?void 0:u[s(1058)],border:t&&!D?"2px solid #1890ff":D||K?s(403):u[s(1091)]||s(1894),pointerEvents:s(1335),opacity:u.opacity??1,transform:(s(1975)+(W[s(1189)]??(u[s(1284)]||0))+s(703)+(u[s(1958)]||"")).trim(),transformOrigin:s(925),zIndex:t?1e3:u[s(1082)]??1,cursor:g&&!p?s(1721):b?"pointer":s(1353),boxSizing:s(1910),overflow:s(t||D||K?1554:909)},$=B?{x:B[s(1160)]||0,y:B[s(1620)]||0}:{x:0,y:0},ce=B?{x:B[s(1906)]||0,y:B[s(1820)]||0}:{x:0,y:0},ie=l[s(272)](s(1929),{ref:G,"data-node-id":e.id,style:te,onClick:S=>{const U=s;console[U(1987)]("NodeRenderer onClick",e.id,"isClickable:",b);const _=M[U(1189)];b&&_&&!p&&!j&&!F&&(S[U(826)](),_(S))},onMouseDown:S=>{g&&x&&!p&&x(S)},children:[t&&!D&&!K&&l.jsxs(l.Fragment,{children:[l[s(1848)](s(1929),{className:"absolute top-0 left-0 w-3 h-3 bg-blue-500 border-2 border-white rounded-full",style:{zIndex:9999,pointerEvents:s(1335),cursor:s(1598),marginTop:s(895),marginLeft:s(895)},onMouseDown:S=>X(S,"nw"),title:s(1295)}),l[s(1848)](s(1929),{className:s(833),style:{zIndex:9999,pointerEvents:s(1335),cursor:s(1717),marginTop:s(895),marginRight:s(895)},onMouseDown:S=>X(S,"ne"),title:"拖拽调整大小"}),l[s(1848)](s(1929),{className:s(1279),style:{zIndex:9999,pointerEvents:s(1335),cursor:s(1931),marginBottom:s(895),marginLeft:s(895)},onMouseDown:S=>X(S,"sw"),title:s(1295)}),l[s(1848)]("div",{className:s(1902),style:{zIndex:9999,pointerEvents:s(1335),cursor:s(1924),marginBottom:s(895),marginRight:s(895)},onMouseDown:S=>X(S,"se"),title:s(1295)}),l.jsx(s(1929),{className:s(669),style:{zIndex:9999,pointerEvents:"auto",cursor:"grab",marginTop:s(1878),transform:s(357),boxShadow:s(399)},onMouseDown:S=>ne(S),title:s(1285)}),l[s(1848)](s(1929),{className:s(1136),style:{zIndex:9998,pointerEvents:s(403),marginTop:s(1564),transform:s(357)}}),l[s(272)]("div",{className:s(831),children:[e[s(748)]," ",V?"("+V[s(748)]+")":""]})]}),t&&D&&B&&r&&l[s(272)](l[s(1555)],{children:[l.jsx(s(1929),{"data-handle":s(1209),className:s(1228),style:{left:$.x-6,top:$.y-6,boxShadow:s(399)},onMouseDown:S=>J(S,s(1209)),title:s(585)}),l[s(1848)](s(1929),{"data-handle":s(513),className:s(1228),style:{left:ce.x-6,top:ce.y-6,boxShadow:s(399)},onMouseDown:S=>J(S,s(513)),title:s(1483)}),l[s(1848)](s(1929),{className:s(831),children:e[s(748)]})]}),l[s(1848)](s(1929),{className:s(1012),children:L?l[s(1848)](s(1929),{className:s(578),children:vs(L,o,t)}):K?null:l[s(1848)]("div",{className:s(1644),children:"无状态"})}),e[s(2009)]===s(1489)&&e[s(887)]&&l[s(1848)](s(1929),{className:"absolute inset-0 pointer-events-none",children:e[s(887)][s(539)](S=>l[s(1848)](s(1929),{className:s(1791),children:l.jsx(sx,{node:S,isSelected:!1,data:o,onUpdateNode:r,scale:i,enableEventFlow:c,eventFlowData:f})},S.id))})]});return c?l[s(1848)](_o,{node:e,flowContextData:f,children:ie}):ie},sx=N.memo(ps,(e,t)=>{const n=a,x=e[n(858)],o=t[n(858)],r=x.id===o.id&&x[n(611)].x===o[n(611)].x&&x[n(611)].y===o.normalStyle.y&&x[n(611)][n(1030)]===o.normalStyle[n(1030)]&&x[n(611)][n(1517)]===o[n(611)][n(1517)],i=x[n(466)]===o.contentInfo,c=JSON[n(1148)](e[n(666)]??null)===JSON[n(1148)](t.eventFlowData??null),f=e[n(1105)]===t.isSelected&&e.scale===t[n(1613)]&&e[n(487)]===t[n(487)]&&c,s=g=>{const y=n,h=[];return g[y(466)]?.[y(737)]?.forEach(m=>{const M=y;if(m.material?.[M(2009)]==="LINE"){const p=m.material[M(433)];h.push({statusId:m.id,startX:p?.[M(1160)]??0,startY:p?.[M(1620)]??0,endX:p?.[M(1906)]??100,endY:p?.endY??0})}}),h},u=s(x),d=s(o);let b=!0;if(u.length!==d.length)b=!1;else for(let g=0;g<u[n(1470)];g++){const y=u[g],h=d[n(462)](m=>m[n(907)]===y.statusId);if(!h||y[n(1160)]!==h.startX||y[n(1620)]!==h.startY||y[n(1906)]!==h[n(1906)]||y[n(1820)]!==h[n(1820)]){b=!1;break}}return r&&i&&f&&b}),zs=[a(1843),a(277),"#faad14",a(1800),a(530),a(1005),"#13c2c2",a(1609),a(1214),"#262626","#8c8c8c",a(1989),a(332),a(1736),a(1109),a(323)],Fn=({value:e=a(1843),onChange:t,onChangeComplete:n})=>{const x=a,[o,r]=N[x(1641)](!1),[i,c]=N[x(1641)](e),f=N[x(840)](null);N[x(502)](()=>{c(e)},[e]),N[x(502)](()=>{const u=x,d=b=>{const g=_0x4f97;f[g(1189)]&&!f[g(1189)][g(1438)](b[g(983)])&&(r(!1),n?.({toHexString:()=>i}))};return o&&document[u(973)](u(1969),d),()=>document[u(1045)](u(1969),d)},[o,n,i]);const s=u=>{c(u),t?.({toHexString:()=>u})};return l.jsxs("div",{ref:f,style:{position:x(322),display:x(1982)},children:[l.jsx(x(1929),{onClick:()=>r(!o),style:{width:28,height:28,backgroundColor:i,border:x(622),borderRadius:4,cursor:"pointer"}}),o&&l.jsxs(x(1929),{style:{position:x(1809),top:32,left:0,zIndex:1e3,background:x(1222),padding:8,borderRadius:4,boxShadow:x(995),border:x(1729)},children:[l[x(1848)]("div",{style:{display:x(1976),gridTemplateColumns:x(1221),gap:4},children:zs[x(539)](u=>l[x(1848)](x(1929),{onClick:()=>{s(u),r(!1),n?.({toHexString:()=>u})},style:{width:20,height:20,backgroundColor:u,border:x(i===u?1637:622),borderRadius:2,cursor:x(1290)}},u))}),l[x(1848)](x(1472),{type:x(1347),value:i,onChange:u=>s(u[x(983)][x(1188)]),onBlur:()=>n?.({toHexString:()=>i}),style:{width:x(1933),marginTop:8,height:28,border:x(622),borderRadius:4}})]})]})},{TextArea:Cs}=z.Input;function Qo(e){const t=a;if(!e||!(e instanceof HTMLElement))return!1;const n=e[t(979)];return!!(n===t(385)||n===t(1559)||n==="SELECT"||n==="OPTION"||e.isContentEditable||e[t(1219)](t(1089))||e[t(1219)](t(828))||e[t(1219)](t(1033)))}const $o=({defaultTestData:e,readonly:t=!1})=>{const n=a,x=N[n(840)](null),o=N.useRef(null),r=N.useRef(null),{nodes:i,selectedNodeId:c,selectedNodeIds:f,mode:s,lineDrawing:u,viewport:d,canvas:b,root:g,setViewport:y,setCanvasConfig:h,addNode:m,selectNode:M,updateNode:p,removeNode:v,undo:w,redo:C,setMode:P,startLineDrawing:A,endLineDrawing:G,cancelLineDrawing:j,addCanvas:q,removeCanvas:F,switchCanvas:Z,updateCanvasName:W,setSelectedNodeIds:V}=Ae(),[L,D]=N.useState(!1),[,B]=N[n(1641)]({}),Y=N[n(840)](s);N[n(502)](()=>{const E=n;Y[E(1189)]=s},[s]),N[n(502)](()=>{P(t?n(830):"select")},[t,P]);const I=N[n(840)](!1),k=N.useRef({x:0,y:0}),R=N[n(840)]({x:0,y:0,newX:0,newY:0}),J=N.useRef(null),[X,ne]=N[n(1641)]({start:null,end:null,isDrawing:!1}),[K,te]=N[n(1641)]({start:null,end:null}),$=f,ce=V;N[n(840)](!1);const[ie,S]=N[n(1641)](!1),[U,_]=N[n(1641)](!1),[H,O]=N.useState(()=>JSON[n(1148)](e??null,null,2)),ee=N.useMemo(()=>{const E=n;if(!U)return e;try{return JSON[E(274)](H)}catch{return e}},[H,e,U]),de=N[n(449)](()=>{const E=n,T=ee;if(T!==null&&typeof T===E(1466))return T;if(T!==void 0)return{_payload:T}},[ee]),ye=N[n(449)](()=>{const E=n,T=ee;return T!==null&&typeof T===E(1466)&&!Array.isArray(T)?T:Array[E(1670)](T)?{_telemetryRows:T}:T==null?{}:{_payload:T}},[ee]),se=N[n(1942)](()=>{const E=n;let T=e;if(U)try{T=JSON.parse(H)}catch{T=e}O(JSON[E(1148)](T??null,null,2)),S(!0)},[H,e,U]),[he,pe]=N[n(1641)](!1),[be,ze]=N.useState(!1),De=N[n(1942)]((E,T)=>{const xe=n;if(!o.current)return{x:0,y:0};const re=o[xe(1189)][xe(447)](),le=E-re.left,Q=T-re[xe(1275)],oe=re[xe(1030)]/b[xe(1030)],fe=re[xe(1517)]/b[xe(1517)],me=le/oe,ge=Q/fe;return{x:Math.round(me),y:Math[xe(1708)](ge)}},[b[n(1030)],b.height]),Ue=N[n(1942)]((E,T)=>De(E,T),[De]),Oe=N[n(1942)]((E,T,xe=!0)=>{const re=n;if(!u[re(448)])return;const le=u[re(448)],Q=le[re(433)]||{},oe=Q[re(1240)]||Q.thickness||2,fe=Math[re(617)](E.x,T.x),me=Math[re(617)](E.y,T.y),ge=Math.round(E.x-fe),Me=Math[re(1708)](E.y-me),Be=Math[re(1708)](T.x-fe),Se=Math[re(1708)](T.y-me),Ge=Math[re(1495)](oe*2,4),Ze=Math[re(1495)](Math.abs(E.x-T.x),Ge),Ln=Math[re(1495)](Math.abs(E.y-T.y),Ge),un={...le,id:we.nanoid(),config:{color:Q.color,lineWeight:oe,thickness:oe,lineType:Q[re(1062)],startX:ge,startY:Me,endX:Be,endY:Se}},ft={id:we[re(1448)](),name:le[re(748)]+"_"+Date[re(772)](),type:re(1600),normalStyle:{width:Ze,height:Ln,x:fe,y:me,background:re(912)},contentInfo:{statusList:[ex(un)],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}};if(m(ft,!1),xe){const Wn={x:T.x,y:T.y};ne({start:Wn,end:{...Wn},isDrawing:!0})}else ne({start:null,end:null,isDrawing:!1}),G()},[u[n(448)],m,G]),Ie=N.useCallback(()=>{const E=n,T=x[E(1189)]?.[E(365)];T&&y({scale:T[E(1613)],positionX:T[E(1159)],positionY:T[E(1323)]})},[y]),Ye=N[n(1942)](E=>{const T=n;I[T(1189)]||s!=="box-select"&&(E.target===o[T(1189)]||E[T(983)][T(779)]?.[T(1657)]===T(864))&&(M(null),ce([]))},[M,s]),We=N.useCallback(E=>{const T=n;if(E[T(1558)]===0){if(s==="line-draw"&&u[T(448)]){E[T(826)]();const xe=De(E[T(615)],E.clientY);X.isDrawing?X[T(1209)]&&Oe(X.start,xe,!0):ne({start:xe,end:xe,isDrawing:!0});return}if(s==="box-select"&&!be){const xe=Ue(E[T(615)],E[T(1712)]);te({start:xe,end:xe}),ce([]),E[T(1206)](),E[T(826)]()}}},[s,u[n(448)],X[n(1829)],X.start,be,Oe,De,Ue]),Wt=N.useCallback(E=>{const T=n;if(!(s!==T(321)||!u[T(448)])&&X[T(1829)]&&X.start){const xe=De(E[T(615)],E[T(1712)]);Oe(X[T(1209)],xe,!1)}},[s,u[n(448)],X[n(1829)],X[n(1209)],Oe,De]),zn=N[n(1942)](E=>{const T=n;E[T(1206)](),E[T(1493)][T(1348)]=T(708),D(!0)},[]),dt=N.useCallback(E=>{E[n(1206)](),D(!1)},[]),Hn=N[n(1942)](E=>{const T=n;if(E.preventDefault(),D(!1),!(!o[T(1189)]||s!==T(495)))try{const xe=E[T(1493)].getData("application/json");if(!xe)return;const re=JSON[T(274)](xe),le=De(E[T(615)],E.clientY),Q=le.x-50,oe=le.y-50,fe=zo(Q,oe,re);m(fe),ce([fe.id])}catch(xe){console[T(1999)](T(1258),xe)}},[s,m,De]),Vn=N[n(1942)]((E,T)=>{const xe=n;s!==xe(495)&&s!==xe(606)||!T[xe(1898)].isDraggable||(E[xe(826)](),M(T.id),I[xe(1189)]=!0,k.current={x:E[xe(615)],y:E[xe(1712)]},R[xe(1189)]={x:T.normalStyle.x||0,y:T[xe(611)].y||0,newX:T[xe(611)].x||0,newY:T[xe(611)].y||0},J.current=T,E[xe(1206)]())},[s,M]);N[n(502)](()=>{const E=n,T=Q=>{const oe=_0x4f97;if(I[oe(1189)]&&c&&J[oe(1189)]){if(!o[oe(1189)])return;const fe=o.current[oe(447)](),me=fe[oe(1030)]/b[oe(1030)],ge=fe[oe(1517)]/b[oe(1517)],Me=Q[oe(615)]-k[oe(1189)].x,Be=Q[oe(1712)]-k.current.y,Se=Me/me,Ge=Be/ge,Ze=R[oe(1189)].x+Se,Ln=R[oe(1189)].y+Ge,un=document[oe(510)](oe(1492)+c+'"]');un&&(un.style[oe(1014)]=Ze+"px",un[oe(1632)][oe(1275)]=Ln+"px"),R.current.newX=Ze,R.current[oe(988)]=Ln}if(s===oe(606)&&K.start){const fe=Ue(Q[oe(615)],Q[oe(1712)]);te(me=>({...me,end:fe}))}if(s==="line-draw"&&X[oe(1829)]){const fe=De(Q[oe(615)],Q[oe(1712)]);ne(me=>({...me,end:fe}))}},xe=()=>{const Q=_0x4f97;if(I[Q(1189)]&&c&&J[Q(1189)]){const oe=Ae.getState(),fe=R[Q(1189)].newX??R[Q(1189)].x,me=R.current[Q(988)]??R[Q(1189)].y;oe.updateNode(c,{normalStyle:{...J[Q(1189)][Q(611)],x:fe,y:me}})}if(I.current=!1,J[Q(1189)]=null,B({}),s===Q(606)&&K[Q(1209)]&&K[Q(513)]){const oe=Math[Q(617)](K.start.x,K.end.x),fe=Math[Q(1495)](K[Q(1209)].x,K[Q(513)].x),me=Math[Q(617)](K[Q(1209)].y,K.end.y),ge=Math[Q(1495)](K[Q(1209)].y,K[Q(513)].y),Me=i[Q(990)](Be=>{const Se=Q,Ge=Be[Se(611)].x||0,Ze=Be[Se(611)].y||0,Ln=Be.normalStyle.width||0,un=Be[Se(611)].height||0,ft=Ge+Ln/2,Wn=Ze+un/2;return ft>=oe&&ft<=fe&&Wn>=me&&Wn<=ge})[Q(539)](Be=>Be.id);ce(Me),te({start:null,end:null})}},re=Q=>{const oe=_0x4f97;Qo(Q.target)||(Q.key==="Escape"&&s==="line-draw"&&(ne({start:null,end:null,isDrawing:!1}),j()),Q[oe(1400)]===oe(1263)&&(c?v(c):$[oe(1470)]>0&&($[oe(935)](fe=>v(fe)),ce([]))),Q[oe(867)]&&Q[oe(1400)]==="z"&&(Q[oe(1206)](),w()),Q.ctrlKey&&Q.key==="y"&&(Q[oe(1206)](),C()),Q[oe(1400)]===" "&&!be&&(Q[oe(1206)](),ze(!0)))},le=Q=>{Q[_0x4f97(1400)]===" "&&be&&ze(!1)};return window.addEventListener(E(1857),T),window[E(973)]("mouseup",xe),window[E(973)](E(1184),re),window[E(973)](E(269),le),()=>{const Q=E;window[Q(1045)]("mousemove",T),window[Q(1045)](Q(1985),xe),window.removeEventListener(Q(1184),re),window[Q(1045)](Q(269),le)}},[c,K,s,X.isDrawing,$,i,b[n(1030)],b.height,v,w,be,C,j,De,Ue,ce]);const Cn=(E,T=!0)=>{const xe=n,re={...E,id:we.nanoid(),name:E.name+xe(404),normalStyle:{...E[xe(611)],x:(E[xe(611)].x||0)+(T?20:0),y:(E[xe(611)].y||0)+(T?20:0)}};return E[xe(2009)]===xe(1489)&&E[xe(887)]&&(re[xe(887)]=E[xe(887)][xe(539)](le=>Cn(le,!1))),re},Mn=N.useCallback(()=>{const E=n,T=$.length>0?$[E(539)](re=>i.find(le=>le.id===re))[E(990)](Boolean):c?[i[E(462)](re=>re.id===c)][E(990)](Boolean):[];if(T[E(1470)]===0)return;const xe=[];T[E(935)](re=>{const le=E,Q=Cn(re);m(Q),xe[le(1374)](Q.id)}),xe[E(1470)]===1?M(xe[0]):ce(xe)},[c,$,i,m,M,ce]),Tn=N[n(1942)](()=>{const E=n;if($[E(1470)]<2)return;const T=[];for(let me=0;me<$.length;me++){const ge=$[me],Me=i[E(462)](Be=>Be.id===ge);if(Me){if(Me?.[E(2009)]===E(1489)){Me[E(887)][E(935)](Se=>T[E(1374)]({...Se,normalStyle:{...Se[E(611)],x:(Me[E(611)].x||0)+(Se[E(611)].x||0),y:(Me[E(611)].y||0)+(Se.normalStyle.y||0)}})),v(ge);continue}T[E(1374)](Me)}}if(T[E(1470)]<2)return;let xe=1/0,re=1/0,le=-1/0,Q=-1/0;T[E(935)](me=>{const ge=E,Me=me.normalStyle.x||0,Be=me[ge(611)].y||0,Se=me[ge(611)][ge(1030)]||0,Ge=me[ge(611)][ge(1517)]||0;xe=Math.min(xe,Me),re=Math[ge(617)](re,Be),le=Math[ge(1495)](le,Me+Se),Q=Math.max(Q,Be+Ge)});const oe=T[E(539)](me=>({...me,normalStyle:{...me.normalStyle,x:(me[E(611)].x||0)-xe,y:(me.normalStyle.y||0)-re}})),fe={id:we[E(1448)](),name:E(1923)+Date.now(),type:"group",normalStyle:{x:xe,y:re,width:le-xe,height:Q-re,background:E(912)},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:oe};$.forEach(me=>v(me)),m(fe),ce([]),M(fe.id)},[$,i,v,m,M]),qn=E=>{const T=n,xe={...E,id:we.nanoid()};return E.type==="group"&&E[T(887)]&&(xe.children=E[T(887)][T(539)](re=>qn(re))),xe},Ke=N[n(1942)](()=>{const E=n,T=$[E(1470)]>0?$.map(xe=>i.find(re=>re.id===xe))[E(990)](xe=>!!xe&&xe[E(2009)]==="group"):c?[i[E(462)](xe=>xe.id===c)].filter(xe=>!!xe&&xe[E(2009)]===E(1489)):[];T[E(1470)]!==0&&(T[E(935)](xe=>{const re=E;if(!xe[re(887)]||xe[re(887)][re(1470)]===0)return;const le=xe[re(887)][re(539)](Q=>{const oe=re,fe=qn(Q);return{...fe,normalStyle:{...fe[oe(611)],x:(xe.normalStyle.x||0)+(fe[oe(611)].x||0),y:(xe.normalStyle.y||0)+(fe[oe(611)].y||0)}}});v(xe.id),le[re(935)](Q=>m(Q))}),ce([]),M(null))},[c,$,i,v,m,M,ce]),ut=N[n(1942)](E=>{const T=n;if($.length<2)return;const xe=$.map(ge=>i[T(462)](Me=>Me.id===ge))[T(990)](ge=>!!ge&&ge[T(2009)]!==T(1489));if(xe[T(1470)]<2)return;let re=1/0,le=-1/0,Q=1/0,oe=-1/0;xe[T(935)](ge=>{const Me=T,Be=ge.normalStyle.x||0,Se=ge[Me(611)].y||0;re=Math[Me(617)](re,Be),le=Math[Me(1495)](le,Be),Q=Math[Me(617)](Q,Se),oe=Math[Me(1495)](oe,Se)});const fe=[...xe][T(684)]((ge,Me)=>{const Be=T;return E==="horizontal"?(ge[Be(611)].x||0)-(Me[Be(611)].x||0):(ge[Be(611)].y||0)-(Me[Be(611)].y||0)}),me=fe[T(1470)];if(E==="horizontal"){const ge=le-re,Me=ge/(me-1);fe[T(935)]((Be,Se)=>{const Ge=T,Ze=re+Me*Se;p(Be.id,{normalStyle:{...Be[Ge(611)],x:Ze}})})}else{const ge=oe-Q,Me=ge/(me-1);fe[T(935)]((Be,Se)=>{const Ge=T,Ze=Q+Me*Se;p(Be.id,{normalStyle:{...Be[Ge(611)],y:Ze}})})}},[$,i,p]),$e=E=>{const T=n,xe=E.contentInfo[T(737)][T(462)](re=>re[T(448)][T(2009)]==="LINE");return xe?xe.material.config:null},en=N[n(1942)](E=>{const T=n;if($[T(1470)]<2)return;const xe=Ae[T(1277)](),re=$[T(539)](Q=>i[T(462)](oe=>oe.id===Q))[T(990)](Q=>!!Q);if(re[T(1470)]<2)return;let le=0;switch(E){case T(1014):le=Math[T(617)](...re.map(Q=>{const oe=T,fe=$e(Q);return fe?(Q[oe(611)].x||0)+(fe[oe(1160)]||0):Q[oe(611)].x||0}));break;case T(2006):le=Math[T(1495)](...re.map(Q=>{const oe=T,fe=$e(Q);return fe?(Q[oe(611)].x||0)+(fe.endX||0):(Q.normalStyle.x||0)+(Q.normalStyle[oe(1030)]||0)}));break;case T(1275):le=Math[T(617)](...re[T(539)](Q=>{const oe=T,fe=$e(Q);return fe?(Q[oe(611)].y||0)+(fe[oe(1620)]||0):Q[oe(611)].y||0}));break;case T(705):le=Math[T(1495)](...re[T(539)](Q=>{const oe=T,fe=$e(Q);return fe?(Q.normalStyle.y||0)+(fe[oe(1820)]||0):(Q[oe(611)].y||0)+(Q.normalStyle[oe(1517)]||0)}));break}re[T(935)](Q=>{const oe=T;let fe=Q[oe(611)].x||0,me=Q[oe(611)].y||0;const ge=$e(Q);switch(E){case oe(1014):ge?fe=le-(ge[oe(1160)]||0):fe=le;break;case oe(2006):ge?fe=le-(ge[oe(1906)]||0):fe=le-(Q[oe(611)].width||0);break;case oe(1275):ge?me=le-(ge[oe(1620)]||0):me=le;break;case oe(705):ge?me=le-(ge[oe(1820)]||0):me=le-(Q.normalStyle[oe(1517)]||0);break}xe.updateNode(Q.id,{normalStyle:{...Q[oe(611)],x:fe,y:me}})})},[$,i]),Bn=[{icon:l[n(1848)](ae[n(1418)],{}),title:n(1468),active:s===n(495),onClick:()=>{P(n(495))}},{icon:l.jsx(ae[n(308)],{}),title:n(1512),active:s===n(606),onClick:()=>{P(n(606)),ce([])}},{icon:l.jsx(ae[n(1505)],{}),title:n(1904),active:s==="drag",onClick:()=>{P(n(373))}},{icon:l.jsx(ae[n(289)],{}),title:n(485),active:s==="line-draw",onClick:()=>{P(n(321))}},{icon:l[n(1848)](ae[n(879)],{}),title:n(1593),active:s===n(830),onClick:()=>{P("preview")}}],Dn=N.useMemo(()=>[{icon:l[n(1848)](ae[n(619)],{}),title:n(1658),onClick:w},{icon:l.jsx(ae[n(344)],{}),title:"重做 (Ctrl+Y)",onClick:C},{icon:l[n(1848)](ae[n(886)],{}),title:n(685),disabled:!c&&$.length===0,onClick:Mn},{icon:l[n(1848)](ae[n(308)],{}),title:n(733),disabled:$[n(1470)]<2,onClick:Tn},{icon:l[n(1848)](ae[n(1502)],{}),title:n(1120),disabled:!c&&$[n(1470)]===0,onClick:Ke},{icon:l[n(1848)](ae[n(605)],{}),title:n(517),disabled:$.length<2,onClick:()=>en(n(1014))},{icon:l[n(1848)](ae[n(750)],{}),title:"右对齐",disabled:$[n(1470)]<2,onClick:()=>en(n(2006))},{icon:l[n(1848)](ae[n(501)],{}),title:n(1597),disabled:$[n(1470)]<2,onClick:()=>en(n(1275))},{icon:l[n(1848)](ae.VerticalAlignBottomOutlined,{}),title:n(1968),disabled:$.length<2,onClick:()=>en(n(705))},{icon:l[n(1848)](ae.ColumnWidthOutlined,{}),title:n(1880),disabled:$[n(1470)]<2,onClick:()=>ut(n(1680))},{icon:l.jsx(ae[n(588)],{}),title:n(1945),disabled:$[n(1470)]<2,onClick:()=>ut("vertical")},{icon:l[n(1848)](ae.SettingOutlined,{}),title:n(1336),onClick:()=>pe(!0)},{icon:l[n(1848)](ae.ExperimentOutlined,{}),title:n(1193),type:"primary",onClick:se},{icon:l[n(1848)](ae[n(1246)],{}),title:n(1544),disabled:!c&&$.length===0,onClick:()=>{c?v(c):$[n(1470)]>0&&($.forEach(T=>v(T)),ce([]))}}],[w,C,s,P,ce,$,Tn,Ke,Mn,en,ut,pe,S,se,c,v,g.currentCanvasId]),Xt=N[n(1942)](E=>{const T=n;if(Qo(E[T(983)])||E[T(1400)]!==T(915)&&E.key!==T(469)&&E[T(1400)]!==T(1787)&&E[T(1400)]!==T(311)||$[T(1470)]===0)return;E[T(1206)](),$[T(539)](re=>i[T(462)](le=>le.id===re))[T(935)](re=>{const le=T;re&&p(re.id,{normalStyle:{...re[le(611)],x:(re[le(611)].x||0)-2*(E.key===le(915)?1:E[le(1400)]==="ArrowRight"?-1:0),y:(re[le(611)].y||0)-2*(E.key===le(1787)?1:E[le(1400)]===le(311)?-1:0)}})})},[$,i,p]);N[n(502)](()=>{const E=n;if(s===E(606))return document[E(973)](E(1184),Xt),()=>{const T=E;document[T(1045)](T(1184),Xt)}},[s,Xt]);const[to,Z0]=N[n(1641)](!1),[R0,Kt]=N[n(1641)](""),[J0,Zt]=N[n(1641)](null);return l[n(272)](n(1929),{className:n(627),children:[!t&&l[n(272)]("div",{className:n(1538),children:[l.jsxs(z[n(553)],{children:[Bn[n(539)](E=>l[n(1848)](z[n(1705)],{title:E.title,children:l.jsx(z[n(1817)],{type:E[n(507)]?n(1916):n(1353),icon:E[n(1408)],onClick:E[n(1095)]})},E[n(696)])),l[n(1848)](n(1929),{className:n(794)}),l[n(1848)](z[n(788)],{value:g[n(484)],onChange:Z,style:{width:140},dropdownRender:E=>l[n(272)](l[n(1555)],{children:[E,l[n(1848)](n(1929),{className:n(1663),children:l[n(1848)](z[n(1817)],{type:n(1254),size:"small",block:!0,onClick:()=>Z0(!0),children:n(1345)})})]}),children:g[n(1171)][n(539)](E=>l.jsx(z[n(788)][n(1474)],{value:E.id,children:E[n(748)]},E.id))}),l.jsx(z[n(1817)],{icon:l[n(1848)](ae[n(413)],{}),size:n(1363),onClick:()=>q(),title:n(1202)})]}),l.jsx(z[n(553)],{children:Dn[n(539)](E=>l[n(1848)](z[n(1705)],{title:E.title,children:l.jsx(z.Button,{type:E[n(507)]?n(1916):E[n(2009)]||"default",icon:E.icon,onClick:E.onClick,disabled:E[n(1981)]})},E[n(696)]))})]}),l.jsx(n(1929),{ref:r,className:n(564),children:l[n(1848)](Jt[n(1636)],{ref:x,initialScale:1,initialPositionX:0,initialPositionY:0,minScale:.5,maxScale:5,onTransformed:Ie,limitToBounds:!1,centerZoomedOut:!1,panning:{disabled:t||!be&&(s===n(495)||s===n(321)||s==="box-select"),velocityDisabled:!0},wheel:{disabled:t,step:.1},pinch:{disabled:t},doubleClick:{disabled:!0},children:({zoomIn:E,zoomOut:T,resetTransform:xe})=>l[n(272)](l[n(1555)],{children:[!t&&l[n(1848)](n(1929),{className:"absolute bottom-4 right-4 z-10 bg-white rounded-lg shadow-lg p-2",children:l[n(272)](z[n(553)],{direction:n(781),children:[l[n(1848)](z[n(1705)],{title:"放大",children:l.jsx(z[n(1817)],{icon:l[n(1848)](ae[n(1216)],{}),onClick:()=>E()})}),l.jsx(z[n(1705)],{title:"缩小",children:l[n(1848)](z[n(1817)],{icon:l[n(1848)](ae[n(546)],{}),onClick:()=>T()})}),l[n(1848)](z[n(1705)],{title:n(1803),children:l.jsx(z[n(1817)],{onClick:()=>xe(),children:n(1933)})}),l[n(272)](n(1929),{className:"text-center text-xs text-gray-500",children:[Math[n(1708)](d[n(1613)]*100),"%"]})]})}),l[n(1848)](Jt[n(336)],{wrapperStyle:{width:n(1933),height:n(1933),position:n(322)},contentStyle:{width:n(1933),height:n(1933),display:n(1524),alignItems:"center",justifyContent:n(378)},children:l[n(272)]("div",{ref:o,"data-canvas":n(864),className:"relative "+(L?"ring-4 ring-blue-400 ring-opacity-50":"")+" "+(s===n(321)?n(665):"")+" "+(be?"cursor-grab":""),style:{width:b.width,height:b.height,flexShrink:0,backgroundColor:b[n(1097)],backgroundImage:b[n(312)]?n(1138)+b[n(312)]+")":void 0,backgroundSize:n(1281),backgroundPosition:n(378)},onClick:Ye,onMouseDown:We,onDoubleClick:Wt,onDragOver:zn,onDragLeave:dt,onDrop:Hn,children:[b[n(1252)]!==!1&&l[n(272)](n(913),{className:n(908),width:b[n(1030)],height:b[n(1517)],children:[l[n(1848)](n(1139),{children:l[n(1848)]("pattern",{id:n(1976),width:"20",height:"20",patternUnits:n(1291),children:l[n(1848)](n(1681),{d:n(637),fill:n(403),stroke:"#f0f0f0",strokeWidth:"1"})})}),l.jsx(n(348),{width:"100%",height:n(1933),fill:"url(#grid)"})]}),i[n(539)](re=>l[n(1848)](sx,{node:re,isSelected:s==="preview"?!1:c===re.id||$.includes(re.id),data:de,onClick:s===n(830)?void 0:le=>{const Q=n;console.log(Q(808),re.id,Q(1182),Y[Q(1189)]),Y.current!==Q(321)&&(le[Q(977)]?(M(re.id),ce([...$,re.id])):(M(re.id),ce([re.id])))},onMouseDown:s===n(830)?void 0:le=>Vn(le,re),onUpdateNode:s==="preview"?void 0:(le,Q)=>p(le,Q),scale:d[n(1613)],enableEventFlow:s===n(830),eventFlowData:ye},""+re.id)),s===n(321)&&X[n(1829)]&&X[n(1209)]&&X[n(513)]&&l[n(1848)](n(913),{className:n(908),width:b[n(1030)],height:b.height,children:l.jsx(n(1841),{x1:X[n(1209)].x,y1:X[n(1209)].y,x2:X[n(513)].x,y2:X[n(513)].y,stroke:n(1843),strokeWidth:"2",strokeDasharray:n(1662),strokeLinecap:"round",strokeLinejoin:n(1708)})}),s===n(606)&&K[n(1209)]&&K[n(513)]&&l[n(1848)](n(1929),{className:n(301),style:{left:Math.min(K[n(1209)].x,K[n(513)].x),top:Math[n(617)](K.start.y,K.end.y),width:Math[n(1511)](K.end.x-K[n(1209)].x),height:Math[n(1511)](K[n(513)].y-K[n(1209)].y),zIndex:9999}})]})})]})})}),l.jsx(z[n(1993)],{title:n(1193),open:ie,onCancel:()=>S(!1),footer:null,children:l.jsx(z[n(334)],{layout:"vertical",children:l[n(1848)](z[n(334)][n(1373)],{label:"测试数据 (JSON)",children:l[n(1848)](Cs,{value:H,onChange:E=>{const T=n;_(!0),O(E[T(983)].value)},rows:10,placeholder:n(1234)})})})}),l[n(1848)](z[n(1993)],{title:n(1336),open:he,onCancel:()=>pe(!1),footer:null,children:l[n(272)](z.Form,{layout:n(781),children:[l[n(1848)](z[n(334)][n(1373)],{label:"宽度",children:l[n(1848)](z.InputNumber,{value:b.width,onChange:E=>h({width:E||1920}),min:100,max:5e3,style:{width:n(1933)}})}),l.jsx(z.Form.Item,{label:"高度",children:l.jsx(z.InputNumber,{value:b.height,onChange:E=>h({height:E||1080}),min:100,max:5e3,style:{width:n(1933)}})}),l[n(1848)](z[n(334)].Item,{label:n(527),children:l.jsx(z[n(1247)],{checked:b[n(1252)]!==!1,onChange:E=>h({showGrid:E})})}),l[n(1848)](z.Form.Item,{label:"背景色",children:l[n(272)]("div",{className:n(1586),children:[l[n(1848)](Fn,{value:b[n(1097)]||"#00193C",onChange:E=>h({background:E[n(389)]()})}),l.jsx(z.Input,{value:b.background,onChange:E=>h({background:E[n(983)][n(1188)]}),placeholder:n(332)})]})}),l[n(272)](z[n(334)][n(1373)],{label:"背景图片",children:[l.jsxs(n(1929),{className:n(1586),children:[l[n(1848)](z.Upload,{accept:n(1161),showUploadList:!1,beforeUpload:E=>{const T=n;if(!E[T(2009)][T(1463)](T(1695)))return z.message.error(T(1997)),!1;const re=new FileReader;return re[T(1948)]=le=>{const Q=T,oe=le[Q(983)]?.[Q(1404)];h({backgroundImage:oe}),z[Q(333)].success("背景图片上传成功")},re[T(320)](E),!1},children:l[n(1848)](z[n(1817)],{icon:l[n(1848)](ae.UploadOutlined,{}),children:n(991)})}),l[n(1848)](z[n(816)],{value:b.backgroundImage,onChange:E=>h({backgroundImage:E[n(983)][n(1188)]}),placeholder:"输入图片 URL 或上传图片",style:{flex:1}}),b[n(312)]&&l[n(1848)](z[n(1817)],{icon:l[n(1848)](ae[n(1093)],{}),onClick:()=>h({backgroundImage:void 0}),danger:!0,size:n(1363)})]}),b[n(312)]&&l[n(1848)](n(1929),{className:n(1015),style:{maxWidth:n(1933)},children:l[n(1848)](n(1668),{src:b[n(312)],alt:n(2008),style:{maxWidth:n(1933),maxHeight:120,objectFit:n(1346)}})})]})]})}),l[n(272)](z[n(1993)],{title:"画布管理",open:to,onCancel:()=>{Z0(!1),Zt(null),Kt("")},footer:null,children:[l.jsx(z[n(1822)],{dataSource:g.canvases,renderItem:E=>l[n(1848)](z[n(1822)][n(1373)],{actions:[J0===E.id?l[n(1848)](z[n(1817)],{type:"primary",size:"small",onClick:()=>{W(E.id,R0),Zt(null)},children:"保存"}):l[n(1848)](z[n(1817)],{type:n(1992),icon:l[n(1848)](ae.EditOutlined,{}),size:n(1363),onClick:()=>{const T=n;Zt(E.id),Kt(E[T(748)])}}),g[n(1171)][n(1470)]>1&&l[n(1848)](z[n(1817)],{type:n(1992),danger:!0,icon:l.jsx(ae[n(1246)],{}),size:n(1363),onClick:()=>F(E.id)})].filter(Boolean),children:J0===E.id?l.jsx(z[n(816)],{value:R0,onChange:T=>Kt(T[n(983)][n(1188)]),size:n(1363),style:{width:200}}):l.jsxs("span",{style:{fontWeight:g[n(484)]===E.id?"bold":n(1600)},children:[E[n(748)]," ",g[n(484)]===E.id&&n(1599)]})})}),l.jsx(n(1929),{className:n(1380),children:l[n(1848)](z[n(1817)],{type:"primary",icon:l[n(1848)](ae[n(413)],{}),onClick:()=>q(),children:n(1202)})})]})]})},{Option:r0}=z[a(788)],Ms=({material:e,onSave:t,dataOptions:n=[]})=>{const x=a,o=e,r=o.content||{},[i,c]=N[x(1641)]({label:r[x(1827)]||"",value:r[x(1188)]||"",valueSourceCode:r[x(861)]||"",unit:r[x(267)]||"",decimals:r[x(1585)]??2,labelFontSize:r[x(855)]?.[x(1411)]||14,labelFontWeight:r[x(855)]?.[x(1289)]||x(857),labelColor:r[x(855)]?.[x(1347)]||x(572),valueFontSize:r.valueStyle?.[x(1411)]||14,valueFontWeight:r[x(923)]?.fontWeight||x(1600),valueColor:r[x(923)]?.[x(1347)]||x(1843)});N[x(502)](()=>{const d=x;c({label:r[d(1827)]||"",value:r.value||"",valueSourceCode:r[d(861)]||"",unit:r[d(267)]||"",decimals:r.decimals??2,labelFontSize:r[d(855)]?.[d(1411)]||14,labelFontWeight:r[d(855)]?.[d(1289)]||"bold",labelColor:r[d(855)]?.[d(1347)]||d(572),valueFontSize:r[d(923)]?.[d(1411)]||14,valueFontWeight:r[d(923)]?.fontWeight||d(1600),valueColor:r[d(923)]?.[d(1347)]||d(1843)})},[e.id]);const f=(d,b)=>{c(g=>({...g,[d]:b}))},s=d=>{const b=x,g=n[b(462)](h=>h[b(397)]===d),y=g?.[b(267)]||"";c(h=>({...h,valueSourceCode:d,unit:y,value:String(g?.[b(1188)]||"")})),setTimeout(()=>{t({content:{...r,valueSourceCode:d,value:String(g?.[b(1188)]||""),unit:y}})},0)},u=()=>{const d=x;t({content:{...r,label:i.label,value:i.value,valueSourceCode:i[d(861)],unit:i[d(267)],decimals:i.decimals,labelStyle:{fontSize:i[d(1802)],fontWeight:i.labelFontWeight,color:i[d(1459)]},valueStyle:{fontSize:i[d(760)],fontWeight:i[d(1407)],color:i[d(1890)]}}})};return l[x(272)](x(1929),{className:"space-y-4",children:[l[x(1848)](z[x(1677)],{style:{marginTop:0},children:"文本内容"}),l[x(272)](z[x(334)],{layout:x(781),children:[l[x(1848)](z[x(334)].Item,{label:x(1886),children:l[x(1848)](z[x(816)],{value:i[x(1827)],onChange:d=>f(x(1827),d.target[x(1188)]),onBlur:u,placeholder:x(1979)})}),l[x(1848)](z.Form[x(1373)],{label:x(1471),help:x(442),children:l.jsx(z.Select,{value:i[x(861)]||void 0,onChange:s,placeholder:x(1376),allowClear:!0,style:{width:x(1933)},fieldNames:{value:x(397),label:x(1751)},options:n})}),l[x(1848)](z[x(334)][x(1373)],{label:i[x(861)]?x(1100):x(423),help:i[x(861)]?x(757):x(718),children:l[x(1848)](z[x(816)],{value:i[x(1188)],onChange:d=>f(x(1188),d[x(983)][x(1188)]),onBlur:u,placeholder:i[x(861)]?x(503):x(2e3),disabled:!!i[x(861)],variant:i[x(861)]?x(1653):void 0})}),l.jsx(z[x(334)][x(1373)],{label:"单位",help:x(273),children:l.jsx(z[x(816)],{value:i[x(267)],onChange:d=>f(x(267),d[x(983)][x(1188)]),onBlur:u,placeholder:x(280),suffix:i[x(861)]&&n[x(1470)]>0?l[x(1848)](z[x(863)],{color:x(475),style:{marginRight:-8},children:"自动"}):null})}),l[x(1848)](z[x(334)][x(1373)],{label:x(1775),help:x(1264),children:l.jsx(z[x(1179)],{value:i[x(1585)],onChange:d=>f("decimals",d??2),onBlur:u,min:-1,max:10,style:{width:x(1933)}})})]}),l.jsx(z[x(1677)],{children:x(1358)}),l[x(272)](z[x(334)],{layout:"vertical",children:[l[x(272)](z[x(553)],{children:[l[x(1848)](z[x(334)].Item,{label:x(804),children:l[x(1848)](z[x(1179)],{value:i.labelFontSize,onChange:d=>f("labelFontSize",d||14),onBlur:u,min:8,max:72})}),l[x(1848)](z.Form[x(1373)],{label:x(1078),children:l[x(272)](z[x(788)],{value:i[x(1487)],onChange:d=>{f(x(1487),d),setTimeout(u,0)},style:{width:100},children:[l[x(1848)](r0,{value:x(1600),children:"正常"}),l.jsx(r0,{value:x(857),children:"粗体"})]})})]}),l[x(1848)](z[x(334)][x(1373)],{label:x(1635),children:l.jsxs("div",{className:x(1586),children:[l[x(1848)](Fn,{value:i[x(1459)]||"#262626",onChange:d=>{f("labelColor",d.toHexString())},onChangeComplete:d=>{const b=x;t({content:{...r,label:i[b(1827)],value:i.value,valueSourceCode:i[b(861)],unit:i[b(267)],decimals:i[b(1585)],labelStyle:{fontSize:i.labelFontSize,fontWeight:i[b(1487)],color:d[b(389)]()},valueStyle:{fontSize:i[b(760)],fontWeight:i[b(1407)],color:i[b(1890)]}}})}}),l.jsx(z[x(816)],{value:i[x(1459)],onChange:d=>f("labelColor",d[x(983)][x(1188)]),onBlur:u,placeholder:x(572),style:{width:100}})]})})]}),l[x(1848)](z[x(1677)],{children:"值样式"}),l[x(272)](z.Form,{layout:x(781),children:[l[x(272)](z[x(553)],{children:[l[x(1848)](z[x(334)][x(1373)],{label:x(804),children:l.jsx(z[x(1179)],{value:i.valueFontSize,onChange:d=>f(x(760),d||14),onBlur:u,min:8,max:72})}),l.jsx(z[x(334)][x(1373)],{label:x(1078),children:l[x(272)](z[x(788)],{value:i[x(1407)],onChange:d=>{f(x(1407),d),setTimeout(u,0)},style:{width:100},children:[l[x(1848)](r0,{value:x(1600),children:"正常"}),l[x(1848)](r0,{value:x(857),children:"粗体"})]})})]}),l[x(1848)](z[x(334)][x(1373)],{label:x(1635),children:l[x(272)](x(1929),{className:"flex items-center gap-2",children:[l[x(1848)](Fn,{value:i[x(1890)]||x(1843),onChange:d=>{const b=x;f(b(1890),d[b(389)]())},onChangeComplete:d=>{const b=x;t({content:{...r,label:i[b(1827)],value:i[b(1188)],valueSourceCode:i[b(861)],unit:i.unit,decimals:i[b(1585)],labelStyle:{fontSize:i[b(1802)],fontWeight:i[b(1487)],color:i[b(1459)]},valueStyle:{fontSize:i[b(760)],fontWeight:i[b(1407)],color:d.toHexString()}}})}}),l[x(1848)](z[x(816)],{value:i.valueColor,onChange:d=>f(x(1890),d[x(983)][x(1188)]),onBlur:u,placeholder:"#1890ff",style:{width:100}})]})})]})]})},Bs=({material:e,onSave:t})=>{const n=a,x=e,[o,r]=N[n(1641)]({name:e[n(748)],src:x.src||"",backgroundColor:x[n(653)]||"",fillColor:x[n(394)]||""});N[n(502)](()=>{const f=n;r({name:e[f(748)],src:x[f(1185)]||"",backgroundColor:x.backgroundColor||"",fillColor:x.fillColor||""})},[e.id]);const i=(f,s)=>{r(u=>({...u,[f]:s}))},c=()=>{const f=n;t({name:o[f(748)],src:o.src,backgroundColor:o[f(653)]})};return l[n(272)](n(1929),{className:n(350),children:[l[n(1848)](z[n(1677)],{style:{marginTop:0},children:n(451)}),l.jsxs(z.Form,{layout:n(781),children:[l.jsx(z[n(334)][n(1373)],{label:n(1723),children:l[n(1848)](z[n(816)],{value:o[n(748)],onChange:f=>i(n(748),f[n(983)].value),onBlur:c})}),l.jsx(z[n(334)][n(1373)],{label:n(1881),children:l[n(1848)](z[n(816)][n(1152)],{value:o[n(1185)],onChange:f=>i(n(1185),f[n(983)].value),onBlur:c,rows:4,placeholder:n(1777)})}),l[n(1848)](z[n(334)][n(1373)],{label:n(1051),children:l.jsxs(n(1929),{className:"flex items-center gap-2",children:[l[n(1848)](Fn,{value:o.fillColor||n(1843),onChange:f=>{const s=n,u=f[s(389)]();i("fillColor",u),t({name:o[s(748)],src:o.src,backgroundColor:o[s(653)],fillColor:u})}}),l[n(1848)](z[n(816)],{value:o[n(394)],onChange:f=>i(n(394),f[n(983)][n(1188)]),onBlur:c,placeholder:"#1890ff"})]})}),l[n(1848)](z[n(334)].Item,{label:n(523),children:l.jsxs(n(1929),{className:n(1586),children:[l.jsx(Fn,{value:o[n(653)]||"#1890ff",onChange:f=>{const s=n,u=f.toHexString();i(s(653),u),t({name:o[s(748)],src:o[s(1185)],backgroundColor:u,fillColor:o[s(394)]})}}),l[n(1848)](z[n(816)],{value:o.backgroundColor,onChange:f=>i(n(653),f[n(983)][n(1188)]),onBlur:c,placeholder:n(1843)})]})})]})]})},{Option:Ds}=z[a(788)],Ls=({material:e,onSave:t})=>{const n=a,x=e[n(433)]||{},[o,r]=N[n(1641)]({lineWeight:x[n(1240)]||x.thickness||2,color:x.color||"#262626",lineType:x[n(1062)]||n(1396),startX:x[n(1160)]??0,startY:x[n(1620)]??0,endX:x.endX??100,endY:x.endY??0}),i=JSON[n(1148)]({sw:x[n(1240)]??x[n(919)],c:x[n(1347)],t:x[n(1062)],sx:x.startX,sy:x[n(1620)],ex:x.endX,ey:x[n(1820)]});N[n(502)](()=>{const s=n;r({lineWeight:x[s(1240)]||x[s(919)]||2,color:x[s(1347)]||s(572),lineType:x[s(1062)]||s(1396),startX:x[s(1160)]??0,startY:x[s(1620)]??0,endX:x[s(1906)]??100,endY:x[s(1820)]??0})},[e.id,i]);const c=s=>{const u=n,d={...o,...s};r(d),t({config:{...x,thickness:d.lineWeight,lineWeight:d[u(1240)],color:d.color,lineType:d[u(1062)],startX:d.startX,startY:d[u(1620)],endX:d.endX,endY:d[u(1820)]}})},f=[{value:n(1396),label:"实线",desc:"连续实线"},{value:n(1108),label:"虚线",desc:"长划间隔"},{value:"center",label:"点画线(中心线)",desc:n(1292)},{value:n(1626),label:"假想线",desc:n(1842)},{value:n(1052),label:"点线",desc:n(1467)},{value:"dash-dot",label:n(738),desc:n(749)}];return l.jsxs(n(1929),{className:n(350),children:[l.jsx(z[n(1677)],{style:{marginTop:0},children:"起止位置(相对节点)"}),l[n(272)](z[n(334)],{layout:n(781),children:[l[n(272)]("div",{className:n(856),children:[l[n(1848)](z[n(334)].Item,{label:n(852),className:n(938),children:l[n(1848)](z[n(1179)],{value:o[n(1160)],onChange:s=>c({startX:s??0}),style:{width:n(1933)}})}),l.jsx(z[n(334)][n(1373)],{label:"起点 Y",className:"mb-2",children:l[n(1848)](z.InputNumber,{value:o[n(1620)],onChange:s=>c({startY:s??0}),style:{width:n(1933)}})}),l[n(1848)](z[n(334)].Item,{label:n(822),className:"mb-2",children:l[n(1848)](z.InputNumber,{value:o[n(1906)],onChange:s=>c({endX:s??100}),style:{width:n(1933)}})}),l[n(1848)](z[n(334)][n(1373)],{label:"终点 Y",className:n(938),children:l[n(1848)](z[n(1179)],{value:o.endY,onChange:s=>c({endY:s??0}),style:{width:n(1933)}})})]}),l[n(1848)](z[n(334)][n(1373)],{label:"快速对齐",className:"mt-4",children:l.jsxs(z[n(553)],{children:[l[n(1848)](z[n(1817)],{size:"small",onClick:()=>{const s=n,u=x[s(1620)]??o.startY;c({endY:u})},title:n(1121),children:"水平"}),l[n(1848)](z[n(1817)],{size:n(1363),onClick:()=>{const s=n,u=x.startX??o[s(1160)];c({endX:u})},title:"将线条变为垂直线",children:"垂直"}),l[n(1848)](z[n(1817)],{size:n(1363),onClick:()=>{const s=n,u=x[s(1160)]??o[s(1160)],d=x[s(1620)]??o[s(1620)],b=x[s(1906)]??o.endX,g=x[s(1820)]??o[s(1820)];c({startX:b,startY:g,endX:u,endY:d})},title:n(1922),children:"反向"})]})})]}),l[n(1848)](z.Divider,{children:n(1883)}),l.jsxs(z[n(334)],{layout:n(781),children:[l[n(1848)](z[n(334)][n(1373)],{label:"线型",help:n(1744),children:l[n(1848)](z[n(788)],{value:o.lineType,onChange:s=>c({lineType:s}),children:f[n(539)](s=>l.jsx(Ds,{value:s[n(1188)],children:l[n(272)](n(1929),{className:n(1616),children:[l[n(1848)]("span",{children:s[n(1827)]}),l.jsx(n(888),{className:"text-xs text-gray-400",children:s.desc})]})},s[n(1188)]))})}),l[n(1848)](z[n(334)][n(1373)],{label:n(1715),children:l[n(1848)](z[n(1179)],{value:o[n(1240)],onChange:s=>c({lineWeight:s||2}),min:1,max:20,style:{width:120}})}),l.jsx(z.Form[n(1373)],{label:"颜色",children:l[n(272)]("div",{className:"flex items-center gap-2",children:[l[n(1848)](Fn,{value:o.color||n(1989),onChange:s=>c({color:s[n(389)]()})}),l[n(1848)](z[n(816)],{value:o.color,onChange:s=>c({color:s[n(983)][n(1188)]}),placeholder:n(1989),style:{width:100}})]})})]})]})},er=({status:e,onUpdate:t,onAppendToExpression:n})=>{const x=a,o=Ae(f=>f[x(296)]),r=o[x(462)](f=>f.id===e[x(894)]),i=r?bo(r.sample||{}):[],c=f=>{const s=x,u=s(1436)+f;n?n(u):t({expression:""+(e[s(889)]||"")+u})};return l.jsxs(l[x(1555)],{children:[l[x(1848)](z[x(334)][x(1373)],{label:x(1084),extra:o[x(1470)]===0?"请先在顶部工具栏点击「数据池」添加至少一个数据集(JSON 对象模板);宿主项目也可通过 initialScheme.dataPool 或 useEditorStore.getState().setDataPool() 注入。":x(841),children:l[x(1848)](z[x(788)],{allowClear:!0,placeholder:o[x(1470)]===0?"暂无数据集,请打开「数据池」添加":x(1177),value:e[x(894)]??void 0,options:o[x(539)](f=>({label:f[x(748)],value:f.id})),onChange:f=>t({boundDatasetId:f??null})})}),i.length>0&&l[x(1848)](z[x(334)].Item,{label:x(1761),children:l[x(1848)](z[x(553)],{size:[4,4],wrap:!0,children:i[x(539)](f=>l.jsx(z[x(863)],{className:x(1772),onClick:()=>c(f),children:x(1436)+f},f))})})]})},nr=({material:e,onSave:t,dataOptions:n})=>{const x=a;switch(e[x(2009)]){case x(739):return l.jsx(Ms,{material:e,onSave:t,dataOptions:n});case"IMAGE":return l[x(1848)](Bs,{material:e,onSave:t});case x(1446):return l[x(1848)](Ls,{material:e,onSave:t});default:return l[x(1848)](x(1929),{className:"text-center text-gray-400 py-8",children:x(566)})}},{Panel:tr}=z[a(792)],{TextArea:Ns}=z[a(816)],Ss=({node:e,updateNode:t,materials:n})=>{const x=a,o=n[x(990)](d=>d.type!==x(932)||!d[x(433)]?.[x(362)]),r=(d,b)=>{const g=x,y=e[g(887)]?.[g(539)](h=>{const m=g;return h.id===d?{...h,contentInfo:{...h[m(466)],statusList:b}}:h});t(e.id,{children:y})},i=d=>{const b=x,g=e[b(887)]?.[b(462)](h=>h.id===d);if(!g)return;const y={id:we[b(1448)](),name:"状态"+(g.contentInfo[b(737)][b(1470)]+1),expression:g[b(466)][b(737)][b(1470)]===0?b(1863):b(453),material:{...o[0],id:we.nanoid()},boundDatasetId:null};r(d,[...g.contentInfo[b(737)],y])},c=(d,b)=>{const g=x,y=e[g(887)]?.find(m=>m.id===d);if(!y)return;const h=y[g(466)][g(737)][g(990)](m=>m.id!==b);r(d,h)},f=(d,b,g)=>{const y=x,h=e[y(887)]?.[y(462)](M=>M.id===d);if(!h)return;const m=h[y(466)].statusList[y(539)](M=>M.id===b?{...M,...g}:M);r(d,m)},s=(d,b,g)=>{const y=x,h=e[y(887)]?.[y(462)](p=>p.id===d);if(!h)return;const m=h[y(466)][y(737)][y(720)](p=>p.id===b);if(m===-1)return;const M=[...h[y(466)][y(737)]];g==="up"&&m>0?[M[m],M[m-1]]=[M[m-1],M[m]]:g===y(873)&&m<M[y(1470)]-1&&([M[m],M[m+1]]=[M[m+1],M[m]]),r(d,M)},u=(d,b,g)=>{const y=x,h=n[y(462)](m=>m.id===g);h&&f(d,b,{material:{...h,id:we[y(1448)]()}})};return l.jsxs(x(1929),{className:x(350),children:[l.jsx("div",{className:x(1618),children:l[x(272)]("div",{className:x(1484),children:[l[x(1848)]("strong",{children:x(1535)}),x(735)]})}),l[x(1848)](z[x(792)],{ghost:!0,children:e.children?.map((d,b)=>l[x(1848)](tr,{header:l[x(272)](x(1929),{className:"flex items-center justify-between w-full pr-4",children:[l[x(272)]("span",{className:x(934),children:[x(1305),b+1]}),l.jsxs(z[x(863)],{color:x(475),style:{fontSize:"12px",padding:x(1545)},children:[d[x(466)].statusList[x(1470)],x(918)]})]}),children:l[x(272)](x(1929),{className:"space-y-3",children:[l[x(272)](x(1929),{className:x(1980),children:[l[x(1848)](x(888),{className:x(1697),children:x(1983)}),l[x(1848)](z[x(1817)],{type:x(1916),size:x(1363),icon:l[x(1848)](ae[x(413)],{}),onClick:()=>i(d.id),children:x(1143)})]}),d.contentInfo[x(737)][x(1470)]===0?l[x(1848)](x(1929),{className:x(1490),children:"暂无状态,点击上方按钮添加"}):l.jsx(z[x(792)],{ghost:!0,children:d[x(466)].statusList[x(539)]((g,y)=>l.jsx(tr,{header:l[x(272)](x(1929),{className:"flex items-center gap-2",children:[l[x(1848)]("span",{className:x(1450),children:y+1}),l[x(1848)]("span",{className:x(1808),children:g[x(748)]}),l[x(1848)](z[x(863)],{color:x(1353),className:x(556),children:g[x(448)][x(2009)]})]}),extra:l[x(272)](z.Space,{size:"small",onClick:h=>h[x(826)](),children:[l[x(1848)](z.Button,{type:"text",size:x(1363),icon:l[x(1848)](ae[x(1540)],{}),disabled:y===0,onClick:h=>{h[x(826)](),s(d.id,g.id,"up")}}),l[x(1848)](z[x(1817)],{type:"text",size:x(1363),icon:l[x(1848)](ae[x(796)],{}),disabled:y===d[x(466)][x(737)][x(1470)]-1,onClick:h=>{const m=x;h[m(826)](),s(d.id,g.id,m(873))}}),l[x(1848)](z[x(1817)],{type:x(1992),size:"small",danger:!0,icon:l[x(1848)](ae[x(1246)],{}),onClick:h=>{h[x(826)](),c(d.id,g.id)}})]}),children:l[x(272)](z[x(334)],{layout:"vertical",children:[l[x(1848)](z[x(334)][x(1373)],{label:x(499),children:l[x(1848)](z[x(816)],{value:g[x(748)],onChange:h=>f(d.id,g.id,{name:h[x(983)][x(1188)]}),placeholder:x(756)})}),l.jsx(er,{status:g,onUpdate:h=>f(d.id,g.id,h)}),l[x(1848)](z.Form[x(1373)],{label:x(691),help:x(1912),children:l.jsx(Ns,{value:g.expression,onChange:h=>f(d.id,g.id,{expression:h[x(983)][x(1188)]}),rows:3,placeholder:x(1863)})}),l[x(1848)](z.Form[x(1373)],{label:"更换物料",children:l[x(272)](x(1929),{className:"flex items-center gap-2",children:[l[x(1848)](z.Tag,{color:x(475),children:g[x(448)][x(748)]}),l[x(1848)](z[x(863)],{color:x(1353),children:g[x(448)].type}),l[x(1848)](z.Select,{placeholder:"选择新物料",style:{width:150},value:void 0,onChange:h=>h&&u(d.id,g.id,h),options:o[x(539)](h=>({value:h.id,label:h[x(748)]+" ("+h[x(2009)]+")"}))})]})}),l[x(1848)](z.Divider,{style:{margin:x(966)}}),l[x(272)](x(1929),{className:x(400),children:[l[x(272)](x(1929),{className:"flex items-center justify-between mb-2",children:[l[x(1848)]("span",{className:"text-sm font-medium",children:x(687)}),l.jsx(z[x(863)],{children:g[x(448)][x(748)]})]}),l[x(1848)](nr,{material:g.material,onSave:h=>{const m=x,M={...g[m(448)],...h};f(d.id,g.id,{material:M})}})]})]})},g.id))})]})},d.id))})]})};function Pe(e){const t=a;if(typeof e===t(1419)||typeof e===t(1384))return""+e;let n="";if(Array[t(1670)](e))for(let x=0,o;x<e[t(1470)];x++)(o=Pe(e[x]))!==""&&(n+=(n&&" ")+o);else for(let x in e)e[x]&&(n+=(n&&" ")+x);return n}var ks={value:()=>{}};function i0(){const e=a;for(var t=0,n=arguments.length,x={},o;t<n;++t){if(!(o=arguments[t]+"")||o in x||/[\s.]/[e(1628)](o))throw new Error(e(1837)+o);x[o]=[]}return new c0(x)}function c0(e){this._=e}function Ps(e,t){const n=a;return e[n(384)]()[n(697)](/^|\s+/)[n(539)](function(x){const o=n;var r="",i=x.indexOf(".");if(i>=0&&(r=x[o(945)](i+1),x=x[o(945)](0,i)),x&&!t.hasOwnProperty(x))throw new Error("unknown type: "+x);return{type:x,name:r}})}c0[a(329)]=i0.prototype={constructor:c0,on:function(e,t){const n=a;var x=this._,o=Ps(e+"",x),r,i=-1,c=o.length;if(arguments[n(1470)]<2){for(;++i<c;)if((r=(e=o[i])[n(2009)])&&(r=Is(x[r],e[n(748)])))return r;return}if(t!=null&&typeof t!==n(758))throw new Error(n(1227)+t);for(;++i<c;)if(r=(e=o[i])[n(2009)])x[r]=xr(x[r],e[n(748)],t);else if(t==null)for(r in x)x[r]=xr(x[r],e[n(748)],null);return this},copy:function(){const e=a;var t={},n=this._;for(var x in n)t[x]=n[x][e(945)]();return new c0(t)},call:function(e,t){const n=a;if((r=arguments[n(1470)]-2)>0)for(var x=new Array(r),o=0,r,i;o<r;++o)x[o]=arguments[o+2];if(!this._[n(309)](e))throw new Error(n(1312)+e);for(i=this._[e],o=0,r=i[n(1470)];o<r;++o)i[o][n(1188)][n(1718)](t,x)},apply:function(e,t,n){const x=a;if(!this._[x(309)](e))throw new Error(x(1312)+e);for(var o=this._[e],r=0,i=o[x(1470)];r<i;++r)o[r][x(1188)][x(1718)](t,n)}};function Is(e,t){const n=a;for(var x=0,o=e.length,r;x<o;++x)if((r=e[x])[n(748)]===t)return r.value}function xr(e,t,n){const x=a;for(var o=0,r=e[x(1470)];o<r;++o)if(e[o][x(748)]===t){e[o]=ks,e=e[x(945)](0,o)[x(1565)](e[x(945)](o+1));break}return n!=null&&e.push({name:t,value:n}),e}var lx=a(1552);const or={svg:a(937),xhtml:lx,xlink:a(1895),xml:a(1486),xmlns:"http://www.w3.org/2000/xmlns/"};function a0(e){const t=a;var n=e+="",x=n[t(1445)](":");return x>=0&&(n=e[t(945)](0,x))!==t(667)&&(e=e[t(945)](x+1)),or.hasOwnProperty(n)?{space:or[n],local:e}:e}function Ys(e){return function(){const t=_0x4f97;var n=this[t(1513)],x=this[t(854)];return x===lx&&n[t(689)][t(854)]===lx?n[t(1573)](e):n[t(1627)](x,e)}}function js(e){return function(){const t=_0x4f97;return this[t(1513)][t(1627)](e[t(963)],e[t(984)])}}function rr(e){const t=a;var n=a0(e);return(n[t(984)]?js:Ys)(n)}function As(){}function dx(e){return e==null?As:function(){return this[_0x4f97(510)](e)}}function Es(e){const t=a;typeof e!="function"&&(e=dx(e));for(var n=this[t(481)],x=n[t(1470)],o=new Array(x),r=0;r<x;++r)for(var i=n[r],c=i[t(1470)],f=o[r]=new Array(c),s,u,d=0;d<c;++d)(s=i[d])&&(u=e[t(643)](s,s[t(545)],d,i))&&("__data__"in s&&(u[t(545)]=s.__data__),f[d]=u);return new Ve(o,this._parents)}function Us(e){const t=a;return e==null?[]:Array.isArray(e)?e:Array[t(602)](e)}function Os(){return[]}function ir(e){return e==null?Os:function(){return this.querySelectorAll(e)}}function Gs(e){return function(){return Us(e[_0x4f97(1718)](this,arguments))}}function Hs(e){const t=a;typeof e=="function"?e=Gs(e):e=ir(e);for(var n=this._groups,x=n[t(1470)],o=[],r=[],i=0;i<x;++i)for(var c=n[i],f=c[t(1470)],s,u=0;u<f;++u)(s=c[u])&&(o[t(1374)](e.call(s,s.__data__,u,c)),r[t(1374)](s));return new Ve(o,r)}function cr(e){return function(){return this[_0x4f97(1298)](e)}}function ar(e){return function(t){return t[_0x4f97(1298)](e)}}var Vs=Array[a(329)].find;function Ts(e){return function(){const t=_0x4f97;return Vs[t(643)](this[t(887)],e)}}function qs(){return this[a(1965)]}function Ws(e){const t=a;return this[t(495)](e==null?qs:Ts(typeof e===t(758)?e:ar(e)))}var Xs=Array[a(329)].filter;function Ks(){return Array[a(602)](this.children)}function Zs(e){return function(){const t=_0x4f97;return Xs.call(this[t(887)],e)}}function Rs(e){const t=a;return this[t(636)](e==null?Ks:Zs(typeof e===t(758)?e:ar(e)))}function Js(e){const t=a;typeof e!="function"&&(e=cr(e));for(var n=this[t(481)],x=n.length,o=new Array(x),r=0;r<x;++r)for(var i=n[r],c=i[t(1470)],f=o[r]=[],s,u=0;u<c;++u)(s=i[u])&&e.call(s,s[t(545)],u,i)&&f.push(s);return new Ve(o,this[t(1196)])}function sr(e){return new Array(e.length)}function _s(){return new Ve(this._enter||this._groups.map(sr),this._parents)}function s0(e,t){const n=a;this[n(1513)]=e[n(1513)],this[n(854)]=e[n(854)],this._next=null,this[n(425)]=e,this[n(545)]=t}s0.prototype={constructor:s0,appendChild:function(e){return this[a(425)].insertBefore(e,this._next)},insertBefore:function(e,t){const n=a;return this._parent[n(1889)](e,t)},querySelector:function(e){const t=a;return this[t(425)][t(510)](e)},querySelectorAll:function(e){const t=a;return this[t(425)][t(1602)](e)}};function Fs(e){return function(){return e}}function Qs(e,t,n,x,o,r){const i=a;for(var c=0,f,s=t[i(1470)],u=r[i(1470)];c<u;++c)(f=t[c])?(f[i(545)]=r[c],x[c]=f):n[c]=new s0(e,r[c]);for(;c<s;++c)(f=t[c])&&(o[c]=f)}function $s(e,t,n,x,o,r,i){const c=a;var f,s,u=new Map,d=t[c(1470)],b=r.length,g=new Array(d),y;for(f=0;f<d;++f)(s=t[f])&&(g[f]=y=i[c(643)](s,s[c(545)],f,t)+"",u[c(1913)](y)?o[f]=s:u[c(1759)](y,s));for(f=0;f<b;++f)y=i[c(643)](e,r[f],f,r)+"",(s=u.get(y))?(x[f]=s,s[c(545)]=r[f],u[c(656)](y)):n[f]=new s0(e,r[f]);for(f=0;f<d;++f)(s=t[f])&&u[c(1077)](g[f])===s&&(o[f]=s)}function el(e){return e[a(545)]}function nl(e,t){const n=a;if(!arguments[n(1470)])return Array.from(this,el);var x=t?$s:Qs,o=this[n(1196)],r=this[n(481)];typeof e!="function"&&(e=Fs(e));for(var i=r[n(1470)],c=new Array(i),f=new Array(i),s=new Array(i),u=0;u<i;++u){var d=o[u],b=r[u],g=b[n(1470)],y=tl(e.call(d,d&&d.__data__,u,o)),h=y[n(1470)],m=f[u]=new Array(h),M=c[u]=new Array(h),p=s[u]=new Array(g);x(d,b,m,M,p,y,t);for(var v=0,w=0,C,P;v<h;++v)if(C=m[v]){for(v>=w&&(w=v+1);!(P=M[w])&&++w<h;);C._next=P||null}}return c=new Ve(c,o),c[n(871)]=f,c[n(1589)]=s,c}function tl(e){return typeof e===a(1466)&&"length"in e?e:Array.from(e)}function xl(){const e=a;return new Ve(this[e(1589)]||this[e(481)][e(539)](sr),this[e(1196)])}function ol(e,t,n){const x=a;var o=this[x(1017)](),r=this,i=this[x(1508)]();return typeof e===x(758)?(o=e(o),o&&(o=o.selection())):o=o[x(506)](e+""),t!=null&&(r=t(r),r&&(r=r[x(1372)]())),n==null?i[x(1577)]():n(i),o&&r?o[x(1819)](r).order():r}function rl(e){const t=a;for(var n=e[t(1372)]?e[t(1372)]():e,x=this[t(481)],o=n[t(481)],r=x[t(1470)],i=o.length,c=Math[t(617)](r,i),f=new Array(r),s=0;s<c;++s)for(var u=x[s],d=o[s],b=u[t(1470)],g=f[s]=new Array(b),y,h=0;h<b;++h)(y=u[h]||d[h])&&(g[h]=y);for(;s<r;++s)f[s]=x[s];return new Ve(f,this[t(1196)])}function il(){const e=a;for(var t=this[e(481)],n=-1,x=t[e(1470)];++n<x;)for(var o=t[n],r=o[e(1470)]-1,i=o[r],c;--r>=0;)(c=o[r])&&(i&&c.compareDocumentPosition(i)^4&&i.parentNode.insertBefore(c,i),i=c);return this}function cl(e){const t=a;e||(e=al);function n(b,g){const y=_0x4f97;return b&&g?e(b.__data__,g[y(545)]):!b-!g}for(var x=this[t(481)],o=x[t(1470)],r=new Array(o),i=0;i<o;++i){for(var c=x[i],f=c[t(1470)],s=r[i]=new Array(f),u,d=0;d<f;++d)(u=c[d])&&(s[d]=u);s[t(684)](n)}return new Ve(r,this[t(1196)])[t(722)]()}function al(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function sl(){const e=a;var t=arguments[0];return arguments[0]=this,t[e(1718)](null,arguments),this}function ll(){return Array[a(602)](this)}function dl(){const e=a;for(var t=this[e(481)],n=0,x=t[e(1470)];n<x;++n)for(var o=t[n],r=0,i=o[e(1470)];r<i;++r){var c=o[r];if(c)return c}return null}function ul(){let e=0;for(const t of this)++e;return e}function fl(){return!this[a(858)]()}function hl(e){const t=a;for(var n=this[t(481)],x=0,o=n[t(1470)];x<o;++x)for(var r=n[x],i=0,c=r[t(1470)],f;i<c;++i)(f=r[i])&&e[t(643)](f,f[t(545)],i,r);return this}function bl(e){return function(){this[_0x4f97(597)](e)}}function gl(e){return function(){const t=_0x4f97;this[t(1872)](e.space,e[t(984)])}}function yl(e,t){return function(){this[_0x4f97(494)](e,t)}}function ml(e,t){return function(){const n=_0x4f97;this[n(1691)](e[n(963)],e[n(984)],t)}}function wl(e,t){return function(){const n=_0x4f97;var x=t.apply(this,arguments);x==null?this[n(597)](e):this[n(494)](e,x)}}function vl(e,t){return function(){const n=_0x4f97;var x=t[n(1718)](this,arguments);x==null?this[n(1872)](e[n(963)],e.local):this[n(1691)](e[n(963)],e.local,x)}}function pl(e,t){const n=a;var x=a0(e);if(arguments[n(1470)]<2){var o=this[n(858)]();return x[n(984)]?o[n(386)](x[n(963)],x[n(984)]):o.getAttribute(x)}return this[n(1356)]((t==null?x[n(984)]?gl:bl:typeof t===n(758)?x[n(984)]?vl:wl:x.local?ml:yl)(x,t))}function lr(e){const t=a;return e.ownerDocument&&e.ownerDocument.defaultView||e[t(361)]&&e||e[t(1510)]}function zl(e){return function(){this.style.removeProperty(e)}}function Cl(e,t,n){return function(){const x=_0x4f97;this[x(1632)][x(1028)](e,t,n)}}function Ml(e,t,n){return function(){const x=_0x4f97;var o=t[x(1718)](this,arguments);o==null?this[x(1632)][x(1752)](e):this[x(1632)][x(1028)](e,o,n)}}function Bl(e,t,n){const x=a;return arguments[x(1470)]>1?this[x(1356)]((t==null?zl:typeof t===x(758)?Ml:Cl)(e,t,n??"")):Qn(this.node(),e)}function Qn(e,t){const n=a;return e.style.getPropertyValue(t)||lr(e)[n(872)](e,null)[n(628)](t)}function Dl(e){return function(){delete this[e]}}function Ll(e,t){return function(){this[e]=t}}function Nl(e,t){return function(){var x=t[_0x4f97(1718)](this,arguments);x==null?delete this[e]:this[e]=x}}function Sl(e,t){const n=a;return arguments[n(1470)]>1?this[n(1356)]((t==null?Dl:typeof t===n(758)?Nl:Ll)(e,t)):this[n(858)]()[e]}function dr(e){return e.trim().split(/^|\s+/)}function ux(e){return e[a(1758)]||new ur(e)}function ur(e){const t=a;this[t(1610)]=e,this[t(1874)]=dr(e.getAttribute(t(1342))||"")}ur[a(329)]={add:function(e){const t=a;var n=this._names[t(1445)](e);n<0&&(this[t(1874)][t(1374)](e),this[t(1610)].setAttribute(t(1342),this[t(1874)][t(1498)](" ")))},remove:function(e){const t=a;var n=this[t(1874)][t(1445)](e);n>=0&&(this[t(1874)].splice(n,1),this[t(1610)].setAttribute(t(1342),this[t(1874)][t(1498)](" ")))},contains:function(e){const t=a;return this[t(1874)][t(1445)](e)>=0}};function fr(e,t){const n=a;for(var x=ux(e),o=-1,r=t[n(1470)];++o<r;)x[n(284)](t[o])}function hr(e,t){const n=a;for(var x=ux(e),o=-1,r=t[n(1470)];++o<r;)x[n(1577)](t[o])}function kl(e){return function(){fr(this,e)}}function Pl(e){return function(){hr(this,e)}}function Il(e,t){return function(){(t[_0x4f97(1718)](this,arguments)?fr:hr)(this,e)}}function Yl(e,t){const n=a;var x=dr(e+"");if(arguments[n(1470)]<2){for(var o=ux(this[n(858)]()),r=-1,i=x[n(1470)];++r<i;)if(!o.contains(x[r]))return!1;return!0}return this[n(1356)]((typeof t=="function"?Il:t?kl:Pl)(x,t))}function jl(){const e=a;this[e(1311)]=""}function Al(e){return function(){const t=_0x4f97;this[t(1311)]=e}}function El(e){return function(){const t=_0x4f97;var n=e.apply(this,arguments);this[t(1311)]=n??""}}function Ul(e){const t=a;return arguments.length?this[t(1356)](e==null?jl:(typeof e===t(758)?El:Al)(e)):this[t(858)]()[t(1311)]}function Ol(){const e=a;this[e(786)]=""}function Gl(e){return function(){const t=_0x4f97;this[t(786)]=e}}function Hl(e){return function(){const t=_0x4f97;var n=e[t(1718)](this,arguments);this[t(786)]=n??""}}function Vl(e){const t=a;return arguments[t(1470)]?this[t(1356)](e==null?Ol:(typeof e===t(758)?Hl:Gl)(e)):this[t(858)]()[t(786)]}function Tl(){const e=a;this[e(1075)]&&this[e(1850)].appendChild(this)}function ql(){return this.each(Tl)}function Wl(){const e=a;this[e(1935)]&&this[e(1850)][e(1889)](this,this[e(1850)][e(1998)])}function Xl(){return this[a(1356)](Wl)}function Kl(e){const t=a;var n=typeof e===t(758)?e:rr(e);return this.select(function(){const x=t;return this[x(1162)](n[x(1718)](this,arguments))})}function Zl(){return null}function Rl(e,t){const n=a;var x=typeof e===n(758)?e:rr(e),o=t==null?Zl:typeof t===n(758)?t:dx(t);return this[n(495)](function(){const r=n;return this[r(1889)](x[r(1718)](this,arguments),o.apply(this,arguments)||null)})}function Jl(){const e=a;var t=this.parentNode;t&&t[e(987)](this)}function _l(){return this[a(1356)](Jl)}function Fl(){const e=a;var t=this[e(591)](!1),n=this[e(1850)];return n?n[e(1889)](t,this[e(1075)]):t}function Ql(){const e=a;var t=this[e(591)](!0),n=this.parentNode;return n?n[e(1889)](t,this[e(1075)]):t}function $l(e){return this[a(495)](e?Ql:Fl)}function ed(e){const t=a;return arguments[t(1470)]?this[t(276)](t(545),e):this[t(858)]()[t(545)]}function nd(e){return function(t){const n=_0x4f97;e[n(643)](this,t,this[n(545)])}}function td(e){const t=a;return e[t(384)]().split(/^|\s+/)[t(539)](function(n){const x=t;var o="",r=n[x(1445)](".");return r>=0&&(o=n[x(945)](r+1),n=n[x(945)](0,r)),{type:n,name:o}})}function xd(e){return function(){const t=_0x4f97;var n=this.__on;if(n){for(var x=0,o=-1,r=n[t(1470)],i;x<r;++x)i=n[x],(!e[t(2009)]||i[t(2009)]===e.type)&&i[t(748)]===e.name?this.removeEventListener(i[t(2009)],i.listener,i.options):n[++o]=i;++o?n[t(1470)]=o:delete this[t(1390)]}}}function od(e,t,n){return function(){const x=_0x4f97;var o=this[x(1390)],r,i=nd(t);if(o){for(var c=0,f=o[x(1470)];c<f;++c)if((r=o[c]).type===e.type&&r[x(748)]===e[x(748)]){this[x(1045)](r[x(2009)],r[x(969)],r[x(2002)]),this[x(973)](r[x(2009)],r[x(969)]=i,r[x(2002)]=n),r[x(1188)]=t;return}}this[x(973)](e.type,i,n),r={type:e[x(2009)],name:e.name,value:t,listener:i,options:n},o?o[x(1374)](r):this[x(1390)]=[r]}}function rd(e,t,n){const x=a;var o=td(e+""),r,i=o[x(1470)],c;if(arguments[x(1470)]<2){var f=this[x(858)]().__on;if(f){for(var s=0,u=f[x(1470)],d;s<u;++s)for(r=0,d=f[s];r<i;++r)if((c=o[r])[x(2009)]===d[x(2009)]&&c[x(748)]===d.name)return d[x(1188)]}return}for(f=t?od:xd,r=0;r<i;++r)this.each(f(o[r],t,n));return this}function br(e,t,n){const x=a;var o=lr(e),r=o[x(1454)];typeof r=="function"?r=new r(t,n):(r=o.document[x(947)]("Event"),n?(r.initEvent(t,n[x(1707)],n[x(1506)]),r.detail=n.detail):r.initEvent(t,!1,!1)),e.dispatchEvent(r)}function id(e,t){return function(){return br(this,e,t)}}function cd(e,t){return function(){return br(this,e,t.apply(this,arguments))}}function ad(e,t){const n=a;return this[n(1356)]((typeof t===n(758)?cd:id)(e,t))}function*sd(){const e=a;for(var t=this[e(481)],n=0,x=t[e(1470)];n<x;++n)for(var o=t[n],r=0,i=o[e(1470)],c;r<i;++r)(c=o[r])&&(yield c)}var gr=[null];function Ve(e,t){const n=a;this[n(481)]=e,this._parents=t}function Ct(){const e=a;return new Ve([[document[e(689)]]],gr)}function ld(){return this}Ve.prototype=Ct[a(329)]={constructor:Ve,select:Es,selectAll:Hs,selectChild:Ws,selectChildren:Rs,filter:Js,data:nl,enter:_s,exit:xl,join:ol,merge:rl,selection:ld,order:il,sort:cl,call:sl,nodes:ll,node:dl,size:ul,empty:fl,each:hl,attr:pl,style:Bl,property:Sl,classed:Yl,text:Ul,html:Vl,raise:ql,lower:Xl,append:Kl,insert:Rl,remove:_l,clone:$l,datum:ed,on:rd,dispatch:ad,[Symbol[a(1836)]]:sd};function Te(e){const t=a;return typeof e===t(1419)?new Ve([[document[t(510)](e)]],[document[t(689)]]):new Ve([[e]],gr)}function dd(e){const t=a;let n;for(;n=e[t(1518)];)e=n;return e}function Re(e,t){const n=a;if(e=dd(e),t===void 0&&(t=e[n(1566)]),t){var x=t[n(707)]||t;if(x[n(454)]){var o=x[n(454)]();return o.x=e[n(615)],o.y=e[n(1712)],o=o.matrixTransform(t[n(880)]().inverse()),[o.x,o.y]}if(t[n(447)]){var r=t.getBoundingClientRect();return[e[n(615)]-r[n(1014)]-t.clientLeft,e[n(1712)]-r[n(1275)]-t[n(890)]]}}return[e[n(1368)],e[n(496)]]}const ud={passive:!1},Mt={capture:!0,passive:!1};function fx(e){e[a(1962)]()}function $n(e){e.preventDefault(),e.stopImmediatePropagation()}function yr(e){const t=a;var n=e[t(361)].documentElement,x=Te(e).on("dragstart.drag",$n,Mt);"onselectstart"in n?x.on(t(559),$n,Mt):(n.__noselect=n[t(1632)][t(1388)],n[t(1632)][t(1388)]=t(403))}function mr(e,t){const n=a;var x=e.document[n(689)],o=Te(e).on(n(387),null);t&&(o.on("click.drag",$n,Mt),setTimeout(function(){const r=n;o.on(r(370),null)},0)),n(1008)in x?o.on(n(559),null):(x.style[n(1388)]=x[n(1778)],delete x.__noselect)}const l0=e=>()=>e;function hx(e,{sourceEvent:t,subject:n,target:x,identifier:o,active:r,x:i,y:c,dx:f,dy:s,dispatch:u}){Object[a(1601)](this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:x,enumerable:!0,configurable:!0},identifier:{value:o,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:f,enumerable:!0,configurable:!0},dy:{value:s,enumerable:!0,configurable:!0},_:{value:u}})}hx[a(329)].on=function(){const e=a;var t=this._.on[e(1718)](this._,arguments);return t===this._?this:t};function fd(e){const t=a;return!e[t(867)]&&!e[t(1558)]}function hd(){return this[a(1850)]}function bd(e,t){return t??{x:e.x,y:e.y}}function gd(){const e=a;return navigator.maxTouchPoints||e(297)in this}function wr(){const e=a;var t=fd,n=hd,x=bd,o=gd,r={},i=i0(e(1209),"drag",e(513)),c=0,f,s,u,d,b=0;function g(C){const P=e;C.on(P(299),y)[P(990)](o).on("touchstart.drag",M).on(P(1278),p,ud).on(P(567),v)[P(1632)](P(944),P(403))[P(1632)]("-webkit-tap-highlight-color",P(642))}function y(C,P){const A=e;if(!(d||!t[A(643)](this,C,P))){var G=w(this,n[A(643)](this,C,P),C,P,A(1081));G&&(Te(C[A(512)]).on(A(741),h,Mt).on(A(914),m,Mt),yr(C[A(512)]),fx(C),u=!1,f=C[A(615)],s=C[A(1712)],G(A(1209),C))}}function h(C){const P=e;if($n(C),!u){var A=C.clientX-f,G=C[P(1712)]-s;u=A*A+G*G>b}r[P(1081)](P(373),C)}function m(C){const P=e;Te(C[P(512)]).on(P(1057),null),mr(C[P(512)],u),$n(C),r[P(1081)](P(513),C)}function M(C,P){const A=e;if(t[A(643)](this,C,P)){var G=C[A(552)],j=n.call(this,C,P),q=G[A(1470)],F,Z;for(F=0;F<q;++F)(Z=w(this,j,C,P,G[F].identifier,G[F]))&&(fx(C),Z(A(1209),C,G[F]))}}function p(C){const P=e;var A=C[P(552)],G=A[P(1470)],j,q;for(j=0;j<G;++j)(q=r[A[j][P(474)]])&&($n(C),q("drag",C,A[j]))}function v(C){const P=e;var A=C[P(552)],G=A[P(1470)],j,q;for(d&&clearTimeout(d),d=setTimeout(function(){d=null},500),j=0;j<G;++j)(q=r[A[j][P(474)]])&&(fx(C),q(P(513),C,A[j]))}function w(C,P,A,G,j,q){const F=e;var Z=i[F(708)](),W=Re(q||A,P),V,L,D;if((D=x[F(643)](C,new hx(F(1525),{sourceEvent:A,target:g,identifier:j,active:c,x:W[0],y:W[1],dx:0,dy:0,dispatch:Z}),G))!=null)return V=D.x-W[0]||0,L=D.y-W[1]||0,function B(Y,I,k){const R=F;var J=W,X;switch(Y){case R(1209):r[j]=B,X=c++;break;case R(513):delete r[j],--c;case"drag":W=Re(k||I,P),X=c;break}Z[R(643)](Y,C,new hx(Y,{sourceEvent:I,subject:D,target:g,identifier:j,active:X,x:W[0]+V,y:W[1]+L,dx:W[0]-J[0],dy:W[1]-J[1],dispatch:Z}),G)}}return g.filter=function(C){return arguments[e(1470)]?(t=typeof C=="function"?C:l0(!!C),g):t},g[e(1603)]=function(C){const P=e;return arguments[P(1470)]?(n=typeof C===P(758)?C:l0(C),g):n},g[e(445)]=function(C){return arguments.length?(x=typeof C=="function"?C:l0(C),g):x},g[e(1107)]=function(C){const P=e;return arguments.length?(o=typeof C===P(758)?C:l0(!!C),g):o},g.on=function(){var C=i.on.apply(i,arguments);return C===i?g:C},g[e(1608)]=function(C){const P=e;return arguments.length?(b=(C=+C)*C,g):Math[P(769)](b)},g}function bx(e,t,n){const x=a;e[x(329)]=t[x(329)]=n,n[x(1071)]=e}function vr(e,t){const n=a;var x=Object[n(730)](e[n(329)]);for(var o in t)x[o]=t[o];return x}function Bt(){}var Dt=.7,d0=1/Dt,et="\\s*([+-]?\\d+)\\s*",Lt=a(1330),tn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",yd=/^#([0-9a-f]{3,8})$/,md=new RegExp(a(1669)+et+","+et+","+et+a(632)),wd=new RegExp(a(1669)+tn+","+tn+","+tn+a(632)),vd=new RegExp("^rgba\\("+et+","+et+","+et+","+Lt+a(632)),pd=new RegExp(a(921)+tn+","+tn+","+tn+","+Lt+a(632)),zd=new RegExp("^hsl\\("+Lt+","+tn+","+tn+a(632)),Cd=new RegExp(a(1859)+Lt+","+tn+","+tn+","+Lt+a(632)),pr={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};bx(Bt,In,{copy(e){const t=a;return Object.assign(new this[t(1071)],this,e)},displayable(){const e=a;return this[e(692)]()[e(1072)]()},hex:zr,formatHex:zr,formatHex8:Md,formatHsl:Bd,formatRgb:Cr,toString:Cr});function zr(){const e=a;return this[e(692)]()[e(1126)]()}function Md(){const e=a;return this[e(692)]()[e(676)]()}function Bd(){const e=a;return Nr(this)[e(1940)]()}function Cr(){const e=a;return this[e(692)]()[e(1181)]()}function In(e){const t=a;var n,x;return e=(e+"")[t(384)]().toLowerCase(),(n=yd[t(1934)](e))?(x=n[1][t(1470)],n=parseInt(n[1],16),x===6?Mr(n):x===3?new Ee(n>>8&15|n>>4&240,n>>4&15|n&240,(n&15)<<4|n&15,1):x===8?u0(n>>24&255,n>>16&255,n>>8&255,(n&255)/255):x===4?u0(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|n&240,((n&15)<<4|n&15)/255):null):(n=md[t(1934)](e))?new Ee(n[1],n[2],n[3],1):(n=wd.exec(e))?new Ee(n[1]*255/100,n[2]*255/100,n[3]*255/100,1):(n=vd[t(1934)](e))?u0(n[1],n[2],n[3],n[4]):(n=pd[t(1934)](e))?u0(n[1]*255/100,n[2]*255/100,n[3]*255/100,n[4]):(n=zd[t(1934)](e))?Lr(n[1],n[2]/100,n[3]/100,1):(n=Cd[t(1934)](e))?Lr(n[1],n[2]/100,n[3]/100,n[4]):pr[t(309)](e)?Mr(pr[e]):e===t(912)?new Ee(NaN,NaN,NaN,0):null}function Mr(e){return new Ee(e>>16&255,e>>8&255,e&255,1)}function u0(e,t,n,x){return x<=0&&(e=t=n=NaN),new Ee(e,t,n,x)}function Dd(e){const t=a;return e instanceof Bt||(e=In(e)),e?(e=e[t(692)](),new Ee(e.r,e.g,e.b,e.opacity)):new Ee}function gx(e,t,n,x){return arguments[a(1470)]===1?Dd(e):new Ee(e,t,n,x??1)}function Ee(e,t,n,x){const o=a;this.r=+e,this.g=+t,this.b=+n,this[o(463)]=+x}bx(Ee,gx,vr(Bt,{brighter(e){const t=a;return e=e==null?d0:Math.pow(d0,e),new Ee(this.r*e,this.g*e,this.b*e,this[t(463)])},darker(e){const t=a;return e=e==null?Dt:Math.pow(Dt,e),new Ee(this.r*e,this.g*e,this.b*e,this[t(463)])},rgb(){return this},clamp(){const e=a;return new Ee(Yn(this.r),Yn(this.g),Yn(this.b),f0(this[e(463)]))},displayable(){const e=a;return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this[e(463)]<=1},hex:Br,formatHex:Br,formatHex8:Ld,formatRgb:Dr,toString:Dr}));function Br(){return"#"+jn(this.r)+jn(this.g)+jn(this.b)}function Ld(){const e=a;return"#"+jn(this.r)+jn(this.g)+jn(this.b)+jn((isNaN(this[e(463)])?1:this.opacity)*255)}function Dr(){const e=a,t=f0(this[e(463)]);return""+(t===1?e(1504):"rgba(")+Yn(this.r)+", "+Yn(this.g)+", "+Yn(this.b)+(t===1?")":", "+t+")")}function f0(e){const t=a;return isNaN(e)?1:Math[t(1495)](0,Math[t(617)](1,e))}function Yn(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function jn(e){const t=a;return e=Yn(e),(e<16?"0":"")+e[t(1805)](16)}function Lr(e,t,n,x){return x<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Je(e,t,n,x)}function Nr(e){const t=a;if(e instanceof Je)return new Je(e.h,e.s,e.l,e.opacity);if(e instanceof Bt||(e=In(e)),!e)return new Je;if(e instanceof Je)return e;e=e[t(692)]();var n=e.r/255,x=e.g/255,o=e.b/255,r=Math[t(617)](n,x,o),i=Math[t(1495)](n,x,o),c=NaN,f=i-r,s=(i+r)/2;return f?(n===i?c=(x-o)/f+(x<o)*6:x===i?c=(o-n)/f+2:c=(n-x)/f+4,f/=s<.5?i+r:2-i-r,c*=60):f=s>0&&s<1?0:c,new Je(c,f,s,e.opacity)}function Nd(e,t,n,x){return arguments[a(1470)]===1?Nr(e):new Je(e,t,n,x??1)}function Je(e,t,n,x){const o=a;this.h=+e,this.s=+t,this.l=+n,this[o(463)]=+x}bx(Je,Nd,vr(Bt,{brighter(e){const t=a;return e=e==null?d0:Math[t(1551)](d0,e),new Je(this.h,this.s,this.l*e,this[t(463)])},darker(e){const t=a;return e=e==null?Dt:Math[t(1551)](Dt,e),new Je(this.h,this.s,this.l*e,this[t(463)])},rgb(){const e=a;var t=this.h%360+(this.h<0)*360,n=isNaN(t)||isNaN(this.s)?0:this.s,x=this.l,o=x+(x<.5?x:1-x)*n,r=2*x-o;return new Ee(yx(t>=240?t-240:t+120,r,o),yx(t,r,o),yx(t<120?t+240:t-120,r,o),this[e(463)])},clamp(){const e=a;return new Je(Sr(this.h),h0(this.s),h0(this.l),f0(this[e(463)]))},displayable(){const e=a;return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this[e(463)]&&this.opacity<=1},formatHsl(){const e=a,t=f0(this[e(463)]);return""+(t===1?e(906):"hsla(")+Sr(this.h)+", "+h0(this.s)*100+"%, "+h0(this.l)*100+"%"+(t===1?")":", "+t+")")}}));function Sr(e){return e=(e||0)%360,e<0?e+360:e}function h0(e){const t=a;return Math[t(1495)](0,Math[t(617)](1,e||0))}function yx(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const mx=e=>()=>e;function Sd(e,t){return function(n){return e+n*t}}function kd(e,t,n){const x=a;return e=Math[x(1551)](e,n),t=Math[x(1551)](t,n)-e,n=1/n,function(o){return Math[x(1551)](e+o*t,n)}}function Pd(e){return(e=+e)==1?kr:function(t,n){return n-t?kd(t,n,e):mx(isNaN(t)?n:t)}}function kr(e,t){var n=t-e;return n?Sd(e,n):mx(isNaN(e)?t:e)}const b0=(function e(t){const n=a;var x=Pd(t);function o(r,i){const c=_0x4f97;var f=x((r=gx(r)).r,(i=gx(i)).r),s=x(r.g,i.g),u=x(r.b,i.b),d=kr(r[c(463)],i[c(463)]);return function(b){const g=c;return r.r=f(b),r.g=s(b),r.b=u(b),r[g(463)]=d(b),r+""}}return o[n(1248)]=e,o})(1);function Id(e,t){const n=a;t||(t=[]);var x=e?Math.min(t[n(1470)],e[n(1470)]):0,o=t[n(945)](),r;return function(i){for(r=0;r<x;++r)o[r]=e[r]*(1-i)+t[r]*i;return o}}function Yd(e){return ArrayBuffer[a(1288)](e)&&!(e instanceof DataView)}function jd(e,t){const n=a;var x=t?t.length:0,o=e?Math[n(617)](x,e.length):0,r=new Array(o),i=new Array(x),c;for(c=0;c<o;++c)r[c]=Nt(e[c],t[c]);for(;c<x;++c)i[c]=t[c];return function(f){for(c=0;c<o;++c)i[c]=r[c](f);return i}}function Ad(e,t){var n=new Date;return e=+e,t=+t,function(x){return n[_0x4f97(868)](e*(1-x)+t*x),n}}function xn(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Ed(e,t){const n=a;var x={},o={},r;(e===null||typeof e!==n(1466))&&(e={}),(t===null||typeof t!==n(1466))&&(t={});for(r in t)r in e?x[r]=Nt(e[r],t[r]):o[r]=t[r];return function(i){for(r in x)o[r]=x[r](i);return o}}var wx=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,vx=new RegExp(wx.source,"g");function Ud(e){return function(){return e}}function Od(e){return function(t){return e(t)+""}}function Pr(e,t){const n=a;var x=wx.lastIndex=vx[n(421)]=0,o,r,i,c=-1,f=[],s=[];for(e=e+"",t=t+"";(o=wx.exec(e))&&(r=vx[n(1934)](t));)(i=r[n(1224)])>x&&(i=t[n(945)](x,i),f[c]?f[c]+=i:f[++c]=i),(o=o[0])===(r=r[0])?f[c]?f[c]+=r:f[++c]=r:(f[++c]=null,s.push({i:c,x:xn(o,r)})),x=vx[n(421)];return x<t[n(1470)]&&(i=t[n(945)](x),f[c]?f[c]+=i:f[++c]=i),f[n(1470)]<2?s[0]?Od(s[0].x):Ud(t):(t=s[n(1470)],function(u){const d=n;for(var b=0,g;b<t;++b)f[(g=s[b]).i]=g.x(u);return f[d(1498)]("")})}function Nt(e,t){const n=a;var x=typeof t,o;return t==null||x===n(1443)?mx(t):(x===n(1384)?xn:x==="string"?(o=In(t))?(t=o,b0):Pr:t instanceof In?b0:t instanceof Date?Ad:Yd(t)?Id:Array[n(1670)](t)?jd:typeof t[n(1135)]!==n(758)&&typeof t[n(1805)]!==n(758)||isNaN(t)?Ed:xn)(e,t)}var Ir=180/Math.PI,px={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Yr(e,t,n,x,o,r){const i=a;var c,f,s;return(c=Math[i(769)](e*e+t*t))&&(e/=c,t/=c),(s=e*n+t*x)&&(n-=e*s,x-=t*s),(f=Math[i(769)](n*n+x*x))&&(n/=f,x/=f,s/=f),e*x<t*n&&(e=-e,t=-t,s=-s,c=-c),{translateX:o,translateY:r,rotate:Math[i(762)](t,e)*Ir,skewX:Math[i(790)](s)*Ir,scaleX:c,scaleY:f}}var g0;function Gd(e){const t=a,n=new(typeof DOMMatrix===t(758)?DOMMatrix:WebKitCSSMatrix)(e+"");return n.isIdentity?px:Yr(n.a,n.b,n.c,n.d,n.e,n.f)}function Hd(e){const t=a;return e==null||(g0||(g0=document[t(1627)](t(937),"g")),g0[t(494)](t(1958),e),!(e=g0[t(1958)].baseVal[t(1046)]()))?px:(e=e[t(675)],Yr(e.a,e.b,e.c,e.d,e.e,e.f))}function jr(e,t,n,x){function o(s){return s[_0x4f97(1470)]?s.pop()+" ":""}function r(s,u,d,b,g,y){const h=_0x4f97;if(s!==d||u!==b){var m=g.push("translate(",null,t,null,n);y[h(1374)]({i:m-4,x:xn(s,d)},{i:m-2,x:xn(u,b)})}else(d||b)&&g[h(1374)](h(1377)+d+t+b+n)}function i(s,u,d,b){const g=_0x4f97;s!==u?(s-u>180?u+=360:u-s>180&&(s+=360),b[g(1374)]({i:d[g(1374)](o(d)+"rotate(",null,x)-2,x:xn(s,u)})):u&&d[g(1374)](o(d)+g(1975)+u+x)}function c(s,u,d,b){const g=_0x4f97;s!==u?b[g(1374)]({i:d[g(1374)](o(d)+"skewX(",null,x)-2,x:xn(s,u)}):u&&d[g(1374)](o(d)+g(1241)+u+x)}function f(s,u,d,b,g,y){const h=_0x4f97;if(s!==d||u!==b){var m=g[h(1374)](o(g)+h(575),null,",",null,")");y[h(1374)]({i:m-4,x:xn(s,d)},{i:m-2,x:xn(u,b)})}else(d!==1||b!==1)&&g[h(1374)](o(g)+"scale("+d+","+b+")")}return function(s,u){const d=_0x4f97;var b=[],g=[];return s=e(s),u=e(u),r(s.translateX,s[d(1309)],u[d(1119)],u[d(1309)],b,g),i(s[d(1284)],u[d(1284)],b,g),c(s[d(701)],u[d(701)],b,g),f(s[d(1458)],s[d(1674)],u[d(1458)],u.scaleY,b,g),s=u=null,function(y){const h=d;for(var m=-1,M=g[h(1470)],p;++m<M;)b[(p=g[m]).i]=p.x(y);return b.join("")}}}var Vd=jr(Gd,a(1076),"px)",a(1269)),Td=jr(Hd,", ",")",")"),qd=1e-12;function Ar(e){return((e=Math[a(2012)](e))+1/e)/2}function Wd(e){return((e=Math.exp(e))-1/e)/2}function Xd(e){return((e=Math[a(2012)](2*e))-1)/(e+1)}const y0=(function e(t,n,x){const o=a;function r(i,c){const f=_0x4f97;var s=i[0],u=i[1],d=i[2],b=c[0],g=c[1],y=c[2],h=b-s,m=g-u,M=h*h+m*m,p,v;if(M<qd)v=Math[f(1987)](y/d)/t,p=function(j){return[s+j*h,u+j*m,d*Math.exp(t*j*v)]};else{var w=Math[f(769)](M),C=(y*y-d*d+x*M)/(2*d*n*w),P=(y*y-d*d-x*M)/(2*y*n*w),A=Math[f(1987)](Math.sqrt(C*C+1)-C),G=Math[f(1987)](Math.sqrt(P*P+1)-P);v=(G-A)/t,p=function(j){var q=j*v,F=Ar(A),Z=d/(n*w)*(F*Xd(t*q+A)-Wd(A));return[s+Z*h,u+Z*m,d*F/Ar(t*q+A)]}}return p[f(1294)]=v*1e3*t/Math.SQRT2,p}return r[o(870)]=function(i){var f=Math[o(1495)](.001,+i),s=f*f,u=s*s;return e(f,s,u)},r})(Math[a(358)],2,4);var nt=0,St=0,kt=0,Er=1e3,m0,Pt,w0=0,An=0,v0=0,It=typeof performance=="object"&&performance.now?performance:Date,Ur=typeof window===a(1466)&&window[a(1938)]?window.requestAnimationFrame[a(268)](window):function(e){setTimeout(e,17)};function zx(){return An||(Ur(Kd),An=It.now()+v0)}function Kd(){An=0}function p0(){const e=a;this[e(1332)]=this._time=this[e(1911)]=null}p0[a(329)]=Or.prototype={constructor:p0,restart:function(e,t,n){const x=a;if(typeof e!==x(758))throw new TypeError(x(1113));n=(n==null?zx():+n)+(t==null?0:+t),!this[x(1911)]&&Pt!==this&&(Pt?Pt[x(1911)]=this:m0=this,Pt=this),this[x(1332)]=e,this[x(286)]=n,Cx()},stop:function(){const e=a;this._call&&(this[e(1332)]=null,this._time=1/0,Cx())}};function Or(e,t,n){const x=a;var o=new p0;return o[x(1375)](e,t,n),o}function Zd(){const e=a;zx(),++nt;for(var t=m0,n;t;)(n=An-t[e(286)])>=0&&t._call.call(void 0,n),t=t._next;--nt}function Gr(){An=(w0=It[a(772)]())+v0,nt=St=0;try{Zd()}finally{nt=0,Jd(),An=0}}function Rd(){var t=It[a(772)](),n=t-w0;n>Er&&(v0-=n,w0=t)}function Jd(){const e=a;for(var t,n=m0,x,o=1/0;n;)n[e(1332)]?(o>n._time&&(o=n[e(286)]),t=n,n=n._next):(x=n[e(1911)],n[e(1911)]=null,n=t?t[e(1911)]=x:m0=x);Pt=t,Cx(o)}function Cx(e){const t=a;if(!nt){St&&(St=clearTimeout(St));var n=e-An;n>24?(e<1/0&&(St=setTimeout(Gr,e-It[t(772)]()-v0)),kt&&(kt=clearInterval(kt))):(kt||(w0=It[t(772)](),kt=setInterval(Rd,Er)),nt=1,Ur(Gr))}}function Hr(e,t,n){var x=new p0;return t=t==null?0:+t,x.restart(o=>{x[_0x4f97(596)](),e(o+t)},t,n),x}var _d=i0(a(1209),"end",a(479),a(1115)),Fd=[],Vr=0,Tr=1,Mx=2,z0=3,qr=4,Bx=5,C0=6;function M0(e,t,n,x,o,r){const i=a;var c=e[i(1140)];if(!c)e[i(1140)]={};else if(n in c)return;Qd(e,n,{name:t,index:x,group:o,on:_d,tween:Fd,time:r[i(1379)],delay:r[i(1167)],duration:r.duration,ease:r[i(1683)],timer:null,state:Vr})}function Dx(e,t){const n=a;var x=_e(e,t);if(x[n(365)]>Vr)throw new Error(n(1127));return x}function on(e,t){const n=a;var x=_e(e,t);if(x.state>z0)throw new Error(n(1034));return x}function _e(e,t){const n=a;var x=e[n(1140)];if(!x||!(x=x[t]))throw new Error(n(1102));return x}function Qd(e,t,n){const x=a;var o=e[x(1140)],r;o[t]=n,n[x(589)]=Or(i,0,n[x(1379)]);function i(u){const d=x;n[d(365)]=Tr,n[d(589)][d(1375)](c,n[d(1167)],n[d(1379)]),n.delay<=u&&c(u-n[d(1167)])}function c(u){const d=x;var b,g,y,h;if(n[d(365)]!==Tr)return s();for(b in o)if(h=o[b],h[d(748)]===n.name){if(h.state===z0)return Hr(c);h[d(365)]===qr?(h[d(365)]=C0,h[d(589)][d(596)](),h.on[d(643)]("interrupt",e,e[d(545)],h[d(1224)],h.group),delete o[b]):+b<t&&(h.state=C0,h[d(589)][d(596)](),h.on[d(643)]("cancel",e,e.__data__,h[d(1224)],h.group),delete o[b])}if(Hr(function(){const m=d;n[m(365)]===z0&&(n[m(365)]=qr,n.timer[m(1375)](f,n[m(1167)],n[m(1379)]),f(u))}),n[d(365)]=Mx,n.on[d(643)](d(1209),e,e[d(545)],n[d(1224)],n[d(1489)]),n.state===Mx){for(n.state=z0,r=new Array(y=n[d(699)][d(1470)]),b=0,g=-1;b<y;++b)(h=n[d(699)][b].value.call(e,e[d(545)],n[d(1224)],n[d(1489)]))&&(r[++g]=h);r[d(1470)]=g+1}}function f(u){const d=x;for(var b=u<n.duration?n[d(1683)][d(643)](null,u/n[d(1294)]):(n[d(589)][d(1375)](s),n[d(365)]=Bx,1),g=-1,y=r[d(1470)];++g<y;)r[g][d(643)](e,b);n.state===Bx&&(n.on.call(d(513),e,e[d(545)],n[d(1224)],n.group),s())}function s(){const u=x;n[u(365)]=C0,n[u(589)][u(596)](),delete o[t];for(var d in o)return;delete e.__transition}}function B0(e,t){const n=a;var x=e[n(1140)],o,r,i=!0,c;if(x){t=t==null?null:t+"";for(c in x){if((o=x[c]).name!==t){i=!1;continue}r=o[n(365)]>Mx&&o[n(365)]<Bx,o[n(365)]=C0,o.timer[n(596)](),o.on[n(643)](n(r?1115:479),e,e[n(545)],o.index,o[n(1489)]),delete x[c]}i&&delete e[n(1140)]}}function $d(e){return this[a(1356)](function(){B0(this,e)})}function eu(e,t){var n,x;return function(){const o=_0x4f97;var r=on(this,e),i=r.tween;if(i!==n){x=n=i;for(var c=0,f=x[o(1470)];c<f;++c)if(x[c][o(748)]===t){x=x.slice(),x[o(652)](c,1);break}}r[o(699)]=x}}function nu(e,t,n){const x=a;var o,r;if(typeof n!==x(758))throw new Error;return function(){const i=x;var c=on(this,e),f=c.tween;if(f!==o){r=(o=f)[i(945)]();for(var s={name:t,value:n},u=0,d=r[i(1470)];u<d;++u)if(r[u][i(748)]===t){r[u]=s;break}u===d&&r[i(1374)](s)}c.tween=r}}function tu(e,t){const n=a;var x=this[n(700)];if(e+="",arguments[n(1470)]<2){for(var o=_e(this[n(858)](),x)[n(699)],r=0,i=o.length,c;r<i;++r)if((c=o[r])[n(748)]===e)return c[n(1188)];return null}return this[n(1356)]((t==null?eu:nu)(x,e,t))}function Lx(e,t,n){const x=a;var o=e[x(700)];return e[x(1356)](function(){const r=x;var i=on(this,o);(i[r(1188)]||(i.value={}))[t]=n.apply(this,arguments)}),function(r){const i=x;return _e(r,o)[i(1188)][t]}}function Wr(e,t){var n;return(typeof t=="number"?xn:t instanceof In?b0:(n=In(t))?(t=n,b0):Pr)(e,t)}function xu(e){return function(){this[_0x4f97(597)](e)}}function ou(e){return function(){const t=_0x4f97;this.removeAttributeNS(e.space,e[t(984)])}}function ru(e,t,n){var x,o=n+"",r;return function(){var c=this[_0x4f97(1838)](e);return c===o?null:c===x?r:r=t(x=c,n)}}function iu(e,t,n){var x,o=n+"",r;return function(){const i=_0x4f97;var c=this.getAttributeNS(e[i(963)],e[i(984)]);return c===o?null:c===x?r:r=t(x=c,n)}}function cu(e,t,n){var x,o,r;return function(){const i=_0x4f97;var c,f=n(this),s;return f==null?void this[i(597)](e):(c=this.getAttribute(e),s=f+"",c===s?null:c===x&&s===o?r:(o=s,r=t(x=c,f)))}}function au(e,t,n){var x,o,r;return function(){const i=_0x4f97;var c,f=n(this),s;return f==null?void this[i(1872)](e.space,e[i(984)]):(c=this[i(386)](e[i(963)],e[i(984)]),s=f+"",c===s?null:c===x&&s===o?r:(o=s,r=t(x=c,f)))}}function su(e,t){const n=a;var x=a0(e),o=x===n(1958)?Td:Wr;return this[n(1703)](e,typeof t===n(758)?(x[n(984)]?au:cu)(x,o,Lx(this,"attr."+e,t)):t==null?(x[n(984)]?ou:xu)(x):(x.local?iu:ru)(x,o,t))}function lu(e,t){return function(n){const x=_0x4f97;this[x(494)](e,t[x(643)](this,n))}}function du(e,t){return function(n){const x=_0x4f97;this[x(1691)](e.space,e[x(984)],t[x(643)](this,n))}}function uu(e,t){const n=a;var x,o;function r(){var c=t[_0x4f97(1718)](this,arguments);return c!==o&&(x=(o=c)&&du(e,c)),x}return r[n(936)]=t,r}function fu(e,t){const n=a;var x,o;function r(){var i=t.apply(this,arguments);return i!==o&&(x=(o=i)&&lu(e,i)),x}return r[n(936)]=t,r}function hu(e,t){const n=a;var x=n(418)+e;if(arguments[n(1470)]<2)return(x=this[n(699)](x))&&x[n(936)];if(t==null)return this[n(699)](x,null);if(typeof t!="function")throw new Error;var o=a0(e);return this[n(699)](x,(o[n(984)]?uu:fu)(o,t))}function bu(e,t){return function(){const n=_0x4f97;Dx(this,e)[n(1167)]=+t[n(1718)](this,arguments)}}function gu(e,t){return t=+t,function(){const n=_0x4f97;Dx(this,e)[n(1167)]=t}}function yu(e){const t=a;var n=this[t(700)];return arguments.length?this[t(1356)]((typeof e===t(758)?bu:gu)(n,e)):_e(this[t(858)](),n).delay}function mu(e,t){return function(){const n=_0x4f97;on(this,e)[n(1294)]=+t[n(1718)](this,arguments)}}function wu(e,t){return t=+t,function(){const n=_0x4f97;on(this,e)[n(1294)]=t}}function vu(e){const t=a;var n=this[t(700)];return arguments[t(1470)]?this[t(1356)]((typeof e===t(758)?mu:wu)(n,e)):_e(this[t(858)](),n)[t(1294)]}function pu(e,t){const n=a;if(typeof t!==n(758))throw new Error;return function(){const x=n;on(this,e)[x(1683)]=t}}function zu(e){const t=a;var n=this[t(700)];return arguments[t(1470)]?this[t(1356)](pu(n,e)):_e(this[t(858)](),n)[t(1683)]}function Cu(e,t){return function(){const n=_0x4f97;var x=t[n(1718)](this,arguments);if(typeof x!==n(758))throw new Error;on(this,e).ease=x}}function Mu(e){const t=a;if(typeof e!="function")throw new Error;return this[t(1356)](Cu(this[t(700)],e))}function Bu(e){const t=a;typeof e!==t(758)&&(e=cr(e));for(var n=this[t(481)],x=n.length,o=new Array(x),r=0;r<x;++r)for(var i=n[r],c=i[t(1470)],f=o[r]=[],s,u=0;u<c;++u)(s=i[u])&&e[t(643)](s,s[t(545)],u,i)&&f[t(1374)](s);return new an(o,this[t(1196)],this._name,this[t(700)])}function Du(e){const t=a;if(e._id!==this[t(700)])throw new Error;for(var n=this[t(481)],x=e[t(481)],o=n[t(1470)],r=x[t(1470)],i=Math[t(617)](o,r),c=new Array(o),f=0;f<i;++f)for(var s=n[f],u=x[f],d=s.length,b=c[f]=new Array(d),g,y=0;y<d;++y)(g=s[y]||u[y])&&(b[y]=g);for(;f<o;++f)c[f]=n[f];return new an(c,this._parents,this[t(407)],this[t(700)])}function Lu(e){const t=a;return(e+"")[t(384)]()[t(697)](/^|\s+/)[t(1909)](function(n){const x=t;var o=n[x(1445)](".");return o>=0&&(n=n[x(945)](0,o)),!n||n===x(1209)})}function Nu(e,t,n){var x,o,r=Lu(t)?Dx:on;return function(){var i=r(this,e),c=i.on;c!==x&&(o=(x=c).copy()).on(t,n),i.on=o}}function Su(e,t){var x=this[a(700)];return arguments.length<2?_e(this.node(),x).on.on(e):this.each(Nu(x,e,t))}function ku(e){return function(){const t=_0x4f97;var n=this.parentNode;for(var x in this[t(1140)])if(+x!==e)return;n&&n[t(987)](this)}}function Pu(){const e=a;return this.on(e(1354),ku(this[e(700)]))}function Iu(e){const t=a;var n=this[t(407)],x=this[t(700)];typeof e!="function"&&(e=dx(e));for(var o=this[t(481)],r=o[t(1470)],i=new Array(r),c=0;c<r;++c)for(var f=o[c],s=f.length,u=i[c]=new Array(s),d,b,g=0;g<s;++g)(d=f[g])&&(b=e[t(643)](d,d.__data__,g,f))&&(t(545)in d&&(b[t(545)]=d[t(545)]),u[g]=b,M0(u[g],n,x,g,u,_e(d,x)));return new an(i,this[t(1196)],n,x)}function Yu(e){const t=a;var n=this._name,x=this[t(700)];typeof e!==t(758)&&(e=ir(e));for(var o=this[t(481)],r=o[t(1470)],i=[],c=[],f=0;f<r;++f)for(var s=o[f],u=s.length,d,b=0;b<u;++b)if(d=s[b]){for(var g=e[t(643)](d,d.__data__,b,s),y,h=_e(d,x),m=0,M=g[t(1470)];m<M;++m)(y=g[m])&&M0(y,n,x,m,g,h);i[t(1374)](g),c.push(d)}return new an(i,c,n,x)}var ju=Ct[a(329)][a(1071)];function Au(){const e=a;return new ju(this._groups,this[e(1196)])}function Eu(e,t){var n,x,o;return function(){const r=_0x4f97;var i=Qn(this,e),c=(this[r(1632)][r(1752)](e),Qn(this,e));return i===c?null:i===n&&c===x?o:o=t(n=i,x=c)}}function Xr(e){return function(){const t=_0x4f97;this[t(1632)][t(1752)](e)}}function Uu(e,t,n){var x,o=n+"",r;return function(){var i=Qn(this,e);return i===o?null:i===x?r:r=t(x=i,n)}}function Ou(e,t,n){var x,o,r;return function(){const i=_0x4f97;var c=Qn(this,e),f=n(this),s=f+"";return f==null&&(s=f=(this.style[i(1752)](e),Qn(this,e))),c===s?null:c===x&&s===o?r:(o=s,r=t(x=c,f))}}function Gu(e,t){const n=a;var x,o,r,i=n(1366)+t,c=n(1259)+i,f;return function(){const s=n;var u=on(this,e),d=u.on,b=u[s(1188)][i]==null?f||(f=Xr(t)):void 0;(d!==x||r!==b)&&(o=(x=d).copy()).on(c,r=b),u.on=o}}function Hu(e,t,n){const x=a;var o=(e+="")===x(1958)?Vd:Wr;return t==null?this.styleTween(e,Eu(e,o)).on(x(645)+e,Xr(e)):typeof t=="function"?this[x(881)](e,Ou(e,o,Lx(this,x(1366)+e,t)))[x(1356)](Gu(this[x(700)],e)):this[x(881)](e,Uu(e,o,t),n).on(x(645)+e,null)}function Vu(e,t,n){return function(x){const o=_0x4f97;this.style.setProperty(e,t[o(643)](this,x),n)}}function Tu(e,t,n){var x,o;function r(){var i=t.apply(this,arguments);return i!==o&&(x=(o=i)&&Vu(e,i,n)),x}return r._value=t,r}function qu(e,t,n){const x=a;var o=x(1366)+(e+="");if(arguments[x(1470)]<2)return(o=this[x(699)](o))&&o[x(936)];if(t==null)return this.tween(o,null);if(typeof t!==x(758))throw new Error;return this[x(699)](o,Tu(e,t,n??""))}function Wu(e){return function(){const t=_0x4f97;this[t(1311)]=e}}function Xu(e){return function(){var t=e(this);this.textContent=t??""}}function Ku(e){const t=a;return this.tween(t(1992),typeof e=="function"?Xu(Lx(this,t(1992),e)):Wu(e==null?"":e+""))}function Zu(e){return function(t){const n=_0x4f97;this[n(1311)]=e[n(643)](this,t)}}function Ru(e){const t=a;var n,x;function o(){var r=e.apply(this,arguments);return r!==x&&(n=(x=r)&&Zu(r)),n}return o[t(936)]=e,o}function Ju(e){const t=a;var n=t(1992);if(arguments[t(1470)]<1)return(n=this[t(699)](n))&&n[t(936)];if(e==null)return this[t(699)](n,null);if(typeof e!==t(758))throw new Error;return this[t(699)](n,Ru(e))}function _u(){const e=a;for(var t=this[e(407)],n=this[e(700)],x=Kr(),o=this[e(481)],r=o[e(1470)],i=0;i<r;++i)for(var c=o[i],f=c[e(1470)],s,u=0;u<f;++u)if(s=c[u]){var d=_e(s,n);M0(s,t,x,u,c,{time:d[e(1379)]+d[e(1167)]+d[e(1294)],delay:0,duration:d.duration,ease:d.ease})}return new an(o,this[e(1196)],t,x)}function Fu(){const e=a;var t,n,x=this,o=x[e(700)],r=x[e(1370)]();return new Promise(function(i,c){const f=e;var s={value:c},u={value:function(){--r===0&&i()}};x[f(1356)](function(){const d=f;var b=on(this,o),g=b.on;g!==t&&(n=(t=g)[d(708)](),n._.cancel[d(1374)](s),n._[d(1115)][d(1374)](s),n._.end[d(1374)](u)),b.on=n}),r===0&&i()})}var Qu=0;function an(e,t,n,x){const o=a;this[o(481)]=e,this[o(1196)]=t,this[o(407)]=n,this[o(700)]=x}function Kr(){return++Qu}var sn=Ct.prototype;an[a(329)]={constructor:an,select:Iu,selectAll:Yu,selectChild:sn[a(1547)],selectChildren:sn[a(654)],filter:Bu,merge:Du,selection:Au,transition:_u,call:sn[a(643)],nodes:sn[a(362)],node:sn[a(858)],size:sn[a(1370)],empty:sn.empty,each:sn[a(1356)],on:Su,attr:su,attrTween:hu,style:Hu,styleTween:qu,text:Ku,textTween:Ju,remove:Pu,tween:tu,delay:yu,duration:vu,ease:zu,easeVarying:Mu,end:Fu,[Symbol[a(1836)]]:sn[Symbol[a(1836)]]};function $u(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var ef={time:null,delay:0,duration:250,ease:$u};function nf(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error("transition "+t+" not found");return n}function tf(e){const t=a;var n,x;e instanceof an?(n=e._id,e=e[t(407)]):(n=Kr(),(x=ef).time=zx(),e=e==null?null:e+"");for(var o=this._groups,r=o[t(1470)],i=0;i<r;++i)for(var c=o[i],f=c[t(1470)],s,u=0;u<f;++u)(s=c[u])&&M0(s,e,n,u,c,x||nf(s,n));return new an(o,this[t(1196)],e,n)}Ct.prototype.interrupt=$d,Ct[a(329)].transition=tf;const D0=e=>()=>e;function xf(e,{sourceEvent:t,target:n,transform:x,dispatch:o}){Object[a(1601)](this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:x,enumerable:!0,configurable:!0},_:{value:o}})}function ln(e,t,n){this.k=e,this.x=t,this.y=n}ln[a(329)]={constructor:ln,scale:function(e){return e===1?this:new ln(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new ln(this.k,this.x+this.k*e,this.y+this.k*t)},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 t=a;return e[t(708)]()[t(1762)](e.range()[t(539)](this[t(1765)],this)[t(539)](e[t(500)],e))},rescaleY:function(e){const t=a;return e[t(708)]()[t(1762)](e.range()[t(539)](this[t(520)],this)[t(539)](e[t(500)],e))},toString:function(){const e=a;return e(1377)+this.x+","+this.y+e(326)+this.k+")"}};var L0=new ln(1,0,0);Zr[a(329)]=ln.prototype;function Zr(e){const t=a;for(;!e[t(1835)];)if(!(e=e[t(1850)]))return L0;return e[t(1835)]}function Nx(e){e[a(1962)]()}function Yt(e){const t=a;e[t(1206)](),e[t(1962)]()}function of(e){const t=a;return(!e.ctrlKey||e[t(2009)]===t(576))&&!e[t(1558)]}function rf(){const e=a;var t=this;return t instanceof SVGElement?(t=t[e(707)]||t,t[e(802)](e(375))?(t=t[e(375)][e(1364)],[[t.x,t.y],[t.x+t.width,t.y+t.height]]):[[0,0],[t[e(1030)][e(1364)][e(1188)],t.height[e(1364)][e(1188)]]]):[[0,0],[t[e(1905)],t.clientHeight]]}function Rr(){return this[a(1835)]||L0}function cf(e){const t=a;return-e.deltaY*(e[t(1447)]===1?.05:e[t(1447)]?1:.002)*(e[t(867)]?10:1)}function af(){const e=a;return navigator.maxTouchPoints||e(297)in this}function sf(e,t,n){const x=a;var o=e[x(1765)](t[0][0])-n[0][0],r=e.invertX(t[1][0])-n[1][0],i=e[x(520)](t[0][1])-n[0][1],c=e[x(520)](t[1][1])-n[1][1];return e[x(1588)](r>o?(o+r)/2:Math[x(617)](0,o)||Math.max(0,r),c>i?(i+c)/2:Math[x(617)](0,i)||Math[x(1495)](0,c))}function Jr(){const e=a;var t=of,n=rf,x=sf,o=cf,r=af,i=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],f=250,s=y0,u=i0(e(1209),e(1069),e(513)),d,b,g,y=500,h=150,m=0,M=10;function p(L){const D=e;L[D(276)](D(1835),Rr).on(D(1035),j,{passive:!1}).on(D(817),q).on(D(1876),F)[D(990)](r).on(D(891),Z).on(D(1807),W).on(D(1201),V)[D(1632)](D(1274),D(642))}p[e(1958)]=function(L,D,B,Y){const I=e;var k=L.selection?L[I(1372)]():L;k.property("__zoom",Rr),L!==k?P(L,D,B,Y):k[I(1115)]().each(function(){const R=I;A(this,arguments)[R(1649)](Y)[R(1209)]()[R(1069)](null,typeof D===R(758)?D.apply(this,arguments):D)[R(513)]()})},p[e(1455)]=function(L,D,B,Y){p.scaleTo(L,function(){const I=_0x4f97;var k=this.__zoom.k,R=typeof D===I(758)?D.apply(this,arguments):D;return k*R},B,Y)},p[e(1866)]=function(L,D,B,Y){const I=e;p[I(1958)](L,function(){const k=I;var R=n.apply(this,arguments),J=this.__zoom,X=B==null?C(R):typeof B===k(758)?B[k(1718)](this,arguments):B,ne=J[k(500)](X),K=typeof D===k(758)?D.apply(this,arguments):D;return x(w(v(J,K),X,ne),R,c)},B,Y)},p.translateBy=function(L,D,B,Y){p.transform(L,function(){const I=_0x4f97;return x(this.__zoom[I(1588)](typeof D===I(758)?D.apply(this,arguments):D,typeof B=="function"?B[I(1718)](this,arguments):B),n[I(1718)](this,arguments),c)},null,Y)},p[e(1994)]=function(L,D,B,Y,I){p.transform(L,function(){const k=_0x4f97;var R=n.apply(this,arguments),J=this[k(1835)],X=Y==null?C(R):typeof Y===k(758)?Y[k(1718)](this,arguments):Y;return x(L0[k(1588)](X[0],X[1]).scale(J.k)[k(1588)](typeof D===k(758)?-D.apply(this,arguments):-D,typeof B===k(758)?-B[k(1718)](this,arguments):-B),R,c)},Y,I)};function v(L,D){const B=e;return D=Math[B(1495)](i[0],Math[B(617)](i[1],D)),D===L.k?L:new ln(D,L.x,L.y)}function w(L,D,B){var Y=D[0]-B[0]*L.k,I=D[1]-B[1]*L.k;return Y===L.x&&I===L.y?L:new ln(L.k,Y,I)}function C(L){return[(+L[0][0]+ +L[1][0])/2,(+L[0][1]+ +L[1][1])/2]}function P(L,D,B,Y){const I=e;L.on(I(1575),function(){const k=I;A(this,arguments).event(Y)[k(1209)]()}).on("interrupt.zoom end.zoom",function(){const k=I;A(this,arguments)[k(1649)](Y)[k(513)]()})[I(699)](I(1069),function(){const k=I;var R=this,J=arguments,X=A(R,J).event(Y),ne=n[k(1718)](R,J),K=B==null?C(ne):typeof B===k(758)?B[k(1718)](R,J):B,te=Math[k(1495)](ne[1][0]-ne[0][0],ne[1][1]-ne[0][1]),$=R[k(1835)],ce=typeof D===k(758)?D[k(1718)](R,J):D,ie=s($[k(500)](K).concat(te/$.k),ce[k(500)](K)[k(1565)](te/ce.k));return function(S){const U=k;if(S===1)S=ce;else{var _=ie(S),H=te/_[2];S=new ln(H,K[0]-_[0]*H,K[1]-_[1]*H)}X[U(1069)](null,S)}})}function A(L,D,B){return!B&&L[e(560)]||new G(L,D)}function G(L,D){const B=e;this[B(713)]=L,this[B(599)]=D,this[B(507)]=0,this.sourceEvent=null,this[B(1776)]=n[B(1718)](L,D),this[B(1123)]=0}G[e(329)]={event:function(L){const D=e;return L&&(this[D(1518)]=L),this},start:function(){const L=e;return++this[L(507)]===1&&(this.that[L(560)]=this,this[L(743)]("start")),this},zoom:function(L,D){const B=e;return this.mouse&&L!==B(1081)&&(this[B(1081)][1]=D[B(500)](this[B(1081)][0])),this[B(417)]&&L!==B(1456)&&(this[B(417)][1]=D[B(500)](this[B(417)][0])),this[B(775)]&&L!=="touch"&&(this[B(775)][1]=D[B(500)](this[B(775)][0])),this.that[B(1835)]=D,this[B(743)](B(1069)),this},end:function(){const L=e;return--this.active===0&&(delete this.that[L(560)],this[L(743)](L(513))),this},emit:function(L){const D=e;var B=Te(this.that)[D(1325)]();u[D(643)](L,this[D(713)],new xf(L,{sourceEvent:this[D(1518)],target:p,transform:this[D(713)][D(1835)],dispatch:u}),B)}};function j(L,...D){const B=e;if(!t[B(1718)](this,arguments))return;var Y=A(this,D).event(L),I=this[B(1835)],k=Math[B(1495)](i[0],Math[B(617)](i[1],I.k*Math[B(1551)](2,o.apply(this,arguments)))),R=Re(L);if(Y[B(576)])(Y[B(1081)][0][0]!==R[0]||Y[B(1081)][0][1]!==R[1])&&(Y[B(1081)][1]=I[B(500)](Y[B(1081)][0]=R)),clearTimeout(Y[B(576)]);else{if(I.k===k)return;Y[B(1081)]=[R,I[B(500)](R)],B0(this),Y[B(1209)]()}Yt(L),Y[B(576)]=setTimeout(J,h),Y.zoom(B(1081),x(w(v(I,k),Y[B(1081)][0],Y[B(1081)][1]),Y[B(1776)],c));function J(){const X=B;Y[X(576)]=null,Y[X(513)]()}}function q(L,...D){const B=e;if(g||!t[B(1718)](this,arguments))return;var Y=L[B(1566)],I=A(this,D,!0).event(L),k=Te(L[B(512)]).on("mousemove.zoom",ne,!0).on(B(1451),K,!0),R=Re(L,Y),J=L.clientX,X=L.clientY;yr(L[B(512)]),Nx(L),I[B(1081)]=[R,this[B(1835)][B(500)](R)],B0(this),I[B(1209)]();function ne(te){const $=B;if(Yt(te),!I[$(345)]){var ce=te.clientX-J,ie=te[$(1712)]-X;I.moved=ce*ce+ie*ie>m}I.event(te)[$(1069)]("mouse",x(w(I[$(713)][$(1835)],I.mouse[0]=Re(te,Y),I[$(1081)][1]),I[$(1776)],c))}function K(te){const $=B;k.on($(1355),null),mr(te[$(512)],I[$(345)]),Yt(te),I.event(te)[$(513)]()}}function F(L,...D){const B=e;if(t[B(1718)](this,arguments)){var Y=this.__zoom,I=Re(L[B(552)]?L.changedTouches[0]:L,this),k=Y[B(500)](I),R=Y.k*(L[B(977)]?.5:2),J=x(w(v(Y,R),I,k),n[B(1718)](this,D),c);Yt(L),f>0?Te(this)[B(1475)]().duration(f)[B(643)](P,J,I,L):Te(this)[B(643)](p[B(1958)],J,I,L)}}function Z(L,...D){const B=e;if(t[B(1718)](this,arguments)){var Y=L[B(294)],I=Y[B(1470)],k=A(this,D,L[B(552)][B(1470)]===I)[B(1649)](L),R,J,X,ne;for(Nx(L),J=0;J<I;++J)X=Y[J],ne=Re(X,this),ne=[ne,this[B(1835)].invert(ne),X[B(474)]],k[B(417)]?!k[B(775)]&&k[B(417)][2]!==ne[2]&&(k[B(775)]=ne,k[B(1123)]=0):(k.touch0=ne,R=!0,k[B(1123)]=1+!!d);d&&(d=clearTimeout(d)),R&&(k.taps<2&&(b=ne[0],d=setTimeout(function(){d=null},y)),B0(this),k[B(1209)]())}}function W(L,...D){const B=e;if(this[B(560)]){var Y=A(this,D).event(L),I=L.changedTouches,k=I[B(1470)],R,J,X,ne;for(Yt(L),R=0;R<k;++R)J=I[R],X=Re(J,this),Y[B(417)]&&Y[B(417)][2]===J[B(474)]?Y[B(417)][0]=X:Y[B(775)]&&Y[B(775)][2]===J[B(474)]&&(Y.touch1[0]=X);if(J=Y[B(713)][B(1835)],Y[B(775)]){var K=Y[B(417)][0],te=Y[B(417)][1],$=Y[B(775)][0],ce=Y.touch1[1],ie=(ie=$[0]-K[0])*ie+(ie=$[1]-K[1])*ie,S=(S=ce[0]-te[0])*S+(S=ce[1]-te[1])*S;J=v(J,Math[B(769)](ie/S)),X=[(K[0]+$[0])/2,(K[1]+$[1])/2],ne=[(te[0]+ce[0])/2,(te[1]+ce[1])/2]}else if(Y[B(417)])X=Y[B(417)][0],ne=Y[B(417)][1];else return;Y.zoom("touch",x(w(J,X,ne),Y[B(1776)],c))}}function V(L,...D){const B=e;if(this[B(560)]){var Y=A(this,D).event(L),I=L.changedTouches,k=I[B(1470)],R,J;for(Nx(L),g&&clearTimeout(g),g=setTimeout(function(){g=null},y),R=0;R<k;++R)J=I[R],Y[B(417)]&&Y[B(417)][2]===J.identifier?delete Y.touch0:Y[B(775)]&&Y[B(775)][2]===J.identifier&&delete Y[B(775)];if(Y[B(775)]&&!Y[B(417)]&&(Y[B(417)]=Y.touch1,delete Y[B(775)]),Y.touch0)Y.touch0[1]=this[B(1835)].invert(Y[B(417)][0]);else if(Y[B(513)](),Y[B(1123)]===2&&(J=Re(J,this),Math.hypot(b[0]-J[0],b[1]-J[1])<M)){var X=Te(this).on(B(1876));X&&X.apply(this,arguments)}}}return p.wheelDelta=function(L){const D=e;return arguments[D(1470)]?(o=typeof L===D(758)?L:D0(+L),p):o},p.filter=function(L){const D=e;return arguments.length?(t=typeof L===D(758)?L:D0(!!L),p):t},p[e(1107)]=function(L){const D=e;return arguments[D(1470)]?(r=typeof L===D(758)?L:D0(!!L),p):r},p[e(1776)]=function(L){return arguments[e(1470)]?(n=typeof L=="function"?L:D0([[+L[0][0],+L[0][1]],[+L[1][0],+L[1][1]]]),p):n},p[e(1903)]=function(L){return arguments[e(1470)]?(i[0]=+L[0],i[1]=+L[1],p):[i[0],i[1]]},p[e(1236)]=function(L){return arguments[e(1470)]?(c[0][0]=+L[0][0],c[1][0]=+L[1][0],c[0][1]=+L[0][1],c[1][1]=+L[1][1],p):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},p[e(1174)]=function(L){return arguments[e(1470)]?(x=L,p):x},p[e(1294)]=function(L){return arguments.length?(f=+L,p):f},p[e(1068)]=function(L){return arguments.length?(s=L,p):s},p.on=function(){const L=e;var D=u.on[L(1718)](u,arguments);return D===u?p:D},p[e(1608)]=function(L){return arguments[e(1470)]?(m=(L=+L)*L,p):Math.sqrt(m)},p.tapDistance=function(L){return arguments[e(1470)]?(M=+L,p):M},p}const qe={error001:()=>a(1810),error002:()=>a(1020),error003:e=>'Node type "'+e+a(1110),error004:()=>a(422),error005:()=>a(846),error006:()=>a(465),error007:e=>a(860)+e+a(1245),error009:e=>a(470)+e+a(1280),error008:(e,{id:t,sourceHandle:n,targetHandle:x})=>a(755)+e+' handle id: "'+(e===a(379)?n:x)+a(1672)+t+".",error010:()=>a(1908),error011:e=>a(1520)+e+a(1110),error012:e=>a(1405)+e+a(1386),error013:(e=a(1869))=>"It seems that you haven't loaded the styles. Please import '@xyflow/"+e+a(363),error014:()=>a(893),error015:()=>a(1676)},jt=[[Number.NEGATIVE_INFINITY,Number[a(942)]],[Number[a(554)],Number.POSITIVE_INFINITY]],_r=[a(1953)," ",a(1496)],Fr={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":a(1282),"node.a11yDescription.ariaLiveMessage":({direction:e,x:t,y:n})=>a(405)+e+a(1428)+t+", y: "+n,"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":a(1272),"controls.zoomIn.ariaLabel":"Zoom In","controls.zoomOut.ariaLabel":a(1147),"controls.fitView.ariaLabel":a(432),"controls.interactive.ariaLabel":a(1037),"minimap.ariaLabel":"Mini Map","handle.ariaLabel":"Handle"};var tt;(function(e){const t=a;e.Strict=t(649),e[t(1050)]=t(1026)})(tt||(tt={}));var En;(function(e){const t=a;e[t(1478)]=t(1634),e[t(974)]=t(781),e[t(1888)]=t(1680)})(En||(En={}));var At;(function(e){const t=a;e.Partial=t(1485),e[t(1435)]=t(1543)})(At||(At={}));const Qr={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var yn;(function(e){const t=a;e[t(658)]=t(1353),e[t(1016)]="straight",e.Step=t(1146),e[t(1605)]=t(1009),e[t(303)]=t(406)})(yn||(yn={}));var N0;(function(e){const t=a;e[t(1956)]=t(1265),e[t(601)]=t(1861)})(N0||(N0={}));var ue;(function(e){const t=a;e[t(1706)]=t(1014),e[t(2007)]=t(1275),e[t(1541)]="right",e.Bottom=t(705)})(ue||(ue={}));const $r={[ue[a(1706)]]:ue[a(1541)],[ue.Right]:ue[a(1706)],[ue[a(2007)]]:ue[a(1172)],[ue[a(1172)]]:ue.Top};function ei(e){const t=a;return e===null?null:t(e?557:797)}const ni=e=>"id"in e&&a(379)in e&&a(983)in e,lf=e=>"id"in e&&a(1690)in e&&!(a(379)in e)&&!("target"in e),Sx=e=>"id"in e&&a(1130)in e&&!("source"in e)&&!(a(983)in e),Et=(e,t=[0,0])=>{const n=a,{width:x,height:o}=dn(e),r=e[n(1955)]??t,i=x*r[0],c=o*r[1];return{x:e.position.x-i,y:e[n(1690)].y-c}},df=(e,t={nodeOrigin:[0,0]})=>{const n=a;if(process.env.NODE_ENV===n(1750)&&!t[n(1615)]&&console[n(702)](n(1875)),e[n(1470)]===0)return{x:0,y:0,width:0,height:0};const x=e[n(838)]((o,r)=>{const i=n,c=typeof r===i(1419);let f=!t[i(1615)]&&!c?r:void 0;t[i(1615)]&&(f=c?t[i(1615)][i(1077)](r):Sx(r)?r:t[i(1615)][i(1077)](r.id));const s=f?P0(f,t[i(1047)]):{x:0,y:0,x2:0,y2:0};return S0(o,s)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return k0(x)},Ut=(e,t={})=>{const n=a;let x={x:1/0,y:1/0,x2:-1/0,y2:-1/0},o=!1;return e[n(935)](r=>{(t[n(990)]===void 0||t.filter(r))&&(x=S0(x,P0(r)),o=!0)}),o?k0(x):{x:0,y:0,width:0,height:0}},kx=(e,t,[n,x,o]=[0,0,1],r=!1,i=!1)=>{const c=a,f={...Ht(t,[n,x,o]),width:t[c(1030)]/o,height:t.height/o},s=[];for(const u of e[c(1074)]()){const{measured:d,selectable:b=!0,hidden:g=!1}=u;if(i&&!b||g)continue;const y=d.width??u.width??u[c(1151)]??null,h=d.height??u[c(1517)]??u[c(529)]??null,m=Ot(f,ot(u)),M=(y??0)*(h??0),p=r&&m>0;(!u.internals[c(682)]||p||m>=M||u[c(1984)])&&s.push(u)}return s},uf=(e,t)=>{const n=a,x=new Set;return e.forEach(o=>{x.add(o.id)}),t[n(990)](o=>x.has(o[n(379)])||x[n(1913)](o[n(983)]))};function ff(e,t){const n=a,x=new Map,o=t?.[n(362)]?new Set(t[n(362)][n(539)](r=>r.id)):null;return e[n(935)](r=>{const i=n;r.measured.width&&r[i(330)][i(1517)]&&(t?.[i(1479)]||!r[i(909)])&&(!o||o[i(1913)](r.id))&&x.set(r.id,r)}),x}async function hf({nodes:e,width:t,height:n,panZoom:x,minZoom:o,maxZoom:r},i){const c=a;if(e[c(1370)]===0)return Promise[c(1018)](!0);const f=ff(e,i),s=Ut(f),u=Ix(s,t,n,i?.[c(753)]??o,i?.maxZoom??r,i?.[c(1651)]??.1);return await x[c(377)](u,{duration:i?.[c(1294)],ease:i?.ease,interpolate:i?.[c(1068)]}),Promise[c(1018)](!0)}function ti({nodeId:e,nextPosition:t,nodeLookup:n,nodeOrigin:x=[0,0],nodeExtent:o,onError:r}){const i=a,c=n[i(1077)](e),f=c.parentId?n[i(1077)](c[i(1932)]):void 0,{x:s,y:u}=f?f[i(1130)][i(1256)]:{x:0,y:0},d=c[i(1955)]??x;let b=c[i(1776)]||o;if(c.extent===i(613)&&!c[i(1650)])if(!f)r?.(i(1925),qe[i(924)]());else{const y=f.measured.width,h=f[i(330)][i(1517)];y&&h&&(b=[[s,u],[s+y,u+h]])}else f&&it(c[i(1776)])&&(b=[[c[i(1776)][0][0]+s,c[i(1776)][0][1]+u],[c[i(1776)][1][0]+s,c[i(1776)][1][1]+u]]);const g=it(b)?Un(t,b,c[i(330)]):t;return(c[i(330)].width===void 0||c[i(330)][i(1517)]===void 0)&&r?.(i(1365),qe[i(355)]()),{position:{x:g.x-s+(c[i(330)].width??0)*d[0],y:g.y-u+(c[i(330)][i(1517)]??0)*d[1]},positionAbsolute:g}}async function bf({nodesToRemove:e=[],edgesToRemove:t=[],nodes:n,edges:x,onBeforeDelete:o}){const r=a,i=new Set(e[r(539)](g=>g.id)),c=[];for(const g of n){if(g[r(650)]===!1)continue;const y=i[r(1913)](g.id),h=!y&&g[r(1932)]&&c[r(462)](m=>m.id===g[r(1932)]);(y||h)&&c.push(g)}const f=new Set(t.map(g=>g.id)),s=x.filter(g=>g[r(650)]!==!1),u=uf(c,s),d=u;for(const g of s)f[r(1913)](g.id)&&!d[r(462)](h=>h.id===g.id)&&d.push(g);if(!o)return{edges:d,nodes:c};const b=await o({nodes:c,edges:d});return typeof b=="boolean"?b?{edges:d,nodes:c}:{edges:[],nodes:[]}:b}const xt=(e,t=0,n=1)=>Math[a(617)](Math[a(1495)](e,t),n),Un=(e={x:0,y:0},t,n)=>({x:xt(e.x,t[0][0],t[1][0]-(n?.[a(1030)]??0)),y:xt(e.y,t[0][1],t[1][1]-(n?.[a(1517)]??0))});function xi(e,t,n){const x=a,{width:o,height:r}=dn(n),{x:i,y:c}=n.internals[x(1256)];return Un(e,[[i,c],[i+o,c+r]],t)}const oi=(e,t,n)=>{const x=a;return e<t?xt(Math[x(1511)](e-t),1,t)/t:e>n?-xt(Math.abs(e-n),1,t)/t:0},ri=(e,t,n=15,x=40)=>{const o=a,r=oi(e.x,x,t[o(1030)]-x)*n,i=oi(e.y,x,t[o(1517)]-x)*n;return[r,i]},S0=(e,t)=>({x:Math[a(617)](e.x,t.x),y:Math[a(617)](e.y,t.y),x2:Math[a(1495)](e.x2,t.x2),y2:Math[a(1495)](e.y2,t.y2)}),Px=({x:e,y:t,width:n,height:x})=>({x:e,y:t,x2:e+n,y2:t+x}),k0=({x:e,y:t,x2:n,y2:x})=>({x:e,y:t,width:n-e,height:x-t}),ot=(e,t=[0,0])=>{const n=a,{x,y:o}=Sx(e)?e[n(1130)][n(1256)]:Et(e,t);return{x,y:o,width:e[n(330)]?.[n(1030)]??e.width??e[n(1151)]??0,height:e.measured?.[n(1517)]??e[n(1517)]??e[n(529)]??0}},P0=(e,t=[0,0])=>{const n=a,{x,y:o}=Sx(e)?e[n(1130)][n(1256)]:Et(e,t);return{x,y:o,x2:x+(e[n(330)]?.[n(1030)]??e[n(1030)]??e.initialWidth??0),y2:o+(e[n(330)]?.[n(1517)]??e[n(1517)]??e.initialHeight??0)}},ii=(e,t)=>k0(S0(Px(e),Px(t))),Ot=(e,t)=>{const n=a,x=Math.max(0,Math[n(617)](e.x+e[n(1030)],t.x+t[n(1030)])-Math[n(1495)](e.x,t.x)),o=Math.max(0,Math[n(617)](e.y+e[n(1517)],t.y+t[n(1517)])-Math.max(e.y,t.y));return Math.ceil(x*o)},ci=e=>Fe(e.width)&&Fe(e[a(1517)])&&Fe(e.x)&&Fe(e.y),Fe=e=>!isNaN(e)&&isFinite(e),ai=(e,t)=>{const n=a;process.env.NODE_ENV===n(1750)&&console[n(702)](n(614)+t+n(2011)+e)},Gt=(e,t=[1,1])=>{const n=a;return{x:t[0]*Math[n(1708)](e.x/t[0]),y:t[1]*Math.round(e.y/t[1])}},Ht=({x:e,y:t},[n,x,o],r=!1,i=[1,1])=>{const c={x:(e-n)/o,y:(t-x)/o};return r?Gt(c,i):c},I0=({x:e,y:t},[n,x,o])=>({x:e*o+n,y:t*o+x});function rt(e,t){const n=a;if(typeof e===n(1384))return Math[n(1410)]((t-t/(1+e))*.5);if(typeof e===n(1419)&&e[n(1225)]("px")){const x=parseFloat(e);if(!Number.isNaN(x))return Math[n(1410)](x)}if(typeof e===n(1419)&&e[n(1225)]("%")){const x=parseFloat(e);if(!Number[n(962)](x))return Math[n(1410)](t*x*.01)}return console[n(1999)](n(1785)+e+'" is invalid. Please provide a number or a string with a valid unit (px or %).'),0}function gf(e,t,n){const x=a;if(typeof e===x(1419)||typeof e===x(1384)){const o=rt(e,n),r=rt(e,t);return{top:o,right:r,bottom:o,left:r,x:r*2,y:o*2}}if(typeof e=="object"){const o=rt(e.top??e.y??0,n),r=rt(e[x(705)]??e.y??0,n),i=rt(e[x(1014)]??e.x??0,t),c=rt(e[x(2006)]??e.x??0,t);return{top:o,right:c,bottom:r,left:i,x:i+c,y:o+r}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function yf(e,t,n,x,o,r){const i=a,{x:c,y:f}=I0(e,[t,n,x]),{x:s,y:u}=I0({x:e.x+e.width,y:e.y+e[i(1517)]},[t,n,x]),d=o-s,b=r-u;return{left:Math[i(1410)](c),top:Math[i(1410)](f),right:Math[i(1410)](d),bottom:Math.floor(b)}}const Ix=(e,t,n,x,o,r)=>{const i=a,c=gf(r,t,n),f=(t-c.x)/e.width,s=(n-c.y)/e[i(1517)],u=Math[i(617)](f,s),d=xt(u,x,o),b=e.x+e[i(1030)]/2,g=e.y+e[i(1517)]/2,y=t/2-b*d,h=n/2-g*d,m=yf(e,y,h,d,t,n),M={left:Math.min(m[i(1014)]-c.left,0),top:Math.min(m[i(1275)]-c[i(1275)],0),right:Math[i(617)](m[i(2006)]-c[i(2006)],0),bottom:Math[i(617)](m[i(705)]-c[i(705)],0)};return{x:y-M[i(1014)]+M[i(2006)],y:h-M[i(1275)]+M[i(705)],zoom:d}},Vt=()=>typeof navigator<"u"&&navigator?.[a(1128)]?.[a(1445)](a(279))>=0;function it(e){const t=a;return e!=null&&e!==t(613)}function dn(e){const t=a;return{width:e[t(330)]?.[t(1030)]??e[t(1030)]??e[t(1151)]??0,height:e[t(330)]?.[t(1517)]??e[t(1517)]??e.initialHeight??0}}function si(e){const t=a;return(e[t(330)]?.width??e[t(1030)]??e.initialWidth)!==void 0&&(e.measured?.height??e[t(1517)]??e.initialHeight)!==void 0}function li(e,t={width:0,height:0},n,x,o){const r=a,i={...e},c=x[r(1077)](n);if(c){const f=c[r(1955)]||o;i.x+=c.internals.positionAbsolute.x-(t.width??0)*f[0],i.y+=c.internals[r(1256)].y-(t[r(1517)]??0)*f[1]}return i}function di(e,t){const n=a;if(e[n(1370)]!==t.size)return!1;for(const x of e)if(!t[n(1913)](x))return!1;return!0}function mf(){let e,t;return{promise:new Promise((x,o)=>{e=x,t=o}),resolve:e,reject:t}}function wf(e){return{...Fr,...e||{}}}function Tt(e,{snapGrid:t=[0,0],snapToGrid:n=!1,transform:x,containerBounds:o}){const r=a,{x:i,y:c}=Qe(e),f=Ht({x:i-(o?.left??0),y:c-(o?.[r(1275)]??0)},x),{x:s,y:u}=n?Gt(f,t):f;return{xSnapped:s,ySnapped:u,...f}}const Yx=e=>({width:e.offsetWidth,height:e[a(1276)]}),ui=e=>e?.[a(483)]?.()||window?.[a(361)],vf=[a(385),a(1542),a(1559)];function fi(e){const t=a,n=e.composedPath?.()?.[0]||e.target;return n?.[t(325)]!==1?!1:vf[t(2010)](n[t(1710)])||n[t(802)](t(493))||!!n[t(1219)](t(1383))}const hi=e=>a(615)in e,Qe=(e,t)=>{const n=a,x=hi(e),o=x?e[n(615)]:e.touches?.[0].clientX,r=x?e[n(1712)]:e[n(294)]?.[0][n(1712)];return{x:o-(t?.[n(1014)]??0),y:r-(t?.[n(1275)]??0)}},bi=(e,t,n,x,o)=>{const r=a,i=t[r(1602)]("."+e);return!i||!i[r(1470)]?null:Array[r(602)](i).map(c=>{const f=r,s=c[f(447)]();return{id:c.getAttribute(f(341)),type:e,nodeId:o,position:c[f(1838)](f(1709)),x:(s[f(1014)]-n[f(1014)])/x,y:(s[f(1275)]-n[f(1275)])/x,...Yx(c)}})};function gi({sourceX:e,sourceY:t,targetX:n,targetY:x,sourceControlX:o,sourceControlY:r,targetControlX:i,targetControlY:c}){const f=a,s=e*.125+o*.375+i*.375+n*.125,u=t*.125+r*.375+c*.375+x*.125,d=Math[f(1511)](s-e),b=Math.abs(u-t);return[s,u,d,b]}function Y0(e,t){const n=a;return e>=0?.5*e:t*25*Math[n(769)](-e)}function yi({pos:e,x1:t,y1:n,x2:x,y2:o,c:r}){const i=a;switch(e){case ue[i(1706)]:return[t-Y0(t-x,r),n];case ue[i(1541)]:return[t+Y0(x-t,r),n];case ue[i(2007)]:return[t,n-Y0(n-o,r)];case ue.Bottom:return[t,n+Y0(o-n,r)]}}function mi({sourceX:e,sourceY:t,sourcePosition:n=ue[a(1172)],targetX:x,targetY:o,targetPosition:r=ue[a(2007)],curvature:i=.25}){const[c,f]=yi({pos:n,x1:e,y1:t,x2:x,y2:o,c:i}),[s,u]=yi({pos:r,x1:x,y1:o,x2:e,y2:t,c:i}),[d,b,g,y]=gi({sourceX:e,sourceY:t,targetX:x,targetY:o,sourceControlX:c,sourceControlY:f,targetControlX:s,targetControlY:u});return["M"+e+","+t+" C"+c+","+f+" "+s+","+u+" "+x+","+o,d,b,g,y]}function wi({sourceX:e,sourceY:t,targetX:n,targetY:x}){const o=a,r=Math[o(1511)](n-e)/2,i=n<e?n+r:n-r,c=Math[o(1511)](x-t)/2,f=x<t?x+c:x-c;return[i,f,r,c]}function pf({sourceNode:e,targetNode:t,selected:n=!1,zIndex:x=0,elevateOnSelect:o=!1,zIndexMode:r="basic"}){const i=a;if(r===i(590))return x;const c=o&&n?x+1e3:x,f=Math[i(1495)](e[i(1932)]||o&&e.selected?e[i(1130)].z:0,t.parentId||o&&t[i(1480)]?t.internals.z:0);return c+f}function zf({sourceNode:e,targetNode:t,width:n,height:x,transform:o}){const r=S0(P0(e),P0(t));r.x===r.x2&&(r.x2+=1),r.y===r.y2&&(r.y2+=1);const i={x:-o[0]/o[2],y:-o[1]/o[2],width:n/o[2],height:x/o[2]};return Ot(i,k0(r))>0}const Cf=({source:e,sourceHandle:t,target:n,targetHandle:x})=>a(958)+e+(t||"")+"-"+n+(x||""),Mf=(e,t)=>{const n=a;return t[n(515)](x=>x[n(379)]===e.source&&x[n(983)]===e.target&&(x[n(1694)]===e[n(1694)]||!x.sourceHandle&&!e[n(1694)])&&(x[n(1529)]===e.targetHandle||!x[n(1529)]&&!e.targetHandle))},vi=(e,t,n={})=>{const x=a;if(!e[x(379)]||!e[x(983)])return ai(x(288),qe.error006()),t;const o=n[x(1318)]||Cf;let r;return ni(e)?r={...e}:r={...e,id:o(e)},Mf(r,t)?t:(r[x(1694)]===null&&delete r[x(1694)],r.targetHandle===null&&delete r.targetHandle,t.concat(r))};function pi({sourceX:e,sourceY:t,targetX:n,targetY:x}){const[o,r,i,c]=wi({sourceX:e,sourceY:t,targetX:n,targetY:x});return["M "+e+","+t+"L "+n+","+x,o,r,i,c]}const zi={[ue[a(1706)]]:{x:-1,y:0},[ue[a(1541)]]:{x:1,y:0},[ue[a(2007)]]:{x:0,y:-1},[ue[a(1172)]]:{x:0,y:1}},Bf=({source:e,sourcePosition:t=ue.Bottom,target:n})=>{const x=a;return t===ue[x(1706)]||t===ue[x(1541)]?e.x<n.x?{x:1,y:0}:{x:-1,y:0}:e.y<n.y?{x:0,y:1}:{x:0,y:-1}},Ci=(e,t)=>Math.sqrt(Math[a(1551)](t.x-e.x,2)+Math[a(1551)](t.y-e.y,2));function Df({source:e,sourcePosition:t=ue[a(1172)],target:n,targetPosition:x=ue[a(2007)],center:o,offset:r,stepPosition:i}){const c=a,f=zi[t],s=zi[x],u={x:e.x+f.x*r,y:e.y+f.y*r},d={x:n.x+s.x*r,y:n.y+s.y*r},b=Bf({source:u,sourcePosition:t,target:d}),g=b.x!==0?"x":"y",y=b[g];let h=[],m,M;const p={x:0,y:0},v={x:0,y:0},[,,w,C]=wi({sourceX:e.x,sourceY:e.y,targetX:n.x,targetY:n.y});if(f[g]*s[g]===-1){g==="x"?(m=o.x??u.x+(d.x-u.x)*i,M=o.y??(u.y+d.y)/2):(m=o.x??(u.x+d.x)/2,M=o.y??u.y+(d.y-u.y)*i);const j=[{x:m,y:u.y},{x:m,y:d.y}],q=[{x:u.x,y:M},{x:d.x,y:M}];f[g]===y?h=g==="x"?j:q:h=g==="x"?q:j}else{const j=[{x:u.x,y:d.y}],q=[{x:d.x,y:u.y}];if(g==="x"?h=f.x===y?q:j:h=f.y===y?j:q,t===x){const L=Math[c(1511)](e[g]-n[g]);if(L<=r){const D=Math[c(617)](r-1,r-L);f[g]===y?p[g]=(u[g]>e[g]?-1:1)*D:v[g]=(d[g]>n[g]?-1:1)*D}}if(t!==x){const L=g==="x"?"y":"x",D=f[g]===s[L],B=u[L]>d[L],Y=u[L]<d[L];(f[g]===1&&(!D&&B||D&&Y)||f[g]!==1&&(!D&&Y||D&&B))&&(h=g==="x"?j:q)}const F={x:u.x+p.x,y:u.y+p.y},Z={x:d.x+v.x,y:d.y+v.y},W=Math[c(1495)](Math[c(1511)](F.x-h[0].x),Math[c(1511)](Z.x-h[0].x)),V=Math[c(1495)](Math[c(1511)](F.y-h[0].y),Math.abs(Z.y-h[0].y));W>=V?(m=(F.x+Z.x)/2,M=h[0].y):(m=h[0].x,M=(F.y+Z.y)/2)}const P={x:u.x+p.x,y:u.y+p.y},A={x:d.x+v.x,y:d.y+v.y};return[[e,...P.x!==h[0].x||P.y!==h[0].y?[P]:[],...h,...A.x!==h[h[c(1470)]-1].x||A.y!==h[h.length-1].y?[A]:[],n],m,M,w,C]}function Lf(e,t,n,x){const o=a,r=Math[o(617)](Ci(e,t)/2,Ci(t,n)/2,x),{x:i,y:c}=t;if(e.x===i&&i===n.x||e.y===c&&c===n.y)return"L"+i+" "+c;if(e.y===c){const u=e.x<n.x?-1:1,d=e.y<n.y?1:-1;return"L "+(i+r*u)+","+c+"Q "+i+","+c+" "+i+","+(c+r*d)}const f=e.x<n.x?1:-1,s=e.y<n.y?-1:1;return"L "+i+","+(c+r*s)+"Q "+i+","+c+" "+(i+r*f)+","+c}function jx({sourceX:e,sourceY:t,sourcePosition:n=ue[a(1172)],targetX:x,targetY:o,targetPosition:r=ue[a(2007)],borderRadius:i=5,centerX:c,centerY:f,offset:s=20,stepPosition:u=.5}){const d=a,[b,g,y,h,m]=Df({source:{x:e,y:t},sourcePosition:n,target:{x,y:o},targetPosition:r,center:{x:c,y:f},offset:s,stepPosition:u});let M="M"+b[0].x+" "+b[0].y;for(let p=1;p<b[d(1470)]-1;p++)M+=Lf(b[p-1],b[p],b[p+1],i);return M+="L"+b[b[d(1470)]-1].x+" "+b[b[d(1470)]-1].y,[M,g,y,h,m]}function Mi(e){const t=a;return e&&!!(e[t(1130)][t(682)]||e.handles?.[t(1470)])&&!!(e[t(330)][t(1030)]||e[t(1030)]||e[t(1151)])}function Nf(e){const t=a,{sourceNode:n,targetNode:x}=e;if(!Mi(n)||!Mi(x))return null;const o=n.internals[t(682)]||Bi(n[t(827)]),r=x.internals[t(682)]||Bi(x[t(827)]),i=Di(o?.source??[],e[t(1694)]),c=Di(e[t(1666)]===tt[t(324)]?r?.[t(983)]??[]:(r?.target??[])[t(1565)](r?.[t(379)]??[]),e.targetHandle);if(!i||!c)return e[t(791)]?.(t(604),qe[t(998)](i?t(983):"source",{id:e.id,sourceHandle:e[t(1694)],targetHandle:e[t(1529)]})),null;const f=i?.position||ue[t(1172)],s=c?.[t(1690)]||ue[t(2007)],u=On(n,i,f),d=On(x,c,s);return{sourceX:u.x,sourceY:u.y,targetX:d.x,targetY:d.y,sourcePosition:f,targetPosition:s}}function Bi(e){const t=a;if(!e)return null;const n=[],x=[];for(const o of e)o.width=o.width??1,o[t(1517)]=o[t(1517)]??1,o[t(2009)]===t(379)?n[t(1374)](o):o[t(2009)]===t(983)&&x[t(1374)](o);return{source:n,target:x}}function On(e,t,n=ue[a(1706)],x=!1){const o=a,r=(t?.x??0)+e[o(1130)][o(1256)].x,i=(t?.y??0)+e[o(1130)][o(1256)].y,{width:c,height:f}=t??dn(e);if(x)return{x:r+c/2,y:i+f/2};switch(t?.[o(1690)]??n){case ue[o(2007)]:return{x:r+c/2,y:i};case ue[o(1541)]:return{x:r+c,y:i+f/2};case ue[o(1172)]:return{x:r+c/2,y:i+f};case ue[o(1706)]:return{x:r,y:i+f/2}}}function Di(e,t){const n=a;return e&&(t?e[n(462)](x=>x.id===t):e[0])||null}function Ax(e,t){const n=a;return e?typeof e===n(1419)?e:""+(t?t+"__":"")+Object[n(948)](e)[n(684)]().map(o=>o+"="+e[o])[n(1498)]("&"):""}function Sf(e,{id:t,defaultColor:n,defaultMarkerStart:x,defaultMarkerEnd:o}){const r=a,i=new Set;return e[r(838)]((c,f)=>{const s=r;return[f[s(688)]||x,f[s(1434)]||o][s(935)](u=>{const d=s;if(u&&typeof u===d(1466)){const b=Ax(u,t);!i[d(1913)](b)&&(c[d(1374)]({id:b,color:u.color||n,...u}),i[d(284)](b))}}),c},[])[r(684)]((c,f)=>c.id[r(1767)](f.id))}const Li=1e3,kf=10,Ex={nodeOrigin:[0,0],nodeExtent:jt,elevateNodesOnSelect:!0,zIndexMode:a(764),defaults:{}},Pf={...Ex,checkEquality:!0};function Ux(e,t){const n={...e};for(const x in t)t[x]!==void 0&&(n[x]=t[x]);return n}function If(e,t,n){const x=a,o=Ux(Ex,n);for(const r of e.values())if(r.parentId)Hx(r,e,t,o);else{const i=Et(r,o[x(1047)]),c=it(r[x(1776)])?r.extent:o[x(1007)],f=Un(i,c,dn(r));r[x(1130)][x(1256)]=f}}function Yf(e,t){const n=a;if(!e[n(827)])return e.measured?t?.[n(1130)][n(682)]:void 0;const x=[],o=[];for(const r of e[n(827)]){const i={id:r.id,width:r[n(1030)]??1,height:r[n(1517)]??1,nodeId:e.id,x:r.x,y:r.y,position:r.position,type:r.type};r[n(2009)]===n(379)?x.push(i):r[n(2009)]==="target"&&o.push(i)}return{source:x,target:o}}function Ox(e){return e===a(590)}function Gx(e,t,n,x={}){const o=a,r=Ux(Pf,x),i={i:0},c=new Map(t),f=r?.elevateNodesOnSelect&&!Ox(r[o(1464)])?Li:0;let s=e[o(1470)]>0,u=!1;t[o(1972)](),n[o(1972)]();for(const d of e){let b=c.get(d.id);if(r[o(548)]&&d===b?.[o(1130)][o(595)])t[o(1759)](d.id,b);else{const g=Et(d,r[o(1047)]),y=it(d[o(1776)])?d[o(1776)]:r[o(1007)],h=Un(g,y,dn(d));b={...r.defaults,...d,measured:{width:d.measured?.[o(1030)],height:d[o(330)]?.[o(1517)]},internals:{positionAbsolute:h,handleBounds:Yf(d,b),z:Ni(d,f,r.zIndexMode),userNode:d}},t[o(1759)](d.id,b)}(b.measured===void 0||b[o(330)][o(1030)]===void 0||b[o(330)][o(1517)]===void 0)&&!b[o(909)]&&(s=!1),d.parentId&&Hx(b,t,n,x,i),u||=d.selected??!1}return{nodesInitialized:s,hasSelectedNodes:u}}function jf(e,t){const n=a;if(!e[n(1932)])return;const x=t[n(1077)](e[n(1932)]);x?x[n(1759)](e.id,e):t.set(e[n(1932)],new Map([[e.id,e]]))}function Hx(e,t,n,x,o){const r=a,{elevateNodesOnSelect:i,nodeOrigin:c,nodeExtent:f,zIndexMode:s}=Ux(Ex,x),u=e.parentId,d=t[r(1077)](u);if(!d){console[r(702)](r(761)+u+r(1966));return}jf(e,n),o&&!d[r(1932)]&&d[r(1130)].rootParentIndex===void 0&&s==="auto"&&(d[r(1130)].rootParentIndex=++o.i,d[r(1130)].z=d[r(1130)].z+o.i*kf),o&&d.internals.rootParentIndex!==void 0&&(o.i=d.internals.rootParentIndex);const b=i&&!Ox(s)?Li:0,{x:g,y,z:h}=Af(e,d,c,f,b,s),{positionAbsolute:m}=e.internals,M=g!==m.x||y!==m.y;(M||h!==e[r(1130)].z)&&t[r(1759)](e.id,{...e,internals:{...e[r(1130)],positionAbsolute:M?{x:g,y}:m,z:h}})}function Ni(e,t,n){const x=a,o=Fe(e[x(1082)])?e[x(1082)]:0;return Ox(n)?o:o+(e.selected?t:0)}function Af(e,t,n,x,o,r){const i=a,{x:c,y:f}=t.internals[i(1256)],s=dn(e),u=Et(e,n),d=it(e[i(1776)])?Un(u,e.extent,s):u;let b=Un({x:c+d.x,y:f+d.y},x,s);e.extent===i(613)&&(b=xi(b,s,t));const g=Ni(e,o,r),y=t[i(1130)].z??0;return{x:b.x,y:b.y,z:y>=g?y+1:g}}function Vx(e,t,n,x=[0,0]){const o=a,r=[],i=new Map;for(const c of e){const f=t.get(c[o(1932)]);if(!f)continue;const s=i[o(1077)](c[o(1932)])?.[o(1659)]??ot(f),u=ii(s,c[o(348)]);i[o(1759)](c[o(1932)],{expandedRect:u,parent:f})}return i.size>0&&i[o(935)](({expandedRect:c,parent:f},s)=>{const u=o,d=f[u(1130)][u(1256)],b=dn(f),g=f[u(1955)]??x,y=c.x<d.x?Math[u(1708)](Math[u(1511)](d.x-c.x)):0,h=c.y<d.y?Math.round(Math.abs(d.y-c.y)):0,m=Math[u(1495)](b[u(1030)],Math[u(1708)](c[u(1030)])),M=Math[u(1495)](b.height,Math[u(1708)](c.height)),p=(m-b[u(1030)])*g[0],v=(M-b.height)*g[1];(y>0||h>0||p||v)&&(r[u(1374)]({id:s,type:u(1690),position:{x:f[u(1690)].x-y+p,y:f[u(1690)].y-h+v}}),n[u(1077)](s)?.[u(935)](w=>{const C=u;!e[C(515)](P=>P.id===w.id)&&r.push({id:w.id,type:C(1690),position:{x:w.position.x+y,y:w[C(1690)].y+h}})})),(b[u(1030)]<c[u(1030)]||b[u(1517)]<c[u(1517)]||y||h)&&r[u(1374)]({id:s,type:u(1426),setAttributes:!0,dimensions:{width:m+(y?g[0]*y-p:0),height:M+(h?g[1]*h-v:0)}})}),r}function Ef(e,t,n,x,o,r,i){const c=a,f=x?.[c(510)](c(1316));let s=!1;if(!f)return{changes:[],updatedInternals:s};const u=[],d=window.getComputedStyle(f),{m22:b}=new window[c(1133)](d[c(1958)]),g=[];for(const y of e[c(1074)]()){const h=t[c(1077)](y.id);if(!h)continue;if(h[c(909)]){t.set(h.id,{...h,internals:{...h[c(1130)],handleBounds:void 0}}),s=!0;continue}const m=Yx(y[c(953)]),M=h[c(330)][c(1030)]!==m[c(1030)]||h[c(330)].height!==m[c(1517)];if(!!(m.width&&m[c(1517)]&&(M||!h[c(1130)][c(682)]||y[c(1865)]))){const v=y[c(953)][c(447)](),w=it(h[c(1776)])?h[c(1776)]:r;let{positionAbsolute:C}=h.internals;h.parentId&&h[c(1776)]===c(613)?C=xi(C,m,t.get(h[c(1932)])):w&&(C=Un(C,w,m));const P={...h,measured:m,internals:{...h[c(1130)],positionAbsolute:C,handleBounds:{source:bi(c(379),y.nodeElement,v,b,h.id),target:bi("target",y.nodeElement,v,b,h.id)}}};t.set(h.id,P),h.parentId&&Hx(P,t,n,{nodeOrigin:o,zIndexMode:i}),s=!0,M&&(u[c(1374)]({id:h.id,type:"dimensions",dimensions:m}),h[c(1650)]&&h[c(1932)]&&g[c(1374)]({id:h.id,parentId:h[c(1932)],rect:ot(P,o)}))}}if(g.length>0){const y=Vx(g,t,n,o);u[c(1374)](...y)}return{changes:u,updatedInternals:s}}async function Uf({delta:e,panZoom:t,transform:n,translateExtent:x,width:o,height:r}){const i=a;if(!t||!e.x&&!e.y)return Promise[i(1018)](!1);const c=await t[i(1497)]({x:n[0]+e.x,y:n[1]+e.y,zoom:n[2]},[[0,0],[o,r]],x),f=!!c&&(c.x!==n[0]||c.y!==n[1]||c.k!==n[2]);return Promise.resolve(f)}function Si(e,t,n,x,o,r){const i=a;let c=o;const f=x[i(1077)](c)||new Map;x[i(1759)](c,f[i(1759)](n,t)),c=o+"-"+e;const s=x[i(1077)](c)||new Map;if(x[i(1759)](c,s[i(1759)](n,t)),r){c=o+"-"+e+"-"+r;const u=x.get(c)||new Map;x[i(1759)](c,u[i(1759)](n,t))}}function ki(e,t,n){const x=a;e[x(1972)](),t[x(1972)]();for(const o of n){const{source:r,target:i,sourceHandle:c=null,targetHandle:f=null}=o,s={edgeId:o.id,source:r,target:i,sourceHandle:c,targetHandle:f},u=r+"-"+c+"--"+i+"-"+f,d=i+"-"+f+"--"+r+"-"+c;Si(x(379),s,d,e,r,c),Si("target",s,u,e,i,f),t[x(1759)](o.id,o)}}function Pi(e,t){const n=a;if(!e[n(1932)])return!1;const x=t.get(e.parentId);return x?x[n(1480)]?!0:Pi(x,t):!1}function Ii(e,t,n){const x=a;let o=e;do{if(o?.matches?.(t))return!0;if(o===n)return!1;o=o?.[x(592)]}while(o);return!1}function Of(e,t,n,x){const o=a,r=new Map;for(const[i,c]of e)if((c[o(1480)]||c.id===x)&&(!c[o(1932)]||!Pi(c,e))&&(c[o(1359)]||t&&typeof c[o(1359)]===o(1416))){const f=e.get(i);f&&r[o(1759)](i,{id:i,position:f[o(1690)]||{x:0,y:0},distance:{x:n.x-f[o(1130)][o(1256)].x,y:n.y-f.internals[o(1256)].y},extent:f.extent,parentId:f.parentId,origin:f[o(1955)],expandParent:f[o(1650)],internals:{positionAbsolute:f[o(1130)].positionAbsolute||{x:0,y:0}},measured:{width:f[o(330)][o(1030)]??0,height:f.measured[o(1517)]??0}})}return r}function Tx({nodeId:e,dragItems:t,nodeLookup:n,dragging:x=!0}){const o=a,r=[];for(const[c,f]of t){const s=n[o(1077)](c)?.[o(1130)].userNode;s&&r.push({...s,position:f[o(1690)],dragging:x})}if(!e)return[r[0],r];const i=n[o(1077)](e)?.[o(1130)][o(595)];return[i?{...i,position:t[o(1077)](e)?.[o(1690)]||i.position,dragging:x}:r[0],r]}function Gf({dragItems:e,snapGrid:t,x:n,y:x}){const o=a,r=e.values()[o(388)]()[o(1188)];if(!r)return null;const i={x:n-r[o(1612)].x,y:x-r.distance.y},c=Gt(i,t);return{x:c.x-i.x,y:c.y-i.y}}function Hf({onNodeMouseDown:e,getStoreItems:t,onDragStart:n,onDrag:x,onDragStop:o}){let r={x:null,y:null},i=0,c=new Map,f=!1,s={x:0,y:0},u=null,d=!1,b=null,g=!1,y=!1,h=null;function m({noDragClassName:p,handleSelector:v,domNode:w,isSelectable:C,nodeId:P,nodeClickDistance:A=0}){const G=_0x4f97;b=Te(w);function j({x:W,y:V}){const L=_0x4f97,{nodeLookup:D,nodeExtent:B,snapGrid:Y,snapToGrid:I,nodeOrigin:k,onNodeDrag:R,onSelectionDrag:J,onError:X,updateNodePositions:ne}=t();r={x:W,y:V};let K=!1;const te=c[L(1370)]>1,$=te&&B?Px(Ut(c)):null,ce=te&&I?Gf({dragItems:c,snapGrid:Y,x:W,y:V}):null;for(const[ie,S]of c){if(!D.has(ie))continue;let U={x:W-S[L(1612)].x,y:V-S[L(1612)].y};I&&(U=ce?{x:Math[L(1708)](U.x+ce.x),y:Math[L(1708)](U.y+ce.y)}:Gt(U,Y));let _=null;if(te&&B&&!S.extent&&$){const{positionAbsolute:ee}=S[L(1130)],de=ee.x-$.x+B[0][0],ye=ee.x+S[L(330)][L(1030)]-$.x2+B[1][0],se=ee.y-$.y+B[0][1],he=ee.y+S[L(330)][L(1517)]-$.y2+B[1][1];_=[[de,se],[ye,he]]}const{position:H,positionAbsolute:O}=ti({nodeId:ie,nextPosition:U,nodeLookup:D,nodeExtent:_||B,nodeOrigin:k,onError:X});K=K||S.position.x!==H.x||S[L(1690)].y!==H.y,S[L(1690)]=H,S[L(1130)][L(1256)]=O}if(y=y||K,!!K&&(ne(c,!0),h&&(x||R||!P&&J))){const[ie,S]=Tx({nodeId:P,dragItems:c,nodeLookup:D});x?.(h,c,ie,S),R?.(h,ie,S),!P&&J?.(h,S)}}async function q(){if(!u)return;const{transform:W,panBy:V,autoPanSpeed:L,autoPanOnNodeDrag:D}=t();if(!D){f=!1,cancelAnimationFrame(i);return}const[B,Y]=ri(s,u,L);(B!==0||Y!==0)&&(r.x=(r.x??0)-B/W[2],r.y=(r.y??0)-Y/W[2],await V({x:B,y:Y})&&j(r)),i=requestAnimationFrame(q)}function F(W){const V=_0x4f97,{nodeLookup:L,multiSelectionActive:D,nodesDraggable:B,transform:Y,snapGrid:I,snapToGrid:k,selectNodesOnDrag:R,onNodeDragStart:J,onSelectionDragStart:X,unselectNodesAndEdges:ne}=t();d=!0,(!R||!C)&&!D&&P&&!L[V(1077)](P)?.selected&&ne(),C&&R&&P&&e?.(P);const K=Tt(W[V(1518)],{transform:Y,snapGrid:I,snapToGrid:k,containerBounds:u});if(r=K,c=Of(L,B,K,P),c[V(1370)]>0&&(n||J||!P&&X)){const[te,$]=Tx({nodeId:P,dragItems:c,nodeLookup:L});n?.(W.sourceEvent,c,te,$),J?.(W[V(1518)],te,$),!P&&X?.(W.sourceEvent,$)}}const Z=wr()[G(1608)](A).on(G(1209),W=>{const V=G,{domNode:L,nodeDragThreshold:D,transform:B,snapGrid:Y,snapToGrid:I}=t();u=L?.getBoundingClientRect()||null,g=!1,y=!1,h=W[V(1518)],D===0&&F(W),r=Tt(W[V(1518)],{transform:B,snapGrid:Y,snapToGrid:I,containerBounds:u}),s=Qe(W[V(1518)],u)}).on(G(373),W=>{const V=G,{autoPanOnNodeDrag:L,transform:D,snapGrid:B,snapToGrid:Y,nodeDragThreshold:I,nodeLookup:k}=t(),R=Tt(W[V(1518)],{transform:D,snapGrid:B,snapToGrid:Y,containerBounds:u});if(h=W[V(1518)],(W[V(1518)][V(2009)]===V(1818)&&W[V(1518)][V(294)][V(1470)]>1||P&&!k[V(1913)](P))&&(g=!0),!g){if(!f&&L&&d&&(f=!0,q()),!d){const J=Qe(W.sourceEvent,u),X=J.x-s.x,ne=J.y-s.y;Math.sqrt(X*X+ne*ne)>I&&F(W)}(r.x!==R.xSnapped||r.y!==R.ySnapped)&&c&&d&&(s=Qe(W[V(1518)],u),j(R))}}).on("end",W=>{const V=G;if(!(!d||g)&&(f=!1,d=!1,cancelAnimationFrame(i),c[V(1370)]>0)){const{nodeLookup:L,updateNodePositions:D,onNodeDragStop:B,onSelectionDragStop:Y}=t();if(y&&(D(c,!1),y=!1),o||B||!P&&Y){const[I,k]=Tx({nodeId:P,dragItems:c,nodeLookup:L,dragging:!1});o?.(W[V(1518)],c,I,k),B?.(W[V(1518)],I,k),!P&&Y?.(W[V(1518)],k)}}})[G(990)](W=>{const V=G,L=W[V(983)];return!W[V(1558)]&&(!p||!Ii(L,"."+p,w))&&(!v||Ii(L,v,w))});b.call(Z)}function M(){const p=_0x4f97;b?.on(p(1596),null)}return{update:m,destroy:M}}function Vf(e,t,n){const x=a,o=[],r={x:e.x-n,y:e.y-n,width:n*2,height:n*2};for(const i of t.values())Ot(r,ot(i))>0&&o[x(1374)](i);return o}const Tf=250;function qf(e,t,n,x){const o=a;let r=[],i=1/0;const c=Vf(e,n,t+Tf);for(const f of c){const s=[...f[o(1130)][o(682)]?.[o(379)]??[],...f.internals.handleBounds?.[o(983)]??[]];for(const u of s){if(x[o(625)]===u[o(625)]&&x[o(2009)]===u[o(2009)]&&x.id===u.id)continue;const{x:d,y:b}=On(f,u,u[o(1690)],!0),g=Math[o(769)](Math[o(1551)](d-e.x,2)+Math[o(1551)](b-e.y,2));g>t||(g<i?(r=[{...u,x:d,y:b}],i=g):g===i&&r[o(1374)]({...u,x:d,y:b}))}}if(!r[o(1470)])return null;if(r[o(1470)]>1){const f=x[o(2009)]==="source"?"target":"source";return r[o(462)](s=>s[o(2009)]===f)??r[0]}return r[0]}function Yi(e,t,n,x,o,r=!1){const i=a,c=x.get(e);if(!c)return null;const f=o===i(649)?c[i(1130)][i(682)]?.[t]:[...c.internals.handleBounds?.source??[],...c[i(1130)].handleBounds?.target??[]],s=(n?f?.[i(462)](u=>u.id===n):f?.[0])??null;return s&&r?{...s,...On(c,s,s.position,!0)}:s}function ji(e,t){const n=a;return e||(t?.classList[n(1438)](n(983))?"target":t?.[n(1758)][n(1438)](n(379))?n(379):null)}function Wf(e,t){let n=null;return t?n=!0:e&&!t&&(n=!1),n}const Ai=()=>!0;function Xf(e,{connectionMode:t,connectionRadius:n,handleId:x,nodeId:o,edgeUpdaterType:r,isTarget:i,domNode:c,nodeLookup:f,lib:s,autoPanOnConnect:u,flowId:d,panBy:b,cancelConnection:g,onConnectStart:y,onConnect:h,onConnectEnd:m,isValidConnection:M=Ai,onReconnectEnd:p,updateConnection:v,getTransform:w,getFromHandle:C,autoPanSpeed:P,dragThreshold:A=1,handleDomNode:G}){const j=a,q=ui(e[j(983)]);let F=0,Z;const{x:W,y:V}=Qe(e),L=ji(r,G),D=c?.[j(447)]();let B=!1;if(!D||!L)return;const Y=Yi(o,L,x,f,t);if(!Y)return;let I=Qe(e,D),k=!1,R=null,J=!1,X=null;function ne(){if(!u||!D)return;const[_,H]=ri(I,D,P);b({x:_,y:H}),F=requestAnimationFrame(ne)}const K={...Y,nodeId:o,type:L,position:Y[j(1690)]},te=f[j(1077)](o);let ce={inProgress:!0,isValid:null,from:On(te,K,ue.Left,!0),fromHandle:K,fromPosition:K.position,fromNode:te,to:I,toHandle:null,toPosition:$r[K.position],toNode:null,pointer:I};function ie(){B=!0,v(ce),y?.(e,{nodeId:o,handleId:x,handleType:L})}A===0&&ie();function S(_){const H=j;if(!B){const{x:he,y:pe}=Qe(_),be=he-W,ze=pe-V;if(!(be*be+ze*ze>A*A))return;ie()}if(!C()||!K){U(_);return}const O=w();I=Qe(_,D),Z=qf(Ht(I,O,!1,[1,1]),n,f,K),!k&&(ne(),k=!0);const ee=Ei(_,{handle:Z,connectionMode:t,fromNodeId:o,fromHandleId:x,fromType:i?H(983):"source",isValidConnection:M,doc:q,lib:s,flowId:d,nodeLookup:f});X=ee[H(740)],R=ee[H(1584)],J=Wf(!!Z,ee[H(489)]);const de=f[H(1077)](o),ye=de?On(de,K,ue[H(1706)],!0):ce[H(602)],se={...ce,from:ye,isValid:J,to:ee[H(1204)]&&J?I0({x:ee.toHandle.x,y:ee[H(1204)].y},O):I,toHandle:ee.toHandle,toPosition:J&&ee[H(1204)]?ee[H(1204)][H(1690)]:$r[K[H(1690)]],toNode:ee[H(1204)]?f[H(1077)](ee[H(1204)][H(625)]):null,pointer:I};v(se),ce=se}function U(_){const H=j;if(!(H(294)in _&&_.touches[H(1470)]>0)){if(B){(Z||X)&&R&&J&&h?.(R);const{inProgress:O,...ee}=ce,de={...ee,toPosition:ce[H(1204)]?ce[H(577)]:null};m?.(_,de),r&&p?.(_,de)}g(),cancelAnimationFrame(F),k=!1,J=!1,R=null,X=null,q[H(1045)](H(1857),S),q[H(1045)]("mouseup",U),q[H(1045)](H(1818),S),q.removeEventListener("touchend",U)}}q[j(973)](j(1857),S),q[j(973)](j(1985),U),q[j(973)](j(1818),S),q[j(973)]("touchend",U)}function Ei(e,{handle:t,connectionMode:n,fromNodeId:x,fromHandleId:o,fromType:r,doc:i,lib:c,flowId:f,isValidConnection:s=Ai,nodeLookup:u}){const d=a,b=r===d(983),g=t?i[d(510)]("."+c+d(1630)+f+"-"+t?.[d(625)]+"-"+t?.id+"-"+t?.type+'"]'):null,{x:y,y:h}=Qe(e),m=i[d(1187)](y,h),M=m?.classList[d(1438)](c+d(2001))?m:g,p={handleDomNode:M,isValid:!1,connection:null,toHandle:null};if(M){const v=ji(void 0,M),w=M[d(1838)](d(765)),C=M[d(1838)](d(341)),P=M[d(1758)].contains(d(719)),A=M[d(1758)].contains(d(1319));if(!w||!v)return p;const G={source:b?w:x,sourceHandle:b?C:o,target:b?x:w,targetHandle:b?o:C};p[d(1584)]=G;const j=P&&A,q=j&&(n===tt.Strict?b&&v==="source"||!b&&v===d(983):w!==x||C!==o);p[d(489)]=q&&s(G),p[d(1204)]=Yi(w,v,C,u,n,!0)}return p}const qx={onPointerDown:Xf,isValid:Ei};function Kf({domNode:e,panZoom:t,getTransform:n,getViewScale:x}){const o=Te(e);function r({translateExtent:c,width:f,height:s,zoomStep:u=1,pannable:d=!0,zoomable:b=!0,inversePan:g=!1}){const y=_0x4f97,h=w=>{const C=_0x4f97;if(w[C(1518)][C(2009)]!==C(576)||!t)return;const P=n(),A=w.sourceEvent[C(867)]&&Vt()?10:1,G=-w.sourceEvent.deltaY*(w.sourceEvent[C(1447)]===1?.05:w.sourceEvent[C(1447)]?1:.002)*u,j=P[2]*Math.pow(2,G*A);t[C(1866)](j)};let m=[0,0];const M=w=>{const C=_0x4f97;(w[C(1518)][C(2009)]===C(1969)||w[C(1518)][C(2009)]===C(623))&&(m=[w[C(1518)][C(615)]??w[C(1518)].touches[0][C(615)],w.sourceEvent[C(1712)]??w[C(1518)][C(294)][0][C(1712)]])},p=w=>{const C=_0x4f97,P=n();if(w[C(1518)][C(2009)]!=="mousemove"&&w[C(1518)][C(2009)]!==C(1818)||!t)return;const A=[w.sourceEvent[C(615)]??w[C(1518)][C(294)][0].clientX,w[C(1518)][C(1712)]??w[C(1518)][C(294)][0][C(1712)]],G=[A[0]-m[0],A[1]-m[1]];m=A;const j=x()*Math[C(1495)](P[2],Math[C(1987)](P[2]))*(g?-1:1),q={x:P[0]-G[0]*j,y:P[1]-G[1]*j},F=[[0,0],[f,s]];t[C(1497)]({x:q.x,y:q.y,zoom:P[2]},F,c)},v=Jr().on(y(1209),M).on("zoom",d?p:null).on(y(1726),b?h:null);o[y(643)](v,{})}function i(){const c=_0x4f97;o.on(c(1069),null)}return{update:r,destroy:i,pointer:Re}}const j0=e=>({x:e.x,y:e.y,zoom:e.k}),Wx=({x:e,y:t,zoom:n})=>L0.translate(e,t).scale(n),ct=(e,t)=>e.target[a(1219)]("."+t),Ui=(e,t)=>t===2&&Array[a(1670)](e)&&e.includes(2),Zf=e=>((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2,Xx=(e,t=0,n=Zf,x=()=>{})=>{const o=a,r=typeof t===o(1384)&&t>0;return!r&&x(),r?e[o(1475)]().duration(t)[o(1683)](n).on(o(513),x):e},Oi=e=>{const t=a,n=e.ctrlKey&&Vt()?10:1;return-e.deltaY*(e[t(1447)]===1?.05:e[t(1447)]?1:.002)*n};function Rf({zoomPanValues:e,noWheelClassName:t,d3Selection:n,d3Zoom:x,panOnScrollMode:o,panOnScrollSpeed:r,zoomOnPinch:i,onPanZoomStart:c,onPanZoom:f,onPanZoomEnd:s}){return u=>{const d=_0x4f97;if(ct(u,t))return u.ctrlKey&&u[d(1206)](),!1;u[d(1206)](),u[d(1962)]();const b=n[d(276)](d(1835)).k||1;if(u[d(867)]&&i){const M=Re(u),p=Oi(u),v=b*Math.pow(2,p);x.scaleTo(n,v,M,u);return}const g=u[d(1447)]===1?20:1;let y=o===En[d(974)]?0:u[d(1232)]*g,h=o===En[d(1888)]?0:u[d(1578)]*g;!Vt()&&u[d(977)]&&o!==En[d(974)]&&(y=u[d(1578)]*g,h=0),x.translateBy(n,-(y/b)*r,-(h/b)*r,{internal:!0});const m=j0(n[d(276)]("__zoom"));clearTimeout(e[d(1560)]),e.isPanScrolling?(f?.(u,m),e.panScrollTimeout=setTimeout(()=>{const M=d;s?.(u,m),e[M(1684)]=!1},150)):(e[d(1684)]=!0,c?.(u,m))}}function Jf({noWheelClassName:e,preventScrolling:t,d3ZoomHandler:n}){return function(x,o){const r=_0x4f97,i=x[r(2009)]===r(576),c=!t&&i&&!x[r(867)],f=ct(x,e);if(x[r(867)]&&i&&f&&x.preventDefault(),c||f)return null;x[r(1206)](),n[r(643)](this,x,o)}}function _f({zoomPanValues:e,onDraggingChange:t,onPanZoomStart:n}){return x=>{const o=_0x4f97;if(x[o(1518)]?.[o(410)])return;const r=j0(x[o(1958)]);e[o(848)]=x[o(1518)]?.[o(1558)]||0,e[o(1742)]=!0,e[o(1432)]=r,x[o(1518)]?.[o(2009)]===o(1969)&&t(!0),n&&n?.(x[o(1518)],r)}}function Ff({zoomPanValues:e,panOnDrag:t,onPaneContextMenu:n,onTransformChange:x,onPanZoom:o}){return r=>{const i=_0x4f97;e.usedRightMouseButton=!!(n&&Ui(t,e[i(848)]??0)),!r[i(1518)]?.[i(1918)]&&x([r[i(1958)].x,r[i(1958)].y,r.transform.k]),o&&!r[i(1518)]?.internal&&o?.(r[i(1518)],j0(r[i(1958)]))}}function Qf({zoomPanValues:e,panOnDrag:t,panOnScroll:n,onDraggingChange:x,onPanZoomEnd:o,onPaneContextMenu:r}){return i=>{const c=_0x4f97;if(!i[c(1518)]?.[c(410)]&&(e[c(1742)]=!1,r&&Ui(t,e[c(848)]??0)&&!e[c(657)]&&i[c(1518)]&&r(i[c(1518)]),e[c(657)]=!1,x(!1),o)){const f=j0(i.transform);e[c(1432)]=f,clearTimeout(e[c(455)]),e[c(455)]=setTimeout(()=>{o?.(i[c(1518)],f)},n?150:0)}}}function $f({zoomActivationKeyPressed:e,zoomOnScroll:t,zoomOnPinch:n,panOnDrag:x,panOnScroll:o,zoomOnDoubleClick:r,userSelectionActive:i,noWheelClassName:c,noPanClassName:f,lib:s,connectionInProgress:u}){return d=>{const b=_0x4f97,g=e||t,y=n&&d.ctrlKey,h=d[b(2009)]===b(576);if(d.button===1&&d[b(2009)]===b(1969)&&(ct(d,s+"-flow__node")||ct(d,s+"-flow__edge")))return!0;if(!x&&!g&&!o&&!r&&!n||i||u&&!h||ct(d,c)&&h||ct(d,f)&&(!h||o&&h&&!e)||!n&&d[b(867)]&&h)return!1;if(!n&&d[b(2009)]==="touchstart"&&d.touches?.[b(1470)]>1)return d[b(1206)](),!1;if(!g&&!o&&!y&&h||!x&&(d[b(2009)]===b(1969)||d[b(2009)]===b(623))||Array[b(1670)](x)&&!x[b(2010)](d[b(1558)])&&d[b(2009)]===b(1969))return!1;const m=Array[b(1670)](x)&&x[b(2010)](d.button)||!d[b(1558)]||d[b(1558)]<=1;return(!d.ctrlKey||h)&&m}}function e1({domNode:e,minZoom:t,maxZoom:n,translateExtent:x,viewport:o,onPanZoom:r,onPanZoomStart:i,onPanZoomEnd:c,onDraggingChange:f}){const s=a,u={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},d=e.getBoundingClientRect(),b=Jr()[s(1903)]([t,n])[s(1236)](x),g=Te(e).call(b);v({x:o.x,y:o.y,zoom:xt(o[s(1069)],t,n)},[[0,0],[d[s(1030)],d[s(1517)]]],x);const y=g.on(s(1035)),h=g.on("dblclick.zoom");b[s(266)](Oi);function m(Z,W){const V=s;return g?new Promise(L=>{const D=_0x4f97;b?.[D(1068)](W?.[D(1068)]===D(1988)?Nt:y0)[D(1958)](Xx(g,W?.duration,W?.[D(1683)],()=>L(!0)),Z)}):Promise[V(1018)](!1)}function M({noWheelClassName:Z,noPanClassName:W,onPaneContextMenu:V,userSelectionActive:L,panOnScroll:D,panOnDrag:B,panOnScrollMode:Y,panOnScrollSpeed:I,preventScrolling:k,zoomOnPinch:R,zoomOnScroll:J,zoomOnDoubleClick:X,zoomActivationKeyPressed:ne,lib:K,onTransformChange:te,connectionInProgress:$,paneClickDistance:ce,selectionOnDrag:ie}){const S=s;L&&!u.isZoomingOrPanning&&p();const U=D&&!ne&&!L;b[S(1608)](ie?1/0:!Fe(ce)||ce<0?0:ce);const _=U?Rf({zoomPanValues:u,noWheelClassName:Z,d3Selection:g,d3Zoom:b,panOnScrollMode:Y,panOnScrollSpeed:I,zoomOnPinch:R,onPanZoomStart:i,onPanZoom:r,onPanZoomEnd:c}):Jf({noWheelClassName:Z,preventScrolling:k,d3ZoomHandler:y});if(g.on(S(1035),_,{passive:!1}),!L){const O=_f({zoomPanValues:u,onDraggingChange:f,onPanZoomStart:i});b.on(S(1209),O);const ee=Ff({zoomPanValues:u,panOnDrag:B,onPaneContextMenu:!!V,onPanZoom:r,onTransformChange:te});b.on("zoom",ee);const de=Qf({zoomPanValues:u,panOnDrag:B,panOnScroll:D,onPaneContextMenu:V,onPanZoomEnd:c,onDraggingChange:f});b.on("end",de)}const H=$f({zoomActivationKeyPressed:ne,panOnDrag:B,zoomOnScroll:J,panOnScroll:D,zoomOnDoubleClick:X,zoomOnPinch:R,userSelectionActive:L,noPanClassName:W,noWheelClassName:Z,lib:K,connectionInProgress:$});b[S(990)](H),X?g.on(S(1876),h):g.on(S(1876),null)}function p(){const Z=s;b.on(Z(1069),null)}async function v(Z,W,V){const L=Wx(Z),D=b?.constrain()(L,W,V);return D&&await m(D),new Promise(B=>B(D))}async function w(Z,W){const V=Wx(Z);return await m(V,W),new Promise(L=>L(V))}function C(Z){const W=s;if(g){const V=Wx(Z),L=g[W(276)](W(1835));(L.k!==Z[W(1069)]||L.x!==Z.x||L.y!==Z.y)&&b?.[W(1958)](g,V,null,{sync:!0})}}function P(){const Z=s,W=g?Zr(g[Z(858)]()):{x:0,y:0,k:1};return{x:W.x,y:W.y,zoom:W.k}}function A(Z,W){const V=s;return g?new Promise(L=>{const D=_0x4f97;b?.interpolate(W?.[D(1068)]===D(1988)?Nt:y0)[D(1866)](Xx(g,W?.[D(1294)],W?.ease,()=>L(!0)),Z)}):Promise[V(1018)](!1)}function G(Z,W){const V=s;return g?new Promise(L=>{const D=_0x4f97;b?.[D(1068)](W?.[D(1068)]===D(1988)?Nt:y0)[D(1455)](Xx(g,W?.[D(1294)],W?.[D(1683)],()=>L(!0)),Z)}):Promise[V(1018)](!1)}function j(Z){b?.scaleExtent(Z)}function q(Z){b?.[s(1236)](Z)}function F(Z){const W=s,V=!Fe(Z)||Z<0?0:Z;b?.[W(1608)](V)}return{update:M,destroy:p,setViewport:w,setViewportConstrained:v,getViewport:P,scaleTo:A,scaleBy:G,setScaleExtent:j,setTranslateExtent:q,syncViewport:C,setClickDistance:F}}var at;(function(e){const t=a;e.Line="line",e.Handle=t(1229)})(at||(at={}));function n1({width:e,prevWidth:t,height:n,prevHeight:x,affectsX:o,affectsY:r}){const i=e-t,c=n-x,f=[i>0?1:i<0?-1:0,c>0?1:c<0?-1:0];return i&&o&&(f[0]=f[0]*-1),c&&r&&(f[1]=f[1]*-1),f}function Gi(e){const t=a,n=e[t(2010)]("right")||e[t(2010)](t(1014)),x=e.includes("bottom")||e.includes("top"),o=e[t(2010)](t(1014)),r=e[t(2010)]("top");return{isHorizontal:n,isVertical:x,affectsX:o,affectsY:r}}function mn(e,t){return Math[a(1495)](0,t-e)}function wn(e,t){return Math.max(0,e-t)}function A0(e,t,n){return Math[a(1495)](0,t-e,e-n)}function Hi(e,t){return e?!t:t}function t1(e,t,n,x,o,r,i,c){const f=a;let{affectsX:s,affectsY:u}=t;const{isHorizontal:d,isVertical:b}=t,g=d&&b,{xSnapped:y,ySnapped:h}=n,{minWidth:m,maxWidth:M,minHeight:p,maxHeight:v}=x,{x:w,y:C,width:P,height:A,aspectRatio:G}=e;let j=Math[f(1410)](d?y-e.pointerX:0),q=Math.floor(b?h-e[f(1287)]:0);const F=P+(s?-j:j),Z=A+(u?-q:q),W=-r[0]*P,V=-r[1]*A;let L=A0(F,m,M),D=A0(Z,p,v);if(i){let I=0,k=0;s&&j<0?I=mn(w+j+W,i[0][0]):!s&&j>0&&(I=wn(w+F+W,i[1][0])),u&&q<0?k=mn(C+q+V,i[0][1]):!u&&q>0&&(k=wn(C+Z+V,i[1][1])),L=Math[f(1495)](L,I),D=Math[f(1495)](D,k)}if(c){let I=0,k=0;s&&j>0?I=wn(w+j,c[0][0]):!s&&j<0&&(I=mn(w+F,c[1][0])),u&&q>0?k=wn(C+q,c[0][1]):!u&&q<0&&(k=mn(C+Z,c[1][1])),L=Math[f(1495)](L,I),D=Math[f(1495)](D,k)}if(o){if(d){const I=A0(F/G,p,v)*G;if(L=Math.max(L,I),i){let k=0;!s&&!u||s&&!u&&g?k=wn(C+V+F/G,i[1][1])*G:k=mn(C+V+(s?j:-j)/G,i[0][1])*G,L=Math.max(L,k)}if(c){let k=0;!s&&!u||s&&!u&&g?k=mn(C+F/G,c[1][1])*G:k=wn(C+(s?j:-j)/G,c[0][1])*G,L=Math.max(L,k)}}if(b){const I=A0(Z*G,m,M)/G;if(D=Math[f(1495)](D,I),i){let k=0;!s&&!u||u&&!s&&g?k=wn(w+Z*G+W,i[1][0])/G:k=mn(w+(u?q:-q)*G+W,i[0][0])/G,D=Math.max(D,k)}if(c){let k=0;!s&&!u||u&&!s&&g?k=mn(w+Z*G,c[1][0])/G:k=wn(w+(u?q:-q)*G,c[0][0])/G,D=Math.max(D,k)}}}q=q+(q<0?D:-D),j=j+(j<0?L:-L),o&&(g?F>Z*G?q=(Hi(s,u)?-j:j)/G:j=(Hi(s,u)?-q:q)*G:d?(q=j/G,u=s):(j=q*G,s=u));const B=s?w+j:w,Y=u?C+q:C;return{width:P+(s?-j:j),height:A+(u?-q:q),x:r[0]*j*(s?-1:1)+B,y:r[1]*q*(u?-1:1)+Y}}const Vi={width:0,height:0,x:0,y:0},x1={...Vi,pointerX:0,pointerY:0,aspectRatio:1};function o1(e){const t=a;return[[0,0],[e[t(330)][t(1030)],e[t(330)][t(1517)]]]}function r1(e,t,n){const x=a,o=t[x(1690)].x+e[x(1690)].x,r=t[x(1690)].y+e[x(1690)].y,i=e[x(330)].width??0,c=e[x(330)][x(1517)]??0,f=n[0]*i,s=n[1]*c;return[[o-f,r-s],[o+i-f,r+c-s]]}function i1({domNode:e,nodeId:t,getStoreItems:n,onChange:x,onEnd:o}){const r=a,i=Te(e);let c={controlDirection:Gi(r(1675)),boundaries:{minWidth:0,minHeight:0,maxWidth:Number[r(1153)],maxHeight:Number[r(1153)]},resizeDirection:void 0,keepAspectRatio:!1};function f({controlPosition:u,boundaries:d,keepAspectRatio:b,resizeDirection:g,onResizeStart:y,onResize:h,onResizeEnd:m,shouldResize:M}){const p=r;let v={...Vi},w={...x1};c={boundaries:d,resizeDirection:g,keepAspectRatio:b,controlDirection:Gi(u)};let C,P=null,A=[],G,j,q,F=!1;const Z=wr().on(p(1209),W=>{const V=p,{nodeLookup:L,transform:D,snapGrid:B,snapToGrid:Y,nodeOrigin:I,paneDomNode:k}=n();if(C=L[V(1077)](t),!C)return;P=k?.[V(447)]()??null;const{xSnapped:R,ySnapped:J}=Tt(W.sourceEvent,{transform:D,snapGrid:B,snapToGrid:Y,containerBounds:P});v={width:C.measured.width??0,height:C[V(330)][V(1517)]??0,x:C.position.x??0,y:C[V(1690)].y??0},w={...v,pointerX:R,pointerY:J,aspectRatio:v[V(1030)]/v[V(1517)]},G=void 0,C[V(1932)]&&(C[V(1776)]==="parent"||C[V(1650)])&&(G=L.get(C[V(1932)]),j=G&&C.extent===V(613)?o1(G):void 0),A=[],q=void 0;for(const[X,ne]of L)if(ne[V(1932)]===t&&(A[V(1374)]({id:X,position:{...ne[V(1690)]},extent:ne[V(1776)]}),ne[V(1776)]===V(613)||ne[V(1650)])){const K=r1(ne,C,ne[V(1955)]??I);q?q=[[Math[V(617)](K[0][0],q[0][0]),Math[V(617)](K[0][1],q[0][1])],[Math[V(1495)](K[1][0],q[1][0]),Math.max(K[1][1],q[1][1])]]:q=K}y?.(W,{...v})}).on(p(373),W=>{const V=p,{transform:L,snapGrid:D,snapToGrid:B,nodeOrigin:Y}=n(),I=Tt(W.sourceEvent,{transform:L,snapGrid:D,snapToGrid:B,containerBounds:P}),k=[];if(!C)return;const{x:R,y:J,width:X,height:ne}=v,K={},te=C[V(1955)]??Y,{width:$,height:ce,x:ie,y:S}=t1(w,c[V(825)],I,c[V(435)],c[V(412)],te,j,q),U=$!==X,_=ce!==ne,H=ie!==R&&U,O=S!==J&&_;if(!H&&!O&&!U&&!_)return;if((H||O||te[0]===1||te[1]===1)&&(K.x=H?ie:v.x,K.y=O?S:v.y,v.x=K.x,v.y=K.y,A.length>0)){const se=ie-R,he=S-J;for(const pe of A)pe[V(1690)]={x:pe.position.x-se+te[0]*($-X),y:pe[V(1690)].y-he+te[1]*(ce-ne)},k[V(1374)](pe)}if((U||_)&&(K[V(1030)]=U&&(!c[V(1251)]||c[V(1251)]===V(1680))?$:v[V(1030)],K[V(1517)]=_&&(!c[V(1251)]||c[V(1251)]===V(781))?ce:v[V(1517)],v[V(1030)]=K[V(1030)],v[V(1517)]=K[V(1517)]),G&&C[V(1650)]){const se=te[0]*(K[V(1030)]??0);K.x&&K.x<se&&(v.x=se,w.x=w.x-(K.x-se));const he=te[1]*(K.height??0);K.y&&K.y<he&&(v.y=he,w.y=w.y-(K.y-he))}const ee=n1({width:v[V(1030)],prevWidth:X,height:v.height,prevHeight:ne,affectsX:c.controlDirection.affectsX,affectsY:c[V(825)][V(464)]}),de={...v,direction:ee};M?.(W,de)!==!1&&(F=!0,h?.(W,de),x(K,k))}).on(p(513),W=>{F&&(m?.(W,{...v}),o?.({...v}),F=!1)});i[p(643)](Z)}function s(){i.on(".drag",null)}return{update:f,destroy:s}}var E0={exports:{}},Kx={},U0={exports:{}},Zx={},Ti;function c1(){const e=a;if(Ti)return Zx;Ti=1;var t=N;function n(b,g){return b===g&&(b!==0||1/b===1/g)||b!==b&&g!==g}var x=typeof Object.is=="function"?Object.is:n,o=t.useState,r=t[e(502)],i=t[e(746)],c=t.useDebugValue;function f(b,g){var y=g(),h=o({inst:{value:y,getSnapshot:g}}),m=h[0].inst,M=h[1];return i(function(){const p=_0x4f97;m[p(1188)]=y,m[p(482)]=g,s(m)&&M({inst:m})},[b,y,g]),r(function(){return s(m)&&M({inst:m}),b(function(){s(m)&&M({inst:m})})},[b]),c(y),y}function s(b){const g=e;var y=b[g(482)];b=b[g(1188)];try{var h=y();return!x(b,h)}catch{return!0}}function u(b,g){return g()}var d=typeof window>"u"||typeof window[e(361)]>"u"||e(1416)===typeof window[e(361)].createElement?u:f;return Zx.useSyncExternalStore=t[e(1080)]!==void 0?t[e(1080)]:d,Zx}var Rx={},qi;function a1(){const e=a;return qi||(qi=1,e(460)!==process.env.NODE_ENV&&(function(){const t=e;function n(h,m){return h===m&&(h!==0||1/h===1/m)||h!==h&&m!==m}function x(h,m){const M=_0x4f97;b||i[M(352)]===void 0||(b=!0,console[M(1999)](M(811)));var p=m();if(!g){var v=m();c(p,v)||(console.error(M(434)),g=!0)}v=f({inst:{value:p,getSnapshot:m}});var w=v[0][M(1253)],C=v[1];return u(function(){const P=M;w[P(1188)]=p,w.getSnapshot=m,o(w)&&C({inst:w})},[h,p,m]),s(function(){return o(w)&&C({inst:w}),h(function(){o(w)&&C({inst:w})})},[h]),d(p),p}function o(h){const m=_0x4f97;var M=h[m(482)];h=h[m(1188)];try{var p=M();return!c(h,p)}catch{return!0}}function r(h,m){return m()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&t(758)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[t(446)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var i=N,c=t(758)===typeof Object.is?Object.is:n,f=i[t(1641)],s=i[t(502)],u=i[t(746)],d=i.useDebugValue,b=!1,g=!1,y=t(1416)===typeof window||t(1416)===typeof window[t(361)]||typeof window[t(361)][t(1573)]>"u"?r:x;Rx[t(1080)]=i[t(1080)]!==void 0?i[t(1080)]:y,t(1416)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&t(758)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[t(304)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[t(304)](Error())})()),Rx}var Wi;function Xi(){const e=a;return Wi||(Wi=1,process.env.NODE_ENV===e(460)?U0.exports=c1():U0[e(1743)]=a1()),U0[e(1743)]}var Ki;function s1(){const e=a;if(Ki)return Kx;Ki=1;var t=N,n=Xi();function x(u,d){return u===d&&(u!==0||1/u===1/d)||u!==u&&d!==d}var o=typeof Object.is=="function"?Object.is:x,r=n[e(1080)],i=t[e(840)],c=t[e(502)],f=t[e(449)],s=t[e(1154)];return Kx[e(382)]=function(u,d,b,g,y){const h=e;var m=i(null);if(m[h(1189)]===null){var M={hasValue:!1,value:null};m.current=M}else M=m[h(1189)];m=f(function(){function v(G){const j=_0x4f97;if(!w){if(w=!0,C=G,G=g(G),y!==void 0&&M[j(1738)]){var q=M.value;if(y(q,G))return P=q}return P=G}if(q=P,o(C,G))return q;var F=g(G);return y!==void 0&&y(q,F)?(C=G,q):(C=G,P=F)}var w=!1,C,P,A=b===void 0?null:b;return[function(){return v(d())},A===null?void 0:function(){return v(A())}]},[d,b,g,y]);var p=r(u,m[0],m[1]);return c(function(){const v=h;M[v(1738)]=!0,M[v(1188)]=p},[p]),s(p),p},Kx}var Jx={},Zi;function l1(){const e=a;return Zi||(Zi=1,e(460)!==process.env.NODE_ENV&&(function(){const t=e;function n(d,b){return d===b&&(d!==0||1/d===1/b)||d!==d&&b!==b}t(1416)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&t(758)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[t(446)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[t(446)](Error());var x=N,o=Xi(),r=t(758)===typeof Object.is?Object.is:n,i=o[t(1080)],c=x[t(840)],f=x[t(502)],s=x[t(449)],u=x[t(1154)];Jx[t(382)]=function(d,b,g,y,h){const m=t;var M=c(null);if(M[m(1189)]===null){var p={hasValue:!1,value:null};M[m(1189)]=p}else p=M[m(1189)];M=s(function(){function w(j){const q=_0x4f97;if(!C){if(C=!0,P=j,j=y(j),h!==void 0&&p[q(1738)]){var F=p[q(1188)];if(h(F,j))return A=F}return A=j}if(F=A,r(P,j))return F;var Z=y(j);return h!==void 0&&h(F,Z)?(P=j,F):(P=j,A=Z)}var C=!1,P,A,G=g===void 0?null:g;return[function(){return w(b())},G===null?void 0:function(){return w(G())}]},[b,g,y,h]);var v=i(d,M[0],M[1]);return f(function(){const w=m;p[w(1738)]=!0,p[w(1188)]=v},[v]),u(v),v},t(1416)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&t(758)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[t(304)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[t(304)](Error())})()),Jx}var Ri;function d1(){const e=a;return Ri?E0[e(1743)]:(Ri=1,process.env.NODE_ENV===e(460)?E0[e(1743)]=s1():E0[e(1743)]=l1(),E0.exports)}var u1=d1();const f1=ht(u1),h1={},Ji=e=>{let t;const n=new Set,x=(u,d)=>{const b=_0x4f97,g=typeof u===b(758)?u(t):u;if(!Object.is(g,t)){const y=t;t=d??(typeof g!==b(1466)||g===null)?g:Object.assign({},t,g),n[b(935)](h=>h(t,y))}},o=()=>t,r=()=>s,i=u=>(n[_0x4f97(284)](u),()=>n.delete(u)),c=()=>{const u=_0x4f97;(h1?u(460):void 0)!==u(460)&&console.warn(u(897)),n[u(1972)]()},f={setState:x,getState:o,getInitialState:r,subscribe:i,destroy:c},s=t=e(x,o,f);return f},b1=e=>e?Ji(e):Ji,{useDebugValue:g1}=N,{useSyncExternalStoreWithSelector:y1}=f1,m1=e=>e;function _i(e,t=m1,n){const x=a,o=y1(e.subscribe,e[x(1277)],e[x(1453)]||e[x(1815)],t,n);return g1(o),o}const Fi=(e,t)=>{const n=a,x=b1(e),o=(r,i=t)=>_i(x,r,i);return Object[n(972)](o,x),o},w1=(e,t)=>e?Fi(e,t):Fi;function Le(e,t){const n=a;if(Object.is(e,t))return!0;if(typeof e!==n(1466)||e===null||typeof t!==n(1466)||t===null)return!1;if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(const[o,r]of e)if(!Object.is(r,t[n(1077)](o)))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t[n(1370)])return!1;for(const o of e)if(!t[n(1913)](o))return!1;return!0}const x=Object[n(948)](e);if(x[n(1470)]!==Object[n(948)](t)[n(1470)])return!1;for(const o of x)if(!Object.prototype[n(309)][n(643)](t,o)||!Object.is(e[o],t[o]))return!1;return!0}const O0=N[a(1957)](null),v1=O0[a(904)],Qi=qe[a(574)]();function Ce(e,t){const n=N.useContext(O0);if(n===null)throw new Error(Qi);return _i(n,e,t)}function Ne(){const e=a,t=N[e(941)](O0);if(t===null)throw new Error(Qi);return N[e(449)](()=>({getState:t[e(1277)],setState:t.setState,subscribe:t[e(1854)]}),[t])}const $i={display:a(403)},p1={position:a(1809),width:1,height:1,margin:-1,border:0,padding:0,overflow:a(909),clip:a(609),clipPath:"inset(100%)"},ec=a(1473),nc=a(1103),z1=a(1753),C1=e=>e.ariaLiveMessage,M1=e=>e[a(926)];function B1({rfId:e}){const t=a,n=Ce(C1);return l[t(1848)]("div",{id:z1+"-"+e,"aria-live":"assertive","aria-atomic":t(864),style:p1,children:n})}function D1({rfId:e,disableKeyboardA11y:t}){const n=a,x=Ce(M1);return l[n(272)](l[n(1555)],{children:[l[n(1848)](n(1929),{id:ec+"-"+e,style:$i,children:t?x["node.a11yDescription.default"]:x["node.a11yDescription.keyboardDisabled"]}),l[n(1848)](n(1929),{id:nc+"-"+e,style:$i,children:x["edge.a11yDescription.default"]}),!t&&l.jsx(B1,{rfId:e})]})}const G0=N[a(1714)](({position:e="top-left",children:t,className:n,style:x,...o},r)=>{const i=a,c=(""+e)[i(697)]("-");return l[i(1848)](i(1929),{className:Pe([i(317),n,...c]),style:x,ref:r,...o,children:t})});G0[a(295)]="Panel";function L1({proOptions:e,position:t=a(1675)}){const n=a;return e?.hideAttribution?null:l[n(1848)](G0,{position:t,className:n(1040),"data-message":n(1688),children:l[n(1848)]("a",{href:n(1465),target:n(693),rel:n(1652),"aria-label":n(1661),children:"React Flow"})})}const N1=e=>{const t=a,n=[],x=[];for(const[,o]of e[t(1615)])o[t(1480)]&&n.push(o[t(1130)][t(595)]);for(const[,o]of e.edgeLookup)o[t(1480)]&&x[t(1374)](o);return{selectedNodes:n,selectedEdges:x}},H0=e=>e.id;function S1(e,t){const n=a;return Le(e[n(1523)][n(539)](H0),t[n(1523)][n(539)](H0))&&Le(e[n(729)].map(H0),t[n(729)][n(539)](H0))}function k1({onSelectionChange:e}){const t=Ne(),{selectedNodes:n,selectedEdges:x}=Ce(N1,S1);return N.useEffect(()=>{const o=_0x4f97,r={nodes:n,edges:x};e?.(r),t[o(1277)]().onSelectionChangeHandlers[o(935)](i=>i(r))},[n,x,e]),null}const P1=e=>!!e[a(1936)];function I1({onSelectionChange:e}){const t=Ce(P1);return e||t?l.jsx(k1,{onSelectionChange:e}):null}const _x=typeof window!==a(1416)?N.useLayoutEffect:N[a(502)],tc=[0,0],Y1={x:0,y:0,zoom:1},j1=[a(362),a(1079),a(829),a(1106),a(1797),a(1387),"onConnectEnd",a(929),a(970),"nodesDraggable",a(291),a(1023),"nodesFocusable",a(716),a(717),"elevateNodesOnSelect","elevateEdgesOnSelect",a(753),a(821),a(1007),a(1768),a(1092),a(1e3),a(1666),a(807),"snapToGrid",a(1236),"connectOnClick",a(1719),"fitView","fitViewOptions",a(1699),a(805),a(1747),a(1664),a(1053),a(1711),a(1733),a(1339),a(1307),"onMoveStart","onMove",a(587),a(1402),a(1047),a(1647),a(1766),a(791),a(452),"isValidConnection",a(744),"nodeDragThreshold",a(954),a(916),a(943),a(1324),a(926),a(1464)],xc=[...j1,a(1590)],A1=e=>({setNodes:e[a(395)],setEdges:e[a(438)],setMinZoom:e[a(287)],setMaxZoom:e[a(975)],setTranslateExtent:e[a(1978)],setNodeExtent:e[a(1420)],reset:e[a(414)],setDefaultNodesAndEdges:e[a(911)]}),oc={translateExtent:jt,nodeOrigin:tc,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:"nopan",rfId:"1"};function E1(e){const t=a,{setNodes:n,setEdges:x,setMinZoom:o,setMaxZoom:r,setTranslateExtent:i,setNodeExtent:c,reset:f,setDefaultNodesAndEdges:s}=Ce(A1,Le),u=Ne();_x(()=>{const b=_0x4f97;return s(e[b(829)],e[b(1106)]),()=>{const g=b;d[g(1189)]=oc,f()}},[]);const d=N[t(840)](oc);return _x(()=>{const b=t;for(const g of xc){const y=e[g],h=d[b(1189)][g];y!==h&&typeof e[g]!==b(1416)&&(g===b(362)?n(y):g==="edges"?x(y):g===b(753)?o(y):g===b(821)?r(y):g==="translateExtent"?i(y):g==="nodeExtent"?c(y):g==="ariaLabelConfig"?u.setState({ariaLabelConfig:wf(y)}):g==="fitView"?u.setState({fitViewQueued:y}):g===b(2013)?u[b(1665)]({fitViewOptions:y}):u[b(1665)]({[g]:y}))}d[b(1189)]=e},xc[t(539)](b=>e[b])),null}function rc(){const e=a;return typeof window===e(1416)||!window.matchMedia?null:window[e(1885)](e(1764))}function U1(e){const t=a,[n,x]=N.useState(e===t(411)?null:e);return N[t(502)](()=>{const o=t;if(e!==o(411)){x(e);return}const r=rc(),i=()=>x(r?.[o(1298)]?o(401):"light");return i(),r?.addEventListener(o(1786),i),()=>{r?.removeEventListener("change",i)}},[e]),n!==null?n:rc()?.matches?t(401):t(264)}const ic=typeof document<"u"?document:null;function qt(e=null,t={target:ic,actInsideInputWithModifier:!0}){const n=a,[x,o]=N.useState(!1),r=N[n(840)](!1),i=N[n(840)](new Set([])),[c,f]=N[n(449)](()=>{const s=n;if(e!==null){const u=Array[s(1670)](e)?e:[e],d=u[s(990)](g=>typeof g===s(1419)).map(g=>g[s(1271)]("+",`
5
+ `)[s(1271)](`
7
6
 
8
7
  `,`
9
- +`)[s(1773)](`
10
- `)),y=d[s(1846)]((h,g)=>h.concat(...g),[]);return[d,y]}return[[],[]]},[e]);return L[n(1027)](()=>{const s=n,u=t?.target??ia,d=t?.[s(1830)]??!0;if(e!==null){const y=m=>{const v=s;if(r[v(787)]=m.ctrlKey||m.metaKey||m[v(2064)]||m[v(1725)],(!r.current||r.current&&!d)&&fi(m))return!1;const M=ca(m[v(1368)],f);if(i[v(787)][v(447)](m[M]),aa(a,i.current,!1)){const w=m[v(626)]?.()?.[0]||m[v(819)],z=w?.[v(2173)]===v(1505)||w?.nodeName==="A";t[v(478)]!==!1&&(r[v(787)]||!z)&&m[v(478)](),o(!0)}},h=m=>{const v=s,p=ca(m[v(1368)],f);aa(a,i.current,!0)?(o(!1),i[v(787)].clear()):i.current[v(719)](m[p]),m.key==="Meta"&&i[v(787)][v(1370)](),r[v(787)]=!1},g=()=>{const m=s;i.current[m(1370)](),o(!1)};return u?.[s(2055)](s(1048),y),u?.[s(2055)](s(1457),h),window[s(2055)](s(1955),g),window.addEventListener(s(1818),g),()=>{const m=s;u?.[m(653)](m(1048),y),u?.[m(653)](m(1457),h),window[m(653)](m(1955),g),window[m(653)](m(1818),g)}}},[e,o]),x}function aa(e,t,n){const x=c;return e[x(1076)](o=>n||o[x(1028)]===t[x(2046)])[x(1448)](o=>o[x(1281)](r=>t[x(1432)](r)))}function ca(e,t){return t.includes(e)?"code":"key"}const G2=()=>{const e=c,t=Ne();return L[e(694)](()=>{const n=e;return{zoomIn:x=>{const o=_0x447e,{panZoom:r}=t[o(1556)]();return r?r[o(910)](1.2,x):Promise[o(1734)](!1)},zoomOut:x=>{const o=_0x447e,{panZoom:r}=t.getState();return r?r[o(910)](1/1.2,x):Promise.resolve(!1)},zoomTo:(x,o)=>{const r=_0x447e,{panZoom:i}=t[r(1556)]();return i?i.scaleTo(x,o):Promise[r(1734)](!1)},getZoom:()=>t[n(1556)]()[n(688)][2],setViewport:async(x,o)=>{const r=n,{transform:[i,a,f],panZoom:s}=t[r(1556)]();return s?(await s[r(1449)]({x:x.x??i,y:x.y??a,zoom:x[r(931)]??f},o),Promise.resolve(!0)):Promise[r(1734)](!1)},getViewport:()=>{const x=n,[o,r,i]=t[x(1556)]()[x(688)];return{x:o,y:r,zoom:i}},setCenter:async(x,o,r)=>{const i=n;return t.getState()[i(1742)](x,o,r)},fitBounds:async(x,o)=>{const r=n,{width:i,height:a,minZoom:f,maxZoom:s,panZoom:u}=t.getState(),d=Yx(x,i,a,f,s,o?.[r(1754)]??.1);return u?(await u.setViewport(d,{duration:o?.[r(1844)],ease:o?.ease,interpolate:o?.[r(948)]}),Promise[r(1734)](!0)):Promise[r(1734)](!1)},screenToFlowPosition:(x,o={})=>{const r=n,{transform:i,snapGrid:a,snapToGrid:f,domNode:s}=t[r(1556)]();if(!s)return x;const{x:u,y:d}=s.getBoundingClientRect(),y={x:x.x-u,y:x.y-d},h=o[r(953)]??a,g=o.snapToGrid??f;return Ht(y,i,g,h)},flowToScreenPosition:x=>{const o=n,{transform:r,domNode:i}=t.getState();if(!i)return x;const{x:a,y:f}=i[o(1761)](),s=Y0(x,r);return{x:s.x+a,y:s.y+f}}}},[])};function sa(e,t){const n=c,x=[],o=new Map,r=[];for(const i of e)if(i.type===n(447)){r[n(2049)](i);continue}else if(i[n(638)]===n(1741)||i[n(638)]===n(2164))o[n(1007)](i.id,[i]);else{const a=o[n(1446)](i.id);a?a[n(2049)](i):o[n(1007)](i.id,[i])}for(const i of t){const a=o[n(1446)](i.id);if(!a){x[n(2049)](i);continue}if(a[0].type===n(1741))continue;if(a[0][n(638)]===n(2164)){x[n(2049)]({...a[0][n(516)]});continue}const f={...i};for(const s of a)O2(s,f);x[n(2049)](f)}return r[n(1028)]&&r[n(1068)](i=>{const a=n;i[a(1261)]!==void 0?x[a(1658)](i[a(1261)],0,{...i[a(516)]}):x.push({...i[a(516)]})}),x}function O2(e,t){const n=c;switch(e[n(638)]){case n(521):{t[n(1518)]=e[n(1518)];break}case"position":{typeof e.position!==n(1269)&&(t.position=e[n(1400)]),typeof e[n(845)]<"u"&&(t[n(845)]=e.dragging);break}case n(524):{typeof e[n(524)]<"u"&&(t[n(1815)]={...e[n(524)]},e.setAttributes&&((e[n(566)]===!0||e[n(566)]===n(502))&&(t[n(502)]=e[n(524)].width),(e.setAttributes===!0||e[n(566)]===n(1201))&&(t[n(1201)]=e.dimensions.height))),typeof e[n(2155)]===n(894)&&(t[n(2155)]=e.resizing);break}}}function la(e,t){return sa(e,t)}function da(e,t){return sa(e,t)}function Gn(e,t){return{id:e,type:"select",selected:t}}function st(e,t=new Set,n=!1){const x=c,o=[];for(const[r,i]of e){const a=t[x(1432)](r);!(i[x(1518)]===void 0&&!a)&&i.selected!==a&&(n&&(i[x(1518)]=a),o.push(Gn(i.id,a)))}return o}function ua({items:e=[],lookup:t}){const n=c,x=[],o=new Map(e[n(1001)](r=>[r.id,r]));for(const[r,i]of e.entries()){const a=t[n(1446)](i.id),f=a?.[n(2075)]?.[n(1572)]??a;f!==void 0&&f!==i&&x[n(2049)]({id:i.id,item:i,type:n(2164)}),f===void 0&&x[n(2049)]({item:i,type:n(447),index:r})}for(const[r]of t)o[n(1446)](r)===void 0&&x[n(2049)]({id:r,type:n(1741)});return x}function fa(e){const t=c;return{id:e.id,type:t(1741)}}const ga=e=>lf(e),H2=e=>ni(e);function ha(e){return L[c(1403)](e)}function ya(e){const t=c,[n,x]=L[t(1303)](BigInt(0)),[o]=L[t(1303)](()=>T2(()=>x(r=>r+BigInt(1))));return _x(()=>{const r=t,i=o[r(1446)]();i[r(1028)]&&(e(i),o[r(2107)]())},[n]),o}function T2(e){let t=[];return{get:()=>t,reset:()=>{t=[]},push:n=>{t[_0x447e(2049)](n),e()}}}const ma=L[c(1003)](null);function V2({children:e}){const t=c,n=Ne(),x=L[t(1020)](f=>{const s=t,{nodes:u=[],setNodes:d,hasDefaultNodes:y,onNodesChange:h,nodeLookup:g,fitViewQueued:m,onNodesChangeMiddlewareMap:v}=n[s(1556)]();let p=u;for(const w of f)p=typeof w===s(940)?w(p):w;let M=ua({items:p,lookup:g});for(const w of v.values())M=w(M);y&&d(p),M[s(1028)]>0?h?.(M):m&&window[s(1627)](()=>{const w=s,{fitViewQueued:z,nodes:b,setNodes:k}=n[w(1556)]();z&&k(b)})},[]),o=ya(x),r=L.useCallback(f=>{const{edges:s=[],setEdges:u,hasDefaultEdges:d,onEdgesChange:y,edgeLookup:h}=n.getState();let g=s;for(const m of f)g=typeof m=="function"?m(g):m;d?u(g):y&&y(ua({items:g,lookup:h}))},[]),i=ya(r),a=L.useMemo(()=>({nodeQueue:o,edgeQueue:i}),[]);return l[t(1970)](ma[t(1498)],{value:a,children:e})}function q2(){const e=c,t=L[e(939)](ma);if(!t)throw new Error("useBatchContext must be used within a BatchProvider");return t}const W2=e=>!!e[c(853)];function Qx(){const e=c,t=G2(),n=Ne(),x=q2(),o=Ce(W2),r=L[e(694)](()=>{const i=e,a=h=>n[i(1556)]()[i(828)].get(h),f=h=>{const g=i;x.nodeQueue[g(2049)](h)},s=h=>{const g=i;x.edgeQueue[g(2049)](h)},u=h=>{const g=i,{nodeLookup:m,nodeOrigin:v}=n[g(1556)](),p=ga(h)?h:m[g(1446)](h.id),M=p[g(2060)]?li(p[g(1400)],p[g(1815)],p.parentId,m,v):p[g(1400)],w={...p,position:M,width:p[g(1815)]?.[g(502)]??p.width,height:p[g(1815)]?.[g(1201)]??p[g(1201)]};return ot(w)},d=(h,g,m={replace:!1})=>{f(v=>v.map(p=>{const M=_0x447e;if(p.id===h){const w=typeof g=="function"?g(p):g;return m[M(2164)]&&ga(w)?w:{...p,...w}}return p}))},y=(h,g,m={replace:!1})=>{s(v=>v.map(p=>{const M=_0x447e;if(p.id===h){const w=typeof g===M(940)?g(p):g;return m.replace&&H2(w)?w:{...p,...w}}return p}))};return{getNodes:()=>n[i(1556)]()[i(1053)][i(1001)](h=>({...h})),getNode:h=>a(h)?.[i(2075)].userNode,getInternalNode:a,getEdges:()=>{const h=i,{edges:g=[]}=n[h(1556)]();return g[h(1001)](m=>({...m}))},getEdge:h=>n[i(1556)]().edgeLookup.get(h),setNodes:f,setEdges:s,addNodes:h=>{const g=i,m=Array[g(1098)](h)?h:[h];x[g(1975)].push(v=>[...v,...m])},addEdges:h=>{const g=i,m=Array.isArray(h)?h:[h];x[g(1167)][g(2049)](v=>[...v,...m])},toObject:()=>{const h=i,{nodes:g=[],edges:m=[],transform:v}=n[h(1556)](),[p,M,w]=v;return{nodes:g[h(1001)](z=>({...z})),edges:m[h(1001)](z=>({...z})),viewport:{x:p,y:M,zoom:w}}},deleteElements:async({nodes:h=[],edges:g=[]})=>{const m=i,{nodes:v,edges:p,onNodesDelete:M,onEdgesDelete:w,triggerNodeChanges:z,triggerEdgeChanges:b,onDelete:k,onBeforeDelete:G}=n.getState(),{nodes:E,edges:I}=await hf({nodesToRemove:h,edgesToRemove:g,nodes:v,edges:p,onBeforeDelete:G}),q=I[m(1028)]>0,F=E.length>0;if(q){const K=I[m(1001)](fa);w?.(I),b(K)}if(F){const K=E.map(fa);M?.(E),z(K)}return(F||q)&&k?.({nodes:E,edges:I}),{deletedNodes:E,deletedEdges:I}},getIntersectingNodes:(h,g=!0,m)=>{const v=i,p=ai(h),M=p?h:u(h),w=m!==void 0;return M?(m||n[v(1556)]()[v(1053)])[v(1076)](z=>{const b=v,k=n.getState()[b(828)][b(1446)](z.id);if(k&&!p&&(z.id===h.id||!k[b(2075)][b(2139)]))return!1;const G=ot(w?z:k),E=Gt(G,M);return g&&E>0||E>=G[b(502)]*G[b(1201)]||E>=M[b(502)]*M[b(1201)]}):[]},isNodeIntersecting:(h,g,m=!0)=>{const v=i,p=ai(h),M=p?h:u(h);if(!M)return!1;const w=Gt(M,g);return m&&w>0||w>=g[v(502)]*g[v(1201)]||w>=M[v(502)]*M[v(1201)]},updateNode:d,updateNodeData:(h,g,m={replace:!1})=>{d(h,v=>{const p=_0x447e,M=typeof g=="function"?g(v):g;return m[p(2164)]?{...v,data:M}:{...v,data:{...v[p(455)],...M}}},m)},updateEdge:y,updateEdgeData:(h,g,m={replace:!1})=>{y(h,v=>{const p=_0x447e,M=typeof g===p(940)?g(v):g;return m[p(2164)]?{...v,data:M}:{...v,data:{...v[p(455)],...M}}},m)},getNodesBounds:h=>{const g=i,{nodeLookup:m,nodeOrigin:v}=n[g(1556)]();return df(h,{nodeLookup:m,nodeOrigin:v})},getHandleConnections:({type:h,id:g,nodeId:m})=>Array[i(1486)](n[i(1556)]()[i(837)].get(m+"-"+h+(g?"-"+g:""))?.[i(642)]()??[]),getNodeConnections:({type:h,handleId:g,nodeId:m})=>Array[i(1486)](n[i(1556)]()[i(837)].get(""+m+(h?g?"-"+h+"-"+g:"-"+h:""))?.[i(642)]()??[]),fitView:async h=>{const g=i,m=n[g(1556)]().fitViewResolver??wf();return n[g(1880)]({fitViewQueued:!0,fitViewOptions:h,fitViewResolver:m}),x[g(1975)][g(2049)](v=>[...v]),m[g(1772)]}}},[]);return L[e(694)](()=>({...r,...t,viewportInitialized:o}),[o])}const wa=e=>e[c(1518)],X2=typeof window<"u"?window:void 0;function Z2({deleteKeyCode:e,multiSelectionKeyCode:t}){const n=Ne(),{deleteElements:x}=Qx(),o=qt(e,{actInsideInputWithModifier:!1}),r=qt(t,{target:X2});L.useEffect(()=>{const i=_0x447e;if(o){const{edges:a,nodes:f}=n[i(1556)]();x({nodes:f[i(1076)](wa),edges:a[i(1076)](wa)}),n[i(1880)]({nodesSelectionActive:!1})}},[o]),L.useEffect(()=>{n.setState({multiSelectionActive:r})},[r])}function K2(e){const t=c,n=Ne();L[t(1027)](()=>{const x=t,o=()=>{const r=_0x447e;if(!e[r(787)]||!(e[r(787)][r(1071)]?.()??!0))return!1;const i=Ax(e[r(787)]);(i[r(1201)]===0||i[r(502)]===0)&&n.getState()[r(1133)]?.(r(1190),We.error004()),n[r(1880)]({width:i[r(502)]||500,height:i[r(1201)]||500})};if(e[x(787)]){o(),window[x(2055)](x(609),o);const r=new ResizeObserver(()=>o());return r[x(1541)](e[x(787)]),()=>{const i=x;window[i(653)](i(609),o),r&&e.current&&r[i(913)](e[i(787)])}}},[])}const T0={position:c(1386),width:c(697),height:"100%",top:0,left:0},R2=e=>({userSelectionActive:e[c(468)],lib:e.lib,connectionInProgress:e[c(656)][c(1956)]});function J2({onPaneContextMenu:e,zoomOnScroll:t=!0,zoomOnPinch:n=!0,panOnScroll:x=!1,panOnScrollSpeed:o=.5,panOnScrollMode:r=En[c(1104)],zoomOnDoubleClick:i=!0,panOnDrag:a=!0,defaultViewport:f,translateExtent:s,minZoom:u,maxZoom:d,zoomActivationKeyCode:y,preventScrolling:h=!0,children:g,noWheelClassName:m,noPanClassName:v,onViewportChange:p,isControlledViewport:M,paneClickDistance:w,selectionOnDrag:z}){const b=c,k=Ne(),G=L[b(1713)](null),{userSelectionActive:E,lib:I,connectionInProgress:q}=Ce(R2,Le),F=qt(y),K=L.useRef();K2(G);const W=L[b(1020)](V=>{const N=b;p?.({x:V[0],y:V[1],zoom:V[2]}),!M&&k[N(1880)]({transform:V})},[p,M]);return L[b(1027)](()=>{const V=b;if(G[V(787)]){K[V(787)]=e2({domNode:G[V(787)],minZoom:u,maxZoom:d,translateExtent:s,viewport:f,onDraggingChange:A=>k[V(1880)](P=>P[V(1169)]===A?P:{paneDragging:A}),onPanZoomStart:(A,P)=>{const Y=V,{onViewportChangeStart:Z,onMoveStart:J}=k[Y(1556)]();J?.(A,P),Z?.(P)},onPanZoom:(A,P)=>{const Y=V,{onViewportChange:Z,onMove:J}=k[Y(1556)]();J?.(A,P),Z?.(P)},onPanZoomEnd:(A,P)=>{const{onViewportChangeEnd:Y,onMoveEnd:Z}=k.getState();Z?.(A,P),Y?.(P)}});const{x:N,y:D,zoom:B}=K[V(787)][V(2040)]();return k[V(1880)]({panZoom:K[V(787)],transform:[N,D,B],domNode:G[V(787)][V(1132)](V(2125))}),()=>{const A=V;K.current?.[A(1262)]()}}},[]),L[b(1027)](()=>{const V=b;K.current?.[V(943)]({onPaneContextMenu:e,zoomOnScroll:t,zoomOnPinch:n,panOnScroll:x,panOnScrollSpeed:o,panOnScrollMode:r,zoomOnDoubleClick:i,panOnDrag:a,zoomActivationKeyPressed:F,preventScrolling:h,noPanClassName:v,userSelectionActive:E,noWheelClassName:m,lib:I,onTransformChange:W,connectionInProgress:q,selectionOnDrag:z,paneClickDistance:w})},[e,t,n,x,o,r,i,a,F,h,v,E,m,I,W,q,z,w]),l[b(1970)](b(1331),{className:b(1289),ref:G,style:T0,children:g})}const _2=e=>({userSelectionActive:e.userSelectionActive,userSelectionRect:e[c(1157)]});function Q2(){const e=c,{userSelectionActive:t,userSelectionRect:n}=Ce(_2,Le);return t&&n?l[e(1970)]("div",{className:e(2014),style:{width:n[e(502)],height:n[e(1201)],transform:e(1595)+n.x+"px, "+n.y+e(1728)}}):null}const Fx=(e,t)=>n=>{n[_0x447e(819)]===t.current&&e?.(n)},F2=e=>({userSelectionActive:e.userSelectionActive,elementsSelectable:e[c(1910)],connectionInProgress:e[c(656)][c(1956)],dragging:e[c(1169)]});function $2({isSelecting:e,selectionKeyPressed:t,selectionMode:n=Et.Full,panOnDrag:x,paneClickDistance:o,selectionOnDrag:r,onSelectionStart:i,onSelectionEnd:a,onPaneClick:f,onPaneContextMenu:s,onPaneScroll:u,onPaneMouseEnter:d,onPaneMouseMove:y,onPaneMouseLeave:h,children:g}){const m=c,v=Ne(),{userSelectionActive:p,elementsSelectable:M,dragging:w,connectionInProgress:z}=Ce(F2,Le),b=M&&(e||p),k=L[m(1713)](null),G=L[m(1713)](),E=L[m(1713)](new Set),I=L[m(1713)](new Set),q=L[m(1713)](!1),F=P=>{const Y=m;if(q[Y(787)]||z){q.current=!1;return}f?.(P),v[Y(1556)]()[Y(558)](),v.setState({nodesSelectionActive:!1})},K=P=>{const Y=m;if(Array[Y(1098)](x)&&x?.[Y(1931)](2)){P[Y(478)]();return}s?.(P)},W=u?P=>u(P):void 0,V=P=>{const Y=m;q[Y(787)]&&(P[Y(471)](),q[Y(787)]=!1)},N=P=>{const Y=m,{domNode:Z}=v[Y(1556)]();if(G[Y(787)]=Z?.[Y(1761)](),!G[Y(787)])return;const J=P[Y(819)]===k[Y(787)];if(!J&&!!P[Y(819)][Y(1132)](".nokey")||!e||!(r&&J||t)||P.button!==0||!P.isPrimary)return;P.target?.[Y(692)]?.(P.pointerId),q[Y(787)]=!1;const{x:R,y:re}=$e(P[Y(1636)],G[Y(787)]);v[Y(1880)]({userSelectionRect:{width:0,height:0,startX:R,startY:re,x:R,y:re}}),!J&&(P[Y(471)](),P[Y(478)]())},D=P=>{const Y=m,{userSelectionRect:Z,transform:J,nodeLookup:X,edgeLookup:Q,connectionLookup:R,triggerNodeChanges:re,triggerEdgeChanges:ee,defaultEdgeOptions:ae,resetSelectedElements:ie}=v[Y(1556)]();if(!G[Y(787)]||!Z)return;const{x:S,y:j}=$e(P[Y(1636)],G.current),{startX:_,startY:H}=Z;if(!q[Y(787)]){const ce=t?0:o;if(Math[Y(2110)](S-_,j-H)<=ce)return;ie(),i?.(P)}q[Y(787)]=!0;const O={startX:_,startY:H,x:S<_?S:_,y:j<H?j:H,width:Math[Y(781)](S-_),height:Math[Y(781)](j-H)},ne=E[Y(787)],de=I.current;E.current=new Set(kx(X,O,J,n===Et[Y(442)],!0)[Y(1001)](ce=>ce.id)),I[Y(787)]=new Set;const ye=ae?.[Y(1545)]??!0;for(const ce of E[Y(787)]){const ge=R[Y(1446)](ce);if(ge)for(const{edgeId:be}of ge[Y(642)]()){const he=Q[Y(1446)](be);he&&(he[Y(1545)]??ye)&&I[Y(787)][Y(447)](be)}}if(!di(ne,E[Y(787)])){const ce=st(X,E.current,!0);re(ce)}if(!di(de,I.current)){const ce=st(Q,I.current);ee(ce)}v[Y(1880)]({userSelectionRect:O,userSelectionActive:!0,nodesSelectionActive:!1})},B=P=>{const Y=m;P[Y(2070)]===0&&(P.target?.[Y(1805)]?.(P[Y(645)]),!p&&P.target===k[Y(787)]&&v.getState()[Y(1157)]&&F?.(P),v[Y(1880)]({userSelectionActive:!1,userSelectionRect:null}),q[Y(787)]&&(a?.(P),v[Y(1880)]({nodesSelectionActive:E[Y(787)][Y(2046)]>0})))},A=x===!0||Array.isArray(x)&&x[m(1931)](0);return l[m(557)]("div",{className:Pe([m(1182),{draggable:A,dragging:w,selection:e}]),onClick:b?void 0:Fx(F,k),onContextMenu:Fx(K,k),onWheel:Fx(W,k),onPointerEnter:b?void 0:d,onPointerMove:b?D:y,onPointerUp:b?B:void 0,onPointerDownCapture:b?N:void 0,onClickCapture:b?V:void 0,onPointerLeave:h,ref:k,style:T0,children:[g,l[m(1970)](Q2,{})]})}function $x({id:e,store:t,unselect:n=!1,nodeRef:x}){const o=c,{addSelectedNodes:r,unselectNodesAndEdges:i,multiSelectionActive:a,nodeLookup:f,onError:s}=t.getState(),u=f[o(1446)](e);if(!u){s?.(o(825),We.error012(e));return}t.setState({nodesSelectionActive:!1}),u.selected?(n||u.selected&&a)&&(i({nodes:[u],edges:[]}),requestAnimationFrame(()=>x?.[o(787)]?.[o(1955)]())):r([e])}function va({nodeRef:e,disabled:t=!1,noDragClassName:n,handleSelector:x,nodeId:o,isSelectable:r,nodeClickDistance:i}){const a=c,f=Ne(),[s,u]=L[a(1303)](!1),d=L[a(1713)]();return L[a(1027)](()=>{const y=a;d[y(787)]=Hf({getStoreItems:()=>f.getState(),onNodeMouseDown:h=>{$x({id:h,store:f,nodeRef:e})},onDragStart:()=>{u(!0)},onDragStop:()=>{u(!1)}})},[]),L[a(1027)](()=>{const y=a;if(!(t||!e[y(787)]||!d[y(787)]))return d[y(787)][y(943)]({noDragClassName:n,handleSelector:x,domNode:e[y(787)],isSelectable:r,nodeId:o,nodeClickDistance:i}),()=>{const h=y;d.current?.[h(1262)]()}},[n,x,t,r,e,o,i]),s}const e5=e=>t=>t[c(1518)]&&(t.draggable||e&&typeof t[c(460)]===c(1269));function pa(){const e=Ne();return L.useCallback(n=>{const x=_0x447e,{nodeExtent:o,snapToGrid:r,snapGrid:i,nodesDraggable:a,onError:f,updateNodePositions:s,nodeLookup:u,nodeOrigin:d}=e[x(1556)](),y=new Map,h=e5(a),g=r?i[0]:5,m=r?i[1]:5,v=n.direction.x*g*n[x(1444)],p=n.direction.y*m*n[x(1444)];for(const[,M]of u){if(!h(M))continue;let w={x:M.internals[x(2139)].x+v,y:M.internals[x(2139)].y+p};r&&(w=Ot(w,i));const{position:z,positionAbsolute:b}=ti({nodeId:M.id,nextPosition:w,nodeLookup:u,nodeExtent:o,nodeOrigin:d,onError:f});M[x(1400)]=z,M[x(2075)].positionAbsolute=b,y[x(1007)](M.id,M)}s(y)},[])}const eo=L[c(1003)](null),n5=eo[c(1498)];eo[c(2074)];const ba=()=>L[c(939)](eo),t5=e=>({connectOnClick:e[c(902)],noPanClassName:e[c(1871)],rfId:e[c(1932)]}),x5=(e,t,n)=>x=>{const o=c,{connectionClickStartHandle:r,connectionMode:i,connection:a}=x,{fromHandle:f,toHandle:s,isValid:u}=a,d=s?.[o(1382)]===e&&s?.id===t&&s?.[o(638)]===n;return{connectingFrom:f?.[o(1382)]===e&&f?.id===t&&f?.[o(638)]===n,connectingTo:d,clickConnecting:r?.[o(1382)]===e&&r?.id===t&&r?.[o(638)]===n,isPossibleEndHandle:i===tt[o(552)]?f?.[o(638)]!==n:e!==f?.[o(1382)]||t!==f?.id,connectionInProcess:!!f,clickConnectionInProcess:!!r,valid:d&&u}};function o5({type:e=c(1513),position:t=ue[c(998)],isValidConnection:n,isConnectable:x=!0,isConnectableStart:o=!0,isConnectableEnd:r=!0,id:i,onConnect:a,children:f,className:s,onMouseDown:u,onTouchStart:d,...y},h){const g=c,m=i||null,v=e===g(819),p=Ne(),M=ba(),{connectOnClick:w,noPanClassName:z,rfId:b}=Ce(t5,Le),{connectingFrom:k,connectingTo:G,clickConnecting:E,isPossibleEndHandle:I,connectionInProcess:q,clickConnectionInProcess:F,valid:K}=Ce(x5(M,m,e),Le);!M&&p.getState()[g(1133)]?.(g(2013),We[g(1008)]());const W=D=>{const B=g,{defaultEdgeOptions:A,onConnect:P,hasDefaultEdges:Y}=p[B(1556)](),Z={...A,...D};if(Y){const{edges:J,setEdges:X}=p[B(1556)]();X(pi(Z,J))}P?.(Z),a?.(Z)},V=D=>{const B=g;if(!M)return;const A=gi(D[B(1636)]);if(o&&(A&&D[B(2070)]===0||!A)){const P=p.getState();qx[B(1030)](D[B(1636)],{handleDomNode:D[B(850)],autoPanOnConnect:P[B(1056)],connectionMode:P[B(790)],connectionRadius:P[B(846)],domNode:P[B(1136)],nodeLookup:P[B(828)],lib:P[B(1284)],isTarget:v,handleId:m,nodeId:M,flowId:P.rfId,panBy:P[B(1963)],cancelConnection:P[B(1615)],onConnectStart:P[B(1426)],onConnectEnd:(...Y)=>p[B(1556)]()[B(1682)]?.(...Y),updateConnection:P[B(589)],onConnect:W,isValidConnection:n||((...Y)=>p[B(1556)]()[B(1120)]?.(...Y)??!0),getTransform:()=>p.getState().transform,getFromHandle:()=>p[B(1556)]()[B(656)][B(1850)],autoPanSpeed:P.autoPanSpeed,dragThreshold:P[B(1776)]})}A?u?.(D):d?.(D)},N=D=>{const B=g,{onClickConnectStart:A,onClickConnectEnd:P,connectionClickStartHandle:Y,connectionMode:Z,isValidConnection:J,lib:X,rfId:Q,nodeLookup:R,connection:re}=p[B(1556)]();if(!M||!Y&&!o)return;if(!Y){A?.(D[B(1636)],{nodeId:M,handleId:m,handleType:e}),p[B(1880)]({connectionClickStartHandle:{nodeId:M,type:e,id:m}});return}const ee=ui(D[B(819)]),ae=n||J,{connection:ie,isValid:S}=qx[B(1916)](D[B(1636)],{handle:{nodeId:M,id:m,type:e},connectionMode:Z,fromNodeId:Y.nodeId,fromHandleId:Y.id||null,fromType:Y[B(638)],isValidConnection:ae,flowId:Q,doc:ee,lib:X,nodeLookup:R});S&&ie&&W(ie);const j=structuredClone(re);delete j[B(1956)],j[B(1481)]=j[B(1111)]?j[B(1111)][B(1400)]:null,P?.(D,j),p[B(1880)]({connectionClickStartHandle:null})};return l[g(1970)]("div",{"data-handleid":m,"data-nodeid":M,"data-handlepos":t,"data-id":b+"-"+M+"-"+m+"-"+e,className:Pe([g(1100),"react-flow__handle-"+t,g(725),z,s,{source:!v,target:v,connectable:x,connectablestart:o,connectableend:r,clickconnecting:E,connectingfrom:k,connectingto:G,valid:K,connectionindicator:x&&(!q||I)&&(q||F?r:o)}]),onMouseDown:V,onTouchStart:V,onClick:w?N:void 0,ref:h,...y,children:f})}const lt=L.memo(ha(o5));function r5({data:e,isConnectable:t,sourcePosition:n=ue[c(1381)]}){const x=c;return l[x(557)](l.Fragment,{children:[e?.[x(967)],l.jsx(lt,{type:x(1513),position:n,isConnectable:t})]})}function i5({data:e,isConnectable:t,targetPosition:n=ue[c(998)],sourcePosition:x=ue[c(1381)]}){const o=c;return l[o(557)](l[o(514)],{children:[l.jsx(lt,{type:o(819),position:n,isConnectable:t}),e?.label,l[o(1970)](lt,{type:"source",position:x,isConnectable:t})]})}function a5(){return null}function c5({data:e,isConnectable:t,targetPosition:n=ue[c(998)]}){const x=c;return l[x(557)](l[x(514)],{children:[l.jsx(lt,{type:x(819),position:n,isConnectable:t}),e?.[x(967)]]})}const V0={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},za={input:r5,default:i5,output:c5,group:a5};function s5(e){const t=c;return e.internals[t(2111)]===void 0?{width:e[t(502)]??e.initialWidth??e[t(803)]?.[t(502)],height:e.height??e[t(831)]??e[t(803)]?.height}:{width:e[t(502)]??e[t(803)]?.[t(502)],height:e[t(1201)]??e[t(803)]?.height}}const l5=e=>{const t=c,{width:n,height:x,x:o,y:r}=Ut(e[t(828)],{filter:i=>!!i[t(1518)]});return{width:Fe(n)?n:null,height:Fe(x)?x:null,userSelectionActive:e[t(468)],transformString:t(1595)+e[t(688)][0]+t(1460)+e[t(688)][1]+t(979)+e[t(688)][2]+t(1260)+o+t(1460)+r+t(1728)}};function d5({onSelectionContextMenu:e,noPanClassName:t,disableKeyboardA11y:n}){const x=c,o=Ne(),{width:r,height:i,transformString:a,userSelectionActive:f}=Ce(l5,Le),s=pa(),u=L[x(1713)](null);L[x(1027)](()=>{const g=x;!n&&u.current?.[g(1670)]({preventScroll:!0})},[n]);const d=!f&&r!==null&&i!==null;if(va({nodeRef:u,disabled:!d}),!d)return null;const y=e?g=>{const m=x,v=o[m(1556)]()[m(1053)][m(1076)](p=>p.selected);e(g,v)}:void 0,h=g=>{const m=x;Object[m(1347)][m(1337)][m(1036)](V0,g.key)&&(g[m(478)](),s({direction:V0[g.key],factor:g[m(2064)]?4:1}))};return l[x(1970)](x(1331),{className:Pe([x(2031),x(1312),t]),style:{transform:a},children:l.jsx(x(1331),{ref:u,className:x(1544),onContextMenu:y,tabIndex:n?void 0:-1,onKeyDown:n?void 0:h,style:{width:r,height:i}})})}const Ca=typeof window!==c(1269)?window:void 0,u5=e=>{const t=c;return{nodesSelectionActive:e.nodesSelectionActive,userSelectionActive:e[t(468)]}};function Ma({children:e,onPaneClick:t,onPaneMouseEnter:n,onPaneMouseMove:x,onPaneMouseLeave:o,onPaneContextMenu:r,onPaneScroll:i,paneClickDistance:a,deleteKeyCode:f,selectionKeyCode:s,selectionOnDrag:u,selectionMode:d,onSelectionStart:y,onSelectionEnd:h,multiSelectionKeyCode:g,panActivationKeyCode:m,zoomActivationKeyCode:v,elementsSelectable:p,zoomOnScroll:M,zoomOnPinch:w,panOnScroll:z,panOnScrollSpeed:b,panOnScrollMode:k,zoomOnDoubleClick:G,panOnDrag:E,defaultViewport:I,translateExtent:q,minZoom:F,maxZoom:K,preventScrolling:W,onSelectionContextMenu:V,noWheelClassName:N,noPanClassName:D,disableKeyboardA11y:B,onViewportChange:A,isControlledViewport:P}){const Y=c,{nodesSelectionActive:Z,userSelectionActive:J}=Ce(u5,Le),X=qt(s,{target:Ca}),Q=qt(m,{target:Ca}),R=Q||E,re=Q||z,ee=u&&R!==!0,ae=X||J||ee;return Z2({deleteKeyCode:f,multiSelectionKeyCode:g}),l.jsx(J2,{onPaneContextMenu:r,elementsSelectable:p,zoomOnScroll:M,zoomOnPinch:w,panOnScroll:re,panOnScrollSpeed:b,panOnScrollMode:k,zoomOnDoubleClick:G,panOnDrag:!X&&R,defaultViewport:I,translateExtent:q,minZoom:F,maxZoom:K,zoomActivationKeyCode:v,preventScrolling:W,noWheelClassName:N,noPanClassName:D,onViewportChange:A,isControlledViewport:P,paneClickDistance:a,selectionOnDrag:ee,children:l[Y(557)]($2,{onSelectionStart:y,onSelectionEnd:h,onPaneClick:t,onPaneMouseEnter:n,onPaneMouseMove:x,onPaneMouseLeave:o,onPaneContextMenu:r,onPaneScroll:i,panOnDrag:R,isSelecting:!!ae,selectionMode:d,selectionKeyPressed:X,paneClickDistance:a,selectionOnDrag:ee,children:[e,Z&&l[Y(1970)](d5,{onSelectionContextMenu:V,noPanClassName:D,disableKeyboardA11y:B})]})})}Ma[c(871)]=c(2008);const f5=L.memo(Ma),g5=e=>t=>{const n=c;return e?kx(t.nodeLookup,{x:0,y:0,width:t[n(502)],height:t[n(1201)]},t[n(688)],!0)[n(1001)](x=>x.id):Array[n(1486)](t[n(828)][n(1648)]())};function h5(e){return Ce(L[c(1020)](g5(e),[e]),Le)}const y5=e=>e[c(1442)];function m5(){const e=c,t=Ce(y5),[n]=L.useState(()=>{const x=_0x447e;return typeof ResizeObserver===x(1269)?null:new ResizeObserver(o=>{const r=x,i=new Map;o[r(1068)](a=>{const f=r,s=a.target.getAttribute(f(923));i.set(s,{id:s,nodeElement:a[f(819)],force:!0})}),t(i)})});return L[e(1027)](()=>()=>{n?.[_0x447e(1188)]()},[n]),n}function w5({node:e,nodeType:t,hasDimensions:n,resizeObserver:x}){const o=c,r=Ne(),i=L[o(1713)](null),a=L[o(1713)](null),f=L.useRef(e.sourcePosition),s=L[o(1713)](e.targetPosition),u=L[o(1713)](t),d=n&&!!e.internals[o(2111)];return L[o(1027)](()=>{const y=o;i[y(787)]&&!e[y(1231)]&&(!d||a.current!==i.current)&&(a.current&&x?.unobserve(a[y(787)]),x?.observe(i[y(787)]),a[y(787)]=i[y(787)])},[d,e[o(1231)]]),L.useEffect(()=>()=>{const y=_0x447e;a.current&&(x?.unobserve(a[y(787)]),a[y(787)]=null)},[]),L[o(1027)](()=>{const y=o;if(i[y(787)]){const h=u.current!==t,g=f[y(787)]!==e[y(1883)],m=s[y(787)]!==e[y(782)];(h||g||m)&&(u[y(787)]=t,f[y(787)]=e[y(1883)],s.current=e[y(782)],r[y(1556)]()[y(1442)](new Map([[e.id,{id:e.id,nodeElement:i[y(787)],force:!0}]])))}},[e.id,t,e.sourcePosition,e[o(782)]]),i}function v5({id:e,onClick:t,onMouseEnter:n,onMouseMove:x,onMouseLeave:o,onContextMenu:r,onDoubleClick:i,nodesDraggable:a,elementsSelectable:f,nodesConnectable:s,nodesFocusable:u,resizeObserver:d,noDragClassName:y,noPanClassName:h,disableKeyboardA11y:g,rfId:m,nodeTypes:v,nodeClickDistance:p,onError:M}){const w=c,{node:z,internals:b,isParent:k}=Ce(ie=>{const S=_0x447e,j=ie.nodeLookup[S(1446)](e),_=ie[S(1581)].has(e);return{node:j,internals:j[S(2075)],isParent:_}},Le);let G=z.type||w(1138),E=v?.[G]||za[G];E===void 0&&(M?.(w(2095),We[w(1601)](G)),G="default",E=v?.[w(1138)]||za.default);const I=!!(z[w(460)]||a&&typeof z.draggable===w(1269)),q=!!(z[w(1545)]||f&&typeof z.selectable===w(1269)),F=!!(z[w(2160)]||s&&typeof z[w(2160)]===w(1269)),K=!!(z.focusable||u&&typeof z[w(805)]>"u"),W=Ne(),V=si(z),N=w5({node:z,nodeType:G,hasDimensions:V,resizeObserver:d}),D=va({nodeRef:N,disabled:z[w(1231)]||!I,noDragClassName:y,handleSelector:z[w(1117)],nodeId:e,isSelectable:q,nodeClickDistance:p}),B=pa();if(z[w(1231)])return null;const A=un(z),P=s5(z),Y=q||I||t||n||x||o,Z=n?ie=>n(ie,{...b.userNode}):void 0,J=x?ie=>x(ie,{...b[w(1572)]}):void 0,X=o?ie=>o(ie,{...b[w(1572)]}):void 0,Q=r?ie=>r(ie,{...b[w(1572)]}):void 0,R=i?ie=>i(ie,{...b.userNode}):void 0,re=ie=>{const S=w,{selectNodesOnDrag:j,nodeDragThreshold:_}=W[S(1556)]();q&&(!j||!I||_>0)&&$x({id:e,store:W,nodeRef:N}),t&&t(ie,{...b[S(1572)]})},ee=ie=>{const S=w;if(!(fi(ie[S(1636)])||g)){if(_r[S(1931)](ie[S(1101)])&&q){const j=ie[S(1101)]===S(1517);$x({id:e,store:W,unselect:j,nodeRef:N})}else if(I&&z[S(1518)]&&Object.prototype.hasOwnProperty[S(1036)](V0,ie[S(1101)])){ie[S(478)]();const{ariaLabelConfig:j}=W[S(1556)]();W[S(1880)]({ariaLiveMessage:j[S(683)]({direction:ie[S(1101)][S(2164)]("Arrow","")[S(1297)](),x:~~b[S(2139)].x,y:~~b[S(2139)].y})}),B({direction:V0[ie[S(1101)]],factor:ie[S(2064)]?4:1})}}},ae=()=>{const ie=w;if(g||!N[ie(787)]?.[ie(1409)](":focus-visible"))return;const{transform:S,width:j,height:_,autoPanOnNodeFocus:H,setCenter:O}=W[ie(1556)]();if(!H)return;!(kx(new Map([[e,z]]),{x:0,y:0,width:j,height:_},S,!0)[ie(1028)]>0)&&O(z.position.x+A.width/2,z[ie(1400)].y+A[ie(1201)]/2,{zoom:S[2]})};return l.jsx("div",{className:Pe([w(1024),w(2071)+G,{[h]:I},z[w(1391)],{selected:z[w(1518)],selectable:q,parent:k,draggable:I,dragging:D}]),ref:N,style:{zIndex:b.z,transform:w(1595)+b[w(2139)].x+w(1460)+b[w(2139)].y+w(1728),pointerEvents:w(Y?886:2039),visibility:w(V?849:1231),...z.style,...P},"data-id":e,"data-testid":w(1972)+e,onMouseEnter:Z,onMouseMove:J,onMouseLeave:X,onContextMenu:Q,onClick:re,onDoubleClick:R,onKeyDown:K?ee:void 0,tabIndex:K?0:void 0,onFocus:K?ae:void 0,role:z[w(1156)]??(K?w(1283):void 0),"aria-roledescription":w(1656),"aria-describedby":g?void 0:ea+"-"+m,"aria-label":z[w(1941)],...z[w(1530)],children:l[w(1970)](n5,{value:e,children:l[w(1970)](E,{id:e,data:z[w(455)],type:G,positionAbsoluteX:b[w(2139)].x,positionAbsoluteY:b.positionAbsolute.y,selected:z.selected??!1,selectable:q,draggable:I,deletable:z[w(1399)]??!0,isConnectable:F,sourcePosition:z[w(1883)],targetPosition:z[w(782)],dragging:D,dragHandle:z[w(1117)],zIndex:b.z,parentId:z[w(2060)],...A})})})}var p5=L.memo(v5);const b5=e=>({nodesDraggable:e[c(2127)],nodesConnectable:e[c(1659)],nodesFocusable:e.nodesFocusable,elementsSelectable:e.elementsSelectable,onError:e.onError});function Ba(e){const t=c,{nodesDraggable:n,nodesConnectable:x,nodesFocusable:o,elementsSelectable:r,onError:i}=Ce(b5,Le),a=h5(e[t(1620)]),f=m5();return l.jsx(t(1331),{className:t(964),style:T0,children:a.map(s=>{const u=t;return l[u(1970)](p5,{id:s,nodeTypes:e[u(1466)],nodeExtent:e.nodeExtent,onClick:e[u(873)],onMouseEnter:e.onNodeMouseEnter,onMouseMove:e.onNodeMouseMove,onMouseLeave:e.onNodeMouseLeave,onContextMenu:e[u(1304)],onDoubleClick:e[u(704)],noDragClassName:e[u(1794)],noPanClassName:e[u(1871)],rfId:e[u(1932)],disableKeyboardA11y:e.disableKeyboardA11y,resizeObserver:f,nodesDraggable:n,nodesConnectable:x,nodesFocusable:o,elementsSelectable:r,nodeClickDistance:e[u(969)],onError:i},s)})})}Ba.displayName="NodeRenderer";const z5=L[c(619)](Ba);function C5(e){return Ce(L.useCallback(n=>{const x=_0x447e;if(!e)return n.edges[x(1001)](r=>r.id);const o=[];if(n.width&&n[x(1201)])for(const r of n[x(1891)]){const i=n.nodeLookup[x(1446)](r.source),a=n[x(828)].get(r[x(819)]);i&&a&&zf({sourceNode:i,targetNode:a,width:n[x(502)],height:n.height,transform:n[x(688)]})&&o[x(2049)](r.id)}return o},[e]),Le)}const M5=({color:e="none",strokeWidth:t=1})=>{const n=c,x={strokeWidth:t,...e&&{stroke:e}};return l[n(1970)](n(2067),{className:n(1467),style:x,strokeLinecap:n(681),fill:"none",strokeLinejoin:n(681),points:n(1764)})},B5=({color:e=c(2039),strokeWidth:t=1})=>{const n=c,x={strokeWidth:t,...e&&{stroke:e,fill:e}};return l[n(1970)](n(2067),{className:n(1404),style:x,strokeLinecap:n(681),strokeLinejoin:"round",points:n(779)})},Da={[N0.Arrow]:M5,[N0[c(639)]]:B5};function D5(e){const t=c,n=Ne();return L[t(694)](()=>{const o=t;return Object[o(1347)].hasOwnProperty.call(Da,e)?Da[e]:(n[o(1556)]()[o(1133)]?.(o(556),We[o(525)](e)),null)},[e])}const L5=({id:e,type:t,color:n,width:x=12.5,height:o=12.5,markerUnits:r="strokeWidth",strokeWidth:i,orient:a=c(1243)})=>{const f=c,s=D5(t);return s?l.jsx("marker",{className:f(1387),id:e,markerWidth:""+x,markerHeight:""+o,viewBox:f(1212),markerUnits:r,orient:a,refX:"0",refY:"0",children:l[f(1970)](s,{color:n,strokeWidth:i})}):null},La=({defaultColor:e,rfId:t})=>{const n=c,x=Ce(i=>i[n(1891)]),o=Ce(i=>i[n(2076)]),r=L.useMemo(()=>{const i=n;return Sf(x,{id:t,defaultColor:e,defaultMarkerStart:o?.markerStart,defaultMarkerEnd:o?.[i(1300)]})},[x,o,t,e]);return r[n(1028)]?l[n(1970)](n(1996),{className:"react-flow__marker","aria-hidden":n(898),children:l[n(1970)](n(1487),{children:r.map(i=>l.jsx(L5,{id:i.id,type:i.type,color:i[n(765)],width:i.width,height:i[n(1201)],markerUnits:i[n(583)],strokeWidth:i[n(1478)],orient:i.orient},i.id))})}):null};La[c(871)]="MarkerDefinitions";var N5=L[c(619)](La);function Na({x:e,y:t,label:n,labelStyle:x,labelShowBg:o=!0,labelBgStyle:r,labelBgPadding:i=[2,4],labelBgBorderRadius:a=2,children:f,className:s,...u}){const d=c,[y,h]=L[d(1303)]({x:1,y:0,width:0,height:0}),g=Pe([d(1546),s]),m=L[d(1713)](null);return L[d(1027)](()=>{const v=d;if(m[v(787)]){const p=m[v(787)].getBBox();h({x:p.x,y:p.y,width:p[v(502)],height:p[v(1201)]})}},[n]),n?l.jsxs("g",{transform:"translate("+(e-y[d(502)]/2)+" "+(t-y[d(1201)]/2)+")",className:g,visibility:y.width?d(849):"hidden",...u,children:[o&&l[d(1970)]("rect",{width:y.width+2*i[0],x:-i[0],y:-i[1],height:y[d(1201)]+2*i[1],className:d(1663),style:r,rx:a,ry:a}),l[d(1970)](d(1527),{className:d(605),y:y[d(1201)]/2,dy:"0.3em",ref:m,style:x,children:n}),f]}):null}Na[c(871)]="EdgeText";const S5=L.memo(Na);function q0({path:e,labelX:t,labelY:n,label:x,labelStyle:o,labelShowBg:r,labelBgStyle:i,labelBgPadding:a,labelBgBorderRadius:f,interactionWidth:s=20,...u}){const d=c;return l[d(557)](l[d(514)],{children:[l[d(1970)](d(2108),{...u,d:e,fill:"none",className:Pe(["react-flow__edge-path",u[d(1391)]])}),s?l[d(1970)](d(2108),{d:e,fill:"none",strokeOpacity:0,strokeWidth:s,className:d(594)}):null,x&&Fe(t)&&Fe(n)?l[d(1970)](S5,{x:t,y:n,label:x,labelStyle:o,labelShowBg:r,labelBgStyle:i,labelBgPadding:a,labelBgBorderRadius:f}):null]})}function Sa({pos:e,x1:t,y1:n,x2:x,y2:o}){const r=c;return e===ue.Left||e===ue[r(1017)]?[.5*(t+x),n]:[t,.5*(n+o)]}function ka({sourceX:e,sourceY:t,sourcePosition:n=ue.Bottom,targetX:x,targetY:o,targetPosition:r=ue[c(998)]}){const[i,a]=Sa({pos:n,x1:e,y1:t,x2:x,y2:o}),[f,s]=Sa({pos:r,x1:x,y1:o,x2:e,y2:t}),[u,d,y,h]=yi({sourceX:e,sourceY:t,targetX:x,targetY:o,sourceControlX:i,sourceControlY:a,targetControlX:f,targetControlY:s});return["M"+e+","+t+" C"+i+","+a+" "+f+","+s+" "+x+","+o,u,d,y,h]}function Pa(e){const t=c;return L[t(619)](({id:n,sourceX:x,sourceY:o,targetX:r,targetY:i,sourcePosition:a,targetPosition:f,label:s,labelStyle:u,labelShowBg:d,labelBgStyle:y,labelBgPadding:h,labelBgBorderRadius:g,style:m,markerEnd:v,markerStart:p,interactionWidth:M})=>{const w=t,[z,b,k]=ka({sourceX:x,sourceY:o,sourcePosition:a,targetX:r,targetY:i,targetPosition:f}),G=e[w(985)]?void 0:n;return l[w(1970)](q0,{id:G,path:z,labelX:b,labelY:k,label:s,labelStyle:u,labelShowBg:d,labelBgStyle:y,labelBgPadding:h,labelBgBorderRadius:g,style:m,markerEnd:v,markerStart:p,interactionWidth:M})})}const k5=Pa({isInternal:!1}),Ya=Pa({isInternal:!0});k5[c(871)]=c(1423),Ya[c(871)]="SimpleBezierEdgeInternal";function Aa(e){const t=c;return L[t(619)](({id:n,sourceX:x,sourceY:o,targetX:r,targetY:i,label:a,labelStyle:f,labelShowBg:s,labelBgStyle:u,labelBgPadding:d,labelBgBorderRadius:y,style:h,sourcePosition:g=ue[t(1381)],targetPosition:m=ue.Top,markerEnd:v,markerStart:p,pathOptions:M,interactionWidth:w})=>{const z=t,[b,k,G]=Ix({sourceX:x,sourceY:o,sourcePosition:g,targetX:r,targetY:i,targetPosition:m,borderRadius:M?.borderRadius,offset:M?.[z(2091)],stepPosition:M?.[z(983)]}),E=e[z(985)]?void 0:n;return l[z(1970)](q0,{id:E,path:b,labelX:k,labelY:G,label:a,labelStyle:f,labelShowBg:s,labelBgStyle:u,labelBgPadding:d,labelBgBorderRadius:y,style:h,markerEnd:v,markerStart:p,interactionWidth:w})})}const Ia=Aa({isInternal:!1}),Ea=Aa({isInternal:!0});Ia[c(871)]="SmoothStepEdge",Ea[c(871)]="SmoothStepEdgeInternal";function ja(e){const t=c;return L[t(619)](({id:n,...x})=>{const o=t,r=e[o(985)]?void 0:n;return l[o(1970)](Ia,{...x,id:r,pathOptions:L[o(694)](()=>({borderRadius:0,offset:x[o(1245)]?.[o(2091)]}),[x[o(1245)]?.[o(2091)]])})})}const P5=ja({isInternal:!1}),Ua=ja({isInternal:!0});P5[c(871)]=c(437),Ua[c(871)]=c(2098);function Ga(e){return L.memo(({id:t,sourceX:n,sourceY:x,targetX:o,targetY:r,label:i,labelStyle:a,labelShowBg:f,labelBgStyle:s,labelBgPadding:u,labelBgBorderRadius:d,style:y,markerEnd:h,markerStart:g,interactionWidth:m})=>{const v=_0x447e,[p,M,w]=bi({sourceX:n,sourceY:x,targetX:o,targetY:r}),z=e[v(985)]?void 0:t;return l[v(1970)](q0,{id:z,path:p,labelX:M,labelY:w,label:i,labelStyle:a,labelShowBg:f,labelBgStyle:s,labelBgPadding:u,labelBgBorderRadius:d,style:y,markerEnd:h,markerStart:g,interactionWidth:m})})}const Y5=Ga({isInternal:!1}),Oa=Ga({isInternal:!0});Y5[c(871)]=c(1962),Oa[c(871)]="StraightEdgeInternal";function Ha(e){const t=c;return L[t(619)](({id:n,sourceX:x,sourceY:o,targetX:r,targetY:i,sourcePosition:a=ue.Bottom,targetPosition:f=ue.Top,label:s,labelStyle:u,labelShowBg:d,labelBgStyle:y,labelBgPadding:h,labelBgBorderRadius:g,style:m,markerEnd:v,markerStart:p,pathOptions:M,interactionWidth:w})=>{const z=t,[b,k,G]=wi({sourceX:x,sourceY:o,sourcePosition:a,targetX:r,targetY:i,targetPosition:f,curvature:M?.[z(1892)]}),E=e[z(985)]?void 0:n;return l.jsx(q0,{id:E,path:b,labelX:k,labelY:G,label:s,labelStyle:u,labelShowBg:d,labelBgStyle:y,labelBgPadding:h,labelBgBorderRadius:g,style:m,markerEnd:v,markerStart:p,interactionWidth:w})})}const A5=Ha({isInternal:!1}),Ta=Ha({isInternal:!0});A5[c(871)]=c(1134),Ta.displayName=c(602);const Va={default:Ta,straight:Oa,step:Ua,smoothstep:Ea,simplebezier:Ya},qa={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},I5=(e,t,n)=>n===ue[c(1580)]?e-t:n===ue.Right?e+t:e,E5=(e,t,n)=>{const x=c;return n===ue[x(998)]?e-t:n===ue[x(1381)]?e+t:e},Wa="react-flow__edgeupdater";function Xa({position:e,centerX:t,centerY:n,radius:x=10,onMouseDown:o,onMouseEnter:r,onMouseOut:i,type:a}){const f=c;return l.jsx(f(1576),{onMouseDown:o,onMouseEnter:r,onMouseOut:i,className:Pe([Wa,Wa+"-"+a]),cx:I5(t,x,e),cy:E5(n,x,e),r:x,stroke:f(1585),fill:f(1585)})}function j5({isReconnectable:e,reconnectRadius:t,edge:n,sourceX:x,sourceY:o,targetX:r,targetY:i,sourcePosition:a,targetPosition:f,onReconnect:s,onReconnectStart:u,onReconnectEnd:d,setReconnecting:y,setUpdateHover:h}){const g=c,m=Ne(),v=(b,k)=>{const G=_0x447e;if(b[G(2070)]!==0)return;const{autoPanOnConnect:E,domNode:I,connectionMode:q,connectionRadius:F,lib:K,onConnectStart:W,cancelConnection:V,nodeLookup:N,rfId:D,panBy:B,updateConnection:A}=m[G(1556)](),P=k[G(638)]===G(819),Y=(X,Q)=>{const R=G;y(!1),d?.(X,n,k[R(638)],Q)},Z=X=>s?.(n,X),J=(X,Q)=>{const R=G;y(!0),u?.(b,n,k[R(638)]),W?.(X,Q)};qx[G(1030)](b[G(1636)],{autoPanOnConnect:E,connectionMode:q,connectionRadius:F,domNode:I,handleId:k.id,nodeId:k[G(1382)],nodeLookup:N,isTarget:P,edgeUpdaterType:k.type,lib:K,flowId:D,cancelConnection:V,panBy:B,isValidConnection:(...X)=>m[G(1556)]().isValidConnection?.(...X)??!0,onConnect:Z,onConnectStart:J,onConnectEnd:(...X)=>m[G(1556)]()[G(1682)]?.(...X),onReconnectEnd:Y,updateConnection:A,getTransform:()=>m[G(1556)]()[G(688)],getFromHandle:()=>m[G(1556)]()[G(656)][G(1850)],dragThreshold:m[G(1556)]()[G(1776)],handleDomNode:b.currentTarget})},p=b=>v(b,{nodeId:n[g(819)],id:n[g(465)]??null,type:"target"}),M=b=>v(b,{nodeId:n[g(1513)],id:n[g(1131)]??null,type:g(1513)}),w=()=>h(!0),z=()=>h(!1);return l[g(557)](l.Fragment,{children:[(e===!0||e==="source")&&l[g(1970)](Xa,{position:a,centerX:x,centerY:o,radius:t,onMouseDown:p,onMouseEnter:w,onMouseOut:z,type:g(1513)}),(e===!0||e===g(819))&&l[g(1970)](Xa,{position:f,centerX:r,centerY:i,radius:t,onMouseDown:M,onMouseEnter:w,onMouseOut:z,type:g(819)})]})}function U5({id:e,edgesFocusable:t,edgesReconnectable:n,elementsSelectable:x,onClick:o,onDoubleClick:r,onContextMenu:i,onMouseEnter:a,onMouseMove:f,onMouseLeave:s,reconnectRadius:u,onReconnect:d,onReconnectStart:y,onReconnectEnd:h,rfId:g,edgeTypes:m,noPanClassName:v,onError:p,disableKeyboardA11y:M}){const w=c;let z=Ce(H=>H[w(791)][w(1446)](e));const b=Ce(H=>H[w(2076)]);z=b?{...b,...z}:z;let k=z[w(638)]||"default",G=m?.[k]||Va[k];G===void 0&&(p?.(w(1333),We[w(793)](k)),k=w(1138),G=m?.default||Va[w(1138)]);const E=!!(z[w(805)]||t&&typeof z[w(805)]===w(1269)),I=typeof d!==w(1269)&&(z.reconnectable||n&&typeof z.reconnectable>"u"),q=!!(z.selectable||x&&typeof z[w(1545)]===w(1269)),F=L[w(1713)](null),[K,W]=L.useState(!1),[V,N]=L[w(1303)](!1),D=Ne(),{zIndex:B,sourceX:A,sourceY:P,targetX:Y,targetY:Z,sourcePosition:J,targetPosition:X}=Ce(L[w(1020)](H=>{const O=w,ne=H.nodeLookup[O(1446)](z[O(1513)]),de=H[O(828)][O(1446)](z.target);if(!ne||!de)return{zIndex:z[O(2147)],...qa};const ye=Nf({id:e,sourceNode:ne,targetNode:de,sourceHandle:z[O(1131)]||null,targetHandle:z[O(465)]||null,connectionMode:H[O(790)],onError:p});return{zIndex:bf({selected:z[O(1518)],zIndex:z.zIndex,sourceNode:ne,targetNode:de,elevateOnSelect:H[O(888)],zIndexMode:H[O(2002)]}),...ye||qa}},[z[w(1513)],z[w(819)],z.sourceHandle,z[w(465)],z.selected,z[w(2147)]]),Le),Q=L[w(694)](()=>z.markerStart?"url('#"+Ex(z[w(836)],g)+"')":void 0,[z[w(836)],g]),R=L[w(694)](()=>z[w(1300)]?w(1704)+Ex(z[w(1300)],g)+"')":void 0,[z[w(1300)],g]);if(z[w(1231)]||A===null||P===null||Y===null||Z===null)return null;const re=H=>{const O=w,{addSelectedEdges:ne,unselectNodesAndEdges:de,multiSelectionActive:ye}=D[O(1556)]();q&&(D[O(1880)]({nodesSelectionActive:!1}),z.selected&&ye?(de({nodes:[],edges:[z]}),F[O(787)]?.[O(1955)]()):ne([e])),o&&o(H,z)},ee=r?H=>{r(H,{...z})}:void 0,ae=i?H=>{i(H,{...z})}:void 0,ie=a?H=>{a(H,{...z})}:void 0,S=f?H=>{f(H,{...z})}:void 0,j=s?H=>{s(H,{...z})}:void 0,_=H=>{const O=w;if(!M&&_r[O(1931)](H[O(1101)])&&q){const{unselectNodesAndEdges:ne,addSelectedEdges:de}=D[O(1556)]();H[O(1101)]===O(1517)?(F[O(787)]?.[O(1955)](),ne({edges:[z]})):de([e])}};return l.jsx("svg",{style:{zIndex:B},children:l[w(557)]("g",{className:Pe([w(574),w(630)+k,z[w(1391)],v,{selected:z[w(1518)],animated:z[w(2117)],inactive:!q&&!o,updating:K,selectable:q}]),onClick:re,onDoubleClick:ee,onContextMenu:ae,onMouseEnter:ie,onMouseMove:S,onMouseLeave:j,onKeyDown:E?_:void 0,tabIndex:E?0:void 0,role:z[w(1156)]??(E?"group":w(1353)),"aria-roledescription":w(1589),"data-id":e,"data-testid":w(2116)+e,"aria-label":z[w(1941)]===null?void 0:z[w(1941)]||w(1282)+z[w(1513)]+" to "+z[w(819)],"aria-describedby":E?na+"-"+g:void 0,ref:F,...z[w(1530)],children:[!V&&l[w(1970)](G,{id:e,source:z[w(1513)],target:z[w(819)],type:z[w(638)],selected:z[w(1518)],animated:z[w(2117)],selectable:q,deletable:z[w(1399)]??!0,label:z[w(967)],labelStyle:z[w(1049)],labelShowBg:z[w(1471)],labelBgStyle:z[w(1537)],labelBgPadding:z.labelBgPadding,labelBgBorderRadius:z[w(922)],sourceX:A,sourceY:P,targetX:Y,targetY:Z,sourcePosition:J,targetPosition:X,data:z[w(455)],style:z[w(803)],sourceHandleId:z[w(1131)],targetHandleId:z[w(465)],markerStart:Q,markerEnd:R,pathOptions:w(1245)in z?z.pathOptions:void 0,interactionWidth:z[w(1673)]}),I&&l[w(1970)](j5,{edge:z,isReconnectable:I,reconnectRadius:u,onReconnect:d,onReconnectStart:y,onReconnectEnd:h,sourceX:A,sourceY:P,targetX:Y,targetY:Z,sourcePosition:J,targetPosition:X,setUpdateHover:W,setReconnecting:N})]})})}var G5=L[c(619)](U5);const O5=e=>({edgesFocusable:e[c(473)],edgesReconnectable:e[c(1263)],elementsSelectable:e.elementsSelectable,connectionMode:e.connectionMode,onError:e[c(1133)]});function Za({defaultMarkerColor:e,onlyRenderVisibleElements:t,rfId:n,edgeTypes:x,noPanClassName:o,onReconnect:r,onEdgeContextMenu:i,onEdgeMouseEnter:a,onEdgeMouseMove:f,onEdgeMouseLeave:s,onEdgeClick:u,reconnectRadius:d,onEdgeDoubleClick:y,onReconnectStart:h,onReconnectEnd:g,disableKeyboardA11y:m}){const v=c,{edgesFocusable:p,edgesReconnectable:M,elementsSelectable:w,onError:z}=Ce(O5,Le),b=C5(t);return l[v(557)](v(1331),{className:"react-flow__edges",children:[l[v(1970)](N5,{defaultColor:e,rfId:n}),b[v(1001)](k=>l[v(1970)](G5,{id:k,edgesFocusable:p,edgesReconnectable:M,elementsSelectable:w,noPanClassName:o,onReconnect:r,onContextMenu:i,onMouseEnter:a,onMouseMove:f,onMouseLeave:s,onClick:u,reconnectRadius:d,onDoubleClick:y,onReconnectStart:h,onReconnectEnd:g,rfId:n,onError:z,edgeTypes:x,disableKeyboardA11y:m},k))]})}Za[c(871)]="EdgeRenderer";const H5=L.memo(Za),T5=e=>"translate("+e.transform[0]+c(1460)+e[c(688)][1]+"px) scale("+e[c(688)][2]+")";function V5({children:e}){const t=c,n=Ce(T5);return l[t(1970)](t(1331),{className:t(1504),style:{transform:n},children:e})}function q5(e){const t=c,n=Qx(),x=L[t(1713)](!1);L.useEffect(()=>{const o=t;!x[o(787)]&&n[o(599)]&&e&&(setTimeout(()=>e(n),1),x[o(787)]=!0)},[e,n[t(599)]])}const W5=e=>e[c(853)]?.[c(592)];function X5(e){const t=Ce(W5),n=Ne();return L.useEffect(()=>{const x=_0x447e;e&&(t?.(e),n[x(1880)]({transform:[e.x,e.y,e.zoom]}))},[e,t]),null}function Z5(e){const t=c;return e[t(656)][t(1956)]?{...e[t(656)],to:Ht(e[t(656)].to,e[t(688)])}:{...e[t(656)]}}function K5(e){return Z5}function R5(e){const t=K5();return Ce(t,Le)}const J5=e=>({nodesConnectable:e.nodesConnectable,isValid:e[c(656)][c(1916)],inProgress:e[c(656)][c(1956)],width:e[c(502)],height:e.height});function _5({containerStyle:e,style:t,type:n,component:x}){const o=c,{nodesConnectable:r,width:i,height:a,isValid:f,inProgress:s}=Ce(J5,Le);return!(i&&r&&s)?null:l[o(1970)]("svg",{style:e,width:i,height:a,className:"react-flow__connectionline react-flow__container",children:l[o(1970)]("g",{className:Pe([o(783),ei(f)]),children:l[o(1970)](Ka,{style:t,type:n,CustomComponent:x,isValid:f})})})}const Ka=({style:e,type:t=mn[c(977)],CustomComponent:n,isValid:x})=>{const o=c,{inProgress:r,from:i,fromNode:a,fromHandle:f,fromPosition:s,to:u,toNode:d,toHandle:y,toPosition:h,pointer:g}=R5();if(!r)return;if(n)return l[o(1970)](n,{connectionLineType:t,connectionLineStyle:e,fromNode:a,fromHandle:f,fromX:i.x,fromY:i.y,toX:u.x,toY:u.y,fromPosition:s,toPosition:h,connectionStatus:ei(x),toNode:d,toHandle:y,pointer:g});let m="";const v={sourceX:i.x,sourceY:i.y,sourcePosition:s,targetX:u.x,targetY:u.y,targetPosition:h};switch(t){case mn[o(977)]:[m]=wi(v);break;case mn[o(870)]:[m]=ka(v);break;case mn[o(2005)]:[m]=Ix({...v,borderRadius:0});break;case mn[o(838)]:[m]=Ix(v);break;default:[m]=bi(v)}return l[o(1970)](o(2108),{d:m,fill:"none",className:"react-flow__connection-path",style:e})};Ka[c(871)]=c(1767);const Q5={};function Ra(e=Q5){const t=L.useRef(e),n=Ne();L.useEffect(()=>{const x=_0x447e;if(process.env.NODE_ENV==="development"){const o=new Set([...Object[x(1648)](t[x(787)]),...Object[x(1648)](e)]);for(const r of o)if(t.current[r]!==e[r]){n[x(1556)]()[x(1133)]?.(x(1063),We.error002());break}t[x(787)]=e}},[e])}function F5(){const e=c,t=Ne(),n=L[e(1713)](!1);L[e(1027)](()=>{const x=e;if(process.env.NODE_ENV===x(1191)&&!n.current){const o=document[x(1519)](x(1208));o&&window.getComputedStyle(o)[x(2147)]!=="1"&&t[x(1556)]()[x(1133)]?.(x(1674),We[x(2150)]("react")),n[x(787)]=!0}},[])}function Ja({nodeTypes:e,edgeTypes:t,onInit:n,onNodeClick:x,onEdgeClick:o,onNodeDoubleClick:r,onEdgeDoubleClick:i,onNodeMouseEnter:a,onNodeMouseMove:f,onNodeMouseLeave:s,onNodeContextMenu:u,onSelectionContextMenu:d,onSelectionStart:y,onSelectionEnd:h,connectionLineType:g,connectionLineStyle:m,connectionLineComponent:v,connectionLineContainerStyle:p,selectionKeyCode:M,selectionOnDrag:w,selectionMode:z,multiSelectionKeyCode:b,panActivationKeyCode:k,zoomActivationKeyCode:G,deleteKeyCode:E,onlyRenderVisibleElements:I,elementsSelectable:q,defaultViewport:F,translateExtent:K,minZoom:W,maxZoom:V,preventScrolling:N,defaultMarkerColor:D,zoomOnScroll:B,zoomOnPinch:A,panOnScroll:P,panOnScrollSpeed:Y,panOnScrollMode:Z,zoomOnDoubleClick:J,panOnDrag:X,onPaneClick:Q,onPaneMouseEnter:R,onPaneMouseMove:re,onPaneMouseLeave:ee,onPaneScroll:ae,onPaneContextMenu:ie,paneClickDistance:S,nodeClickDistance:j,onEdgeContextMenu:_,onEdgeMouseEnter:H,onEdgeMouseMove:O,onEdgeMouseLeave:ne,reconnectRadius:de,onReconnect:ye,onReconnectStart:ce,onReconnectEnd:ge,noDragClassName:be,noWheelClassName:he,noPanClassName:ze,disableKeyboardA11y:De,nodeExtent:Ue,rfId:Ge,viewport:Ye,onViewportChange:Ae}){const Oe=c;return Ra(e),Ra(t),F5(),q5(n),X5(Ye),l[Oe(1970)](f5,{onPaneClick:Q,onPaneMouseEnter:R,onPaneMouseMove:re,onPaneMouseLeave:ee,onPaneContextMenu:ie,onPaneScroll:ae,paneClickDistance:S,deleteKeyCode:E,selectionKeyCode:M,selectionOnDrag:w,selectionMode:z,onSelectionStart:y,onSelectionEnd:h,multiSelectionKeyCode:b,panActivationKeyCode:k,zoomActivationKeyCode:G,elementsSelectable:q,zoomOnScroll:B,zoomOnPinch:A,zoomOnDoubleClick:J,panOnScroll:P,panOnScrollSpeed:Y,panOnScrollMode:Z,panOnDrag:X,defaultViewport:F,translateExtent:K,minZoom:W,maxZoom:V,onSelectionContextMenu:d,preventScrolling:N,noDragClassName:be,noWheelClassName:he,noPanClassName:ze,disableKeyboardA11y:De,onViewportChange:Ae,isControlledViewport:!!Ye,children:l.jsxs(V5,{children:[l[Oe(1970)](H5,{edgeTypes:t,onEdgeClick:o,onEdgeDoubleClick:i,onReconnect:ye,onReconnectStart:ce,onReconnectEnd:ge,onlyRenderVisibleElements:I,onEdgeContextMenu:_,onEdgeMouseEnter:H,onEdgeMouseMove:O,onEdgeMouseLeave:ne,reconnectRadius:de,defaultMarkerColor:D,noPanClassName:ze,disableKeyboardA11y:De,rfId:Ge}),l[Oe(1970)](_5,{style:m,type:g,component:v,containerStyle:p}),l[Oe(1970)](Oe(1331),{className:Oe(1890)}),l.jsx(z5,{nodeTypes:e,onNodeClick:x,onNodeDoubleClick:r,onNodeMouseEnter:a,onNodeMouseMove:f,onNodeMouseLeave:s,onNodeContextMenu:u,nodeClickDistance:j,onlyRenderVisibleElements:I,noPanClassName:ze,noDragClassName:be,disableKeyboardA11y:De,nodeExtent:Ue,rfId:Ge}),l[Oe(1970)]("div",{className:"react-flow__viewport-portal"})]})})}Ja[c(871)]="GraphView";const $5=L.memo(Ja),_a=({nodes:e,edges:t,defaultNodes:n,defaultEdges:x,width:o,height:r,fitView:i,fitViewOptions:a,minZoom:f=.5,maxZoom:s=2,nodeOrigin:u,nodeExtent:d,zIndexMode:y=c(867)}={})=>{const h=c,g=new Map,m=new Map,v=new Map,p=new Map,M=x??t??[],w=n??e??[],z=u??[0,0],b=d??It;ki(v,p,M);const{nodesInitialized:k}=Ox(w,g,m,{nodeOrigin:z,nodeExtent:b,zIndexMode:y});let G=[0,0,1];if(i&&o&&r){const E=Ut(g,{filter:K=>!!((K[h(502)]||K.initialWidth)&&(K[h(1201)]||K[h(831)]))}),{x:I,y:q,zoom:F}=Yx(E,o,r,f,s,a?.padding??.1);G=[I,q,F]}return{rfId:"1",width:o??0,height:r??0,transform:G,nodes:w,nodesInitialized:k,nodeLookup:g,parentLookup:m,edges:M,edgeLookup:p,connectionLookup:v,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:n!==void 0,hasDefaultEdges:x!==void 0,panZoom:null,minZoom:f,maxZoom:s,translateExtent:It,nodeExtent:b,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:tt[h(552)],domNode:null,paneDragging:!1,noPanClassName:"nopan",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:{...Fr},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:ci,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:h(1809),debug:!1,ariaLabelConfig:Qr,zIndexMode:y,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},eg=({nodes:e,edges:t,defaultNodes:n,defaultEdges:x,width:o,height:r,fitView:i,fitViewOptions:a,minZoom:f,maxZoom:s,nodeOrigin:u,nodeExtent:d,zIndexMode:y})=>v2((h,g)=>{async function m(){const v=_0x447e,{nodeLookup:p,panZoom:M,fitViewOptions:w,fitViewResolver:z,width:b,height:k,minZoom:G,maxZoom:E}=g();M&&(await gf({nodes:p,width:b,height:k,panZoom:M,minZoom:G,maxZoom:E},w),z?.[v(1734)](!0),h({fitViewResolver:null}))}return{..._a({nodes:e,edges:t,width:o,height:r,fitView:i,fitViewOptions:a,minZoom:f,maxZoom:s,nodeOrigin:u,nodeExtent:d,defaultNodes:n,defaultEdges:x,zIndexMode:y}),setNodes:v=>{const{nodeLookup:p,parentLookup:M,nodeOrigin:w,elevateNodesOnSelect:z,fitViewQueued:b,zIndexMode:k,nodesSelectionActive:G}=g(),{nodesInitialized:E,hasSelectedNodes:I}=Ox(v,p,M,{nodeOrigin:w,nodeExtent:d,elevateNodesOnSelect:z,checkEquality:!0,zIndexMode:k}),q=G&&I;b&&E?(m(),h({nodes:v,nodesInitialized:E,fitViewQueued:!1,fitViewOptions:void 0,nodesSelectionActive:q})):h({nodes:v,nodesInitialized:E,nodesSelectionActive:q})},setEdges:v=>{const{connectionLookup:p,edgeLookup:M}=g();ki(p,M,v),h({edges:v})},setDefaultNodesAndEdges:(v,p)=>{if(v){const{setNodes:M}=g();M(v),h({hasDefaultNodes:!0})}if(p){const{setEdges:M}=g();M(p),h({hasDefaultEdges:!0})}},updateNodeInternals:v=>{const p=_0x447e,{triggerNodeChanges:M,nodeLookup:w,parentLookup:z,domNode:b,nodeOrigin:k,nodeExtent:G,debug:E,fitViewQueued:I,zIndexMode:q}=g(),{changes:F,updatedInternals:K}=jf(v,w,z,b,k,G,q);K&&(Yf(w,z,{nodeOrigin:k,nodeExtent:G,zIndexMode:q}),I?(m(),h({fitViewQueued:!1,fitViewOptions:void 0})):h({}),F?.[p(1028)]>0&&(E&&console.log(p(1005),F),M?.(F)))},updateNodePositions:(v,p=!1)=>{const M=_0x447e,w=[];let z=[];const{nodeLookup:b,triggerNodeChanges:k,connection:G,updateConnection:E,onNodesChangeMiddlewareMap:I}=g();for(const[q,F]of v){const K=b.get(q),W=!!(K?.[M(823)]&&K?.[M(2060)]&&F?.[M(1400)]),V={id:q,type:M(1400),position:W?{x:Math.max(0,F.position.x),y:Math.max(0,F.position.y)}:F[M(1400)],dragging:p};if(K&&G[M(1956)]&&G.fromNode.id===K.id){const N=Un(K,G.fromHandle,ue[M(1580)],!0);E({...G,from:N})}W&&K[M(2060)]&&w[M(2049)]({id:q,parentId:K[M(2060)],rect:{...F[M(2075)][M(2139)],width:F[M(1815)][M(502)]??0,height:F[M(1815)][M(1201)]??0}}),z[M(2049)](V)}if(w.length>0){const{parentLookup:q,nodeOrigin:F}=g(),K=Tx(w,b,q,F);z[M(2049)](...K)}for(const q of I[M(642)]())z=q(z);k(z)},triggerNodeChanges:v=>{const p=_0x447e,{onNodesChange:M,setNodes:w,nodes:z,hasDefaultNodes:b,debug:k}=g();if(v?.length){if(b){const G=la(v,z);w(G)}k&&console[p(484)](p(1005),v),M?.(v)}},triggerEdgeChanges:v=>{const p=_0x447e,{onEdgesChange:M,setEdges:w,edges:z,hasDefaultEdges:b,debug:k}=g();if(v?.length){if(b){const G=da(v,z);w(G)}k&&console[p(484)](p(1274),v),M?.(v)}},addSelectedNodes:v=>{const{multiSelectionActive:p,edgeLookup:M,nodeLookup:w,triggerNodeChanges:z,triggerEdgeChanges:b}=g();if(p){const k=v.map(G=>Gn(G,!0));z(k);return}z(st(w,new Set([...v]),!0)),b(st(M))},addSelectedEdges:v=>{const{multiSelectionActive:p,edgeLookup:M,nodeLookup:w,triggerNodeChanges:z,triggerEdgeChanges:b}=g();if(p){const k=v.map(G=>Gn(G,!0));b(k);return}b(st(M,new Set([...v]))),z(st(w,new Set,!0))},unselectNodesAndEdges:({nodes:v,edges:p}={})=>{const M=_0x447e,{edges:w,nodes:z,nodeLookup:b,triggerNodeChanges:k,triggerEdgeChanges:G}=g(),E=v||z,I=p||w,q=[];for(const K of E){if(!K[M(1518)])continue;const W=b[M(1446)](K.id);W&&(W[M(1518)]=!1),q[M(2049)](Gn(K.id,!1))}const F=[];for(const K of I)K.selected&&F[M(2049)](Gn(K.id,!1));k(q),G(F)},setMinZoom:v=>{const{panZoom:p,maxZoom:M}=g();p?.setScaleExtent([v,M]),h({minZoom:v})},setMaxZoom:v=>{const{panZoom:p,minZoom:M}=g();p?.setScaleExtent([M,v]),h({maxZoom:v})},setTranslateExtent:v=>{const p=_0x447e;g()[p(853)]?.[p(1152)](v),h({translateExtent:v})},resetSelectedElements:()=>{const v=_0x447e,{edges:p,nodes:M,triggerNodeChanges:w,triggerEdgeChanges:z,elementsSelectable:b}=g();if(!b)return;const k=M[v(1846)]((E,I)=>I[v(1518)]?[...E,Gn(I.id,!1)]:E,[]),G=p.reduce((E,I)=>I[v(1518)]?[...E,Gn(I.id,!1)]:E,[]);w(k),z(G)},setNodeExtent:v=>{const{nodes:p,nodeLookup:M,parentLookup:w,nodeOrigin:z,elevateNodesOnSelect:b,nodeExtent:k,zIndexMode:G}=g();v[0][0]===k[0][0]&&v[0][1]===k[0][1]&&v[1][0]===k[1][0]&&v[1][1]===k[1][1]||(Ox(p,M,w,{nodeOrigin:z,nodeExtent:v,elevateNodesOnSelect:b,checkEquality:!1,zIndexMode:G}),h({nodeExtent:v}))},panBy:v=>{const{transform:p,width:M,height:w,panZoom:z,translateExtent:b}=g();return Uf({delta:v,panZoom:z,transform:p,translateExtent:b,width:M,height:w})},setCenter:async(v,p,M)=>{const w=_0x447e,{width:z,height:b,maxZoom:k,panZoom:G}=g();if(!G)return Promise.resolve(!1);const E=typeof M?.[w(931)]!==w(1269)?M[w(931)]:k;return await G[w(1449)]({x:z/2-v*E,y:b/2-p*E,zoom:E},{duration:M?.[w(1844)],ease:M?.[w(1025)],interpolate:M?.[w(948)]}),Promise[w(1734)](!0)},cancelConnection:()=>{h({connection:{...Fr}})},updateConnection:v=>{h({connection:v})},reset:()=>h({..._a()})}},Object.is);function ng({initialNodes:e,initialEdges:t,defaultNodes:n,defaultEdges:x,initialWidth:o,initialHeight:r,initialMinZoom:i,initialMaxZoom:a,initialFitViewOptions:f,fitView:s,nodeOrigin:u,nodeExtent:d,zIndexMode:y,children:h}){const g=c,[m]=L.useState(()=>eg({nodes:e,edges:t,defaultNodes:n,defaultEdges:x,width:o,height:r,fitView:s,minZoom:i,maxZoom:a,fitViewOptions:f,nodeOrigin:u,nodeExtent:d,zIndexMode:y}));return l[g(1970)](p2,{value:m,children:l[g(1970)](V2,{children:h})})}function tg({children:e,nodes:t,edges:n,defaultNodes:x,defaultEdges:o,width:r,height:i,fitView:a,fitViewOptions:f,minZoom:s,maxZoom:u,nodeOrigin:d,nodeExtent:y,zIndexMode:h}){const g=c;return L[g(939)](G0)?l[g(1970)](l[g(514)],{children:e}):l[g(1970)](ng,{initialNodes:t,initialEdges:n,defaultNodes:x,defaultEdges:o,initialWidth:r,initialHeight:i,fitView:a,initialFitViewOptions:f,initialMinZoom:s,initialMaxZoom:u,nodeOrigin:d,nodeExtent:y,zIndexMode:h,children:e})}const xg={width:c(697),height:c(697),overflow:c(1231),position:"relative",zIndex:0};function og({nodes:e,edges:t,defaultNodes:n,defaultEdges:x,className:o,nodeTypes:r,edgeTypes:i,onNodeClick:a,onEdgeClick:f,onInit:s,onMove:u,onMoveStart:d,onMoveEnd:y,onConnect:h,onConnectStart:g,onConnectEnd:m,onClickConnectStart:v,onClickConnectEnd:p,onNodeMouseEnter:M,onNodeMouseMove:w,onNodeMouseLeave:z,onNodeContextMenu:b,onNodeDoubleClick:k,onNodeDragStart:G,onNodeDrag:E,onNodeDragStop:I,onNodesDelete:q,onEdgesDelete:F,onDelete:K,onSelectionChange:W,onSelectionDragStart:V,onSelectionDrag:N,onSelectionDragStop:D,onSelectionContextMenu:B,onSelectionStart:A,onSelectionEnd:P,onBeforeDelete:Y,connectionMode:Z,connectionLineType:J=mn[c(977)],connectionLineStyle:X,connectionLineComponent:Q,connectionLineContainerStyle:R,deleteKeyCode:re=c(745),selectionKeyCode:ee=c(633),selectionOnDrag:ae=!1,selectionMode:ie=Et[c(2118)],panActivationKeyCode:S=c(1823),multiSelectionKeyCode:j=Tt()?c(1782):c(2041),zoomActivationKeyCode:_=Tt()?c(1782):c(2041),snapToGrid:H,snapGrid:O,onlyRenderVisibleElements:ne=!1,selectNodesOnDrag:de,nodesDraggable:ye,autoPanOnNodeFocus:ce,nodesConnectable:ge,nodesFocusable:be,nodeOrigin:he=ta,edgesFocusable:ze,edgesReconnectable:De,elementsSelectable:Ue=!0,defaultViewport:Ge=A2,minZoom:Ye=.5,maxZoom:Ae=2,translateExtent:Oe=It,preventScrolling:Wt=!0,nodeExtent:zn,defaultMarkerColor:dt=c(775),zoomOnScroll:On=!0,zoomOnPinch:Hn=!0,panOnScroll:Cn=!1,panOnScrollSpeed:Mn=.5,panOnScrollMode:Tn=En[c(1104)],zoomOnDoubleClick:Vn=!0,panOnDrag:Ze=!0,onPaneClick:ut,onPaneMouseEnter:en,onPaneMouseMove:nn,onPaneMouseLeave:Bn,onPaneScroll:qn,onPaneContextMenu:Xt,paneClickDistance:to=1,nodeClickDistance:K0=0,children:R0,onReconnect:Zt,onReconnectStart:J0,onReconnectEnd:Kt,onEdgeContextMenu:U,onEdgeDoubleClick:T,onEdgeMouseEnter:te,onEdgeMouseMove:xe,onEdgeMouseLeave:le,reconnectRadius:$=10,onNodesChange:oe,onEdgesChange:fe,noDragClassName:we="nodrag",noWheelClassName:me=c(1923),noPanClassName:Me=c(624),fitView:Be,fitViewOptions:Se,connectOnClick:He,attributionPosition:Ke,proOptions:Dn,defaultEdgeOptions:fn,elevateNodesOnSelect:ft=!0,elevateEdgesOnSelect:Wn=!1,disableKeyboardA11y:uc=!1,autoPanOnConnect:th,autoPanOnNodeDrag:xh,autoPanSpeed:oh,connectionRadius:rh,isValidConnection:ih,onError:ah,style:ch,id:fc,nodeDragThreshold:sh,connectionDragThreshold:lh,viewport:dh,onViewportChange:uh,width:fh,height:gh,colorMode:hh=c(1320),debug:yh,onScroll:gc,ariaLabelConfig:mh,zIndexMode:hc="basic",...wh},vh){const Re=c,xo=fc||"1",ph=U2(hh),bh=L[Re(1020)](yc=>{yc[Re(850)].scrollTo({top:0,left:0,behavior:"instant"}),gc?.(yc)},[gc]);return l[Re(1970)](Re(1331),{"data-testid":Re(996),...wh,onScroll:bh,style:{...ch,...xg},ref:vh,className:Pe([Re(1756),o,ph]),id:fc,role:Re(1511),children:l.jsxs(tg,{nodes:e,edges:t,width:fh,height:gh,fitView:Be,fitViewOptions:Se,minZoom:Ye,maxZoom:Ae,nodeOrigin:he,nodeExtent:zn,zIndexMode:hc,children:[l[Re(1970)](j2,{nodes:e,edges:t,defaultNodes:n,defaultEdges:x,onConnect:h,onConnectStart:g,onConnectEnd:m,onClickConnectStart:v,onClickConnectEnd:p,nodesDraggable:ye,autoPanOnNodeFocus:ce,nodesConnectable:ge,nodesFocusable:be,edgesFocusable:ze,edgesReconnectable:De,elementsSelectable:Ue,elevateNodesOnSelect:ft,elevateEdgesOnSelect:Wn,minZoom:Ye,maxZoom:Ae,nodeExtent:zn,onNodesChange:oe,onEdgesChange:fe,snapToGrid:H,snapGrid:O,connectionMode:Z,translateExtent:Oe,connectOnClick:He,defaultEdgeOptions:fn,fitView:Be,fitViewOptions:Se,onNodesDelete:q,onEdgesDelete:F,onDelete:K,onNodeDragStart:G,onNodeDrag:E,onNodeDragStop:I,onSelectionDrag:N,onSelectionDragStart:V,onSelectionDragStop:D,onMove:u,onMoveStart:d,onMoveEnd:y,noPanClassName:Me,nodeOrigin:he,rfId:xo,autoPanOnConnect:th,autoPanOnNodeDrag:xh,autoPanSpeed:oh,onError:ah,connectionRadius:rh,isValidConnection:ih,selectNodesOnDrag:de,nodeDragThreshold:sh,connectionDragThreshold:lh,onBeforeDelete:Y,debug:yh,ariaLabelConfig:mh,zIndexMode:hc}),l[Re(1970)]($5,{onInit:s,onNodeClick:a,onEdgeClick:f,onNodeMouseEnter:M,onNodeMouseMove:w,onNodeMouseLeave:z,onNodeContextMenu:b,onNodeDoubleClick:k,nodeTypes:r,edgeTypes:i,connectionLineType:J,connectionLineStyle:X,connectionLineComponent:Q,connectionLineContainerStyle:R,selectionKeyCode:ee,selectionOnDrag:ae,selectionMode:ie,deleteKeyCode:re,multiSelectionKeyCode:j,panActivationKeyCode:S,zoomActivationKeyCode:_,onlyRenderVisibleElements:ne,defaultViewport:Ge,translateExtent:Oe,minZoom:Ye,maxZoom:Ae,preventScrolling:Wt,zoomOnScroll:On,zoomOnPinch:Hn,zoomOnDoubleClick:Vn,panOnScroll:Cn,panOnScrollSpeed:Mn,panOnScrollMode:Tn,panOnDrag:Ze,onPaneClick:ut,onPaneMouseEnter:en,onPaneMouseMove:nn,onPaneMouseLeave:Bn,onPaneScroll:qn,onPaneContextMenu:Xt,paneClickDistance:to,nodeClickDistance:K0,onSelectionContextMenu:B,onSelectionStart:A,onSelectionEnd:P,onReconnect:Zt,onReconnectStart:J0,onReconnectEnd:Kt,onEdgeContextMenu:U,onEdgeDoubleClick:T,onEdgeMouseEnter:te,onEdgeMouseMove:xe,onEdgeMouseLeave:le,reconnectRadius:$,defaultMarkerColor:dt,noDragClassName:we,noWheelClassName:me,noPanClassName:Me,rfId:xo,disableKeyboardA11y:uc,nodeExtent:zn,viewport:dh,onViewportChange:uh}),l[Re(1970)](Y2,{onSelectionChange:W}),R0,l[Re(1970)](L2,{proOptions:Dn,position:Ke}),l[Re(1970)](D2,{rfId:xo,disableKeyboardA11y:uc})]})})}var rg=ha(og);function ig(e){const[t,n]=L.useState(e),x=L.useCallback(o=>n(r=>la(o,r)),[]);return[t,n,x]}function ag(e){const t=c,[n,x]=L[t(1303)](e),o=L[t(1020)](r=>x(i=>da(r,i)),[]);return[n,x,o]}function cg({dimensions:e,lineWidth:t,variant:n,className:x}){const o=c;return l[o(1970)]("path",{strokeWidth:t,d:"M"+e[0]/2+o(1470)+e[1]+o(526)+e[1]/2+" H"+e[0],className:Pe(["react-flow__background-pattern",n,x])})}function sg({radius:e,className:t}){const n=c;return l[n(1970)](n(1576),{cx:e,cy:e,r:e,className:Pe([n(2023),n(721),t])})}var pn;(function(e){const t=c;e[t(492)]=t(1410),e[t(1468)]=t(721),e[t(1066)]=t(1482)})(pn||(pn={}));const lg={[pn[c(1468)]]:1,[pn[c(492)]]:1,[pn[c(1066)]]:6},dg=e=>({transform:e[c(688)],patternId:"pattern-"+e[c(1932)]});function Qa({id:e,variant:t=pn[c(1468)],gap:n=20,size:x,lineWidth:o=1,offset:r=0,color:i,bgColor:a,style:f,className:s,patternClassName:u}){const d=c,y=L.useRef(null),{transform:h,patternId:g}=Ce(dg,Le),m=x||lg[t],v=t===pn.Dots,p=t===pn[d(1066)],M=Array[d(1098)](n)?n:[n,n],w=[M[0]*h[2]||1,M[1]*h[2]||1],z=m*h[2],b=Array.isArray(r)?r:[r,r],k=p?[z,z]:w,G=[b[0]*h[2]||1+k[0]/2,b[1]*h[2]||1+k[1]/2],E=""+g+(e||"");return l[d(557)](d(1996),{className:Pe(["react-flow__background",s]),style:{...f,...T0,"--xy-background-color-props":a,"--xy-background-pattern-color-props":i},ref:y,"data-testid":d(835),children:[l[d(1970)](d(918),{id:E,x:h[0]%w[0],y:h[1]%w[1],width:w[0],height:w[1],patternUnits:d(1321),patternTransform:"translate(-"+G[0]+",-"+G[1]+")",children:v?l[d(1970)](sg,{radius:z/2,className:u}):l.jsx(cg,{dimensions:k,lineWidth:o,variant:t,className:u})}),l[d(1970)](d(1110),{x:"0",y:"0",width:d(697),height:"100%",fill:d(1227)+E+")"})]})}Qa.displayName="Background";const ug=L[c(619)](Qa);function fg(){const e=c;return l[e(1970)]("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:e(736),children:l.jsx(e(2108),{d:e(1696)})})}function gg(){const e=c;return l[e(1970)](e(1996),{xmlns:e(1096),viewBox:"0 0 32 5",children:l.jsx(e(2108),{d:"M0 0h32v4.2H0z"})})}function hg(){const e=c;return l.jsx("svg",{xmlns:e(1096),viewBox:e(493),children:l.jsx(e(2108),{d:e(550)})})}function yg(){const e=c;return l[e(1970)](e(1996),{xmlns:e(1096),viewBox:e(2135),children:l.jsx(e(2108),{d:e(614)})})}function mg(){const e=c;return l[e(1970)]("svg",{xmlns:e(1096),viewBox:e(2135),children:l[e(1970)](e(2108),{d:e(604)})})}function W0({children:e,className:t,...n}){const x=c;return l[x(1970)]("button",{type:x(2070),className:Pe(["react-flow__controls-button",t]),...n,children:e})}const wg=e=>({isInteractive:e[c(2127)]||e[c(1659)]||e[c(1910)],minZoomReached:e.transform[2]<=e.minZoom,maxZoomReached:e[c(688)][2]>=e[c(512)],ariaLabelConfig:e[c(1864)]});function Fa({style:e,showZoom:t=!0,showFitView:n=!0,showInteractive:x=!0,fitViewOptions:o,onZoomIn:r,onZoomOut:i,onFitView:a,onInteractiveChange:f,className:s,children:u,position:d=c(908),orientation:y="vertical","aria-label":h}){const g=c,m=Ne(),{isInteractive:v,minZoomReached:p,maxZoomReached:M,ariaLabelConfig:w}=Ce(wg,Le),{zoomIn:z,zoomOut:b,fitView:k}=Qx(),G=()=>{z(),r?.()},E=()=>{b(),i?.()},I=()=>{k(o),a?.()},q=()=>{m[_0x447e(1880)]({nodesDraggable:!v,nodesConnectable:!v,elementsSelectable:!v}),f?.(!v)},F=g(y==="horizontal"?956:776);return l.jsxs(O0,{className:Pe(["react-flow__controls",F,s]),position:d,style:e,"data-testid":"rf__controls","aria-label":h??w[g(2122)],children:[t&&l[g(557)](l[g(514)],{children:[l[g(1970)](W0,{onClick:G,className:g(880),title:w["controls.zoomIn.ariaLabel"],"aria-label":w[g(1203)],disabled:M,children:l.jsx(fg,{})}),l.jsx(W0,{onClick:E,className:g(869),title:w[g(994)],"aria-label":w[g(994)],disabled:p,children:l.jsx(gg,{})})]}),n&&l[g(1970)](W0,{className:g(660),onClick:I,title:w[g(495)],"aria-label":w[g(495)],children:l[g(1970)](hg,{})}),x&&l[g(1970)](W0,{className:g(1887),onClick:q,title:w[g(2113)],"aria-label":w[g(2113)],children:v?l[g(1970)](mg,{}):l.jsx(yg,{})}),u]})}Fa[c(871)]="Controls";const vg=L.memo(Fa);function pg({id:e,x:t,y:n,width:x,height:o,style:r,color:i,strokeColor:a,strokeWidth:f,className:s,borderRadius:u,shapeRendering:d,selected:y,onClick:h}){const g=c,{background:m,backgroundColor:v}=r||{},p=i||m||v;return l[g(1970)](g(1110),{className:Pe([g(631),{selected:y},s]),x:t,y:n,rx:u,ry:u,width:x,height:o,style:{fill:p,stroke:a,strokeWidth:f},shapeRendering:d,onClick:h?M=>h(M,e):void 0})}const bg=L[c(619)](pg),zg=e=>e.nodes[c(1001)](t=>t.id),no=e=>e instanceof Function?e:()=>e;function Cg({nodeStrokeColor:e,nodeColor:t,nodeClassName:n="",nodeBorderRadius:x=5,nodeStrokeWidth:o,nodeComponent:r=bg,onClick:i}){const a=c,f=Ce(zg,Le),s=no(t),u=no(e),d=no(n),y=typeof window===a(1269)||window[a(1395)]?a(2045):"geometricPrecision";return l[a(1970)](l[a(514)],{children:f[a(1001)](h=>l[a(1970)](Bg,{id:h,nodeColorFunc:s,nodeStrokeColorFunc:u,nodeClassNameFunc:d,nodeBorderRadius:x,nodeStrokeWidth:o,NodeComponent:r,onClick:i,shapeRendering:y},h))})}function Mg({id:e,nodeColorFunc:t,nodeStrokeColorFunc:n,nodeClassNameFunc:x,nodeBorderRadius:o,nodeStrokeWidth:r,shapeRendering:i,NodeComponent:a,onClick:f}){const s=c,{node:u,x:d,y,width:h,height:g}=Ce(m=>{const v=_0x447e,p=m[v(828)][v(1446)](e);if(!p)return{node:void 0,x:0,y:0,width:0,height:0};const M=p[v(2075)][v(1572)],{x:w,y:z}=p[v(2075)][v(2139)],{width:b,height:k}=un(M);return{node:M,x:w,y:z,width:b,height:k}},Le);return!u||u.hidden||!si(u)?null:l[s(1970)](a,{x:d,y,width:h,height:g,style:u.style,selected:!!u[s(1518)],className:x(u),color:t(u),borderRadius:o,strokeColor:n(u),strokeWidth:r,shapeRendering:i,onClick:f,id:u.id})}const Bg=L[c(619)](Mg);var Dg=L[c(619)](Cg);const Lg=200,Ng=150,Sg=e=>!e[c(1231)],kg=e=>{const t=c,n={x:-e.transform[0]/e.transform[2],y:-e[t(688)][1]/e[t(688)][2],width:e[t(502)]/e[t(688)][2],height:e[t(1201)]/e[t(688)][2]};return{viewBB:n,boundingRect:e[t(828)][t(2046)]>0?ii(Ut(e[t(828)],{filter:Sg}),n):n,rfId:e.rfId,panZoom:e[t(853)],translateExtent:e[t(1853)],flowWidth:e[t(502)],flowHeight:e[t(1201)],ariaLabelConfig:e[t(1864)]}},Pg="react-flow__minimap-desc";function $a({style:e,className:t,nodeStrokeColor:n,nodeColor:x,nodeClassName:o="",nodeBorderRadius:r=5,nodeStrokeWidth:i,nodeComponent:a,bgColor:f,maskColor:s,maskStrokeColor:u,maskStrokeWidth:d,position:y=c(1233),onClick:h,onNodeClick:g,pannable:m=!1,zoomable:v=!1,ariaLabel:p,inversePan:M,zoomStep:w=1,offsetScale:z=5}){const b=c,k=Ne(),G=L[b(1713)](null),{boundingRect:E,viewBB:I,rfId:q,panZoom:F,translateExtent:K,flowWidth:W,flowHeight:V,ariaLabelConfig:N}=Ce(kg,Le),D=e?.[b(502)]??Lg,B=e?.height??Ng,A=E[b(502)]/D,P=E[b(1201)]/B,Y=Math[b(1419)](A,P),Z=Y*D,J=Y*B,X=z*Y,Q=E.x-(Z-E[b(502)])/2-X,R=E.y-(J-E[b(1201)])/2-X,re=Z+X*2,ee=J+X*2,ae=Pg+"-"+q,ie=L[b(1713)](0),S=L[b(1713)]();ie[b(787)]=Y,L.useEffect(()=>{const O=b;if(G[O(787)]&&F)return S[O(787)]=Zf({domNode:G[O(787)],panZoom:F,getTransform:()=>k.getState()[O(688)],getViewScale:()=>ie[O(787)]}),()=>{const ne=O;S[ne(787)]?.[ne(1262)]()}},[F]),L[b(1027)](()=>{const O=b;S[O(787)]?.[O(943)]({translateExtent:K,width:W,height:V,inversePan:M,pannable:m,zoomStep:w,zoomable:v})},[m,v,M,w,K,W,V]);const j=h?O=>{const ne=b,[de,ye]=S[ne(787)]?.[ne(1921)](O)||[0,0];h(O,{x:de,y:ye})}:void 0,_=g?L.useCallback((O,ne)=>{const de=b,ye=k.getState()[de(828)].get(ne)[de(2075)][de(1572)];g(O,ye)},[]):void 0,H=p??N[b(1927)];return l.jsx(O0,{position:y,style:{...e,"--xy-minimap-background-color-props":typeof f===b(1841)?f:void 0,"--xy-minimap-mask-background-color-props":typeof s=="string"?s:void 0,"--xy-minimap-mask-stroke-color-props":typeof u===b(1841)?u:void 0,"--xy-minimap-mask-stroke-width-props":typeof d=="number"?d*Y:void 0,"--xy-minimap-node-background-color-props":typeof x===b(1841)?x:void 0,"--xy-minimap-node-stroke-color-props":typeof n===b(1841)?n:void 0,"--xy-minimap-node-stroke-width-props":typeof i===b(1539)?i:void 0},className:Pe(["react-flow__minimap",t]),"data-testid":b(1378),children:l[b(557)]("svg",{width:D,height:B,viewBox:Q+" "+R+" "+re+" "+ee,className:b(629),role:b(1353),"aria-labelledby":ae,ref:G,onClick:j,children:[H&&l[b(1970)](b(1059),{id:ae,children:H}),l[b(1970)](Dg,{onClick:_,nodeColor:x,nodeStrokeColor:n,nodeBorderRadius:r,nodeClassName:o,nodeStrokeWidth:i,nodeComponent:a}),l[b(1970)](b(2108),{className:b(1279),d:"M"+(Q-X)+","+(R-X)+"h"+(re+X*2)+"v"+(ee+X*2)+"h"+(-re-X*2)+b(1251)+I.x+","+I.y+"h"+I[b(502)]+"v"+I[b(1201)]+"h"+-I[b(502)]+"z",fillRule:b(1458),pointerEvents:b(2039)})]})})}$a[c(871)]="MiniMap";const Yg=L.memo($a),Ag=e=>t=>e?""+Math[c(1419)](1/t[c(688)][2],1):void 0,Ig={[ct[c(2163)]]:c(1604),[ct.Handle]:c(1233)};function Eg({nodeId:e,position:t,variant:n=ct[c(729)],className:x,style:o=void 0,children:r,color:i,minWidth:a=10,minHeight:f=10,maxWidth:s=Number[c(1924)],maxHeight:u=Number[c(1924)],keepAspectRatio:d=!1,resizeDirection:y,autoScale:h=!0,shouldResize:g,onResizeStart:m,onResize:v,onResizeEnd:p}){const M=c,w=ba(),z=typeof e===M(1841)?e:w,b=Ne(),k=L[M(1713)](null),G=n===ct.Handle,E=Ce(L.useCallback(Ag(G&&h),[G,h]),Le),I=L[M(1713)](null),q=t??Ig[n];L.useEffect(()=>{const K=M;if(!(!k[K(787)]||!z))return!I[K(787)]&&(I[K(787)]=i2({domNode:k[K(787)],nodeId:z,getStoreItems:()=>{const W=K,{nodeLookup:V,transform:N,snapGrid:D,snapToGrid:B,nodeOrigin:A,domNode:P}=b[W(1556)]();return{nodeLookup:V,transform:N,snapGrid:D,snapToGrid:B,nodeOrigin:A,paneDomNode:P}},onChange:(W,V)=>{const N=K,{triggerNodeChanges:D,nodeLookup:B,parentLookup:A,nodeOrigin:P}=b.getState(),Y=[],Z={x:W.x,y:W.y},J=B.get(z);if(J&&J[N(823)]&&J.parentId){const X=J[N(1252)]??P,Q=W[N(502)]??J[N(1815)][N(502)]??0,R=W[N(1201)]??J[N(1815)][N(1201)]??0,re={id:J.id,parentId:J[N(2060)],rect:{width:Q,height:R,...li({x:W.x??J[N(1400)].x,y:W.y??J[N(1400)].y},{width:Q,height:R},J[N(2060)],B,X)}},ee=Tx([re],B,A,P);Y.push(...ee),Z.x=W.x?Math.max(X[0]*Q,W.x):void 0,Z.y=W.y?Math.max(X[1]*R,W.y):void 0}if(Z.x!==void 0&&Z.y!==void 0){const X={id:z,type:N(1400),position:{...Z}};Y[N(2049)](X)}if(W[N(502)]!==void 0&&W[N(1201)]!==void 0){const X=y?y===N(956)?N(502):N(1201):!0,Q={id:z,type:"dimensions",resizing:!0,setAttributes:X,dimensions:{width:W[N(502)],height:W.height}};Y[N(2049)](Q)}for(const X of V){const Q={...X,type:N(1400)};Y.push(Q)}D(Y)},onEnd:({width:W,height:V})=>{const N=K,D={id:z,type:N(524),resizing:!1,dimensions:{width:W,height:V}};b.getState()[N(1085)]([D])}})),I[K(787)][K(943)]({controlPosition:q,boundaries:{minWidth:a,minHeight:f,maxWidth:s,maxHeight:u},keepAspectRatio:d,resizeDirection:y,onResizeStart:m,onResize:v,onResizeEnd:p,shouldResize:g}),()=>{I.current?.destroy()}},[q,a,f,s,u,d,m,v,p,g]);const F=q[M(1773)]("-");return l[M(1970)](M(1331),{className:Pe([M(859),M(725),...F,n,x]),ref:k,style:{...o,scale:E,...i&&{[M(G?553:935)]:i}},children:r})}L.memo(Eg);const ec=e=>Symbol[c(1797)]in e,nc=e=>c(542)in e,tc=(e,t)=>{const n=c,x=e instanceof Map?e:new Map(e.entries()),o=t instanceof Map?t:new Map(t[n(542)]());if(x.size!==o[n(2046)])return!1;for(const[r,i]of x)if(!o.has(r)||!Object.is(i,o[n(1446)](r)))return!1;return!0},jg=(e,t)=>{const n=c,x=e[Symbol[n(1797)]](),o=t[Symbol[n(1797)]]();let r=x.next(),i=o.next();for(;!r[n(2174)]&&!i[n(2174)];){if(!Object.is(r.value,i[n(1429)]))return!1;r=x.next(),i=o.next()}return!!r.done&&!!i[n(2174)]};function Ug(e,t){const n=c;return Object.is(e,t)?!0:typeof e!==n(1210)||e===null||typeof t!="object"||t===null||Object[n(1317)](e)!==Object[n(1317)](t)?!1:ec(e)&&ec(t)?nc(e)&&nc(t)?tc(e,t):jg(e,t):tc({entries:()=>Object[n(542)](e)},{entries:()=>Object.entries(t)})}const xc={inlineScript:c(1651),dataRequest:c(1760),external:c(1139),builtin:c(1901)},Gg=[{label:c(1081),value:"antdMessage"}],Og=[{label:c(1590),value:c(1590)},{label:c(1678),value:c(1678)},{label:c(1839),value:"warning"},{label:c(1738),value:c(1738)},{label:c(770),value:c(770)}];function oc(e,t,n){const x=c,o=n[x(1076)](i=>i.target===e),r=o[x(1028)];return o.map((i,a)=>{const f=x,s=t[f(2159)](d=>d.id===i[f(1513)]),u=s?.[f(455)];return{sourceId:i[f(1513)],sourceLabel:u?.[f(967)]??i[f(1513)],edgeIndex:a,totalIncoming:r}})}const Hg=({data:e,id:t})=>{const n=c,x=Ce(L[n(1020)](i=>oc(t,i[n(1053)],i.edges)[n(1001)](({sourceId:a,sourceLabel:f})=>({sourceId:a,label:f})),[t]),Ug),o=e.eventBlock[n(899)]??n(569),r=o===n(670)?e[n(1722)][n(1123)]:o===n(739)?e[n(1722)].externalHandlerKey:o===n(2079)?e[n(1722)][n(1800)]==="antdMessage"?e.eventBlock[n(1800)]+": "+String(e.eventBlock[n(2119)]?.[n(1621)]??"")[n(563)](0,24):e[n(1722)].builtinId:null;return l[n(557)](n(1331),{className:"bg-white border-2 border-blue-500 rounded-lg p-3 min-w-[180px] shadow-md",children:[l[n(1970)](lt,{type:n(819),position:ue[n(998)],className:n(1108)}),l[n(557)]("div",{className:n(1936),children:[l[n(1970)](n(1493),{className:"font-medium text-sm truncate",children:e[n(967)]}),l[n(557)](C[n(1823)],{size:n(1436),children:[l[n(1970)](C.Button,{type:"text",size:n(1436),icon:l.jsx(se[n(1026)],{}),onClick:()=>e[n(1684)](t)}),l[n(1970)](C[n(1079)],{type:n(1527),size:n(1436),danger:!0,icon:l[n(1970)](se[n(792)],{}),onClick:()=>e[n(1867)](t)})]})]}),l.jsx(n(1331),{className:n(635),children:l[n(557)](C[n(657)],{color:o===n(569)?n(1138):o===n(2079)?n(801):"purple",className:n(872),children:[xc[o],r?n(684)+r:""]})}),l[n(557)]("div",{className:"text-xs text-gray-500",children:[e[n(1722)].inputs?.[n(1028)]>0&&l[n(557)](n(1331),{children:[n(1967),e[n(1722)][n(1735)].map(i=>i[n(1952)])[n(1248)](", ")]}),x[n(1028)]>0&&l[n(557)](n(1331),{className:n(1988),children:["上游连线:",x[n(1001)](i=>l[n(557)](n(1331),{className:n(588),children:["←「",i[n(967)],n(1969)]},i[n(1202)]))]})]}),l[n(1970)](lt,{type:n(1513),position:ue.Bottom,className:n(1108)})]})},Tg={eventBlock:Hg},Vg=Object[c(542)](xc)[c(1001)](([e,t])=>({label:t,value:e})),rc=[{label:"点击",value:c(2034)},{label:"鼠标按下",value:c(925)},{label:c(1730),value:c(892)},{label:"双击",value:c(1230)},{label:c(1855),value:"mouseOver"},{label:c(1594),value:c(1219)},{label:c(879),value:"mouseEnter"},{label:c(715),value:c(1103)},{label:c(2101),value:"dataRequest"},{label:c(1090),value:c(739)}];function qg(e,t){const n=c,x={},o=[...e];return o[n(1068)]((r,i)=>{const a=n,f=t[a(1735)][i]?.[a(1952)]??(o[a(1028)]===1?a(909):a(909)+i);x[f]=a(2103)+r[a(1513)]}),x}function Wg(e,t,n){const x=c;return n[e]?.name??(t===1?x(909):x(909)+e)}const Xg=[{label:"string",value:c(1841)},{label:"number",value:"number"},{label:"boolean",value:c(894)},{label:"object",value:c(1210)},{label:c(596),value:"any"}];function ic(e){const t=c,n=rc[t(2159)](o=>o[t(1429)]===e[t(597)]),x=n?.[t(967)]??e[t(597)];if(e[t(597)]===t(739)){const o=(e[t(1577)]||"")[t(1619)]();return o?x+t(684)+o:x}return x}const Zg=({open:e,onClose:t,bindNodeId:n})=>{const x=c,{nodes:o,eventFlow:r,externalHandlerCatalog:i,addEventBlock:a,upsertEventBlock:f,removeEventBlock:s,addEventRoot:u,updateEventRoot:d}=Ee(),[y,h,g]=ig([]),[m,v,p]=ag([]),M=L[x(1713)](y);M[x(787)]=y;const[w,z]=L.useState(null),[b,k]=L[x(1303)](!1),[G]=C.Form[x(1044)](),E=C[x(1034)].useWatch(x(597),G),[I,q]=L[x(1303)](null),[F,K]=L[x(1303)](!1),[W]=C[x(1034)][x(1044)](),V=C[x(1034)][x(2151)](x(899),W),N=C[x(1034)][x(2151)](x(1800),W),D=C.Form[x(2151)]("inputs",W),B=L.useMemo(()=>!F||!I?[]:oc(I.id,y,m),[F,I,y,m]),A=L[x(1713)](()=>{}),P=L[x(1713)](()=>{});L[x(1027)](()=>{const S=x;if(F&&I){const j=I.builtinConfig??{},{outputs:_,...H}=I;W[S(1687)]({...H,executorType:I[S(899)]??S(569),builtinId:I[S(1800)],inputs:I[S(1735)]??[],builtinConfig:{content:String(j[S(1621)]??""),level:String(j[S(1571)]??S(1590)),duration:j[S(1844)]===void 0||j[S(1844)]===null?void 0:Number(j[S(1844)])}})}},[F,I,W]);const Y=L[x(1020)](S=>{v(j=>pi(S,j))},[v]),Z=S=>{const j=x,_={bindNodeId:S[j(466)],eventType:S[j(597)],externalEventKey:S.eventType===j(739)?(S[j(1577)]||"")[j(1619)]():void 0,flowData:{nodes:[],edges:[]},enabled:!0},H=u(_);z({..._,id:H}),G[j(1376)](),k(!1),C[j(494)][j(1678)]("事件流创建成功")},J=L[x(1020)](S=>{const j=x;s(S),h(_=>_[j(1076)](H=>H.id!==S)),v(_=>_[j(1076)](H=>H[j(1513)]!==S&&H[j(819)]!==S))},[s,h,v]),X=L[x(1020)](S=>{const j=x,_=M[j(787)][j(2159)](ne=>ne.id===S)?.[j(455)]?.[j(1722)],H=r[j(1758)][j(2159)](ne=>ne.id===S),O=_??H;O?(q({...O,id:S}),K(!0)):C.message[j(1839)]("找不到事件块")},[r[x(1758)]]);A[x(787)]=X,P[x(787)]=J,L.useEffect(()=>{const S=x;if(e&&w){const j=w[S(1928)][S(1053)][S(1001)](H=>({id:H.id,type:S(1722),position:H[S(1400)],data:{label:H[S(455)].label,eventBlock:H[S(455)][S(1722)],onEdit:O=>A[S(787)](O),onDelete:O=>P[S(787)](O)}})),_=w[S(1928)].edges.map(H=>({id:H.id,source:H[S(1513)],target:H.target}));h(j),v(_)}},[e,w,h,v]);const Q=()=>{const S=x,j={name:S(1037),executorType:"inlineScript",callback:"return args;",inputs:[],outputs:[]},_=a(j),H={...j,id:_},O={id:_,type:S(1722),position:{x:100+y.length*50,y:100+y[S(1028)]*30},data:{label:H[S(1952)],eventBlock:H,onEdit:ne=>A.current(ne),onDelete:ne=>P[S(787)](ne)}};h(ne=>[...ne,O])},R=()=>{const S=x,j={name:S(518),executorType:S(2079),builtinId:S(1563),builtinConfig:{content:S(1700),level:S(1590)},callback:S(463),inputs:[],outputs:[]},_=a(j),H={...j,id:_},O={id:_,type:"eventBlock",position:{x:120+y[S(1028)]*50,y:140+y[S(1028)]*30},data:{label:H[S(1952)],eventBlock:H,onEdit:ne=>A[S(787)](ne),onDelete:ne=>P[S(787)](ne)}};h(ne=>[...ne,O])},re=S=>{const j=x;if(!I)return;const _=S[j(899)]??I[j(899)]??j(569),H={name:S[j(1952)],callback:S[j(1322)]??I.callback,executorType:_,dataRequestKey:_===j(670)?(S[j(1123)]||"")[j(1619)]():void 0,externalHandlerKey:_===j(739)?(S.externalHandlerKey||"")[j(1619)]():void 0,builtinId:_===j(2079)?S.builtinId:void 0,builtinConfig:_===j(2079)&&S[j(1800)]===j(1563)?{content:String(S[j(2119)]?.[j(1621)]??"")[j(1619)](),level:S[j(2119)]?.[j(1571)]||j(1590),duration:S[j(2119)]?.[j(1844)]===null||S[j(2119)]?.[j(1844)]===void 0?void 0:Number(S[j(2119)].duration)}:void 0},O=S[j(1735)]??[],ne=O[j(1076)](ye=>ye?.[j(1952)]&&String(ye[j(1952)])[j(1619)]()),de={...I,...H,inputs:ne,outputs:[]};f(de),h(ye=>ye.map(ce=>ce.id===I.id?{...ce,data:{...ce[j(455)],label:de[j(1952)]||ce.data[j(967)],eventBlock:de}}:ce)),K(!1),q(null),C[j(494)][j(1678)](j(1328))},ee=()=>{const S=x;if(!w)return;const j=y[S(1001)](H=>{const O=S,ne=m[O(1076)](ce=>ce.target===H.id),de=H[O(455)][O(1722)],ye={...de,outputs:[]};return{id:H.id,eventBlockId:H.id,position:H[O(1400)],inputs:ne[O(1001)](ce=>ce.source),outputs:m[O(1076)](ce=>ce.source===H.id).map(ce=>ce[O(819)]),data:{label:H[O(455)][O(967)],eventBlock:ye,inputMapping:qg(ne,ye)}}}),_=m[S(1001)](H=>({id:H.id,source:H[S(1513)],target:H[S(819)]}));d(w.id,{flowData:{nodes:j,edges:_}}),_n[S(1836)]({...w,flowData:{nodes:j,edges:_}}),C[S(494)][S(1678)]("事件流保存成功"),t()},ae=L[x(694)](()=>o[x(1001)](S=>({label:S.name,value:S.id})),[o]),ie=L[x(694)](()=>n?r[x(1607)][x(1076)](S=>S[x(466)]===n):r[x(1607)],[r.eventRoots,n]);return e?l.jsxs(C.Modal,{title:x(1440),open:e,onCancel:t,width:1200,footer:null,styles:{body:{height:700,padding:0}},children:[w?l.jsxs(x(1331),{className:"h-full flex flex-col",style:{height:700},children:[l.jsxs(x(1331),{className:x(1507),children:[l[x(1970)](C[x(1823)],{children:l[x(557)](x(1493),{className:x(452),children:["编辑: ",ic(w)," →"," ",o.find(S=>S.id===w[x(466)])?.name]})}),l.jsxs(C.Space,{children:[l.jsx(C.Button,{icon:l[x(1970)](se[x(1091)],{}),onClick:Q,children:"添加事件块"}),l.jsx(C[x(1079)],{icon:l[x(1970)](se[x(1091)],{}),onClick:R,children:x(518)}),l[x(1970)](C[x(1079)],{type:x(617),icon:l.jsx(se[x(1406)],{}),onClick:ee,children:"保存"}),l[x(1970)](C[x(1079)],{icon:l[x(1970)](se.CloseOutlined,{}),onClick:()=>z(null),children:x(1888)})]})]}),l.jsx(x(1331),{className:"flex-1",children:l[x(557)](rg,{nodes:y,edges:m,onNodesChange:g,onEdgesChange:p,onConnect:Y,nodeTypes:Tg,fitView:!0,children:[l[x(1970)](ug,{}),l[x(1970)](vg,{}),l.jsx(Yg,{})]})})]}):l[x(557)](x(1331),{className:x(601),children:[l[x(557)](x(1331),{className:x(1220),children:[l.jsx("h3",{className:x(1516),children:x(628)}),l[x(1970)](C[x(1079)],{type:"primary",icon:l.jsx(se.PlusOutlined,{}),onClick:()=>k(!0),children:x(798)})]}),l[x(1970)](C[x(717)],{dataSource:ie,renderItem:S=>l.jsx(C[x(717)][x(865)],{actions:[l.jsx(C[x(1079)],{type:x(617),icon:l[x(1970)](se[x(1026)],{}),onClick:()=>z(S),children:"编辑"},"edit")],children:l[x(1970)](C[x(717)][x(865)][x(1782)],{title:l[x(557)](C[x(1823)],{children:[l[x(557)](x(1493),{children:[x(1802),ic(S)]}),l[x(1970)](C[x(657)],{color:x(901),children:o[x(2159)](j=>j.id===S[x(466)])?.[x(1952)]||S[x(466)]})]}),description:x(682)+S.flowData[x(1053)][x(1028)]+x(708)+S[x(1928)][x(1891)][x(1028)]})}),locale:{emptyText:l.jsx(C[x(1345)],{description:x(1851)})}}),l[x(1970)](C.Modal,{title:x(798),open:b,onCancel:()=>{G[x(1376)](),k(!1)},footer:null,afterOpenChange:S=>{const j=x;S&&(G[j(1376)](),n&&G[j(1687)]({bindNodeId:n}))},children:l[x(557)](C[x(1034)],{form:G,onFinish:Z,layout:"vertical",children:[l.jsx(C.Form.Item,{name:x(466),label:"绑定节点",rules:[{required:!0,message:"请选择节点"}],initialValue:n,children:l[x(1970)](C[x(2140)],{options:ae,placeholder:x(668),disabled:!!n})}),l[x(1970)](C[x(1034)].Item,{name:x(597),label:"触发方式",rules:[{required:!0,message:x(1630)}],children:l[x(1970)](C[x(2140)],{options:rc,placeholder:x(1785)})}),E==="external"&&l.jsx(C[x(1034)][x(865)],{name:x(1577),label:x(1762),rules:[{required:!0,message:x(778)},{validator:(S,j)=>(j||"").trim()?Promise[x(1734)]():Promise.reject(new Error(x(785)))}],extra:"与 eventBus.emitExternal(节点id, 该标识) 一致",children:l[x(1970)](C.Input,{placeholder:"例如:refresh"})}),l[x(1970)](C.Form[x(865)],{className:"mb-0",children:l[x(557)](C[x(1823)],{className:"w-full justify-end",children:[l[x(1970)](C.Button,{onClick:()=>{G[x(1376)](),k(!1)},children:"取消"}),l.jsx(C.Button,{type:x(617),htmlType:x(1472),children:"创建"})]})})]})})]}),l[x(1970)](C[x(1990)],{title:x(987),open:F,onCancel:()=>{K(!1),q(null)},footer:null,destroyOnClose:!0,children:l[x(557)](C[x(1034)],{form:W,onFinish:re,layout:x(776),children:[l[x(1970)](C.Form[x(865)],{name:"name",label:"名称",rules:[{required:!0,message:"请填写名称"}],children:l[x(1970)](C[x(1434)],{})}),l[x(1970)](C[x(1034)].Item,{name:"executorType",label:x(1275),rules:[{required:!0,message:x(727)}],children:l[x(1970)](C[x(2140)],{options:Vg,placeholder:x(1654)})}),V===x(2079)&&l[x(1970)](C[x(1034)][x(865)],{name:x(1800),label:x(1901),rules:[{required:!0,message:"请选择内置动作"}],children:l[x(1970)](C[x(2140)],{options:Gg,placeholder:x(1644)})}),V===x(2079)&&N==="antdMessage"&&l[x(557)](l[x(514)],{children:[l[x(1970)](C[x(1034)].Item,{name:[x(2119),x(1621)],label:x(1013),rules:[{required:!0,message:"请填写提示内容"}],extra:x(1520),children:l[x(1970)](C[x(1434)][x(1200)],{rows:3,placeholder:"例如:保存成功 或 结果:{{prev}}"})}),l[x(1970)](C[x(1034)][x(865)],{name:[x(2119),x(1571)],label:"状态 (type)",children:l.jsx(C.Select,{options:Og})}),l[x(1970)](C.Form[x(865)],{name:["builtinConfig",x(1844)],label:x(1788),extra:x(1259),children:l[x(1970)](C.InputNumber,{min:0,step:.5,style:{width:x(697)},placeholder:"默认"})})]}),V===x(670)&&l[x(1970)](C[x(1034)][x(865)],{name:"dataRequestKey",label:x(445),rules:[{required:!0,message:x(685)},{validator:(S,j)=>(j||"")[x(1619)]()?Promise[x(1734)]():Promise[x(474)](new Error(x(785)))}],extra:"运行时 eventBus.setDefaultRuntimeHandlers({ dataRequest: { [标识]: (ctx, args) => ... } })",children:l[x(1970)](C[x(1434)],{placeholder:x(590)})}),V===x(739)&&l[x(1970)](C[x(1034)][x(865)],{name:x(1154),label:x(2081),rules:[{required:!0,message:x(1093)},{validator:(S,j)=>(j||"").trim()?Promise[x(1734)]():Promise[x(474)](new Error(x(785)))}],extra:i[x(1028)]>0?"来自 ConfigEditor 的 externalEventActions;也可在运行时 eventBus.mergeDefaultRuntimeHandlers({ external }) 补充":"未配置下拉时手动填写 key;宿主可用 ConfigEditor externalEventActions 注册选项与 handler,或 eventBus.mergeDefaultRuntimeHandlers",children:i[x(1028)]>0?l[x(1970)](C[x(2140)],{showSearch:!0,optionFilterProp:"label",allowClear:!0,placeholder:x(970),options:i[x(1001)](S=>({value:S[x(1101)],label:S[x(967)],title:S[x(990)]?S[x(967)]+x(1689)+S[x(990)]:S[x(967)]+" ("+S[x(1101)]+")"}))}):l.jsx(C[x(1434)],{placeholder:x(950)})}),V===x(569)&&l[x(1970)](C[x(1034)][x(865)],{name:x(1322),label:x(679),rules:[{validator:(S,j)=>{const _=x;return typeof j===_(1841)&&j[_(1619)]()?Promise[_(1734)]():Promise[_(474)](new Error(_(1557)))}}],children:l[x(1970)](C[x(1434)].TextArea,{rows:6,placeholder:x(545)})}),B[x(1028)]>0&&l[x(557)](x(1331),{className:"mb-4 p-3 bg-amber-50 rounded border border-amber-100 text-sm",children:[l[x(1970)](x(1331),{className:x(921),children:x(972)}),l[x(1970)]("ul",{className:x(1540),children:B.map(S=>{const j=x,_=D??I?.[j(1735)]??[],H=Wg(S.edgeIndex,S[j(461)],_);return l[j(557)]("li",{className:j(1038),children:[l[j(557)](j(1331),{className:j(1638),children:["第 ",S[j(1397)]+1,j(1825),S[j(795)],j(1180),l[j(1970)](j(1253),{children:j(826)})," →"," ",l[j(557)]("code",{className:j(1011),children:[j(820),H]})]}),l[j(557)]("div",{className:j(804),children:[j(507),S[j(1397)]+1,j(742)]})]},S[j(1202)])})})]}),l[x(1970)](x(1331),{className:x(1116),children:x(1992)}),l[x(557)]("div",{className:"text-xs text-gray-500 mb-2",children:[x(900)," ",l[x(1970)](x(1368),{children:"args.prev"}),x(1640),l.jsx("code",{children:x(1786)}),"、",l.jsx(x(1368),{children:x(957)}),"…"]}),l[x(1970)](C.Form[x(717)],{name:x(1735),children:(S,{add:j,remove:_})=>l.jsxs(l[x(514)],{children:[S.map(({key:H,name:O,...ne})=>l[x(557)](C[x(1823)],{align:x(800),wrap:!0,className:"mb-2",children:[l.jsx(C[x(1034)].Item,{...ne,name:[O,x(1952)],rules:[{required:!0,message:"名称"}],children:l[x(1970)](C[x(1434)],{placeholder:x(1061),style:{width:140}})}),l[x(1970)](C.Form[x(865)],{...ne,name:[O,"type"],initialValue:x(596),children:l[x(1970)](C.Select,{options:Xg,style:{width:100}})}),l[x(1970)](se[x(1628)],{className:x(1862),onClick:()=>_(O)})]},H)),l[x(1970)](C[x(1079)],{type:x(1149),onClick:()=>j({type:x(596)}),block:!0,icon:l.jsx(se.PlusOutlined,{}),children:x(547)})]})}),l[x(1970)](C[x(1034)][x(865)],{className:x(1268),children:l[x(557)](C[x(1823)],{className:x(999),children:[l.jsx(C[x(1079)],{onClick:()=>{K(!1),q(null)},children:"取消"}),l[x(1970)](C[x(1079)],{type:x(617),htmlType:x(1472),children:"保存"})]})})]})})]}):null},X0={click:"点击",mouseDown:c(762),mouseUp:c(1730),doubleClick:"双击",mouseOver:c(1855),mouseLeave:c(1594),mouseEnter:c(879),contextMenu:"右键菜单",dataRequest:"数据请求",external:c(1090)};function Kg(e){const t=c;if(e[t(597)]===t(739)){const n=(e[t(1577)]||"")[t(1619)]();return n?X0[t(739)]+" · "+n:X0[t(739)]}return X0[e[t(597)]]}const Rg=Object[c(542)](X0)[c(1001)](([e,t])=>({label:t,value:e})),Jg=({nodeId:e})=>{const t=c,{eventFlow:n,addEventRoot:x,updateEventRoot:o,removeEventRoot:r}=Ee(),[i,a]=L[t(1303)](!1),[f,s]=L[t(1303)](null),[u,d]=L[t(1303)](!1),[y]=C.Form[t(1044)](),h=C[t(1034)].useWatch("eventType",y),g=L[t(694)](()=>{const w=t;return n.eventRoots[w(1076)](z=>z[w(466)]===e)},[n.eventRoots,e]),m=w=>{const z=t,b={bindNodeId:e,eventType:w[z(597)],externalEventKey:w[z(597)]==="external"?(w[z(1577)]||"").trim():void 0,flowData:{nodes:[],edges:[]},enabled:!0};x(b),y[z(1376)](),d(!1)},v=w=>{s(w),a(!0)},p=(w,z)=>{o(w.id,{enabled:z})},M=w=>{r(w)};return l[t(557)]("div",{children:[l[t(557)](t(1331),{className:"flex justify-between items-center mb-4",children:[l.jsx("h4",{className:"text-sm font-medium",children:t(709)}),l[t(1970)](C[t(1079)],{type:"primary",size:t(1436),icon:l[t(1970)](se.PlusOutlined,{}),onClick:()=>d(!0),children:t(821)})]}),l[t(1970)](C[t(717)],{dataSource:g,renderItem:w=>l[t(1970)](C.List[t(865)],{actions:[l.jsx(C[t(1926)],{checked:w[t(1155)],size:t(1436),onChange:z=>p(w,z)},t(1965)),l.jsx(C[t(1079)],{type:t(1527),size:t(1436),icon:l.jsx(se[t(1026)],{}),onClick:()=>v(w)},t(1790)),l[t(1970)](C.Popconfirm,{title:"确认删除",description:t(1286),onConfirm:()=>M(w.id),children:l[t(1970)](C.Button,{type:"text",danger:!0,size:t(1436),icon:l[t(1970)](se[t(792)],{})})},t(719))],children:l.jsx(C[t(717)][t(865)].Meta,{title:l[t(557)](C[t(1823)],{children:[l.jsx(C.Tag,{color:w[t(1155)]?"blue":t(1138),children:Kg(w)}),l[t(557)](t(1493),{className:t(1211),children:[w[t(1928)][t(1053)][t(1028)],t(897)]})]}),description:w[t(1155)]?l[t(1970)]("span",{className:t(517),children:t(2001)}):l[t(1970)]("span",{className:"text-xs text-gray-400",children:t(847)})})}),locale:{emptyText:l[t(1970)](C[t(1345)],{image:C.Empty[t(959)],description:t(1634)})}}),l[t(1970)](C.Modal,{title:t(821),open:u,onCancel:()=>{y[t(1376)](),d(!1)},footer:null,afterOpenChange:w=>{w&&y.resetFields()},children:l[t(557)](C.Form,{form:y,onFinish:m,layout:"vertical",children:[l.jsx(C[t(1034)][t(865)],{name:t(597),label:"触发方式",rules:[{required:!0,message:t(1630)}],children:l.jsx(C.Select,{options:Rg,placeholder:t(1617)})}),h===t(739)&&l.jsx(C[t(1034)][t(865)],{name:t(1577),label:t(1762),rules:[{required:!0,message:"请填写外部事件标识"},{validator:(w,z)=>(z||"")[t(1619)]()?Promise[t(1734)]():Promise[t(474)](new Error("标识不能为空"))}],extra:"与运行时 eventBus.emitExternal(节点id, 该标识) 一致,例如:refresh、dialog:opened",children:l.jsx(C[t(1434)],{placeholder:t(1375)})}),l[t(1970)](C[t(1034)][t(865)],{className:t(1023),children:l[t(557)](C[t(1823)],{className:t(999),children:[l[t(1970)](C[t(1079)],{onClick:()=>d(!1),children:"取消"}),l[t(1970)](C.Button,{type:t(617),htmlType:t(1472),children:"创建"})]})})]})}),l[t(1970)](Zg,{open:i,onClose:()=>{a(!1),s(null)},bindNodeId:e})]})},{Panel:bn}=C[c(971)],{TabPane:Z0}=C[c(1793)],{TextArea:_g}=C[c(1434)],ac=({defaultTestData:e})=>{const t=c,{nodes:n,selectedNodeId:x,updateNode:o,updateNodeStyle:r,updateNodeControl:i,updateNodeContent:a,materials:f,selectedStatusId:s,selectStatus:u}=Ee(),[d]=C[t(1034)][t(1044)](),[y,h]=L[t(1303)]("basic"),[g,m]=L.useState(!1),[v,p]=L[t(1303)](null),[M,w]=L[t(1303)]({}),z=L[t(694)](()=>n.find(D=>D.id===x),[n,x]),b=z?.[t(858)][t(1029)]||[],k=D=>{const B=t;x&&(D[B(1490)]&&r(x,D[B(1490)]),D[B(1952)]!==void 0&&o(x,{name:D[B(1952)]}),D[B(651)]&&i(x,D[B(651)]))};console[t(484)](x,t(467),z),L[t(1027)](()=>{const D=t;z&&z&&(d[D(1687)]({name:z.name,normalStyle:{width:100,height:100,x:0,y:0,padding:8,background:"transparent",borderRadius:0,opacity:1,...z[D(1490)]},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0,...z[D(651)]}}),u(null))},[z,u,d]);const G=()=>{const D=t;!x||!z||(p(D(1680)),m(!0))},E=D=>{const B=t;if(!x||!z)return;const A={id:ve[B(1045)](),name:D.name+B(1959)+(b[B(1028)]+1),expression:b[B(1028)]===0?"return true;":B(1554),material:{...D,id:ve[B(1045)]()},boundDatasetId:null};if(v===B(1680)){const P=[...b,A];a(x,{statusList:P})}else if(v){const P=b[B(1001)](Y=>{const Z=B;return Y.id===v?{...Y,material:{...D,id:ve[Z(1045)]()}}:Y});a(x,{statusList:P})}m(!1),p(null)},I=D=>{const B=t;if(!x||!z)return;const A=z[B(858)].statusList?.filter(P=>P.id!==D)||[];a(x,{statusList:A}),s===D&&u(null)},q=(D,B)=>{const A=t;if(!x||!z)return;const P=z[A(858)][A(1029)]?.map(Y=>Y.id===D?{...Y,...B}:Y)||[];a(x,{statusList:P})},F=D=>{const B=t;if(!x||!z)return;const A={...D,id:ve.nanoid(),name:D.name+B(582),expression:B(1554)},P=[...b,A];a(x,{statusList:P})},K=(D,B)=>{const A=t;if(!x||!z)return;const P=b[A(941)](Z=>Z.id===D);if(P===-1)return;const Y=[...b];B==="up"&&P>0?[Y[P],Y[P-1]]=[Y[P-1],Y[P]]:B===A(724)&&P<Y[A(1028)]-1&&([Y[P],Y[P+1]]=[Y[P+1],Y[P]]),a(x,{statusList:Y})},W=D=>{p(D),m(!0)},V=(D,B)=>{const A=t,P=B[A(1829)]||{},Y=P[A(446)]??0,Z=P.startY??0,J=P[A(1168)]??100,X=P[A(881)]??0,Q=Math[A(1419)]((P[A(2106)]||P[A(485)]||2)*2,4),R=Math[A(2007)](Y,J),re=Math[A(2007)](Z,X),ee=Math[A(1419)](Y,J),ae=Math[A(1419)](Z,X),ie=Math[A(1419)](ee-R,Q),S=Math[A(1419)](ae-re,Q),j=D.normalStyle.x||0,_=D[A(1490)].y||0;return{material:{...B,config:{...P,startX:Y-R,startY:Z-re,endX:J-R,endY:X-re}},box:{x:j+R,y:_+re,width:ie,height:S}}},N=(D,B)=>{const A=t;if(!x||!z)return;const{list:P,lineBox:Y}=b[A(1846)]((Z,J)=>{const X=A;if(J.id!==D)return Z[X(962)][X(2049)](J),Z;let Q;if(J.material.type==="LINE"&&X(1829)in B&&B[X(1829)]!==void 0){const R=J[X(640)],re=B[X(1829)];Q={...R,...B,config:{...R.config||{},...re}}}else Q={...J[X(640)],...B};if(Q[X(638)]===X(915)){const{material:R,box:re}=V(z,Q);return Z[X(962)][X(2049)]({...J,material:R}),Z[X(1479)]=re,Z}return Z.list[X(2049)]({...J,material:Q}),Z},{list:[],lineBox:null});Y!==null?o(x,{normalStyle:{...z[A(1490)],x:Y.x,y:Y.y,width:Y[A(502)],height:Y.height},contentInfo:{...z[A(858)],statusList:P}}):a(x,{statusList:P})};return z?l[t(557)](t(1331),{className:"h-full flex flex-col bg-white border-l border-gray-200",children:[l[t(557)](t(1331),{className:t(951),children:[l[t(1970)]("h3",{className:t(1280),children:t(2027)}),l[t(1970)]("p",{className:"text-sm text-gray-500",children:t(612)})]}),l[t(1970)](t(1331),{className:t(559),children:l[t(557)](C[t(1793)],{activeKey:y,onChange:h,children:[l[t(1970)](Z0,{tab:"基础",children:l[t(557)](C[t(1034)],{form:d,layout:t(776),onValuesChange:k,initialValues:{name:z[t(1952)]},children:[l[t(1970)](C[t(1034)][t(865)],{label:t(579),name:t(1952),children:l[t(1970)](C[t(1434)],{placeholder:t(1835)})}),l[t(557)](C[t(971)],{ghost:!0,defaultActiveKey:[t(1400),t(2046),t(803)],children:[l[t(1970)](bn,{header:"位置",children:l[t(557)](C[t(1823)],{children:[l[t(1970)](C[t(1034)][t(865)],{label:"X",name:[t(1490),"x"],children:l[t(1970)](C[t(1612)],{})}),l[t(1970)](C[t(1034)][t(865)],{label:"Y",name:[t(1490),"y"],children:l[t(1970)](C[t(1612)],{})})]})},t(1400)),l.jsx(bn,{header:"尺寸",children:l[t(557)](C[t(1823)],{children:[l[t(1970)](C.Form[t(865)],{label:"宽度",name:[t(1490),"width"],children:l.jsx(C[t(1612)],{min:10})}),l[t(1970)](C[t(1034)][t(865)],{label:"高度",name:["normalStyle",t(1201)],children:l[t(1970)](C[t(1612)],{min:10})})]})},t(2046)),l[t(557)](bn,{header:"样式",children:[l[t(1970)](C.Form[t(865)],{label:t(2082),name:["normalStyle","background"],children:l.jsx(C[t(1434)],{placeholder:"transparent, #fff, url(...)"})}),l.jsx(C[t(1034)][t(865)],{label:t(893),name:[t(1490),t(1754)],children:l.jsx(C.InputNumber,{min:0})}),l[t(1970)](C.Form.Item,{label:"圆角",name:[t(1490),"borderRadius"],children:l[t(1970)](C[t(1612)],{min:0})}),l[t(1970)](C[t(1034)][t(865)],{label:t(1685),name:[t(1490),"scale"],help:t(1094),children:l.jsx(C.InputNumber,{min:.1,max:5,step:.1})}),l[t(1970)](C[t(1034)][t(865)],{label:t(2072),name:[t(1490),t(1706)],help:t(1232),children:l[t(1970)](C[t(1612)],{min:0,max:360,step:1})}),l[t(1970)](C[t(1034)][t(865)],{label:t(1968),name:["normalStyle","opacity"],children:l[t(1970)](C.InputNumber,{min:0,max:1,step:.1})}),l.jsx(C[t(1034)][t(865)],{label:"层级",name:[t(1490),t(2147)],children:l.jsx(C[t(1612)],{})})]},t(803))]})]})},t(867)),l[t(1970)](Z0,{tab:"状态",children:z.type==="group"&&z[t(513)]?l[t(1970)](Ss,{node:z,updateNode:o,materials:f}):l[t(557)](t(1331),{className:t(1114),children:[l.jsxs("div",{className:t(1936),children:[l[t(557)](t(1493),{className:t(452),children:[t(1242),l[t(1970)](C.Tag,{color:t(901),className:t(1480),children:b[t(1028)]})]}),l[t(1970)](C[t(1079)],{type:"primary",size:t(1436),icon:l[t(1970)](se[t(1091)],{}),onClick:G,children:t(436)})]}),l[t(1970)]("p",{className:t(1574),children:t(1894)}),b[t(1028)]>0&&l[t(1970)](t(1331),{className:t(1459),children:l[t(1970)](t(1331),{className:"flex items-center justify-between",children:l.jsxs(t(1331),{children:[l[t(1970)](t(1493),{className:t(1175),children:t(1002)}),l[t(1970)]("span",{className:"ml-2 text-sm font-medium text-blue-600",children:t(1562)})]})})}),b[t(1028)]===0?l[t(1970)](t(1331),{className:t(439),children:"暂无状态,点击上方按钮添加"}):l[t(1970)](C[t(971)],{ghost:!0,defaultActiveKey:b[0]?.id+x,children:b.map((D,B)=>l[t(1970)](bn,{header:l[t(557)](t(1331),{className:"flex items-center gap-2",children:[l[t(1970)](t(1493),{className:"text-xs text-gray-400 w-5",children:B+1}),l.jsx(t(1493),{className:"font-medium",children:D[t(1952)]}),l.jsx(C[t(657)],{color:t(1138),className:t(1702),children:D[t(640)][t(638)]})]}),extra:l.jsxs(C.Space,{size:t(1436),onClick:A=>A[t(471)](),children:[l[t(1970)](C[t(1079)],{type:"text",size:t(1436),icon:l[t(1970)](se.ArrowUpOutlined,{}),disabled:B===0,onClick:A=>{A[t(471)](),K(D.id,"up")}}),l[t(1970)](C[t(1079)],{type:t(1527),size:t(1436),icon:l.jsx(se.ArrowDownOutlined,{}),disabled:B===b[t(1028)]-1,onClick:A=>{const P=t;A.stopPropagation(),K(D.id,P(724))}}),l[t(1970)](C.Button,{type:"text",size:t(1436),icon:l[t(1970)](se[t(1645)],{}),onClick:A=>{A[t(471)](),F(D)}}),l[t(1970)](C[t(1079)],{type:"text",size:"small",danger:!0,icon:l[t(1970)](se[t(792)],{}),onClick:A=>{A[t(471)](),I(D.id)}})]}),children:l[t(557)](C[t(1034)],{layout:t(776),children:[l[t(1970)](C[t(1034)][t(865)],{label:"状态名称",children:l.jsx(C.Input,{value:D[t(1952)],onChange:A=>q(D.id,{name:A[t(819)][t(1429)]}),placeholder:t(1217)})}),l.jsx(er,{status:D,onUpdate:A=>q(D.id,A),onAppendToExpression:A=>{const P=t;w(Y=>({...Y,[D.id]:(Y[D.id]??D[P(541)])+A}))}}),l[t(1970)](C[t(1034)][t(865)],{label:t(2052),help:t(1555),children:l[t(1970)](_g,{value:M[D.id]??D[t(541)],onChange:A=>w(P=>({...P,[D.id]:A[t(819)][t(1429)]})),onBlur:A=>{const P=t;q(D.id,{expression:A[P(819)][P(1429)]}),w(Y=>{const Z={...Y};return delete Z[D.id],Z})},rows:3,placeholder:"return true;"})}),l.jsx(C[t(1034)][t(865)],{label:t(1908),children:l[t(557)]("div",{className:t(1358),children:[l[t(1970)](C.Tag,{color:t(901),children:D[t(640)].name}),l[t(1970)](C.Tag,{color:"default",children:D[t(640)][t(638)]}),l[t(1970)](C.Button,{type:t(1799),size:t(1436),icon:l[t(1970)](se[t(1026)],{}),onClick:()=>W(D.id),children:t(1441)})]})}),l.jsx(C[t(1494)],{style:{margin:t(1342)}}),l[t(557)]("div",{className:t(1267),children:[l[t(557)]("div",{className:"flex items-center justify-between mb-2",children:[l.jsx("span",{className:t(1693),children:t(1586)}),l[t(1970)](C[t(657)],{children:D[t(640)][t(1952)]})]}),l[t(1970)](nr,{material:D.material,onSave:A=>N(D.id,A),dataOptions:e||[]})]})]})},D.id+x))})]})},t(1035)),l[t(1970)](Z0,{tab:"控制",children:l[t(557)](C[t(1034)],{form:d,layout:"vertical",onValuesChange:k,children:[l[t(1970)](C[t(1034)].Item,{label:t(2073),name:[t(651),t(1343)],valuePropName:t(876),children:l[t(1970)](C[t(1926)],{})}),l[t(1970)](C[t(1034)][t(865)],{label:"可点击",name:[t(651),t(1367)],valuePropName:t(876),children:l[t(1970)](C[t(1926)],{})}),l.jsx(C[t(1034)][t(865)],{label:t(487),name:["controlInfo",t(1364)],valuePropName:t(876),children:l.jsx(C[t(1926)],{})}),l[t(1970)](C[t(1034)][t(865)],{label:t(1336),name:[t(651),"isSelectable"],valuePropName:t(876),children:l[t(1970)](C.Switch,{})})]})},t(655)),l[t(1970)](Z0,{tab:t(1447),children:l.jsx(Jg,{nodeId:z.id})},t(1957))]})}),l[t(1970)]("div",{className:t(1215),children:l[t(557)](t(1331),{className:t(1319),children:[l[t(557)](t(1331),{children:[t(1958),z.id[t(563)](0,8),t(577)]}),l.jsxs(t(1331),{children:[t(2133),b[t(1028)]]})]})}),l[t(1970)](C.Modal,{title:"选择物料",open:g,onCancel:()=>{m(!1),p(null)},footer:null,width:600,children:l[t(1970)]("div",{className:t(1070),children:l[t(557)](C[t(971)],{ghost:!0,defaultActiveKey:[t(867),"device",t(1527),t(1918)],children:[l[t(1970)](bn,{header:t(906),children:l[t(1970)]("div",{className:t(1873),children:f[t(1076)](D=>["矩形","圆形",t(829)][t(1931)](D[t(1952)]))[t(1001)](D=>l.jsx(cc,{material:D,onClick:()=>E(D)},D.id))})},t(867)),l[t(1970)](bn,{header:"设备图标",children:l.jsx(t(1331),{className:t(1873),children:f[t(1076)](D=>["阀门","泵","罐体"][t(1931)](D.name)||D[t(638)]===t(477)&&!["矩形","圆形",t(829)][t(1931)](D[t(1952)])).map(D=>l[t(1970)](cc,{material:D,onClick:()=>E(D)},D.id))})},t(738)),l[t(1970)](bn,{header:"文本",children:l[t(1970)]("div",{className:"grid grid-cols-4 gap-2",children:f[t(1076)](D=>D.type==="TEXT")[t(1001)](D=>l[t(557)](t(1331),{className:t(581),onClick:()=>E(D),children:[l[t(1970)](t(1331),{className:t(549),children:l[t(1970)](t(1493),{className:t(1122),children:"T"})}),l[t(1970)](t(1493),{className:t(1702),children:D[t(1952)]})]},D.id))})},t(1527)),l[t(1970)](bn,{header:"线条",children:l[t(1970)](t(1331),{className:t(1873),children:f[t(1076)](D=>D[t(638)]===t(915))[t(1001)](D=>l[t(557)](t(1331),{className:t(581),onClick:()=>E(D),children:[l[t(1970)]("div",{className:t(549),children:l[t(1970)](t(1331),{className:t(1151)})}),l[t(1970)](t(1493),{className:t(1702),children:D[t(1952)]})]},D.id))})},t(1918))]})})})]}):l.jsx("div",{className:t(1547),children:l[t(1970)](C[t(1345)],{description:"请选择一个节点"})})},cc=({material:e,onClick:t})=>{const n=c,x=e.type===n(477)?e.src:void 0;return l[n(557)]("div",{className:"border rounded-lg p-2 cursor-pointer hover:border-blue-500 hover:bg-blue-50 transition-all text-center",onClick:t,children:[l[n(1970)]("div",{className:n(1532),children:x?l[n(1970)](n(1353),{src:x,alt:e[n(1952)],className:n(1718)}):l.jsx("span",{className:n(1702),children:e[n(1952)][0]})}),l.jsx(n(1493),{className:n(1702),children:e[n(1952)]})]})},Qg="ConfigEditor-module__configEditor__dinNG",Fg={configEditor:Qg},sc=`{
11
- "speed": 0,
12
- "temp": 25,
13
- "nested": { "x": 1 }
14
- }`,lc=({open:e,onClose:t})=>{const n=c,{dataPool:x,addDataPoolItem:o,updateDataPoolItem:r,removeDataPoolItem:i}=Ee(),[a]=C[n(1034)][n(1044)](),[f,s]=L[n(1303)](null);L[n(1027)](()=>{const m=n;!e&&(s(null),a[m(1376)]())},[e,a]);const u=()=>{const m=n;s(m(2063)),a[m(1687)]({name:"数据集 "+(x[m(1028)]+1),sampleJson:sc[m(1619)]()})},d=m=>{const v=n;s(m.id),a.setFieldsValue({name:m[v(1952)],sampleJson:JSON[v(1613)](m[v(1183)]??{},null,2)})},y=m=>{const v=n,p=m.trim();if(!p)return{};const M=JSON.parse(p);if(M===null||typeof M!="object"||Array[v(1098)](M))throw new Error(v(1579));return M},h=()=>{const m=n;a[m(2062)]()[m(1548)](v=>{const p=m;let M;try{M=y(v[p(456)])}catch(z){C[p(494)][p(1738)](z instanceof Error?z[p(494)]:p(1976));return}const w=v[p(1952)].trim();if(!w){C[p(494)][p(1738)](p(919));return}f===p(2063)?(o({name:w,sample:M}),C[p(494)][p(1678)](p(1909))):f&&(r(f,{name:w,sample:M}),C[p(494)][p(1678)](p(930))),s(null),a[p(1376)]()}).catch(()=>{})},g=[{title:"名称",dataIndex:"name",key:n(1952)},{title:n(1694),key:n(1648),width:90,render:(m,v)=>Object[n(1648)](v.sample||{})[n(1028)]},{title:"操作",key:n(1052),width:160,render:(m,v)=>l[n(557)](C[n(1823)],{children:[l[n(1970)](C[n(1079)],{type:n(1799),size:n(1436),icon:l.jsx(se.EditOutlined,{}),onClick:()=>d(v),children:"编辑"}),l[n(1970)](C[n(1346)],{title:"删除该数据集?",description:n(1296),onConfirm:()=>{const p=n;i(v.id),C.message[p(1678)](p(667))},children:l[n(1970)](C[n(1079)],{type:n(1799),size:n(1436),danger:!0,icon:l[n(1970)](se.DeleteOutlined,{}),children:"删除"})})]})}];return l.jsxs(C[n(1990)],{title:n(864),open:e,onCancel:t,width:760,footer:null,destroyOnClose:!0,children:[l.jsxs("p",{className:n(1428),children:["每个数据集是一个 JSON 对象模板(Record)。状态绑定后,表达式签名为"," ",l[n(1970)](n(1368),{className:n(1998),children:n(1914)}),n(1475)]}),l[n(1970)](n(1331),{className:n(1430),children:l.jsx(C.Button,{type:n(617),icon:l[n(1970)](se[n(1091)],{}),onClick:u,children:n(981)})}),f&&l[n(557)](n(1331),{className:n(1925),children:[l[n(557)](n(1331),{className:n(481),children:[f===n(2063)?"新建":"编辑",n(1115)]}),l[n(557)](C[n(1034)],{form:a,layout:n(776),children:[l[n(1970)](C[n(1034)][n(865)],{name:n(1952),label:"名称",rules:[{required:!0,message:"必填"}],children:l[n(1970)](C[n(1434)],{placeholder:"如:电机测点集"})}),l.jsx(C.Form.Item,{name:n(456),label:n(1592),rules:[{required:!0,message:"必填"}],children:l[n(1970)](C[n(1434)][n(1200)],{rows:10,className:n(1664),placeholder:sc})}),l[n(557)](C[n(1823)],{children:[l[n(1970)](C[n(1079)],{type:n(617),onClick:h,children:"保存"}),l[n(1970)](C[n(1079)],{onClick:()=>{const m=n;s(null),a[m(1376)]()},children:"取消"})]})]})]}),l[n(1970)](C[n(2172)],{size:n(1436),rowKey:"id",dataSource:x,columns:g,pagination:!1,locale:{emptyText:n(844)}})]})},{Header:$g,Sider:dc,Content:eh}=C[c(960)],nh=({initialScheme:e,onChange:t,readonly:n=!1,headerExtra:x,className:o="",style:r,showHeader:i=!0,showMaterialPanel:a=!0,showPropertyPanel:f=!0,customMaterials:s,initialDataPool:u,initialEventFlow:d,externalEventActions:y,defaultTestData:h})=>{const g=c,[m,v]=L[g(1303)](!1),[p,M]=L.useState(!1),[w,z]=L[g(1303)](""),[b]=L[g(1303)](()=>[{paramsCode:"001",paramsName:g(1050),value:25,paramsUnit:g(1912)},{paramsCode:g(1063),paramsName:g(483),value:1.5,paramsUnit:g(1665)}]),k=h!==void 0?h:b,G=i&&!n,{exportScheme:E,importScheme:I,nodes:q,materials:F,dataPool:K,eventFlow:W,root:V,addMaterial:N,setDataPool:D,setEventFlow:B,setExternalHandlerCatalog:A}=Ee();L[g(1713)](null);const P=L.useRef(!1);L[g(1027)](()=>{const Q=g;if(!P[Q(787)]&&(P[Q(787)]=!0,F[Q(1028)]===0&&bo[Q(1068)](R=>N(R)),s&&s[Q(1028)]>0&&s.forEach(R=>N(R)),e&&I(e),d!==void 0&&B(d),y&&y.length>0)){A(y);const R={};for(const re of y){const ee=String(re[Q(1101)]??"")[Q(1619)]();ee&&re[Q(548)]&&(R[ee]=re[Q(548)])}Object[Q(1648)](R).length>0&&_n[Q(1512)]({external:R})}},[]),L[g(1027)](()=>{u!==void 0&&D(u)},[u,D]),L.useEffect(()=>{if(t){const Q=E();t(Q)}},[q,F,K,W,V,t,E]);const Y=L[g(1020)](()=>{const Q=g,R=E(),re=JSON.stringify(R,null,2),ee=Q(1929)+encodeURIComponent(re),ae="scheme_"+Date.now()+Q(1051),ie=document.createElement("a");ie[Q(690)](Q(1508),ee),ie.setAttribute(Q(1022),ae),ie[Q(2034)](),C[Q(494)].success("导出成功!")},[E]),Z=L[g(1020)](()=>{const Q=g;try{const R=JSON[Q(1753)](w);I(R),v(!1),z(""),C[Q(494)].success(Q(1911))}catch{C.message.error(Q(2003))}},[w,I]),J=L[g(1020)](Q=>{const R=g,re=new FileReader;return re[R(1420)]=ee=>{const ae=R;try{const ie=ee[ae(819)]?.[ae(1e3)],S=JSON.parse(ie);I(S),C.message[ae(1678)](ae(1911)),v(!1)}catch{C[ae(494)].error("文件格式错误")}},re[R(1172)](Q),!1},[I]),X=L[g(1020)](()=>E(),[E]);return L[g(535)](L[g(1713)]?.(),()=>({getScheme:X,exportScheme:E,importScheme:I}),[X,E,I]),l[g(1970)](C[g(1314)],{locale:Mc,children:l[g(1970)](g(1331),{className:Fg[g(1288)],style:r,children:l.jsxs(C[g(960)],{className:g(2050)+o,children:[G&&l[g(557)]($g,{className:g(1877),children:[l[g(557)](g(1331),{className:g(726),children:[l[g(1970)](g(1331),{className:g(1246),children:g(978)}),l.jsxs(g(1331),{className:"text-sm text-gray-500",children:[q.length,g(897)]})]}),l[g(557)](C.Space,{children:[x,!n&&l[g(557)](l.Fragment,{children:[l[g(1970)](C[g(1384)],{title:g(686),children:l[g(1970)](C.Button,{icon:l[g(1970)](se.DownloadOutlined,{}),onClick:Y,children:"导出"})}),l[g(1970)](C[g(1384)],{title:g(567),children:l[g(1970)](C.Button,{icon:l[g(1970)](se[g(1568)],{}),onClick:()=>v(!0),children:"导入"})}),l[g(1970)](C.Tooltip,{title:"节点状态用的数据集(与事件流无关)",children:l[g(1970)](C[g(1079)],{icon:l[g(1970)](se[g(1558)],{}),onClick:()=>M(!0),children:"数据池"})})]})]})]}),l[g(557)](C[g(960)],{children:[a&&!n&&l[g(1970)](dc,{width:280,className:g(464),theme:g(1320),children:l.jsx(Co,{})}),l[g(1970)](eh,{className:"bg-gray-100 relative",children:l.jsx($o,{defaultTestData:k,readonly:n})}),f&&!n&&l[g(1970)](dc,{width:360,className:g(464),theme:g(1320),children:l.jsx(ac,{defaultTestData:Array[g(1098)](k)?k:void 0})})]}),l[g(1970)](lc,{open:p,onClose:()=>M(!1)}),l[g(1970)](C[g(1990)],{title:g(890),open:m,onOk:Z,onCancel:()=>{v(!1),z("")},width:600,children:l[g(557)](g(1331),{className:"space-y-4",children:[l[g(557)]("div",{children:[l[g(1970)]("p",{className:g(616),children:"选择 JSON 文件导入:"}),l[g(1970)]("input",{type:"file",accept:g(1051),onChange:Q=>{const R=g,re=Q[R(819)].files?.[0];re&&J(re)},className:g(784)})]}),l[g(1970)]("div",{className:g(1127),children:"或"}),l[g(557)](g(1331),{children:[l[g(1970)]("p",{className:"mb-2",children:g(2128)}),l.jsx("textarea",{value:w,onChange:Q=>z(Q.target[g(1429)]),placeholder:"粘贴 JSON 内容...",className:g(1301)})]})]})})]})})})};pe[c(650)]=$o,pe[c(1828)]=nh,pe[c(1757)]=lc,pe[c(1042)]=_o,pe[c(732)]=Co,pe[c(1338)]=sx,pe[c(1948)]=ac,pe[c(1759)]=yo,pe[c(1058)]=ho,pe[c(1899)]=zo,pe[c(955)]=ex,pe[c(1189)]=F0,pe[c(730)]=_n,pe[c(585)]=mo,pe[c(1650)]=bo,pe[c(1997)]=Ee,Object[c(1388)](pe,Symbol[c(993)],{value:"Module"})});
8
+ +`).split(`
9
+ `)),b=d[s(838)]((g,y)=>g[s(1565)](...y),[]);return[d,b]}return[[],[]]},[e]);return N[n(502)](()=>{const s=n,u=t?.target??ic,d=t?.actInsideInputWithModifier??!0;if(e!==null){const b=h=>{const m=_0x4f97;if(r[m(1189)]=h[m(867)]||h[m(492)]||h[m(977)]||h[m(331)],(!r.current||r[m(1189)]&&!d)&&fi(h))return!1;const p=ac(h.code,f);if(i[m(1189)].add(h[p]),cc(c,i.current,!1)){const v=h[m(683)]?.()?.[0]||h.target,w=v?.[m(1710)]===m(1378)||v?.[m(1710)]==="A";t[m(1206)]!==!1&&(r[m(1189)]||!w)&&h[m(1206)](),o(!0)}},g=h=>{const m=_0x4f97,M=ac(h.code,f);cc(c,i[m(1189)],!0)?(o(!1),i[m(1189)].clear()):i.current[m(656)](h[M]),h.key==="Meta"&&i[m(1189)][m(1972)](),r[m(1189)]=!1},y=()=>{const h=_0x4f97;i.current[h(1972)](),o(!1)};return u?.addEventListener(s(1184),b),u?.[s(973)](s(269),g),window[s(973)](s(898),y),window[s(973)](s(1038),y),()=>{const h=s;u?.[h(1045)](h(1184),b),u?.[h(1045)]("keyup",g),window[h(1045)]("blur",y),window[h(1045)](h(1038),y)}}},[e,o]),x}function cc(e,t,n){const x=a;return e[x(990)](o=>n||o.length===t[x(1370)])[x(515)](o=>o.every(r=>t[x(1913)](r)))}function ac(e,t){return t.includes(e)?"code":"key"}const O1=()=>{const e=a,t=Ne();return N[e(449)](()=>{const n=e;return{zoomIn:x=>{const o=_0x4f97,{panZoom:r}=t[o(1277)]();return r?r.scaleBy(1.2,x):Promise.resolve(!1)},zoomOut:x=>{const o=_0x4f97,{panZoom:r}=t[o(1277)]();return r?r[o(1455)](1/1.2,x):Promise.resolve(!1)},zoomTo:(x,o)=>{const r=_0x4f97,{panZoom:i}=t.getState();return i?i[r(1866)](x,o):Promise[r(1018)](!1)},getZoom:()=>t[n(1277)]()[n(1958)][2],setViewport:async(x,o)=>{const r=n,{transform:[i,c,f],panZoom:s}=t[r(1277)]();return s?(await s[r(377)]({x:x.x??i,y:x.y??c,zoom:x[r(1069)]??f},o),Promise[r(1018)](!0)):Promise[r(1018)](!1)},getViewport:()=>{const x=n,[o,r,i]=t[x(1277)]().transform;return{x:o,y:r,zoom:i}},setCenter:async(x,o,r)=>t[n(1277)]().setCenter(x,o,r),fitBounds:async(x,o)=>{const r=n,{width:i,height:c,minZoom:f,maxZoom:s,panZoom:u}=t[r(1277)](),d=Ix(x,i,c,f,s,o?.[r(1651)]??.1);return u?(await u[r(377)](d,{duration:o?.[r(1294)],ease:o?.ease,interpolate:o?.[r(1068)]}),Promise[r(1018)](!0)):Promise.resolve(!1)},screenToFlowPosition:(x,o={})=>{const r=n,{transform:i,snapGrid:c,snapToGrid:f,domNode:s}=t[r(1277)]();if(!s)return x;const{x:u,y:d}=s[r(447)](),b={x:x.x-u,y:x.y-d},g=o[r(807)]??c,y=o.snapToGrid??f;return Ht(b,i,y,g)},flowToScreenPosition:x=>{const o=n,{transform:r,domNode:i}=t[o(1277)]();if(!i)return x;const{x:c,y:f}=i[o(447)](),s=I0(x,r);return{x:s.x+c,y:s.y+f}}}},[])};function sc(e,t){const n=a,x=[],o=new Map,r=[];for(const i of e)if(i[n(2009)]===n(284)){r[n(1374)](i);continue}else if(i.type===n(1577)||i[n(2009)]===n(1271))o[n(1759)](i.id,[i]);else{const c=o[n(1077)](i.id);c?c[n(1374)](i):o[n(1759)](i.id,[i])}for(const i of t){const c=o.get(i.id);if(!c){x[n(1374)](i);continue}if(c[0][n(2009)]==="remove")continue;if(c[0][n(2009)]===n(1271)){x[n(1374)]({...c[0][n(1570)]});continue}const f={...i};for(const s of c)G1(s,f);x[n(1374)](f)}return r.length&&r[n(935)](i=>{const c=n;i[c(1224)]!==void 0?x[c(652)](i[c(1224)],0,{...i[c(1570)]}):x.push({...i[c(1570)]})}),x}function G1(e,t){const n=a;switch(e[n(2009)]){case n(495):{t[n(1480)]=e[n(1480)];break}case n(1690):{typeof e[n(1690)]!==n(1416)&&(t[n(1690)]=e[n(1690)]),typeof e.dragging!==n(1416)&&(t[n(1984)]=e[n(1984)]);break}case n(1426):{typeof e.dimensions<"u"&&(t[n(330)]={...e[n(1426)]},e.setAttributes&&((e[n(1310)]===!0||e.setAttributes===n(1030))&&(t[n(1030)]=e.dimensions[n(1030)]),(e.setAttributes===!0||e[n(1310)]===n(1517))&&(t[n(1517)]=e.dimensions.height))),typeof e.resizing===n(1443)&&(t[n(1915)]=e[n(1915)]);break}}}function lc(e,t){return sc(e,t)}function dc(e,t){return sc(e,t)}function Gn(e,t){return{id:e,type:"select",selected:t}}function st(e,t=new Set,n=!1){const x=a,o=[];for(const[r,i]of e){const c=t[x(1913)](r);!(i[x(1480)]===void 0&&!c)&&i[x(1480)]!==c&&(n&&(i.selected=c),o.push(Gn(i.id,c)))}return o}function uc({items:e=[],lookup:t}){const n=a,x=[],o=new Map(e.map(r=>[r.id,r]));for(const[r,i]of e.entries()){const c=t[n(1077)](i.id),f=c?.[n(1130)]?.[n(595)]??c;f!==void 0&&f!==i&&x[n(1374)]({id:i.id,item:i,type:"replace"}),f===void 0&&x[n(1374)]({item:i,type:n(284),index:r})}for(const[r]of t)o.get(r)===void 0&&x[n(1374)]({id:r,type:n(1577)});return x}function fc(e){const t=a;return{id:e.id,type:t(1577)}}const hc=e=>lf(e),H1=e=>ni(e);function bc(e){return N.forwardRef(e)}function gc(e){const[t,n]=N.useState(BigInt(0)),[x]=N.useState(()=>V1(()=>n(o=>o+BigInt(1))));return _x(()=>{const o=_0x4f97,r=x[o(1077)]();r.length&&(e(r),x[o(414)]())},[t]),x}function V1(e){let t=[];return{get:()=>t,reset:()=>{t=[]},push:n=>{t[_0x4f97(1374)](n),e()}}}const yc=N[a(1957)](null);function T1({children:e}){const t=a,n=Ne(),x=N[t(1942)](f=>{const s=t,{nodes:u=[],setNodes:d,hasDefaultNodes:b,onNodesChange:g,nodeLookup:y,fitViewQueued:h,onNodesChangeMiddlewareMap:m}=n.getState();let M=u;for(const v of f)M=typeof v===s(758)?v(M):v;let p=uc({items:M,lookup:y});for(const v of m.values())p=v(p);b&&d(M),p[s(1470)]>0?g?.(p):h&&window[s(1938)](()=>{const v=s,{fitViewQueued:w,nodes:C,setNodes:P}=n[v(1277)]();w&&P(C)})},[]),o=gc(x),r=N.useCallback(f=>{const s=t,{edges:u=[],setEdges:d,hasDefaultEdges:b,onEdgesChange:g,edgeLookup:y}=n[s(1277)]();let h=u;for(const m of f)h=typeof m=="function"?m(h):m;b?d(h):g&&g(uc({items:h,lookup:y}))},[]),i=gc(r),c=N[t(449)](()=>({nodeQueue:o,edgeQueue:i}),[]);return l.jsx(yc[t(904)],{value:c,children:e})}function q1(){const e=a,t=N.useContext(yc);if(!t)throw new Error(e(1270));return t}const W1=e=>!!e[a(1134)];function Fx(){const e=a,t=O1(),n=Ne(),x=q1(),o=Ce(W1),r=N[e(449)](()=>{const i=e,c=g=>n[i(1277)]()[i(1615)][i(1077)](g),f=g=>{x[i(1176)].push(g)},s=g=>{x[i(437)].push(g)},u=g=>{const y=i,{nodeLookup:h,nodeOrigin:m}=n[y(1277)](),M=hc(g)?g:h.get(g.id),p=M[y(1932)]?li(M[y(1690)],M.measured,M[y(1932)],h,m):M[y(1690)],v={...M,position:p,width:M[y(330)]?.width??M[y(1030)],height:M.measured?.[y(1517)]??M[y(1517)]};return ot(v)},d=(g,y,h={replace:!1})=>{f(m=>m.map(M=>{const p=_0x4f97;if(M.id===g){const v=typeof y=="function"?y(M):y;return h[p(1271)]&&hc(v)?v:{...M,...v}}return M}))},b=(g,y,h={replace:!1})=>{const m=i;s(M=>M[m(539)](p=>{const v=m;if(p.id===g){const w=typeof y===v(758)?y(p):y;return h[v(1271)]&&H1(w)?w:{...p,...w}}return p}))};return{getNodes:()=>n.getState().nodes[i(539)](g=>({...g})),getNode:g=>c(g)?.internals[i(595)],getInternalNode:c,getEdges:()=>{const g=i,{edges:y=[]}=n[g(1277)]();return y[g(539)](h=>({...h}))},getEdge:g=>n.getState()[i(1212)][i(1077)](g),setNodes:f,setEdges:s,addNodes:g=>{const y=i,h=Array.isArray(g)?g:[g];x[y(1176)].push(m=>[...m,...h])},addEdges:g=>{const y=i,h=Array.isArray(g)?g:[g];x[y(437)][y(1374)](m=>[...m,...h])},toObject:()=>{const g=i,{nodes:y=[],edges:h=[],transform:m}=n[g(1277)](),[M,p,v]=m;return{nodes:y[g(539)](w=>({...w})),edges:h[g(539)](w=>({...w})),viewport:{x:M,y:p,zoom:v}}},deleteElements:async({nodes:g=[],edges:y=[]})=>{const h=i,{nodes:m,edges:M,onNodesDelete:p,onEdgesDelete:v,triggerNodeChanges:w,triggerEdgeChanges:C,onDelete:P,onBeforeDelete:A}=n[h(1277)](),{nodes:G,edges:j}=await bf({nodesToRemove:g,edgesToRemove:y,nodes:m,edges:M,onBeforeDelete:A}),q=j.length>0,F=G[h(1470)]>0;if(q){const Z=j[h(539)](fc);v?.(j),C(Z)}if(F){const Z=G[h(539)](fc);p?.(G),w(Z)}return(F||q)&&P?.({nodes:G,edges:j}),{deletedNodes:G,deletedEdges:j}},getIntersectingNodes:(g,y=!0,h)=>{const m=i,M=ci(g),p=M?g:u(g),v=h!==void 0;return p?(h||n[m(1277)]()[m(362)]).filter(w=>{const C=m,P=n.getState().nodeLookup.get(w.id);if(P&&!M&&(w.id===g.id||!P[C(1130)][C(1256)]))return!1;const A=ot(v?w:P),G=Ot(A,p);return y&&G>0||G>=A.width*A.height||G>=p[C(1030)]*p[C(1517)]}):[]},isNodeIntersecting:(g,y,h=!0)=>{const m=i,M=ci(g),p=M?g:u(g);if(!p)return!1;const v=Ot(p,y);return h&&v>0||v>=y[m(1030)]*y.height||v>=p[m(1030)]*p[m(1517)]},updateNode:d,updateNodeData:(g,y,h={replace:!1})=>{d(g,m=>{const M=_0x4f97,p=typeof y===M(758)?y(m):y;return h[M(1271)]?{...m,data:p}:{...m,data:{...m[M(420)],...p}}},h)},updateEdge:b,updateEdgeData:(g,y,h={replace:!1})=>{b(g,m=>{const M=_0x4f97,p=typeof y===M(758)?y(m):y;return h[M(1271)]?{...m,data:p}:{...m,data:{...m[M(420)],...p}}},h)},getNodesBounds:g=>{const y=i,{nodeLookup:h,nodeOrigin:m}=n[y(1277)]();return df(g,{nodeLookup:h,nodeOrigin:m})},getHandleConnections:({type:g,id:y,nodeId:h})=>Array[i(602)](n[i(1277)]().connectionLookup.get(h+"-"+g+(y?"-"+y:""))?.values()??[]),getNodeConnections:({type:g,handleId:y,nodeId:h})=>Array[i(602)](n[i(1277)]()[i(727)][i(1077)](""+h+(g?y?"-"+g+"-"+y:"-"+g:""))?.values()??[]),fitView:async g=>{const y=i,h=n[y(1277)]().fitViewResolver??mf();return n[y(1665)]({fitViewQueued:!0,fitViewOptions:g,fitViewResolver:h}),x.nodeQueue[y(1374)](m=>[...m]),h[y(1550)]}}},[]);return N[e(449)](()=>({...r,...t,viewportInitialized:o}),[o])}const mc=e=>e.selected,X1=typeof window!==a(1416)?window:void 0;function K1({deleteKeyCode:e,multiSelectionKeyCode:t}){const n=a,x=Ne(),{deleteElements:o}=Fx(),r=qt(e,{actInsideInputWithModifier:!1}),i=qt(t,{target:X1});N.useEffect(()=>{const c=_0x4f97;if(r){const{edges:f,nodes:s}=x.getState();o({nodes:s[c(990)](mc),edges:f[c(990)](mc)}),x[c(1665)]({nodesSelectionActive:!1})}},[r]),N[n(502)](()=>{x[n(1665)]({multiSelectionActive:i})},[i])}function Z1(e){const t=a,n=Ne();N[t(502)](()=>{const x=t,o=()=>{const r=_0x4f97;if(!e[r(1189)]||!(e[r(1189)][r(302)]?.()??!0))return!1;const i=Yx(e[r(1189)]);(i[r(1517)]===0||i[r(1030)]===0)&&n[r(1277)]().onError?.(r(1654),qe[r(314)]()),n[r(1665)]({width:i[r(1030)]||500,height:i[r(1517)]||500})};if(e.current){o(),window[x(973)]("resize",o);const r=new ResizeObserver(()=>o());return r[x(734)](e[x(1189)]),()=>{const i=x;window[i(1045)](i(478),o),r&&e[i(1189)]&&r[i(1168)](e[i(1189)])}}},[])}const V0={position:"absolute",width:"100%",height:"100%",top:0,left:0},R1=e=>({userSelectionActive:e[a(468)],lib:e[a(899)],connectionInProgress:e[a(1584)][a(1667)]});function J1({onPaneContextMenu:e,zoomOnScroll:t=!0,zoomOnPinch:n=!0,panOnScroll:x=!1,panOnScrollSpeed:o=.5,panOnScrollMode:r=En.Free,zoomOnDoubleClick:i=!0,panOnDrag:c=!0,defaultViewport:f,translateExtent:s,minZoom:u,maxZoom:d,zoomActivationKeyCode:b,preventScrolling:g=!0,children:y,noWheelClassName:h,noPanClassName:m,onViewportChange:M,isControlledViewport:p,paneClickDistance:v,selectionOnDrag:w}){const C=a,P=Ne(),A=N.useRef(null),{userSelectionActive:G,lib:j,connectionInProgress:q}=Ce(R1,Le),F=qt(b),Z=N.useRef();Z1(A);const W=N.useCallback(V=>{const L=_0x4f97;M?.({x:V[0],y:V[1],zoom:V[2]}),!p&&P[L(1665)]({transform:V})},[M,p]);return N[C(502)](()=>{const V=C;if(A[V(1189)]){Z[V(1189)]=e1({domNode:A[V(1189)],minZoom:u,maxZoom:d,translateExtent:s,viewport:f,onDraggingChange:Y=>P[V(1665)](I=>I.paneDragging===Y?I:{paneDragging:Y}),onPanZoomStart:(Y,I)=>{const k=V,{onViewportChangeStart:R,onMoveStart:J}=P[k(1277)]();J?.(Y,I),R?.(I)},onPanZoom:(Y,I)=>{const{onViewportChange:k,onMove:R}=P.getState();R?.(Y,I),k?.(I)},onPanZoomEnd:(Y,I)=>{const{onViewportChangeEnd:k,onMoveEnd:R}=P.getState();R?.(Y,I),k?.(I)}});const{x:L,y:D,zoom:B}=Z.current[V(1129)]();return P[V(1665)]({panZoom:Z[V(1189)],transform:[L,D,B],domNode:A[V(1189)].closest(V(531))}),()=>{const Y=V;Z.current?.[Y(626)]()}}},[]),N.useEffect(()=>{const V=C;Z[V(1189)]?.[V(1117)]({onPaneContextMenu:e,zoomOnScroll:t,zoomOnPinch:n,panOnScroll:x,panOnScrollSpeed:o,panOnScrollMode:r,zoomOnDoubleClick:i,panOnDrag:c,zoomActivationKeyPressed:F,preventScrolling:g,noPanClassName:m,userSelectionActive:G,noWheelClassName:h,lib:j,onTransformChange:W,connectionInProgress:q,selectionOnDrag:w,paneClickDistance:v})},[e,t,n,x,o,r,i,c,F,g,m,G,h,j,W,q,w,v]),l[C(1848)](C(1929),{className:"react-flow__renderer",ref:A,style:V0,children:y})}const _1=e=>({userSelectionActive:e[a(468)],userSelectionRect:e[a(1581)]});function F1(){const e=a,{userSelectionActive:t,userSelectionRect:n}=Ce(_1,Le);return t&&n?l.jsx("div",{className:e(1243),style:{width:n[e(1030)],height:n[e(1517)],transform:"translate("+n.x+"px, "+n.y+e(1622)}}):null}const Qx=(e,t)=>n=>{const x=_0x4f97;n[x(983)]===t[x(1189)]&&e?.(n)},Q1=e=>({userSelectionActive:e[a(468)],elementsSelectable:e[a(1e3)],connectionInProgress:e.connection[a(1667)],dragging:e[a(543)]});function $1({isSelecting:e,selectionKeyPressed:t,selectionMode:n=At[a(1435)],panOnDrag:x,paneClickDistance:o,selectionOnDrag:r,onSelectionStart:i,onSelectionEnd:c,onPaneClick:f,onPaneContextMenu:s,onPaneScroll:u,onPaneMouseEnter:d,onPaneMouseMove:b,onPaneMouseLeave:g,children:y}){const h=a,m=Ne(),{userSelectionActive:M,elementsSelectable:p,dragging:v,connectionInProgress:w}=Ce(Q1,Le),C=p&&(e||M),P=N[h(840)](null),A=N[h(840)](),G=N.useRef(new Set),j=N[h(840)](new Set),q=N[h(840)](!1),F=I=>{const k=h;if(q.current||w){q.current=!1;return}f?.(I),m[k(1277)]()[k(1286)](),m.setState({nodesSelectionActive:!1})},Z=I=>{const k=h;if(Array[k(1670)](x)&&x?.[k(2010)](2)){I[k(1206)]();return}s?.(I)},W=u?I=>u(I):void 0,V=I=>{const k=h;q[k(1189)]&&(I[k(826)](),q[k(1189)]=!1)},L=I=>{const k=h,{domNode:R}=m[k(1277)]();if(A.current=R?.[k(447)](),!A[k(1189)])return;const J=I[k(983)]===P[k(1189)];if(!J&&!!I[k(983)][k(1219)](k(1383))||!e||!(r&&J||t)||I[k(1558)]!==0||!I[k(1831)])return;I[k(983)]?.[k(1029)]?.(I[k(1990)]),q.current=!1;const{x:K,y:te}=Qe(I[k(1756)],A[k(1189)]);m[k(1665)]({userSelectionRect:{width:0,height:0,startX:K,startY:te,x:K,y:te}}),!J&&(I.stopPropagation(),I[k(1206)]())},D=I=>{const k=h,{userSelectionRect:R,transform:J,nodeLookup:X,edgeLookup:ne,connectionLookup:K,triggerNodeChanges:te,triggerEdgeChanges:$,defaultEdgeOptions:ce,resetSelectedElements:ie}=m.getState();if(!A[k(1189)]||!R)return;const{x:S,y:U}=Qe(I[k(1756)],A[k(1189)]),{startX:_,startY:H}=R;if(!q.current){const se=t?0:o;if(Math[k(651)](S-_,U-H)<=se)return;ie(),i?.(I)}q[k(1189)]=!0;const O={startX:_,startY:H,x:S<_?S:_,y:U<H?U:H,width:Math[k(1511)](S-_),height:Math[k(1511)](U-H)},ee=G[k(1189)],de=j.current;G[k(1189)]=new Set(kx(X,O,J,n===At[k(1041)],!0).map(se=>se.id)),j[k(1189)]=new Set;const ye=ce?.[k(814)]??!0;for(const se of G[k(1189)]){const he=K[k(1077)](se);if(he)for(const{edgeId:pe}of he[k(1074)]()){const be=ne[k(1077)](pe);be&&(be[k(814)]??ye)&&j[k(1189)][k(284)](pe)}}if(!di(ee,G[k(1189)])){const se=st(X,G[k(1189)],!0);te(se)}if(!di(de,j[k(1189)])){const se=st(ne,j[k(1189)]);$(se)}m[k(1665)]({userSelectionRect:O,userSelectionActive:!0,nodesSelectionActive:!1})},B=I=>{const k=h;I[k(1558)]===0&&(I[k(983)]?.[k(1862)]?.(I[k(1990)]),!M&&I[k(983)]===P[k(1189)]&&m[k(1277)]()[k(1581)]&&F?.(I),m[k(1665)]({userSelectionActive:!1,userSelectionRect:null}),q.current&&(c?.(I),m.setState({nodesSelectionActive:G[k(1189)][k(1370)]>0})))},Y=x===!0||Array[h(1670)](x)&&x.includes(0);return l[h(272)](h(1929),{className:Pe([h(1036),{draggable:Y,dragging:v,selection:e}]),onClick:C?void 0:Qx(F,P),onContextMenu:Qx(Z,P),onWheel:Qx(W,P),onPointerEnter:C?void 0:d,onPointerMove:C?D:b,onPointerUp:C?B:void 0,onPointerDownCapture:C?L:void 0,onClickCapture:C?V:void 0,onPointerLeave:g,ref:P,style:V0,children:[y,l.jsx(F1,{})]})}function $x({id:e,store:t,unselect:n=!1,nodeRef:x}){const o=a,{addSelectedNodes:r,unselectNodesAndEdges:i,multiSelectionActive:c,nodeLookup:f,onError:s}=t[o(1277)](),u=f.get(e);if(!u){s?.(o(1044),qe[o(471)](e));return}t[o(1665)]({nodesSelectionActive:!1}),u.selected?(n||u[o(1480)]&&c)&&(i({nodes:[u],edges:[]}),requestAnimationFrame(()=>x?.[o(1189)]?.blur())):r([e])}function wc({nodeRef:e,disabled:t=!1,noDragClassName:n,handleSelector:x,nodeId:o,isSelectable:r,nodeClickDistance:i}){const c=a,f=Ne(),[s,u]=N[c(1641)](!1),d=N[c(840)]();return N[c(502)](()=>{d.current=Hf({getStoreItems:()=>f.getState(),onNodeMouseDown:b=>{$x({id:b,store:f,nodeRef:e})},onDragStart:()=>{u(!0)},onDragStop:()=>{u(!1)}})},[]),N[c(502)](()=>{const b=c;if(!(t||!e[b(1189)]||!d[b(1189)]))return d[b(1189)][b(1117)]({noDragClassName:n,handleSelector:x,domNode:e[b(1189)],isSelectable:r,nodeId:o,nodeClickDistance:i}),()=>{const g=b;d[g(1189)]?.[g(626)]()}},[n,x,t,r,e,o,i]),s}const e5=e=>t=>t[a(1480)]&&(t.draggable||e&&typeof t.draggable===a(1416));function vc(){const e=a,t=Ne();return N[e(1942)](x=>{const o=e,{nodeExtent:r,snapToGrid:i,snapGrid:c,nodesDraggable:f,onError:s,updateNodePositions:u,nodeLookup:d,nodeOrigin:b}=t[o(1277)](),g=new Map,y=e5(f),h=i?c[0]:5,m=i?c[1]:5,M=x[o(641)].x*h*x[o(1927)],p=x.direction.y*m*x.factor;for(const[,v]of d){if(!y(v))continue;let w={x:v[o(1130)][o(1256)].x+M,y:v.internals[o(1256)].y+p};i&&(w=Gt(w,c));const{position:C,positionAbsolute:P}=ti({nodeId:v.id,nextPosition:w,nodeLookup:d,nodeExtent:r,nodeOrigin:b,onError:s});v[o(1690)]=C,v[o(1130)][o(1256)]=P,g.set(v.id,v)}u(g)},[])}const eo=N.createContext(null),n5=eo[a(904)];eo[a(528)];const pc=()=>N[a(941)](eo),t5=e=>({connectOnClick:e.connectOnClick,noPanClassName:e.noPanClassName,rfId:e[a(1590)]}),x5=(e,t,n)=>x=>{const o=a,{connectionClickStartHandle:r,connectionMode:i,connection:c}=x,{fromHandle:f,toHandle:s,isValid:u}=c,d=s?.[o(625)]===e&&s?.id===t&&s?.[o(2009)]===n;return{connectingFrom:f?.[o(625)]===e&&f?.id===t&&f?.[o(2009)]===n,connectingTo:d,clickConnecting:r?.nodeId===e&&r?.id===t&&r?.type===n,isPossibleEndHandle:i===tt.Strict?f?.[o(2009)]!==n:e!==f?.[o(625)]||t!==f?.id,connectionInProcess:!!f,clickConnectionInProcess:!!r,valid:d&&u}};function o5({type:e="source",position:t=ue.Top,isValidConnection:n,isConnectable:x=!0,isConnectableStart:o=!0,isConnectableEnd:r=!0,id:i,onConnect:c,children:f,className:s,onMouseDown:u,onTouchStart:d,...b},g){const y=a,h=i||null,m=e===y(983),M=Ne(),p=pc(),{connectOnClick:v,noPanClassName:w,rfId:C}=Ce(t5,Le),{connectingFrom:P,connectingTo:A,clickConnecting:G,isPossibleEndHandle:j,connectionInProcess:q,clickConnectionInProcess:F,valid:Z}=Ce(x5(p,h,e),Le);!p&&M[y(1277)]().onError?.("010",qe.error010());const W=D=>{const B=y,{defaultEdgeOptions:Y,onConnect:I,hasDefaultEdges:k}=M[B(1277)](),R={...Y,...D};if(k){const{edges:J,setEdges:X}=M.getState();X(vi(R,J))}I?.(R),c?.(R)},V=D=>{const B=y;if(!p)return;const Y=hi(D[B(1756)]);if(o&&(Y&&D.button===0||!Y)){const I=M[B(1277)]();qx[B(1338)](D[B(1756)],{handleDomNode:D.currentTarget,autoPanOnConnect:I.autoPanOnConnect,connectionMode:I[B(1666)],connectionRadius:I[B(452)],domNode:I[B(1173)],nodeLookup:I[B(1615)],lib:I[B(899)],isTarget:m,handleId:h,nodeId:p,flowId:I[B(1590)],panBy:I.panBy,cancelConnection:I.cancelConnection,onConnectStart:I[B(1387)],onConnectEnd:(...k)=>M.getState()[B(1986)]?.(...k),updateConnection:I[B(668)],onConnect:W,isValidConnection:n||((...k)=>M[B(1277)]()[B(367)]?.(...k)??!0),getTransform:()=>M[B(1277)]().transform,getFromHandle:()=>M[B(1277)]()[B(1584)].fromHandle,autoPanSpeed:I[B(1324)],dragThreshold:I.connectionDragThreshold})}Y?u?.(D):d?.(D)},L=D=>{const B=y,{onClickConnectStart:Y,onClickConnectEnd:I,connectionClickStartHandle:k,connectionMode:R,isValidConnection:J,lib:X,rfId:ne,nodeLookup:K,connection:te}=M[B(1277)]();if(!p||!k&&!o)return;if(!k){Y?.(D[B(1756)],{nodeId:p,handleId:h,handleType:e}),M[B(1665)]({connectionClickStartHandle:{nodeId:p,type:e,id:h}});return}const $=ui(D[B(983)]),ce=n||J,{connection:ie,isValid:S}=qx.isValid(D[B(1756)],{handle:{nodeId:p,id:h,type:e},connectionMode:R,fromNodeId:k.nodeId,fromHandleId:k.id||null,fromType:k.type,isValidConnection:ce,flowId:ne,doc:$,lib:X,nodeLookup:K});S&&ie&&W(ie);const U=structuredClone(te);delete U.inProgress,U[B(577)]=U[B(1204)]?U.toHandle[B(1690)]:null,I?.(D,U),M[B(1665)]({connectionClickStartHandle:null})};return l[y(1848)](y(1929),{"data-handleid":h,"data-nodeid":p,"data-handlepos":t,"data-id":C+"-"+p+"-"+h+"-"+e,className:Pe([y(376),y(1175)+t,"nodrag",w,s,{source:!m,target:m,connectable:x,connectablestart:o,connectableend:r,clickconnecting:G,connectingfrom:P,connectingto:A,valid:Z,connectionindicator:x&&(!q||j)&&(q||F?r:o)}]),onMouseDown:V,onTouchStart:V,onClick:v?L:void 0,ref:g,...b,children:f})}const lt=N.memo(bc(o5));function r5({data:e,isConnectable:t,sourcePosition:n=ue.Bottom}){const x=a;return l[x(272)](l[x(1555)],{children:[e?.[x(1827)],l[x(1848)](lt,{type:x(379),position:n,isConnectable:t})]})}function i5({data:e,isConnectable:t,targetPosition:n=ue.Top,sourcePosition:x=ue[a(1172)]}){const o=a;return l[o(272)](l[o(1555)],{children:[l[o(1848)](lt,{type:"target",position:n,isConnectable:t}),e?.label,l[o(1848)](lt,{type:o(379),position:x,isConnectable:t})]})}function c5(){return null}function a5({data:e,isConnectable:t,targetPosition:n=ue.Top}){const x=a;return l[x(272)](l[x(1555)],{children:[l[x(1848)](lt,{type:x(983),position:n,isConnectable:t}),e?.[x(1827)]]})}const T0={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},zc={input:r5,default:i5,output:a5,group:c5};function s5(e){const t=a;return e[t(1130)][t(682)]===void 0?{width:e[t(1030)]??e[t(1151)]??e[t(1632)]?.width,height:e[t(1517)]??e[t(529)]??e.style?.[t(1517)]}:{width:e[t(1030)]??e[t(1632)]?.[t(1030)],height:e[t(1517)]??e[t(1632)]?.height}}const l5=e=>{const t=a,{width:n,height:x,x:o,y:r}=Ut(e.nodeLookup,{filter:i=>!!i[t(1480)]});return{width:Fe(n)?n:null,height:Fe(x)?x:null,userSelectionActive:e[t(468)],transformString:t(1377)+e[t(1958)][0]+t(1169)+e.transform[1]+t(1025)+e.transform[2]+t(876)+o+t(1169)+r+t(1622)}};function d5({onSelectionContextMenu:e,noPanClassName:t,disableKeyboardA11y:n}){const x=a,o=Ne(),{width:r,height:i,transformString:c,userSelectionActive:f}=Ce(l5,Le),s=vc(),u=N[x(840)](null);N[x(502)](()=>{const y=x;!n&&u.current?.[y(1414)]({preventScroll:!0})},[n]);const d=!f&&r!==null&&i!==null;if(wc({nodeRef:u,disabled:!d}),!d)return null;const b=e?y=>{const h=x,m=o[h(1277)]()[h(362)][h(990)](M=>M[h(1480)]);e(y,m)}:void 0,g=y=>{const h=x;Object.prototype.hasOwnProperty[h(643)](T0,y[h(1400)])&&(y[h(1206)](),s({direction:T0[y[h(1400)]],factor:y[h(977)]?4:1}))};return l[x(1848)]("div",{className:Pe([x(608),x(1231),t]),style:{transform:c},children:l.jsx(x(1929),{ref:u,className:x(1814),onContextMenu:b,tabIndex:n?void 0:-1,onKeyDown:n?void 0:g,style:{width:r,height:i}})})}const Cc=typeof window<"u"?window:void 0,u5=e=>{const t=a;return{nodesSelectionActive:e[t(629)],userSelectionActive:e[t(468)]}};function Mc({children:e,onPaneClick:t,onPaneMouseEnter:n,onPaneMouseMove:x,onPaneMouseLeave:o,onPaneContextMenu:r,onPaneScroll:i,paneClickDistance:c,deleteKeyCode:f,selectionKeyCode:s,selectionOnDrag:u,selectionMode:d,onSelectionStart:b,onSelectionEnd:g,multiSelectionKeyCode:y,panActivationKeyCode:h,zoomActivationKeyCode:m,elementsSelectable:M,zoomOnScroll:p,zoomOnPinch:v,panOnScroll:w,panOnScrollSpeed:C,panOnScrollMode:P,zoomOnDoubleClick:A,panOnDrag:G,defaultViewport:j,translateExtent:q,minZoom:F,maxZoom:Z,preventScrolling:W,onSelectionContextMenu:V,noWheelClassName:L,noPanClassName:D,disableKeyboardA11y:B,onViewportChange:Y,isControlledViewport:I}){const k=a,{nodesSelectionActive:R,userSelectionActive:J}=Ce(u5,Le),X=qt(s,{target:Cc}),ne=qt(h,{target:Cc}),K=ne||G,te=ne||w,$=u&&K!==!0,ce=X||J||$;return K1({deleteKeyCode:f,multiSelectionKeyCode:y}),l[k(1848)](J1,{onPaneContextMenu:r,elementsSelectable:M,zoomOnScroll:p,zoomOnPinch:v,panOnScroll:te,panOnScrollSpeed:C,panOnScrollMode:P,zoomOnDoubleClick:A,panOnDrag:!X&&K,defaultViewport:j,translateExtent:q,minZoom:F,maxZoom:Z,zoomActivationKeyCode:m,preventScrolling:W,noWheelClassName:L,noPanClassName:D,onViewportChange:Y,isControlledViewport:I,paneClickDistance:c,selectionOnDrag:$,children:l[k(272)]($1,{onSelectionStart:b,onSelectionEnd:g,onPaneClick:t,onPaneMouseEnter:n,onPaneMouseMove:x,onPaneMouseLeave:o,onPaneContextMenu:r,onPaneScroll:i,panOnDrag:K,isSelecting:!!ce,selectionMode:d,selectionKeyPressed:X,paneClickDistance:c,selectionOnDrag:$,children:[e,R&&l[k(1848)](d5,{onSelectionContextMenu:V,noPanClassName:D,disableKeyboardA11y:B})]})})}Mc[a(295)]=a(1582);const f5=N.memo(Mc),h5=e=>t=>{const n=a;return e?kx(t.nodeLookup,{x:0,y:0,width:t[n(1030)],height:t[n(1517)]},t[n(1958)],!0)[n(539)](x=>x.id):Array[n(602)](t[n(1615)][n(948)]())};function b5(e){return Ce(N[a(1942)](h5(e),[e]),Le)}const g5=e=>e[a(672)];function y5(){const e=a,t=Ce(g5),[n]=N[e(1641)](()=>typeof ResizeObserver>"u"?null:new ResizeObserver(x=>{const o=_0x4f97,r=new Map;x[o(935)](i=>{const c=o,f=i.target[c(1838)](c(803));r.set(f,{id:f,nodeElement:i[c(983)],force:!0})}),t(r)}));return N[e(502)](()=>()=>{n?.[_0x4f97(939)]()},[n]),n}function m5({node:e,nodeType:t,hasDimensions:n,resizeObserver:x}){const o=a,r=Ne(),i=N.useRef(null),c=N[o(840)](null),f=N[o(840)](e[o(1244)]),s=N.useRef(e.targetPosition),u=N[o(840)](t),d=n&&!!e.internals[o(682)];return N[o(502)](()=>{const b=o;i[b(1189)]&&!e[b(909)]&&(!d||c[b(1189)]!==i[b(1189)])&&(c.current&&x?.[b(1168)](c[b(1189)]),x?.[b(734)](i[b(1189)]),c[b(1189)]=i[b(1189)])},[d,e[o(909)]]),N.useEffect(()=>()=>{const b=_0x4f97;c.current&&(x?.[b(1168)](c[b(1189)]),c[b(1189)]=null)},[]),N.useEffect(()=>{const b=o;if(i[b(1189)]){const g=u[b(1189)]!==t,y=f.current!==e[b(1244)],h=s[b(1189)]!==e[b(1757)];(g||y||h)&&(u[b(1189)]=t,f[b(1189)]=e.sourcePosition,s[b(1189)]=e.targetPosition,r[b(1277)]()[b(672)](new Map([[e.id,{id:e.id,nodeElement:i[b(1189)],force:!0}]])))}},[e.id,t,e[o(1244)],e[o(1757)]]),i}function w5({id:e,onClick:t,onMouseEnter:n,onMouseMove:x,onMouseLeave:o,onContextMenu:r,onDoubleClick:i,nodesDraggable:c,elementsSelectable:f,nodesConnectable:s,nodesFocusable:u,resizeObserver:d,noDragClassName:b,noPanClassName:g,disableKeyboardA11y:y,rfId:h,nodeTypes:m,nodeClickDistance:M,onError:p}){const v=a,{node:w,internals:C,isParent:P}=Ce(ie=>{const S=_0x4f97,U=ie[S(1615)].get(e),_=ie[S(1846)][S(1913)](e);return{node:U,internals:U[S(1130)],isParent:_}},Le);let A=w[v(2009)]||v(1353),G=m?.[A]||zc[A];G===void 0&&(p?.(v(1118),qe[v(319)](A)),A=v(1353),G=m?.[v(1353)]||zc[v(1353)]);const j=!!(w[v(1359)]||c&&typeof w[v(1359)]===v(1416)),q=!!(w[v(814)]||f&&typeof w.selectable===v(1416)),F=!!(w[v(719)]||s&&typeof w.connectable===v(1416)),Z=!!(w[v(1165)]||u&&typeof w[v(1165)]===v(1416)),W=Ne(),V=si(w),L=m5({node:w,nodeType:A,hasDimensions:V,resizeObserver:d}),D=wc({nodeRef:L,disabled:w[v(909)]||!j,noDragClassName:b,handleSelector:w[v(612)],nodeId:e,isSelectable:q,nodeClickDistance:M}),B=vc();if(w[v(909)])return null;const Y=dn(w),I=s5(w),k=q||j||t||n||x||o,R=n?ie=>n(ie,{...C[v(595)]}):void 0,J=x?ie=>x(ie,{...C.userNode}):void 0,X=o?ie=>o(ie,{...C[v(595)]}):void 0,ne=r?ie=>r(ie,{...C.userNode}):void 0,K=i?ie=>i(ie,{...C[v(595)]}):void 0,te=ie=>{const S=v,{selectNodesOnDrag:U,nodeDragThreshold:_}=W[S(1277)]();q&&(!U||!j||_>0)&&$x({id:e,store:W,nodeRef:L}),t&&t(ie,{...C[S(595)]})},$=ie=>{const S=v;if(!(fi(ie[S(1756)])||y)){if(_r[S(2010)](ie[S(1400)])&&q){const U=ie[S(1400)]===S(1496);$x({id:e,store:W,unselect:U,nodeRef:L})}else if(j&&w.selected&&Object[S(329)][S(309)][S(643)](T0,ie[S(1400)])){ie[S(1206)]();const{ariaLabelConfig:U}=W[S(1277)]();W[S(1665)]({ariaLiveMessage:U[S(1855)]({direction:ie[S(1400)].replace("Arrow","").toLowerCase(),x:~~C.positionAbsolute.x,y:~~C.positionAbsolute.y})}),B({direction:T0[ie[S(1400)]],factor:ie[S(977)]?4:1})}}},ce=()=>{const ie=v;if(y||!L[ie(1189)]?.[ie(1298)](":focus-visible"))return;const{transform:S,width:U,height:_,autoPanOnNodeFocus:H,setCenter:O}=W.getState();if(!H)return;!(kx(new Map([[e,w]]),{x:0,y:0,width:U,height:_},S,!0)[ie(1470)]>0)&&O(w[ie(1690)].x+Y[ie(1030)]/2,w[ie(1690)].y+Y[ie(1517)]/2,{zoom:S[2]})};return l[v(1848)]("div",{className:Pe(["react-flow__node",v(1422)+A,{[g]:j},w[v(634)],{selected:w[v(1480)],selectable:q,parent:P,draggable:j,dragging:D}]),ref:L,style:{zIndex:C.z,transform:v(1377)+C.positionAbsolute.x+"px,"+C.positionAbsolute.y+"px)",pointerEvents:v(k?1557:403),visibility:v(V?1554:909),...w[v(1632)],...I},"data-id":e,"data-testid":v(832)+e,onMouseEnter:R,onMouseMove:J,onMouseLeave:X,onContextMenu:ne,onClick:te,onDoubleClick:K,onKeyDown:Z?$:void 0,tabIndex:Z?0:void 0,onFocus:Z?ce:void 0,role:w[v(1971)]??(Z?"group":void 0),"aria-roledescription":v(858),"aria-describedby":y?void 0:ec+"-"+h,"aria-label":w[v(1021)],...w.domAttributes,children:l.jsx(n5,{value:e,children:l[v(1848)](G,{id:e,data:w[v(420)],type:A,positionAbsoluteX:C[v(1256)].x,positionAbsoluteY:C[v(1256)].y,selected:w.selected??!1,selectable:q,draggable:j,deletable:w[v(650)]??!0,isConnectable:F,sourcePosition:w[v(1244)],targetPosition:w.targetPosition,dragging:D,dragHandle:w.dragHandle,zIndex:C.z,parentId:w.parentId,...Y})})})}var v5=N[a(339)](w5);const p5=e=>({nodesDraggable:e[a(742)],nodesConnectable:e[a(1023)],nodesFocusable:e[a(429)],elementsSelectable:e[a(1e3)],onError:e[a(791)]});function Bc(e){const t=a,{nodesDraggable:n,nodesConnectable:x,nodesFocusable:o,elementsSelectable:r,onError:i}=Ce(p5,Le),c=b5(e[t(1500)]),f=y5();return l[t(1848)](t(1929),{className:"react-flow__nodes",style:V0,children:c[t(539)](s=>{const u=t;return l[u(1848)](v5,{id:s,nodeTypes:e[u(542)],nodeExtent:e[u(1007)],onClick:e[u(1065)],onMouseEnter:e[u(810)],onMouseMove:e.onNodeMouseMove,onMouseLeave:e[u(1864)],onContextMenu:e.onNodeContextMenu,onDoubleClick:e[u(270)],noDragClassName:e.noDragClassName,noPanClassName:e[u(1402)],rfId:e[u(1590)],disableKeyboardA11y:e.disableKeyboardA11y,resizeObserver:f,nodesDraggable:n,nodesConnectable:x,nodesFocusable:o,elementsSelectable:r,nodeClickDistance:e.nodeClickDistance,onError:i},s)})})}Bc.displayName="NodeRenderer";const z5=N[a(339)](Bc);function C5(e){const t=a;return Ce(N[t(1942)](x=>{const o=t;if(!e)return x.edges.map(i=>i.id);const r=[];if(x[o(1030)]&&x[o(1517)])for(const i of x[o(1079)]){const c=x[o(1615)][o(1077)](i[o(379)]),f=x.nodeLookup[o(1077)](i[o(983)]);c&&f&&zf({sourceNode:c,targetNode:f,width:x[o(1030)],height:x[o(1517)],transform:x[o(1958)]})&&r[o(1374)](i.id)}return r},[e]),Le)}const M5=({color:e=a(403),strokeWidth:t=1})=>{const n=a,x={strokeWidth:t,...e&&{stroke:e}};return l.jsx(n(1145),{className:n(1265),style:x,strokeLinecap:n(1708),fill:n(403),strokeLinejoin:n(1708),points:"-5,-4 0,0 -5,4"})},B5=({color:e=a(403),strokeWidth:t=1})=>{const n=a,x={strokeWidth:t,...e&&{stroke:e,fill:e}};return l.jsx(n(1145),{className:n(1861),style:x,strokeLinecap:n(1708),strokeLinejoin:"round",points:n(1537)})},Dc={[N0[a(1956)]]:M5,[N0[a(601)]]:B5};function D5(e){const t=a,n=Ne();return N[t(449)](()=>{const o=t;return Object[o(329)][o(309)][o(643)](Dc,e)?Dc[e]:(n[o(1277)]()[o(791)]?.(o(1704),qe[o(1099)](e)),null)},[e])}const L5=({id:e,type:t,color:n,width:x=12.5,height:o=12.5,markerUnits:r="strokeWidth",strokeWidth:i,orient:c=a(661)})=>{const f=a,s=D5(t);return s?l[f(1848)](f(1403),{className:f(1449),id:e,markerWidth:""+x,markerHeight:""+o,viewBox:f(396),markerUnits:r,orient:c,refX:"0",refY:"0",children:l[f(1848)](s,{color:n,strokeWidth:i})}):null},Lc=({defaultColor:e,rfId:t})=>{const n=a,x=Ce(i=>i[n(1079)]),o=Ce(i=>i[n(1719)]),r=N[n(449)](()=>{const i=n;return Sf(x,{id:t,defaultColor:e,defaultMarkerStart:o?.[i(688)],defaultMarkerEnd:o?.[i(1434)]})},[x,o,t,e]);return r.length?l[n(1848)](n(913),{className:n(558),"aria-hidden":n(864),children:l[n(1848)](n(1139),{children:r[n(539)](i=>l.jsx(L5,{id:i.id,type:i[n(2009)],color:i[n(1347)],width:i.width,height:i[n(1517)],markerUnits:i[n(1299)],strokeWidth:i.strokeWidth,orient:i.orient},i.id))})}):null};Lc[a(295)]=a(1561);var N5=N[a(339)](Lc);function Nc({x:e,y:t,label:n,labelStyle:x,labelShowBg:o=!0,labelBgStyle:r,labelBgPadding:i=[2,4],labelBgBorderRadius:c=2,children:f,className:s,...u}){const d=a,[b,g]=N.useState({x:1,y:0,width:0,height:0}),y=Pe(["react-flow__edge-textwrapper",s]),h=N[d(840)](null);return N[d(502)](()=>{const m=d;if(h[m(1189)]){const M=h[m(1189)][m(1213)]();g({x:M.x,y:M.y,width:M[m(1030)],height:M.height})}},[n]),n?l.jsxs("g",{transform:"translate("+(e-b[d(1030)]/2)+" "+(t-b[d(1517)]/2)+")",className:y,visibility:b[d(1030)]?d(1554):"hidden",...u,children:[o&&l[d(1848)](d(348),{width:b[d(1030)]+2*i[0],x:-i[0],y:-i[1],height:b[d(1517)]+2*i[1],className:d(430),style:r,rx:c,ry:c}),l.jsx(d(1992),{className:d(1112),y:b[d(1517)]/2,dy:d(364),ref:h,style:x,children:n}),f]}):null}Nc[a(295)]=a(1739);const S5=N[a(339)](Nc);function q0({path:e,labelX:t,labelY:n,label:x,labelStyle:o,labelShowBg:r,labelBgStyle:i,labelBgPadding:c,labelBgBorderRadius:f,interactionWidth:s=20,...u}){const d=a;return l[d(272)](l[d(1555)],{children:[l[d(1848)]("path",{...u,d:e,fill:"none",className:Pe([d(565),u[d(634)]])}),s?l[d(1848)]("path",{d:e,fill:d(403),strokeOpacity:0,strokeWidth:s,className:"react-flow__edge-interaction"}):null,x&&Fe(t)&&Fe(n)?l[d(1848)](S5,{x:t,y:n,label:x,labelStyle:o,labelShowBg:r,labelBgStyle:i,labelBgPadding:c,labelBgBorderRadius:f}):null]})}function Sc({pos:e,x1:t,y1:n,x2:x,y2:o}){const r=a;return e===ue.Left||e===ue[r(1541)]?[.5*(t+x),n]:[t,.5*(n+o)]}function kc({sourceX:e,sourceY:t,sourcePosition:n=ue[a(1172)],targetX:x,targetY:o,targetPosition:r=ue.Top}){const[i,c]=Sc({pos:n,x1:e,y1:t,x2:x,y2:o}),[f,s]=Sc({pos:r,x1:x,y1:o,x2:e,y2:t}),[u,d,b,g]=gi({sourceX:e,sourceY:t,targetX:x,targetY:o,sourceControlX:i,sourceControlY:c,targetControlX:f,targetControlY:s});return["M"+e+","+t+" C"+i+","+c+" "+f+","+s+" "+x+","+o,u,d,b,g]}function Pc(e){return N.memo(({id:t,sourceX:n,sourceY:x,targetX:o,targetY:r,sourcePosition:i,targetPosition:c,label:f,labelStyle:s,labelShowBg:u,labelBgStyle:d,labelBgPadding:b,labelBgBorderRadius:g,style:y,markerEnd:h,markerStart:m,interactionWidth:M})=>{const p=_0x4f97,[v,w,C]=kc({sourceX:n,sourceY:x,sourcePosition:i,targetX:o,targetY:r,targetPosition:c}),P=e[p(536)]?void 0:t;return l.jsx(q0,{id:P,path:v,labelX:w,labelY:C,label:f,labelStyle:s,labelShowBg:u,labelBgStyle:d,labelBgPadding:b,labelBgBorderRadius:g,style:y,markerEnd:h,markerStart:m,interactionWidth:M})})}const k5=Pc({isInternal:!1}),Ic=Pc({isInternal:!0});k5[a(295)]=a(695),Ic.displayName=a(381);function Yc(e){const t=a;return N[t(339)](({id:n,sourceX:x,sourceY:o,targetX:r,targetY:i,label:c,labelStyle:f,labelShowBg:s,labelBgStyle:u,labelBgPadding:d,labelBgBorderRadius:b,style:g,sourcePosition:y=ue[t(1172)],targetPosition:h=ue[t(2007)],markerEnd:m,markerStart:M,pathOptions:p,interactionWidth:v})=>{const w=t,[C,P,A]=jx({sourceX:x,sourceY:o,sourcePosition:y,targetX:r,targetY:i,targetPosition:h,borderRadius:p?.[w(1058)],offset:p?.[w(978)],stepPosition:p?.stepPosition}),G=e[w(536)]?void 0:n;return l.jsx(q0,{id:G,path:C,labelX:P,labelY:A,label:c,labelStyle:f,labelShowBg:s,labelBgStyle:u,labelBgPadding:d,labelBgBorderRadius:b,style:g,markerEnd:m,markerStart:M,interactionWidth:v})})}const jc=Yc({isInternal:!1}),Ac=Yc({isInternal:!0});jc[a(295)]=a(1337),Ac[a(295)]=a(951);function Ec(e){const t=a;return N[t(339)](({id:n,...x})=>{const o=t,r=e[o(536)]?void 0:n;return l.jsx(jc,{...x,id:r,pathOptions:N[o(449)](()=>({borderRadius:0,offset:x[o(809)]?.[o(978)]}),[x[o(809)]?.[o(978)]])})})}const P5=Ec({isInternal:!1}),Uc=Ec({isInternal:!0});P5.displayName=a(1329),Uc[a(295)]=a(1194);function Oc(e){const t=a;return N[t(339)](({id:n,sourceX:x,sourceY:o,targetX:r,targetY:i,label:c,labelStyle:f,labelShowBg:s,labelBgStyle:u,labelBgPadding:d,labelBgBorderRadius:b,style:g,markerEnd:y,markerStart:h,interactionWidth:m})=>{const M=t,[p,v,w]=pi({sourceX:x,sourceY:o,targetX:r,targetY:i}),C=e.isInternal?void 0:n;return l[M(1848)](q0,{id:C,path:p,labelX:v,labelY:w,label:c,labelStyle:f,labelShowBg:s,labelBgStyle:u,labelBgPadding:d,labelBgBorderRadius:b,style:g,markerEnd:y,markerStart:h,interactionWidth:m})})}const I5=Oc({isInternal:!1}),Gc=Oc({isInternal:!0});I5[a(295)]=a(310),Gc.displayName="StraightEdgeInternal";function Hc(e){const t=a;return N[t(339)](({id:n,sourceX:x,sourceY:o,targetX:r,targetY:i,sourcePosition:c=ue[t(1172)],targetPosition:f=ue[t(2007)],label:s,labelStyle:u,labelShowBg:d,labelBgStyle:b,labelBgPadding:g,labelBgBorderRadius:y,style:h,markerEnd:m,markerStart:M,pathOptions:p,interactionWidth:v})=>{const w=t,[C,P,A]=mi({sourceX:x,sourceY:o,sourcePosition:c,targetX:r,targetY:i,targetPosition:f,curvature:p?.[w(1494)]}),G=e[w(536)]?void 0:n;return l.jsx(q0,{id:G,path:C,labelX:P,labelY:A,label:s,labelStyle:u,labelShowBg:d,labelBgStyle:b,labelBgPadding:g,labelBgBorderRadius:y,style:h,markerEnd:m,markerStart:M,interactionWidth:v})})}const Y5=Hc({isInternal:!1}),Vc=Hc({isInternal:!0});Y5.displayName=a(1858),Vc[a(295)]=a(444);const Tc={default:Vc,straight:Gc,step:Uc,smoothstep:Ac,simplebezier:Ic},qc={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},j5=(e,t,n)=>{const x=a;return n===ue[x(1706)]?e-t:n===ue[x(1541)]?e+t:e},A5=(e,t,n)=>{const x=a;return n===ue[x(2007)]?e-t:n===ue[x(1172)]?e+t:e},Wc="react-flow__edgeupdater";function Xc({position:e,centerX:t,centerY:n,radius:x=10,onMouseDown:o,onMouseEnter:r,onMouseOut:i,type:c}){const f=a;return l.jsx(f(1816),{onMouseDown:o,onMouseEnter:r,onMouseOut:i,className:Pe([Wc,Wc+"-"+c]),cx:j5(t,x,e),cy:A5(n,x,e),r:x,stroke:"transparent",fill:"transparent"})}function E5({isReconnectable:e,reconnectRadius:t,edge:n,sourceX:x,sourceY:o,targetX:r,targetY:i,sourcePosition:c,targetPosition:f,onReconnect:s,onReconnectStart:u,onReconnectEnd:d,setReconnecting:b,setUpdateHover:g}){const y=a,h=Ne(),m=(C,P)=>{const A=_0x4f97;if(C[A(1558)]!==0)return;const{autoPanOnConnect:G,domNode:j,connectionMode:q,connectionRadius:F,lib:Z,onConnectStart:W,cancelConnection:V,nodeLookup:L,rfId:D,panBy:B,updateConnection:Y}=h[A(1277)](),I=P[A(2009)]===A(983),k=(X,ne)=>{b(!1),d?.(X,n,P.type,ne)},R=X=>s?.(n,X),J=(X,ne)=>{const K=A;b(!0),u?.(C,n,P[K(2009)]),W?.(X,ne)};qx.onPointerDown(C[A(1756)],{autoPanOnConnect:G,connectionMode:q,connectionRadius:F,domNode:j,handleId:P.id,nodeId:P.nodeId,nodeLookup:L,isTarget:I,edgeUpdaterType:P[A(2009)],lib:Z,flowId:D,cancelConnection:V,panBy:B,isValidConnection:(...X)=>h[A(1277)]()[A(367)]?.(...X)??!0,onConnect:R,onConnectStart:J,onConnectEnd:(...X)=>h.getState().onConnectEnd?.(...X),onReconnectEnd:k,updateConnection:Y,getTransform:()=>h.getState()[A(1958)],getFromHandle:()=>h[A(1277)]()[A(1584)].fromHandle,dragThreshold:h.getState()[A(954)],handleDomNode:C[A(1566)]})},M=C=>m(C,{nodeId:n[y(983)],id:n[y(1529)]??null,type:y(983)}),p=C=>m(C,{nodeId:n[y(379)],id:n.sourceHandle??null,type:y(379)}),v=()=>g(!0),w=()=>g(!1);return l[y(272)](l.Fragment,{children:[(e===!0||e===y(379))&&l[y(1848)](Xc,{position:c,centerX:x,centerY:o,radius:t,onMouseDown:M,onMouseEnter:v,onMouseOut:w,type:y(379)}),(e===!0||e===y(983))&&l[y(1848)](Xc,{position:f,centerX:r,centerY:i,radius:t,onMouseDown:p,onMouseEnter:v,onMouseOut:w,type:y(983)})]})}function U5({id:e,edgesFocusable:t,edgesReconnectable:n,elementsSelectable:x,onClick:o,onDoubleClick:r,onContextMenu:i,onMouseEnter:c,onMouseMove:f,onMouseLeave:s,reconnectRadius:u,onReconnect:d,onReconnectStart:b,onReconnectEnd:g,rfId:y,edgeTypes:h,noPanClassName:m,onError:M,disableKeyboardA11y:p}){const v=a;let w=Ce(H=>H.edgeLookup[v(1077)](e));const C=Ce(H=>H[v(1719)]);w=C?{...C,...w}:w;let P=w[v(2009)]||v(1353),A=h?.[P]||Tc[P];A===void 0&&(M?.("011",qe[v(630)](P)),P=v(1353),A=h?.[v(1353)]||Tc.default);const G=!!(w[v(1165)]||t&&typeof w[v(1165)]>"u"),j=typeof d!==v(1416)&&(w[v(1313)]||n&&typeof w[v(1313)]===v(1416)),q=!!(w[v(814)]||x&&typeof w[v(814)]===v(1416)),F=N[v(840)](null),[Z,W]=N.useState(!1),[V,L]=N.useState(!1),D=Ne(),{zIndex:B,sourceX:Y,sourceY:I,targetX:k,targetY:R,sourcePosition:J,targetPosition:X}=Ce(N[v(1942)](H=>{const O=v,ee=H.nodeLookup[O(1077)](w[O(379)]),de=H[O(1615)].get(w[O(983)]);if(!ee||!de)return{zIndex:w[O(1082)],...qc};const ye=Nf({id:e,sourceNode:ee,targetNode:de,sourceHandle:w[O(1694)]||null,targetHandle:w[O(1529)]||null,connectionMode:H[O(1666)],onError:M});return{zIndex:pf({selected:w.selected,zIndex:w[O(1082)],sourceNode:ee,targetNode:de,elevateOnSelect:H.elevateEdgesOnSelect,zIndexMode:H[O(1464)]}),...ye||qc}},[w[v(379)],w[v(983)],w[v(1694)],w[v(1529)],w.selected,w[v(1082)]]),Le),ne=N[v(449)](()=>w[v(688)]?v(711)+Ax(w[v(688)],y)+"')":void 0,[w[v(688)],y]),K=N[v(449)](()=>w[v(1434)]?v(711)+Ax(w[v(1434)],y)+"')":void 0,[w[v(1434)],y]);if(w[v(909)]||Y===null||I===null||k===null||R===null)return null;const te=H=>{const O=v,{addSelectedEdges:ee,unselectNodesAndEdges:de,multiSelectionActive:ye}=D[O(1277)]();q&&(D[O(1665)]({nodesSelectionActive:!1}),w[O(1480)]&&ye?(de({nodes:[],edges:[w]}),F.current?.[O(898)]()):ee([e])),o&&o(H,w)},$=r?H=>{r(H,{...w})}:void 0,ce=i?H=>{i(H,{...w})}:void 0,ie=c?H=>{c(H,{...w})}:void 0,S=f?H=>{f(H,{...w})}:void 0,U=s?H=>{s(H,{...w})}:void 0,_=H=>{const O=v;if(!p&&_r[O(2010)](H[O(1400)])&&q){const{unselectNodesAndEdges:ee,addSelectedEdges:de}=D[O(1277)]();H[O(1400)]===O(1496)?(F[O(1189)]?.[O(898)](),ee({edges:[w]})):de([e])}};return l[v(1848)]("svg",{style:{zIndex:B},children:l[v(272)]("g",{className:Pe([v(1583),v(1415)+P,w[v(634)],m,{selected:w[v(1480)],animated:w[v(603)],inactive:!q&&!o,updating:Z,selectable:q}]),onClick:te,onDoubleClick:$,onContextMenu:ce,onMouseEnter:ie,onMouseMove:S,onMouseLeave:U,onKeyDown:G?_:void 0,tabIndex:G?0:void 0,role:w[v(1971)]??v(G?1489:1668),"aria-roledescription":v(1328),"data-id":e,"data-testid":v(1094)+e,"aria-label":w[v(1021)]===null?void 0:w[v(1021)]||v(1381)+w[v(379)]+v(1646)+w.target,"aria-describedby":G?nc+"-"+y:void 0,ref:F,...w[v(959)],children:[!V&&l[v(1848)](A,{id:e,source:w.source,target:w[v(983)],type:w[v(2009)],selected:w.selected,animated:w.animated,selectable:q,deletable:w[v(650)]??!0,label:w[v(1827)],labelStyle:w[v(855)],labelShowBg:w[v(1149)],labelBgStyle:w.labelBgStyle,labelBgPadding:w.labelBgPadding,labelBgBorderRadius:w[v(1203)],sourceX:Y,sourceY:I,targetX:k,targetY:R,sourcePosition:J,targetPosition:X,data:w[v(420)],style:w[v(1632)],sourceHandleId:w.sourceHandle,targetHandleId:w[v(1529)],markerStart:ne,markerEnd:K,pathOptions:v(809)in w?w.pathOptions:void 0,interactionWidth:w[v(1749)]}),j&&l[v(1848)](E5,{edge:w,isReconnectable:j,reconnectRadius:u,onReconnect:d,onReconnectStart:b,onReconnectEnd:g,sourceX:Y,sourceY:I,targetX:k,targetY:R,sourcePosition:J,targetPosition:X,setUpdateHover:W,setReconnecting:L})]})})}var O5=N.memo(U5);const G5=e=>({edgesFocusable:e[a(716)],edgesReconnectable:e.edgesReconnectable,elementsSelectable:e.elementsSelectable,connectionMode:e[a(1666)],onError:e[a(791)]});function Kc({defaultMarkerColor:e,onlyRenderVisibleElements:t,rfId:n,edgeTypes:x,noPanClassName:o,onReconnect:r,onEdgeContextMenu:i,onEdgeMouseEnter:c,onEdgeMouseMove:f,onEdgeMouseLeave:s,onEdgeClick:u,reconnectRadius:d,onEdgeDoubleClick:b,onReconnectStart:g,onReconnectEnd:y,disableKeyboardA11y:h}){const m=a,{edgesFocusable:M,edgesReconnectable:p,elementsSelectable:v,onError:w}=Ce(G5,Le),C=C5(t);return l[m(272)](m(1929),{className:"react-flow__edges",children:[l[m(1848)](N5,{defaultColor:e,rfId:n}),C[m(539)](P=>l[m(1848)](O5,{id:P,edgesFocusable:M,edgesReconnectable:p,elementsSelectable:v,noPanClassName:o,onReconnect:r,onContextMenu:i,onMouseEnter:c,onMouseMove:f,onMouseLeave:s,onClick:u,reconnectRadius:d,onDoubleClick:b,onReconnectStart:g,onReconnectEnd:y,rfId:n,onError:w,edgeTypes:x,disableKeyboardA11y:h},P))]})}Kc[a(295)]=a(1882);const H5=N[a(339)](Kc),V5=e=>a(1377)+e[a(1958)][0]+"px,"+e[a(1958)][1]+a(1025)+e[a(1958)][2]+")";function T5({children:e}){const t=a,n=Ce(V5);return l.jsx("div",{className:t(1892),style:{transform:n},children:e})}function q5(e){const t=a,n=Fx(),x=N[t(840)](!1);N[t(502)](()=>{const o=t;!x[o(1189)]&&n.viewportInitialized&&e&&(setTimeout(()=>e(n),1),x[o(1189)]=!0)},[e,n.viewportInitialized])}const W5=e=>e[a(1134)]?.[a(844)];function X5(e){const t=a,n=Ce(W5),x=Ne();return N[t(502)](()=>{const o=t;e&&(n?.(e),x.setState({transform:[e.x,e.y,e[o(1069)]]}))},[e,n]),null}function K5(e){const t=a;return e[t(1584)].inProgress?{...e.connection,to:Ht(e.connection.to,e[t(1958)])}:{...e[t(1584)]}}function Z5(e){return K5}function R5(e){const t=Z5();return Ce(t,Le)}const J5=e=>({nodesConnectable:e[a(1023)],isValid:e[a(1584)][a(489)],inProgress:e.connection.inProgress,width:e[a(1030)],height:e[a(1517)]});function _5({containerStyle:e,style:t,type:n,component:x}){const o=a,{nodesConnectable:r,width:i,height:c,isValid:f,inProgress:s}=Ce(J5,Le);return!(i&&r&&s)?null:l[o(1848)]("svg",{style:e,width:i,height:c,className:o(1839),children:l[o(1848)]("g",{className:Pe([o(439),ei(f)]),children:l[o(1848)](Zc,{style:t,type:n,CustomComponent:x,isValid:f})})})}const Zc=({style:e,type:t=yn[a(658)],CustomComponent:n,isValid:x})=>{const o=a,{inProgress:r,from:i,fromNode:c,fromHandle:f,fromPosition:s,to:u,toNode:d,toHandle:b,toPosition:g,pointer:y}=R5();if(!r)return;if(n)return l[o(1848)](n,{connectionLineType:t,connectionLineStyle:e,fromNode:c,fromHandle:f,fromX:i.x,fromY:i.y,toX:u.x,toY:u.y,fromPosition:s,toPosition:g,connectionStatus:ei(x),toNode:d,toHandle:b,pointer:y});let h="";const m={sourceX:i.x,sourceY:i.y,sourcePosition:s,targetX:u.x,targetY:u.y,targetPosition:g};switch(t){case yn[o(658)]:[h]=mi(m);break;case yn[o(303)]:[h]=kc(m);break;case yn[o(1567)]:[h]=jx({...m,borderRadius:0});break;case yn.SmoothStep:[h]=jx(m);break;default:[h]=pi(m)}return l[o(1848)](o(1681),{d:h,fill:o(403),className:o(1891),style:e})};Zc[a(295)]="ConnectionLine";const F5={};function Rc(e=F5){const t=a,n=N[t(840)](e),x=Ne();N[t(502)](()=>{const o=t;if(process.env.NODE_ENV===o(1750)){const r=new Set([...Object[o(948)](n[o(1189)]),...Object[o(948)](e)]);for(const i of r)if(n.current[i]!==e[i]){x[o(1277)]()[o(791)]?.(o(1341),qe[o(1333)]());break}n.current=e}},[e])}function Q5(){const e=a,t=Ne(),n=N[e(840)](!1);N.useEffect(()=>{const x=e;if(process.env.NODE_ENV===x(1750)&&!n.current){const o=document.querySelector(x(1899));o&&window.getComputedStyle(o)[x(1082)]!=="1"&&t.getState()[x(791)]?.(x(1770),qe[x(1553)](x(1869))),n.current=!0}},[])}function Jc({nodeTypes:e,edgeTypes:t,onInit:n,onNodeClick:x,onEdgeClick:o,onNodeDoubleClick:r,onEdgeDoubleClick:i,onNodeMouseEnter:c,onNodeMouseMove:f,onNodeMouseLeave:s,onNodeContextMenu:u,onSelectionContextMenu:d,onSelectionStart:b,onSelectionEnd:g,connectionLineType:y,connectionLineStyle:h,connectionLineComponent:m,connectionLineContainerStyle:M,selectionKeyCode:p,selectionOnDrag:v,selectionMode:w,multiSelectionKeyCode:C,panActivationKeyCode:P,zoomActivationKeyCode:A,deleteKeyCode:G,onlyRenderVisibleElements:j,elementsSelectable:q,defaultViewport:F,translateExtent:Z,minZoom:W,maxZoom:V,preventScrolling:L,defaultMarkerColor:D,zoomOnScroll:B,zoomOnPinch:Y,panOnScroll:I,panOnScrollSpeed:k,panOnScrollMode:R,zoomOnDoubleClick:J,panOnDrag:X,onPaneClick:ne,onPaneMouseEnter:K,onPaneMouseMove:te,onPaneMouseLeave:$,onPaneScroll:ce,onPaneContextMenu:ie,paneClickDistance:S,nodeClickDistance:U,onEdgeContextMenu:_,onEdgeMouseEnter:H,onEdgeMouseMove:O,onEdgeMouseLeave:ee,reconnectRadius:de,onReconnect:ye,onReconnectStart:se,onReconnectEnd:he,noDragClassName:pe,noWheelClassName:be,noPanClassName:ze,disableKeyboardA11y:De,nodeExtent:Ue,rfId:Oe,viewport:Ie,onViewportChange:Ye}){const We=a;return Rc(e),Rc(t),Q5(),q5(n),X5(Ie),l.jsx(f5,{onPaneClick:ne,onPaneMouseEnter:K,onPaneMouseMove:te,onPaneMouseLeave:$,onPaneContextMenu:ie,onPaneScroll:ce,paneClickDistance:S,deleteKeyCode:G,selectionKeyCode:p,selectionOnDrag:v,selectionMode:w,onSelectionStart:b,onSelectionEnd:g,multiSelectionKeyCode:C,panActivationKeyCode:P,zoomActivationKeyCode:A,elementsSelectable:q,zoomOnScroll:B,zoomOnPinch:Y,zoomOnDoubleClick:J,panOnScroll:I,panOnScrollSpeed:k,panOnScrollMode:R,panOnDrag:X,defaultViewport:F,translateExtent:Z,minZoom:W,maxZoom:V,onSelectionContextMenu:d,preventScrolling:L,noDragClassName:pe,noWheelClassName:be,noPanClassName:ze,disableKeyboardA11y:De,onViewportChange:Ye,isControlledViewport:!!Ie,children:l[We(272)](T5,{children:[l[We(1848)](H5,{edgeTypes:t,onEdgeClick:o,onEdgeDoubleClick:i,onReconnect:ye,onReconnectStart:se,onReconnectEnd:he,onlyRenderVisibleElements:j,onEdgeContextMenu:_,onEdgeMouseEnter:H,onEdgeMouseMove:O,onEdgeMouseLeave:ee,reconnectRadius:de,defaultMarkerColor:D,noPanClassName:ze,disableKeyboardA11y:De,rfId:Oe}),l.jsx(_5,{style:h,type:y,component:m,containerStyle:M}),l.jsx(We(1929),{className:We(582)}),l[We(1848)](z5,{nodeTypes:e,onNodeClick:x,onNodeDoubleClick:r,onNodeMouseEnter:c,onNodeMouseMove:f,onNodeMouseLeave:s,onNodeContextMenu:u,nodeClickDistance:U,onlyRenderVisibleElements:j,noPanClassName:ze,noDragClassName:pe,disableKeyboardA11y:De,nodeExtent:Ue,rfId:Oe}),l[We(1848)]("div",{className:"react-flow__viewport-portal"})]})})}Jc[a(295)]=a(1210);const $5=N.memo(Jc),_c=({nodes:e,edges:t,defaultNodes:n,defaultEdges:x,width:o,height:r,fitView:i,fitViewOptions:c,minZoom:f=.5,maxZoom:s=2,nodeOrigin:u,nodeExtent:d,zIndexMode:b=a(764)}={})=>{const g=a,y=new Map,h=new Map,m=new Map,M=new Map,p=x??t??[],v=n??e??[],w=u??[0,0],C=d??jt;ki(m,M,p);const{nodesInitialized:P}=Gx(v,y,h,{nodeOrigin:w,nodeExtent:C,zIndexMode:b});let A=[0,0,1];if(i&&o&&r){const G=Ut(y,{filter:Z=>!!((Z[g(1030)]||Z[g(1151)])&&(Z.height||Z[g(529)]))}),{x:j,y:q,zoom:F}=Ix(G,o,r,f,s,c?.padding??.1);A=[j,q,F]}return{rfId:"1",width:o??0,height:r??0,transform:A,nodes:v,nodesInitialized:P,nodeLookup:y,parentLookup:h,edges:p,edgeLookup:M,connectionLookup:m,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:n!==void 0,hasDefaultEdges:x!==void 0,panZoom:null,minZoom:f,maxZoom:s,translateExtent:jt,nodeExtent:C,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:tt[g(324)],domNode:null,paneDragging:!1,noPanClassName:g(456),nodeOrigin:w,nodeDragThreshold:1,connectionDragThreshold:1,snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,nodesFocusable:!0,edgesFocusable:!0,edgesReconnectable:!0,elementsSelectable:!0,elevateNodesOnSelect:!0,elevateEdgesOnSelect:!0,selectNodesOnDrag:!0,multiSelectionActive:!1,fitViewQueued:i??!1,fitViewOptions:c,fitViewResolver:null,connection:{...Qr},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:ai,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:g(1869),debug:!1,ariaLabelConfig:Fr,zIndexMode:b,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},eh=({nodes:e,edges:t,defaultNodes:n,defaultEdges:x,width:o,height:r,fitView:i,fitViewOptions:c,minZoom:f,maxZoom:s,nodeOrigin:u,nodeExtent:d,zIndexMode:b})=>w1((g,y)=>{async function h(){const m=_0x4f97,{nodeLookup:M,panZoom:p,fitViewOptions:v,fitViewResolver:w,width:C,height:P,minZoom:A,maxZoom:G}=y();p&&(await hf({nodes:M,width:C,height:P,panZoom:p,minZoom:A,maxZoom:G},v),w?.[m(1018)](!0),g({fitViewResolver:null}))}return{..._c({nodes:e,edges:t,width:o,height:r,fitView:i,fitViewOptions:c,minZoom:f,maxZoom:s,nodeOrigin:u,nodeExtent:d,defaultNodes:n,defaultEdges:x,zIndexMode:b}),setNodes:m=>{const{nodeLookup:M,parentLookup:p,nodeOrigin:v,elevateNodesOnSelect:w,fitViewQueued:C,zIndexMode:P,nodesSelectionActive:A}=y(),{nodesInitialized:G,hasSelectedNodes:j}=Gx(m,M,p,{nodeOrigin:v,nodeExtent:d,elevateNodesOnSelect:w,checkEquality:!0,zIndexMode:P}),q=A&&j;C&&G?(h(),g({nodes:m,nodesInitialized:G,fitViewQueued:!1,fitViewOptions:void 0,nodesSelectionActive:q})):g({nodes:m,nodesInitialized:G,nodesSelectionActive:q})},setEdges:m=>{const{connectionLookup:M,edgeLookup:p}=y();ki(M,p,m),g({edges:m})},setDefaultNodesAndEdges:(m,M)=>{if(m){const{setNodes:p}=y();p(m),g({hasDefaultNodes:!0})}if(M){const{setEdges:p}=y();p(M),g({hasDefaultEdges:!0})}},updateNodeInternals:m=>{const M=_0x4f97,{triggerNodeChanges:p,nodeLookup:v,parentLookup:w,domNode:C,nodeOrigin:P,nodeExtent:A,debug:G,fitViewQueued:j,zIndexMode:q}=y(),{changes:F,updatedInternals:Z}=Ef(m,v,w,C,P,A,q);Z&&(If(v,w,{nodeOrigin:P,nodeExtent:A,zIndexMode:q}),j?(h(),g({fitViewQueued:!1,fitViewOptions:void 0})):g({}),F?.[M(1470)]>0&&(G&&console[M(1987)](M(1087),F),p?.(F)))},updateNodePositions:(m,M=!1)=>{const p=_0x4f97,v=[];let w=[];const{nodeLookup:C,triggerNodeChanges:P,connection:A,updateConnection:G,onNodesChangeMiddlewareMap:j}=y();for(const[q,F]of m){const Z=C[p(1077)](q),W=!!(Z?.[p(1650)]&&Z?.[p(1932)]&&F?.[p(1690)]),V={id:q,type:p(1690),position:W?{x:Math.max(0,F[p(1690)].x),y:Math.max(0,F[p(1690)].y)}:F[p(1690)],dragging:M};if(Z&&A[p(1667)]&&A.fromNode.id===Z.id){const L=On(Z,A[p(820)],ue[p(1706)],!0);G({...A,from:L})}W&&Z[p(1932)]&&v[p(1374)]({id:q,parentId:Z[p(1932)],rect:{...F.internals[p(1256)],width:F[p(330)][p(1030)]??0,height:F[p(330)][p(1517)]??0}}),w.push(V)}if(v[p(1470)]>0){const{parentLookup:q,nodeOrigin:F}=y(),Z=Vx(v,C,q,F);w[p(1374)](...Z)}for(const q of j[p(1074)]())w=q(w);P(w)},triggerNodeChanges:m=>{const M=_0x4f97,{onNodesChange:p,setNodes:v,nodes:w,hasDefaultNodes:C,debug:P}=y();if(m?.[M(1470)]){if(C){const A=lc(m,w);v(A)}P&&console.log(M(1087),m),p?.(m)}},triggerEdgeChanges:m=>{const M=_0x4f97,{onEdgesChange:p,setEdges:v,edges:w,hasDefaultEdges:C,debug:P}=y();if(m?.[M(1470)]){if(C){const A=dc(m,w);v(A)}P&&console[M(1987)](M(1296),m),p?.(m)}},addSelectedNodes:m=>{const{multiSelectionActive:M,edgeLookup:p,nodeLookup:v,triggerNodeChanges:w,triggerEdgeChanges:C}=y();if(M){const P=m.map(A=>Gn(A,!0));w(P);return}w(st(v,new Set([...m]),!0)),C(st(p))},addSelectedEdges:m=>{const M=_0x4f97,{multiSelectionActive:p,edgeLookup:v,nodeLookup:w,triggerNodeChanges:C,triggerEdgeChanges:P}=y();if(p){const A=m[M(539)](G=>Gn(G,!0));P(A);return}P(st(v,new Set([...m]))),C(st(w,new Set,!0))},unselectNodesAndEdges:({nodes:m,edges:M}={})=>{const p=_0x4f97,{edges:v,nodes:w,nodeLookup:C,triggerNodeChanges:P,triggerEdgeChanges:A}=y(),G=m||w,j=M||v,q=[];for(const Z of G){if(!Z[p(1480)])continue;const W=C[p(1077)](Z.id);W&&(W[p(1480)]=!1),q[p(1374)](Gn(Z.id,!1))}const F=[];for(const Z of j)Z[p(1480)]&&F[p(1374)](Gn(Z.id,!1));P(q),A(F)},setMinZoom:m=>{const{panZoom:M,maxZoom:p}=y();M?.setScaleExtent([m,p]),g({minZoom:m})},setMaxZoom:m=>{const M=_0x4f97,{panZoom:p,minZoom:v}=y();p?.[M(1926)]([v,m]),g({maxZoom:m})},setTranslateExtent:m=>{const M=_0x4f97;y()[M(1134)]?.[M(1978)](m),g({translateExtent:m})},resetSelectedElements:()=>{const m=_0x4f97,{edges:M,nodes:p,triggerNodeChanges:v,triggerEdgeChanges:w,elementsSelectable:C}=y();if(!C)return;const P=p[m(838)]((G,j)=>j[m(1480)]?[...G,Gn(j.id,!1)]:G,[]),A=M[m(838)]((G,j)=>j[m(1480)]?[...G,Gn(j.id,!1)]:G,[]);v(P),w(A)},setNodeExtent:m=>{const{nodes:M,nodeLookup:p,parentLookup:v,nodeOrigin:w,elevateNodesOnSelect:C,nodeExtent:P,zIndexMode:A}=y();m[0][0]===P[0][0]&&m[0][1]===P[0][1]&&m[1][0]===P[1][0]&&m[1][1]===P[1][1]||(Gx(M,p,v,{nodeOrigin:w,nodeExtent:m,elevateNodesOnSelect:C,checkEquality:!1,zIndexMode:A}),g({nodeExtent:m}))},panBy:m=>{const{transform:M,width:p,height:v,panZoom:w,translateExtent:C}=y();return Uf({delta:m,panZoom:w,transform:M,translateExtent:C,width:p,height:v})},setCenter:async(m,M,p)=>{const v=_0x4f97,{width:w,height:C,maxZoom:P,panZoom:A}=y();if(!A)return Promise[v(1018)](!1);const G=typeof p?.zoom!==v(1416)?p[v(1069)]:P;return await A[v(377)]({x:w/2-m*G,y:C/2-M*G,zoom:G},{duration:p?.[v(1294)],ease:p?.[v(1683)],interpolate:p?.[v(1068)]}),Promise[v(1018)](!0)},cancelConnection:()=>{g({connection:{...Qr}})},updateConnection:m=>{g({connection:m})},reset:()=>g({..._c()})}},Object.is);function nh({initialNodes:e,initialEdges:t,defaultNodes:n,defaultEdges:x,initialWidth:o,initialHeight:r,initialMinZoom:i,initialMaxZoom:c,initialFitViewOptions:f,fitView:s,nodeOrigin:u,nodeExtent:d,zIndexMode:b,children:g}){const y=a,[h]=N[y(1641)](()=>eh({nodes:e,edges:t,defaultNodes:n,defaultEdges:x,width:o,height:r,fitView:s,minZoom:i,maxZoom:c,fitViewOptions:f,nodeOrigin:u,nodeExtent:d,zIndexMode:b}));return l[y(1848)](v1,{value:h,children:l[y(1848)](T1,{children:g})})}function th({children:e,nodes:t,edges:n,defaultNodes:x,defaultEdges:o,width:r,height:i,fitView:c,fitViewOptions:f,minZoom:s,maxZoom:u,nodeOrigin:d,nodeExtent:b,zIndexMode:g}){const y=a;return N[y(941)](O0)?l[y(1848)](l[y(1555)],{children:e}):l.jsx(nh,{initialNodes:t,initialEdges:n,defaultNodes:x,defaultEdges:o,initialWidth:r,initialHeight:i,fitView:c,initialFitViewOptions:f,initialMinZoom:s,initialMaxZoom:u,nodeOrigin:d,nodeExtent:b,zIndexMode:g,children:e})}const xh={width:a(1933),height:a(1933),overflow:a(909),position:a(322),zIndex:0};function oh({nodes:e,edges:t,defaultNodes:n,defaultEdges:x,className:o,nodeTypes:r,edgeTypes:i,onNodeClick:c,onEdgeClick:f,onInit:s,onMove:u,onMoveStart:d,onMoveEnd:b,onConnect:g,onConnectStart:y,onConnectEnd:h,onClickConnectStart:m,onClickConnectEnd:M,onNodeMouseEnter:p,onNodeMouseMove:v,onNodeMouseLeave:w,onNodeContextMenu:C,onNodeDoubleClick:P,onNodeDragStart:A,onNodeDrag:G,onNodeDragStop:j,onNodesDelete:q,onEdgesDelete:F,onDelete:Z,onSelectionChange:W,onSelectionDragStart:V,onSelectionDrag:L,onSelectionDragStop:D,onSelectionContextMenu:B,onSelectionStart:Y,onSelectionEnd:I,onBeforeDelete:k,connectionMode:R,connectionLineType:J=yn[a(658)],connectionLineStyle:X,connectionLineComponent:ne,connectionLineContainerStyle:K,deleteKeyCode:te=a(1619),selectionKeyCode:$=a(795),selectionOnDrag:ce=!1,selectionMode:ie=At[a(1435)],panActivationKeyCode:S=a(553),multiSelectionKeyCode:U=Vt()?a(993):a(982),zoomActivationKeyCode:_=Vt()?a(993):a(982),snapToGrid:H,snapGrid:O,onlyRenderVisibleElements:ee=!1,selectNodesOnDrag:de,nodesDraggable:ye,autoPanOnNodeFocus:se,nodesConnectable:he,nodesFocusable:pe,nodeOrigin:be=tc,edgesFocusable:ze,edgesReconnectable:De,elementsSelectable:Ue=!0,defaultViewport:Oe=Y1,minZoom:Ie=.5,maxZoom:Ye=2,translateExtent:We=jt,preventScrolling:Wt=!0,nodeExtent:zn,defaultMarkerColor:dt=a(1901),zoomOnScroll:Hn=!0,zoomOnPinch:Vn=!0,panOnScroll:Cn=!1,panOnScrollSpeed:Mn=.5,panOnScrollMode:Tn=En[a(1478)],zoomOnDoubleClick:qn=!0,panOnDrag:Ke=!0,onPaneClick:ut,onPaneMouseEnter:$e,onPaneMouseMove:en,onPaneMouseLeave:Bn,onPaneScroll:Dn,onPaneContextMenu:Xt,paneClickDistance:to=1,nodeClickDistance:Z0=0,children:R0,onReconnect:Kt,onReconnectStart:J0,onReconnectEnd:Zt,onEdgeContextMenu:E,onEdgeDoubleClick:T,onEdgeMouseEnter:xe,onEdgeMouseMove:re,onEdgeMouseLeave:le,reconnectRadius:Q=10,onNodesChange:oe,onEdgesChange:fe,noDragClassName:me="nodrag",noWheelClassName:ge="nowheel",noPanClassName:Me=a(456),fitView:Be,fitViewOptions:Se,connectOnClick:Ge,attributionPosition:Ze,proOptions:Ln,defaultEdgeOptions:un,elevateNodesOnSelect:ft=!0,elevateEdgesOnSelect:Wn=!1,disableKeyboardA11y:ua=!1,autoPanOnConnect:tb,autoPanOnNodeDrag:xb,autoPanSpeed:ob,connectionRadius:rb,isValidConnection:ib,onError:cb,style:ab,id:fa,nodeDragThreshold:sb,connectionDragThreshold:lb,viewport:db,onViewportChange:ub,width:fb,height:hb,colorMode:bb=a(264),debug:gb,onScroll:ha,ariaLabelConfig:yb,zIndexMode:ba=a(764),...mb},wb){const fn=a,xo=fa||"1",vb=U1(bb),pb=N.useCallback(ga=>{const zb=_0x4f97;ga.currentTarget[zb(1421)]({top:0,left:0,behavior:"instant"}),ha?.(ga)},[ha]);return l.jsx(fn(1929),{"data-testid":fn(1131),...mb,onScroll:pb,style:{...ab,...xh},ref:wb,className:Pe([fn(1327),o,vb]),id:fa,role:"application",children:l[fn(272)](th,{nodes:e,edges:t,width:fb,height:hb,fitView:Be,fitViewOptions:Se,minZoom:Ie,maxZoom:Ye,nodeOrigin:be,nodeExtent:zn,zIndexMode:ba,children:[l[fn(1848)](E1,{nodes:e,edges:t,defaultNodes:n,defaultEdges:x,onConnect:g,onConnectStart:y,onConnectEnd:h,onClickConnectStart:m,onClickConnectEnd:M,nodesDraggable:ye,autoPanOnNodeFocus:se,nodesConnectable:he,nodesFocusable:pe,edgesFocusable:ze,edgesReconnectable:De,elementsSelectable:Ue,elevateNodesOnSelect:ft,elevateEdgesOnSelect:Wn,minZoom:Ie,maxZoom:Ye,nodeExtent:zn,onNodesChange:oe,onEdgesChange:fe,snapToGrid:H,snapGrid:O,connectionMode:R,translateExtent:We,connectOnClick:Ge,defaultEdgeOptions:un,fitView:Be,fitViewOptions:Se,onNodesDelete:q,onEdgesDelete:F,onDelete:Z,onNodeDragStart:A,onNodeDrag:G,onNodeDragStop:j,onSelectionDrag:L,onSelectionDragStart:V,onSelectionDragStop:D,onMove:u,onMoveStart:d,onMoveEnd:b,noPanClassName:Me,nodeOrigin:be,rfId:xo,autoPanOnConnect:tb,autoPanOnNodeDrag:xb,autoPanSpeed:ob,onError:cb,connectionRadius:rb,isValidConnection:ib,selectNodesOnDrag:de,nodeDragThreshold:sb,connectionDragThreshold:lb,onBeforeDelete:k,debug:gb,ariaLabelConfig:yb,zIndexMode:ba}),l[fn(1848)]($5,{onInit:s,onNodeClick:c,onEdgeClick:f,onNodeMouseEnter:p,onNodeMouseMove:v,onNodeMouseLeave:w,onNodeContextMenu:C,onNodeDoubleClick:P,nodeTypes:r,edgeTypes:i,connectionLineType:J,connectionLineStyle:X,connectionLineComponent:ne,connectionLineContainerStyle:K,selectionKeyCode:$,selectionOnDrag:ce,selectionMode:ie,deleteKeyCode:te,multiSelectionKeyCode:U,panActivationKeyCode:S,zoomActivationKeyCode:_,onlyRenderVisibleElements:ee,defaultViewport:Oe,translateExtent:We,minZoom:Ie,maxZoom:Ye,preventScrolling:Wt,zoomOnScroll:Hn,zoomOnPinch:Vn,zoomOnDoubleClick:qn,panOnScroll:Cn,panOnScrollSpeed:Mn,panOnScrollMode:Tn,panOnDrag:Ke,onPaneClick:ut,onPaneMouseEnter:$e,onPaneMouseMove:en,onPaneMouseLeave:Bn,onPaneScroll:Dn,onPaneContextMenu:Xt,paneClickDistance:to,nodeClickDistance:Z0,onSelectionContextMenu:B,onSelectionStart:Y,onSelectionEnd:I,onReconnect:Kt,onReconnectStart:J0,onReconnectEnd:Zt,onEdgeContextMenu:E,onEdgeDoubleClick:T,onEdgeMouseEnter:xe,onEdgeMouseMove:re,onEdgeMouseLeave:le,reconnectRadius:Q,defaultMarkerColor:dt,noDragClassName:me,noWheelClassName:ge,noPanClassName:Me,rfId:xo,disableKeyboardA11y:ua,nodeExtent:zn,viewport:db,onViewportChange:ub}),l[fn(1848)](I1,{onSelectionChange:W}),R0,l[fn(1848)](L1,{proOptions:Ln,position:Ze}),l[fn(1848)](D1,{rfId:xo,disableKeyboardA11y:ua})]})})}var rh=bc(oh);function ih(e){const t=a,[n,x]=N[t(1641)](e),o=N[t(1942)](r=>x(i=>lc(r,i)),[]);return[n,x,o]}function ch(e){const t=a,[n,x]=N[t(1641)](e),o=N[t(1942)](r=>x(i=>dc(r,i)),[]);return[n,x,o]}function ah({dimensions:e,lineWidth:t,variant:n,className:x}){const o=a;return l[o(1848)]("path",{strokeWidth:t,d:"M"+e[0]/2+" 0 V"+e[1]+o(1132)+e[1]/2+" H"+e[0],className:Pe([o(1943),n,x])})}function sh({radius:e,className:t}){return l[a(1848)]("circle",{cx:e,cy:e,r:e,className:Pe(["react-flow__background-pattern","dots",t])})}var vn;(function(e){const t=a;e.Lines=t(1973),e[t(1469)]=t(976),e[t(1098)]=t(964)})(vn||(vn={}));const lh={[vn[a(1469)]]:1,[vn.Lines]:1,[vn.Cross]:6},dh=e=>({transform:e[a(1958)],patternId:"pattern-"+e[a(1590)]});function Fc({id:e,variant:t=vn[a(1469)],gap:n=20,size:x,lineWidth:o=1,offset:r=0,color:i,bgColor:c,style:f,className:s,patternClassName:u}){const d=a,b=N[d(840)](null),{transform:g,patternId:y}=Ce(dh,Le),h=x||lh[t],m=t===vn[d(1469)],M=t===vn.Cross,p=Array[d(1670)](n)?n:[n,n],v=[p[0]*g[2]||1,p[1]*g[2]||1],w=h*g[2],C=Array.isArray(r)?r:[r,r],P=M?[w,w]:v,A=[C[0]*g[2]||1+P[0]/2,C[1]*g[2]||1+P[1]/2],G=""+y+(e||"");return l[d(272)]("svg",{className:Pe(["react-flow__background",s]),style:{...f,...V0,"--xy-background-color-props":c,"--xy-background-pattern-color-props":i},ref:b,"data-testid":"rf__background",children:[l.jsx("pattern",{id:G,x:g[0]%v[0],y:g[1]%v[1],width:v[0],height:v[1],patternUnits:d(1291),patternTransform:d(624)+A[0]+",-"+A[1]+")",children:m?l[d(1848)](sh,{radius:w/2,className:u}):l[d(1848)](ah,{dimensions:P,lineWidth:o,variant:t,className:u})}),l[d(1848)](d(348),{x:"0",y:"0",width:d(1933),height:"100%",fill:"url(#"+G+")"})]})}Fc[a(295)]=a(1606);const uh=N.memo(Fc);function fh(){const e=a;return l[e(1848)](e(913),{xmlns:e(937),viewBox:"0 0 32 32",children:l[e(1848)](e(1681),{d:e(534)})})}function hh(){const e=a;return l[e(1848)](e(913),{xmlns:e(937),viewBox:"0 0 32 5",children:l[e(1848)](e(1681),{d:"M0 0h32v4.2H0z"})})}function bh(){const e=a;return l[e(1848)](e(913),{xmlns:e(937),viewBox:e(853),children:l.jsx(e(1681),{d:e(524)})})}function gh(){const e=a;return l.jsx(e(913),{xmlns:e(937),viewBox:e(1860),children:l[e(1848)](e(1681),{d:e(1242)})})}function yh(){const e=a;return l.jsx(e(913),{xmlns:"http://www.w3.org/2000/svg",viewBox:e(1860),children:l[e(1848)](e(1681),{d:e(1064)})})}function W0({children:e,className:t,...n}){const x=a;return l[x(1848)]("button",{type:"button",className:Pe([x(1832),t]),...n,children:e})}const mh=e=>({isInteractive:e[a(742)]||e[a(1023)]||e[a(1e3)],minZoomReached:e[a(1958)][2]<=e[a(753)],maxZoomReached:e.transform[2]>=e[a(821)],ariaLabelConfig:e[a(926)]});function Qc({style:e,showZoom:t=!0,showFitView:n=!0,showInteractive:x=!0,fitViewOptions:o,onZoomIn:r,onZoomOut:i,onFitView:c,onInteractiveChange:f,className:s,children:u,position:d=a(1220),orientation:b="vertical","aria-label":g}){const y=a,h=Ne(),{isInteractive:m,minZoomReached:M,maxZoomReached:p,ariaLabelConfig:v}=Ce(mh,Le),{zoomIn:w,zoomOut:C,fitView:P}=Fx(),A=()=>{w(),r?.()},G=()=>{C(),i?.()},j=()=>{P(o),c?.()},q=()=>{h.setState({nodesDraggable:!m,nodesConnectable:!m,elementsSelectable:!m}),f?.(!m)},F=b===y(1680)?"horizontal":y(781);return l.jsxs(G0,{className:Pe(["react-flow__controls",F,s]),position:d,style:e,"data-testid":y(1963),"aria-label":g??v[y(1423)],children:[t&&l.jsxs(l[y(1555)],{children:[l.jsx(W0,{onClick:A,className:"react-flow__controls-zoomin",title:v[y(443)],"aria-label":v["controls.zoomIn.ariaLabel"],disabled:p,children:l[y(1848)](fh,{})}),l.jsx(W0,{onClick:G,className:y(986),title:v[y(1088)],"aria-label":v[y(1088)],disabled:M,children:l[y(1848)](hh,{})})]}),n&&l[y(1848)](W0,{className:y(1395),onClick:j,title:v[y(607)],"aria-label":v[y(607)],children:l[y(1848)](bh,{})}),x&&l.jsx(W0,{className:y(610),onClick:q,title:v[y(354)],"aria-label":v[y(354)],children:m?l[y(1848)](yh,{}):l[y(1848)](gh,{})}),u]})}Qc[a(295)]=a(521);const wh=N.memo(Qc);function vh({id:e,x:t,y:n,width:x,height:o,style:r,color:i,strokeColor:c,strokeWidth:f,className:s,borderRadius:u,shapeRendering:d,selected:b,onClick:g}){const y=a,{background:h,backgroundColor:m}=r||{},M=i||h||m;return l.jsx(y(348),{className:Pe(["react-flow__minimap-node",{selected:b},s]),x:t,y:n,rx:u,ry:u,width:x,height:o,style:{fill:M,stroke:c,strokeWidth:f},shapeRendering:d,onClick:g?p=>g(p,e):void 0})}const ph=N.memo(vh),zh=e=>e.nodes[a(539)](t=>t.id),no=e=>e instanceof Function?e:()=>e;function Ch({nodeStrokeColor:e,nodeColor:t,nodeClassName:n="",nodeBorderRadius:x=5,nodeStrokeWidth:o,nodeComponent:r=ph,onClick:i}){const c=a,f=Ce(zh,Le),s=no(t),u=no(e),d=no(n),b=typeof window>"u"||window[c(1572)]?c(664):"geometricPrecision";return l[c(1848)](l[c(1555)],{children:f.map(g=>l[c(1848)](Bh,{id:g,nodeColorFunc:s,nodeStrokeColorFunc:u,nodeClassNameFunc:d,nodeBorderRadius:x,nodeStrokeWidth:o,NodeComponent:r,onClick:i,shapeRendering:b},g))})}function Mh({id:e,nodeColorFunc:t,nodeStrokeColorFunc:n,nodeClassNameFunc:x,nodeBorderRadius:o,nodeStrokeWidth:r,shapeRendering:i,NodeComponent:c,onClick:f}){const s=a,{node:u,x:d,y:b,width:g,height:y}=Ce(h=>{const m=_0x4f97,M=h.nodeLookup[m(1077)](e);if(!M)return{node:void 0,x:0,y:0,width:0,height:0};const p=M[m(1130)].userNode,{x:v,y:w}=M[m(1130)][m(1256)],{width:C,height:P}=dn(p);return{node:p,x:v,y:w,width:C,height:P}},Le);return!u||u.hidden||!si(u)?null:l[s(1848)](c,{x:d,y:b,width:g,height:y,style:u[s(1632)],selected:!!u[s(1480)],className:x(u),color:t(u),borderRadius:o,strokeColor:n(u),strokeWidth:r,shapeRendering:i,onClick:f,id:u.id})}const Bh=N[a(339)](Mh);var Dh=N.memo(Ch);const Lh=200,Nh=150,Sh=e=>!e.hidden,kh=e=>{const t=a,n={x:-e[t(1958)][0]/e[t(1958)][2],y:-e[t(1958)][1]/e.transform[2],width:e[t(1030)]/e[t(1958)][2],height:e[t(1517)]/e[t(1958)][2]};return{viewBB:n,boundingRect:e[t(1615)][t(1370)]>0?ii(Ut(e[t(1615)],{filter:Sh}),n):n,rfId:e[t(1590)],panZoom:e[t(1134)],translateExtent:e[t(1236)],flowWidth:e[t(1030)],flowHeight:e.height,ariaLabelConfig:e.ariaLabelConfig}},Ph=a(426);function $c({style:e,className:t,nodeStrokeColor:n,nodeColor:x,nodeClassName:o="",nodeBorderRadius:r=5,nodeStrokeWidth:i,nodeComponent:c,bgColor:f,maskColor:s,maskStrokeColor:u,maskStrokeWidth:d,position:b=a(1675),onClick:g,onNodeClick:y,pannable:h=!1,zoomable:m=!1,ariaLabel:M,inversePan:p,zoomStep:v=1,offsetScale:w=5}){const C=a,P=Ne(),A=N[C(840)](null),{boundingRect:G,viewBB:j,rfId:q,panZoom:F,translateExtent:Z,flowWidth:W,flowHeight:V,ariaLabelConfig:L}=Ce(kh,Le),D=e?.width??Lh,B=e?.[C(1517)]??Nh,Y=G.width/D,I=G[C(1517)]/B,k=Math[C(1495)](Y,I),R=k*D,J=k*B,X=w*k,ne=G.x-(R-G[C(1030)])/2-X,K=G.y-(J-G[C(1517)])/2-X,te=R+X*2,$=J+X*2,ce=Ph+"-"+q,ie=N[C(840)](0),S=N[C(840)]();ie.current=k,N[C(502)](()=>{const O=C;if(A[O(1189)]&&F)return S[O(1189)]=Kf({domNode:A[O(1189)],panZoom:F,getTransform:()=>P[O(1277)]()[O(1958)],getViewScale:()=>ie[O(1189)]}),()=>{S[O(1189)]?.destroy()}},[F]),N[C(502)](()=>{S.current?.update({translateExtent:Z,width:W,height:V,inversePan:p,pannable:h,zoomStep:v,zoomable:m})},[h,m,p,v,Z,W,V]);const U=g?O=>{const ee=C,[de,ye]=S[ee(1189)]?.pointer(O)||[0,0];g(O,{x:de,y:ye})}:void 0,_=y?N[C(1942)]((O,ee)=>{const de=C,ye=P.getState()[de(1615)][de(1077)](ee)[de(1130)].userNode;y(O,ye)},[]):void 0,H=M??L["minimap.ariaLabel"];return l[C(1848)](G0,{position:b,style:{...e,"--xy-minimap-background-color-props":typeof f===C(1419)?f:void 0,"--xy-minimap-mask-background-color-props":typeof s===C(1419)?s:void 0,"--xy-minimap-mask-stroke-color-props":typeof u===C(1419)?u:void 0,"--xy-minimap-mask-stroke-width-props":typeof d===C(1384)?d*k:void 0,"--xy-minimap-node-background-color-props":typeof x===C(1419)?x:void 0,"--xy-minimap-node-stroke-color-props":typeof n===C(1419)?n:void 0,"--xy-minimap-node-stroke-width-props":typeof i===C(1384)?i:void 0},className:Pe([C(851),t]),"data-testid":C(800),children:l.jsxs("svg",{width:D,height:B,viewBox:ne+" "+K+" "+te+" "+$,className:C(1519),role:C(1668),"aria-labelledby":ce,ref:A,onClick:U,children:[H&&l.jsx("title",{id:ce,children:H}),l[C(1848)](Dh,{onClick:_,nodeColor:x,nodeStrokeColor:n,nodeBorderRadius:r,nodeClassName:o,nodeStrokeWidth:i,nodeComponent:c}),l.jsx(C(1681),{className:C(725),d:"M"+(ne-X)+","+(K-X)+"h"+(te+X*2)+"v"+($+X*2)+"h"+(-te-X*2)+C(933)+j.x+","+j.y+"h"+j[C(1030)]+"v"+j[C(1517)]+"h"+-j[C(1030)]+"z",fillRule:C(1960),pointerEvents:C(403)})]})})}$c.displayName=a(544);const Ih=N.memo($c),Yh=e=>t=>e?""+Math.max(1/t.transform[2],1):void 0,jh={[at[a(281)]]:a(2006),[at[a(342)]]:a(1675)};function Ah({nodeId:e,position:t,variant:n=at[a(342)],className:x,style:o=void 0,children:r,color:i,minWidth:c=10,minHeight:f=10,maxWidth:s=Number[a(1153)],maxHeight:u=Number[a(1153)],keepAspectRatio:d=!1,resizeDirection:b,autoScale:g=!0,shouldResize:y,onResizeStart:h,onResize:m,onResizeEnd:M}){const p=a,v=pc(),w=typeof e===p(1419)?e:v,C=Ne(),P=N[p(840)](null),A=n===at[p(342)],G=Ce(N.useCallback(Yh(A&&g),[A,g]),Le),j=N[p(840)](null),q=t??jh[n];N.useEffect(()=>{const Z=p;if(!(!P[Z(1189)]||!w))return!j[Z(1189)]&&(j[Z(1189)]=i1({domNode:P.current,nodeId:w,getStoreItems:()=>{const{nodeLookup:W,transform:V,snapGrid:L,snapToGrid:D,nodeOrigin:B,domNode:Y}=C.getState();return{nodeLookup:W,transform:V,snapGrid:L,snapToGrid:D,nodeOrigin:B,paneDomNode:Y}},onChange:(W,V)=>{const L=Z,{triggerNodeChanges:D,nodeLookup:B,parentLookup:Y,nodeOrigin:I}=C[L(1277)](),k=[],R={x:W.x,y:W.y},J=B[L(1077)](w);if(J&&J.expandParent&&J[L(1932)]){const X=J.origin??I,ne=W[L(1030)]??J[L(330)].width??0,K=W[L(1517)]??J[L(330)].height??0,te={id:J.id,parentId:J[L(1932)],rect:{width:ne,height:K,...li({x:W.x??J[L(1690)].x,y:W.y??J.position.y},{width:ne,height:K},J[L(1932)],B,X)}},$=Vx([te],B,Y,I);k[L(1374)](...$),R.x=W.x?Math[L(1495)](X[0]*ne,W.x):void 0,R.y=W.y?Math.max(X[1]*K,W.y):void 0}if(R.x!==void 0&&R.y!==void 0){const X={id:w,type:L(1690),position:{...R}};k.push(X)}if(W[L(1030)]!==void 0&&W[L(1517)]!==void 0){const X=b?b===L(1680)?L(1030):L(1517):!0,ne={id:w,type:L(1426),resizing:!0,setAttributes:X,dimensions:{width:W[L(1030)],height:W[L(1517)]}};k[L(1374)](ne)}for(const X of V){const ne={...X,type:"position"};k.push(ne)}D(k)},onEnd:({width:W,height:V})=>{const L=Z,D={id:w,type:L(1426),resizing:!1,dimensions:{width:W,height:V}};C[L(1277)]()[L(842)]([D])}})),j[Z(1189)][Z(1117)]({controlPosition:q,boundaries:{minWidth:c,minHeight:f,maxWidth:s,maxHeight:u},keepAspectRatio:d,resizeDirection:b,onResizeStart:h,onResize:m,onResizeEnd:M,shouldResize:y}),()=>{const W=Z;j[W(1189)]?.[W(626)]()}},[q,c,f,s,u,d,h,m,M,y]);const F=q[p(697)]("-");return l[p(1848)](p(1929),{className:Pe(["react-flow__resize-control",p(1671),...F,n,x]),ref:P,style:{...o,scale:G,...i&&{[p(A?653:638)]:i}},children:r})}N[a(339)](Ah);const ea=e=>Symbol.iterator in e,na=e=>a(955)in e,ta=(e,t)=>{const n=a,x=e instanceof Map?e:new Map(e[n(955)]()),o=t instanceof Map?t:new Map(t[n(955)]());if(x[n(1370)]!==o.size)return!1;for(const[r,i]of x)if(!o[n(1913)](r)||!Object.is(i,o[n(1077)](r)))return!1;return!0},Eh=(e,t)=>{const n=a,x=e[Symbol[n(1836)]](),o=t[Symbol.iterator]();let r=x[n(388)](),i=o[n(388)]();for(;!r.done&&!i[n(416)];){if(!Object.is(r[n(1188)],i.value))return!1;r=x[n(388)](),i=o[n(388)]()}return!!r[n(416)]&&!!i[n(416)]};function Uh(e,t){const n=a;return Object.is(e,t)?!0:typeof e!="object"||e===null||typeof t!==n(1466)||t===null||Object[n(1562)](e)!==Object[n(1562)](t)?!1:ea(e)&&ea(t)?na(e)&&na(t)?ta(e,t):Eh(e,t):ta({entries:()=>Object.entries(e)},{entries:()=>Object.entries(t)})}const xa={inlineScript:a(1527),dataRequest:a(467),external:a(1055),builtin:a(368)},Oh=[{label:a(1521),value:a(732)}],Gh=[{label:a(884),value:a(884)},{label:a(428),value:a(428)},{label:a(949),value:a(949)},{label:a(1999),value:a(1999)},{label:a(541),value:a(541)}];function oa(e,t,n){const x=a,o=n[x(990)](i=>i[x(983)]===e),r=o[x(1470)];return o[x(539)]((i,c)=>{const f=x,s=t[f(462)](d=>d.id===i.source),u=s?.[f(420)];return{sourceId:i[f(379)],sourceLabel:u?.[f(1827)]??i[f(379)],edgeIndex:c,totalIncoming:r}})}const Hh=({data:e,id:t})=>{const n=a,x=Ce(N[n(1942)](i=>oa(t,i[n(362)],i[n(1079)])[n(539)](({sourceId:c,sourceLabel:f})=>({sourceId:c,label:f})),[t]),Uh),o=e.eventBlock[n(1692)]??n(681),r=o===n(1218)?e[n(1437)][n(424)]:o===n(1083)?e[n(1437)][n(1755)]:o===n(1349)?e[n(1437)][n(1085)]===n(732)?e[n(1437)][n(1085)]+": "+String(e[n(1437)][n(1748)]?.[n(306)]??"")[n(945)](0,24):e.eventBlock.builtinId:null;return l[n(272)]("div",{className:n(1546),children:[l.jsx(lt,{type:n(983),position:ue[n(2007)],className:n(1031)}),l[n(272)](n(1929),{className:n(1367),children:[l[n(1848)](n(888),{className:n(812),children:e[n(1827)]}),l[n(272)](z.Space,{size:"small",children:[l[n(1848)](z.Button,{type:n(1992),size:"small",icon:l[n(1848)](ae[n(289)],{}),onClick:()=>e[n(1698)](t)}),l[n(1848)](z.Button,{type:n(1992),size:"small",danger:!0,icon:l[n(1848)](ae[n(1246)],{}),onClick:()=>e[n(1747)](t)})]})]}),l[n(1848)](n(1929),{className:n(1533),children:l[n(272)](z[n(863)],{color:o===n(681)?n(1353):n(o==="builtin"?1059:265),className:"!mr-0",children:[xa[o],r?n(551)+r:""]})}),l[n(272)]("div",{className:n(1734),children:[e[n(1437)].inputs?.[n(1470)]>0&&l[n(272)](n(1929),{children:[n(1090),e[n(1437)][n(316)].map(i=>i[n(748)])[n(1498)](", ")]}),x[n(1470)]>0&&l.jsxs(n(1929),{className:"mt-1 text-amber-800",children:[n(1629),x[n(539)](i=>l[n(272)](n(1929),{className:"pl-1 border-l-2 border-amber-200",children:["←「",i[n(1827)],"」(整块返回值)"]},i.sourceId))]})]}),l[n(1848)](lt,{type:"source",position:ue[n(1172)],className:n(1031)})]})},Vh={eventBlock:Hh},Th=Object[a(955)](xa)[a(539)](([e,t])=>({label:t,value:e})),ra=[{label:"点击",value:a(1939)},{label:"鼠标按下",value:a(1571)},{label:a(1297),value:a(563)},{label:"双击",value:a(1257)},{label:a(731),value:a(1515)},{label:a(1823),value:a(1060)},{label:"鼠标进入",value:a(293)},{label:a(1799),value:a(648)},{label:"数据请求",value:a(1218)},{label:a(579),value:a(1083)}];function qh(e,t){const n=a,x={},o=[...e];return o[n(935)]((r,i)=>{const c=n,f=t.inputs[i]?.[c(748)]??(o[c(1470)]===1?c(359):c(359)+i);x[f]=c(490)+r[c(379)]}),x}function Wh(e,t,n){const x=a;return n[e]?.[x(748)]??(t===1?"prev":x(359)+e)}const Xh=[{label:a(1419),value:a(1419)},{label:"number",value:a(1384)},{label:a(1443),value:a(1443)},{label:a(1466),value:a(1466)},{label:a(1867),value:a(1867)}];function ia(e){const t=a,n=ra[t(462)](o=>o[t(1188)]===e[t(1604)]),x=n?.[t(1827)]??e[t(1604)];if(e[t(1604)]==="external"){const o=(e[t(1424)]||"")[t(384)]();return o?x+t(551)+o:x}return x}const Kh=({open:e,onClose:t,bindNodeId:n})=>{const x=a,{nodes:o,eventFlow:r,externalHandlerCatalog:i,addEventBlock:c,upsertEventBlock:f,removeEventBlock:s,addEventRoot:u,updateEventRoot:d}=Ae(),[b,g,y]=ih([]),[h,m,M]=ch([]),p=N[x(840)](b);p[x(1189)]=b;const[v,w]=N[x(1641)](null),[C,P]=N[x(1641)](!1),[A]=z.Form.useForm(),G=z[x(334)].useWatch(x(1604),A),[j,q]=N[x(1641)](null),[F,Z]=N.useState(!1),[W]=z[x(334)][x(1217)](),V=z[x(334)][x(1830)](x(1692),W),L=z[x(334)][x(1830)](x(1085),W),D=z[x(334)][x(1830)](x(316),W),B=N.useMemo(()=>!F||!j?[]:oa(j.id,b,h),[F,j,b,h]),Y=N[x(840)](()=>{}),I=N[x(840)](()=>{});N[x(502)](()=>{const S=x;if(F&&j){const U=j[S(1748)]??{},{outputs:_,...H}=j;W.setFieldsValue({...H,executorType:j.executorType??S(681),builtinId:j.builtinId,inputs:j[S(316)]??[],builtinConfig:{content:String(U[S(306)]??""),level:String(U[S(1944)]??"info"),duration:U[S(1294)]===void 0||U[S(1294)]===null?void 0:Number(U.duration)}})}},[F,j,W]);const k=N.useCallback(S=>{m(U=>vi(S,U))},[m]),R=S=>{const U=x,_={bindNodeId:S[U(1660)],eventType:S[U(1604)],externalEventKey:S[U(1604)]===U(1083)?(S.externalEventKey||"")[U(384)]():void 0,flowData:{nodes:[],edges:[]},enabled:!0},H=u(_);w({..._,id:H}),A[U(778)](),P(!1),z.message[U(428)](U(1116))},J=N[x(1942)](S=>{const U=x;s(S),g(_=>_[U(990)](H=>H.id!==S)),m(_=>_[U(990)](H=>H[U(379)]!==S&&H.target!==S))},[s,g,m]),X=N[x(1942)](S=>{const U=x,_=p[U(1189)].find(ee=>ee.id===S)?.[U(420)]?.[U(1437)],H=r.eventBlocks.find(ee=>ee.id===S),O=_??H;O?(q({...O,id:S}),Z(!0)):z.message[U(949)]("找不到事件块")},[r[x(874)]]);Y[x(1189)]=X,I[x(1189)]=J,N[x(502)](()=>{const S=x;if(e&&v){const U=v.flowData.nodes[S(539)](H=>({id:H.id,type:"eventBlock",position:H[S(1690)],data:{label:H[S(420)][S(1827)],eventBlock:H[S(420)][S(1437)],onEdit:O=>Y[S(1189)](O),onDelete:O=>I[S(1189)](O)}})),_=v[S(1006)][S(1079)][S(539)](H=>({id:H.id,source:H[S(379)],target:H[S(983)]}));g(U),m(_)}},[e,v,g,m]);const ne=()=>{const S=x,U={name:S(1949),executorType:S(681),callback:S(1250),inputs:[],outputs:[]},_=c(U),H={...U,id:_},O={id:_,type:"eventBlock",position:{x:100+b[S(1470)]*50,y:100+b.length*30},data:{label:H.name,eventBlock:H,onEdit:ee=>Y[S(1189)](ee),onDelete:ee=>I[S(1189)](ee)}};g(ee=>[...ee,O])},K=()=>{const S=x,U={name:S(1727),executorType:S(1349),builtinId:S(732),builtinConfig:{content:S(706),level:S(884)},callback:S(458),inputs:[],outputs:[]},_=c(U),H={...U,id:_},O={id:_,type:S(1437),position:{x:120+b[S(1470)]*50,y:140+b[S(1470)]*30},data:{label:H[S(748)],eventBlock:H,onEdit:ee=>Y[S(1189)](ee),onDelete:ee=>I[S(1189)](ee)}};g(ee=>[...ee,O])},te=S=>{const U=x;if(!j)return;const _=S[U(1692)]??j[U(1692)]??"inlineScript",H={name:S[U(748)],callback:S[U(971)]??j[U(971)],executorType:_,dataRequestKey:_===U(1218)?(S.dataRequestKey||"").trim():void 0,externalHandlerKey:_===U(1083)?(S[U(1755)]||"")[U(384)]():void 0,builtinId:_===U(1349)?S[U(1085)]:void 0,builtinConfig:_===U(1349)&&S[U(1085)]===U(732)?{content:String(S[U(1748)]?.[U(306)]??"")[U(384)](),level:S.builtinConfig?.level||U(884),duration:S.builtinConfig?.[U(1294)]===null||S[U(1748)]?.[U(1294)]===void 0?void 0:Number(S.builtinConfig[U(1294)])}:void 0},O=S[U(316)]??[],ee=O[U(990)](ye=>ye?.[U(748)]&&String(ye[U(748)])[U(384)]()),de={...j,...H,inputs:ee,outputs:[]};f(de),g(ye=>ye[U(539)](se=>se.id===j.id?{...se,data:{...se[U(420)],label:de[U(748)]||se.data[U(1827)],eventBlock:de}}:se)),Z(!1),q(null),z[U(333)][U(428)]("事件块已更新")},$=()=>{const S=x;if(!v)return;const U=b[S(539)](H=>{const O=S,ee=h.filter(se=>se[O(983)]===H.id),de=H[O(420)][O(1437)],ye={...de,outputs:[]};return{id:H.id,eventBlockId:H.id,position:H[O(1690)],inputs:ee[O(539)](se=>se[O(379)]),outputs:h[O(990)](se=>se[O(379)]===H.id)[O(539)](se=>se[O(983)]),data:{label:H[O(420)][O(1827)],eventBlock:ye,inputMapping:qh(ee,ye)}}}),_=h.map(H=>({id:H.id,source:H[S(379)],target:H.target}));d(v.id,{flowData:{nodes:U,edges:_}}),_n[S(1273)]({...v,flowData:{nodes:U,edges:_}}),z[S(333)][S(428)](S(768)),t()},ce=N[x(449)](()=>o[x(539)](S=>({label:S.name,value:S.id})),[o]),ie=N[x(449)](()=>n?r.eventRoots[x(990)](S=>S[x(1660)]===n):r[x(965)],[r[x(965)],n]);return e?l.jsxs(z.Modal,{title:"事件流编辑器",open:e,onCancel:t,width:1200,footer:null,styles:{body:{height:700,padding:0}},children:[v?l[x(272)](x(1929),{className:"h-full flex flex-col",style:{height:700},children:[l[x(272)]("div",{className:x(759),children:[l[x(1848)](z.Space,{children:l[x(272)](x(888),{className:x(1808),children:[x(328),ia(v)," →"," ",o[x(462)](S=>S.id===v[x(1660)])?.name]})}),l[x(272)](z.Space,{children:[l[x(1848)](z[x(1817)],{icon:l[x(1848)](ae.PlusOutlined,{}),onClick:ne,children:x(1223)}),l.jsx(z[x(1817)],{icon:l.jsx(ae[x(413)],{}),onClick:K,children:"Message 提示"}),l.jsx(z[x(1817)],{type:x(1916),icon:l.jsx(ae[x(1397)],{}),onClick:$,children:"保存"}),l[x(1848)](z.Button,{icon:l[x(1848)](ae[x(1093)],{}),onClick:()=>w(null),children:x(1315)})]})]}),l[x(1848)](x(1929),{className:x(631),children:l.jsxs(rh,{nodes:b,edges:h,onNodesChange:y,onEdgesChange:M,onConnect:k,nodeTypes:Vh,fitView:!0,children:[l[x(1848)](uh,{}),l[x(1848)](wh,{}),l[x(1848)](Ih,{})]})})]}):l[x(272)]("div",{className:x(1959),children:[l[x(272)](x(1929),{className:x(1461),children:[l[x(1848)]("h3",{className:x(1398),children:"选择或创建事件流"}),l[x(1848)](z[x(1817)],{type:x(1916),icon:l[x(1848)](ae.PlusOutlined,{}),onClick:()=>P(!0),children:x(1011)})]}),l[x(1848)](z.List,{dataSource:ie,renderItem:S=>l[x(1848)](z[x(1822)][x(1373)],{actions:[l[x(1848)](z[x(1817)],{type:x(1916),icon:l.jsx(ae[x(289)],{}),onClick:()=>w(S),children:"编辑"},x(1954))],children:l.jsx(z[x(1822)].Item[x(993)],{title:l[x(272)](z.Space,{children:[l.jsxs(x(888),{children:["触发: ",ia(S)]}),l[x(1848)](z[x(863)],{color:x(475),children:o[x(462)](U=>U.id===S.bindNodeId)?.[x(748)]||S[x(1660)]})]}),description:x(1900)+S.flowData.nodes.length+x(896)+S[x(1006)].edges.length})}),locale:{emptyText:l[x(1848)](z[x(1430)],{description:x(1631)})}}),l.jsx(z.Modal,{title:x(1011),open:C,onCancel:()=>{A[x(778)](),P(!1)},footer:null,afterOpenChange:S=>{const U=x;S&&(A[U(778)](),n&&A[U(1796)]({bindNodeId:n}))},children:l.jsxs(z.Form,{form:A,onFinish:R,layout:x(781),children:[l[x(1848)](z[x(334)].Item,{name:x(1660),label:x(818),rules:[{required:!0,message:x(600)}],initialValue:n,children:l[x(1848)](z[x(788)],{options:ce,placeholder:x(1746),disabled:!!n})}),l[x(1848)](z[x(334)][x(1373)],{name:x(1604),label:"触发方式",rules:[{required:!0,message:x(1928)}],children:l.jsx(z[x(788)],{options:ra,placeholder:"DOM / 数据请求 / 外部"})}),G===x(1083)&&l[x(1848)](z[x(334)][x(1373)],{name:x(1424),label:x(522),rules:[{required:!0,message:x(594)},{validator:(S,U)=>(U||"")[x(384)]()?Promise[x(1018)]():Promise.reject(new Error(x(1673)))}],extra:"与 eventBus.emitExternal(节点id, 该标识) 一致",children:l[x(1848)](z[x(816)],{placeholder:"例如:refresh"})}),l[x(1848)](z[x(334)][x(1373)],{className:x(1568),children:l[x(272)](z.Space,{className:x(1233),children:[l[x(1848)](z[x(1817)],{onClick:()=>{A[x(778)](),P(!1)},children:"取消"}),l[x(1848)](z.Button,{type:x(1916),htmlType:x(1995),children:"创建"})]})})]})})]}),l[x(1848)](z[x(1993)],{title:x(532),open:F,onCancel:()=>{Z(!1),q(null)},footer:null,destroyOnClose:!0,children:l[x(272)](z[x(334)],{form:W,onFinish:te,layout:x(781),children:[l.jsx(z[x(334)][x(1373)],{name:x(748),label:"名称",rules:[{required:!0,message:x(1343)}],children:l.jsx(z[x(816)],{})}),l[x(1848)](z[x(334)][x(1373)],{name:x(1692),label:x(271),rules:[{required:!0,message:"请选择执行方式"}],children:l[x(1848)](z[x(788)],{options:Th,placeholder:x(1320)})}),V==="builtin"&&l[x(1848)](z[x(334)][x(1373)],{name:x(1085),label:"内置动作",rules:[{required:!0,message:"请选择内置动作"}],children:l[x(1848)](z[x(788)],{options:Oh,placeholder:x(1261)})}),V==="builtin"&&L===x(732)&&l[x(272)](l[x(1555)],{children:[l[x(1848)](z[x(334)][x(1373)],{name:[x(1748),"content"],label:x(1737),rules:[{required:!0,message:x(1360)}],extra:"占位符:{{prev}}、{{入参名}} 引用上游连线入参;{{$data.xxx}} 取事件上下文 data",children:l[x(1848)](z.Input[x(1152)],{rows:3,placeholder:x(1693)})}),l.jsx(z[x(334)][x(1373)],{name:["builtinConfig",x(1944)],label:x(1394),children:l[x(1848)](z[x(788)],{options:Gh})}),l[x(1848)](z[x(334)][x(1373)],{name:[x(1748),x(1294)],label:x(1425),extra:x(1509),children:l.jsx(z[x(1179)],{min:0,step:.5,style:{width:"100%"},placeholder:"默认"})})]}),V===x(1218)&&l[x(1848)](z[x(334)].Item,{name:x(424),label:x(835),rules:[{required:!0,message:x(1974)},{validator:(S,U)=>(U||"")[x(384)]()?Promise[x(1018)]():Promise[x(961)](new Error(x(1673)))}],extra:"运行时 eventBus.setDefaultRuntimeHandlers({ dataRequest: { [标识]: (ctx, args) => ... } })",children:l[x(1848)](z[x(816)],{placeholder:"例如:loadTrend、fetchDeviceList"})}),V==="external"&&l[x(1848)](z[x(334)][x(1373)],{name:x(1755),label:x(806),rules:[{required:!0,message:"请填写外部方法标识"},{validator:(S,U)=>(U||"")[x(384)]()?Promise[x(1018)]():Promise[x(961)](new Error("标识不能为空"))}],extra:i[x(1470)]>0?"来自 ConfigEditor 的 externalEventActions;也可在运行时 eventBus.mergeDefaultRuntimeHandlers({ external }) 补充":"未配置下拉时手动填写 key;宿主可用 ConfigEditor externalEventActions 注册选项与 handler,或 eventBus.mergeDefaultRuntimeHandlers",children:i[x(1470)]>0?l[x(1848)](z[x(788)],{showSearch:!0,optionFilterProp:"label",allowClear:!0,placeholder:x(440),options:i[x(539)](S=>({value:S[x(1400)],label:S[x(1827)],title:S.description?S[x(1827)]+" — "+S[x(1624)]:S.label+" ("+S.key+")"}))}):l.jsx(z[x(816)],{placeholder:x(773)})}),V===x(681)&&l.jsx(z[x(334)][x(1373)],{name:x(971),label:x(1352),rules:[{validator:(S,U)=>{const _=x;return typeof U===_(1419)&&U[_(384)]()?Promise[_(1018)]():Promise.reject(new Error(_(905)))}}],children:l.jsx(z.Input[x(1152)],{rows:6,placeholder:x(371)})}),B[x(1470)]>0&&l.jsxs(x(1929),{className:x(674),children:[l.jsx(x(1929),{className:"font-medium text-amber-950 mb-2",children:x(275)}),l[x(1848)]("ul",{className:x(736),children:B.map(S=>{const U=x,_=D??j?.[U(316)]??[],H=Wh(S[U(1199)],S.totalIncoming,_);return l[U(272)]("li",{className:"pl-2 border-l-2 border-amber-300",children:[l[U(272)](U(1929),{className:U(1344),children:["第 ",S[U(1199)]+1," 条入边 ←「",S[U(837)],U(356),l.jsx(U(1439),{children:U(508)})," →"," ",l.jsxs(U(1393),{className:"bg-white px-1 rounded",children:["args.",H]})]}),l.jsxs(U(1929),{className:"text-gray-600 mt-0.5",children:[U(930),S.edgeIndex+1," 行填写参数名即可自定义键名(须与入边顺序一致)。"]})]},S[U(285)])})})]}),l[x(1848)](x(1929),{className:x(1238),children:"入参名称(按连线顺序)"}),l[x(272)](x(1929),{className:x(1067),children:[x(488)," ",l[x(1848)](x(1393),{children:x(1141)}),x(580),l[x(1848)](x(1393),{children:x(1230)}),"、",l[x(1848)](x(1393),{children:"args.prev1"}),"…"]}),l[x(1848)](z.Form.List,{name:"inputs",children:(S,{add:U,remove:_})=>l.jsxs(l.Fragment,{children:[S[x(539)](({key:H,name:O,...ee})=>l[x(272)](z[x(553)],{align:"baseline",wrap:!0,className:"mb-2",children:[l[x(1848)](z[x(334)][x(1373)],{...ee,name:[O,x(748)],rules:[{required:!0,message:"名称"}],children:l[x(1848)](z[x(816)],{placeholder:"参数名,如 A",style:{width:140}})}),l.jsx(z[x(334)].Item,{...ee,name:[O,"type"],initialValue:"any",children:l[x(1848)](z[x(788)],{options:Xh,style:{width:100}})}),l[x(1848)](ae[x(680)],{className:x(883),onClick:()=>_(O)})]},H)),l.jsx(z[x(1817)],{type:x(1108),onClick:()=>U({type:x(1867)}),block:!0,icon:l[x(1848)](ae[x(413)],{}),children:x(1991)})]})}),l[x(1848)](z[x(334)][x(1373)],{className:x(1409),children:l.jsxs(z.Space,{className:x(1233),children:[l.jsx(z[x(1817)],{onClick:()=>{Z(!1),q(null)},children:"取消"}),l.jsx(z.Button,{type:x(1916),htmlType:x(1995),children:"保存"})]})})]})})]}):null},X0={click:"点击",mouseDown:a(1873),mouseUp:"鼠标释放",doubleClick:"双击",mouseOver:a(731),mouseLeave:a(1823),mouseEnter:a(1340),contextMenu:a(1799),dataRequest:a(1806),external:a(579)};function Zh(e){const t=a;if(e[t(1604)]==="external"){const n=(e[t(1424)]||"")[t(384)]();return n?X0.external+t(551)+n:X0[t(1083)]}return X0[e.eventType]}const Rh=Object[a(955)](X0)[a(539)](([e,t])=>({label:t,value:e})),Jh=({nodeId:e})=>{const t=a,{eventFlow:n,addEventRoot:x,updateEventRoot:o,removeEventRoot:r}=Ae(),[i,c]=N[t(1641)](!1),[f,s]=N[t(1641)](null),[u,d]=N[t(1641)](!1),[b]=z.Form[t(1217)](),g=z[t(334)].useWatch("eventType",b),y=N.useMemo(()=>{const v=t;return n[v(965)][v(990)](w=>w.bindNodeId===e)},[n[t(965)],e]),h=v=>{const w=t,C={bindNodeId:e,eventType:v[w(1604)],externalEventKey:v[w(1604)]===w(1083)?(v[w(1424)]||"").trim():void 0,flowData:{nodes:[],edges:[]},enabled:!0};x(C),b[w(778)](),d(!1)},m=v=>{s(v),c(!0)},M=(v,w)=>{o(v.id,{enabled:w})},p=v=>{r(v)};return l[t(272)]("div",{children:[l[t(272)](t(1929),{className:t(1461),children:[l[t(1848)]("h4",{className:t(1607),children:t(1625)}),l[t(1848)](z[t(1817)],{type:t(1916),size:t(1363),icon:l[t(1848)](ae[t(413)],{}),onClick:()=>d(!0),children:t(436)})]}),l[t(1848)](z[t(1822)],{dataSource:y,renderItem:v=>l[t(1848)](z[t(1822)].Item,{actions:[l[t(1848)](z[t(1247)],{checked:v[t(1801)],size:t(1363),onChange:w=>M(v,w)},t(1476)),l[t(1848)](z[t(1817)],{type:t(1992),size:t(1363),icon:l[t(1848)](ae[t(289)],{}),onClick:()=>m(v)},"edit"),l.jsx(z[t(1124)],{title:t(1779),description:t(789),onConfirm:()=>p(v.id),children:l[t(1848)](z[t(1817)],{type:t(1992),danger:!0,size:"small",icon:l.jsx(ae[t(1246)],{})})},t(656))],children:l[t(1848)](z[t(1822)].Item[t(993)],{title:l[t(272)](z[t(553)],{children:[l[t(1848)](z[t(863)],{color:v.enabled?"blue":t(1353),children:Zh(v)}),l[t(272)]("span",{className:"text-xs text-gray-400",children:[v[t(1006)][t(362)][t(1470)],t(1702)]})]}),description:v[t(1801)]?l[t(1848)]("span",{className:t(1157),children:"已启用"}):l[t(1848)]("span",{className:t(1853),children:t(1621)})})}),locale:{emptyText:l[t(1848)](z[t(1430)],{image:z[t(1430)][t(1317)],description:"暂无事件流绑定"})}}),l[t(1848)](z[t(1993)],{title:"添加事件流",open:u,onCancel:()=>{b[t(778)](),d(!1)},footer:null,afterOpenChange:v=>{v&&b[t(778)]()},children:l[t(272)](z[t(334)],{form:b,onFinish:h,layout:t(781),children:[l.jsx(z[t(334)][t(1373)],{name:t(1604),label:t(1001),rules:[{required:!0,message:t(1928)}],children:l[t(1848)](z[t(788)],{options:Rh,placeholder:"选择触发方式(DOM / 数据请求 / 外部)"})}),g===t(1083)&&l[t(1848)](z[t(334)][t(1373)],{name:"externalEventKey",label:t(522),rules:[{required:!0,message:t(594)},{validator:(v,w)=>(w||"")[t(384)]()?Promise[t(1018)]():Promise[t(961)](new Error(t(1673)))}],extra:"与运行时 eventBus.emitExternal(节点id, 该标识) 一致,例如:refresh、dialog:opened",children:l[t(1848)](z[t(816)],{placeholder:t(380)})}),l.jsx(z.Form[t(1373)],{className:t(1568),children:l[t(272)](z.Space,{className:t(1233),children:[l.jsx(z[t(1817)],{onClick:()=>d(!1),children:"取消"}),l[t(1848)](z[t(1817)],{type:"primary",htmlType:t(1995),children:"创建"})]})})]})}),l[t(1848)](Kh,{open:i,onClose:()=>{c(!1),s(null)},bindNodeId:e})]})},{Panel:pn}=z[a(792)],{TabPane:K0}=z.Tabs,{TextArea:_h}=z[a(816)],ca=({defaultTestData:e})=>{const t=a,{nodes:n,selectedNodeId:x,updateNode:o,updateNodeStyle:r,updateNodeControl:i,updateNodeContent:c,materials:f,selectedStatusId:s,selectStatus:u}=Ae(),[d]=z[t(334)][t(1217)](),[b,g]=N[t(1641)](t(764)),[y,h]=N.useState(!1),[m,M]=N[t(1641)](null),[p,v]=N.useState({}),w=N.useMemo(()=>n[t(462)](B=>B.id===x),[n,x]),C=w?.contentInfo[t(737)]||[],P=D=>{const B=t;x&&(D[B(611)]&&r(x,D[B(611)]),D.name!==void 0&&o(x,{name:D[B(748)]}),D.controlInfo&&i(x,D[B(1898)]))};console.log(x,t(498),w),N[t(502)](()=>{const D=t;w&&w&&(d[D(1796)]({name:w.name,normalStyle:{width:100,height:100,x:0,y:0,padding:8,background:D(912),borderRadius:0,opacity:1,...w[D(611)]},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0,...w.controlInfo}}),u(null))},[w,u,d]);const A=()=>{const D=t;!x||!w||(M(D(721)),h(!0))},G=D=>{const B=t;if(!x||!w)return;const Y={id:we[B(1448)](),name:D[B(748)]+"_状态"+(C.length+1),expression:C.length===0?B(1863):B(453),material:{...D,id:we[B(1448)]()},boundDatasetId:null};if(m==="new"){const I=[...C,Y];c(x,{statusList:I})}else if(m){const I=C.map(k=>{const R=B;return k.id===m?{...k,material:{...D,id:we[R(1448)]()}}:k});c(x,{statusList:I})}h(!1),M(null)},j=D=>{const B=t;if(!x||!w)return;const Y=w[B(466)][B(737)]?.[B(990)](I=>I.id!==D)||[];c(x,{statusList:Y}),s===D&&u(null)},q=(D,B)=>{const Y=t;if(!x||!w)return;const I=w[Y(466)].statusList?.[Y(539)](k=>k.id===D?{...k,...B}:k)||[];c(x,{statusList:I})},F=D=>{const B=t;if(!x||!w)return;const Y={...D,id:we[B(1448)](),name:D[B(748)]+B(519),expression:B(453)},I=[...C,Y];c(x,{statusList:I})},Z=(D,B)=>{const Y=t;if(!x||!w)return;const I=C[Y(720)](R=>R.id===D);if(I===-1)return;const k=[...C];B==="up"&&I>0?[k[I],k[I-1]]=[k[I-1],k[I]]:B===Y(873)&&I<k[Y(1470)]-1&&([k[I],k[I+1]]=[k[I+1],k[I]]),c(x,{statusList:k})},W=D=>{M(D),h(!0)},V=(D,B)=>{const Y=t,I=B[Y(433)]||{},k=I[Y(1160)]??0,R=I[Y(1620)]??0,J=I[Y(1906)]??100,X=I[Y(1820)]??0,ne=Math[Y(1495)]((I[Y(1240)]||I.thickness||2)*2,4),K=Math[Y(617)](k,J),te=Math[Y(617)](R,X),$=Math[Y(1495)](k,J),ce=Math[Y(1495)](R,X),ie=Math[Y(1495)]($-K,ne),S=Math[Y(1495)](ce-te,ne),U=D[Y(611)].x||0,_=D.normalStyle.y||0;return{material:{...B,config:{...I,startX:k-K,startY:R-te,endX:J-K,endY:X-te}},box:{x:U+K,y:_+te,width:ie,height:S}}},L=(D,B)=>{const Y=t;if(!x||!w)return;const{list:I,lineBox:k}=C[Y(838)]((R,J)=>{const X=Y;if(J.id!==D)return R[X(533)][X(1374)](J),R;let ne;if(J[X(448)].type===X(1446)&&X(433)in B&&B.config!==void 0){const K=J.material,te=B[X(433)];ne={...K,...B,config:{...K.config||{},...te}}}else ne={...J[X(448)],...B};if(ne.type==="LINE"){const{material:K,box:te}=V(w,ne);return R.list[X(1374)]({...J,material:K}),R.lineBox=te,R}return R[X(533)][X(1374)]({...J,material:ne}),R},{list:[],lineBox:null});k!==null?o(x,{normalStyle:{...w.normalStyle,x:k.x,y:k.y,width:k.width,height:k.height},contentInfo:{...w[Y(466)],statusList:I}}):c(x,{statusList:I})};return w?l[t(272)](t(1929),{className:t(1427),children:[l[t(272)](t(1929),{className:t(946),children:[l[t(1848)]("h3",{className:t(391),children:t(1640)}),l.jsx("p",{className:t(1920),children:t(1826)})]}),l.jsx("div",{className:t(1946),children:l[t(272)](z[t(1070)],{activeKey:b,onChange:g,children:[l[t(1848)](K0,{tab:"基础",children:l.jsxs(z[t(334)],{form:d,layout:t(781),onValuesChange:P,initialValues:{name:w[t(748)]},children:[l.jsx(z.Form[t(1373)],{label:"节点名称",name:t(748),children:l.jsx(z[t(816)],{placeholder:t(1870)})}),l[t(272)](z[t(792)],{ghost:!0,defaultActiveKey:[t(1690),t(1370),t(1632)],children:[l[t(1848)](pn,{header:"位置",children:l[t(272)](z[t(553)],{children:[l.jsx(z[t(334)].Item,{label:"X",name:[t(611),"x"],children:l.jsx(z[t(1179)],{})}),l.jsx(z.Form[t(1373)],{label:"Y",name:[t(611),"y"],children:l.jsx(z[t(1179)],{})})]})},t(1690)),l.jsx(pn,{header:"尺寸",children:l[t(272)](z.Space,{children:[l[t(1848)](z[t(334)].Item,{label:"宽度",name:[t(611),t(1030)],children:l[t(1848)](z[t(1179)],{min:10})}),l.jsx(z.Form.Item,{label:"高度",name:[t(611),t(1517)],children:l[t(1848)](z[t(1179)],{min:10})})]})},t(1370)),l.jsxs(pn,{header:"样式",children:[l[t(1848)](z[t(334)][t(1373)],{label:t(1685),name:[t(611),t(1097)],children:l[t(1848)](z[t(816)],{placeholder:"transparent, #fff, url(...)"})}),l[t(1848)](z[t(334)].Item,{label:t(1534),name:["normalStyle",t(1651)],children:l.jsx(z[t(1179)],{min:0})}),l[t(1848)](z[t(334)][t(1373)],{label:"圆角",name:[t(611),t(1058)],children:l[t(1848)](z[t(1179)],{min:0})}),l[t(1848)](z[t(334)][t(1373)],{label:t(968),name:[t(611),t(1613)],help:t(1249),children:l[t(1848)](z.InputNumber,{min:.1,max:5,step:.1})}),l.jsx(z[t(334)][t(1373)],{label:t(1164),name:[t(611),"rotate"],help:"顺时针旋转角度(度)",children:l.jsx(z.InputNumber,{min:0,max:360,step:1})}),l[t(1848)](z[t(334)].Item,{label:t(409),name:[t(611),"opacity"],children:l.jsx(z[t(1179)],{min:0,max:1,step:.1})}),l[t(1848)](z[t(334)][t(1373)],{label:"层级",name:[t(611),t(1082)],children:l.jsx(z[t(1179)],{})})]},t(1632))]})]})},"basic"),l[t(1848)](K0,{tab:"状态",children:w.type===t(1489)&&w[t(887)]?l[t(1848)](Ss,{node:w,updateNode:o,materials:f}):l[t(272)](t(1929),{className:t(402),children:[l[t(272)](t(1929),{className:"flex items-center justify-between mb-2",children:[l[t(272)](t(888),{className:t(1808),children:["状态列表",l[t(1848)](z[t(863)],{color:t(475),className:t(372),children:C[t(1470)]})]}),l.jsx(z.Button,{type:t(1916),size:t(1363),icon:l.jsx(ae[t(413)],{}),onClick:A,children:t(1143)})]}),l.jsx("p",{className:t(950),children:t(1828)}),C[t(1470)]>0&&l[t(1848)]("div",{className:"mb-4 p-3 bg-blue-50 border border-blue-200 rounded-lg",children:l.jsx("div",{className:"flex items-center justify-between",children:l[t(272)](t(1929),{children:[l[t(1848)](t(888),{className:t(1697),children:"当前状态:"}),l.jsx("span",{className:t(593),children:t(1178)})]})})}),C[t(1470)]===0?l[t(1848)](t(1929),{className:"text-center text-gray-400 py-4 bg-gray-50 rounded-lg",children:t(477)}):l[t(1848)](z.Collapse,{ghost:!0,defaultActiveKey:C[0]?.id+x,children:C[t(539)]((D,B)=>l.jsx(pn,{header:l[t(272)](t(1929),{className:t(1586),children:[l.jsx(t(888),{className:t(1450),children:B+1}),l.jsx(t(888),{className:t(1808),children:D.name}),l.jsx(z[t(863)],{color:"default",className:t(556),children:D[t(448)][t(2009)]})]}),extra:l.jsxs(z[t(553)],{size:t(1363),onClick:Y=>Y[t(826)](),children:[l.jsx(z[t(1817)],{type:"text",size:t(1363),icon:l[t(1848)](ae[t(1540)],{}),disabled:B===0,onClick:Y=>{Y[t(826)](),Z(D.id,"up")}}),l.jsx(z[t(1817)],{type:t(1992),size:t(1363),icon:l[t(1848)](ae[t(796)],{}),disabled:B===C.length-1,onClick:Y=>{const I=t;Y[I(826)](),Z(D.id,I(873))}}),l[t(1848)](z[t(1817)],{type:"text",size:t(1363),icon:l[t(1848)](ae[t(886)],{}),onClick:Y=>{Y.stopPropagation(),F(D)}}),l[t(1848)](z[t(1817)],{type:"text",size:t(1363),danger:!0,icon:l[t(1848)](ae[t(1246)],{}),onClick:Y=>{Y[t(826)](),j(D.id)}})]}),children:l[t(272)](z[t(334)],{layout:t(781),children:[l[t(1848)](z.Form.Item,{label:"状态名称",children:l[t(1848)](z[t(816)],{value:D.name,onChange:Y=>q(D.id,{name:Y[t(983)].value}),placeholder:t(756)})}),l[t(1848)](er,{status:D,onUpdate:Y=>q(D.id,Y),onAppendToExpression:Y=>{const I=t;v(k=>({...k,[D.id]:(k[D.id]??D[I(889)])+Y}))}}),l[t(1848)](z[t(334)].Item,{label:"执行表达式",help:t(1477),children:l.jsx(_h,{value:p[D.id]??D.expression,onChange:Y=>v(I=>({...I,[D.id]:Y.target[t(1188)]})),onBlur:Y=>{const I=t;q(D.id,{expression:Y[I(983)][I(1188)]}),v(k=>{const R={...k};return delete R[D.id],R})},rows:3,placeholder:t(1863)})}),l[t(1848)](z[t(334)][t(1373)],{label:"绑定物料",children:l.jsxs(t(1929),{className:t(1586),children:[l[t(1848)](z[t(863)],{color:t(475),children:D[t(448)][t(748)]}),l[t(1848)](z[t(863)],{color:t(1353),children:D.material.type}),l[t(1848)](z[t(1817)],{type:t(1254),size:t(1363),icon:l[t(1848)](ae[t(289)],{}),onClick:()=>W(D.id),children:"更换物料"})]})}),l.jsx(z.Divider,{style:{margin:"12px 0"}}),l[t(272)](t(1929),{className:"bg-gray-50 rounded-lg p-3 border border-gray-200",children:[l[t(272)](t(1929),{className:t(1367),children:[l[t(1848)]("span",{className:t(1607),children:t(687)}),l[t(1848)](z[t(863)],{children:D[t(448)][t(748)]})]}),l[t(1848)](nr,{material:D.material,onSave:Y=>L(D.id,Y),dataOptions:e||[]})]})]})},D.id+x))})]})},t(1833)),l[t(1848)](K0,{tab:"控制",children:l.jsxs(z[t(334)],{form:d,layout:t(781),onValuesChange:P,children:[l[t(1848)](z.Form[t(1373)],{label:t(639),name:["controlInfo","isDraggable"],valuePropName:"checked",children:l[t(1848)](z.Switch,{})}),l[t(1848)](z.Form[t(1373)],{label:"可点击",name:[t(1898),t(766)],valuePropName:t(1086),children:l[t(1848)](z[t(1247)],{})}),l[t(1848)](z[t(334)][t(1373)],{label:t(1433),name:[t(1898),"isResizable"],valuePropName:t(1086),children:l[t(1848)](z.Switch,{})}),l[t(1848)](z[t(334)][t(1373)],{label:t(770),name:[t(1898),t(1897)],valuePropName:"checked",children:l.jsx(z.Switch,{})})]})},t(1304)),l.jsx(K0,{tab:"事件流",children:l.jsx(Jh,{nodeId:w.id})},t(1306))]})}),l[t(1848)](t(1929),{className:t(2004),children:l[t(272)]("div",{className:t(1734),children:[l[t(272)](t(1929),{children:[t(780),w.id.slice(0,8),t(1907)]}),l.jsxs(t(1929),{children:[t(1371),C[t(1470)]]})]})}),l[t(1848)](z[t(1993)],{title:t(2003),open:y,onCancel:()=>{h(!1),M(null)},footer:null,width:600,children:l[t(1848)](t(1929),{className:t(283),children:l[t(272)](z.Collapse,{ghost:!0,defaultActiveKey:["basic",t(1369),t(1992),t(1841)],children:[l[t(1848)](pn,{header:t(476),children:l[t(1848)]("div",{className:t(1834),children:f[t(990)](D=>["矩形","圆形","圆角矩形"].includes(D[t(748)]))[t(539)](D=>l[t(1848)](aa,{material:D,onClick:()=>G(D)},D.id))})},"basic"),l[t(1848)](pn,{header:t(679),children:l[t(1848)](t(1929),{className:t(1834),children:f.filter(D=>["阀门","泵","罐体"].includes(D.name)||D[t(2009)]===t(1679)&&!["矩形","圆形",t(660)].includes(D.name))[t(539)](D=>l[t(1848)](aa,{material:D,onClick:()=>G(D)},D.id))})},t(1369)),l[t(1848)](pn,{header:"文本",children:l[t(1848)]("div",{className:t(1834),children:f[t(990)](D=>D[t(2009)]===t(739))[t(539)](D=>l[t(272)](t(1929),{className:t(473),onClick:()=>G(D),children:[l.jsx(t(1929),{className:t(1645),children:l.jsx("span",{className:"text-lg font-bold text-gray-500",children:"T"})}),l[t(1848)]("span",{className:t(556),children:D[t(748)]})]},D.id))})},"text"),l.jsx(pn,{header:"线条",children:l[t(1848)](t(1929),{className:t(1834),children:f.filter(D=>D[t(2009)]==="LINE")[t(539)](D=>l[t(272)](t(1929),{className:t(473),onClick:()=>G(D),children:[l.jsx("div",{className:"w-12 h-12 mx-auto mb-1 flex items-center justify-center bg-gray-100 rounded",children:l[t(1848)]("div",{className:t(714)})}),l.jsx(t(888),{className:"text-xs",children:D[t(748)]})]},D.id))})},t(1841))]})})})]}):l[t(1848)](t(1929),{className:t(1937),children:l.jsx(z[t(1430)],{description:"请选择一个节点"})})},aa=({material:e,onClick:t})=>{const n=a,x=e[n(2009)]===n(1679)?e[n(1185)]:void 0;return l[n(272)]("div",{className:n(473),onClick:t,children:[l[n(1848)]("div",{className:n(1847),children:x?l[n(1848)](n(1668),{src:x,alt:e.name,className:"w-10 h-10 object-contain"}):l.jsx(n(888),{className:n(556),children:e[n(748)][0]})}),l[n(1848)](n(888),{className:n(556),children:e[n(748)]})]})},Fh="ConfigEditor-module__configEditor__dinNG",Qh={configEditor:Fh},sa=a(1813),la=({open:e,onClose:t})=>{const n=a,{dataPool:x,addDataPoolItem:o,updateDataPoolItem:r,removeDataPoolItem:i}=Ae(),[c]=z[n(334)].useForm(),[f,s]=N[n(1641)](null);N[n(502)](()=>{const h=n;!e&&(s(null),c[h(778)]())},[e,c]);const u=()=>{const h=n;s(h(1642)),c[h(1796)]({name:"数据集 "+(x[h(1470)]+1),sampleJson:sa.trim()})},d=h=>{const m=n;s(h.id),c[m(1796)]({name:h[m(748)],sampleJson:JSON.stringify(h[m(644)]??{},null,2)})},b=h=>{const m=n,M=h[m(384)]();if(!M)return{};const p=JSON[m(274)](M);if(p===null||typeof p!="object"||Array.isArray(p))throw new Error(m(1549));return p},g=()=>{const h=n;c[h(1406)]().then(m=>{const M=h;let p;try{p=b(m[M(1301)])}catch(w){z.message[M(1999)](w instanceof Error?w.message:M(298));return}const v=m[M(748)][M(384)]();if(!v){z.message[M(1999)](M(1343));return}f==="__new__"?(o({name:v,sample:p}),z.message[M(428)](M(1713))):f&&(r(f,{name:v,sample:p}),z[M(333)][M(428)](M(1516))),s(null),c[M(778)]()})[h(1970)](()=>{})},y=[{title:"名称",dataIndex:n(748),key:n(748)},{title:n(1125),key:n(948),width:90,render:(h,m)=>Object[n(948)](m[n(644)]||{})[n(1470)]},{title:"操作",key:n(497),width:160,render:(h,m)=>l[n(272)](z.Space,{children:[l[n(1848)](z.Button,{type:"link",size:n(1363),icon:l.jsx(ae[n(289)],{}),onClick:()=>d(m),children:"编辑"}),l[n(1848)](z.Popconfirm,{title:n(347),description:n(712),onConfirm:()=>{i(m.id),z.message.success("已删除,相关状态已解除数据集绑定")},children:l[n(1848)](z.Button,{type:n(1254),size:n(1363),danger:!0,icon:l[n(1848)](ae.DeleteOutlined,{}),children:"删除"})})]})}];return l[n(272)](z[n(1993)],{title:n(1788),open:e,onCancel:t,width:760,footer:null,destroyOnClose:!0,children:[l[n(272)]("p",{className:"text-sm text-gray-500 mb-3",children:["每个数据集是一个 JSON 对象模板(Record)。状态绑定后,表达式签名为"," ",l[n(1848)](n(1393),{className:n(1574),children:n(952)}),n(849)]}),l[n(1848)]("div",{className:n(598),children:l.jsx(z[n(1817)],{type:"primary",icon:l[n(1848)](ae.PlusOutlined,{}),onClick:u,children:"新建数据集"})}),f&&l.jsxs(n(1929),{className:n(1825),children:[l[n(272)]("div",{className:n(940),children:[f===n(1642)?"新建":"编辑",n(726)]}),l.jsxs(z[n(334)],{form:c,layout:"vertical",children:[l[n(1848)](z.Form.Item,{name:n(748),label:"名称",rules:[{required:!0,message:"必填"}],children:l[n(1848)](z[n(816)],{placeholder:"如:电机测点集"})}),l[n(1848)](z[n(334)][n(1373)],{name:n(1301),label:n(1656),rules:[{required:!0,message:"必填"}],children:l.jsx(z[n(816)][n(1152)],{rows:10,className:n(1633),placeholder:sa})}),l.jsxs(z.Space,{children:[l.jsx(z[n(1817)],{type:n(1916),onClick:g,children:"保存"}),l[n(1848)](z.Button,{onClick:()=>{const h=n;s(null),c[h(778)]()},children:"取消"})]})]})]}),l[n(1848)](z[n(824)],{size:n(1363),rowKey:"id",dataSource:x,columns:y,pagination:!1,locale:{emptyText:n(1137)}})]})},{Header:$h,Sider:da,Content:eb}=z[a(1592)],nb=({initialScheme:e,onChange:t,readonly:n=!1,headerExtra:x,className:o="",style:r,showHeader:i=!0,showMaterialPanel:c=!0,showPropertyPanel:f=!0,customMaterials:s,initialDataPool:u,initialEventFlow:d,externalEventActions:b,onUploadSvg:g,defaultTestData:y})=>{const h=a,[m,M]=N[h(1641)](!1),[p,v]=N[h(1641)](!1),[w,C]=N[h(1641)](""),[P]=N[h(1641)](()=>[{paramsCode:h(616),paramsName:h(1401),value:25,paramsUnit:h(710)},{paramsCode:h(1341),paramsName:"通频加速度有效值",value:1.5,paramsUnit:h(900)}]),A=y!==void 0?y:P,G=i&&!n,{exportScheme:j,importScheme:q,nodes:F,materials:Z,dataPool:W,eventFlow:V,root:L,addMaterial:D,setDataPool:B,setEventFlow:Y,setExternalHandlerCatalog:I}=Ae();N[h(840)](null);const k=N[h(840)](!1);N[h(502)](()=>{const K=h;if(!k.current&&(k.current=!0,Z.length===0&&po.forEach(te=>D(te)),s&&s[K(1470)]>0&&s[K(935)](te=>D(te)),e&&q(e),d!==void 0&&Y(d),b&&b.length>0)){I(b);const te={};for(const $ of b){const ce=String($[K(1400)]??"")[K(384)]();ce&&$.handler&&(te[ce]=$.handler)}Object[K(948)](te)[K(1470)]>0&&_n[K(1614)]({external:te})}},[]),N[h(502)](()=>{u!==void 0&&B(u)},[u,B]),N[h(502)](()=>{if(t){const K=j();t(K)}},[F,Z,W,V,L,t,j]);const R=N[h(1942)](()=>{const K=h,te=j(),$=JSON[K(1148)](te,null,2),ce=K(1357)+encodeURIComponent($),ie=K(1941)+Date[K(772)]()+K(1382),S=document.createElement("a");S[K(494)](K(547),ce),S[K(494)](K(1507),ie),S[K(1939)](),z[K(333)][K(428)](K(910))},[j]),J=N[h(1942)](()=>{const K=h;try{const te=JSON[K(274)](w);q(te),M(!1),C(""),z.message[K(428)](K(1793))}catch{z[K(333)][K(1999)]("JSON 格式错误,请检查输入")}},[w,q]),X=N.useCallback(K=>{const te=h,$=new FileReader;return $[te(1948)]=ce=>{const ie=te;try{const S=ce[ie(983)]?.[ie(1404)],U=JSON[ie(274)](S);q(U),z[ie(333)][ie(428)](ie(1793)),M(!1)}catch{z.message.error(ie(1063))}},$[te(1526)](K),!1},[q]),ne=N.useCallback(()=>j(),[j]);return N[h(931)](N[h(840)]?.(),()=>({getScheme:ne,exportScheme:j,importScheme:q}),[ne,j,q]),l[h(1848)](z[h(1514)],{locale:Ma,children:l.jsx(h(1929),{className:Qh.configEditor,style:r,children:l[h(272)](z[h(1592)],{className:h(801)+o,children:[G&&l.jsxs($h,{className:"bg-white border-b border-gray-200 px-4 flex items-center justify-between flex-shrink-0",children:[l[h(272)](h(1929),{className:h(549),children:[l[h(1848)]("div",{className:h(1061),children:h(793)}),l[h(272)](h(1929),{className:"text-sm text-gray-500",children:[F[h(1470)],h(1702)]})]}),l.jsxs(z.Space,{children:[x,!n&&l.jsxs(l[h(1555)],{children:[l[h(1848)](z[h(1705)],{title:h(1754),children:l[h(1848)](z.Button,{icon:l[h(1848)](ae[h(1293)],{}),onClick:R,children:"导出"})}),l[h(1848)](z[h(1705)],{title:h(782),children:l[h(1848)](z[h(1817)],{icon:l[h(1848)](ae[h(989)],{}),onClick:()=>M(!0),children:"导入"})}),l[h(1848)](z.Tooltip,{title:h(1010),children:l[h(1848)](z.Button,{icon:l[h(1848)](ae[h(1921)],{}),onClick:()=>v(!0),children:h(349)})})]})]})]}),l[h(272)](z[h(1592)],{children:[c&&!n&&l[h(1848)](da,{width:280,className:h(1951),theme:"light",children:l[h(1848)](Co,{onUploadSvg:g})}),l[h(1848)](eb,{className:h(640),children:l[h(1848)]($o,{defaultTestData:A,readonly:n})}),f&&!n&&l[h(1848)](da,{width:360,className:h(1951),theme:"light",children:l[h(1848)](ca,{defaultTestData:Array[h(1670)](A)?A:void 0})})]}),l[h(1848)](la,{open:p,onClose:()=>v(!1)}),l[h(1848)](z.Modal,{title:h(694),open:m,onOk:J,onCancel:()=>{M(!1),C("")},width:600,children:l[h(272)](h(1929),{className:"space-y-4",children:[l[h(272)](h(1929),{children:[l[h(1848)]("p",{className:h(938),children:h(885)}),l[h(1848)](h(1472),{type:"file",accept:h(1382),onChange:K=>{const te=h,$=K[te(983)][te(1413)]?.[0];$&&X($)},className:`block w-full text-sm text-gray-500
10
+ file:mr-4 file:py-2 file:px-4
11
+ file:rounded-full file:border-0
12
+ file:text-sm file:font-semibold
13
+ file:bg-blue-50 file:text-blue-700
14
+ hover:file:bg-blue-100`})]}),l[h(1848)](h(1929),{className:h(1784),children:"或"}),l.jsxs("div",{children:[l[h(1848)]("p",{className:h(938),children:h(472)}),l[h(1848)](h(1724),{value:w,onChange:K=>C(K[h(983)][h(1188)]),placeholder:h(671),className:h(1732)})]})]})})]})})})};ve.Canvas=$o,ve[a(392)]=nb,ve[a(1763)]=la,ve[a(1022)]=_o,ve[a(1002)]=Co,ve[a(836)]=sx,ve[a(586)]=ca,ve[a(1170)]=go,ve[a(1528)]=bo,ve[a(1877)]=zo,ve.createDefaultStatus=ex,ve.evaluateStatusExpression=Q0,ve[a(1239)]=_n,ve[a(1391)]=yo,ve[a(1399)]=po,ve[a(1655)]=Ae,Object[a(754)](ve,Symbol[a(1682)],{value:"Module"})});function _0x4f97(ve,l){ve=ve-263;const N=_0x5b5e();let z=N[ve];if(_0x4f97.cUxpNJ===void 0){var ae=function(Jt){const a="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=";let Xn="",ht="";for(let He=0,rn,cn,bt=0;cn=Jt.charAt(bt++);~cn&&(rn=He%4?rn*64+cn:cn,He++%4)?Xn+=String.fromCharCode(255&rn>>(-2*He&6)):0)cn=a.indexOf(cn);for(let He=0,rn=Xn.length;He<rn;He++)ht+="%"+("00"+Xn.charCodeAt(He).toString(16)).slice(-2);return decodeURIComponent(ht)};_0x4f97.JeVHQp=ae,_0x4f97.nzFxnb={},_0x4f97.cUxpNJ=!0}const _0=N[0],Rt=ve+_0,we=_0x4f97.nzFxnb[Rt];return we?z=we:(z=_0x4f97.JeVHQp(z),_0x4f97.nzFxnb[Rt]=z),z}function _0x5b5e(){const ve=["x19UzxDFxW","5PYa5BcrjhTTAw595lIQjhTSywjLBh0","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIb0zxH0lwDYyxKTmZaWihrLEhqTEhm","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWmcbYB3vUzgvK","ihrVia","yxv0B1bHBK9Uq29UBMvJDa","BwvYz2vsDw50Aw1LsgfUzgXLCNm","zxzLBNq","zxHWyw5KugfYzw50","CgfKzgLUzW","BM9VCgvUzxiGBM9YzwzLCNjLCG","zMLSBgvK","mda0","DxnLrwrPDg9Yu3rVCMu","56s65l6l5PwW5O2U77YisLnptIdLR7NOSAhVViK","y2fUDMfZ","5PkK6zsaicHdDhjSk1OP","zxHWyw5Kzwrszwn0","yMLUze5Vzgvjza","uMvHy3qGrMXVDYbHDhrYAwj1DgLVBG","nsW1","yM9YzgvYlxqGyM9YzgvYlwDYyxKTmJaWig10lteGChqTmq","B25oB2rLrhjHzW","C2v0u3rHDgu","y29UBMvJDgLVBK1Vzgu","Aw5qCM9NCMvZCW","Aw1N","xNjNyLWO","AxnbCNjHEq","BM9KCMfN","iIWGzwrNzsbPzdOG","5Qch6k+g5lIn6io95lI656M6","C2nHBgvz","yM90Dg9TlxjPz2H0","sxqGC2vLBxmGDgHHDcb5B3uGyxjLihrYEwLUzYb0BYbKCMfNigeGBM9Kzsb0Agf0igLZig5VDcbPBML0AwfSAxPLzc4GugXLyxnLihvZzsbVBK5VzgvZq2HHBMDLigfZigv4CgXHAw5LzcbPBIb0AguGzg9JCY4","rgL2AwrLCG","CMv0DxjU","su1br0u","Ag9YAxPVBNrHBa","Cgf0Aa","Dg9tDhjPBMDuywC","zwfZzq","Axnqyw5ty3jVBgXPBMC","6iom5PMV6iMY","q2XHC3mGzxH0zw5KCYb2ywX1zsa","5BYa5AEl5PYi5lU9","ugXLyxnLig9UBhKGAgLKzsb0AgLZigf0DhjPyNv0Aw9UihDOzw4GEw91igfYzsbZDwjZy3jPyMvKihrVifjLywn0iezSB3CGuhjVoIbODhrWCZOVl3bYBY5YzwfJDgzSB3CUzgv2","5lIk5lYGifnwrW","Cg9ZAxrPB24","C2v0qxr0CMLIDxrLtLm","zxHLy3v0B3juExbL","5l6l5AAc77YA5l+D5A2y5OIq5yQFioAiLIdNU5pMNPZVVjP7E3bYzxz9Fq","C291CMnLsgfUzgXL","Aw1Hz2uV","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9YCW","Dgv4Dc1ZBsb0zxH0lwDYyxKTnJaW","B25fzgL0","B25oB2rLC0rLBgv0zq","CMvSzwfZzuXVy2S","5RIf56M65OMa5PYj","ios4QUIkGUEcUq","yxr0CLr3zwvU","mda5","vg9VBhrPCa","tgvMDa","yNvIyMXLCW","CM91BMq","zgf0ys1Oyw5KBgvWB3m","BM9Kzu5HBwu","B25oB2rLrhjHz1n0B3a","y2XPzw50wq","5BEY5RE75yQG","zM9YD2fYzfjLzG","57Q/5A6977Yi5yop57sG77Yj","zw51BwvYywjSzq","BMuTCMvZAxPL","yxbWBhK","zgvMyxvSDevKz2vpChrPB25Z","qebVyNnLCNzHyMXL","Bw92zq","y2vUDgvYwa","5zU+54Mh5zcn56EW","Dgv4DgfYzwe","x19KzwzHDwX0x18","EM9VBs53AgvLBa","twvZC2fNzsdMJ5dNPlO","mI4WlJa","mxb4ihnVBgLKicnMmgyWzJa","x3rYEvn1yNnJCMLIzq","zxHLy3v0zuj1AwX0Aw4","DY1MDwXSigGTndGGCc0ZigjVCMrLCIbIB3jKzxiTz3jHEs0ZmdaGCM91BMrLzc1SzYbMB250lw1VBM8GDgv4Dc1ZBsbYzxnPEMuTBM9UzsbMB2n1CZPVDxrSAw5Llw5VBMuGzM9JDxm6CMLUzY0YigzVy3vZoNjPBMCTyMX1zs01mda","B25tzwXLy3rPB25eCMfN","Dgv4Dc14CYb0zxH0lwDYyxKTntaW","ChjLCgfYzuv2zw50qxjNCW","iZaWmdaWma","5O+q56s65yAf5A65","AgfZvMfSDwu","rwrNzvrLEhq","ChGG","5lIk5lIa5BM0icHdB250CM9S6zsU5yQG5BEM5PA55zcr6zsUkq","AxnAB29TAw5Nt3jqyw5UAw5N","zxHWB3j0CW","6ycj5OUP57Q/5P2H5Qc35BYp","vhLWB2DYyxbOEq","6ycj5OUP6kAb57Ur5A6A55Qe6iQc54k5","B25ezwXLDgu","yNvPBhrPBKnVBMzPzW","Aw50zxjHy3rPB25xAwr0Aa","zgv2zwXVCg1LBNq","CgfYyw1ZtMfTzq","CMvTB3zLuhjVCgvYDhK","CMvHy3qTzMXVD19FyxjPys1SAxzL","5A+85yE6iePtt04","zxH0zxjUywXiyw5KBgvYs2v5","BMf0AxzLrxzLBNq","DgfYz2v0ug9ZAxrPB24","y2XHC3nmAxn0","C2v0","57Ut5P2F5BM05lU9","5A2x5Q616lEV5B6e77Yi54k55yE75O+s5ywL6kgO6l6+5BYp77Yj","zg9TywLU","rgf0yvbVB2XnB2rHBa","khbYzwzLCNmTy29SB3iTC2nOzw1LoIbKyxjRkq","Aw52zxj0wa","yxv0B1bHBK9UtM9KzurYywC","Bg9JywXLq29TCgfYzq","B25oB2rLC0nOyw5Nzq","x2HHC1bHCMvUDa","mdeZ","BM9KzvK","y3vYC29YlxbVAw50zxiGBwiTma","x2nVBxbSzxrL","zgf0ytPPBwfNzs9ZDMCREg1Sla","5l+D55wz5Bcp5PwW5l2n","zxH0zw50","6l6t5ywL5zU+54MhifvstcdMIjyGrgf0ysbvuKK","x19UB3nLBgvJDa","56gU6k6K5yIG6zMK","6ycj5OUP5PEL5PYF","zMXLEc0Xig1PBI13lta","igvYCM9YCYbVy2n1CNjLzcbKDxjPBMCGDw5ZDwjZy3jPChrPB246cG","zxH0zxjUywXiyw5KBgvYq2f0ywXVzW","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWma","w1jLywn0iezSB3DDifrOzsbWywrKAw5NihzHBhvLici","y2HHBMDL","qxjYB3DvCa","5PwW5O2U5RgG77Yi6iQc54k554Q25Ocb55sO77Yj","CgfYDgLHBe9IC2vYDMvY","BgLUzurYyxDPBMC","Cg9PBNrLCI1LDMvUDhmTyxv0BW","5zYO562B6ycj6Ag55lIT5PcC57sI","5A+85ywL5OIq5yQF77Yb","vw5HyMXLihrVigXPzNqGDw5RBM93BIbpyNnLCNzHyMXLihr5Cgu","5RIq5y+y6iMY","C2v0rMLLBgrZvMfSDwu","B25dB25Uzwn0","Bwv0yq","5y+Z6zsU6i+C5y2v","i2y1mJiYza","zw5HyMXLza","BgfIzwXgB250u2L6zq","6yEn572U6kEg5zU+","BgLMDa","Dg9tDhjPBMC","5PwW5O2U6k+35Rgc","Dg91y2HTB3zLlNPVB20","zM9UDc1TzwrPDw0","ywjZB2X1Dgu","w1jLywn0iezSB3DDoIbtzwvTCYbSAwTLihLVDsbOyxzLig5VDcb1C2vKihP1C3rHBMqGChjVDMLKzxiGyxmGyw4Gyw5Jzxn0B3iUieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCImWmde","tK9erv9eruXfveu","y29TCgXLDgu","EWOGicjZCgvLzci6idaScIaGiNrLBxaIoIaYnsWkicaIBMvZDgvKiJOGEYaIEci6ideGFqP9","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24TCMvJDa","z2v0sw5PDgLHBfn0yxrL","y2LYy2XL","qNv0Dg9U","Dg91y2HTB3zL","BwvYz2u","zw5Kwq","zxjYB3jZ","tgLZDa","6BYG5Qch56E75yE6","vw5ZDwjZy3jPChrPB25fCNjVCG","BwiTncbWltmGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKigjNlwjSDwuTntaVnta","57Yw6l6r6ycj5lIT6iQc54k555Qe5BgE5OcN","BgfIzwW","6iQc54k55Qc55O2U54Q25Ocb6kgO6l6+5BYp6k6H566x57Ut5P6C5PI+56s65A+55BQu54MP5PAz77Ym56YS5lIa5lIQ6l+u5zUEihrYDwuG55Qe54Q25Ocb5lI65B2t5yMn54Q25Ocb","AxneCMf3Aw5N","DxnLv2f0y2G","AxnqCMLTyxj5","CMvHy3qTzMXVD19Fy29UDhjVBhmTyNv0Dg9U","C3rHDhvZ","z3jPzcbNCMLKlwnVBhmTncbNyxaTmG","x196B29T","AxrLCMf0B3i","AwXSzwDHBcb0ExbLoIa","z2v0qxr0CMLIDxrL","CMvHy3qTzMXVD19Fy29UBMvJDgLVBMXPBMuGCMvHy3qTzMXVD19Fy29UDgfPBMvY","B3bLCMf0B3i","BgLUzq","6zw/5yIslEwpJoEcUEs6PoABVW","iZe4otbMzG","yxbWBgLJyxrPB24VANnVBG","C2v0rgf0yq","CgfYzw50tg9VA3vW","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCG","ANn4","DMLLD3bVCNq","CgfYzw50tM9Kzq","rxzLBNqGzMXVDYbLEgvJDxrPB24GzxjYB3i6","5y+n6ycj5B2t6Ag1","Dgv4Dc14CYb0zxH0lwDYyxKTndaW","C3vIC2nYAwjL","BM9Kzs5Hmtf5rgvZy3jPChrPB24UyxjPyuXPDMvnzxnZywDL","Dgv4Dc1NCMf5ltqWmcb0zxH0lxHZ","Bw91C2vTB3zL","qMv6AwvYrwrNzq","xMHZBgfCka","mcaWidi1idmY","yxjYB3DJBg9Zzwq","CMvSzwfZzvbVAw50zxjdyxb0DxjL","CMv0DxjUihrYDwu7","B25oB2rLtw91C2vmzwf2zq","zM9Yy2u","C2nHBgvuBW","yw55","iI8+pc9ZDMC+","CMvHy3q","6l6t5ywL6iQc54k55zcn56EW","8j+sOsdMJ5dNPlRVVjRMI5BMI73NIANMLPNLIldNLlVLUipLIjVLU7ROIOlNGRNVViZNGRNLH7VNUR/MNAhNIANMLPNOV5VLHAxNU5JLIlBMQkhLVi8","CMvTB3zLqxr0CMLIDxrLtLm","6BYG5Qch5OYj5lIl","x25HBwvZ","ugXLyxnLihvZzsbGz2v0tM9KzxncB3vUzhnGigzYB20GyhvZzvjLywn0rMXVD2aVyhvZzvn2zwX0zuzSB3DGigHVB2SGDg8Gzw5ZDxjLignVCNjLy3qGDMfSDwvZigzVCIbZDwiGzMXVD3mUieLMig5VDcbWB3nZAwjSzsWGEw91igHHDMuGDg8GChjVDMLKzsbHig5VzgvmB29RDxaGDg8GC3vWCg9YDcbZDwiGzMXVD3mU","zgjSy2XPy2SUEM9VBq","y3jLyxrLrgvMyxvSDe5Vzgu","ltiWChG","CMvHy3qTzg9T","5Rc05BMZ5yIg5BId","5zU+54Mh5zYW5z2aicHZCMmP","rwrNzvjLBMrLCMvY","57Q/5P2H5BgE5OcN","C2vJB25Kyxj5","Bwf0y2HnzwrPyq","5Qch562+5PAh5PYSicHSywjLBcK","57Ut5P2F5PEL5PYF","sg9YAxPVBNrHBa","Aw5Zzxj0qMvMB3jL","DMfSDwvdB2XVCG","CMvHy3qTzMXVD19Fy29UBMvJDgLVBI1WyxrO","CMvHy3qTzMXVD19FDMLLD3bVCNqGEhLMBg93x192Awv3Cg9YDcbYzwfJDc1MBg93x19JB250ywLUzxi","Aw1Tzxi","mxb4igrHC2HLzcb0CMfUC3bHCMvUDa","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94BgLUAW","vxbSB2fKignHBMnLBgXLzcbVCIbMywLSzwq6","AxntzwXLy3rHyMXL","y29UDhjVBeLUzM8","lNjLywn0lwzSB3DFx3bHBMu","6iQc54k55PwWoIa","i2iXyJfInW","ywjZB2X1DguGyM90Dg9TltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","C2nHBgvfEhrLBNq","5OUw5OU95QIH5BYp","y2XPzw50v2LKDgG","zw5Kwa","lI4U","sgfUzgXLoIboBYbUB2rLigLKigzVDw5KlIbnywTLihn1CMuGDg8GB25SEsb1C2uGysbiyw5KBguGAw5ZAwrLigeGy3vZDg9Tie5VzguU","zxzLCNK","yM9YzgvYlwjVEa","x25LEhq","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVViZPOBSGCMv0DxjUihrYDwuVzMfSC2xVVjVMTyVNGRNMLBdNU4tMJiKGCgfYyw1Zq29KzsdLKiJLUBBOV5SGzgf0yEoaGG","AgfZ","igLZig5VDcbHignVBNn0CNvJDg9Yig9Yig51BgW","CMvZAxPPBMC","ChjPBwfYEq","CMvXDwvZDefZEw5Jswq","C3LUyW","lNn2zW","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaW","rgf0ywjHC2vpDxrSAw5Lza","5lQK5O2I6lw354k55zkm57Ui54k5","576K57UexW","C2uTCMvZAxPL","mda1","C2v0u2nHBgvfEhrLBNq","zMfJDg9Y","6k+36ycj5OUP6kEM5y+r5PA55BYp","zgL2","x3rOCM93swzdBg9Zzwq","C3CTCMvZAxPL","CgfYzw50swq","mtaWjq","zxHLyW","ChjLDMLVDxntAwjSAw5N","B25tzwXLy3rPB25dAgfUz2viyw5KBgvYCW","Ac1MDwXSigzSzxGGAxrLBxmTy2vUDgvYigP1C3rPzNKTy2vUDgvYigjNlxDOAxrLigjVCMrLCI1SigjVCMrLCI1NCMf5ltiWma","CMvXDwvZDefUAw1HDgLVBKzYyw1L","y2XPy2S","zM9YBwf0shnS","C2nOzw1LxW","DxnLq2fSBgjHy2S","CMvHy3qTzMXVD19FyMfJA2DYB3vUzc1Wyxr0zxjU","Bgv2zwW","5z6c55U05yIg5BId","zMXLEc0Xig92zxjMBg93lxKTyxv0BYbWltq","54MP5PAz5BQt","B25SB2fK","5PAW5lQl5lU25z2x","tM8GDgLTzw91DcbWCM92AwrLzc4","yMCTD2HPDgu","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+phbHDgGGzd0ItteWidiWieWZmcaXmcbmntaGmJaGtduWidqWieWZmca1mcbmmtaGndaGwIiGzMLSBd0Ii2jMyMzIzIiGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIlZ48y2LYy2XLign4psiZmciGy3K9iJmWiIbYpsi4iIbMAwXSpsiJmtG5mgzMiI8+pc9ZDMC+","rw50zxi","zwrPDa","B3jPz2LU","qxjYB3C","y3jLyxrLq29UDgv4Da","DhjHBNnMB3jT","Cc02","zxzLBM9Kza","C2vSzwn0zwroB2rLswrZ","C3rVCeLTBwvKAwf0zvbYB3bHz2f0Aw9U","CMzFx2nVBNrYB2XZ","B2jZzxj2ywjSzq","zMLYC3rfBgvTzw50q2HPBgq","ig5VDcbMB3vUzc4GugXLyxnLig1HA2uGC3vYzsb0Agf0ihbHCMvUDcbUB2rLCYbHCMuGAw4GzNjVBNqGB2yGDgHLAxiGy2HPBgqGBM9KzxmGAw4GDgHLig5VzgvZigfYCMf5lG","y3vYCMvUDe9IC2vYDMvYCW","5lIl5A+56B2q","Bw91C2vKB3DU","y2f0y2G","yxjPyvjVBgu","y2XLyxi","BgLUzxm","6k+35AgR5yAz6k+35Rgc5Qch6k+g","CM90yxrLka","z3jPza","57Ut5P2F5A2J5BQM","C2v0vhjHBNnSyxrLrxH0zw50","6l6t5ywL5Qch562+5PAh5PYS","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltm","zgLZywjSzwq","Aw5SAw5LlwjSB2nR","54Q25Ocb5yIx6kgO","zhjHz2DPBMC","Bw91C2v1Ca","B25dB25Uzwn0rw5K","Bg9N","BgLUzwfY","i2q5zdLKoq","Cg9PBNrLCKLK","5RE75yQG5ywL5y+c6kgm77Yi56YS5yEG5lIQ5y+c5PwW77Yj","Dgv4Da","tw9KywW","DhjHBNnSyxrLvg8","C3vIBwL0","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iG","5y+Q6io95lIk5lYG5zU+54Mh5PAh5lU2iq","zMLYC3rdAgLSza","zxjYB3i","6l6t5ywL5yc85PAh5PYS","lwzSB3DFx2HHBMrSzq","B3b0Aw9UCW","6ycj5OUP54MP5PAz","Cc0ZigjVCMrLCI10igjVCMrLCI1NCMf5ltiWmcbIzY1NCMf5ltuW","5BYa5AEl5PEL5PYF","CMLNAhq","vg9W","6iom5PMV6Ake6kEi","DhLWzq","Aw5JBhvKzxm","ieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCIm","zxHW","zML0vMLLD09WDgLVBNm","5yAf572U5yQO5l2C5PYQ6ycj5OUP57g75z6l","BgLNAhq","ChvYCgXL","D2HLzwXezwX0yq","Dw5PDa","yMLUza","A2v5Dxa","B25oB2rLrg91yMXLq2XPy2S","5OMN6kgm5PA55BYp","ANn4CW","5lYy5ywi5lUo57Ur5A6A5PwW5O2U6iEQ5yQO6i635y+w77Ym5lMF5y+V5OMl5yQO6l6t5ywL","CgfYC2u","5lIk5RI46l+E57Q/iokgKIdMNkZLNzCGyxjNCYdPLk7LKi0","ChjVCgvYDhK","iZuYyZqXyq","yxnpyNnLCNzHyMXL","twfJ","5y2v5l2n77Yi5AAcWRbd44cbjEoaGu1qyEETIE+8Iq","tgLUzq","6Ag75lI6jhTSzw595lIQjhTSywjLBh0","Bwf4lwGTwZqWmhb4xsbVDMvYzMXVDY15lwf1Dg8","ywrK","C291CMnLswq","x3rPBwu","C2v0twLUwM9VBq","mda2","rwrPDe91DgXPBMvK","C3rHCNrbBMDSzq","yxv0B1bHBK9UtM9KzuzVy3vZ","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvU","Bw91C2vfBNrLCG","Dg91y2HLCW","zgLZCgXHEu5HBwu","zgf0yvbVB2W","B250B3vJAhn0yxj0","C2fTCgXLiePtt04G5PEG5Pwi","Bw91C2vKB3DUlMrYywC","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iIm1mMm0mweIlZ48l3n2zZ4","ywjZB2X1DguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWigjNlwjSDwuTntaWlZeWihbVAw50zxiTzxzLBNrZlw5VBMu","y2HLy2TwAxnPyMLSAxr5","u2LTCgXLqMv6AwvY","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0B3a","Bwf0zxjPywXZ","y29UDgvUDa","Aw50zxjWB2XHDgvcDwLSDgLUu3rYAw5N","r3jVDxbpDxrSAw5Lza","AgfZt3DUuhjVCgvYDhK","u3rYywLNAhrfzgDL","qxjYB3DeB3DU","yMfJA2DYB3vUzeLTywDL","5y+w5RAi5ywO6ycj","zxjYB3iWmdq","B25gAw5HBgL6zq","Aw5WDxrZ","CMvHy3qTzMXVD19FCgfUzwW","CgvUzgLUzW","zxjYB3iWmdm","CMvHzefZrgf0yvvsta","BgLUzs1KCMf3","CMvSyxrPDMu","iZCZzdeZza","u3rYAwn0","BM9Kzvr5Cgu","ksbZy2fSzsG","AgLZDg9YEq","57Yw6l6roIa","ChjVDg90ExbL","BwvHC3vYzwq","ywX0s2v5","i2zMzMzMzG","BwvZC2fNzq","rM9YBq","5lIl5lIa5lIw57QQ","vhjHBNnMB3jTq29TCg9Uzw50","6iEQ5A6A5lMj","zxHLy3v0zuv2zw50rMXVDW","BwvTBW","y2fUDMfZq29UzMLN","zgf0ys1Oyw5KBgvPza","sgfUzgXL","6l+u5zUE5lUk5AsP","uMvKB091DgXPBMvK","Bw92zwq","iZaWmtKZqW","5yIG6zMK6k+L5PwW5O2U6zUg77YF","CMvJDa","5PwW5O2U5RgG","C3bHy2uTEs00","5lIl5lIa5BM0icHdB250CM9S6zsU5yQG5y+Z5PA55zcr6zsUkq","C3rHCNruCMfUC2L0Aw9U","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvK","y29UDhjVBhmUAw50zxjHy3rPDMuUyxjPyuXHyMvS","zxjYB3iWmtu","44cn77YA5lIk5RI4","DhjHBNnSyxrLwcGTntaLkq","u1fsvdi","ChjLDG","CgLWzq","zg9JDw1LBNq","BM9Kzxm","l2rPC3qVC3r5BguUy3nZjYbVCIbIyxnLlMnZCYb0BYbTywTLihn1CMuGzxzLCNL0AgLUzYbPCYb3B3jRAw5NihbYB3bLCMX5lG","mc4Zzw0","C3rHDgu","zxzLBNrtDwjQzwn0CW","AxnwywXPzenVBM5Ly3rPB24","5yAf572U5yQO5l2C","twvZC2fNzsdMJ5dNPlRLHOxLRRNKUlRNQBO","y2XPy2SUzhjHzW","lY8G5y+V55sO5y+c5PwWoGOVlYbUB2rLic0G6kEM5y+r5lQl5lU255Qe6iQc54k5cI8VignVBNrLEhqGlsdKUOVKU7BKUiRKUiVMLOCklY8GyxjNCYaTios8OowfPEEAHowpGUAvSaOkCMv0DxjUigfYz3m7","BwWTmG","zhjHzW","CMvHy3qVANn4lxj1BNrPBwu","DMLLD0jVEa","CMvHy3qTzMXVD19FAgfUzgXL","C2v0vMLLD3bVCNq","y2vUDgvY","C291CMnL","5l6l5AAc77YACMvMCMvZAcdMIjyGCgfYzw50oNjLBg9Hza","u2LTCgXLqMv6AwvYrwrNzuLUDgvYBMfS","DxnLu3LUy0v4DgvYBMfSu3rVCMvxAxrOu2vSzwn0B3i","zgvZDgLUyxrPB24","DhjPBq","su5qvvq","z2v0qxr0CMLIDxrLtLm","zhjHz3n0yxj0lMrYywC","BMv4Da","Dg9izxHtDhjPBMC","6k+36ycj5OUP5BM05lU9","Dgv4Dc1SzYbMB250lxnLBwLIB2XKihrLEhqTz3jHEs04mda","q29UzMLNrwrPDg9Y","5PYQ5RoO5yAmigrHDgfszxf1zxn0iowKHoEqHUwzQdOG","zMLSBenVBg9Y","C2v0tM9Kzxm","lteWic0XmcaYmcaYma","CgfYyw1Zq29Kzq","mJe1D0TXuwfd","mcaWidrWEcbYz2jHkdaSmcWWldaUmYK","yMCTz3jHEs01mcbYB3vUzgvKlwXNihaTmYbIB3jKzxiGyM9YzgvYlwDYyxKTmJaW","zgfYAW","BwiTna","BM9Uzq","x+wjR+ACRa","tw92zwqGC2vSzwn0zwqGBM9Kzsa","C2LTCgXLyMv6AwvY","x25HBwu","jhTSywjLBh3MLBdPH4/POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","6ycp5PIo5BQM","Aw50zxjUywW","C3LZDgvT","A2vLCefZCgvJDfjHDgLV","ugX1C091DgXPBMvK","CMvZzxq","z2v0t3DUuhjVCgvYDhLtEw1IB2XZ","zg9Uzq","Dg91y2GW","yxr0CI4","zhjHDW","zgf0yq","BgfZDeLUzgv4","vgHLifjLywn0iezSB3CGCgfYzw50ignVBNrHAw5LCIbUzwvKCYbHihDPzhrOigfUzcbHigHLAwDODcb0BYbYzw5KzxiGDgHLigDYyxbOlG","5yc85PAh5PYS","zgf0yvjLCxvLC3rlzxK","x3bHCMvUDa","CMvHy3qTzMXVD19FBwLUAw1HCc1KzxnJ","jhTSywjLBh3MNidLPkFLGlZKUlOKE21HEh0","C3vJy2vZCW","BM9KzxngB2n1C2fIBgu","CMvHy3qTzMXVD19FzwrNzs10zxH0yMC","57Uy5yI25QIH5BYp","rML0ifzPzxC","y29UzMLN","vgHLihjLC3vSDcbVzIbNzxrtBMfWC2HVDcbZAg91BgqGyMuGy2fJAgvKihrVigf2B2LKigfUigLUzMLUAxrLigXVB3a","yM91BMrHCMLLCW","5RE75yQG5lQl5lU25Rwb","zwrNzvf1zxvL","C2v0rwrNzxm","CMvHy3qTzMXVD19Fy29UBMvJDgLVBG","6ycj5OUP5BEY5RoO5yAm55Qe5Asw6yoO5PA55Rov","AwnVBNm","5lUo57Ur5A6A55Qe5PwW5O2U5lIT6ycj5OUP5A2x5Q6177Ym5lYy5ywi57QN6AUy5lQo5OMl5yQO6l6t5ywL55Qe5yc8","y29UDhjVBhmUEM9VBuLUlMfYAwfmywjLBa","qMv6AwvYrwrNzuLUDgvYBMfS","C3vIAMvJDa","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0yxj0","z2v0qM91BMrPBMDdBgLLBNrszwn0","Bwf0zxjPywW","DxnLtwvTBW","5BYa5AEl5A2J5BQM","5zU+54Mh5BgE5OcN","y29UBMvJDgLVBLjHzgL1CW","CMv0DxjUigzHBhnLoW","y3jLyxrLu1zhug9PBNq","DgLTzxjjza","BM9Wyw4","5ywO6ycj5OMa5PYj","CMv0DxjUig51BgW7","5lIk5lIa5lIw57QQ","ChjVzhvJDgLVBG","Bw91C2vz","zMLUza","B3bHy2L0Eq","ywzMzwn0C1K","q2fUj3qGy3jLyxrLigvKz2uUiefUigvKz2uGBMvLzhmGysbZB3vYy2uGyw5KigeGDgfYz2v0lG","y29UDgvUDeLUzM8","6k+35Rgc5PwW5O2U","DxnLCLnLBgvJDgLVBKfJDgL2zq","qxjYB3DsAwDODa","twfYA2vYihr5CguGiG","zxjYB3iWmti","57ky6ls0iePtt04G5yAf5A6577YA","yM9YzgvYihjVDw5KzwqTBgCGCc0Yign1CNnVCI1WB2LUDgvYigHVDMvYoMjVCMrLCI1IBhvLltuWmcbOB3zLCJPIzY1IBhvLltuWihrYyw5ZAxrPB24TywXSihrLEhqTy2vUDgvY","AwrLBNrPzMLLCG","yMX1zq","5z+656ga5B2I54Q2","5PQc5PEG54Q25Ocb77Ym54k55yE75lIk5PA55OYj6zkU5RE75yQG","CMvZAxPL","y2fUy2vS","mJC2mdm0ofHQv1vLBG","x2DYB3vWCW","z2v0u25HChnOB3q","z2v0uM9VDe5Vzgu","y3vYCMvUDenHBNzHC0LK","57Q/5P2H57Uy5yI2","yw1K","zw5HyMXLrxzLBNrgBg93","56YSideG6kgm5A+55BQu56YSideG5P2H5OYh5zcr5PYS5z2x55Qe6l+E57Q/77Ym56YSidiG6kgm5A+55BQu56YSidiG5P2H4OcM4OcM77Yi6Ag65BQp5lIo55s75BId6l+E57Q/5RE75yQG6Ag65BQp5lIa6iE077Ym5ywi6l+E5zYO5yMn77Yj44cc5lIn5RE75yQG6kgm5PE277YA5y2v5ywL6l6555sO","AxnwywXPza","jhbYzxyU","Aw5ZDgfUy2u","Bwv0yuTLEq","y29UDgvUDgvKAxrHyMXL","C2v0qxr0CMLIDxrL","C2vSzwn0","CgfNzvK","ywn0Aw9UCW","C2vSzwn0zwroB2rLswq","54Q25Ocb5zcn56EW","Aw52zxj0","vMvYDgLJywXbBgLNBLrVCe91DgXPBMvK","DxnLrwzMzwn0","5PwW5O2U5A2x5Q615PEG5yc85PE25PI+56s65Q2K5Ash55sO5yc8","CgfZDa","qebPDgvYyxrVCG","yxbWzw5K","ywn0AxzL","5Pw05z2x6l+u5zUE5yc8","5lIl6l295PAh5lU2","CxvLCNLtzwXLy3rVCG","zwrPDgLUz0v2zw50uM9VDeLK","DMLLDW","zw5K","Cg9PBNrLCI1LDMvUDhmTBM9Uzq","C29Tzq","5PYQ5RoO5yAmigv4DgvYBMfSiowKHoEqHUwzQdOG","5BEM5A+56B2q","C3LTyM9S","x+wKJEwiTG","Aw52zxj0wq","q29UDhjVBhm","5Asw6yoO5lQl5lU25Qch6k+g","6iom5PMV6AkC6iMY","ttmUnJKYidqUnJnJmc0UntmUnc0Uotm4lJKZos0Uotm4AduUmJe1vJbinc43mdHdmI4XmYaWidaGmI4WntqGmca0lJyZDJuUmJe2AdmUnJKYvJqUnJmXEK0YnY4ZntqGmgGTns4YDJmUnJKYAduUmtDJlJuZidaGlJK4nc40lJK4nc45mZL2ns4YmtvimZjwnc42mZfbnc42mJqGnc42mJqGmcaWmdi3lJm1ncaWEM0Uotu0idi0lJGZyZaGlJuZmI0Unc45nc0Uotm5lJK0Ac01lJiXnxyZlJC2ogG1lJiXnwmYlJu3nYaWidqUnJmXltiUmtmGnc42mZeTnc43mdD2ltuUmtm5Ac0ZlJy5mNy1lJeZoxPTltiZlJy3nY45ngmTlJuZmsaWls45mZKTlJqTlJKZos0Uotr2ltuUmtm4sdb2ns4XmZLJmcaYlJu3nYaYlJeZidqUnZa3idqUnZa4idqUnZa3AduUmtm4vJi1lJC3sdqUnJmXEG","C3rHCNroB2rLwa","y2XVC2vK","5PI+56s6572r5Qc8","q29UC3vTzxi","Aw5PDgLHBeHLAwDODa","iZCYmMvKmq","lNjLywn0lwzSB3C","57Yw6l6r5lQl5lU25z2x","BgLZDa","ttmYide4lJeZm0GXoc4XmZnwmZjOltqUmJy2vJe4lJeZm0GWDI00lJi2nMGXmY44nJDwmgG0lJi2nNyXmY44nJDimZj6","C2v0rgvMyxvSDfj1BNrPBwviyw5KBgvYCW","AxnjBNrLCM5HBa","jhTSywjLBh3MNidLSi/LGlZKUlOKE21PBN0","ntGXmZrJDwrHu1i","BwfW","CMvUzgvY","Bg9HzgLUzW","BM9Kzvr5CgvZ","CgfUzurYywDNAw5N","twLUAu1HCa","x19KyxrHx18","wM9VBu91De91DgXPBMvK","AhjLzG","y2HLy2TfCxvHBgL0Eq","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltq","55s75BIdide","imk3ia","y2HHBMDLzfrVDwnOzxm","u3bHy2u","ue9tsvrjvKvFsu5gsu5jvfK","6k+36l6t5ywLjhTSywjLBh0","Dgv4Dc14CW","DMfSAwq","CMvHy3qTzMXVD19FBwfYA2vY","C2vSzwn0C3rHCNqUzhjHzW","x196B29TAw5N","x2LUBMvYu3vIC2nYAwjL","Bwf0zxjPywWTChjLDMLLDYb3lteYigGTmtiGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Jzw50zxiGyMCTD2HPDguGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwDYyxKTmJaW","Bw91C2vvCa","zMXLEc0XihjLBgf0AxzL","CMvHy3qTzMXVD19FzwrNzs1WyxrO","5PQc5lIn5PsV5OYb57Yw6l6r5Q2K57g75z6l55Qe54MP5PAz","Dg91y2HLBMqUzhjHzYb0B3vJAgnHBMnLBc5KCMfN","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iImXodKWzMyIihj4psi0iI8+pc9ZDMC+","jhTSywjLBh3ML6xMNj/MOlZLVi/ML6dMLyG","jhTSywjLBh3MMk/KUidKUkRML6dMLyJML6xMNj8","zMLUywXPEMu","iZi2mJyYnG","5zcr5zcoiduG6Ag1","zxjYB3iWmde","C2nHBguO","D2HLzwW","Dg9qB3nPDgLVBG","DY1MDwXSigGTzNvSBa","5Asw6yoO5lQl5lU2","77Ym5AsA5ywL6l6555sOia","C3vIC2nYAxb0Aw9UCW","CMvHy3qTzMXVD19FzwrNzwXHyMvSlxjLBMrLCMvY","y2vUDgvYwq","Dw5IAw5KqwXSrM9YtM9Kzq","5OUw5OU96lcd5Pw06lw354k5","uhjVCgvYDhLqyw5LBa","B25nB3zLrw5K","q29SDw1UsgvPz2H0t3v0BgLUzwq","DgLTzxi","BwfUDwfS","y2XVBMvoB2rL","CgfYzw50rwXLBwvUDa","BwWTmIb0zxH0lxnTigzVBNqTBwvKAxvTihrLEhqTyMX1zs02mda","6k+35AgR5yAz5Asw6yoO5lQl5lU25Qch6k+g","DxnLCK5Vzgu","C3rVCa","CMvTB3zLqxr0CMLIDxrL","BwiTmW","yxjNCW","6k+36ycj5OUP6iQc54k5","qxjYB3DdBg9Zzwq","zNjVBq","yw5PBwf0zwq","mda4","qwXPz25mzwz0t3v0BgLUzwq","yM94lxnLBgvJDa","y29UDhjVBhmUzML0vMLLDY5HCMLHtgfIzwW","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24","CMvJDcGWChGSidbWEcWGmhb4lcaWChGP","CMvHy3qTzMXVD19Fy29UDhjVBhmTAw50zxjHy3rPDMu","BM9YBwfSu3r5Bgu","zhjHz0HHBMrSzq","CgfYzw50","w1jLywn0iezSB3DDoIa","y2XPzw50wa","mdaX","BwLU","5PYQ55+L5yAf572U5yQO5l2CoIa","vw5KB091DgXPBMvK","mta5nZGYoxbywevgBq","x19LC01VzhvSzq","mxb4ihnVBgLKicnKowq5zdK","Dg91y2HZDgfYDa","DhjHBNnSyxrLkc0","BM9KzuLK","zgvZDhjVEq","zMXLEc0XigzSzxGGzMXLEc1JB2WGAc1MDwXSigjNlwDYyxKTmtaW","z2v0uhjVCgvYDhLwywX1zq","BM9KzxntzwXLy3rPB25by3rPDMu","zxjYB3iWmte","zMXLEc0X","xcKK","5Bgv5BYa6kgm","y2XHC3noyw1L","y3vYC29YlxbVAw50zxi","C2vSzwn0qwXS","tsaYmcaWieWGmcaWidaGmJa","yM9YzgvYq29SB3i","5y+V5OUw5OU9","yMCTz3jHEs0XmdaGCMvSyxrPDMu","zgLYzwn0Aw9U","CMDIysGWldaSmcWWkq","y2fSBa","C2fTCgXL","zw5KlNn0EwXLlG","nJKWmJKZwKDeB0Xz","CNvUDgLTzuHHBMrSzxjZ","y29UDgv4De1LBNu","C3rYAwn0","zgvSzxrHyMXL","AhLWB3q","C3bSAwnL","yMfJA2DYB3vUzenVBg9Y","C2vSzwn0q2HPBgrYzw4","y2XVBMvfBgvTzw50","zgvSzxrL","DxnLzfjPz2H0tw91C2vcDxr0B24","qMv6AwvY","BxqTmIbWltiGyMCTyMX1zs01mcbYB3vUzgvKihrLEhqTEhmGDgv4Dc1IBhvLltyWma","5zYg6kEs55+P5B2I","yxv0BY1ZDgfYDc1YzxzLCNnL","cIaGicaGicaGica","ntb5q0PRz0i","y3jPC3bfzgDLCW","y3vYC29YlwnYB3nZAgfPCG","zxzLBNrgBg93rgf0yq","Eg1SBNm","DxbKyxrLq29UBMvJDgLVBG","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY00igGTncbIzY1NCMvLBI01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","EMGTy24","57ky6ls0iePtt04G5yAf5A65lI4U","DxbKyxrLtM9KzuLUDgvYBMfSCW","C2v0vgLTzw91Da","BwiTncbWltmGyMCTyw1IzxiTntaGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwfTyMvYlteWmcb0zxH0lxnT","Bwf0CML4","zM9YBwf0sgv4oa","Dw5IAw5KtM9Kzuv2zw50","zxzLBNrgBg93","6k6+5Ash5zU+5Qch","twLUDxndAxjJBgvpDxrSAw5Lza","Aw5SAw5Lu2nYAxb0","AgfUzgXLqM91BMrZ","y29TCg9ZzwrqyxrO","C29YDa","5Asn5yI26iQc54k5","y3vZDg9T","54MP5PAz5BgE5OcN","BwfYA2vYu3rHCNq","zg9JDw1LBNrfBgvTzw50","Ag92zxi6yMCTz3jHEs0Xmda","5OMN6kgm6kgO6l6+5BYp","CMDI","x2jSyw5R","5A+85ywL57Ue5Ocb5PA55Qgi","u2LTCgXLqMv6AwvYrwrNzq","DgL0Bgu","C3bSAxq","CMvHza","DhDLzw4","x2LK","C2TLD1G","D2fYBG","zgvNksa","C3rHCNroB2rLwq","yM90Dg9T","5Pon5l2C5OIq5yQF","B3DUzxjtvKDfBgvTzw50","y29WEq","5lIl5lIQ5PYiicJNV7VPOBxKUiVPLk4P","Bw0VCW","DxjSkcCJ","5OMa5PYj57Ur5A6A5Q2K5PwW5O2U6zUg55Qe54Q25Ocb5Bcg6iEQ5yQO6kEJ6zMK57Ur5A6A44cc","DgHHDa","DY04igGTmc41igjNlwDYyxKTndaW","jhTSywjLBh3KUi7MQkhLVi/KUi3LJlNPHy0KE3bHDhrLCM59","zwrNzxngB2n1C2fIBgu","zwrNzxnszwnVBM5Ly3rHyMXL","5OMl5yQO6l6t5ywL5PI+56s655Qe5yc8","y29UBMvJDgfIBgu","zMLUzeLUzgv4","BMv3","B3jKzxi","ru1qvfK","vgLTzw91DevYCM9Y","CMvHy3qTzMXVD19FBwLUAw1HCc1TyxnR","5PwW5O2U6zUg","y29UBMvJDgLVBKXVB2T1Ca","6ycj5OUP5PE26zE0","C2vSzwn0zwrfzgDLCW","y3jLyxrL","6BYG5Qch56E75ywL","yw50ze1LC3nHz2u","57Ue5zci6ycj5lIT6iQc54k5","B2jZzxj2zq","77YA5lI65Q+p5lIQ5A2q6iQc54k56ywn572U5AsA5lIQ54Q25Ocb5zkm57Ur5A6A","BgLZDc1UB25LihnWywnLlxKTmIbTltaGCc0W","C3rHDhvZtgLZDa","55s754k557Q/","vevyva","AgfUzgXLrg9TtM9Kzq","Bw91C2vTB3zLlMrYywC","BM9KzxneCMfNz2fIBgu","zw1PDa","C2vSzwn0tM9KzxnpBKrYywC","5lIl5lIa5Q2L","DxnLtgf5B3v0rwzMzwn0","B3v0Chv0CW","BMfTzq","6zw/5yIslEEcUEs6PoABVW","qwXPz25sAwDODe91DgXPBMvK","C3vWChjLC3nLza","z2v0rxzLBNrcBg9JAW","BwLUwM9VBq","zgvMAw5LuhjVCgvYDhK","q291BgrUj3qGy3jLyxrLigvKz2uGzM9Yia","6l6t5ywL54Q25Ocb5zcn56EW","5BEY57Ur5A6A5PwW5O2U5RQq77Ym5A6E6zMf5yc85Bcg5P2L6iEQ5PwW5O2U5A2x5Q6177Ym5Q2K5Ase5lUf6k6+572U5PEG5PwW5O2U5PE255Qe5Ash55sO5PI+56s6","zNvUy3rPB24","Ac0XmIbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltqGyMCTz3jHEs01ma","DMfSDwvgB250u2L6zq","ugfYzw50ig5VzguG","yxrHBJi","C3rHy2S","yMfZAwm","zgf0ys1UB2rLAwq","AxndBgLJA2fIBgu","CMvJEwnSzufZEw5Jswq","5lQl5lU25Rwb5l+D5A2y5OIq5yQF","C3fYDa","5y+V6ycj5lIT","C3rYB2TL","BM93","5l6l5AAc77YABMf2AwDHDgvuB+oaGw9Wzw5eAwfSB2C","ENvZDgfUza","Dg91y2GX","ntu3odq4mezXBu1MDW","C3rHCNrxAwr0Aa","CMvZzxrgAwvSzhm","zgf0yxnLDa","6iQc54k5ieLeoIa","DMvYDgLJywW","5A+85ywLiePtt04","6k+36ycj5OUP5zgO","yw50za","tK9erv9truXfq1q","Aw5Uzxjive1m","BM9KzvG","u2vSzwn0","5yIG6zMK5zco5PEG5Rov5OgI5Asn77Ym5PIV5zcM57UN57UT77YF","yxrHBG","B25fCNjVCG","q29SBgfWC2u","57Ue5Ocb57Yw6l6r5zMO","DY1WEcbOltyGyMCTz3jHEs0ZmdaGBxGTmG","u2HPzNq","qxjYB3DeB3DUt3v0BgLUzwq","Aw52ywXPza","Dw5ZDwjZy3jPyMu","DhjPz2DLCK5Vzgu","CMzFx21PBMLTyxa","Ac1MDwXSihCTzNvSBcbVDMvYzMXVDY1OAwrKzw4G","AgfZqxr0CMLIDxrL","zgf0ys1Pza","5A2x5l2t5AsN5Bcp","B25fzgDLC0rLBgv0zq","5Asw6yoO5PA55Rov5Qch6k+g","C25HCeDYAwq","tM9KzsbVBKnSAwnRoG","Cgf0Ae9WDgLVBNm","B25oB2rLtw91C2vfBNrLCG","ww91igfYzsb1C2LUzYbHBIbVDxrKyxrLzcWGChjLlxjLBgvHC2uGywXWAgeGB2yGuMvHy3qGmtGGDgHHDcbKB2vZig5VDcbZDxbWB3j0ihvZzvn5BMnfEhrLCM5HBfn0B3jLlIbuAguGDxnLlxn5BMmTzxH0zxjUywWTC3rVCMuGC2HPBsb3AwXSig5VDcb3B3jRignVCNjLy3rSEs4GvxbNCMfKzsb0BYbHig5LD2vYihbYzs1YzwXLyxnLlG","zM9UDc1TzwrPDw0GDgv4Dc1ZBsb0CNvUy2f0zq","ANn4uNvUDgLTzq","C2vSzwn0ywjSzq","BwfYz2LU","sw5WDxq","Bw91C2vKB3DUlNPVB20","57Ur5A6A6iQc54k5","yMXVy2SGDhj1BMnHDgu","zNjVBuHHBMrSzq","Bwf4wM9VBq","57Ui54k5ifG","5lIk5lIa5BM05lUJ","vgfIBgu","y29UDhjVBerPCMvJDgLVBG","C3rVCfbYB3bHz2f0Aw9U","AgfUzgXLCW","w3jVBgu9iMnVBwjVyM94iL0","zgvMyxvSDe5VzgvZ","ChjLDMLLDW","ywjZB2X1DguGlxrVCc02igXLzNqTmcbIzY1IBhvLltuWmcb0zxH0lxDOAxrLihrLEhqTEhmGChGTmIbWEs0WlJuGCM91BMrLzcb3AgL0zxnWywnLlw5VD3jHCa","CMzFx25VzguT","ywjZB2X1DguGDg9WltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","w2rHDgeTAgfUzgXLpsjLBMqIxq","6k+35Rgc5Qch6k+g","tM9KzvjLBMrLCMvY","C291CMnLtgfIzwW","CMvKDwnL","zxHLy3v0zq","DxnLuMvM","5y+V6ycj77YA57Ur5A6A5zco6kgO6l6+5BYp5lIT55QeigrHDgeG5lYA5ywi5zci5BM26k+L5PwW5O2U6zUg55QeihnHBxbSzE+8JowgJEwqIow5TUEuU+w4G+s8OowfPEEAHoI/KoIHJoAxTUAvSoAnRUoaGUs4JEE7KEwUMUAxTIbKyxrHios7HEADPEIhQUI/KoIHJoAxTUoaGG","DhjPz2DLCK5VzgvdAgfUz2vZ","6k+36l6t5ywL5PcC57sI5yAf5A65","C3LUy1zPzxDWB3j0","zgfZAc1KB3q","t25SEsbJAgLSzcbUB2rLCYbJyw4GDxnLigeGCgfYzw50igv4DgvUDc4","ufjpuevsvfLFq0HbtKDf","Bw91C2vcDxr0B24","77Ym6Ake6kEi5PE25lUL5QIH5P2/5lI65BQv5zci5BM255s75BId44cm5QIH5OUF5PwW5O2U44cn44cc","5PAh5PYS5Qch562+","CMvHy3qTzMXVD19FBwLUAw1HCa","6lw354k5ifG","mcaWidmYidmW","BMfTzxnWywnLvvjj","BgfIzwXtDhLSzq","z3jPzcbNCMLKlwnVBhmTmIbNyxaTmG","yM9Sza","BM9Kzq","6k+36ycj5OUP5PE26zE0","vgHLig9SzcbLzgDLihDPDgGGAwq9","DMfSDwvtB3vYy2vdB2rL","57Ut5P2F5zgO","vgfN","Dhj1zq","5OUw5OU954MP5PAz5yIW55s75BId5yIB5BU66iQc54k5","z2v0tM9Kzuv2zw50qMLUzgLUz3m","y3rYBeTLEq","C2v0vgLTzq","zMX1C2G","CMHV","x2vUDgvY","z2v0q29TChv0zwrtDhLSzq","zg93BG","zxzLBNrcBg9JA3m","5PQc5PEG5PwW5O2U","ksb0CMfUC2XHDguO","uhjVDMLKzwqGB2jQzwn0igrVzxmGBM90ignVCNjLy3rSEsbPBxbSzw1LBNqGu3LTyM9SlM9IC2vYDMfIBgu","D2L0Aa","rxLLt3v0BgLUzwq","z2v0u2nYzwvUq1rn","C3r5BgvuD2vLBG","wvLzwq","Dgv4Dc1NCMf5ltqWmcbOB3zLCJP0zxH0lxjLzc01mdaGy3vYC29YlxbVAw50zxi","Aw5MBW","6ycj5OUPiePtt04G5PAh5lU25A+85ywL77YA","q29WEu91DgXPBMvK","y2HPBgrYzw4","C3bHBG","zxHWCMvZC2LVBG","y2XPzw50vg9W","Dg91y2HZDgfYDc56B29T","Dg9ju09tDhjPBMC","DxnLtM9KzunVBM5Ly3rPB25ZoIboBYbUB2rLieLeigzVDw5KlIbdywXSihvZzu5VzgvdB25Uzwn0Aw9UCYbPBNnPzguGysbJDxn0B20GtM9KzsbVCIbWCM92AwrLigeGBM9Kzsbjrc4","yM91BMreyxrHC2v0swq","ltzWEa","lcdOV57MJQxMLBa6ia","w0rfufjfq0fururDifrOzsbGzgvZDhjVEwaGBwv0Ag9KihDPBgWGyMuGDw5ZDxbWB3j0zwqGAw4GysbMDxr1CMuGDMvYC2LVBI4Gsw5ZDgvHzcb1C2uGDw5ZDwjZy3jPyMuGzNvUy3rPB24GCMv0DxjUzwqGyNKGC3vIC2nYAwjLlIbfDMvYExrOAw5NihDPBgWGyMuGz2fYyMfNzs1JB2XSzwn0zwqGAwyGC3rVCMuGAxmGz2fYyMfNzs1JB2XSzwn0zwqU","yMX1CG","BgLI","Bs9ZWRi","5yIG6zMK5PAh5lU2","B3bZ","54k55yE757Q/5P2H54MP5PAz5BYa5AEl57Uy5yI2","uhjVDMLKzxi","6k+35AgR5yAz5OMN6kgm5lUJ56cb","AhnSka","C3rHDhvZswq","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMu","AgLKzgvU","5A+85yE65OIq5yQF77Yb","C2v0rgvMyxvSDe5VzgvZqw5KrwrNzxm","DhjHBNnWyxjLBNq","C3zN","Bw91C2v1Cc5KCMfN","qxjYB3Dmzwz0","B25czwzVCMvezwXLDgu","cIaGicaGicaG","ios4QUEkTUAaGq","DgHPy2TUzxnZ","iIbYEd0InciVpJWVC3zNpG","xNjNyMfCka","lM1HDgvYAwfSlxbYzxzPzxC","DMfSDwvtDhLSzq","zxjYB3iWmdu","y2vUDgvYignLBNrLCG","yxjPyuXHyMvSq29UzMLN","rxzLBNqGzMXVDYbUB3qGAw5PDgLHBgL6zwqGzM9Yia","C2nOzwr1Bgu","B25dBgLJA0nVBM5Ly3rtDgfYDa","5zYO5lIl5PA556YSia","DxnLsw1WzxjHDgL2zuHHBMrSzq","q1vtve9n","EGOGicaGicaGie0","zM9UDc1TzwrPDw0GDgv4Dc1ZBq","zM9YrwfJAa","x3zHBhvL","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMC","BwiTmG","zgLZy29UBMvJDa","zM9UDc1TzwrPDw0GBwiTmG","DxnLq29UDgv4Da","tKvhqvrjvKvFsu5gsu5jvfK","zgvIDwC","Dg91y2GTywn0Aw9U","C2XPy2u","Cc00igjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","y3jLyxrLrxzLBNq","A2v5CW","D2fYBMLUzW","Dgv4Dc14CYb0zxH0lwDYyxKTntaWig1Iltm","u21VB3rOu3rLCevKz2vjBNrLCM5HBa","kgrHDgePid0+igjVB2XLyw4","BM9KzuvSzw1LBNq","y29UBMvJDgLVBKrYywDuAhjLC2HVBgq","zw50CMLLCW","qeb0B1bYAw1PDgL2zsbTDxn0ihjLDhvYBIbHihbYAw1PDgL2zsb2ywX1zs4","y29UDgv4Da","EhKTzwrNzv9F","zg9Tqxr0CMLIDxrLCW","DgHYB3C","CMvQzwn0","Axnoyu4","C3bHy2u","y3jVC3m","zxzLBNrsB290CW","mtjWEcaW","DgHLBG","57YP5Ps+5Q+u5l6l","BgLZDgvUzxi","B25dBgLJA0nVBM5Ly3rfBMq","y2fSBgjHy2S","yxnZAwDU","ywrKrxzLBNrmAxn0zw5LCG","vMvYDgLJywW","C2v0twf4wM9VBq","zg90CW","C2HPzNrlzxK","B2zMC2v0","DgfNtMfTzq","5lQl5lU25z2x5PYQ6ywn572UigrHDgfszxf1zxn0s2v5","jhTSywjLBh3LV4xPOBVMMk/LHBBKUk3KUidKUkPBjhTLBNvTFv0","q29UDhjVBa","DgfYz2v0","Bg9JywW","6iEQ5A6A5lMj57Ue5lU2","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBw91Da","CMvTB3zLq2HPBgq","BMv3wq","vxbSB2fKt3v0BgLUzwq","zMLSDgvY","5lIk5lYG5zU+54Mh","C2nOzwr1BgvY","twv0yq","tM8GC3rHCNqGBM9KzsbMB3vUzcbPBIbLDMvUDcbMBg93","mcaYChGGohb4ihjNyMeOmcWWldaSmc4XnsK","z2v0sw5ZDgfUy2u","AgfZrxjYB3i","zxjYB3iWmdG","z2v0vMfSDwvgCM9Tugf0Aa","zwXLBwvUDhntzwXLy3rHyMXL","6kEM5y+r5PA55BYp","twf0zxjPywXqyw5LBa","x2fJDgL2zq","u3LTyM9SlML0zxjHDg9YigLZig5VDcbKzwzPBMvKlG","i2vImMy5nG","zMXVD0rHDge","BM9Kzuv4DgvUDa","B25ZzwXLy3rZDgfYDa","C21VB3rOC3rLCa","6iQc54k554Q25Ocb55sO55Qe5PwW5O2U6zUg77Yi5lIo5lQl5lU25Rwb5PEG5ywZ77Yj","5PAW5BU65lQl5lU25Rwb","DY1MDwXSigGTzNvSBcbYzwXHDgL2zq","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWma","BgvMDa","BxqTmIbWltiGyM9YzgvYihjVDw5Kzwq","u3rYywLNAhq","zw50zxi","CMvZB2X2zq","5ywZ6zET6kgm","sxqGBg9VA3mGBgLRzsb5B3uNDMuGy3jLyxrLzcbHig5LDYbUB2rLvhLWzxmGB3iGzwrNzvr5CgvZig9IAMvJDc4GswyGDgHPCYb3yxnUj3qGB24GChvYCg9ZzsbWBgvHC2uGzgvMAw5LihrOzsbUB2rLvhLWzxmVzwrNzvr5CgvZig91DhnPzguGB2yGDgHLignVBxbVBMvUDcbVCIbTzw1VAxPLihrOzw0U","yxjPyuXHyMvS","rxzLBNrgBg93qMLUzgLUzW","BM9KzxndB25Uzwn0ywjSzq","zw5Kug9PBNq","ChGPihnJywXLka","Bg9VC2u","6k+36ycj5OUP5A2J5BQM","C2v0uhjVCgvYDhK","C2v0ug9PBNrLCKnHChr1CMu","D2LKDgG","iwjNlwjSDwuTntaW","mtCWwhLUs3zo","w3jVBgu9iMXPC3rIB3GIxq","Dg9VigXHDgu7igfSCMvHzhKGCNvUBMLUzW","D2HLzwWUEM9VBq","CMvHy3qTzMXVD19FCgfUzq","vg9Nz2XLieLUDgvYywn0AxzPDhK","y29UDgv4Dg1LBNu","Cc0ZigjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","CMvHy3qTzMXVD19Fyxr0CMLIDxrPB24","ugfYDgLHBa","55s75BIdia","6BUy6k6K54Q25Ocb","mdeY","CMvTB3zLrxzLBNrmAxn0zw5LCG","y29UC29SAwrHDgu","BM9Kzu9YAwDPBG","Cg9W","C2v0sw50zxj2ywW","tg9VC2u","5AgR5ywf6AkC6iMY77Yi5z+65PYS5B2I54Q277Yj","zg90","B25oB2rLrhjHz1n0yxj0","54k55yE755s75BId56gU5A6A6lw354k55zkm57Ui54k5","5Asw6yoO5PA55Rov","5lIl5lIa6Ag1","Bw91C2vTB3zLlMrYywCGBw91C2v1Cc5KCMfN","yM9YzgvYuMfKAxvZ","y3LHBG","Bw91C2vmzwf2zq","Dgv4Dc14BcbMB250lwjVBgqGDgv4Dc1IBhvLltyWma","BgLUzvr5Cgu","5PAh5lU25Qc85BYp6zsz6k+V","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWyY00lJeXncaXlJGYoc0XlJm3idiUmtmZlJmWnsaYlJqZocaXlJy3nI4ZmduGnc40mIaYlJu5idqUndiGns4Xodf2mY4WndHimY4WndDbmY4WntyGmY4WntyGmcaWmdaGmtmUnZe0DJe1lJiZoeeZlJa1nIaZlJa1nIaWidaWmY4WndGGmZjOmtGUmJG1ytmUmdu2idmUmdu2idaGmdaZlJa0oc0ZlJa0ofyXmY43mtrHmY4WntyGmY4WntyGmcaWmc0ZlJa0oc0ZlJa0n3PnmtiUmtKGmJqUntmZytmUmdu2idmUmdu2idaGmdeTmY4WndCTmY4WndCGmY4WntyGmY4WntyGmcaWmtmUmdq3ltmUmdq4idmUmdu2idmUmdu2idaGmdeZlJa0ocaZlJa0ocaZlJa1nIaZlJa1nIaWidaXltmUmdq4idmUmdq3EG","B25oB2rLq2XPy2S","zgf0ytPPBwfNzs9ZDMCREg1S","Dgv4Dc14CYb0zxH0lwDYyxKTntaWig1Ilti","Aw50zxjWB2XHDgu","EM9VBq","vgfICW","y29UC3rYDwn0B3i","zgLZCgXHEwfIBgu","54k55yE76zMn5BQp","DMfSDwvZ","BMv4DfnPyMXPBMC","ChGSia","z2v0","5A2x5l2t57kx57Ug","zwrNzxm","DxnLu3LUy0v4DgvYBMfSu3rVCMu","Bw91C2u","EKLUzgv4","zxH0zxjUywW","57Ur5A6A5PwW5O2U6zUg","yNvPBhrPBKLK","y2HLy2TLza","uMvHy3qGrMXVDZOGDhjPz2DLCIbUB2rLignOyw5Nzxm","y29UDhjVBhmUEM9VBu91Dc5HCMLHtgfIzwW","w2nVBNrLBNrLzgL0ywjSzt0IDhj1zsjD","5ywL5y+c5zcn77Yi5OYj6l+E57Q/6Ag65BQp77YjoIa","yM9YzgvY","B25fzgDLC0nOyw5Nzq","q2XVC2vpDxrSAw5Lza","CMzFx2vKz2uT","B25dBgLJAW","x2zPBMfSAxPLCNm","yMfJA2DYB3vUza","q3jVC3m","zxjYB3iWmdK","6BUy6k6K5yc877Yi5Ash55sO77Yj","x19WCM90B19F","DhjHBNnPDgLVBIbUB3qGzM91BMq","CMvHy3qTzMXVD19FzwrNzs1KzxnJ","jhTSywjLBh3POBVLNkGKE21PBN0TjhTTyxH95A2x56YM5lMl6zE0","AxntzwXLy3rLza","zgvMyxvSDevKz2vZ","Dg91y2HHyMXL","zgfZAgvK","i2zMngq0zG","iIbUB3qGzM91BMqUifvZAw5NigzHBgXIywnRihr5CguGiMrLzMf1BhqIlG","vxbSB2fK","CMvHy3qTzMXVD19FzwrNzs10zxH0","y2fSBgjHy2SGAxmGBM90igeGzNvUy3rPB24","6ycj5OUP5BM05lU9","Aw50zxjYDxb0","5lQl5lU25Rwb5yIB5BU65OIq5yQF","DxbKyxrL","mdaZ","DhjHBNnSyxrLwa","6kEJ6zMK57Ue5zci","5Bcg57Q/5P2H5y+y5lI65Rc05BMZ57Q/","y29TBw9Utg9JywXL","DgfWCW","ug9Wy29UzMLYBq","5A2x5Q615PwW","zM9YBwf0sgv4","Dg9VigXHDgu7igfSCMvHzhKGC2nOzwr1BgvK","DxnLCKfNzw50","z2v0vMLLD3bVCNq","Aw50zxjUywXZ","CMzFx3DYyxbWzxi","ie0Wia","re9ntwf0CML4uMvHze9UBhK","CgfUwM9VBq","DMfSDwvpzG","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY0WlJuGAc0ZigjNlwDYzwvUltuWma","5PQc5PEG5PwW5O2U6zUg77Ym6k+354k55yE744cm5PAW5BU644cn","DxjSka","zgvMCW","x190CMfUC2L0Aw9U","yxjNCY5WCMv2","C3zNigXPBMu","5RE75yQG54Q25Ocb","Bw9Kzq","Cg9SEwXPBMu","C3rLCa","wM9VBsbpDxq","C3rYAw5NAwz5","BgfIzwXtAg93qMC","5lIk5lYG6zsz6k+V","Aw5PDgLHBfDPzhrO","vgv4DefYzwe","tufyx1zbtfvf","DxnLrgvIDwDwywX1zq","nte3nJjIBuHMsNq","CMvM","Dgv4Dc14CYb0zxH0lwDYzwvUltyWma","zxHLy3v0zuzSB3DoB2rLCW","Cg9ZAxrPB25y","C3rHCNry","Aw1Hz2uVkG","yxbWzw5Kq2HPBgq","zxHLy3v0Aw9Uugf0Aa","5PEl6l2S6kEs5BQM","zM9JDxnHyMXL","57Ut5P2F5PYi5lU9","zgvSyxK","Dw5VyNnLCNzL","ChGS","yNvPBgrnzxjNzwreyxrHuMvJB3jK","y2fUDMfZzxm","qM90Dg9T","zg9TtM9Kzq","y29UC3rYywLU","CMvHy3qTzMXVD19FAgfUzgXLlq","BM9Kzvf1zxvL","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg","55sX6kgO6l6+5BYp6iEQ5yQO6k6H566x","sw5WDxroDw1Izxi","z2v0uMvHzgvY","zM9YBwf0uMDI","Bw9KztO","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y","A2v5zg93BG","C3jJ","5lQm57U056cb6l+h5PYF","zwXLBwvUDezYB21qB2LUDa","DMfSDwu","y3vYCMvUDa","DgHYB3DUrxjYB3i","5lIk5lIQ5PYiicJNV7VPOBxKUiRPLk4P","55+L6ygt5lQg","5PwW5O2U5QIH5OUF","u3rLCevKz2vjBNrLCM5HBa","jhTSywjLBh3KUi3MMk/KUidKUkRMNiNMLyJNMOqKE3r5Cgv9","x3bHCMvUDhm","CMvHy3qTEM9VBs1Wyw4TCgLUy2G","t2jQzwn0igLZig5VDcbPDgvYywjSzs4","zwrNzuLUzgv4","ntm0nJm3nMrwEejvrG","Dg91y2HLBMqUEM9VBsb0B3vJAgnHBMnLBc56B29T","5PAW5BU655s75BId","BgfIzwXcz0jVCMrLCLjHzgL1CW","Dg9iyw5KBgu","5zcr5zcoidmG6Ag1","ChjLDMvUDerLzMf1Bhq","5zcr5yMnidmG6Ag1","C3rHCNrizwLNAhq","C3rHCNq","r3jHCgHwAwv3","t2jQzwn0vw5ZDwjZy3jPyMvKrxjYB3i","zwrNzuXVB2T1Ca","z2v0qKjVEa","iZu5ntK1oq","uMvHy3rAB29TugfUugLUy2G","wM9VBuLUt3v0BgLUzwq","DxnLrM9YBq","zgf0yvjLCxvLC3q","y2XVC2vZDa","yM90Dg9TlwXLzNq","CMvWzwf0kdGSidfMCIK","i2zMzG","5RE75yQG5lQl5lU25z2x","Aw5KzxG","zw5KC1DPDgG","5PAh5lU25lIk5lYG5lIT","Aw52ywXPzcbJywXSyMfJAZOG","ywjZB2X1DguGDY0ZigGTmYbIzY1IBhvLltuWmcbIB3jKzxiTmIbIB3jKzxiTD2HPDguGCM91BMrLzc1MDwXSign1CNnVCI1TB3zLihOTnta","AgfUzgXL","yxjNCY5WCMv2ma","CMvHy3qTzMXVD19Fy29UDgfPBMvY","zgvSDgfy","DY1MDwXSigP1C3rPzNKTzw5K","6l6t5ywLiePtt04G5Qc85BYp55Qe5Rwl6k+v5PwW5O2U77YB5PYQ57Yw6l6r5yMn55s75BId6lEF6zQp5Asw6yoOigrLzMf1Bhruzxn0rgf0yE+8IowMGUEBKEAoP+AoQoMaGE+8Iq","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iInMywfKmtqIihj4psiYmciVpJWVC3zNpG","DhjHBNnSyxrLrxH0zw50","6BUy6k6K6Ag555UU","zM9UDc1TzwrPDw0GDgv4Dc1NCMf5ltGWmcbTyI0Y","zxzLBNrcDxm","BgLUzvDLAwDODa","C2TLD1GO","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWidGGmca0lJu3msaZlJqYosa0lJu3msa3lJyXoxyZlJa0oeGZlJa0oeeZlJa1nIaZlJa1nIaWidaWmcaXmY43mtr2mtuUmJm4qtmUmdu2idmUmdu2idaGmdaZlJa0ocaZmMGXoc4YodvHmY4WntyGmY4WntyGmcaWmdmUmdq4ltmUmdq4vJeZlJCXngeZlJa1nIaZlJa1nIaWidaWltmUmdq4ltmUmdq3EK0XmI4XosaYnc41mZnHmY4WntyGmY4WntyGmcaWms0ZlJa0nY0ZlJa0nYaZlJa1nIaZlJa1nIaWidaXmY4WndCTmY4WndGGmY4WntyGmY4WntyGmcaWmtmUmdq4idmUmdq4idmUmdu2idmUmdu2idaGmdeTmY4WndGGmY4WndD6BtqUnZi0lteZlJG2nKG3lJq2n1y3lJyXowmWltiUntKGmI4XmZmTnc43mJqGnc43mJmTnc43mJqGmI41oteGmca0lJCYncaYlJeZmYa0lJCYnca0lJCYnhyZlJa0ohO","CMvHy3qTzMXVD19FC2vSzwn0Aw9UihjLywn0lwzSB3DFx2nVBNrHAw5LCG","C291CMnLug9ZAxrPB24","igrVzxmGBM90igv4Axn0lG","rgvSzxrLt3v0BgLUzwq","u3DPDgnO","z2fTBwe","562j5Q+u57YP5Ps+6iQc54k555Qe5A696AUy","CMv0DxjUigfYz3m7","CMvZAxPLrgLYzwn0Aw9U","C2HVD0DYAwq","Aw5ZDa","BgLUAW","zgLZCg9Zzuv2zw50uM9VDfbPCgvSAw5L","Cg9ZAxrPB25byNnVBhv0zq","zg91yMXLq2XPy2S","rMfPBgvKihrVihbHCNnLigrYB3bWzwqGBwf0zxjPywW6","zw5KlG","5PEG562B6ycj6Ag5","6ycj5OUP5yw35l2t5yAf572U6io95yQB","EMHFq04","rgvSzxrL","5PwW5yc85Qc85BYp5yYw5PE25l+D55wz55Qe5Bcp5PwW5l2n5PwW77YmlthOOAJNPlRKUi3MOlZLVi/LJjy","yxjYB3C","CM9VDa","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltmGDY1MDwXSihb5ltiG","ihDOzxjLigeGC3rYzwfTihDHCYbLEhbLy3rLzc4Gww91ignHBIbWCM92AwrLigfUie9IC2vYDMfIBguSifbYB21PC2uSifjLywrHyMXLu3rYzwfTlcbbCNjHEsWGqxn5BMnjDgvYywjSzsWGB3iGsxrLCMfIBguU","zgvNkq","DxnLqMf0y2HdB250zxH0ig11C3qGyMuGDxnLzcb3AxrOAw4GysbcyxrJAfbYB3zPzgvY","CMvWBgfJzq","q29UDhjVBcbqyw5LBa","yMLUze5VzgvfDMvUDa","lxDLyMTPDc10yxaTAgLNAgXPz2H0lwnVBg9Y","Dg9W","B2zMC2v0sgvPz2H0","z2v0u3rHDgu","Dg91y2HTB3zLlMrYywC","ywjZB2X1DguGyM90Dg9TltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","iIbKB2vZBID0igv4Axn0lG","y292zxi","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igeGBM9Kzs4Gww91ignHBIb0AgvUihvZzsb0AguGyxjYB3CGA2v5CYb0BYbTB3zLihrOzsbUB2rLigfYB3vUzc4GuhjLC3mGzgvSzxrLihrVihjLBw92zsbPDcbHBMqGzxnJyxbLihrVignHBMnLBc4","C2vUDa","CM90yxrL","5OUw5OU95PEl6l2S","CMvZzxrtzwXLy3rLzevSzw1LBNrZ","Cg9PBNrLCLK","AxnwAwv3","zM9UDfDLAwDODa","Cg9PBNrLCG","DxnLCLnWywnLt25vC2u","6zw/54k5lEEFREEcUEs6PoABVW","rg93BMXVywrpDxrSAw5Lza","zhvYyxrPB24","5OUw5OU96lcd5Pw05AsN5Bcp","uMvHy3qGrMXVDZOGDhjPz2DLCIbLzgDLignOyw5Nzxm","6BYG5Qch6yEk5Ps+","Bwf0y2HLCW","BwfYA2vYvw5PDhm","zxzLBNrcBg9JA0LK","C2fTCgXLsNnVBG","B2jZzxj2zxjZ","B2jZzxj2zwq","y29UDhjVBa","5A2q6iQc54k5ia","zxzLBNrMBg93","B25tzwXLy3rPB25eCMfNu3rVCa","jhTSywjLBh3LV4xPOBVNRyNKUO4KE2XLBN0","DhjHBNnSyxrLwq","C2v0qxr0CMLIDxrLCW","Dgv4DenVBNrLBNq","Dw5RBM93BIb0ExbLoIa","CMvJB25Uzwn0ywjSzq","C2vSzwn0zwrtDgf0Dxnjza","6l+u5zUE5yIx6kgO","lNH5zMXVD19FDMLLD3bVCNq","ufjfu0vovevex0LnquDfx1njtvbmrq","z2v0rwrNzuLK","y29UBMvJDgfIBgvLBMq","5lIn5zcm5PA55BYp5A+55BQu5lIl5PA55lIn5zcm6ywn572U6Ag5","u3vWChjLC3nLzevYCM9Y","vgLTzw91DcbOyxmGB2nJDxjYzwq","Cg9ZAxrPB25z","yxv0B1bHBLnWzwvK","zgf0Dw0","x2v4zwn1Dgu","CMvHy3qTzMXVDW","zwrNzq","u3rLCevKz2u","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/kvXZkG","5BYa5AEl5zgO","x2nHBgW","zxjYB3iWmdi","6k+36ycj5OUP","yxv0BW","55s75BId6ywn572U","u21VB3rOu3rLCevKz2u","B25qB2LUDgvYrg93BG","B25tzwXLy3rPB25eCMfNu3rHCNq","6BYG5Qch6l+B5ywL","mdaY","y2XHC3m","6k+35AgR5yAz5zcn56EW","Dgv4Dc1NCMf5ltGWma","566H55cg55s75BIdlI4U","y29UDgfPBG","y29SB3i","zhjVCevMzMvJDa","yNvPBhrPBG","C2HPzNq","y3vYC29Ylw1VDMu","5OMN6kgm5lUJ56cb","zgvMyxvSDa","zw5KlNjLBw92zq","Bw91C2vTB3zLlNPVB20GBw91C2v1Cc56B29T","zwfJAa","zgf0ytPHChbSAwnHDgLVBI9QC29Uo2nOyxjZzxq9DxrMltGS","5Qch562+5Qc35BYp","zhjHz2DHyMXL","6k+35AgR5yAz5O+q56s65yAf5A65","jhTSywjLBh3MNidLPjOKE21HEh3KUkRLRzFNRky","x3jLBw92zvbHCMvUDa","C21HBgW","yMfZzvzHBa","mde1","C3r5BguU","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUig1Ilti","CgfNzvG","zgv2AwnL","C2L6zq","54Q25Ocb5PwWoIa","C2vSzwn0Aw9U","sxrLBq","ChvZAa","CMvZDgfYDa","6ycj5OUP5PwW5O2U5A2x5Q6177Yi5y+V6ycj77Yj","DhjHBNnSyxrLka","qLvuve9o","DgLTzq","BxqTncbMBgv4igP1C3rPzNKTzw5K","rwrNzsbMCM9Tia","lMPZB24","lM5VA2v5","BNvTyMvY","sw1Hz2u","iIbKB2vZig5VDcbLEgLZDcWGAxqGBwf5igHHDMuGyMvLBIbYzw1VDMvKlIbuAgLZignHBIbOyxbWzw4GD2HLBIbHig5VzguGAxmGzgvSzxrLzcbIzwzVCMuGDgHLicjVBK5VzgvdBgLJAYiGAgfUzgXLCIbPCYbJywXSzwqU","B25dB25Uzwn0u3rHCNq","tw96vxnLCLnLBgvJDa","sxrLCMfIBguGy2fUBM90igjLig51BgW","x19VBG","zMLUzefJDgL2zvn0yxr1CW","C2HVDwXKvw5ZDwjZy3jPyMu","y29Kzq","54Q25OcbicH0ExbLkq","CMvHy3qTzMXVD19Fy29UDhjVBhmTzML0DMLLDW","C29SAwq","u2f2zu91DgXPBMvK","Dgv4Dc1SzYbMB250lw1LzgL1Bq","Aw5PDe1HDgvYAwfSCW","A2v5","6ycA6Akr6ycF5BQM5PYj5Pwi5yc8","BM9qyw5dBgfZC05HBwu","BwfYA2vY","CMvZDwX0","tM9Kzsb3AxrOigLKici","DMfSAwrHDgvgAwvSzhm","DMfSDwvgB250v2vPz2H0","AwnVBG","BwiTmcbTDc00","zMXVB3i","zM9UDfnPEMu","5PEG5zU+54Mh","zMLSzxm","zM9JDxm","CMvHy3qTzMXVD19FzwrNzs0","Dw5KzwzPBMvK","D29YAW","u2vSzwn0t3v0BgLUzwq","C3rYAw5N","C2v0tM9Kzuv4DgvUDa","C2nYB2XSvg8","CMvHy3qTzMXVD19FBM9Kzs0","y29UDhjVBhmUyxjPyuXHyMvS","zxH0zxjUywXfDMvUDeTLEq","5OYb57UT5PE26zE077Yi56Es77Yj","zgLTzw5ZAw9UCW","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlwWGyM9YzgvYlwDYyxKTmJaW","lIbozxCGCg9ZAxrPB24SihG6ia","yxn5BMnjDgvYyxrVCG","rw1WDhK","u2nOzwr1BgvKigfJDgLVBIb0AhjLDYbMywXZEsbLCNjVCG","ChjLDLzPzxDWB3j0","5y+V6lcd5Pw05AsN5Bcp","BwfYA2vYrw5K","rNvSBa","zgf0ys4","zxzLBNrcBg9JAW","y29UDgfPBNm","C3rYB25N","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+pgnPCMnSzsbJEd0ImZaIign5psiZnsiGCJ0ImJaIigzPBgW9iInIzMjMyMyIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+phjLy3qGEd0ImJuIihK9iJuIihDPzhrOpsiXmciGAgvPz2H0psiXnsiGzMLSBd0IiZu5ntK1osiVpJXWyxrOigq9iK0ZmcaYmcbmmZaGmZuGttiWidmWifeZmca0nsa0mcaZmciGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIigzPBgW9iM5VBMuIlZ48l3n2zZ4","CMvZB2X2zuzSB3DfDMvUDejSB2nR","Dhj5CW","yM9VBgvHBG","57Ut5P2F5PE26zE0","Aw5KzxHpzG","teLorq","zgvSDgfnB2rL","BMfUB2LK","CMvHy3qTzMXVD19FyxjYB3DOzwfK","Dgv4Dc14CYb0zxH0lwDYyxKTndaWihCTnq","Bw91C2v1Cc56B29T","zgvMyxvSDfj1BNrPBwviyw5KBgvYCW","z2v0u2vYDMvYu3rHDgu","q3vZDg9TrxzLBNq","C2nHBgvcEq","Dg91y2G","oJPLEhq6oG","C2nHBgvy","BgfIzwXdB2XVCG","w2rHDgeTy2fUDMfZpsj0CNvLiL0","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltq","Aw5PDgLHBfrLyxjKB3DU","C3rHCNrZv2L0Aa","EKLUzgv4tw9Kzq","Ahr0Chm6lY9YzwfJDgzSB3CUzgv2","B2jQzwn0","5A+g6zUg54k554Q2","6ycj5OUP5QIH5BYp","rg90CW","BgvUz3rO","5yc85P2L5RQq","Aw5WDxq","CMvHy3qTzMXVD19FBM9Kzs1KzxnJ","t3b0Aw9U","DhjHBNnPDgLVBG","zw5HyMXL","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVVjRNLlhMLBdMJA7MSAaGC2fTCgXL77Yi6iUL5BEY57Ur5A6A77Yj5lIo55s75BId6l+q6kgm5PE25PwW5O2U5zci5BM277YB5Rwl54k55PwW57Ue5lYA5OYjihbHCMfTC0nVzguG5yAz5ywLigrHDghJGilPOBSGCMv0DxjUihrYDwuVzMfSC2xJGii","rNjLzq","Aw5JBhvKzuHPzgrLBK5VzgvZ","C2vSzwn0zwq","rxzLBNqGyMXVy2SGBM90igzVDw5KoIa","AxntDg9WCgvK","5OUw5OU96lcd5Pw057Ui54k5","Dgv4Dc1ZBsb0zxH0lwjSDwuTnZaW","CgfYDgLHBa","Ahr0CdOVl3D3DY53mY5VCMCVwe1mlZe5otGVBMfTzxnWywnL","BgfIzwXgB250v2vPz2H0","x2vYCM9Y","z3jVDxa","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs00igjNlwDYyxKTntaGCM91BMrLzc1SzW","tufurvjjquXFu1rbvfvtx0niqu5hrq","w2rHDgeTBM9Kzs1Pzd0I","zgf0yvrYyw5ZzMvY","y3vYDMf0DxjL","Bwf4","rxnJyxbL","C2v0vMLLD3bVCNrdB25ZDhjHAw5Lza","AM9PBG","x3n1yNnJCMLIzq","B25SEvjLBMrLCLzPC2LIBgvfBgvTzw50CW","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlte","vw5NCM91Ce91DgXPBMvK","ywjZB2X1DguGDg9WltaGBgvMDc0W","CMDIka","rhjHz091DgXPBMvK","y2fUy2vSywjSzq","zg93BMXVywq","zxHPDa","55wz56M65l2/55sOigfUDgqG6BUy6k6K77YB5AgRidaG6kgO56s65lIn6iEQ5yQO5ywZ6zET","zgvMyxvSDfzPzxC","ywjZ","5Qgg6ycj5QIH5BYp","B3DUzxjeB2n1BwvUDa","q29UzMLNuhjVDMLKzxi","Bw91C2vpDMvY","5BEY5l+D5A2y","AgvPz2H0","C291CMnLrxzLBNq","CMvHy3qTzMXVD19FBwLUAw1HCc1ZDMC","rwrNzsb0ExbLici","twvZC2fNzsdLHAJLSydMJ5dNPlOGkgfUDgqP","77Yi5y+V6ycj77Yj","C2vSzwn0zwroB2rLCW","zMXLEa","yMvMB3jLC3rHCNq","CMvHzefZvgv4Da","5yAf6igu6isA5PYS","y29SBgvJDerHDgfZzxrgAwvSzfbHDgHZ","DgfYz2v0sgfUzgXL","zxHLy3v0zvnPBMDSzuzSB3DoB2rL","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlxiGyM9YzgvYlwDYyxKTmJaW","cIaGicaGicaGicbYB3vUzgvKlwXNihrYyw5ZAxrPB24TywXSigr1CMf0Aw9UltiWmcbZzwXLy3qTBM9UzqOGicaGicaGicaG","Dgv4Dc14CYbTyI0X","5yAf6l656lED","576K57Ue6iQc54k5","y2XLyxjjBNrLCNzHBa","ltuSltqGmcWWic01ldqGltuSltq","Ac0XmIbIzY13AgL0zsbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltq","5PAW6iQc54k5","qxjYB3DvCe91DgXPBMvK","uMLNAhq","u0vmrunu","zNvSBa","5yIG6zMK6ycj5lITicHezwXLDguP","mca0ChG","yMCTD2HPDguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWihjVDw5KzwqTBgCGCc0Zig1PBI13lvSXodbWEf0GC2HHzg93lw1K","C2vSzwn0q2HPBgq","qgfUDc1KzxnPz24VAwnVBNm","C2fTCgXLiow/HEMHU+AyRYbku09oiowVUEIXOq","ChjVBwLZzq","Cg93","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94AhrTBa","zxjYB3iWmtm","DMLZAwjSzq","rNjHz21LBNq","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi4mci+pgvSBgLWC2uGy3G9iJmWiIbJEt0ImtaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJXYzwn0ihG9iJuIihK9iJeWiIb3Awr0Ad0IntaIigHLAwDODd0InJaIigzPBgW9iInMmgyWzJaIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+pgvSBgLWC2uGy3G9iJmWiIbJEt0InZaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJWVC3zNpG","ywXS","yNv0Dg9U","vevyvefsrue","CgfUu2nYB2XSvgLTzw91Da","twfYA2vYrgvMAw5PDgLVBNm","z2v0uhjVDg90ExbLt2y","iIbYEd0ImJaIlZ48l3n2zZ4","lte0ChG","y29Uy2f0","y3vYCMvUDfrHCMDLDa","u3rLCa","BwiTma","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iG","AxrLBq","Bw91C2veB3DU","y2HYB21L","y3jLyxrLrwXLBwvUDa","yMCTz3jHEs0XmdaGChGTmsbYB3vUzgvK","C3rHCNqUEM9VBq","y3vYCMvUDfn0yxr1C0LK","CMvTB3zL","zgvSDgfz","5PQc5PEG54MP5PAz","jhTSywjLBh3POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","DxnLCLnLBgvJDgLVBLjLy3q","rMXVD1jLBMrLCMvY","CMvHy3qTzMXVD19FzwrNzq","y29UBMvJDgLVBG","zgvJAw1HBhm","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlti","zw1PDev4DgvYBMfS","DhjHBNnSyxrL","x2v4Axq","CMzjza","x3bHCMvUDgfNzq","tgf5B3v0","6Ake6kEi5QIH5BYp","BM9Kzuv2zw50qMLUzgLUz3m","zNv0DxjL","lMrYywC","5lIk5A+56B2q","BNCTCMvZAxPL","kow9K+wjJsK","BM9YBwfS","zgvMAw5LuhjVCgvYDgLLCW","CxvLCNLtzwXLy3rVCKfSBa","y29UDgfPBMvY","zxzLBNruExbL","u21VB3rOu3rLCa","qMfJA2DYB3vUza","Dgv4Dc1ZBsbMB250lw1LzgL1Bq","y2XPy2TeAxn0yw5Jzq","i2zHogmXnG","x25Vzgu","yMLUzenVzgvZ","zgLZDgfUy2u","C2nHBgu","BwvYz2vezwzHDwX0uNvUDgLTzuHHBMrSzxjZ","BM9KzuXVB2T1Ca","zMXLEcbMBgv4lwnVBa","x2fKzfbHCMvUDa","Cc0ZigjNlwjSDwuTntaGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKlwXNig1Iltq","qMfJA3nWywnL","C3rHCNrz","5BEY56Ab55sO","ChGP","5ywO6ycj5B2t6Ag1","zgvZy3jPChrPB24","5lQl5lU25Rwb57Ur5A6A","CgHHBNrVBq","y3jLyxrLrwXLBwvUDe5t","DgvZDa","5lIk5RI46l+E57Q/oG","lwzSB3DFx2HHBMrSzvTKyxrHlwLKpsi","5PQc5PEG5lQl5lU25Rwb","C3r5Bgu","zM9UDc1TB25VihrLEhqTC20","zNjLzq","5PAh5A2x6AkC6iMY","vhjHBNnMB3jTv3jHChbLCG","mNb4ihnVBgLKicmXodKWzMy","5BEY5OMR5O+p","C2nOzwr1BgvYqwn0Aw9Uq3rVCG","5BgE5OcN6z2I5P2/","DxnLu3rHDgu"];return _0x5b5e=function(){return ve},_0x5b5e()}